:root {
  --bg: #0a0a0b;
  --bg2: #111114;
  --card: #141418;
  --card2: #1a1a1f;
  --line: #26262d;
  --line2: #34343c;
  --text: #ecebe6;
  --muted: #8e8d95;
  --orange: #ff5f1f;
  --orange2: #ff7a2e;
  --yellow: #f6c60f;
  --red: #ff3b3b;
  --green: #3ddc84;
  --steel1: #6f747d;
  --steel2: #e6e8ec;
  --display: "Big Shoulders Display", Impact, sans-serif;
  --stencil: "Big Shoulders Stencil Display", "Big Shoulders Display", Impact, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
  --r: 14px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 16px/1.55 Inter, system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; }
img { display: block; max-width: 100%; }
button { font: inherit; color: inherit; cursor: pointer; }
input, textarea { font: inherit; color: inherit; }
svg { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.red { color: var(--red); }
[hidden] { display: none !important; }

/* concrete grain + a slow searchlight */
.grain {
  position: fixed; inset: 0; pointer-events: none; z-index: 0; opacity: .5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .06 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.searchlight {
  position: fixed; top: -30vh; left: 50%; width: 70vw; height: 140vh; pointer-events: none; z-index: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(255, 236, 200, .09), transparent 60%);
  transform-origin: 50% 0; animation: sweep 14s ease-in-out infinite alternate; filter: blur(10px);
}
@keyframes sweep { from { transform: translateX(-50%) rotate(-28deg); } to { transform: translateX(-50%) rotate(28deg); } }
main, .nav, .foot, .tape { position: relative; z-index: 1; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: 0; border-radius: 10px; padding: 11px 18px;
  background: linear-gradient(180deg, var(--orange2), var(--orange));
  color: #120700; font-weight: 700; letter-spacing: .01em; text-decoration: none;
  box-shadow: 0 1px 0 rgba(255,255,255,.35) inset, 0 8px 24px -8px rgba(255, 95, 31, .7);
  transition: transform .15s, filter .15s, box-shadow .15s;
}
.btn:hover { transform: translateY(-1px); filter: brightness(1.06); }
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: .55; cursor: not-allowed; transform: none; }
.btn svg { width: 18px; height: 18px; stroke-width: 2.4; }
.btn.ghost { background: rgba(255,255,255,.04); color: var(--text); box-shadow: 0 0 0 1px var(--line2) inset; }
.btn.ghost:hover { background: rgba(255,255,255,.08); }
.btn.sm { padding: 8px 14px; font-size: 14px; }
.btn.lg { padding: 14px 22px; font-size: 16px; border-radius: 12px; }
.btn.wide { width: 100%; }
.btn.red { background: linear-gradient(180deg, #ff5a5a, #e42727); color: #fff; box-shadow: 0 8px 24px -8px rgba(255,59,59,.7); }
.btn.green { background: linear-gradient(180deg, #5bf0a0, #23c56c); color: #04140a; box-shadow: 0 8px 24px -8px rgba(61,220,132,.6); }

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 30;
  display: flex; align-items: center; gap: 24px; padding: 14px clamp(16px, 4vw, 48px);
  background: rgba(10,10,11,.72); backdrop-filter: blur(14px) saturate(1.3);
  border-bottom: 1px solid rgba(255,255,255,.05);
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand span, .foot-brand span { font: 900 26px/1 var(--stencil); letter-spacing: .04em; }
.brand b, .foot-brand b { color: var(--orange); font-weight: 900; }
.links { display: flex; gap: 4px; margin-left: 8px; }
.links a { padding: 8px 12px; border-radius: 8px; text-decoration: none; color: var(--muted); font-weight: 500; font-size: 15px; }
.links a:hover { color: var(--text); background: rgba(255,255,255,.04); }
.nav-right { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.mode { font: 600 11px var(--mono); letter-spacing: .08em; padding: 5px 9px; border-radius: 99px; border: 1px solid; }
.mode.practice { color: var(--yellow); border-color: rgba(246,198,15,.35); background: rgba(246,198,15,.08); }
.mode.live { color: var(--green); border-color: rgba(61,220,132,.35); background: rgba(61,220,132,.08); }

/* ---------- hero ---------- */
.hero {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(28px, 5vw, 72px); align-items: center;
  max-width: 1240px; margin: 0 auto; padding: clamp(36px, 7vw, 96px) clamp(16px, 4vw, 48px) 64px;
}
.tag { display: inline-flex; align-items: center; gap: 10px; font: 600 12px var(--mono); letter-spacing: .14em; color: var(--muted); padding: 7px 12px; border: 1px solid var(--line); border-radius: 99px; background: rgba(255,255,255,.02); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 12px var(--orange); animation: blink 1.6s infinite; }
@keyframes blink { 50% { opacity: .3; } }
h1 { margin: 22px 0 18px; font: 900 clamp(64px, 10.5vw, 148px)/.86 var(--stencil); letter-spacing: .01em; }
h1 .stencil:last-child { color: var(--orange); text-shadow: 0 0 60px rgba(255,95,31,.35); }
.lead { font-size: clamp(16px, 1.4vw, 19px); color: #c9c8c2; max-width: 560px; margin: 0; }
.lead b { color: var(--text); }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 30px 0 34px; }
.readouts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; max-width: 600px; }
.readouts div { background: #0e0e11; padding: 14px 16px; }
.readouts small { display: block; font: 600 10.5px var(--mono); letter-spacing: .14em; color: var(--muted); }
.readouts b { display: block; margin-top: 4px; font: 800 30px/1 var(--display); color: var(--text); font-variant-numeric: tabular-nums; }

/* the cell */
.hero-cell { position: relative; aspect-ratio: 4 / 4.6; max-width: 520px; width: 100%; justify-self: center; border-radius: 22px; overflow: hidden;
  background: radial-gradient(120% 80% at 50% 0%, #2a2620, #121113 60%); box-shadow: 0 0 0 1px #2c2a28, 0 40px 120px -30px rgba(0,0,0,.9), 0 0 120px -40px rgba(255,95,31,.4); }
.cell-back { position: absolute; inset: 0; }
.height-chart { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: space-evenly; padding: 0 0 18%; }
.height-chart i { font: 600 13px var(--mono); font-style: normal; color: rgba(255,255,255,.35); border-top: 1px solid rgba(255,255,255,.12); padding: 4px 12px; position: relative; }
.height-chart i::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; border-top: 1px dashed rgba(255,255,255,.05); }
.mug { position: absolute; left: 50%; top: 14%; width: 56%; aspect-ratio: 1; transform: translateX(-50%); border-radius: 20px; overflow: hidden; box-shadow: 0 30px 60px -20px #000; }
.mug img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(.25) contrast(1.08); }
.placard { position: absolute; z-index: 1; left: 50%; bottom: 11%; transform: translateX(-50%) rotate(-1.5deg); width: 64%; padding: 12px 16px; background: #0b0b0c; border: 2px solid #3a3835; border-radius: 6px; text-align: center; box-shadow: 0 20px 40px -12px #000; }
.placard small { display: block; font: 700 10px var(--mono); letter-spacing: .2em; color: var(--muted); }
.placard b { display: block; font: 900 clamp(28px, 3.6vw, 40px)/1.05 var(--stencil); color: var(--orange); letter-spacing: .03em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.placard span { display: block; font: 600 12px var(--mono); color: #d8d6cf; letter-spacing: .08em; }
.placard.small { left: auto; right: 10px; bottom: 10px; transform: rotate(-2deg); width: auto; padding: 6px 10px; }
.placard.small b { font-size: 22px; }

/* steel bars that slam shut on load */
.bars { position: absolute; inset: 0; display: flex; justify-content: space-evenly; pointer-events: none; }
.bars i {
  width: 3%; height: 100%; border-radius: 99px;
  background: linear-gradient(90deg, #3d4047 0%, #9aa0aa 22%, #f2f4f7 40%, #a4aab3 58%, #4a4e56 85%, #2c2e33 100%);
  box-shadow: 6px 0 18px rgba(0,0,0,.55);
  transform: translateY(-102%); animation: slam .7s cubic-bezier(.6, .04, .98, .34) forwards;
}
.bars i:nth-child(2) { animation-delay: .04s; } .bars i:nth-child(3) { animation-delay: .08s; } .bars i:nth-child(4) { animation-delay: .12s; }
.bars i:nth-child(5) { animation-delay: .16s; } .bars i:nth-child(6) { animation-delay: .2s; } .bars i:nth-child(7) { animation-delay: .24s; }
@keyframes slam { 0% { transform: translateY(-102%); } 80% { transform: translateY(1.5%); } 100% { transform: translateY(0); } }
.crossbar { position: absolute; left: 0; right: 0; top: 19%; height: 2.6%; background: linear-gradient(180deg, #2c2e33, #a9afb8 35%, #eef0f3 50%, #8d939c 70%, #303238); box-shadow: 0 8px 18px rgba(0,0,0,.5); opacity: 0; animation: fade .3s .75s forwards; }
.crossbar.b { top: 93%; }
@keyframes fade { to { opacity: 1; } }
.hero-cell::after { content: ""; position: absolute; inset: 0; animation: shake .35s .62s; pointer-events: none; }
.hero-cell { animation: shake .35s .62s; }
@keyframes shake { 25% { transform: translate(2px, 1px); } 50% { transform: translate(-2px, -1px); } 75% { transform: translate(1px, 2px); } }
.cell-lock { position: absolute; top: 15%; right: 7%; width: 11%; color: var(--orange); filter: drop-shadow(0 6px 14px rgba(0,0,0,.7)) drop-shadow(0 0 18px rgba(255,95,31,.5)); opacity: 0; animation: fade .3s .9s forwards; }
.cell-hud { position: absolute; left: 12px; right: 12px; top: 12px; display: flex; gap: 8px; z-index: 2; }
.cell-hud div { flex: 1; background: rgba(10,10,11,.78); backdrop-filter: blur(8px); border: 1px solid rgba(255,255,255,.08); border-radius: 10px; padding: 8px 10px; }
.cell-hud small { display: block; font: 600 9.5px var(--mono); letter-spacing: .14em; color: var(--muted); }
.cell-hud b { font: 800 19px/1.1 var(--display); letter-spacing: .03em; }
.st-locked { color: var(--orange); } .st-trial { color: var(--red); } .st-free { color: var(--green); } .st-convicted { color: var(--red); }

/* ---------- hazard tape ---------- */
.tape { overflow: hidden; border-block: 1px solid #000; background: repeating-linear-gradient(-45deg, var(--yellow) 0 22px, #111 22px 44px); padding: 9px 0; transform: rotate(-1deg); margin: 6px -10px 0; box-shadow: 0 10px 30px rgba(0,0,0,.5); }
.tape-track { display: flex; gap: 14px; width: max-content; animation: tape 50s linear infinite; }
.tape-track span { display: inline-flex; align-items: center; gap: 8px; background: #0b0b0c; color: var(--text); padding: 6px 14px; border-radius: 6px; font: 600 13px var(--mono); white-space: nowrap; }
.tape-track span b { color: var(--yellow); }
.tape-track img { width: 20px; height: 20px; border-radius: 4px; object-fit: cover; }
@keyframes tape { to { transform: translateX(-50%); } }

/* ---------- sections ---------- */
.sec { max-width: 1240px; margin: 0 auto; padding: clamp(56px, 8vw, 100px) clamp(16px, 4vw, 48px) 0; }
.sec-head { max-width: 680px; margin-bottom: 36px; }
.sec-head.row { max-width: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.kicker { font: 700 12px var(--mono); letter-spacing: .2em; color: var(--orange); }
h2 { font: 800 clamp(38px, 5vw, 60px)/1 var(--display); margin: 10px 0 12px; letter-spacing: .01em; text-transform: uppercase; }
.sec-head p { color: var(--muted); margin: 0; font-size: 17px; }

.files { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.file { position: relative; background: linear-gradient(180deg, #19181a, #121214); border: 1px solid var(--line); border-radius: 4px 16px 16px 16px; padding: 26px 22px 24px; margin-top: 16px; transition: transform .2s, border-color .2s; }
.file:hover { transform: translateY(-4px); border-color: #3e3a35; }
.file-tab { position: absolute; top: -17px; left: -1px; padding: 3px 12px; font: 700 11px var(--mono); letter-spacing: .14em; background: #19181a; border: 1px solid var(--line); border-bottom: 0; border-radius: 8px 8px 0 0; color: var(--orange); }
.file-tab.red { color: var(--red); }
.file-ico { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: rgba(255,95,31,.1); color: var(--orange); margin-bottom: 18px; box-shadow: 0 0 0 1px rgba(255,95,31,.25) inset; }
.file-ico.red { background: rgba(255,59,59,.1); color: var(--red); box-shadow: 0 0 0 1px rgba(255,59,59,.25) inset; }
.file-ico svg { width: 24px; height: 24px; }
.file h3 { font: 800 25px/1.1 var(--display); margin: 0 0 10px; text-transform: uppercase; letter-spacing: .02em; }
.file p { margin: 0; color: #b4b3ad; font-size: 15px; }
.file b { color: var(--text); }

.ladder-wrap { margin-top: 28px; background: #0e0e10; border: 1px solid var(--line); border-radius: 18px; padding: 26px; display: grid; grid-template-columns: 280px 1fr; gap: 28px; align-items: center; }
.ladder-head h3 { font: 800 30px/1 var(--display); margin: 0 0 8px; text-transform: uppercase; }
.ladder-head p { margin: 0; color: var(--muted); font-size: 15px; }
.ladder { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; counter-reset: r; }
.ladder li { position: relative; padding: 16px; border-radius: 12px; background: var(--card); border: 1px solid var(--line); }
.ladder li::before { content: ""; position: absolute; left: 16px; right: 16px; top: 0; height: 3px; border-radius: 0 0 4px 4px; background: var(--line2); }
.ladder .rung { font: 700 11px var(--mono); letter-spacing: .12em; color: var(--muted); }
.ladder b { display: block; font: 800 34px/1.1 var(--display); color: var(--text); }
.ladder small { color: var(--muted); font-size: 13px; }
.ladder li.done { border-color: rgba(61,220,132,.35); background: linear-gradient(180deg, rgba(61,220,132,.08), var(--card)); }
.ladder li.done::before { background: var(--green); }
.ladder li.done .rung { color: var(--green); }
.ladder li.next { border-color: rgba(255,95,31,.45); }
.ladder li.next::before { background: var(--orange); box-shadow: 0 0 12px var(--orange); }
.ladder li.next .rung { color: var(--orange); }
.ladder li.burned { opacity: .45; text-decoration: line-through; }
.ladder.small { grid-template-columns: repeat(2, 1fr); }
.ladder.small b { font-size: 26px; }
.ladder li .when { display: block; font: 500 12px var(--mono); color: var(--muted); margin-top: 6px; }

/* ---------- cell block grid ---------- */
.tools { display: flex; gap: 10px; flex-wrap: wrap; }
.search { display: flex; align-items: center; gap: 8px; background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: 0 12px; }
.search svg { width: 17px; height: 17px; color: var(--muted); }
.search input { background: none; border: 0; outline: 0; padding: 10px 0; width: 220px; }
.seg { display: inline-flex; padding: 3px; gap: 2px; background: var(--card); border: 1px solid var(--line); border-radius: 10px; }
.seg button { border: 0; background: none; padding: 7px 12px; border-radius: 7px; color: var(--muted); font-weight: 600; font-size: 14px; }
.seg button.on { background: #26252b; color: var(--text); box-shadow: 0 1px 0 rgba(255,255,255,.06) inset; }
.seg.wide { display: flex; }
.seg.wide button { flex: 1; }
.seg.sentence button.on { background: var(--orange); color: #120700; }

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 18px; }
.inmate { position: relative; display: block; text-decoration: none; background: var(--card); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; transition: transform .2s, border-color .2s, box-shadow .2s; }
.inmate:hover { transform: translateY(-4px); border-color: #3c3a37; box-shadow: 0 24px 50px -24px rgba(0,0,0,.9); }
.inmate .shot { position: relative; aspect-ratio: 1 / .82; background: radial-gradient(90% 90% at 50% 10%, #2a2620, #141315); overflow: hidden; }
.inmate .shot .height-chart i { font-size: 10px; padding: 2px 8px; }
.inmate .shot img { position: absolute; left: 50%; top: 12%; width: 58%; aspect-ratio: 1; transform: translateX(-50%); object-fit: cover; border-radius: 12px; filter: grayscale(.35) contrast(1.05); transition: filter .25s; box-shadow: 0 16px 30px -12px #000; }
.inmate:hover .shot img { filter: none; }
.inmate .bars { opacity: .9; transition: transform .45s cubic-bezier(.2,.8,.2,1); }
.inmate .bars i { width: 3.2%; animation: none; transform: none; }
.inmate:hover .bars { transform: translateX(18%); }
.inmate.free .bars, .inmate.convicted .bars { display: none; }
.inmate .no { position: absolute; left: 10px; bottom: 10px; background: #0b0b0c; border: 1.5px solid #3a3835; border-radius: 5px; padding: 3px 8px; font: 800 17px/1.1 var(--stencil); color: var(--orange); letter-spacing: .04em; transform: rotate(-2deg); }
.badge { position: absolute; right: 10px; top: 10px; z-index: 2; font: 700 10.5px var(--mono); letter-spacing: .12em; padding: 4px 8px; border-radius: 6px; background: rgba(10,10,11,.85); border: 1px solid; }
.badge.locked { color: var(--orange); border-color: rgba(255,95,31,.4); }
.badge.trial { color: #fff; background: var(--red); border-color: var(--red); animation: siren 1s infinite; }
.badge.free { color: var(--green); border-color: rgba(61,220,132,.4); }
.badge.convicted { color: var(--red); border-color: rgba(255,59,59,.5); }
@keyframes siren { 50% { box-shadow: 0 0 22px var(--red); } }
.stamp-mini { position: absolute; left: 50%; top: 42%; transform: translate(-50%, -50%) rotate(-14deg); z-index: 2; font: 900 34px/1 var(--stencil); letter-spacing: .06em; padding: 4px 12px; border: 4px solid; border-radius: 6px; background: rgba(10,10,11,.6); box-shadow: 0 0 30px rgba(0,0,0,.6); }
.stamp-mini.convicted { color: var(--red); }
.stamp-mini.free { color: var(--green); }
.inmate .body { padding: 14px 16px 16px; }
.inmate .nm { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.inmate .nm b { font: 800 22px/1.1 var(--display); text-transform: uppercase; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; letter-spacing: .02em; }
.inmate .nm span { font: 600 13px var(--mono); color: var(--orange); }
.parole { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; margin: 12px 0 10px; }
.parole i { height: 6px; border-radius: 3px; background: #2a2930; }
.parole i.on { background: var(--green); box-shadow: 0 0 8px rgba(61,220,132,.5); }
.parole i.burn { background: var(--red); }
.meta { display: flex; justify-content: space-between; font-size: 13px; color: var(--muted); }
.meta b { color: var(--text); font-weight: 600; font-variant-numeric: tabular-nums; }
.skeleton { height: 360px; border-radius: 16px; background: linear-gradient(90deg, #141418, #1b1b20, #141418); background-size: 200% 100%; animation: sk 1.3s infinite; }
@keyframes sk { to { background-position: -200% 0; } }

.empty { text-align: center; padding: 50px 20px; border: 1px dashed var(--line2); border-radius: 18px; background: #0e0e10; }
.empty h3 { font: 800 32px var(--display); margin: 18px 0 6px; text-transform: uppercase; }
.empty p { color: var(--muted); margin: 0 0 20px; }
.empty-bars { display: flex; justify-content: center; gap: 22px; height: 70px; }
.empty-bars i { width: 10px; border-radius: 9px; background: linear-gradient(90deg, #3d4047, #e9ebef 45%, #4a4e56); }

/* ---------- panels: courtroom, record ---------- */
.split { display: grid; grid-template-columns: 1fr 1.2fr; gap: 18px; align-items: start; }
.panel { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 18px; }
.panel + .panel { margin-top: 18px; }
.split .panel + .panel { margin-top: 0; }
.panel-head { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.panel-head h3 { margin: 0; font: 800 24px/1 var(--display); text-transform: uppercase; letter-spacing: .03em; }
.panel-head small { margin-left: auto; color: var(--muted); font: 500 12px var(--mono); text-align: right; }
.siren { width: 12px; height: 12px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 4px rgba(255,59,59,.15); animation: blink 1s infinite; }
.trial-row { display: grid; grid-template-columns: 44px 1fr auto; gap: 12px; align-items: center; padding: 12px; border-radius: 12px; background: #1b1416; border: 1px solid rgba(255,59,59,.25); text-decoration: none; }
.trial-row + .trial-row { margin-top: 8px; }
.trial-row img { width: 44px; height: 44px; border-radius: 10px; object-fit: cover; }
.trial-row b { display: block; font: 800 18px var(--display); text-transform: uppercase; }
.trial-row small { color: var(--muted); font-size: 12px; }
.trial-row .cd { font: 700 15px var(--mono); color: var(--red); }
.none { color: var(--muted); font-size: 14px; padding: 16px; border: 1px dashed var(--line2); border-radius: 12px; text-align: center; }
.record { list-style: none; margin: 0; padding: 0; max-height: 470px; overflow: auto; }
.record li a { display: grid; grid-template-columns: 34px 1fr auto; gap: 12px; align-items: center; padding: 10px 6px; border-bottom: 1px solid #1f1f25; text-decoration: none; }
.record li:last-child a { border-bottom: 0; }
.record li a:hover { background: rgba(255,255,255,.02); }
.ev-ico { width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center; font-size: 16px; }
.ev-ico.booked { background: rgba(255,95,31,.12); }
.ev-ico.parole { background: rgba(61,220,132,.12); }
.ev-ico.trial, .ev-ico.guilty { background: rgba(255,59,59,.14); }
.ev-ico.innocent { background: rgba(110,160,255,.12); }
.ev-ico.pay { background: rgba(246,198,15,.12); }
.ev-txt { font-size: 14px; }
.ev-txt b { font-weight: 700; }
.ev-txt small { display: block; color: var(--muted); font-size: 12px; }
.ev-at { font: 500 12px var(--mono); color: var(--muted); }
.warden { margin-top: 12px; color: var(--muted); font-size: 13px; }
.warden summary { cursor: pointer; font: 600 12px var(--mono); letter-spacing: .1em; }
.warden ul { margin: 8px 0 0; padding: 0 0 0 16px; font: 12px/1.7 var(--mono); }

/* ---------- verify ---------- */
.verify-cta { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: center; }
.verify-cta > div { max-width: 560px; }
.verify-cta p { color: var(--muted); margin: 0; }
.verify-form { display: flex; gap: 10px; background: var(--card); border: 1px solid var(--line); padding: 8px; border-radius: 14px; }
.verify-form input { flex: 1; min-width: 0; background: none; border: 0; outline: 0; padding: 10px 12px; font: 500 15px var(--mono); }
.verify-page { max-width: 900px; }
.big { font: 900 clamp(48px, 7vw, 88px)/.95 var(--stencil); margin: 12px 0; }
.verify-page .lead { margin-bottom: 26px; }
.checks { margin-top: 22px; display: grid; gap: 10px; }
.chk { display: grid; grid-template-columns: 34px 1fr; gap: 12px; align-items: start; padding: 14px; border-radius: 12px; background: var(--card); border: 1px solid var(--line); }
.chk i { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-weight: 800; }
.chk.ok i { background: rgba(61,220,132,.15); color: var(--green); }
.chk.bad i { background: rgba(255,59,59,.15); color: var(--red); }
.chk.info i { background: rgba(255,95,31,.14); color: var(--orange); }
.chk b { display: block; }
.chk span { color: var(--muted); font-size: 14px; word-break: break-all; }
.chk a { color: var(--orange); }

/* ---------- faq ---------- */
.faq { max-width: 900px; }
.faq details { border-bottom: 1px solid var(--line); padding: 18px 0; }
.faq summary { cursor: pointer; font: 700 22px var(--display); text-transform: uppercase; letter-spacing: .02em; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::after { content: "+"; color: var(--orange); font-size: 26px; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq p { color: #b4b3ad; margin: 12px 0 0; }

/* ---------- footer ---------- */
.foot { margin-top: 100px; padding: 40px clamp(16px, 4vw, 48px) 60px; border-top: 1px solid var(--line); text-align: center; background: linear-gradient(180deg, transparent, #070708); }
.foot-brand { display: inline-flex; align-items: center; gap: 10px; }
.foot p { margin: 8px 0 0; color: #b4b3ad; }
.foot a { color: var(--orange); }

/* ---------- coin page ---------- */
#coin, #verify { max-width: 1240px; margin: 0 auto; padding: 24px clamp(16px, 4vw, 48px) 0; }
.back { display: inline-block; margin-bottom: 18px; color: var(--muted); text-decoration: none; font-weight: 600; }
.back:hover { color: var(--text); }
.dossier { display: grid; grid-template-columns: 340px 1fr; gap: 32px; align-items: center; background: linear-gradient(180deg, #161518, #101012); border: 1px solid var(--line); border-radius: 22px; padding: 22px; }
.dossier-mug { position: relative; aspect-ratio: 1; border-radius: 16px; overflow: hidden; background: radial-gradient(90% 90% at 50% 10%, #2a2620, #141315); }
.dossier-mug img { position: absolute; left: 50%; top: 10%; width: 66%; aspect-ratio: 1; transform: translateX(-50%); object-fit: cover; border-radius: 14px; box-shadow: 0 20px 40px -14px #000; }
.stamp { position: absolute; left: 50%; top: 46%; transform: translate(-50%, -50%) rotate(-14deg); font: 900 52px/1 var(--stencil); letter-spacing: .06em; padding: 6px 16px; border: 6px solid; border-radius: 8px; z-index: 2; }
.stamp.convicted { color: var(--red); background: rgba(10,10,11,.4); }
.stamp.free { color: var(--green); background: rgba(10,10,11,.4); }
.stamp.trial { color: var(--yellow); background: rgba(10,10,11,.4); font-size: 40px; }
.status-pill { display: inline-block; font: 700 12px var(--mono); letter-spacing: .14em; padding: 6px 10px; border-radius: 6px; border: 1px solid; }
.status-pill.locked { color: var(--orange); border-color: rgba(255,95,31,.45); background: rgba(255,95,31,.08); }
.status-pill.trial { color: #fff; background: var(--red); border-color: var(--red); animation: siren 1s infinite; }
.status-pill.free { color: var(--green); border-color: rgba(61,220,132,.45); background: rgba(61,220,132,.08); }
.status-pill.convicted { color: var(--red); border-color: rgba(255,59,59,.5); background: rgba(255,59,59,.08); }
.dossier h1 { font: 900 clamp(44px, 6vw, 76px)/.95 var(--display); margin: 12px 0 6px; text-transform: uppercase; word-break: break-word; }
.sym-row { display: flex; gap: 14px; align-items: baseline; flex-wrap: wrap; }
.sym-row span:first-child { font: 700 20px var(--mono); color: var(--orange); }
.desc { color: #b4b3ad; max-width: 640px; }
.links { display: flex; flex-wrap: wrap; gap: 8px; }
#c-links a { font-size: 13px; font-weight: 600; text-decoration: none; padding: 6px 10px; border-radius: 8px; background: rgba(255,255,255,.04); border: 1px solid var(--line); }
#c-links a:hover { border-color: var(--line2); }
.kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; margin-top: 18px; }
.kpis div { background: #0e0e11; padding: 12px 14px; }
.kpis small { display: block; font: 600 10.5px var(--mono); letter-spacing: .12em; color: var(--muted); }
.kpis b { font: 800 26px/1.2 var(--display); font-variant-numeric: tabular-nums; }
.coin-cols { display: grid; grid-template-columns: 1fr 380px; gap: 18px; margin-top: 18px; align-items: start; }
.sentence-bar { height: 10px; border-radius: 6px; background: #22212a; overflow: hidden; margin-bottom: 14px; }
.sentence-bar i { display: block; height: 100%; background: repeating-linear-gradient(-45deg, var(--orange) 0 10px, var(--orange2) 10px 20px); border-radius: 6px; transition: width .6s; }
.note { color: var(--muted); font-size: 14px; margin: 14px 0 0; }
.note b { color: var(--text); }

.tally { margin: 6px 0 14px; }
.tally-bar { display: flex; height: 16px; border-radius: 8px; overflow: hidden; background: #22212a; }
.tally-bar .g { background: linear-gradient(90deg, #ff3b3b, #ff6b6b); }
.tally-bar .i { background: linear-gradient(90deg, #4f8cff, #7aa9ff); margin-left: auto; }
.tally-nums { display: flex; justify-content: space-between; font-size: 13px; margin-top: 6px; color: var(--muted); }
.tally-nums b { color: var(--text); }
.quorum { font-size: 13px; color: var(--muted); margin-bottom: 12px; }
.quorum i { display: block; height: 4px; border-radius: 2px; background: #22212a; margin-top: 6px; overflow: hidden; }
.quorum i u { display: block; height: 100%; background: var(--red); }
.vote-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.countdown { font: 800 42px/1 var(--display); color: var(--red); letter-spacing: .03em; font-variant-numeric: tabular-nums; }
.voters { list-style: none; margin: 14px 0 0; padding: 0; font: 12px var(--mono); max-height: 180px; overflow: auto; }
.voters li { display: flex; justify-content: space-between; padding: 5px 0; border-bottom: 1px solid #1f1f25; }
.voters .G { color: var(--red); } .voters .I { color: #7aa9ff; }

.trade .field { margin-top: 14px; }
.field { display: block; margin-top: 14px; }
.field > span { display: block; font: 600 12px var(--mono); letter-spacing: .1em; color: var(--muted); margin-bottom: 6px; text-transform: uppercase; }
.field input, .field textarea { width: 100%; background: #0d0d10; border: 1px solid var(--line); border-radius: 10px; padding: 11px 12px; outline: 0; transition: border-color .15s; }
.field input:focus, .field textarea:focus { border-color: var(--orange); }
.amt { display: flex; align-items: center; background: #0d0d10; border: 1px solid var(--line); border-radius: 10px; }
.amt input { border: 0 !important; background: none !important; font: 700 20px var(--mono); }
.amt em { font-style: normal; font-weight: 700; color: var(--muted); padding: 0 14px; }
.hint { display: block; color: var(--muted); font-size: 12.5px; margin-top: 6px; }
.quick { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin: 8px 0 12px; }
.quick button { border: 1px solid var(--line); background: #17171b; border-radius: 8px; padding: 7px 0; font-size: 13px; font-weight: 600; }
.quick button:hover { border-color: var(--line2); }
.trade-meta { display: flex; justify-content: space-between; font-size: 13.5px; color: var(--muted); margin-bottom: 8px; }
.trade-meta span:last-child { color: var(--text); }
.trade-meta input { width: 50px; background: #0d0d10; border: 1px solid var(--line); border-radius: 6px; padding: 2px 6px; text-align: right; }
.msg { font-size: 14px; margin-top: 10px; min-height: 1px; }
.msg.ok { color: var(--green); }
.msg.err { color: var(--red); }
.msg a { color: var(--orange); }
.curve { margin-top: 16px; }
.curve-top { display: flex; justify-content: space-between; font-size: 13px; color: var(--muted); margin-bottom: 6px; }
.curve-top b { color: var(--text); }
.curve-bar { height: 8px; border-radius: 5px; background: #22212a; overflow: hidden; }
.curve-bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--orange), var(--yellow)); }
.kv { display: flex; justify-content: space-between; font-size: 14px; padding: 7px 0; border-bottom: 1px solid #1f1f25; color: var(--muted); }
.kv b { color: var(--text); font-variant-numeric: tabular-nums; }
.split-bar { display: flex; gap: 3px; height: 10px; margin: 14px 0 8px; }
.split-bar i { border-radius: 4px; }
.split-bar .d, .legend .d { background: var(--orange); }
.split-bar .b, .legend .b { background: var(--red); }
.split-bar .t, .legend .t { background: var(--steel1); }
.legend { display: flex; gap: 14px; font-size: 12px; color: var(--muted); }
.legend i { display: inline-block; width: 8px; height: 8px; border-radius: 2px; margin-right: 5px; }
.addr { display: grid; grid-template-columns: 1fr auto; gap: 2px 8px; padding: 9px 0; border-bottom: 1px solid #1f1f25; }
.addr small { grid-column: 1 / -1; font: 600 10.5px var(--mono); letter-spacing: .12em; color: var(--muted); }
.addr code { font: 12.5px var(--mono); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.addr button { border: 0; background: none; color: var(--muted); }
.addr button:hover { color: var(--orange); }
.panel .btn.ghost.wide { margin-top: 14px; }

/* ---------- launch sheet ---------- */
.sheet { position: fixed; inset: 0; z-index: 50; display: grid; place-items: center; padding: 16px; }
.sheet-bg { position: absolute; inset: 0; background: rgba(0,0,0,.7); backdrop-filter: blur(6px); }
.sheet-card { position: relative; width: min(980px, 100%); max-height: calc(100vh - 32px); overflow: auto; background: #111114; border: 1px solid var(--line2); border-radius: 22px; padding: 26px; box-shadow: 0 40px 120px -20px #000; animation: rise .3s cubic-bezier(.2,.8,.2,1); }
@keyframes rise { from { transform: translateY(20px); opacity: 0; } }
.x { position: absolute; right: 14px; top: 14px; width: 36px; height: 36px; border-radius: 10px; border: 1px solid var(--line); background: #17171b; z-index: 2; }
.sheet-cols { display: grid; grid-template-columns: 1fr 320px; gap: 26px; }
.sheet h2 { font-size: 44px; margin-top: 6px; }
.drop { display: flex; align-items: center; gap: 14px; padding: 14px; border: 1.5px dashed var(--line2); border-radius: 14px; cursor: pointer; color: var(--muted); font-size: 14px; transition: border-color .15s, background .15s; }
.drop:hover, .drop.over { border-color: var(--orange); background: rgba(255,95,31,.05); }
.drop img { width: 64px; height: 64px; border-radius: 12px; object-fit: cover; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.more { margin-top: 12px; color: var(--muted); font-size: 14px; }
.more summary { cursor: pointer; font-weight: 600; }
.check { display: flex; gap: 10px; align-items: flex-start; margin: 18px 0 14px; font-size: 14px; color: #c9c8c2; cursor: pointer; }
.check input { accent-color: var(--orange); width: 18px; height: 18px; margin-top: 2px; flex: none; }
.sheet-preview { background: #0c0c0e; border: 1px solid var(--line); border-radius: 16px; padding: 14px; align-self: start; position: sticky; top: 0; }
.mini-cell { position: relative; aspect-ratio: 1; border-radius: 12px; overflow: hidden; background: radial-gradient(90% 90% at 50% 10%, #2a2620, #141315); }
.mini-cell img { position: absolute; left: 50%; top: 12%; width: 62%; aspect-ratio: 1; transform: translateX(-50%); object-fit: cover; border-radius: 12px; }
.bars.thin i { width: 3.4%; animation: none; transform: none; }
.pv-name { display: flex; justify-content: space-between; align-items: baseline; margin: 12px 4px; }
.pv-name b { font: 800 24px var(--display); text-transform: uppercase; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pv-name span { font: 600 14px var(--mono); color: var(--orange); }
.pv-rules { list-style: none; padding: 0; margin: 0; font-size: 13.5px; color: var(--muted); }
.pv-rules li { padding: 8px 4px; border-top: 1px solid #1f1f25; }
.pv-rules b { color: var(--text); }

.toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 60; background: #1d1d22; border: 1px solid var(--line2); padding: 10px 16px; border-radius: 10px; font-weight: 600; box-shadow: 0 20px 40px -10px #000; }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s, transform .6s cubic-bezier(.2,.8,.2,1); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 1020px) {
  .hero { grid-template-columns: 1fr; }
  .hero-cell { max-width: 460px; }
  .files { grid-template-columns: repeat(2, 1fr); }
  .ladder-wrap { grid-template-columns: 1fr; }
  .split, .verify-cta, .coin-cols { grid-template-columns: 1fr; }
  .dossier { grid-template-columns: 260px 1fr; }
  .links { display: none; }
}
@media (max-width: 700px) {
  .nav { gap: 10px; padding: 12px 16px; }
  .brand span { font-size: 22px; }
  .nav-right .btn:not(#connect) { display: none; }
  .mode { display: none; }
  .hero { padding: 28px 16px 48px; }
  .readouts { grid-template-columns: repeat(2, 1fr); }
  .files, .ladder { grid-template-columns: 1fr 1fr; }
  .files { grid-template-columns: 1fr; }
  .sec { padding-left: 16px; padding-right: 16px; }
  .search input { width: 100%; }
  .search, .tools { width: 100%; }
  .seg { overflow-x: auto; max-width: 100%; }
  .dossier { grid-template-columns: 1fr; padding: 14px; }
  .kpis { grid-template-columns: 1fr 1fr; }
  #coin, #verify { padding: 16px 16px 0; }
  .sheet { padding: 0; place-items: end stretch; }
  .sheet-card { border-radius: 22px 22px 0 0; max-height: 94vh; padding: 20px 16px; }
  .sheet-cols { grid-template-columns: 1fr; }
  .sheet-preview { display: none; }
  .verify-form { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition: none !important; }
  .bars i { transform: none; }
}
.dossier-mug .bars i { width: 3.4%; animation-duration: .6s; }
.dossier-mug .stamp { z-index: 3; }
.xbtn { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; color: var(--text); background: rgba(255,255,255,.04); box-shadow: 0 0 0 1px var(--line2) inset; transition: background .15s; }
.xbtn:hover { background: rgba(255,255,255,.1); }
.xbtn svg { width: 16px; height: 16px; }
.foot-x { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; text-decoration: none; }
.foot-x svg { width: 16px; height: 16px; }
.ca-bar { display: flex; align-items: center; gap: 8px; max-width: 600px; margin: -14px 0 18px; padding: 6px 6px 6px 8px; background: #0e0e11; border: 1px solid var(--line); border-radius: 12px; }
.ca-tag { flex: none; font: 700 12px var(--mono); letter-spacing: .06em; color: var(--orange); background: rgba(255,95,31,.1); padding: 6px 9px; border-radius: 7px; }
.ca-bar code { flex: 1; min-width: 0; font: 500 13px var(--mono); color: #c9c8c2; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ca-btn { flex: none; border: 0; border-radius: 8px; padding: 7px 12px; font: 600 13px Inter, sans-serif; background: #22212a; color: var(--text); text-decoration: none; }
.ca-btn:hover { background: #2c2b35; }
.ca-btn.buy { background: var(--orange); color: #120700; }
.foot-ca { display: inline-flex; align-items: center; gap: 8px; max-width: 100%; margin-top: 14px !important; padding: 6px 8px; border: 1px solid var(--line); border-radius: 10px; background: #0e0e11; }
.foot-ca span { font: 700 12px var(--mono); color: var(--orange); }
.foot-ca code { font: 12.5px var(--mono); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.foot-ca button { border: 0; background: none; color: var(--muted); }
.foot-ca button:hover { color: var(--orange); }
.foot-links { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }
.foot-links a { text-decoration: none; font-weight: 600; font-size: 14px; }
@media (max-width: 1200px) { .buy-nav { display: none !important; } }
.nav .btn, .mode { white-space: nowrap; }
