/* BeefRef. Tokens and components from the Claude Design project "BeefRef Brand & App Design". */
:root {
  --ink: oklch(0.145 0.006 265);
  --slate: oklch(0.19 0.007 265);
  --slate-2: oklch(0.235 0.008 265);
  --line: oklch(0.3 0.008 265);
  --line-soft: oklch(0.27 0.008 265);
  --chalk: oklch(0.965 0.006 95);
  --muted: oklch(0.72 0.01 265);
  --faint: oklch(0.52 0.01 265);
  --citron: oklch(0.9 0.165 108);
  --citron-ink: oklch(0.22 0.04 108);
  --paper: oklch(0.955 0.014 92);
  --paper-ink: oklch(0.2 0.012 80);
  --disc: oklch(0.2 0.007 265);
  --sans: "Archivo", system-ui, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, monospace;
  --serif: "Newsreader", Georgia, serif;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html, body { margin: 0; background: var(--ink); color: var(--chalk); font-family: var(--sans); -webkit-font-smoothing: antialiased; -webkit-tap-highlight-color: transparent; }
body { min-height: 100dvh; overflow-x: hidden; }
button { font: inherit; color: inherit; cursor: pointer; }
input { font: inherit; }
input::placeholder { color: var(--faint); }
a { color: var(--citron); text-underline-offset: 3px; }
::selection { background: var(--citron); color: var(--citron-ink); }
[hidden] { display: none !important; }

@keyframes bfr-talk { 0%, 100% { transform: scaleY(.26); } 50% { transform: scaleY(.96); } }
@keyframes bfr-breathe { 0%, 100% { transform: scaleY(.84); } 50% { transform: scaleY(1); } }
@keyframes bfr-scan { 0%, 100% { opacity: .16; } 45% { opacity: 1; } }
@keyframes bfr-ring { 0% { transform: scale(.94); opacity: .85; } 100% { transform: scale(1.24); opacity: 0; } }
@keyframes bfr-dot { 0%, 100% { opacity: .25; } 50% { opacity: 1; } }

/* ---------- type ---------- */
.lbl { font-family: var(--mono); font-size: 11px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.lbl.cit { color: var(--citron); }
.lbl.chalk { color: var(--chalk); }
.cond { font-family: var(--sans); font-weight: 800; font-stretch: 62%; text-transform: uppercase; }
.h-xl { margin: 0; font-family: var(--sans); font-weight: 800; font-stretch: 62%; text-transform: uppercase; line-height: .86; letter-spacing: .005em; text-wrap: balance; }
.h-start { font-size: clamp(44px, 19cqi, 104px); }
.h-join { font-size: clamp(44px, 17cqi, 100px); }
.h-invite { font-size: clamp(46px, 13vw, 80px); line-height: .88; }
.h-mid { font-size: clamp(42px, 12vw, 64px); line-height: .88; }
.h-write { font-size: clamp(40px, 11vw, 60px); line-height: .88; }
.lede { margin: 0; font-size: 18px; line-height: 1.5; color: var(--muted); text-wrap: pretty; }
.lede.sm { font-size: 17px; max-width: 32ch; }
.small { margin: 0; font-size: 14px; line-height: 1.45; color: var(--muted); }
.center { text-align: center; }

/* ---------- chrome ---------- */
.screen { min-height: 100dvh; display: flex; flex-direction: column; }
.hdr { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 20px; width: 100%; max-width: 1120px; margin: 0 auto; }
.hdr.narrow { max-width: 1000px; }
.wm { display: flex; align-items: center; gap: 10px; color: var(--chalk); text-decoration: none; }
.wm span { font-family: var(--sans); font-weight: 800; font-stretch: 62%; font-size: 23px; letter-spacing: .07em; line-height: 1; }
.mark { --m: 26px; width: var(--m); height: var(--m); border-radius: 50%; overflow: hidden; display: flex; justify-content: center; gap: calc(var(--m) * .1); background: var(--chalk); flex: none; }
.mark i { display: block; width: calc(var(--m) * .1); background: var(--ink); }

.wrap-split { flex: 1; width: 100%; max-width: 1120px; margin: 0 auto; padding: 8px 20px 40px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr)); gap: 40px 80px; align-items: center; }
.wrap-narrow { flex: 1; width: 100%; max-width: 520px; margin: 0 auto; padding: 12px 20px 32px; display: flex; flex-direction: column; gap: 28px; justify-content: center; }
.wrap-mic { max-width: 480px; gap: 32px; }
.col { display: flex; flex-direction: column; }
.gap-6 { gap: 6px; } .gap-10 { gap: 10px; } .gap-14 { gap: 14px; } .gap-18 { gap: 18px; } .gap-24 { gap: 24px; } .gap-28 { gap: 28px; }
.cq { container-type: inline-size; min-width: 0; }

/* ---------- start / join ---------- */
.rules { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.rules li { display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 8px; padding: 16px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.rules li b { font-size: 18px; font-weight: 500; line-height: 1.35; }
.blind { display: flex; gap: 14px; align-items: flex-start; }
.blind .pair { display: flex; flex: none; padding-top: 2px; }
.blind .pair span { display: block; width: 18px; height: 18px; border-radius: 50%; }
.blind .pair span:first-child { background: var(--chalk); }
.blind .pair span:last-child { border: 1.5px solid var(--chalk); margin-left: -6px; }
.blind p { margin: 0; font-size: 15px; line-height: 1.5; color: var(--muted); text-wrap: pretty; }
.blind strong { color: var(--chalk); font-weight: 600; }
.mini-rules { display: flex; flex-direction: column; gap: 8px; padding: 16px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.mini-rules span { font-size: 16px; line-height: 1.4; }
.mini-rules i { font-style: normal; font-family: var(--mono); font-size: 11px; color: var(--citron); letter-spacing: .14em; margin-right: 10px; }

.panel { background: var(--slate); border: 1px solid var(--line); border-radius: 28px; padding: 24px 20px 20px; display: flex; flex-direction: column; gap: 24px; width: 100%; max-width: 520px; justify-self: center; }
.panel-head { display: flex; justify-content: space-between; align-items: baseline; }
.field { display: flex; flex-direction: column; gap: 10px; }
.input { width: 100%; height: 58px; padding: 0 18px; border-radius: 14px; border: 1px solid var(--line); background: var(--ink); color: var(--chalk); font-size: 19px; outline: none; }
.input:focus { border-color: var(--citron); }
.field-err { font-size: 15px; color: var(--citron); margin-top: -14px; }
.seg { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; padding: 4px; border-radius: 16px; background: var(--ink); border: 1px solid var(--line); }
.seg button { height: 48px; border: 0; border-radius: 12px; background: transparent; color: var(--chalk); font-size: 17px; font-weight: 600; transition: background .15s; }
.seg button.on { background: var(--chalk); color: var(--ink); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips button { height: 44px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line); background: transparent; color: var(--chalk); font-size: 16px; font-weight: 500; transition: background .15s; }
.chips button.on { background: var(--chalk); color: var(--ink); border-color: var(--chalk); }

.btn { display: flex; align-items: center; justify-content: center; width: 100%; height: 62px; border: 0; border-radius: 16px; background: var(--citron); color: var(--citron-ink); font-family: var(--sans); font-weight: 800; font-stretch: 75%; font-size: 20px; letter-spacing: .05em; text-transform: uppercase; text-decoration: none; transition: transform .12s; }
.btn:active { transform: scale(.985); }
.btn:disabled { opacity: .5; }
.btn-2 { display: flex; align-items: center; justify-content: center; width: 100%; height: 58px; border: 1px solid var(--line); border-radius: 16px; background: var(--slate-2); color: var(--chalk); font-size: 17px; font-weight: 600; text-decoration: none; }
.btn-2:active { transform: scale(.985); }
.btn-text { border: 0; background: none; padding: 8px; font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); align-self: center; }

/* ---------- invite ---------- */
.linkbox { display: flex; align-items: center; gap: 12px; padding: 8px 8px 8px 18px; border-radius: 16px; background: var(--slate); border: 1px solid var(--line); }
.linkbox .url { flex: 1; min-width: 0; font-family: var(--mono); font-size: 16px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.linkbox .url b { font-weight: 400; color: var(--citron); }
.linkbox button { height: 46px; padding: 0 18px; border-radius: 12px; border: 1px solid var(--line); background: var(--slate-2); font-family: var(--mono); font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; flex: none; }
.waitbox { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: 16px; border: 1px dashed var(--line); font-size: 16px; line-height: 1.4; }
.dot { display: block; width: 9px; height: 9px; border-radius: 50%; background: var(--citron); flex: none; }
.dot.pulse { animation: bfr-dot 1.2s ease-in-out infinite; }

/* ---------- referee disc ---------- */
.ref { position: relative; flex: none; }
.ref .ring { position: absolute; border-radius: 50%; border: 1.5px solid var(--citron); animation: bfr-ring 1.8s ease-out infinite; }
.ref .face { position: absolute; inset: 0; border-radius: 50%; overflow: hidden; background: var(--disc); display: flex; justify-content: center; align-items: center; box-shadow: inset 0 0 0 1px oklch(0.32 0.008 265); transition: box-shadow .5s; }
.ref.speak .face { box-shadow: 0 0 0 2px var(--citron), 0 0 70px -10px oklch(0.9 0.165 108 / .45); }
.ref .face span { display: block; flex: none; height: 100%; background: var(--chalk); transform-origin: 50% 50%; }
.ref.off .face span { opacity: .3; }
.centerline { position: relative; display: flex; justify-content: center; width: 100%; }
.centerline::before { content: ""; position: absolute; top: 50%; left: -60vw; right: -60vw; height: 1px; background: var(--line-soft); }
.centerline > * { position: relative; }

.meter { display: flex; align-items: center; gap: 3px; height: 22px; flex: none; }
.meter span { display: block; width: 3px; height: 22px; border-radius: 2px; background: oklch(0.45 0.01 265); transform: scaleY(.16); }
.meter.on span { background: var(--chalk); transform: none; }

/* ---------- mic ---------- */
.steps { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.steps li { display: grid; grid-template-columns: 36px 1fr; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 16px; line-height: 1.4; text-align: left; }
.steps li i { font-style: normal; font-family: var(--mono); font-size: 12px; color: var(--citron); }

/* ---------- live room ---------- */
.room { min-height: 100dvh; display: flex; flex-direction: column; position: relative; overflow-x: clip; }
.room-top { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px; padding: 14px 16px 8px; width: 100%; max-width: 1120px; margin: 0 auto; }
.room-top .id { display: flex; align-items: center; gap: 10px; }
.room-top .id .lbl { color: var(--muted); }
.clock { display: flex; flex-direction: column; align-items: center; gap: 1px; }
.clock b { font-family: var(--mono); font-size: 22px; font-weight: 500; font-variant-numeric: tabular-nums; letter-spacing: .02em; }
.clock span { font-family: var(--mono); font-size: 9.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.end { justify-self: end; height: 42px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--line); background: var(--slate); font-family: var(--mono); font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.end.armed { padding: 0 16px; border: 0; background: var(--citron); color: var(--citron-ink); letter-spacing: .1em; }
.end:disabled { opacity: .4; }
.room-body { flex: 1; display: flex; flex-direction: column; width: 100%; max-width: 560px; margin: 0 auto; padding: 0 18px 18px; }
.them { flex: 1 0 auto; display: flex; align-items: center; padding: 8px 0; }
.person { display: flex; align-items: center; gap: 16px; width: 100%; }
.av { border-radius: 50%; display: grid; place-items: center; font-weight: 700; flex: none; position: relative; }
.av.out { width: 56px; height: 56px; border: 1.5px solid var(--chalk); font-size: 22px; }
.av.out.dash { border-style: dashed; }
.av.out.dim { border-color: var(--muted); color: var(--muted); }
.av.solid { background: var(--chalk); color: var(--ink); }
.av .halo { position: absolute; border-radius: 50%; border: 2px solid var(--citron); }
.who { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.who-line { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.who-name { font-size: 21px; font-weight: 700; }
.pron { font-family: var(--mono); font-size: 11px; color: var(--muted); font-weight: 400; }
.sub { font-size: 15px; color: var(--muted); }
.tag { font-family: var(--mono); font-size: 10px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; padding: 4px 8px; border-radius: 6px; background: var(--citron); color: var(--citron-ink); }
.tag.line { padding: 3px 7px; background: none; border: 1px solid var(--citron); color: var(--citron); }
.turnline { display: flex; align-items: center; gap: 12px; }
.mono-n { font-family: var(--mono); font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; }
.stage { display: flex; flex-direction: column; align-items: center; gap: 18px; padding: 6px 0; }
.say { min-height: 104px; width: 100%; display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; }
.say .k { font-family: var(--mono); font-size: 10.5px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.say .k.cit { color: var(--citron); }
.say p { margin: 0; font-size: 22px; line-height: 1.3; font-weight: 600; max-width: 24ch; text-wrap: balance; }
.say p.cap { font-size: clamp(20px, 5.6vw, 26px); max-width: 26ch; }
.say p .rest { color: oklch(0.965 0.006 95 / .24); }
.say .sub { font-size: 15px; }
.balance { display: flex; flex-direction: column; gap: 8px; padding: 6px 0 4px; }
.balance .row { display: flex; justify-content: space-between; align-items: baseline; }
.balance .lbl { font-size: 10.5px; letter-spacing: .16em; }
.bar { position: relative; height: 10px; display: flex; gap: 3px; }
.bar .y { background: var(--chalk); border-radius: 3px; transition: width .5s; }
.bar .t { flex: 1; border-radius: 3px; background: repeating-linear-gradient(135deg, var(--chalk) 0 1.5px, transparent 1.5px 5px); box-shadow: inset 0 0 0 1px var(--chalk); }
.bar .mid { position: absolute; left: 50%; top: -5px; bottom: -5px; width: 2px; margin-left: -1px; background: var(--citron); border-radius: 1px; }
.balance .names { display: flex; justify-content: space-between; font-family: var(--mono); font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; }
.you { flex: 1.15 0 auto; display: flex; flex-direction: column; justify-content: flex-end; gap: 12px; padding-top: 14px; }
.floorpanel { border-radius: 26px; background: var(--slate); border: 1px solid var(--line); padding: 18px; display: flex; flex-direction: column; gap: 16px; }
.floorpanel .top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.floorpanel .top .cond { font-size: 34px; line-height: .9; letter-spacing: .01em; }
.floorpanel .top .mono { font-family: var(--mono); font-size: 15px; font-variant-numeric: tabular-nums; }
.floorpanel .top .mono i { font-style: normal; color: var(--muted); }
.progress { height: 3px; background: var(--line); border-radius: 2px; overflow: hidden; }
.progress div { height: 100%; background: var(--citron); transition: width .25s linear; }
.me-row { display: flex; align-items: center; gap: 14px; }
.me-row .av.solid { width: 44px; height: 44px; font-size: 18px; }
.me-row .nm { flex: 1; display: flex; flex-direction: column; gap: 2px; }
.me-row .nm b { font-size: 17px; }
.me-row .nm span { font-size: 14px; color: var(--muted); }
.mutepanel { border-radius: 26px; background: oklch(0.9 0.165 108 / .07); border: 1.5px solid var(--citron); padding: 20px; display: flex; flex-direction: column; gap: 12px; }
.mutepanel .top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.mutepanel .top .lbl { font-weight: 600; letter-spacing: .16em; color: var(--citron); }
.mutepanel .top .mono-n { color: var(--citron); }
.mutepanel .big { margin: 0; font-size: 25px; font-weight: 700; line-height: 1.18; text-wrap: balance; }
.mutepanel .why { margin: 0; font-size: 16px; line-height: 1.45; color: var(--muted); text-wrap: pretty; }
.mutepanel .foot { display: flex; align-items: center; gap: 14px; padding-top: 12px; border-top: 1px solid oklch(0.9 0.165 108 / .25); }
.mutepanel .foot .av { width: 40px; height: 40px; font-size: 16px; opacity: .5; }
.mutepanel .foot .lbl { flex: 1; }
.hint { margin: 0; font-size: 14px; line-height: 1.45; color: var(--muted); padding: 12px 14px; border-radius: 14px; border: 1px dashed var(--line); }
.listenrow { display: flex; align-items: center; gap: 16px; padding: 14px 16px; border-radius: 22px; background: var(--slate); border: 1px solid var(--line); }
.listenrow .av { width: 48px; height: 48px; font-size: 19px; }
.listenrow .nm { flex: 1; display: flex; flex-direction: column; gap: 2px; }
.listenrow .nm b { font-size: 18px; }
.listenrow .nm span { font-size: 14px; color: var(--muted); }
.checks { display: flex; flex-direction: column; border-radius: 22px; background: var(--slate); border: 1px solid var(--line); overflow: hidden; }
.checks div { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 16px; border-bottom: 1px solid var(--line); font-size: 16px; }
.checks div:last-child { border-bottom: 0; }
.checks b { font-family: var(--mono); font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.checks b.ok { color: var(--citron); }
.writing { flex: 1; width: 100%; max-width: 520px; margin: 0 auto; padding: 12px 20px 32px; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 32px; }
.wsteps { list-style: none; margin: 0; padding: 0; width: 100%; border-top: 1px solid var(--line); }
.wsteps li { display: grid; grid-template-columns: 32px minmax(0, 1fr) auto; gap: 10px; align-items: baseline; padding: 14px 0; border-bottom: 1px solid var(--line); transition: opacity .4s; }
.wsteps li > span:nth-child(2) { font-size: 16px; line-height: 1.35; }
.wsteps .st { font-family: var(--mono); font-size: 10.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }

/* ---------- report ---------- */
.report { width: 100%; max-width: 1000px; margin: 0 auto; padding: 8px 20px 72px; display: flex; flex-direction: column; gap: 64px; }
.title-cit { font-family: var(--sans); font-weight: 800; font-stretch: 62%; text-transform: uppercase; font-size: clamp(40px, 11vw, 76px); line-height: .86; color: var(--citron); }
.facts { margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.facts div { background: var(--ink); padding: 12px 14px; display: flex; flex-direction: column; gap: 5px; }
.facts dt { font-family: var(--mono); font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.facts dd { margin: 0; font-family: var(--mono); font-size: 14px; }
.matter { margin: 0; font-family: var(--serif); font-weight: 400; font-size: clamp(30px, 7.4vw, 52px); line-height: 1.1; letter-spacing: -.01em; text-wrap: balance; }
.score2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); border: 1px solid var(--line); border-radius: 26px; overflow: hidden; }
.score2 .side { padding: 20px 18px 22px; display: flex; flex-direction: column; gap: 14px; }
.score2 .side:first-child { border-right: 1px solid var(--line); }
.score2 .nm { display: flex; align-items: center; gap: 8px; }
.score2 .nm b { font-size: 17px; }
.pip { width: 12px; height: 12px; border-radius: 50%; flex: none; }
.pip.solid { background: var(--chalk); }
.pip.out { border: 1.5px solid var(--chalk); }
.pip.sm { width: 9px; height: 9px; }
.score2 .num { display: flex; align-items: baseline; gap: 6px; }
.score2 .num b { font-family: var(--sans); font-weight: 800; font-stretch: 62%; font-size: clamp(96px, 28vw, 180px); line-height: .8; font-variant-numeric: tabular-nums; }
.score2 .num span { font-family: var(--mono); font-size: 12px; color: var(--muted); }
.score2 .num.three b { font-size: clamp(76px, 20vw, 150px); }
.verdict-bar { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 16px 18px; flex-wrap: wrap; background: var(--citron); color: var(--citron-ink); }
.verdict-bar.even { background: var(--slate-2); color: var(--chalk); }
.verdict-bar .k { font-family: var(--mono); font-size: 11px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; }
.verdict-bar.even .k { color: var(--muted); }
.verdict-bar .v { font-family: var(--sans); font-weight: 800; font-stretch: 62%; text-transform: uppercase; font-size: 30px; line-height: 1; letter-spacing: .03em; }
.stats { border: 1px solid var(--line); border-radius: 22px; overflow: hidden; }
.stats > div { display: grid; grid-template-columns: minmax(0, 1fr) 76px 76px; align-items: center; padding: 15px 18px; border-top: 1px solid var(--line); }
.stats > div:first-child { padding: 12px 18px; background: var(--slate); border-top: 0; }
.stats .h { display: flex; justify-content: flex-end; align-items: center; gap: 6px; font-size: 14px; font-weight: 700; min-width: 0; }
.stats .h em { font-style: normal; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.stats .l { font-size: 16px; }
.stats .n { font-family: var(--mono); font-size: 18px; text-align: right; font-variant-numeric: tabular-nums; }
.ruling { margin: 0; font-family: var(--serif); font-style: italic; font-weight: 400; font-size: clamp(30px, 7.6vw, 52px); line-height: 1.12; letter-spacing: -.01em; text-wrap: pretty; }
.issue { margin: 0; font-size: 18px; line-height: 1.5; text-wrap: pretty; }
.issue b { font-weight: 700; }
.stamp-row { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.stamp { transform: rotate(-4deg); border: 2px solid var(--citron); border-radius: 9px; padding: 3px; flex: none; }
.stamp div { border: 1px solid var(--citron); border-radius: 6px; padding: 10px 16px; display: flex; flex-direction: column; align-items: center; gap: 3px; color: var(--citron); }
.stamp b { font-family: var(--mono); font-weight: 600; font-size: 14px; letter-spacing: .18em; }
.stamp span { font-family: var(--mono); font-size: 9.5px; letter-spacing: .22em; }
.stamp.warn, .stamp.warn div { border-color: var(--muted); color: var(--muted); }
.stamp-row p { margin: 0; flex: 1; min-width: 220px; font-size: 15px; line-height: 1.5; color: var(--muted); text-wrap: pretty; }
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 14px; }
.dossier { background: var(--slate); border: 1px solid var(--line); border-radius: 26px; padding: 20px; display: flex; flex-direction: column; gap: 20px; }
.dossier header { display: flex; align-items: center; gap: 12px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.dossier header .av { width: 40px; height: 40px; font-size: 17px; }
.dossier header .av.out { border: 1.5px solid var(--chalk); }
.dossier header .nm { display: flex; flex-direction: column; gap: 2px; }
.dossier header .nm b { font-size: 20px; }
.dossier header .sc { margin-left: auto; font-family: var(--sans); font-weight: 800; font-stretch: 62%; font-size: 44px; line-height: 1; }
.dossier .f { display: flex; flex-direction: column; gap: 6px; }
.dossier .f .lbl { font-size: 10.5px; letter-spacing: .16em; }
.dossier .f p { margin: 0; font-size: 17px; line-height: 1.45; text-wrap: pretty; }
.lists { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 44px 36px; }
.numlist { list-style: none; margin: 0; padding: 0; }
.numlist li { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 4px; padding: 15px 0; border-top: 1px solid var(--line); font-size: 18px; line-height: 1.4; align-items: baseline; }
.numlist li i { font-style: normal; font-family: var(--mono); font-size: 12px; color: var(--citron); }
.share { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 32px; align-items: center; }
.card { width: 100%; max-width: 380px; justify-self: center; aspect-ratio: 4 / 5; background: var(--paper); color: var(--paper-ink); border-radius: 20px; padding: 22px 22px 20px; display: flex; flex-direction: column; gap: 14px; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .7); overflow: hidden; }
.card .top { display: flex; align-items: center; justify-content: space-between; }
.card .top .wm span { font-size: 19px; color: var(--paper-ink); }
.card .mark { --m: 22px; background: var(--paper-ink); }
.card .mark i { background: var(--paper); }
.card .m { font-family: var(--mono); font-size: 10px; letter-spacing: .14em; }
.card .rule { display: flex; justify-content: space-between; padding: 8px 0; border-top: 1.5px solid var(--paper-ink); border-bottom: 1px solid oklch(0.2 0.012 80 / .25); }
.card .rule b { font-family: var(--mono); font-size: 10px; font-weight: 600; letter-spacing: .16em; }
.card .scores { display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; }
.card .scores > div { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.card .scores > div:last-child { align-items: flex-end; }
.card .scores .m { text-transform: uppercase; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 140px; }
.card .scores b { font-family: var(--sans); font-weight: 800; font-stretch: 62%; font-size: 68px; line-height: .82; }
.card .scores .to { padding-bottom: 6px; }
.card .res { font-family: var(--mono); font-size: 10.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.card q { margin: 0; flex: 1; font-family: var(--serif); font-style: italic; font-size: 22px; line-height: 1.2; text-wrap: pretty; quotes: "\201C" "\201D"; overflow: hidden; }
.card .bottom { display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; }
.card .stamp2 { transform: rotate(-5deg); border: 1.5px solid var(--paper-ink); border-radius: 7px; padding: 2px; }
.card .stamp2 div { border: 1px solid var(--paper-ink); border-radius: 5px; padding: 6px 10px; font-family: var(--mono); font-weight: 600; font-size: 10.5px; letter-spacing: .16em; }
.share-side { display: flex; flex-direction: column; gap: 14px; max-width: 440px; }
.share-side > p { margin: 0; font-size: 18px; line-height: 1.5; text-wrap: pretty; }
.toggle { display: flex; align-items: center; justify-content: space-between; gap: 16px; width: 100%; padding: 14px 16px; border-radius: 16px; border: 1px solid var(--line); background: var(--slate); text-align: left; }
.toggle .t { display: flex; flex-direction: column; gap: 3px; }
.toggle .t b { font-size: 16px; font-weight: 600; }
.toggle .t span { font-size: 14px; color: var(--muted); }
.sw { width: 52px; height: 32px; border-radius: 999px; padding: 3px; display: flex; justify-content: flex-start; background: var(--line); transition: background .2s; flex: none; }
.sw span { width: 26px; height: 26px; border-radius: 50%; background: var(--chalk); }
.toggle.on .sw { justify-content: flex-end; background: var(--citron); }
.toggle.on .sw span { background: var(--citron-ink); }
.txhead { display: flex; justify-content: space-between; align-items: center; width: 100%; padding: 20px 0; border: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: none; text-align: left; }
.tx { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.tx li { display: grid; grid-template-columns: 58px minmax(0, 1fr); gap: 12px; padding: 16px 0; border-bottom: 1px solid var(--slate-2); }
.tx .t { font-family: var(--mono); font-size: 12px; color: var(--muted); padding-top: 2px; }
.tx .b { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.tx .w { font-size: 13px; font-weight: 700; letter-spacing: .02em; }
.tx .w.ref { color: var(--citron); }
.tx p { margin: 0; font-size: 16px; line-height: 1.5; overflow-wrap: anywhere; }
.tx p.ref { color: var(--muted); }
.tx .call { display: flex; gap: 10px; align-items: baseline; flex-wrap: wrap; padding-top: 2px; }
.tx .call .tag { font-size: 10px; }
.tx .call span:last-child { font-size: 14px; line-height: 1.4; color: var(--muted); }
.rate { display: flex; flex-direction: column; gap: 16px; padding: 22px 20px; border-radius: 26px; background: var(--slate); border: 1px solid var(--line); }
.rate .q { margin: 0; font-size: 21px; font-weight: 600; line-height: 1.3; }
.rate .opts { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; }
.rate .opts button { height: 58px; border-radius: 14px; border: 1px solid var(--line); background: transparent; color: var(--chalk); font-family: var(--mono); font-size: 18px; font-weight: 500; transition: background .15s; }
.rate .opts button.on { background: var(--citron); color: var(--citron-ink); border-color: var(--citron); }
.rate .ends { display: flex; justify-content: space-between; }
.rate .ends .lbl { font-size: 10.5px; }
.rate .done { margin: 0; font-size: 15px; color: var(--citron); }
.foot-btns { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 10px; }
.foot-btns .btn-2 { height: 62px; }

/* ---------- misc ---------- */
.toast { position: fixed; left: 50%; top: 16px; transform: translateX(-50%); z-index: 50; padding: 12px 18px; border-radius: 999px; background: var(--chalk); color: var(--ink); font-family: var(--mono); font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; box-shadow: 0 12px 30px rgba(0, 0, 0, .4); white-space: nowrap; }
.loading { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 24px; padding: 40px 20px; text-align: center; }
