@font-face { font-family: "Brico"; src: url(/fonts/bg-500.woff2) format("woff2"); font-weight: 500; font-display: swap }
@font-face { font-family: "Brico"; src: url(/fonts/bg-700.woff2) format("woff2"); font-weight: 700; font-display: swap }
@font-face { font-family: "Brico"; src: url(/fonts/bg-800.woff2) format("woff2"); font-weight: 800; font-display: swap }

:root {
  --field: #ff5b2e;        /* signal orange: the one colour of the game */
  --field2: #ff7a45;
  --deep: #b8350f;
  --deeper: #6e1d05;
  --night: #3d0f02;
  --cream: #fff6ea;
  --ink: #1b0d06;
  --truth: #19c37d;
  --lie: #ffd23f;
  --u: 1vh;
}
* { box-sizing: border-box }
html, body { margin: 0; height: 100%; background: var(--field); color: var(--cream); font-family: "Brico", system-ui, sans-serif; font-weight: 500 }
body { -webkit-tap-highlight-color: transparent; background: radial-gradient(120% 90% at 50% 0%, var(--field2), var(--field) 55%, var(--deep)) fixed }
button { font: inherit; color: inherit }
[hidden] { display: none !important }

.mark { font-weight: 800; letter-spacing: -0.02em; line-height: 0.9; margin: 0; color: var(--cream); text-shadow: 0.05em 0.06em 0 var(--deeper); text-decoration: none }
.tagline { font-weight: 700; margin: 0.3em 0 0; opacity: 0.95 }

/* ---- shared pieces -------------------------------------------------------------------------------- */
.chip { display: inline-flex; align-items: center;  background: var(--c, #fff); color: var(--ink, #111); border-radius: 999px; padding: 0.25em 0.8em 0.25em 0.35em; font-weight: 800; white-space: nowrap; box-shadow: 0 0.12em 0 rgba(0,0,0,.25); animation: pop .35s cubic-bezier(.3,1.6,.5,1) both; }
.chip .shape { width: 1.3em; height: 1.3em; display: inline-grid; place-items: center; background: rgba(255,255,255,.55); border-radius: 50% }
.chip .shape svg { width: 0.95em; height: 0.95em }
.chip .score { background: var(--ink); color: var(--c); border-radius: 999px; padding: 0 0.5em; margin-left: 0.2em; min-width: 1.6em; text-align: center }
.chip.bot .name::after { content: " (bot)"; font-weight: 500; opacity: .7 }
.chip.away { opacity: .45 }
.chip.empty { background: transparent; color: var(--cream); border: 0.12em dashed rgba(255,246,234,.45); box-shadow: none; padding: 0.35em 0.9em; font-weight: 600; opacity: .8; animation: none }
.chip.big { font-size: 1.6em }

.portrait { position: relative; border-radius: 22%; overflow: hidden; background: var(--deeper); box-shadow: 0 0.6vh 0 var(--deeper) }
.portrait img { width: 100%; height: 100%; object-fit: cover; display: block }

.bubble { position: relative; background: var(--cream); color: var(--ink); border-radius: 1.1em; padding: 0.7em 0.9em; font-weight: 800; line-height: 1.12; box-shadow: 0 0.18em 0 var(--deeper) }
.bubble::before { content: ""; position: absolute; left: -0.55em; top: 1.1em; border: 0.45em solid transparent; border-right: 0.7em solid var(--cream); border-left: 0 }

.btn { display: block; width: 100%; border: 0; background: var(--ink); color: var(--cream); font-weight: 800; font-size: 19px; padding: 15px 18px; border-radius: 16px; cursor: pointer; box-shadow: 0 4px 0 var(--night); transition: transform .08s }
.btn:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--night) }
.btn:disabled { opacity: .5; cursor: default }
.btn.big { font-size: 22px; padding: 18px }
.btn.ghost { background: transparent; color: var(--cream); box-shadow: inset 0 0 0 2px rgba(255,246,234,.6); width: auto; display: inline-block; padding: 10px 18px; font-size: 16px }
.letter { display: inline-grid; place-items: center; flex: none; width: 1.7em; height: 1.7em; border-radius: 0.45em; background: var(--ink); color: var(--cream); font-weight: 800 }

.netmark { position: fixed; right: 12px; bottom: 12px; background: var(--ink); color: var(--cream); padding: 6px 12px; border-radius: 999px; font-size: 14px; opacity: .85; z-index: 50 }

@keyframes pop { from { transform: scale(.4); opacity: 0 } to { transform: none; opacity: 1 } }
@keyframes rise { from { transform: translateY(3vh); opacity: 0 } to { transform: none; opacity: 1 } }
@keyframes stamp { 0% { transform: scale(2.4) rotate(-14deg); opacity: 0 } 60% { transform: scale(.92) rotate(-8deg); opacity: 1 } 100% { transform: scale(1) rotate(-8deg); opacity: 1 } }
@keyframes shake { 0%,100% { transform: none } 25% { transform: translateX(-8px) } 75% { transform: translateX(8px) } }
.shake { animation: shake .3s }

/* ---- TV ------------------------------------------------------------------------------------------- */
body.tv { overflow: hidden; font-size: calc(var(--u) * 2.4) }
.tvroot { position: fixed; top: 0; right: 0; bottom: 0; left: 0; display: grid; grid-template-rows: auto auto 1fr auto; padding: calc(var(--u) * 3) calc(var(--u) * 4.5) }
.top { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; min-height: calc(var(--u) * 9) }
.top .mark.small { font-size: calc(var(--u) * 5.4) }
.roundtag { font-weight: 800; font-size: calc(var(--u) * 3.4); background: var(--deeper); padding: 0.25em 0.9em; border-radius: 999px }
.cornerqr { justify-self: end }
.cornerqr .join { display: flex; align-items: center;  color: var(--cream); text-decoration: none; }
.cornerqr .qr { width: calc(var(--u) * 9); height: calc(var(--u) * 9); border-radius: 0.4em }
.cornerqr .addr { font-weight: 700; font-size: calc(var(--u) * 2.6) }
.cornerqr .addr b { font-weight: 800; letter-spacing: .06em }
.timer { height: calc(var(--u) * 1.1); margin: calc(var(--u) * 1.2) 0; border-radius: 999px; background: rgba(0,0,0,.15); overflow: hidden; opacity: 0; transition: opacity .3s }
.timer.on { opacity: 1 }
.timer i { display: block; height: 100%; background: var(--cream); transform-origin: left; border-radius: 999px }
.timer.low i { background: var(--lie) }
.chips { display: flex; flex-wrap: wrap; justify-content: center;  font-size: calc(var(--u) * 2.7); padding-top: calc(var(--u) * 1.5); margin: calc(var(--u) * -0.6) }
.chips .chip.done::after { content: "✓"; margin-left: 0.2em; font-weight: 800 }
.chips .chip.picker { outline: 0.18em solid var(--cream); outline-offset: 0.12em }
.stage { position: relative; min-height: 0; display: flex; flex-direction: column; justify-content: center; align-items: center; }
.soundbtn { position: fixed; left: 50%; bottom: calc(var(--u) * 3); transform: translateX(-50%); border: 0; background: var(--ink); color: var(--cream); font-weight: 800; padding: 0.6em 1.2em; border-radius: 999px; font-size: calc(var(--u) * 2.4); cursor: pointer; z-index: 20 }
body.playing .soundbtn { left: auto; right: calc(var(--u) * 2); transform: none; font-size: calc(var(--u) * 2.6); background: var(--lie); color: var(--ink); box-shadow: 0 0 0 0.15em var(--ink); animation: hearpulse 1.2s ease-in-out infinite }
.rest { position: fixed; top: 0; right: 0; bottom: 0; left: 0; background: rgba(61,15,2,.92); display: grid; place-content: center; text-align: center; font-size: calc(var(--u) * 4); font-weight: 800; z-index: 60 }

/* lobby */
.stage.lobby { flex-direction: row; justify-content: space-between; align-items: center; }
.lobleft { flex: 1; min-width: 0 }
.mark.big { font-size: calc(var(--u) * 17) }
.stage.lobby .tagline { font-size: calc(var(--u) * 4.4) }
.how { margin: calc(var(--u) * 3.5) 0; padding-left: 1.3em; font-size: calc(var(--u) * 3.7); font-weight: 700; line-height: 1.5 }
.lobseats { display: grid; grid-template-columns: repeat(4, minmax(0, max-content)); grid-gap: calc(var(--u) * 1.4); font-size: calc(var(--u) * 3.3) }
.lobwait { font-size: calc(var(--u) * 3.3); font-weight: 700; margin-top: calc(var(--u) * 3); opacity: .95 }
.lobright { flex: none }
.bigjoin .join { display: block; background: #fff; padding: calc(var(--u) * 1.5); border-radius: calc(var(--u) * 3); box-shadow: 0 calc(var(--u) * 1) 0 var(--deeper) }
.bigjoin .qr { display: block; width: calc(var(--u) * 58); height: calc(var(--u) * 58) }
.bigjoin .addr { display: none }

/* pick */
.phasehead { font-size: calc(var(--u) * 5.6); font-weight: 800; margin: 0; text-align: center; text-shadow: 0.05em 0.06em 0 var(--deeper) }
.rolecards { display: flex; }
.rolecard { width: calc(var(--u) * 44); width: min(calc(var(--u) * 50), 28vw); text-align: center; animation: rise .5s cubic-bezier(.2,1.3,.4,1) both }
.rolecard .rolename { font-size: calc(var(--u) * 5); font-weight: 800; margin-top: calc(var(--u) * 1.8) }
.rolecard .rolechar { font-size: calc(var(--u) * 2.6); font-weight: 600; opacity: .9 }

/* line + write + vote */
.linewrap { display: flex; align-items: center;  width: 100%; animation: rise .5s both; }
.linewrap .speaker { flex: none; width: calc(var(--u) * 50); text-align: center }
.linewrap .speakertag { margin-top: calc(var(--u) * 1.4) }
.linewrap .speakertag b { display: block; font-size: calc(var(--u) * 3.6); font-weight: 800 }
.linewrap .speakertag span { font-size: calc(var(--u) * 2.4); opacity: .9 }
.linewrap .talk { flex: 1; min-width: 0 }
.linewrap .bubble { font-size: calc(var(--u) * 6.2) }
.linewrap.big .speaker { width: calc(var(--u) * 60) }
.linewrap.big .bubble { font-size: calc(var(--u) * 7.2) }
.stage.vote .linewrap, .stage.write .linewrap { flex: none }
.stage.vote .linewrap .speaker { width: calc(var(--u) * 24) }
.stage.vote .linewrap .speakertag { display: none }
.stage.vote .linewrap .bubble { font-size: calc(var(--u) * 3.8) }
.prompt { font-size: calc(var(--u) * 3.6); font-weight: 800; background: var(--deeper); padding: 0.4em 1em; border-radius: 999px }
.prompt.small { font-size: calc(var(--u) * 2.6) }
.options { display: grid; grid-template-columns: 1fr 1fr; grid-gap: calc(var(--u) * 1.4) calc(var(--u) * 2.5); width: 100%; font-size: calc(var(--u) * 3.3) }
.options.n3, .options.n4 { grid-template-columns: 1fr; font-size: calc(var(--u) * 3.8) }
.option { display: flex; align-items: center;  background: var(--cream); color: var(--ink); border-radius: 0.6em; padding: 0.45em 0.7em; font-weight: 700; line-height: 1.15; box-shadow: 0 0.15em 0 var(--deeper); animation: rise .4s both; }

/* reveal */
.stage.reveal { justify-content: flex-start; }
.revealhead { display: flex; align-items: center;  width: 100%; font-size: calc(var(--u) * 3); }
.revealhead .portrait { width: calc(var(--u) * 17); flex: none }
.bubble.small { font-size: inherit }
.deck { position: relative; width: 100%; flex: 1; min-height: calc(var(--u) * 34) }
.rcard { position: absolute; top: 0; right: 0; bottom: 0; left: 0; margin: auto; height: max-content; width: 88%; background: var(--cream); color: var(--ink); border-radius: calc(var(--u) * 3); padding: calc(var(--u) * 3.5) calc(var(--u) * 4); box-shadow: 0 calc(var(--u) * 1) 0 var(--deeper); opacity: 0; transform: scale(.9); transition: opacity .3s, transform .4s cubic-bezier(.2,1.4,.4,1) }
.rcard.show { opacity: 1; transform: none }
.rcard:not(.show) { transition: opacity .12s, visibility 0s .12s; visibility: hidden }
.rcard .rtop { display: flex; align-items: center;  font-size: calc(var(--u) * 5.4); font-weight: 800; line-height: 1.1; }
.voters { display: flex; flex-wrap: wrap; align-items: center;  margin-top: calc(var(--u) * 2.5); font-size: calc(var(--u) * 2.8); min-height: 1.8em; margin-left: calc(var(--u) * -0.5); margin-right: calc(var(--u) * -0.5) }
.vlabel { font-weight: 700; opacity: .7 }
.rcard:not(.show) .chip { animation: none }
.stamp { position: absolute; right: calc(var(--u) * 3); top: calc(var(--u) * -5.5); background: var(--c, var(--lie)); color: var(--ink); border: 0.14em solid var(--ink); font-weight: 800; font-size: calc(var(--u) * 4.2); padding: 0.15em 0.6em; border-radius: 0.3em; opacity: 0; transform: rotate(-8deg) }
.rcard.stamped .stamp { animation: stamp .45s cubic-bezier(.3,1.5,.5,1) both }
.rcard.real .stamp { background: var(--truth); color: #00261a }
.rcard.real.show { box-shadow: 0 0 0 calc(var(--u) * 0.8) var(--truth), 0 calc(var(--u) * 1.5) 0 var(--deeper) }
.rcard.real .stamp { animation: stamp .45s .2s cubic-bezier(.3,1.5,.5,1) both }
.rcard.real:not(.show) .stamp { animation: none }
.explain { display: flex; align-items: center;  width: 80%; font-size: calc(var(--u) * 3.4); opacity: 0; transform: translateY(2vh); transition: opacity .4s, transform .4s; }
.explain.show { opacity: 1; transform: none }
.explain .face { width: calc(var(--u) * 20); flex: none }

/* hear it first: the bubble holds sound bars until the line has played once */
.waves { display: none; align-items: center; justify-content: center; height: 1.12em }
.waves i { display: block; width: 0.16em; height: 100%; margin: 0 0.09em; border-radius: 999px; background: var(--ink); transform: scaleY(.3); animation: wave .9s ease-in-out infinite }
.waves i:nth-child(2) { animation-delay: -.7s } .waves i:nth-child(3) { animation-delay: -.45s } .waves i:nth-child(4) { animation-delay: -.2s } .waves i:nth-child(5) { animation-delay: -.55s }
.hearing .bubble > span { display: none }
.hearing .bubble > .waves { display: flex; height: 1.6em }
.hearing .bubble { animation: hearpulse 1.2s ease-in-out infinite }
@keyframes hearpulse { 0%,100% { box-shadow: 0 0.18em 0 var(--deeper), 0 0 0 0 rgba(255,210,63,.0) } 50% { box-shadow: 0 0.18em 0 var(--deeper), 0 0 0 0.25em rgba(255,210,63,.9) } }
.bubble > span { animation: rise .35s both }
@keyframes wave { 0%,100% { transform: scaleY(.3) } 50% { transform: scaleY(1) } }
@keyframes talk { 0%,100% { transform: none } 30% { transform: translateY(-1.5%) rotate(-1.2deg) } 65% { transform: translateY(.6%) rotate(.8deg) } }
.talking .portrait { animation: talk .5s ease-in-out infinite; transform-origin: 50% 90% }
.face { position: relative }
.onair { position: absolute; right: -10%; top: -8%; width: 38%; min-width: 34px; max-width: 120px; border-radius: 50%; background: var(--lie); color: var(--ink); box-shadow: 0 0 0 0.12em var(--ink), 0 0.12em 0 0.12em var(--deeper); opacity: 0; transform: scale(.3); transition: opacity .2s, transform .3s cubic-bezier(.3,1.6,.5,1); z-index: 2 }
.onair::before { content: ""; display: block; padding-top: 100% }
.onair::after { content: ""; position: absolute; top: 0; right: 0; bottom: 0; left: 0; border-radius: 50%; border: 0.18em solid var(--lie); animation: ring 1.1s ease-out infinite }
.onair svg { position: absolute; left: 14%; top: 14%; width: 72%; height: 72% }
.onair svg path.a1, .onair svg path.a2 { fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; animation: arc .9s ease-in-out infinite }
.onair svg path.a2 { animation-delay: .2s }
.talking .onair { opacity: 1; transform: none }
@keyframes ring { from { transform: scale(1); opacity: .9 } to { transform: scale(1.7); opacity: 0 } }
@keyframes arc { 0%,100% { opacity: .25 } 50% { opacity: 1 } }

/* scores + end */
.table { list-style: none; margin: 0; padding: 0; display: grid; grid-gap: calc(var(--u) * 1.2); font-size: calc(var(--u) * 3.4); min-width: 50% }
.table .row { display: flex; align-items: center;  background: rgba(61,15,2,.35); padding: 0.3em 0.7em; border-radius: 999px; animation: rise .4s both; }
.table .rank { width: 1.4em; text-align: center; font-weight: 800 }
.table .chip { flex: none }
.table .delta { margin-left: auto; font-weight: 800; color: var(--lie) }
.table .delta.zero { color: rgba(255,246,234,.5) }
.table .pts { width: 2.4em; text-align: right; font-weight: 800; font-size: 1.2em }
.table .row .delta + .pts { margin-left: 0.6em }
.table .row .chip + .pts { margin-left: auto }
.winner { text-align: center; font-size: calc(var(--u) * 3.6) }
.wlabel { font-weight: 800; font-size: calc(var(--u) * 4); margin-bottom: 0.4em }
.bestlie { background: var(--cream); color: var(--ink); border-radius: calc(var(--u) * 2.4); padding: calc(var(--u) * 2) calc(var(--u) * 3); text-align: center; max-width: 80%; box-shadow: 0 calc(var(--u) * 0.8) 0 var(--deeper) }
.blabel { font-weight: 800; font-size: calc(var(--u) * 2.4); text-transform: uppercase; letter-spacing: .08em; color: var(--deep) }
.btext { font-weight: 800; font-size: calc(var(--u) * 4.4); line-height: 1.1; margin: 0.2em 0 }
.bby { font-weight: 600; font-size: calc(var(--u) * 2.4) }

/* ---- phone ---------------------------------------------------------------------------------------- */
body.phone { overflow-y: auto }
.app { max-width: 560px; margin: 0 auto; padding: calc(16px + env(safe-area-inset-top)) 16px calc(28px + env(safe-area-inset-bottom)); display: flex; flex-direction: column; }
.app h2 { margin: 6px 0 0; font-size: 26px; font-weight: 800; line-height: 1.1 }
.note { margin: 0; font-weight: 600; opacity: .92; font-size: 16px; line-height: 1.35 }
.panel { background: rgba(61,15,2,.28); border-radius: 22px; padding: 18px; display: flex; flex-direction: column; }
.panel h2 { margin: 0 }
a { color: var(--cream) }
a.small { font-weight: 700; font-size: 15px; text-align: center; opacity: .9 }
.foot { text-align: center; font-weight: 700 }
.doorhero { text-align: center; padding: 10px 0 4px }
.doorhero .mark.big { font-size: clamp(64px, 22vw, 120px) }
.doorhero .tagline { font-size: 18px }
.faces { display: flex; justify-content: center;  margin-top: 18px; }
.faces .portrait { width: 19%; max-width: 104px; box-shadow: 0 4px 0 var(--deeper) }
.faces .portrait:nth-child(odd) { transform: translateY(6px) }
.coderow { display: flex; }
.coderow .btn { width: auto; flex: none; padding: 14px 22px }
input, textarea { font: inherit; font-weight: 700; color: var(--ink); background: var(--cream); border: 0; border-radius: 14px; padding: 14px 16px; font-size: 20px; width: 100%; outline: none; box-shadow: inset 0 0 0 3px transparent }
input:focus, textarea:focus { box-shadow: inset 0 0 0 3px var(--ink) }
.codein { text-transform: uppercase; letter-spacing: .3em; font-size: 26px; text-align: center; flex: 1; min-width: 0 }
textarea { resize: none; line-height: 1.25 }
.count { text-align: right; font-weight: 700; margin-top: -10px; opacity: .85 }
.reject { background: var(--cream); color: #b3001b; font-weight: 800; padding: 12px 14px; border-radius: 14px; margin: 0; animation: shake .3s }
.lookup { font-size: 30px; font-weight: 800; text-align: center; margin: 14vh 0 0; line-height: 1.15; text-shadow: 0 3px 0 var(--deeper) }
.roombar { display: flex; align-items: center; justify-content: space-between;  font-size: 17px; }
.roomcode { font-weight: 800; opacity: .9; white-space: nowrap }
.plist { display: flex; flex-wrap: wrap;  font-size: 17px; margin: calc(8px / -2) calc(8px / -2) }
.toggle { display: flex; align-items: center; justify-content: space-between; width: 100%; background: none; border: 0; padding: 4px 0; font-weight: 800; font-size: 18px; cursor: pointer }
.toggle .knob { width: 54px; height: 32px; border-radius: 999px; background: rgba(0,0,0,.3); position: relative; transition: background .2s }
.toggle .knob::after { content: ""; position: absolute; left: 4px; top: 4px; width: 24px; height: 24px; border-radius: 50%; background: var(--cream); transition: transform .2s }
.toggle.on .knob { background: var(--truth) }
.toggle.on .knob::after { transform: translateX(22px) }
.seg { display: flex; align-items: center; }
.seglabel { font-weight: 800; font-size: 16px; margin-right: auto }
.seg .btn { width: auto; font-size: 15px; padding: 9px 12px; background: rgba(0,0,0,.25); box-shadow: none }
.seg .btn.on { background: var(--ink); box-shadow: inset 0 0 0 2px var(--cream) }
.rolepick { display: grid; grid-gap: 12px}
.rolebtn { display: flex !important; align-items: center;  text-align: left; padding: 10px !important; background: var(--cream) !important; color: var(--ink) !important; box-shadow: 0 4px 0 var(--deeper) !important; }
.rolebtn .portrait { width: 104px; flex: none; box-shadow: none }
.rt { display: flex; flex-direction: column }
.rt b { font-size: 22px; font-weight: 800 }
.rt span { font-size: 15px; font-weight: 600; opacity: .8 }
.yourlie { background: var(--cream); color: var(--ink); font-weight: 800; font-size: 22px; padding: 16px; border-radius: 16px; line-height: 1.2 }
.waitcount { text-align: center; font-weight: 700; margin: 0; opacity: .85 }
.votelist { display: grid; grid-gap: 10px}
.votebtn { display: flex !important; align-items: center;  text-align: left; background: var(--cream) !important; color: var(--ink) !important; font-size: 18px !important; line-height: 1.2; padding: 12px 14px !important; box-shadow: 0 4px 0 var(--deeper) !important; }
.votebtn.picked { outline: 3px solid var(--ink) }
.votebtn.real { background: var(--truth) !important; color: #00261a !important }
.votebtn.wrongpick { background: #ffb3a6 !important; text-decoration: line-through }
.votebtn:disabled { opacity: 1 }
.roundpts { display: flex; flex-direction: column; align-items: center; animation: pop .4s both }
.roundpts b { font-size: 64px; font-weight: 800; color: var(--lie); text-shadow: 0 4px 0 var(--deeper) }
.roundpts.zero b { color: var(--cream); opacity: .7 }
.bigrank { font-size: 64px; font-weight: 800; text-align: center; margin-top: 8vh; text-shadow: 0 4px 0 var(--deeper); line-height: 1 }
.app.room.reveal .lookup, .app.room.scores .lookup { margin-top: 8vh }

/* daily */
.dhead { display: flex; justify-content: space-between; align-items: center }
.mark.small { font-size: 34px }
.dnum { font-weight: 800; opacity: .9 }
.dots { display: flex;  justify-content: center; }
.dot { width: 14px; height: 14px; border-radius: 50%; background: rgba(0,0,0,.2) }
.dot.now { background: var(--cream) }
.dot.right { background: var(--truth) }
.dot.wrong { background: var(--ink) }
.dwho { display: flex; align-items: center; }
.dwho .face { width: 132px; flex: none }
.app.daily .bubble { font-size: 22px; margin-left: 12px }
.app.daily .bubble::before { top: -0.5em; left: 1.2em; border: 0.45em solid transparent; border-bottom: 0.7em solid var(--cream); border-top: 0 }
.verdict { display: flex; align-items: baseline;  flex-wrap: wrap }
.verdict b { font-size: 34px; font-weight: 800 }
.verdict.right b { color: var(--truth); text-shadow: 0 3px 0 var(--deeper) }
.verdict.wrong b { color: var(--ink) }
.dexplain { display: flex; align-items: center; }
.dexplain .face { width: 84px; flex: none }
.dexplain .bubble { font-size: 18px !important }
.dexplain .bubble::before { top: 0.9em !important; left: -0.55em !important; border: 0.45em solid transparent !important; border-right: 0.7em solid var(--cream) !important; border-left: 0 !important }
.marks { display: grid; grid-template-columns: repeat(5, 1fr); grid-gap: 8px}
.mk { display: flex; flex-direction: column; align-items: center;  font-size: 12px; font-weight: 800; text-align: center; line-height: 1.1; }
.mk .portrait { width: 100%; box-shadow: 0 0 0 4px var(--truth) }
.mk.wrong .portrait { box-shadow: 0 0 0 4px var(--ink); filter: grayscale(.7) }
.shelf { margin-top: 10px }
.listen { display: flex; flex-direction: column; align-items: center }
.listen > * + * { margin-top: 12px }
.app.daily.hearing .bubble { font-size: 34px }
.app.daily.hearing > h2, .app.daily.hearing > .votelist { display: none }

@media (min-width: 900px) and (pointer: fine) {
  body.phone .app { padding-top: 40px }
}


/* flex spacing for old TV browsers (no flex gap before Chromium 84) */
.chip > * + * { margin-left: 0.4em }
.cornerqr .join > * + * { margin-left: 0.6em }
.chips > * { margin: calc(var(--u) * 0.6) }
.stage > * + * { margin-top: calc(var(--u) * 3) }
.stage.reveal > * + * { margin-top: calc(var(--u) * 2.5) }
.stage.lobby > * + * { margin-top: 0; margin-left: calc(var(--u) * 6) }
.rolecards > * + * { margin-left: calc(var(--u) * 4) }
.linewrap > * + * { margin-left: calc(var(--u) * 4) }
.option > * + * { margin-left: 0.6em }
.revealhead > * + * { margin-left: calc(var(--u) * 2) }
.rcard .rtop > * + * { margin-left: 0.6em }
.voters > * { margin: calc(var(--u) * 0.5) }
.explain > * + * { margin-left: calc(var(--u) * 2) }
.table .row > * + * { margin-left: 0.7em }
.app > * + * { margin-top: 16px }
.panel > * + * { margin-top: 12px }
.faces > * + * { margin-left: 8px }
.coderow > * + * { margin-left: 10px }
.roombar > * + * { margin-left: 10px }
.plist > * { margin: 4px }
.seg > * + * { margin-left: 6px }
.rolebtn > * + * { margin-left: 14px }
.votebtn > * + * { margin-left: 12px }
.dots > * + * { margin-left: 8px }
.dwho > * + * { margin-left: 14px }
.verdict > * + * { margin-left: 12px }
.dexplain > * + * { margin-left: 10px }
.mk > * + * { margin-top: 6px }
.portrait::before { content: ""; display: block; padding-top: 100% }
.portrait img { position: absolute; top: 0; left: 0 }
.tweaks { position: fixed; left: 12px; bottom: 12px; z-index: 70; background: var(--ink); color: var(--cream); padding: 10px 12px; border-radius: 12px; font-size: 14px; font-weight: 700; display: flex; flex-direction: column }
.tweaks > * + * { margin-top: 6px }
.tweaks select { font: inherit; margin-left: 6px }
