/* Knox Safehouse — "the survivors' map table": night slate, a topographic map under the glass,
   emergency amber for the one thing to do, radio green when the server is on the air. */
:root {
  --night: #0f1418;
  --slate: #161c21;
  --surface: #1e262c;
  --surface-2: #28323a;
  --line: rgba(236, 230, 214, 0.12);
  --line-strong: rgba(236, 230, 214, 0.24);
  --paper: #ece6d6;
  --muted: #aaa493;
  --amber: #f2a93b;
  --amber-edge: #ffc46a;
  --on-amber: #1b1406;
  --green: #79d18f;
  --ink: #9cc3e4;
  --topo: rgba(236, 230, 214, 0.075);
  --f-title: "Bahnschrift", "DIN Alternate", "Arial Narrow", "Segoe UI", system-ui, sans-serif;
  --f-body: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --f-mono: "Cascadia Mono", Consolas, "SFMono-Regular", Menlo, monospace;
  --r-s: 4px;
  --r-m: 8px;
  --r-l: 14px;
  --wrap: 1180px;
  color-scheme: dark;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
.signed-out .meta-line { margin-top: 12px; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--slate);
  color: var(--paper);
  font: 16px/1.6 var(--f-body);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--ink); text-underline-offset: 3px; }
a:hover { color: var(--paper); }
:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; border-radius: var(--r-s); }
h1, h2, h3 { font-family: var(--f-title); font-weight: 600; line-height: 1.15; margin: 0; letter-spacing: 0.005em; }
h1 { font-size: clamp(2.3rem, 4.6vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); }
h3 { font-size: 1.15rem; }
p { margin: 0; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 820px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--amber); color: var(--on-amber); padding: 8px 14px; z-index: 50; }
.skip:focus { left: 8px; }

/* ---------- header ---------- */
.top {
  position: sticky; top: 0; z-index: 20;
  background: rgba(17, 22, 26, 0.86);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.top-row { display: flex; align-items: center; gap: 24px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--paper); text-decoration: none; font-family: var(--f-title); font-weight: 600; font-size: 1.1rem; }
.nav { display: flex; gap: 20px; margin-left: auto; }
.nav a { color: var(--muted); text-decoration: none; font-size: 0.95rem; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--paper); }
.nav a[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--amber); text-underline-offset: 6px; }
.top-actions { display: flex; align-items: center; gap: 12px; }
.lang { display: flex; border: 1px solid var(--line-strong); border-radius: var(--r-m); overflow: hidden; }
.lang button { background: none; border: 0; color: var(--muted); font: 600 0.8rem var(--f-title); padding: 6px 10px; cursor: pointer; }
.lang button[aria-pressed="true"] { background: var(--surface-2); color: var(--paper); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font: 600 1rem var(--f-title); letter-spacing: 0.01em;
  padding: 13px 22px; border-radius: var(--r-m);
  text-decoration: none; border: 1px solid transparent; cursor: pointer;
  transition: background-color 0.15s, border-color 0.15s, transform 0.15s;
}
.btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.btn-primary { background: var(--amber); color: var(--on-amber); }
.btn-primary:hover { background: var(--amber-edge); color: var(--on-amber); }
.btn-primary:active { transform: translateY(1px); }
.btn-ghost { color: var(--paper); border-color: var(--line-strong); background: rgba(30, 38, 44, 0.6); }
.btn-ghost:hover { border-color: var(--paper); color: var(--paper); }
.btn-small { padding: 8px 14px; font-size: 0.9rem; }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; padding: 72px 0 132px; background: var(--night); border-bottom: 1px solid var(--line); }
.topo { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 56px; align-items: center; }
.hero-copy { display: flex; flex-direction: column; gap: 24px; }
.lead { font-size: 1.15rem; color: #d6d0c0; max-width: 34em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.meta { color: var(--muted); font-size: 0.92rem; }

/* The app window: floats and leans while idle; on hover it faces you and plays the tour. */
.stage { perspective: 1400px; }
.device {
  position: relative;
  border-radius: var(--r-l);
  background: var(--slate);
  border: 1px solid var(--line-strong);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.35), 0 30px 80px rgba(0, 0, 0, 0.55);
  overflow: hidden;
  transform-style: preserve-3d;
  animation: drift 7s ease-in-out infinite;
  transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
  cursor: zoom-in;
}
@keyframes drift {
  0%, 100% { transform: rotateY(-11deg) rotateX(4deg) translateY(-8px); }
  50% { transform: rotateY(-6deg) rotateX(2deg) translateY(10px); }
}
/* Facing you, no 3D and no scaling while the tour plays: the HiDPI screenshots stay sharp. */
.device.touring { animation: none; transform: none; cursor: default; }
.device-bar { display: flex; align-items: center; gap: 8px; height: 32px; padding: 0 12px; background: #11161a; border-bottom: 1px solid var(--line); font: 0.75rem var(--f-body); color: var(--muted); }
.device-bar span { flex: 1; }
.device-bar i { width: 10px; height: 10px; border-radius: 50%; border: 1px solid var(--line-strong); }
.device-screen { position: relative; aspect-ratio: 16 / 10; }

/* live mock of Início */
.live { position: absolute; inset: 0; display: grid; grid-template-columns: 26% 1fr; font-size: clamp(9px, 1.05vw, 13px); transition: opacity 0.4s; }
.m-side { background: #11161a; border-right: 1px solid var(--line); padding: 0.9em 0.7em; display: flex; flex-direction: column; gap: 0; overflow: hidden; }
.m-logo { display: flex; align-items: center; gap: 0.5em; margin-bottom: 0.7em; white-space: nowrap; font: 600 0.95em var(--f-title); letter-spacing: 0.04em; }
.m-side span { padding: 0.32em 0.7em; border-radius: var(--r-s); color: #c9c3b3; }
.m-side span.on { background: var(--surface); color: var(--paper); box-shadow: inset 3px 0 var(--amber); }
.m-side small { color: var(--muted); font-size: 0.82em; margin: 0.5em 0 0.05em 0.7em; }
.m-pill { margin-top: auto; display: flex; align-items: center; gap: 0.5em; padding: 0.6em 0.8em; border: 1px solid var(--line); border-radius: var(--r-m); color: var(--green); }
.dot { width: 0.6em; height: 0.6em; border-radius: 50%; background: var(--green); display: inline-block; flex: none; }
.m-main { padding: 1.1em 1.3em; display: flex; flex-direction: column; gap: 0.9em; min-width: 0; }
.m-title { font: 600 1.35em var(--f-title); }
.m-hero { position: relative; overflow: hidden; border: 1px solid var(--line); border-radius: var(--r-m); background: var(--surface); padding: 1.1em 9.5em 1.2em 1.3em; }
.m-hero > *:not(canvas):not(.m-btn) { position: relative; }
.topo-mini { position: absolute; inset: 0; }
.m-status { display: flex; align-items: center; gap: 0.4em; color: var(--green); font: 600 0.95em var(--f-title); }
.m-name { font: 600 1.85em var(--f-title); margin: 0.15em 0 0.1em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.m-sub { color: var(--muted); font-size: 0.85em; }
.m-btn { position: absolute; right: 1.3em; top: 50%; transform: translateY(-50%); background: var(--amber); color: var(--on-amber); font: 600 0.95em var(--f-title); padding: 0.7em 1.1em; border-radius: var(--r-s); }
.m-row { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 0.9em; flex: 1; min-height: 0; }
.m-card { border: 1px solid var(--line); border-radius: var(--r-m); background: var(--surface); padding: 0.8em 1em; min-height: 0; overflow: hidden; }
.m-card-t { font: 600 0.95em var(--f-title); margin-bottom: 0.5em; }
.m-friends { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.35em; }
.m-friends li { display: flex; align-items: center; gap: 0.6em; color: #d6d0c0; }
.m-lines { list-style: none; margin: 0; padding: 0; font: 0.78em/1.55 var(--f-mono); color: #b9b3a3; display: flex; flex-direction: column; justify-content: flex-end; height: calc(100% - 1.6em); overflow: hidden; }
.m-lines li { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.m-lines li.ok { color: var(--green); }
.m-lines li.warn { color: var(--amber); }

/* radio signal: three arcs pulse while "on the air" */
.radio { position: relative; width: 1.3em; height: 1.1em; }
.radio i { position: absolute; left: 0; bottom: 0; border: 2px solid var(--green); border-color: var(--green) var(--green) transparent transparent; border-radius: 0 100% 0 0; opacity: 0.25; animation: wave 1.8s ease-out infinite; }
.radio i:nth-child(1) { width: 0.45em; height: 0.45em; animation-delay: 0s; }
.radio i:nth-child(2) { width: 0.8em; height: 0.8em; animation-delay: 0.25s; }
.radio i:nth-child(3) { width: 1.15em; height: 1.15em; animation-delay: 0.5s; }
@keyframes wave { 0% { opacity: 0.2; } 30% { opacity: 1; } 100% { opacity: 0.2; } }

/* tour of real screenshots */
.tour { position: absolute; inset: 0; opacity: 0; transition: opacity 0.4s; background: var(--slate); }
.device.touring .tour { opacity: 1; }
.device.touring .live { opacity: 0; }
.shot { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top left; opacity: 0; transition: opacity 0.35s; image-rendering: auto; }
.shot.show { opacity: 1; }
.tour-caption { position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%); display: flex; align-items: center; gap: 12px; padding: 8px 14px; border-radius: 999px; background: rgba(15, 20, 24, 0.9); border: 1px solid var(--line-strong); font: 600 0.9rem var(--f-title); white-space: nowrap; }
.tour-bar { width: 80px; height: 4px; border-radius: 2px; background: var(--line-strong); overflow: hidden; }
.tour-bar i { display: block; height: 100%; width: 0; background: var(--amber); }
.tour-bar i.run { animation: fill var(--slide, 2200ms) linear forwards; }
@keyframes fill { to { width: 100%; } }

.device-hint { margin-top: 18px; text-align: center; color: var(--muted); font-size: 0.9rem; }
.hint-button { display: none; font: 600 0.95rem var(--f-title); color: var(--paper); background: var(--surface); border: 1px solid var(--line-strong); padding: 10px 16px; border-radius: var(--r-m); cursor: pointer; }
@media (hover: none) {
  .hint-mouse { display: none; }
  .hint-button { display: inline-block; }
}

/* ---------- the pixel companion (our own walkie-talkie, drawn by site.js) ---------- */
.walker { position: absolute; left: 3%; bottom: 14px; width: 64px; z-index: 2; animation: walk 34s linear infinite; }
.walker:hover, .walker.talking, .walker:focus-within,
.walker:hover .sprite, .walker.talking .sprite, .walker:focus-within .sprite,
.walker:hover .legs, .walker.talking .legs { animation-play-state: paused; }
.pixel-button { position: relative; display: block; padding: 0; border: 0; background: none; cursor: pointer; }
.pixel-button::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: -4px; height: 6px; border-radius: 50%; background: rgba(0, 0, 0, 0.45); }
.walker.hop .pixel-button { animation: hop 0.45s ease-out; }
.sprite { display: block; animation: face 34s linear infinite; }
.sprite svg { display: block; image-rendering: pixelated; }
.legs-b, .arms-up { opacity: 0; }
.walker .legs-a { animation: step-a 0.5s steps(1) infinite; }
.walker .legs-b { animation: step-b 0.5s steps(1) infinite; }
.walker.talking .arms-down { animation: step-a 0.35s steps(1) infinite; }
.walker.talking .arms-up { animation: step-b 0.35s steps(1) infinite; }
.eye { animation: blink 4.5s steps(1) infinite; }
.light { animation: pulse 1.6s ease-in-out infinite; }
@keyframes step-a { 0% { opacity: 1; } 50% { opacity: 0; } }
@keyframes step-b { 0% { opacity: 0; } 50% { opacity: 1; } }
@keyframes blink { 0%, 94% { opacity: 1; } 95%, 98% { opacity: 0; } }
@keyframes pulse { 0%, 100% { opacity: 0.35; } 50% { opacity: 1; } }
@keyframes hop { 0% { transform: translateY(0); } 40% { transform: translateY(-14px); } 100% { transform: translateY(0); } }
@keyframes walk {
  0% { left: 3%; }
  48% { left: calc(97% - 64px); }
  50% { left: calc(97% - 64px); }
  98% { left: 3%; }
  100% { left: 3%; }
}
@keyframes face { 0%, 49.9% { transform: scaleX(1); } 50%, 99.9% { transform: scaleX(-1); } 100% { transform: scaleX(1); } }
.bubble {
  position: absolute; bottom: 84px; left: 0;
  width: max-content; max-width: 240px; padding: 10px 12px; margin: 0;
  background: var(--paper); color: var(--on-amber); border-radius: var(--r-m);
  font: 600 0.85rem/1.35 var(--f-title); opacity: 0; pointer-events: none; transition: opacity 0.2s;
}
.bubble::after { content: ""; position: absolute; left: 24px; bottom: -6px; border: 6px solid transparent; border-bottom: 0; border-top-color: var(--paper); }
.walker.talking .bubble { opacity: 1; }
@media (max-width: 560px) { .bubble { max-width: 200px; } }

/* ---------- sections ---------- */
.section { padding: 96px 0; }
.section-alt { background: var(--night); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-lead { color: var(--muted); margin-top: 12px; max-width: 46em; font-size: 1.05rem; }

.legend { list-style: none; margin: 48px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 64px; }
.legend li { display: grid; grid-template-columns: 44px 1fr; gap: 18px; align-items: start; }
.legend svg { width: 44px; height: 44px; fill: none; stroke: var(--amber); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.legend p { color: #cbc5b5; margin-top: 6px; }

/* the route: dashed pencil line with waypoints */
.route { list-style: none; margin: 56px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; position: relative; }
.route::before { content: ""; position: absolute; left: 24px; right: 24px; top: 23px; border-top: 2px dashed var(--line-strong); }
.route li { position: relative; display: flex; flex-direction: column; gap: 10px; }
.wp { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 50%; background: var(--night); border: 2px solid var(--amber); color: var(--amber); font: 600 1rem var(--f-title); }
.route li:last-child .wp { background: var(--amber); color: var(--on-amber); }
.route p { color: #cbc5b5; }

.download { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; padding: 48px; border: 1px solid var(--line-strong); border-radius: var(--r-l); background: var(--surface); }
.download .hero-actions { margin-top: 28px; }
.facts { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 8px; }
.facts li { display: grid; grid-template-columns: 9em 1fr; border-bottom: 1px solid var(--line); padding-bottom: 8px; }
.facts b { font-weight: 600; color: var(--muted); }
.verify { display: flex; flex-direction: column; gap: 10px; border-left: 1px solid var(--line); padding-left: 48px; }
.verify p { color: #cbc5b5; }
.verify h3 + p { margin-bottom: 8px; }
.sha { display: flex; gap: 8px; align-items: stretch; margin-bottom: 18px; }
.sha code { flex: 1; min-width: 0; font: 0.8rem/1.5 var(--f-mono); background: var(--night); border: 1px solid var(--line); border-radius: var(--r-s); padding: 8px 10px; overflow-wrap: anywhere; }
.copy { font: 600 0.85rem var(--f-title); color: var(--paper); background: var(--surface-2); border: 1px solid var(--line-strong); border-radius: var(--r-s); padding: 0 12px; cursor: pointer; }
.copy:hover { border-color: var(--paper); }

details { border-bottom: 1px solid var(--line); padding: 18px 0; }
details:first-of-type { margin-top: 32px; border-top: 1px solid var(--line); }
summary { cursor: pointer; font: 600 1.1rem var(--f-title); list-style: none; display: flex; justify-content: space-between; gap: 16px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--amber); font-size: 1.3rem; line-height: 1; }
details[open] summary::after { content: "–"; }
details p { color: #cbc5b5; margin-top: 10px; max-width: 46em; }

.team { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-top: 40px; }
.person { display: grid; grid-template-columns: 64px 1fr; gap: 18px; padding: 28px; border: 1px solid var(--line); border-radius: var(--r-l); background: var(--surface); }
.person p { color: #cbc5b5; }
.role { color: var(--amber) !important; font: 600 0.9rem var(--f-title); margin: 2px 0 10px !important; }
.ai-avatar { width: 64px; height: 64px; display: grid; place-items: center; border-radius: 50%; border: 2px solid var(--green); background: var(--night); }
.ai-avatar .legs-b, .ai-avatar .arms-up { display: none; }
.note { color: var(--muted); font-size: 0.88rem; margin-top: 20px; }

.foot { border-top: 1px solid var(--line); background: var(--night); padding: 32px 0; color: var(--muted); font-size: 0.88rem; }
.foot-row { display: grid; gap: 8px; }
.legal { max-width: 60em; }

/* ---------- small screens ---------- */
@media (max-width: 960px) {
  .top-row { flex-wrap: wrap; height: auto; padding-top: 10px; padding-bottom: 10px; gap: 10px 16px; }
  .top-actions { margin-left: auto; }
  .nav { order: 3; width: 100%; margin: 0; gap: 18px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; }
  .nav a { white-space: nowrap; }
  .hero { padding: 48px 0 64px; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .legend, .team { grid-template-columns: 1fr; }
  .route { grid-template-columns: 1fr 1fr; }
  .route::before { display: none; }
  .download { grid-template-columns: 1fr; padding: 28px; }
  .verify { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); padding-top: 24px; }
}
@media (max-width: 560px) {
  .wrap { padding: 0 16px; }
  .route { grid-template-columns: 1fr; }
  .top-actions .btn-small { display: none; }
  .section { padding: 64px 0; }
  .facts li { grid-template-columns: 7em 1fr; }
  .m-logo b { display: none; }
  @keyframes drift {
    0%, 100% { transform: rotateY(-5deg) translateY(-6px); }
    50% { transform: rotateY(-2deg) translateY(6px); }
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .device { animation: none; transform: none; transition: none; }
  .radio i { animation: none; opacity: 1; }
  .shot, .tour, .live { transition: none; }
  .tour-bar i.run { animation: none; width: 100%; }
  .walker, .sprite, .walker .legs, .walker .arms, .eye, .light, .walker.hop .pixel-button { animation: none; }
  .walker { left: auto; right: 4%; }
}

/* ---------- inner pages (novidades, guias, comunidade) ---------- */
.page { padding-top: 56px; padding-bottom: 96px; }
.page-head { display: grid; gap: 12px; margin-bottom: 40px; }
.page-head .section-lead { margin-top: 0; }
.card { border: 1px solid var(--line); border-radius: var(--r-l); background: var(--surface); padding: 24px 28px; }
.stack { display: grid; gap: 20px; }
.notice { border-left: 3px solid var(--amber); background: rgba(242, 169, 59, 0.08); padding: 14px 18px; border-radius: 0 var(--r-m) var(--r-m) 0; color: #d6d0c0; }
.badge { display: inline-block; font: 600 0.78rem var(--f-title); padding: 2px 10px; border-radius: 999px; border: 1px solid var(--line-strong); color: var(--muted); }
.badge-amber { background: var(--amber); border-color: var(--amber); color: var(--on-amber); }
.badge-green { border-color: var(--green); color: var(--green); }
.meta-line { color: var(--muted); font-size: 0.9rem; display: flex; flex-wrap: wrap; gap: 6px 12px; align-items: center; }
.tabs { display: flex; gap: 8px; margin-bottom: 20px; flex-wrap: wrap; }
.tabs button { font: 600 0.95rem var(--f-title); color: var(--muted); background: transparent; border: 1px solid var(--line-strong); border-radius: 999px; padding: 8px 18px; cursor: pointer; }
.tabs button[aria-pressed="true"] { color: var(--on-amber); background: var(--amber); border-color: var(--amber); }
.field { display: grid; gap: 6px; }
.field label { font: 600 0.92rem var(--f-title); }
.input, .textarea {
  font: 1rem/1.5 var(--f-body); color: var(--paper); background: var(--night);
  border: 1px solid var(--line-strong); border-radius: var(--r-m); padding: 10px 12px; width: 100%;
}
.textarea { min-height: 120px; resize: vertical; }
.input:focus-visible, .textarea:focus-visible { outline: 2px solid var(--amber); outline-offset: 1px; }
.form-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; }
.counter { color: var(--muted); font-size: 0.85rem; font-variant-numeric: tabular-nums; }
.status { min-height: 1.5em; color: var(--amber); }
.prose { color: #d6d0c0; max-width: 46em; }
.prose h2 { margin: 40px 0 12px; color: var(--paper); }
.prose h3 { margin: 24px 0 8px; color: var(--paper); font-size: 1.1rem; }
.prose p, .prose ul, .prose ol { margin: 0 0 12px; }
.prose li { margin: 4px 0; }
.prose code { font: 0.9em var(--f-mono); background: var(--night); border: 1px solid var(--line); border-radius: var(--r-s); padding: 1px 5px; }
.prose strong { color: var(--paper); }
.toc { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 8px; }
.btn-link { background: none; border: 0; padding: 0; font: inherit; color: var(--ink); text-decoration: underline; cursor: pointer; }
.btn-link:hover { color: var(--paper); }
.btn-danger-link { color: #e8907f; }
.reply { border-left: 2px solid var(--line-strong); padding: 6px 0 6px 16px; margin-top: 12px; }
.reply.team-reply { border-left-color: var(--amber); }
.post-body { white-space: pre-wrap; overflow-wrap: anywhere; margin-top: 10px; color: #d6d0c0; }
.avatar { width: 28px; height: 28px; border-radius: 50%; display: inline-grid; place-items: center; background: var(--surface-2); color: var(--paper); font: 600 0.85rem var(--f-title); flex: none; }
.login-buttons { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 10px; }
.empty-note { color: var(--muted); padding: 24px 0; }

.tabs-top { margin-top: 32px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.narrow.page { max-width: 860px; }
.threads .card h2 { font-size: 1.3rem; margin-bottom: 8px; }
.releases .card h2 { font-size: 1.5rem; }
