:root {
  color-scheme: light;
  --blue: #245eff;
  --blue-strong: #1557f7;
  --blue-soft: #eef3ff;
  --ink: #17213a;
  --muted: #74819a;
  --line: #e2e7ef;
  --canvas: #f7f9fc;
  --surface: #fff;
  --sans: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --shadow: 0 18px 50px #16213a24;
}

* { box-sizing: border-box; }
html, body { width: 100%; height: 100%; margin: 0; }
body { overflow: hidden; background: var(--surface); color: var(--ink); font: 14px/1.45 var(--sans); -webkit-font-smoothing: antialiased; }
button, input, textarea, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { color: inherit; }
a { color: inherit; text-decoration: none; }
button:focus-visible, a:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible { outline: 3px solid #85a9ff; outline-offset: 2px; }

/* Persistent app header */
.spa-header { position: relative; z-index: 20; display: flex; height: 74px; align-items: center; gap: 34px; padding: 0 30px; border-bottom: 1px solid var(--line); background: var(--surface); }
.brand { display: flex; width: 246px; flex: 0 0 246px; align-items: center; }
.brand img { display: block; width: 148px; height: 74px; object-fit: contain; object-position: left center; }
.search { position: relative; display: flex; width: min(38vw, 590px); min-width: 0; height: 44px; flex: 1 1 420px; align-items: center; gap: 13px; padding: 0 15px; border: 1px solid #e2e7ef; border-radius: 11px; background: #f5f7fa; color: #78859c; }
.search > svg { width: 17px; height: 17px; flex: 0 0 17px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.search input { width: 100%; min-width: 0; height: 100%; border: 0; outline: 0; background: transparent; color: var(--ink); font-size: 14px; }
.search input::placeholder { color: #8793a7; }
.search kbd { flex: 0 0 auto; color: #68758c; font: 14px var(--sans); }
.header-nav { display: flex; flex: 0 0 auto; align-items: center; gap: 22px; margin-left: auto; }
.header-nav > a { display: flex; align-items: center; gap: 7px; color: #53617a; font-size: 14px; white-space: nowrap; }
.header-nav > a:hover { color: var(--blue); }
.header-nav svg, .sidebar-link svg, .mobile-nav svg { width: 19px; height: 19px; flex: 0 0 19px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.button { display: inline-flex; min-height: 40px; align-items: center; justify-content: center; gap: 8px; padding: 0 16px; border: 1px solid transparent; border-radius: 10px; cursor: pointer; font-weight: 600; white-space: nowrap; transition: background .15s, border-color .15s, transform .15s; }
.button-primary { background: var(--blue-strong); color: #fff; box-shadow: 0 3px 8px #1557f72c; }
.button-primary:hover { transform: translateY(-1px); background: #0649e9; }
.button:disabled { opacity: .52; cursor: not-allowed; transform: none; }
.header-submit { height: 42px; padding: 0 19px; font-size: 14px; }
.header-submit svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.icon-button { display: grid; width: 42px; height: 42px; place-items: center; border: 0; border-radius: 50%; background: #f0f3f8; color: #263653; cursor: pointer; }
.icon-button svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.account-button { overflow: hidden; }
.user-avatar { position: relative; display: inline-grid; overflow: hidden; place-items: center; flex: 0 0 auto; border-radius: 50%; background: #edf3ff; color: var(--blue); font-weight: 650; }
.user-avatar:has(.user-avatar-image) { background: transparent; }
.user-avatar-initial { position: relative; z-index: 0; }
.user-avatar-image { position: absolute; z-index: 1; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.header-avatar { width: 36px; height: 36px; min-width: 36px; flex-basis: 36px; aspect-ratio: 1; border-radius: 50%; font-size: 15px; }
.account-button:has(.header-avatar) { background: transparent; }
.account-menu { position: absolute; z-index: 22; top: 65px; right: 23px; display: none; width: 238px; padding: 8px; border: 1px solid var(--line); border-radius: 13px; background: var(--surface); box-shadow: var(--shadow); }
.account-menu.is-open { display: grid; }
.account-menu-identity { display: grid; gap: 3px; padding: 11px 11px 14px; border-bottom: 1px solid var(--line); }
.account-menu-profile { display: grid; gap: 3px; margin: -4px -5px -6px; padding: 4px 5px 6px; border-radius: 8px; color: inherit; text-decoration: none; }
.account-menu-profile { grid-template-columns: 38px minmax(0,1fr); align-items: center; gap: 10px; }
.account-menu-profile-copy { display: grid; min-width: 0; gap: 3px; }
.account-menu-avatar { width: 38px; height: 38px; border-radius: 50%; font-size: 16px; }
.account-menu-profile:hover { background: #f3f6fc; }
.account-menu-profile:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
.account-menu-identity strong { font-size: 14px; }
.account-menu-identity small { color: var(--muted); font-size: 12px; }
.account-menu-actions { display: grid; gap: 2px; padding-top: 5px; }
.account-menu-actions > a, .account-menu-actions > button { display: flex; align-items: center; gap: 10px; padding: 10px 11px; border: 0; border-radius: 8px; background: transparent; color: #384660; text-align: left; font-size: 13px; cursor: pointer; }
.account-menu-actions > a:hover, .account-menu-actions > button:hover { background: #f3f6fc; }
.account-menu-divider { height: 1px; margin: 4px 8px; background: var(--line); }
.account-menu-icon { display: grid; width: 17px; height: 18px; flex: 0 0 17px; place-items: center; color: #73819b; }
.account-menu-icon svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.account-menu-label { min-width: 0; flex: 1 1 auto; }
.account-menu-actions > .account-wallet-link { color: var(--ink); font-weight: 600; }
.account-menu-actions > a.active { background: #eef3ff; color: var(--blue); font-weight: 600; }
.account-menu-actions > .account-wallet-link strong { margin-left: auto; color: var(--blue); font-size: 12px; font-weight: 600; }
.wallet-amount { margin: 0; color: var(--blue); font-size: 32px; font-weight: 500; letter-spacing: -.04em; }
.wallet-balance-card { margin: 0 0 24px; padding: 18px; border: 1px solid var(--line); border-radius: 12px; background: var(--canvas); }
.wallet-balance-card > div { display: grid; gap: 5px; }
.wallet-balance-card span { color: var(--muted); font-size: 12px; }
.wallet-balance-card strong { color: var(--blue); font-size: 32px; font-weight: 600; letter-spacing: -.04em; }
.wallet-balance-card p { margin: 12px 0 0; color: var(--muted); font-size: 12px; line-height: 1.5; }
.wallet-fund-section { margin: 0 0 25px; }
.wallet-section-heading { margin: 0 0 11px; }
.wallet-section-heading h3, .wallet-history-section h3 { margin: 0 0 5px; color: var(--ink); font-size: 15px; font-weight: 600; }
.wallet-section-heading p { margin: 0; color: var(--muted); font-size: 12px; }
.wallet-packs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
.wallet-topup { display: grid; gap: 3px; min-height: 64px; padding: 11px 13px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); color: var(--ink); text-align: left; cursor: pointer; }
.wallet-topup:hover { border-color: #9bb9ff; background: #f6f9ff; }
.wallet-topup strong { font-size: 15px; font-weight: 600; }
.wallet-topup span { color: var(--blue); font-size: 12px; }
.wallet-status { min-height: 0; margin: 10px 0 0; color: var(--muted); font-size: 12px; line-height: 1.45; }
.wallet-status:empty { display: none; }
.wallet-history-section { margin: 0 0 22px; }
.wallet-history-section h3 { margin-bottom: 8px; }
.wallet-history-list { display: grid; }
.wallet-history-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 3px 12px; padding: 10px 1px; border-top: 1px solid var(--line); color: var(--ink); font-size: 12px; }
.wallet-history-row > a { overflow: hidden; color: var(--ink); text-overflow: ellipsis; white-space: nowrap; }
.wallet-history-row strong { font-size: 12px; font-weight: 600; }
.wallet-history-row strong.positive { color: #21865b; }
.wallet-history-row strong.negative { color: #bd4652; }
.wallet-history-row small { grid-column: 1 / -1; color: var(--muted); font-size: 11px; }
.wallet-empty { margin: 0; padding: 11px 1px; border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; line-height: 1.45; }
.search-suggestions { position: absolute; z-index: 30; top: calc(100% + 8px); left: 0; width: 100%; max-height: min(65vh, 420px); overflow: auto; padding: 6px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); box-shadow: var(--shadow); }
.search-suggestions[hidden] { display: none; }
.search-suggestions a { display: grid; gap: 3px; padding: 10px; border-radius: 8px; color: #3a4963; font-size: 13px; }
.search-suggestions a:hover { background: #f2f6ff; }
.search-suggestions small { color: #8894a8; font-size: 11px; }
.search-suggestion-post { display: grid; grid-template-columns: minmax(0, 1fr) 30px; align-items: center; gap: 4px; border-radius: 8px; }
.search-suggestion-post:hover { background: #f2f6ff; }
.search-suggestion-post > a { min-width: 0; }
.search-suggestions .search-suggestion-post > a:hover { background: transparent; }
.search-suggestion-save { display: grid; width: 28px; height: 28px; place-items: center; padding: 0; border: 0; border-radius: 7px; background: transparent; color: #8290a6; cursor: pointer; }
.search-suggestion-save:hover, .search-suggestion-save.saved { background: var(--blue-soft); color: var(--blue); }
.search-suggestion-save svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

/* Three-pane shell */
.app-shell { display: grid; width: 100%; height: calc(100dvh - 74px); grid-template-columns: minmax(210px, 15vw) minmax(460px, 43vw) minmax(420px, 1fr); overflow: hidden; }
.sidebar, .feed-column, .detail-column { min-width: 0; height: 100%; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: none; -ms-overflow-style: none; }
.sidebar::-webkit-scrollbar, .feed-column::-webkit-scrollbar, .detail-column::-webkit-scrollbar { display: none; }
.sidebar { display: flex; flex-direction: column; padding: 14px 15px 20px; border-right: 1px solid var(--line); background: var(--surface); }
.topic-nav { display: grid; gap: 3px; }
.sidebar-link { display: flex; min-height: 46px; align-items: center; gap: 18px; padding: 0 20px; border-radius: 9px; color: #3e4d67; font-size: 14px; font-weight: 500; transition: background .14s, color .14s; }
.sidebar-link:hover { background: #f4f7fc; color: var(--blue); }
.sidebar-link.active { background: #eaf1ff; color: #1557f7; font-weight: 600; }
.sidebar-link small { margin-left: auto; color: #8793a8; font-size: 12px; font-variant-numeric: tabular-nums; }
.side-icon { display: grid; width: 22px; flex: 0 0 22px; place-items: center; color: #687790; }
.sidebar-link.active .side-icon { color: var(--blue); }
.sidebar-more { display: flex; min-height: 44px; align-items: center; justify-content: space-between; margin-top: 5px; padding: 0 11px 0 46px; border: 0; background: transparent; color: var(--blue); font-size: 13px; text-align: left; cursor: pointer; }
.sidebar-more svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.library-nav { display: grid; gap: 5px; margin-top: auto; padding-top: 18px; border-top: 1px solid var(--line); }

/* Feed column */
.feed-column { position: relative; border-right: 1px solid var(--line); background: var(--surface); }
.feed-sticky { position: sticky; z-index: 5; top: 0; background: var(--surface); }
.feed-heading-row { display: none; }
.feed-heading-row h1 { margin: 0; color: #202b42; font-size: 17px; font-weight: 600; letter-spacing: -.25px; }
.feed-heading-row > span { color: #8792a7; font-size: 12px; }
.feed-tabs { display: flex; height: 50px; align-items: stretch; gap: 27px; padding: 0 24px; border-bottom: 1px solid var(--line); }
.search-tools { display: flex; min-height: 46px; align-items: center; gap: 10px; padding: 6px 24px; border-bottom: 1px solid var(--line); background: var(--surface); }
.search-tools[hidden] { display: none; }
.search-summary { margin: 0; padding: 8px 24px 0; color: #8591a6; font-size: 11px; line-height: 1.4; }
.search-summary[hidden] { display: none; }
.search-tool { display: flex; min-width: 0; align-items: center; gap: 6px; color: #78859b; font-size: 11px; white-space: nowrap; }
.search-tool select { max-width: 150px; height: 30px; padding: 0 24px 0 8px; border: 1px solid var(--line); border-radius: 7px; background: var(--surface); color: #3e4d67; font: 12px var(--sans); }
.search-tool select:focus-visible { outline: 2px solid #8caaff; outline-offset: 1px; }
.search-syntax-help { position: relative; margin-left: auto; color: var(--blue); font-size: 12px; white-space: nowrap; }
.search-syntax-help summary { cursor: pointer; list-style: none; }
.search-syntax-help summary::-webkit-details-marker { display: none; }
.search-syntax-popover { position: absolute; z-index: 20; top: calc(100% + 9px); right: 0; width: min(340px, 75vw); padding: 14px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); box-shadow: var(--shadow); color: #53627b; font-size: 12px; line-height: 1.55; white-space: normal; }
.search-syntax-popover p { margin: 0 0 8px; }
.search-syntax-popover p:last-child { margin-bottom: 0; }
.search-syntax-popover code { color: var(--ink); font-size: 11px; }
.search-interpretation { margin: 0 10px 5px; color: #8290a6; font-size: 12px; }
.post-search-excerpt { display: -webkit-box; margin: 6px 0 0; overflow: hidden; color: #71809a; font-size: 12px; line-height: 1.45; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.post-search-excerpt mark { border-radius: 2px; background: #fff1bf; color: inherit; }
.topic-search-result { display: grid; grid-template-columns: minmax(0, 1fr) minmax(120px, .8fr); align-items: center; gap: 18px; }
.search-pagination { display: flex; justify-content: center; gap: 10px; padding: 22px 10px; }
.search-pagination a { padding: 7px 10px; border: 1px solid var(--line); border-radius: 7px; color: #61718d; font-size: 12px; }
.search-pagination a[aria-current="page"] { border-color: #9bb4ff; background: #f1f5ff; color: var(--blue); }
.feed-refresh-indicator { display: inline-flex; width: 16px; flex: 0 0 16px; align-items: center; justify-content: center; margin-left: auto; color: var(--blue); }
.feed-refresh-indicator[hidden] { display: none; }
.feed-refresh-indicator span { width: 14px; height: 14px; border: 2px solid #dbe6ff; border-top-color: var(--blue); border-radius: 50%; animation: feed-spin .7s linear infinite; }
.feed-list { transition: opacity .16s ease; }
.feed-list.is-refreshing { opacity: .58; }
@keyframes feed-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .feed-refresh-indicator span { animation-duration: 1.8s; } .feed-list { transition-duration: .01ms; } }
.feed-tabs a, .feed-tabs button { position: relative; display: flex; align-items: center; padding: 0; border: 0; background: transparent; color: #68768e; font-size: 14px; font-weight: 500; white-space: nowrap; cursor: pointer; }
.feed-tabs a:hover, .feed-tabs button:hover { color: var(--blue); }
.feed-tabs .active { color: #18243b; font-weight: 600; }
.feed-tabs .active::after { position: absolute; right: 0; bottom: -1px; left: 0; height: 2px; background: var(--blue); content: ""; }
.feed-list { padding: 12px 14px 30px; }
.post-row { display: grid; grid-template-columns: 88px minmax(0, 1fr); gap: 14px; min-height: 106px; padding: 9px 11px; border-radius: 12px; cursor: pointer; transition: background .15s; }
.post-row:hover { background: #f7f9fd; }
.post-row.selected { background: #edf3ff; }
.post-thumb { display: grid; width: 88px; height: 88px; place-items: center; overflow: hidden; border: 1px solid #dfe5ef; border-radius: 11px; background: linear-gradient(145deg, #e8f0ff, #f3f6fc); background:#fff;color: #6680bf; }
.post-thumb img { width: 100%; height: 100%; object-fit: cover; }
.post-thumb-fallback { display: grid; width: 100%; height: 100%; place-items: center; border-radius: inherit; background: hsl(var(--thumb-hue, 220) 48% 95%); color: #64718a; font-size: 27px; font-weight: 650; }
.post-main { min-width: 0; align-self: center; }
.post-title-line { display: flex; align-items: center; gap: 8px; }
.post-title { display: -webkit-box; min-width: 0; overflow: hidden; color: #1a263e; font-size: 16px; font-weight: 600; line-height: 1.35; text-overflow: ellipsis; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.post-title { flex: 1 1 auto; }
.nsfw-redacted { filter: blur(5px); user-select: none; }
.sensitive-content-revealed .nsfw-redacted { filter: none; }
.sensitive-detail h2[data-reveal-trigger]:focus-visible { outline: 2px solid #85a9ff; outline-offset: 4px; }
.sensitive-detail-content { display: grid; gap: 12px; margin: 14px 0; }
.sensitive-detail-preview { display: block; max-width: 100%; max-height: 360px; border: 1px solid var(--line); border-radius: 12px; object-fit: contain; }
.post-topic-badge { min-width: 0; flex: 0 1 auto; max-width: 104px; overflow: hidden; padding: 2px 6px; border: 1px solid #dce6fa; border-radius: 999px; background: #fff; color: #526fae; font: 600 9px var(--sans); letter-spacing: .02em; line-height: 1.25; text-overflow: ellipsis; white-space: nowrap; }
.post-visited-mark { display: inline-flex; width: 18px; height: 20px; flex: 0 0 18px; align-items: center; justify-content: center; color: #8a98ae; visibility: hidden; }
.post-visited-mark.is-visible { color: #8792a3; visibility: visible; }
.post-visited-mark.is-visited { color: var(--blue); }
.post-visited-mark svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.post-source { display: flex; align-items: center; gap: 7px; margin-top: 4px; color: #8390a5; font-size: 12px; }
.post-timing-status { align-self: center; color: inherit; font-size: inherit; }
.post-source a { overflow: hidden; color: #73819a; text-overflow: ellipsis; white-space: nowrap; }
.post-source .post-author:hover { color: var(--blue); }
.post-stats { display: flex; min-height: 16px; flex: 0 0 auto; align-items: center; flex-wrap: wrap; gap: 10px; margin: 0; color: #8995a8; font-size: 11px; line-height: 1; }
.post-stats span { display: inline-flex; align-items: center; gap: 4px; white-space: nowrap; }
.post-stats svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.post-stats svg.comment-filled { fill: currentColor; stroke: currentColor; }
.post-stats .post-inline-save { min-height: 24px; gap: 4px; padding: 0 7px; border-radius: 7px; font-size: 11px; }
.post-stats .post-inline-save svg { width: 12px; height: 12px; }
.post-meta { display: flex; min-width: 0; align-items: center; gap: 11px; color: #8190a5; font-size: 11px; }
.post-meta > a[href*="/p/"] { display: inline-flex; align-items: center; gap: 4px; }
.post-meta > a[href*="/p/"] svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.post-topic { max-width: 120px; overflow: hidden; padding: 4px 9px; border-radius: 999px; background: #eff4ff; color: #416ee1; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.post-footer-row { display: flex; min-width: 0; align-items: center; justify-content: space-between; gap: 8px; margin-top: 6px; }
.post-category-row { display: flex; min-width: 0; flex: 1 1 auto; align-items: center; flex-wrap: wrap; gap: 5px; }
.post-meta .author { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.post-meta .author:hover { color: var(--blue); }
.post-label { flex: 0 0 auto; padding: 2px 6px; border: 1px solid #dce6fa; border-radius: 999px; background: #fff; color: #c62828; font: 600 9px var(--sans); letter-spacing: .02em; line-height: 1.25; }
.row-actions { display: flex; flex: 0 0 auto; align-items: center; gap: 9px; color: #7c8ba3; }
.row-action { display: inline-flex; min-width: 22px; align-items: center; justify-content: center; gap: 4px; padding: 0; border: 0; background: transparent; color: inherit; font-size: 11px; cursor: pointer; }
.row-action svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.comments-shortcut { gap: 5px; font-variant-numeric: tabular-nums; }
.row-action:hover, .row-action.saved { color: var(--blue); }
.vote-controls { display: flex; align-items: center; gap: 4px; }
.vote-controls button { display: grid; width: 27px; height: 28px; place-items: center; border: 0; border-radius: 7px; background: transparent; color: #8c9ab0; cursor: pointer; }
.vote-controls button svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.vote-controls button:hover, .vote-controls button.chosen { background: #eaf1ff; color: var(--blue); }
.score { min-width: 25px; color: #526681; text-align: center; font-size: 11px; font-variant-numeric: tabular-nums; }
.post-meta { margin-top: 2px; }
.feed-status { padding: 10px 24px; color: #8390a5; font-size: 12px; text-align: center; }
.feed-empty { padding: 40px 20px; color: #78859a; text-align: center; font-size: 14px; }
.feed-skeleton { height: 126px; margin: 11px 0; border-radius: 14px; background: linear-gradient(90deg, #f3f6fb, #fafcff, #f3f6fb); background-size: 200% 100%; animation: shimmer 1.25s infinite; }
@keyframes shimmer { to { background-position: -200% 0; } }
#feed-sentinel { height: 2px; }

/* Selected post and discussion */
.detail-column { padding: 0 28px 55px; background: var(--surface); }
.detail-empty { display: grid; min-height: 80vh; align-content: center; justify-items: center; padding: 25px; color: #7e8ba1; text-align: center; }
.empty-mark { display: grid; width: 54px; height: 54px; place-items: center; border: 1px solid #e4eaf4; border-radius: 16px; background: #f7f9fd; color: #9aabd0; font-size: 22px; font-weight: 600; }
.detail-empty p { margin: 15px 0 4px; color: #53617a; font-size: 15px; font-weight: 500; }
.detail-empty small { font-size: 13px; }
.detail-post { max-width: 760px; margin: 0 auto; padding: 25px 0 52px; }
.detail-source { display: flex; align-items: center; gap: 9px; color: #7d8aa0; font-size: 13px; }
.detail-source img { width: 19px; height: 19px; border-radius: 5px; }
.visit-shortcut { display: inline-flex; align-items: center; gap: 6px; margin-left: auto; color: var(--blue); font-weight: 600; white-space: nowrap; }
.visit-shortcut svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.detail-title-row { display: flex; align-items: center; gap: 12px; margin: 15px 0 11px; }
.detail-post .detail-title-row h2 { min-width: 0; flex: 1 1 auto; margin: 0; color: #17223a; font-size: 30px; line-height: 1.22; letter-spacing: -.75px; }
.detail-post h2 { margin: 15px 0 11px; color: #17223a; font-size: 30px; line-height: 1.22; letter-spacing: -.75px; }
.detail-preview-image { display: block; overflow: hidden; max-height: 360px; margin: 16px 0; border: 1px solid var(--line); border-radius: 13px; background: #f1f4f9; }
.detail-preview-image img { display: block; width: 100%; max-height: 360px; object-fit: cover; }
.detail-body { margin: 0; color: #5f6d84; font-size: 16px; line-height: 1.62; white-space: pre-wrap; }
.detail-labels { display: flex; gap: 7px; margin: 12px 0; }
.detail-actions { display: flex; flex-wrap: wrap; gap: 9px; margin: 19px 0; padding: 0 0 18px; border-bottom: 1px solid var(--line); }
.action-button { display: inline-flex; min-height: 39px; align-items: center; justify-content: center; gap: 7px; padding: 0 13px; border: 1px solid #e4e9f1; border-radius: 999px; background: #fff; color: #53627a; font-size: 13px; font-weight: 500; cursor: pointer; }
.action-button svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.action-button:hover, .action-button.saved, .action-button.chosen { border-color: #c8d8ff; background: #f4f7ff; color: var(--blue); }
.vote-control { display: inline-flex; height: 39px; align-items: center; overflow: hidden; border: 1px solid #e4e9f1; border-radius: 999px; background: #fff; color: #53627a; }
.vote-control-button { display: inline-grid; width: 34px; height: 100%; place-items: center; padding: 0; border: 0; background: transparent; color: inherit; cursor: pointer; }
.vote-control-button svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.vote-control-button:hover, .vote-control-button.chosen { background: #f1f5ff; color: var(--blue); }
.vote-control-button:disabled { cursor: wait; opacity: .65; }
.vote-control-score { min-width: 24px; color: #34425b; font-size: 12px; font-weight: 600; line-height: 1; text-align: center; }
.vote-control-compact { height: 25px; border-color: transparent; background: transparent; }
.vote-control-compact .vote-control-button { width: 26px; }
.vote-control-compact .vote-control-score { min-width: 20px; color: #6e7d93; font-size: 11px; font-weight: 500; }
.vote-control-compact .vote-control-button:hover, .vote-control-compact .vote-control-button.chosen { border-radius: 6px; background: #f1f5ff; color: var(--blue); }
.vote-control-title { display: grid; width: 32px; height: auto; flex: 0 0 32px; justify-items: center; gap: 0; overflow: visible; border: 0; border-radius: 0; background: transparent; color: #8995a8; }
.vote-control-title .vote-control-button { width: 30px; height: 23px; border-radius: 6px; }
.vote-control-title .vote-control-button:hover { background: #f1f5ff; color: var(--blue); }
.vote-control-title .vote-control-button.chosen { background: transparent; color: var(--blue); }
.vote-control-title .vote-control-score { min-width: 20px; color: #6e7d93; font-size: 12px; }
.vote-triangle { display: block; width: 0; height: 0; border-right: 7px solid transparent; border-bottom: 9px solid currentColor; border-left: 7px solid transparent; }
.vote-triangle-down { transform: rotate(180deg); }
.action-button.remove { margin-left: auto; color: #b42318; }
.action-button.remove:hover { border-color: #f3c5c2; background: #fff5f4; color: #b42318; }
.action-button.visit { position: relative; overflow: hidden; isolation: isolate; border-color: var(--blue-strong); background: var(--blue-strong); color: #fff; box-shadow: 0 3px 8px #1557f72c; }
.action-button.visit::after { position: absolute; top: -45%; bottom: -45%; left: -45%; width: 38%; transform: translateX(-140%) skewX(-22deg); background: linear-gradient(90deg, transparent, #ffffff9c, transparent); content: ""; pointer-events: none; animation: visit-link-shine 3.8s ease-in-out infinite; }
@keyframes visit-link-shine { 0%, 58% { transform: translateX(-140%) skewX(-22deg); } 100% { transform: translateX(490%) skewX(-22deg); } }
.detail-meta { display: flex; flex-wrap: wrap; gap: 8px 15px; margin: 14px 0 28px; color: #8290a5; font-size: 12px; }
.detail-meta a:hover { color: var(--blue); }
.discussion-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 25px 0 15px; }
.discussion-heading h3 { margin: 0; color: #1e2a41; font-size: 18px; font-weight: 600; }
.discussion-heading span { color: #8290a5; font-size: 12px; }
.comment-form { display: grid; gap: 11px; margin-bottom: 23px; }
.comment-form textarea { width: 100%; min-height: 94px; resize: vertical; padding: 13px 14px; border: 1px solid #e1e6ee; border-radius: 10px; background: #fbfcfe; color: var(--ink); font-size: 13px; }
.comment-form button { justify-self: end; }
.comment { padding: 15px 0; border-top: 1px solid #edf0f5; }
.comment-head { display: flex; align-items: center; gap: 9px; color: #8090a6; font-size: 11px; }
.comment-head strong { color: #35445e; font-size: 13px; }
.comment p { margin: 7px 0; color: #52617a; font-size: 13px; line-height: 1.6; white-space: pre-wrap; }
.comment-actions { display: flex; align-items: center; gap: 12px; }
.comment-actions button { display: inline-flex; align-items: center; gap: 4px; padding: 0; border: 0; background: transparent; color: #8390a5; font-size: 11px; cursor: pointer; }
.comment-actions button svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.comment-actions button:hover, .comment-actions .chosen { color: var(--blue); }
.comment-actions button:disabled { cursor: wait; opacity: .65; }
.comment-actions .comment-score { color: #6e7d93; font-size: 11px; }
.comment-status { min-height: 16px; color: #79879d; font-size: 12px; }

/* Drawers, topic directory, and account forms */
.overlay-root { position: fixed; z-index: 1000; inset: 0; isolation: isolate; }
.overlay-root[hidden] { display: none; }
.overlay-scrim { position: absolute; z-index: 0; inset: 0; width: 100%; height: 100%; border: 0; background: #17233b78; backdrop-filter: blur(3px); cursor: pointer; }
.drawer { position: absolute; z-index: 1; top: 0; right: 0; display: block; width: min(500px, 96vw); height: 100%; overflow: auto; padding: 28px 24px 32px; background: var(--surface); box-shadow: -18px 0 50px #192b4d22; animation: drawer-in .2s ease-out; }
.drawer:has(#submit-form-page:not([hidden])) { display: flex; flex-direction: column; overflow: hidden; padding-bottom: 12px; }
.drawer:has(#submit-form-page:not([hidden])) #drawer-content { display: flex; min-height: 0; flex: 1; flex-direction: column; }
.drawer:has(.remove-post-drawer) { display: flex; flex-direction: column; overflow: hidden; padding-bottom: 12px; }
.drawer:has(.remove-post-drawer) #drawer-content { display: flex; min-height: 0; flex: 1; flex-direction: column; }
.remove-post-drawer { display: flex; min-height: 0; flex: 1; flex-direction: column; }
.remove-post-warning { min-height: 0; flex: 1; overflow-y: auto; padding-top: 1px; }
.remove-post-warning > p { margin: 14px 0; color: var(--muted); font-size: 14px; line-height: 1.6; }
.remove-post-warning ul { display: grid; gap: 12px; margin: 0; padding-left: 21px; color: var(--ink); font-size: 14px; line-height: 1.55; }
.remove-post-warning li::marker { color: #d52e43; }
.remove-post-warning .remove-post-retention { margin-top: 18px; font-size: 13px; }
.remove-post-footer { display: grid; flex: none; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: auto; padding: 13px 0 2px; border-top: 1px solid var(--line); background: var(--surface); }
.remove-post-footer .button { width: 100%; min-height: 45px; }
#submit-form-page { display: flex; min-height: 0; flex: 1; flex-direction: column; }
#submit-form-page[hidden], #submit-faq-page[hidden] { display: none !important; }
#submit-form { display: flex; min-height: 0; flex: 1; flex-direction: column; gap: 0; }
.submit-stepper { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: start; padding: 3px 0 11px; xborder-bottom: 1px solid var(--line); --step-progress: 0%; }
.submit-stepper::before, .submit-stepper::after { position: absolute; top: 13px; left: 16.666%; height: 2px; content: ""; }
.submit-stepper::before { right: 16.666%; background: var(--line); }
.submit-stepper::after { width: var(--step-progress); background: var(--blue); transition: width .18s ease; }
.submit-stepper > span { z-index: 1; display: grid; min-width: 0; justify-items: center; gap: 5px; color: #8490a4; font-size: 12px; line-height: 1.25; text-align: center; }
.submit-stepper b { display: grid; width: 23px; height: 23px; place-items: center; border: 2px solid var(--line); border-radius: 50%; background: var(--surface); color: #718097; font-size: 11px; font-weight: 600; }
.submit-stepper > .is-current { color: var(--blue); font-weight: 600; }
.submit-stepper > .is-current b, .submit-stepper > .is-complete b { border-color: var(--blue); background: var(--blue); color: #fff; }
.submit-form-fields { display: grid; min-height: 0; flex: 1; align-content: start; gap: 15px; overflow-y: auto; overscroll-behavior: contain; padding: 6px; scrollbar-width: none; }
.submit-details { display: grid; align-content: start; gap: 15px; }
#submit-options-page[hidden], #submit-review-page[hidden], .submit-details[hidden] { display: none !important; }
.submit-options-page { display: grid; align-content: start; gap: 18px; padding: 6px 4px; }
.submit-review-page { display: grid; align-content: start; gap: 18px; padding: 10px 4px; }
.submit-review-summary { display: grid; grid-template-columns: 1fr; gap: 12px; padding: 14px; border: 1px solid var(--line); border-radius: 11px; background: #f8faff; }
.submit-review-summary.has-preview { grid-template-columns: 92px minmax(0, 1fr); align-items: center; }
.submit-review-preview { width: 92px; height: 76px; border: 1px solid var(--line); border-radius: 8px; background: var(--canvas); object-fit: cover; }
.submit-review-preview[hidden] { display: none; }
.submit-review-copy { display: grid; min-width: 0; gap: 7px; }
.submit-review-copy strong { color: #1e2a41; font-size: 15px; }
.submit-review-copy > span { color: #7c899f; font-size: 12px; overflow-wrap: anywhere; }
.submit-review-copy p { margin: 2px 0 0; color: #65738a; font-size: 12px; white-space: pre-wrap; }
.submit-review-info-list { display: grid; gap: 0; }
.submit-review-info { display: grid; grid-template-columns: minmax(88px, .7fr) minmax(0, 1.3fr); align-items: start; gap: 12px; padding: 9px 2px; border-bottom: 1px solid var(--line); font-size: 12px; }
.submit-review-info > span:first-child { color: #7c899f; }
.submit-review-info > strong { color: #384660; font-weight: 500; text-align: right; overflow-wrap: anywhere; }
.submit-review-price { display: flex; align-items: center; justify-content: space-between; padding: 0 2px; color: #52617a; font-size: 13px; }
.submit-review-price strong { color: #17213a; font-size: 18px; }
.payment-total-divider { width: 100%; height: 1px; margin: 14px 0 10px; border: 0; background: var(--line); }
.submit-timing { display: grid; gap: 16px; margin: 0; padding: 0; border: 0; border-radius: 0; }
.submit-timing-group { display: grid; gap: 8px; }
.submit-option-help { margin: 0; color: #7a879c; font-size: 12px; font-weight: 400; line-height: 1.45; }
.submit-timing-group > .submit-option-help { margin-top: -5px; }
.submit-timing h3 { margin: 0; }
.submit-timing h3, .submit-time-field > span, .submit-details .field > span, .submit-options-page .label-chips legend, #submit-form .payment-fieldset legend { color: var(--ink); font-size: 13px; font-weight: 600; }
.submit-timing h3, .submit-options-page .label-chips legend { line-height: 18px; }
.submit-timing-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.submit-timing-options label { display: flex; min-height: 40px; align-items: center; gap: 8px; padding: 8px 10px; border: 1px solid var(--line); border-radius: 9px; color: #53617a; font-size: 12px; cursor: pointer; }
.submit-timing-options label:has(input:checked) { border-color: #9db7ff; background: #f5f8ff; color: var(--blue); }
.submit-timing-options input, .submit-expire-toggle input, .label-chips input { accent-color: #245eff; }
.submit-time-field { margin: 0; }
.submit-time-field input { width: 100%; }
.submit-time-field[hidden] { display: none !important; }
.submit-expire-toggle { display: flex; align-items: center; gap: 8px; color: #53617a; font-size: 12px; cursor: pointer; }
.submit-expire-toggle input { margin: 0; }
.submit-review-note { margin: 0; color: #7a879c; font-size: 12px; }
.submit-form-footer { display: grid; flex: none; grid-template-columns: minmax(90px, .7fr) minmax(0, 1.3fr); gap: 10px; padding: 13px 0 2px; border-top: 1px solid var(--line); background: var(--surface); }
.submit-form-status { display: grid; grid-column: 1 / -1; gap: 4px; }
.submit-form-status .price-check { font-size: 12px; font-weight: 500; }
.submit-form-status .price-check[hidden] { display: none !important; }
.submit-form-status .form-error:not(:empty) { display: flex; align-items: flex-start; gap: 7px; color: #c33c48; font-weight: 700; line-height: 1.45; }
.submit-form-status .form-error::before { display: inline-flex; width: 16px; height: 16px; flex: 0 0 16px; align-items: center; justify-content: center; margin-top: 1px; border: 1.5px solid currentColor; border-radius: 50%; content: "!"; font-size: 11px; line-height: 1; }
.submit-form-footer .button { width: 100%; min-height: 45px; }
@keyframes drawer-in { from { transform: translateX(16px); opacity: .8; } to { transform: none; opacity: 1; } }
.drawer-close { position: absolute; top: 17px; right: 19px; display: grid; width: 36px; height: 36px; place-items: center; border: 0; border-radius: 9px; background: #f4f6fa; color: #6e7c92; cursor: pointer; }
.drawer-close svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.drawer h2 { margin: 0 40px 8px 0; color: #17223a; font-size: 22px; letter-spacing: -.45px; }
.drawer-intro { margin: 0 0 23px; color: #7a879c; font-size: 13px; line-height: 1.5; }
.drawer-intro .text-button { font: inherit; }
.profile-overview { display: grid; gap: 18px; }
.profile-overview-head { display: flex; align-items: center; gap: 13px; min-width: 0; padding: 3px 0 6px; }
.profile-overview-avatar { position: relative; display: grid; width: 52px; height: 52px; flex: 0 0 52px; place-items: center; padding: 0; border: 0; border-radius: 50%; background: #edf3ff; color: var(--blue); font-size: 22px; font-weight: 600; cursor: pointer; }
.profile-overview-avatar:has(.user-avatar-image) { background: transparent; }
.profile-overview-avatar:hover { box-shadow: 0 0 0 3px #245eff1c; }
.profile-overview-avatar .user-avatar { width: 100%; height: 100%; border-radius: 50%; font-size: inherit; }
.profile-avatar-camera { position: absolute; right: -3px; bottom: -3px; z-index: 2; display: grid; width: 20px; height: 20px; place-items: center; border: 2px solid var(--surface); border-radius: 50%; background: var(--blue); color: #fff; }
.profile-avatar-camera svg { width: 11px; height: 11px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.profile-avatar-help { display: flex; align-items: center; gap: 10px; margin: -12px 0 -4px 65px; color: var(--muted); font-size: 11px; }
.profile-overview-head .visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); clip-path: inset(50%); white-space: nowrap; }
.profile-overview-head > div { display: grid; min-width: 0; gap: 3px; }
.profile-overview-head .eyebrow { margin: 0; color: var(--muted); font-size: 11px; letter-spacing: .07em; text-transform: uppercase; }
.profile-overview-head h2 { overflow: hidden; margin: 0; color: var(--ink); font-size: 19px; text-overflow: ellipsis; white-space: nowrap; }
.profile-overview-head > div > span { overflow: hidden; color: var(--muted); font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.profile-stat-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
.profile-stat-grid > a, .profile-stat-grid > button { display: grid; min-height: 72px; align-content: center; gap: 6px; padding: 12px; border: 1px solid var(--line); border-radius: 11px; background: var(--canvas); color: var(--muted); text-align: left; text-decoration: none; cursor: pointer; }
.profile-stat-grid > a:hover, .profile-stat-grid > button:hover { border-color: #bdceef; background: #f7f9fe; }
.profile-stat-grid strong { overflow: hidden; color: var(--ink); font-size: 20px; font-weight: 600; line-height: 1; text-overflow: ellipsis; white-space: nowrap; }
.profile-stat-grid > button strong { color: var(--blue); }
.profile-stat-grid span { font-size: 11px; }
.profile-overview > h3 { margin: 2px 0 -8px; color: var(--ink); font-size: 14px; }
.profile-summary-error { margin: -8px 0 0; color: #bd4650; font-size: 12px; }
:root[data-theme="dark"] .profile-overview-avatar { background: #192b4d; }
:root[data-theme="dark"] .profile-stat-grid > a:hover, :root[data-theme="dark"] .profile-stat-grid > button:hover { background: #1b2537; }
.profile-posts { display: grid; gap: 0; margin-top: 5px; }
.profile-posts > header { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.profile-posts > header h3 { margin: 0; color: var(--ink); font-size: 14px; }
.profile-posts > header > a { color: var(--blue); font-size: 12px; }
.profile-post-item { display: grid; width: 100%; grid-template-columns: minmax(0, 1fr) 16px; align-items: center; gap: 0 10px; padding: 13px 4px 13px 0; border: 0; border-bottom: 1px solid var(--line); background: transparent; color: inherit; cursor: pointer; text-align: left; }
.profile-post-item:hover .profile-post-title, .profile-post-item:focus-visible .profile-post-title { color: var(--blue); }
.profile-post-item:hover .profile-post-chevron, .profile-post-item:focus-visible .profile-post-chevron { color: var(--blue); }
.profile-post-item:focus-visible { outline: 2px solid #87a5ff; outline-offset: 2px; border-radius: 4px; }
.profile-post-copy { display: grid; min-width: 0; gap: 6px; grid-column: 1; }
.profile-post-title { overflow: hidden; color: var(--ink); font-size: 13px; font-weight: 600; line-height: 1.4; text-overflow: ellipsis; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.profile-post-meta { color: var(--muted); font-size: 11px; line-height: 1.45; }
.profile-post-chevron { display: grid; grid-column: 2; grid-row: 1; place-items: center; color: #8794a8; }
.profile-post-chevron svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.profile-post-loading, .profile-post-empty { margin: 0; color: var(--muted); font-size: 12px; }
.post-analytics-metrics { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.post-analytics-metrics article { position: relative; display: flex; min-height: 92px; flex-direction: column; justify-content: center; gap: 7px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 12px; background: var(--canvas); }
.post-analytics-metrics strong { color: var(--ink); font-size: 25px; font-weight: 600; line-height: 1; }
.post-analytics-metrics span { color: var(--muted); font-size: 12px; }
.post-analytics-metrics .analytics-metric-card.is-help-open { z-index: 5; }
.analytics-metric-help { position: absolute; top: 9px; right: 9px; display: grid; width: 18px; height: 18px; place-items: center; padding: 0; border: 0; background: transparent; color: #8794a8; cursor: pointer; }
.analytics-metric-help:hover, .analytics-metric-help[aria-expanded="true"] { color: var(--blue); }
.analytics-metric-help svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.analytics-metric-popup { position: absolute; top: 34px; right: 9px; z-index: 10; box-sizing: border-box; width: min(220px, calc(100vw - 90px)); padding: 10px 12px; border: 1px solid var(--line); border-radius: 9px; background: var(--canvas); box-shadow: 0 8px 24px rgb(20 35 65 / 16%); color: var(--ink); font-size: 11px; font-weight: 400; line-height: 1.45; }
.analytics-metric-popup[hidden] { display: none; }
.post-analytics-metrics .analytics-ctr { background: #f3f6ff; border-color: #dbe5ff; }
.post-analytics-metrics .analytics-ctr strong { color: var(--blue); }
:root[data-theme="dark"] .post-analytics-metrics article { background: #1b2537; border-color: var(--line); }
:root[data-theme="dark"] .post-analytics-metrics .analytics-ctr { background: #192b4d; border-color: #29477c; }
.profile-analytics-back { display: inline-flex; align-items: center; gap: 7px; margin: 0 0 16px; padding: 0; border: 0; background: transparent; color: var(--blue); font: inherit; font-size: 13px; cursor: pointer; }
.profile-analytics-back svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.analytics-drawer-section { display: grid; gap: 10px; margin-top: 24px; }
.analytics-performance-section { margin-top: 8px; }
.analytics-drawer-section > h3 { margin: 0; color: var(--ink); font-size: 14px; font-weight: 600; }
.analytics-chart-intro { margin: -5px 0 0; color: var(--muted); font-size: 11px; line-height: 1.45; }
.analytics-daily-chart { overflow: hidden; padding: 10px 8px 9px; border: 1px solid var(--line); border-radius: 12px; background: var(--canvas); }
.analytics-chart-svg { display: block; width: 100%; height: auto; overflow: visible; }
.analytics-chart-grid { stroke: var(--line); stroke-width: 1; }
.analytics-chart-axis { fill: var(--muted); font-family: inherit; font-size: 9px; }
.analytics-chart-bar { rx: 1.5px; }
.analytics-chart-views { fill: #2463f6; }
.analytics-chart-saves { fill: #8a68df; }
.analytics-chart-clicks { fill: #20a58a; }
.analytics-chart-legend { display: flex; flex-wrap: wrap; gap: 9px 16px; padding: 2px 7px 0; }
.analytics-chart-legend > span { display: inline-flex; align-items: center; gap: 5px; color: var(--muted); font-size: 10px; }
.analytics-chart-legend i { width: 8px; height: 8px; border-radius: 2px; }
.analytics-chart-legend strong { color: var(--ink); font-weight: 600; }
.analytics-legend-views i { background: #2463f6; }
.analytics-legend-saves i { background: #8a68df; }
.analytics-legend-clicks i { background: #20a58a; }
:root[data-theme="dark"] .analytics-daily-chart { background: #1b2537; }
.analytics-location-map { overflow: hidden; border: 1px solid var(--line); border-radius: 12px; background: #f5f8ff; }
.analytics-location-map svg { display: block; width: 100%; height: auto; }
.analytics-location-map svg > path { fill: #dce5f4; stroke: #fff; stroke-width: 1.4; stroke-linejoin: round; }
.analytics-location-map .analytics-map-marker { fill: #2463f6; fill-opacity: .78; stroke: #fff; stroke-width: 2; }
.analytics-location-note { margin: -4px 0 0; color: var(--muted); font-size: 11px; line-height: 1.45; }
.analytics-location-list { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; }
.analytics-location-list li { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 9px 1px; border-bottom: 1px solid var(--line); color: var(--ink); font-size: 12px; }
.analytics-location-list li > span { display: inline-flex; align-items: center; gap: 8px; }
.analytics-location-list strong { font-size: 12px; font-weight: 600; }
.analytics-country-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--blue); }
.analytics-locations-empty { padding: 15px; border: 1px dashed var(--line); border-radius: 10px; color: var(--muted); font-size: 12px; line-height: 1.5; }
:root[data-theme="dark"] .analytics-location-map { background: #1b2537; }
:root[data-theme="dark"] .analytics-location-map svg > path { fill: #33425b; stroke: #1b2537; }
.drawer:has(.profile-detail-track) { display: flex; flex-direction: column; overflow: hidden; }
.drawer:has(.profile-detail-track) #drawer-content { min-height: 0; flex: 1; overflow: hidden; }
.profile-detail-track { display: grid; width: 200%; height: 100%; min-height: 0; grid-template-columns: repeat(2, minmax(0, 1fr)); transform: translateX(0); transition: transform .24s cubic-bezier(.2,.75,.25,1); }
.profile-detail-track.show-analytics { transform: translateX(-50%); }
.profile-detail-page { width: 100%; height: 100%; min-width: 0; overflow: auto; overscroll-behavior: contain; padding-right: 4px; scrollbar-width: none; }
.profile-detail-page::-webkit-scrollbar { display: none; }
.drawer-sections { display: grid; gap: 23px; }
.drawer-section { margin: 0 0 22px; }
.drawer-section h3 { margin: 0 0 10px; color: #78869c; font-size: 11px; font-weight: 600; letter-spacing: .09em; text-transform: uppercase; }
.topic-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 9px; }
.topic-tile { display: grid; min-height: 74px; grid-template-columns: 35px minmax(0, 1fr) auto; align-items: center; column-gap: 10px; padding: 11px; border: 1px solid #e3e8f0; border-radius: 11px; background: var(--surface); }
.topic-tile:hover { border-color: #bcd0ff; }
.topic-tile-icon { display: grid; width: 35px; height: 35px; grid-column: 1; grid-row: 1; place-items: center; border-radius: 9px; background: #eff4ff; color: var(--blue); }
.topic-tile-icon svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.topic-tile-copy { display: grid; min-width: 0; grid-column: 2; grid-row: 1; gap: 2px; overflow: hidden; }
.topic-tile-copy strong { overflow: hidden; color: #26344d; font-size: 13px; text-overflow: ellipsis; white-space: nowrap; }
.topic-tile-copy small { color: #8490a3; font-size: 11px; line-height: 1.4; }
.topic-tile-actions { display: flex; grid-column: 3; grid-row: 1; justify-content: flex-end; gap: 4px; margin: 0; }
.quiet-button { min-width: 50px; min-height: 29px; padding: 0 8px; border: 1px solid transparent; border-radius: 7px; background: transparent; color: #75839a; font-size: 11px; cursor: pointer; }
.quiet-button:hover, .quiet-button[aria-pressed="true"] { border-color: #d4e1ff; background: #f2f6ff; color: var(--blue); }
.auth-brand { display: grid; justify-items: center; gap: 7px; margin: 0 0 21px; color: #8793a9; font-size: 12px; }
.auth-brand img { width: 132px; height: 52px; object-fit: contain; }
.auth-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; margin: 0 0 20px; padding: 4px; border-radius: 10px; background: #f2f4f8; }
.auth-tabs button { min-height: 39px; border: 0; border-radius: 8px; background: transparent; color: #77839a; font-size: 13px; font-weight: 600; cursor: pointer; }
.auth-tabs button.active { background: #fff; color: #1d2a42; box-shadow: 0 1px 4px #18243818; }
.auth-form-extras { display: flex; justify-content: flex-end; margin: -4px 0 14px; }
.auth-back-link { display: block; margin: 16px auto 0; }
.auth-social { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 9px; margin: 0 0 18px; }
.auth-social button { display: grid; min-height: 42px; place-items: center; border: 1px solid #dfe5ee; border-radius: 9px; background: #fff; cursor: not-allowed; }
.auth-social button:disabled { opacity: .82; }
.auth-social svg { width: 19px; height: 19px; fill: currentColor; }
.auth-divider { display: flex; align-items: center; gap: 10px; margin: 0 0 17px; color: #94a0b2; font-size: 11px; white-space: nowrap; }
.auth-divider::before, .auth-divider::after { height: 1px; flex: 1; background: var(--line); content: ""; }
.drawer-form { display: grid; gap: 15px; }
.turnstile-auth { display: grid; justify-items: start; gap: 5px; }
.turnstile-auth .field-help { margin: 0; }
.field { display: grid; gap: 7px; color: #53617a; font-size: 12px; font-weight: 500; }
.field input, .field textarea, .field select { width: 100%; min-height: 44px; padding: 10px 12px; border: 1px solid #dfe5ee; border-radius: 9px; background: #fff; color: #202d45; font-size: 13px; }
.field :is(input, textarea, select)[aria-invalid="true"] { border-color: #cf3f4c; box-shadow: 0 0 0 1px #cf3f4c22; }
.field :is(input, textarea, select)[aria-invalid="true"]:focus { border-color: #cf3f4c; outline-color: #cf3f4c66; }
.field .field-error { color: #c33c48; font-size: 11px; font-weight: 600; line-height: 1.4; }
.field select { appearance: none; padding-right: 36px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='m4.5 6 3.5 3.5L11.5 6' stroke='%2353617a' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 16px; }
.preview-upload-field { gap: 7px; }
.preview-upload-picker { position: relative; display: flex; min-height: 66px; align-items: center; gap: 12px; padding: 10px 12px; overflow: hidden; border: 1px dashed #cdd7e8; border-radius: 11px; background: #f8faff; color: var(--ink); cursor: pointer; transition: border-color .15s, background .15s, box-shadow .15s; }
.preview-upload-picker:hover { border-color: #91adff; background: #f2f6ff; }
.preview-upload-picker:focus-within { border-color: var(--blue); background: #f4f7ff; box-shadow: 0 0 0 3px #245eff20; }
.preview-upload-picker input[type="file"] { position: absolute; inset: 0; width: 100%; height: 100%; padding: 0; opacity: 0; cursor: pointer; }
.preview-upload-icon { display: grid; width: 38px; height: 38px; flex: 0 0 38px; place-items: center; border-radius: 9px; background: #eaf0ff; color: var(--blue); }
.preview-upload-icon svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.preview-upload-copy { display: grid; min-width: 0; gap: 2px; }
.preview-upload-copy strong { font-size: 12px; font-weight: 600; }
.preview-upload-copy small { color: var(--muted); font-size: 11px; font-weight: 400; }
.preview-upload-browse { margin-left: auto; padding: 6px 10px; border: 1px solid #dce5f6; border-radius: 7px; background: var(--surface); color: var(--blue); font-size: 11px; font-weight: 600; white-space: nowrap; }
.preview-upload-field > .field-help { line-height: 1.4; }
.preview-upload-preview { display: flex; align-items: center; gap: 12px; }
.preview-upload-preview[hidden] { display: none; }
.preview-upload-preview img { width: 112px; height: 76px; border: 1px solid var(--line); border-radius: 8px; background: var(--canvas); object-fit: cover; }
.field textarea { min-height: 84px; resize: vertical; }
.field small, .field-help { color: #8591a5; font-size: 11px; font-weight: 400; }
.form-error { min-height: 0; margin: 0; color: #c33c48; font-size: 12px; }
.form-error:empty { display: none; }
.drawer-form > .button { width: 100%; min-height: 45px; }
.social-note { margin: 17px 0 0; color: #8490a4; text-align: center; font-size: 11px; }
.label-chips, .payment-fieldset { margin: 0; padding: 0; border: 0; }
.label-chips { display: grid; gap: 8px; }
.label-chips legend, .payment-fieldset legend { margin: 0 0 9px; padding: 0; color: #53617a; font-size: 12px; font-weight: 600; }
.label-chips legend { margin-bottom: 0; }
.label-chips > div { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.label-chips label { display: flex; min-height: 42px; align-items: center; gap: 9px; padding: 8px 10px; border: 1px solid var(--line); border-radius: 9px; color: #53617a; font-size: 12px; cursor: pointer; }
.label-chips label:has(input:checked) { border-color: #9db7ff; background: #f5f8ff; color: var(--blue); }
.label-chips input { width: 16px; height: 16px; flex: 0 0 16px; margin: 0; }
.label-chips span { color: inherit; font-size: inherit; }
.advanced-post-options { margin: 0; padding: 0 0 2px; border-bottom: 1px solid var(--line); }
.advanced-post-options summary { width: fit-content; margin: 0 0 8px; color: #718099; font-size: 11px; cursor: pointer; }
.advanced-post-options .settings-toggle { min-height: 48px; padding: 7px 0; border-top: 0; }
.payment-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.payment-tile { display: flex; min-height: 43px; align-items: center; gap: 9px; padding: 8px 11px; border: 1px solid #e0e6ef; border-radius: 9px; color: #4c5b74; font-size: 12px; cursor: pointer; }
.payment-tile:has(input:checked) { border-color: #8eafff; background: #f4f7ff; color: #245eff; }
.price-check { color: #37445b; font-size: 13px; font-weight: 600; }
.drawer-faq { display: grid; gap: 11px; margin-top: 23px; padding-top: 18px; border-top: 1px solid var(--line); }
.drawer-faq h3 { margin: 0; color: #45536b; font-size: 13px; }
.drawer-faq p { display: grid; gap: 3px; margin: 0; color: #26334b; font-size: 12px; }
.drawer-faq p span { color: #7a879c; font-size: 12px; }
.text-button.submit-faq-back { display: inline-flex; align-items: center; gap: 7px; margin: 0 0 20px; color: var(--blue); font-size: 14px; line-height: 1.4; font-weight: 600; text-decoration: none; }
.text-button.submit-faq-back:hover { text-decoration: none; }
.submit-faq-back svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.submit-faq-groups { display: grid; gap: 22px; }
.submit-faq-groups > section > h3 { margin: 0; color: #37445b; font-size: 16px; line-height: 1.35; font-weight: 650; }
.submit-faq-groups .drawer-faq { gap: 14px; margin-top: 10px; padding-top: 13px; }
.setting-options { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.setting-choice { min-height: 39px; padding: 0 8px; border: 1px solid #dfe5ee; border-radius: 9px; background: #fff; color: #64718a; font-size: 12px; cursor: pointer; }
.setting-choice.active { border-color: #8daeff; background: #eff4ff; color: #1557f7; }
.settings-content-label { margin: 1px 0 0; color: #45536b; font-size: 13px; font-weight: 600; }
.settings-toggle { position: relative; display: flex; min-height: 59px; align-items: center; justify-content: space-between; gap: 14px; padding: 10px 0; border-top: 1px solid var(--line); cursor: pointer; }
.settings-preference-toggle { width: 100%; appearance: none; border: 0; border-top: 1px solid var(--line); background: transparent; color: inherit; font: inherit; text-align: left; }
.settings-toggle > span { display: grid; gap: 3px; }
.settings-toggle strong { color: #34435c; font-size: 12px; font-weight: 600; }
.settings-toggle small, .settings-data small { color: #8290a5; font-size: 11px; }
.settings-toggle input { position: absolute; top: 50%; right: 0; z-index: 1; width: 36px; height: 21px; margin: 0; opacity: 0; cursor: pointer; transform: translateY(-50%); }
.settings-toggle i { position: relative; width: 36px; height: 21px; flex: 0 0 36px; border-radius: 999px; background: #cbd3df; transition: background .15s; }
.settings-toggle i::after { position: absolute; top: 3px; left: 3px; width: 15px; height: 15px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px #17213a30; content: ""; transition: transform .15s; }
.settings-preference-toggle.is-on i { background: var(--blue); }
.settings-preference-toggle.is-on i::after { transform: translateX(15px); }
.settings-preference-toggle:focus-visible i { outline: 3px solid #85a9ff; outline-offset: 2px; }
.settings-toggle input:checked + i { background: var(--blue); }
.settings-toggle input:checked + i::after { transform: translateX(15px); }
.settings-toggle input:focus-visible + i { outline: 3px solid #85a9ff; outline-offset: 2px; }
.settings-data { display: flex; min-height: 62px; align-items: center; justify-content: space-between; gap: 12px; margin-top: 4px; padding: 11px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.settings-data > div { display: grid; gap: 3px; }
.settings-data strong { color: #34435c; font-size: 12px; }
.settings-data .quiet-button { min-width: 64px; border: 1px solid var(--line); }
.settings-drawer .drawer-section h3 { margin-bottom: 9px; color: #34435c; font-size: 13px; font-weight: 600; letter-spacing: 0; text-transform: none; }
.settings-drawer .drawer-intro { margin-bottom: 21px; }
.settings-drawer .setting-choice { display: inline-flex; align-items: center; justify-content: center; gap: 6px; white-space: nowrap; }
.settings-drawer .setting-choice svg { width: 15px; height: 15px; flex: 0 0 15px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.font-size-icon { font-size: 14px; line-height: 1; }
.font-size-icon.small { font-size: 12px; }
.font-size-icon.large { font-size: 17px; }
.account-items { display: grid; gap: 7px; }
.account-items > a { display: grid; gap: 4px; padding: 12px; border: 1px solid var(--line); border-radius: 9px; color: #34435e; font-size: 13px; }
.account-items > a:hover { border-color: #bdceef; background: #f7f9fe; }
.account-items > a small { display: -webkit-box; overflow: hidden; color: #8490a4; font-size: 12px; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.wallet-packs { display: flex; flex-wrap: wrap; gap: 8px; }
.text-button { padding: 0; border: 0; background: transparent; color: var(--blue); text-decoration: underline; cursor: pointer; }
.activity-row { padding: 14px 10px; border-bottom: 1px solid #edf0f5; }
.activity-row > a { display: grid; gap: 5px; }
.activity-row strong { color: #25324a; font-size: 14px; }
.activity-row span { color: #64728a; font-size: 13px; }
.activity-row small { color: #8793a7; font-size: 11px; }
.people-result { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 12px; }
.people-result-main { display: flex; min-width: 0; align-items: center; gap: 12px; padding: 0; border: 0; background: transparent; text-align: left; cursor: pointer; }
.people-result-main > span:last-child { display: grid; min-width: 0; gap: 4px; }
.people-result-main:hover strong { color: var(--blue); }
.people-result-avatar, .public-profile-avatar { display: inline-flex; width: 40px; height: 40px; flex: 0 0 40px; align-items: center; justify-content: center; border-radius: 50%; background: var(--blue-soft); color: var(--blue); font-size: 17px; font-weight: 650; }
.comment-avatar { width: 22px; height: 22px; border-radius: 50%; font-size: 10px; }
.suggestion-avatar { width: 28px; height: 28px; border-radius: 50%; font-size: 12px; }
.search-suggestions .search-person-suggestion { grid-template-columns: 28px minmax(0,1fr); align-items: center; gap: 8px; }
.search-person-suggestion > span:last-child { display: grid; gap: 3px; }
.people-result-all { display: inline-flex !important; align-items: center; gap: 6px !important; color: var(--blue); font-size: 12px; white-space: nowrap; }
.people-result-all svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
:root[data-theme="dark"] .search-tools, :root[data-theme="dark"] .search-tool select { background: #171f30; color: #e7ebf4; }
:root[data-theme="dark"] .search-tool select, :root[data-theme="dark"] .search-pagination a { border-color: #34425b; }
:root[data-theme="dark"] .search-pagination a[aria-current="page"] { background: #263553; color: #a9c0ff; }
:root[data-theme="dark"] .activity-row strong { color: #e7ebf4; }
@media (max-width: 740px) {
  .search-tools { min-height: 42px; gap: 6px; padding: 5px 10px; overflow-x: auto; }
  .search-summary { padding: 7px 12px 0; }
  .search-tool { gap: 4px; font-size: 10px; }
  .search-tool select { max-width: 112px; height: 28px; font-size: 11px; }
  .search-syntax-help { margin-left: 0; }
  .search-syntax-popover { position: fixed; top: 112px; right: 10px; }
  .topic-search-result { grid-template-columns: 1fr; gap: 6px; }
}
.search-suggestions .search-person-suggestion { display: grid; width: 100%; gap: 3px; padding: 10px; border: 0; border-radius: 8px; background: transparent; color: #3a4963; text-align: left; cursor: pointer; }
.search-suggestions .search-person-suggestion:hover { background: #f2f6ff; }
.search-person-suggestion strong { font-size: 13px; }
.search-person-suggestion small { color: #8894a8; font-size: 11px; }
.public-profile-head { display: flex; align-items: center; gap: 14px; padding-right: 38px; }
.public-profile-avatar { width: 52px; height: 52px; flex-basis: 52px; border-radius: 50%; font-size: 22px; }
.public-profile-head .eyebrow { margin: 0 0 2px; }
.public-profile-head h2 { margin: 0; font-size: 20px; }
.public-profile-head small { display: block; margin-top: 3px; color: var(--muted); font-size: 12px; }
.public-profile-stats { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; margin: 24px 0; }
.public-profile-stats > div { display: grid; gap: 3px; padding: 13px 15px; border: 1px solid var(--line); border-radius: 11px; background: var(--canvas); }
.public-profile-stats strong { color: var(--ink); font-size: 19px; line-height: 1.15; }
.public-profile-stats span { color: var(--muted); font-size: 12px; }
.public-profile-recent h3 { margin: 0 0 8px; font-size: 14px; }
.public-profile-post { display: grid; gap: 4px; padding: 11px 1px; border-top: 1px solid var(--line); }
.public-profile-post strong { color: var(--ink); font-size: 13px; font-weight: 600; }
.public-profile-post:hover strong { color: var(--blue); }
.public-profile-post small { color: var(--muted); font-size: 11px; }
.public-profile-all { width: 100%; margin-top: 18px; }
:root[data-theme="dark"] .search-suggestions .search-person-suggestion { color: #dfe6f2; }
:root[data-theme="dark"] .search-suggestions .search-person-suggestion:hover { background: #1b2537; }

.about-walkthrough-open .drawer { top: 50%; right: auto; left: 50%; width: min(620px, calc(100vw - 32px)); height: auto; max-height: min(760px, calc(100dvh - 32px)); overflow-y: auto; padding: 34px 42px 24px; border: 1px solid var(--line); border-radius: 20px; transform: translate(-50%, -50%); animation: none; }
.about-walkthrough { display: flex; min-height: 520px; flex-direction: column; }
.about-walkthrough-eyebrow { margin: 0 0 17px; color: var(--blue); font-size: 11px; font-weight: 700; letter-spacing: .11em; }
.about-walkthrough-progress { display: grid; gap: 9px; margin-bottom: 21px; }
.about-walkthrough-progress > span { color: var(--muted); font-size: 12px; }
.about-walkthrough-progress > div { height: 4px; overflow: hidden; border-radius: 99px; background: var(--line); }
.about-walkthrough-progress i { display: block; height: 100%; border-radius: inherit; background: var(--blue); transition: width .22s ease; }
.about-walkthrough-visual { position: relative; display: grid; min-height: 210px; place-items: center; overflow: hidden; margin-bottom: 25px; border: 1px solid #e1e9f7; border-radius: 17px; background: radial-gradient(ellipse at 50% 115%,#dbe7ff 0,transparent 60%),linear-gradient(135deg,#f5f8ff,#edf2ff 55%,#fafbff); }
.about-walkthrough-example { position: relative; width: min(430px, calc(100% - 32px)); height: 178px; }
.art-discover,.art-personalize,.art-discuss,.art-share { position: relative; width: 100%; height: 100%; }
.art-orbit { position: absolute; left: 50%; top: 50%; border: 1px solid #cddcff; border-radius: 50%; transform: translate(-50%,-50%) rotate(-15deg); }
.art-orbit-one { width: 310px; height: 126px; }
.art-orbit-two { width: 230px; height: 164px; transform: translate(-50%,-50%) rotate(28deg); border-color: #d9e4fc; }
.art-star { position: absolute; z-index: 2; color: #5c83ff; font-size: 22px; }
.art-star-one { top: 20px; left: 48px; }
.art-star-two { right: 42px; bottom: 23px; color: #a385f6; font-size: 16px; }
.art-discover-card { position: absolute; z-index: 1; top: 22px; left: 50%; display: flex; width: 226px; height: 132px; flex-direction: column; overflow: hidden; border: 1px solid #fff; border-radius: 13px; background: #fff; box-shadow: 0 15px 35px #38559025; transform: translateX(-50%) rotate(-3deg); }
.art-discover-image { position: relative; height: 74px; overflow: hidden; background: linear-gradient(115deg,#a9dbef,#d5c5f6 58%,#f0a8b5); }
.art-discover-image::before,.art-discover-image::after { position: absolute; content: ""; border-radius: 50%; background: #ffffff55; }
.art-discover-image::before { width: 120px; height: 120px; right: 4px; top: 24px; }
.art-discover-image::after { width: 68px; height: 68px; left: 27px; top: 22px; background: #ffffff77; }
.art-discover-image span { position: absolute; z-index: 1; left: 52px; top: 18px; width: 46px; height: 46px; border-radius: 50%; background: linear-gradient(145deg,#367aff,#895eff); box-shadow: 0 5px 12px #4c67bf66; }
.art-discover-image span::after { position: absolute; inset: 13px; border: 2px solid #fff; border-radius: 50%; content: ""; }
.art-discover-image i { position: absolute; z-index: 1; right: 29px; bottom: 8px; width: 28px; height: 38px; border-radius: 15px 15px 4px 4px; background: #ffc56c; transform: rotate(22deg); }
.art-discover-lines { display: grid; grid-template-columns: 1fr; gap: 5px; padding: 9px 12px; }
.art-discover-lines b,.art-discover-lines small { display: block; height: 5px; border-radius: 6px; background: #405174; }
.art-discover-lines b:nth-child(2) { width: 70%; background: #bdc8dc; }
.art-discover-lines small { width: 42%; height: 4px; background: #dce4f1; }
.art-discover-topic { position: absolute; z-index: 2; top: 14px; right: calc(50% - 130px); padding: 5px 8px; border: 1px solid #dce6fa; border-radius: 99px; background: #fff; color: #5875c9; font-size: 8px; font-weight: 700; letter-spacing: .06em; }
.art-discover-bubble { position: absolute; bottom: 20px; left: 24px; padding: 6px 10px; border: 1px solid #dbe5f8; border-radius: 99px; background: #fff; color: #667795; font-size: 9px; box-shadow: 0 6px 15px #38559012; }
.art-float-card { position: absolute; right: 13px; bottom: 18px; display: flex; align-items: center; gap: 7px; padding: 7px 9px; border: 1px solid #e0e8f5; border-radius: 10px; background: #fff; box-shadow: 0 9px 20px #3855901c; transform: rotate(4deg); }
.art-float-thumb { width: 25px; height: 25px; border-radius: 6px; background: linear-gradient(145deg,#b9e3d8,#8bb3ff); }
.art-float-card > span:nth-child(2) { display: grid; gap: 4px; }
.art-float-card b,.art-float-card small { display: block; width: 66px; height: 4px; border-radius: 5px; background: #63728e; }
.art-float-card small { width: 43px; background: #c8d2e3; }
.art-float-card > i { display: grid; width: 20px; height: 20px; place-items: center; border-radius: 50%; background: #eef3ff; color: var(--blue); font-size: 13px; font-style: normal; }
.art-float-card > i svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.art-personalize { width: min(380px,100%); margin: auto; }
.art-personalize-ring { position: absolute; top: 50%; left: 50%; width: 158px; height: 112px; border: 1px dashed #b7caff; border-radius: 50%; transform: translate(-50%,-50%) rotate(-18deg); }
.art-personalize-ring.ring-two { width: 120px; height: 160px; border-color: #d3ddf4; transform: translate(-50%,-50%) rotate(38deg); }
.art-topic { position: absolute; z-index: 2; display: flex; align-items: center; gap: 6px; padding: 8px 12px; border: 1px solid #e0e7f4; border-radius: 99px; background: #fff; box-shadow: 0 6px 17px #38559015; color: #5e6d87; font-size: 10px; }
.art-topic-tech { top: 14px; left: 15%; }
.art-topic-design { top: 23px; right: 11%; }
.art-topic-books { right: 8%; bottom: 23px; }
.art-topic-ai { bottom: 13px; left: 19%; border-color: #b9ccff; background: #eef3ff; color: var(--blue); }
.art-topic-music { top: 72px; left: 2%; }
.art-topic-you { top: 65px; left: 50%; gap: 7px; padding: 9px 14px; border-color: #4f79ff; background: linear-gradient(135deg,#376bff,#6557eb); box-shadow: 0 8px 20px #416cff4d; color: #fff; font-size: 11px; transform: translateX(-50%); }
.art-topic-you svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.art-discuss { width: min(390px,100%); margin: auto; }
.art-discuss-avatar { position: absolute; z-index: 2; display: grid; width: 34px; height: 34px; place-items: center; border: 3px solid #fff; border-radius: 50%; color: #fff; font-size: 12px; font-weight: 700; box-shadow: 0 4px 12px #33496c28; }
.avatar-one { top: 25px; left: 22%; background: linear-gradient(145deg,#60a8fa,#625bea); }
.avatar-two { right: 18%; bottom: 19px; background: linear-gradient(145deg,#f2a674,#dc688e); }
.art-chat-bubble { position: absolute; display: grid; gap: 6px; padding: 12px 15px; border: 1px solid #e0e8f5; border-radius: 14px; background: #fff; box-shadow: 0 10px 24px #38559018; color: #3e4d68; font-size: 11px; }
.bubble-one { top: 19px; left: 31%; border-bottom-left-radius: 4px; transform: rotate(-3deg); }
.bubble-two { right: 22%; bottom: 15px; border-bottom-right-radius: 4px; background: #f8faff; transform: rotate(2deg); }
.art-chat-bubble b { font-size: 11px; }
.art-chat-bubble small { color: #8592a8; font-size: 9px; }
.art-chat-bubble small i { display: inline-block; width: 4px; height: 4px; margin-right: 3px; border-radius: 50%; background: #91a5cc; }
.art-chat-spark { position: absolute; top: 19px; right: 15%; color: #9278f4; font-size: 20px; }
.art-share { display: grid; place-items: center; }
.art-share-card { position: relative; z-index: 2; display: flex; width: min(330px,88%); min-height: 78px; align-items: center; gap: 12px; padding: 14px; border: 1px solid #fff; border-radius: 14px; background: #fff; box-shadow: 0 15px 35px #38559028; transform: rotate(-3deg); }
.art-share-plus { display: grid; width: 43px; height: 43px; flex: 0 0 43px; place-items: center; border-radius: 12px; background: linear-gradient(145deg,#3975ff,#7661ed); box-shadow: 0 6px 14px #416cff45; color: #fff; font-size: 28px; font-weight: 300; }
.art-share-copy { display: grid; flex: 1; gap: 6px; }
.art-share-copy b { color: #26344d; font-size: 12px; }
.art-share-copy small { color: #8290a6; font-size: 10px; }
.art-share-stars { position: absolute; top: -20px; right: 26px; color: #678aff; font-size: 25px; text-shadow: 13px 13px 0 #b794f3; }
.art-share-ray { position: absolute; top: 50%; left: 50%; width: 2px; height: 31px; border-radius: 9px; background: #8ba9ff; }
.ray-one { margin: -77px 0 0 120px; transform: rotate(42deg); }
.ray-two { margin: 52px 0 0 -158px; height: 24px; transform: rotate(60deg); }
.ray-three { margin: -74px 0 0 -148px; height: 19px; transform: rotate(-36deg); }
.art-share-trail { position: absolute; right: 11%; bottom: 20px; width: 72px; height: 35px; border-top: 2px dashed #9ab2ff; border-radius: 50%; transform: rotate(-15deg); }
.art-share-orb { position: absolute; right: 10%; top: 31px; width: 13px; height: 13px; border-radius: 50%; background: #bca1ff; box-shadow: 0 0 0 7px #bca1ff22; }
.about-walkthrough h2 { margin: 0 0 10px; color: var(--ink); font-size: 23px; line-height: 1.22; letter-spacing: -.45px; }
.about-walkthrough-copy { max-width: 490px; margin: 0; color: var(--muted); font-size: 14px; line-height: 1.65; }
.about-walkthrough-footer { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px; margin-top: auto; padding-top: 28px; }
.about-walkthrough-footer .button { min-width: 104px; }
.about-walkthrough-back { justify-self: start; }
.about-walkthrough-back:disabled { visibility: hidden; }
.about-walkthrough-dots { display: flex; align-items: center; gap: 7px; }
.about-walkthrough-dots i { width: 6px; height: 6px; border-radius: 99px; background: #cbd5e4; }
.about-walkthrough-dots i.active { width: 18px; background: var(--blue); }
.about-walkthrough-footer .button-primary { justify-self: end; }
.about-walkthrough-skip { align-self: center; margin-top: 13px; padding: 5px 8px; border: 0; background: transparent; color: var(--muted); font-size: 12px; }
.about-walkthrough-skip:hover { color: var(--blue); }
@media(max-width:740px) {
  .about-walkthrough-open .drawer { width: calc(100vw - 24px); max-height: calc(100dvh - 24px); padding: 29px 22px 20px; border-radius: 18px; }
  .about-walkthrough { min-height: min(500px, calc(100dvh - 80px)); }
  .about-walkthrough-visual { min-height: 160px; margin-bottom: 20px; }
  .about-walkthrough h2 { font-size: 21px; }
  .about-walkthrough-copy { font-size: 13px; }
}
.auth-open .drawer { top: 50%; right: auto; left: 50%; width: min(440px, calc(100vw - 32px)); height: auto; max-height: calc(100dvh - 32px); padding: 30px 34px 32px; border: 1px solid #e4eaf3; border-radius: 17px; transform: translate(-50%, -50%); animation: none; }
.auth-open .drawer h2 { margin-right: 0; font-size: 19px; text-align: center; }
.auth-open .drawer-intro { text-align: center; }

/* Feedback and mobile navigation */
.toast { position: fixed; z-index: 1200; bottom: 25px; left: 50%; max-width: min(92vw, 460px); transform: translate(-50%, 15px); padding: 11px 16px; border-radius: 9px; background: #18243b; color: #fff; font-size: 13px; opacity: 0; pointer-events: none; transition: opacity .18s, transform .18s; }
.toast.show { transform: translate(-50%, 0); opacity: 1; }
.mobile-nav { display: none; }

:root[data-thumbnails="false"] .post-row { grid-template-columns: minmax(0, 1fr); }
:root[data-thumbnails="false"] .post-thumb { display: none; }
:root[data-density="compact"] .post-row { grid-template-columns: 70px minmax(0, 1fr); gap: 12px; min-height: 88px; padding-top: 6px; padding-bottom: 6px; }
:root[data-density="compact"] .post-thumb { width: 70px; height: 70px; }
:root[data-density="spacious"] .post-row { grid-template-columns: 104px minmax(0, 1fr); gap: 17px; min-height: 132px; padding-top: 13px; padding-bottom: 13px; }
:root[data-density="spacious"] .post-thumb { width: 104px; height: 104px; }
:root[data-thumbnails="false"][data-density="compact"] .post-row, :root[data-thumbnails="false"][data-density="spacious"] .post-row { grid-template-columns: minmax(0, 1fr); }
:root[data-font-size="small"] .post-title { font-size: 15px; }
:root[data-font-size="large"] .post-title { font-size: 18px; }
:root[data-font-size="small"] .detail-post h2 { font-size: 28px; }
:root[data-font-size="small"] .detail-body { font-size: 14px; }
:root[data-font-size="large"] .detail-post h2 { font-size: 33px; }
:root[data-font-size="large"] .detail-body { font-size: 18px; }
:root[data-reduce-motion="true"] *, :root[data-reduce-motion="true"] *::before, :root[data-reduce-motion="true"] *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; transition-duration: .01ms !important; }

/* Themes are scoped to this prototype and persisted locally. */
:root[data-theme="dark"] { color-scheme: dark; --ink: #e7ebf4; --muted: #9ba7bb; --line: #293349; --canvas: #121827; --surface: #171f30; --shadow: 0 16px 48px #0008; }
:root[data-theme="dark"] .spa-header, :root[data-theme="dark"] .sidebar, :root[data-theme="dark"] .feed-column, :root[data-theme="dark"] .feed-sticky, :root[data-theme="dark"] .detail-column, :root[data-theme="dark"] .drawer, :root[data-theme="dark"] .account-menu { background: #171f30; color: #e7ebf4; }
:root[data-theme="dark"] .search, :root[data-theme="dark"] .icon-button, :root[data-theme="dark"] .field input, :root[data-theme="dark"] .field textarea, :root[data-theme="dark"] .field select, :root[data-theme="dark"] .comment-form textarea { background: #202a3d; color: #e7ebf4; }
:root[data-theme="dark"] .field :is(input, textarea, select)[aria-invalid="true"] { border-color: #ff7a83; box-shadow: 0 0 0 1px #ff7a8322; }
:root[data-theme="dark"] .field .field-error { color: #ff9299; }
:root[data-theme="dark"] .field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='m4.5 6 3.5 3.5L11.5 6' stroke='%23cbd5e1' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
:root[data-theme="dark"] .post-title, :root[data-theme="dark"] .feed-heading-row h1, :root[data-theme="dark"] .detail-post h2, :root[data-theme="dark"] .drawer h2, :root[data-theme="dark"] .drawer-section h3, :root[data-theme="dark"] .discussion-heading h3 { color: #edf1f8; }
:root[data-theme="dark"] .settings-drawer .drawer-section h3, :root[data-theme="dark"] .settings-content-label, :root[data-theme="dark"] .settings-toggle strong, :root[data-theme="dark"] .settings-data strong { color: #dfe7f5; }
:root[data-theme="dark"] .post-row:hover, :root[data-theme="dark"] .topic-tile, :root[data-theme="dark"] .action-button, :root[data-theme="dark"] .setting-choice, :root[data-theme="dark"] .account-menu-actions > a, :root[data-theme="dark"] .account-menu-actions > button { background: #1b2537; color: #dfe6f2; }
:root[data-theme="dark"] .vote-control { border-color: #34425b; background: #1b2537; color: #cbd5e1; }
:root[data-theme="dark"] .vote-control-score { color: #e7ebf4; }
:root[data-theme="dark"] .vote-control-compact { border-color: transparent; background: transparent; }
:root[data-theme="dark"] .vote-control-title { border-color: transparent; background: transparent; }
:root[data-theme="dark"] .vote-control-title .vote-control-score { color: #aab5c8; }
:root[data-theme="dark"] .action-button.remove { border-color: #543033; color: #ff938a; }
:root[data-theme="dark"] .action-button.remove:hover { border-color: #7a3a3e; background: #342126; color: #ffaaa3; }
:root[data-theme="dark"] .account-menu-profile:hover { background: #1b2537; }
:root[data-theme="dark"] .wallet-topup, :root[data-theme="dark"] .wallet-topup:hover { border-color: #34425b; background: #1b2537; color: #e7ebf4; }
:root[data-theme="dark"] .wallet-topup:hover { border-color: #668cff; }
:root[data-theme="dark"] .wallet-history-row, :root[data-theme="dark"] .wallet-empty { border-color: #293349; }
:root[data-theme="dark"] .wallet-history-row > a { color: #e7ebf4; }
@media (prefers-color-scheme: dark) {
  :root[data-theme="system"] { color-scheme: dark; --ink: #e7ebf4; --muted: #9ba7bb; --line: #293349; --canvas: #121827; --surface: #171f30; --shadow: 0 16px 48px #0008; }
  :root[data-theme="system"] .spa-header, :root[data-theme="system"] .sidebar, :root[data-theme="system"] .feed-column, :root[data-theme="system"] .feed-sticky, :root[data-theme="system"] .detail-column, :root[data-theme="system"] .drawer, :root[data-theme="system"] .account-menu, :root[data-theme="system"] .mobile-nav { background: #171f30; color: #e7ebf4; }
  :root[data-theme="system"] .search, :root[data-theme="system"] .field input, :root[data-theme="system"] .field textarea, :root[data-theme="system"] .field select { background: #202a3d; color: #e7ebf4; }
  :root[data-theme="system"] .field :is(input, textarea, select)[aria-invalid="true"] { border-color: #ff7a83; box-shadow: 0 0 0 1px #ff7a8322; }
  :root[data-theme="system"] .field .field-error { color: #ff9299; }
  :root[data-theme="system"] .action-button.remove { border-color: #543033; color: #ff938a; }
  :root[data-theme="system"] .vote-control { border-color: #34425b; background: #1b2537; color: #cbd5e1; }
  :root[data-theme="system"] .vote-control-score { color: #e7ebf4; }
  :root[data-theme="system"] .vote-control-compact { border-color: transparent; background: transparent; }
  :root[data-theme="system"] .vote-control-title { border-color: transparent; background: transparent; }
  :root[data-theme="system"] .vote-control-title .vote-control-score { color: #aab5c8; }
  :root[data-theme="system"] .action-button.remove:hover { border-color: #7a3a3e; background: #342126; color: #ffaaa3; }
  :root[data-theme="system"] .field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='m4.5 6 3.5 3.5L11.5 6' stroke='%23cbd5e1' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
}

@media (max-width: 1300px) {
  .spa-header { gap: 20px; padding: 0 22px; }
  .brand { width: 170px; flex-basis: 170px; }
  .brand img { width: 128px; height: 64px; }
  .header-nav { gap: 15px; }
  .app-shell { grid-template-columns: minmax(195px, 17vw) minmax(400px, 43vw) minmax(360px, 1fr); }
  .post-row { grid-template-columns: 80px minmax(0, 1fr); gap: 12px; min-height: 98px; }
  .post-thumb { width: 80px; height: 80px; }
}
@media (max-width: 1100px) {
  .spa-header { gap: 16px; }
  .app-shell { height: calc(100dvh - 74px); grid-template-columns: 195px minmax(360px, 1fr); }
  .detail-column { display: none; }
  .body-detail .feed-column { display: none; }
  .body-detail .detail-column { display: block; grid-column: 1 / -1; height: calc(100dvh - 74px); padding: 0 25px 50px; }
}
@media (max-width: 740px) {
  body { overflow: auto; }
  .spa-header { position: sticky; top: 0; height: 60px; gap: 9px; padding: 0 10px; }
  .brand { width: 74px; flex: 0 0 74px; }
  .brand img { width: 70px; height: 35px; }
  .search { height: 38px; flex: 1 1 auto; gap: 8px; padding: 0 9px; }
  .search input { font-size: 12px; }
  .search kbd { display: none; }
  .header-nav { gap: 7px; margin-left: 0; }
  .header-nav > a { display: none; }
  .header-nav > a[data-about-walkthrough], .header-nav > a[data-header-route="/help"] { display: flex; font-size: 11px; }
  .header-submit { width: 39px; min-width: 39px; height: 37px; padding: 0; }
  .header-submit span { display: none; }
  .icon-button { width: 35px; height: 35px; }
  .app-shell { display: block; height: auto; min-height: calc(100dvh - 60px); overflow: visible; padding-bottom: 66px; }
  .sidebar { display: none; }
  .feed-column { height: auto; min-height: calc(100dvh - 60px); overflow: visible; border: 0; }
  .feed-heading-row { height: 42px; padding: 0 14px; }
  .feed-heading-row h1 { font-size: 15px; }
  .feed-tabs { height: 44px; gap: 20px; padding: 0 14px; }
  .feed-tabs a, .feed-tabs button { font-size: 12px; }
  .feed-list { padding: 7px 7px 20px; }
  .post-row { grid-template-columns: 56px minmax(0, 1fr); gap: 9px; min-height: 84px; padding: 7px 6px; border-radius: 10px; }
  .post-thumb { width: 56px; height: 56px; border-radius: 9px; }
  :root[data-density="compact"] .post-row { grid-template-columns: 48px minmax(0, 1fr); gap: 8px; min-height: 76px; padding: 6px 5px; }
  :root[data-density="compact"] .post-thumb { width: 48px; height: 48px; }
  :root[data-density="spacious"] .post-row { grid-template-columns: 64px minmax(0, 1fr); gap: 9px; min-height: 92px; padding: 8px 6px; }
  :root[data-density="spacious"] .post-thumb { width: 64px; height: 64px; }
  .post-title { font-size: 13px; }
  .post-source { font-size: 10px; }
  .post-meta { gap: 6px; font-size: 10px; }
  .post-topic { max-width: 84px; }
  .detail-column { display: none; }
  .body-detail .feed-column { display: none; }
  .body-detail .detail-column { display: block; height: calc(100dvh - 60px); padding: 0 15px 80px; overflow: auto; }
  .detail-post h2 { font-size: 24px; }
  .detail-body { font-size: 14px; }
  .drawer { width: min(100%, 500px); padding: 25px 19px 28px; }
  .auth-open .drawer { width: min(440px, calc(100vw - 28px)); padding: 27px 23px; }
  .topic-grid { grid-template-columns: minmax(0, 1fr); }
  .topic-tile { min-height: 68px; }
  .topic-tile-copy strong { font-size: 12px; }
  .topic-tile-copy small { font-size: 10px; }
  .mobile-nav { position: fixed; z-index: 30; right: 0; bottom: 0; left: 0; display: flex; height: 62px; align-items: stretch; justify-content: space-around; border-top: 1px solid var(--line); background: var(--surface); }
  .mobile-nav a, .mobile-nav button { display: grid; min-width: 48px; align-content: center; justify-items: center; gap: 3px; border: 0; background: transparent; color: #718099; font-size: 10px; cursor: pointer; }
  .mobile-nav svg { width: 20px; height: 20px; }
  .mobile-nav .active { color: var(--blue); }
  .account-menu { top: 54px; right: 10px; }
}
@media (max-width: 430px) {
  .header-nav { gap: 5px; }
  .header-submit { width: 34px; min-width: 34px; }
  .icon-button { width: 32px; height: 32px; }
  .post-row { grid-template-columns: 52px minmax(0, 1fr); gap: 8px; }
  .post-thumb { width: 52px; height: 52px; }
  :root[data-density="compact"] .post-row { grid-template-columns: 46px minmax(0, 1fr); }
  :root[data-density="compact"] .post-thumb { width: 46px; height: 46px; }
  :root[data-density="spacious"] .post-row { grid-template-columns: 56px minmax(0, 1fr); }
  :root[data-density="spacious"] .post-thumb { width: 56px; height: 56px; }
  .row-actions { gap: 3px; }
  .post-meta { gap: 5px; }
  .post-topic { max-width: 64px; }
  .post-footer-row { flex-wrap: wrap; }
  .post-stats { gap: 7px; margin-left: auto; }
  .topic-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
.info-page{max-width:760px;margin:28px auto;padding:28px 32px;border:1px solid var(--line);border-radius:16px;background:var(--surface)}
.info-page h2{margin:0 0 12px;font-size:24px;line-height:1.25}
.info-page p{margin:0;color:var(--muted);line-height:1.7}
.legal-page{padding:30px 34px}
.legal-page .eyebrow{margin-bottom:8px;color:var(--muted);font-size:12px}
.legal-page h1{margin:0 0 26px;color:var(--ink);font-size:27px;line-height:1.25}
.legal-page section+section{margin-top:25px;padding-top:19px;border-top:1px solid var(--line)}
.legal-page section h2{margin:0 0 9px;color:var(--ink);font-size:16px}
.legal-page section p+p{margin-top:10px}
.help-page{max-width:860px;margin:0 auto;padding:30px 30px 64px;color:var(--ink)}
.help-page-head{padding:12px 0 24px}
.help-page-head .eyebrow{margin:0 0 8px;color:var(--blue);font-size:11px;font-weight:700;letter-spacing:.09em}
.help-page-head h1{margin:0 0 8px;font-size:28px;line-height:1.2;letter-spacing:-.025em}
.help-page-head>p:last-child{margin:0;color:var(--muted);font-size:14px;line-height:1.55}
.help-section{padding:24px 0 0}
.help-section>h2{margin:0 0 13px;font-size:20px;font-weight:650;line-height:1.3;letter-spacing:-.015em}
.help-section>details{border-top:1px solid color-mix(in srgb,var(--line) 72%,transparent)}
.help-section>details:last-child{border-bottom:1px solid color-mix(in srgb,var(--line) 72%,transparent)}
.help-section>details>summary{position:relative;padding:13px 28px 13px 0;color:var(--ink);font-size:13px;font-weight:550;line-height:1.4;cursor:pointer;list-style:none}
.help-section>details>summary::-webkit-details-marker{display:none}
.help-section>details>summary::after{content:'+';position:absolute;right:2px;top:10px;color:var(--muted);font-size:18px;font-weight:400}
.help-section>details[open]>summary::after{content:'−'}
.help-section>details>p{margin:0;padding:0 24px 14px 0;color:var(--muted);font-size:13px;line-height:1.6}
.help-policy-date{margin:-5px 0 11px;padding:0;color:var(--muted);font-size:12px}
.help-policy-notice{margin:24px 0 0;padding:18px 0 0;border-top:1px solid var(--line);color:var(--muted);font-size:12px;line-height:1.55}
.help-guidelines-list{margin:0;padding-left:20px;color:var(--muted);font-size:13px;line-height:1.65}
.help-guidelines-list li+li{margin-top:8px}
@media(max-width:760px){.help-page{padding:20px 16px 42px}.help-page-head h1{font-size:24px}.help-section{padding-top:18px}}
.spa-header[hidden],.app-shell[hidden],.mobile-nav[hidden],.help-page-root[hidden]{display:none!important}
body.body-help{height:auto;min-height:100dvh;overflow:auto;background:var(--canvas)}
.help-page-root{min-height:100dvh;background:var(--canvas)}
.help-site-header{height:78px;border-bottom:1px solid var(--line);background:var(--surface)}
.help-site-header-inner,.help-page-content{width:min(calc(100% - 40px),760px);margin-inline:auto}
.help-site-header-inner{display:grid;height:100%;grid-template-columns:1fr auto 1fr;align-items:center}
.help-brand{display:flex;align-items:center;justify-self:center}
.help-brand img{display:block;width:148px;height:68px;object-fit:contain;object-position:left center}
.help-home-link{display:inline-flex;min-height:36px;align-items:center;justify-self:start;gap:6px;margin-left:-4px;padding:0 4px 0 0;border-radius:9px;color:var(--blue);font-size:13px;font-weight:550;white-space:nowrap}
.help-home-link:hover{background:var(--blue-soft)}
.help-home-link svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.help-header-spacer{justify-self:end}
.help-page-content{padding:32px 0 72px}
.help-page{max-width:none;margin:0;padding:0;color:var(--ink)}
.help-load-error{margin:0;padding:28px;border:1px solid var(--line);border-radius:12px;background:var(--surface);color:var(--muted)}
@media(max-width:600px){.help-site-header{height:64px}.help-brand img{width:108px;height:54px}.help-home-link{min-height:32px;gap:5px;font-size:11px}.help-home-link svg{width:18px;height:18px}.help-page-content{padding:22px 0 52px}.help-section{padding-top:22px}.help-section>h2{font-size:19px}}
.drawer-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:22px}
.button-danger{border-color:#d52e43!important;background:#d52e43!important;color:#fff!important}
.button-danger:hover{background:#b91f34!important}

.wallet-paused-notice { margin: 12px 0 0; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; color: var(--muted); font-size: 13px; line-height: 1.5; }
.payment-paused-alert { grid-column: 1 / -1; margin: 0; color: #b42318; font-size: 12px; line-height: 1.45; }
.payment-tile-disabled { color: var(--muted); cursor: not-allowed; opacity: .62; }
.payment-tile:has(input:disabled) { cursor: not-allowed; }
