/* AskBuzzy — timeline, hives and threads, with honey. */

:root {
  --honey: #FFC21A;
  --on-honey: #1a1300;
  --page: #FFFFFF;
  --panel: #F7F6F2;
  --text: #0F0F0E;
  --text2: #2B2A27;
  --muted: #5E5B54;
  --border: #E7E4DC;
  --chip: #F2F0EA;
  --wing: #DCEBFA;
  --up: #B85A00;
  --up-bg: #FFF1DE;
  --ai-bg: #F3EFFE;
  --ai-fg: #5B21B6;
  --ai-line: #DDD3FA;
  --ok-bg: #E1F5EC;
  --ok-fg: #0B6B45;
  --prem-bg: #FFF1C7;
  --prem-fg: #6B4700;
  --needs-bg: #FFF1C7;
  --needs-fg: #7A5200;
  --launch-bg: #FFE7DA;
  --launch-fg: #9A3412;
  --disc-bg: #E5EDFF;
  --disc-fg: #1D47B5;
  --danger: #B42318;
  --link: #8A5A00;
  --radius: 18px;
  --head: 'Fredoka', 'Nunito', system-ui, sans-serif;
  --body: 'Nunito', system-ui, -apple-system, 'Segoe UI', sans-serif;
  color-scheme: light;
}

[data-theme="dark"] {
  --page: #0B0B0A;
  --panel: #161614;
  --text: #EEEBE4;
  --text2: #D9D5CC;
  --muted: #A39F95;
  --border: #2A2925;
  --chip: #1C1B19;
  --wing: #3A3934;
  --up: #FFB547;
  --up-bg: rgba(255, 181, 71, .14);
  --ai-bg: rgba(167, 139, 250, .14);
  --ai-fg: #C4B5FD;
  --ai-line: rgba(167, 139, 250, .35);
  --ok-bg: rgba(52, 211, 153, .14);
  --ok-fg: #6EE7B7;
  --prem-bg: rgba(255, 194, 26, .16);
  --prem-fg: #FFD666;
  --needs-bg: rgba(255, 194, 26, .14);
  --needs-fg: #FFD666;
  --launch-bg: rgba(251, 146, 60, .15);
  --launch-fg: #FDBA74;
  --disc-bg: rgba(96, 165, 250, .15);
  --disc-fg: #93C5FD;
  --danger: #FDA29B;
  --link: #FFD666;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--body); background: var(--page); color: var(--text); font-size: 15px; line-height: 1.45; }
a { color: inherit; text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; }
button, input, textarea, select { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--honey); outline-offset: 2px; border-radius: 6px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
h1, h2, h3 { margin: 0; }
.head { font-family: var(--head); font-weight: 800; letter-spacing: -0.015em; }
.muted { color: var(--muted); }
.row { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.grow { flex: 1 1 0; }

/* ───── Shell ───── */
.shell { max-width: 1340px; margin: 0 auto; display: flex; align-items: stretch; }

/* ───── Top bar (Reddit-style) ───── */
:root { --tb-h: 60px; }
.topbar { position: sticky; top: 0; z-index: 40; height: var(--tb-h); background: var(--page); border-bottom: 1px solid var(--border); }
.topbar-in { height: 100%; display: flex; align-items: center; gap: 16px; padding: 0 18px; }
.tb-logo { flex: 0 0 auto; display: flex; align-items: center; }
.tb-logo:hover { text-decoration: none; }
.tb-search { flex: 0 1 600px; margin: 0 auto; display: flex; align-items: center; gap: 10px; height: 42px; padding: 0 16px; border-radius: 999px; background: var(--chip); color: var(--muted); border: 1px solid transparent; }
.tb-search:focus-within { background: var(--page); border-color: var(--border); box-shadow: 0 2px 10px rgba(0,0,0,.08); }
.tb-search input { flex: 1 1 auto; min-width: 0; border: 0; outline: none; background: transparent; font-size: 15px; color: var(--text); }
.tb-actions { flex: 0 0 auto; display: flex; align-items: center; gap: 6px; }
.tb-icon { position: relative; width: 40px; height: 40px; border-radius: 999px; display: flex; align-items: center; justify-content: center; color: var(--text); cursor: pointer; list-style: none; }
.tb-icon:hover { background: var(--chip); text-decoration: none; }
.tb-icon .badge { left: 22px; top: 2px; }
.tb-search-btn { display: none; }
.tb-create { display: flex; align-items: center; gap: 6px; height: 40px; padding: 0 14px 0 10px; border-radius: 999px; font-weight: 600; font-size: 15px; color: var(--text); }
.tb-create:hover { background: var(--chip); text-decoration: none; }
.tb-login { display: flex; align-items: center; height: 40px; padding: 0 18px; border-radius: 999px; background: var(--honey); color: var(--on-honey); font-weight: 700; font-size: 15px; }
.tb-login:hover { filter: brightness(.96); text-decoration: none; }
.tb-menu { position: relative; }
.tb-menu > summary { list-style: none; cursor: pointer; }
.tb-menu > summary::-webkit-details-marker { display: none; }
.tb-avatar { position: relative; display: flex; padding: 3px; border-radius: 999px; }
.tb-avatar:hover { background: var(--chip); }
.tb-online { position: absolute; right: 3px; bottom: 3px; width: 10px; height: 10px; border-radius: 999px; background: #2bb673; box-shadow: 0 0 0 2px var(--page); }
.tb-dropdown { position: absolute; right: 0; top: calc(100% + 8px); width: 270px; padding: 8px 0; background: var(--page); border: 1px solid var(--border); border-radius: 14px; box-shadow: 0 12px 32px rgba(0,0,0,.16); z-index: 50; }
.tb-dropdown a, .tb-dropdown button { display: flex; align-items: center; gap: 12px; width: 100%; padding: 10px 16px; font: inherit; font-size: 15px; color: var(--text); background: none; border: 0; text-align: left; cursor: pointer; }
.tb-dropdown a:hover, .tb-dropdown button:hover { background: var(--chip); text-decoration: none; }
.tb-dropdown hr { border: 0; border-top: 1px solid var(--border); margin: 6px 0; }
.tb-dropdown form { margin: 0; }
.tb-me small { display: block; color: var(--muted); font-size: 13px; }
.tb-switch { margin-left: auto; width: 34px; height: 20px; border-radius: 999px; background: var(--border); position: relative; flex: none; }
.tb-switch::after { content: ''; position: absolute; left: 3px; top: 3px; width: 14px; height: 14px; border-radius: 999px; background: #fff; transition: left .15s; }
[data-theme="dark"] .tb-switch { background: var(--honey); }
[data-theme="dark"] .tb-switch::after { left: 17px; }
.nav-sep { border: 0; border-top: 1px solid var(--border); margin: 10px 4px; }
.nav-head { padding: 6px 14px; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.nav-hive { font-size: 14px; padding: 7px 14px; }
.hv-dot { width: 26px; height: 26px; flex: none; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 12px; font-weight: 800; clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); }
.nav-more { font-size: 14px; color: var(--link); }
.nav-foot { padding: 4px 14px; font-size: 12px; line-height: 1.7; color: var(--muted); }
.nav-foot a { color: var(--muted); }

/* Desktop: only the centre column scrolls; the top bar and both side columns stay put. */
@media (min-width: 761px) {
  html.app, html.app body { height: 100%; overflow: hidden; }
  .app .shell { height: calc(100vh - var(--tb-h)); }
  .app .leftnav, .app .rail { position: static; align-self: stretch; height: 100%; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: none; }
  .app .leftnav::-webkit-scrollbar, .app .rail::-webkit-scrollbar { display: none; }
  .app .main { height: 100%; min-height: 0; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: none; -ms-overflow-style: none; }
  .app .main::-webkit-scrollbar { display: none; width: 0; height: 0; }
}
.leftnav { align-self: flex-start; flex: 0 0 250px; position: sticky; top: var(--tb-h); height: calc(100vh - var(--tb-h)); overflow-y: auto; padding: 12px 14px 20px; display: flex; flex-direction: column; gap: 1px; border-right: 1px solid var(--border); }
.main { flex: 1 1 600px; max-width: 700px; min-width: 0; border-right: 1px solid var(--border); min-height: calc(100vh - var(--tb-h)); }
.rail { align-self: flex-start; flex: 0 0 340px; padding: 16px 20px 40px; display: flex; flex-direction: column; gap: 16px; }
.rail > * { flex-shrink: 0; }

.logo { display: flex; align-items: center; gap: 10px; padding: 8px 10px 18px; font-family: var(--head); font-weight: 800; font-size: 24px; letter-spacing: -0.02em; }
.logo:hover { text-decoration: none; }
.logo-mark { display: block; flex: none; }
.logo-full { display: block; height: auto; max-width: 100%; }
.logo-on-dark { display: none; }
[data-theme="dark"] .logo-on-light { display: none; }
[data-theme="dark"] .logo-on-dark { display: block; }
.mobile-logo { display: flex; }
.nav-item { display: flex; align-items: center; gap: 12px; padding: 9px 14px; border-radius: 10px; font-size: 15px; color: var(--text); position: relative; }
.nav-item:hover { background: var(--chip); text-decoration: none; }
.nav-item.on { font-weight: 700; background: var(--chip); }
.nav-item svg { flex: 0 0 auto; }
.badge { position: absolute; left: 30px; top: 6px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px; background: var(--honey); color: var(--on-honey); font-size: 11px; font-weight: 800; display: flex; align-items: center; justify-content: center; }
.badge[hidden] { display: none; }
.nav-me { margin-top: auto; display: flex; align-items: center; gap: 10px; padding: 10px; border-radius: 999px; }
.nav-me:hover { background: var(--chip); text-decoration: none; }
.nav-me small { display: block; color: var(--muted); font-size: 14px; }

/* ───── Buttons ───── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 40px; padding: 0 18px; border-radius: 999px; border: 0; font-weight: 700; font-size: 15px; cursor: pointer; text-decoration: none; white-space: nowrap; }
.btn:hover { text-decoration: none; filter: brightness(.97); }
.btn-honey { background: var(--honey); color: var(--on-honey); }
.btn-ink { background: var(--text); color: var(--page); }
.btn-ghost { background: transparent; color: var(--text); border: 1px solid var(--border); }
.btn-soft { background: var(--chip); color: var(--text2); font-weight: 600; font-size: 13px; padding: 0 12px; }
.btn-ok { background: var(--ok-bg); color: var(--ok-fg); font-size: 13px; padding: 0 12px; }
.btn-lg { min-height: 52px; font-size: 17px; }
.btn-block { width: 100%; }
.btn-sm { min-height: 34px; padding: 0 14px; font-size: 13px; }
.linkbtn { background: none; border: 0; padding: 0 10px; min-height: 36px; color: var(--muted); font-size: 13px; font-weight: 600; cursor: pointer; border-radius: 999px; }
.linkbtn:hover { background: var(--chip); }

/* ───── Avatars and icons ───── */
.av { flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center; font-weight: 700; }
.av-real { border-radius: 999px; }
.av-nick { clip-path: polygon(50% 0, 93% 25%, 93% 75%, 50% 100%, 7% 75%, 7% 25%); }
.av-mascot { position: relative; overflow: hidden; }
.av-mascot img { position: absolute; left: 4%; top: 4%; width: 92%; height: 92%; pointer-events: none; }
.app-icon { flex: 0 0 auto; border-radius: 12px; color: #fff; font-weight: 800; display: inline-flex; align-items: center; justify-content: center; }
.verified { flex: 0 0 auto; vertical-align: -3px; }

/* ───── Labels ───── */
.flair { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; font-weight: 700; padding: 3px 9px; border-radius: 999px; }
.flair-solved { background: var(--ok-bg); color: var(--ok-fg); }
.flair-needs { background: var(--needs-bg); color: var(--needs-fg); }
.flair-launch { background: var(--launch-bg); color: var(--launch-fg); }
.flair-discussion { background: var(--disc-bg); color: var(--disc-fg); }
.flair-question { background: var(--chip); color: var(--text2); }
.tag-prem { font-size: 11px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; padding: 2px 7px; border-radius: 6px; background: var(--prem-bg); color: var(--prem-fg); }
.tag-team { font-size: 12px; font-weight: 700; padding: 2px 8px; border-radius: 999px; background: var(--honey); color: #1a1300; vertical-align: middle; }
.starter-note { margin: 10px 0 0; padding: 8px 12px; border-radius: 10px; background: var(--panel); color: var(--muted); font-size: 13.5px; }
.tag-maker { font-size: 12px; font-weight: 700; padding: 2px 8px; border-radius: 999px; background: var(--prem-bg); color: var(--prem-fg); }
.tag-asker { font-size: 11px; font-weight: 800; padding: 2px 6px; border-radius: 5px; background: var(--honey); color: var(--on-honey); }
.tag-soft { font-size: 12px; font-weight: 600; padding: 2px 8px; border-radius: 999px; background: var(--chip); color: var(--text2); }
.promoted { display: inline-flex; align-items: center; gap: 5px; font-size: 13px; color: var(--muted); }
.ai-chip { display: inline-flex; align-items: center; gap: 5px; font-size: 13px; font-weight: 600; padding: 5px 10px; border-radius: 999px; background: var(--ai-bg); color: var(--ai-fg); }

/* ───── Center column ───── */
.page-title { padding: 14px 18px 0; font-family: var(--head); font-weight: 800; font-size: 21px; }
.tabs { display: flex; border-bottom: 1px solid var(--border); overflow-x: auto; background: var(--page); }
.tab { flex: 1 0 auto; min-height: 52px; padding: 0 16px; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 12px; color: var(--muted); font-weight: 500; }
.tab:hover { background: var(--chip); text-decoration: none; }
.tab::after { content: ''; width: 56px; height: 4px; border-radius: 4px; background: transparent; }
.tab.on { color: var(--text); font-weight: 700; }
.tab.on::after { background: var(--honey); }

.askbox { display: flex; gap: 12px; padding: 16px 18px; border-bottom: 1px solid var(--border); }
.askbox-main { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.askbox input[type=text] { border: 0; outline: none; background: transparent; font-size: 20px; padding: 8px 0; width: 100%; }
.askbox-foot { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; padding-top: 10px; border-top: 1px solid var(--border); }

.featured { padding: 14px 18px 18px; border-bottom: 1px solid var(--border); }
.featured-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.fcard { border: 1px solid var(--border); border-radius: 16px; overflow: hidden; display: flex; flex-direction: column; }
.fcard:hover { text-decoration: none; border-color: var(--muted); }
.fcard-shot { height: 96px; display: flex; align-items: flex-end; justify-content: center; padding-top: 12px; }
.fcard-win { width: 80%; height: 100%; background: #fff; border-radius: 7px 7px 0 0; display: flex; flex-direction: column; gap: 6px; padding: 9px; }
.fcard-win i { display: block; height: 8px; border-radius: 3px; background: #ecebe6; }
.fcard-win i:first-child { width: 70%; opacity: .55; }
.fcard-body { padding: 0 12px 12px; display: flex; flex-direction: column; gap: 4px; }
.fcard-body .app-icon { margin-top: -18px; border: 3px solid var(--page); }
.fcard-body b { font-size: 15px; }
.fcard-body span { font-size: 13px; color: var(--muted); line-height: 1.35; }

.post { display: flex; gap: 12px; padding: 14px 18px; border-bottom: 1px solid var(--border); }
.post-main { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.post-meta { display: flex; align-items: center; gap: 5px; flex-wrap: wrap; font-size: 15px; line-height: 1.3; }
.post-title { font-size: 17px; font-weight: 700; line-height: 1.3; }
.post-body { margin: 0; font-size: 15px; color: var(--text2); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.preview { margin-top: 4px; border: 1px solid var(--border); border-radius: 14px; padding: 10px 12px; display: flex; flex-direction: column; gap: 4px; background: var(--panel); font-size: 14px; }
.preview-head { display: flex; align-items: center; gap: 6px; font-size: 13px; }
.preview-head strong { color: var(--ok-fg); }
.preview p { margin: 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.product-card { margin-top: 4px; border: 1px solid var(--border); border-radius: 16px; overflow: hidden; display: flex; }
.product-card:hover { text-decoration: none; border-color: var(--muted); }
.product-card .pc-art { flex: 0 0 120px; display: flex; align-items: center; justify-content: center; }
.product-card .pc-body { padding: 12px 14px; display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.pc-rank { font-size: 12px; font-weight: 700; color: var(--launch-fg); }

.actions { display: flex; align-items: center; gap: 6px; margin-top: 4px; color: var(--muted); font-size: 13px; flex-wrap: wrap; }
.vote { display: inline-flex; align-items: center; border-radius: 999px; background: var(--chip); }
.vote button { width: 40px; height: 40px; border: 0; background: transparent; color: var(--muted); cursor: pointer; display: flex; align-items: center; justify-content: center; border-radius: 999px; }
.vote button:hover { background: var(--border); }
.vote .count { font-weight: 700; font-size: 14px; color: var(--text2); min-width: 18px; text-align: center; }
.vote.up { background: var(--up-bg); }
.vote.up .count, .vote.up [data-dir="1"] { color: var(--up); }
.vote.up [data-dir="1"] svg { fill: currentColor; }
.vote.down [data-dir="-1"] { color: var(--ai-fg); }
.vote.down [data-dir="-1"] svg { fill: currentColor; }
.vote-sm button { width: 34px; height: 34px; }

.more { display: block; text-align: center; padding: 18px; color: var(--link); font-weight: 600; border-bottom: 1px solid var(--border); }
.empty { padding: 40px 24px; text-align: center; color: var(--muted); }

/* ───── Right rail ───── */
.rail-card { background: var(--panel); border-radius: var(--radius); overflow: hidden; }
.rail-card h2 { padding: 14px 16px 6px; font-family: var(--head); font-weight: 800; font-size: 19px; }
.rail-card .foot { display: block; padding: 10px 16px 14px; color: var(--link); }
.rail-row { display: flex; align-items: center; gap: 12px; padding: 10px 16px; }
.rail-row:hover { text-decoration: none; background: var(--chip); }
.rail-row .t { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; }
.rail-row .t b { font-size: 15px; }
.rail-row .t span { font-size: 13px; color: var(--muted); }
.promo-card { border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.promo-card .promoted { padding: 12px 16px 4px; }
.upbox { flex: 0 0 auto; width: 48px; height: 48px; border: 1px solid var(--border); border-radius: 12px; background: var(--page); font-size: 13px; font-weight: 700; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px; }
.rail-search { display: flex; align-items: center; gap: 10px; background: var(--chip); border-radius: 999px; padding: 0 16px; }
.rail-search input { flex: 1 1 auto; min-width: 0; border: 0; outline: none; background: transparent; padding: 13px 0; }
.rail-links { padding: 0 6px; font-size: 13px; line-height: 1.7; color: var(--muted); }

/* ───── Question page ───── */
.hive-banner { height: 76px; background-color: var(--honey); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='48.5'%3E%3Cpath d='M14 0l14 8.1v16.2L14 32.4 0 24.3V8.1zM14 32.4v16.1' fill='none' stroke='%231a1300' stroke-opacity='.14' stroke-width='1.5'/%3E%3C/svg%3E"); }
.hive-head { padding: 0 18px 14px; border-bottom: 1px solid var(--border); display: flex; align-items: flex-end; gap: 12px; flex-wrap: wrap; }
.hive-icon { margin-top: -26px; width: 64px; height: 64px; background: var(--page); clip-path: polygon(50% 0, 93% 25%, 93% 75%, 50% 100%, 7% 75%, 7% 25%); display: flex; align-items: center; justify-content: center; }
.hive-icon span { width: 56px; height: 56px; clip-path: inherit; display: flex; align-items: center; justify-content: center; color: #fff; font-weight: 800; font-size: 20px; font-family: var(--head); }
.hive-name { display: flex; flex-direction: column; flex: 1 1 200px; min-width: 0; padding-top: 10px; }
.hive-name b { font-family: var(--head); font-weight: 800; font-size: 22px; }
.hive-name span { font-size: 13px; color: var(--muted); }

.qpost { padding: 16px 18px; border-bottom: 1px solid var(--border); display: flex; flex-direction: column; gap: 10px; }
.qpost h1 { font-family: var(--head); font-weight: 800; font-size: 30px; line-height: 1.12; letter-spacing: -0.015em; }
.prose { font-size: 16px; line-height: 1.55; color: var(--text2); }
.prose p { margin: 0 0 10px; }
.prose p:last-child { margin-bottom: 0; }
.prose ol, .prose ul { margin: 0 0 10px; padding-left: 22px; display: flex; flex-direction: column; gap: 4px; }
.prose code { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: .9em; background: var(--chip); padding: 1px 5px; border-radius: 5px; }
.prose a { color: var(--link); text-decoration: underline; }
.device { font-size: 13px; padding: 5px 10px; border-radius: 8px; background: var(--chip); color: var(--text2); }
.notice { margin: 12px 18px 0; padding: 12px 14px; border-radius: 14px; font-size: 14px; }
.notice-held { background: var(--needs-bg); color: var(--needs-fg); }
.notice-hidden { background: var(--chip); color: var(--text2); }

.apps-wrap { padding: 14px 18px; border-bottom: 1px solid var(--border); }
.apps-box { border: 1px solid var(--ai-line); border-radius: var(--radius); overflow: hidden; }
.apps-head { display: flex; align-items: center; gap: 8px; padding: 12px 16px; background: var(--ai-bg); color: var(--ai-fg); flex-wrap: wrap; }
.apps-head h2 { font-size: 15px; font-weight: 700; }
.apps-head a { font-size: 13px; text-decoration: underline; }
.app-row { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-top: 1px solid var(--border); }
.app-row .t { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.app-row .t span { font-size: 13px; color: var(--muted); line-height: 1.35; }
.apps-foot { display: flex; align-items: center; gap: 8px; padding: 10px 16px; border-top: 1px solid var(--border); font-size: 12px; color: var(--muted); flex-wrap: wrap; }
.roundbtn { width: 36px; height: 36px; border: 1px solid var(--border); border-radius: 999px; background: transparent; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; color: var(--text2); }
.roundbtn.on { background: var(--ok-bg); color: var(--ok-fg); border-color: transparent; }

.composer { display: flex; gap: 12px; padding: 14px 18px; border-bottom: 1px solid var(--border); }
.composer textarea { width: 100%; border: 0; outline: none; resize: vertical; background: transparent; font-size: 17px; padding: 6px 0; min-height: 60px; }
.composer-foot { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; border-top: 1px solid var(--border); padding-top: 10px; font-size: 13px; color: var(--text2); }
.composer-foot input[type=checkbox] { width: 18px; height: 18px; margin: 0; accent-color: var(--honey); }
.composer-foot select { border: 1px solid var(--border); background: var(--page); border-radius: 8px; padding: 4px 8px; }

.answers { padding: 8px 18px 40px; }
.answer { display: flex; gap: 10px; padding-top: 16px; }
.answer + .answer { margin-top: 10px; border-top: 1px solid var(--border); }
.answer-rail { flex: 0 0 36px; display: flex; flex-direction: column; align-items: center; }
.answer-rail .line { flex: 1 1 auto; width: 2px; background: var(--border); margin-top: 6px; }
.answer-main { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 8px; padding-bottom: 6px; }
.reply { display: flex; gap: 10px; margin-top: 8px; }
.reply .answer-rail { flex-basis: 30px; }
.reply-meta { display: flex; gap: 6px; align-items: center; font-size: 14px; flex-wrap: wrap; }
.reply-body { font-size: 15px; line-height: 1.55; }
.reply-body p { margin: 0 0 8px; }
.reply-body p:last-child { margin: 0; }
.reply-body ol, .reply-body ul { margin: 0 0 8px; padding-left: 20px; display: flex; flex-direction: column; gap: 4px; }
.reply-body code { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: .9em; background: var(--chip); padding: 1px 5px; border-radius: 5px; }
.reply-body a { color: var(--link); text-decoration: underline; }
.reply-actions { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; font-size: 13px; color: var(--muted); }
.reply-form { margin-top: 6px; display: none; flex-direction: column; gap: 8px; }
.reply-form.open { display: flex; }
.reply-form textarea { width: 100%; min-height: 70px; border: 1px solid var(--border); border-radius: 12px; padding: 10px 12px; background: var(--page); resize: vertical; }
.held-note { font-size: 12px; color: var(--needs-fg); background: var(--needs-bg); padding: 2px 8px; border-radius: 6px; }
.sort { display: flex; align-items: center; gap: 8px; padding: 8px 0 4px; font-size: 14px; color: var(--muted); }

/* ───── Forms and simple pages ───── */
.panel { padding: 22px 18px 40px; display: flex; flex-direction: column; gap: 16px; }
.panel h1 { font-family: var(--head); font-weight: 800; font-size: 28px; letter-spacing: -0.015em; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-weight: 600; font-size: 14px; }
.field small { color: var(--muted); font-size: 13px; }
.input, .textarea, .select { width: 100%; border: 1px solid var(--border); border-radius: 12px; padding: 12px 14px; background: var(--page); font-size: 16px; }
.textarea { min-height: 140px; resize: vertical; }
.input:focus, .textarea:focus, .select:focus { outline: 2px solid var(--honey); border-color: transparent; }
.choice { display: flex; gap: 12px; padding: 14px; border: 1px solid var(--border); border-radius: 16px; cursor: pointer; align-items: flex-start; }
.choice input { margin-top: 4px; accent-color: var(--honey); width: 18px; height: 18px; }
.choice b { display: block; font-size: 16px; }
.choice span { color: var(--muted); font-size: 14px; }
.card { border: 1px solid var(--border); border-radius: var(--radius); padding: 16px; display: flex; flex-direction: column; gap: 8px; }
.flash { margin: 12px 18px 0; padding: 12px 14px; border-radius: 14px; font-size: 14px; background: var(--ok-bg); color: var(--ok-fg); }
.flash-error { background: var(--chip); color: var(--danger); border: 1px solid var(--border); }
.table { width: 100%; border-collapse: collapse; font-size: 14px; }
.table th, .table td { text-align: left; padding: 10px 8px; border-bottom: 1px solid var(--border); vertical-align: top; }
.ladder { display: flex; flex-direction: column; gap: 10px; }
.ladder div { display: flex; gap: 10px; align-items: center; padding: 10px 12px; border-radius: 12px; background: var(--panel); }
.ladder .here { background: var(--needs-bg); color: var(--needs-fg); font-weight: 600; }

/* ───── Mobile ───── */
.mobile-tabs, .fab { display: none; }

@media (max-width: 1180px) {
  .rail { display: none; }
  .main { max-width: none; border-right: 0; }
}
@media (max-width: 760px) {
  .leftnav { display: none; }
  .main { border-left: 0; padding-bottom: 72px; }
  :root { --tb-h: 56px; }
  .topbar-in { gap: 8px; padding: 0 10px 0 14px; }
  .tb-search, .tb-create span { display: none; }
  .tb-search-btn { display: flex; }
  .tb-actions { margin-left: auto; }
  .tb-create { padding: 0; width: 40px; justify-content: center; }
  .tb-dropdown { position: fixed; right: 10px; top: calc(var(--tb-h) + 6px); }
  .mobile-tabs { display: flex; position: fixed; left: 0; right: 0; bottom: 0; height: 64px; background: var(--page); border-top: 1px solid var(--border); justify-content: space-around; align-items: flex-start; padding-top: 6px; z-index: 20; }
  .mobile-tabs a { width: 52px; height: 44px; display: flex; align-items: center; justify-content: center; color: var(--muted); position: relative; }
  .mobile-tabs a.on { color: var(--text); }
  .mobile-tabs .badge { left: 30px; top: 2px; }
  .fab { display: flex; position: fixed; right: 16px; bottom: 80px; width: 58px; height: 58px; border-radius: 999px; background: var(--honey); color: var(--on-honey); align-items: center; justify-content: center; box-shadow: 0 6px 18px rgba(0, 0, 0, .25); z-index: 21; }
  .featured-grid { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; }
  .featured-grid .fcard { flex: 0 0 240px; scroll-snap-align: start; }
  .qpost h1 { font-size: 24px; }
  .askbox input[type=text] { font-size: 17px; }
  .product-card .pc-art { flex-basis: 90px; }
}

/* ───── Admin panel ───── */
.admin-shell { display: flex; min-height: 100vh; }
.admin-nav { flex: 0 0 230px; position: sticky; top: 0; height: 100vh; overflow-y: auto; padding: 14px 12px; border-right: 1px solid var(--border); display: flex; flex-direction: column; gap: 2px; background: var(--panel); }
.admin-nav .logo { font-size: 20px; padding-bottom: 6px; }
.admin-nav .sub { font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); padding: 14px 12px 4px; }
.admin-nav a.item { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 10px; font-size: 15px; color: var(--text2); }
.admin-nav a.item:hover { background: var(--chip); text-decoration: none; }
.admin-nav a.item.on { background: var(--page); font-weight: 700; color: var(--text); box-shadow: 0 0 0 1px var(--border); }
.admin-nav a.item .count { margin-left: auto; font-size: 12px; font-weight: 800; min-width: 22px; text-align: center; padding: 1px 7px; border-radius: 999px; background: var(--honey); color: var(--on-honey); }
.admin-main { flex: 1 1 auto; min-width: 0; padding: 22px 28px 60px; max-width: 1400px; }
.admin-head { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 18px; }
.admin-head h1 { font-family: var(--head); font-weight: 800; font-size: 28px; letter-spacing: -0.015em; }
.admin-head .grow { flex: 1 1 0; }
.seg { display: inline-flex; border: 1px solid var(--border); border-radius: 999px; overflow: hidden; }
.seg a { padding: 7px 14px; font-size: 13px; font-weight: 600; color: var(--muted); }
.seg a:hover { text-decoration: none; background: var(--chip); }
.seg a.on { background: var(--text); color: var(--page); }
.kpis { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 12px; margin-bottom: 18px; }
.kpi { border: 1px solid var(--border); border-radius: 16px; padding: 14px 16px; display: flex; flex-direction: column; gap: 4px; background: var(--page); }
.kpi .k { font-size: 13px; color: var(--muted); font-weight: 600; }
.kpi .v { font-family: var(--head); font-weight: 800; font-size: 28px; line-height: 1.1; }
.kpi .s { font-size: 12px; color: var(--muted); }
.kpi.warn { border-color: var(--honey); background: var(--prem-bg); }
.kpi.warn .k, .kpi.warn .s { color: var(--prem-fg); }
.delta { font-size: 12px; font-weight: 700; padding: 1px 6px; border-radius: 6px; background: var(--chip); color: var(--muted); margin-left: 6px; font-family: var(--body); vertical-align: middle; }
.delta.up { background: var(--ok-bg); color: var(--ok-fg); }
.delta.down { background: var(--chip); color: var(--danger); }
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(420px, 1fr)); gap: 16px; margin-bottom: 16px; }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 16px; margin-bottom: 16px; }
.box { border: 1px solid var(--border); border-radius: 16px; padding: 16px; background: var(--page); min-width: 0; }
.box h2 { font-size: 15px; font-weight: 700; margin-bottom: 12px; display: flex; align-items: center; gap: 8px; }
.box h2 .muted { font-weight: 500; font-size: 13px; }
.chart { width: 100%; height: 130px; display: block; }
.chart rect:hover { opacity: .75; }
.chart-axis { display: flex; justify-content: space-between; font-size: 11px; color: var(--muted); margin-top: 4px; }
.rank { display: flex; flex-direction: column; gap: 7px; }
.rank-row { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) 48px; gap: 10px; align-items: center; font-size: 13px; }
.rank-label { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rank-bar { height: 8px; background: var(--chip); border-radius: 4px; overflow: hidden; }
.rank-bar span { display: block; height: 100%; border-radius: 4px; }
.rank-val { text-align: right; font-weight: 700; }
.filters { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin-bottom: 12px; }
.filters .input, .filters .select { width: auto; padding: 8px 12px; font-size: 14px; }
.filters .input[type=search] { min-width: 240px; }
.tbl-wrap { border: 1px solid var(--border); border-radius: 16px; overflow-x: auto; background: var(--page); }
.tbl { width: 100%; border-collapse: collapse; font-size: 14px; }
.tbl th { text-align: left; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); padding: 10px 12px; border-bottom: 1px solid var(--border); background: var(--panel); white-space: nowrap; }
.tbl td { padding: 10px 12px; border-bottom: 1px solid var(--border); vertical-align: middle; }
.tbl tr:last-child td { border-bottom: 0; }
.tbl tr:hover td { background: var(--panel); }
.tbl .num { text-align: right; font-variant-numeric: tabular-nums; }
.tbl .clip { max-width: 360px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tbl .actions { white-space: nowrap; text-align: right; }
.tbl .actions form { display: inline; }
.pill { display: inline-block; font-size: 12px; font-weight: 700; padding: 2px 8px; border-radius: 999px; background: var(--chip); color: var(--text2); white-space: nowrap; }
.pill.ok { background: var(--ok-bg); color: var(--ok-fg); }
.pill.warn { background: var(--needs-bg); color: var(--needs-fg); }
.pill.bad { background: var(--launch-bg); color: var(--danger); }
.pill.ai { background: var(--ai-bg); color: var(--ai-fg); }
.btn-danger { background: transparent; color: var(--danger); border: 1px solid var(--border); }
.btn-xs { min-height: 30px; padding: 0 10px; font-size: 12px; }
.pager { display: flex; gap: 6px; align-items: center; justify-content: flex-end; padding: 12px 0; font-size: 13px; color: var(--muted); }
.form-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; }
.inline-form { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.inline-form .input, .inline-form .select { width: auto; padding: 8px 12px; font-size: 14px; }
dl.facts { display: grid; grid-template-columns: max-content 1fr; gap: 6px 16px; margin: 0; font-size: 14px; }
dl.facts dt { color: var(--muted); }
dl.facts dd { margin: 0; }
.log { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 12px; white-space: pre-wrap; word-break: break-word; background: var(--panel); border-radius: 12px; padding: 12px; max-height: 420px; overflow: auto; }
@media (max-width: 900px) {
  .admin-shell { flex-direction: column; }
  .admin-nav { position: static; height: auto; flex-basis: auto; flex-direction: row; flex-wrap: wrap; border-right: 0; border-bottom: 1px solid var(--border); }
  .admin-nav .sub { display: none; }
  .admin-main { padding: 16px; }
  .grid-2 { grid-template-columns: 1fr; }
}
.main:focus { outline: none; }


/* ═════════ Playful theme: colourful gradient world, floating feed sheet, Buzzy everywhere ═════════ */
:root {
  --bg-base: #FFF8EC;
  --bg-glow-1: #FFD04D; --bg-glow-2: #FFA8D2; --bg-glow-3: #8FCBFF; --bg-glow-4: #8FE6B8;
  --glass: rgba(255, 255, 255, .9);
  --glass-line: rgba(255, 255, 255, .9);
  --sheet-shadow: 0 10px 40px rgba(122, 74, 33, .12), 0 2px 8px rgba(122, 74, 33, .06);
}
[data-theme="dark"] {
  --bg-base: #120E18;
  --bg-glow-1: #4A3406; --bg-glow-2: #4A1340; --bg-glow-3: #0B3356; --bg-glow-4: #0B3D2A;
  --glass: rgba(22, 18, 28, .9);
  --glass-line: rgba(255, 255, 255, .06);
  --sheet-shadow: 0 10px 40px rgba(0, 0, 0, .45);
}
html.app {
  background:
    radial-gradient(1000px 700px at -5% -10%, var(--bg-glow-1), transparent 62%),
    radial-gradient(700px 500px at 50% 120%, var(--bg-glow-2), transparent 60%),
    radial-gradient(800px 600px at 105% -5%, var(--bg-glow-2), transparent 58%),
    radial-gradient(900px 700px at 105% 105%, var(--bg-glow-3), transparent 60%),
    radial-gradient(800px 700px at -5% 105%, var(--bg-glow-4), transparent 60%),
    var(--bg-base);
  background-attachment: fixed;
}
html.app body { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='98' viewBox='0 0 56 98'%3E%3Cpath d='M28 66L0 50V16L28 0l28 16v34L28 66zm0 32V66' fill='none' stroke='%23B8860B' stroke-opacity='.07' stroke-width='2'/%3E%3C/svg%3E"); }
h1, h2, h3, .page-title, .post-title, .tb-create, .tb-login, .btn, .nav-head { font-family: var(--head); }
.post-title { font-weight: 600; font-size: 18px; letter-spacing: .005em; }
.page-title { font-weight: 700; }

/* Glassy top bar */
.app .topbar { background: var(--glass); backdrop-filter: blur(16px) saturate(1.4); -webkit-backdrop-filter: blur(16px) saturate(1.4); border-bottom: 1px solid var(--glass-line); }
.app .tb-search { background: rgba(255, 255, 255, .85); border-color: rgba(122, 74, 33, .12); }
[data-theme="dark"].app .tb-search { background: rgba(255, 255, 255, .06); border-color: var(--border); }

/* Side columns sit on the gradient */
.app .leftnav { border-right: 0; }
.app .nav-item:hover { background: var(--glass); }
.app .nav-item.on { background: var(--page); box-shadow: 0 2px 10px rgba(122, 74, 33, .10); }
.app .rail-card, .app .promo-card { background: var(--glass); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border: 1px solid var(--glass-line); box-shadow: 0 4px 18px rgba(122, 74, 33, .07); }

/* The centre feed is a rounded sheet floating on the gradient */
.app .main { background: var(--page); border-right: 0; border-radius: 26px 26px 0 0; box-shadow: var(--sheet-shadow); margin-top: 14px; }
@media (min-width: 761px) { .app .main { height: calc(100% - 14px); } }
.app .tabs { border-radius: 26px 26px 0 0; }
.app .post { transition: background .15s; }
.app .post:hover { background: color-mix(in srgb, var(--honey) 5%, var(--page)); }

/* Bouncier buttons */
.btn { transition: transform .12s ease, box-shadow .12s ease, filter .12s; }
.btn:active { transform: scale(.97); }
.btn-honey { background: linear-gradient(180deg, #FFD84D, #FFB81A); box-shadow: 0 3px 0 #E09A0B, 0 6px 14px rgba(255, 176, 26, .35); }
.btn-honey:hover { transform: translateY(-1px); filter: none; box-shadow: 0 4px 0 #E09A0B, 0 10px 18px rgba(255, 176, 26, .4); }
.tb-login { background: linear-gradient(180deg, #FFD84D, #FFB81A); box-shadow: 0 3px 0 #E09A0B; }
.tb-create { background: var(--page); box-shadow: 0 2px 8px rgba(122, 74, 33, .12); }
.tab.on::after { background: linear-gradient(90deg, #FFB81A, #FF7AB6); height: 5px; }
.flair, .tag-team { border-radius: 999px; }

/* Buzzy, the mascot */
@keyframes buzzy-bob { 0%, 100% { transform: translateY(0) rotate(-1deg); } 50% { transform: translateY(-6px) rotate(1.5deg); } }
@keyframes buzzy-wiggle { 0%, 100% { transform: rotate(0); } 25% { transform: rotate(-6deg); } 75% { transform: rotate(6deg); } }
.buzzy { display: block; animation: buzzy-bob 3.2s ease-in-out infinite; transform-origin: 50% 90%; }
.buzzy:hover { animation: buzzy-wiggle .5s ease-in-out 2; }
@media (prefers-reduced-motion: reduce) { .buzzy, .buzzy:hover { animation: none; } }

.buzzy-hello { position: relative; display: flex; align-items: center; gap: 16px; margin: 14px 16px 4px; padding: 16px 18px; border-radius: 22px;
  background: linear-gradient(120deg, #FFF3C4 0%, #FFE0EE 55%, #DDF0FF 100%); color: #3A2410; overflow: hidden; }
[data-theme="dark"] .buzzy-hello { background: linear-gradient(120deg, #3A2C0A 0%, #3A1631 55%, #0F2C45 100%); color: #FFF3DC; }
.buzzy-hello .buzzy { flex: 0 0 132px; width: 132px; height: auto; }
.buzzy-hello h2 { font-size: 21px; font-weight: 700; margin-bottom: 4px; }
.buzzy-hello p { margin: 0 0 12px; font-size: 15px; opacity: .85; }
.buzzy-hello .x { position: absolute; top: 8px; right: 10px; width: 30px; height: 30px; border-radius: 999px; border: 0; background: rgba(255,255,255,.55); color: inherit; cursor: pointer; font-size: 18px; line-height: 1; }
[data-theme="dark"] .buzzy-hello .x { background: rgba(255,255,255,.1); }
.buzzy-hello[hidden] { display: none; }

.buzzy-tip { margin-top: 14px; padding: 12px 12px 0; text-align: center; }
.buzzy-tip .bubble { position: relative; display: block; padding: 10px 12px; border-radius: 16px; background: var(--page); box-shadow: 0 3px 12px rgba(122, 74, 33, .10); font-size: 13px; line-height: 1.4; color: var(--text2); text-align: left; }
.buzzy-tip .bubble::after { content: ''; position: absolute; left: 50%; bottom: -8px; width: 16px; height: 16px; background: var(--page); transform: translateX(-50%) rotate(45deg); border-radius: 3px; }
.buzzy-tip .bubble b { display: block; font-family: var(--head); font-size: 13px; color: var(--up); margin-bottom: 2px; }
.buzzy-tip .buzzy { width: 116px; margin: 10px auto 0; }
@media (max-height: 860px) { .buzzy-tip .buzzy { display: none; } .buzzy-tip { margin-top: 8px; } }

/* Empty states get Buzzy too */
.empty::before { content: ''; display: block; width: 150px; height: 108px; margin: 0 auto 14px; background: url(/assets/brand/icon.svg?v=2) center / contain no-repeat; animation: buzzy-bob 3.2s ease-in-out infinite; }
@media (prefers-reduced-motion: reduce) { .empty::before { animation: none; } }
.buzzy-page { text-align: center; align-items: center; }
.buzzy-page .buzzy { width: 240px; max-width: 70%; margin: 10px auto 0; }
.buzzy-say { display: inline-block; padding: 10px 16px; border-radius: 18px; background: linear-gradient(120deg, #FFF3C4, #FFE0EE); color: #3A2410; font-weight: 600; }
[data-theme="dark"] .buzzy-say { background: linear-gradient(120deg, #3A2C0A, #3A1631); color: #FFF3DC; }
.ask-helper { display: flex; align-items: center; gap: 12px; }
.ask-helper .buzzy { width: 96px; flex: none; }
.signin-buzzy .buzzy { width: 150px; }
@media (max-width: 760px) {
  .app .main { margin-top: 0; border-radius: 0; box-shadow: none; }
  .app .tabs { border-radius: 0; }
  .buzzy-hello .buzzy { flex-basis: 92px; width: 92px; }
  .buzzy-hello h2 { font-size: 18px; }
}

/* Buzzy reactions (replace up/down votes on posts) */
.react { position: relative; display: inline-flex; }
.react-btn { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 14px 0 6px; border-radius: 999px; border: 0; cursor: pointer;
  background: var(--chip); color: var(--text2); font-family: var(--head); font-weight: 600; font-size: 14px; transition: transform .12s, background .15s; }
.react-btn:hover { background: color-mix(in srgb, var(--honey) 22%, var(--chip)); transform: translateY(-1px); }
.react-btn .faces { display: inline-flex; }
.react-btn .faces img { width: 28px; height: 28px; margin-right: -9px; border-radius: 999px; background: var(--page); box-shadow: 0 0 0 2px var(--page); }
.react-btn .faces img:last-child { margin-right: 0; }
.react-btn.none .faces img { filter: grayscale(.25); opacity: .9; }
.react-btn .n { font-weight: 700; color: var(--text); }
.react-btn.on { background: linear-gradient(180deg, #FFE48A, #FFC63D); color: #3A2410; }
.react-btn.on .n { color: #3A2410; }
.react.busy { opacity: .6; pointer-events: none; }
.react.pop .react-btn .faces img:first-child { animation: react-pop .45s cubic-bezier(.3, 1.6, .5, 1); }
@keyframes react-pop { 0% { transform: scale(.4); } 70% { transform: scale(1.35); } 100% { transform: scale(1); } }
.react-pick { position: absolute; left: 0; bottom: calc(100% + 8px); z-index: 30; display: grid; grid-template-columns: repeat(4, 72px); gap: 2px; padding: 8px;
  background: var(--page); border: 1px solid var(--border); border-radius: 22px; box-shadow: 0 14px 34px rgba(0,0,0,.18); animation: pick-in .16s ease-out; }
.react-pick[hidden] { display: none; }
@keyframes pick-in { from { transform: translateY(6px) scale(.96); opacity: 0; } to { transform: none; opacity: 1; } }
.react-pick button { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 6px 2px; border: 0; border-radius: 14px; background: none; cursor: pointer; color: var(--muted); font-size: 11.5px; font-weight: 600; }
.react-pick button img { width: 48px; height: 48px; transition: transform .15s cubic-bezier(.3, 1.6, .5, 1); }
.react-pick button:hover, .react-pick button:focus-visible { background: var(--chip); color: var(--text); outline: none; }
.react-pick button:hover img, .react-pick button:focus-visible img { transform: scale(1.22) translateY(-4px); }
.react-pick button.on { background: color-mix(in srgb, var(--honey) 25%, var(--page)); color: var(--text); }
@media (prefers-reduced-motion: reduce) { .react-pick, .react.pop .react-btn .faces img:first-child, .react-pick button img { animation: none; transition: none; } }
@media (max-width: 760px) { .react-pick { grid-template-columns: repeat(4, 64px); } .react-btn .lbl { display: none; } .react-btn { padding-right: 12px; } }
.react-pick.down { bottom: auto; top: calc(100% + 8px); }

/* Post types, Buzzy the AI helper, Create menu */
.flair-share { background: #FFE3F1; color: #A3195B; }
[data-theme="dark"] .flair-share { background: rgba(236, 72, 153, .16); color: #F9A8D4; }
.tag-ai { font-size: 12px; font-weight: 700; padding: 2px 8px; border-radius: 999px; background: linear-gradient(90deg, #EDE4FF, #FFE9F4); color: #5B21B6; vertical-align: middle; }
[data-theme="dark"] .tag-ai { background: rgba(167, 139, 250, .18); color: #C4B5FD; }
.av-bot { background: linear-gradient(135deg, #FFF3C4, #FFD1E8); border-radius: 999px; }
.av-bot img { left: 0; top: 2%; width: 100%; height: 100%; }
.mention-buzzy { font-weight: 700; color: #7C3AED; background: #F1EAFF; padding: 0 4px; border-radius: 6px; }
[data-theme="dark"] .mention-buzzy { color: #C4B5FD; background: rgba(167, 139, 250, .16); }
.type-pick { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.type-pick .star { font-style: normal; font-size: 11px; font-weight: 700; padding: 1px 7px; margin-left: 4px; border-radius: 999px; background: var(--honey); color: var(--on-honey); vertical-align: middle; white-space: nowrap; }
.tb-create-menu > summary.tb-create { list-style: none; }
.tb-create-menu .tb-dropdown { width: 300px; }
.tb-create-menu .tb-dropdown a { align-items: flex-start; }
.tb-create-menu .tb-dropdown img { flex: none; margin-top: 1px; }
.tb-create-menu .tb-dropdown small { display: block; color: var(--muted); font-size: 13px; }
.tb-create-menu .tb-primary { background: color-mix(in srgb, var(--honey) 14%, var(--page)); }

/* Alignment and mobile fixes from the layout audit */
.buzzy-hello > div { min-width: 0; padding-right: 26px; }
.signin-buzzy + h1, .panel[style*="max-width:480px"], .panel[style*="max-width:560px"] { margin-left: auto; margin-right: auto; }
.panel[style*="max-width:480px"] { width: 100%; }
.nav-foot { padding-bottom: 8px; }
.hive-list .count, .hive-row .count { white-space: nowrap; }
.askbox-foot { justify-content: flex-end; }
.askbox-foot .ai-chip { margin-right: auto; }
@media (max-width: 760px) {
  .fab { display: none !important; }
  .main { padding-bottom: 76px; }
  .tab { flex: 1 0 auto; padding: 0 10px; font-size: 14px; min-height: 46px; gap: 9px; }
  .tab::after { width: 36px; }
  .type-pick { grid-template-columns: 1fr; }
  .buzzy-hello { margin: 10px 10px 4px; padding: 14px; gap: 10px; }
  .post, .qpost, .askbox { padding-left: 14px; padding-right: 14px; }
  .actions { flex-wrap: wrap; row-gap: 8px; }
  .tb-create-menu .tb-dropdown { width: min(300px, calc(100vw - 20px)); }
}

/* Logo: always clearly visible */
.tb-logo .logo-full { height: 42px; width: auto; }
@media (max-width: 760px) { .tb-logo .logo-full { height: 34px; } }
@media (max-width: 360px) { .tb-logo .logo-full { height: 30px; } }

/* Composer (Reddit / Peerlist style) */
.compose { display: flex; flex-direction: column; gap: 14px; padding: 18px; border: 1px solid var(--border); border-radius: 22px; background: var(--page); box-shadow: 0 4px 22px rgba(122, 74, 33, .07); }
.compose-head { display: flex; align-items: center; gap: 10px; }
.compose-head .who { display: flex; flex-direction: column; line-height: 1.25; min-width: 0; }
.compose-head .who small { color: var(--muted); font-size: 12.5px; }
.compose-head .who a { color: var(--link); }
.hive-auto { margin-left: auto; display: inline-flex; align-items: center; gap: 5px; padding: 5px 10px; border-radius: 999px; background: var(--ai-bg); color: var(--ai-fg); font-size: 12.5px; font-weight: 600; white-space: nowrap; }
.type-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.type-pills .pill { position: relative; cursor: pointer; }
.type-pills .pill input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.type-pills .pill span { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 999px; border: 1.5px solid var(--border); font-family: var(--head); font-weight: 600; font-size: 14.5px; color: var(--text2); transition: all .12s; }
.type-pills .pill:hover span { border-color: var(--honey); }
.type-pills .pill input:checked + span { background: linear-gradient(180deg, #FFE48A, #FFC63D); border-color: #F0B21E; color: #3A2410; box-shadow: 0 2px 0 #E09A0B; }
.type-pills .pill input:focus-visible + span { outline: 3px solid var(--honey); outline-offset: 2px; }
.type-pills .star { margin-left: 2px; }
.compose-title-wrap { position: relative; }
.compose-title { width: 100%; border: 0; outline: none; background: transparent; padding: 6px 56px 6px 0; font-family: var(--head); font-weight: 600; font-size: 24px; line-height: 1.25; color: var(--text); }
.compose-title::placeholder { color: color-mix(in srgb, var(--muted) 70%, transparent); }
.compose-title-wrap .count { position: absolute; right: 0; bottom: 8px; font-size: 12px; color: var(--muted); }
.compose-box { border: 1.5px solid var(--border); border-radius: 16px; overflow: hidden; transition: border-color .12s, box-shadow .12s; }
.compose-box:focus-within { border-color: var(--honey); box-shadow: 0 0 0 4px color-mix(in srgb, var(--honey) 20%, transparent); }
.compose-tools { display: flex; align-items: center; gap: 2px; padding: 6px 8px; background: var(--panel); border-bottom: 1px solid var(--border); }
.compose-tools button { display: inline-flex; align-items: center; justify-content: center; gap: 5px; min-width: 34px; height: 32px; padding: 0 8px; border: 0; border-radius: 9px; background: none; color: var(--text2); cursor: pointer; font-size: 15px; }
.compose-tools button:hover { background: var(--chip); color: var(--text); }
.compose-tools .sep { width: 1px; height: 20px; background: var(--border); margin: 0 6px; }
.compose-tools .tool-buzzy { font-family: var(--head); font-weight: 600; font-size: 13.5px; color: #6D28D9; background: var(--ai-bg); padding: 0 10px 0 4px; }
.compose-tools .tool-buzzy:hover, .compose-tools .tool-buzzy.on { background: color-mix(in srgb, #A78BFA 26%, var(--page)); color: #5B21B6; }
[data-theme="dark"] .compose-tools .tool-buzzy, [data-theme="dark"] .compose-tools .tool-buzzy:hover { color: #C4B5FD; }
.compose-body { display: block; width: 100%; min-height: 130px; border: 0; outline: none; resize: none; background: transparent; padding: 12px 14px; font-size: 16px; line-height: 1.55; color: var(--text); }
.compose-device { display: flex; align-items: center; gap: 8px; padding: 0 14px; border: 1.5px dashed var(--border); border-radius: 999px; }
.compose-device input { flex: 1; min-width: 0; border: 0; outline: none; background: transparent; padding: 10px 0; font-size: 14px; color: var(--text); }
.compose-device:focus-within { border-style: solid; border-color: var(--honey); }
.compose-foot { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.compose-foot .hint { margin-right: auto; font-size: 13px; color: var(--muted); }
.compose-tools.mini { padding: 0; background: none; border: 0; gap: 0; }
.compose-tools.mini button { min-width: 30px; height: 30px; font-size: 14px; }
@media (max-width: 760px) {
  .compose { padding: 14px; border-radius: 18px; }
  .compose-title { font-size: 20px; }
  .hive-auto { display: none; }
  .compose-foot .hint { flex-basis: 100%; }
  .compose-foot .btn-honey { flex: 1; }
}

/* Builder: list your app */
.fetch-box { display: flex; align-items: center; gap: 10px; padding: 8px 8px 8px 16px; border: 2px solid var(--honey); border-radius: 999px; background: var(--page); box-shadow: 0 6px 24px rgba(255, 176, 26, .18); }
.fetch-box input { flex: 1; min-width: 0; border: 0; outline: none; background: transparent; font-size: 16px; padding: 10px 0; color: var(--text); }
.fetch-box .btn { flex: none; }
.fetch-box .btn.loading { opacity: .85; cursor: progress; }
.fetch-note { margin: 0; font-size: 13.5px; color: var(--muted); line-height: 1.55; }
.sec-h { font-family: var(--head); font-size: 19px; margin-top: 8px; }
.my-apps { display: flex; flex-direction: column; gap: 10px; }
.my-app { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 1px solid var(--border); border-radius: 16px; background: var(--page); }
.my-app .t { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.my-app .t span { font-size: 13px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.status { font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 999px; white-space: nowrap; }
.status-live { background: var(--ok-bg); color: var(--ok-fg); }
.status-pending { background: var(--needs-bg); color: var(--needs-fg); }
.status-hidden { background: var(--chip); color: var(--muted); }
.app-icon-img { border-radius: 22%; object-fit: cover; flex: none; background: var(--chip); }
.app-head-edit { display: flex; gap: 16px; align-items: flex-start; }
.icon-pick { position: relative; flex: none; cursor: pointer; border-radius: 22%; }
.icon-pick img, .icon-pick .app-icon { width: 72px; height: 72px; border-radius: 22%; object-fit: cover; display: flex; }
.icon-pick > .icon-pick-label { position: absolute; left: 50%; bottom: -8px; transform: translateX(-50%); font-size: 11px; font-weight: 700; padding: 2px 8px; border-radius: 999px; background: var(--page); border: 1px solid var(--border); white-space: nowrap; }
.tagline-input { width: 100%; border: 0; outline: none; background: transparent; font-size: 16px; color: var(--text2); padding: 2px 0; }
.count-line { font-size: 12px; color: var(--muted); text-align: right; }
.refill-bar { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding: 10px 14px; border-radius: 14px; background: var(--ai-bg); color: var(--ai-fg); font-size: 13.5px; }
.refill-bar > span { flex: 1; min-width: 200px; }
.grid-2 { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 16px; align-items: start; }
.grid-2.inner { grid-template-columns: 1fr 120px; gap: 10px; }
.color-input { padding: 4px; height: 44px; cursor: pointer; }
.type-pills .pill input[type=checkbox] + span { font-size: 14px; padding: 7px 12px; }
.hive-pills { max-height: 168px; overflow-y: auto; padding: 2px; }
.hive-pills .pill span { font-family: var(--body); font-weight: 600; font-size: 13px; }
.shot-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.shot { position: relative; display: block; aspect-ratio: 16 / 10; border-radius: 14px; overflow: hidden; border: 1px solid var(--border); background: var(--panel); }
.shot img { width: 100%; height: 100%; object-fit: cover; display: block; }
.shot .rm { position: absolute; left: 6px; bottom: 6px; display: inline-flex; align-items: center; gap: 4px; padding: 3px 8px; border-radius: 999px; background: rgba(0,0,0,.6); color: #fff; font-size: 12px; cursor: pointer; }
.shot-add { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; border: 2px dashed var(--border); cursor: pointer; color: var(--muted); font-size: 13px; font-weight: 600; text-align: center; padding: 8px; }
.shot-add:hover { border-color: var(--honey); color: var(--text); }
.shot-add .plus { font-size: 26px; line-height: 1; }
.shot-preview { display: flex; gap: 8px; flex-wrap: wrap; }
.shot-preview img { height: 70px; border-radius: 10px; border: 2px solid var(--honey); }
.yt-preview iframe, .app-video iframe { width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: 16px; display: block; background: #000; }
.yt-preview { margin-top: 10px; }
.yt-preview[hidden] { display: none; }

/* Public app listing */
.app-page { display: flex; flex-direction: column; gap: 20px; padding: 18px 18px 40px; }
.app-hero { display: flex; gap: 18px; align-items: center; flex-wrap: wrap; padding: 20px; border-radius: 22px;
  background: linear-gradient(135deg, color-mix(in srgb, var(--brand) 18%, var(--page)), color-mix(in srgb, var(--brand) 6%, var(--page))); border: 1px solid color-mix(in srgb, var(--brand) 25%, var(--border)); }
.app-big-icon { width: 88px; height: 88px; border-radius: 22%; object-fit: cover; box-shadow: 0 6px 18px rgba(0,0,0,.12); }
.app-hero .app-icon { box-shadow: 0 6px 18px rgba(0,0,0,.12); }
.app-hero .t { flex: 1; min-width: 220px; }
.app-hero h1 { font-size: 30px; font-weight: 700; display: flex; align-items: center; gap: 8px; }
.app-hero p { margin: 4px 0 10px; font-size: 16px; color: var(--text2); }
.app-hero .chips { display: flex; gap: 6px; flex-wrap: wrap; }
.app-hero .price { background: var(--ok-bg); color: var(--ok-fg); }
.app-hero .cta { display: flex; flex-direction: column; gap: 8px; align-items: stretch; }
.app-shots { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; }
.app-shot { flex: 0 0 auto; width: min(78%, 420px); aspect-ratio: 16 / 10; border-radius: 16px; overflow: hidden; border: 1px solid var(--border); scroll-snap-align: start; background: var(--panel); }
.app-shot img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .25s; }
.app-shot:hover img { transform: scale(1.03); }
.app-sec h2 { font-size: 19px; margin-bottom: 8px; }
.fix-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 8px; }
.fix-list li { display: flex; gap: 8px; align-items: flex-start; padding: 10px 12px; border-radius: 12px; background: var(--ok-bg); color: var(--text); font-size: 14px; }
.fix-list li svg { color: var(--ok-fg); flex: none; margin-top: 2px; }
.app-meta { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; align-items: center; padding-top: 14px; border-top: 1px solid var(--border); }
.app-name-link:hover { text-decoration: underline; }
@media (max-width: 760px) {
  .fetch-box { flex-wrap: wrap; border-radius: 18px; padding: 10px; }
  .fetch-box .btn { width: 100%; }
  .grid-2, .grid-2.inner { grid-template-columns: 1fr; }
  .app-head-edit { gap: 12px; }
  .app-hero h1 { font-size: 24px; }
  .app-hero .cta { width: 100%; }
  .my-app { flex-wrap: wrap; }
}

/* App directory */
.dir { display: flex; flex-direction: column; gap: 22px; padding: 18px 18px 40px; }
.dir-hero { display: flex; gap: 16px; align-items: center; padding: 20px; border-radius: 22px; background: linear-gradient(135deg, #FFF3C4, #FFE0EC 55%, #E3E8FF); border: 1px solid var(--border); }
[data-theme="dark"] .dir-hero { background: linear-gradient(135deg, #3a2f12, #3a1f2c 55%, #1f2445); }
.dir-hero h1 { font-size: 30px; font-weight: 700; margin: 0 0 4px; }
.dir-hero p { margin: 0; color: var(--text2); font-size: 15.5px; line-height: 1.55; }
.dir-hero p a { color: var(--link); font-weight: 700; }
.cat-hero { background: linear-gradient(135deg, color-mix(in srgb, var(--cat) 22%, var(--page)), color-mix(in srgb, var(--cat) 6%, var(--page))); border-color: color-mix(in srgb, var(--cat) 30%, var(--border)); }
.cat-hero .dot { width: 64px; height: 64px; font-size: 28px; }
.dot, .cat-dot { flex: none; display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--cat); color: #fff; font-family: var(--head); font-weight: 700; font-size: 18px; }
.cat-dot { width: 36px; height: 36px; font-size: 16px; }
.cat-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 10px; }
.cat-tile { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 16px; background: var(--page); border: 1px solid var(--border); transition: transform .15s, box-shadow .15s, border-color .15s; height: 100%; }
.cat-tile:hover { transform: translateY(-2px); border-color: var(--cat); box-shadow: 0 8px 20px color-mix(in srgb, var(--cat) 22%, transparent); }
.cat-tile .t { display: flex; flex-direction: column; min-width: 0; }
.cat-tile b { font-size: 14.5px; line-height: 1.25; }
.cat-tile .t span { font-size: 12.5px; color: var(--muted); }
.dir-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 10px; }
.dir-card { display: flex; gap: 12px; align-items: flex-start; padding: 14px; border-radius: 18px; background: var(--page); border: 1px solid var(--border); transition: transform .15s, box-shadow .15s; }
.dir-card:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(0,0,0,.08); }
.dir-card .t { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.dir-card b { display: flex; align-items: center; gap: 5px; font-size: 15.5px; }
.dir-card .tl { font-size: 13.5px; color: var(--text2); line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.dir-card .meta { font-size: 12px; color: var(--muted); }
.tag-row { display: flex; gap: 8px; flex-wrap: wrap; }
.tag-chip { display: inline-flex; align-items: center; gap: 6px; padding: 7px 13px; border-radius: 999px; background: var(--page); border: 1px solid var(--border); font-size: 13.5px; font-weight: 600; color: var(--text); white-space: nowrap; }
.tag-chip span { font-size: 11.5px; color: var(--muted); font-weight: 700; }
.tag-chip:hover { border-color: var(--honey); }
.tag-chip.on { background: var(--ink, #1b1a17); color: #fff; border-color: transparent; }
.tag-chip.on span { color: rgba(255,255,255,.75); }
[data-theme="dark"] .tag-chip.on { background: var(--honey); color: #1b1a17; }
.dir-bar { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.seg { display: inline-flex; padding: 3px; border-radius: 999px; background: var(--chip); }
.seg a { padding: 6px 14px; border-radius: 999px; font-size: 13.5px; font-weight: 700; color: var(--muted); }
.seg a.on { background: var(--page); color: var(--text); box-shadow: 0 1px 3px rgba(0,0,0,.1); }
.pager { display: flex; justify-content: center; gap: 10px; }
.crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; font-size: 13px; color: var(--muted); }
.crumbs li + li::before { content: "›"; margin-right: 6px; }
.crumbs a { color: var(--link); font-weight: 600; }
.dir-cta { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; padding: 16px 18px; border-radius: 18px; background: var(--ai-bg); color: var(--ai-fg); }
.dir-cta div { display: flex; flex-direction: column; gap: 2px; flex: 1; min-width: 220px; }
.dir-empty { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.cat-chip { background: color-mix(in srgb, var(--cat) 16%, var(--page)); color: var(--text); font-weight: 700; border: 1px solid color-mix(in srgb, var(--cat) 35%, transparent); }
.foot-link { display: inline-block; margin-top: 10px; color: var(--link); font-weight: 700; font-size: 14px; }
.search-apps { padding: 4px 0 12px; }
.tag-pills .pill.maxed { opacity: .45; }
.tag-pills[hidden], [data-tags-empty][hidden] { display: none; }
.cat-pick-row { grid-template-columns: minmax(0, 1fr); max-width: 420px; }
@media (max-width: 760px) {
  .dir { padding: 12px 12px 32px; gap: 18px; }
  .dir-hero { padding: 16px; align-items: flex-start; }
  .dir-hero h1 { font-size: 24px; }
  .dir-hero img { width: 56px; height: auto; }
  .cat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cat-tile { padding: 10px; gap: 10px; }
  .dot { width: 34px; height: 34px; font-size: 15px; }
  .cat-hero .dot { width: 48px; height: 48px; font-size: 22px; }
  .dir-grid { grid-template-columns: 1fr; }
  .tag-row { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin: 0 -12px; padding: 0 12px 2px; }
  .tag-row::-webkit-scrollbar { display: none; }
}

/* Directory: toolbar, featured cards, endless grid */
.dir-hero .grow { flex: 1; min-width: 0; }
.hero-cta { flex: none; display: inline-flex; align-items: center; gap: 6px; }
.dir-tools { display: flex; flex-direction: column; gap: 10px; padding: 12px; border-radius: 20px; background: var(--page); border: 1px solid var(--border); box-shadow: 0 6px 20px rgba(0,0,0,.04); }
.dir-search { display: flex; align-items: center; gap: 10px; padding: 0 14px; border-radius: 999px; border: 2px solid var(--border); background: var(--panel); color: var(--muted); transition: border-color .15s; }
.dir-search:focus-within { border-color: var(--honey); background: var(--page); }
.dir-search input { flex: 1; min-width: 0; border: 0; outline: none; background: transparent; padding: 11px 0; font-size: 15.5px; color: var(--text); }
.dir-selects { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.dir-selects label { flex: 1 1 150px; min-width: 0; }
.dir-selects select { width: 100%; appearance: none; -webkit-appearance: none; padding: 9px 34px 9px 14px; border-radius: 999px; border: 1px solid var(--border); font: inherit; font-size: 14px; font-weight: 600; color: var(--text); cursor: pointer;
  background: var(--panel) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23888' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 12px center; }
.dir-selects select:hover { border-color: var(--honey); }
.js .no-js-only { display: none; }
.clear-link { font-size: 13.5px; font-weight: 700; color: var(--link); }
.dir-card { position: relative; }
.dir-card.is-featured { border: 2px solid var(--honey); background: linear-gradient(160deg, color-mix(in srgb, var(--honey) 14%, var(--page)), var(--page) 60%); }
.feat-badge { position: absolute; top: -9px; right: 12px; display: inline-flex; align-items: center; gap: 4px; padding: 2px 9px; border-radius: 999px; background: var(--honey); color: #1b1a17; font-size: 11px; font-weight: 800; letter-spacing: .02em; }
.cat-mini { display: inline-block; margin-right: 6px; padding: 1px 7px; border-radius: 999px; background: var(--chip); color: var(--text2); font-weight: 700; font-size: 11px; }
.dir-grid { grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); }
.dir-more { display: flex; justify-content: center; padding: 6px 0 10px; }
@media (max-width: 760px) {
  .dir-hero { flex-wrap: wrap; }
  .hero-cta { width: 100%; justify-content: center; }
  .dir-selects label { flex: 1 1 calc(50% - 4px); }
  .dir-tools { padding: 10px; border-radius: 18px; }
}

/* Composer: Reddit / Peerlist style */
.create-h { font-size: 24px; font-weight: 700; margin: 2px 0 4px; }
.hive-select { margin-left: auto; position: relative; display: inline-flex; align-items: center; gap: 6px; padding: 0 30px 0 12px; height: 38px; border-radius: 999px; border: 1px solid var(--border); background: var(--panel); color: var(--text2); max-width: 260px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23888' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; }
.hive-select:hover { border-color: var(--honey); }
.hive-select select { appearance: none; -webkit-appearance: none; border: 0; background: transparent; font: inherit; font-size: 14px; font-weight: 700; color: var(--text); outline: none; cursor: pointer; min-width: 0; max-width: 200px; text-overflow: ellipsis; }
.type-tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--border); grid-template-columns: none; }
.tab-opt { position: relative; cursor: pointer; }
.tab-opt input { position: absolute; opacity: 0; pointer-events: none; }
.tab-opt span { display: inline-flex; align-items: center; gap: 7px; padding: 10px 14px 12px; font-weight: 700; font-size: 14.5px; color: var(--muted); border-bottom: 3px solid transparent; margin-bottom: -1px; transition: color .12s, border-color .12s; }
.tab-opt:hover span { color: var(--text); }
.tab-opt input:checked + span { color: var(--text); border-bottom-color: var(--honey); }
.tab-opt input:focus-visible + span { outline: 2px solid var(--honey); outline-offset: 2px; border-radius: 8px; }
.compose-title { font-size: 21px; padding: 10px 60px 10px 14px; border: 1.5px solid var(--border); border-radius: 14px; background: var(--page); transition: border-color .12s, box-shadow .12s; }
.compose-title:focus { border-color: var(--honey); box-shadow: 0 0 0 4px color-mix(in srgb, var(--honey) 20%, transparent); }
.compose-title-wrap .count { right: 14px; bottom: 50%; transform: translateY(50%); }
.compose-device[hidden] { display: none; }
.compose-device { display: flex; align-items: center; gap: 8px; padding: 0 14px; border-radius: 12px; border: 1px solid var(--border); background: var(--page); color: var(--muted); max-width: 360px; }
.compose-device input { flex: 1; border: 0; outline: none; background: transparent; padding: 9px 0; font: inherit; font-size: 14px; color: var(--text); }
.compose-foot .grow { flex: 1; }
@media (max-width: 760px) {
  .compose-head { flex-wrap: wrap; }
  .hive-select { margin-left: 0; width: 100%; max-width: none; }
  .hive-select select { max-width: none; flex: 1; }
  .tab-opt span { padding: 10px 10px 12px; font-size: 14px; }
  .compose-device { max-width: none; }
}

/* Post page: one clear reading path */
.qpost { gap: 12px; padding: 18px 20px 14px; }
.qp-head { display: flex; align-items: center; gap: 10px; }
.qp-hive-icon { flex: none; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-weight: 800; font-family: var(--head); font-size: 15px; }
.qp-who { flex: 1; min-width: 0; line-height: 1.3; }
.qp-line1 { display: flex; align-items: center; gap: 6px; font-size: 13.5px; }
.qp-hive { font-weight: 800; color: var(--text); }
.qp-hive:hover { text-decoration: underline; }
.dot-sep { color: var(--muted); font-size: 10px; }
.qp-line2 { font-size: 13px; color: var(--muted); display: flex; align-items: center; gap: 6px; }
.qpost h1 { font-size: 26px; line-height: 1.2; letter-spacing: -0.01em; margin: 2px 0 0; }
.qp-tags { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; }
.qp-tag { font-size: 12px; font-weight: 600; padding: 3px 9px; border-radius: 999px; background: var(--chip); color: var(--text2); }
.qp-body { font-size: 16px; line-height: 1.6; color: var(--text); }
.qpost .actions { padding-top: 2px; }
.qp-views { font-size: 13px; }
.composer-slim { padding: 12px 20px; }
.composer-box-slim { display: flex; flex-direction: column; gap: 0; min-width: 0; border: 1.5px solid var(--border); border-radius: 22px; padding: 4px 16px; background: var(--panel); transition: border-color .15s, background .15s, border-radius .15s; }
.composer-box-slim textarea { font-size: 15px; min-height: 0; padding: 8px 0; resize: none; }
.composer-box-slim .composer-foot { display: none; border-top: 0; padding: 4px 0 8px; }
.composer-box-slim:focus-within, .composer-box-slim:has(textarea:not(:placeholder-shown)) { border-color: var(--honey); background: var(--page); border-radius: 16px; }
.composer-box-slim:focus-within textarea, .composer-box-slim:has(textarea:not(:placeholder-shown)) textarea { min-height: 90px; resize: vertical; }
.composer-box-slim:focus-within .composer-foot, .composer-box-slim:has(textarea:not(:placeholder-shown)) .composer-foot { display: flex; }
.composer-signin { display: block; width: 100%; padding: 11px 16px; border-radius: 22px; border: 1.5px solid var(--border); background: var(--panel); color: var(--muted); font-size: 15px; }
.composer-signin:hover { border-color: var(--honey); color: var(--text); }
.answers { padding: 4px 20px 40px; }
.sort { gap: 6px; font-size: 14px; padding: 12px 0 6px; }
.sort b { color: var(--text); }
.answers-empty { color: var(--muted); font-size: 14.5px; padding: 18px 0; margin: 0; }
.answer.is-accepted { background: color-mix(in srgb, var(--ok-bg) 70%, transparent); border-radius: 16px; padding: 12px; margin: 8px -12px; }
/* Sidebar: single About card */
.about-hive { padding: 16px; display: flex; flex-direction: column; gap: 12px; }
.ah-top { display: flex; gap: 10px; align-items: center; }
.ah-top > div { display: flex; flex-direction: column; line-height: 1.3; font-size: 13px; }
.ah-icon { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--hc); color: #fff; font-weight: 800; font-family: var(--head); font-size: 17px; flex: none; }
.ah-name { font-weight: 800; font-size: 15px; color: var(--text); }
.ah-desc { margin: 0; font-size: 14px; color: var(--text2); line-height: 1.5; }
.btn-block { width: 100%; justify-content: center; }
.ah-joined { display: inline-flex; align-items: center; gap: 6px; font-size: 13.5px; font-weight: 700; color: var(--ok-fg); }
.ah-rules { border-top: 1px solid var(--border); padding-top: 10px; font-size: 13.5px; }
.ah-rules summary { cursor: pointer; font-weight: 700; color: var(--muted); font-size: 12.5px; text-transform: uppercase; letter-spacing: .04em; }
.ah-rules ol { margin: 8px 0 0; padding-left: 18px; display: flex; flex-direction: column; gap: 4px; color: var(--text2); }
@media (max-width: 760px) {
  .qpost { padding: 14px 14px 10px; }
  .qpost h1 { font-size: 22px; }
  .composer-slim { padding: 10px 14px; }
  .answers { padding: 4px 14px 32px; }
  .answer.is-accepted { margin: 8px -8px; padding: 10px 8px; }
}
/* Native dropdown lists follow the theme (dark mode showed a white list with unreadable names) */
:root { color-scheme: light; }
:root[data-theme="dark"] { color-scheme: dark; }
select option, select optgroup { background-color: var(--page); color: var(--text); }
select optgroup { font-weight: 700; color: var(--muted); }

/* Composer: media + links */
.tool-file { display: inline-flex; align-items: center; gap: 5px; height: 32px; padding: 0 9px; border-radius: 9px; color: var(--text2); cursor: pointer; font-size: 13.5px; font-weight: 700; position: relative; }
.tool-file:hover { background: var(--chip); color: var(--text); }
.tool-file:focus-within { outline: 2px solid var(--honey); }
.compose-tools { flex-wrap: wrap; }
.link-pop { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; padding: 10px 12px; border-top: 1px solid var(--border); background: var(--panel); }
.link-pop[hidden] { display: none; }
.link-pop input { flex: 1 1 180px; min-width: 0; border: 1px solid var(--border); border-radius: 10px; padding: 8px 10px; background: var(--page); color: var(--text); font: inherit; font-size: 14px; outline: none; }
.link-pop input:focus { border-color: var(--honey); }
.link-pop.bad [data-link-url] { border-color: #e5484d; }
.media-tray { display: flex; gap: 10px; flex-wrap: wrap; padding: 10px 12px 12px; border-top: 1px solid var(--border); }
.media-tray[hidden] { display: none; }
.media-note { flex-basis: 100%; margin: 0; font-size: 13px; color: #e5484d; font-weight: 600; }
.media-item { position: relative; width: 108px; height: 108px; border-radius: 12px; overflow: hidden; background: var(--chip); border: 1px solid var(--border); }
.media-item.is-video { width: 180px; }
.media-item img, .media-item video { width: 100%; height: 100%; object-fit: cover; display: block; }
.media-size { position: absolute; left: 6px; bottom: 6px; padding: 1px 7px; border-radius: 999px; background: rgba(0,0,0,.65); color: #fff; font-size: 11px; font-weight: 700; }
.media-x { position: absolute; top: 5px; right: 5px; width: 26px; height: 26px; border-radius: 50%; border: 0; background: rgba(0,0,0,.7); color: #fff; font-size: 18px; line-height: 1; cursor: pointer; }
.media-x:hover { background: #e5484d; }
.upload-bar { position: relative; height: 30px; border-radius: 999px; background: var(--chip); overflow: hidden; }
.upload-bar[hidden] { display: none; }
.upload-bar span { position: absolute; inset: 0 auto 0 0; width: 0; background: var(--honey); transition: width .2s; }
.upload-bar em { position: relative; display: block; text-align: center; line-height: 30px; font-style: normal; font-size: 13px; font-weight: 700; color: var(--text); }
/* Media in posts */
.pm-card { position: relative; margin-top: 4px; border-radius: 16px; overflow: hidden; border: 1px solid var(--border); background: #000; max-height: 460px; display: flex; justify-content: center; }
.pm-card img { width: 100%; max-height: 460px; object-fit: contain; display: block; background: var(--panel); }
.pm-card video { width: 100%; max-height: 460px; display: block; }
.pm-count { position: absolute; right: 10px; top: 10px; display: inline-flex; align-items: center; gap: 4px; padding: 2px 9px; border-radius: 999px; background: rgba(0,0,0,.65); color: #fff; font-size: 12px; font-weight: 700; }
.pm-full { display: flex; flex-direction: column; gap: 10px; }
.pm-full video { width: 100%; max-height: 560px; border-radius: 16px; background: #000; }
.pm-grid { display: grid; gap: 6px; border-radius: 16px; overflow: hidden; }
.pm-grid.pm-n1 { grid-template-columns: 1fr; }
.pm-grid.pm-n2, .pm-grid.pm-n4 { grid-template-columns: 1fr 1fr; }
.pm-grid.pm-n3 { grid-template-columns: 2fr 1fr; }
.pm-grid.pm-n3 a:first-child { grid-row: span 2; }
.pm-grid a { display: block; background: var(--panel); }
.pm-grid img { width: 100%; height: 100%; max-height: 560px; object-fit: cover; display: block; }
.pm-grid.pm-n1 img { object-fit: contain; height: auto; }
.pm-grid:not(.pm-n1) img { aspect-ratio: 4 / 3; }
@media (max-width: 760px) {
  .tool-file span { display: none; }
  .media-item { width: 88px; height: 88px; }
  .media-item.is-video { width: 140px; }
}

/* Home: one way to post (Reddit-style create bar) */
.create-bar { display: flex; align-items: center; gap: 10px; padding: 12px 18px; border-bottom: 1px solid var(--border); }
.create-bar-input { flex: 1; min-width: 0; padding: 10px 16px; border-radius: 999px; border: 1.5px solid var(--border); background: var(--panel); color: var(--muted); font-size: 15px; transition: border-color .15s, background .15s; }
.create-bar-input:hover { border-color: var(--honey); background: var(--page); color: var(--text); }
.create-bar-icon { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; color: var(--muted); }
.create-bar-icon:hover { background: var(--chip); color: var(--text); }
@media (max-width: 760px) { .create-bar { padding: 10px 14px; } }

/* App directory, macbase-inspired */
.mb { display: flex; flex-direction: column; gap: 26px; padding: 18px 20px 44px; }
.mb-hero { text-align: center; padding: 34px 10px 10px; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.mb-hero h1 { font-family: var(--head); font-size: 46px; line-height: 1.02; letter-spacing: -0.03em; margin: 0; }
.mb-hero h1 span { background: linear-gradient(90deg, var(--honey), #ff7a59 60%, #c86bfa); -webkit-background-clip: text; background-clip: text; color: transparent; }
.mb-hero p { margin: 0; max-width: 460px; color: var(--text2); font-size: 16px; line-height: 1.55; }
.mb-strip { display: flex; justify-content: center; }
.mb-strip > * { margin-left: -8px; border: 2px solid var(--page); border-radius: 12px; box-shadow: 0 2px 8px rgba(0,0,0,.15); }
.mb-strip > *:first-child { margin-left: 0; }
.mb-hero-cta { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }
.mb-hero-cta .btn { display: inline-flex; align-items: center; gap: 7px; }
.mb-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 14px; flex-wrap: wrap; }
.mb-head h1 { font-family: var(--head); font-size: 30px; margin: 0 0 4px; letter-spacing: -0.02em; }
.mb-head p { margin: 0; color: var(--text2); font-size: 15px; max-width: 520px; }
.mb-h2 { font-family: var(--head); font-size: 22px; letter-spacing: -0.01em; margin: 0 0 12px; }
.mb-features { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 14px; }
.mb-feature { display: flex; flex-direction: column; gap: 10px; }
.mb-shot { display: block; aspect-ratio: 16 / 10; border-radius: 16px; overflow: hidden; border: 1px solid var(--border); background: linear-gradient(140deg, color-mix(in srgb, var(--brand) 30%, var(--page)), color-mix(in srgb, var(--brand) 8%, var(--page))); transition: transform .2s, box-shadow .2s; }
.mb-feature:hover .mb-shot { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(0,0,0,.18); }
.mb-shot img { width: 100%; height: 100%; object-fit: cover; display: block; }
.mb-shot-fallback { height: 100%; display: flex; flex-direction: column; justify-content: center; gap: 12px; padding: 22px; }
.mb-shot-fallback b { font-family: var(--head); font-size: 19px; line-height: 1.2; color: var(--text); max-width: 85%; }
.mb-feature-foot { display: flex; gap: 10px; align-items: flex-start; }
.mb-feature-foot .t { display: flex; flex-direction: column; min-width: 0; }
.mb-feature-foot b { font-size: 15.5px; display: inline-flex; align-items: center; gap: 5px; }
.mb-feature-foot .t > span { font-size: 13.5px; color: var(--text2); line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.feat-dot { display: inline-grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; background: var(--honey); color: #1b1a17; }
.mb-list-head p { margin: -8px 0 0; font-size: 14px; }
.mb-chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 2px 0; }
.mb-chips::-webkit-scrollbar { display: none; }
.mb-chip { flex: none; padding: 7px 14px; border-radius: 999px; background: var(--chip); color: var(--text2); font-size: 13.5px; font-weight: 700; white-space: nowrap; border: 1px solid transparent; }
.mb-chip:hover { color: var(--text); border-color: var(--border); }
.mb-chip.on { background: var(--text); color: var(--page); }
.mb-chip.sm { padding: 5px 11px; font-size: 12.5px; }
.mb-chip em { font-style: normal; opacity: .6; margin-left: 2px; }
.mb-tags { margin-top: -4px; }
.mb-tools { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin: 12px 0 14px; }
.mb-search { flex: 1 1 140px; display: flex; align-items: center; gap: 8px; padding: 0 14px; height: 40px; border-radius: 999px; border: 1.5px solid var(--border); background: var(--panel); color: var(--muted); }
.mb-search:focus-within { border-color: var(--honey); background: var(--page); }
.mb-search input { flex: 1; min-width: 0; border: 0; outline: none; background: transparent; font: inherit; font-size: 15px; color: var(--text); }
.mb-tools label:not(.mb-search) { flex: none; }
.mb-tools select { appearance: none; -webkit-appearance: none; height: 40px; padding: 0 30px 0 12px; border-radius: 999px; border: 1px solid var(--border); font: inherit; font-size: 13.5px; font-weight: 700; color: var(--text); cursor: pointer;
  background: var(--panel) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23888' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 12px center; }
.mb-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.mb-card { display: flex; gap: 14px; align-items: flex-start; padding: 16px; border-radius: 16px; background: var(--panel); border: 1px solid var(--border); transition: border-color .15s, transform .15s, background .15s; min-height: 108px; }
.mb-card:hover { border-color: color-mix(in srgb, var(--honey) 60%, var(--border)); background: var(--page); transform: translateY(-1px); }
.mb-card .app-icon, .mb-card .app-icon-img { border-radius: 24%; }
.mb-card .t { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.mb-card b { display: inline-flex; align-items: center; gap: 5px; font-size: 15.5px; }
.mb-card .tl { font-size: 14px; color: var(--text2); line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.mb-card .meta { font-size: 12.5px; color: var(--muted); }
.mb-empty { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 30px 10px; border: 1.5px dashed var(--border); border-radius: 18px; }
.mb-empty p { margin: 0; color: var(--text2); }
/* Sidebar for apps */
.mb-promo { position: relative; overflow: hidden; padding: 16px 16px 18px; background: linear-gradient(140deg, #ffd36b, #ffb21a); color: #1b1a17; display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.mb-promo h2 { padding: 0; color: #1b1a17; }
.mb-promo p { margin: 0; font-size: 13.5px; line-height: 1.5; max-width: 78%; }
.mb-promo .btn { background: #1b1a17; color: #fff; box-shadow: none; }
.mb-promo-buzzy { position: absolute; right: -10px; bottom: -6px; width: 84px; opacity: .95; transform: rotate(-8deg); }
.mb-side { padding-bottom: 10px; }
.mb-side-h { display: flex; justify-content: space-between; align-items: baseline; padding-right: 16px; }
.mb-side-h a { font-size: 13px; font-weight: 700; color: var(--link); }
.mb-side .rail-row .t span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mb-info { padding: 0 16px 16px; }
.mb-info h2 { padding-left: 0; }
.mb-info dl { margin: 0; display: flex; flex-direction: column; }
.mb-info dl > div { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--border); font-size: 14px; }
.mb-info dl > div:last-child { border-bottom: 0; }
.mb-info dt { color: var(--muted); }
.mb-info dd { margin: 0; text-align: right; font-weight: 600; display: inline-flex; align-items: center; gap: 4px; justify-content: flex-end; }
.mb-info dd a { color: var(--link); }
.mb-info-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.mb-app-hero { background: transparent; border: 0; padding: 6px 0 0; }
.mb-app-hero .app-big-icon, .mb-app-hero .app-icon { border-radius: 24%; }
.mb-meta { font-size: 14px; color: var(--muted); margin-top: 2px; }
@media (max-width: 760px) {
  .mb { padding: 12px 12px 32px; gap: 22px; }
  .mb-hero { padding: 18px 4px 4px; }
  .mb-hero h1 { font-size: 34px; }
  .mb-features { grid-template-columns: 1fr; }
  .mb-grid { grid-template-columns: 1fr; }
  .mb-tools label:not(.mb-search) { flex: 1 1 calc(33% - 8px); }
  .mb-tools select { width: 100%; }
}
.app .rail-card.mb-promo { background: linear-gradient(140deg, #ffd36b, #ffb21a); border-color: transparent; color: #1b1a17; }
.app .rail-card.mb-promo h2, .app .rail-card.mb-promo p { color: #1b1a17; }

/* Deals */
.deal-guide { border: 1.5px dashed color-mix(in srgb, var(--honey) 70%, var(--border)); background: color-mix(in srgb, var(--honey) 9%, var(--page)); border-radius: 16px; padding: 12px 16px 14px; display: flex; flex-direction: column; gap: 8px; }
.deal-guide[hidden] { display: none; }
.dg-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
.deal-guide h2 { font-size: 16px; display: inline-flex; align-items: center; gap: 7px; margin: 0; }
.deal-guide ol { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 4px; font-size: 14px; line-height: 1.45; color: var(--text2); }
.deal-guide ol b { color: var(--text); }
.dg-maker { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; flex-wrap: wrap; }
.dg-maker input { width: 18px; height: 18px; accent-color: var(--honey); margin: 0; }
.deal-banner { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin: 12px 18px 4px; padding: 14px 16px; border-radius: 16px; background: color-mix(in srgb, var(--honey) 14%, var(--page)); border: 1px solid color-mix(in srgb, var(--honey) 40%, var(--border)); }
.deal-banner div { display: flex; flex-direction: column; gap: 2px; flex: 1; min-width: 220px; font-size: 14px; }
.deal-banner span { color: var(--text2); line-height: 1.45; }
.deal-banner .btn { display: inline-flex; align-items: center; gap: 6px; }

/* Admin review queue */
.q-jump { display: flex; gap: 8px; flex-wrap: wrap; margin: 0 0 16px; }
.q-jump a { display: inline-flex; gap: 6px; align-items: center; padding: 6px 12px; border-radius: 999px; background: var(--panel); border: 1px solid var(--border); font-size: 13.5px; font-weight: 600; }
.q-jump a b { min-width: 20px; padding: 0 6px; border-radius: 999px; background: var(--chip); text-align: center; font-size: 12px; }
.q-card { display: flex; flex-direction: column; gap: 8px; }
.q-text { white-space: pre-line; font-size: 14.5px; max-height: 220px; overflow: auto; padding: 10px 12px; border-radius: 10px; background: var(--chip); }
.q-why { font-size: 13.5px; color: var(--text2); }
.admin-main section[id] { scroll-margin-top: 16px; }
@media (max-width: 760px) {
  .admin-nav { flex-wrap: nowrap; overflow-x: auto; gap: 4px; padding: 8px 10px; position: sticky; top: 0; z-index: 20; scrollbar-width: none; }
  .admin-nav::-webkit-scrollbar { display: none; }
  .admin-nav .sub, .admin-nav > span.muted { display: none; }
  .admin-nav .item { flex: none; white-space: nowrap; padding: 7px 11px; border-radius: 999px; }
  .admin-nav .logo { flex: none; margin-right: 4px; }
  .q-jump { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
  .q-jump a { flex: none; }
}
