.social-panel{margin-top:16px;padding:21px;border:1px solid rgba(141,128,255,.2);border-radius:16px;background:linear-gradient(135deg,rgba(141,128,255,.08),rgba(20,25,37,.82))}
.social-panel-head{display:flex;justify-content:space-between;align-items:flex-start;gap:18px}
.social-panel h3{margin-top:5px;font-size:17px}
.social-panel-head p:last-child{max-width:650px;margin-top:7px;color:var(--muted);font-size:11px;line-height:1.5}
.social-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin-top:17px}
.social-card{display:flex;align-items:center;gap:8px;min-width:0;padding:10px;border:1px solid var(--line);border-radius:10px;background:rgba(255,255,255,.03)}
.social-card.connected{border-color:rgba(115,208,176,.24);background:rgba(115,208,176,.06)}
.social-symbol{display:grid;place-items:center;width:27px;height:27px;flex:0 0 auto;border-radius:8px;background:rgba(255,255,255,.08);color:#e4d8ff;font-weight:700}
.social-card div{min-width:0;flex:1}.social-card strong,.social-card small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.social-card strong{font-size:10px}.social-card small{margin-top:2px;color:var(--muted);font-size:9px}.social-state{color:var(--muted-2);font-size:14px}.social-card.connected .social-state{color:var(--green)}
.reveal-button{display:flex;gap:6px;align-items:center;margin-left:auto;padding:7px 10px;border:1px solid rgba(241,138,168,.32);border-radius:8px;background:rgba(241,138,168,.09);color:#f3b3c6;font-size:10px;white-space:nowrap}.reveal-button:hover{background:rgba(241,138,168,.18);color:#ffd0dd}
.revealed-label{display:flex;gap:5px;align-items:center;margin-left:auto;color:var(--green);font:9px 'DM Mono',monospace;white-space:nowrap}
.reveal-banner{padding:13px;margin-bottom:12px;border:1px solid rgba(115,208,176,.22);border-radius:11px;background:linear-gradient(90deg,rgba(115,208,176,.09),rgba(115,208,176,.03))}.reveal-banner-top{display:flex;gap:9px;align-items:center}.reveal-banner-top .status-icon{width:25px;height:25px}.reveal-banner-top strong,.reveal-banner-top small{display:block}.reveal-banner-top strong{font-size:11px}.reveal-banner-top small{margin-top:2px;color:var(--muted);font-size:9px}
.identity-pair{display:flex;align-items:center;gap:10px;margin-top:12px;padding-top:11px;border-top:1px solid rgba(115,208,176,.12)}.identity-pair>div{flex:1}.identity-pair>span{color:var(--pink)}.identity-pair b,.identity-pair span{display:block}.identity-pair b{font-size:11px}.identity-pair span{margin-top:2px;color:var(--muted);font-size:9px}.revealed-socials{display:flex;flex-wrap:wrap;gap:6px;margin-top:10px}.revealed-socials span{padding:5px 7px;border:1px solid rgba(255,255,255,.08);border-radius:6px;color:#c9e1d7;font-size:9px}.revealed-socials b{margin-right:4px;color:var(--green)}
.reveal-preview{display:flex;align-items:center;justify-content:center;gap:18px;margin:23px 0 15px}.reveal-preview>div{display:grid;justify-items:center;min-width:100px;text-align:center}.small-mask{position:relative;top:auto;left:auto;width:58px;height:58px;margin-bottom:8px;transform:none;box-shadow:0 0 0 7px rgba(255,255,255,.04);font-size:20px}.reveal-preview strong,.reveal-preview small{display:block}.reveal-preview strong{font-size:11px}.reveal-preview small{margin-top:3px;color:var(--muted);font-size:9px}.reveal-arrow{color:var(--pink);font-size:21px}.reveal-note{display:flex;gap:8px;align-items:flex-start;margin-bottom:19px;padding:10px 11px;border-radius:8px;background:rgba(244,199,125,.07);color:var(--gold);font-size:10px}.reveal-note span:first-child{font-size:15px}
.social-options{display:grid;gap:8px;margin:21px 0}.social-option{display:flex;gap:10px;align-items:center;padding:10px;border:1px solid var(--line);border-radius:10px;background:rgba(255,255,255,.03)}.social-option>span:nth-child(2){flex:1}.social-option strong,.social-option small{display:block}.social-option strong{font-size:11px}.social-option small{margin-top:2px;color:var(--muted);font-size:9px}.social-option input{width:150px;height:34px;padding:0 9px;border:1px solid var(--line);border-radius:7px;outline:0;background:#171d2a;color:var(--ink);font-size:10px}.social-option input:focus{border-color:var(--pink)}
@media (max-width:820px){.social-grid{grid-template-columns:repeat(2,1fr)}.social-panel-head{flex-direction:column}.social-panel-head .outline-button{align-self:flex-start}.reveal-button{padding:6px 7px;font-size:9px}}

.score-breakdown{display:grid;gap:7px;margin-top:17px;padding-top:14px;border-top:1px solid var(--line)}
.score-breakdown-head{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:2px}
.score-breakdown-head strong{font-size:11px;letter-spacing:.01em}
.score-breakdown-head span{color:var(--pink);font:10px 'DM Mono',monospace;white-space:nowrap}
.score-row{display:grid;grid-template-columns:95px minmax(0,1fr) 30px;gap:8px;align-items:center}
.score-row-label{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--muted);font-size:10px}
.score-row-track{height:4px;border-radius:5px;background:rgba(255,255,255,.07);overflow:hidden}
.score-row-fill{display:block;height:100%;border-radius:5px;background:linear-gradient(90deg,var(--violet),var(--pink))}
.score-row.muted .score-row-fill{background:#4d5361}
.score-row-points{color:var(--muted);font:9px 'DM Mono',monospace;text-align:right}
.brand-link{color:inherit;text-decoration:none}
body{font-size:16px}button,input,select,textarea{font:inherit}button{cursor:pointer}button:disabled{opacity:.5;cursor:wait}a{color:var(--pink)}[hidden]{display:none!important}
.skip-link{position:fixed;top:-80px;left:12px;z-index:80;background:#f5b0c4;color:#181221;padding:12px}.skip-link:focus{top:12px}
.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
:focus-visible{outline:2px solid var(--pink);outline-offset:4px}body.modal-open{overflow:hidden}
.content-scroll{max-width:1500px;margin:auto;padding-top:32px}.screen-heading h1{font-size:clamp(30px,3.2vw,46px)}.screen-heading.compact{margin-bottom:24px}.screen-heading .eyebrow{font-size:12px}
.nav-item{font-size:14px}.nav-count{font-size:12px}.brand-caption,.sidebar-footer p{font-size:12px}.privacy-pill{font-size:12px}.filter-summary strong{font-size:13px}.filter-summary span{font-size:12px}.criteria-mini span{font-size:12px}.section-label-row .eyebrow{font-size:11px;letter-spacing:.1em}.text-button,.outline-button,.help-link{font-size:14px}.signout{display:block;margin-top:16px;font-size:13px;color:var(--muted)}
.connection-notice,.onboarding-note{padding:16px 18px;border:1px solid #766643;border-radius:12px;background:#2a241a;color:#f4d89e;margin-bottom:20px;font-size:14px;line-height:1.6}.onboarding-note h2{font-size:19px;margin-bottom:6px}
.boot-state,.welcome-panel{padding:50px 28px;text-align:center}.welcome-panel{max-width:700px;margin:40px auto}.welcome-panel h1{font-size:48px;margin:20px 0}.welcome-panel h1 em{font-family:'Playfair Display',serif;color:var(--pink)}.welcome-panel p{color:var(--muted);line-height:1.7}.welcome-panel .full-button{max-width:350px;margin:25px auto;text-decoration:none}.boot-state h2{margin:20px 0;font-size:20px}
.loading-ring{display:inline-block;width:32px;height:32px;border:2px solid #49425e;border-top-color:var(--pink);border-radius:50%;animation:spin 1.2s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}
.auto-match-panel{display:flex;align-items:center;gap:20px;padding:24px;margin-bottom:28px;border:1px solid rgba(241,138,168,.35);border-radius:18px;background:linear-gradient(105deg,#312437,#201e35 70%,#1a2132)}.queue-symbol{display:grid;place-items:center;flex:0 0 56px;height:56px;border:1px solid #875770;border-radius:50%;color:var(--pink);font-size:30px}.queue-copy{flex:1}.queue-copy h2{font-size:20px;line-height:1.3}.queue-copy p{font-size:14px;color:#c8bfce;line-height:1.6;margin-top:6px}.auto-match-panel>.full-button{flex:0 0 auto;width:auto;padding:14px 22px;font-size:14px;min-width:170px}.searching .queue-symbol{animation:spin 6s linear infinite}.searching{border-color:var(--green)}
.explore-layout{grid-template-columns:minmax(0,1.4fr) minmax(270px,.8fr);align-items:start}.discover-column{min-width:0}.card-stack-label{font-size:13px}.insight-column{min-width:0}.insight-card h3{font-size:18px}.insight-copy,.verification-card p{font-size:14px;line-height:1.6}.insight-card>.full-button{margin-top:16px}
.empty-state{display:grid;justify-items:center;align-content:center;text-align:center;min-height:300px;padding:38px 24px;border:1px dashed #39374d;border-radius:17px;background:linear-gradient(155deg,#191c2a,#121722);grid-column:1/-1}.empty-state>span{font-size:54px;line-height:1.3;color:var(--pink);margin-bottom:15px}.empty-state h2{font-size:22px;line-height:1.4}.empty-state p{max-width:410px;line-height:1.7;color:var(--muted);font-size:14px;margin-top:12px}.empty-state button{width:auto;margin-top:24px;padding:12px 20px;font-size:14px}.thread-list .empty-state{min-height:210px;padding:18px;border:0}.thread-list .empty-state h2{font-size:16px}.thread-list .empty-state>span{font-size:30px}
.number-avatar{display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;width:48px;height:48px;border:1px solid #726486;border-radius:50%;background:linear-gradient(145deg,#965b80,#5b5c9b);color:#fff;font:9px 'DM Mono',monospace;letter-spacing:-.05em}.number-avatar.large-number{width:150px;height:150px;font-size:17px;box-shadow:0 0 0 14px #ffffff05,0 0 0 32px #ffffff03}.number-avatar.tone-blue,.number-avatar.tone-cyan{background:linear-gradient(145deg,#3c93a3,#455d98)}.number-avatar.tone-gold{background:linear-gradient(145deg,#ae8055,#8c4c76)}.profile-number{position:absolute;inset:0;display:grid;place-items:center}.profile-visual{height:280px}.profile-visual .visual-top,.profile-visual .visual-bottom{z-index:2}.profile-title-row h2{font-size:clamp(21px,2vw,28px)}.profile-title-row p{font-size:14px;color:var(--muted);margin-top:6px}.detail-button{font-size:13px}.profile-bio{font-size:16px;line-height:1.7;white-space:pre-wrap;overflow-wrap:anywhere}.prompt-box p{font-size:15px;line-height:1.6}.prompt-label{font-size:11px}.profile-meta{flex-wrap:wrap;gap:10px}.profile-meta span{font-size:13px}.card-hint{padding:0 15px 20px;font-size:12px;text-align:center}
.interest-tags{display:flex;gap:7px;flex-wrap:wrap;margin:14px 0}.interest-tags span{font-size:13px;border:1px solid #393f50;border-radius:25px;padding:6px 11px;color:#c7cbd6;background:#ffffff04}.interest-tags .common{color:#f8c0d0;border-color:#724b60;background:#f18aa80c}
.score-breakdown{gap:13px;margin-top:22px}.score-breakdown-head strong{font-size:14px}.score-breakdown-head span{font-size:12px}.score-row{grid-template-columns:minmax(108px,1fr) minmax(50px,1fr) 48px;gap:6px 10px}.score-row-label{font-size:13px;white-space:normal}.score-row-points{font-size:12px}.score-detail{grid-column:1/-1;font-size:12px;line-height:1.5;color:var(--muted-2);overflow-wrap:anywhere}.score-row-track{height:5px}
.matches-grid{grid-template-columns:repeat(auto-fit,minmax(245px,1fr))}.match-card h2{font-size:21px;margin-top:18px}.match-card>p{font-size:14px;line-height:1.5}.match-card .match-visual{display:grid;place-items:center;height:210px}.match-card .large-number{width:115px;height:115px;font-size:13px}.match-preview{overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;margin:15px 0;color:var(--muted)}
.messages-layout{height:670px;min-height:480px;grid-template-columns:minmax(220px,.6fr) minmax(0,1.5fr)}.thread-list{overflow:auto}.thread-copy strong{font-size:13px}.thread-copy small{font-size:12px}.chat-panel{min-height:0;overflow:hidden}.chat-body{min-height:120px;scroll-behavior:auto}.chat-message{font-size:15px;max-width:86%;line-height:1.6;overflow-wrap:anywhere}.chat-message p{white-space:pre-wrap}.chat-time{font-size:11px}.chat-compose input{font-size:16px}.send-button{min-width:44px;font-size:20px}.send-error{padding:0 15px 12px;color:#ffb0b0;font-size:13px}.chat-body .empty-state{border:0;min-height:170px;background:none}.chat-body .empty-state>span{font-size:35px}.chat-body .empty-state h2{font-size:17px}.older-button{border:0;color:var(--pink);background:transparent;padding:12px;align-self:center;font-size:13px}
#identityPanel{padding:12px 16px 8px;border-bottom:1px solid var(--line)}.reveal-banner{margin:0;padding:12px}.reveal-banner>strong{font-size:14px}.reveal-banner>small{display:block;color:var(--muted);margin-top:5px;font-size:12px;line-height:1.5}.reveal-controls{text-align:right;margin-top:7px}.reveal-controls button{font-size:13px}.identity-pair{align-items:start;flex-wrap:wrap}.identity-pair>div{min-width:140px}.identity-pair b{font-size:15px}.identity-pair small{font-size:12px;color:var(--muted)}.revealed-socials a{font-size:12px;padding:4px 0}.inbox-status{font-size:12px}
.self-card{min-width:0}.self-content{min-width:0}.self-content h2{font-size:22px;overflow-wrap:anywhere}.self-content>p:first-of-type{font-size:14px}.self-bio{font-size:16px;overflow-wrap:anywhere;white-space:pre-wrap}.self-visual{flex:0 0 170px}.self-visual .large-number{width:120px;height:120px;font-size:13px}.profile-settings h3{font-size:19px}.toggle-row strong{font-size:14px}.toggle-row small{font-size:12px;line-height:1.5}.toggle-row input:focus-visible+.toggle-ui{outline:2px solid var(--pink);outline-offset:4px}.verification-panel p:last-child,.social-panel-head p:last-child{font-size:14px;line-height:1.6}.social-card strong{font-size:14px;text-transform:capitalize}.social-card small{font-size:12px}.profile-end{display:flex;align-items:center;gap:18px;margin:24px 0}
.modal{width:min(100%,520px);padding:30px;max-height:calc(100dvh - 40px)}.wide-modal{width:min(100%,740px)}.modal h2{font-size:28px;line-height:1.25;margin-right:22px}.modal-intro{font-size:14px;line-height:1.7}.modal-close{width:32px;height:32px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 16px}.form-field{display:grid;gap:8px;margin-top:18px;min-width:0}.form-field>span,fieldset legend{font-size:14px;line-height:1.4;color:#d8dae4}.form-field input,.form-field select,.form-field textarea{width:100%;min-width:0;font-size:16px;background:#141b28;color:var(--ink);border:1px solid #3b4354;border-radius:9px;padding:11px 12px;height:auto;min-height:44px}.form-field textarea{resize:vertical;line-height:1.5}.form-field option{background:#171d2a}.form-field input:focus,.form-field select:focus,.form-field textarea:focus{outline:1px solid var(--pink)}fieldset{border:0;padding:0;margin-top:22px}fieldset legend{margin-bottom:11px}.check-chips{display:flex;flex-wrap:wrap;gap:8px}.check-chips label{display:flex;align-items:center;gap:7px;padding:8px 10px;border:1px solid #394153;border-radius:8px;font-size:13px;cursor:pointer}.check-chips label:has(input:checked){border-color:#cd7fa1;background:#e798b015;color:#f3c3d2}.check-chips input{width:16px;height:16px;min-height:0;accent-color:var(--pink)}.form-error{padding:12px;background:#67333a40;border:1px solid #985360;border-radius:9px;color:#ffb8c4;margin-top:16px;font-size:14px}.field-help{font-size:12px;line-height:1.6;margin-top:10px}.modal .full-button.large{font-size:15px;margin-top:22px;min-height:46px}.modal .full-button.light,.modal .full-button.dark{margin-top:14px}.filter-option strong{font-size:14px}.filter-option small{font-size:12px}.report-link{font-size:13px;margin-top:20px}.safety-list strong{font-size:15px}.safety-list small{font-size:13px;line-height:1.7}.blocked-row{display:flex;justify-content:space-between;gap:12px;padding:20px 0;border-bottom:1px solid var(--line);font-size:14px}.admin-report{padding:20px 0;border-bottom:1px solid var(--line)}.admin-report p{font-size:14px;line-height:1.6;margin:8px 0;white-space:pre-wrap}.admin-report small{display:block;color:var(--muted);margin-bottom:10px}.toast{font-size:14px;max-width:440px}.noscript{padding:30px;color:white}.full-button{min-height:42px;font-size:14px}
@media(max-width:1120px){.app-shell{grid-template-columns:215px minmax(0,1fr)}.auto-match-panel{flex-wrap:wrap;gap:14px}.auto-match-panel>.full-button{margin-left:70px}.explore-layout{grid-template-columns:minmax(0,1fr) 270px;gap:18px}.profile-dashboard{grid-template-columns:1fr}.number-avatar.large-number{width:130px;height:130px;font-size:15px}}
@media(max-width:900px){.explore-layout{grid-template-columns:1fr}.insight-column{grid-template-columns:1fr 1fr}.messages-layout{grid-template-columns:190px minmax(0,1fr)}.thread-item{padding:14px 10px;gap:8px}.thread-item .number-avatar{display:none}.screen-heading.compact{align-items:start;gap:16px}}
@media(max-width:820px){.app-shell{display:block}.content-scroll{padding-top:25px}.mobile-nav-item small{font-size:12px}.topbar{height:64px}.auto-match-panel>.full-button{margin-left:0}.self-visual .large-number{font-size:14px}.top-actions{margin-left:auto}.thread-item .number-avatar{display:inline-flex}}
@media(max-width:560px){.auto-match-panel{padding:18px}.queue-symbol{flex-basis:42px;height:42px;font-size:24px}.queue-copy{flex-basis:calc(100% - 60px)}.queue-copy h2{font-size:17px}.queue-copy p{font-size:13px}.auto-match-panel>.full-button{width:100%}.screen-heading h1{font-size:32px}.insight-column{grid-template-columns:1fr}.messages-layout{display:flex;flex-direction:column;height:auto;min-height:650px}.thread-list{max-height:190px;flex:0 0 auto;border-bottom:1px solid var(--line)}.chat-panel{min-height:500px;max-height:85dvh}.chat-body{min-height:180px}.chat-head{padding:12px}.chat-head .number-avatar{width:40px;height:40px;font-size:8px}.form-grid{grid-template-columns:1fr}.modal{padding:25px 19px;max-height:calc(100dvh - 24px)}.modal-backdrop{padding:12px}.score-breakdown-head{align-items:start}.score-breakdown-head strong{font-size:13px}.score-row{grid-template-columns:110px minmax(40px,1fr) 43px}.self-card{display:block}.self-visual{width:100%;height:180px}.profile-meta span{font-size:12px}.profile-title-row h2{font-size:21px}.reveal-banner>strong{font-size:13px}.welcome-panel h1{font-size:36px}.empty-state{padding:30px 18px}.toast{left:15px;right:15px;bottom:88px}.number-avatar.large-number{font-size:16px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
@media (max-width:560px){.social-grid{grid-template-columns:1fr}.social-option{align-items:flex-start;flex-wrap:wrap}.social-option input{width:100%;margin-left:37px}.revealed-label{font-size:8px}.reveal-preview{gap:8px}}

/* Completion pass */
/* Small number avatars show the last three digits; the full tag is printed beside them. */
.number-avatar{font-size:13px;letter-spacing:0}.number-avatar small{margin-right:1px;font-size:9px;opacity:.72}
.number-avatar.medium-number{width:76px;height:76px;font-size:21px;box-shadow:0 0 0 8px #ffffff06}.number-avatar.medium-number small{font-size:13px}
.number-avatar.tone-violet{background:linear-gradient(145deg,#7a62c9,#4d4f98)}.number-avatar.tone-rose{background:linear-gradient(145deg,#b0607a,#6c4a86)}
/* `margin:auto` on a grid item centred a short empty state vertically next to the tall insight column. */
.discover-column{margin:0 auto}
/* Signed-out visitors see a landing page without app navigation. */
.topbar-signin{display:none}
body.signed-out .sidebar,body.signed-out .mobile-nav,body.signed-out .user-chip,body.signed-out .topbar-context{display:none}
body.signed-out .app-shell{display:block}
body.signed-out .mobile-brand{display:flex;align-items:center;font-size:22px;font-weight:700;letter-spacing:-.08em}
body.signed-out .topbar-signin{display:inline-flex;align-items:center;min-height:40px;padding:8px 16px;border:1px solid rgba(241,138,168,.45);border-radius:9px;color:var(--pink);font-size:14px;font-weight:600;text-decoration:none}
body.signed-out .topbar-signin:hover{background:rgba(241,138,168,.1)}
body.signed-out .top-actions{margin-left:auto}
body.signed-out .content-scroll{padding-bottom:48px}
.landing{max-width:1120px;margin:0 auto;padding:8px 0 24px}
.landing-hero{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(280px,.85fr);gap:56px;align-items:center;min-height:min(520px,64vh)}
.landing h1,.landing h2{text-wrap:balance}
.landing-copy h1{margin:18px 0 22px;font-size:clamp(42px,5.4vw,74px);line-height:1.02;letter-spacing:-.045em}
.landing-copy h1 em{font-family:'Playfair Display',serif;font-weight:500;color:var(--pink)}
.landing-lead{max-width:560px;color:#c8cbd6;font-size:18px;line-height:1.7}
.landing-actions{max-width:380px;margin-top:34px}.landing-actions .full-button{font-size:15px;text-decoration:none}
.landing-note{margin-top:14px;color:var(--muted);font-size:13px;line-height:1.6}
.landing-visual{position:relative;overflow:hidden;width:100%;aspect-ratio:1;border:1px solid var(--line);border-radius:28px;background:radial-gradient(circle at 50% 46%,rgba(241,138,168,.18),transparent 55%),linear-gradient(155deg,#1d1d33,#111622)}
.landing-visual .orbit-one{width:78%;height:34%}.landing-visual .orbit-two{width:96%;height:50%}
.landing-avatar{position:absolute;z-index:2;width:30%;height:30%;font-size:clamp(16px,2vw,24px);box-shadow:0 0 0 12px #ffffff05,0 0 0 26px #ffffff03}
.landing-avatar.one{top:19%;left:14%}.landing-avatar.two{right:14%;bottom:22%}
.landing-heart{position:absolute;z-index:2;top:50%;left:50%;color:var(--pink);font-size:34px;transform:translate(-50%,-50%)}
.landing-score{position:absolute;z-index:2;bottom:8%;left:50%;padding:7px 13px;border:1px solid rgba(241,138,168,.3);border-radius:20px;background:rgba(11,14,23,.66);color:#f5c2d1;font:12px 'DM Mono',monospace;white-space:nowrap;transform:translateX(-50%)}
.landing-steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-top:44px}
.landing-steps article{padding:26px;border:1px solid var(--line);border-radius:18px;background:linear-gradient(155deg,#191c2a,#121722)}
.landing-steps span{color:var(--pink);font:12px 'DM Mono',monospace}
.landing-steps h2{margin:14px 0 10px;font-size:20px;line-height:1.3;letter-spacing:-.02em}
.landing-steps p{color:var(--muted);font-size:15px;line-height:1.7}
.landing-promises{display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);gap:40px;align-items:start;margin-top:24px;padding:34px;border:1px solid rgba(241,138,168,.25);border-radius:22px;background:linear-gradient(105deg,#2a2033,#1b1d30 70%,#171e2c)}
.landing-promises h2{margin-top:10px;font-size:clamp(28px,3vw,40px);line-height:1.12}
.landing-promises h2 em{font-family:'Playfair Display',serif;font-weight:500;color:var(--pink)}
.landing-promises ul{display:grid;grid-template-columns:1fr 1fr;gap:24px 30px;margin:0;padding:0;list-style:none}
.landing-promises strong{display:block;font-size:16px}.landing-promises li span{display:block;margin-top:6px;color:#b9bdc9;font-size:14px;line-height:1.65}
/* Counters are hidden at zero; phones get their own badges. */
.mobile-nav-item{position:relative}
.mobile-count{position:absolute;top:1px;left:calc(50% + 5px);min-width:18px;height:18px;padding:0 5px;border-radius:9px;background:var(--pink);color:#24131a;font:600 10px/18px 'DM Mono',monospace;font-style:normal;text-align:center}
/* Queue waiting time. */
.queue-copy .queue-timer{display:flex;align-items:center;gap:8px;margin-top:10px;color:var(--green);font:12px 'DM Mono',monospace}
.queue-copy .queue-timer b{color:#d7f3e9;font-weight:500}
.queue-pulse{width:8px;height:8px;border-radius:50%;background:var(--green);animation:queue-pulse 1.6s ease-out infinite}
@keyframes queue-pulse{0%{box-shadow:0 0 0 0 rgba(115,208,176,.55)}100%{box-shadow:0 0 0 10px rgba(115,208,176,0)}}
.auto-match-panel>.full-button:disabled{cursor:not-allowed}
/* Matches keep a sensible card width instead of one card stretching across the page. */
.matches-grid{grid-template-columns:repeat(auto-fill,minmax(250px,1fr))}
.match-new{position:absolute;top:10px;right:10px;padding:4px 9px;border-radius:12px;background:var(--pink);color:#24131a;font:600 11px 'DM Mono',monospace}
/* Chat fits the viewport; phones switch between the thread list and a conversation. */
.messages-layout{height:calc(100dvh - 230px);min-height:460px;max-height:820px}
.chat-head .icon-button{flex:0 0 auto;width:34px;height:34px}
.chat-back,.mobile-only{display:none}
.chat-day{display:flex;align-items:center;gap:10px;margin:10px 0 4px;color:var(--muted-2);font:11px 'DM Mono',monospace;letter-spacing:.06em;text-transform:uppercase}
.chat-day::before,.chat-day::after{content:"";flex:1;height:1px;background:var(--line)}
.opening-hint{align-self:center;max-width:430px;margin:auto 0;padding:22px;border:1px dashed #4a4160;border-radius:14px;text-align:center}
.opening-hint p{margin:10px 0 14px;font:18px/1.5 'Playfair Display',serif;color:#e4e2ea}
.thread-copy{min-width:0;flex:1}.thread-copy small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
/* Profile page additions. */
.self-facts{display:flex;flex-wrap:wrap;gap:8px;margin:14px 0 2px}
.self-facts span{padding:5px 10px;border:1px solid var(--line);border-radius:8px;color:#c7cbd6;font-size:13px}
.self-content .prompt-box{margin-bottom:4px}
#privacySettings:focus{outline:none}

.outline-button.danger,.text-button.danger{border-color:rgba(255,138,150,.4);color:#ffb3bd}
.outline-button.danger:hover,.text-button.danger:hover{color:#ffd2d8}
.full-button.danger{background:#e36c7f;color:#1c0e13}.full-button.danger:hover{background:#f18a9a}
.onboarding-note.danger-note{border-color:#8f4754;background:#2d1a21;color:#ffc6cf}
.verified-note{margin-top:16px;padding:12px 14px;border:1px solid rgba(115,208,176,.3);border-radius:10px;background:rgba(115,208,176,.08);color:#bfe9da;font-size:14px;line-height:1.6}
.blocked-row>span small{display:block;margin-top:3px;color:var(--muted);font-size:12px}
/* Moderation list. */
.admin-report-head{display:flex;align-items:baseline;justify-content:space-between;gap:12px}
.report-status{flex:0 0 auto;padding:3px 8px;border-radius:10px;background:rgba(255,255,255,.06);color:var(--muted);font:11px 'DM Mono',monospace}
.admin-report.pending .report-status{background:rgba(244,199,125,.14);color:var(--gold)}
.admin-report small b{color:#ffb3bd;font-weight:600}
.admin-actions{display:flex;flex-wrap:wrap;gap:8px 20px}
/* Match celebration. */
.toast-modal h2{margin-right:0}.toast-modal .match-avatars{gap:14px}.toast-modal .full-button.large{justify-content:center;gap:8px}
@media(max-width:1120px){.messages-layout{height:calc(100dvh - 220px)}}
@media(max-width:900px){.landing-hero{grid-template-columns:1fr;gap:34px;min-height:0}.landing-visual{max-width:420px;margin:0 auto}.landing-steps{grid-template-columns:1fr;margin-top:40px}.landing-promises{grid-template-columns:1fr;gap:26px}}
@media(max-width:820px){.messages-layout{height:calc(100dvh - 300px)}body.signed-out .content-scroll{padding-top:28px}}
@media(max-width:560px){
  .landing-copy h1{font-size:40px}.landing-lead{font-size:16px}.landing-promises{padding:24px}.landing-promises ul{grid-template-columns:1fr}.landing-visual{border-radius:22px}
  .messages-layout{display:block;height:auto;min-height:0;max-height:none}
  #screen-messages .thread-list{max-height:none;border-bottom:0}
  #screen-messages:not(.chat-open) .chat-panel,#screen-messages.chat-open .thread-list,#screen-messages.chat-open .screen-heading{display:none}
  #screen-messages.chat-open .chat-panel{display:flex;height:calc(100dvh - 190px);min-height:400px;max-height:none;border-top:0}
  .chat-back,.mobile-only{display:flex}.chat-back{align-items:center;justify-content:center}
  .chat-head{gap:10px}.chat-head .number-avatar{font-size:12px}
  #identityPanel{padding:10px 12px 6px}.chat-body{padding:14px 12px}
    .admin-report-head{flex-direction:column;gap:6px}
}

/* Voice messages, seen status and voice calls */
.call-trigger.icon-button{border-color:rgba(115,208,176,.35);color:var(--green)}
.call-trigger.icon-button:hover{background:rgba(115,208,176,.12);color:#a6ead2}
.call-trigger svg,.compose-voice svg{width:17px;height:17px}
#chatPeerMeta{color:var(--muted)}
#chatPeerMeta.presence-on{color:var(--green)}
#chatPeerMeta.presence-on::before{content:"";display:inline-block;width:7px;height:7px;margin:0 7px 1px 1px;border-radius:50%;background:var(--green);box-shadow:0 0 0 3px rgba(115,208,176,.2);vertical-align:middle}
.chat-compose .compose-voice{flex:0 0 auto;width:44px;height:auto;min-height:44px;border-radius:9px;color:#d9dbe2}
.chat-compose .compose-voice:hover{border-color:rgba(241,138,168,.45);color:var(--pink)}
.voice-recorder{display:flex;align-items:center;gap:10px;padding:14px 16px;border-top:1px solid var(--line);font-size:14px}
.voice-recorder .rec-label{color:#f4d6de}
.voice-recorder b{color:var(--ink);font:500 14px 'DM Mono',monospace}
.voice-recorder .rec-limit{margin-right:auto;color:var(--muted-2);font:12px 'DM Mono',monospace}
.voice-recorder .rec-label:last-child{margin-right:auto}
.voice-recorder .send-button{min-height:44px}
.rec-dot{flex:0 0 auto;width:10px;height:10px;border-radius:50%;background:#ff5f7a;animation:rec-pulse 1.2s ease-in-out infinite}
.rec-dot.sending{background:var(--green)}
@keyframes rec-pulse{50%{opacity:.3}}
.chat-message.voice{padding:8px 12px 7px}
.voice-bubble{display:flex;align-items:center;gap:10px;min-width:min(230px,56vw)}
.voice-play{display:grid;flex:0 0 36px;place-items:center;width:36px;height:36px;padding:0;border:0;border-radius:50%;background:rgba(255,255,255,.12);color:var(--ink)}
.chat-message.me .voice-play{background:var(--pink);color:#2a151c}
.voice-play:hover{filter:brightness(1.12)}
.voice-wave{display:flex;flex:1;align-items:center;gap:2px;height:28px}
.voice-wave i{flex:1;min-width:2px;max-width:4px;border-radius:2px;background:rgba(255,255,255,.26);transition:background .15s}
.voice-wave i.played{background:var(--pink)}
.chat-message.me .voice-wave i{background:rgba(255,214,225,.3)}
.chat-message.me .voice-wave i.played{background:#ffd6e1}
.voice-time{min-width:34px;color:var(--muted);font:12px 'DM Mono',monospace;text-align:right}
.message-status{align-self:flex-end;margin:-3px 4px 2px;color:var(--muted-2);font:11px 'DM Mono',monospace}
.message-status.seen{color:var(--green)}
.call-log{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:6px 9px;align-self:center;margin:6px 0;padding:8px 14px;border:1px solid var(--line);border-radius:20px;background:rgba(255,255,255,.03);color:#c9ccd6;font-size:13px}
.call-log svg{width:15px;height:15px;color:var(--green)}
.call-log.missed svg,.call-log.declined svg{color:#ff8f9f}
.call-log small{color:var(--muted-2);font:11px 'DM Mono',monospace}
.call-log .text-button{font-size:13px}

.call-dock{position:fixed;z-index:30;top:88px;right:24px;width:min(360px,calc(100vw - 24px))}
.call-card{display:flex;align-items:center;gap:14px;padding:14px 16px;border:1px solid rgba(115,208,176,.3);border-radius:18px;background:linear-gradient(145deg,#1d2533,#141a26);box-shadow:0 20px 60px rgba(0,0,0,.45);animation:call-in .25s ease-out}
.call-card.incoming{border-color:rgba(241,138,168,.45)}
.call-card.ended{opacity:.85}
.call-card .number-avatar.medium-number{width:52px;height:52px;font-size:15px;box-shadow:none}
.call-card.incoming .number-avatar{animation:ring 1.6s ease-in-out infinite}
.call-info{flex:1;min-width:0}
.call-info strong{display:block;overflow:hidden;font-size:15px;text-overflow:ellipsis;white-space:nowrap}
.call-info span{display:block;margin-top:3px;color:var(--muted);font-size:13px;line-height:1.4}
.call-card.live .call-info span{color:var(--green);font:13px 'DM Mono',monospace}
.call-actions{display:flex;gap:8px}
.call-round{display:grid;place-items:center;width:44px;height:44px;padding:0;border:0;border-radius:50%;background:rgba(255,255,255,.1);color:#fff}
.call-round svg{width:20px;height:20px}
.call-round.accept{background:#3fb98a;color:#08140f}
.call-round.decline{background:#e5566d}
.call-round.mute.on{background:var(--ink);color:#151823}
.call-round:hover{filter:brightness(1.1)}
@keyframes call-in{from{opacity:0;transform:translateY(-8px)}}
@keyframes ring{0%,100%{box-shadow:0 0 0 0 rgba(241,138,168,.45)}50%{box-shadow:0 0 0 10px rgba(241,138,168,0)}}
@media(max-width:820px){.call-dock{top:calc(70px + env(safe-area-inset-top));right:12px;left:12px;width:auto}}
@media(max-width:560px){.voice-bubble{min-width:180px}.voice-recorder{gap:8px;padding:10px 12px}.voice-recorder .rec-limit{display:none}.voice-recorder b{margin-right:auto}.chat-compose{padding:10px 12px}.call-card{padding:12px}.call-card .number-avatar.medium-number{width:44px;height:44px}}

@keyframes badge-pop{0%{transform:scale(.9)}45%{transform:scale(1.14)}100%{transform:scale(1)}}
@keyframes tick-ring{0%{box-shadow:0 0 0 0 rgba(115,208,176,.75)}100%{box-shadow:0 0 0 14px rgba(115,208,176,0)}}

.verification-tag{display:inline-flex;margin:0 8px 6px 0;vertical-align:middle}
.verification-panel.verified{border-color:rgba(115,208,176,.3);background:linear-gradient(90deg,rgba(115,208,176,.09),rgba(141,128,255,.05))}
.verification-panel.verified .panel-icon{background:rgba(115,208,176,.16);color:var(--green);font-weight:700}
.panel-icon.just-verified{animation:badge-pop .8s cubic-bezier(.34,1.56,.64,1) .15s both,tick-ring 1.2s ease-out .45s}
/* The large tag shown while it turns verified */
.verify-stage{display:grid;place-items:center;min-height:120px;margin:8px 0 2px}

.verify-celebration .full-button.large{justify-content:center}

/* School picker: a searchable list that opens inline under the field */
.form-grid .school-picker{grid-column:1/-1}
.school-picker{position:relative;min-width:0}
.picker-control{position:relative;display:block}
.form-field .picker-input{padding-right:38px}
.picker-caret{position:absolute;top:50%;right:15px;display:flex;color:var(--ink);pointer-events:none;transform:translateY(-50%);transition:transform .2s ease}
.picker-caret svg{display:block;width:12px;height:8px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.school-picker.open .picker-caret{transform:translateY(-50%) rotate(180deg)}
.picker-list{max-height:min(330px,46vh);margin:8px 0 0;padding:6px;overflow:auto;border:1px solid #3b4354;border-radius:12px;background:#121824;list-style:none;overscroll-behavior:contain}
.picker-group{position:sticky;z-index:1;top:-6px;margin:0 -6px;padding:9px 12px 6px;background:#121824;color:var(--muted-2);font:11px 'DM Mono',monospace;letter-spacing:.08em;text-transform:uppercase}
.picker-option{display:flex;align-items:center;gap:10px;padding:8px 10px;border-radius:9px;cursor:pointer}
.picker-option:hover,.picker-option.active{background:rgba(241,138,168,.12)}
.picker-option[aria-selected="true"]{box-shadow:inset 3px 0 var(--pink)}
.picker-code{flex:0 0 auto;min-width:58px;padding:4px 6px;border-radius:6px;background:linear-gradient(135deg,rgba(244,187,98,.22),rgba(175,94,146,.22));color:#f6d7a8;font:600 11px 'DM Mono',monospace;text-align:center;overflow-wrap:anywhere}
.picker-name{display:flex;flex-direction:column;min-width:0;color:var(--ink);font-size:14px;line-height:1.35}
.picker-name small{margin-top:2px;color:var(--muted);font-size:12px}
.picker-option.muted .picker-name{color:var(--muted)}
.picker-option.other{margin-top:4px;border-top:1px solid var(--line);border-radius:0 0 9px 9px}
.picker-option.other .picker-name{color:var(--pink)}
.picker-empty{padding:12px 10px;color:var(--muted);font-size:14px}
.picker-other{margin-top:12px}
.detected-school{color:var(--green)}

@media(max-width:560px){.picker-list{max-height:52vh}.picker-code{min-width:50px}}

/* Campus tag in messages: a compact tag in the thread list, the regular tag beside the name in the chat header */
.thread-name{display:flex;flex-wrap:wrap;align-items:center;gap:4px 7px;min-width:0}
.thread-name strong{min-width:0;overflow-wrap:anywhere}
.chat-peer{flex:1;min-width:0}
.chat-peer-line{display:flex;flex-wrap:wrap;align-items:center;gap:4px 10px;min-width:0}
.chat-peer strong{display:block;font-size:15px;overflow-wrap:anywhere}
#chatPeerBadge{display:inline-flex}
#chatPeerBadge:empty{display:none}
#chatPeerMeta{display:block;margin-top:3px;font-size:12px}

/* A long typed school name shortens with an ellipsis instead of pushing the tag out of the row. */
#chatPeerBadge{min-width:0;max-width:100%}

.score-breakdown .score-note{margin:2px 0 0;color:var(--muted-2);font-size:12px;line-height:1.5}
/* Love reading: four readings as bars with a word, the three traditions behind them, and what lifts or lowers the score */
.score-breakdown .score-breakdown-head span{white-space:normal;text-align:right}
.score-summary{margin:-4px 0 2px;color:#c8bfce;font-size:13px;line-height:1.55}
.score-breakdown .score-row{grid-template-columns:minmax(92px,.9fr) minmax(60px,1.4fr) 96px}
.score-breakdown .score-row-points{color:#d8dae4;font:500 12px 'DM Sans',system-ui,sans-serif;text-align:right;white-space:nowrap}
.score-layers{display:grid;gap:8px;margin-top:6px}
.score-layer{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:3px 10px;padding:10px 12px;border:1px solid var(--line);border-radius:10px;background:rgba(255,255,255,.025)}
.score-layer span{grid-column:1/-1;color:var(--muted-2);font:11px 'DM Mono',monospace;letter-spacing:.04em;text-transform:uppercase}
.score-layer strong{font-size:14px;overflow-wrap:anywhere}
.score-layer b{align-self:center;color:var(--pink);font-size:12px;font-weight:600;white-space:nowrap}
.score-layer small{grid-column:1/-1;color:var(--muted);font-size:12px;line-height:1.5}
.score-factors{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:4px}
.score-factors h5{margin:0 0 6px;font-size:12px;font-weight:600;letter-spacing:.02em}
.score-factors .up h5{color:var(--green)}.score-factors .down h5{color:#ffb3bd}
.score-factors ul{margin:0;padding-left:16px;color:#c7cbd6;font-size:12px;line-height:1.6}
.score-factors li.strong{color:#ffd2d8;font-weight:600}
@media(max-width:560px){.score-factors{grid-template-columns:1fr}.score-breakdown .score-row{grid-template-columns:86px minmax(40px,1fr) 84px}}
/* Display nickname: the member code sits beside it in a quieter monospace */
.name-code{color:var(--muted);font:500 max(11px,.6em)/1 'DM Mono',monospace;letter-spacing:0;white-space:nowrap}
.form-grid .nickname-field{grid-column:1/-1}
.form-field .field-help{margin-top:0;color:var(--muted)}
/* Mệnh is worked out from the birth date, so it reads as a value rather than a control */
.derived-value{display:flex;align-items:center;min-height:44px;padding:10px 12px;border:1px dashed #3b4354;border-radius:9px;background:rgba(20,27,40,.55);color:var(--ink);font-size:15px;line-height:1.4}
/* Phones: the name already carries the number, so the header drops the avatar to keep name, tag and status within three short lines. */
@media(max-width:560px){.chat-head .number-avatar{display:none}.chat-peer strong{font-size:13px}#chatPeerMeta{font-size:11px}}

/* Photos: avatars, the avatar editor, photos in the conversation and in reports */
.number-avatar.photo,.avatar.photo{overflow:hidden;padding:0;background:#1b2130}
.number-avatar.photo img,.avatar.photo img{display:block;width:100%;height:100%;border-radius:50%;object-fit:cover}
#chatPeerAvatar{display:contents}
.avatar-edit{position:absolute;top:12px;right:12px;display:inline-flex;align-items:center;gap:6px;padding:6px 10px;border:1px solid rgba(255,255,255,.16);border-radius:999px;background:rgba(14,17,26,.66);color:#e8e6ee;font-size:12px;line-height:1;cursor:pointer}
.avatar-edit:hover{border-color:rgba(241,138,168,.5);color:#fff}
.avatar-edit svg{width:15px;height:15px}
.avatar-editor{display:flex;align-items:center;gap:20px;margin:18px 0 4px}
.avatar-preview{display:grid;place-items:center;flex:0 0 112px;width:112px;height:112px;overflow:hidden;border:1px solid #726486;border-radius:50%;background:linear-gradient(145deg,#965b80,#5b5c9b);color:#fff;font:15px 'DM Mono',monospace}
.avatar-preview img{width:100%;height:100%;object-fit:cover}
.avatar-actions{display:flex;flex-wrap:wrap;align-items:center;gap:10px 16px}
.avatar-pick{position:relative;display:inline-flex;align-items:center;min-height:40px;padding:9px 14px;font-size:14px;cursor:pointer}
.avatar-pick:focus-within{outline:2px solid var(--pink);outline-offset:3px}
/* The base `.modal input` rule makes every input a full-width text box; radios and the hidden file picker must opt out. */
.modal .avatar-pick input{width:1px;height:1px;padding:0;border:0}
.modal .choice input{width:18px;height:18px;min-height:0;padding:0;border:0;background:none}
.choice-list{display:grid;gap:8px}
.choice{display:flex;align-items:flex-start;gap:10px;padding:11px 12px;border:1px solid #394153;border-radius:10px;cursor:pointer}
.choice:has(input:checked){border-color:#cd7fa1;background:#e798b015}
.choice input{flex:0 0 auto;margin-top:3px;accent-color:var(--pink)}
.choice strong{display:block;font-size:14px}
.choice small{display:block;margin-top:2px;color:var(--muted);font-size:12px;line-height:1.5}
.chat-message.image{padding:5px}
.image-bubble{display:block;width:min(260px,60vw);max-height:340px;padding:0;border:0;border-radius:9px;overflow:hidden;background:#0f131c;cursor:zoom-in}
.image-bubble img{display:block;width:100%;height:100%;object-fit:cover}
.chat-message.image .chat-time{padding:5px 6px 1px}
.chat-compose .compose-image{flex:0 0 auto;width:44px;height:auto;min-height:44px;border-radius:9px;color:#d9dbe2}
.chat-compose .compose-image:hover{border-color:rgba(241,138,168,.45);color:var(--pink)}
.chat-compose .compose-image.busy svg{animation:spin 1.2s linear infinite}
.photo-modal h2{font-size:18px}
.photo-view{display:grid;place-items:center;margin-top:14px}
.photo-view img{max-width:100%;max-height:calc(100dvh - 170px);border-radius:10px;object-fit:contain}
.report-avatar{display:block;width:56px;height:56px;margin:10px 0 2px;border:1px solid var(--line);border-radius:50%;object-fit:cover}
@media(max-width:560px){.avatar-editor{gap:14px}.avatar-preview{flex-basis:92px;width:92px;height:92px}.chat-compose .compose-image{width:40px}}

/* ==========================================================================
   Ouro v2 visual refresh: one family of surfaces, calmer type, clearer actions
   ========================================================================== */
:root{--bg:#0a0c13;--line:rgba(255,255,255,.075);--line-strong:rgba(255,255,255,.14);--ink:#f4f2f7;--muted:#a1a9ba;--muted-2:#7a8396;--pink:#ff8db0;--pink-deep:#e2658e;--violet:#a08fff;--green:#6cdab3;--gold:#f6c878;
  --brand:linear-gradient(135deg,#ff8db0 0%,#c48bff 52%,#8ea6ff 100%);--surface:linear-gradient(180deg,rgba(255,255,255,.048),rgba(255,255,255,.02));--surface-solid:#12151f;--lift:0 18px 50px rgba(0,0,0,.32);--r-xl:22px;--r-lg:18px;--r-md:13px;--r-sm:10px}
body{background:radial-gradient(900px 520px at 88% -8%,rgba(160,143,255,.16),transparent 62%),radial-gradient(760px 480px at -6% 104%,rgba(255,141,176,.1),transparent 60%),var(--bg);background-attachment:fixed;-webkit-font-smoothing:antialiased}
::selection{background:rgba(255,141,176,.35)}
@keyframes screen-in{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}
.screen.active{animation:screen-in .28s ease both}

/* Shell: sticky sidebar and top bar, icon navigation */
.sidebar{position:sticky;top:0;height:100vh;overflow-y:auto;padding:26px 16px 20px;border-right:1px solid var(--line);background:linear-gradient(180deg,rgba(17,20,30,.92),rgba(10,12,19,.92))}
.brand-mark span{background:var(--brand)}
.privacy-pill{margin:0 4px 22px;border-radius:12px}
.main-nav{gap:6px}
.nav-item{position:relative;gap:12px;padding:11px 14px;border-radius:12px;color:var(--muted);font-size:14.5px;font-weight:500;transition:background .2s ease,color .2s ease,border-color .2s ease}
.nav-item:hover{background:rgba(255,255,255,.045);color:var(--ink)}
.nav-item.active{border-color:rgba(255,141,176,.2);background:linear-gradient(90deg,rgba(255,141,176,.16),rgba(160,143,255,.07));color:#fff}
.nav-item.active::before{content:"";position:absolute;top:10px;bottom:10px;left:-16px;width:3px;border-radius:0 3px 3px 0;background:var(--brand)}
.nav-icon{display:grid;place-items:center;width:22px;height:22px;font-size:0}
.nav-icon svg{width:20px;height:20px}
.nav-item.active .nav-icon{color:var(--pink)}
.nav-count.pink{border-radius:999px;background:var(--brand);color:#1b0f19;font-weight:600}
.sidebar-footer{padding:16px 10px 0}
.topbar{position:sticky;top:0;z-index:9;background:rgba(10,12,19,.74);backdrop-filter:blur(16px) saturate(140%);-webkit-backdrop-filter:blur(16px) saturate(140%)}
.user-chip{padding:4px 14px 4px 4px;border:1px solid var(--line);border-radius:999px;background:rgba(255,255,255,.04);transition:border-color .2s,background .2s}
.user-chip:hover{border-color:rgba(255,141,176,.35);background:rgba(255,255,255,.07)}
.user-chip .avatar{width:30px;height:30px}
.user-chip-name{font-size:13px;font-weight:500}
.screen-heading h1{letter-spacing:-.025em}
.screen-heading h1 em,.landing-copy h1 em,.landing-promises h2 em,.modal h2 em{padding-right:.08em;background:var(--brand);-webkit-background-clip:text;background-clip:text;color:transparent}
.eyebrow{font-size:11px;letter-spacing:.16em}

/* Surfaces */
.insight-card,.match-card,.self-card,.profile-settings,.social-panel,.messages-layout,.room-layout,.profile-card{border:1px solid var(--line);border-radius:var(--r-xl);background:var(--surface),var(--surface-solid);box-shadow:var(--lift)}
.verification-panel{border-radius:var(--r-xl)}
.auto-match-panel{border-color:rgba(255,141,176,.28);border-radius:var(--r-xl);background:radial-gradient(420px 180px at 10% 0%,rgba(255,141,176,.18),transparent 70%),linear-gradient(105deg,#241c2e,#171a2a 70%,#141a28);box-shadow:var(--lift)}
.queue-symbol{border-color:rgba(255,141,176,.45);background:rgba(255,141,176,.08)}
.empty-state{border:1px dashed rgba(255,255,255,.12);border-radius:var(--r-xl);background:linear-gradient(160deg,rgba(255,255,255,.035),rgba(255,255,255,.012))}
.empty-state>span{display:grid;place-items:center;width:76px;height:76px;margin-bottom:18px;border-radius:50%;background:radial-gradient(circle,rgba(255,141,176,.18),rgba(160,143,255,.06));font-size:36px;line-height:1}
.match-card{padding:16px;transition:transform .2s ease,border-color .2s ease}
.match-card:hover{transform:translateY(-2px);border-color:rgba(255,141,176,.26)}
.match-card .match-visual{border-radius:var(--r-lg)}

/* Buttons */
.full-button{border-radius:var(--r-md);font-weight:600;transition:transform .15s ease,filter .15s ease,background .2s ease,border-color .2s ease,box-shadow .2s ease}
.full-button.pink,.send-button{border-color:transparent;background:var(--brand);color:#190d18;box-shadow:0 10px 26px rgba(255,141,176,.22)}
.full-button.pink:hover,.send-button:hover{background:var(--brand);filter:brightness(1.07) saturate(1.05);transform:translateY(-1px)}
.full-button.pink:active,.send-button:active{filter:brightness(.97);transform:none}
.full-button.light{border-color:var(--line-strong);background:rgba(255,255,255,.045);color:var(--ink)}
.full-button.light:hover{border-color:rgba(255,141,176,.35);background:rgba(255,255,255,.08)}
.outline-button{border-color:var(--line-strong);border-radius:var(--r-sm);background:rgba(255,255,255,.035);color:var(--ink);transition:background .2s,border-color .2s,color .2s}
.outline-button:hover{border-color:rgba(255,141,176,.4);background:rgba(255,255,255,.07);color:#fff}
.icon-button{transition:background .2s,border-color .2s,color .2s}
.icon-button:hover{background:rgba(255,255,255,.08);color:var(--ink)}

/* Discover card */
.profile-visual{background:radial-gradient(circle at 50% 38%,rgba(255,141,176,.32),transparent 30%),radial-gradient(circle at 18% 92%,rgba(160,143,255,.34),transparent 45%),linear-gradient(160deg,#241f3a,#161a28)}
.match-badge{border-color:rgba(255,141,176,.35);background:rgba(10,12,19,.62);color:#ffd3e0;font-weight:600}
.card-actions{gap:24px;padding:6px 20px 22px}
.pass-action{width:54px;height:54px;border-color:rgba(255,255,255,.14);background:rgba(255,255,255,.04);color:#e7e4ee}
.pass-action:hover{border-color:rgba(255,141,176,.45);color:var(--pink);transform:rotate(-8deg) scale(1.04)}
.like-action{width:64px;height:64px;border:0;background:var(--brand);color:#1b0f19;box-shadow:0 14px 34px rgba(255,141,176,.35)}
.like-action:hover{transform:scale(1.07)}
.interest-tags span{border-color:rgba(255,255,255,.1);background:rgba(255,255,255,.035)}
.interest-tags .common{border-color:rgba(255,141,176,.45);background:rgba(255,141,176,.1);color:#ffd0de}
.self-facts span{border-radius:999px;background:rgba(255,255,255,.03)}
.self-visual{background:radial-gradient(circle at 50% 42%,rgba(160,143,255,.38),transparent 38%),linear-gradient(160deg,#221e36,#141725)}

/* Conversations */
.thread-list{background:rgba(255,255,255,.012)}
.thread-item{transition:background .15s ease}
.thread-item.active{background:linear-gradient(90deg,rgba(255,141,176,.12),transparent 85%);box-shadow:inset 3px 0 0 var(--pink)}
.chat-head{background:rgba(255,255,255,.018)}
.chat-body{gap:10px;padding:22px 22px 16px}
.chat-message{padding:10px 14px;border-radius:18px;line-height:1.55}
.chat-message.them{border:1px solid rgba(255,255,255,.06);border-bottom-left-radius:6px;background:rgba(255,255,255,.065);color:#e9e8ee}
.chat-message.me{border:1px solid rgba(255,141,176,.22);border-bottom-right-radius:6px;background:linear-gradient(135deg,rgba(255,141,176,.3),rgba(160,143,255,.26));color:#fff}
.chat-message.image{padding:5px}
.chat-compose{gap:10px;padding:12px 16px 14px;border-top:1px solid var(--line);background:rgba(10,12,19,.55)}
.chat-compose input{height:46px;padding:0 18px;border-color:var(--line-strong);border-radius:999px;background:rgba(255,255,255,.05)}
.chat-compose input:focus{border-color:rgba(255,141,176,.6);box-shadow:0 0 0 3px rgba(255,141,176,.15)}
.chat-compose .compose-voice,.chat-compose .compose-image{width:46px;min-height:46px;border-radius:50%}
.send-button{width:46px;min-width:46px;height:46px;border-radius:50%;font-size:20px}
.reveal-banner{border-radius:var(--r-md)}

/* Community room */
.room-online{display:inline-flex;align-items:center;gap:8px;padding:8px 14px;border:1px solid rgba(108,218,179,.25);border-radius:999px;background:rgba(108,218,179,.08);color:#c9f0e1;font-size:13px;white-space:nowrap}
.room-online b{color:#fff}
.presence-dot{width:8px;height:8px;border-radius:50%;background:var(--green);animation:queue-pulse 1.8s ease-out infinite}
.room-layout{display:flex;flex-direction:column;height:calc(100dvh - 250px);min-height:460px;max-height:860px;overflow:hidden}
.room-notice{margin:0;padding:11px 18px;border-bottom:1px solid var(--line);background:rgba(246,200,120,.06);color:#e6d3b1;font-size:13px;line-height:1.5}
.room-notice b{color:#f6d9a4;font-weight:600}
.room-body{flex:1;display:flex;flex-direction:column;gap:2px;padding:18px 20px;overflow-y:auto;overscroll-behavior:contain}
.room-message{display:flex;align-items:flex-end;gap:10px;max-width:min(78%,640px);margin-top:10px}
.room-message.joined{margin-top:3px}
.room-message.me{align-self:flex-end;flex-direction:row-reverse}
.room-avatar{flex:0 0 36px;width:36px;height:36px;padding:0;border:0;border-radius:50%;background:none;cursor:pointer}
.room-avatar.spacer{visibility:hidden;cursor:default}
.room-avatar .number-avatar{width:36px;height:36px;font-size:10px}
.room-bubble{min-width:0;padding:9px 13px 7px;border:1px solid rgba(255,255,255,.06);border-radius:18px;border-bottom-left-radius:6px;background:rgba(255,255,255,.06)}
.room-message.joined .room-bubble{border-top-left-radius:8px}
.room-message.me .room-bubble{border-color:rgba(255,141,176,.22);border-radius:18px;border-bottom-right-radius:6px;background:linear-gradient(135deg,rgba(255,141,176,.28),rgba(160,143,255,.24))}
.room-meta{display:flex;flex-wrap:wrap;align-items:center;gap:4px 8px;margin-bottom:3px}
.room-name{padding:0;border:0;background:none;color:#ffc2d4;font-size:13px;font-weight:600;text-align:left;cursor:pointer}
.room-name:hover{text-decoration:underline}
.room-bubble p{margin:0;color:#ecebf1;font-size:15px;line-height:1.55;white-space:pre-wrap;overflow-wrap:anywhere}
.room-time{display:flex;align-items:center;justify-content:flex-end;gap:10px;margin-top:3px;color:var(--muted-2);font:11px 'DM Mono',monospace}
.room-time .text-button{color:var(--muted);font:12px 'DM Sans',system-ui,sans-serif}
.room-time .text-button:hover{color:#ffb3c6}
.room-body .empty-state{min-height:240px;margin:auto;border:0;background:none}
.room-body .older-button{margin-bottom:6px}
.room-member{display:flex;align-items:center;gap:16px;margin:16px 0 18px}
.room-quote{margin:10px 0 0;color:#d9d7e0;font:15px/1.5 'Playfair Display',serif}
.room-member-actions{display:flex;flex-wrap:wrap;gap:10px 22px;margin-top:18px}
.room-profile-facts{color:var(--muted);font-size:14px}

/* Dialogs, fields, toast */
.modal{border-color:var(--line-strong);border-radius:24px;background:radial-gradient(420px 200px at 100% 0%,rgba(160,143,255,.1),transparent 70%),linear-gradient(180deg,#171b27,#10131c)}
.modal-backdrop{background:rgba(4,5,10,.72);backdrop-filter:blur(10px)}
.modal-close{border-radius:50%;transition:background .2s,color .2s}
.modal-close:hover{background:rgba(255,255,255,.08)}
.form-field input,.form-field select,.form-field textarea{border-radius:12px;transition:border-color .2s,box-shadow .2s}
.form-field input:focus,.form-field select:focus,.form-field textarea:focus{outline:0;border-color:rgba(255,141,176,.6);box-shadow:0 0 0 3px rgba(255,141,176,.15)}
.check-chips label{padding:8px 13px;border-radius:999px}
.toast{border-color:rgba(108,218,179,.25);border-radius:14px;background:rgba(18,26,32,.94);box-shadow:0 18px 40px rgba(0,0,0,.4);backdrop-filter:blur(12px)}

/* Phones: five-tab bottom bar with a lit pill for the current tab */
.mobile-nav{grid-template-columns:repeat(5,1fr);padding:6px 6px max(8px,env(safe-area-inset-bottom));background:rgba(10,12,19,.9);backdrop-filter:blur(18px) saturate(140%);-webkit-backdrop-filter:blur(18px) saturate(140%)}
.mobile-nav-item{position:relative;gap:3px;padding:6px 2px 4px;color:var(--muted-2);transition:color .2s}
.mobile-nav-item span{display:grid;place-items:center;width:46px;height:28px;border-radius:999px;font-size:0;transition:background .2s,color .2s}
.mobile-nav-item svg{width:22px;height:22px}
.mobile-nav-item small{font-size:11px;font-weight:500;white-space:nowrap}
.mobile-nav-item.active{color:#fff}
.mobile-nav-item.active span{background:linear-gradient(135deg,rgba(255,141,176,.3),rgba(160,143,255,.22));color:#ffd0de}
@media(max-width:560px){
  .room-layout{height:calc(100dvh - 236px);min-height:380px;border-radius:var(--r-lg)}
  .room-body{padding:14px 12px}.room-message{max-width:90%}.room-notice{padding:10px 14px;font-size:12px}
  #screen-room .screen-heading{flex-wrap:wrap;align-items:center;gap:10px}
  .chat-compose .compose-voice,.chat-compose .compose-image{width:42px;min-height:42px}.send-button{width:42px;min-width:42px;height:42px}.chat-compose input{height:42px}
  .like-action{width:58px;height:58px}.pass-action{width:50px;height:50px}
}
/* The room fills the window like a messenger: header, posts and composer stay in view without the page scrolling. */
.content-scroll:has(#screen-room.active){padding-bottom:24px}
#screen-room.active{display:flex;flex-direction:column;height:calc(100dvh - 132px);min-height:520px}
#screen-room .room-layout{flex:1;height:auto;min-height:0;max-height:none}
.form-grid .form-field{align-content:start}
@media(max-width:820px){
  .content-scroll:has(#screen-room.active){padding-bottom:calc(84px + env(safe-area-inset-bottom))}
  #screen-room.active{height:calc(100dvh - 173px - env(safe-area-inset-bottom));min-height:400px}
  .user-chip{padding:3px;border-color:transparent;background:none}
}
@media(max-width:560px){
  #screen-room .screen-heading{flex-direction:row;align-items:center;justify-content:space-between;gap:10px;margin-bottom:12px}
  #screen-room .screen-heading .eyebrow{display:none}
  #screen-room .screen-heading h1{margin-top:0;font-size:30px}
  .room-online{padding:6px 11px;font-size:12px}
}

.room-time .room-more{padding:0 2px;letter-spacing:.08em;opacity:.7}
.room-time .room-more:hover,.room-time .room-more:focus-visible{opacity:1}

/* The reading details fold away on the card so like and pass stay close; dialogs open them. */
.score-details{display:block}
.score-details>:not(:first-child){margin-top:12px}
.score-details>summary{display:flex;align-items:center;gap:8px;width:max-content;max-width:100%;padding:6px 12px 6px 10px;border:1px solid rgba(255,141,176,.28);border-radius:999px;background:rgba(255,141,176,.07);color:#ffc2d4;font-size:13px;font-weight:600;list-style:none;cursor:pointer}
.score-details>summary::-webkit-details-marker{display:none}
.score-details>summary::before{content:"";width:7px;height:7px;border:solid currentColor;border-width:0 1.8px 1.8px 0;transform:rotate(-45deg);transition:transform .2s}
.score-details[open]>summary::before{transform:rotate(45deg) translate(-1px,-1px)}
.score-details>summary:hover{background:rgba(255,141,176,.13)}
.score-details[open]>summary{margin-bottom:2px}

/* ==========================================================================
   Likes waiting for an answer: the panel on Kết nối, the tag on a discovery card
   and the note in the profile dialog.
   ========================================================================== */
.likes-panel{margin:0 0 26px;padding:18px;border:1px solid rgba(255,141,176,.24);border-radius:var(--r-xl);background:radial-gradient(120% 160% at 0 0,rgba(255,141,176,.11),transparent 55%),var(--surface)}
.likes-head{display:flex;flex-wrap:wrap;align-items:flex-end;justify-content:space-between;gap:10px 22px;margin-bottom:14px}
.likes-head h2{display:flex;align-items:center;gap:10px;margin:4px 0 0;font-size:20px;letter-spacing:-.01em}
.likes-head h2 .nav-count{margin:0;padding:2px 8px}
.likes-head>p{flex:1 1 280px;max-width:470px;margin:0;color:var(--muted);font-size:13px;line-height:1.55}
.likes-head>.outline-button{flex:0 0 auto}
.likes-list{display:grid;grid-template-columns:repeat(auto-fill,minmax(310px,1fr));gap:12px}
.like-card{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:12px 14px;padding:14px;border:1px solid var(--line);border-radius:var(--r-lg);background:rgba(10,12,19,.5);animation:like-in .35s ease both}
.like-card .number-avatar.medium-number{width:60px;height:60px;font-size:13px;box-shadow:0 0 0 6px rgba(255,141,176,.07)}
.like-copy h3{margin:0;font-size:16px;line-height:1.3;overflow-wrap:anywhere}
.like-copy>p{margin:3px 0 0;color:var(--muted);font-size:13px}
.like-copy .badge-row{align-items:center;gap:6px;margin-top:8px}
.like-actions{grid-column:1/-1;display:grid;grid-template-columns:1fr 1fr 1.25fr;gap:8px}
.like-actions>button{display:flex;align-items:center;justify-content:center;width:100%;min-height:42px;margin:0;padding:8px 10px;font-size:14px}
.visual-bottom .liked-you{padding:5px 10px;border:1px solid rgba(255,141,176,.4);border-radius:999px;background:rgba(10,12,19,.62);color:#ffd3e0;font-size:12px;font-weight:600;backdrop-filter:blur(8px)}
.liked-you-note{margin:12px 0 0;padding:10px 12px;border:1px solid rgba(255,141,176,.25);border-radius:var(--r-md);background:rgba(255,141,176,.08);color:#ffd3e0;font-size:14px;line-height:1.45}
@keyframes like-in{from{opacity:0;transform:translateY(6px)}}
@media(prefers-reduced-motion:reduce){.like-card{animation:none}}
@media(max-width:560px){
  .likes-panel{margin-bottom:20px;padding:14px;border-radius:var(--r-lg)}
  .likes-head h2{font-size:18px}
  .likes-list{grid-template-columns:1fr}
  .like-card{padding:12px}
  .like-actions{grid-template-columns:1fr 1fr}
  .like-actions>.full-button{grid-column:1/-1;order:-1}
}

/* ==========================================================================
   Match score: a bigger gauge with motion. Tier colours follow the reading tiers
   (86+ blaze, 74+ warm, 62+ spark, below calm). Entrance effects play once per
   profile (.settled skips them); the loops are light and stop for reduced motion.
   ========================================================================== */
@property --fill{syntax:'<number>';inherits:false;initial-value:0}
.tier-blaze{--tone-a:#ffd27a;--tone-b:#ff8db0;--tone-glow:rgba(255,196,110,.55)}
.tier-warm{--tone-a:#ff8db0;--tone-b:#c48bff;--tone-glow:rgba(255,141,176,.5)}
.tier-spark{--tone-a:#c9a2ff;--tone-b:#8ea6ff;--tone-glow:rgba(170,140,255,.45)}
.tier-calm,.tier-none{--tone-a:#8ea6ff;--tone-b:#6fd3e6;--tone-glow:rgba(120,170,255,.4)}

.score-chip{position:relative;display:inline-flex;align-items:center;gap:9px;padding:4px 16px 4px 4px;border:1px solid rgba(255,141,176,.4);border-color:color-mix(in srgb,var(--tone-a) 50%,transparent);border-radius:999px;background:rgba(10,12,19,.72);backdrop-filter:blur(10px);color:#fff;isolation:isolate;animation:score-pop .6s cubic-bezier(.3,1.45,.5,1) both}
.score-chip.tier-none{padding:8px 14px;font-size:13px;font-weight:600;animation:none}
.score-chip::after{content:"";position:absolute;inset:0;border-radius:inherit;background:linear-gradient(105deg,transparent 38%,rgba(255,255,255,.34) 50%,transparent 62%) no-repeat;background-size:260% 100%;background-position:160% 0;pointer-events:none;animation:score-shine 4.8s ease-in-out 1.5s infinite}
.score-glow{position:absolute;inset:-12px;z-index:-1;border-radius:999px;background:radial-gradient(closest-side,var(--tone-glow),transparent);opacity:.5;animation:score-breathe 3.2s ease-in-out 1s infinite}
.score-ring{position:relative;display:grid;place-items:center;flex:0 0 auto;width:40px;height:40px;border-radius:50%;background:radial-gradient(circle,rgba(255,255,255,.1),rgba(255,255,255,.03) 70%)}
.score-ring::before{content:"";position:absolute;inset:0;border-radius:50%;--fill:var(--score);background:conic-gradient(from -90deg,var(--tone-b),var(--tone-a) calc(var(--fill) * 1%),rgba(255,255,255,.12) 0);-webkit-mask:radial-gradient(farthest-side,transparent calc(100% - 4px),#000 calc(100% - 3.5px));mask:radial-gradient(farthest-side,transparent calc(100% - 4px),#000 calc(100% - 3.5px));animation:score-fill 1.2s .12s cubic-bezier(.2,.8,.2,1) both}
.score-ring i{position:relative;font-size:16px;font-style:normal;line-height:1;color:var(--tone-a);filter:drop-shadow(0 0 6px var(--tone-glow));animation:score-beat 1.7s ease-in-out 1.2s infinite}
.tier-blaze .score-ring::after{content:"";position:absolute;inset:-3px;border:2px solid var(--tone-a);border-radius:50%;opacity:0;animation:score-burst 3.6s ease-out 1.1s infinite}
.score-text{display:grid;line-height:1}
.score-text small{font-size:11.5px;font-weight:600;line-height:1;letter-spacing:.01em;color:#f1dbe8;opacity:.9}
.score-text b{margin-top:4px;font-size:22px;font-weight:700;letter-spacing:-.02em;font-variant-numeric:tabular-nums;background:linear-gradient(120deg,#fff 12%,var(--tone-a) 58%,var(--tone-b));-webkit-background-clip:text;background-clip:text;color:transparent}
.score-sparkles{position:absolute;inset:-10px;pointer-events:none}
.score-sparkles i{position:absolute;width:9px;height:9px;background:var(--tone-a);clip-path:polygon(50% 0,61% 39%,100% 50%,61% 61%,50% 100%,39% 61%,0 50%,39% 39%);opacity:0;animation:score-twinkle 2.6s ease-in-out infinite}
.score-sparkles i:nth-child(1){top:0;left:30%;animation-delay:1s}
.score-sparkles i:nth-child(2){top:6px;right:2px;width:7px;height:7px;animation-delay:1.8s}
.score-sparkles i:nth-child(3){bottom:-1px;left:62%;width:6px;height:6px;animation-delay:2.5s}
.score-sparkles i:nth-child(4){bottom:6px;left:2px;width:7px;height:7px;animation-delay:1.4s}
.score-sparkles i:nth-child(5){top:42%;right:-4px;width:8px;height:8px;animation-delay:2.1s}
.score-chip:hover .score-ring i{animation-duration:.7s}
.score-chip.settled,.score-chip.settled .score-ring::before{animation:none}

/* Small chip for lists: connections and likes waiting for an answer. */
.score-chip.mini{gap:6px;padding:2px 11px 2px 2px;animation:none}
.score-chip.mini::after{display:none}
.score-chip.mini .score-ring{width:24px;height:24px}
.score-chip.mini .score-ring::before{-webkit-mask:radial-gradient(farthest-side,transparent calc(100% - 3px),#000 calc(100% - 2.5px));mask:radial-gradient(farthest-side,transparent calc(100% - 3px),#000 calc(100% - 2.5px));animation:none}
.score-chip.mini .score-ring i{font-size:10px;animation:none}
.score-chip.mini .score-text{display:flex;align-items:baseline;gap:5px}
.score-chip.mini .score-text small{font-size:11px;letter-spacing:0}
.score-chip.mini .score-text b{margin:0;font-size:14px}
.match-visual .score-chip{position:absolute;left:10px;bottom:10px}

/* The reading's headline: a large number, the tier and a gauge with tier ticks. */
.score-breakdown-head{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:end;gap:6px 14px;margin-bottom:4px}
.score-breakdown-head .score-big{display:grid;line-height:1}
.score-breakdown-head .score-big small{font-size:12.5px;font-weight:600;line-height:1;letter-spacing:.01em;color:var(--muted)}
.score-breakdown-head .score-big strong{margin-top:5px;font-size:36px;font-weight:700;letter-spacing:-.03em;font-variant-numeric:tabular-nums;background:linear-gradient(120deg,#fff 6%,var(--tone-a) 55%,var(--tone-b));-webkit-background-clip:text;background-clip:text;color:transparent;filter:drop-shadow(0 4px 16px var(--tone-glow))}
.score-breakdown-head .score-count{font:inherit;color:inherit;white-space:normal}
.score-breakdown-head .score-tier{justify-self:end;align-self:center;max-width:100%;padding:6px 12px;border:1px solid rgba(255,255,255,.14);border-color:color-mix(in srgb,var(--tone-a) 42%,transparent);border-radius:999px;background:rgba(255,255,255,.04);color:var(--tone-a);font-family:inherit;font-size:13px;font-weight:600;line-height:1.3;white-space:normal;text-align:right}
.score-breakdown-head .score-gauge{position:relative;grid-column:1/-1;display:block;height:9px;margin-top:8px;border-radius:999px;background:rgba(255,255,255,.07);overflow:hidden}
.score-breakdown-head .score-gauge::before{content:"";position:absolute;inset:0;z-index:1;background:linear-gradient(90deg,transparent calc(62% - 1px),rgba(10,12,19,.55) 0 62%,transparent 0 calc(74% - 1px),rgba(10,12,19,.55) 0 74%,transparent 0 calc(86% - 1px),rgba(10,12,19,.55) 0 86%,transparent 0)}
.score-breakdown-head .score-gauge i{position:absolute;inset:0 auto 0 0;width:calc(var(--score) * 1%);overflow:hidden;border-radius:inherit;background:linear-gradient(90deg,var(--tone-b),var(--tone-a));box-shadow:0 0 16px var(--tone-glow);animation:gauge-fill 1.25s .15s cubic-bezier(.2,.8,.2,1) both}
.score-breakdown-head .score-gauge i::after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,transparent,rgba(255,255,255,.6),transparent);transform:translateX(-100%);animation:gauge-shimmer 2.8s ease-in-out 1.5s infinite}
.score-breakdown-head.settled .score-gauge i{animation:none}

@keyframes score-pop{0%{opacity:0;transform:scale(.55) translateY(-4px)}60%{opacity:1;transform:scale(1.07)}100%{transform:none}}
@keyframes score-fill{from{--fill:0}}
@keyframes score-beat{0%,42%,100%{transform:scale(1)}14%{transform:scale(1.3)}28%{transform:scale(.92)}}
@keyframes score-breathe{50%{opacity:1;transform:scale(1.08)}}
@keyframes score-shine{0%,68%{background-position:160% 0}100%{background-position:-60% 0}}
@keyframes score-twinkle{0%,100%{opacity:0;transform:scale(.2) rotate(0)}40%{opacity:1;transform:scale(1) rotate(45deg)}70%{opacity:0;transform:scale(.4) rotate(90deg)}}
@keyframes score-burst{0%{opacity:.85;transform:scale(.8)}28%,100%{opacity:0;transform:scale(2.1)}}
@keyframes gauge-fill{from{width:0}}
@keyframes gauge-shimmer{0%{transform:translateX(-100%)}55%,100%{transform:translateX(100%)}}
@media(prefers-reduced-motion:reduce){.score-chip,.score-chip *,.score-chip::after,.score-ring::before,.score-ring::after,.score-breakdown-head .score-gauge i,.score-breakdown-head .score-gauge i::after{animation:none!important}.score-sparkles{display:none}}
@media(max-width:560px){
  .score-chip:not(.mini){gap:8px;padding-right:14px}
  .score-chip:not(.mini) .score-ring{width:36px;height:36px}
  .score-chip:not(.mini) .score-text b{font-size:20px}
  .score-breakdown-head .score-big strong{font-size:32px}
  .score-breakdown-head .score-tier{font-size:12px}
}

/* ==========================================================================
   Tơ Hồng theme (v3): a warm night, a rose-red thread, Vietnamese-first type.
   Tokens first, then the shell, surfaces and each screen. Codes and times keep DM Mono;
   italic accents keep Playfair Display; everything else uses Be Vietnam Pro.
   ========================================================================== */
:root{--bg:#120b11;--panel:#1b1119;--panel-2:#22151f;--panel-3:#2b1b27;--line:rgba(255,214,228,.085);--line-strong:rgba(255,214,228,.16);--ink:#fff4f7;--muted:#c7adba;--muted-2:#957b88;
  --rose:#ff4d7d;--pink:#ff8fb0;--pink-deep:#e8557f;--coral:#ff8a70;--peach:#ffc39c;--violet:#c9a2ff;--green:#6fdcb2;--gold:#f7c77a;
  --brand:linear-gradient(135deg,#ff4d7d 0%,#ff7d86 50%,#ffb48e 100%);
  --surface:linear-gradient(180deg,rgba(255,236,242,.052),rgba(255,236,242,.02));--surface-solid:#1a1017;--lift:0 22px 60px rgba(8,0,5,.5);
  --font-ui:'Be Vietnam Pro',system-ui,-apple-system,'Segoe UI',sans-serif;--font-display:'Playfair Display',Georgia,serif;--r-xl:24px;--r-lg:18px}
html,body,button,input,select,textarea{font-family:var(--font-ui)}
body{background:radial-gradient(1100px 620px at 92% -14%,rgba(255,77,125,.17),transparent 60%),radial-gradient(820px 560px at -8% 110%,rgba(255,170,130,.1),transparent 60%),radial-gradient(700px 500px at 45% 55%,rgba(130,40,85,.09),transparent 70%),var(--bg);background-attachment:fixed;letter-spacing:-.005em}
::selection{background:rgba(255,77,125,.4)}
:focus-visible{outline:2px solid #ff8fb0;outline-offset:2px}
.svg-defs{position:absolute;width:0;height:0;overflow:hidden}
.room-body,.chat-body,.thread-list,.modal,.picker-list{scrollbar-width:thin;scrollbar-color:rgba(255,143,176,.28) transparent}

/* Type: headings, eyebrows with a thread dash, italic accents. */
.screen-heading h1,.landing-copy h1{font-weight:700;letter-spacing:-.03em}
.screen-heading h1 em,.landing-copy h1 em,.landing-promises h2 em,.modal h2 em,.welcome-panel h1 em{font-family:var(--font-display);font-weight:500;letter-spacing:-.01em}
.eyebrow{font-family:var(--font-ui);font-size:11.5px;font-weight:600;letter-spacing:.14em;text-transform:uppercase;color:#e59bb4}
.screen-heading .eyebrow,.landing-copy .eyebrow,.landing-promises .eyebrow{display:flex;align-items:center;gap:10px}
.screen-heading .eyebrow::before,.landing-copy .eyebrow::before,.landing-promises .eyebrow::before{content:"";flex:0 0 22px;height:2px;border-radius:2px;background:var(--brand)}
.prompt-box p,.opening-hint p,.room-quote{font-family:var(--font-display);font-style:italic;font-weight:500}
.score-breakdown .score-row-points,.room-time .text-button{font-family:var(--font-ui)}

/* Brand: thread-heart mark and an italic wordmark. */
.brand-lockup{gap:12px;margin-bottom:26px}
.brand-logo{display:block;flex:0 0 auto;width:42px;height:42px;filter:drop-shadow(0 6px 18px rgba(255,77,125,.38))}
.brand-logo.small{width:30px;height:30px}
.brand-name{font-family:var(--font-display);font-size:27px;font-style:italic;font-weight:600;line-height:1;letter-spacing:-.01em;background:linear-gradient(120deg,#fff 0%,#ffd1dd 45%,#ffb48e 100%);-webkit-background-clip:text;background-clip:text;color:transparent;padding-right:.08em}
.brand-caption{margin-top:5px;font-family:var(--font-ui);font-size:12px;font-weight:500;letter-spacing:.02em;text-transform:none;color:var(--muted-2)}
.mobile-brand,body.signed-out .mobile-brand{gap:9px;letter-spacing:0}
.mobile-brand span{font-family:var(--font-display);font-size:23px;font-style:italic;font-weight:600;line-height:1;background:linear-gradient(120deg,#fff 0%,#ffd1dd 45%,#ffb48e 100%);-webkit-background-clip:text;background-clip:text;color:transparent;padding-right:.08em}

/* Shell */
.sidebar{border-right-color:var(--line);background:linear-gradient(180deg,rgba(30,15,25,.95),rgba(18,11,17,.95))}
.nav-item{color:var(--muted)}
.nav-item:hover{background:rgba(255,214,228,.05)}
.nav-item.active{border-color:rgba(255,77,125,.26);background:linear-gradient(90deg,rgba(255,77,125,.2),rgba(255,180,142,.05));box-shadow:inset 0 1px 0 rgba(255,255,255,.04)}
.nav-item.active .nav-icon{color:#ff9dbb}
.nav-count.pink,.mobile-count{background:var(--brand);color:#2a0c17;font-weight:700}
.privacy-pill{border-color:rgba(111,220,178,.2);background:rgba(111,220,178,.06)}
.help-link:hover,.signout:hover{color:#ffb3c7}
.topbar{border-bottom-color:var(--line);background:rgba(18,11,17,.74)}
.user-chip{border-color:var(--line);background:rgba(255,236,242,.04)}
.user-chip:hover{border-color:rgba(255,77,125,.4)}

/* Surfaces */
.insight-card,.match-card,.self-card,.profile-settings,.social-panel,.messages-layout,.room-layout,.profile-card,.likes-panel{box-shadow:inset 0 1px 0 rgba(255,255,255,.045),var(--lift)}
.auto-match-panel{border-color:rgba(255,77,125,.3);background:radial-gradient(460px 200px at 8% 0%,rgba(255,77,125,.24),transparent 70%),radial-gradient(360px 180px at 100% 100%,rgba(255,180,142,.12),transparent 70%),linear-gradient(105deg,#2c1623,#1d1119 70%,#180e15)}
.queue-symbol{border-color:rgba(255,77,125,.5);background:rgba(255,77,125,.1);color:#ff8fb0}
.empty-state{border-color:rgba(255,214,228,.13);background:linear-gradient(160deg,rgba(255,236,242,.04),rgba(255,236,242,.012))}
.empty-state>span{background:radial-gradient(circle,rgba(255,77,125,.22),rgba(255,180,142,.06));color:#ffb3c7}
.likes-panel{border-color:rgba(255,77,125,.28);background:radial-gradient(120% 160% at 0 0,rgba(255,77,125,.13),transparent 55%),var(--surface),var(--surface-solid)}
.like-card{background:rgba(18,9,15,.55)}

/* Buttons */
.full-button.pink,.send-button,.like-action{background:var(--brand);color:#2a0c17;box-shadow:0 12px 30px rgba(255,77,125,.3)}
.full-button.pink:hover,.send-button:hover{background:var(--brand);box-shadow:0 14px 34px rgba(255,77,125,.4)}
.full-button.light,.outline-button{border-color:var(--line-strong);background:rgba(255,236,242,.045)}
.full-button.light:hover,.outline-button:hover{border-color:rgba(255,77,125,.45);background:rgba(255,236,242,.08)}
.pass-action{border-color:rgba(255,214,228,.16);background:rgba(255,236,242,.045)}
.pass-action:hover{border-color:rgba(255,77,125,.5);color:#ff8fb0}
.like-action{box-shadow:0 16px 38px rgba(255,77,125,.42)}
.text-button,.detail-button,.report-link{color:#ff9dbb}

/* Avatars and the discover card: warm glass, rose threads instead of cold orbits. */
.number-avatar,.number-avatar.tone-pink{border-color:rgba(255,200,218,.4);background:linear-gradient(145deg,#ff7aa0,#8f3569)}
.number-avatar.tone-rose{background:linear-gradient(145deg,#f45d8a,#6f2a55)}
.number-avatar.tone-blue,.number-avatar.tone-cyan{background:linear-gradient(145deg,#ff9b7c,#a63f66)}
.number-avatar.tone-gold{background:linear-gradient(145deg,#f7c77a,#c2536a)}
.number-avatar.tone-violet{background:linear-gradient(145deg,#e39ad3,#7d2f6c)}
.self-avatar,.masked-avatar{border-color:rgba(255,200,218,.4);background:linear-gradient(145deg,#ff7aa0,#8f3569)}
.profile-visual{background:radial-gradient(circle at 50% 40%,rgba(255,77,125,.32),transparent 32%),radial-gradient(circle at 12% 96%,rgba(255,170,130,.24),transparent 46%),radial-gradient(circle at 92% 8%,rgba(201,162,255,.14),transparent 40%),linear-gradient(160deg,#2e1526,#170c14)}
.orbit{border-color:rgba(255,143,176,.2)}
.orbit-two{border-color:rgba(255,195,156,.16)}
.profile-title-row h2{font-size:30px;font-weight:700;letter-spacing:-.025em}
.interest-tags span{border-color:rgba(255,214,228,.12);background:rgba(255,236,242,.04)}
.interest-tags .common{border-color:rgba(255,77,125,.5);background:rgba(255,77,125,.12);color:#ffd3df}
.prompt-box{border-left-color:#ff6a8f;background:linear-gradient(90deg,rgba(255,77,125,.08),rgba(255,236,242,.02))}
.match-visual{background:radial-gradient(circle at 50% 45%,rgba(255,77,125,.32),transparent 32%),linear-gradient(145deg,#2f1626,#190d15)}
.self-visual{background:radial-gradient(circle at 50% 42%,rgba(255,77,125,.36),transparent 40%),radial-gradient(circle at 20% 95%,rgba(255,180,142,.16),transparent 45%),linear-gradient(160deg,#2c1424,#160b13)}
.self-facts span{border-color:rgba(255,214,228,.12);background:rgba(255,236,242,.035)}

/* Conversations */
.thread-list{background:rgba(255,236,242,.014)}
.thread-item:hover{background:rgba(255,236,242,.04)}
.thread-item.active{background:linear-gradient(90deg,rgba(255,77,125,.16),transparent 85%);box-shadow:inset 3px 0 0 #ff5d88}
.chat-head{background:rgba(255,236,242,.02)}
.chat-message.them,.room-bubble{border-color:rgba(255,214,228,.08);background:rgba(255,236,242,.07);color:#f6ecf1}
.chat-message.me,.room-message.me .room-bubble{border-color:rgba(255,77,125,.3);background:linear-gradient(135deg,rgba(255,77,125,.36),rgba(255,160,130,.22));color:#fff}
.chat-compose,.room-compose{background:rgba(18,9,15,.6)}
.chat-compose input,.room-compose input{border-color:var(--line-strong);background:rgba(255,236,242,.05)}
.chat-compose input:focus,.form-field input:focus,.form-field select:focus,.form-field textarea:focus{border-color:rgba(255,77,125,.65);box-shadow:0 0 0 3px rgba(255,77,125,.16)}
.room-name{color:#ffadc4}
.reveal-banner{border-color:rgba(255,214,228,.12);background:rgba(255,236,242,.04)}

/* Dialogs, toast, bottom bar */
.modal{background:radial-gradient(460px 220px at 100% 0%,rgba(255,77,125,.14),transparent 70%),linear-gradient(180deg,#1f121b,#150c13)}
.modal-backdrop{background:rgba(10,3,8,.74)}
.check-chips label:has(input:checked){border-color:rgba(255,77,125,.55);background:rgba(255,77,125,.14);color:#ffe0e9}
.toast{border-color:rgba(255,143,176,.3);background:rgba(34,17,27,.95)}
.toast>span:first-child{color:#ff8fb0}
.mobile-nav{border-top-color:var(--line);background:rgba(18,11,17,.9)}
.mobile-nav-item.active span{background:linear-gradient(135deg,rgba(255,77,125,.34),rgba(255,180,142,.2));color:#ffe0e9}

/* Landing */
.landing-visual{border-color:rgba(255,214,228,.12);background:radial-gradient(circle at 50% 48%,rgba(255,77,125,.22),transparent 55%),radial-gradient(circle at 85% 12%,rgba(255,180,142,.14),transparent 40%),linear-gradient(155deg,#2a1423,#140a12);box-shadow:inset 0 1px 0 rgba(255,255,255,.05),var(--lift)}
.landing-thread{position:absolute;inset:0;z-index:1;width:100%;height:100%;overflow:visible}
.landing-thread path{stroke-dasharray:100;stroke-dashoffset:100;filter:drop-shadow(0 0 6px rgba(255,77,125,.55));animation:thread-draw 2.4s .35s cubic-bezier(.45,.05,.2,1) forwards}
.landing-heart{z-index:3;color:#ff5d88;font-size:30px;text-shadow:0 0 22px rgba(255,77,125,.8);animation:heart-glow 2.6s ease-in-out 2.4s infinite}
.landing-chip{position:absolute;z-index:3;bottom:7%;left:50%;transform:translateX(-50%)}
.landing-steps article{border-color:var(--line);background:var(--surface),var(--surface-solid)}
.landing-steps article>span{color:#ff8fb0}
.landing-promises li strong{color:#ffe3ea}
.topbar-signin{border-color:rgba(255,77,125,.5);color:#ffc2d3}
@keyframes thread-draw{to{stroke-dashoffset:0}}
@keyframes heart-glow{50%{transform:translate(-50%,-50%) scale(1.14);text-shadow:0 0 30px rgba(255,77,125,1)}}
@media(prefers-reduced-motion:reduce){.landing-thread path{stroke-dashoffset:0;animation:none}.landing-heart{animation:none}}
/* Small uppercase labels were DM Mono, which lacks Vietnamese capitals; the reading bars take the rose thread too. */
.prompt-label,.live-pill,.detail-fact span,.chat-day,.picker-group,.score-layer span{font-family:var(--font-ui);font-weight:600;letter-spacing:.1em}
.score-row-fill{background:linear-gradient(90deg,#ff6a92,#ffb48e)}
.avatar-you{background:linear-gradient(140deg,#ff7aa0,#8f3569);color:#fff0f4}
.self-privacy{font-family:var(--font-ui);font-weight:500;letter-spacing:.02em}
/* Be Vietnam Pro sets wider than DM Sans: give each like card room for its three buttons on one line. */
.likes-list{grid-template-columns:repeat(auto-fill,minmax(min(100%,390px),1fr))}
.like-actions>button{white-space:nowrap}
@media(max-width:560px){.profile-title-row h2{font-size:26px}.brand-logo.small{width:28px;height:28px}.mobile-brand span{font-size:22px}
  .eyebrow{font-size:11px;letter-spacing:.08em}
  .screen-heading .eyebrow::before,.landing-copy .eyebrow::before,.landing-promises .eyebrow::before{flex-basis:14px}}

/* ==========================================================================
   School tag verification: Student / Graduate tabs, the diploma request state,
   and the admin review cards.
   ========================================================================== */
.verify-tabs{display:grid;grid-template-columns:1fr 1fr;gap:6px;margin:6px 0 16px;padding:5px;border:1px solid var(--line);border-radius:16px;background:rgba(255,236,242,.035)}
.verify-tab{display:grid;gap:2px;justify-items:start;padding:10px 14px;border:1px solid transparent;border-radius:12px;background:none;color:var(--muted);text-align:left;cursor:pointer;transition:background .2s,border-color .2s,color .2s}
.verify-tab b{font-size:15px;font-weight:600;color:inherit}
.verify-tab small{font-size:12px;color:var(--muted-2)}
.verify-tab:hover{background:rgba(255,236,242,.05);color:var(--ink)}
.verify-tab.active{border-color:rgba(255,77,125,.65);background:linear-gradient(135deg,rgba(255,77,125,.34),rgba(255,180,142,.16));box-shadow:0 10px 24px rgba(255,77,125,.2);color:#fff}
.verify-tab:focus-visible{outline-offset:-3px}
.form-field input,.form-field select,.form-field textarea{border-color:var(--line-strong);background:rgba(255,236,242,.05)}
.form-field select option{background:#1b1119}
.picker-list{border-color:var(--line-strong);background:#1c1119;box-shadow:0 18px 40px rgba(8,0,5,.45)}
.picker-option:hover,.picker-option.active{background:rgba(255,77,125,.14)}
.picker-option[aria-selected="true"]{box-shadow:inset 3px 0 #ff5d88}
.picker-group{color:#e59bb4}
.verify-tab.active small{color:#ffc2d3}
.diploma-status{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:start;gap:12px;margin:0 0 16px;padding:14px 16px;border:1px solid rgba(247,199,122,.32);border-radius:var(--r-md);background:rgba(247,199,122,.07)}
.diploma-status b{display:block;color:#ffe2b0;font-size:15px}
.diploma-status p{margin:4px 0 0;color:var(--ink);font-size:14px;overflow-wrap:anywhere}
.diploma-status small{display:block;margin-top:4px;color:var(--muted);font-size:12.5px;line-height:1.5}
.diploma-dot{width:10px;height:10px;margin-top:6px;border-radius:50%;background:#f7c77a;animation:diploma-pulse 1.8s ease-out infinite}
.diploma-status.rejected{border-color:rgba(255,120,140,.38);background:rgba(255,90,120,.08)}
.diploma-status.rejected b{color:#ffb3bd}
.diploma-status.rejected .diploma-dot{background:#ff7a90;animation:none}
.diploma-form .form-grid{margin-top:4px}
.diploma-privacy{margin:6px 0 4px;padding:10px 12px;border-radius:var(--r-sm);background:rgba(111,220,178,.06);color:#bfe8d8;line-height:1.5}
.verification-panel.pending .panel-icon{border-color:rgba(247,199,122,.45);background:rgba(247,199,122,.1);color:#f7c77a}
.admin-section-title{display:flex;align-items:center;gap:10px;margin:22px 0 10px;font-size:17px;font-weight:700}
.admin-diplomas .admin-section-title{margin-top:6px}
.admin-diploma{margin-bottom:12px;padding:14px 16px;border:1px solid rgba(247,199,122,.26);border-radius:var(--r-md);background:rgba(255,236,242,.035)}
.admin-diploma dl{display:grid;grid-template-columns:repeat(auto-fill,minmax(180px,1fr));gap:8px 16px;margin:10px 0 0}
.admin-diploma dt{color:var(--muted-2);font-size:12px}
.admin-diploma dd{margin:2px 0 0;color:var(--ink);font-size:14px;overflow-wrap:anywhere}
.admin-diploma dd.mono{font-family:'DM Mono',monospace;letter-spacing:.02em}
.admin-warn{margin:10px 0 0;color:#ffcf8a;font-size:13px}
.admin-diploma .admin-actions{display:flex;flex-wrap:wrap;align-items:center;gap:8px 16px;margin-top:12px}
.outline-button.approve{border-color:rgba(111,220,178,.45);color:#bff0dc}
.outline-button.approve:hover{border-color:rgba(111,220,178,.8);background:rgba(111,220,178,.1);color:#fff}
@keyframes diploma-pulse{0%{box-shadow:0 0 0 0 rgba(247,199,122,.6)}100%{box-shadow:0 0 0 10px rgba(247,199,122,0)}}
@media(prefers-reduced-motion:reduce){.diploma-dot{animation:none}}
@media(max-width:560px){.verify-tab{padding:9px 10px}.verify-tab b{font-size:14px}.diploma-status{grid-template-columns:auto minmax(0,1fr)}.diploma-status>.text-button{grid-column:2;justify-self:start}}

/* ==========================================================================
   Voice messages, Apple style: capsule bars drawn from real loudness, a smooth fill
   with a bright playhead, bars that bounce while playing, a ringing play button,
   and live bars that scroll in while recording.
   ========================================================================== */
.voice-wave{height:34px;gap:2px}
.voice-wave i{flex:1 1 0;min-width:2px;max-width:4px;height:calc(var(--h,40) * 1%);border-radius:4px;background:rgba(255,236,242,.26);transform-origin:center;transition:background .18s ease,box-shadow .18s ease}
.voice-wave i.played{background:linear-gradient(180deg,#ffc2d3,#ff6f96)}
.voice-wave i.head{background:#fff;box-shadow:0 0 10px rgba(255,120,160,.95),0 0 2px #fff}
.chat-message.me .voice-wave i{background:rgba(255,240,245,.36)}
.chat-message.me .voice-wave i.played{background:#fff}
.chat-message.me .voice-wave i.head{background:#fff;box-shadow:0 0 12px rgba(255,255,255,.95)}
.voice-play{position:relative;transition:transform .15s ease,filter .15s ease}
.voice-play:active{transform:scale(.92)}
.voice-bubble.playing .voice-play{animation:voice-ring 1.4s ease-out infinite}
.voice-bubble.playing .voice-time{color:var(--ink)}
.chat-message.voice .voice-time{font-variant-numeric:tabular-nums}
@keyframes voice-ring{0%{box-shadow:0 0 0 0 rgba(255,120,160,.6)}100%{box-shadow:0 0 0 12px rgba(255,120,160,0)}}
.rec-wave{display:flex;flex:1 1 auto;align-items:center;justify-content:flex-end;gap:2px;min-width:0;height:32px;overflow:hidden}
.rec-wave i{flex:1 1 0;min-width:2px;max-width:4px;height:calc(var(--h,8) * 1%);border-radius:4px;background:linear-gradient(180deg,#ffc2d3,#ff4d7d);transition:height .09s ease-out}
.voice-recorder .rec-limit{margin-right:0}
@media(prefers-reduced-motion:reduce){.voice-bubble.playing .voice-play{animation:none}.rec-wave i{transition:none}}

/* Help under "Bạn muốn gặp": how gender identity and who you want to meet work together. */
.gender-help{margin:10px 0 0;line-height:1.55}

/* ==========================================================================
   Rankings tab: members per zodiac sign and birth month, medals for the top three,
   bars relative to the largest group, the viewer's own sign and month highlighted.
   ========================================================================== */
.rank-total{display:inline-flex;align-items:baseline;gap:6px;padding:8px 14px;border:1px solid rgba(255,77,125,.3);border-radius:999px;background:rgba(255,77,125,.08);color:#ffd3df;font-size:14px;white-space:nowrap}
.rank-total b{color:#fff;font-size:18px;font-variant-numeric:tabular-nums}
.rankings{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;align-items:start}
.rank-panel{padding:18px 14px 12px;border:1px solid var(--line);border-radius:var(--r-xl);background:var(--surface),var(--surface-solid);box-shadow:inset 0 1px 0 rgba(255,255,255,.045),var(--lift)}
.rank-panel h2{margin:0 6px 12px;font-size:18px;font-weight:700}
.rank-list{display:grid;gap:3px;margin:0;padding:0;list-style:none}
.rank-row{display:grid;grid-template-columns:28px 38px minmax(0,1fr) auto;grid-template-areas:"no icon label count" "no icon bar count";align-items:center;gap:5px 10px;padding:8px 10px;border:1px solid transparent;border-radius:14px;animation:rank-in .45s ease both;animation-delay:calc(var(--i,0) * 28ms)}
.rank-row.mine{border-color:rgba(255,77,125,.5);background:rgba(255,77,125,.09)}
.rank-no,.rank-medal{grid-area:no;display:grid;place-items:center;width:26px;height:26px;border-radius:50%;color:var(--muted-2);font:600 12px 'DM Mono',monospace}
.rank-medal{color:#2a0c17;font-weight:700}
.rank-medal.m1{background:linear-gradient(135deg,#ffe29a,#f5b54f);box-shadow:0 0 14px rgba(247,199,122,.55)}
.rank-medal.m2{background:linear-gradient(135deg,#f4f4f8,#b8bccb)}
.rank-medal.m3{background:linear-gradient(135deg,#ffcfab,#d68656)}
.rank-icon{grid-area:icon;display:grid;place-items:center;width:38px;height:38px;border-radius:12px;background:linear-gradient(145deg,rgba(255,77,125,.24),rgba(255,180,142,.1));color:#ffd3df;font:600 19px/1 'Segoe UI Symbol','Noto Sans Symbols 2','Apple Symbols',var(--font-ui)}
#rankMonths+.rank-list .rank-icon{font:700 13px/1 var(--font-ui);letter-spacing:.02em}
.rank-row.first .rank-icon{background:linear-gradient(145deg,rgba(247,199,122,.35),rgba(255,120,160,.2));color:#fff1d6}
.rank-label{grid-area:label;display:flex;flex-wrap:wrap;align-items:baseline;gap:2px 8px;min-width:0}
.rank-label b{font-size:15px;font-weight:600}
.rank-label small{color:var(--muted-2);font-size:12px;white-space:nowrap}
.rank-you{padding:1px 8px;border-radius:999px;background:var(--brand);color:#2a0c17;font-size:11px;font-style:normal;font-weight:700}
.rank-bar{grid-area:bar;height:6px;overflow:hidden;border-radius:999px;background:rgba(255,236,242,.07)}
.rank-bar i{display:block;width:calc(var(--w,0) * 1%);height:100%;border-radius:inherit;background:linear-gradient(90deg,#ff6a92,#ffb48e);animation:rank-grow .9s cubic-bezier(.2,.8,.2,1) both;animation-delay:calc(var(--i,0) * 28ms + 120ms)}
.rank-row.first .rank-bar i{background:linear-gradient(90deg,#f7c77a,#ff8fb0)}
.rank-count{grid-area:count;display:grid;justify-items:end;line-height:1.15}
.rank-count b{font-size:17px;font-variant-numeric:tabular-nums}
.rank-count small{color:var(--muted-2);font-size:11.5px;font-variant-numeric:tabular-nums}
.rank-note{margin:14px 6px 0}
@keyframes rank-grow{from{width:0}}
@keyframes rank-in{from{opacity:0;transform:translateY(4px)}}
@media(prefers-reduced-motion:reduce){.rank-row,.rank-bar i{animation:none}}
@media(max-width:900px){.rankings{grid-template-columns:1fr}}
@media(max-width:560px){#screen-rankings .screen-heading{align-items:flex-start;gap:12px}.rank-panel{padding:14px 10px 8px}.rank-row{grid-template-columns:26px 34px minmax(0,1fr) auto;padding:7px 8px}.rank-icon{width:34px;height:34px;font-size:17px}}
/* Six tabs in the phone bar. */
.mobile-nav{grid-template-columns:repeat(6,1fr)}
.mobile-nav-item span{width:40px}
.mobile-nav-item small{font-size:10.5px}

/* ==========================================================================
   Gradient text keeps Vietnamese marks. background-clip:text only paints glyph parts inside the element's own box,
   and the logo's line-height:1 box cut off the grave accent of "ồ" (shown as "tơ hông") and the tail of "g".
   Extra padding widens the painted box; the matching negative margins give the space back so nothing moves.
   Heading <em>s are inline, where vertical padding never changes the layout, so they only need the padding.
   ========================================================================== */
.brand-name,.mobile-brand span{padding-block:.34em .2em;margin-block:-.34em -.2em}
.screen-heading h1 em,.landing-copy h1 em,.landing-promises h2 em,.modal h2 em{padding-block:.25em .12em}
/* Quê quán and nơi đang sống pickers sit side by side in the profile form (the school picker spans the row). */
.form-grid .place-picker{grid-column:auto}

/* Short notice pages: the refusal /admin shows to signed-in members, and "page not found" (the admin console itself has its own admin.css). */
.notice-page{display:grid;justify-items:center;gap:12px;max-width:440px;margin:18vh auto 0;padding:0 20px;text-align:center}
.notice-page h1{margin:0;font-size:24px}
.notice-page p{margin:0 0 8px;color:var(--muted)}
.notice-page .full-button{justify-content:center;width:auto;min-width:200px;margin:0;padding:12px 28px;text-decoration:none}


/* ==========================================================================
   Campus tag, redesigned from scratch: one pill in three parts, the school code, the level with its icon, a seal.
   Sinh viên: rose. Cựu sinh viên: jade. Thạc sĩ: silver periwinkle. Tiến sĩ: gold.
   Unverified: quiet glass, dashed hairline, an empty dotted seal. Verified: a filled seal, a soft glow and a light
   that sweeps across; ThS adds a turning metallic ring and silver lettering, TS a gold ring, gold lettering and stars.
   ========================================================================== */
@property --edu-spin{syntax:"<angle>";inherits:false;initial-value:0deg}
.edu-tag{--accent:#ff7a9c;--accent-2:#ffc2b0;--ink:#ffdde6;--school-ink:#35111e;--glow:rgba(255,122,156,.32);
  position:relative;isolation:isolate;display:inline-flex;align-items:center;gap:6px;min-width:0;max-width:100%;height:26px;padding:0 5px 0 3px;
  border:1px solid color-mix(in srgb,var(--accent) 42%,transparent);border-radius:999px;
  background:linear-gradient(180deg,color-mix(in srgb,var(--accent) 16%,transparent),color-mix(in srgb,var(--accent) 5%,transparent)),rgba(20,11,17,.6);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.07);color:var(--ink);font:600 12px/1 var(--font-ui);letter-spacing:.005em;white-space:nowrap;vertical-align:middle}
.edu-tag.lvl-alumni{--accent:#43cfa1;--accent-2:#b4f2da;--ink:#d3f7ea;--school-ink:#032419;--glow:rgba(67,207,161,.3)}
.edu-tag.lvl-master{--accent:#98adff;--accent-2:#eef1ff;--ink:#e3e9ff;--school-ink:#131939;--glow:rgba(152,173,255,.36)}
.edu-tag.lvl-phd{--accent:#f0b94f;--accent-2:#fff1c7;--ink:#ffebc6;--school-ink:#2c1902;--glow:rgba(240,185,79,.42)}
.edu-school{flex:0 0 auto;display:inline-grid;place-items:center;height:20px;min-width:30px;padding:0 7px;border-radius:999px;
  background:linear-gradient(135deg,var(--accent-2),var(--accent));box-shadow:inset 0 1px 0 rgba(255,255,255,.5),0 1px 2px rgba(0,0,0,.28);
  color:var(--school-ink);font:700 10.5px/1 var(--font-ui);letter-spacing:.05em;text-transform:uppercase}
.edu-school.is-custom{display:block;max-width:150px;overflow:hidden;line-height:20px;letter-spacing:0;text-overflow:ellipsis;text-transform:none}
.edu-level{display:inline-flex;align-items:center;gap:4px;min-width:0}
.edu-level svg{flex:0 0 auto;width:13px;height:13px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round;color:var(--accent)}
.edu-seal{flex:0 0 auto;display:inline-grid;place-items:center;width:15px;height:15px;border:1px dashed color-mix(in srgb,var(--ink) 38%,transparent);border-radius:50%;color:transparent}
.edu-seal svg{width:10px;height:10px;fill:none;stroke:currentColor;stroke-width:2.3;stroke-linecap:round;stroke-linejoin:round}
/* Unverified: the same shape, quieter. */
.edu-tag.is-unverified{border-style:dashed;border-color:color-mix(in srgb,var(--accent) 30%,rgba(255,255,255,.14));background:rgba(255,255,255,.035);color:color-mix(in srgb,var(--ink) 72%,#9c9098)}
.edu-tag.is-unverified .edu-school{background:color-mix(in srgb,var(--accent) 24%,rgba(255,255,255,.1));box-shadow:none;color:var(--ink)}
.edu-tag.is-unverified .edu-level svg{color:inherit;opacity:.75}
/* Verified: a filled seal, a glow, and a light sweeping across now and then. */
.edu-tag.is-verified{box-shadow:inset 0 1px 0 rgba(255,255,255,.08),0 0 0 1px color-mix(in srgb,var(--accent) 12%,transparent),0 6px 18px -7px var(--glow)}
.edu-tag.is-verified .edu-seal{border:0;background:linear-gradient(140deg,var(--accent-2),var(--accent));box-shadow:0 0 0 2px color-mix(in srgb,var(--accent) 22%,transparent),0 0 10px var(--glow);color:var(--school-ink)}
.edu-tag.is-verified::after{content:"";position:absolute;inset:0;z-index:1;border-radius:inherit;pointer-events:none;
  background:linear-gradient(110deg,transparent 38%,rgba(255,255,255,.26) 50%,transparent 62%) no-repeat;background-size:250% 100%;background-position:150% 0;animation:edu-sweep 7s ease-in-out 1.5s infinite}
.edu-tag.lvl-alumni.is-verified::after{animation-duration:6s}
.edu-tag.is-verified:hover::after{animation:edu-sweep-once .9s ease-out}
/* ThS and TS: a metallic ring turns around the tag and the level is lettered in metal. */
.edu-tag.lvl-master.is-verified,.edu-tag.lvl-phd.is-verified{border-color:transparent}
.edu-tag.lvl-master.is-verified::before,.edu-tag.lvl-phd.is-verified::before{content:"";position:absolute;inset:-1px;z-index:-1;padding:1px;border-radius:inherit;pointer-events:none;
  background:conic-gradient(from var(--edu-spin),var(--accent) 0deg,var(--accent-2) 55deg,var(--accent) 110deg,color-mix(in srgb,var(--accent) 30%,transparent) 180deg,var(--accent) 250deg,var(--accent-2) 305deg,var(--accent) 360deg);
  -webkit-mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);-webkit-mask-composite:xor;mask-composite:exclude;animation:edu-spin 6s linear infinite}
.edu-tag.lvl-master.is-verified{background:linear-gradient(180deg,rgba(152,173,255,.22),rgba(152,173,255,.07)),rgba(15,13,30,.66);animation:edu-breathe 4s ease-in-out infinite}
.edu-tag.lvl-master.is-verified::after{animation-duration:4.5s}
.edu-tag.lvl-master.is-verified .edu-label,.edu-tag.lvl-phd.is-verified .edu-label{padding-block:.32em .22em;margin-block:-.32em -.22em;-webkit-background-clip:text;background-clip:text;color:transparent}
.edu-tag.lvl-master.is-verified .edu-label{background-image:linear-gradient(90deg,#ffffff,#c9d5ff 45%,#ffffff 72%,#b8c7ff)}
.edu-tag.lvl-phd.is-verified{background:linear-gradient(180deg,rgba(240,185,79,.26),rgba(240,185,79,.08)),rgba(28,17,5,.66);animation:edu-glow-gold 3.2s ease-in-out infinite}
.edu-tag.lvl-phd.is-verified::before{animation-duration:3.6s}
.edu-tag.lvl-phd.is-verified::after{background-image:linear-gradient(110deg,transparent 36%,rgba(255,243,208,.5) 50%,transparent 64%);animation-duration:3.4s}
.edu-tag.lvl-phd.is-verified .edu-label{background-image:linear-gradient(90deg,#fff6dc,#ffd27a 35%,#fff6dc 55%,#f0b94f 80%,#fff6dc);background-size:220% 100%;animation:edu-gold-text 5s linear infinite}
.edu-sparks{display:none}
.edu-tag.lvl-phd.is-verified .edu-sparks{position:absolute;inset:-7px;z-index:2;display:block;pointer-events:none}
.edu-sparks i{position:absolute;width:7px;height:7px;background:radial-gradient(circle,#fff 0 22%,#ffe29a 46%,transparent 72%);clip-path:polygon(50% 0,61% 39%,100% 50%,61% 61%,50% 100%,39% 61%,0 50%,39% 39%);opacity:0;animation:edu-twinkle 2.8s ease-in-out infinite}
.edu-sparks i:nth-child(1){top:-1px;left:16%}
.edu-sparks i:nth-child(2){top:4%;right:5%;animation-delay:.6s}
.edu-sparks i:nth-child(3){bottom:-2px;left:47%;width:6px;height:6px;animation-delay:1.1s}
.edu-sparks i:nth-child(4){bottom:8%;right:20%;width:5px;height:5px;animation-delay:1.7s}
.edu-sparks i:nth-child(5){top:38%;left:-2px;width:5px;height:5px;animation-delay:2.2s}
/* Turning verified (just now, or the first time a verified tag shows up this session): a pop and a ring from the seal. */
.edu-tag.is-verified.is-new{animation:edu-pop .7s cubic-bezier(.34,1.56,.64,1)}
.edu-tag.is-verified.is-intro{animation:edu-pop .6s cubic-bezier(.34,1.56,.64,1) .1s both}
.edu-tag.is-new .edu-seal,.edu-tag.is-intro .edu-seal{animation:edu-seal-ring 1.1s ease-out .35s}
.edu-burst{position:absolute;top:50%;left:50%;z-index:3;width:0;height:0;pointer-events:none}
.edu-burst i{--r:0deg;position:absolute;width:5px;height:5px;margin:-2.5px;border-radius:50%;background:var(--accent);opacity:0;animation:edu-burst .9s cubic-bezier(.2,.7,.3,1) .3s forwards}
.edu-burst i:nth-child(2){--r:45deg;background:var(--accent-2)}
.edu-burst i:nth-child(3){--r:90deg}
.edu-burst i:nth-child(4){--r:135deg;background:var(--accent-2)}
.edu-burst i:nth-child(5){--r:180deg}
.edu-burst i:nth-child(6){--r:225deg;background:var(--accent-2)}
.edu-burst i:nth-child(7){--r:270deg}
.edu-burst i:nth-child(8){--r:315deg;background:var(--accent-2)}
/* Sizes: mini for lists and headers (short labels), large while a tag turns verified. */
.edu-tag.is-mini{gap:4px;height:20px;padding:0 3px 0 2px;font-size:10.5px}
.edu-tag.is-mini .edu-school{height:16px;min-width:22px;padding:0 5px;font-size:9px}
.edu-tag.is-mini .edu-school.is-custom{max-width:110px;line-height:16px}
.edu-tag.is-mini .edu-level svg{width:11px;height:11px}
.edu-tag.is-mini .edu-seal{width:12px;height:12px}
.edu-tag.is-mini .edu-seal svg{width:8px;height:8px}
.edu-tag.is-mini .edu-sparks{inset:-5px}
.edu-tag.is-mini .edu-sparks i{width:5px;height:5px}
.edu-tag.is-large{gap:10px;height:44px;padding:0 10px 0 5px;font-size:18px}
.edu-tag.is-large .edu-school{height:34px;min-width:54px;padding:0 13px;font-size:15px}
.edu-tag.is-large .edu-level{gap:7px}
.edu-tag.is-large .edu-level svg{width:20px;height:20px}
.edu-tag.is-large .edu-seal{width:24px;height:24px}
.edu-tag.is-large .edu-seal svg{width:15px;height:15px}
.edu-tag.is-large .edu-sparks{inset:-12px}
.edu-tag.is-large .edu-sparks i{width:11px;height:11px}
.edu-tag.is-large .edu-burst i{width:8px;height:8px;margin:-4px}
.chat-peer .edu-tag,.thread-name .edu-tag{min-width:0;max-width:100%}
@keyframes edu-spin{to{--edu-spin:360deg}}
@keyframes edu-sweep{0%,72%{background-position:150% 0}92%,100%{background-position:-50% 0}}
@keyframes edu-sweep-once{from{background-position:150% 0}to{background-position:-50% 0}}
@keyframes edu-breathe{0%,100%{box-shadow:inset 0 1px 0 rgba(255,255,255,.08),0 6px 18px -8px var(--glow)}50%{box-shadow:inset 0 1px 0 rgba(255,255,255,.1),0 8px 22px -6px var(--glow),0 0 14px color-mix(in srgb,var(--accent) 26%,transparent)}}
@keyframes edu-glow-gold{0%,100%{box-shadow:inset 0 1px 0 rgba(255,255,255,.1),0 6px 18px -6px var(--glow)}50%{box-shadow:inset 0 1px 0 rgba(255,255,255,.12),0 10px 26px -6px var(--glow),0 0 20px rgba(255,208,118,.42)}}
@keyframes edu-gold-text{to{background-position:-220% 0}}
@keyframes edu-twinkle{0%,100%{opacity:0;transform:scale(.4) rotate(0deg)}40%{opacity:1;transform:scale(1.15) rotate(25deg)}62%{opacity:.85;transform:scale(1) rotate(35deg)}}
@keyframes edu-pop{0%{transform:scale(.88)}50%{transform:scale(1.08)}100%{transform:none}}
@keyframes edu-seal-ring{0%{box-shadow:0 0 0 0 color-mix(in srgb,var(--accent) 70%,transparent)}100%{box-shadow:0 0 0 10px transparent}}
@keyframes edu-burst{0%{opacity:1;transform:rotate(var(--r)) translateX(0) scale(1)}100%{opacity:0;transform:rotate(var(--r)) translateX(26px) scale(.35)}}
@media(prefers-reduced-motion:reduce){.edu-tag.lvl-phd.is-verified .edu-sparks i{opacity:.75}}

/* Sign-in links (Google): sign-out is a button now (it calls the API first), and the landing page offers sign-up and sign-in. */
button.signout{padding:0;border:0;background:none;font:inherit;font-size:13px;text-align:left;cursor:pointer}
.landing-actions .full-button+.full-button{margin-top:12px}

/* The top of every conversation says who else can read it. */
.chat-privacy-note{max-width:440px;margin:2px auto 14px;color:var(--muted-2);font-size:12px;line-height:1.5;text-align:center}

/* Rankings: the zodiac signs whose members received the most likes, first place in gold. */
.rank-liked{margin-bottom:18px;padding-bottom:14px}
.rank-podium{display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:12px;margin:0;padding:0;list-style:none}
.podium-item{position:relative;display:grid;justify-items:center;gap:4px;padding:18px 12px 14px;border:1px solid var(--line);border-radius:18px;background:linear-gradient(160deg,rgba(255,236,242,.05),rgba(255,236,242,.015));text-align:center;animation:rank-in .45s ease both;animation-delay:calc(var(--i,0) * 70ms)}
.podium-item.p1{border-color:rgba(247,199,122,.5);background:radial-gradient(120% 90% at 50% 0%,rgba(247,199,122,.2),transparent 65%),linear-gradient(160deg,rgba(255,236,242,.06),rgba(255,236,242,.02));box-shadow:0 14px 34px rgba(247,160,90,.14)}
.podium-item.p2{border-color:rgba(214,218,232,.32)}
.podium-item.p3{border-color:rgba(214,134,86,.36)}
.podium-item.mine{outline:2px solid rgba(255,77,125,.55);outline-offset:2px}
.podium-item .rank-medal{position:absolute;grid-area:auto;top:10px;left:10px;width:28px;height:28px;font-size:13px}
.podium-symbol{display:grid;place-items:center;width:58px;height:58px;margin-bottom:4px;border-radius:18px;background:linear-gradient(145deg,rgba(255,77,125,.26),rgba(255,180,142,.12));color:#ffe3ea;font:600 30px/1 'Segoe UI Symbol','Noto Sans Symbols 2','Apple Symbols',var(--font-ui)}
.podium-item.p1 .podium-symbol{background:linear-gradient(145deg,rgba(247,199,122,.42),rgba(255,120,160,.22));color:#fff4dc}
.podium-name{display:flex;flex-wrap:wrap;justify-content:center;align-items:baseline;gap:2px 8px}
.podium-name b{font-size:16px;font-weight:700}
.podium-item small{color:var(--muted-2);font-size:12px}
.podium-count{margin-top:4px;color:var(--muted);font-size:13px}
.podium-count b{color:#fff;font-size:20px;font-variant-numeric:tabular-nums}
@media(prefers-reduced-motion:reduce){.podium-item{animation:none}}
@media(max-width:560px){.rank-podium{grid-template-columns:1fr;gap:8px}.podium-item{grid-template-columns:minmax(0,auto) minmax(0,1fr) auto;grid-template-areas:"sym name count" "sym range count";justify-items:start;align-items:center;gap:2px 12px;padding:12px 12px 12px 46px;text-align:left}.podium-item .rank-medal{top:50%;transform:translateY(-50%)}.podium-symbol{grid-area:sym;width:44px;height:44px;margin:0;font-size:23px}.podium-name{grid-area:name;justify-content:flex-start}.podium-item small{grid-area:range}.podium-count{grid-area:count;margin:0;text-align:right}}

/* Three conversations at a time: the discovery hint, the like buttons and the inbox count say when the limit is reached. */
.card-hint.full{color:#f7c77a}
.like-action:disabled{opacity:.45;cursor:not-allowed;filter:grayscale(.4);box-shadow:none}
#chatStatus{font-family:var(--font-ui);font-weight:600}
.inbox-status.full{color:#f7c77a}
.inbox-status.full i{background:#f7c77a;box-shadow:0 0 0 3px rgba(247,199,122,.14)}
.chat-cap-help{margin-top:8px}
