@import url("/fonts/fonts-modern.css");

:root {
  --bg: #07080b;
  --bg-elev: #0d1016;
  --card: rgba(255, 255, 255, 0.03);
  --card-hover: rgba(255, 255, 255, 0.055);
  --ink: #eef2f6;
  --ink-2: #b4bcc8;
  --mute: #8a93a3;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.14);
  --accent: #5ee0d0;
  --accent-2: #79f0df;
  --accent-dim: rgba(94, 224, 208, 0.14);
  --danger: #f0a0a0;
  --max: 1160px;
  --prose: 42rem;
  --sans: Inter, "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, Menlo, Consolas, monospace;
  --radius: 14px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  font-optical-sizing: auto;
  -webkit-text-size-adjust: 100%;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  max-width: 100%;
}
body {
  background-image:
    radial-gradient(900px 480px at 80% -10%, rgba(40, 120, 118, 0.18), transparent 60%),
    radial-gradient(700px 400px at -10% 20%, rgba(30, 50, 90, 0.16), transparent 55%),
    linear-gradient(rgba(255,255,255,0.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.022) 1px, transparent 1px);
  background-size: auto, auto, 56px 56px, 56px 56px;
  background-attachment: fixed;
}
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
a:hover { color: var(--accent-2); }
code, .mono { font-family: var(--mono); font-size: 0.86em; font-weight: 500; }
h1, h2, h3, h4 {
  font-weight: 560;
  letter-spacing: -0.035em;
  line-height: 1.12;
  color: var(--ink);
  margin: 0 0 0.7rem;
}
h1 { font-size: clamp(2.15rem, 5.4vw, 3.6rem); font-weight: 580; }
h2 { font-size: clamp(1.25rem, 2.1vw, 1.55rem); margin-top: 2.6rem; }
h3 { font-size: 1rem; letter-spacing: -0.02em; margin-top: 1.4rem; font-weight: 560; }
p { margin: 0 0 1rem; }
.lede { font-size: clamp(1.05rem, 1.8vw, 1.22rem); line-height: 1.5; color: var(--ink-2); max-width: 40rem; font-weight: 400; }

.skip { position: absolute; left: -999px; top: 0; }
.skip:focus { left: 12px; top: 12px; background: var(--bg-elev); padding: 6px 10px; z-index: 20; color: var(--ink); }

.disclaimer {
  background: #000;
  color: #c9d0d8;
  font-size: 0.72rem;
  letter-spacing: 0.02em;
  line-height: 1.45;
  padding: 0.5rem 1rem;
  text-align: center;
  border-bottom: 1px solid var(--line);
}
.disclaimer a { color: var(--accent); }

.wrap { width: min(var(--max), calc(100% - 2.4rem)); margin: 0 auto; }
.wrap-prose { width: min(var(--prose), calc(100% - 2.4rem)); margin: 0 auto; }

header.site {
  position: sticky;
  top: 0;
  z-index: 30;
  border-bottom: 1px solid var(--line);
  background: rgba(7, 8, 11, 0.78);
  backdrop-filter: blur(16px) saturate(1.2);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
}
.header-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas:
    "brand lang"
    "nav nav";
  align-items: center;
  gap: 0.5rem 1rem;
  padding: 0.8rem 0;
}
.brand { grid-area: brand; text-decoration: none; color: var(--ink); min-width: 0; display: flex; flex-direction: column; gap: 0.2rem; }
nav.primary { grid-area: nav; }
.lang {
  grid-area: lang;
  justify-self: end;
  align-self: start;
  margin: 0;
  padding: 0.1rem 0 0;
  border: 0;
  white-space: nowrap;
  color: var(--mute);
  font-size: 0.8rem;
  letter-spacing: 0.04em;
}
@media (min-width: 900px) {
  .header-row {
    grid-template-columns: auto 1fr auto;
    grid-template-areas: "brand nav lang";
    gap: 1rem 1.5rem;
    padding: 0.6rem 0;
  }
  nav.primary { justify-self: end; }
  .lang { align-self: center; padding: 0; }
}
.brand-mark {
  font-weight: 580;
  font-size: 1.02rem;
  letter-spacing: -0.04em;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.brand-mark em { font-style: normal; font-weight: 500; color: var(--accent); }
.h-mark {
  display: inline-block;
  width: 14px; height: 14px;
  border-left: 2px solid var(--accent);
  border-right: 2px solid var(--accent);
  position: relative;
  flex: 0 0 14px;
  filter: drop-shadow(0 0 6px rgba(94,224,208,0.7));
}
.h-mark::after {
  content: "";
  position: absolute;
  left: 1px; right: 1px; top: 6px;
  height: 2px;
  background: var(--accent);
}
.brand-sub {
  font-size: 0.64rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mute);
}
nav.primary {
  display: flex;
  flex-wrap: wrap;
  gap: 0.2rem 0.95rem;
  align-items: center;
  font-size: 0.84rem;
}
nav.primary a {
  color: var(--ink-2);
  text-decoration: none;
  padding: 0.2rem 0;
  border-bottom: 1px solid transparent;
}
nav.primary a:hover,
nav.primary a[aria-current="page"] {
  color: var(--ink);
  border-bottom-color: var(--accent);
}
.lang a { color: var(--mute); text-decoration: none; }
.lang a[aria-current="page"], .lang a:hover { color: var(--ink); }

.hero { padding: 3.2rem 0 2.2rem; position: relative; overflow: hidden; }
.hero::before, .hero::after {
  content: "";
  position: absolute;
  pointer-events: none;
  filter: blur(40px);
  opacity: 0.55;
  animation: aurora 18s ease-in-out infinite alternate;
}
.hero::before {
  width: 42vw; height: 42vw; max-width: 520px; max-height: 520px;
  left: 0; top: -20%;
  background: radial-gradient(circle, rgba(94,224,208,0.28), transparent 65%);
}
.hero::after {
  width: 36vw; height: 36vw; max-width: 420px; max-height: 420px;
  right: 0; top: 10%;
  background: radial-gradient(circle, rgba(70,110,200,0.22), transparent 65%);
  animation-delay: -7s;
}
@keyframes aurora {
  from { transform: translate3d(0,0,0) scale(1); }
  to { transform: translate3d(3%, 4%, 0) scale(1.08); }
}
.kicker {
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 0.85rem;
  font-weight: 500;
}
.hero .meta, .page-hero .meta, .comm-updated {
  font-size: 0.82rem;
  color: var(--mute);
  margin-top: 1rem;
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  border: 1px solid var(--line);
  margin: 2rem 0 0;
  background: var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  z-index: 1;
}
.stat { padding: 1.05rem 1.1rem 1.15rem; background: var(--bg-elev); min-width: 0; }
.stat-label {
  font-size: 0.66rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mute);
  margin: 0 0 0.4rem;
}
.stat-value {
  font-family: var(--mono);
  font-size: 1.05rem;
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.3;
  word-break: break-word;
  color: var(--ink);
}
.stat-note { font-size: 0.75rem; color: var(--mute); margin-top: 0.3rem; }

.section { padding: 2.2rem 0 0.2rem; position: relative; z-index: 1; }
.note, .callout {
  background: var(--accent-dim);
  border: 1px solid var(--line);
  border-left: 2px solid var(--accent);
  padding: 0.9rem 1.05rem;
  font-size: 0.9rem;
  color: var(--ink-2);
  margin: 1.2rem 0 1.4rem;
  border-radius: 0 10px 10px 0;
}
.callout strong { font-weight: 600; color: var(--ink); }

.table-wrap {
  width: 100%;
  overflow-x: auto;
  margin: 0.8rem 0 1.4rem;
  border: 1px solid var(--line);
  background: var(--bg-elev);
  border-radius: var(--radius);
  -webkit-overflow-scrolling: touch;
}
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.84rem;
  line-height: 1.4;
}
th, td { text-align: left; vertical-align: top; padding: 0.7rem 0.75rem; border-bottom: 1px solid var(--line); }
th, td { padding-right: 0.9rem; }
th:last-child, td:last-child { padding-right: 1.15rem; }
th {
  font-weight: 580;
  font-size: 0.66rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--mute);
  background: rgba(255,255,255,0.03);
  white-space: nowrap;
}
th:last-child { white-space: normal; }
td { overflow-wrap: break-word; }
td:nth-child(2) { white-space: nowrap; overflow-wrap: normal; }
th.num, td.num { font-family: var(--mono); font-size: 0.8rem; font-variant-numeric: tabular-nums; }
td.num { white-space: normal; overflow-wrap: anywhere; }
tr:last-child td { border-bottom: 0; }
tr.hi td { background: var(--accent-dim); }
caption {
  caption-side: bottom;
  text-align: left;
  font-size: 0.75rem;
  color: var(--mute);
  padding: 0.65rem 0.75rem;
  border-top: 1px solid var(--line);
}

ul, ol { margin: 0 0 1rem; padding: 0 0 0 1.2rem; }
li { margin: 0 0 0.4rem; }
.src { font-size: 0.78rem; color: var(--mute); }
.src a { color: var(--ink-2); }

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.8rem;
  margin: 1.2rem 0 1.6rem;
  background: none;
  border: 0;
}
.cards-4 { grid-template-columns: 1fr 1fr; }
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.1rem 1.15rem 1.2rem;
  min-width: 0;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}
.card:hover { border-color: var(--line-strong); background: var(--card-hover); transform: translateY(-2px); }
.card h3 { margin-top: 0; }
.card p:last-child { margin-bottom: 0; }
.card a.more { font-size: 0.82rem; font-weight: 500; }

.faq details { border-top: 1px solid var(--line); padding: 0.9rem 0; }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; font-weight: 560; font-size: 1rem; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; float: right; font-weight: 400; color: var(--mute); }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 0.65rem 0 0.2rem; max-width: 42rem; color: var(--ink-2); }

.news-list { list-style: none; padding: 0; margin: 0 0 1.5rem; }
.news-list li {
  display: grid;
  grid-template-columns: 8.2rem 1fr;
  gap: 1rem;
  padding: 1.05rem 0;
  border-top: 1px solid var(--line);
  margin: 0;
}
.news-list li:last-child { border-bottom: 1px solid var(--line); }
.news-date { font-size: 0.78rem; color: var(--mute); letter-spacing: 0.04em; font-family: var(--mono); }
.news-list h3 { margin: 0 0 0.3rem; font-size: 1.02rem; }
.news-list p { margin: 0; color: var(--ink-2); }

footer.site {
  margin-top: 4rem;
  border-top: 1px solid var(--line);
  padding: 1.8rem 0 2.6rem;
  font-size: 0.8rem;
  color: var(--mute);
}
footer.site .foot-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 1.4rem; }
footer.site a { color: var(--ink-2); }
footer.site strong { color: var(--ink); font-weight: 580; }
.foot-legal { margin-top: 1.3rem; max-width: 48rem; }

.crumbs { font-size: 0.75rem; color: var(--mute); margin: 1.1rem 0 0; }
.crumbs a { color: var(--mute); text-decoration: none; }
.crumbs a:hover { color: var(--ink); }
.page-hero { padding: 1.4rem 0 1.2rem; }
.page-hero p { color: var(--ink-2); max-width: 42rem; }
.muted { color: var(--mute); }
.small { font-size: 0.88rem; }

/* Community grid */
.comm-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 1.1rem 0 1.4rem;
}
.comm-filters button {
  appearance: none;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink-2);
  font: inherit;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  cursor: pointer;
}
.comm-filters button[aria-pressed="true"],
.comm-filters button:hover {
  color: var(--bg);
  background: var(--accent);
  border-color: var(--accent);
}
.comm-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1rem;
  margin: 0 0 2rem;
}
.comm-card {
  display: flex;
  flex-direction: column;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  min-width: 0;
  transition: border-color 0.2s ease, transform 0.2s ease, background 0.2s ease;
}
.comm-card:hover { border-color: var(--line-strong); background: var(--card-hover); transform: translateY(-3px); }
.comm-media { position: relative; background: #10141c; aspect-ratio: 16/10; overflow: hidden; }
.comm-media img { width: 100%; height: 100%; object-fit: cover; }
.comm-card .comm-body { padding: 0.95rem 1rem 1.05rem; display: flex; flex-direction: column; flex: 1; }
.comm-card h3 { margin: 0 0 0.35rem; font-size: 1rem; line-height: 1.3; }
.comm-card h3 a { color: var(--ink); text-decoration: none; }
.comm-card h3 a:hover { color: var(--accent); }
.comm-meta, .comm-links, .yt-note, .img-credit {
  font-size: 0.75rem;
  color: var(--mute);
  margin: 0 0 0.4rem;
}
.comm-src { letter-spacing: 0.08em; text-transform: uppercase; font-size: 0.64rem; }
.comm-summary { margin: 0 0 0.55rem; color: var(--ink-2); font-size: 0.9rem; flex: 1; }
.comm-links { margin-bottom: 0.6rem; }
.img-credit a { color: var(--mute); }
.yt-embed, .x-embed { position: relative; width: 100%; height: 100%; }
.yt-embed iframe, .x-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.yt-load, .x-load {
  display: block; width: 100%; height: 100%; padding: 0; border: 0;
  background: #0a0c10; cursor: pointer; position: relative;
}
.yt-play, .x-play {
  position: absolute; left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase;
  color: #07110f; background: var(--accent);
  padding: 0.4rem 0.7rem; border-radius: 999px; font-weight: 600;
}
.yt-load:hover .yt-play, .yt-load:focus .yt-play,
.x-load:hover .x-play, .x-load:focus .x-play { background: var(--accent-2); }
.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3px;
  margin: 0.4rem 0 0.6rem;
}
.gallery a { display: block; aspect-ratio: 16/10; overflow: hidden; border-radius: 6px; }
.gallery img { width: 100%; height: 100%; object-fit: cover; }

.comm-media .engage {
  position: absolute;
  left: 0.55rem;
  right: auto;
  bottom: 0.55rem;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  margin: 0;
  padding: 0.25rem;
  border: 0;
  border-radius: 999px;
  background: rgba(7, 8, 11, 0.78);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.like-btn, .cmt-toggle, .report-btn {
  appearance: none;
  border: 1px solid transparent;
  background: transparent;
  color: #f3f6f8;
  font-family: var(--mono);
  font-size: 0.8rem;
  font-weight: 500;
  padding: 0.28rem 0.55rem;
  border-radius: 999px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}
.like-btn .ico, .cmt-toggle .ico { width: 15px; height: 15px; display: block; }
.like-btn[aria-pressed="true"] { color: var(--accent); background: var(--accent-dim); }
.like-btn:hover, .cmt-toggle:hover, .report-btn:hover { color: #fff; background: rgba(255,255,255,0.08); }
.like-n, .cmt-n { font-variant-numeric: tabular-nums; min-width: 0.8em; }
.comments { display: block; margin-top: 0.7rem; }
.comments.open { display: block; }
.cmt-compose {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.45rem;
  align-items: end;
}
.cmt-list { max-height: 8.5rem; overflow: auto; }
.feed-talk { margin: 0.4rem 0 0.2rem; padding: 0.95rem 1rem 1.05rem; }
.feed-talk h2 { margin: 0 0 0.3rem; font-size: 1.15rem; }
.feed-talk .lede { font-size: 0.84rem; margin-bottom: 0.4rem; }
@media (min-width: 900px) {
  .feed-talk {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
    gap: 0.25rem 1.2rem;
    align-items: start;
  }
  .feed-talk form { grid-column: 2; grid-row: 1 / span 6; margin-top: 0; }
}
.cases-grid-wrap { padding-top: 0.6rem; }
.comment { padding: 0.55rem 0; border-top: 1px solid var(--line); }
.comment .who { font-size: 0.75rem; color: var(--mute); margin: 0 0 0.2rem; }
.comment .who time { font-family: var(--mono); }
.comment p { margin: 0; font-size: 0.88rem; color: var(--ink-2); }
.comment-form, .thread-form {
  display: grid;
  gap: 0.45rem;
  margin-top: 0.6rem;
}
.comment-form input, .comment-form textarea,
.thread-form input, .thread-form textarea {
  width: 100%;
  background: #0a0c11;
  border: 1px solid var(--line);
  color: var(--ink);
  font: inherit;
  font-size: 0.88rem;
  border-radius: 8px;
  padding: 0.45rem 0.6rem;
}
.comment-form textarea, .thread-form textarea { min-height: 4.5rem; resize: vertical; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.comment-form button, .thread-form button {
  justify-self: start;
  appearance: none;
  border: 0;
  background: var(--accent);
  color: #07110f;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 0.4rem 0.8rem;
  border-radius: 999px;
  cursor: pointer;
}
.policy { font-size: 0.72rem; color: var(--mute); margin: 0.35rem 0 0; }
.empty-cmt { font-size: 0.85rem; color: var(--mute); }
.form-err { color: var(--danger); font-size: 0.78rem; margin: 0; }

.page-thread {
  margin: 2rem 0 1rem;
  padding: 1.2rem 1.2rem 1.4rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
}

/* Benchmark bars */
.bench-bars { margin: 1.4rem 0 2rem; }
.bar-block { margin: 0 0 1rem; }
.bar-label { font-size: 0.8rem; color: var(--ink-2); margin: 0 0 0.35rem; }
.bar-track { display: grid; gap: 0.28rem; }
.bar {
  height: 22px;
  border-radius: 4px;
  background: var(--accent-dim);
  position: relative;
  overflow: hidden;
  min-width: 0;
}
.bar > span {
  display: block;
  height: 100%;
  width: calc(var(--v, 0) * 100%);
  background: var(--accent);
  border-radius: 4px;
  transform-origin: left center;
}
.bar.sonnet > span { background: #7aa2ff; }
.bar.terra > span { background: #c9b07a; }
.bar em {
  position: absolute; left: 8px; top: 0; height: 100%;
  display: flex; align-items: center;
  font-style: normal; font-size: 0.68rem; font-family: var(--mono);
  color: var(--ink);
  mix-blend-mode: difference;
}

.reveal { opacity: 0; transform: translateY(10px); transition: opacity 0.55s ease, transform 0.55s ease; }
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero::before, .hero::after, .reveal, .card, .comm-card,
  .title-chromatic::before, .title-chromatic::after,
  .hero-viz .viz-grid-move, .hero-viz .viz-glow, .hero-viz .viz-h-ghost,
  .hero-viz .viz-pulse, .hero-viz .viz-bar-fill, .hero-viz .viz-status,
  .hero-scan, .hero-scan-bar, .hero-flare { animation: none; transition: none; }
  .title-chromatic::before { transform: translate(-0.035em, 0); opacity: 0.4; filter: none; }
  .title-chromatic::after { transform: translate(0.035em, 0); opacity: 0.3; filter: none; }
  .hero-viz .viz-glow { opacity: 0.5; transform: none; }
  .hero-viz .viz-h-ghost-l { transform: translate(-4px, 0); opacity: 0.4; }
  .hero-viz .viz-h-ghost-r { transform: translate(4px, 0); opacity: 0.3; }
  .hero-viz .viz-pulse, .hero-scan, .hero-scan-bar, .hero-flare { display: none; }
  .hero-viz .viz-bar-fill { transform: translate3d(40px, 0, 0); }
  .reveal { opacity: 1; transform: none; }
  body { background-attachment: scroll; }
}
.hero-compact.is-paused,
.hero-compact.is-paused *,
.hero-compact.is-paused::before,
.hero-compact.is-paused::after,
.hero-compact.is-paused *::before,
.hero-compact.is-paused *::after {
  animation-play-state: paused;
}

@media (max-width: 900px) {
  .stats { grid-template-columns: 1fr 1fr; }
  .cards, .cards-4 { grid-template-columns: 1fr; }
  footer.site .foot-grid { grid-template-columns: 1fr; }
  .news-list li { grid-template-columns: 1fr; gap: 0.2rem; }
}
@media (max-width: 620px) {
  html, body { font-size: 16px; }
  .wrap, .wrap-prose { width: min(var(--max), calc(100% - 1.4rem)); }
  .hero { padding: 2rem 0 1.4rem; }
  .stats { grid-template-columns: 1fr; }
  nav.primary { gap: 0.25rem 0.8rem; font-size: 0.8rem; }
  table { min-width: 640px; }
  .comm-grid { grid-template-columns: 1fr; }
}
@media (min-width: 1280px) {
  body { font-size: 16.5px; }
}


/* Collapsed nav */
.nav-cases {
  font-weight: 600;
}
.nav-more { position: relative; }
.nav-more summary {
  list-style: none;
  cursor: pointer;
  color: var(--mute);
  font: inherit;
  white-space: nowrap;
}
.nav-more summary::-webkit-details-marker { display: none; }
.nav-more summary::after { content: " ▾"; font-size: 0.7em; color: var(--mute); }
.nav-more.is-current summary { color: var(--ink); }
.nav-more-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 0.55rem);
  min-width: 11.5rem;
  background: #0c0f16;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  padding: 0.4rem 0;
  z-index: 40;
  box-shadow: 0 16px 40px rgba(0,0,0,0.4);
}
.nav-more-menu a {
  display: block;
  padding: 0.45rem 0.9rem;
  color: var(--ink-2);
  text-decoration: none;
}
.nav-more-menu a:hover,
.nav-more-menu a[aria-current="page"] { color: var(--ink); background: rgba(255,255,255,0.04); }

/* Compact VisionQuest-inspired hero — our own wordmark, no show marks */
.hero-compact { padding: 0.65rem 0 0.45rem; }
.hero-row {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(220px, 0.85fr);
  gap: 0.8rem 1.4rem;
  align-items: center;
  position: relative;
  z-index: 1;
}
.hero-copy { min-width: 0; }
.hero-compact .kicker { margin-bottom: 0.3rem; }
.hero-compact h1 {
  margin: 0 0 0.3rem;
  font-size: clamp(1.55rem, 3.6vw, 2.45rem);
  line-height: 0.95;
  letter-spacing: -0.045em;
  font-weight: 650;
}
.hero-eyebrow {
  display: block;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-2);
  margin: 0 0 0.2rem;
}
.title-chromatic {
  position: relative;
  display: inline-block;
  color: var(--ink);
  z-index: 1;
}
.title-chromatic::before,
.title-chromatic::after {
  content: attr(data-text);
  position: absolute;
  left: 0; top: 0;
  pointer-events: none;
  color: transparent;
  z-index: -1;
}
.title-chromatic::before {
  -webkit-text-stroke: 1px rgba(94,224,208,0.55);
  transform: translate(-0.035em, 0);
  animation: chroma-shimmer-l 12s ease-in-out infinite;
}
.title-chromatic::after {
  -webkit-text-stroke: 1px rgba(200,90,110,0.4);
  transform: translate(0.035em, 0);
  animation: chroma-shimmer-r 12s ease-in-out infinite;
}
@keyframes chroma-shimmer-l {
  0%, 68%, 100% { transform: translate(-0.035em, 0); opacity: 0.5; }
  76% { transform: translate(-0.08em, 0); opacity: 0.8; }
  84% { transform: translate(-0.028em, 0); opacity: 0.45; }
}
@keyframes chroma-shimmer-r {
  0%, 68%, 100% { transform: translate(0.035em, 0); opacity: 0.4; }
  78% { transform: translate(0.08em, 0); opacity: 0.7; }
  86% { transform: translate(0.028em, 0); opacity: 0.35; }
}
.hero-note { max-width: 34rem; margin: 0; font-size: 0.9rem; color: var(--ink-2); }
.hero-viz {
  width: 100%;
  height: auto;
  max-height: 168px;
  aspect-ratio: 400 / 248;
  color: var(--accent);
  opacity: 0.9;
  overflow: hidden;
}
.hero-viz .viz-grid-move {
  opacity: 0.22;
  transform-box: view-box;
  transform-origin: 0 0;
  animation: viz-grid-drift 16s linear infinite;
}
.hero-viz .viz-ticks { opacity: 0.45; }
.hero-viz .viz-feeders { opacity: 0.32; }
.hero-viz .viz-nodes { opacity: 0.7; }
.hero-viz .viz-h { opacity: 0.95; }
.hero-viz .viz-glow {
  fill: rgba(94, 224, 208, 0.16);
  transform-box: fill-box;
  transform-origin: center;
  animation: viz-breathe 8s ease-in-out infinite;
}
.hero-viz .viz-h-ghost { stroke-width: 1.2; transform-box: view-box; transform-origin: 200px 100px; }
.hero-viz .viz-h-ghost-l { stroke: rgba(94,224,208,0.45); animation: viz-ghost-l 12s ease-in-out infinite; }
.hero-viz .viz-h-ghost-r { stroke: rgba(200,90,110,0.35); animation: viz-ghost-r 12s ease-in-out infinite; }
.hero-viz .viz-pulse {
  fill: var(--accent-2);
  transform-box: view-box;
  transform-origin: 0 0;
  opacity: 0;
  filter: drop-shadow(0 0 4px rgba(94,224,208,0.8));
}
.hero-viz .viz-pulse.p1 { animation: viz-pulse-across 12s linear infinite; }
.hero-viz .viz-pulse.p2 { animation: viz-pulse-h 12s linear 4s infinite; }
.hero-viz .viz-pulse.p3 { animation: viz-pulse-feed 12s linear 8s infinite; }
.hero-viz .viz-k {
  fill: var(--mute);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.14em;
}
.hero-viz .viz-v {
  fill: var(--ink);
  font-family: var(--mono);
  font-size: 18px;
  letter-spacing: 0.02em;
}
.hero-viz .viz-status {
  fill: var(--accent);
  animation: viz-status 2.4s ease-in-out infinite;
}
.hero-viz .viz-bar-track { fill: rgba(255,255,255,0.1); }
.hero-viz .viz-bar-fill {
  fill: var(--accent);
  transform-box: view-box;
  transform-origin: 0 0;
  animation: viz-bar-scan 16s linear infinite;
}
.hero-scan {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.45;
  background: repeating-linear-gradient(
    to bottom,
    transparent 0 3px,
    rgba(94,224,208,0.035) 3px 4px
  );
  mask-image: linear-gradient(to bottom, transparent, #000 18%, #000 82%, transparent);
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 18%, #000 82%, transparent);
  animation: scan-drift 16s linear infinite;
}
.hero-scan-bar {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 1px;
  pointer-events: none;
  z-index: 2;
  background: linear-gradient(90deg, transparent, rgba(94,224,208,0.4), transparent);
  animation: scan-bar 16s linear infinite;
  opacity: 0;
}
.hero-flare {
  position: absolute;
  top: 22%;
  left: 68%;
  width: 52px;
  height: 52px;
  pointer-events: none;
  z-index: 2;
  mix-blend-mode: screen;
  border: 1px solid rgba(94,224,208,0.28);
  background:
    radial-gradient(circle, rgba(255,255,255,0.45) 0 1.5px, rgba(94,224,208,0.22) 8px, transparent 70%),
    linear-gradient(to right, transparent 48%, rgba(94,224,208,0.65) 49.5%, rgba(94,224,208,0.65) 50.5%, transparent 52%),
    linear-gradient(to bottom, transparent 48%, rgba(94,224,208,0.65) 49.5%, rgba(94,224,208,0.65) 50.5%, transparent 52%);
  box-shadow: 0 0 28px rgba(94,224,208,0.2);
  animation: flare-orbit 20s linear infinite;
}
@keyframes viz-grid-drift {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(16px, 16px, 0); }
}
@keyframes viz-breathe {
  0%, 100% { opacity: 0.55; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.07); }
}
@keyframes viz-ghost-l {
  0%, 68%, 100% { transform: translate(-4px, 0); opacity: 0.4; }
  76% { transform: translate(-8px, 0); opacity: 0.7; }
  84% { transform: translate(-3px, 0); opacity: 0.35; }
}
@keyframes viz-ghost-r {
  0%, 68%, 100% { transform: translate(4px, 0); opacity: 0.3; }
  78% { transform: translate(8px, 0); opacity: 0.6; }
  86% { transform: translate(3px, 0); opacity: 0.25; }
}
@keyframes viz-pulse-across {
  0% { transform: translate3d(16px, 98px, 0); opacity: 0; }
  8% { opacity: 1; }
  92% { opacity: 1; }
  100% { transform: translate3d(380px, 98px, 0); opacity: 0; }
}
@keyframes viz-pulse-h {
  0% { transform: translate3d(168px, 38px, 0); opacity: 0; }
  8% { opacity: 1; }
  30% { transform: translate3d(168px, 98px, 0); opacity: 1; }
  58% { transform: translate3d(228px, 98px, 0); opacity: 1; }
  92% { opacity: 1; }
  100% { transform: translate3d(228px, 158px, 0); opacity: 0; }
}
@keyframes viz-pulse-feed {
  0% { transform: translate3d(96px, 14px, 0); opacity: 0; }
  10% { opacity: 1; }
  35% { transform: translate3d(168px, 14px, 0); opacity: 1; }
  58% { transform: translate3d(168px, 38px, 0); opacity: 1; }
  90% { opacity: 1; }
  100% { transform: translate3d(168px, 98px, 0); opacity: 0; }
}
@keyframes viz-status {
  0%, 100% { opacity: 0.35; }
  50% { opacity: 1; }
}
@keyframes viz-bar-scan {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(136px, 0, 0); }
}
@keyframes scan-drift {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(0, 4px, 0); }
}
@keyframes scan-bar {
  0% { transform: translate3d(0, 0, 0); opacity: 0; }
  8% { opacity: 0.7; }
  90% { opacity: 0.55; }
  100% { transform: translate3d(0, 280px, 0); opacity: 0; }
}
@keyframes flare-orbit {
  0%   { transform: translate3d(-36px, -28px, 0) rotate(0deg); opacity: 0.2; }
  25%  { transform: translate3d(48px, 8px, 0) rotate(90deg); opacity: 0.55; }
  50%  { transform: translate3d(18px, 46px, 0) rotate(180deg); opacity: 0.22; }
  75%  { transform: translate3d(-52px, 16px, 0) rotate(270deg); opacity: 0.5; }
  100% { transform: translate3d(-36px, -28px, 0) rotate(360deg); opacity: 0.2; }
}

.hud {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin: 0.5rem 0 0;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(8,10,14,0.72);
  position: relative;
  z-index: 1;
  overflow: hidden;
}
.hud-item {
  padding: 0.38rem 0.75rem 0.42rem;
  border-right: 1px solid var(--line);
  min-width: 0;
}
.hud-item:last-child { border-right: 0; }
.hud-k {
  display: block;
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  color: var(--accent);
  margin: 0 0 0.25rem;
}
.hud-v {
  font-family: var(--mono);
  font-size: 0.92rem;
  color: var(--ink);
  letter-spacing: -0.02em;
  word-break: break-word;
}

.cases-head { padding-top: 0.45rem; position: relative; z-index: 8; }
.cases-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.7rem 1rem;
  margin: 0 0 0.7rem;
}
.cases-note { font-size: 0.86rem; color: var(--ink-2); max-width: 52rem; margin: 0 0 0.4rem; }
.cases-grid-wrap { padding-top: 0.4rem; }

.fresh-badge {
  position: absolute;
  top: 0.65rem;
  left: 0.65rem;
  z-index: 3;
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: var(--accent);
  color: #04110f;
  padding: 0.2rem 0.45rem;
  border-radius: 999px;
}
.comm-media { position: relative; }

@media (max-width: 900px) {
  .hero-row { grid-template-columns: 1fr; }
  .hero-viz { max-width: 280px; max-height: 140px; }
  .hud { grid-template-columns: 1fr 1fr; }
  .hud-item:nth-child(2) { border-right: 0; }
  .hud-item:nth-child(1), .hud-item:nth-child(2) { border-bottom: 1px solid var(--line); }
}
@media (max-width: 620px) {
  .hero-compact { padding: 0.45rem 0 0.25rem; }
  .hero-viz { display: none; }
  .hero-flare { left: 58%; top: 28%; }
  .nav-more-menu { right: auto; left: 0; }
  .hero-compact .hero-note,
  .hero-compact .hud,
  .hero-compact .quick-answers { display: none; }
  .hero-compact h1 { font-size: clamp(1.28rem, 7.4vw, 1.7rem); margin-bottom: 0; }
  header.site .header-row { padding: 0.45rem 0; }
  .disclaimer { padding: 0.35rem 0.8rem; }
}


@media (max-width: 900px) {
  .feed-talk .lede { display: none; }
  .cases-note { margin-bottom: 0.2rem; }
}
@media (max-width: 620px) {
  .hero-compact .kicker { margin-bottom: 0.2rem; font-size: 0.64rem; }
  .cases-head { padding-top: 0.3rem; }
}


.quick-answers {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.3rem 0.85rem;
  margin: 0.35rem 0 0;
  font-size: 0.8rem;
  color: var(--ink-2);
}
.quick-answers.tight { margin: 0 0 0.85rem; }
.quick-answers .qa-k {
  font-family: var(--mono);
  font-size: 0.66rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--mute);
}
.quick-answers a { color: var(--accent); text-decoration: none; }
.quick-answers a:hover { color: var(--ink); }
.answer-box {
  max-width: 46rem;
  margin: 0 0 1rem;
  padding: 0.85rem 1rem;
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  background: rgba(94, 224, 208, 0.05);
}
.answer-box p { margin: 0; color: var(--ink); max-width: none; }

/* Heat ranking */
.heat-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin: 0;
}
.heat-tabs button {
  appearance: none;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink-2);
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.4rem 0.7rem;
  border-radius: 8px;
  cursor: pointer;
}
.heat-tabs button[aria-pressed="true"],
.heat-tabs button:hover {
  color: #04110f;
  background: var(--accent);
  border-color: var(--accent);
}
.heat-tabs-row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 0.4rem 0.5rem;
  min-width: 0;
}
.heat-hint {
  position: relative;
  z-index: 30;
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}
.heat-hint-btn {
  appearance: none;
  width: 1.7rem;
  height: 1.7rem;
  padding: 0;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  line-height: 0;
}
.heat-hint-btn:hover,
.heat-hint-btn:focus-visible,
.heat-hint-btn[aria-expanded="true"] {
  border-color: var(--accent);
  background: var(--accent-dim);
  color: var(--accent-2);
  outline: none;
}
.heat-hint-btn:focus-visible {
  box-shadow: 0 0 0 2px var(--bg), 0 0 0 4px var(--accent);
}
.heat-hint-ico { display: block; }
.heat-hint-pop {
  position: absolute;
  z-index: 30;
  top: calc(100% + 1rem);
  left: 0;
  width: min(22.5rem, calc(100vw - 1.6rem));
  padding: 0.85rem 0.95rem 0.9rem;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: #0c1016;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(94, 224, 208, 0.08);
  color: var(--ink-2);
  font-size: 0.8rem;
  line-height: 1.55;
}
.heat-hint-pop::before {
  content: "";
  position: absolute;
  top: -5px;
  left: 0.55rem;
  width: 9px;
  height: 9px;
  background: #0c1016;
  border-left: 1px solid var(--line-strong);
  border-top: 1px solid var(--line-strong);
  transform: rotate(45deg);
}
.heat-hint-pop[hidden] { display: none; }
.heat-hint-pop p { margin: 0 0 0.55rem; color: var(--ink-2); }
.heat-hint-more {
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  text-decoration: none;
}
.heat-hint-more:hover { color: var(--ink); }
.heat-hint.is-end .heat-hint-pop {
  left: auto;
  right: 0;
}
.heat-hint.is-end .heat-hint-pop::before {
  left: auto;
  right: 0.55rem;
}
.cases-toolbar {
  align-items: flex-start;
}
.heat-updated { margin: 0; }
.heat-method {
  margin: 0.6rem 0 0;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(8,10,14,0.55);
  padding: 0.2rem 0.9rem 0.2rem;
  color: var(--ink-2);
  font-size: 0.88rem;
  max-width: 52rem;
}
.heat-method summary {
  cursor: pointer;
  color: var(--accent);
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.65rem 0;
  list-style: none;
}
.heat-method summary::-webkit-details-marker { display: none; }
.heat-method summary::after { content: " ↗"; opacity: 0.7; }
.heat-method[open] summary::after { content: " ×"; }
.heat-method ol { padding-left: 1.2rem; }
.heat-method li { margin: 0 0 0.55rem; }
.heat-method ul { margin: 0.35rem 0 0; padding-left: 1.1rem; }
.cases-head .heat-method:not([open]) { display: none; }
.cases-head .heat-method[open] {
  margin: 0.7rem 0 0.15rem;
  max-width: none;
}

.cases-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.35rem 0.85rem;
  margin: 0 0 0.15rem;
  font-size: 0.78rem;
  color: var(--mute);
}
.cases-meta .comm-updated,
.cases-meta .cases-note { margin: 0; max-width: none; font-size: inherit; color: inherit; }
.cases-link {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  text-decoration: none;
  white-space: nowrap;
}
.cases-link:hover { color: var(--ink); }
.cases-after {
  display: grid;
  gap: 1.2rem;
  padding: 1.4rem 0 2.2rem;
  border-top: 1px solid var(--line);
  margin-top: 0.4rem;
}
@media (min-width: 960px) {
  .cases-after {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.15fr);
    align-items: start;
    gap: 1.6rem 2rem;
  }
  .cases-after #discussion { margin: 0; }
  .cases-after .page-thread { margin: 0; }
}
.submit-case {
  margin: 0 0 1rem;
  padding: 1rem 1.05rem 1.1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
}
.submit-case h2 { margin: 0 0 0.35rem; font-size: 1.15rem; }
.submit-case .lede { font-size: 0.84rem; margin-bottom: 0.65rem; }
.tip-form { display: grid; gap: 0.45rem; }
.tip-label {
  display: grid;
  gap: 0.25rem;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-family: var(--mono);
  color: var(--mute);
}
.tip-form input, .tip-form textarea {
  width: 100%;
  background: #0a0c11;
  border: 1px solid var(--line);
  color: var(--ink);
  font: inherit;
  font-size: 0.88rem;
  letter-spacing: 0;
  text-transform: none;
  font-family: var(--sans);
  border-radius: 8px;
  padding: 0.45rem 0.6rem;
}
.tip-form textarea { min-height: 4.2rem; resize: vertical; }
.tip-form button {
  justify-self: start;
  appearance: none;
  border: 0;
  background: var(--accent);
  color: #07110f;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 0.4rem 0.8rem;
  border-radius: 999px;
  cursor: pointer;
}
.tip-ok { color: var(--accent); font-size: 0.85rem; margin: 0.2rem 0 0; }
.cases-after .heat-method {
  margin: 0;
  max-width: none;
}


.heat-rank {
  position: absolute;
  top: 0.65rem;
  right: 0.65rem;
  z-index: 3;
  display: flex;
  align-items: baseline;
  gap: 0.35rem;
  background: rgba(7, 8, 11, 0.82);
  border: 1px solid var(--line);
  color: var(--ink);
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  padding: 0.2rem 0.45rem 0.22rem;
  border-radius: 8px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.heat-rank .heat-n { color: var(--accent); font-weight: 600; }
.heat-move { font-size: 0.66rem; color: var(--mute); }
.heat-move.is-up { color: var(--accent); }
.heat-move.is-down { color: var(--danger); }
.heat-move.is-new { color: var(--accent-2); }

.vote-btn, .share-link {
  appearance: none;
  border: 1px solid transparent;
  background: transparent;
  color: #f3f6f8;
  font-family: var(--mono);
  font-size: 0.8rem;
  font-weight: 500;
  padding: 0.28rem 0.55rem;
  border-radius: 999px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  text-decoration: none;
}
.vote-btn .ico, .share-link .ico { width: 15px; height: 15px; display: block; }
.vote-btn[aria-pressed="true"] { color: var(--accent); background: var(--accent-dim); }
.vote-btn:hover, .share-link:hover { color: #fff; background: rgba(255,255,255,0.08); }
.vote-n { font-variant-numeric: tabular-nums; min-width: 0.8em; }
.comm-media .engage { flex-wrap: wrap; max-width: calc(100% - 0.4rem); }

/* Share / card pages */
.share-page { padding: 1.4rem 0 2rem; }
.share-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--card);
}
.share-og { width: 100%; height: auto; aspect-ratio: 1200 / 630; object-fit: cover; background: #0a0c10; }
.share-body { padding: 1.2rem 1.15rem 1.4rem; }
.share-body h1 { font-size: clamp(1.4rem, 3vw, 2rem); }
.share-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 1rem 0 0.6rem;
}
.share-actions .share-btn,
.share-actions .vote-btn {
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.03);
  color: var(--ink);
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  padding: 0.45rem 0.75rem;
  border-radius: 8px;
  text-decoration: none;
  cursor: pointer;
}
.share-actions .share-btn:hover,
.share-actions .vote-btn:hover,
.share-actions .vote-btn[aria-pressed="true"] {
  border-color: var(--accent);
  color: var(--accent);
}
.share-flash { color: var(--accent); font-size: 0.86rem; min-height: 1.2em; }
.badge-embed {
  margin-top: 1.2rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  color: var(--ink-2);
  font-size: 0.9rem;
}
.badge-preview { display: inline-block; margin: 0.5rem 0; }
.badge-snippet {
  background: #050608;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0.7rem 0.8rem;
  overflow-x: auto;
  font-size: 0.72rem;
  color: var(--ink-2);
  white-space: pre-wrap;
  word-break: break-word;
}
.share-page + .heat-method,
main > .heat-method { width: min(var(--max), calc(100% - 2.4rem)); margin: 0 auto 2rem; }

@media (max-width: 620px) {
  .heat-tabs button { padding: 0.35rem 0.5rem; font-size: 0.66rem; }
  .comm-media .engage { gap: 0.15rem; padding: 0.15rem; }
  .vote-btn, .like-btn, .cmt-toggle, .share-link { padding: 0.24rem 0.4rem; }
}

/* --- one-tap vote + rank card (2026-11-13 interaction pass) --- */
.case-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 0.8rem; margin: 0.55rem 0 0.7rem; }
.vote-main {
  border: 1px solid rgba(94,224,208,0.55);
  background: var(--accent-dim);
  color: var(--accent-2);
  font-family: var(--mono);
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  padding: 0.5rem 0.95rem;
  min-height: 40px;
  border-radius: 999px;
  gap: 0.45rem;
  transition: transform .12s ease, background .15s ease;
}
.vote-main:hover { background: rgba(94,224,208,0.24); color: #fff; }
.vote-main:active { transform: scale(0.96); }
.vote-main[aria-pressed="true"] { background: var(--accent); color: #04110f; border-color: var(--accent); }
.vote-main .vote-tri { font-size: 0.72em; line-height: 1; }
.vote-main .vote-n { padding-left: 0.45rem; border-left: 1px solid currentColor; opacity: 0.85; }
.vote-n[data-zero="1"] { display: none; }
/* r4: hide zero counts on the media overlay (a wall of 0s read as "nobody here") */
.comm-media .engage .vote-n[data-zero="1"], .like-n[data-zero="1"], .cmt-n[data-zero="1"] { display: none; }
.cases-ask { flex-basis: 100%; margin: 0 0 0.35rem; font-size: 0.92rem; color: var(--ink); line-height: 1.45; }
.cases-ask strong { color: var(--accent); font-weight: 600; }
.cases-ask .ask-tri { font-family: var(--mono); font-size: 0.82em; white-space: nowrap; border: 1px solid var(--accent); border-radius: 999px; padding: 0.05rem 0.45rem; color: var(--accent); }
.author-strip { margin: 0.6rem 0 0; display: flex; flex-wrap: wrap; gap: 0.5rem; align-items: center; font-size: 0.86rem; color: var(--ink-2); }
.author-strip strong { color: var(--ink); }
.author-strip a, .author-strip button { font-family: var(--mono); font-size: 0.78rem; }
.vote-hint { color: var(--mute); font-size: 0.78rem; font-family: var(--mono); }
.card-link { color: var(--accent); font-size: 0.82rem; font-family: var(--mono); text-decoration: none; margin-left: auto; }
.card-link:hover { text-decoration: underline; }
.vote-cta { margin: 0.6rem 0 1.1rem; padding: 1rem 1.1rem; border: 1px solid var(--line-strong); border-radius: var(--radius); background: linear-gradient(135deg, rgba(94,224,208,0.08), rgba(255,255,255,0.02)); }
.vote-cta-t { margin: 0 0 0.75rem; color: var(--ink); font-size: 1.02rem; }
.vote-cta .vote-hint { margin: 0.6rem 0 0; }
.vote-big { font-size: 0.95rem; padding: 0.7rem 1.3rem; min-height: 48px; }
.vote-cta.spotlight { border-color: var(--accent); box-shadow: 0 0 0 4px rgba(94,224,208,0.15), 0 0 40px rgba(94,224,208,0.18); }
.rank-card { display: grid; grid-template-columns: minmax(200px, 300px) 1fr; gap: 1.4rem; align-items: start; margin-top: 1.6rem; padding-top: 1.4rem; border-top: 1px solid var(--line); }
.rank-card-img img { width: 100%; height: auto; aspect-ratio: 2 / 3; border-radius: 12px; border: 1px solid var(--line-strong); display: block; background: #0a0c10; }
.rank-card h2 { font-size: 1.2rem; margin: 0 0 0.5rem; }
.rank-card p { color: var(--ink-2); }
.share-actions .share-btn.primary { border-color: var(--accent); color: #04110f; background: var(--accent); }
.share-actions .share-btn[hidden] { display: none; }
#vote-toast { position: fixed; left: 50%; bottom: 22px; transform: translate(-50%, 140%); z-index: 90; max-width: min(92vw, 520px); padding: 0.75rem 1rem; border-radius: 12px; background: #0f1a1a; border: 1px solid var(--accent); color: var(--ink); font-size: 0.9rem; box-shadow: 0 10px 30px rgba(0,0,0,0.5); transition: transform .25s ease; }
#vote-toast.show { transform: translate(-50%, 0); }
#vote-toast a { color: var(--accent); margin-left: 0.3rem; }
@media (max-width: 640px) {
  .rank-card { grid-template-columns: 1fr; }
  .rank-card-img { max-width: 320px; }
  .card-link { margin-left: 0; }
}

/* 2026-11-14 tools and comparison entry; home content/order otherwise unchanged. */
.home-entry { padding-top: 12px; padding-bottom: 32px; }
.home-entry .card-link { display: block; color: inherit; text-decoration: none; }
.home-entry h3 { font-size: 1rem; }
.home-entry p { color: var(--mute); font-size: .87rem; }
.calc { padding: 24px; border: 1px solid var(--line); border-radius: 12px; margin: 28px 0; }
.calc fieldset { border: 0; padding: 0; margin: 0 0 24px; }
.calc legend { font-weight: 600; margin-bottom: 12px; }
.calc .chips { display: flex; flex-wrap: wrap; gap: 8px; }
.calc .chip { background: #101720; color: #d6e1ea; border: 1px solid #354451; border-radius: 6px; padding: 10px 14px; text-align: left; cursor: pointer; }
.calc .chip:hover, .calc .chip.on { border-color: #4de1c6; color: #4de1c6; }
.calc-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px; }
.calc label { display: grid; gap: 8px; color: #d6e1ea; font-size: .9rem; }
.calc input[type=number], .calc select { box-sizing: border-box; width: 100%; min-height: 44px; border-radius: 6px; border: 1px solid #354451; background: #0b1118; color: #eff6fb; padding: 10px; font: inherit; }
.calc label.chk { display: block; line-height: 2; }
.calc .chk input, .migration-list input { accent-color: #4de1c6; }
.calc .chk select { width: auto; display: inline-block; }
.calc-out { border: 1px solid #354451; border-radius: 12px; padding: 12px 24px; }
.calc-total > span:first-child { color: #4de1c6; font-size: clamp(1.7rem,5vw,2.6rem); font-variant-numeric: tabular-nums; }
.calc-total .muted { font-size: .9rem; }
.faq-item { padding: 22px 0; border-bottom: 1px solid #25313c; }
.faq-item h2 { display: inline; font-size: 1.2rem; }
.faq-item summary { cursor: pointer; line-height: 1.6; }
.faq-item p { overflow-wrap: anywhere; }
.migration-list li { padding: 12px 0; }
.migration-list p { margin: 6px 0 0; }
@media(max-width:600px) { .calc { padding: 16px; } .calc-grid { grid-template-columns: 1fr; } .home-entry .cards { grid-template-columns: 1fr; } .calc-total { line-height: 1.4; } }

/* Header tab 2 "Compare & pricing" (14 Nov 2026) */
.nav-compare summary { color: var(--ink); font-weight: 600; }
.nav-compare .nav-more-menu { min-width: 15rem; }
.nav-compare .nav-more-menu a:first-child { color: var(--accent); font-weight: 600; border-bottom: 1px solid var(--line); margin-bottom: 0.2rem; }
.nav-last .nav-more-menu { right: 0; left: auto; }
@media (max-width: 620px) {
  .nav-compare .nav-more-menu { right: auto; left: 0; max-width: calc(100vw - 1.4rem); }
  .nav-last .nav-more-menu { right: 0; left: auto; }
}
