@charset "UTF-8";
:root{--ink:#17283e;--muted:#77818f;--line:#e5e9ee;--surface:#f4f6f8;--blue:#315bea;--blue-soft:#eef2ff;--white:#fff;--red:#c34b57;font-family:Inter,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;color:var(--ink);background:var(--surface);font-synthesis:none;color-scheme:light}
*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button,a{-webkit-tap-highlight-color:transparent}button{cursor:pointer;color:inherit}button:disabled{opacity:.45;cursor:wait}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #8ea7ff;outline-offset:3px}h1,h2,h3,p{margin:0}a{color:var(--blue);text-decoration:none}svg{width:21px;height:21px;flex-shrink:0}button svg{pointer-events:none}input,select,textarea{width:100%;padding:13px 14px;border:1px solid #dce1e8;border-radius:9px;background:#fff;color:var(--ink);font-size:14px;min-height:46px}textarea{resize:vertical;line-height:1.6}input[type=checkbox]{width:17px;height:17px;min-height:17px;accent-color:var(--blue);flex-shrink:0}label{display:block;font-size:12px;font-weight:500;margin-bottom:20px}label>input,label>select,label>textarea,label>.password-wrap{margin-top:8px}fieldset{min-width:0}small{font-size:11px}.button{display:inline-flex;align-items:center;justify-content:center;gap:9px;border:0;padding:12px 17px;min-height:45px;border-radius:9px;background:transparent;font-size:13px;font-weight:500;text-align:center}.primary{background:var(--blue);color:#fff}.primary:hover{background:#244bd1}.secondary{background:#fff;border:1px solid var(--line)}.secondary:hover{background:#f8f9fb}.full{width:100%}.text-button{font-size:12px;color:var(--blue);padding:8px 0;background:none;min-height:38px}.icon-button{width:40px;height:40px;min-height:40px;padding:9px;border:1px solid var(--line);border-radius:10px;background:#fff;flex-shrink:0}.danger{color:var(--red)}.danger-button{background:#b33645;color:#fff}.muted{color:var(--muted);font-size:14px;line-height:1.65}.error{color:#b33645;font-size:12px;line-height:1.6;margin-bottom:14px}.error:empty{display:none}.brand{font-size:37px;font-weight:750;letter-spacing:-2px;display:inline-flex;align-items:flex-start;color:var(--ink);line-height:1}.brand span{font-size:9px;letter-spacing:0;margin:5px 0 0 4px}.eyebrow{font-size:9px;font-weight:600;letter-spacing:1.5px;color:var(--muted)}.loading{text-align:center;padding:30vh 20px}.loading strong{font-size:40px;letter-spacing:-2px}.loading strong span{font-size:12px;vertical-align:top}.loading p{margin-top:16px;color:var(--muted);font-size:13px}
/* Entry and onboarding */
.auth-layout{min-height:100dvh;display:grid;grid-template-columns:1fr 1fr;background:#fff}.auth-story{position:relative;background:#14263c;color:#fff;padding:45px 55px;display:flex;flex-direction:column;overflow:hidden;min-height:760px}.auth-story .brand{color:white}.story-title{margin-top:74px;position:relative;z-index:1}.story-title .eyebrow{color:#9cacc0;font-size:10px}.story-title h1{font-size:clamp(38px,4.8vw,66px);font-weight:500;letter-spacing:-2.5px;line-height:1.04;margin:20px 0}.story-title p{font-size:14px;line-height:1.7;color:#b7c1cf}.story-portraits{position:relative;height:315px;width:100%;margin:35px 0 15px;flex:1;min-height:240px}.story-photo{position:absolute;background-image:url("assets/women.36d310ac3ab7.jpg");background-size:300% 400%;border-radius:16px;width:58%;height:95%;max-height:310px;max-width:275px;box-shadow:0 14px 35px #07132240}.story-photo.one{left:0;top:0;background-position:0 0;transform:rotate(-6deg)}.story-photo.two{right:0;top:26px;background-image:url("assets/mixed.d4e97dfc408e.jpg");background-position:50% 0;transform:rotate(6deg)}.story-footer{display:flex;justify-content:space-between;gap:10px;font-size:10px;color:#a4b2c5;z-index:1;margin-top:20px}.auth-form-side{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:55px 11%;min-width:0}.auth-content{width:100%;max-width:410px}.auth-step{font-size:9px;letter-spacing:1.8px;color:#8b94a1;margin-bottom:15px}.auth-content h2{font-size:33px;font-weight:600;letter-spacing:-1.1px;line-height:1.2;margin-bottom:12px}.auth-content>.muted{margin-bottom:30px;font-size:13px}.auth-content form{margin-top:27px}.auth-form-side footer{font-size:10px;color:#969faa;display:flex;gap:8px;margin-top:50px;text-align:center}.auth-switch{text-align:center;font-size:12px;color:var(--muted);margin-top:17px}.auth-switch .button{margin-left:6px}.dev-link{display:block;text-align:center;font-size:11px;color:#7888a6;margin-top:25px}.password-wrap{position:relative}.password-wrap input{padding-right:86px}.password-wrap button{position:absolute;right:13px;top:3px;font-size:10px;color:var(--muted)}.checkbox{display:flex;align-items:flex-start;gap:10px;font-size:11px;line-height:1.65;font-weight:400}.checkbox input{margin:2px 0 0}.mobile-brand{display:none}.auth-symbol{width:55px;height:55px;border-radius:15px;background:var(--blue-soft);color:var(--blue);display:grid;place-items:center;margin-bottom:25px}.auth-symbol svg{width:28px;height:28px}.local-callout{background:#f4f6fb;padding:20px;border:1px solid var(--line);border-radius:12px;margin:25px 0 18px}.local-callout strong{font-size:13px}.local-callout p{font-size:12px;line-height:1.65;color:var(--muted);margin:9px 0 17px}.onboarding-progress{display:flex;gap:20px;margin-bottom:30px;font-size:10px;color:#a1a8b4}.onboarding-progress span{padding-bottom:10px;border-bottom:2px solid var(--line);flex:1}.onboarding-progress .active{color:var(--blue);border-color:var(--blue)}.form-pair{display:grid;grid-template-columns:1fr 1fr;gap:15px}.city-field{position:relative;min-width:0}.city-results{position:absolute;top:calc(100% + 4px);left:0;right:0;z-index:8;background:#fff;border:1px solid var(--line);border-radius:10px;max-height:230px;overflow:auto;box-shadow:0 12px 26px #17283e18}.city-results:empty{display:none}.city-results[hidden]{display:none}.city-results button{width:100%;text-align:left;padding:11px 12px;border:0;border-bottom:1px solid #f0f2f5;background:white;font-size:12px}.city-results button:hover{background:var(--blue-soft)}.city-results small{display:block;font-size:9px;color:var(--muted);margin-top:4px}.city-results p{font-size:11px;padding:12px;color:var(--muted)}.interest-picker{padding:0;border:0;margin:0 0 20px;display:flex;flex-wrap:wrap;gap:7px}.interest-picker legend{font-size:12px;margin-bottom:12px}.interest-picker legend span{color:var(--muted);font-size:10px;margin-left:7px}.interest-picker label{margin:0;position:relative;cursor:pointer}.interest-picker input{position:absolute;opacity:0;width:1px;height:1px}.interest-picker span{display:block;font-size:11px;padding:8px 11px;border:1px solid var(--line);border-radius:7px;font-weight:400}.interest-picker input:checked+span{background:var(--blue-soft);border-color:#aebff7;color:var(--blue)}.interest-picker input:focus-visible+span{outline:3px solid #8ea7ff}
/* Desktop shell */
.app-shell{display:grid;grid-template-columns:232px 1fr;min-height:100dvh;max-width:1660px;margin:auto}.sidebar{background:#fff;border-right:1px solid var(--line);padding:35px 23px 20px;position:sticky;top:0;height:100dvh;display:flex;flex-direction:column}.sidebar .brand{margin-left:12px;font-size:38px}.sidebar-caption{font-size:10px;color:#8b94a2;margin:12px 0 40px 12px}.sidebar nav{display:flex;flex-direction:column;gap:7px}.nav-item{position:relative;display:flex;align-items:center;justify-content:flex-start;gap:13px;border:0;background:none;border-radius:9px;padding:14px 13px;font-size:12px;text-align:left;width:100%;min-height:47px}.nav-item svg{width:19px;height:19px;color:#8090a3}.nav-item.active{background:var(--blue-soft);color:var(--blue);font-weight:600}.nav-item.active svg{color:var(--blue)}.nav-item .dot{width:6px;height:6px;background:var(--blue);border-radius:50%;margin-left:auto}.sidebar-bottom{margin-top:auto}.sidebar-bottom>.button{color:#7d8896;font-size:11px}.sidebar-self{display:flex;align-items:center;gap:9px;border-top:1px solid var(--line);padding-top:22px;margin-top:23px}.sidebar-self strong{font-size:12px}.sidebar-self small{display:block;font-size:10px;color:var(--muted);margin-top:5px}.sidebar-self .icon-button{border:0;width:29px;height:35px;min-height:35px;padding:5px;margin-left:auto}.sidebar-self .avatar{width:38px;height:38px}.workspace{min-width:0}.topbar{height:88px;padding:22px 40px;background:#fff;border-bottom:1px solid var(--line);display:flex;align-items:center;gap:17px}.topbar p{font-size:12px;color:#677588;margin-top:6px}.topbar .local-badge{margin-left:auto}.local-badge{font-size:9px;padding:7px 10px;border:1px solid #dce5ed;border-radius:6px;color:#8794a3}.topbar>.icon-button{width:35px;height:35px;min-height:35px}.mobile-nav{display:none}.section-heading{display:flex;align-items:center;justify-content:space-between;gap:13px;margin-bottom:25px}.section-heading h1,.conversation-list h1{font-size:29px;line-height:1.15;font-weight:600;letter-spacing:-1px}.section-heading p{font-size:12px;color:var(--muted);line-height:1.6;margin-top:9px}.section-heading>.icon-button{display:none}.discover-layout{display:grid;grid-template-columns:minmax(0,570px) minmax(220px,290px);gap:35px;padding:36px 40px 40px;justify-content:center}.feed{min-width:0}.profile-card{background:white;border:1px solid var(--line);border-radius:16px;overflow:hidden}.profile-cover{height:360px;position:relative;background:#e4e7e9;overflow:hidden}.person-photo{display:block;width:100%;height:100%;object-fit:cover;background:#e8e9ed}.sprite{position:relative;overflow:hidden}.sprite>span{position:absolute;left:50%;top:50%;height:100%;min-width:100%;aspect-ratio:1;transform:translate(-50%,-50%) scale(1.014);background-size:300% 400%;background-position:var(--x) var(--y)}.sheet-original>span{background-image:url("assets/portraits.b950089ff20c.jpg");background-size:400% auto}.sheet-women>span{background-image:url("assets/women.36d310ac3ab7.jpg")}.sheet-mixed>span{background-image:url("assets/mixed.d4e97dfc408e.jpg")}.initials{display:flex;align-items:center;justify-content:center;background:#e9edf7;color:#6c81aa;font-size:70px;font-weight:500}.avatar{width:47px;height:47px;border-radius:50%;flex-shrink:0;font-size:20px}.photo-counter{position:absolute;bottom:15px;left:18px;color:#fff;font-size:10px;background:#14263c75;border-radius:6px;padding:5px 8px}.profile-cover>.icon-button{position:absolute;right:17px;top:17px;background:#fffdf6;border:0;border-radius:10px}.profile-cover>.icon-button[aria-pressed=true] svg{fill:var(--ink)}.demo-tag{position:absolute;left:17px;top:17px;font-size:9px;padding:6px 8px;border-radius:5px;background:#fffefaed;color:#56616c}.photo-controls{position:absolute;top:43%;left:12px;right:12px;display:flex;justify-content:space-between;pointer-events:none}.photo-controls button{pointer-events:auto;background:#ffffffe0;border:0}.profile-body{padding:25px 27px 0}.profile-heading{display:flex;justify-content:space-between;align-items:center;gap:10px}.profile-heading h2{font-size:30px;font-weight:650;letter-spacing:-.7px}.profile-heading h2 span{font-weight:400;color:#6c7582}.profile-location{font-size:11px;color:var(--muted);display:flex;align-items:center;gap:4px}.profile-location svg{width:13px;height:13px}.occupation{font-size:12px;color:#7b8593;margin-top:5px}.goal-tag{font-size:11px;display:flex;align-items:center;gap:7px;margin-top:19px;color:#5d719c}.goal-tag svg{width:14px;height:14px}.profile-bio{font-size:14px;line-height:1.65;margin:13px 0 17px;white-space:pre-wrap;overflow-wrap:anywhere}.pills{display:flex;gap:7px;flex-wrap:wrap}.pills span{font-size:10px;padding:7px 10px;background:#f2f4f7;border-radius:6px;color:#617082}.read-profile{border-top:1px solid var(--line);display:flex;justify-content:space-between;width:100%;border-radius:0;padding:17px 0;font-size:11px;color:#597498;margin-top:22px}.read-profile svg{width:14px;height:14px}.decision-bar{display:grid;grid-template-columns:1fr 1.2fr;gap:12px;padding-top:16px}.pass-button,.like-button{border-radius:10px;min-height:51px;font-size:13px}.pass-button{background:white;border:1px solid var(--line);color:#6a7687}.like-button{background:var(--ink);color:white}.like-button:hover{background:#223c5b}.like-button svg{width:18px;height:18px}.pass-button svg{width:17px;height:17px}.feed-footer{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-top:6px;font-size:10px;color:#8c95a1}.feed-footer .button{font-size:10px;color:#8793a2}.feed-footer svg{width:13px;height:13px}.context-panel{padding-top:75px;min-width:0}.context-card{background:#fff;border:1px solid var(--line);border-radius:13px;padding:24px}.context-card h3{font-size:18px;font-weight:500;line-height:1.45;margin:13px 0}.context-card p{font-size:12px;line-height:1.6;color:var(--muted);margin-top:8px}.context-card .button{margin-top:20px;font-size:11px}.context-note{padding:27px 10px 10px}.context-note>svg{color:#879aad;margin-bottom:12px}.context-note h3{font-size:14px;font-weight:500;line-height:1.4}.context-note p{font-size:12px;line-height:1.8;color:#88919e;margin-top:10px}.context-foot{font-size:10px;line-height:1.8;color:#9aa2af;padding:25px 10px}.context-foot a{display:inline-block;margin-top:16px;color:#6c80a1}.content-loading{padding:100px 30px;text-align:center;color:var(--muted);font-size:13px}.empty-state{padding:80px 25px;text-align:center}.empty-state>svg{width:36px;height:36px;color:#a1aec0;margin-bottom:22px}.empty-state h2{font-size:23px;font-weight:500;margin-bottom:12px;letter-spacing:-.5px}.empty-state p{font-size:13px;line-height:1.75;color:var(--muted);max-width:370px;margin:0 auto 23px}.empty-state .button{margin:5px}.wide-section{padding:40px;max-width:1200px}.segmented{display:flex;gap:25px;border-bottom:1px solid var(--line);margin-bottom:28px}.segmented .button{border-radius:0;color:#8590a0;padding:13px 0;font-size:12px}.segmented .selected{color:var(--ink);box-shadow:0 2px 0 var(--ink)}.subheading{font-size:16px;font-weight:500;margin-bottom:22px}.people-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.small-card{padding:0;text-align:left;border:1px solid var(--line);border-radius:13px;overflow:hidden;background:white;min-width:0}.small-cover{height:240px;position:relative}.small-cover+.small-card{background:none}.small-card>div:last-child:not(.small-cover){padding:17px}.small-card h3{font-size:17px;font-weight:500}.small-card p{font-size:11px;color:var(--muted);margin-top:6px}.small-card>div>span:not(.demo-tag){font-size:10px;color:#8793a3;display:block;margin-top:10px}
/* Messaging */
.messages-layout{display:grid;grid-template-columns:310px 1fr;height:calc(100dvh - 88px);background:#fff}.conversation-list{border-right:1px solid var(--line);padding:30px 22px;overflow:auto}.conversation-list h1{font-size:25px}.conversation-list>.muted{font-size:11px;margin-top:8px}.search-input{margin:23px 0 18px;background:#f7f8fa;border:0;font-size:12px;min-height:42px}.conversation{display:flex;align-items:center;gap:11px;padding:17px 7px;width:100%;border:0;border-radius:9px;text-align:left;background:none}.conversation.selected{background:#f0f3f9}.conversation>span{flex:1;min-width:0}.conversation strong{font-size:13px;font-weight:500}.conversation small{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:10px;color:var(--muted);margin-top:7px}.unread-dot{width:6px;height:6px;background:var(--blue);border-radius:50%;flex-shrink:0}.chat-pane{min-width:0;display:flex;flex-direction:column;height:100%;overflow:hidden}.chat-pane>.empty-state{margin:auto}.chat-header{display:flex;align-items:center;gap:13px;padding:22px 27px;border-bottom:1px solid var(--line);flex-shrink:0}.chat-header>.icon-button:first-child{display:none}.chat-name{flex:1;min-width:0;text-align:left;background:none;border:0;padding:0}.chat-name strong{font-size:14px;font-weight:500}.chat-name small{display:block;margin-top:6px;color:var(--muted);font-size:10px}.chat-header>.avatar{width:41px;height:41px}.chat-log{flex:1;min-height:0;overflow:auto;padding:27px;display:flex;flex-direction:column;gap:12px;background:#fbfcfe}.chat-start{display:flex;justify-content:center;align-items:center;gap:7px;color:#9ba5b2;font-size:10px;margin:12px 0 30px}.chat-start svg{width:13px;height:13px}.bubble{align-self:flex-start;background:#fff;border:1px solid var(--line);padding:12px 15px;border-radius:13px 13px 13px 3px;max-width:80%;min-width:90px;flex-shrink:0}.bubble.mine{align-self:flex-end;background:#eaf0fd;border-color:#e1e9fc;border-radius:13px 13px 3px 13px}.bubble p{font-size:13px;line-height:1.7;white-space:pre-wrap;overflow-wrap:anywhere}.bubble small{display:block;text-align:right;font-size:9px;color:#8995a7;margin-top:6px}.chat-composer{padding:14px 25px 18px;border-top:1px solid var(--line);background:white;flex-shrink:0}.composer-tools{display:flex;gap:23px}.composer-tools .button{font-size:10px;color:#7c8fa9;min-height:28px}.chat-composer form{display:flex;align-items:center;gap:11px;margin-top:6px}.chat-composer textarea{resize:none;max-height:100px;font-size:14px}.send-button{width:44px;height:44px;flex-shrink:0;border:0;background:var(--ink);color:white;display:grid;place-items:center;border-radius:10px}.send-button svg{width:18px;height:18px}.chat-composer>small{display:block;text-align:center;font-size:9px;color:#a4abb5;margin-top:10px}.list-empty{color:var(--muted);font-size:12px;line-height:1.6;padding:25px 7px}
/* Personal profile and overlays */
.profile-layout{display:grid;grid-template-columns:minmax(0,650px) 260px;gap:35px;padding:37px 40px}.profile-layout .context-panel{padding-top:77px}.self-card{background:#fff;border:1px solid var(--line);border-radius:14px;padding:27px}.self-heading{display:flex;gap:20px;align-items:center;margin-bottom:35px}.self-avatar{width:92px;height:92px;border-radius:18px;font-size:36px}.self-heading h2{font-size:26px;letter-spacing:-.6px;font-weight:500}.self-heading p{font-size:12px;color:var(--muted);margin:7px 0 10px}.self-heading span{display:flex;align-items:center;gap:5px;font-size:10px;color:#5e836f}.self-heading span svg{width:13px;height:13px}.self-card h3{font-size:14px;font-weight:500;margin-bottom:14px}.self-card h3 small{float:right;color:#97a1ad;font-weight:400}.photo-manager{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.photo-manager>div{position:relative;aspect-ratio:4/5;overflow:hidden;border-radius:10px}.photo-manager img{width:100%;height:100%;object-fit:cover}.photo-manager .icon-button{position:absolute;right:5px;top:5px;width:28px;height:28px;min-height:28px;padding:6px}.photo-upload{display:flex;flex-direction:column;aspect-ratio:4/5;width:100%;border:1px dashed #bdc8d8;background:#f8fafe;color:#8093af;border-radius:10px}.photo-upload span{font-size:10px}.form-hint{font-size:10px;line-height:1.7;color:#939daa;margin:12px 0 20px}.self-about{border-top:1px solid var(--line);padding-top:26px;margin-top:23px}.self-about p{font-size:13px;line-height:1.8;white-space:pre-wrap;margin-bottom:18px;overflow-wrap:anywhere}.self-about .pills{margin-bottom:25px}.modal-backdrop{position:fixed;inset:0;background:#101d2d6b;z-index:1000;display:flex;align-items:center;justify-content:center;padding:25px;backdrop-filter:blur(3px)}.modal-sheet{background:white;border-radius:17px;width:100%;max-width:500px;max-height:92dvh;overflow:auto;box-shadow:0 30px 100px #08142633;overscroll-behavior:contain}.modal-sheet>header{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:20px 24px;border-bottom:1px solid var(--line);position:sticky;top:0;background:#fff;z-index:3}.modal-sheet>header h2{font-size:20px;font-weight:500;letter-spacing:-.5px}.modal-sheet>header .icon-button{border:0}.modal-content{padding:24px}.modal-content>p{font-size:13px;line-height:1.75;color:var(--muted);margin-bottom:20px}.modal-content>.button.full{margin-top:10px}.detail-photo{height:350px;overflow:hidden;border-radius:11px;margin-bottom:17px}.detail-meta{font-size:12px!important}.test-notice{background:#f6f4ec;color:#8a816b!important;font-size:10px!important;padding:11px 13px;border-radius:8px}.detail-bio{color:var(--ink)!important;margin-top:18px;white-space:pre-wrap;overflow-wrap:anywhere}.answer-card{background:#f5f7fa;border-radius:10px;padding:18px;margin:22px 0}.answer-card small{font-size:10px;color:#8a96a7}.answer-card p{font-size:14px;line-height:1.75;margin-top:8px;white-space:pre-wrap}.modal-actions{display:flex;gap:10px}.modal-actions .button{flex:1}.match-result{text-align:center;padding:10px 0}.match-avatar{width:100px;height:100px;border-radius:50%;margin:auto auto 25px}.match-result h3{font-size:23px;font-weight:500;line-height:1.3;margin-bottom:12px}.match-result p{font-size:13px;line-height:1.7;color:var(--muted);margin-bottom:27px}.settings-email{font-size:13px}.switch-row{display:flex;align-items:center;gap:20px;border-bottom:1px solid var(--line);padding:18px 0;margin:0}.switch-row>span{flex:1}.switch-row strong{font-size:13px;font-weight:500}.switch-row small{display:block;font-size:11px;color:var(--muted);line-height:1.6;margin-top:6px}.switch-row input{margin:0}.switch-row+.primary{margin-top:24px}.settings-links{margin-top:25px;border-top:1px solid var(--line);padding-top:14px}.settings-link{justify-content:flex-start;width:100%;font-size:12px;min-height:49px;padding-left:0;color:#677c97}.settings-link svg{width:17px;height:17px}.blocked-row{display:flex;align-items:center;gap:12px;margin:15px 0}.blocked-row strong{flex:1;font-size:13px;font-weight:500}.suggestion{display:block;width:100%;text-align:left;border:1px solid var(--line);border-radius:10px;padding:15px;margin-top:10px;font-size:13px;line-height:1.65}.help-copy h3{font-size:15px;font-weight:500;margin:15px 0 10px}.help-copy p{font-size:12px;line-height:1.8;color:var(--muted);margin-bottom:15px}.help-copy a{font-size:12px}#toast{position:fixed;bottom:25px;left:50%;transform:translate(-50%,20px);max-width:min(500px,calc(100vw - 32px));padding:14px 20px;background:#14263c;color:white;border-radius:10px;font-size:12px;line-height:1.5;box-shadow:0 6px 25px #10233d25;z-index:100;opacity:0;pointer-events:none;transition:opacity .15s,transform .15s}#toast.visible{opacity:1;transform:translate(-50%,0)}.mail-body{background:#f4f6f8}.mail-page{max-width:800px;margin:50px auto;padding:25px}.mail-page h1{font-size:28px;margin:30px 0 15px}.mail-page>p{font-size:13px;line-height:1.7;color:var(--muted);margin-bottom:20px}.mail-card{background:#fff;padding:25px;border:1px solid var(--line);border-radius:13px;margin-top:23px}.mail-card small{color:var(--blue)}.mail-card h2{font-size:20px;margin-top:8px}.mail-card pre{font-size:12px;line-height:1.7;white-space:pre-wrap;overflow-wrap:anywhere;margin:20px 0;color:#718096}
@media(min-width:1500px){.profile-cover{height:420px}.story-title{margin-top:100px}.story-portraits{max-height:420px}}
@media(max-width:1150px){.app-shell{grid-template-columns:205px 1fr}.sidebar{padding-left:15px;padding-right:15px}.topbar{padding-left:28px;padding-right:28px}.discover-layout,.profile-layout{padding-left:28px;padding-right:28px;grid-template-columns:minmax(0,600px);justify-content:center}.context-panel{display:none}.people-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.messages-layout{grid-template-columns:270px 1fr}.auth-story{padding:40px}.auth-form-side{padding:45px 9%}.story-title h1{font-size:47px}.story-title{margin-top:80px}.profile-cover{height:390px}}
@media(max-width:800px){.app-shell{grid-template-columns:82px 1fr}.sidebar{padding:28px 13px}.sidebar .brand{font-size:23px;margin-left:0;letter-spacing:-1.6px}.sidebar-caption{display:none}.sidebar nav{margin-top:55px}.sidebar .nav-item{justify-content:center;padding:14px}.sidebar .nav-item>span,.sidebar-bottom>.nav-item,.sidebar-self>div{display:none}.sidebar-self{flex-direction:column}.sidebar-self .icon-button{margin-left:0}.auth-layout{grid-template-columns:1fr}.auth-story{display:none}.auth-form-side{padding:45px 24px;min-height:100dvh}.mobile-brand{display:inline-flex;margin-bottom:45px}.auth-content{max-width:430px}.messages-layout{grid-template-columns:230px 1fr}.chat-log{padding:18px}.chat-header{padding:18px}.chat-composer{padding:14px}.bubble{max-width:90%}.wide-section{padding:28px}}
@media(max-width:600px){body{padding-bottom:0}.app-shell{display:block}.sidebar{display:none}.workspace{padding-bottom:74px}.topbar{height:72px;padding:14px 20px}.topbar .eyebrow{font-size:8px}.topbar p{font-size:11px}.topbar .local-badge{display:none}.topbar>.icon-button{margin-left:auto}.discover-layout,.profile-layout{display:block;padding:23px 17px 20px}.section-heading{margin-bottom:20px}.section-heading h1{font-size:26px}.section-heading p{font-size:11px}.section-heading>.icon-button{display:inline-flex;width:37px;height:37px;min-height:37px}.profile-cover{height:350px}.profile-card{border-radius:13px}.profile-body{padding:21px 20px 0}.profile-heading h2{font-size:28px}.profile-location{font-size:10px}.profile-bio{font-size:13px}.decision-bar{position:sticky;bottom:74px;background:var(--surface);z-index:4;padding-bottom:9px}.feed-footer>span{font-size:9px}.mobile-nav{position:fixed;bottom:0;left:0;right:0;display:grid;grid-template-columns:repeat(4,1fr);padding:9px 10px max(10px,env(safe-area-inset-bottom));border-top:1px solid var(--line);background:#fff;z-index:20;height:calc(65px + env(safe-area-inset-bottom))}.mobile-nav button{background:none;border:0;display:flex;align-items:center;justify-content:center;gap:6px;flex-direction:column;color:#8d99a9;font-size:9px}.mobile-nav svg{width:20px;height:20px}.mobile-nav button.active{color:var(--blue)}.wide-section{padding:25px 18px}.segmented{gap:22px}.segmented .button{font-size:11px}.people-grid{gap:12px}.small-cover{height:210px}.small-card>div:last-child:not(.small-cover){padding:13px}.small-card h3{font-size:15px}.small-card>div>span:not(.demo-tag){font-size:9px}.small-card .demo-tag{top:10px;left:10px;font-size:8px}.subheading{font-size:14px}.messages-layout{display:block;height:calc(100dvh - 137px - env(safe-area-inset-bottom))}.conversation-list{height:100%;padding:23px 18px;border-right:0}.messages-layout .chat-pane{display:none}.messages-layout.has-chat .conversation-list{display:none}.messages-layout.has-chat .chat-pane{display:flex}.chat-header>.icon-button:first-child{display:inline-flex;width:33px;height:33px;min-height:33px;padding:5px;border:0}.chat-header{padding:15px;gap:10px}.chat-header>.avatar{width:36px;height:36px}.chat-name small{font-size:9px}.chat-log{padding:20px 16px}.chat-composer{padding:8px 15px 12px}.chat-composer textarea{font-size:16px}.chat-composer>small{display:none}.bubble{max-width:87%}.profile-layout .section-heading>.button{font-size:0;padding:9px;width:40px}.self-card{padding:20px 17px}.self-avatar{width:72px;height:72px;border-radius:14px}.self-heading{gap:14px}.self-heading h2{font-size:24px}.self-heading p{font-size:11px}.photo-manager{gap:8px}.self-about p{font-size:13px}.modal-backdrop{padding:0;align-items:flex-end;backdrop-filter:blur(2px)}.modal-sheet{border-radius:19px 19px 0 0;max-height:93dvh;max-width:none}.modal-sheet>header{padding:15px 20px}.modal-sheet>header h2{font-size:19px}.modal-content{padding:20px 20px max(25px,env(safe-area-inset-bottom))}.detail-photo{height:320px}.form-pair{gap:12px}input,select,textarea{font-size:16px}.auth-form-side{padding-top:30px;justify-content:flex-start}.auth-form-side footer{margin-top:auto;padding-top:40px}.auth-content h2{font-size:29px}.mobile-brand{align-self:flex-start;margin-bottom:55px;font-size:34px}.auth-content{margin:auto}.auth-step{font-size:8px}.auth-content>.muted{font-size:13px}#toast{bottom:86px;font-size:11px}.mail-page{margin:10px auto;padding:20px}.mail-page h1{font-size:24px}.empty-state{padding:55px 18px}}
@media(max-width:370px){.profile-cover{height:300px}.profile-body{padding-left:17px;padding-right:17px}.profile-location{font-size:9px}.profile-heading h2{font-size:26px}.small-cover{height:180px}.segmented{gap:15px}.segmented .button{font-size:10px}.auth-form-side{padding-left:20px;padding-right:20px}.photo-upload{padding:8px}.photo-upload span{font-size:9px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}
/* Usability pass: readable controls, stable scrolling and resilient narrow layouts. */
:root{--muted:#647184;--nav-height:calc(65px + env(safe-area-inset-bottom));--visible-height:100dvh}
html{scroll-padding-top:20px}body.modal-open{overflow:hidden}
button,a,input,select,textarea{touch-action:manipulation}
input,select,textarea{min-width:0}.icon-button{width:44px;height:44px;min-height:44px}
.text-button{min-height:44px}.city-results [aria-selected=true]{background:var(--blue-soft);color:var(--blue)}
.city-results button{min-height:48px;font-size:14px}.city-results small{font-size:11px}
.section-heading>div,.self-heading>div,.profile-heading h2,.sidebar-self>div{min-width:0}
.profile-heading{align-items:flex-start;flex-wrap:wrap}.profile-heading h2{overflow-wrap:anywhere}
.profile-location{line-height:1.6;max-width:100%;overflow-wrap:anywhere}
.self-heading h2,.sidebar-self strong,.small-card h3,.chat-name strong,.answer-card p,.settings-email,.modal-sheet h2{overflow-wrap:anywhere}
.self-avatar{flex-shrink:0}.small-card h3{line-height:1.4}
.section-heading>.icon-button{display:inline-flex!important;width:44px;height:44px;min-height:44px}
.chat-day{align-self:center;font-size:11px;color:#657286;padding:12px 0 4px;flex-shrink:0}
.older-messages{align-self:center;flex-shrink:0}.chat-log{overflow-anchor:none;overscroll-behavior:contain}
.chat-composer{position:relative}.connection-error .chat-composer::before{content:'Нет соединения · текст сохранён в этой вкладке';display:block;color:#946217;background:#fff6e2;padding:8px 10px;border-radius:7px;font-size:11px;margin-bottom:8px}
.interest-picker span{min-height:40px;display:flex;align-items:center}.interest-picker label{min-height:40px}
.photo-manager .icon-button{width:44px;height:44px;min-height:44px;padding:11px;background:#fffef5}
.modal-content>form>.primary[type=submit]{position:sticky;bottom:0;box-shadow:0 0 0 7px white}
.modal-sheet{max-height:calc(var(--visible-height) - 32px)}
.button:active{filter:brightness(.94)}.button[aria-busy=true]{cursor:wait}
@media(min-width:601px) and (max-width:1000px){
 .messages-layout{grid-template-columns:minmax(185px,34%) minmax(0,1fr)}
 .conversation-list{padding:24px 14px}.chat-header{padding:14px 12px;gap:8px}
 .chat-composer{padding:12px}.chat-header>.avatar{width:34px;height:34px}
}
@media(max-width:600px){
 .workspace{padding-bottom:calc(var(--nav-height) + 12px)}
 .workspace:has(.messages-layout){padding-bottom:var(--nav-height)}
 .keyboard-open .workspace:has(.messages-layout){padding-bottom:0}
 .bubble p{font-size:14px}
 .topbar{padding-left:18px;padding-right:18px}.topbar>.icon-button{width:44px;height:44px;min-height:44px}
 .decision-bar{bottom:var(--nav-height);padding-top:12px;padding-bottom:12px}
 .mobile-nav{height:var(--nav-height)}.mobile-nav button{min-height:44px;font-size:10px}
 .messages-layout{height:calc(var(--visible-height) - 72px - var(--nav-height));min-height:240px}
 .keyboard-open .mobile-nav{display:none}.keyboard-open .workspace{padding-bottom:0}
 .keyboard-open .messages-layout{height:calc(var(--visible-height) - 72px)}
 .keyboard-open .composer-tools{display:none}.chat-header>.icon-button:first-child{width:44px;height:44px;min-height:44px}
 .chat-composer textarea{min-height:46px}.chat-composer .send-button{width:46px;height:46px}
 .composer-tools{gap:16px}.composer-tools .button{min-height:40px;font-size:11px}
 .modal-sheet{max-height:calc(var(--visible-height) - 12px)}
 .section-heading p{font-size:12px}.profile-bio{font-size:14px}.occupation{font-size:13px}
 .profile-layout .section-heading>.button{width:44px;min-height:44px;flex-shrink:0}
 .segmented{gap:0;justify-content:space-between}.segmented .button{font-size:12px;padding:13px 4px}
 .self-heading{align-items:flex-start}.self-heading h2{font-size:23px}.profile-heading h2{font-size:27px}
 .form-hint{font-size:12px}.checkbox{font-size:13px}.form-pair{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
 #toast{bottom:calc(var(--nav-height) + 16px)}
}
@media(max-width:360px){
 .form-pair{grid-template-columns:minmax(0,1fr);gap:0}.auth-content h2{font-size:27px}
 .segmented .button{font-size:11px}.modal-actions{flex-wrap:wrap}.modal-actions .button{min-width:110px}
 .self-heading{gap:12px}.self-avatar{width:58px;height:58px}.self-heading h2{font-size:21px}
 .small-cover{height:170px}.profile-cover{height:300px}
}
@media(max-height:550px) and (max-width:900px){
 .topbar{height:58px}.messages-layout{height:calc(var(--visible-height) - 58px - var(--nav-height))}
 .keyboard-open .messages-layout{height:calc(var(--visible-height) - 58px)}
 .chat-header{padding-top:6px;padding-bottom:6px}.composer-tools{display:none}
 .modal-sheet{max-height:calc(var(--visible-height) - 10px)}
}
/* Product copy: consistent hierarchy and quiet supporting information. */
.topbar>.icon-button{margin-left:auto}
.auth-form-side footer{align-items:center;gap:16px;flex-wrap:wrap;justify-content:center}
.auth-form-side footer .button{font-size:11px;color:var(--muted)}
.auth-step{text-transform:uppercase;line-height:1.5}
.delivery-note{border:1px solid var(--line);border-radius:12px;padding:18px;margin:22px 0}
.delivery-note p{font-size:13px;line-height:1.65;color:var(--muted);margin-bottom:15px}
.letter-preview h3{font-size:19px;line-height:1.4;margin-bottom:16px}
.letter-preview p{white-space:pre-line;font-size:14px;line-height:1.75;color:var(--muted);margin-bottom:24px}
.settings-section+.settings-section{border-top:1px solid var(--line);margin-top:24px;padding-top:24px}
.settings-section h3{font-size:13px;font-weight:600;margin-bottom:10px}
.settings-section .settings-email{font-size:13px;line-height:1.6;color:var(--muted);margin-bottom:8px}
.settings-footer{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-top:24px;padding-top:14px;border-top:1px solid var(--line)}
.settings-jump{position:sticky;top:61px;z-index:2;display:flex;gap:7px;overflow-x:auto;padding:10px 0 15px;margin:-10px 0 18px;background:var(--panel);scrollbar-width:none}.settings-jump::-webkit-scrollbar{display:none}.settings-jump a{flex:0 0 auto;padding:9px 12px;border:1px solid var(--line);border-radius:9px;background:var(--panel-soft);color:var(--ink);font-size:10px;font-weight:600}.settings-section{padding:18px;border:1px solid var(--line);border-radius:13px;background:var(--panel-soft);scroll-margin-top:135px}.settings-section+.settings-section{border-top:1px solid var(--line);margin-top:13px;padding-top:18px}.settings-section h3{display:flex;align-items:center;gap:9px;margin-bottom:12px}.settings-section h3>span{display:grid;place-items:center;width:25px;height:25px;border-radius:7px;background:var(--blue-soft);color:var(--blue);font-size:9px}.settings-link{padding:11px 12px;border:1px solid transparent;border-radius:9px;color:var(--ink)}.settings-link:hover{border-color:var(--line);background:var(--panel)}.settings-privacy-note{padding:10px 12px;border-radius:8px;background:var(--panel);font-size:10px!important}.settings-footer{flex-wrap:wrap}
.site-footer{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:18px 40px;border-top:1px solid var(--line);color:var(--muted);font-size:10px}.partnership-link{color:var(--blue);font-size:10px;white-space:nowrap}.auth-form-side footer .partnership-link{margin-left:4px}.context-foot .partnership-link{display:block;margin-top:8px}
.ad-slot{display:grid;gap:10px;margin:14px 0 18px}.ad-card{display:flex;min-height:112px;overflow:hidden;border:1px solid var(--line);border-radius:13px;background:var(--panel);color:var(--ink);transition:transform .18s,box-shadow .18s}.ad-card:hover{transform:translateY(-2px);box-shadow:0 10px 28px #162b4a12}.ad-card img{width:36%;min-width:100px;object-fit:cover}.ad-copy{display:flex;flex-direction:column;align-items:flex-start;padding:15px;min-width:0}.ad-copy small{font-size:8px;letter-spacing:.5px;text-transform:uppercase;color:var(--muted)}.ad-copy strong{margin-top:7px;font-size:14px;line-height:1.3}.ad-copy p{margin-top:6px;font-size:10px;line-height:1.45;color:var(--muted)}.ad-copy b{margin-top:auto;padding-top:9px;color:var(--blue);font-size:10px}.nearby-section>.ad-slot{grid-template-columns:repeat(2,minmax(0,1fr));max-width:900px}.nearby-section>.ad-slot .ad-card{min-height:100px}
.ad-card.ad-compact img{width:42%;aspect-ratio:1;min-width:112px}.ad-card.ad-wide{display:block}.ad-card.ad-wide img{display:block;width:100%;height:auto;max-height:180px;aspect-ratio:3.55;object-fit:cover}.ad-card.ad-wide .ad-copy{padding:12px 15px}.ad-card.ad-wide .ad-copy p{display:none}
@media(max-width:600px){.site-footer{padding:17px 19px 90px}.settings-jump{top:53px;margin-left:-2px;margin-right:-2px}.settings-section{padding:16px 14px}.nearby-section>.ad-slot{grid-template-columns:1fr}.ad-card{min-height:104px}.ad-copy{padding:13px}.ad-copy strong{font-size:13px}}
.thoughts-page,.public-profile-page{max-width:780px;margin:auto;padding:36px 28px 60px}.thought-compose,.thought-card,.public-profile-card,.profile-wall{background:var(--panel);border:1px solid var(--line);border-radius:14px;padding:20px;margin-bottom:14px}.thought-compose textarea{border:0;padding:4px;min-height:82px;background:transparent}.thought-compose>div{display:flex;align-items:center;justify-content:space-between;gap:15px}.thought-compose small{color:var(--muted);font-size:10px}.thought-modes{display:flex;gap:8px;margin:18px 0}.thought-modes .button{border:1px solid var(--line);background:var(--panel)}.thought-modes .selected,.thought-actions .selected{background:var(--blue-soft);color:var(--blue);border-color:#afc0f4}.thought-author{display:flex;align-items:center;gap:11px;border:0;background:none;text-align:left;padding:0}.thought-author span{display:block}.thought-author strong{font-size:13px}.thought-author small{display:block;color:var(--muted);font-size:9px;margin-top:4px}.thought-card>p{font-size:14px;line-height:1.65;margin:16px 0;white-space:pre-wrap}.thought-actions{display:flex;align-items:center;gap:7px;border-top:1px solid var(--line);padding-top:11px}.thought-actions .button{min-height:34px;padding:6px 10px;border:1px solid var(--line);font-size:10px}.thought-actions>span{margin-left:auto;color:var(--muted);font-size:9px}.thought-limited{padding:10px;border-radius:8px;background:#fff3db;color:#856417;font-size:10px}.public-profile-grid{display:grid;grid-template-columns:minmax(0,360px) minmax(0,1fr);gap:20px}.public-profile-card .detail-photo{height:380px}.profile-wall h2{font-size:19px;margin-bottom:18px}.profile-wall .thought-card{padding:0;border:0;border-radius:0}.reply-list{display:grid;gap:10px;margin-bottom:18px}
@media(max-width:600px){.mobile-nav{grid-template-columns:repeat(5,1fr)}.thoughts-page,.public-profile-page{padding:22px 15px 90px}.public-profile-grid{display:block}.public-profile-card,.profile-wall{padding:16px}.thought-card{padding:16px}.thought-actions{gap:4px}.thought-actions .button{padding:5px 7px}.thought-modes{overflow-x:auto}.public-profile-card .detail-photo{height:340px}}
.context-foot{display:flex;flex-direction:column;align-items:flex-start;gap:2px;padding-top:12px}
.context-foot .button{font-size:11px;min-height:40px;color:var(--muted)}
.list-empty strong{font-size:14px;font-weight:500;color:var(--ink);display:block;margin-bottom:8px}
.list-empty p{font-size:12px;line-height:1.65;margin-bottom:10px}
.credits{margin:25px 0 10px;border-top:1px solid var(--line);padding-top:18px}
.credits summary{font-size:13px;cursor:pointer;min-height:40px}.credits p{margin-top:12px}
.profile-nudge{display:flex;gap:18px;align-items:center;padding:18px 20px;background:var(--blue-soft);border-radius:12px;margin-bottom:18px}
.profile-nudge>div{min-width:0;flex:1}.profile-nudge strong{font-size:14px;font-weight:600}
.profile-nudge p{font-size:12px;color:var(--muted);line-height:1.6;margin-top:6px}
.profile-nudge>.button{flex-shrink:0}
.connection-error .chat-composer::before{content:'Нет соединения · не закрывай вкладку, чтобы сохранить черновик'}
@media(max-width:600px){.feed-footer>span{display:none}.mobile-nav button{font-size:9px}.auth-form-side footer{margin-top:30px;padding-top:20px}.profile-nudge{align-items:stretch;flex-direction:column;gap:12px}.auth-content h2{overflow-wrap:anywhere}}
@media(max-width:600px) and (max-height:650px){.empty-state{padding:24px 12px}.empty-state>svg{width:30px;height:30px;margin-bottom:14px}.empty-state h2{font-size:21px}.empty-state p{margin-bottom:16px}.wide-section .segmented{margin-bottom:14px}}

/* Richer profiles and saved discovery preferences. */
.heading-actions{display:flex;gap:9px;align-items:center}.common-line{margin:16px 0 4px;padding:11px 13px;border-radius:9px;background:#eef4ff;color:#526b91;font-size:11px;line-height:1.55}.common-line strong{font-weight:600;color:#324c73}.prompt-editor{display:block;border:0;margin:27px 0 0;padding:0}.prompt-editor>legend{font-size:13px;font-weight:600}.prompt-editor>legend span,.interest-picker legend span{font-weight:400;color:var(--muted)}.prompt-editor>.form-hint{margin:7px 0 14px}.prompt-row{padding:16px;border:1px solid var(--line);border-radius:12px;background:#fafbfd;margin-bottom:11px}.prompt-row label:first-child{margin-top:0}.prompt-row label:last-child{margin-bottom:0}.answer-card{position:relative}.answer-like{margin-top:13px;padding:0;min-height:34px;border:0;background:transparent;color:#5575a4;font-size:11px}.answer-like svg{width:14px;height:14px}.reaction-note{display:block!important;margin-top:8px!important;color:#5e78a0!important;font-size:9px!important}.managed-photo .photo-position{position:absolute;left:7px;top:7px;background:#172a42d9;color:white;border-radius:5px;padding:5px 7px;font-size:8px;line-height:1}.managed-photo .photo-order{position:absolute;left:5px;bottom:5px;display:flex;gap:3px}.managed-photo .photo-order .icon-button{position:static;width:30px;height:30px;min-height:30px;padding:7px}.managed-photo>.icon-button{z-index:2}.self-answer{border-top:1px solid var(--line);padding-top:20px;margin-top:20px}.self-answer h3{color:#66758a;font-size:11px}.match-context{align-self:center;max-width:78%;background:#eef3fb;border-radius:10px;padding:12px 15px;text-align:center;margin:-18px 0 18px}.match-context small{font-size:9px;color:#71839c}.match-context p{font-size:12px;line-height:1.55;margin-top:4px;color:#425774}
.wave-note{color:#8a6b25!important}.wave-disabled{background:var(--panel-soft);border:1px solid var(--line);color:var(--muted)}.wave-row{margin-top:10px}.wave-row small,.sent-like-note,.settings-privacy-note{display:block;color:var(--muted);font-size:10px;line-height:1.6}.wave-row small{text-align:center;margin-top:6px}.sent-like-note{text-align:center;margin-top:10px}.settings-privacy-note{margin:-3px 0 10px;padding:0 2px 13px;border-bottom:1px solid var(--line)}
@media(max-width:600px){.heading-actions{gap:6px}.heading-actions .button{font-size:0;width:44px;padding:10px}.heading-actions .button:first-child{font-size:10px;width:auto}.prompt-row{padding:13px}.photo-manager{grid-template-columns:repeat(2,1fr)}.managed-photo .photo-order .icon-button{width:34px;height:34px;min-height:34px}.match-context{max-width:92%}}
@media(max-width:360px){.heading-actions .button:first-child{width:auto;font-size:9px;padding:8px}.photo-manager{grid-template-columns:repeat(2,minmax(0,1fr))}.managed-photo .photo-order{gap:2px}.managed-photo .photo-order .icon-button{width:31px;height:31px;min-height:31px;padding:7px}}

/* Nearby people, private area selection and restrained motion. */
.area-field{border:0;padding:0;margin:27px 0}.area-field>legend{font-size:13px;font-weight:600}.area-map{position:relative;height:245px;overflow:hidden;border:1px solid #d9e2ee;border-radius:15px;background:linear-gradient(145deg,#f2f6ef,#edf3f8);cursor:crosshair;outline:none}.area-map:focus-visible{box-shadow:0 0 0 3px #8fb1fa}.area-map svg{position:absolute;width:100%;height:100%;inset:0}.area-map svg path:not(.map-river),.area-map svg circle{fill:none;stroke:#d4dce4;stroke-width:9;stroke-linecap:round}.area-map svg circle{stroke-width:5;stroke-dasharray:7 8}.area-map .map-river{fill:none;stroke:#c5deeb;stroke-width:25}.map-city{position:absolute;left:17px;top:16px;padding:7px 10px;background:#ffffffd9;border-radius:7px;color:#5d6f83;font-size:10px;box-shadow:0 2px 10px #33475c0d}.area-pin{position:absolute;width:38px;height:38px;display:grid;place-items:center;transform:translate(-50%,-90%);color:#315fcd;background:white;border:1px solid #d4dff3;border-radius:50% 50% 50% 7px;box-shadow:0 8px 24px #254d9a33;transition:left .22s ease,top .22s ease,transform .15s ease}.area-pin svg{position:static;width:19px;height:19px}.area-map:active .area-pin{transform:translate(-50%,-90%) scale(.9)}.self-location{display:flex;align-items:flex-start;gap:10px;padding:15px 0;margin-top:18px;border-top:1px solid var(--line)}.self-location>svg{width:18px;color:#6681a8;flex-shrink:0}.self-location span{display:flex;flex-direction:column;gap:4px}.self-location strong{font-size:12px;font-weight:600}.self-location small{font-size:10px;line-height:1.55;color:var(--muted)}.nearby-search{display:flex;gap:10px;max-width:620px;margin:-4px 0 27px}.nearby-search input{margin:0}.nearby-search .button{flex-shrink:0}.nearby-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.profile-card{animation:profile-in .34s cubic-bezier(.2,.75,.25,1)}.small-card{animation:tile-in .3s ease both}.small-card:nth-child(2n){animation-delay:.035s}.small-card:nth-child(3n){animation-delay:.07s}.modal-sheet{animation:sheet-in .22s ease-out}.small-card,.profile-card,.button{transition:transform .18s ease,box-shadow .18s ease,background-color .18s ease,border-color .18s ease}.small-card:hover{transform:translateY(-3px);box-shadow:0 13px 35px #162b4a12}.like-button:hover{transform:translateY(-2px) scale(1.015)}@keyframes profile-in{from{opacity:0;transform:translateY(9px) scale(.992)}to{opacity:1;transform:none}}@keyframes tile-in{from{opacity:0;transform:translateY(7px)}to{opacity:1;transform:none}}@keyframes sheet-in{from{opacity:0;transform:translateY(8px) scale(.99)}to{opacity:1;transform:none}}
.optimized *{animation:none!important;transition:none!important;scroll-behavior:auto!important}.optimized .modal-backdrop{backdrop-filter:none}.optimized .profile-card,.optimized .small-card,.optimized .modal-sheet,.optimized .area-pin{box-shadow:none}.optimized .story-portraits{display:none}
@media(max-width:1150px){.nearby-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:800px){.nearby-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.mobile-nav{grid-template-columns:repeat(5,1fr)}.mobile-nav button{gap:4px}.nearby-search{margin-bottom:20px}.nearby-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.area-map{height:210px}}
@media(max-width:360px){.mobile-nav{padding-left:4px;padding-right:4px}.mobile-nav button{font-size:8px}.mobile-nav svg{width:18px;height:18px}.nearby-search{display:grid;grid-template-columns:1fr auto}.nearby-grid{gap:9px}.area-map{height:190px}}
@media(prefers-reduced-motion:reduce){.profile-card,.small-card,.modal-sheet{animation:none}.small-card,.profile-card,.button,.area-pin{transition:none}}

/* Themes, proximity and legal pages */
:root,[data-theme="light"]{--panel:#fff;--panel-soft:#f8f9fb;--field:#fff;--ink:#17283e;--muted:#77818f;--line:#e5e9ee;--surface:#f4f6f8;--blue:#315bea;--blue-soft:#eef2ff;--accent-hover:#244bd1;--hero:#14263c;--shadow:#162b4a12;color-scheme:light}
[data-theme="dark"]{--panel:#171d27;--panel-soft:#1c2430;--field:#111720;--ink:#edf2f8;--muted:#9daaba;--line:#2a3544;--surface:#0d1219;--blue:#7c9dff;--blue-soft:#202b46;--accent-hover:#9ab3ff;--hero:#0a0f16;--shadow:#00000055;color-scheme:dark}
[data-theme="blue"]{--panel:#f8fcff;--panel-soft:#eaf6fd;--field:#fff;--ink:#15334a;--muted:#68869a;--line:#d1e6f2;--surface:#eaf5fb;--blue:#087db8;--blue-soft:#d9f1fd;--accent-hover:#056994;--hero:#0f5f91;--shadow:#0c68901a;color-scheme:light}
[data-theme="pink"]{--panel:#fffafd;--panel-soft:#fff0f6;--field:#fff;--ink:#452538;--muted:#8b6b7d;--line:#f0dbe6;--surface:#fff3f8;--blue:#c3497c;--blue-soft:#fde3ee;--accent-hover:#a83f6e;--hero:#8d355f;--shadow:#8b35501a;color-scheme:light}
[data-theme="green"]{--panel:#fbfffc;--panel-soft:#edf8f1;--field:#fff;--ink:#183d32;--muted:#668278;--line:#d7e9df;--surface:#eff8f2;--blue:#24805f;--blue-soft:#daf1e7;--accent-hover:#196849;--hero:#216b52;--shadow:#1a65481a;color-scheme:light}
[data-theme="cyber"]{--panel:#07110f;--panel-soft:#0a1814;--field:#050c0a;--ink:#caffdf;--muted:#6da989;--line:#164a35;--surface:#030806;--blue:#39ff88;--blue-soft:#0a281b;--accent-hover:#81ffb1;--hero:#020705;--shadow:#00ff8030;color-scheme:dark;font-family:'Cascadia Mono','SFMono-Regular',Consolas,monospace}
html{background:var(--surface);color:var(--ink)}body{background:var(--surface);color:var(--ink)}
.sidebar,.topbar,.mobile-nav,.profile-card,.small-card,.context-card,.self-card,.messages-layout,.chat-composer,.bubble,.modal-sheet,.modal-sheet>header,.mail-card,.auth-layout,.city-results,.city-results button{background:var(--panel);color:var(--ink)}
input,select,textarea,.secondary,.icon-button,.pass-button{background:var(--field);color:var(--ink);border-color:var(--line)}
.secondary:hover,.city-results button:hover{background:var(--panel-soft)}
.primary{background:var(--blue);color:#fff}.primary:hover{background:var(--accent-hover)}
[data-theme="dark"] .primary,[data-theme="cyber"] .primary{color:#06100c}
.auth-story{background:var(--hero)}.chat-log,.prompt-row,.answer-card,.search-input,.local-callout{background:var(--panel-soft)}
.pills span{background:var(--panel-soft);color:var(--muted)}
.nav-item.active,.conversation.selected{background:var(--blue-soft);color:var(--blue)}
.small-card:hover{box-shadow:0 13px 35px var(--shadow)}
[data-theme="cyber"] body{background-image:linear-gradient(#0b241933 1px,transparent 1px),linear-gradient(90deg,#0b241933 1px,transparent 1px);background-size:28px 28px}
[data-theme="cyber"] .brand{text-shadow:0 0 15px #39ff8866;text-transform:uppercase;letter-spacing:2px}
[data-theme="cyber"] .profile-card,[data-theme="cyber"] .small-card,[data-theme="cyber"] .context-card,[data-theme="cyber"] .self-card{box-shadow:0 0 0 1px #39ff8812,0 12px 45px #0008}

.profile-location{align-items:flex-end;flex-direction:column;gap:4px}.profile-location small{font-size:9px;color:var(--muted);white-space:nowrap}
.proximity{display:inline-flex;align-items:center;gap:6px;font-size:9px;font-weight:650;white-space:nowrap}.proximity i{width:7px;height:7px;border-radius:50%;background:currentColor;box-shadow:0 0 0 3px color-mix(in srgb,currentColor 14%,transparent)}
.proximity.closest{color:#19a66d}.proximity.close{color:#38a77a}.proximity.near{color:#2c83bd}.proximity.city{color:#8c7a31}.proximity.far{color:#bf7435}.proximity.very-far{color:#b45862}
.distance-row,.detail-distance{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.distance-row{margin-top:8px}.distance-row small{font-size:9px;color:var(--muted)}.detail-distance{margin:0 0 8px}.detail-distance>span:last-child{font-size:11px;color:var(--muted)}
.interest-match{display:inline-flex;width:max-content;align-items:center;padding:6px 9px;border-radius:999px;background:var(--blue-soft);color:var(--blue);font-size:9px;font-weight:650;margin:10px 0 2px}.common-line+.pills{margin-top:10px}
.interest-details{margin:12px 0 4px;border:1px solid var(--line);border-radius:10px;background:var(--panel-soft);overflow:hidden}.interest-details summary{list-style:none;cursor:pointer;display:flex;align-items:center;gap:10px;padding:12px 13px;font-size:11px;font-weight:600;color:var(--ink);user-select:none}.interest-details summary::-webkit-details-marker{display:none}.interest-details summary span{margin-left:auto;color:var(--muted);font-size:9px;font-weight:500;white-space:nowrap}.interest-details summary::after{content:'⌄';color:var(--muted);font-size:14px;line-height:1;transition:transform .15s ease}.interest-details[open] summary::after{transform:rotate(180deg)}.interest-details .pills{margin:0;border-top:1px solid var(--line);padding:12px}.interest-details .pills span.common{background:var(--blue-soft);color:var(--blue);box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--blue) 35%,transparent)}.interest-details .pills span b{display:block;margin-top:3px;font-size:7px;text-transform:uppercase;letter-spacing:.4px}

.interest-picker{display:block}.interest-picker>.form-hint{margin:-3px 0 15px}.interest-group{padding:14px 0;border-top:1px solid var(--line)}.interest-group>strong{display:block;font-size:10px;color:var(--muted);margin-bottom:9px}.interest-group>div{display:flex;flex-wrap:wrap;gap:7px}.interest-picker input:disabled+span{opacity:.45;cursor:not-allowed}.interest-picker input:checked+span{border-color:var(--blue);box-shadow:0 0 0 1px var(--blue)}

.theme-picker{display:grid;grid-template-columns:repeat(3,1fr);gap:9px;margin:13px 0 25px}.theme-option{margin:0;cursor:pointer}.theme-option input{position:absolute;opacity:0;width:1px;height:1px}.theme-option>span{display:flex;align-items:center;gap:9px;padding:10px;border:1px solid var(--line);border-radius:10px;background:var(--panel-soft)}.theme-option i{width:22px;height:22px;border-radius:7px;background:#fff;border:1px solid #d8dee8;box-shadow:inset 8px 0 #315bea}.theme-option.dark i{background:#171d27;border-color:#39485b;box-shadow:inset 8px 0 #7c9dff}.theme-option.blue i{background:#eaf5fb;border-color:#c2deec;box-shadow:inset 8px 0 #087db8}.theme-option.pink i{background:#fff3f8;border-color:#efd4e1;box-shadow:inset 8px 0 #c3497c}.theme-option.green i{background:#eff8f2;border-color:#cfe6d8;box-shadow:inset 8px 0 #24805f}.theme-option.cyber i{background:#030806;border-color:#17613f;box-shadow:inset 8px 0 #39ff88}.theme-option strong{font-size:10px}.theme-option input:checked+span{border-color:var(--blue);box-shadow:0 0 0 2px var(--blue-soft)}.theme-option input:focus-visible+span{outline:3px solid var(--blue);outline-offset:2px}
.legal-consent{margin-top:-8px}.legal-consent a{text-decoration:underline;text-underline-offset:2px}

.legal-body{min-height:100vh}.legal-header{height:76px;display:flex;align-items:center;justify-content:space-between;padding:0 max(24px,calc((100vw - 1060px)/2));background:var(--panel);border-bottom:1px solid var(--line);position:sticky;top:0;z-index:5}.legal-header nav{display:flex;gap:24px}.legal-header nav a{font-size:11px;color:var(--muted)}.legal-header nav a:hover{color:var(--blue)}.legal-page{max-width:820px;margin:0 auto;padding:52px 25px 80px}.legal-back{display:inline-block;font-size:11px;margin-bottom:42px}.legal-page h1{font-size:clamp(34px,6vw,54px);letter-spacing:-2px;line-height:1.05;margin:12px 0 18px}.legal-lead{font-size:17px;line-height:1.7;color:var(--muted);max-width:650px;margin-bottom:32px}.legal-notice{padding:18px 20px;border:1px solid var(--line);background:var(--blue-soft);border-radius:12px;margin-bottom:42px}.legal-notice strong{font-size:12px}.legal-notice p{font-size:11px;line-height:1.7;color:var(--muted);margin-top:7px}.legal-page section{padding:28px 0;border-top:1px solid var(--line)}.legal-page section h2{font-size:20px;letter-spacing:-.4px;margin-bottom:13px}.legal-page section p{font-size:13px;line-height:1.85;color:var(--muted);margin:9px 0}.legal-page footer{border-top:1px solid var(--line);padding-top:28px;margin-top:18px;display:flex;justify-content:space-between;gap:20px;color:var(--muted);font-size:11px}
@media(max-width:700px){.theme-picker{grid-template-columns:repeat(2,1fr)}.legal-header{height:auto;padding:18px;align-items:flex-start}.legal-header nav{display:grid;grid-template-columns:1fr 1fr;gap:10px 16px;text-align:right}.legal-page{padding:36px 19px 65px}.legal-back{margin-bottom:32px}.legal-page footer{display:block}.legal-page footer p+ p{margin-top:10px}}
@media(max-width:700px){.legal-header{flex-direction:column;gap:16px}.legal-header nav{width:100%;text-align:left}.legal-page h1{overflow-wrap:anywhere;letter-spacing:-1.4px}}
@media(max-width:360px){.interest-details summary{padding:11px}.interest-details summary span{font-size:8px}.interest-details .pills{padding:10px}}

/* Navigation, discovery gestures and real area map. */
.topbar{height:78px;padding:15px 34px;justify-content:space-between;background:color-mix(in srgb,var(--panel) 94%,transparent);backdrop-filter:blur(14px);position:sticky;top:0;z-index:12}.topbar-title{display:flex;align-items:center;gap:12px;min-width:0}.topbar-title>div{min-width:0}.topbar-title strong{display:block;font-size:13px;font-weight:650}.topbar-title p{margin-top:4px;font-size:10px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.topbar-icon{display:grid;place-items:center;width:38px;height:38px;border-radius:11px;background:var(--blue-soft);color:var(--blue)}.topbar-icon svg{width:18px;height:18px}.topbar-profile{display:flex;align-items:center;gap:9px;border:1px solid var(--line);border-radius:999px;background:var(--panel);color:var(--ink);padding:5px 10px 5px 5px;min-height:44px}.topbar-profile .avatar{width:32px;height:32px;font-size:13px}.topbar-profile span{font-size:10px;font-weight:600}.topbar-profile>svg{width:13px;height:13px;color:var(--muted)}
.profile-card[data-person-id]{touch-action:pan-y pinch-zoom;overscroll-behavior-x:contain;will-change:transform;cursor:grab;transition:transform .18s cubic-bezier(.22,.8,.3,1),opacity .16s ease;user-select:none;-webkit-user-select:none}.profile-card[data-person-id] img{-webkit-user-drag:none;user-select:none}.profile-card.swiping{transition:none;transform:translate3d(var(--swipe-x,0),0,0) rotate(var(--swipe-rotate,0));cursor:grabbing}.profile-card.swipe-out-right{transform:translate3d(120vw,0,0) rotate(13deg);opacity:0;transition:transform .22s ease-in,opacity .18s ease}.profile-card.swipe-out-left{transform:translate3d(-120vw,0,0) rotate(-13deg);opacity:0;transition:transform .22s ease-in,opacity .18s ease}.swipe-cue{position:absolute;top:28px;z-index:8;border:2px solid currentColor;border-radius:8px;padding:8px 11px;background:color-mix(in srgb,var(--panel) 91%,transparent);font-size:13px;font-weight:750;letter-spacing:.5px;text-transform:uppercase;opacity:0;pointer-events:none;transition:opacity .05s linear}.swipe-pass{right:24px;color:#b95763;transform:rotate(7deg)}.swipe-like{left:24px;color:#198764;transform:rotate(-7deg)}.profile-card.swipe-left .swipe-pass,.profile-card.swipe-right .swipe-like{opacity:var(--swipe-strength,0)}.feed-footer::after{content:'Свайп влево — пропустить · вправо — нравится';display:none}
.nearby-filter-summary{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin:-7px 0 18px}.nearby-filter-summary>span{display:inline-flex;align-items:center;gap:6px;padding:8px 10px;border:1px solid var(--line);border-radius:999px;background:var(--panel);color:var(--muted);font-size:9px}.nearby-filter-summary svg{width:13px;height:13px;color:var(--blue)}.nearby-filter-summary .button{margin-left:auto;font-size:10px;color:var(--blue)}.filter-section{margin:22px 0;padding:16px;border:1px solid var(--line);border-radius:12px;background:var(--panel-soft)}.filter-section>strong{display:block;font-size:11px;margin-bottom:13px}.filter-section .form-hint{margin:4px 0 0}
.area-map-wrap{position:relative;margin-top:12px}.area-map{height:330px;border:1px solid var(--line);border-radius:15px;background:var(--panel-soft);cursor:crosshair;outline:none;overflow:hidden}.area-map:focus-visible{box-shadow:0 0 0 3px color-mix(in srgb,var(--blue) 35%,transparent)}.map-topline{position:absolute;top:11px;left:48px;right:11px;z-index:500;display:flex;align-items:center;justify-content:space-between;gap:8px;pointer-events:none}.map-city,.map-reset{position:static;pointer-events:auto;border:1px solid #dce3ea;border-radius:8px;background:#fffffff2;color:#46586b;box-shadow:0 3px 14px #1e38541a;font-size:9px;padding:7px 9px}.map-reset{cursor:pointer}.map-status{position:absolute;z-index:500;left:50%;bottom:19px;transform:translateX(-50%);max-width:calc(100% - 34px);padding:8px 11px;border-radius:999px;background:#17283ee8;color:#fff;font-size:9px;white-space:nowrap;pointer-events:none;box-shadow:0 5px 18px #17283e33}.map-status.selected{background:#176d54e8}.map-unavailable{display:grid;place-items:center;height:100%;padding:30px;text-align:center;color:var(--muted);font-size:11px}.dasmi-map-marker{background:none;border:0}.dasmi-map-marker span{position:relative;display:block;width:30px;height:30px;background:var(--blue);border:4px solid #fff;border-radius:50% 50% 50% 7px;transform:rotate(-45deg);box-shadow:0 7px 18px #17283e4d}.dasmi-map-marker span::after{content:'';position:absolute;inset:7px;border-radius:50%;background:#fff}.privacy-circle{fill:var(--blue);fill-opacity:.1;stroke:var(--blue);stroke-opacity:.42;stroke-dasharray:5 5}.leaflet-control-zoom a{color:#385069!important}.leaflet-control-attribution{font-size:8px!important}.leaflet-container{font-family:inherit}
@media(max-width:600px){.topbar{height:64px;padding:10px 16px}.topbar-icon{width:36px;height:36px}.topbar-title strong{font-size:12px}.topbar-profile{border:0;padding:2px;background:transparent}.topbar-profile span,.topbar-profile>svg{display:none}.topbar-profile .avatar{width:36px;height:36px}.feed-footer>span{display:none}.feed-footer::after{display:block;font-size:8px;color:var(--muted)}.area-map{height:300px}.map-status{bottom:16px;font-size:8px}.nearby-filter-summary .button{margin-left:0}.filter-section{padding:14px}}
@media(max-width:360px){.topbar{padding-left:12px;padding-right:12px}.topbar-title p{max-width:175px}.map-topline{left:42px}.map-reset{font-size:0}.map-reset::after{content:'В центр';font-size:8px}.map-status{white-space:normal;text-align:center;width:max-content}.nearby-filter-summary{gap:6px}.nearby-filter-summary>span{font-size:8px;padding:7px 8px}}

/* Mobile account menu. */
.mobile-topbar-brand,.topbar>[data-action="mobile-menu"]{display:none}.mobile-menu-account{display:flex;align-items:center;gap:13px;padding:3px 0 20px;border-bottom:1px solid var(--line)}.mobile-menu-account .avatar{width:48px;height:48px}.mobile-menu-account strong{display:block;font-size:15px}.mobile-menu-account span{display:block;margin-top:5px;color:var(--muted);font-size:10px}.mobile-menu-links{display:grid;gap:8px;padding:18px 0}.mobile-menu-link{display:grid;grid-template-columns:22px 1fr 16px;align-items:center;gap:12px;width:100%;min-height:62px;padding:12px 13px;border:1px solid var(--line);border-radius:12px;background:var(--panel);color:var(--ink);text-align:left}.mobile-menu-link>svg{width:19px;height:19px;color:var(--blue)}.mobile-menu-link>svg:last-child{width:14px;color:var(--muted)}.mobile-menu-link span{display:block}.mobile-menu-link strong{display:block;font-size:12px}.mobile-menu-link small{display:block;margin-top:5px;color:var(--muted);font-size:9px;font-weight:400}.quick-theme{padding-top:17px;border-top:1px solid var(--line)}.quick-theme>div:first-child{display:flex;justify-content:space-between;align-items:center;margin-bottom:13px}.quick-theme>div:first-child strong{font-size:12px}.quick-theme>div:first-child span{font-size:9px;color:var(--muted)}.quick-theme-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.quick-theme-option{display:flex;align-items:center;gap:7px;min-width:0;padding:9px 8px;border:1px solid var(--line);border-radius:10px;background:var(--panel-soft);color:var(--ink);font-size:9px}.quick-theme-option i{display:block;width:17px;height:17px;border-radius:6px;background:#fff;border:1px solid #d8dee8;box-shadow:inset 6px 0 #315bea;flex-shrink:0}.quick-theme-option.dark i{background:#171d27;border-color:#39485b;box-shadow:inset 6px 0 #7c9dff}.quick-theme-option.blue i{background:#eaf5fb;box-shadow:inset 6px 0 #087db8}.quick-theme-option.pink i{background:#fff3f8;box-shadow:inset 6px 0 #c3497c}.quick-theme-option.green i{background:#eff8f2;box-shadow:inset 6px 0 #24805f}.quick-theme-option.cyber i{background:#030806;border-color:#17613f;box-shadow:inset 6px 0 #39ff88}.quick-theme-option.selected{border-color:var(--blue);box-shadow:0 0 0 2px var(--blue-soft);color:var(--blue);font-weight:650}
.quick-theme-select{display:grid;grid-template-columns:minmax(0,1fr) minmax(130px,42%);align-items:center;gap:14px;margin:0;padding:17px 0 0;border-top:1px solid var(--line)}.quick-theme-select>span{display:block}.quick-theme-select strong{display:block;font-size:12px}.quick-theme-select small{display:block;margin-top:5px;color:var(--muted);font-size:9px;line-height:1.45}.quick-theme-select select{margin:0;min-width:0}.settings-theme-select{margin:0}.settings-theme-select select{margin-top:9px}
@media(max-width:600px){.topbar{justify-content:space-between}.topbar-title,.topbar-profile{display:none}.mobile-topbar-brand{display:block;color:var(--ink);font-size:27px;font-weight:750;letter-spacing:-1.7px}.topbar>[data-action="mobile-menu"]{display:inline-flex;margin-left:auto;width:42px;height:42px;min-height:42px;border:1px solid var(--line);border-radius:11px;background:var(--panel);color:var(--ink)}.topbar>[data-action="mobile-menu"] svg{width:21px;height:21px}.quick-theme-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:360px){.quick-theme-select{grid-template-columns:1fr}.quick-theme-select select{width:100%}}
.nearby-search>[data-action="clear-nearby"]{padding-left:8px;padding-right:8px;color:var(--muted)}
@media(max-width:360px){.nearby-search>[data-action="clear-nearby"]{grid-column:1/-1;justify-self:start;min-height:32px}}

/* Product pass: notifications, support, thoughts and public profiles */
.topbar-actions{display:flex;align-items:center;gap:9px}.notification-button{position:relative;width:44px;height:44px;display:grid;place-items:center;border:1px solid var(--line);border-radius:50%;background:var(--panel);color:var(--ink)}.notification-button:hover{border-color:color-mix(in srgb,var(--blue) 35%,var(--line));background:var(--blue-soft)}.notification-button svg{width:19px;height:19px}.notification-badge{position:absolute;right:-3px;top:-4px;display:grid;place-items:center;min-width:19px;height:19px;padding:0 5px;border:2px solid var(--panel);border-radius:999px;background:#e14e67;color:white;font-size:8px;line-height:1}.notification-list{display:grid;gap:6px}.notification-item{width:100%;display:flex;align-items:flex-start;gap:12px;padding:13px;border:0;border-radius:11px;background:transparent;color:var(--ink);text-align:left}.notification-item:hover{background:var(--blue-soft)}.notification-item.unread{background:color-mix(in srgb,var(--blue-soft) 76%,var(--panel))}.notification-item>span:nth-child(2){min-width:0}.notification-item strong{display:block;font-size:11px;line-height:1.5;font-weight:550}.notification-item small{display:block;margin-top:5px;color:var(--muted);font-size:9px}.notification-kind{display:grid;place-items:center;width:34px;height:34px;flex:0 0 34px;border-radius:50%;background:var(--panel);border:1px solid var(--line);color:var(--blue)}.notification-kind svg{width:16px;height:16px}.notification-setting{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:14px;border:1px solid var(--line);border-radius:11px}.notification-setting>div{display:flex;align-items:center;gap:11px}.notification-setting svg{width:20px;color:var(--blue)}.notification-setting strong,.notification-setting small{display:block}.notification-setting strong{font-size:11px}.notification-setting small{margin-top:4px;color:var(--muted);font-size:9px}
.thoughts-page{max-width:740px;padding-top:32px}.thoughts-hero{padding:7px 3px 22px}.thoughts-hero h1{font-size:34px;letter-spacing:-1.2px;margin:7px 0}.thoughts-hero p{font-size:12px;color:var(--muted);line-height:1.6}.thought-compose{padding:18px 20px;border-radius:17px;box-shadow:0 8px 25px #17283e09}.compose-author{display:flex;align-items:center;gap:10px}.compose-author .avatar{width:36px;height:36px}.compose-author strong{font-size:11px}.thought-compose textarea{font-size:15px;line-height:1.6;margin:7px 0}.thought-compose>div:last-of-type{padding-top:12px;border-top:1px solid var(--line)}.thought-modes{position:sticky;top:78px;z-index:5;padding:8px 0;background:color-mix(in srgb,var(--surface) 91%,transparent);backdrop-filter:blur(12px)}.thought-modes .button{border-radius:999px;padding:8px 15px}.thought-feed{display:grid;gap:10px}.thought-card{position:relative;margin:0;padding:19px 20px;border-radius:16px;transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease}.thought-card:hover{border-color:color-mix(in srgb,var(--blue) 24%,var(--line));box-shadow:0 10px 30px #17283e08}.thought-author .avatar{width:40px;height:40px}.thought-author strong{font-size:12px}.thought-author small{font-size:9px}.thought-card>p{font-size:14px;line-height:1.72;margin:15px 0 17px}.thought-actions{gap:5px}.thought-actions .button{border:0;background:transparent;border-radius:999px;padding:7px 10px;color:var(--muted)}.thought-actions .button:hover{background:var(--blue-soft);color:var(--blue)}.thought-actions .button svg{width:14px;height:14px}.thought-actions .selected{background:var(--blue-soft);color:var(--blue)}.thought-reach{margin-left:auto}.comment-root{margin:-4px -4px 14px;padding-bottom:14px;border-bottom:1px solid var(--line)}.comment-root .thought-card{background:var(--surface)}.comment-list{display:grid;gap:4px;max-height:42dvh;overflow:auto;margin:0 -5px 16px;padding:0 5px}.comment-card{border:0;border-radius:10px;padding:13px;background:transparent}.comment-card:hover{box-shadow:none;background:var(--surface)}.comment-card .avatar{width:32px;height:32px}.comment-card>p{font-size:12px;margin:10px 0}.comment-card .thought-actions{border:0;padding-top:0}.comment-form{padding-top:15px;border-top:1px solid var(--line)}.comments-empty{text-align:center;padding:28px 15px;color:var(--muted)}.comments-empty strong{display:block;color:var(--ink);font-size:13px}.comments-empty p{font-size:10px;margin-top:7px}
.public-profile-page{max-width:1010px;padding:28px 30px 70px}.profile-back{display:inline-flex;align-items:center;gap:7px;border:0;background:transparent;color:var(--muted);padding:8px 0;margin-bottom:10px}.profile-back svg{width:16px}.public-profile-summary{overflow:hidden;background:var(--panel);border:1px solid var(--line);border-radius:20px;box-shadow:0 12px 38px #17283e09}.public-gallery{display:grid;grid-template-columns:2fr 1fr;gap:5px;height:480px;background:var(--surface)}.public-gallery.single{display:block}.public-gallery-main,.public-gallery-side{min-width:0;min-height:0}.public-gallery-side{display:grid;grid-template-rows:1fr 1fr;gap:5px}.public-gallery .person-photo{width:100%;height:100%;object-fit:cover}.public-identity{display:flex;align-items:flex-start;justify-content:space-between;gap:24px;padding:25px 28px;border-bottom:1px solid var(--line)}.public-name-row{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.public-name-row h1{font-size:31px;letter-spacing:-1px}.public-identity>div>p{margin-top:6px;color:var(--muted);font-size:12px}.public-identity .detail-distance{margin-top:13px}.public-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap;justify-content:flex-end}.public-actions .button{white-space:nowrap}.public-actions .icon-button{width:42px;height:42px;min-height:42px;border:1px solid var(--line)}.public-identity>.sent-like-note{display:none}.public-sections{display:grid;grid-template-columns:1fr 1fr;gap:0}.public-sections>section{padding:26px 28px;border-bottom:1px solid var(--line)}.public-sections>section:nth-child(odd){border-right:1px solid var(--line)}.public-sections .public-answers{grid-column:1/-1;border-right:0}.public-bio{font-size:14px;line-height:1.75;margin:12px 0}.public-sections .interest-details{margin-top:12px}.public-sections .interest-details summary{font-size:11px}.public-answers{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.public-answers>.eyebrow{grid-column:1/-1}.public-answers .answer-card{margin:0}.public-profile-page>.profile-wall{margin-top:18px;padding:24px;border-radius:18px}.profile-wall>header{display:flex;align-items:center;justify-content:space-between;margin-bottom:18px}.profile-wall>header h2{margin:5px 0 0}.profile-wall>header>span{display:grid;place-items:center;width:31px;height:31px;border-radius:50%;background:var(--blue-soft);color:var(--blue);font-size:10px}.profile-wall>.thought-card+.thought-card{border-top:1px solid var(--line);padding-top:18px;margin-top:4px}
.support-page{max-width:900px;margin:auto;padding:36px 30px 70px}.support-hero{display:flex;align-items:flex-end;justify-content:space-between;gap:30px;padding:28px 30px;border-radius:18px;background:linear-gradient(135deg,color-mix(in srgb,var(--blue-soft) 86%,var(--panel)),var(--panel));border:1px solid var(--line)}.support-hero h1{font-size:31px;letter-spacing:-1px;margin:8px 0}.support-hero p{max-width:540px;color:var(--muted);font-size:12px;line-height:1.65}.support-promises{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:12px 0 30px}.support-promises>div{display:flex;align-items:center;gap:11px;padding:15px;border:1px solid var(--line);border-radius:13px;background:var(--panel)}.support-promises svg{width:20px;color:var(--blue)}.support-promises strong,.support-promises small{display:block}.support-promises strong{font-size:10px}.support-promises small{font-size:8px;color:var(--muted);margin-top:4px}.ticket-section>h2{font-size:20px;margin-bottom:14px}.ticket-section>h2 span{color:var(--muted);font-weight:400}.ticket-card{border:1px solid var(--line);border-radius:14px;background:var(--panel);overflow:hidden;margin-bottom:9px}.ticket-card summary{list-style:none;cursor:pointer;display:grid;grid-template-columns:auto 1fr auto auto;align-items:center;gap:13px;padding:17px 18px}.ticket-card summary::-webkit-details-marker{display:none}.ticket-card summary>svg{width:14px;transition:transform .18s}.ticket-card details[open] summary>svg{transform:rotate(90deg)}.ticket-number{font-size:9px;color:var(--muted)}.ticket-card summary strong,.ticket-card summary small{display:block}.ticket-card summary strong{font-size:12px}.ticket-card summary small{font-size:9px;color:var(--muted);margin-top:5px}.ticket-status{padding:6px 8px;border-radius:999px;background:var(--surface);color:var(--muted);font-size:8px;font-weight:550}.status-open,.status-answered{background:#e9f6ef;color:#2d7953}.status-in_progress,.status-waiting_user{background:#fff4dc;color:#87651d}.ticket-thread{display:grid;gap:10px;padding:18px;background:var(--surface);border-top:1px solid var(--line)}.ticket-message{max-width:76%;padding:12px 14px;border-radius:13px 13px 13px 4px;background:var(--panel);border:1px solid var(--line)}.ticket-message.staff{margin-left:auto;border-radius:13px 13px 4px 13px;background:var(--blue-soft);border-color:transparent}.ticket-message strong{font-size:9px;color:var(--blue)}.ticket-message p{font-size:12px;line-height:1.6;margin:5px 0;white-space:pre-wrap}.ticket-message small{font-size:8px;color:var(--muted)}.ticket-reply-form{padding:16px 18px}.ticket-reply-form>div{display:flex;align-items:center;justify-content:flex-end;gap:8px}.ticket-closed{display:flex;align-items:center;justify-content:flex-end;gap:8px;padding:13px 18px;border-top:1px solid var(--line)}.ticket-closed>span{margin-right:auto;color:var(--muted);font-size:9px}.ticket-archive{margin-top:25px}.ticket-archive>summary{cursor:pointer;color:var(--muted);font-size:11px;margin-bottom:12px}
@media(max-width:700px){.topbar-actions{margin-left:auto}.topbar>[data-action="mobile-menu"]{margin-left:0;order:3}.topbar-actions{order:2}.notification-button{width:40px;height:40px}.thoughts-page{padding:18px 13px 90px}.thoughts-hero{padding:3px 4px 17px}.thoughts-hero h1{font-size:29px}.thought-compose{padding:15px;border-radius:14px}.thought-card{padding:16px 15px}.thought-actions .button{padding:7px}.thought-actions .button span{font-size:9px}.thought-reach{font-size:8px}.public-profile-page{padding:15px 0 90px}.profile-back{margin-left:16px}.public-profile-summary{border-radius:0;border-left:0;border-right:0}.public-gallery{height:400px;display:block}.public-gallery-side{display:none}.public-identity{display:block;padding:21px 18px}.public-name-row h1{font-size:28px}.public-actions{justify-content:stretch;margin-top:18px}.public-actions>.button:not(.icon-button){flex:1}.public-actions .icon-button{flex:0 0 42px}.public-sections{display:block}.public-sections>section,.public-sections>section:nth-child(odd){padding:22px 18px;border-right:0}.public-answers{display:block}.public-answers .answer-card{margin-top:10px}.public-profile-page>.profile-wall{border-radius:0;border-left:0;border-right:0;padding:20px 15px}.support-page{padding:18px 13px 90px}.support-hero{display:block;padding:22px 19px}.support-hero h1{font-size:27px}.support-hero .button{width:100%;margin-top:18px}.support-promises{grid-template-columns:1fr;margin:9px 0 24px}.support-promises>div{padding:12px 14px}.ticket-card summary{grid-template-columns:auto 1fr auto;padding:15px 13px}.ticket-card summary>svg{display:none}.ticket-status{grid-column:2;justify-self:start}.ticket-thread{padding:13px}.ticket-message{max-width:90%}.ticket-reply-form{padding:13px}.ticket-closed{flex-wrap:wrap;padding:12px}.ticket-closed>span{width:100%}.notification-setting{align-items:stretch;flex-direction:column}.notification-setting .button{width:100%}}

.profile-wall>.thought-card{padding:16px 0;border:0;border-radius:0;box-shadow:none}.profile-wall>.thought-card:hover{box-shadow:none;background:transparent}

.notification-permission{display:flex;align-items:center;gap:11px;padding:13px;margin-bottom:12px;border:1px solid var(--line);border-radius:12px;background:var(--blue-soft)}.notification-permission>svg{width:20px;color:var(--blue)}.notification-permission>span{min-width:0;flex:1}.notification-permission strong,.notification-permission small{display:block}.notification-permission strong{font-size:10px}.notification-permission small{font-size:8px;color:var(--muted);margin-top:4px}

/* Theme consistency and discussion system. */
:root,[data-theme="light"]{--success:#237553;--success-soft:#e9f6ef;--warning:#86621c;--warning-soft:#fff4dc;--danger:#b44e5e;--danger-soft:#fdecef}
[data-theme="dark"]{--success:#75d5a8;--success-soft:#17352b;--warning:#e0bd67;--warning-soft:#382f1c;--danger:#f09aaa;--danger-soft:#3b2229}
[data-theme="blue"]{--success:#27765b;--success-soft:#e2f5ed;--warning:#7d671f;--warning-soft:#fff5d9;--danger:#b94f62;--danger-soft:#fce9ed}
[data-theme="pink"]{--success:#39755d;--success-soft:#e9f5ef;--warning:#88671d;--warning-soft:#fff4dc;--danger:#b33d69;--danger-soft:#fde8f0}
[data-theme="green"]{--success:#247255;--success-soft:#e2f4eb;--warning:#80631d;--warning-soft:#fff4d9;--danger:#af505c;--danger-soft:#fbeaec}
[data-theme="cyber"]{--success:#52ffa0;--success-soft:#0b2e20;--warning:#d7fb65;--warning-soft:#26300f;--danger:#ff7189;--danger-soft:#35121a}
.common-line,.match-context,.bubble.mine{background:var(--blue-soft);color:var(--ink)}.common-line strong,.match-context p{color:var(--ink)}
.reaction-note,.answer-like,.self-answer h3,.match-context small{color:var(--muted)!important}
.area-map{border-color:var(--line);background:var(--panel-soft)}
.map-city,.map-reset{border-color:var(--line);background:color-mix(in srgb,var(--panel) 94%,transparent);color:var(--ink);box-shadow:0 3px 14px var(--shadow)}
.map-status{background:color-mix(in srgb,var(--hero) 92%,transparent);box-shadow:0 5px 18px var(--shadow)}.map-status.selected{background:color-mix(in srgb,var(--success) 90%,transparent)}
.messages-layout,.chat-composer,.bubble,.modal-sheet,.modal-sheet>header,.city-results,.city-results button{background:var(--panel);color:var(--ink)}
.chat-log,.conversation.selected{background:var(--panel-soft)}.conversation.selected{color:var(--ink)}
.modal-backdrop{background:color-mix(in srgb,var(--hero) 48%,transparent)}
.status-open,.status-answered{background:var(--success-soft);color:var(--success)}.status-in_progress,.status-waiting_user{background:var(--warning-soft);color:var(--warning)}
.thought-compose,.thought-card,.public-profile-summary,.profile-wall,.support-hero{box-shadow:0 10px 32px var(--shadow)}
.thought-card:hover{box-shadow:0 10px 30px var(--shadow)}
.thought-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.thought-head .thought-author{min-width:0}
.thought-part-link{flex:0 0 auto;border:1px solid var(--line);border-radius:999px;background:var(--panel-soft);color:var(--blue);padding:6px 9px;font-size:9px;font-weight:700;cursor:pointer}
.thought-parts-editor{display:grid;gap:8px;margin:10px 0}.thought-part-editor{position:relative;padding:13px 13px 8px;border:1px solid var(--line);border-radius:13px;background:var(--panel-soft)}.thought-part-editor textarea{margin:0;padding:8px 2px 5px;border:0;background:transparent;box-shadow:none}.thought-part-editor textarea:focus{box-shadow:none}.thought-part-number{display:inline-flex;padding:4px 7px;border-radius:999px;background:var(--blue-soft);color:var(--blue);font-size:8px;font-weight:700}.thought-part-editor>.text-button{position:absolute;right:8px;top:6px;min-height:28px;padding:5px 7px;font-size:8px}.thought-part-editor>small{display:block;text-align:right;color:var(--muted);font-size:8px}.thought-compose-footer{display:grid!important;grid-template-columns:auto 1fr auto;align-items:center;gap:10px}.thought-compose-footer>small{text-align:center;color:var(--muted);font-size:9px}
.thread-sequence{display:grid;gap:8px;margin:-5px -4px 14px}.thread-sequence .comment-card{border:1px solid var(--line);background:var(--panel-soft)}.thread-sequence .thought-part-link{pointer-events:none}.discussion-divider{display:flex;align-items:center;gap:10px;margin:15px 0 10px;color:var(--muted);font-size:9px;font-weight:650}.discussion-divider::before,.discussion-divider::after{content:'';height:1px;background:var(--line);flex:1}
.comment-list .comment-card{margin-left:calc(min(var(--discussion-depth),3) * 18px);border-left:2px solid color-mix(in srgb,var(--blue) 30%,var(--line))}.comment-list .comment-card:hover{background:var(--panel-soft)}.comment-list{max-height:45dvh}.comment-card .thought-report-button{margin-left:auto}.thought-report-button{font-size:8px!important}.replying-to{display:flex;justify-content:space-between;align-items:center;padding:9px 11px;margin-bottom:8px;border-radius:9px;background:var(--blue-soft);color:var(--muted);font-size:9px}.replying-to strong{color:var(--ink)}.replying-to .button{min-height:27px;padding:4px 7px;font-size:8px}
.limits-note{padding:13px 14px;border:1px solid var(--line);border-radius:11px;background:var(--blue-soft);font-size:10px;line-height:1.65;color:var(--muted)}.limits-list{display:grid;gap:8px;margin:14px 0}.limit-row{display:grid;grid-template-columns:1fr auto;gap:6px 14px;padding:12px;border:1px solid var(--line);border-radius:10px;background:var(--panel-soft)}.limit-row strong,.limit-row small{display:block}.limit-row strong{font-size:10px}.limit-row small{margin-top:4px;color:var(--muted);font-size:8px}.limit-row>b{align-self:center;color:var(--blue);font-size:14px}.limit-row>i{grid-column:1/-1;height:4px;border-radius:999px;background:var(--line);overflow:hidden}.limit-row>i>em{display:block;height:100%;border-radius:inherit;background:var(--blue)}
[data-theme="dark"] .leaflet-tile,[data-theme="cyber"] .leaflet-tile{filter:brightness(.75) contrast(1.08) saturate(.75)}
[data-theme="cyber"] .modal-sheet,[data-theme="cyber"] .thought-card,[data-theme="cyber"] .ticket-card{box-shadow:0 0 0 1px #39ff8814,0 14px 45px #0009}
@media(max-width:600px){.thought-compose-footer{grid-template-columns:1fr auto}.thought-compose-footer>small{grid-row:2;grid-column:1/-1;text-align:left}.thought-compose-footer>.primary{grid-column:2;grid-row:1}.comment-list .comment-card{margin-left:calc(min(var(--discussion-depth),3) * 11px)}.thought-report-button{margin-left:auto!important}.thread-sequence .thought-card{padding:14px}}

/* Thought controls, reposts, emoji and smoother settings. */
.theme-switching *{transition:none!important}.recommendation-label{display:inline-flex;margin:10px 0 -5px;padding:5px 8px;border-radius:999px;background:var(--blue-soft);color:var(--blue);font-size:8px;font-weight:650}.repost-label{margin:-3px 0 13px;padding-bottom:9px;border-bottom:1px solid var(--line);color:var(--muted);font-size:9px;font-weight:600}.thought-owner-action{font-size:8px!important}.thought-owner-action.danger{color:var(--danger)!important}.thought-actions{flex-wrap:wrap}.thought-reach{align-self:center}.thought-editor-meta{display:flex;align-items:center;justify-content:space-between;gap:8px}.thought-editor-meta>small{color:var(--muted);font-size:8px}.emoji-tools{position:relative;width:max-content}.emoji-tools>.button{min-height:30px;padding:5px 7px;font-size:9px}.emoji-picker{position:absolute;left:0;bottom:36px;z-index:20;width:238px;display:grid;grid-template-columns:repeat(6,1fr);gap:3px;padding:8px;border:1px solid var(--line);border-radius:12px;background:var(--panel);box-shadow:0 12px 34px var(--shadow)}.emoji-picker[hidden]{display:none}.emoji-option{display:grid;place-items:center;min-height:34px!important;padding:3px!important;border:0!important;border-radius:7px!important;background:transparent!important;font-size:18px!important}.emoji-option:hover{background:var(--panel-soft)!important}.comment-form>.emoji-tools,.thought-edit-form>.emoji-tools{margin:-2px 0 7px}.thought-edit-form .thought-parts-editor{margin-top:0}
.share-chat-list{display:grid;gap:7px;margin-top:12px}.share-chat{display:grid;grid-template-columns:42px 1fr 16px;align-items:center;gap:11px;width:100%;padding:11px;border:1px solid var(--line);border-radius:11px;background:var(--panel);color:var(--ink);text-align:left}.share-chat:hover{background:var(--panel-soft);border-color:color-mix(in srgb,var(--blue) 28%,var(--line))}.share-chat .avatar{width:42px;height:42px}.share-chat span{min-width:0}.share-chat strong,.share-chat small{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.share-chat strong{font-size:11px}.share-chat small{margin-top:4px;color:var(--muted);font-size:8px}.share-chat>svg{width:14px;color:var(--muted)}
.shared-thought{display:block;width:100%;margin:0 0 8px;padding:11px;border:1px solid color-mix(in srgb,var(--blue) 25%,var(--line));border-radius:10px;background:var(--panel);color:var(--ink);text-align:left}.shared-thought small,.shared-thought strong,.shared-thought span{display:block}.shared-thought small{color:var(--blue);font-size:8px}.shared-thought strong{margin:6px 0;font-size:10px;line-height:1.45}.shared-thought span{color:var(--muted);font-size:8px}.shared-thought.unavailable{opacity:.72}.bubble.mine .shared-thought{background:color-mix(in srgb,var(--panel) 72%,var(--blue-soft))}
.settings-jump button{flex:0 0 auto;padding:9px 12px;border:1px solid var(--line);border-radius:9px;background:var(--panel-soft);color:var(--ink);font:inherit;font-size:10px;font-weight:600;cursor:pointer}.settings-jump button:hover{color:var(--blue);border-color:color-mix(in srgb,var(--blue) 28%,var(--line))}.settings-section{scroll-margin-top:76px}
.self-wall{max-width:945px;margin:0 40px 60px;padding:22px}.self-wall>header{display:flex;align-items:center;justify-content:space-between;margin-bottom:16px}.self-wall>header h2{margin:5px 0 0}.self-wall>header>span{display:grid;place-items:center;width:31px;height:31px;border-radius:50%;background:var(--blue-soft);color:var(--blue);font-size:10px}
@media(max-width:1150px){.self-wall{max-width:600px;margin-left:auto;margin-right:auto}}
@media(max-width:600px){.emoji-picker{position:fixed;left:14px;right:14px;bottom:calc(18px + env(safe-area-inset-bottom));width:auto;grid-template-columns:repeat(8,1fr);z-index:40}.thought-actions .thought-owner-action{margin-left:0}.repost-label{font-size:8px}.shared-thought{padding:10px}.self-wall{margin:0 13px 90px;padding:16px}}

/* Final product audit: compact actions, stable surfaces and predictable touch targets. */
button:disabled{cursor:not-allowed}.like-button,.send-button{background:var(--blue);color:#fff}.like-button:hover,.send-button:hover{background:var(--accent-hover)}[data-theme="dark"] .like-button,[data-theme="dark"] .send-button,[data-theme="cyber"] .like-button,[data-theme="cyber"] .send-button{color:#06100c}
.photo-upload,.profile-nudge,.settings-section,.notification-setting,.share-chat,.ticket-card,.answer-card,.test-notice{background:var(--panel);border-color:var(--line);color:var(--ink)}.photo-upload{background:var(--panel-soft);color:var(--muted)}.test-notice{background:var(--warning-soft);color:var(--warning)!important}.mail-body{background:var(--surface)}
.thought-actions{display:flex;align-items:center;gap:4px;min-height:38px;padding-top:11px;border-top:1px solid var(--line)}.thought-actions .thought-action-icon{display:inline-flex;align-items:center;gap:5px;min-width:38px;width:auto;height:38px;min-height:38px;padding:8px 10px;border:0;border-radius:999px;background:transparent;color:var(--muted)}.thought-actions .thought-action-icon:hover{background:var(--blue-soft);color:var(--blue)}.thought-actions .thought-action-icon.selected{background:var(--blue-soft);color:var(--blue)}.thought-action-icon svg{width:17px!important;height:17px!important}.thought-action-icon span{font-size:9px;font-variant-numeric:tabular-nums}.thought-reply{min-height:38px!important;padding:7px 10px!important;color:var(--muted)!important}.thought-reach{margin-left:auto;padding:0 3px;color:var(--muted);font-size:8px;white-space:nowrap}.repost-label{display:flex;align-items:center;gap:6px}.repost-label svg{width:13px;height:13px}
.thought-menu-list{display:grid;gap:8px}.thought-menu-item{display:grid;grid-template-columns:38px 1fr;align-items:center;justify-content:stretch;width:100%;min-height:64px;padding:11px 13px;border:1px solid var(--line);border-radius:12px;background:var(--panel);color:var(--ink);text-align:left}.thought-menu-item:hover{border-color:color-mix(in srgb,var(--blue) 32%,var(--line));background:var(--panel-soft)}.thought-menu-item>svg{width:20px;height:20px;color:var(--blue)}.thought-menu-item>span{display:block}.thought-menu-item strong,.thought-menu-item small{display:block}.thought-menu-item strong{font-size:12px}.thought-menu-item small{margin-top:4px;color:var(--muted);font-size:9px;font-weight:400}.thought-menu-item.danger>svg,.thought-menu-item.danger strong{color:var(--danger)}
.button,.icon-button,.nav-item,.notification-button,.thought-action-icon{touch-action:manipulation}.button:active:not(:disabled),.icon-button:active:not(:disabled),.thought-action-icon:active:not(:disabled){transform:scale(.97)}.thought-author{min-width:0}.thought-author span{min-width:0}.thought-author strong,.thought-author small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.thought-card>p,.ticket-message p,.notification-item strong{overflow-wrap:anywhere}
@media(max-width:600px){.thought-actions{gap:2px}.thought-actions .thought-action-icon,.thought-actions .thought-reply{min-width:44px;height:44px;min-height:44px;padding:9px}.thought-reach{font-size:8px}.modal-content{overflow-x:hidden}.thought-menu-item{min-height:66px}.thought-card>p{font-size:13px;line-height:1.68}.thought-author{max-width:calc(100% - 48px)}}
@media(max-width:360px){.thought-actions .thought-action-icon,.thought-actions .thought-reply{min-width:40px;width:auto;padding:8px}.thought-reach{width:100%;margin:2px 0 0;padding-left:8px}.thought-card{padding-left:13px;padding-right:13px}}

/* Profile entry point and avatar focus editor. */
.sidebar-self-profile{display:flex;align-items:center;gap:9px;min-width:0;flex:1;padding:5px;border:0;border-radius:10px;background:transparent;color:var(--ink);text-align:left}.sidebar-self-profile:hover{background:var(--panel-soft)}.sidebar-self-profile>span{min-width:0}.sidebar-self-profile strong,.sidebar-self-profile small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.sidebar-self-profile:focus-visible{outline:3px solid var(--blue-soft);outline-offset:2px}
.mobile-menu-account{width:100%;border:0;background:transparent;color:var(--ink);text-align:left;cursor:pointer}.mobile-menu-account>span{min-width:0;flex:1;margin:0}.mobile-menu-account>span strong,.mobile-menu-account>span small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mobile-menu-account>span small{margin-top:5px;color:var(--muted);font-size:10px}.mobile-menu-account>svg{width:16px;color:var(--muted)}
.managed-photo>[data-action="photo-focus"]{left:5px;right:auto;top:39px;background:color-mix(in srgb,var(--panel) 90%,transparent);color:var(--blue)}
.focus-help{margin-bottom:15px!important}.focus-editor{display:grid;grid-template-columns:minmax(0,1fr) 116px;gap:18px;align-items:center;margin-bottom:22px}.focus-source{position:relative;display:grid;place-items:center;aspect-ratio:1;overflow:hidden;border:1px solid var(--line);border-radius:14px;background:var(--panel-soft);cursor:crosshair;touch-action:none}.focus-source>img{display:block;width:100%;height:100%;object-fit:contain;pointer-events:none;user-select:none}.focus-point{position:absolute;width:46px;height:46px;border:2px solid #fff;border-radius:50%;transform:translate(-50%,-50%);box-shadow:0 0 0 2px var(--blue),0 4px 18px #0005;pointer-events:none}.focus-point::after{content:'';position:absolute;left:50%;top:50%;width:6px;height:6px;border-radius:50%;background:var(--blue);transform:translate(-50%,-50%)}.focus-result{text-align:center}.focus-result img{display:block;width:106px;height:106px;margin:0 auto 9px;border:3px solid var(--panel);border-radius:50%;object-fit:cover;box-shadow:0 0 0 1px var(--line),0 8px 24px var(--shadow)}.focus-result small{color:var(--muted);font-size:9px;line-height:1.4}.thought-action-icon[data-action="thought-vote"][data-value="1"].selected svg{fill:currentColor}
@media(max-width:600px){.focus-editor{grid-template-columns:1fr}.focus-source{max-height:46dvh}.focus-result{display:flex;align-items:center;justify-content:center;gap:14px;text-align:left}.focus-result img{width:82px;height:82px;margin:0}.managed-photo>[data-action="photo-focus"]{top:48px}}

/* Thoughts: aligned composer, familiar actions and moderation feedback. */
.thought-compose>.compose-author{display:flex;justify-content:flex-start;align-items:center;width:100%;padding:0 1px 11px;border-bottom:1px solid var(--line)}.thought-compose>.thought-parts-editor{display:grid;align-items:stretch;justify-content:stretch;width:100%;gap:10px;margin:12px 0}.thought-compose .thought-part-editor{width:100%;min-width:0;padding:15px 16px 10px}.thought-compose .thought-part-editor textarea{width:100%;min-height:104px}.thought-compose>.thought-compose-footer{width:100%}
.thought-reach{display:inline-flex;align-items:center;gap:5px}.thought-reach svg{width:16px!important;height:16px!important}.thought-reach b{font-size:9px;font-weight:600;font-variant-numeric:tabular-nums}.thought-limited{display:grid;grid-template-columns:auto 1fr;gap:8px;align-items:baseline;background:var(--warning-soft);color:var(--warning)}.thought-limited strong{font-size:9px}.thought-limited span{font-size:9px;line-height:1.5}
.moderation-flagged{border-color:var(--danger)!important;box-shadow:0 0 0 2px color-mix(in srgb,var(--danger) 14%,transparent)!important}.moderation-warning{display:grid;grid-template-columns:24px 1fr;gap:11px;margin:12px 0;padding:14px;border:1px solid color-mix(in srgb,var(--danger) 38%,var(--line));border-radius:12px;background:color-mix(in srgb,var(--danger) 8%,var(--panel));color:var(--ink)}.moderation-warning>svg{width:20px;color:var(--danger)}.moderation-warning strong{display:block;color:var(--danger);font-size:11px}.moderation-warning p{margin:5px 0 10px;font-size:10px;line-height:1.6;color:var(--muted)}.moderation-warning>div>div{display:flex;align-items:center;gap:10px}.moderation-warning .button{min-height:38px;font-size:10px}
.liker-list{display:grid;gap:7px}.liker-row{display:grid;grid-template-columns:44px 1fr 16px;align-items:center;gap:11px;width:100%;padding:10px;border:1px solid var(--line);border-radius:11px;background:var(--panel);color:var(--ink);text-align:left}.liker-row:hover{background:var(--panel-soft);border-color:color-mix(in srgb,var(--blue) 30%,var(--line))}.liker-row .avatar{width:44px;height:44px}.liker-row>span{min-width:0}.liker-row strong,.liker-row small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.liker-row strong{font-size:11px}.liker-row small{margin-top:4px;color:var(--muted);font-size:9px}.liker-row>svg{width:14px;color:var(--muted)}
@media(max-width:600px){.thought-compose .thought-part-editor{padding:13px 13px 9px}.thought-compose .thought-part-editor textarea{min-height:92px}.moderation-warning{grid-template-columns:20px 1fr;padding:12px}.moderation-warning>div>div{align-items:stretch;flex-direction:column;gap:2px}.moderation-warning .button{width:100%}.thought-actions{flex-wrap:nowrap}.thought-reach{margin-left:auto}.thought-reach svg{width:15px!important}}
.thought-like-wrap{position:relative;display:inline-flex}.thought-likers-hover{position:absolute;left:0;bottom:calc(100% + 7px);z-index:4;display:none;width:max-content;min-height:30px;padding:6px 10px;border:1px solid var(--line);border-radius:8px;background:var(--panel);box-shadow:0 9px 24px var(--shadow);color:var(--ink);font-size:9px}.thought-like-wrap:hover .thought-likers-hover,.thought-likers-hover:focus{display:block}.thought-preview{display:grid;gap:7px;margin:4px 0 0;padding:10px 4px 0 47px;border-top:1px solid color-mix(in srgb,var(--line) 65%,transparent)}.thought-preview-row{display:grid;grid-template-columns:28px minmax(0,1fr);align-items:center;gap:8px;border:0;background:transparent;color:var(--ink);padding:0;text-align:left}.thought-preview-row .avatar{width:28px;height:28px}.thought-preview-row span,.thought-preview-row strong,.thought-preview-row small{display:block;min-width:0}.thought-preview-row strong{font-size:9px}.thought-preview-row small{margin-top:2px;overflow:hidden;color:var(--muted);font-size:9px;text-overflow:ellipsis;white-space:nowrap}.thought-preview-all{justify-self:start;border:0;background:transparent;color:var(--blue);padding:3px 0;font-size:9px;font-weight:650}.reply-context{color:var(--blue)!important;font-size:8px!important}.comment-list .comment-card{position:relative;margin-left:calc(min(var(--discussion-depth),3) * 20px);border-left:0}.comment-list .comment-card::before{content:"";position:absolute;left:-10px;top:-5px;bottom:-5px;width:2px;border-radius:2px;background:color-mix(in srgb,var(--blue) 28%,var(--line))}.comment-list .comment-card::after{content:"";position:absolute;left:-10px;top:30px;width:8px;height:2px;background:color-mix(in srgb,var(--blue) 28%,var(--line))}
@media(max-width:600px){.thought-likers-hover{display:none!important}.thought-preview{padding-left:3px}.comment-list .comment-card{margin-left:calc(min(var(--discussion-depth),3) * 12px)}}

/* A quieter, continuous Thoughts feed with occasional highlighted replies. */
.thought-feed{gap:0;overflow:hidden;border:1px solid var(--line);border-radius:18px;background:var(--panel);box-shadow:0 10px 32px var(--shadow)}.thought-feed>.thought-card{margin:0;padding:21px 22px;border:0;border-radius:0;background:transparent;box-shadow:none}.thought-feed>.thought-card+.thought-card{border-top:1px solid var(--line)}.thought-feed>.thought-card:hover{border-color:var(--line);background:color-mix(in srgb,var(--panel-soft) 45%,transparent);box-shadow:none;transform:none}.thought-feed .thought-card>p,.thought-feed .thought-card>.recommendation-label,.thought-feed .thought-card>.thought-limited{margin-left:51px}.thought-feed .thought-card>.thought-actions{margin-left:47px;border-top:0;padding-top:2px}.thought-feed .thought-author .avatar{width:42px;height:42px}.thought-feed .thought-card>p{margin-top:10px;margin-bottom:10px;font-size:14px;line-height:1.58}.thought-feed .recommendation-label{margin-top:8px;margin-bottom:0}.thought-feed .thought-actions .thought-action-icon{width:38px;height:34px;min-height:34px;padding:7px 9px}.thought-feed .thought-actions .thought-action-icon:hover{background:var(--panel-soft)}
.thought-preview{position:relative;display:block;margin:10px 0 0 20px;padding:11px 0 0 31px;border-top:0}.thought-thread-line{position:absolute;left:0;top:-19px;bottom:31px;width:2px;border-radius:2px;background:color-mix(in srgb,var(--muted) 32%,var(--line))}.thought-preview-main{min-width:0}.thought-preview-author{display:flex;align-items:center;gap:10px;width:100%;padding:0;border:0;background:transparent;color:var(--ink);text-align:left}.thought-preview-author .avatar{width:36px!important;height:36px!important}.thought-preview-author>span{min-width:0}.thought-preview-author strong,.thought-preview-author small{display:block}.thought-preview-author strong{font-size:11px}.thought-preview-author small{margin-top:2px;color:var(--muted);font-size:8px}.thought-preview-text{display:block;width:100%;padding:7px 0 5px;border:0;background:transparent;color:var(--ink);font-size:12px;line-height:1.5;text-align:left;white-space:normal;overflow-wrap:anywhere}.thought-preview-actions{display:flex;align-items:center;gap:4px}.thought-preview-actions .thought-action-icon{display:inline-flex;align-items:center;gap:5px;min-width:34px;min-height:32px;padding:6px 8px;border:0;border-radius:999px;background:transparent;color:var(--muted)}.thought-preview-actions .thought-action-icon:hover,.thought-preview-actions .thought-action-icon.selected{background:var(--blue-soft);color:var(--blue)}.thought-preview-actions svg{width:15px;height:15px}.thought-preview-actions span{font-size:8px}.thought-preview-all{margin-top:4px;color:var(--muted);font-weight:600}.thought-preview-all:hover{color:var(--blue)}
@media(max-width:600px){.thought-feed{margin:0 -2px;border-radius:15px}.thought-feed>.thought-card{padding:17px 15px}.thought-feed .thought-card>p,.thought-feed .thought-card>.recommendation-label,.thought-feed .thought-card>.thought-limited{margin-left:48px}.thought-feed .thought-card>.thought-actions{margin-left:42px}.thought-feed .thought-actions .thought-action-icon{min-width:39px;width:39px;height:40px;min-height:40px;padding:8px}.thought-feed .thought-actions .thought-reach{width:auto;margin-left:auto;padding-left:2px}.thought-preview{margin-left:19px;padding-left:29px}.thought-thread-line{top:-17px}.thought-preview-text{font-size:12px}}
.thought-head{display:flex;align-items:flex-start;gap:7px}.thought-head>.thought-author{min-width:0;flex:1}.thought-head>.icon-button{flex:0 0 34px;width:34px;height:34px;min-height:34px;border:0;background:transparent;color:var(--muted)}.thought-head>.icon-button:hover{background:var(--panel-soft);color:var(--ink)}.thought-fab{display:none}.thought-compose-modal{margin:0;border:0;box-shadow:none}.thought-compose-modal .compose-author>span strong,.thought-compose-modal .compose-author>span small{display:block}.thought-compose-modal .compose-author>span small{margin-top:3px;color:var(--muted);font-size:8px}
@media(max-width:700px){.thoughts-page{max-width:none;margin:0;padding:0 0 94px}.thoughts-hero{display:flex;align-items:center;justify-content:center;min-height:60px;padding:13px 18px;border-bottom:1px solid var(--line);background:var(--panel)}.thoughts-hero .eyebrow,.thoughts-hero p{display:none}.thoughts-hero h1{margin:0;font-size:20px;letter-spacing:-.35px}.thoughts-page>.thought-compose{display:none}.thought-modes{top:64px;justify-content:center;gap:4px;margin:0;padding:8px 12px;border-bottom:1px solid var(--line);background:color-mix(in srgb,var(--panel) 94%,transparent)}.thought-modes .button{min-height:34px;padding:6px 16px;border:0;background:transparent;font-size:10px}.thought-modes .selected{background:var(--panel-soft);box-shadow:inset 0 0 0 1px var(--line)}.thought-feed{margin:0;overflow:visible;border:0;border-radius:0;background:var(--panel);box-shadow:none}.thought-feed>.thought-card{padding:18px 16px 15px}.thought-feed>.thought-card+.thought-card{border-top:1px solid var(--line)}.thought-feed>.thought-card:hover{background:transparent}.thought-feed .thought-author .avatar{width:46px;height:46px}.thought-feed .thought-author>span{display:flex;align-items:baseline;flex-wrap:wrap;gap:0 6px;padding-top:1px}.thought-feed .thought-author strong{font-size:14px}.thought-feed .thought-author small{display:inline;margin:0;font-size:10px}.thought-feed .thought-city{display:none}.thought-feed .thought-card>p{margin:6px 3px 9px 52px;font-size:16px;line-height:1.47;letter-spacing:-.1px}.thought-feed .thought-card>.recommendation-label,.thought-feed .thought-card>.thought-limited{margin-left:52px}.thought-feed .thought-card>.thought-actions{gap:11px;margin-left:46px;padding:0}.thought-feed .thought-actions .thought-action-icon{display:inline-flex;width:auto;min-width:35px;height:40px;min-height:40px;padding:8px 5px}.thought-feed .thought-actions .thought-action-icon svg{width:21px!important;height:21px!important;stroke-width:1.55}.thought-feed .thought-actions .thought-action-icon span{font-size:11px}.thought-feed .thought-actions .thought-reach{gap:4px;margin-left:auto;color:var(--muted)}.thought-feed .thought-actions .thought-reach svg{width:17px!important}.thought-head>.icon-button{width:38px;height:38px;min-height:38px;margin:-2px -6px 0 0}.thought-part-link{margin-left:auto}.thought-preview{margin:3px 0 0 22px;padding:10px 0 0 30px}.thought-thread-line{top:-15px;bottom:31px}.thought-preview-author .avatar{width:40px!important;height:40px!important}.thought-preview-author strong{font-size:13px}.thought-preview-text{width:calc(100% - 48px);margin:6px 0 2px 48px;padding:0;font-size:14px;line-height:1.48}.thought-preview-actions{gap:9px;margin-left:43px}.thought-preview-actions .thought-action-icon{min-width:34px;height:37px;padding:7px 4px}.thought-preview-actions svg{width:19px;height:19px}.thought-preview-actions span{font-size:10px}.thought-preview-all{margin-left:47px;font-size:10px}.thought-fab{position:fixed;right:18px;bottom:calc(76px + env(safe-area-inset-bottom));z-index:12;display:grid;place-items:center;width:56px;height:56px;min-height:56px;padding:0;border:1px solid color-mix(in srgb,var(--ink) 10%,var(--line));border-radius:50%;background:var(--ink);color:var(--panel);box-shadow:0 10px 28px var(--shadow)}.thought-fab svg{width:24px;height:24px}.thought-compose-modal{display:block!important;padding:0}.thought-compose-modal .thought-parts-editor{margin-top:10px}}

/* Thoughts feed controls and equal-scale highlighted replies. */
.thought-toolbar{position:sticky;top:78px;z-index:5;display:flex;align-items:center;justify-content:flex-start;gap:7px;margin:16px 0;padding:8px 0;background:color-mix(in srgb,var(--surface) 92%,transparent);backdrop-filter:blur(12px)}
.thought-toolbar .button{display:inline-flex;align-items:center;gap:7px;min-height:38px;padding:8px 12px;border:1px solid var(--line);border-radius:999px;background:var(--panel);color:var(--muted);font-size:10px}
.thought-toolbar .button:hover,.thought-toolbar .button.selected{border-color:color-mix(in srgb,var(--blue) 34%,var(--line));background:var(--blue-soft);color:var(--blue)}
.thought-toolbar svg{width:15px;height:15px}.thought-actions>.thought-like-wrap{margin-left:0!important}.comment-card .thought-actions{justify-content:flex-start}
.thought-preview-author .avatar{width:42px!important;height:42px!important}.thought-preview-author strong{font-size:12px}.thought-preview-text{font-size:14px}
@media(max-width:700px){.thought-toolbar{top:64px;margin:0;padding:8px 12px;border-bottom:1px solid var(--line);background:color-mix(in srgb,var(--panel) 94%,transparent)}.thought-toolbar .button{min-height:36px;padding:7px 10px}.thought-toolbar .button span{max-width:210px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.thought-preview-author .avatar{width:46px!important;height:46px!important}.thought-preview-author strong{font-size:14px}.thought-preview-author small{font-size:10px}.thought-preview-text{width:calc(100% - 52px);margin-left:52px;font-size:16px;line-height:1.47}.thought-preview-actions{margin-left:47px}.thought-preview-all{margin-left:51px}.thought-feed .thought-actions>.thought-like-wrap{margin-left:0!important}}
@media(max-width:390px){.thought-toolbar .button span{max-width:145px}}

/* Local events: list, map and creation flow. */
.events-page{max-width:1040px;margin:0 auto;padding:36px 32px 72px}.events-hero{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;margin-bottom:24px}.events-hero h1{margin:7px 0 8px;font-size:38px;letter-spacing:-1.4px}.events-hero p{color:var(--muted);font-size:12px}.events-hero>.button{display:inline-flex;align-items:center;gap:8px}.events-hero>.button svg{width:17px;height:17px}.events-toolbar{position:sticky;top:78px;z-index:6;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 0 14px;background:color-mix(in srgb,var(--surface) 94%,transparent);backdrop-filter:blur(12px)}.view-switch{display:flex;padding:3px;border:1px solid var(--line);border-radius:11px;background:var(--panel)}.view-switch .button{display:flex;align-items:center;gap:6px;min-height:36px;padding:7px 12px;border:0;border-radius:8px;background:transparent;color:var(--muted);font-size:10px}.view-switch .selected{background:var(--blue-soft);color:var(--blue)}.view-switch svg,.event-filter-button svg{width:15px;height:15px}.event-filter-button{display:flex;align-items:center;gap:7px;max-width:55%;min-height:42px;border:1px solid var(--line);border-radius:999px;background:var(--panel);color:var(--ink)}.event-filter-button span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.event-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.event-card{overflow:hidden;border:1px solid var(--line);border-radius:16px;background:var(--panel);box-shadow:0 7px 24px var(--shadow)}.event-card-main{display:grid;grid-template-columns:48px minmax(0,1fr) 16px;gap:13px;width:100%;padding:18px;border:0;background:transparent;color:var(--ink);text-align:left}.event-card-main>span:nth-child(2){min-width:0}.event-card-main>svg{width:15px;color:var(--muted)}.event-format{display:grid;place-items:center;width:48px;height:48px;border-radius:14px;background:var(--blue-soft);color:var(--blue)}.event-format svg{width:22px;height:22px}.event-card-main small,.event-card-main strong,.event-card-main em,.event-card-main b{display:block}.event-card-main small{color:var(--blue);font-size:8px;font-weight:750;letter-spacing:.4px}.event-card-main strong{margin-top:6px;font-size:16px;line-height:1.3}.event-card-main em{margin-top:5px;color:var(--muted);font-size:9px;font-style:normal}.event-card-main p{display:-webkit-box;margin:11px 0;color:var(--muted);font-size:11px;line-height:1.55;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}.event-card-main b{font-size:9px;font-weight:600}.event-card-actions{display:flex;align-items:center;gap:7px;padding:10px 14px;border-top:1px solid var(--line)}.event-card-actions .button{min-height:36px;padding:7px 10px;border:0;background:transparent;color:var(--muted);font-size:9px}.event-card-actions .button svg{width:14px;height:14px}.event-card-actions .selected{background:var(--blue-soft);color:var(--blue)}.event-card-actions>span{margin-left:auto;color:var(--muted);font-size:9px}.events-map-layout{display:grid;grid-template-columns:minmax(0,1.5fr) 340px;gap:14px;height:calc(100dvh - 190px);min-height:520px}.events-map{height:100%;overflow:hidden;border:1px solid var(--line);border-radius:17px;background:var(--panel-soft)}.events-map-list{display:grid;align-content:start;gap:9px;overflow:auto}.events-map-list .event-list{display:block}.events-map-list .event-card{margin-bottom:9px}.event-map-marker{background:none;border:0}.event-map-marker span{display:grid;place-items:center;width:38px;height:38px;border:3px solid var(--panel);border-radius:50% 50% 50% 8px;background:var(--blue);color:white;transform:rotate(-45deg);box-shadow:0 7px 20px #17283e55}.event-map-marker svg{width:17px;transform:rotate(45deg)}
.event-detail-mark{display:flex;align-items:center;gap:8px;color:var(--blue);font-size:10px;font-weight:700}.event-detail-mark svg{width:19px;height:19px}.event-detail h3{margin:14px 0 18px;font-size:26px;line-height:1.25;letter-spacing:-.7px}.event-detail-facts{display:grid;grid-template-columns:1fr 1fr;gap:8px}.event-detail-facts>span{display:flex;align-items:flex-start;gap:8px;padding:11px;border:1px solid var(--line);border-radius:10px;background:var(--panel-soft)}.event-detail-facts svg{width:16px;flex:0 0 16px;color:var(--blue)}.event-detail-facts b{font-size:9px;line-height:1.5}.event-detail>p{margin:20px 0;font-size:13px;line-height:1.75;white-space:pre-wrap}.event-organizer{display:grid;grid-template-columns:42px 1fr 15px;align-items:center;gap:11px;width:100%;padding:12px;border:1px solid var(--line);border-radius:12px;background:var(--panel);color:var(--ink);text-align:left}.event-organizer .avatar{width:42px;height:42px}.event-organizer small,.event-organizer strong{display:block}.event-organizer small{color:var(--muted);font-size:8px}.event-organizer strong{margin-top:4px;font-size:11px}.event-organizer>svg{width:14px;color:var(--muted)}.event-detail-actions{display:flex;align-items:center;gap:8px;margin-top:18px}.event-detail-actions .button:not(.icon-button){flex:1}.event-create-form .area-field{margin:18px 0}.event-create-form label>small{display:block;margin-top:5px;color:var(--muted);font-size:8px}
@media(max-width:800px){.events-map-layout{grid-template-columns:1fr}.events-map-list{display:none}.event-list{grid-template-columns:1fr}}
@media(max-width:700px){.mobile-nav{grid-template-columns:repeat(6,1fr)}.events-page{padding:0 13px 94px}.events-hero{align-items:center;margin:0 -13px 8px;padding:14px 16px;border-bottom:1px solid var(--line);background:var(--panel)}.events-hero .eyebrow,.events-hero p{display:none}.events-hero h1{margin:0;font-size:20px;letter-spacing:-.3px}.events-hero>.button{width:42px;height:42px;min-height:42px;padding:0;font-size:0;border-radius:50%}.events-hero>.button svg{width:19px;height:19px;margin:auto}.events-toolbar{top:64px;margin:0 -13px;padding:8px 13px;border-bottom:1px solid var(--line);background:color-mix(in srgb,var(--panel) 95%,transparent)}.event-filter-button{max-width:57%;padding:8px 10px}.event-card{border-radius:14px;box-shadow:none}.event-card-main{grid-template-columns:44px minmax(0,1fr) 14px;padding:15px 13px}.event-format{width:44px;height:44px}.event-card-main strong{font-size:15px}.events-map-layout{height:calc(100dvh - 190px);min-height:430px}.events-map{margin:0 -13px;border-left:0;border-right:0;border-radius:0}.event-detail-facts{grid-template-columns:1fr}.event-detail-actions{flex-wrap:wrap}.event-detail-actions .icon-button{flex:0 0 42px}}
@media(max-width:390px){.mobile-nav button span{font-size:8px}.view-switch .button{padding:7px 9px}.event-filter-button span{max-width:115px}}



.event-card-main small.event-kind-urgent{color:#d94b56}.event-card-main small.event-kind-commercial{color:#8c62c7}.event-map-marker.event-kind-urgent span{background:#d94b56}.event-map-marker.event-kind-commercial span{background:#8c62c7}

/* Event forms and map layers share the application stacking order. */
.events-map,.area-map{isolation:isolate;z-index:0}.event-price[hidden]{display:none!important}#toast{z-index:1100}.event-attendee{display:flex;align-items:center;gap:12px;flex-wrap:wrap;padding:16px 0;border-bottom:1px solid var(--line)}.event-attendee>span{color:var(--muted)}.event-attendee>div{display:flex;gap:8px;margin-left:auto}.event-status{color:var(--muted)}
@media(max-width:600px){.event-create-form .form-pair{grid-template-columns:1fr}.event-card-actions .button{min-height:44px}.event-detail-actions{flex-wrap:wrap}}

.event-discussion{margin-top:24px;border-top:1px solid var(--line);padding-top:18px}.event-comment{padding:16px 0;border-bottom:1px solid var(--line)}.event-comment header,.event-comment footer{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.event-comment header small{color:var(--muted)}.event-comment p{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.6;margin:10px 0}.event-comment footer .button{min-height:40px}.event-discussion form{margin-top:20px}.event-card-actions{flex-wrap:wrap}.event-comment header button{color:var(--ink);font-weight:650}#ev-context{padding:10px;background:var(--panel-soft);margin-bottom:10px}#ev-context[hidden]{display:none}.event-card-actions .selected{color:var(--blue);background:var(--blue-soft)}

/* Messaging: compact composer, accessible controls and theme-aware surfaces. */
.chat-pane{position:relative}.conversation-list>h1{letter-spacing:-.6px}.conversation{border-radius:14px;margin:4px 0}.conversation[hidden]{display:none!important}.conversation.selected{background:var(--blue-soft)}.conversation span{min-width:0}.conversation small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.chat-list-filters{display:flex;gap:8px;margin:12px 0 16px}.chat-list-filters button{border:1px solid var(--line);border-radius:20px;background:var(--panel);color:var(--muted);padding:8px 12px;min-height:40px}.chat-list-filters button[aria-pressed=true]{color:var(--blue);background:var(--blue-soft);border-color:transparent}.chat-header{background:var(--panel);gap:10px}.chat-composer{position:relative;background:var(--panel);border-top:1px solid var(--line)}#message-form{display:flex;align-items:flex-end;gap:8px;border:1px solid var(--line);border-radius:22px;background:var(--panel-soft);padding:6px}#message-form textarea{flex:1;min-width:0;border:0!important;background:transparent!important;box-shadow:none!important;padding:10px 2px;min-height:44px;max-height:140px;font-size:15px;line-height:1.45}#message-form .send-button,.chat-emoji-toggle{flex:0 0 44px;width:44px;height:44px;min-height:44px;border-radius:50%;border:0}.chat-emoji-toggle{background:transparent;color:var(--muted);font-size:28px;padding:0}.chat-emoji-toggle:hover{background:var(--blue-soft);color:var(--blue)}.chat-log .bubble{position:relative;padding-right:36px;border-radius:18px;background:var(--panel-soft);color:var(--ink);box-shadow:none;max-width:85%}.chat-log .bubble.mine{background:var(--blue-soft);color:var(--ink);border:1px solid color-mix(in srgb,var(--blue) 15%,var(--line))}.chat-log .bubble>p{font-size:15px;line-height:1.55;white-space:pre-wrap;overflow-wrap:anywhere}.chat-log .bubble>small{color:var(--muted)}.message-tools{position:absolute;right:2px;top:3px;width:32px;height:32px;background:transparent;border:0;border-radius:50%;color:var(--muted);font-size:19px}.message-tools:hover,.message-tools:focus-visible{background:var(--panel);color:var(--blue)}.chat-quote{border-left:3px solid var(--blue);background:color-mix(in srgb,var(--panel) 65%,transparent);padding:8px 10px;border-radius:7px;margin-bottom:9px}.chat-quote small,.chat-quote span{display:block}.chat-quote span{font-size:12px;white-space:pre-wrap;overflow-wrap:anywhere}.chat-quote small{color:var(--blue);font-weight:650;margin-bottom:4px}.chat-jump{position:absolute;right:24px;bottom:150px;z-index:4;padding:10px 15px;min-height:44px;border:1px solid var(--line);border-radius:22px;background:var(--panel);color:var(--blue);box-shadow:0 4px 15px var(--shadow)}.chat-jump[hidden],#chat-reply-draft[hidden],#chat-emoji-panel[hidden]{display:none!important}#chat-reply-draft{display:flex;gap:12px;align-items:center;border-left:3px solid var(--blue);padding:8px 12px;margin-bottom:10px;background:var(--panel-soft);border-radius:8px}#chat-reply-draft>div{flex:1;min-width:0}#chat-reply-draft strong{font-size:11px;color:var(--blue)}#chat-reply-draft p{font-size:12px;margin:4px 0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}#chat-reply-draft>button{width:44px;height:44px;border:0;background:transparent;color:var(--muted);font-size:22px}#chat-emoji-panel{position:absolute;bottom:calc(100% + 8px);left:12px;width:min(390px,calc(100% - 24px));max-height:min(390px,50dvh);display:flex;flex-direction:column;z-index:8;background:var(--panel);border:1px solid var(--line);border-radius:18px;box-shadow:0 12px 36px var(--shadow);padding:12px}#chat-emoji-panel header{display:flex;justify-content:space-between;align-items:center}#chat-emoji-panel header button{border:0;background:transparent;color:var(--muted);font-size:24px;width:40px;height:40px}#chat-emoji-panel input{font-size:13px;margin:4px 0 10px;min-height:40px}#chat-emoji-panel nav{display:flex;gap:6px;overflow-x:auto;flex-shrink:0;padding-bottom:8px}#chat-emoji-panel nav button{white-space:nowrap;border:0;border-radius:12px;background:var(--panel-soft);color:var(--muted);padding:8px 10px;min-height:40px}#chat-emoji-panel nav button[aria-pressed=true]{background:var(--blue-soft);color:var(--blue)}#chat-emoji-grid{overflow:auto;min-height:0;overscroll-behavior:contain}#chat-emoji-grid h4{font-size:11px;color:var(--muted);margin:10px 0}#chat-emoji-grid>div{display:grid;grid-template-columns:repeat(auto-fill,minmax(40px,1fr));gap:2px}#chat-emoji-grid button{font-size:26px;border:0;background:transparent;min-height:44px;border-radius:9px;padding:4px}#chat-emoji-grid button:hover,#chat-emoji-grid button:focus-visible{background:var(--blue-soft)}#chat-emoji-grid p{grid-column:1/-1;color:var(--muted);font-size:12px}.chat-search-result{border-bottom:1px solid var(--line);padding:16px 0}.chat-search-result p{white-space:pre-wrap;overflow-wrap:anywhere;margin:7px 0;font-size:14px;line-height:1.5}.chat-search-result small{color:var(--muted)}
@media(max-width:600px){.chat-header{padding:10px}.chat-header .icon-button{flex-shrink:0}.chat-name{min-width:0}.chat-name strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.chat-composer{padding:10px 10px calc(10px + env(safe-area-inset-bottom))}.chat-composer>small{display:none}.chat-log .bubble{max-width:90%}.message-tools{width:36px;height:40px}.chat-jump{right:14px;bottom:110px}#chat-emoji-panel{max-height:42dvh;left:8px;width:calc(100% - 16px)}}

/* Thoughts: one consistent reading column and touch-sized controls. */
.message-status{display:inline-flex;align-items:center;vertical-align:middle;color:var(--muted);margin-left:4px}.message-status svg{width:16px;height:16px;stroke-width:2}.message-status svg+svg{margin-left:-10px}.message-status.is-read{color:var(--blue)}.message-status.is-read svg{stroke-width:2.8}
.thoughts-page{width:100%;max-width:720px;margin:0 auto;padding-bottom:100px}.thoughts-hero{padding:8px 0 16px;margin:0}.thoughts-hero h1{font-size:28px;line-height:1.2;margin:0}.thoughts-hero p{font-size:14px;margin:8px 0;color:var(--muted)}
.thought-compose-launch{display:flex;align-items:center;gap:12px;width:100%;padding:16px;border:1px solid var(--line);border-radius:16px;color:var(--muted);background:var(--panel);text-align:left;margin-bottom:14px;min-height:72px}.thought-compose-launch span{flex:1}.thought-compose-launch .avatar{width:42px;height:42px;flex:0 0 42px}.thought-compose-launch>svg{width:22px;height:22px;color:var(--blue)}.thought-compose-launch:hover{border-color:var(--blue)}
.thought-toolbar{display:flex;justify-content:space-between;gap:10px;padding:10px 0;margin:0;background:var(--panel)}.thought-toolbar .button{min-height:44px;max-width:80%;gap:8px}.thought-toolbar .button span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.thought-feed{display:block;background:var(--panel);border:1px solid var(--line);border-radius:16px;overflow:hidden}
.thought-feed>.thought-card{margin:0!important;padding:20px 18px!important;background:transparent!important;border:0!important;border-bottom:1px solid var(--line)!important;border-radius:0!important;box-shadow:none!important}.thought-feed>.thought-card:last-child{border-bottom:0!important}
.thought-card .thought-head{display:flex;align-items:flex-start;gap:8px}.thought-card .thought-author{display:flex;align-items:center;gap:10px;flex:1;min-width:0;text-align:left}.thought-card .thought-author>span{min-width:0}.thought-card .thought-author strong,.thought-preview-author strong{font-size:14px;line-height:1.35;overflow-wrap:anywhere}.thought-card .thought-author .avatar,.thought-preview-author .avatar{width:42px!important;height:42px!important;flex:0 0 42px}.thought-card .thought-author small{font-size:11px;color:var(--muted)}
.thought-feed>.thought-card>p{margin:8px 0 8px 52px!important;font-size:16px!important;line-height:1.55!important;overflow-wrap:anywhere;white-space:pre-wrap}.thought-feed .thought-actions{margin:0 0 0 46px!important;display:flex!important;justify-content:flex-start!important;gap:8px!important;border:0!important;padding:0!important;flex-wrap:wrap}.thought-actions .thought-action-icon,.thought-preview-actions .thought-action-icon{min-width:44px!important;min-height:44px!important;padding:9px 5px!important;border-radius:12px}.thought-actions .thought-action-icon svg,.thought-preview-actions svg{width:22px!important;height:22px!important}.thought-action-icon:hover{background:var(--blue-soft);color:var(--blue)}.thought-action-icon.selected{color:var(--blue)}.thought-actions .thought-reach{margin-left:auto;font-size:11px;color:var(--muted)}.thought-card .thought-limited{margin:12px 0 12px 52px}.thought-like-wrap{position:relative}.thought-likers-hover:focus-visible{opacity:1;visibility:visible}
.thought-preview{margin:4px 0 0 20px!important;padding:16px 0 0 31px!important;border-left:1px solid var(--line)}.thought-preview .thought-thread-line{display:none}.thought-preview-author{display:flex;align-items:center;gap:10px}.thought-preview-author small{font-size:11px}.thought-preview-text{margin:8px 0 2px 52px!important;width:calc(100% - 52px)!important;font-size:16px!important;line-height:1.55!important;overflow-wrap:anywhere}.thought-preview-actions{display:flex;justify-content:flex-start;margin-left:46px!important;gap:8px}.thought-preview-all{margin-left:52px!important;min-height:40px;font-size:12px}
.thought-compose-modal{padding:0!important;border:0!important;box-shadow:none!important;background:transparent!important}.thought-compose-modal .compose-author{display:flex;justify-content:flex-start;gap:12px;align-items:center}.thought-compose-modal .thought-parts-editor{display:flex!important;flex-direction:column;gap:12px;width:100%}.thought-compose-modal .thought-part-editor{width:100%;min-width:0;padding:14px;background:var(--panel-soft);border:1px solid var(--line);border-radius:14px}.thought-compose-modal textarea{width:100%;font-size:16px;line-height:1.6;resize:vertical;min-height:100px}.thought-compose-modal .thought-compose-footer{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.thought-compose-modal .thought-compose-footer small{display:none}.thought-compose-modal .thought-compose-footer>[type=submit]{margin-left:auto}.thought-part-number{font-size:11px;color:var(--muted)}
.thought-discussion-sheet .comment-card{background:transparent!important;border:0!important;border-bottom:1px solid var(--line)!important;box-shadow:none!important;border-radius:0!important;padding:16px 4px 16px 12px!important;margin:0 0 0 calc(min(var(--discussion-depth),3) * 12px)!important;border-left:1px solid var(--line)!important}.thought-discussion-sheet .comment-card[hidden]{display:none!important}.thought-discussion-sheet .comment-card>p{font-size:15px;line-height:1.6;overflow-wrap:anywhere;white-space:pre-wrap}.thought-discussion-sheet .thought-actions{justify-content:flex-start;gap:10px}.thought-discussion-sheet .thread-sequence>.comment-card{margin-left:0!important;border-left:0!important}.thread-collapse{display:block;min-height:40px;border:0;background:transparent;color:var(--blue);font-size:12px;padding:8px 0}.comment-form{border-top:1px solid var(--line);padding-top:16px}.comment-form textarea{font-size:16px;line-height:1.5;min-height:70px;resize:vertical}.comment-counter{display:block;text-align:right;color:var(--muted);font-size:11px}.replying-to{display:flex;justify-content:space-between;align-items:center;gap:8px;padding:8px 12px;border-left:3px solid var(--blue);background:var(--blue-soft);border-radius:8px;margin-bottom:10px}.thought-reply{min-height:44px}.thoughts-page button:focus-visible,.thought-discussion-sheet button:focus-visible{outline:2px solid var(--blue);outline-offset:2px}
@media(max-width:600px){.thoughts-page{padding:0 0 96px}.thoughts-hero{padding:14px 16px 10px}.thoughts-hero h1{font-size:22px}.thoughts-hero p{display:none}.thought-compose-launch{margin:0;border:0;border-bottom:1px solid var(--line);border-radius:0;padding:12px 16px}.thought-toolbar{padding:8px 12px}.thought-feed{border:0;border-radius:0}.thought-feed>.thought-card{padding:16px 12px!important}.thought-feed .thought-actions{gap:3px!important}.thought-feed>.thought-card>p{font-size:15px!important}.thought-preview-text{font-size:15px!important}.thought-preview{padding-left:22px!important}.thought-discussion-sheet .modal-content{padding:12px}.thought-discussion-sheet .comment-card{margin-left:calc(min(var(--discussion-depth),3) * 8px)!important}.thought-compose-modal .thought-compose-footer .button{font-size:13px}.thought-preview-all{margin-left:46px!important}}

/* Explicit spacing between controls, labels and content in all themes. */
.multi-event-filters fieldset{min-width:0;margin:0 0 22px;padding:16px;border:1px solid var(--line);border-radius:14px;background:var(--panel)}.multi-event-filters legend{padding:0 6px;color:var(--ink);font-size:14px;font-weight:650}.filter-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.filter-choice{display:flex!important;align-items:center;gap:10px!important;margin:0!important;min-height:44px;padding:9px 11px;border:1px solid var(--line);border-radius:10px;background:var(--panel-soft);cursor:pointer;font-size:13px!important;line-height:1.4}.filter-choice:has(input:checked){border-color:var(--blue);background:var(--blue-soft)}.filter-choice input{width:18px!important;height:18px!important;flex:0 0 18px;margin:0!important;accent-color:var(--blue)}.filter-choice span{overflow-wrap:anywhere}.multi-event-filters fieldset>small{display:block;color:var(--muted);margin-top:12px;line-height:1.5}.multi-event-filters #event-city-search{margin-bottom:12px}.filter-footer{display:flex;justify-content:space-between;gap:12px;margin-top:20px}.filter-footer .button{min-height:44px}.multi-event-filters>.checkbox{display:flex;gap:10px;align-items:center;margin:18px 0}.settings-section .settings-theme-select+.settings-theme-select{margin-top:18px}.settings-section{scroll-margin-top:20px}.thought-toolbar{margin-bottom:8px}.thought-compose-launch{margin-bottom:10px}.thought-preview-main{min-width:0}.thought-limited{overflow-wrap:anywhere}.greeting-chips{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:12px}.greeting-chip{border:1px solid var(--line);border-radius:14px;background:var(--panel-soft);color:var(--ink);padding:10px 12px;min-height:44px;font-size:13px;line-height:1.4;text-align:left}.greeting-chip:hover{border-color:var(--blue);background:var(--blue-soft)}
@media(max-width:600px){.filter-options{grid-template-columns:1fr}.multi-event-filters fieldset{padding:12px;margin-bottom:18px}.greeting-chips{flex-wrap:nowrap;overflow-x:auto;padding-bottom:4px;scroll-snap-type:x proximity}.greeting-chip{min-width:180px;max-width:240px;flex-shrink:0;scroll-snap-align:start}.thought-toolbar{padding-bottom:12px}.settings-theme-select select{max-width:100%;font-size:16px}}

.event-create-form label[hidden]{display:none!important}#event-kind-help{display:block;margin-top:8px;color:var(--muted);font-size:12px;line-height:1.5}.chat-attachment-tools{display:flex;gap:4px;margin-bottom:6px}.chat-attachment-tools button{display:grid;place-items:center;width:42px;height:42px;border:0;border-radius:12px;background:transparent;color:var(--muted)}.chat-attachment-tools button:hover,.chat-attachment-tools button:focus-visible{background:var(--blue-soft);color:var(--blue)}.chat-attachment-tools svg{width:22px;height:22px}.message-photo{display:block;border:0;background:transparent;padding:0;border-radius:12px;overflow:hidden;max-width:100%;margin:0 0 8px}.message-photo img{display:block;width:auto;max-width:100%;max-height:360px;object-fit:contain}.message-audio{display:block;width:260px;max-width:100%;margin:5px 0 10px;height:44px}.chat-media-preview{display:grid;place-items:center;margin-bottom:18px}.chat-media-preview img{display:block;max-width:100%;max-height:65dvh;object-fit:contain;border-radius:12px}.chat-media-preview audio{width:100%}.voice-recorder{display:grid;gap:18px;text-align:center}.voice-recorder small{line-height:1.5;color:var(--muted)}#voice-status{font-size:20px;font-variant-numeric:tabular-nums}.bubble:has(.message-audio){min-width:min(300px,90%)}

#message-form.unified-composer{align-items:flex-end;gap:3px;padding:5px;border-radius:23px}.unified-composer .chat-add{flex:0 0 40px;width:40px;height:44px;border:0;background:transparent;color:var(--muted);font-size:29px;line-height:1;border-radius:50%;padding:0}.unified-composer .chat-add:hover{background:var(--blue-soft);color:var(--blue)}#message-form.unified-composer textarea{min-height:44px;max-height:140px;padding:10px 5px;resize:none;font-size:16px}.unified-composer .chat-emoji-toggle{flex-basis:40px;width:40px}.unified-composer .send-button{flex:0 0 42px!important;width:42px!important;min-width:42px!important}.unified-composer .send-button.voice-mode{background:transparent;color:var(--muted)}.unified-composer .send-button svg{width:24px;height:24px}.meeting-picker{min-width:0}.meeting-picker label{display:block;margin:12px 0}.meeting-picker #meeting-map{height:330px;width:100%;border:1px solid var(--line);border-radius:14px;isolation:isolate;z-index:0}.meeting-picker .muted{font-size:13px;line-height:1.5;margin:10px 0}.meeting-picker #meeting-point-status{display:block;margin:12px 0;color:var(--muted);line-height:1.4}#meeting-cities{display:grid;max-height:160px;overflow:auto;gap:5px}#meeting-cities button{padding:10px;text-align:left;border:1px solid var(--line);border-radius:8px;background:var(--panel-soft);color:var(--ink);min-height:44px}.message-meeting{display:flex;align-items:center;gap:12px;text-align:left;border:1px solid var(--line);border-radius:12px;background:var(--panel);color:var(--ink);padding:14px;margin:0 0 8px;max-width:100%}.message-meeting>svg{width:27px;height:27px;flex:0 0 27px;color:var(--blue)}.message-meeting span{min-width:0}.message-meeting strong,.message-meeting small{display:block;overflow-wrap:anywhere}.message-meeting small{margin-top:6px;color:var(--muted);font-size:12px}.message-meeting strong{font-size:14px}.meeting-picker .leaflet-container{font-size:12px}.chat-composer .chat-attachment-tools{display:none}
@media(max-width:600px){.meeting-picker #meeting-map{height:38dvh;min-height:230px}#message-form.unified-composer{gap:0}.unified-composer .chat-add{flex-basis:36px;width:36px}.unified-composer .chat-emoji-toggle{flex-basis:36px;width:36px}#message-form.unified-composer .send-button{flex-basis:40px!important;width:40px!important;min-width:40px!important}.chat-composer{padding-left:8px;padding-right:8px}}

.nearby-section{max-width:1120px;margin:0 auto}.nearby-distance-note{max-width:700px;font-size:12px;line-height:1.6;color:var(--muted);margin:12px 0 20px}.nearby-section .section-heading{margin-bottom:16px}.nearby-filter-summary{display:flex;align-items:center;gap:10px;flex-wrap:wrap;padding:12px 14px;border:1px solid var(--line);border-radius:14px;background:var(--panel)}.nearby-filter-summary>span{display:flex;align-items:center;gap:6px;font-size:13px}.nearby-search{display:flex;align-items:center;gap:10px;margin:18px 0}.nearby-search input{flex:1;min-width:0;font-size:16px}.nearby-results-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin:18px 0;color:var(--muted);font-size:13px}.nearby-results-toolbar label{display:flex;align-items:center;gap:9px;margin:0}.nearby-results-toolbar select{min-height:44px;width:auto;max-width:270px;font-size:14px}.nearby-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.nearby-grid .small-card{display:block;overflow:hidden;border:1px solid var(--line);border-radius:18px;background:var(--panel);text-align:left;box-shadow:none}.nearby-grid .small-card>div:last-child{padding:16px}.nearby-grid .small-card h3{font-size:17px;line-height:1.35;margin:0 0 10px;overflow-wrap:anywhere}.nearby-grid .distance-row{display:flex;gap:7px;flex-wrap:wrap;align-items:center;margin:8px 0}.nearby-grid .distance-row small{font-size:12px;line-height:1.5}.nearby-grid .small-card:focus-visible{outline:3px solid var(--blue);outline-offset:3px}.nearby-grid .small-cover{aspect-ratio:4/3;min-height:0;height:auto}.nearby-grid .small-cover>img{width:100%;height:100%;object-fit:cover}
@media(max-width:800px){.nearby-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}}
@media(max-width:480px){.nearby-grid{grid-template-columns:1fr;gap:12px}.nearby-grid .small-card{display:grid;grid-template-columns:104px minmax(0,1fr);align-items:stretch}.nearby-grid .small-cover{height:100%;min-height:140px;aspect-ratio:auto}.nearby-grid .small-card>div:last-child{padding:12px}.nearby-grid .small-card h3{font-size:16px}.nearby-results-toolbar label{width:100%;justify-content:space-between}.nearby-results-toolbar select{max-width:230px}.nearby-search{flex-wrap:wrap}.nearby-search input{flex-basis:65%}.nearby-distance-note{font-size:11px}.nearby-filter-summary{gap:8px;padding:10px}}

.nearby-changed-filters{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 16px}.nearby-changed-filters>span{padding:7px 12px;border:1px solid color-mix(in srgb,var(--blue) 30%,var(--line));border-radius:20px;background:var(--blue-soft);color:var(--blue);font-size:12px;line-height:1.5}.filter-remember{margin:20px 0;padding:14px;border:1px solid var(--line);border-radius:12px;background:var(--panel-soft)}.filter-remember small{display:block;margin-top:5px;color:var(--muted);line-height:1.5}.nearby-section .section-heading>.button{flex-shrink:0;gap:7px;min-height:44px}

.discovery-header{margin:0 0 18px}.discovery-header h1{margin:0 0 16px;font-size:26px}.discovery-controls{display:flex;justify-content:space-between;align-items:center;gap:12px}.discovery-modes{display:flex;padding:4px;background:var(--panel-soft);border:1px solid var(--line);border-radius:14px;gap:4px}.discovery-modes button{display:flex;align-items:center;justify-content:center;gap:7px;min-height:42px;padding:9px 14px;background:transparent;color:var(--muted);border:0;border-radius:10px;font-size:14px}.discovery-modes button[aria-pressed=true]{background:var(--panel);color:var(--blue);box-shadow:0 1px 4px var(--shadow)}.discovery-modes svg{width:18px;height:18px}.discovery-controls>.button{min-height:44px;gap:7px}.discovery-header .nearby-changed-filters{margin-top:12px;margin-bottom:0}
@media(max-width:700px){.mobile-nav{grid-template-columns:repeat(5,minmax(0,1fr))!important}.mobile-nav button[data-page=discover]{display:flex}.mobile-nav button span{font-size:10px}.discovery-header h1{font-size:22px;margin-bottom:12px}.discovery-controls{gap:8px}.discovery-modes button{padding:8px 11px;font-size:13px}.discovery-controls>.button{font-size:13px;padding:9px 10px}.nearby-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important}.nearby-grid .small-card{display:block!important;min-width:0;border-radius:14px}.nearby-grid .small-cover{width:100%;height:auto!important;min-height:0!important;aspect-ratio:4/3!important}.nearby-grid .small-cover .portrait{height:100%;min-height:0}.nearby-grid .small-card>div:last-child{padding:10px!important}.nearby-grid .small-card h3{font-size:14px!important;margin-bottom:6px}.nearby-grid .distance-row{gap:4px;margin:5px 0}.nearby-grid .distance-row small{font-size:11px}.nearby-grid .small-card>div:last-child>span:not([class]){display:none}.nearby-grid .proximity-badge{font-size:10px}.nearby-results-toolbar{margin:12px 0}.nearby-results-toolbar label{width:auto}.nearby-results-toolbar select{max-width:210px;font-size:12px}.nearby-distance-note{margin-bottom:12px}}
@media(max-width:350px){.discovery-modes button{padding:8px}.discovery-controls>.button{font-size:12px}.mobile-nav button span{font-size:9px}}

@media(max-width:700px){.mobile-nav button{display:flex!important}.nearby-grid .small-cover>.person-photo{height:100%;width:100%;min-height:0;object-fit:cover}}

/* Event creation stays reachable without a duplicate page header. */
.events-accessible-title{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.event-create-fab{position:fixed;right:24px;bottom:24px;z-index:12;display:grid;place-items:center;width:56px;height:56px;min-height:56px;padding:0;border:1px solid var(--line);border-radius:50%;background:var(--ink);color:var(--panel);box-shadow:0 8px 24px var(--shadow)}
.event-create-fab svg{width:26px;height:26px;margin:0;pointer-events:none}
.event-create-fab:focus-visible{outline:3px solid var(--blue);outline-offset:4px}
.events-page .events-toolbar{margin-top:0}
@media(max-width:700px){.event-create-fab{right:18px;bottom:calc(82px + env(safe-area-inset-bottom))}}

.events-page{background:color-mix(in srgb,var(--panel) 94%,#000);min-height:calc(100dvh - 80px)}
.events-page .event-list,.events-page .events-map-layout{margin-top:18px}
.event-format{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px}
.event-format>span{font-size:10px;line-height:1.2;text-align:center;overflow-wrap:anywhere}
.event-card-main{grid-template-columns:72px minmax(0,1fr) 16px}
.event-card-main .event-format{width:72px;height:76px}
.event-card-actions [data-action="event-join"]{gap:7px;min-width:48px}
.event-application-answer{white-space:pre-wrap;overflow-wrap:anywhere;grid-column:1/-1}
@media(max-width:700px){.event-card-main{grid-template-columns:64px minmax(0,1fr) 14px}.event-card-main .event-format{width:64px;height:70px}}

.events-toolbar{flex-wrap:wrap;gap:10px}.events-toolbar .view-switch{flex-shrink:0}
@media(max-width:700px){.events-toolbar .view-switch{width:100%;display:grid;grid-template-columns:repeat(3,minmax(0,1fr))}.events-toolbar .view-switch .button{padding:9px 6px;gap:5px;font-size:12px;white-space:nowrap}.events-toolbar .event-filter-button{margin-left:auto;max-width:100%}}

/* Event modes and filters share one compact row. */
.events-page .events-toolbar{display:flex;flex-wrap:nowrap;align-items:center;gap:8px}
.events-page .events-toolbar .view-switch{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));flex:1 1 auto;min-width:0;width:auto}
.events-page .events-toolbar .view-switch .button{min-width:0;white-space:nowrap;justify-content:center}
.events-page .events-toolbar .event-filter-button{flex:0 0 44px;width:44px;height:44px;min-height:44px;max-width:44px;margin:0;padding:0;display:grid;place-items:center;border-radius:14px}
.events-page .event-filter-button svg{width:21px;height:21px;margin:0}
@media(max-width:700px){.events-page .events-toolbar .view-switch .button{font-size:12px;padding:9px 4px;gap:4px}.events-page .events-toolbar .view-switch svg{width:16px;height:16px;flex-shrink:0}}
@media(max-width:360px){.events-page .events-toolbar .view-switch svg{display:none}}

.thought-toolbar .thought-settings-button{display:grid;place-items:center;width:44px;height:44px;min-height:44px;flex:0 0 44px;padding:0;border-radius:14px}.thought-toolbar .thought-settings-button svg{width:21px;height:21px;margin:0}

.thought-toolbar .thought-settings-button{display:inline-flex;align-items:center;justify-content:center;gap:8px;width:auto;flex:0 0 auto;padding:0 16px;border-radius:24px}

.sponsored-conversation{border:1px solid var(--line);border-radius:12px;margin:8px 0;background:var(--panel)}
.sponsor-thumb{display:grid;place-items:center;width:44px;height:44px;flex:0 0 44px;object-fit:cover;border-radius:10px;background:var(--line);color:var(--ink)}
.sponsor-label{display:block;color:var(--muted);font-size:11px;font-weight:600}
.sponsored-message p{white-space:pre-wrap;overflow-wrap:anywhere}.sponsored-message>img{display:block;width:100%;height:auto;border-radius:12px;margin:16px 0}.sponsored-message .button{margin-top:12px}
.thought-feed>.ad-slot{padding:18px;border-bottom:1px solid var(--line)}

.thought-sponsored{padding:20px;border-bottom:1px solid var(--line);background:var(--panel)}.thought-sponsored header{display:flex;gap:12px;align-items:center}.thought-sponsored p{white-space:pre-wrap;overflow-wrap:anywhere}.thought-sponsored .sponsor-photo{display:block;width:100%;border-radius:12px;margin-bottom:14px}
