*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --red: #E8201A;
  --red-dim: #5c1210;
  --bg: #0f0f0f;
  --surface: #161616;
  --card: #121212;
  --border: #2a2a2a;
  --text: #e8e8e8;
  --soft: #b0b0b0;
  --muted: #6b6b6b;
  --user-bg: #1e1e1e;
  --display: 'Bebas Neue', 'Arial Narrow', 'Impact', sans-serif;
  --body: 'Inter', 'Helvetica Neue', Arial, sans-serif;
  --rail-w: 340px;
}

html, body {
  height: 100%;
  background: var(--bg);
  color: var(--text);
  font-family: var(--body);
  font-size: 15px;
  line-height: 1.6;
}

a { color: #888; text-decoration: none; transition: color 0.15s; }
a:hover { color: var(--muted); }
button { font-family: inherit; }

.label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--red);
}
.label.muted { color: var(--muted); }

.btn {
  display: inline-block;
  border: none;
  padding: 16px 48px;
  font-family: var(--display);
  font-size: 20px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.15s, transform 0.1s, border-color 0.15s;
  white-space: nowrap;
}
.btn.primary { background: var(--red); color: #fff; }
.btn.primary:hover { background: #ff2a24; transform: translateY(-1px); }
.btn.primary:active { transform: translateY(0); }
.btn.primary:disabled { background: #333; cursor: not-allowed; transform: none; }
.btn.secondary { background: transparent; color: var(--text); border: 1px solid #444; padding: 15px 48px; }
.btn.secondary:hover { border-color: var(--red); }
.btn.secondary:disabled { color: var(--muted); border-color: var(--border); cursor: not-allowed; }

/* ─── LANDING ─────────────────────────────────────────── */
#landing {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 40px 24px 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
#landing::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 50% at 50% 30%, rgba(232,32,26,0.06) 0%, transparent 70%);
  pointer-events: none;
}
.landing-logo { width: min(340px, 80vw); max-height: 48vh; object-fit: contain; margin-bottom: 32px; display: block; cursor: pointer; transition: transform 0.15s; }
.landing-logo:hover { transform: translateY(-2px); }
.landing-tagline {
  font-size: clamp(16px, 2.2vw, 19px);
  color: var(--text);
  max-width: 520px;
  margin-bottom: 18px;
  font-weight: 300;
  letter-spacing: 0.01em;
  line-height: 1.55;
  text-wrap: pretty;
}
.landing-sub {
  font-size: clamp(13px, 1.6vw, 14px);
  color: var(--muted);
  max-width: 440px;
  margin-bottom: 44px;
  font-weight: 300;
  letter-spacing: 0.01em;
}
.landing-footer {
  position: absolute;
  bottom: 32px; left: 0; right: 0;
  text-align: center;
  font-size: 13px;
  color: #707070;
  padding: 0 24px;
  line-height: 1.7;
}
.footer-sep { margin: 0 8px; opacity: 0.4; }

/* ─── APP SHELL ───────────────────────────────────────── */
#app {
  display: none;
  grid-template-rows: auto 1fr;
  height: 100vh;
  height: 100dvh;
}
#app.open { display: grid; }

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 24px;
  border-bottom: 1px solid var(--border);
  background: var(--bg);
  z-index: 2;
}
.topbar-logo { height: 36px; display: block; }
.topbar-wordmark { display: none; font-family: var(--display); font-size: 20px; color: var(--red); letter-spacing: 0.04em; }
.topbar-right { display: flex; align-items: center; gap: 22px; }
.ticks { display: flex; gap: 12px; }
.ticks .pair { display: flex; gap: 4px; }
.ticks span { display: block; width: 30px; height: 4px; background: var(--border); transition: background 0.3s; }
.ticks span.done { background: var(--red); }
.ticks span.now { background: var(--red-dim); }
.counter { font-size: 12px; color: var(--muted); letter-spacing: 0.06em; text-transform: uppercase; white-space: nowrap; }
.header-reset {
  background: none;
  border: 1px solid var(--border);
  color: var(--muted);
  font-size: 12px;
  padding: 6px 14px;
  cursor: pointer;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: border-color 0.15s, color 0.15s;
}
.header-reset:hover { border-color: var(--red); color: var(--red); }

.body {
  display: grid;
  grid-template-columns: var(--rail-w) 1fr;
  min-height: 0;
}

/* ─── CASE FILE RAIL ──────────────────────────────────── */
.rail {
  border-right: 1px solid var(--border);
  overflow-y: auto;
  padding: 22px 18px 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: var(--bg);
}
.rail::-webkit-scrollbar { width: 4px; }
.rail::-webkit-scrollbar-thumb { background: var(--border); }
.file-head { display: flex; flex-direction: column; gap: 5px; padding: 0 4px 8px; }
.file-line { font-size: 12px; color: var(--soft); letter-spacing: 0.04em; text-transform: uppercase; line-height: 1.5; }
.file-line em { font-style: normal; color: var(--red); }

.section {
  border: 1px solid var(--border);
  background: var(--card);
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: border-color 0.3s;
}
.section.active { border-color: var(--red); }
.section.locked { background: var(--bg); }
.section.locked .who, .section.locked .qrow { opacity: 0.35; }
.who { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.who-left { display: flex; align-items: center; gap: 10px; min-width: 0; }
.mark {
  width: 34px; height: 34px; flex-shrink: 0;
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
}
.mark svg { width: 18px; height: 18px; stroke: var(--text); fill: none; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.who-name { font-family: var(--display); font-size: 19px; line-height: 1; color: #fff; letter-spacing: 0.03em; }
.who-dim { font-size: 10px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--red); margin-top: 3px; }
.badge { font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--red); font-weight: 600; }
.badge.done { width: 22px; height: 22px; border: 1px solid var(--red); display: flex; align-items: center; justify-content: center; }
.badge.done svg { width: 12px; height: 12px; stroke: var(--red); fill: none; stroke-width: 2.5; }
.badge.lock svg { width: 14px; height: 14px; stroke: #444; fill: none; stroke-width: 1.5; }

.qrow { display: flex; gap: 10px; align-items: flex-start; }
.qbox {
  width: 14px; height: 14px; margin-top: 4px; flex-shrink: 0;
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
}
.qbox.now { border-color: var(--red); }
.qbox.done { border-color: var(--red); background: var(--red); }
.qbox svg { width: 9px; height: 9px; stroke: #fff; fill: none; stroke-width: 3; }
.qtext { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.qlabel { font-size: 12px; line-height: 1.4; color: var(--text); }
.qrow.done .qlabel { color: var(--muted); }
.qanswer { font-size: 12px; color: var(--soft); line-height: 1.4; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.qnow { font-size: 11px; color: var(--red); letter-spacing: 0.08em; text-transform: uppercase; }

.level { display: flex; align-items: center; justify-content: space-between; padding-top: 8px; border-top: 1px solid #1e1e1e; }
.level .label { font-size: 10px; }
.lbars { display: flex; gap: 3px; width: 60px; }
.lbars span { flex: 1; height: 5px; background: transparent; border: 1px dashed var(--border); }
.lbars span.on { background: var(--red); border-color: var(--red); }
.lbars span.est { background: var(--red-dim); border-color: var(--red-dim); }
.lbars span.off { background: var(--user-bg); border-color: var(--user-bg); }

/* ─── STAGE ───────────────────────────────────────────── */
.stage {
  position: relative;
  overflow-y: auto;
  overflow-x: hidden;
  background: var(--bg);
}
.stage::-webkit-scrollbar { width: 4px; }
.stage::-webkit-scrollbar-thumb { background: var(--border); }
.stage-backdrop {
  position: absolute;
  inset: 0;
  min-height: 900px;
  background-color: var(--bg);
  background-image:
    radial-gradient(ellipse 70% 45% at 72% 0%, rgba(255,190,120,0.16) 0%, rgba(255,190,120,0) 70%),
    linear-gradient(180deg, rgba(15,15,15,0.30) 0%, rgba(15,15,15,0) 30%, rgba(15,15,15,0) 72%, rgba(15,15,15,0.92) 100%),
    linear-gradient(90deg, rgba(15,15,15,0.96) 0%, rgba(15,15,15,0.90) 45%, rgba(15,15,15,0.55) 75%, rgba(15,15,15,0.35) 100%),
    url(room.jpg);
  background-size: auto, auto, auto, 115% auto;
  background-position: 0 0, 0 0, 0 0, 180px -340px;
  background-repeat: no-repeat;
  pointer-events: none;
}
.stage-inner {
  position: relative;
  max-width: 820px;
  padding: 44px 72px 56px;
  display: flex;
  flex-direction: column;
  gap: 26px;
  min-height: 100%;
}

.roaster-head { display: flex; align-items: center; gap: 16px; }
.roaster-head .mark { width: 56px; height: 56px; border-color: var(--red); background: var(--card); }
.roaster-head .mark svg { width: 30px; height: 30px; }
.roaster-name { font-family: var(--display); font-size: 30px; line-height: 1; color: #fff; letter-spacing: 0.03em; }
.roaster-sub { font-size: 11px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--red); margin-top: 4px; }

.reaction {
  border-left: 2px solid var(--red);
  padding: 4px 0 4px 20px;
  color: var(--soft);
  font-size: 15px;
  line-height: 1.7;
  max-width: 640px;
}
.reaction p { margin-bottom: 10px; }
.reaction p:last-child { margin-bottom: 0; }
.reaction strong { color: #fff; font-weight: 600; }
.reaction em { color: var(--soft); }
.reaction.host { color: var(--text); }
.reaction .from { font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-top: 8px; }

.status-line { font-size: 12px; color: var(--muted); letter-spacing: 0.06em; text-transform: uppercase; display: flex; align-items: center; gap: 10px; }
.status-line .dots { display: inline-flex; gap: 4px; }
.status-line .dots span { width: 5px; height: 5px; background: var(--muted); border-radius: 50%; animation: blink 1.2s infinite; }
.status-line .dots span:nth-child(2) { animation-delay: 0.2s; }
.status-line .dots span:nth-child(3) { animation-delay: 0.4s; }
@keyframes blink {
  0%, 80%, 100% { opacity: 0.3; transform: scale(0.9); }
  40% { opacity: 1; transform: scale(1.1); }
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}
.enter { animation: fadeUp 0.35s ease; }
[hidden] { display: none !important; }

.question {
  font-family: var(--display);
  font-size: clamp(34px, 4.2vw, 52px);
  line-height: 0.98;
  color: #fff;
  letter-spacing: 0.01em;
  max-width: 640px;
  text-wrap: pretty;
}

.options { display: flex; flex-direction: column; gap: 10px; max-width: 640px; }
.option {
  text-align: left;
  border: 1px solid var(--border);
  background: rgba(22,22,22,0.92);
  color: var(--text);
  font-size: 16px;
  line-height: 1.45;
  padding: 18px 20px;
  min-height: 44px;
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
}
.option:hover { border-color: #e0b24a; background: rgba(30,26,22,0.96); }
.option:disabled { opacity: 0.45; cursor: default; border-color: var(--border); }
.option.picked { border-color: var(--red); opacity: 1; }

.saymore { display: flex; flex-direction: column; gap: 8px; max-width: 640px; }
.saymore .label { font-size: 11px; }
.input-row { display: flex; gap: 10px; align-items: flex-end; }
#user-input {
  flex: 1;
  background: rgba(22,22,22,0.94);
  border: 1px solid var(--border);
  color: var(--text);
  font-family: var(--body);
  font-size: 15px;
  padding: 12px 16px;
  resize: none;
  min-height: 48px;
  max-height: 180px;
  line-height: 1.5;
  overflow-y: hidden;
  outline: none;
  transition: border-color 0.15s;
}
#user-input:focus { border-color: #444; }
#user-input::placeholder { color: var(--muted); }
#send-btn {
  background: var(--red); color: #fff; border: none;
  width: 48px; height: 48px; cursor: pointer; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.15s;
}
#send-btn:hover { background: #ff2a24; }
#send-btn:disabled { background: #333; cursor: not-allowed; }
#send-btn svg { width: 20px; height: 20px; }
.input-hint { font-size: 11px; color: var(--muted); }
.error-line { color: var(--red); font-size: 14px; line-height: 1.6; max-width: 640px; }
.error-line a { color: var(--red); text-decoration: underline; }

.stage-footer { margin-top: auto; font-size: 12px; color: #707070; line-height: 1.7; padding-top: 24px; }

/* ─── REVEAL (inside the stage) ───────────────────────── */
.reveal { display: flex; flex-direction: column; gap: 26px; animation: fadeUp 0.6s ease; }
.reveal-head { display: flex; align-items: center; gap: 14px; }
.reveal-head .rule { flex: 1; height: 1px; background: var(--border); }
.reveal-subject { font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.verdict {
  font-family: var(--body);
  font-weight: 500;
  font-size: clamp(24px, 2.9vw, 34px);
  line-height: 1.28;
  color: #fff;
  letter-spacing: -0.01em;
  text-wrap: pretty;
  max-width: 700px;
}
.pulse {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 18px;
  border-left: 2px solid var(--border);
  padding: 4px 0 4px 20px; max-width: 700px;
}
.pulse-state { font-family: var(--display); font-size: 22px; letter-spacing: 0.06em; color: #fff; white-space: nowrap; }
.pulse.living { border-left-color: #6fcf8f; }
.pulse.life-support { border-left-color: #e0b24a; }
.pulse.dead { border-left-color: var(--red); }
.pulse-line { color: var(--soft); font-size: 15px; line-height: 1.6; flex: 1; min-width: 240px; }
.cards-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 1100px) { .cards-grid { grid-template-columns: 1fr; } }
.rcard { border: 1px solid #2e2a26; background: rgba(24,21,19,0.94); padding: 22px 22px 20px; display: flex; flex-direction: column; gap: 14px; animation: fadeUp 0.5s ease both; }
.rcard:nth-child(2) { animation-delay: 0.15s; }
.rcard:nth-child(3) { animation-delay: 0.3s; }
.rcard:nth-child(4) { animation-delay: 0.45s; }
.rcard-top { display: flex; justify-content: space-between; align-items: flex-start; }
.rcard-who { display: flex; align-items: center; gap: 12px; }
.rcard-mark { width: 40px; height: 40px; border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.rcard-mark svg { width: 22px; height: 22px; stroke: var(--text); fill: none; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.rcard-name { font-family: var(--display); font-size: 22px; line-height: 1; color: #fff; letter-spacing: 0.03em; }
.rcard-dim { font-size: 11px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--red); margin-top: 2px; }
.bars { display: flex; flex-direction: column; gap: 3px; width: 44px; padding-top: 4px; }
.bars span { height: 5px; background: var(--user-bg); }
.bars span.on { background: var(--red); }
.rcard-class { font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: #9a8f86; }
.rcard-roast { font-size: 15px; line-height: 1.6; text-wrap: pretty; }
.rcard-need { border-top: 1px solid #2e2a26; padding-top: 12px; font-size: 13px; line-height: 1.55; color: #cfc6bf; }
.rcard-need .label { display: block; font-size: 10px; margin-bottom: 4px; }
.next-move { border-left: 2px solid #e0b24a; padding: 12px 18px 12px 20px; max-width: 700px; background: rgba(224,178,74,0.05); }
.next-move .label { color: #e0b24a; }
.next-move .label { display: block; margin-bottom: 6px; }

/* ─── THE DOOR ────────────────────────────────────────── */
.door { border-top: 1px solid var(--border); padding: 32px 0 8px; display: flex; flex-direction: column; gap: 18px; }
.door h2 { font-family: var(--body); font-size: clamp(22px, 2.6vw, 30px); line-height: 1.25; color: #fff; font-weight: 500; letter-spacing: -0.01em; }
.door p { color: var(--soft); max-width: 600px; }
.door-actions { display: flex; flex-direction: column; gap: 12px; margin-top: 4px; }
.door-row { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.door-row small { font-size: 13px; color: var(--muted); line-height: 1.5; flex: 1; min-width: 200px; }

/* ─── SEND TO VILLE ───────────────────────────────────── */
.sheet { display: none; flex-direction: column; gap: 18px; max-width: 640px; padding: 8px 0 24px; animation: fadeUp 0.3s ease; }
.sheet.open { display: flex; }
.sheet h2 { font-family: var(--display); font-size: clamp(30px, 4vw, 44px); line-height: 0.98; color: #fff; font-weight: 400; }
.sheet p { color: var(--soft); }
.field { display: flex; flex-direction: column; gap: 8px; }
.field input, .field textarea {
  background: var(--surface); border: 1px solid var(--border); color: var(--text);
  font-family: var(--body); font-size: 15px; padding: 12px 16px; line-height: 1.5; outline: none; min-height: 48px;
}
.field input:focus, .field textarea:focus { border-color: #444; }
.field textarea { resize: vertical; min-height: 72px; }
.check { display: flex; align-items: flex-start; gap: 12px; font-size: 13px; color: var(--soft); line-height: 1.5; cursor: pointer; }
.check input { width: 18px; height: 18px; accent-color: var(--red); margin-top: 1px; flex-shrink: 0; }
.sheet-actions { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.sheet-actions small { font-size: 13px; color: var(--muted); }
.sheet-error { color: var(--red); font-size: 13px; }

/* follow-ups after the roast */
.followups { display: flex; flex-direction: column; gap: 18px; max-width: 640px; }
.fu { line-height: 1.7; }
.fu.user { background: var(--user-bg); border: 1px solid var(--border); padding: 12px 16px; align-self: flex-end; max-width: 85%; }
.fu.assistant { border-left: 2px solid var(--red); padding-left: 18px; }
.fu p { margin-bottom: 10px; }
.fu p:last-child { margin-bottom: 0; }

/* ─── MOBILE ──────────────────────────────────────────── */
.filebar { display: none; }
.rail-close { display: none; }

@media (max-width: 900px) {
  #landing { padding: 28px 20px 96px; min-height: 100dvh; }
  .landing-logo { max-height: 42vh; margin-bottom: 22px; }
  .landing-tagline { margin-bottom: 14px; }
  .landing-sub { margin-bottom: 28px; }
  .landing-footer { bottom: 20px; font-size: 12px; }
  /* 16px stops iOS zooming into the field on focus */
  #user-input, .field input, .field textarea { font-size: 16px; }
  #app.open { grid-template-rows: auto 1fr auto; }
  .topbar { padding: 12px 16px; }
  .topbar-logo { display: none; }
  .topbar-wordmark { display: block; }
  .topbar-right { gap: 12px; }
  .ticks { display: none; }
  .header-reset { padding: 5px 10px; font-size: 11px; }
  .body { grid-template-columns: 1fr; }
  .rail {
    display: none;
    position: fixed; inset: 0; z-index: 20;
    border-right: none;
    padding-top: 64px;
    background: rgba(15,15,15,0.97);
  }
  .rail.open { display: flex; }
  .rail-close { display: block; position: absolute; top: 14px; right: 16px; }
  .stage-backdrop {
    background-image:
      radial-gradient(ellipse 90% 30% at 50% 0%, rgba(255,190,120,0.14) 0%, rgba(255,190,120,0) 70%),
      linear-gradient(180deg, rgba(15,15,15,0.40) 0%, rgba(15,15,15,0.62) 24%, rgba(15,15,15,0.96) 46%, #0f0f0f 100%),
      url(room.jpg);
    background-size: auto, auto, auto 160%;
    background-position: 0 0, 0 0, center -500px;
  }
  .stage-inner { padding: 20px 20px 40px; gap: 20px; }
  .roaster-head .mark { width: 44px; height: 44px; }
  .roaster-head .mark svg { width: 24px; height: 24px; }
  .roaster-name { font-size: 24px; }
  .question { font-size: clamp(30px, 8.5vw, 38px); }
  .option { font-size: 14px; padding: 14px 16px; }
  .cards-grid { grid-template-columns: 1fr; }
  .door-row { flex-direction: column; align-items: flex-start; gap: 10px; }
  .btn { padding: 14px 32px; font-size: 18px; }

  .filebar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 16px 14px;
    padding-bottom: max(14px, env(safe-area-inset-bottom));
    border-top: 1px solid var(--border);
    background: var(--bg);
    cursor: pointer;
  }
  .filebar .label { font-size: 10px; }
  .filebar-marks { display: flex; gap: 14px; }
  .fmark { display: flex; flex-direction: column; align-items: center; gap: 5px; }
  .fmark .mark { width: 32px; height: 32px; }
  .fmark .mark svg { width: 16px; height: 16px; }
  .fmark.active .mark { border-color: var(--red); }
  .fmark.locked .mark { opacity: 0.4; }
  .fmark .pips { display: flex; gap: 3px; }
  .fmark .pips span { width: 12px; height: 3px; background: var(--border); }
  .fmark .pips span.done { background: var(--red); }
  .fmark .pips span.now { background: var(--red-dim); }
}

/* ─── PRINT CARDS (offscreen, rendered to PNG) ────────── */
#print-stage { position: absolute; left: -20000px; top: 0; }
.pcard {
  width: 1080px; height: 1350px; background: #0f0f0f; color: #e8e8e8;
  font-family: var(--body); position: relative; overflow: hidden;
  display: flex; flex-direction: column; justify-content: space-between;
  padding: 72px 80px; box-sizing: border-box;
}
.pcard .glow { position: absolute; inset: 0; background: radial-gradient(ellipse 55% 40% at 50% 18%, rgba(232,32,26,0.10) 0%, rgba(15,15,15,0) 70%); }
.pcard > div { position: relative; }
.pcard .meta { display: flex; justify-content: space-between; align-items: baseline; font-size: 20px; letter-spacing: 0.12em; text-transform: uppercase; color: #6b6b6b; }
.pcard .dim { font-family: var(--display); font-size: 190px; line-height: 0.86; color: #E8201A; letter-spacing: 0.01em; margin-top: 28px; }
.pcard .wordmark { font-family: var(--display); font-size: 110px; line-height: 0.88; color: #E8201A; margin-top: 36px; }
.pcard .who { display: flex; align-items: center; gap: 28px; margin-top: 28px; }
.pcard .who .mark { width: 96px; height: 96px; border: 1px solid #2a2a2a; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.pcard .who .mark svg { width: 56px; height: 56px; stroke: #e8e8e8; fill: none; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.pcard .who .name { font-family: var(--display); font-size: 48px; line-height: 1; color: #fff; letter-spacing: 0.02em; }
.pcard .who .role { font-size: 20px; color: #b0b0b0; font-weight: 300; margin-top: 6px; }
.pcard .who .spacer { flex: 1; }
.pcard .who .pbars { display: flex; flex-direction: column; gap: 6px; width: 120px; }
.pcard .pbars span { height: 12px; background: #1e1e1e; display: block; }
.pcard .pbars span.on { background: #E8201A; }
.pcard .lines { display: flex; flex-direction: column; gap: 6px; font-size: 22px; letter-spacing: 0.08em; text-transform: uppercase; color: #b0b0b0; font-weight: 300; margin-top: 36px; }
.pcard .cls { font-size: 22px; letter-spacing: 0.08em; text-transform: uppercase; color: #b0b0b0; font-weight: 300; }
.pcard .roast { font-size: 46px; line-height: 1.26; font-weight: 500; color: #fff; text-wrap: pretty; letter-spacing: -0.01em; margin-top: 28px; }
.pcard .verdict-text { font-size: 56px; line-height: 1.2; font-weight: 500; color: #fff; text-wrap: pretty; letter-spacing: -0.01em; margin-top: 24px; }
.pcard .need-block { border-top: 2px solid #E8201A; padding-top: 28px; }
.pcard .need-block .l { font-size: 18px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: #E8201A; }
.pcard .need-block .t { font-size: 27px; line-height: 1.4; color: #e8e8e8; margin-top: 20px; text-wrap: pretty; }
.pcard .profile { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.pcard .profile .pbars { width: auto; gap: 5px; }
.pcard .profile .pbars span { height: 10px; }
.pcard .profile .pd { font-size: 18px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: #e8e8e8; margin-top: 12px; }
.pcard .foot { display: flex; justify-content: space-between; align-items: baseline; border-top: 1px solid #2a2a2a; padding-top: 24px; margin-top: 28px; }
.pcard .foot .big { font-family: var(--display); font-size: 28px; letter-spacing: 0.08em; color: #fff; }
.pcard .foot .small { font-size: 18px; color: #6b6b6b; letter-spacing: 0.04em; }
