/* Shared spacing and form language. Keep the silver palette quiet. */
:root{--muted:#a7aab2;--soft-shadow:0 8px 32px #00000012;--focus-ring:#9aa6b7}
[data-theme=light]{--muted:#646b76;--line:#e6e8ec;--surface2:#f5f6f8;--soft-shadow:0 8px 32px #202b3a06}
body{font-weight:450;line-height:1.6;text-rendering:optimizeLegibility}button{font-weight:600}h1,h2,h3{font-weight:700}button,a,input,textarea,select{outline-offset:3px}.secondary,.small-button{border-radius:12px;min-height:42px}.icon-button{min-width:40px;min-height:40px;display:inline-flex;align-items:center;justify-content:center}.field{display:block;margin-bottom:18px}.field>span{display:block;font-size:12px;font-weight:650;margin-bottom:8px;color:var(--text)}.field input,.field select,.field textarea{width:100%;border:1px solid var(--line);border-radius:12px;background:var(--surface2);padding:13px 15px;color:var(--text);line-height:1.5;box-shadow:none;transition:border-color .15s,background .15s}.field input:focus,.field textarea:focus,.field select:focus{outline:2px solid color-mix(in srgb,var(--focus-ring) 28%,transparent);outline-offset:1px;border-color:var(--focus-ring);background:var(--surface)}.field input::placeholder,.field textarea::placeholder{color:var(--muted);opacity:.75}.form-grid{gap:14px}.checkbox{display:flex;align-items:flex-start;gap:10px;font-size:12px;line-height:1.7;margin:12px 0}.checkbox input,.check input{width:17px;height:17px;accent-color:#737d8b;flex-shrink:0;margin:2px 0 0}.form-error:empty{display:none}.form-error{font-size:12px;line-height:1.7;border-radius:10px;padding:10px 12px;background:#b6404010;margin:12px 0}body:not(.admin-view) .panel:not(.feed-post):not(.ad-card){box-shadow:var(--soft-shadow)}.page-heading{align-items:center;gap:16px}.page-heading p{line-height:1.7}.empty{padding:40px 22px}.empty p{max-width:340px;margin:10px auto 20px;line-height:1.8}.post-head{gap:12px}.post-body{line-height:1.75}.post-actions button{min-height:42px}.post-author{line-height:1.4}.post-head .user-meta{min-width:0}.post-head .user-meta p{line-height:1.6}.connection-row,.conversation-row{gap:12px}.notice{font-size:12px;line-height:1.8;border-radius:12px}.inline-actions{row-gap:10px}.profile-details .inline-actions{flex-wrap:wrap}
dialog{border:1px solid var(--line);border-radius:24px;padding:28px;background:var(--surface);box-shadow:0 30px 120px #0005;max-height:calc(100dvh - 48px);overscroll-behavior:contain}dialog::backdrop{background:#070b146b;backdrop-filter:blur(7px)}.modal-top{margin-bottom:24px;align-items:flex-start}.modal-top h2{font-size:25px;letter-spacing:-.8px}.modal-top .eyebrow{font-size:9px;letter-spacing:2px;display:block;margin-bottom:8px}.auth-dialog{width:480px;max-width:calc(100vw - 32px);padding:30px}.auth-dialog .modal-top{margin:0 0 14px}.auth-dialog .modal-top .eyebrow{display:none}.auth-dialog .modal-top h2{padding-top:6px;font-size:28px;line-height:1.2}.auth-intro{display:flex;align-items:center;gap:14px;margin:0 0 24px}.auth-emblem{flex:0 0 44px;height:44px;display:grid;place-items:center;font-size:25px;font-weight:650;letter-spacing:-4px;padding-right:4px;color:#333c48;background:var(--metal);border:1px solid var(--metal-border);border-radius:13px;box-shadow:inset 0 1px #fff}.auth-intro p{font-size:12px;color:var(--muted);line-height:1.7;max-width:260px}.auth-tabs{display:flex;padding:4px;background:var(--surface2);border:1px solid var(--line);border-radius:13px;margin-bottom:25px;gap:4px}.auth-tabs button{width:50%;border:0;background:transparent;color:var(--muted);border-radius:9px;padding:10px;font-size:12px}.auth-tabs .selected{color:var(--text);background:var(--surface);box-shadow:0 2px 5px #00000009}.auth-form .field input{font-size:15px;min-height:49px}.auth-form .form-grid .field{min-width:0}.auth-form .form-end{margin-top:20px}.auth-form .form-end .primary{height:49px;border-radius:13px;justify-content:center;gap:12px;font-size:13px}.auth-form .form-end p{text-align:center;font-size:12px;margin-top:18px;color:var(--muted)}.auth-form .text-link{font-size:12px;font-weight:700;color:var(--text)}.password-wrap{position:relative}.password-wrap input{padding-right:75px!important}.password-wrap button{position:absolute;right:7px;top:7px;height:35px;padding:0 10px;border:0;background:transparent;color:var(--muted);font-size:11px;border-radius:8px}.password-wrap button:hover{background:var(--hover)}.password-guide{display:flex;gap:6px;margin-top:-8px}.password-guide span{flex:1;padding:4px 5px;font-size:10px;text-align:center;background:var(--surface2);color:var(--muted);border:1px solid var(--line);border-radius:6px}.password-guide .met{background:#508f6818;border-color:#508f6855;color:var(--text)}.field-hint{font-size:11px;color:var(--muted);margin:8px 0 18px}.auth-legal{padding:13px 15px;border:1px solid var(--line);border-radius:12px;background:var(--surface2);margin:20px 0 16px}.auth-legal>a{font-size:12px;font-weight:650;text-decoration:underline;text-underline-offset:3px}.auth-legal p{font-size:10px;color:var(--muted);margin-top:6px;line-height:1.7}.required-consents{padding:0 2px}.required-consents a{text-decoration:underline;text-underline-offset:3px}.optional-consents{border-top:1px solid var(--line);padding-top:16px;margin-top:16px}.optional-consents summary{font-size:12px;cursor:pointer;font-weight:600}.optional-consents summary span{float:right;font-size:10px;color:var(--muted);font-weight:450}.optional-consents>p{font-size:11px;color:var(--muted);margin:12px 0}.optional-consents a{text-decoration:underline}
.inline-post{border-radius:18px!important;padding:22px!important;overflow:hidden}.inline-post>.spaced{align-items:center;margin-bottom:18px}.compose-identity{display:flex;align-items:center;gap:11px}.compose-identity .avatar{width:42px;height:42px;font-size:13px}.compose-identity h3{font-size:14px;letter-spacing:-.2px}.compose-identity p{font-size:11px;color:var(--muted);margin-top:2px}.inline-post textarea{border:0;background:transparent;resize:vertical;min-height:135px;font-size:16px;line-height:1.7;padding:10px 0}.inline-post textarea:focus{outline:none;box-shadow:inset 0 -1px var(--focus-ring);border-radius:0}.inline-media-actions{padding:14px 0;border-top:1px solid var(--line);gap:8px;margin:0}.inline-media-actions .secondary{font-size:12px;display:flex;align-items:center;gap:8px;padding:9px 12px;border-radius:10px;box-shadow:none}.inline-media-actions svg{width:18px;height:18px}.inline-post details{border:1px solid var(--line);border-radius:12px;padding:12px 14px;margin:4px 0 16px;background:var(--surface2)}.inline-post summary{list-style:none;display:flex;align-items:center;gap:8px;font-size:12px;font-weight:600}.inline-post summary::-webkit-details-marker{display:none}.inline-post summary>span{font-size:10px;margin-left:auto;color:var(--muted);font-weight:450}.inline-post summary svg{width:17px;height:17px}.inline-post details p{font-size:11px;color:var(--muted);line-height:1.8}.inline-post details .check{font-size:11px;line-height:1.8}.compose-submit{display:flex;align-items:center;justify-content:space-between;gap:12px;border-top:1px solid var(--line);padding-top:16px;margin-top:16px}.compose-submit>span{font-size:11px;color:var(--muted)}.compose-submit .primary{min-width:116px;border-radius:11px;gap:12px;display:flex;justify-content:center;padding:11px 17px;font-size:12px}#compose-previews:not(:empty){padding:8px 0 16px}.nearby-panel{padding:18px!important;border-radius:16px!important}.nearby-panel .spaced{align-items:center;gap:12px}.nearby-panel h3{font-size:14px}.nearby-panel .secondary{font-size:12px;padding:9px 13px}.nearby-panel p{font-size:11px;line-height:1.75}.nearby-panel .check{font-size:11px}
@media(max-width:700px){dialog{padding:22px;max-width:calc(100vw - 24px);max-height:calc(100dvh - 32px);border-radius:22px}.auth-dialog{padding:24px 20px}.auth-dialog .modal-top h2{font-size:25px}.auth-form .field input{font-size:16px}.auth-intro{margin-bottom:20px}.field{margin-bottom:16px}.field input,.field select,.field textarea{font-size:16px}.form-grid{gap:10px}.auth-form .form-grid{grid-template-columns:1fr 1fr}.inline-post{padding:18px!important}.inline-post textarea{min-height:115px}.compose-submit>span{max-width:140px;font-size:10px}.inline-post details{padding:12px}.panel h3{line-height:1.5}.page-heading h1{font-size:25px}.nearby-panel{margin-bottom:20px}.chat-header .secondary{min-height:36px}.topbar{box-sizing:content-box}.mobile-nav .nav-create{min-height:38px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;transition:none!important}}
body:has(dialog[open]){overflow:hidden}dialog{scrollbar-width:thin;scrollbar-color:var(--line) transparent}.auth-dialog .form-grid{margin-bottom:0}.auth-dialog .form-grid .field{margin-bottom:18px}
body:not(.admin-view) .profile-hero{padding:0!important;overflow:hidden}.profile-details{padding:0 24px 24px}.profile-cover{min-height:135px}.profile-details .inline-actions{gap:8px}.people-tile strong{line-height:1.4}
@media(max-width:700px){.profile-details{padding:0 20px 24px}.profile-details .inline-actions .secondary{font-size:11px;padding:8px 10px}.profile-cover{min-height:125px}}
