/* Table (host) and phone screens. Cards keep the printed ratio (~400x585). */
:root {
  --bg: #16181d; --bg2: #1f232b; --bg3: #2a2f39; --line: #3a404c;
  --text: #eef0f4; --muted: #9aa2b1; --accent: #45c46b; --accent2: #2f9a50;
  --red: #e0243a; --gold: #f5c542;
  --card-ratio: 0.684; --radius: 10px;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; background: var(--bg); color: var(--text);
  font: 16px/1.35 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; }
button, input, select { font: inherit; color: inherit; }
[hidden] { display: none !important; }

/* ---------------------------------------------------------------- shared */
.topbar { display: flex; align-items: center; gap: 12px; padding: 10px 18px; background: var(--bg2);
  border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 5;
  padding-top: calc(10px + env(safe-area-inset-top, 0px)); }
.brand { font-weight: 800; letter-spacing: .5px; color: var(--accent); }
.spacer { flex: 1; }
.round-info { display: flex; gap: 10px; align-items: center; color: var(--muted); }
.round-info .sep { opacity: .5; }
.code-chip { font-weight: 800; letter-spacing: 4px; background: var(--bg3); padding: 4px 12px; border-radius: 8px; }
.lang-select { background: var(--bg3); border: 1px solid var(--line); border-radius: 8px; padding: 4px 6px; }
.pill { font-size: .8em; font-weight: 800; padding: 2px 10px; border-radius: 99px; background: var(--bg3); }
.pill.red { background: var(--red); color: #fff; animation: pulse 1.4s infinite; }
@keyframes pulse { 50% { opacity: .65; } }

.btn { background: var(--bg3); border: 1px solid var(--line); border-radius: 10px; padding: 9px 16px; cursor: pointer;
  font-weight: 600; transition: transform .08s, background .15s; text-decoration: none; display: inline-block; text-align: center; }
.btn:hover:not(:disabled) { background: #343a46; }
.btn:active:not(:disabled) { transform: scale(.97); }
.btn:disabled { opacity: .45; cursor: default; }
.btn.primary { background: var(--accent); border-color: var(--accent2); color: #0b1a10; }
.btn.primary:hover:not(:disabled) { background: #55d47b; }
.btn.ghost { background: transparent; }
.btn.danger { background: transparent; border-color: #7a2a33; color: #ff8a95; }
.btn.danger.armed { background: var(--red); color: #fff; border-color: var(--red); }
.btn.big { font-size: 1.15em; padding: 14px 22px; width: 100%; }
.btn.small { padding: 6px 12px; font-size: .9em; }
.btn.on { background: var(--accent); color: #0b1a10; border-color: var(--accent2); }
.btn.done::after { content: " ✓"; }

.center-msg { min-height: 60vh; display: grid; place-content: center; gap: 16px; text-align: center; font-size: 1.3em; color: var(--muted); padding: 16px; }
.center-msg.error { color: var(--red); }

#toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); display: grid; gap: 8px; z-index: 50; }
.toast { background: #000d; color: #fff; padding: 10px 18px; border-radius: 10px; animation: rise .2s ease-out; }
@keyframes rise { from { transform: translateY(10px); opacity: 0; } }

.offline-bar { display: none; background: var(--red); color: #fff; text-align: center; padding: 4px; font-size: .9em; }
body.offline .offline-bar { display: block; }
body.host.offline .topbar { box-shadow: inset 0 -3px 0 var(--red); }

/* timer ring: --frac = time left / total */
.timer { --frac: 1; --size: 54px; width: var(--size); height: var(--size); border-radius: 50%; display: grid; place-items: center;
  background: conic-gradient(var(--accent) calc(var(--frac) * 360deg), var(--bg3) 0); position: relative; font-weight: 800; }
.timer::before { content: ""; position: absolute; inset: 5px; border-radius: 50%; background: var(--bg2); }
.timer .timer-num { position: relative; }
.timer.urgent { background: conic-gradient(var(--red) calc(var(--frac) * 360deg), var(--bg3) 0); animation: pulse .6s infinite; }
.timer.paused { opacity: .5; animation: none; }
.timer.small { --size: 40px; font-size: .9em; }

/* ---------------------------------------------------------------- cards */
.card { position: relative; aspect-ratio: var(--card-ratio); width: var(--cw, 150px); flex: 0 0 auto; border-radius: var(--radius);
  background: #fff; overflow: hidden; box-shadow: 0 3px 10px #0007; transition: transform .15s, box-shadow .15s, outline-color .15s;
  outline: 3px solid transparent; outline-offset: 2px; }
.card img { width: 100%; height: 100%; object-fit: cover; display: block; user-select: none; -webkit-user-drag: none; }
.card .missing { display: grid; place-items: center; height: 100%; color: #888; font-size: .8em; }
.card.slot { background: transparent; border: 3px dashed #5d6575; box-shadow: none; display: grid; place-items: center; }
.card.slot span { font-size: calc(var(--cw, 150px) * .45); font-weight: 800; color: #5d6575; }
.card.slot.k-judge { border-color: #8a7b3a; }
.card.slot.k-judge span { color: #8a7b3a; }
.card.back { background: #222; }
.card.selected { outline-color: var(--accent); transform: translateY(-6px); }
.card.used { opacity: .3; }
.card.hl { outline-color: var(--gold); }
.card.k-story { filter: saturate(.75); opacity: .9; }
.card .badge { position: absolute; top: 6px; left: 6px; background: var(--accent); color: #0b1a10; font-weight: 800;
  width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; }

.strip { display: flex; gap: 10px; justify-content: center; align-items: flex-start; }
.zoom { position: fixed; inset: 0; background: #000d; display: grid; place-items: center; z-index: 40; padding: 16px; }
.zoom img { max-width: 100%; max-height: 92vh; border-radius: 14px; }

/* ---------------------------------------------------------------- host: lobby */
body.host main { padding: 24px; }
.lobby { display: grid; grid-template-columns: minmax(280px, 1.1fr) minmax(240px, 1fr) minmax(280px, 1fr); gap: 24px; align-items: start; }
.lobby section { background: var(--bg2); border: 1px solid var(--line); border-radius: 16px; padding: 20px; }
.lobby h2 { margin: 0 0 14px; font-size: 1.1em; color: var(--muted); font-weight: 600; }
.lobby-join { text-align: center; }
.qr { width: min(100%, 340px); background: #fff; border-radius: 12px; padding: 8px; }
.big-code { font-size: 3.4em; font-weight: 900; letter-spacing: 10px; margin-top: 8px; }
.big-code small { display: block; font-size: .25em; letter-spacing: 1px; color: var(--muted); font-weight: 500; }
.join-url { color: var(--muted); word-break: break-all; }
.players { list-style: none; margin: 0 0 18px; padding: 0; display: grid; gap: 8px; }
.players li { display: flex; align-items: center; gap: 10px; background: var(--bg3); border-radius: 10px; padding: 8px 10px; animation: rise .25s; }
.players li.empty { color: var(--muted); justify-content: center; background: transparent; border: 1px dashed var(--line); }
.players li.away { opacity: .5; }
.players .avatar { width: 34px; height: 34px; border-radius: 50%; background: var(--accent2); display: grid; place-items: center; font-weight: 800; }
.players .pname { flex: 1; font-weight: 600; }
.players .x { background: none; border: 0; color: var(--muted); font-size: 1.3em; cursor: pointer; }
.players.small li { padding: 6px 10px; }
.lobby-settings .row { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 10px; }
.lobby-settings select, .lobby-settings input[type=number], .lobby-settings input:not([type]) {
  background: var(--bg3); border: 1px solid var(--line); border-radius: 8px; padding: 6px 8px; max-width: 60%; }
.lobby-settings input[type=number] { width: 80px; }
.rs-desc { color: var(--muted); margin: 0 0 12px; font-size: .95em; }
.lobby-settings details summary { cursor: pointer; font-weight: 600; margin-bottom: 10px; }
.field span { font-size: .92em; }
.lobby-settings h3 { font-size: 1em; color: var(--muted); }
.sets { display: grid; gap: 6px; max-height: 240px; overflow: auto; }
.set { display: flex; gap: 8px; align-items: center; font-size: .92em; }
.set small { margin-left: auto; color: var(--muted); }
.row.save input { flex: 1; max-width: none !important; }

/* ---------------------------------------------------------------- host: table */
.table-layout { display: grid; grid-template-columns: 1fr 260px; gap: 24px; align-items: start; }
.board { background: radial-gradient(ellipse at center, #22402d 0%, #182a20 70%); border: 1px solid #2f4a39; border-radius: 22px;
  padding: 24px; min-height: 70vh; display: flex; flex-direction: column; align-items: center; gap: 22px; }
.board.is-red { box-shadow: inset 0 0 0 4px var(--red); }
.headline { margin: 0; font-size: clamp(1.4em, 2.6vw, 2.4em); text-align: center; }
.board .strip.main { --cw: clamp(140px, 15vw, 240px); }
.waiting { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; align-items: center; }
.waiting .label { color: var(--muted); margin-right: 4px; }
.chip { padding: 5px 12px; border-radius: 99px; background: var(--bg3); font-weight: 600; }
.chip.wait { animation: pulse 1.6s infinite; }
.chip.done { background: var(--accent2); }
.facedown { display: flex; flex-wrap: wrap; justify-content: center; --cw: 64px; }
.facedown .card { margin-left: -26px; transform: rotate(calc((var(--i, 0) - 3) * 2deg)); animation: rise .3s; }
.comics { display: grid; gap: 16px; width: 100%; }
.comic-row { display: flex; align-items: center; gap: 14px; justify-content: center; --cw: clamp(80px, 8vw, 130px); transition: all .3s; }
.comic-row.hidden-comic { opacity: .35; }
.comic-row.current { --cw: clamp(130px, 14vw, 230px); }
.comic-row.current .strip .card { animation: flip .45s ease-out both; }
.comic-row.current .strip .card:nth-child(2) { animation-delay: .12s; }
.comic-row.current .strip .card:nth-child(3) { animation-delay: .24s; }
.comic-row.current .strip .card:nth-child(4) { animation-delay: .36s; }
.comic-row.current .strip .card:nth-child(5) { animation-delay: .48s; }
@keyframes flip { from { transform: rotateY(90deg); opacity: 0; } }
.num { font-size: 1.6em; font-weight: 900; color: var(--gold); min-width: 1.5em; text-align: right; }
.result { display: grid; gap: 18px; justify-items: center; width: 100%; }
.winner-comic .strip.big { --cw: clamp(150px, 16vw, 250px); }
.winner-comic .card { box-shadow: 0 0 0 4px var(--gold), 0 10px 30px #000a; }
.winner-comic .by { text-align: center; font-size: 1.5em; margin-top: 12px; }
.event { background: #000a; border: 1px solid var(--gold); padding: 10px 18px; border-radius: 12px; font-size: 1.2em; }
.others { display: flex; flex-wrap: wrap; gap: 20px; justify-content: center; }
.other .strip.small { --cw: 70px; gap: 4px; }
.other .by { text-align: center; color: var(--muted); margin-top: 4px; }
.game-over { display: grid; gap: 16px; justify-items: center; }
.podium { font-size: 1.5em; }
.scoreboard { background: var(--bg2); border: 1px solid var(--line); border-radius: 16px; padding: 16px; position: sticky; top: 90px; }
.scoreboard h2 { margin: 0 0 10px; font-size: 1em; color: var(--muted); }
.scoreboard ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.scoreboard li { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.scoreboard li.away { opacity: .45; }
.scoreboard li.judge .pname { color: var(--gold); }
.scoreboard .pname { flex: 1; font-weight: 600; }
.pips { display: flex; gap: 4px; }
.pips i { width: 14px; height: 14px; border-radius: 50%; background: var(--bg3); border: 1px solid var(--line); }
.pips i.on { background: var(--gold); border-color: var(--gold); }

@media (max-width: 900px) {
  .lobby, .table-layout { grid-template-columns: 1fr; }
  .scoreboard { position: static; }
}

/* ---------------------------------------------------------------- phone */
body.phone { overflow-x: hidden; }
body.phone main { padding: 12px 16px calc(24px + env(safe-area-inset-bottom, 0px)); }
.me-name { font-weight: 800; }
.join-form { display: grid; gap: 12px; max-width: 420px; margin: 8vh auto 0; }
.join-form input { background: var(--bg2); border: 1px solid var(--line); border-radius: 12px; padding: 14px; font-size: 1.2em; }
.code-input { text-transform: uppercase; letter-spacing: 8px; text-align: center; font-weight: 800; }
.room-code { text-align: center; color: var(--muted); }
.room-code b { color: var(--text); letter-spacing: 4px; }
.error { color: var(--red); font-weight: 600; }
.phone-screen { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; }
.banner { display: flex; justify-content: space-between; align-items: center; background: var(--bg2); border-radius: 10px; padding: 8px 12px; font-weight: 600; }
.banner.red { box-shadow: inset 0 0 0 2px var(--red); }
.info { text-align: center; font-size: 1.15em; color: var(--muted); padding: 6px 0; }
.info.small { font-size: .95em; }
.info.big { font-size: 1.4em; color: var(--text); font-weight: 800; }
.phone-strip { --cw: min(28vw, 130px); gap: 6px; }
.phone-strip.small { --cw: min(20vw, 90px); gap: 4px; }
.hand-wrap { margin: 0 -16px; }
.hand-title { color: var(--muted); font-size: .85em; padding: 0 16px 6px; }
.hand { display: flex; gap: 10px; overflow-x: auto; padding: 10px 16px 14px; scroll-snap-type: x proximity; --cw: min(40vw, 180px); }
.hand .card { scroll-snap-align: center; }
.seg { display: flex; gap: 8px; justify-content: center; align-items: center; flex-wrap: wrap; }
.seg span { color: var(--muted); }
.tools { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.sticky { position: sticky; bottom: calc(10px + env(safe-area-inset-bottom, 0px)); z-index: 3; box-shadow: 0 6px 20px #000a; }
.pick-list { display: grid; gap: 12px; }
.pick { background: var(--bg2); border: 2px solid var(--line); border-radius: 14px; padding: 10px; display: grid; gap: 8px; cursor: pointer; }
.pick.selected { border-color: var(--accent); background: #1d3326; }
.pick.mine { opacity: .5; }
.pick .num { text-align: left; font-size: 1.1em; }
.mine { display: grid; gap: 10px; }
.scores li { justify-content: space-between; }
.scores li.me { outline: 2px solid var(--accent); }

/* ---------------------------------------------------------------- flips, deal, placeholders */
/* a flip card turns from the deck's back (.rear) to its face (.front); --delay staggers several */
.card.flip-card { background: transparent; overflow: visible; box-shadow: none; perspective: 1200px; }
.flip-inner { position: absolute; inset: 0; transform-style: preserve-3d;
  animation: flip-in .7s cubic-bezier(.3, .7, .3, 1.15) var(--delay, 0ms) both; }
.flip-card .face { position: absolute; inset: 0; border-radius: var(--radius); overflow: hidden; background: #fff;
  backface-visibility: hidden; -webkit-backface-visibility: hidden; box-shadow: 0 3px 10px #0007; }
.flip-card .face.rear { transform: rotateY(180deg); background: #222; }
.flip-card .face img { width: 100%; height: 100%; object-fit: cover; display: block; }
@keyframes flip-in { from { transform: rotateY(180deg); } to { transform: rotateY(0deg); } }
/* dealt to the hand: slides in from above while still face down, then turns */
.card.flip-card.deal { animation: deal-in .45s ease-out var(--delay, 0ms) both; }
.card.flip-card.deal .flip-inner { animation-delay: calc(var(--delay, 0ms) + .35s); }
@keyframes deal-in { from { transform: translate(-30px, -120px) rotate(-12deg); opacity: 0; } }
.card.flip-card.selected { transform: translateY(-6px); }
.card.flip-card.selected .face { box-shadow: 0 0 0 3px var(--accent), 0 6px 14px #0008; }
.card.flip-card.hl .face { box-shadow: 0 0 0 4px var(--gold), 0 10px 30px #000a; }
.card.flip-card .badge { z-index: 2; }

/* open panel: the card back, breathing, waiting for a card */
.card.placeholder { background: #222; opacity: .82; animation: breathe 2.2s ease-in-out infinite; }
.card.placeholder.k-judge { box-shadow: 0 0 0 3px #b39a3c, 0 3px 10px #0007; }
.card.placeholder.k-player { box-shadow: 0 0 0 3px var(--accent2), 0 3px 10px #0007; }
@keyframes breathe { 50% { opacity: .55; transform: scale(.985); } }

/* ---------------------------------------------------------------- the big reveal stage (host) */
.stage { width: 100%; display: grid; justify-items: center; gap: 18px; }
.stage-count { font-size: 1.3em; font-weight: 800; color: var(--gold); letter-spacing: 1px; }
.stage .strip { --cw: var(--stage-cw, 240px); gap: 16px; }
.stage .card.k-player .face.front, .stage .card.k-player:not(.flip-card) { box-shadow: 0 0 0 3px var(--gold), 0 6px 18px #0009; }
.dots { display: flex; gap: 8px; }
.dots i { width: 12px; height: 12px; border-radius: 50%; background: #ffffff30; }
.dots i.on { background: var(--gold); }
.dots i.done { background: #ffffff80; }
.thumbs { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.thumb { display: flex; align-items: center; gap: 6px; padding: 6px 8px; border-radius: 12px; background: #0004; cursor: pointer;
  border: 2px solid transparent; }
.thumb.on { border-color: var(--gold); }
.thumb .strip { --cw: 48px; gap: 3px; }
.thumb .num { font-size: 1.1em; min-width: 1em; }

/* ---------------------------------------------------------------- judge / vote carousel (phone) */
.pick-screen { min-height: calc(100vh - 90px); grid-template-rows: auto auto 1fr auto auto; }
.carousel-wrap { display: flex; align-items: center; gap: 6px; min-height: 0; }
.carousel { flex: 1; min-width: 0; display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
  overscroll-behavior-x: contain; }
.carousel::-webkit-scrollbar { display: none; }
.slide { flex: 0 0 100%; scroll-snap-align: center; display: grid; justify-items: center; align-content: center; gap: 10px;
  padding: 6px 0; cursor: pointer; }
.slide.mine { opacity: .45; }
.slide-num { font-weight: 800; color: var(--gold); font-size: 1.15em; }
.slide-num small { color: var(--muted); font-weight: 500; }
/* each panel: as wide as the screen allows for the whole comic, and never taller than the screen */
.slide-strip { --cw: min(calc((100vw - 110px) / var(--panels) - 8px), calc((100vh - 300px) * 0.684), 340px); gap: 8px; }
.btn.nav { flex: 0 0 auto; width: 40px; height: 64px; padding: 0; font-size: 1.8em; line-height: 1; }
.pick-screen .dots { justify-content: center; }
.pick-screen .dots i { width: 14px; height: 14px; cursor: pointer; }
@media (max-width: 520px) {
  .btn.nav { display: none; }  /* phones: swipe */
  /* portrait phones: the comic reads like a page, two panels per row, each about twice as big */
  .slide-strip { flex-wrap: wrap; max-width: calc(100vw - 32px); row-gap: 8px; column-gap: 8px;
    --cw: min(calc((100vw - 48px) / 2), calc((100vh - 330px) / var(--rows) * 0.684 - 6px)); }
}
.winner-comic .card.flip-card { box-shadow: none; }
.winner-comic .card.flip-card .face { box-shadow: 0 0 0 4px var(--gold), 0 10px 30px #000a; }

/* ---------------------------------------------------------------- modal */
.modal-backdrop { position: fixed; inset: 0; z-index: 60; background: #000a; display: grid; place-items: center; padding: 16px;
  animation: fade-in .16s ease-out; }
.modal-backdrop.closing { animation: fade-out .16s ease-in forwards; }
.modal { width: min(420px, calc(100vw - 32px)); box-sizing: border-box; background: var(--bg2); border: 1px solid var(--line); border-radius: 18px; padding: 20px;
  box-shadow: 0 20px 60px #000c; animation: pop-in .2s cubic-bezier(.3, .7, .3, 1.3); }
.modal h3 { margin: 0 0 8px; font-size: 1.2em; }
.modal p { margin: 0 0 18px; color: var(--muted); }
.modal-actions { display: flex; gap: 10px; justify-content: flex-end; }
.modal-actions .btn { flex: 1; padding: 12px; }
.btn.danger-solid { background: var(--red); border-color: var(--red); color: #fff; }
@keyframes fade-in { from { opacity: 0; } }
@keyframes fade-out { to { opacity: 0; } }
@keyframes pop-in { from { transform: scale(.9); opacity: 0; } }

/* ---------------------------------------------------------------- end credits */
.credits { display: grid; justify-items: center; gap: 56px; text-align: center; padding: 20px 0 40px; width: 100%; }
.credits section { display: grid; justify-items: center; gap: 18px; width: 100%; }
.credits h2 { margin: 0; font-size: 1.6em; color: var(--muted); letter-spacing: 1px; text-transform: uppercase; }
.credit-kicker { color: var(--gold); letter-spacing: 6px; text-transform: uppercase; font-weight: 800; }
.credit-winner h1 { margin: 0; font-size: clamp(2.4em, 6vw, 4.6em); color: var(--gold);
  text-shadow: 0 0 24px #f5c54266, 0 4px 0 #0008; animation: glow 2.4s ease-in-out infinite; }
@keyframes glow { 50% { text-shadow: 0 0 44px #f5c542aa, 0 4px 0 #0008; } }
.credit-score { font-size: 1.4em; font-weight: 700; }
.credit-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 28px; }
.credit-comic { margin: 0; display: grid; justify-items: center; gap: 8px; }
.credit-comic figcaption { color: var(--muted); font-size: .95em; }
.credit-strip { gap: 8px; }
.credit-comic.big .credit-strip { --cw: clamp(130px, 15vw, 240px); }
.credit-comic.big .card, .credit-comic.big .card img { box-shadow: 0 0 0 4px var(--gold), 0 10px 30px #000a; }
.credit-comic.big figcaption { color: var(--gold); font-weight: 700; font-size: 1.1em; }
.credit-comic.mid .credit-strip { --cw: clamp(80px, 8vw, 130px); }
.credit-comic.mid .card.k-player { box-shadow: 0 0 0 3px #f5c54299, 0 4px 12px #0008; }
.credit-comic.small { opacity: .85; }
.credit-comic.small .credit-strip { --cw: clamp(44px, 4.4vw, 70px); gap: 3px; }
.credit-comic.small figcaption { font-size: .8em; }
.credit-ranking ol { margin: 0; padding: 0; list-style-position: inside; font-size: 1.4em; display: grid; gap: 6px; }
.credit-ranking li:first-child { color: var(--gold); font-size: 1.25em; }
.credit-end { font-size: 2em; color: var(--gold); padding-bottom: 20px; }

/* host: the credits roll up in a window over the table, like film titles */
.board.credits-board { padding: 0; gap: 0; overflow: hidden; height: calc(100vh - 120px); min-height: 0; position: relative; }
.credits-window { position: relative; flex: 1; width: 100%; overflow: hidden;
  -webkit-mask-image: linear-gradient(transparent, #000 10%, #000 88%, transparent);
  mask-image: linear-gradient(transparent, #000 10%, #000 88%, transparent); }
.credits.rolling { position: absolute; left: 0; right: 0; top: 0; transform: translateY(var(--from, 100%)); }
.credits.rolling.go { animation: credits-roll var(--dur, 60s) linear infinite; }
.credits-window:hover .credits.rolling.go { animation-play-state: paused; }
@keyframes credits-roll { from { transform: translateY(var(--from)); } to { transform: translateY(var(--to)); } }
.credits-bar { width: 100%; padding: 14px 24px; background: #0006; display: flex; justify-content: center; }
.credits-bar .btn { max-width: 420px; }

/* phone: the same credits, scrolled by hand */
.phone-screen .credits { gap: 36px; }
.phone-screen .credit-comic.big .credit-strip { --cw: min(28vw, 130px); }
.phone-screen .credit-comic.mid .credit-strip { --cw: min(20vw, 90px); }
.phone-screen .credit-comic.small .credit-strip { --cw: min(13vw, 56px); }
