/* Crowd — Shill's site sheet (the template), kept as it is; Crowd's own rules are in css/crowd.css. Shill's note: the site (2026-10-12, his verdict "site is fucking coal / make it more like Snoop but dont copy snoop exactly").
   Snoop's spirit, Shill's own look: a light mint STUDIO with the megaphone buddy (the kit's character, cut out) floating in it,
   white rounded cards, ink type with a yellow HIGHLIGHTER for emphasis (Snoop uses a serif italic), the kit's props as the
   art (yellow card, stopwatch, whistle, camera, megaphone). Bricolage Grotesque + Figtree + JetBrains Mono. Green / red /
   orange only for state. Fixed slots everywhere. (The dark broadcast sheet is kept in research/site-dark-1012.css.) */
@font-face { font-family: "Bricolage"; src: url(/fonts/Bricolage-600.ttf) format("truetype"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Bricolage"; src: url(/fonts/Bricolage-700.ttf) format("truetype"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Bricolage"; src: url(/fonts/Bricolage-800.ttf) format("truetype"); font-weight: 800; font-display: swap; }
@font-face { font-family: "Figtree"; src: url(/fonts/Figtree-400.ttf) format("truetype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Figtree"; src: url(/fonts/Figtree-500.ttf) format("truetype"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Figtree"; src: url(/fonts/Figtree-600.ttf) format("truetype"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Figtree"; src: url(/fonts/Figtree-700.ttf) format("truetype"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Mono"; src: url(/fonts/JetBrainsMono-500.ttf) format("truetype"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Mono"; src: url(/fonts/JetBrainsMono-700.ttf) format("truetype"); font-weight: 700; font-display: swap; }

:root {
  --page: #f3faf7; --studio1: #e6f7f0; --studio2: #c3eadc; --card: #ffffff; --card2: #f7fbf9; --tint: #e9f6f1;
  --ink: #14181c; --ink2: #47525c; --ink3: #8a959e; --line: rgba(20,24,28,.08); --line2: rgba(20,24,28,.14);
  --hi: #ffd23f; --hi2: rgba(255,210,63,.55); --teal: #0d7f66;
  --bad: #e5484d; --warn: #ee8a1e; --good: #17a34a; --calm: #8a959e;
  --display: "Bricolage", "Figtree", system-ui, sans-serif; --text: "Figtree", system-ui, sans-serif; --mono: "Mono", ui-monospace, monospace;
  --r: 22px; --r2: 14px; --pill: 999px;
  --sh: 0 1px 2px rgba(20,24,28,.05), 0 20px 44px -18px rgba(18,74,60,.22); --sh2: 0 1px 2px rgba(20,24,28,.06), 0 30px 70px -24px rgba(18,74,60,.32);
  --wrap: 1200px; --ease: cubic-bezier(.2,.7,.2,1);
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { background: var(--page); color: var(--ink); -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 400 16px/1.6 var(--text); background: var(--page); min-height: 100vh; }
a { color: inherit; text-decoration: none; }
::selection { background: var(--hi); color: var(--ink); }
:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; border-radius: 6px; }
img { display: block; max-width: 100%; height: auto; }          /* the width/height attributes only reserve the shape: a CSS width alone must not stretch a picture */
.num, .mono { font-family: var(--mono); font-variant-numeric: tabular-nums; }
.wrap { width: min(var(--wrap), 100% - 40px); margin: 0 auto; }
.muted { color: var(--ink3); } .up { color: var(--good); } .down { color: var(--bad); }
.bot-h { white-space: nowrap; }
.hl { background: linear-gradient(transparent 58%, var(--hi2) 58%, var(--hi2) 92%, transparent 92%); padding: 0 .08em; }

/* ---- nav ---- */
.nav { position: sticky; top: 0; z-index: 30; background: rgba(243,250,247,.82); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.nav-in { display: flex; align-items: center; gap: 18px; height: 66px; width: min(1280px, 100% - 32px); margin: 0 auto; }
.brand { display: inline-flex; align-items: center; gap: 10px; font: 800 24px/1 var(--display); letter-spacing: -.02em; }
.brand img { width: 38px; height: 38px; border-radius: 12px; box-shadow: 0 6px 16px -6px rgba(18,74,60,.4); }
.nav-links { display: flex; gap: 2px; margin-left: 10px; flex: 1; min-width: 0; }
.nav-links a { font: 600 15px/1 var(--text); color: var(--ink2); padding: 9px 12px; border-radius: var(--pill); white-space: nowrap; transition: background .15s, color .15s; }
.nav-links a:hover, .nav-links a.is-on { background: var(--card); color: var(--ink); }
.nav-right { display: flex; align-items: center; gap: 10px; }
.clock { font: 500 12px/1 var(--mono); color: var(--ink3); white-space: nowrap; }
.nav-find input { height: 40px; width: 190px; border: 0; border-radius: var(--pill); padding: 0 16px 0 36px; background: var(--card) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%238a959e' stroke-width='2.5' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-3.5-3.5'/%3E%3C/svg%3E") 13px 50% no-repeat; box-shadow: inset 0 0 0 1px var(--line2); font: 600 14px/1 var(--text); color: var(--ink); }
.nav-find input:focus { outline: none; box-shadow: inset 0 0 0 2px var(--ink); }
@media (max-width: 1280px) { .nav-find input { width: 150px; } }
@media (max-width: 760px) { .nav-find { display: none; } }
.chip-coin { font: 700 13px/1 var(--mono); color: var(--ink); background: var(--hi); padding: 8px 11px; border-radius: var(--pill); white-space: nowrap; }
@media (max-width: 1180px) { .clock { display: none; } }
@media (max-width: 980px) { .nav-links a:nth-child(n+4) { display: none; } }
@media (max-width: 680px) { .nav-links { display: none; } .chip-coin { display: none; } .brand span { display: none; } }

/* ---- buttons, pills ---- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 50px; padding: 0 24px; border-radius: var(--pill); border: 0; cursor: pointer;
  font: 700 16px/1 var(--text); background: var(--ink); color: #fff; box-shadow: 0 10px 24px -10px rgba(20,24,28,.5); transition: transform .15s var(--ease), box-shadow .15s, background .15s; white-space: nowrap; }
.btn:hover { transform: translateY(-1px); box-shadow: 0 14px 30px -12px rgba(20,24,28,.55); }
.btn.line { background: var(--card); color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line2); }
.btn.line:hover { box-shadow: inset 0 0 0 1.5px var(--ink2); }
.btn.hi { background: var(--hi); color: var(--ink); box-shadow: 0 10px 24px -12px rgba(200,150,0,.6); }
.btn.sm { height: 40px; padding: 0 18px; font-size: 14px; }
.btn[disabled] { opacity: .45; cursor: default; transform: none; }
.pill { display: inline-flex; align-items: center; gap: 8px; height: 34px; padding: 0 14px; border-radius: var(--pill); background: var(--card); box-shadow: inset 0 0 0 1px var(--line); font: 600 13px/1 var(--text); color: var(--ink2); white-space: nowrap; }
.pill i { width: 8px; height: 8px; border-radius: 50%; background: var(--good); box-shadow: 0 0 0 4px rgba(23,163,74,.15); }
.eyebrow { font: 700 12px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--teal); }
.lbl { font: 700 11px/1.2 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--ink3); }
.sample { font: 600 10px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--ink3); background: var(--tint); padding: 5px 7px; border-radius: 6px; }

/* ---- the studio hero: the megaphone buddy shouting the three verdicts ---- */
.hero { position: relative; background: radial-gradient(900px 500px at 78% 40%, rgba(255,255,255,.7), transparent 60%), linear-gradient(180deg, var(--studio1), var(--studio2)); padding: 64px 0 170px; overflow: hidden; }
.hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 120px; background: linear-gradient(180deg, rgba(243,250,247,0), var(--page)); }
.hero-in { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 30px; align-items: center; }
.hero h1 { font: 800 clamp(40px, 4.3vw, 60px)/1.02 var(--display); letter-spacing: -.035em; margin: 22px 0 22px; }
.lead { font: 400 19px/1.6 var(--text); color: var(--ink2); max-width: 54ch; margin: 0 0 30px; }
.lead b { color: var(--ink); font-weight: 600; }
.cta { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.facts { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 26px 0 0; padding: 0; font: 500 12px/1 var(--mono); color: var(--ink2); }
.facts li::before { content: "● "; color: var(--teal); }
.hero-copy { min-width: 0; }
.hero-stage { position: relative; height: 520px; }
.stage-glow { position: absolute; left: 50%; top: 52%; width: 420px; height: 420px; transform: translate(-50%, -50%); border-radius: 50%; background: radial-gradient(circle, rgba(255,255,255,.95), rgba(255,255,255,0) 66%); }
.stage-floor { position: absolute; left: 50%; bottom: 58px; width: 280px; height: 34px; transform: translateX(-50%); border-radius: 50%; background: radial-gradient(closest-side, rgba(18,74,60,.28), rgba(18,74,60,0)); animation: floor 4.6s ease-in-out infinite; }
.mascot { position: absolute; left: 50%; bottom: 74px; width: min(330px, 70%); height: auto; transform: translateX(-50%); filter: drop-shadow(0 26px 30px rgba(18,74,60,.25)); animation: bob 4.6s ease-in-out infinite; }
.sticker { position: absolute; z-index: 1; display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px 10px 12px; border-radius: 14px; background: var(--card); box-shadow: var(--sh2); font: 800 15px/1 var(--display); letter-spacing: -.01em; white-space: nowrap; animation: pop .7s var(--ease) both, drift 6s ease-in-out infinite; }
.sticker i { width: 12px; height: 12px; border-radius: 4px; }
.sticker.is-bad i { background: var(--bad); } .sticker.is-warn i { background: var(--warn); } .sticker.is-good i { background: var(--good); }
.sticker.s1 { right: 4%; top: 116px; rotate: 4deg; animation-delay: .3s, .3s; }
.sticker.s2 { right: 0; top: 196px; rotate: -3deg; animation-delay: .5s, 1.2s; }
.sticker.s3 { left: 2%; top: 150px; rotate: -5deg; animation-delay: .7s, 2.1s; }
.bubble { position: absolute; z-index: 2; left: 50%; top: 0; transform: translateX(-50%); width: min(380px, 92%); display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 10px; align-items: center; padding: 12px 14px; border-radius: 16px; background: var(--card); box-shadow: var(--sh2); }
.bubble::after { content: ""; position: absolute; left: 50%; bottom: -8px; width: 16px; height: 16px; background: var(--card); transform: translateX(-50%) rotate(45deg); border-radius: 3px; }
.bubble img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; background: var(--tint); }
.bubble b { display: block; font: 700 15px/1.2 var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bubble span { display: block; font: 600 11px/1.3 var(--mono); color: var(--ink3); text-transform: uppercase; letter-spacing: .06em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@keyframes bob { 0%, 100% { transform: translate(-50%, 0) rotate(-1.5deg); } 50% { transform: translate(-50%, -12px) rotate(1.5deg); } }
@keyframes floor { 0%, 100% { transform: translateX(-50%) scale(1); opacity: 1; } 50% { transform: translateX(-50%) scale(.86); opacity: .7; } }
@keyframes drift { 0%, 100% { translate: 0 0; } 50% { translate: 0 -8px; } }
@keyframes pop { from { opacity: 0; scale: .6; } to { opacity: 1; scale: 1; } }
@media (max-width: 960px) { .hero-in { grid-template-columns: minmax(0, 1fr); } .hero-stage { height: 440px; order: -1; } .hero { padding: 26px 0 150px; } }
@media (max-width: 520px) { .hero-stage { height: 400px; } .mascot { width: 210px; bottom: 60px; } .stage-floor { bottom: 46px; width: 200px; } .sticker { font-size: 13px; padding: 8px 12px 8px 10px; } .sticker.s1 { top: 104px; } .sticker.s2 { top: 168px; } .sticker.s3 { top: 136px; } .lead { font-size: 17px; } }

/* ---- the demo: an X thread with the bot's real answer + the try panel ---- */
.demo { position: relative; z-index: 2; margin-top: -130px; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); background: var(--card); border-radius: 28px; box-shadow: var(--sh2); overflow: hidden; }
@media (max-width: 960px) { .demo { grid-template-columns: minmax(0, 1fr); } }
.thread { padding: 26px 28px 28px; min-width: 0; }
.panel-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 18px; }
.panel-top .x { display: inline-flex; align-items: center; gap: 8px; }
.panel-top svg { width: 15px; height: 15px; }
.tw { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 12px; position: relative; padding-bottom: 16px; }
.tw:not(:last-child)::before { content: ""; position: absolute; left: 21px; top: 50px; bottom: 2px; width: 2px; background: var(--line2); border-radius: 2px; }
.tw img.av { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; background: var(--tint); }
.tw .you { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--tint); font: 700 13px/1 var(--text); color: var(--teal); }
.tw-head { display: flex; gap: 6px; align-items: baseline; min-width: 0; font: 400 14px/1.3 var(--text); color: var(--ink3); white-space: nowrap; overflow: hidden; }
.tw-head b { color: var(--ink); font-weight: 700; overflow: hidden; text-overflow: ellipsis; }
.tw-text { margin: 4px 0 0; font: 400 15px/1.5 var(--text); color: var(--ink); white-space: pre-wrap; overflow-wrap: anywhere; }
.tw-text .tag { color: var(--teal); font-weight: 600; }
.tw-text.is-clip { max-height: 4.6em; overflow: hidden; -webkit-mask-image: linear-gradient(#000 60%, transparent); mask-image: linear-gradient(#000 60%, transparent); }
.tw-card { margin-top: 12px; border-radius: 16px; overflow: hidden; box-shadow: inset 0 0 0 1px var(--line); background: #121417; aspect-ratio: 16 / 9; }
.tw-card img { width: 100%; height: 100%; object-fit: cover; }
.try { padding: 26px 28px 28px; background: var(--card2); border-left: 1px solid var(--line); min-width: 0; display: flex; flex-direction: column; }
@media (max-width: 960px) { .try { border-left: 0; border-top: 1px solid var(--line); } }
.try h2 { font: 800 34px/1.05 var(--display); letter-spacing: -.03em; margin: 0 0 6px; }
.try p.sub { margin: 0 0 16px; color: var(--ink2); font-size: 15px; }
.ask { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; }
.ask input { height: 50px; border-radius: var(--pill); border: 0; padding: 0 20px; background: var(--card); box-shadow: inset 0 0 0 1.5px var(--line2); font: 500 15px/1 var(--mono); color: var(--ink); outline: none; min-width: 0; }
.ask input:focus { box-shadow: inset 0 0 0 2px var(--teal); }
.ask input::placeholder { color: var(--ink3); }
.result { margin-top: 16px; flex: 1; display: flex; flex-direction: column; gap: 10px; min-height: 430px; }
.verdict { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: var(--r2); background: var(--card); box-shadow: inset 0 0 0 1px var(--line); height: 70px; }
.verdict b { font: 800 22px/1.1 var(--display); letter-spacing: -.02em; white-space: nowrap; }
.verdict span { font: 500 13px/1.35 var(--text); color: var(--ink2); min-width: 0; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.verdict .dot { width: 14px; height: 14px; border-radius: 5px; flex: none; background: var(--calm); }
.verdict.is-bad .dot { background: var(--bad); } .verdict.is-warn .dot { background: var(--warn); } .verdict.is-good .dot { background: var(--good); }
.stats4 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.st4 { background: var(--card); border-radius: var(--r2); box-shadow: inset 0 0 0 1px var(--line); padding: 12px 14px; min-width: 0; height: 78px; }
.st4 b { display: block; font: 800 22px/1.1 var(--display); letter-spacing: -.02em; margin-top: 6px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.answer { font: 400 14px/1.5 var(--text); color: var(--ink2); background: var(--card); border-radius: var(--r2); box-shadow: inset 0 0 0 1px var(--line); padding: 12px 14px; white-space: pre-wrap; overflow-wrap: anywhere; flex: 1; min-height: 120px; margin: 0; overflow: auto; }
.result-foot { display: flex; justify-content: space-between; gap: 10px; font: 500 12px/1.4 var(--mono); color: var(--ink3); }
.result-foot a { color: var(--teal); font-weight: 700; }
.thinking { display: inline-flex; gap: 5px; align-items: center; }
.thinking i { width: 7px; height: 7px; border-radius: 50%; background: var(--teal); animation: think 1s infinite; }
.thinking i:nth-child(2) { animation-delay: .15s; } .thinking i:nth-child(3) { animation-delay: .3s; }
@keyframes think { 50% { opacity: .2; transform: translateY(-3px); } }

/* ---- sections ---- */
.sec { padding-top: 96px; }
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 26px; }
.sec-head h2 { font: 800 clamp(34px, 4.2vw, 54px)/1.02 var(--display); letter-spacing: -.035em; margin: 12px 0 0; }
.sec-head .more { font: 700 14px/1 var(--text); color: var(--teal); white-space: nowrap; }
.sec-head .note { font: 500 12px/1.3 var(--mono); color: var(--ink3); white-space: nowrap; }
@media (max-width: 640px) { .sec { padding-top: 72px; } .sec-head .note { display: none; } }

/* the three verdicts, each with its prop */
.verdicts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
@media (max-width: 900px) { .verdicts { grid-template-columns: minmax(0, 1fr); } }
.vcard { position: relative; background: var(--card); border-radius: var(--r); box-shadow: var(--sh); padding: 26px 26px 28px; overflow: hidden; min-width: 0; transition: transform .2s var(--ease); }
.vcard:hover { transform: translateY(-4px); }
.vcard .prop { height: 170px; display: grid; place-items: center; margin: -6px -6px 16px; border-radius: 16px; background: radial-gradient(circle at 50% 60%, #fff, var(--tint) 70%); }
.vcard .prop img { max-height: 140px; max-width: 70%; object-fit: contain; filter: drop-shadow(0 14px 16px rgba(18,74,60,.22)); transition: transform .4s var(--ease); }
.vcard:hover .prop img { transform: rotate(-6deg) scale(1.05); }
.tagv { display: inline-flex; align-items: center; gap: 7px; font: 700 11px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--ink2); }
.tagv i { width: 10px; height: 10px; border-radius: 3px; }
.vcard.is-bad .tagv i { background: var(--bad); } .vcard.is-warn .tagv i { background: var(--warn); } .vcard.is-good .tagv i { background: var(--good); }
.vcard h3 { font: 800 30px/1.05 var(--display); letter-spacing: -.03em; margin: 10px 0 10px; }
.vcard p { margin: 0; color: var(--ink2); font-size: 15px; }
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 18px; }
@media (max-width: 900px) { .steps { grid-template-columns: minmax(0, 1fr); } }
.step { display: grid; grid-template-columns: 46px minmax(0, 1fr); gap: 14px; background: var(--card2); border-radius: var(--r); padding: 20px 22px; box-shadow: inset 0 0 0 1px var(--line); }
.step .n { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--hi); font: 800 20px/1 var(--display); }
.step b { display: block; font: 800 18px/1.2 var(--display); letter-spacing: -.02em; margin: 2px 0 4px; }
.step span { color: var(--ink2); font-size: 14px; }

/* fresh calls: tiles */
.fresh { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 1100px) { .fresh { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .fresh { grid-template-columns: minmax(0, 1fr); } }
.fcard { position: relative; display: flex; flex-direction: column; background: var(--card); border-radius: var(--r); box-shadow: var(--sh); overflow: hidden; min-width: 0; height: 268px; transition: transform .2s var(--ease), box-shadow .2s; }
.fcard:hover { transform: translateY(-4px); box-shadow: var(--sh2); }
.fcover { position: absolute; inset: 0; z-index: 1; border-radius: inherit; }
.fwho-l { position: relative; z-index: 2; display: flex; align-items: center; gap: 9px; min-width: 0; border-radius: 8px; }
.fwho-l:hover b { text-decoration: underline; text-underline-offset: 3px; }
.fchart { position: relative; height: 124px; background: var(--card2); border-bottom: 1px solid var(--line); }
.fchart canvas { width: 100%; height: 124px; display: block; }
.vtag { position: absolute; left: 12px; top: 12px; display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; border-radius: var(--pill); background: var(--card); box-shadow: 0 4px 12px -4px rgba(20,24,28,.2); font: 700 11px/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; }
.vtag i { width: 8px; height: 8px; border-radius: 3px; background: var(--calm); }
.vchip { display: inline-block; font: 700 11px/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; padding: 6px 10px; border-radius: var(--pill); background: var(--tint); white-space: nowrap; }
.vchip.is-bad { background: rgba(229,72,77,.12); color: var(--bad); } .vchip.is-warn { background: rgba(238,138,30,.14); color: #b8620a; } .vchip.is-good { background: rgba(23,163,74,.12); color: var(--good); } .vchip.is-calm { color: var(--ink2); }
.vtag.is-bad i { background: var(--bad); } .vtag.is-warn i { background: var(--warn); } .vtag.is-good i { background: var(--good); }
.fbody { padding: 14px 16px 16px; display: grid; gap: 8px; min-width: 0; }
.fwho { display: flex; align-items: center; gap: 9px; min-width: 0; }
.fwho img { width: 28px; height: 28px; border-radius: 50%; object-fit: cover; background: var(--tint); flex: none; }
.fwho b { font: 700 15px/1.2 var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fcoin { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; min-width: 0; }
.fcoin b { font: 800 23px/1 var(--display); letter-spacing: -.02em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.fcoin span { font: 700 16px/1 var(--mono); white-space: nowrap; }
.fline { font: 500 12px/1.3 var(--mono); color: var(--ink3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* standings */
.tables { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
@media (max-width: 980px) { .tables { grid-template-columns: minmax(0, 1fr); } }
.table { background: var(--card); border-radius: var(--r); box-shadow: var(--sh); overflow: hidden; min-width: 0; }
.table-head { display: grid; grid-template-columns: 74px minmax(0, 1fr); gap: 14px; align-items: center; padding: 18px 20px; min-height: 112px; border-bottom: 1px solid var(--line); }
.table-head img { width: 74px; height: 74px; object-fit: contain; filter: drop-shadow(0 10px 12px rgba(18,74,60,.2)); }
.table-head h3 { font: 800 26px/1.05 var(--display); letter-spacing: -.03em; margin: 0 0 4px; }
.table-head p { margin: 0; font-size: 14px; color: var(--ink2); }
.lrows { min-height: calc(8 * 62px); }
.lrow { display: grid; grid-template-columns: 30px minmax(0, 1fr) 176px 64px 54px; gap: 10px; align-items: center; height: 62px; padding: 0 18px; border-top: 1px solid var(--line); transition: background .15s; }
.lrow:first-child { border-top: 0; }
.lrow:hover { background: var(--card2); }
.lrow .rk { font: 800 18px/1 var(--display); color: var(--ink3); }
.lrow:nth-child(-n+3) .rk { color: var(--ink); }
.lrow .who { display: flex; align-items: center; gap: 10px; min-width: 0; }
.lrow .who img { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; background: var(--tint); flex: none; }
.lrow .who span { min-width: 0; }
.lrow .who b { display: block; font: 700 15px/1.2 var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lrow .who em { display: block; font: 500 12px/1.3 var(--text); font-style: normal; color: var(--ink3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lrow .n { font: 700 16px/1 var(--mono); text-align: right; }
.form { display: flex; gap: 3px; justify-content: flex-end; }
.fk { display: inline-grid; place-items: center; width: 19px; height: 19px; border-radius: 6px; font: 800 10px/1 var(--display); color: #fff; background: var(--line); }
.fk.is-SOLD_INTO_YOU { background: var(--bad); } .fk.is-FRONT_RAN { background: var(--warn); } .fk.is-CLEAN { background: var(--good); } .fk.is-PRICE_ONLY { background: var(--calm); }
.form-key { display: flex; flex-wrap: wrap; gap: 6px 16px; align-items: center; margin-top: 14px; font: 500 12px/1.4 var(--mono); color: var(--ink3); }
.lempty { padding: 26px 20px; color: var(--ink3); font-size: 15px; }
.lempty b { color: var(--ink2); font-weight: 600; }
@media (max-width: 520px) { .lrow { grid-template-columns: 22px minmax(0, 1fr) 54px 46px; padding: 0 14px; } .lrow > :nth-child(3) { display: none; } .fk { width: 16px; height: 16px; } }

/* the card, explained */
.anatomy { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, .65fr); gap: 26px; align-items: center; }
@media (max-width: 960px) { .anatomy { grid-template-columns: minmax(0, 1fr); } }
.anatomy-card { position: relative; border-radius: 22px; overflow: hidden; box-shadow: var(--sh2); background: #eef0f3; aspect-ratio: 16 / 9; }
.anatomy-card img { width: 100%; height: 100%; object-fit: cover; }
.anatomy-card .pin { position: absolute; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--hi); font: 800 15px/1 var(--display); box-shadow: 0 0 0 5px rgba(255,210,63,.35); }
.anatomy ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.anatomy li { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 12px; }
.anatomy li .pin { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--hi); font: 800 16px/1 var(--display); }
.anatomy li b { display: block; font: 800 18px/1.2 var(--display); letter-spacing: -.02em; }
.anatomy li span { color: var(--ink2); font-size: 15px; }

/* bands */
.band2 { display: grid; grid-template-columns: 150px minmax(0, 1fr) auto; gap: 26px; align-items: center; padding: 24px 30px; border-radius: 28px; box-shadow: var(--sh); }
.band2 img { width: 150px; height: 130px; object-fit: contain; filter: drop-shadow(0 14px 16px rgba(18,74,60,.25)); }
.band2 h3 { font: 800 clamp(28px, 3.2vw, 40px)/1.05 var(--display); letter-spacing: -.03em; margin: 0 0 8px; }
.band2 p { margin: 0; color: var(--ink2); max-width: 62ch; }
.band2.is-coin { background: linear-gradient(120deg, #fff4c7, var(--hi)); }
.band2.is-link { background: linear-gradient(120deg, var(--studio1), var(--studio2)); }
.band2 code { font: 600 14px/1.4 var(--mono); color: var(--ink); background: rgba(255,255,255,.7); padding: 6px 10px; border-radius: 10px; display: inline-block; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (max-width: 760px) { .band2 { grid-template-columns: 90px minmax(0, 1fr); padding: 20px; } .band2 img { width: 90px; height: 80px; } .band2 .btn { grid-column: 1 / -1; justify-self: start; } }

/* faq */
.faq { display: grid; gap: 10px; }
.faq details { background: var(--card); border-radius: 18px; box-shadow: var(--sh); }
.faq summary { cursor: pointer; list-style: none; padding: 18px 22px; font: 700 18px/1.3 var(--display); letter-spacing: -.01em; display: flex; justify-content: space-between; gap: 18px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 700 22px/1 var(--text); color: var(--teal); }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 0; padding: 0 22px 20px; color: var(--ink2); max-width: 80ch; }

/* footer */
.foot { margin-top: 110px; background: linear-gradient(180deg, var(--studio1), var(--studio2)); border-top: 1px solid var(--line); position: relative; overflow: hidden; }
.foot-in { display: grid; grid-template-columns: minmax(0, 2fr) repeat(3, minmax(0, 1fr)); gap: 30px; padding: 46px 0 30px; position: relative; z-index: 1; }
.foot h4 { font: 700 12px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--ink3); margin: 0 0 12px; }
.foot a { display: block; color: var(--ink2); padding: 4px 0; font-size: 15px; } .foot a:hover { color: var(--ink); }
.foot .say { font: 800 26px/1.1 var(--display); letter-spacing: -.02em; margin: 14px 0 8px; }
.foot .fine { grid-column: 1 / -1; border-top: 1px solid var(--line2); padding-top: 18px; color: var(--ink3); font-size: 13px; }
.foot-buddy { position: absolute; right: 4%; bottom: -26px; width: 180px; opacity: .95; filter: drop-shadow(0 18px 20px rgba(18,74,60,.25)); transform: rotate(-8deg); }
@media (max-width: 760px) { .foot-in { grid-template-columns: 1fr 1fr; } .foot-buddy { width: 110px; } }

/* ---- app pages: a studio band on top ---- */
.band { position: relative; background: linear-gradient(180deg, var(--studio1), var(--studio2)); padding: 46px 0 40px; overflow: hidden; }
.band.is-short { padding: 36px 0 30px; }
.band-prop { position: absolute; z-index: 0; right: 4%; top: 26px; width: 150px; max-height: 170px; object-fit: contain; filter: drop-shadow(0 18px 20px rgba(18,74,60,.22)); transform: rotate(-8deg); pointer-events: none; animation: drift 6s ease-in-out infinite; }
@media (min-width: 1100px) { .band .call-head { padding-right: 190px; } .band .profile-id { padding-right: 170px; } }
@media (max-width: 760px) { .band-prop { width: 84px; right: 4%; top: 14px; opacity: .85; } }
.profile { position: relative; z-index: 1; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 34px; align-items: center; }
.profile-id { min-width: 0; }
.avatar-xl { width: 168px; height: 168px; border-radius: 34px; object-fit: cover; background: var(--card); box-shadow: var(--sh2), 0 0 0 6px #fff; }
.profile h1 { font: 800 clamp(42px, 6vw, 82px)/1 var(--display); letter-spacing: -.04em; margin: 12px 0 8px; overflow-wrap: anywhere; }
.subline { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; color: var(--ink2); }
.subline a { color: var(--teal); font-weight: 600; }
.badge { font: 700 11px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; padding: 6px 9px; border-radius: 8px; background: var(--hi); color: var(--ink); }
.formline { display: flex; align-items: center; gap: 12px; margin-top: 16px; flex-wrap: wrap; }
.form.is-big { justify-content: flex-start; gap: 4px; }
.form.is-big .fk { width: 28px; height: 28px; border-radius: 8px; font-size: 13px; }
@media (max-width: 760px) { .profile { grid-template-columns: minmax(0, 1fr); gap: 18px; } .avatar-xl { width: 120px; height: 120px; border-radius: 26px; } }
.statrow { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; margin-top: 28px; }
.statrow .st { background: var(--card); border-radius: 18px; box-shadow: var(--sh); padding: 16px 18px; min-width: 0; height: 120px; }
.statrow .st.is-key { background: var(--hi); }
.statrow .big { font: 800 36px/1 var(--display); letter-spacing: -.03em; margin-top: 10px; white-space: nowrap; }
.statrow .sm { font: 500 12px/1.35 var(--text); color: var(--ink2); margin-top: 6px; }
@media (max-width: 1000px) { .statrow { grid-template-columns: repeat(2, minmax(0, 1fr)); } .statrow .st.is-best { grid-column: 1 / -1; } }
.call-head { position: relative; z-index: 1; display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.call-head h1 { font: 800 clamp(36px, 5vw, 66px)/1.02 var(--display); letter-spacing: -.035em; margin: 12px 0 0; overflow-wrap: anywhere; }
.call-head h1 em { font-style: normal; }
.call-head .meta { font: 500 13px/1.7 var(--mono); color: var(--ink2); text-align: right; }
.call-head .meta a { color: var(--teal); font-weight: 700; }
@media (max-width: 600px) { .call-head .meta { text-align: left; } }
.panel { background: var(--card); border-radius: var(--r); box-shadow: var(--sh); overflow: hidden; }
.panel-bar { display: flex; align-items: center; gap: 12px; height: 52px; padding: 0 20px; border-bottom: 1px solid var(--line); }
.legend { margin-left: auto; display: flex; align-items: center; gap: 8px; font: 600 12px/1 var(--mono); color: var(--ink3); white-space: nowrap; }
.legend i { width: 10px; height: 10px; border-radius: 50%; display: inline-block; margin-left: 8px; }
.legend .l-b { background: var(--good); } .legend .l-s { background: var(--bad); } .legend .l-p { border-radius: 2px; width: 3px; height: 14px; background: #c99400; }
@media (max-width: 600px) { .legend { display: none; } }
.bigchart canvas { width: 100%; height: 440px; display: block; cursor: crosshair; }
.seg { display: inline-flex; gap: 2px; padding: 3px; border-radius: var(--pill); background: var(--card2); box-shadow: inset 0 0 0 1px var(--line2); }
.seg button, .tog { height: 32px; padding: 0 12px; border: 0; border-radius: var(--pill); background: none; font: 600 13px/1 var(--text); color: var(--ink2); cursor: pointer; white-space: nowrap; }
.seg button.is-on { background: var(--ink); color: #fff; }
.tog { box-shadow: inset 0 0 0 1px var(--line2); } .tog.is-on { background: var(--hi); color: var(--ink); box-shadow: none; }
@media (max-width: 600px) { .seg button { padding: 0 9px; font-size: 12px; } .tog { display: none; } }
@media (max-width: 600px) { .bigchart canvas { height: 300px; } }
.vbanner { display: flex; align-items: center; gap: 22px; margin-top: 18px; padding: 22px 26px; border-radius: var(--r); background: var(--card); box-shadow: var(--sh); flex-wrap: wrap; border-left: 10px solid var(--calm); }
.vbanner.is-bad { border-color: var(--bad); } .vbanner.is-warn { border-color: var(--warn); } .vbanner.is-good { border-color: var(--good); }
.vbanner b { font: 800 clamp(34px, 4.6vw, 58px)/1 var(--display); letter-spacing: -.04em; }
.vbanner span { font: 500 17px/1.5 var(--text); color: var(--ink2); max-width: 64ch; }
.thirds { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 14px; }
@media (max-width: 900px) { .thirds { grid-template-columns: minmax(0, 1fr); } }
.third { background: var(--card); border-radius: var(--r); box-shadow: var(--sh); padding: 18px 20px 20px; min-width: 0; }
.third .big { font: 800 34px/1.05 var(--display); letter-spacing: -.03em; margin: 8px 0 6px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.third .sm { margin: 0; color: var(--ink2); font-size: 15px; }
.recstrip { display: flex; align-items: center; gap: 16px; margin-top: 14px; padding: 14px 22px; border-radius: var(--r); background: var(--card); box-shadow: var(--sh); flex-wrap: wrap; }
.recstrip b { font: 800 20px/1 var(--display); }
.recstrip span { font: 600 15px/1.3 var(--text); }
.recstrip a { margin-left: auto; font: 700 14px/1 var(--text); }
.two { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 22px; }
@media (max-width: 1000px) { .two { grid-template-columns: minmax(0, 1fr); } }
.pbp { position: relative; background: var(--card); border-radius: var(--r); box-shadow: var(--sh); padding: 10px 0; }
.pbp::before { content: ""; position: absolute; left: 92px; top: 10px; bottom: 10px; width: 2px; background: var(--line2); }
.pl { position: relative; display: grid; grid-template-columns: 76px 32px minmax(0, 1fr); align-items: center; min-height: 46px; padding: 3px 18px 3px 0; }
.pl .m { text-align: right; font: 700 15px/1 var(--mono); color: var(--ink2); white-space: nowrap; }
.pl .d { justify-self: center; width: 12px; height: 12px; border-radius: 50%; box-shadow: 0 0 0 4px var(--card); position: relative; left: 1px; }
.pl.is-buy .d { background: var(--good); } .pl.is-sell .d { background: var(--bad); }
.pl .x { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; min-width: 0; padding-left: 6px; }
.pl .x b { font: 800 15px/1 var(--display); }
.pl.is-buy .x b { color: var(--good); } .pl.is-sell .x b { color: var(--bad); }
.pl .x span { font: 500 13px/1.3 var(--mono); color: var(--ink); white-space: nowrap; }
.pl .x em { font: 500 12px/1.3 var(--mono); font-style: normal; color: var(--ink3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pl.is-post { min-height: 52px; background: linear-gradient(90deg, rgba(255,210,63,.35), rgba(255,210,63,0) 70%); }
.pl.is-post .m { color: var(--ink); }
.pl.is-post .d { width: 16px; height: 16px; border-radius: 4px; background: var(--hi); transform: rotate(45deg); box-shadow: 0 0 0 4px var(--card), 0 0 0 5px #c99400; }
.pl.is-post .x b { color: var(--ink); font-size: 17px; }
.pl.is-more .x span { color: var(--ink3); }
@media (max-width: 520px) { .pbp::before { left: 70px; } .pl { grid-template-columns: 56px 30px minmax(0, 1fr); } }
.wallets { background: var(--card); border-radius: var(--r); box-shadow: var(--sh); overflow: hidden; }
.wrow { display: grid; grid-template-columns: 84px 132px minmax(0, 1fr) 96px; gap: 14px; align-items: center; padding: 12px 18px; border-top: 1px solid var(--line); }
.wrow:first-child { border-top: 0; }
.kind { font: 700 11px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; padding: 7px 8px; text-align: center; border-radius: 8px; background: var(--tint); color: var(--teal); }
.kind.is-roster { background: var(--hi); color: var(--ink); }
.kind.is-linked { background: rgba(23,163,74,.14); color: var(--good); }
.wrow .addr { font: 600 14px/1 var(--mono); }
.wrow .why { color: var(--ink2); font-size: 14px; min-width: 0; }
.wrow .ext { font: 700 13px/1 var(--text); color: var(--teal); text-align: right; }
@media (max-width: 800px) { .wrow { grid-template-columns: 76px minmax(0, 1fr); } .wrow .why { grid-column: 1 / -1; } .wrow .ext { display: none; } .wrow .btn { grid-column: 1 / -1; justify-self: start; } }
.cgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 16px; }
.ccard { display: flex; flex-direction: column; background: var(--card); border-radius: var(--r); box-shadow: var(--sh); overflow: hidden; min-width: 0; transition: transform .2s var(--ease); }
.ccard:hover { transform: translateY(-3px); }
.cchart { position: relative; background: var(--card2); border-bottom: 1px solid var(--line); }
.ccard canvas { width: 100%; height: 120px; display: block; }
.ccard .cbody { padding: 14px 16px 16px; display: grid; gap: 8px; }
.ccard .ctop { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.ccard .ctop b { font: 800 22px/1 var(--display); letter-spacing: -.02em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.ccard .ctop span { font: 500 12px/1 var(--mono); color: var(--ink3); white-space: nowrap; }
.ccard .cline { display: flex; justify-content: space-between; gap: 10px; font: 500 13px/1.3 var(--mono); color: var(--ink2); }
.empty { padding: 26px 20px; color: var(--ink3); font-size: 15px; }
.empty b { color: var(--ink2); font-weight: 600; }
.scan { position: relative; display: grid; place-items: center; height: 100%; min-height: 160px; background: var(--card2); border-radius: 16px; font: 700 14px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--ink3); }
.err { color: var(--bad); }
.reply { background: var(--card); border-radius: var(--r); box-shadow: var(--sh); padding: 18px 20px; }
.reply-who { display: flex; align-items: center; gap: 10px; font: 700 15px/1 var(--text); margin-bottom: 10px; }
.reply-who img { width: 30px; height: 30px; border-radius: 50%; }
.reply-text { white-space: pre-wrap; font-size: 15px; color: var(--ink); margin: 0; overflow-wrap: anywhere; }
.cardbox { border-radius: var(--r); overflow: hidden; box-shadow: var(--sh); background: #121417; aspect-ratio: 16 / 9; }
.cardbox img { width: 100%; height: 100%; object-fit: cover; }
.cardbox .scan { border-radius: 0; background: #1a1d21; color: #8a959e; }

/* the landing's tier section + standings strips */
.tiers-lead { margin: -8px 0 22px; font-size: 17px; color: var(--ink2); max-width: 70ch; }
.tiergrid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 12px; }
.tcard { background: var(--card); border-radius: 20px; box-shadow: var(--sh); padding: 18px 16px 16px; display: flex; flex-direction: column; gap: 10px; min-width: 0; height: 172px; }
.tcard .tier.is-xl { align-self: flex-start; height: 42px; padding: 0 16px; font-size: 20px; }
.tcard p { margin: 0; font-size: 14px; line-height: 1.4; color: var(--ink2); flex: 1; }
.tcard .n { font: 700 12px/1 var(--mono); color: var(--ink3); }
@media (max-width: 1100px) { .tiergrid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 640px) { .tiergrid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.lrow.is-head { height: 36px; font: 700 10px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ink3); border-top: 0; border-bottom: 1px solid var(--line); }
.lrow.is-head:hover { background: none; } .lrow .r { text-align: right; }
.lrow .who em .tier { height: 18px; padding: 0 7px; font-size: 10px; margin-right: 6px; vertical-align: 1px; }
.xstrip { display: flex; align-items: center; justify-content: flex-end; gap: 3px; min-width: 0; overflow: hidden; }
.xstrip .vd { display: none; }
.xstrip .xp { min-width: 0; height: 22px; padding: 0 6px; font-size: 11px; }
.fchart .fx { position: absolute; right: 12px; top: 12px; }
.fwho .tier { height: 20px; padding: 0 8px; font-size: 11px; margin-left: auto; }

/* ---- the tier (owner 10-14: a verdict per caller) and the X pill ---- */
.tier { display: inline-flex; align-items: center; justify-content: center; height: 26px; padding: 0 11px; border-radius: var(--pill); font: 800 13px/1 var(--display); letter-spacing: .02em; white-space: nowrap; color: #fff; background: var(--calm); }
.tier.is-goat { color: var(--ink); background: linear-gradient(180deg, #ffe680, #ffd23f 55%, #ffc414); box-shadow: inset 0 1px 0 rgba(255,255,255,.6), 0 6px 14px -6px rgba(229,173,0,.6); }
.tier.is-great { background: var(--good); } .tier.is-good { background: var(--teal); } .tier.is-mid { background: #dfe4e9; color: var(--ink); }
.tier.is-cooked { background: var(--ink); } .tier.is-farmer { background: var(--bad); } .tier.is-new { background: #eef1f4; color: var(--ink3); }
.tier.is-xl { height: 52px; padding: 0 24px; font-size: 26px; letter-spacing: 0; }
.tierline { display: flex; align-items: center; gap: 14px; margin-top: 16px; flex-wrap: wrap; }
.tier-why { font: 600 15px/1.4 var(--text); color: var(--ink2); max-width: 60ch; }
.xp { display: inline-flex; align-items: center; justify-content: center; min-width: 54px; height: 28px; padding: 0 10px; border-radius: var(--pill); font: 800 14px/1 var(--display); background: #eef1f4; color: var(--ink); white-space: nowrap; }
.xp.is-hi { background: linear-gradient(180deg, #ffe680, #ffd23f 55%, #ffc414); box-shadow: inset 0 1px 0 rgba(255,255,255,.6); }
.xp.is-lo { color: var(--ink3); }
.statrow .st.is-best { background: linear-gradient(180deg, #ffe680, #ffd23f 60%, #ffc414); box-shadow: var(--sh), inset 0 1px 0 rgba(255,255,255,.6); }
.statrow .st.is-best .sm { color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.statrow a.st { transition: transform .15s var(--ease); } .statrow a.st[href]:hover { transform: translateY(-2px); }
.statrow .big.up { color: var(--good); } .statrow .big.down { color: var(--bad); }

/* the latest call on a caller page */
.latest { display: grid; grid-template-columns: minmax(0, 1fr) 340px; background: var(--card); border-radius: var(--r); box-shadow: var(--sh); overflow: hidden; }
.latest-chart { position: relative; min-height: 380px; }
.latest-chart canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; cursor: crosshair; }         /* fills the panel, as tall as the side column */
.latest-side { padding: 22px 24px; border-left: 1px solid var(--line); display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.lx { display: flex; flex-direction: column; align-items: center; justify-content: center; height: 104px; border-radius: 20px; background: #eef1f4; }
.lx.is-hi { background: linear-gradient(180deg, #ffe680, #ffd23f 55%, #ffc414); box-shadow: inset 0 1px 0 rgba(255,255,255,.6), 0 10px 22px -12px rgba(229,173,0,.7); }
.lx b { font: 800 52px/1 var(--display); letter-spacing: -.03em; }
.lx span { font: 700 11px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ink2); margin-top: 6px; }
.lv { display: flex; align-items: center; gap: 8px; min-height: 26px; }
.lfact { margin: 0; font-size: 14px; color: var(--ink2); min-height: 63px; }
.kv { margin: 0; display: grid; gap: 0; }
.kv div { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-top: 1px solid var(--line); }
.kv dt { font-size: 14px; color: var(--ink3); } .kv dd { margin: 0; font: 600 14px/1.3 var(--mono); text-align: right; white-space: nowrap; }
@media (max-width: 900px) { .latest { grid-template-columns: minmax(0, 1fr); } .latest-side { border-left: 0; border-top: 1px solid var(--line); } .latest-chart { min-height: 280px; } }

/* the call history */
.hist { background: var(--card); border-radius: var(--r); box-shadow: var(--sh); overflow: hidden; }
.hist-bar { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.hist-bar input, .hist-bar select { height: 40px; border-radius: 12px; border: 0; padding: 0 14px; background: var(--card2); box-shadow: inset 0 0 0 1px var(--line2); font: 500 14px/1 var(--text); color: var(--ink); }
.hist-bar input { width: 200px; } .hist-bar select { margin-left: auto; cursor: pointer; }
.chips { display: flex; gap: 6px; flex-wrap: wrap; }
.chip { height: 36px; padding: 0 12px; border-radius: var(--pill); border: 0; background: var(--card2); box-shadow: inset 0 0 0 1px var(--line2); font: 600 13px/1 var(--text); color: var(--ink2); cursor: pointer; white-space: nowrap; }
.chip em { font: 700 11px/1 var(--mono); font-style: normal; color: var(--ink3); margin-left: 4px; }
.chip.is-on { background: var(--ink); color: #fff; box-shadow: none; } .chip.is-on em { color: rgba(255,255,255,.7); }
.hrow { display: grid; grid-template-columns: minmax(0, 1.3fr) 96px minmax(0, 1fr) 88px 88px 68px 64px 96px 84px; gap: 12px; align-items: center; height: 64px; padding: 0 20px; border-top: 1px solid var(--line); transition: background .15s; }
.hrows .hrow:first-child { border-top: 0; }
.hrow:hover { background: var(--card2); }
.hrow.is-head { height: 40px; border-top: 0; border-bottom: 1px solid var(--line); font: 700 11px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ink3); }
.hrow.is-head:hover { background: none; }
.hrow .r { text-align: right; justify-self: end; } .hrow .m { font: 500 13px/1 var(--mono); color: var(--ink2); white-space: nowrap; }
.hrow .coin { display: flex; align-items: center; gap: 10px; min-width: 0; }
.hrow .coin b { font: 800 18px/1 var(--display); letter-spacing: -.01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hrow .coin em { font: 600 12px/1 var(--mono); font-style: normal; color: var(--ink3); }
.hrow .vt { font: 600 14px/1.2 var(--text); color: var(--ink2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hrow[data-href] { cursor: pointer; }
.hrow .coin em.src { font: 700 10px/1 var(--mono); font-style: normal; letter-spacing: .04em; padding: 4px 6px; border-radius: 6px; background: var(--card2); box-shadow: inset 0 0 0 1px var(--line2); color: var(--ink2); }
.hrow .coin em.src.is-pf { background: rgba(23,163,74,.10); color: var(--good); box-shadow: none; }
.xn { height: 24px; padding: 0 9px; border: 0; border-radius: var(--pill); background: var(--card2); box-shadow: inset 0 0 0 1px var(--line2); font: 700 11px/1 var(--mono); color: var(--ink2); cursor: pointer; white-space: nowrap; }
.xn:hover, .xn.is-on { background: var(--ink); color: #fff; box-shadow: none; }
.hposts { display: flex; flex-wrap: wrap; gap: 8px; padding: 4px 20px 16px 42px; background: var(--card2); border-top: 1px solid var(--line); }
.hposts a { display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 6px 0 12px; border-radius: var(--pill); background: var(--card); box-shadow: inset 0 0 0 1px var(--line2); margin-top: 10px; }
.hposts a:hover { box-shadow: inset 0 0 0 1.5px var(--ink); }
.hposts b { font: 700 13px/1 var(--text); } .hposts span { font: 500 12px/1 var(--mono); color: var(--ink3); }
.hposts .xp { height: 26px; min-width: 0; font-size: 12px; }
.vd { width: 10px; height: 10px; border-radius: 3px; flex: none; background: var(--calm); }
.vd.is-bad { background: var(--bad); } .vd.is-warn { background: var(--warn); } .vd.is-good { background: var(--good); }
@media (max-width: 900px) { .hrow { grid-template-columns: minmax(0, 1fr) 76px 70px 60px 78px; } .hrow > :nth-child(3), .hrow > :nth-child(5), .hrow > :nth-child(7), .hrow > :nth-child(9) { display: none; } .hist-bar input { width: 100%; } .hist-bar select { margin-left: 0; } }

/* the call page: the X tile, the record strip's tier, his other calls */
.third.is-x.is-hi { background: linear-gradient(180deg, #ffe680, #ffd23f 55%, #ffc414); box-shadow: var(--sh), inset 0 1px 0 rgba(255,255,255,.6); }
.third.is-x.is-hi .sm, .third.is-x.is-hi .lbl { color: var(--ink); }
.recstrip .tier { height: 30px; font-size: 15px; }
.others { display: flex; align-items: center; gap: 8px; margin-top: 14px; flex-wrap: wrap; min-height: 44px; }
.others .lbl { margin-right: 6px; }
.ochip { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 6px 0 12px; border-radius: var(--pill); background: var(--card); box-shadow: var(--sh); }
.ochip b { font: 800 14px/1 var(--display); }
.ochip .xp { height: 28px; min-width: 48px; font-size: 13px; }

/* the call page: the caller, his older / newer call, the same coin (owner 10-15: "navigate ... from post to profile") */
.h1link { text-decoration: none; background: linear-gradient(transparent 62%, var(--hi2) 62%, var(--hi2) 92%, transparent 92%); }
.h1link:hover { background: linear-gradient(transparent 62%, var(--hi) 62%, var(--hi) 92%, transparent 92%); }
.callnav { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr); gap: 12px; margin-top: 24px; }
.cn-who, .cn-step { display: flex; align-items: center; gap: 12px; min-width: 0; height: 72px; padding: 0 18px; border-radius: 20px; background: var(--card); box-shadow: var(--sh); transition: transform .15s var(--ease), box-shadow .15s; }
.cn-who:hover, .cn-step[href]:hover { transform: translateY(-2px); box-shadow: var(--sh2); }
.cn-who img { width: 44px; height: 44px; border-radius: 14px; object-fit: cover; flex: none; background: var(--tint); }
.cn-who > span:first-of-type, .cn-step > span { display: flex; flex-direction: column; gap: 3px; min-width: 0; flex: 1; }
.cn-who b, .cn-step b { font: 800 17px/1.1 var(--display); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: flex; align-items: center; gap: 8px; }
.cn-who em, .cn-step > span > em { font: 600 12px/1.2 var(--text); font-style: normal; color: var(--ink3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cn-who .tier { flex: none; } .cn-go { flex: none; font: 700 13px/1 var(--text); color: var(--teal); }
.cn-step i { font: 800 22px/1 var(--display); font-style: normal; color: var(--ink2); flex: none; }
.cn-step.is-next { justify-content: flex-end; text-align: right; } .cn-step.is-next > span { align-items: flex-end; }
.cn-step b .xp { height: 22px; min-width: 0; padding: 0 7px; font-size: 11px; }
.cn-step.is-off { opacity: .5; box-shadow: none; background: var(--card2); }
@media (max-width: 900px) { .callnav { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .cn-who { grid-column: 1 / -1; } }
.samecoin { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-top: 12px; }
.samecoin:empty { display: none; }
.samecoin .lbl { margin-right: 6px; }
.seg.is-tools button { min-width: 36px; }
.hint { font: 500 12px/1 var(--mono); color: var(--ink3); white-space: nowrap; }
.bigchart canvas.is-drag, .latest-chart canvas.is-drag { cursor: grabbing; }
@media (max-width: 1100px) { .hint { display: none; } }
@media (max-width: 760px) { .seg.is-tools { display: none; } }

/* the callers page */
.crow { display: grid; grid-template-columns: 34px minmax(0, 1.5fr) 92px 56px 78px 60px 74px 92px minmax(0, 1fr) 190px 86px; gap: 12px; align-items: center; height: 64px; padding: 0 20px; border-top: 1px solid var(--line); transition: background .15s; }
#rows .crow:first-child { border-top: 0; }
.crow:hover { background: var(--card2); }
.crow.is-head { height: 40px; border-top: 0; border-bottom: 1px solid var(--line); font: 700 11px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ink3); }
.crow.is-head:hover { background: none; }
.crow .r { text-align: right; justify-self: end; } .crow .m { font: 600 14px/1 var(--mono); }
.crow .m.down { color: var(--bad); } .crow .m.up { color: var(--good); }
.crow .rk { font: 800 16px/1 var(--display); color: var(--ink3); }
.crow .who { display: flex; align-items: center; gap: 10px; min-width: 0; }
.crow .who img { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; background: var(--tint); flex: none; }
.crow .who span { min-width: 0; }
.crow .who b { display: block; font: 700 15px/1.2 var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.crow .who em { display: block; font: 500 12px/1.3 var(--text); font-style: normal; color: var(--ink3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.crow .zero { font: 700 12px/1 var(--mono); color: var(--ink3); white-space: nowrap; }
.crow .best { display: flex; align-items: center; gap: 6px; min-width: 0; font: 800 14px/1 var(--display); white-space: nowrap; overflow: hidden; }
.crow .best .xp { height: 24px; min-width: 0; font-size: 12px; }
@media (max-width: 1100px) { .crow { grid-template-columns: 26px minmax(0, 1fr) 86px 70px 74px; } .crow > :nth-child(4), .crow > :nth-child(6), .crow > :nth-child(7), .crow > :nth-child(9), .crow > :nth-child(10), .crow > :nth-child(11) { display: none; } }

/* the record card + the ladder */
.oncard { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, .6fr); gap: 26px; align-items: start; }
.cardbox.is-light { background: #eef0f3; }
.ladder { display: flex; flex-direction: column; gap: 14px; }
.howtag { margin: 0; font-size: 16px; color: var(--ink2); }
.howtag b { color: var(--ink); background: var(--card); padding: 2px 8px; border-radius: 8px; box-shadow: inset 0 0 0 1px var(--line2); }
.lad { background: var(--card); border-radius: var(--r); box-shadow: var(--sh); padding: 6px 0; }
.lrung { display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: 12px; align-items: center; padding: 9px 18px; font-size: 14px; color: var(--ink2); }
.lrung.is-on { background: var(--card2); box-shadow: inset 4px 0 0 var(--ink); }
.lrung .tier { justify-self: start; }
.fine2 { margin: 0; font-size: 13px; color: var(--ink3); }
@media (max-width: 960px) { .oncard { grid-template-columns: minmax(0, 1fr); } }

/* link page */
.getcam { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1fr) 230px; gap: 30px; align-items: center; }
.getcam h1 { font: 800 clamp(44px, 6vw, 80px)/1 var(--display); letter-spacing: -.04em; margin: 12px 0 12px; }
.getcam .lead { margin: 0; }
.getcam img { width: 230px; filter: drop-shadow(0 20px 24px rgba(18,74,60,.25)); }
@media (max-width: 760px) { .getcam { grid-template-columns: minmax(0, 1fr); } .getcam img { width: 140px; } }
.linkbox { max-width: 760px; margin: 28px auto 0; background: var(--card); border-radius: var(--r); box-shadow: var(--sh); overflow: hidden; }
.lstep { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 16px; padding: 22px 24px; border-top: 1px solid var(--line); }
.lstep:first-child { border-top: 0; }
.lstep .n { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--tint); font: 800 20px/1 var(--display); color: var(--ink3); }
.lstep.is-on .n { background: var(--hi); color: var(--ink); }
.lstep h3 { font: 800 22px/1.15 var(--display); letter-spacing: -.02em; margin: 4px 0 6px; }
.lstep p { margin: 0 0 12px; color: var(--ink2); }
.lstep .signed { color: var(--good); font-weight: 600; }

/* admin (this machine only) */
.tiles { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.tile { background: var(--card); border-radius: 18px; box-shadow: var(--sh); padding: 16px 18px; min-width: 0; }
.tile .big { font: 800 30px/1.1 var(--display); margin-top: 8px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tile .sm { font-size: 13px; color: var(--ink3); margin-top: 6px; }
.tile.is-key .big { color: var(--teal); }
@media (max-width: 1000px) { .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.trades { background: var(--card); border-radius: var(--r); box-shadow: var(--sh); overflow: hidden; }
.trow { display: grid; grid-template-columns: 90px 60px 130px 100px minmax(0, 1fr); gap: 12px; padding: 10px 18px; border-top: 1px solid var(--line); font: 500 13px/1.3 var(--mono); align-items: center; }
.cmdbar { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto; gap: 8px; }
.cmdbar input { height: 44px; border-radius: 12px; border: 0; padding: 0 14px; background: var(--card2); box-shadow: inset 0 0 0 1px var(--line2); font: 500 14px/1 var(--mono); min-width: 0; }

/* motion */
.rise { animation: rise .6s var(--ease) both; animation-delay: calc(var(--i, 0) * 60ms); }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }
