/* ui.css: telefoon (play.html), remote/host-paneel (remote.html) en startpagina (index.html) van de quizschil.
 * Richting "Bierviltje" (design/mockup.html, telefoonblok); kleuren alleen uit theme.css. Tikdoelen >= 44 px,
 * hoofdknoppen 56 px; getest op 360 en 390 px breed en met +40% tekst (pseudotaal xx). */
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body.phone { margin: 0; min-height: 100vh; min-height: 100dvh; background: var(--tafel) var(--tapijt); background-size: calc(var(--tapijt-maat) * .7);
  color: var(--op-tafel); font-family: var(--font-ui); font-weight: var(--ui-gewicht); font-size: var(--tel-fs-tekst); line-height: 1.4; -webkit-font-smoothing: antialiased; }
body.phone #app { max-width: 560px; margin: 0 auto; min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
.pbody { flex: 1; min-height: 0; display: flex; flex-direction: column; gap: 14px; padding: max(14px, env(safe-area-inset-top)) 18px max(24px, env(safe-area-inset-bottom)); }
.pbody.center { justify-content: center; }
.pbrand { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.pbrand .l1 { font-family: var(--font-display); font-weight: 900; font-size: 22px; line-height: 1.1; }
.pbrand .l2 { font-size: var(--tel-fs-klein); font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--op-tafel-zacht); }
.plang { flex: none; min-width: 44px; height: 44px; border-radius: 22px; border: 2px solid var(--tafel-3); background: transparent; color: var(--op-tafel); font-weight: 800; font-size: 14px; padding: 0 8px; }
.pconn { position: fixed; left: 50%; top: 8px; transform: translateX(-50%); z-index: 20; background: var(--fout-inkt); color: #fff; font-weight: 800; font-size: 14px; border-radius: 99px; padding: 4px 14px; }

/* kop */
.ptop { display: flex; align-items: center; gap: 12px; padding-bottom: 12px; border-bottom: 2px solid var(--tafel-3); }
.ptop .tok { --s: 40px; }
.ptn { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.ptn b { font-family: var(--font-display); font-weight: 800; font-size: 19px; line-height: 1.1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.prow { display: flex; align-items: center; gap: 8px; min-width: 0; }
.pill { flex: none; font-size: 13px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; border: 1.5px solid var(--op-tafel-zacht); color: var(--op-tafel-zacht); border-radius: 99px; padding: 1px 9px; white-space: nowrap; }
.pill.kap { background: var(--bitter); border-color: var(--bitter); color: var(--op-bitter); }
.pscore { font-size: 13px; font-weight: 800; color: var(--op-tafel-zacht); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.ptimer { --p: 60; width: 48px; height: 48px; border-radius: 50%; flex: none; display: grid; place-items: center; position: relative; background: conic-gradient(var(--bitter) calc(var(--p) * 1%), var(--tafel-3) 0); }
.ptimer::after { content: ''; position: absolute; inset: 5px; border-radius: 50%; background: var(--vilt); }
.ptimer b { position: relative; z-index: 1; font-family: var(--font-display); font-weight: 900; font-size: 19px; color: var(--inkt); font-variant-numeric: tabular-nums; }
.ptimer.off { display: none; }
.ptimer.low b { color: var(--fout-inkt); }
.pey { font-size: var(--tel-fs-klein); font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--op-tafel-zacht); overflow-wrap: anywhere; }
.pvr { font-family: var(--font-vraag); font-weight: var(--vraag-gewicht); font-size: 22px; line-height: 1.2; margin: 0; text-wrap: pretty; overflow-wrap: break-word; }
.pgevuld { color: var(--bitter); }
.pgat { display: inline-block; width: 4em; height: .8em; vertical-align: -.08em; border-radius: 6px; background: var(--vilt-2); opacity: .8; }
.pnote { font-size: var(--tel-fs-klein); color: var(--op-tafel-zacht); margin: 0; line-height: 1.35; overflow-wrap: break-word; }
.pnote b { color: var(--op-tafel); }
.pnote.dark { color: var(--inkt-zacht); }
.pnote.subq { font-size: 16px; font-weight: 700; }
.pfoot { margin-top: auto; display: flex; flex-direction: column; gap: 10px; padding-top: 6px; }
.err { margin: 0; color: var(--fout); font-weight: 800; font-size: 15px; }
.bigjij { font-family: var(--font-display); font-weight: 900; font-size: 36px; line-height: 1.04; margin: 2px 0 0; text-wrap: balance; overflow-wrap: break-word; }
.bigjij.m { font-size: 28px; }
.lbl { font-size: var(--tel-fs-klein); font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--op-tafel-zacht); margin-bottom: -6px; }

/* viltjes */
.mat { background: var(--vilt); color: var(--inkt); border-radius: var(--hoek); box-shadow: var(--schaduw-mat); position: relative; transform: rotate(var(--r, 0deg)); }
.mat::before { content: ''; position: absolute; inset: 5px; border: 1.5px solid var(--drukrand); border-radius: 13px; pointer-events: none; }
.kantel > :nth-child(4n+1) { --r: calc(var(--kantel) * -.5); }
.kantel > :nth-child(4n+2) { --r: calc(var(--kantel) * .4); }
.kantel > :nth-child(4n+3) { --r: calc(var(--kantel) * .25); }
.kantel > :nth-child(4n+4) { --r: calc(var(--kantel) * -.35); }
.tok { --s: 40px; width: var(--s); height: var(--s); flex: none; border-radius: var(--vorm, 50%); background: var(--vilt); position: relative; isolation: isolate;
  display: inline-grid; place-items: center; box-shadow: 0 2px 0 rgba(0,0,0,.22), 0 6px 12px -4px rgba(0,0,0,.55);
  font-family: var(--font-display); font-weight: 900; font-size: calc(var(--s) * .38); line-height: 1; color: var(--inkt); overflow: hidden; }
.tok::before { content: ''; position: absolute; inset: 0; z-index: -1; color: var(--tc); background: var(--pat); font-size: calc(var(--s) * .17);
  -webkit-mask: radial-gradient(circle closest-side, transparent 60%, #000 62%); mask: radial-gradient(circle closest-side, transparent 60%, #000 62%); }
.tok::after { content: ''; position: absolute; inset: 0; border-radius: inherit; border: calc(var(--s) * .075) solid var(--tc, var(--inkt-zacht)); }
.letter { flex: none; width: 40px; height: 40px; border-radius: 50%; background: var(--inkt); color: var(--vilt); display: grid; place-items: center; font-family: var(--font-display); font-weight: 900; font-size: 22px; line-height: 1; }
.letter.sm { width: 30px; height: 30px; font-size: 16px; }
.krabbel { font-family: var(--font-krabbel); font-weight: 700; font-size: 34px; line-height: 1; color: var(--fout-inkt); transform: rotate(-5deg); display: inline-block; }

/* knoppen en velden */
.btn { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; min-height: var(--tel-tik); border: 0; border-radius: 16px; background: var(--bitter); color: var(--op-bitter);
  font: var(--ui-vet) 19px/1.15 var(--font-ui); box-shadow: 0 3px 0 rgba(0,0,0,.3); padding: 10px 18px; text-align: center; text-decoration: none; overflow-wrap: anywhere; }
.btn.ghost { background: transparent; color: var(--op-tafel); box-shadow: inset 0 0 0 2px var(--op-tafel-zacht); }
.btn.small { width: auto; min-height: 44px; font-size: 15px; padding: 6px 14px; border-radius: 12px; }
.btn.bad { background: var(--fout-inkt); color: #fff; box-shadow: none; }
.btn.good { background: var(--goed-inkt); color: #fff; }
.btn:disabled { opacity: .5; cursor: not-allowed; }
.btn .ic { width: 18px; height: 18px; display: inline-block; }
.ic svg { width: 100%; height: 100%; display: block; }
.btn:focus-visible, .popt:focus-visible, .veld:focus-visible, .chip:focus-visible, .trow:focus-visible, .plang:focus-visible, .sel:focus-visible { outline: 3px solid var(--op-tafel); outline-offset: 3px; }
.veld { display: block; width: 100%; background: var(--vilt); color: var(--inkt); border: 3px solid transparent; border-radius: 14px; padding: 12px 15px; font: 700 19px/1.2 var(--font-ui); box-shadow: inset 0 2px 0 rgba(0,0,0,.08); min-height: 52px; }
.veld:focus { border-color: var(--bitter); outline: none; }
.veld.code { text-align: center; letter-spacing: .3em; font-size: 28px; text-transform: uppercase; }
.veld.small { min-height: 44px; font-size: 16px; padding: 8px 10px; }
.veld.shake { animation: shake .35s; border-color: var(--fout); }
@keyframes shake { 25% { transform: translateX(-6px); } 75% { transform: translateX(6px); } }
.sel { min-height: 44px; border-radius: 12px; border: 2px solid var(--tafel-3); background: var(--tafel-2); color: var(--op-tafel); padding: 6px 10px; font-weight: 700; font-size: 15px; max-width: 100%; }
.sel.small { min-height: 40px; font-size: 14px; }
.pform { display: flex; flex-direction: column; gap: 10px; }
.inrij { display: flex; gap: 8px; }
.inrij .veld { flex: 1; min-width: 0; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip { flex: 1 1 auto; min-height: 44px; padding: 8px 12px; border-radius: 12px; background: var(--tafel-2); border: 2px solid var(--tafel-3); color: var(--op-tafel); font: 700 15px/1.15 var(--font-ui); display: grid; place-items: center; text-align: center; overflow-wrap: anywhere; }
.chip.aan { border-color: var(--bitter); background: var(--tafel-3); }

/* meedoen */
.jhead { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.plist { display: flex; flex-direction: column; gap: 10px; }
.trow { display: flex; align-items: center; gap: 12px; padding: 10px 14px; min-height: 60px; width: 100%; text-align: left; border: 0; font-family: inherit; }
.trow .tok { --s: 38px; }
.trow .nm { flex: 1; min-width: 0; font-weight: 800; font-size: 18px; line-height: 1.15; overflow-wrap: anywhere; }
.trow .nm small { display: block; font-weight: 600; font-size: 14px; color: var(--inkt-zacht); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.trow.kies { background: var(--bitter); color: var(--op-bitter); box-shadow: var(--schaduw-op); transform: rotate(-.8deg); }
.trow.kies .nm small { color: var(--op-bitter); }
.trow.nieuw { background: transparent; color: var(--op-tafel); box-shadow: inset 0 0 0 2px var(--tafel-3); border-radius: var(--hoek); border: 2px dashed var(--tafel-3); }
.trow.nieuw .nm small { color: var(--op-tafel-zacht); }
.trow.nieuw.kies { background: var(--bitter); color: var(--op-bitter); border-color: var(--bitter); }
.trow.nieuw.kies .nm small { color: var(--op-bitter); }
.trow .plus { width: 38px; height: 38px; border-radius: 50%; border: 2px dashed currentColor; display: grid; place-items: center; font-size: 24px; font-weight: 700; flex: none; }

/* antwoorden */
.popt { display: flex; align-items: center; gap: 14px; padding: 12px 16px; min-height: 64px; font-size: var(--tel-fs-optie); font-weight: var(--ui-vet); line-height: 1.15; width: 100%; text-align: left; border: 0; font-family: inherit; }
.popt .ot { flex: 1; min-width: 0; overflow-wrap: break-word; }
.popt.kies { background: var(--bitter); color: var(--op-bitter); box-shadow: var(--schaduw-op); transform: rotate(-1deg) translateY(-2px); }
.popt.kies .letter { background: var(--op-bitter); color: var(--bitter); }
.popt .tag { flex: none; font-size: 13px; font-weight: 800; white-space: nowrap; text-transform: uppercase; letter-spacing: .05em; max-width: 40%; overflow: hidden; text-overflow: ellipsis; }
.popt.uit { background: var(--vilt-2) repeating-linear-gradient(-45deg, transparent 0 8px, var(--drukrand) 8px 10px); color: var(--inkt-zacht); box-shadow: none; cursor: not-allowed; }
.popt.uit .letter { background: var(--inkt-zacht); }
.popt.voor { outline: 3px dashed var(--bitter); outline-offset: 3px; }
.pgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.pgrid .popt { min-height: 72px; font-size: 17px; gap: 10px; padding: 10px 12px; }
.pgrid .popt .letter { width: 32px; height: 32px; font-size: 18px; }
.kaptekst { padding: 16px 18px; }
.kaptekst .big { font-family: var(--font-display); font-weight: 800; font-size: 22px; line-height: 1.15; }
.kaptekst p { margin: 6px 0 0; font-size: 15px; color: var(--inkt-zacht); }
.sug { display: flex; align-items: center; gap: 12px; padding: 10px 12px 10px 16px; background: var(--tafel-2); border-radius: 14px; }
.sug span { flex: 1; min-width: 0; font-size: 15px; line-height: 1.3; overflow-wrap: anywhere; }
.sug .btn { width: auto; min-height: 44px; font-size: 15px; padding: 6px 14px; border-radius: 12px; flex: none; }
.pbig { padding: 18px 18px 20px; display: flex; flex-direction: column; gap: 6px; align-items: flex-start; }
.pbig .big { font-family: var(--font-display); font-weight: 900; font-size: 26px; line-height: 1.1; overflow-wrap: break-word; }
.pbig p { margin: 0; font-size: 16px; color: var(--inkt-zacht); overflow-wrap: break-word; }
.pbig.goed { box-shadow: var(--schaduw-mat), 0 0 0 4px var(--goed); }
.pbig.fout { box-shadow: var(--schaduw-mat), 0 0 0 4px var(--fout); }
.pbig .krabbel { align-self: flex-end; margin-top: -8px; }
.lockbig { width: 34px; height: 34px; }
.lockbig .ic { width: 100%; height: 100%; display: block; }
.pemoji { font-size: 60px; text-align: center; line-height: 1.15; letter-spacing: .06em; }
.pquote { padding: 14px 16px; font-family: var(--font-display); font-weight: 800; font-size: 22px; line-height: 1.15; overflow-wrap: break-word; }
.zoominfo { padding: 12px 16px; display: flex; justify-content: space-between; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.zoominfo b { font-family: var(--font-display); font-size: 22px; }
.zoominfo span { font-size: 14px; font-weight: 700; color: var(--inkt-zacht); }
.pimg { padding: 8px; align-self: center; width: min(100%, 300px); --r: -1deg; }
.pimg.klein { width: min(60%, 200px); }
.pimg .illu { width: 100%; aspect-ratio: 1; object-fit: cover; display: block; border-radius: 12px; }

/* getal */
.near-num { padding: 10px 14px; display: flex; align-items: baseline; justify-content: center; gap: 10px; }
.numin { width: 100%; min-width: 0; flex: 1; border: 0; background: transparent; text-align: center; font-family: var(--font-display); font-weight: 900; font-size: 64px; line-height: 1.05; color: var(--inkt); font-variant-numeric: tabular-nums; padding: 0; }
.numin:focus { outline: 3px dashed var(--bitter); outline-offset: 4px; border-radius: 10px; }
.near-num span { font-weight: 800; color: var(--inkt-zacht); flex: none; max-width: 40%; overflow-wrap: anywhere; }
.schuifrij { display: flex; flex-direction: column; gap: 2px; }
.schuif { -webkit-appearance: none; appearance: none; width: 100%; height: 44px; background: transparent; margin: 0; --v: 50%; }
.schuif::-webkit-slider-runnable-track { height: 8px; border-radius: 99px; background: linear-gradient(90deg, var(--bitter) var(--v), var(--tafel-3) 0); }
.schuif::-moz-range-track { height: 8px; border-radius: 99px; background: linear-gradient(90deg, var(--bitter) var(--v), var(--tafel-3) 0); }
.schuif::-webkit-slider-thumb { -webkit-appearance: none; width: 32px; height: 32px; margin-top: -12px; border-radius: 50%; background: var(--vilt); box-shadow: 0 2px 6px rgba(0,0,0,.5), 0 0 0 4px var(--bitter); }
.schuif::-moz-range-thumb { width: 32px; height: 32px; border-radius: 50%; background: var(--vilt); border: 4px solid var(--bitter); }
.schuiflab { display: flex; justify-content: space-between; font-size: 13px; color: var(--op-tafel-zacht); font-weight: 700; }
.stap4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.stap4 .chip { font-size: 17px; font-weight: 800; }

/* inzet */
.inzet { padding: 14px 12px; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.inzet .rond { width: 56px; height: 56px; border-radius: 50%; border: 0; background: var(--inkt); color: var(--vilt); font: 800 30px/1 var(--font-ui); display: grid; place-items: center; flex: none; }
.inzet .getal { text-align: center; min-width: 0; }
.inzet .getal b { display: block; font-family: var(--font-display); font-weight: 900; font-size: 80px; line-height: .9; font-variant-numeric: tabular-nums; }
.inzet .getal span { font-weight: 800; font-size: 15px; color: var(--inkt-zacht); }
.gevolg { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; font-size: 15px; }
.gevolg div { background: var(--tafel-2); border-radius: 12px; padding: 8px 12px; line-height: 1.25; min-width: 0; }
.gevolg b { display: block; font-family: var(--font-display); font-size: 21px; font-weight: 900; overflow-wrap: anywhere; }
.gevolg .g b { color: var(--goed); } .gevolg .f b { color: var(--fout); }

/* neurie */
.privee { margin: -14px -18px 0; padding: 12px 18px; background: var(--bitter); color: var(--op-bitter); font-weight: 800; font-size: 15px; display: flex; gap: 10px; align-items: center; }
.privee .ic { width: 20px; height: 20px; flex: none; }
.liedmat { --r: -1.4deg; padding: 22px 20px 20px; text-align: center; }
.liedmat .k { font-size: 13px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--inkt-zacht); }
.liedmat .t { font-family: var(--font-display); font-weight: 900; font-size: 38px; line-height: 1.04; margin: 8px 0 6px; overflow-wrap: anywhere; }
.liedmat .a { font-weight: 700; font-size: 17px; color: var(--inkt-zacht); }
.liedmat.verborgen { background: var(--vilt-2) repeating-linear-gradient(-45deg, transparent 0 8px, var(--drukrand) 8px 10px); }
.regels { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 8px; }
.regels li { display: flex; gap: 10px; font-size: 16px; line-height: 1.3; }
.regels li::before { content: ''; flex: none; width: 10px; height: 10px; margin-top: 6px; border-radius: 50%; background: var(--bitter); }

/* ronde, joker, stand, einde */
.pintro { display: flex; flex-direction: column; gap: 8px; }
.pintro .regel { margin: 0; font-size: 17px; line-height: 1.4; }
.jblok { display: flex; flex-direction: column; gap: 10px; }
.jokeraan { padding: 14px 16px; box-shadow: var(--schaduw-mat), 0 0 0 4px var(--bitter); }
.jokeraan b { font-family: var(--font-display); font-size: 20px; }
.prank { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.prank li { display: flex; align-items: center; gap: 10px; background: var(--tafel-2); border-radius: 12px; padding: 8px 12px; font-weight: 800; min-height: 48px; }
.prank li.me { background: var(--vilt); color: var(--inkt); box-shadow: 0 0 0 3px var(--bitter); }
.prank .rk { width: 1.6em; text-align: right; color: var(--op-tafel-zacht); flex: none; }
.prank li.me .rk { color: var(--inkt-zacht); }
.prank .tok { --s: 30px; }
.prank .nm { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.prank b { font-family: var(--font-display); font-size: 20px; }
.deel { padding: 16px 18px; display: flex; flex-direction: column; gap: 10px; align-items: flex-start; --r: .6deg; }
.deel .k { font-size: 13px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--inkt-zacht); }
.deelkaart { margin: 0; font-family: var(--font-ui); font-size: 14px; line-height: 1.4; white-space: pre-wrap; font-weight: 700; color: var(--inkt); overflow-wrap: anywhere; max-width: 100%; }
.deel .btn { background: var(--inkt); color: var(--vilt); box-shadow: none; }

/* crew: korte vragenlijst in de lobby */
.crewform { display: flex; flex-direction: column; gap: 12px; }
.crewvraag { padding: 14px 14px 16px; display: flex; flex-direction: column; gap: 10px; }
.crewvraag .vt { font-family: var(--font-vraag); font-weight: 700; font-size: 19px; line-height: 1.2; overflow-wrap: break-word; }
.crewvraag .zicht { align-self: flex-start; font-size: 13px; font-weight: 800; border-radius: 99px; padding: 2px 10px; background: var(--vilt-2); color: var(--inkt); }
.crewvraag .veld { background: #fff; border: 2px solid var(--vilt-2); font-size: 17px; }
.crewvraag .chip { background: #fff; color: var(--inkt); border-color: var(--vilt-2); }
.crewvraag .chip.aan { background: var(--bitter); color: var(--op-bitter); border-color: var(--bitter); }
.crewvraag .chips.schaal .chip { flex: 1 0 15%; min-width: 44px; padding: 8px 4px; }
.crewq { padding: 14px 16px; display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.crewq .big { font-family: var(--font-display); font-weight: 800; font-size: 20px; }
.btn.ghost.dark { color: var(--inkt); box-shadow: inset 0 0 0 2px var(--inkt-zacht); }

/* ---------------------------------------------------------------- remote en host-paneel */
.remote { gap: 12px; }
.rhead { display: flex; align-items: center; gap: 8px; position: sticky; top: 0; z-index: 5; background: var(--tafel); margin: -14px -18px 0; padding: 12px 18px; border-bottom: 2px solid var(--tafel-3); }
.rph { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.rph b { font-family: var(--font-display); font-weight: 800; font-size: 18px; line-height: 1.15; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rhead .btn.small { padding: 6px 10px; }
.rhead .ptimer { width: 40px; height: 40px; }
.rhead .ptimer b { font-size: 16px; }
.rsec { display: flex; flex-direction: column; gap: 12px; }
.rq { padding: 14px 16px; display: flex; flex-direction: column; gap: 8px; }
.rq .q { font-family: var(--font-vraag); font-weight: 600; font-size: 18px; line-height: 1.25; overflow-wrap: break-word; }
.rq .ra { display: flex; flex-direction: column; background: var(--goed-inkt); color: #fff; border-radius: 10px; padding: 8px 12px; }
.rq .ra .k { font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; opacity: .85; }
.rq .ra b { font-size: 19px; overflow-wrap: anywhere; }
.rq .bron { overflow-wrap: anywhere; }
.ropts { margin: 0; padding-left: 0; list-style: none; display: flex; flex-direction: column; gap: 4px; font-size: 15px; font-weight: 700; }
.ropts li.ok { color: var(--goed-inkt); font-weight: 900; }
.rrow { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.rrow > .veld { flex: 1; min-width: 0; }
.rteams { display: flex; flex-direction: column; gap: 8px; }
.rteam { display: flex; align-items: center; gap: 10px; background: var(--tafel-2); border-radius: 12px; padding: 8px 10px; min-height: 52px; flex-wrap: wrap; }
.rteam .tn { flex: 1; min-width: 120px; font-weight: 800; font-size: 16px; line-height: 1.2; overflow-wrap: anywhere; }
.rteam .tn small { display: block; font-weight: 600; font-size: 14px; color: var(--op-tafel-zacht); overflow-wrap: anywhere; }
.rteam .cells { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; margin-left: auto; }
.rteam .cells .veld.small { width: 120px; }
.rteam .tok { --s: 28px; }
.rteam .rk { color: var(--op-tafel-zacht); font-weight: 800; min-width: 1.8em; }
.rteam .sc { font-family: var(--font-display); font-size: 20px; }
.rteam.pend { box-shadow: inset 0 0 0 2px var(--bitter); }
.rteam.dim { opacity: .6; }
.rteam.truth { box-shadow: inset 0 0 0 2px var(--goed); }
.rg { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-weight: 900; }
.rg.goed { background: var(--goed-inkt); color: #fff; }
.rg.fout { background: var(--fout-inkt); color: #fff; }
.rg.twijfel { background: var(--bitter); color: var(--op-bitter); }
.rjudge { padding: 14px 16px; display: flex; flex-direction: column; gap: 10px; box-shadow: var(--schaduw-op), 0 0 0 4px var(--bitter); }
.rjudge .k { font-size: 13px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--inkt-zacht); }
.rjudge .tn { display: flex; align-items: center; gap: 10px; font-size: 18px; }
.rjudge .said { font-family: var(--font-display); font-weight: 800; font-size: 26px; line-height: 1.15; overflow-wrap: anywhere; }
.rjudge .btn { flex: 1; }
.rmost { display: flex; flex-direction: column; gap: 8px; }
.rmost .chip { flex: 0 0 auto; min-width: 44px; }
.rteamcard { padding: 12px; display: flex; flex-direction: column; gap: 8px; }
.rteamcard .veld.small { background: #fff; }
.rpls { display: flex; flex-direction: column; gap: 6px; }
.rpl { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.rpl .nm { flex: 1; min-width: 80px; font-weight: 800; }
.rpl .btn.ghost { color: var(--inkt); box-shadow: inset 0 0 0 2px var(--inkt-zacht); }
.rpl .sel { background: #fff; color: var(--inkt); border-color: var(--vilt-2); }
.rdet { background: var(--tafel-2); border-radius: 14px; padding: 10px 12px; }
.rdet summary { font-weight: 800; cursor: pointer; min-height: 32px; display: flex; align-items: center; }
.rdet[open] summary { margin-bottom: 10px; }
.rpts { margin-top: 8px; }
.rmenu { padding: 14px; display: flex; flex-direction: column; gap: 10px; }
.rmenu .lbl { color: var(--inkt-zacht); margin: 0; }
.rmenu .chip { background: #fff; color: var(--inkt); border-color: var(--vilt-2); }
.rmenu .chip.aan { border-color: var(--bitter); }
.rmenu .btn.ghost { color: var(--inkt); box-shadow: inset 0 0 0 2px var(--inkt-zacht); }
.stepper { display: flex; align-items: center; gap: 12px; font-weight: 800; }
.rnext { position: sticky; bottom: 10px; z-index: 4; }

/* ---------------------------------------------------------------- startpagina */
body.home { margin: 0; min-height: 100vh; background: var(--tafel) var(--tapijt); background-size: calc(var(--tapijt-maat) * .8); color: var(--op-tafel); font-family: var(--font-ui); font-weight: var(--ui-gewicht); -webkit-font-smoothing: antialiased; }
.home #app { max-width: 980px; margin: 0 auto; padding: 32px 18px 60px; display: flex; flex-direction: column; gap: 22px; }
.hkop { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; flex-wrap: wrap; }
.hkop .eb { font-size: 14px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--bitter); }
.hkop h1 { font-family: var(--font-display); font-weight: 900; font-size: clamp(40px, 9vw, 76px); line-height: .95; margin: 6px 0 0; letter-spacing: -.02em; }
.hkop p { margin: 10px 0 0; color: var(--op-tafel-zacht); font-size: 18px; max-width: 560px; }
.hcards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; }
.hcard { padding: 20px 20px 22px; display: flex; flex-direction: column; gap: 10px; }
.hcard:nth-child(1) { --r: -1deg; } .hcard:nth-child(2) { --r: .8deg; } .hcard:nth-child(3) { --r: -.4deg; }
.hcard h2 { margin: 0; font-family: var(--font-display); font-weight: 900; font-size: 26px; }
.hcard p { margin: 0; color: var(--inkt-zacht); font-size: 16px; line-height: 1.4; }
.hcard form { display: flex; gap: 8px; }
.hcard form .veld { flex: 1; min-width: 0; background: #fff; border-color: var(--vilt-2); }
.hcard form .btn { width: auto; }
.hcard .btn { margin-top: auto; }
.hsteps { background: var(--tafel-2); border-radius: 18px; padding: 18px 20px; }
.hsteps h2 { margin: 0 0 8px; font-family: var(--font-display); font-size: 22px; }
.hsteps ol { margin: 0; padding-left: 1.3em; display: flex; flex-direction: column; gap: 6px; line-height: 1.4; }
.hnote { color: var(--op-tafel-zacht); font-size: 14px; margin: 0; }
.hnote a { color: var(--op-tafel); }
.langs { display: flex; gap: 8px; flex-wrap: wrap; }
.lang { background: transparent; color: var(--op-tafel); border: 2px solid var(--tafel-3); border-radius: 99px; padding: 6px 14px; font-size: 14px; font-weight: 800; min-height: 40px; }
.lang.on { background: var(--bitter); color: var(--op-bitter); border-color: var(--bitter); }

@media (max-width: 370px) {
  .pbody { padding-left: 14px; padding-right: 14px; }
  .privee, .rhead { margin-left: -14px; margin-right: -14px; }
  .bigjij { font-size: 32px; }
  .pgrid .popt { font-size: 16px; }
  .inzet .getal b { font-size: 68px; }
  .numin { font-size: 54px; }
}
@media (prefers-reduced-motion: reduce) { .veld.shake { animation: none; } }

/* Afsluiter Hooray Paper Co. aan het eind van elk spel (tv en telefoon) */
.hooray { display: flex; align-items: center; gap: .7em; min-width: 0; }
.hooray-mark { display: inline-block; flex: none; width: 2.6em; height: 2.6em; }
.hooray-mark svg { display: block; width: 100%; height: 100%; }
.hooray > div { min-width: 0; }
.hooray b { display: block; font-weight: 800; }
.hooray span { display: block; overflow-wrap: anywhere; }
.hooray.hooray-tel { font-size: var(--tel-fs-klein); color: var(--op-tafel); justify-content: center; text-align: left; }
.hooray.hooray-tel span { color: var(--op-tafel-zacht); }
