:root{
  --bg:#f6f6f4;
  --surface:#ffffff;
  --surface-soft:#f1f1ee;
  --surface-hover:#ecece8;
  --text:#171717;
  --muted:#737373;
  --muted-strong:#525252;
  --border:#e6e6e1;
  --border-strong:#d4d4ce;
  --accent:#171717;
  --accent-contrast:#ffffff;
  --blue:var(--brand-accent,#0a84ff);
  --danger:#c62838;
  --green:#168a4b;
  --shadow:0 18px 50px rgba(18,18,18,.10);
  --header-h:68px;
  --radius:15px;
  --max-feed:680px;
  color-scheme:light;
  font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;
  font-synthesis:none;
}
html[data-theme="dark"]{
  --bg:#0f0f0f;
  --surface:#171717;
  --surface-soft:#202020;
  --surface-hover:#282828;
  --text:#f5f5f3;
  --muted:#9b9b96;
  --muted-strong:#c1c1bc;
  --border:#2b2b29;
  --border-strong:#3b3b38;
  --accent:#f5f5f3;
  --accent-contrast:#171717;
  --shadow:0 22px 60px rgba(0,0,0,.42);
  color-scheme:dark;
}
@media (prefers-color-scheme:dark){
  html[data-theme="system"]{
    --bg:#0f0f0f;
    --surface:#171717;
    --surface-soft:#202020;
    --surface-hover:#282828;
    --text:#f5f5f3;
    --muted:#9b9b96;
    --muted-strong:#c1c1bc;
    --border:#2b2b29;
    --border-strong:#3b3b38;
    --accent:#f5f5f3;
    --accent-contrast:#171717;
    --shadow:0 22px 60px rgba(0,0,0,.42);
    color-scheme:dark;
  }
}
*{box-sizing:border-box}
html{scroll-behavior:smooth;background:var(--bg)}
body{margin:0;min-height:100vh;background:var(--bg);color:var(--text);font-size:16px;line-height:1.5;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;overflow-x:hidden}
body.drawer-open,body.sheet-open{overflow:hidden}
a{color:inherit;text-decoration:none}
button,input,select,textarea{font:inherit;color:inherit}
button{cursor:pointer}
img,video{max-width:100%;display:block}
svg.icon{display:block;flex:0 0 auto}
[hidden]{display:none!important}
::selection{background:color-mix(in srgb,var(--blue) 24%,transparent)}
:focus-visible{outline:2px solid var(--blue);outline-offset:2px}
.skip-link{position:fixed;left:12px;top:-80px;z-index:9999;background:var(--text);color:var(--surface);padding:9px 13px;border-radius:8px;font-weight:700}.skip-link:focus{top:12px}
.main-content{min-height:calc(100vh - 72px)}
.no-main-header .main-content{min-height:100vh}

/* Main header */
.app-header{position:sticky;top:0;z-index:80;background:color-mix(in srgb,var(--surface) 95%,transparent);backdrop-filter:saturate(150%) blur(16px);border-bottom:1px solid var(--border)}
.header-inner{height:calc(var(--header-h) + env(safe-area-inset-top));max-width:1080px;margin:0 auto;padding:env(safe-area-inset-top) 20px 0;display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:14px}
.round-button{width:42px;height:42px;border-radius:50%;border:1px solid var(--border);background:var(--surface);display:grid;place-items:center;padding:0;box-shadow:none;transition:background .16s,border-color .16s,transform .16s}
.round-button:hover{background:var(--surface-soft);border-color:var(--border-strong)}
.round-button:active{transform:scale(.96)}
.round-button.small{width:34px;height:34px}
.brand{font-size:27px;line-height:1;font-weight:900;letter-spacing:-1.45px;justify-self:start}
.header-actions{justify-self:end;display:flex;align-items:center;gap:2px}
.header-action{width:42px;height:42px;border-radius:50%;display:grid;place-items:center;position:relative;color:var(--text);transition:background .16s}
.header-action:hover{background:var(--surface-soft)}
.notification-badge{position:absolute;right:1px;top:1px;min-width:17px;height:17px;padding:0 4px;border-radius:9px;background:var(--danger);color:#fff;border:2px solid var(--surface);font-size:9px;font-weight:900;display:grid;place-items:center}
.avatar-button{position:relative;width:38px;height:38px;border:0;padding:0;background:transparent;border-radius:50%;overflow:visible;margin-left:4px}
.avatar-button img{width:38px;height:38px;border-radius:50%;object-fit:cover;background:var(--surface-soft);border:1px solid var(--border)}
.online-dot{position:absolute;width:11px;height:11px;right:-1px;bottom:0;border-radius:50%;background:var(--green);border:2px solid var(--surface)}
.header-login{min-height:38px;display:inline-flex;align-items:center;padding:0 12px;border-radius:9px;font-size:14px;font-weight:800;color:var(--text)}
.header-login:hover{background:var(--surface-soft)}
.feed-tabs{max-width:760px;height:51px;margin:0 auto;display:grid;grid-template-columns:repeat(4,1fr);align-items:stretch}
.feed-tabs a{display:grid;place-items:center;position:relative;color:var(--muted);font-size:15px;font-weight:700;transition:color .16s}
.feed-tabs a:hover{color:var(--text)}
.feed-tabs a.active{color:var(--text)}
.feed-tabs a.active:after{content:"";position:absolute;bottom:-1px;left:26%;right:26%;height:2px;border-radius:2px;background:var(--text)}
.topic-chip-strip{height:49px;display:flex;gap:8px;align-items:center;overflow-x:auto;padding:0 max(20px,calc((100vw - 760px)/2));scrollbar-width:none;border-top:1px solid var(--border)}
.topic-chip-strip::-webkit-scrollbar{display:none}
.topic-chip{white-space:nowrap;padding:6px 12px;border:1px solid var(--border);border-radius:999px;color:var(--muted-strong);background:transparent;font-size:13px;font-weight:600;transition:background .16s,border-color .16s,color .16s}
.topic-chip:hover{background:var(--surface-soft);border-color:var(--border-strong);color:var(--text)}

/* Drawer */
.drawer-backdrop,.sheet-backdrop{position:fixed;inset:0;background:rgba(0,0,0,.34);z-index:180;opacity:0;transition:opacity .2s ease}
.drawer-backdrop.visible,.sheet-backdrop.visible{opacity:1}
.side-drawer{position:fixed;left:0;top:0;bottom:0;width:min(86vw,354px);z-index:190;background:var(--surface);transform:translateX(-102%);transition:transform .22s cubic-bezier(.2,.8,.2,1);overflow-y:auto;overscroll-behavior:contain;box-shadow:var(--shadow);padding-bottom:max(24px,env(safe-area-inset-bottom))}
.side-drawer.open{transform:translateX(0)}
.drawer-safe-top{height:max(16px,env(safe-area-inset-top))}
.drawer-primary{padding:8px 12px 10px}
.drawer-row{min-height:52px;padding:0 12px;display:flex;align-items:center;gap:14px;font-size:16px;border-radius:10px}
.drawer-row.strong{font-weight:800}
a.drawer-row:hover,.drawer-row-main:hover{background:var(--surface-soft)}
.drawer-row-main{min-width:0;flex:1;display:flex;align-items:center;gap:14px;height:52px;border-radius:10px}
.drawer-row-main span:last-child{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.flag-emoji{font-size:25px;line-height:1}
.drawer-section{border-top:1px solid var(--border);padding:10px 12px 8px}
.drawer-section-heading{height:36px;padding:0 12px;display:flex;align-items:center;justify-content:space-between;font-size:12px;letter-spacing:.06em;text-transform:uppercase;font-weight:800;color:var(--muted)}
.text-button{border:0;background:transparent;color:var(--muted);font-size:12px;font-weight:800;padding:7px;text-transform:none;letter-spacing:0}
.text-button:hover{color:var(--text)}
.pin-button{width:38px;height:38px;border:0;background:transparent;color:var(--border-strong);display:grid;place-items:center;border-radius:50%}
.pin-button:hover{background:var(--surface-soft);color:var(--muted-strong)}
.pin-button.active{color:var(--text)}
.topic-icon{width:34px;height:34px;border-radius:9px;display:grid;place-items:center;background:color-mix(in srgb,var(--topic-color) 16%,var(--surface));font-size:19px;border:1px solid color-mix(in srgb,var(--topic-color) 17%,var(--border))}
.topic-icon.small{width:28px;height:28px;border-radius:8px;font-size:15px}
.topic-icon.large{width:50px;height:50px;border-radius:13px;font-size:27px}
.drawer-empty{padding:10px 12px 16px;color:var(--muted);font-size:14px}

/* Sheets and dialogs */
.bottom-sheet{position:fixed;left:50%;bottom:0;width:min(100%,560px);z-index:200;background:var(--surface);border:1px solid var(--border);border-bottom:0;border-radius:22px 22px 0 0;box-shadow:var(--shadow);transform:translate(-50%,105%);transition:transform .22s cubic-bezier(.2,.8,.2,1);padding:6px 8px max(18px,env(safe-area-inset-bottom));max-height:min(82vh,680px);overflow-y:auto}
.bottom-sheet.open{transform:translate(-50%,0)}
.sheet-handle{width:38px;height:4px;background:var(--border-strong);border-radius:999px;margin:3px auto 7px}
.account-row{width:100%;min-height:56px;padding:0 14px;display:flex;align-items:center;gap:15px;border:0;background:transparent;text-align:left;font-size:15px;border-radius:10px}
.account-row:hover{background:var(--surface-soft)}
.account-row.danger{color:var(--danger)}
.account-row .toggle-switch{margin-left:auto;width:42px;height:24px;background:var(--border-strong);border-radius:999px;position:relative}
.account-row .toggle-switch:after{content:"";position:absolute;width:18px;height:18px;left:3px;top:3px;border-radius:50%;background:#fff;box-shadow:0 1px 4px rgba(0,0,0,.24);transition:transform .18s}
html[data-theme="dark"] .account-row .toggle-switch{background:var(--blue)}
html[data-theme="dark"] .account-row .toggle-switch:after{transform:translateX(18px)}
.account-avatar{position:relative;width:38px;height:38px}.account-avatar img{width:38px;height:38px;border-radius:50%;object-fit:cover;border:1px solid var(--border)}
.sheet-separator{height:1px;background:var(--border);margin:5px 8px}
.modal-dialog{border:0;padding:0;background:transparent;max-width:min(92vw,460px);width:100%;color:var(--text)}
.modal-dialog::backdrop{background:rgba(0,0,0,.46);backdrop-filter:blur(3px)}
.dialog-card{background:var(--surface);border:1px solid var(--border);border-radius:18px;padding:20px;box-shadow:var(--shadow)}
.dialog-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:16px}.dialog-head h2{margin:0;font-size:20px;letter-spacing:-.25px}

/* Feed */
.feed-layout{max-width:1020px;margin:22px auto 0;padding:0 18px 54px;display:grid;grid-template-columns:minmax(0,var(--max-feed)) 280px;gap:24px;align-items:start}
.feed-column{min-width:0;display:flex;flex-direction:column;gap:14px}
.post-card{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);overflow:hidden}
.post-card-header{min-height:52px;padding:0 15px;display:flex;align-items:center;gap:7px}
.topic-label{display:flex;align-items:center;gap:9px;min-width:0}.topic-label strong{font-size:14px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.post-age{color:var(--muted);font-size:13px}.post-header-spacer,.post-action-spacer{flex:1}
.icon-button{border:0;background:transparent;width:36px;height:36px;border-radius:50%;display:grid;place-items:center;padding:0}.icon-button:hover{background:var(--surface-soft)}.icon-button.muted{color:var(--muted)}
.post-title{font-size:20px;line-height:1.25;letter-spacing:-.28px;margin:0;padding:0 15px 11px}.post-title a:hover{text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:3px}
.post-body{padding:0 15px 15px;font-size:15px;line-height:1.55;color:var(--muted-strong)}.post-body a,.comment-body a{color:var(--blue)}
.post-media{position:relative;display:block;background:#0a0a0a;overflow:hidden}
.post-media img,.post-media video{width:100%;height:auto;max-height:850px;object-fit:contain;margin:0 auto;background:#0a0a0a}
.post-media video{min-height:230px}
.media-playback-fallback{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);z-index:3;background:#fff;color:#111;border-radius:9px;padding:10px 14px;font-size:13px;font-weight:800;white-space:nowrap}
.post-media.has-playback-error video{opacity:.35;min-height:260px}
.sensitive-cover{position:absolute;border:0;width:100%;font:inherit;cursor:pointer;inset:0;display:grid;place-content:center;text-align:center;background:rgba(20,20,20,.90);backdrop-filter:blur(20px);color:#fff;gap:5px}.sensitive-cover strong{font-size:18px}.sensitive-cover span{font-size:13px;color:#cfcfcf}
.post-media.revealed .sensitive-cover{display:none}
.post-tags{display:flex;gap:7px;overflow-x:auto;padding:12px 15px 2px;scrollbar-width:none}.post-tags::-webkit-scrollbar{display:none}.post-tags a{white-space:nowrap;border:1px solid var(--border);padding:5px 10px;border-radius:999px;color:var(--muted);font-size:12px;font-weight:600}.post-tags a:hover{background:var(--surface-soft);color:var(--text)}
.post-actions{height:52px;padding:0 10px;display:flex;align-items:center;gap:0;border-top:1px solid color-mix(in srgb,var(--border) 75%,transparent)}
.post-action{height:38px;min-width:34px;border:0;background:transparent;border-radius:9px;display:flex;align-items:center;justify-content:center;gap:4px;color:var(--muted);font-size:12px;font-weight:700;padding:0 6px}
.post-action:hover{background:var(--surface-soft);color:var(--text)}
.post-action svg{width:20px;height:20px;stroke-width:1.95}.post-action.vote-up.active{color:var(--green)}.post-action.vote-down.active{color:var(--danger)}
.ad-slot{height:64px;display:grid;place-items:center;background:transparent;border:1px dashed var(--border-strong);border-radius:12px;color:var(--muted);font-size:12px;letter-spacing:.04em;text-transform:uppercase}
.load-more{height:48px;border:1px solid var(--border);border-radius:11px;display:grid;place-items:center;background:var(--surface);font-size:14px;font-weight:800}.load-more:hover{background:var(--surface-soft)}
.desktop-rail{display:flex;flex-direction:column;gap:14px;position:sticky;top:190px}
.rail-card{background:var(--surface);border:1px solid var(--border);border-radius:14px;padding:17px}.rail-card h2,.rail-card h3{margin:0 0 8px;font-size:17px}.rail-card p{color:var(--muted);font-size:14px;line-height:1.55;margin:0 0 15px}
.rail-topic{display:flex;align-items:center;gap:10px;padding:7px 0;font-size:14px;font-weight:700}.rail-topic:hover span:last-child{text-decoration:underline;text-underline-offset:3px}
.feed-page-heading,.topic-page-heading{background:var(--surface);border:1px solid var(--border);border-radius:14px;padding:18px}.feed-page-heading h1,.topic-page-heading h1{margin:0;font-size:22px;letter-spacing:-.4px}.feed-page-heading p,.topic-page-heading p{margin:4px 0 0;color:var(--muted);font-size:14px}
.topic-page-heading{display:flex;align-items:center;gap:13px}.topic-page-heading>div{flex:1;min-width:0}
.follow-button{border:1px solid var(--border-strong);background:var(--surface);border-radius:9px;padding:8px 13px;font-size:13px;font-weight:800}.follow-button:hover{background:var(--surface-soft)}.follow-button.active{background:var(--text);color:var(--surface);border-color:var(--text)}

/* Generic page shells */
.page-shell{max-width:720px;margin:0 auto;min-height:100vh;background:var(--surface);border-left:1px solid var(--border);border-right:1px solid var(--border)}
.compact-shell{max-width:680px}.post-detail-shell{max-width:720px}
.subpage-header{height:calc(66px + env(safe-area-inset-top));padding:env(safe-area-inset-top) 16px 0;display:grid;grid-template-columns:44px 1fr 44px;align-items:center;position:sticky;top:0;z-index:50;background:color-mix(in srgb,var(--surface) 97%,transparent);backdrop-filter:blur(14px);border-bottom:1px solid var(--border)}
.subpage-header h1{margin:0;text-align:center;font-size:18px;line-height:1.15;letter-spacing:-.2px}.subpage-header .round-button{width:38px;height:38px;border-color:transparent;background:transparent}.subpage-header .round-button:hover{border-color:var(--border);background:var(--surface-soft)}.header-placeholder{display:block;width:40px}
.single-post-wrap .post-card{border-radius:0;border-left:0;border-right:0;border-top:0}.single-post-wrap .post-title{font-size:22px}

/* Step-by-step composer */
.composer-shell{background:var(--surface);max-width:720px}
.composer-form{display:block;min-height:100vh}
.composer-screen{min-height:100vh;background:var(--surface)}
.composer-screen[hidden]{display:none!important}
.composer-step-header{grid-template-columns:48px 1fr 72px;height:calc(76px + env(safe-area-inset-top));padding-left:22px;padding-right:22px;border-bottom:0;background:color-mix(in srgb,var(--surface) 98%,transparent)}
.composer-step-header h1{font-size:20px;font-weight:850;letter-spacing:-.35px}
.composer-step-header .round-button{width:42px;height:42px;border:1px solid var(--border);background:var(--surface)}
.composer-step-action{justify-self:end;min-width:64px;height:42px;padding:0 14px;border:1px solid var(--border);border-radius:22px;background:var(--surface);color:var(--blue);font-size:15px;font-weight:850;transition:opacity .16s,border-color .16s,background .16s}
.composer-step-action:not(:disabled):hover{background:var(--surface-soft);border-color:var(--border-strong)}
.composer-step-action:disabled{color:var(--muted);opacity:.28;cursor:default}
.composer-describe-stage{min-height:calc(100vh - 76px - env(safe-area-inset-top));padding:38px 30px 52px;display:flex;flex-direction:column}
.composer-media-stage{width:min(100%,420px);margin:0 auto 38px}
.composer-media-stage>.visually-hidden{position:absolute!important;width:1px!important;height:1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important}
.composer-media-empty{width:100%;min-height:250px;border:0;background:transparent;color:var(--muted);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;padding:24px}
.composer-media-empty>span{width:64px;height:64px;border-radius:18px;display:grid;place-items:center;background:var(--surface-soft);color:var(--muted-strong);margin-bottom:4px}
.composer-media-empty strong{font-size:15px;color:var(--text)}
.composer-media-empty small{font-size:12px}
.composer-media-preview{position:relative;width:100%;min-height:260px;display:flex;flex-direction:column;align-items:center;justify-content:center;background:transparent;overflow:hidden}
.composer-media-preview img,.composer-media-preview video{display:block;max-width:100%;max-height:390px;width:auto;height:auto;object-fit:contain;border-radius:0}
.composer-media-preview video{min-width:min(100%,220px);background:#000}
.composer-media-preview.is-loading video{opacity:.58}
.composer-media-preview.is-ready video,.composer-media-preview.is-unavailable video{opacity:1}
.composer-media-preview-actions{position:absolute;right:0;top:0;display:flex;gap:6px;z-index:2}
.composer-media-preview-actions button{height:34px;border:1px solid var(--border);border-radius:18px;background:color-mix(in srgb,var(--surface) 92%,transparent);backdrop-filter:blur(10px);padding:0 12px;font-size:12px;font-weight:800}
.composer-media-preview-actions button:hover{background:var(--surface-soft)}
.composer-media-name{display:block;width:100%;margin-top:10px;text-align:center;color:var(--muted);font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.composer-media-status{display:block;width:100%;min-height:16px;margin-top:4px;text-align:center;color:var(--muted);font-size:11px;line-height:1.4}
.composer-media-preview.is-loading .composer-media-status:before{content:"";display:inline-block;width:8px;height:8px;margin-right:6px;border:1.5px solid currentColor;border-right-color:transparent;border-radius:50%;vertical-align:1px;animation:composer-preview-spin .7s linear infinite}
.composer-media-preview.is-unavailable .composer-media-status{max-width:340px;color:var(--muted-strong)}
@keyframes composer-preview-spin{to{transform:rotate(360deg)}}
.composer-title-editor{margin-top:auto}
.composer-editor-heading{display:flex;align-items:baseline;justify-content:space-between;gap:20px;margin-bottom:4px}
.composer-editor-heading label{font-size:16px;font-weight:850}
.composer-editor-heading span{color:var(--text);font-size:14px;font-variant-numeric:tabular-nums}
.composer-editor-heading span.is-valid{color:var(--green)}
.composer-title-editor textarea{width:100%;min-height:62px;max-height:210px;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;resize:none;padding:3px 0 0!important;outline:0;font-size:25px;font-weight:800;line-height:1.28;letter-spacing:-.45px;color:var(--text)}
.composer-title-editor textarea::placeholder{color:var(--muted);opacity:.62}
.composer-interest-selector{width:100%;min-height:66px;border:0;border-top:1px solid var(--border);border-bottom:1px solid var(--border);background:var(--surface);display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:14px;padding:0 30px;text-align:left}
.composer-interest-selector:hover{background:var(--surface-soft)}
.composer-interest-icon{width:42px;height:42px;border-radius:9px;display:grid;place-items:center;background:color-mix(in srgb,var(--topic-color) 16%,var(--surface));border:1px solid color-mix(in srgb,var(--topic-color) 18%,var(--border));font-size:23px}
.composer-interest-name{font-size:16px;font-weight:650}
.composer-interest-chevron{color:var(--muted);font-size:34px;font-weight:300;line-height:1}
.composer-post-summary{min-height:170px;padding:28px 30px 30px;display:grid;grid-template-columns:minmax(0,1fr) 86px;gap:24px;align-items:start;border-bottom:0}
.composer-post-summary>strong{font-size:20px;line-height:1.3;letter-spacing:-.3px;overflow-wrap:anywhere}
.composer-summary-media{width:86px;height:104px;justify-self:end;display:grid;place-items:center;overflow:hidden;background:var(--surface-soft);color:var(--muted);border-radius:3px}
.composer-summary-media img,.composer-summary-media video{width:100%;height:100%;object-fit:contain;background:var(--surface)}
.composer-summary-media.is-video{position:relative;background:#000}
.composer-summary-media.is-video:after{content:"";position:absolute;left:50%;top:50%;width:0;height:0;border-top:8px solid transparent;border-bottom:8px solid transparent;border-left:13px solid #fff;transform:translate(-38%,-50%);filter:drop-shadow(0 1px 2px rgba(0,0,0,.45));pointer-events:none}
.composer-tags-editor{padding:0 30px}
.composer-tags-heading{height:58px;display:flex;align-items:center;justify-content:space-between;gap:16px}
.composer-tags-heading strong{font-size:16px}
.composer-tags-heading span{color:var(--muted);font-size:13px}
.composer-tag-row{min-height:62px;display:grid;grid-template-columns:28px minmax(0,1fr) 32px;align-items:center;gap:12px;border-bottom:1px solid var(--border);color:var(--muted)}
.composer-tag-row:first-of-type{border-top:0}
.composer-tag-row-icon{display:grid;place-items:center;color:var(--muted)}
.composer-tag-row input{width:100%;height:61px;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;outline:0;padding:0!important;font-size:16px;font-weight:700;color:var(--text)}
.composer-tag-row input::placeholder{color:var(--muted);opacity:.58}
.composer-tag-row.is-filled,.composer-tag-row:focus-within{color:var(--blue)}
.composer-tag-row.is-filled input{color:var(--blue)}
.composer-tag-row button{width:28px;height:28px;border:0;border-radius:50%;background:var(--muted);color:var(--surface);display:grid;place-items:center;padding:0;opacity:.68}
.composer-tag-row button:hover{opacity:1}
.composer-tag-suggestions{position:sticky;bottom:0;z-index:12;display:flex;gap:8px;overflow-x:auto;padding:10px 30px calc(10px + env(safe-area-inset-bottom));margin-top:12px;background:color-mix(in srgb,var(--surface) 96%,transparent);backdrop-filter:blur(12px);border-top:1px solid var(--border);scrollbar-width:none}
.composer-tag-suggestions::-webkit-scrollbar{display:none}
.composer-tag-suggestions button{white-space:nowrap;height:34px;border:1px solid var(--border);border-radius:18px;background:var(--surface);padding:0 13px;color:var(--muted-strong);font-size:13px}
.composer-tag-suggestions button:hover{background:var(--surface-soft);border-color:var(--border-strong);color:var(--text)}
.composer-more-options{margin:18px 30px 42px;border-top:1px solid var(--border)}
.composer-more-options summary{height:50px;display:flex;align-items:center;cursor:pointer;color:var(--muted);font-size:13px;font-weight:750;list-style:none}
.composer-more-options summary::-webkit-details-marker{display:none}
.composer-more-options summary:after{content:"+";margin-left:auto;font-size:19px;font-weight:400}
.composer-more-options[open] summary:after{content:"−"}
.composer-more-options>label:not(.sensitive-row){display:block;margin:12px 0 7px;font-size:12px;font-weight:800;color:var(--muted)}
.composer-more-options>label small{font-weight:600}
.composer-more-options textarea{width:100%;min-height:82px;max-height:240px;border:0!important;border-bottom:1px solid var(--border)!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;resize:none;padding:4px 0 12px!important;outline:0;font-size:15px;line-height:1.5}
.sensitive-row{min-height:64px;margin-top:10px;border-bottom:1px solid var(--border);display:flex!important;align-items:center;gap:14px;padding:10px 0}
.sensitive-row>span{min-width:0;flex:1}.sensitive-row strong,.sensitive-row small{display:block}.sensitive-row strong{font-size:14px}.sensitive-row small{margin-top:2px;color:var(--muted);font-size:11px;line-height:1.35}.sensitive-row input{width:20px;height:20px;margin:0;accent-color:var(--text);flex:0 0 auto}
.composer-form .upload-progress{margin:18px 30px 40px}
.composer-interest-list{padding:10px 30px 42px}
.composer-interest-option{width:100%;min-height:72px;border:0;background:transparent;display:grid;grid-template-columns:46px minmax(0,1fr) 28px;align-items:center;gap:16px;padding:0;text-align:left;color:var(--text)}
.composer-interest-option:hover{background:var(--surface-soft)}
.composer-interest-option>span:nth-child(2){font-size:18px}
.composer-interest-check{justify-self:end;color:var(--blue);font-size:18px;font-weight:900;opacity:0}
.composer-interest-option.is-selected .composer-interest-check{opacity:1}

/* Minimal comments */
.comments-section{border-top:1px solid var(--border);padding:0;background:var(--surface);display:flex;flex-direction:column;min-height:min(720px,72svh)}
.comments-toolbar{min-height:66px;padding:0 24px;display:flex;align-items:center;justify-content:space-between;gap:18px;border-bottom:0}
.comments-toolbar h2{margin:0;font-size:18px;letter-spacing:-.25px}
.comments-toolbar h2 span{font-size:14px;font-weight:500;color:var(--muted)}
.comment-sort-form{margin-left:auto}
.comment-sort-form select{width:auto;height:42px;border:0!important;border-radius:0!important;background:transparent!important;color:var(--muted);font-size:14px;font-weight:750;padding:0 22px 0 0;box-shadow:none!important;cursor:pointer}
.comment-sort-form select:focus{box-shadow:none!important;color:var(--text)}
.comment-guideline{margin:0;padding:14px 24px 19px;color:var(--muted);font-size:14px;line-height:1.55;border-bottom:1px solid var(--border)}
.comment-guideline a{color:var(--blue)}
.comment-list{display:flex;flex-direction:column;gap:0;flex:1}
.comment-thread{border-bottom:1px solid var(--border)}
.comment-thread-child{border-bottom:0}
.comment-item{display:grid;grid-template-columns:46px minmax(0,1fr);gap:12px;padding:14px 24px 15px}
.comment-avatar img{width:46px;height:46px;border-radius:50%;object-fit:cover;border:1px solid var(--border);background:var(--surface-soft)}
.comment-meta{display:flex;gap:6px;align-items:center;flex-wrap:wrap;font-size:13px;line-height:1.3}
.comment-meta strong{font-size:14px;letter-spacing:-.1px}.comment-meta span{color:var(--muted)}
.comment-meta .comment-country{font-size:14px;line-height:1}
.comment-body{margin:5px 0 8px;font-size:15px;line-height:1.48;overflow-wrap:anywhere;color:var(--text)}
.comment-actions{display:flex;align-items:center;gap:12px;margin-left:-4px}
.comment-vote,.comment-reply-button{border:0;background:transparent;color:var(--muted);display:flex;align-items:center;gap:5px;padding:4px;border-radius:6px;font-size:13px;font-weight:750;min-height:30px}
.comment-vote.active{color:var(--green)}.comment-vote.active.negative{color:var(--danger)}
.comment-reply-button:hover,.comment-vote:hover{background:var(--surface-soft);color:var(--text)}
.comment-replies-toggle{border:0;background:transparent;color:var(--blue);display:flex;align-items:center;gap:7px;padding:5px 0 1px;font-size:13px;font-weight:800}
.comment-replies-toggle:hover{opacity:.8}.comment-replies-toggle[aria-expanded="true"] .comment-replies-chevron{transform:rotate(180deg)}
.comment-replies-chevron{display:inline-block;font-size:14px;transition:transform .16s}
.comment-replies{margin-left:58px;border-left:1px solid var(--border)}
.comment-replies[hidden]{display:none!important}
.comment-replies .comment-item{grid-template-columns:38px minmax(0,1fr);padding:13px 24px 14px 16px}
.comment-replies .comment-avatar img{width:38px;height:38px}
.comment-replies .comment-replies{margin-left:46px}
.comment-composer{display:grid;grid-template-columns:36px minmax(0,1fr);gap:10px;align-items:end;padding:10px 20px calc(10px + env(safe-area-inset-bottom));background:color-mix(in srgb,var(--surface) 96%,transparent);border-top:1px solid var(--border);backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px)}
.comment-composer-dock{position:sticky;bottom:0;z-index:16;margin-top:auto}
.comment-composer>img{width:36px;height:36px;border-radius:50%;object-fit:cover;border:1px solid var(--border);background:var(--surface-soft)}
.comment-input-wrap{border:1px solid var(--border);border-radius:12px;background:var(--surface-soft);overflow:hidden;transition:border-color .16s,background .16s}
.comment-input-wrap:focus-within{border-color:var(--border-strong);background:var(--surface)}
.comment-input-row{display:flex;align-items:flex-end;gap:6px;padding:4px 5px 4px 12px}
.comment-input-wrap textarea{width:100%;min-height:38px;max-height:150px;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;resize:none;padding:9px 0!important;outline:0;font-size:14px;line-height:1.4}
.comment-input-wrap textarea:focus{box-shadow:none!important}
.reply-indicator{padding:8px 11px 0;color:var(--muted);font-size:11px}
.reply-indicator button{border:0;background:transparent;vertical-align:middle;color:var(--muted);padding:2px;margin-left:3px}
.send-button{width:36px;height:36px;flex:0 0 auto;border:0;border-radius:9px;background:var(--text);color:var(--surface);display:grid;place-items:center;transition:opacity .16s,transform .16s}
.send-button:hover{opacity:.84}.send-button:active{transform:scale(.96)}
.signin-prompt{display:block;border:1px solid var(--border);border-radius:10px;padding:11px 12px;text-align:center;color:var(--text);font-size:13px;font-weight:800;background:var(--surface)}
.comment-signin-dock{position:sticky;bottom:0;z-index:16;margin:20px;padding-bottom:calc(11px + env(safe-area-inset-bottom))}
.comments-empty{border:0;background:transparent;padding:44px 12px;display:flex;flex-direction:column;gap:4px;text-align:center}
.comments-empty strong{color:var(--text);font-size:14px}.comments-empty span{font-size:13px;color:var(--muted)}
.sr-only{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}

/* Profile */
.profile-topbar h1{text-align:left;font-size:20px}.profile-edit-button{justify-self:end;background:var(--text);color:var(--surface);padding:9px 13px;border-radius:9px;font-size:13px;font-weight:800;white-space:nowrap}
.profile-hero{padding:22px 24px 19px}.profile-identity{display:flex;align-items:center;gap:18px}.profile-avatar{width:84px;height:84px;position:relative;flex:0 0 auto}.profile-avatar img{width:84px;height:84px;border-radius:50%;object-fit:cover;border:1px solid var(--border)}.profile-avatar .online-dot{width:15px;height:15px;border-width:3px}.profile-identity h2{margin:0 0 3px;font-size:20px;letter-spacing:-.25px}.profile-stats-line{color:var(--muted);font-size:14px}.profile-bio{font-size:16px;margin:17px 0 12px}.profile-metrics{display:flex;gap:18px;flex-wrap:wrap;color:var(--muted);font-size:13px}.profile-metrics strong{color:var(--text)}
.profile-tabs{height:58px;display:grid;grid-template-columns:repeat(4,1fr);border-top:1px solid var(--border);border-bottom:1px solid var(--border)}.profile-tabs a{position:relative;display:grid;place-items:center;color:var(--muted);font-size:13px;font-weight:700}.profile-tabs a:hover{color:var(--text)}.profile-tabs a.active{color:var(--text)}.profile-tabs a.active:after{content:"";position:absolute;bottom:-1px;left:23%;right:23%;height:2px;background:var(--text)}
.profile-feed{gap:0}.profile-feed .post-card{border-radius:0;border-left:0;border-right:0;border-top:0}.profile-comment-list{padding:16px;display:flex;flex-direction:column;gap:10px}.profile-comment-card{padding:14px;border:1px solid var(--border);border-radius:11px;background:var(--surface)}.profile-comment-card:hover{background:var(--surface-soft)}.profile-comment-card p{margin:6px 0;font-size:14px}.profile-comment-card span{font-size:12px;color:var(--muted)}

/* Notifications */
.notification-tabs{height:58px;display:grid;grid-template-columns:1fr 1fr;border-bottom:1px solid var(--border)}.notification-tabs a{display:grid;place-items:center;position:relative;color:var(--muted);font-size:14px;font-weight:700}.notification-tabs a.active{color:var(--text)}.notification-tabs a.active:after{content:"";position:absolute;bottom:-1px;left:30%;right:30%;height:2px;background:var(--text)}
.notification-list{background:var(--surface);min-height:calc(100vh - 128px)}.notification-row{min-height:76px;padding:10px 18px;display:grid;grid-template-columns:46px 1fr 50px;gap:11px;align-items:center;color:var(--muted-strong);border-bottom:1px solid var(--border)}.notification-row:hover{background:var(--surface-soft)}.notification-row.unread{background:color-mix(in srgb,var(--blue) 5%,var(--surface));color:var(--text)}.notification-avatar{width:46px;height:46px;border-radius:50%;object-fit:cover;border:1px solid var(--border)}.notification-copy{font-size:14px;line-height:1.4}.notification-copy strong{color:var(--text)}.notification-copy span{display:block;color:var(--muted);margin-top:2px;font-size:12px}.notification-thumb{width:50px;height:50px;border-radius:8px;object-fit:cover;background:#111}.end-message{text-align:center;color:var(--muted);padding:24px;background:var(--surface);font-size:13px}

/* Search */
.search-page{min-height:100svh;background:var(--surface)}
.search-bar-page{min-height:calc(96px + env(safe-area-inset-top));padding:calc(env(safe-area-inset-top) + 18px) 30px 18px;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:14px;border-bottom:1px solid var(--border)}
.search-field{position:relative;display:block;min-width:0}
.search-field-icon{position:absolute;left:17px;top:50%;transform:translateY(-50%);display:grid;place-items:center;color:var(--muted);pointer-events:none;z-index:1}
.search-field input{height:52px;border:0!important;border-radius:18px!important;background:var(--surface-soft)!important;padding:0 17px 0 50px!important;font-size:17px;outline:0;box-shadow:none!important;color:var(--text)}
.search-field input:focus{background:var(--surface-soft)!important;box-shadow:none!important}
.search-field input::placeholder{color:var(--muted)}
.search-cancel{min-height:52px;padding:0 17px;display:flex;align-items:center;justify-content:center;border:1px solid var(--border);border-radius:18px;background:var(--surface);font-size:15px;font-weight:800;white-space:nowrap}
.search-cancel:hover{background:var(--surface-soft)}
.search-suggestions{padding:26px 31px 56px;max-width:760px;margin:0 auto}
.search-suggestions h2{font-size:14px;letter-spacing:0;text-transform:none;color:var(--muted);margin:0 0 20px;font-weight:800}
.search-suggestions a{display:block;padding:0 0 27px;font-size:20px;line-height:1.25;border:0;color:var(--text)}
.search-suggestions a:hover{color:var(--blue)}
.search-result-heading{max-width:680px;margin:0 auto;padding:22px 20px 14px;display:flex;justify-content:space-between;align-items:end}
.search-result-heading h1{margin:0;font-size:19px}.search-result-heading span{color:var(--muted);font-size:12px}.search-results{max-width:680px;margin:0 auto;padding:0 0 48px}

/* Forms */
.form-stack{display:flex;flex-direction:column;gap:15px}
.form-stack label>span,.field-label{display:block;font-size:12px;font-weight:800;margin-bottom:6px;color:var(--muted-strong)}
input[type="text"],input[type="email"],input[type="password"],input[type="url"],input[type="search"],select,textarea{width:100%;border:1px solid var(--border-strong);background:var(--surface);border-radius:10px;padding:11px 12px;outline:none;transition:border-color .16s,box-shadow .16s,background .16s}
input[type="text"],input[type="email"],input[type="password"],input[type="url"],select{height:46px}
textarea{resize:vertical;min-height:102px}
input:focus,select:focus,textarea:focus{border-color:var(--blue);box-shadow:0 0 0 3px color-mix(in srgb,var(--blue) 14%,transparent)}
.primary-button{min-height:46px;display:inline-flex;align-items:center;justify-content:center;border:1px solid var(--text);border-radius:10px;background:var(--text);color:var(--surface);font-size:14px;font-weight:850;padding:0 18px}.primary-button:hover{opacity:.9}.primary-button.full{width:100%}
.checkbox-row{display:flex!important;gap:9px;align-items:flex-start}.checkbox-row input{margin-top:2px;width:18px;height:18px;flex:0 0 auto;accent-color:var(--text)}.checkbox-row>span{margin:0!important;font-weight:500!important;line-height:1.45!important}.checkbox-row a{color:var(--blue)}
.auth-page{min-height:100svh;padding:max(28px,calc(env(safe-area-inset-top) + 20px)) 22px max(30px,calc(env(safe-area-inset-bottom) + 24px));display:flex;align-items:flex-start;justify-content:center;background:var(--bg)}
.auth-shell{width:min(100%,400px);display:flex;flex-direction:column;gap:30px}
.auth-brand{display:inline-flex;align-items:center;align-self:flex-start;gap:10px;color:var(--text);font-size:18px;font-weight:900;letter-spacing:-.65px}
.auth-brand-mark{width:32px;height:32px;border-radius:10px;display:grid;place-items:center;background:var(--text);color:var(--surface);font-size:14px;letter-spacing:0}
.auth-card{width:100%;background:transparent;border:0;border-radius:0;padding:0;box-shadow:none}
.auth-heading{margin:0 0 24px}.auth-kicker{display:none}
.auth-heading h1,.auth-card h1{margin:0 0 7px;font-size:29px;line-height:1.08;letter-spacing:-1.05px}.auth-heading p,.auth-card>p{margin:0;color:var(--muted);font-size:14px;line-height:1.55}
.auth-form{gap:16px}.auth-form label>span{font-size:12px;margin-bottom:7px;color:var(--muted-strong)}
.auth-label-row{display:flex!important;align-items:center;justify-content:space-between;gap:12px;margin-bottom:7px!important}.auth-label-row>span{margin:0!important}.auth-label-row a{color:var(--muted);font-size:11px;font-weight:750;text-decoration:none}.auth-label-row a:hover{color:var(--text);text-decoration:underline;text-underline-offset:3px}
.auth-form input[type="text"],.auth-form input[type="email"],.auth-form input[type="password"]{height:48px;border-radius:11px;background:var(--surface);border:1px solid var(--border);padding:0 13px;font-size:16px;box-shadow:none}
.auth-form input:focus{border-color:var(--brand-accent);box-shadow:0 0 0 3px color-mix(in srgb,var(--brand-accent) 12%,transparent)}
.auth-form .primary-button,.password-recovery-card>.primary-button{min-height:48px;border-radius:11px;margin-top:2px;font-size:14px}
.auth-switch{margin-top:20px;text-align:center;color:var(--muted);font-size:13px}.auth-switch a{color:var(--text);font-weight:850;text-decoration:none}.auth-switch a:hover{text-decoration:underline;text-underline-offset:3px}
.auth-secondary-link{display:block;text-align:center;color:var(--muted-strong);font-size:12px;font-weight:750;text-decoration:none}.auth-secondary-link:hover{text-decoration:underline;text-underline-offset:3px}
.password-recovery-card{padding-top:2px}
.settings-card,.legal-card{margin:18px;padding:20px;border:1px solid var(--border);border-radius:14px;background:var(--surface)}

.upload-progress{height:24px;border-radius:8px;background:var(--surface-soft);position:relative;overflow:hidden;border:1px solid var(--border)}.upload-progress>div{height:100%;width:0;background:var(--blue);transition:width .15s}.upload-progress span{position:absolute;inset:0;display:grid;place-items:center;font-size:11px;font-weight:800;color:var(--text);mix-blend-mode:difference}
.avatar-editor{display:flex;align-items:center;gap:15px}.avatar-editor>img{width:78px;height:78px;border-radius:50%;object-fit:cover;border:1px solid var(--border)}.avatar-editor label{display:inline-flex!important;align-items:center;gap:7px;background:var(--surface-soft);border:1px solid var(--border);border-radius:9px;padding:9px 12px;cursor:pointer}.avatar-editor label:hover{background:var(--surface-hover)}.avatar-editor label span{margin:0!important;color:var(--text)!important}.avatar-editor input{display:none}
.interest-manager h2{margin:0;font-size:19px}.interest-manager>p{color:var(--muted);margin:4px 0 13px;font-size:13px}.interest-row{display:flex;align-items:center;gap:11px;padding:9px 0;border-top:1px solid var(--border)}.interest-row>span:nth-child(2){flex:1;font-size:14px;font-weight:700}
.legal-card{white-space:normal;line-height:1.72;min-height:280px;font-size:15px}

/* Empty states, footer and utilities */
.empty-state{max-width:680px;margin:52px auto;padding:30px;text-align:center;background:var(--surface);border:1px solid var(--border);border-radius:14px}.empty-state.compact{margin:18px}.empty-state h1,.empty-state h2{margin:0 0 7px;font-size:21px}.empty-state p{color:var(--muted);margin:0 0 18px;font-size:14px}.empty-inline{padding:32px 18px;text-align:center;color:var(--muted);background:var(--surface);font-size:14px}
.floating-create{position:fixed;right:max(22px,calc((100vw - 1080px)/2));bottom:max(22px,calc(env(safe-area-inset-bottom) + 14px));width:52px;height:52px;border-radius:14px;background:var(--text);color:var(--surface);display:grid;place-items:center;z-index:70;box-shadow:0 10px 28px rgba(0,0,0,.20);transition:transform .16s}.floating-create:hover{transform:translateY(-2px)}
.site-footer{max-width:1020px;margin:26px auto 0;padding:22px 18px calc(26px + env(safe-area-inset-bottom));display:flex;justify-content:space-between;gap:18px;color:var(--muted);font-size:12px;border-top:1px solid var(--border)}.site-footer nav{display:flex;gap:14px;flex-wrap:wrap}.site-footer a:hover{color:var(--text)}
.toast-stack{position:fixed;right:16px;top:max(16px,env(safe-area-inset-top));z-index:500;display:flex;flex-direction:column;gap:8px;pointer-events:none}.toast{background:var(--text);color:var(--surface);padding:11px 14px;border-radius:10px;box-shadow:var(--shadow);max-width:350px;font-size:14px;font-weight:700;animation:toast-in .22s ease}.toast-error{background:#a91f2e;color:#fff}.toast-success{background:#176e42;color:#fff}@keyframes toast-in{from{opacity:0;transform:translateY(-6px)}to{opacity:1;transform:none}}

@media(max-width:900px){
  .feed-layout{grid-template-columns:minmax(0,680px);justify-content:center}.desktop-rail{display:none}.floating-create{right:18px}.header-inner{padding-left:16px;padding-right:16px}
}
@media(max-width:720px){
  :root{--header-h:62px;--radius:0}
  .header-inner{grid-template-columns:44px 1fr auto;gap:8px;padding-left:12px;padding-right:12px}.round-button{width:40px;height:40px}.brand{font-size:23px;letter-spacing:-1.1px}.header-actions{gap:0}.header-action{width:39px;height:39px}.avatar-button,.avatar-button img{width:36px;height:36px}.header-login{padding:0 8px}
  .feed-tabs{height:47px}.feed-tabs a{font-size:14px}.topic-chip-strip{padding:0 12px;height:46px}.topic-chip{padding:5px 10px;font-size:12px}
  .feed-layout{margin:0;padding:0 0 28px;display:block}.feed-column{gap:8px}.post-card{border-left:0;border-right:0;border-radius:0}.post-card-header{padding:0 13px}.post-title{font-size:19px;padding-left:13px;padding-right:13px}.post-body{padding-left:13px;padding-right:13px}.post-media img,.post-media video{max-height:none}.post-actions{height:50px}.post-tags{padding-left:13px;padding-right:13px}
  .page-shell{border:0;width:100%;max-width:none}.subpage-header{padding-left:12px;padding-right:12px}.single-post-wrap .post-card{border-bottom:0}.comments-section{padding:0}
  .composer-step-header{height:calc(72px + env(safe-area-inset-top));grid-template-columns:46px 1fr 68px;padding-left:16px;padding-right:16px}.composer-step-header h1{font-size:19px}.composer-step-action{height:40px;min-width:62px;padding:0 12px}.composer-describe-stage{min-height:calc(100vh - 72px - env(safe-area-inset-top));padding:30px 30px 38px}.composer-media-stage{margin-bottom:32px}.composer-media-empty{min-height:230px}.composer-media-preview{min-height:230px}.composer-media-preview img,.composer-media-preview video{max-height:360px}.composer-title-editor textarea{font-size:23px}.composer-interest-selector{padding:0 30px}.composer-post-summary{padding-left:30px;padding-right:30px}.composer-tags-editor{padding-left:30px;padding-right:30px}.composer-tag-suggestions{padding-left:30px;padding-right:30px}.composer-interest-list{padding-left:30px;padding-right:30px}
  .profile-hero{padding:20px 18px 17px}.profile-tabs{height:55px}.profile-edit-button{padding:8px 11px}.profile-topbar{grid-template-columns:48px 1fr auto}
  .notification-row{padding:10px 14px}.search-bar-page{padding-left:12px;padding-right:12px}.search-suggestions{padding-left:20px;padding-right:20px}.search-results{gap:8px}
  .settings-card,.legal-card{margin:12px;border-radius:12px;padding:17px}.site-footer{padding-left:16px;padding-right:16px;flex-direction:column;margin-top:16px}.floating-create{bottom:max(16px,calc(env(safe-area-inset-bottom) + 10px));width:48px;height:48px;border-radius:13px}.toast-stack{left:12px;right:12px}.toast{max-width:none}
}
@media(max-width:480px){
  .header-actions .header-action:nth-child(2){display:none}.brand{font-size:22px}.feed-tabs a{font-size:13px}.post-title{font-size:18px}.post-body{font-size:14px}.post-card-header{min-height:50px}.topic-label strong{font-size:13px}.post-action{min-width:32px;padding:0 4px;font-size:12px}
  .profile-identity{gap:14px}.profile-avatar,.profile-avatar img{width:72px;height:72px}.profile-bio{font-size:15px}.profile-tabs a{font-size:12px}.profile-metrics{gap:12px}.profile-topbar h1{font-size:18px}
  .notification-row{grid-template-columns:42px 1fr 44px;padding-left:11px;padding-right:11px}.notification-avatar{width:42px;height:42px}.notification-thumb{width:44px;height:44px}.notification-copy{font-size:13px}.search-bar-page input{font-size:15px}.search-bar-page a{font-size:13px}.search-suggestions a{font-size:17px}
  .comments-toolbar{padding-left:18px;padding-right:18px}.comment-guideline{padding-left:18px;padding-right:18px}.comment-item{grid-template-columns:42px minmax(0,1fr);gap:10px;padding-left:18px;padding-right:18px}.comment-avatar img{width:42px;height:42px}.comment-replies{margin-left:52px}.comment-replies .comment-item{grid-template-columns:34px minmax(0,1fr);padding-left:14px;padding-right:18px}.comment-replies .comment-avatar img{width:34px;height:34px}.comment-composer{grid-template-columns:34px minmax(0,1fr);gap:8px;padding-left:12px;padding-right:12px}.comment-composer>img{width:34px;height:34px}
  .composer-describe-stage{padding-left:24px;padding-right:24px}.composer-media-stage{margin-bottom:26px}.composer-media-empty{min-height:205px}.composer-media-preview{min-height:205px}.composer-media-preview img,.composer-media-preview video{max-height:330px}.composer-title-editor textarea{font-size:21px}.composer-interest-selector{padding-left:24px;padding-right:24px}.composer-post-summary{padding:24px;grid-template-columns:minmax(0,1fr) 72px;min-height:148px}.composer-summary-media{width:72px;height:92px}.composer-tags-editor{padding-left:24px;padding-right:24px}.composer-tag-suggestions{padding-left:24px;padding-right:24px}.composer-more-options{margin-left:24px;margin-right:24px}.composer-interest-list{padding-left:24px;padding-right:24px}.composer-interest-option{min-height:68px}.composer-interest-option>span:nth-child(2){font-size:17px}
  .avatar-editor{align-items:flex-start;flex-direction:column}.site-footer nav{gap:12px}
}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;animation:none!important;transition:none!important}}


/* Two-step registration, verification and password recovery */
.registration-card{width:100%}
.registration-progress{display:flex;flex-direction:column;gap:9px;margin:0 0 27px}
.registration-progress>div{display:flex;align-items:center;justify-content:space-between;color:var(--muted);font-size:10px;font-weight:800;text-transform:uppercase;letter-spacing:.09em}.registration-progress>div strong{color:var(--text);font-size:10px}
.registration-progress>i{display:block;width:100%;height:2px;border-radius:999px;background:var(--border);overflow:hidden}.registration-progress>i>b{display:block;height:100%;background:var(--text);border-radius:inherit;transition:width .2s ease}
.registration-heading{margin-bottom:23px}.registration-heading small{display:none}
.field-help{display:block;margin-top:6px;color:var(--muted);font-size:11px;line-height:1.4}
.checkbox-row{gap:10px!important;align-items:flex-start!important;padding:2px 0}.checkbox-row input{width:19px!important;height:19px!important;margin-top:0!important;border-radius:6px}.checkbox-row>span{font-size:12px!important;color:var(--muted-strong)!important;line-height:1.55!important}.checkbox-row a{color:var(--text);font-weight:750;text-decoration:underline;text-underline-offset:2px}
.registration-avatar-picker{display:grid;grid-template-columns:70px minmax(0,1fr);gap:15px;align-items:center;padding:1px 0 3px}
.registration-avatar-control{position:relative;display:block!important;width:70px;height:70px;cursor:pointer}.registration-avatar-control>img{width:70px;height:70px;border-radius:50%;object-fit:cover;border:1px solid var(--border);background:var(--surface)}.registration-avatar-control>span{position:absolute;right:-1px;bottom:-1px;width:26px;height:26px;border-radius:50%;display:grid!important;place-items:center;background:var(--text);color:var(--surface);border:3px solid var(--bg);margin:0!important}.registration-avatar-control svg{width:13px;height:13px}
.registration-avatar-picker>div{display:flex;flex-direction:column;align-items:flex-start;gap:3px}.registration-avatar-picker strong{font-size:13px}.registration-avatar-picker small{color:var(--muted);font-size:11px;line-height:1.45}.registration-avatar-picker>input{display:none}.avatar-text-action{display:inline-flex!important;margin-top:3px!important;color:var(--text)!important;font-size:12px!important;font-weight:800!important;cursor:pointer;text-decoration:underline;text-underline-offset:3px}.avatar-text-action:hover{opacity:.72}
.verification-card{text-align:left}.verification-icon{width:40px;height:40px;border-radius:12px;display:grid;place-items:center;margin:0 0 18px;background:var(--surface);border:1px solid var(--border);color:var(--text)}
.inline-alert{border:1px solid color-mix(in srgb,var(--danger) 20%,var(--border));background:color-mix(in srgb,var(--danger) 5%,var(--surface));color:var(--muted-strong);border-radius:10px;padding:10px 11px;margin:0 0 16px;font-size:12px;line-height:1.5;text-align:left}.inline-alert.success{border-color:color-mix(in srgb,var(--green) 22%,var(--border));background:color-mix(in srgb,var(--green) 5%,var(--surface))}
@media(min-width:700px){.auth-page{align-items:center}.auth-shell{gap:32px}.auth-card{padding:0 2px}}
@media(max-width:520px){.auth-page{padding-left:22px;padding-right:22px}.auth-shell{gap:28px}.auth-heading h1,.auth-card h1{font-size:27px}.registration-avatar-picker{grid-template-columns:64px minmax(0,1fr)}.registration-avatar-control,.registration-avatar-control>img{width:64px;height:64px}}

