/* =====================================================================
   BOEKMENU (Daniel, 29 nov): Instellingen als het Grote Boek van de Sint (sfeer Pentiment).
   Het boek bepaalt de vorm: twee bladzijden naast elkaar, de inhoud loopt in kolommen over de bladzijden door,
   en je slaat om in plaats van te scrollen. Alle bewerk-logica blijft die van instellingen.js; boek.js zet alleen de vorm eromheen.
   Aan met ?boekmenu (zet ook html.register aan: papier, inkt, rode rubrieken uit koper.css).
   Maten in cqw van het boek (1672 x 941 foto): papier links x 5,44-49,64%, rechts 50,24-94,5%, y 3,19-96,1%.
   ===================================================================== */
html.boekmenu body .inst { background: #1a0f0a radial-gradient(ellipse at 50% 40%, #3a2216, #120a06 75%) !important; display: flex; align-items: center; justify-content: center; }
html.boekmenu body .inst::before { content: none !important; }
html.boekmenu .boek-vak { position: relative; width: min(97vw, 97vh * 1672 / 941); aspect-ratio: 1672 / 941; container-type: inline-size; perspective: 160cqw;
  background: url(img/boek/open-boek.webp) center / 100% 100% no-repeat; filter: drop-shadow(0 2.5cqw 3cqw rgba(0,0,0,.6));
  --inkt: #2b1d12; --inkt-2: rgba(43,29,18,.62); --rood: #9b2418; }

/* kopregel bovenaan beide bladzijden: links de hoofdstukken, rechts terug naar het spel */
html.boekmenu body .boek-vak .inst-kop { position: absolute; left: 8.4cqw; right: 8.4cqw; top: 2.6cqw; display: flex !important; justify-content: space-between; align-items: baseline;
  padding: 0 !important; margin: 0; border: 0; z-index: 3; }
html.boekmenu body .boek-vak .inst-kop h1 { display: none; }
html.boekmenu body .boek-vak .inst-tabs { order: 1; display: flex; gap: 1.6cqw; margin: 0; flex: none; }
html.boekmenu body .boek-vak .inst-tabs button { font: 1.2cqw "IM Fell English SC", Georgia, serif !important; letter-spacing: .06em !important; padding: 0 0 .1cqw !important; }
html.boekmenu body .boek-vak .inst-terug { order: 2; font-size: 1.15cqw !important; }
html.boekmenu body .boek-vak .inst-melding { position: absolute; right: 0; top: 1.8cqw; font: italic 1cqw "IM Fell English", Georgia, serif; color: var(--inkt-2); }

/* de inhoud: twee kolommen = twee bladzijden; meer inhoud = meer kolommen naar rechts, je slaat om */
html.boekmenu body .boek-vak .inst-body { position: absolute; left: 8.44cqw; width: 83.06cqw; top: 5.6cqw; height: 44.6cqw; margin: 0 !important; padding: 0 !important;
  border: 0 !important; background: none !important; overflow: hidden !important; columns: 2; column-gap: 6.6cqw; column-fill: auto; scroll-behavior: auto; }
html.boekmenu body .boek-vak .inst-body .smal { max-width: none; margin: 0; }
html.boekmenu body .boek-vak .inst-body .smal::before { content: attr(data-hoofdstuk); display: block; margin: 0 0 .6cqw; font: 400 2.8cqw "IM Fell English SC", Georgia, serif; color: var(--rood); letter-spacing: .03em; }
/* onderdelen niet over twee bladzijden breken */
html.boekmenu body .inst-body :is(.lootje, .actie, .veld, .vlag, .rij3, .rij2, .knoprij, .zoek, .afstand-vak, .bus-rij) { break-inside: avoid; }
html.boekmenu body .inst-body h2 { break-after: avoid; }   /* grote blokken mogen over de bladzijden doorlopen; een kopje blijft bij zijn tekst */
html.boekmenu body .inst-body #lijst { display: block; }
html.boekmenu body .inst-body #lijst .lootje { display: grid; }

/* voet: paginanummers en omslaan */
html.boekmenu .boek-voet { position: absolute; left: 8.4cqw; right: 8.4cqw; bottom: 3.1cqw; display: flex; justify-content: space-between; align-items: baseline; z-index: 3;
  font: 1.15cqw "IM Fell English", Georgia, serif; color: var(--inkt-2); pointer-events: none; }
html.boekmenu .boek-voet > div { width: 38.2cqw; display: flex; justify-content: space-between; align-items: baseline; }
html.boekmenu .boek-voet a { pointer-events: auto; color: var(--rood); font-style: italic; cursor: pointer; border-bottom: .08cqw solid rgba(155,36,24,.4); }
html.boekmenu .boek-voet a[hidden] { visibility: hidden; display: inline; }
html.boekmenu .boek-nieuw { pointer-events: auto; color: var(--rood) !important; font-style: italic; cursor: pointer; }

/* het omslaande blad: alleen papier, met een kopie van de bladzijde erop */
html.boekmenu .boek-vel { position: absolute; top: 3.19%; height: 92.9%; transform-style: preserve-3d; pointer-events: none; display: none; z-index: 6; }
html.boekmenu .boek-vel.vooruit { display: block; left: 50.24%; width: 44.26%; transform-origin: -0.68% 50%; animation: boek-om .8s cubic-bezier(.45,.05,.3,1) both; }
html.boekmenu .boek-vel.terug { display: block; left: 5.44%; width: 44.2%; transform-origin: 100.68% 50%; animation: boek-terug .8s cubic-bezier(.45,.05,.3,1) both; }
html.boekmenu .boek-vel .kant { position: absolute; inset: 0; overflow: hidden; backface-visibility: hidden; -webkit-backface-visibility: hidden; }
html.boekmenu .boek-vel .kant.achter { transform: rotateY(180deg); }
html.boekmenu .boek-vel .kant.pl { background: url(img/boek/papier-links.webp) center / 100% 100%; }
html.boekmenu .boek-vel .kant.pr { background: url(img/boek/papier-rechts.webp) center / 100% 100%; }
html.boekmenu .boek-vel.vooruit .kant, html.boekmenu .boek-vel.terug .kant { animation: boek-schaduw .8s cubic-bezier(.45,.05,.3,1) both; }
html.boekmenu .boek-vel .kopie { position: absolute; top: 3.8cqw; height: 44.6cqw; width: 83.06cqw; overflow: hidden; columns: 2; column-gap: 6.6cqw; column-fill: auto; pointer-events: none; }
@keyframes boek-om { from { transform: rotateY(0); } to { transform: rotateY(-180deg); } }
@keyframes boek-terug { from { transform: rotateY(0); } to { transform: rotateY(180deg); } }
@keyframes boek-schaduw { 0%, 100% { filter: brightness(1); } 50% { filter: brightness(.86); } }

/* kaart bewerken: een los vel papier op het boek */
html.boekmenu body .inst .wiz { background: rgba(20,10,5,.55) !important; }
html.boekmenu body .inst .wiz-vak { background: url(img/boek/papier-rechts.webp) center / cover !important; border: 0 !important; border-image: none !important;
  box-shadow: 0 1.2rem 3rem rgba(0,0,0,.55) !important; padding: 2.2rem 2.6rem 1.8rem !important; color: #2b1d12; }
html.boekmenu body .inst .wiz-vak, html.boekmenu body .inst .wiz-vak *:not(input[type=checkbox]) { font-family: "IM Fell English", Georgia, serif !important; color: #2b1d12 !important; text-shadow: none !important; letter-spacing: 0 !important; text-transform: none !important; }
html.boekmenu body .inst .wiz-kop, html.boekmenu body .inst .wiz-kop * { color: #9b2418 !important; font-family: "IM Fell English SC", Georgia, serif !important; }
html.boekmenu body .inst .wiz h3 { color: #9b2418 !important; font-size: 1.6rem !important; }
html.boekmenu body .inst .wiz :is(.wiz-keuze, .wiz-zegt, .wiz-voorbeeld) { background: transparent !important; border: 0 !important; border-bottom: 1px solid rgba(155,36,24,.25) !important; box-shadow: none !important; border-radius: 0 !important; }
html.boekmenu body .inst .wiz .wiz-keuze.gekozen { box-shadow: inset 3px 0 0 #9b2418 !important; background: rgba(155,36,24,.06) !important; }
html.boekmenu body .inst .wiz :is(input[type=text], input[type=number], textarea, select) { background: transparent !important; border: 0 !important; border-bottom: 1px solid rgba(43,29,18,.35) !important; border-radius: 0 !important; box-shadow: none !important; }
html.boekmenu body .inst .wiz :is(.inst-knop, .wiz-aan button) { background: none !important; border: 0 !important; border-image: none !important; border-bottom: 1px solid rgba(43,29,18,.4) !important; border-radius: 0 !important;
  padding: 0 .1rem !important; min-height: 0 !important; filter: none !important; box-shadow: none !important; font-style: italic; }
html.boekmenu body .inst .wiz .wiz-aan button.aan { color: #9b2418 !important; border-bottom-color: #9b2418 !important; }
html.boekmenu body .inst .wiz .wiz-voet .inst-knop:last-child { color: #9b2418 !important; border-bottom-color: #9b2418 !important; font-size: 1.15rem !important; }
html.boekmenu body .inst .wiz .naamvak .naamlaag, html.boekmenu body .inst .wiz .naamvak .naamlaag mark { color: transparent !important; }
html.boekmenu body .inst .wiz .naamvak, html.boekmenu body .inst .wiz .naamvak textarea { background: transparent !important; }
html.boekmenu body .inst .wiz .naamvak { border-bottom: 1px solid rgba(43,29,18,.35); }
html.boekmenu body .inst .wiz .naamvak .naamlaag mark { background: rgba(155,36,24,.13) !important; }
html.boekmenu body .inst .wiz .wiz-namen button, html.boekmenu body .inst .naamknoppen button { background: none !important; border: 0 !important; border-bottom: 1px solid rgba(155,36,24,.45) !important; color: #9b2418 !important; font-style: italic; padding: 0 .1rem !important; }
html.boekmenu body .inst .wiz .klinkt { font-style: italic; }

/* ---------- kritische ronde (Daniel, 29 nov): rustiger, beter geplaatst ---------- */
/* opdrachten: alleen nummer, soort en tekst; de bedieningswoorden verschijnen als je de muis op de opdracht houdt */
html.boekmenu body .inst-body #lijst .lootje .kaart-acties { opacity: 0; transition: opacity .15s; }
html.boekmenu body .inst-body #lijst .lootje:hover .kaart-acties, html.boekmenu body .inst-body #lijst .lootje:focus-within .kaart-acties, html.boekmenu body .inst-body #lijst .lootje.open .kaart-acties { opacity: 1; }
html.boekmenu body .inst-body #lijst .kaart-kop .ster:not(.aan) { opacity: 0; } html.boekmenu body .inst-body #lijst .lootje:hover .ster { opacity: 1; }
html.boekmenu body .inst-body #lijst .gevolg-rij.samenvatting:empty { display: none; }
html.boekmenu body .inst-body #lijst .lootje { padding: .9rem 0 1rem !important; }
/* rondes: worpen die naar het boek gaan hebben geen eigen tekst: het lege, uitgegrijsde vak weg; dobbelsteenogen groter */
html.boekmenu body .inst-body .actie textarea:disabled { display: none; }
html.boekmenu body .inst-body .actie .oog { font-size: 1.6rem !important; line-height: 1; }
html.boekmenu body .inst-body .actie .oog.getal { font-size: 1.15rem !important; }
/* muziek: niets in te stellen, dus geen hoofdstuk */
html.boekmenu body .inst-tabs [data-tab="muziek"] { display: none; }
/* telefoon: de code past op de linkerbladzijde */
html.boekmenu body .inst-body .afstand-qr { width: 11cqw; border-width: .4cqw; margin-bottom: .6cqw; }
html.boekmenu body .inst-body .afstand-vak p { margin-bottom: .4rem; }
/* namen ('de speler', 'iemand anders'): een dun grijs randje om het hele woord, geen arcering (Daniel, 29 nov) */
html.boekmenu body .inst .naamvak .naamlaag mark { background: none !important; box-shadow: 0 0 0 1px rgba(43,29,18,.38) !important; border-radius: 3px !important; padding: 0 .08em; }

/* ---------- drie lettermaten in het boek, niet meer (Daniel: anders wordt het een zootje) ----------
   titel = hoofdstuknaam; tekst = alles wat je leest en invult; klein = nummers, soorten, labels, kopregel, voet.
   In cqw, zodat ze met het boek meeschalen. De laag met de namen-randjes krijgt exact dezelfde maat als het tekstvak. */
html.boekmenu .boek-vak { --m-titel: 2.6cqw; --m-tekst: 1.32cqw; --m-klein: 1.02cqw; }
html.boekmenu body .boek-vak .inst-body *, html.boekmenu body .boek-vak .inst-body .naamvak .naamlaag, html.boekmenu body .boek-vak .inst-body .naamvak .naamlaag *,
html.boekmenu body .boek-vak .inst-body #lijst .lootje textarea { font-size: var(--m-tekst) !important; line-height: 1.5 !important; }
html.boekmenu body .boek-vak .inst-body :is(.nr, .soort, .soort *, .gevolg-rij, .gevolg-rij *, label.veld > span, .inst-uitleg, .teller, .oog small, .kaart-acties, .kaart-acties *, .klinkt, .bus-kop span, h2, h2 *, .meer, .wis, .ster, .codes-rij, .codes-rij *) { font-size: var(--m-klein) !important; }
html.boekmenu body .boek-vak .inst-body .smal::before { font-size: var(--m-titel) !important; }
html.boekmenu body .boek-vak .inst-tabs button, html.boekmenu body .boek-vak .inst-terug, html.boekmenu .boek-voet, html.boekmenu .boek-voet * { font-size: var(--m-klein) !important; }
html.boekmenu body .boek-vak .inst-body .actie .oog { font-size: var(--m-tekst) !important; }
html.boekmenu body .boek-vak .inst-body .naamvak .naamlaag mark { font-size: inherit !important; }
html.boekmenu body .inst .naamvak .naamlaag mark { padding: 0 !important; margin: 0 !important; box-shadow: 0 0 0 1.5px rgba(43,29,18,.32) !important; }   /* geen ruimte erbij: het randje mag de tekst niet verschuiven */
html.boekmenu body .inst .naamvak .naamlaag { border-color: transparent !important; border-width: 0 !important; }
html.boekmenu body .inst-body .afstand-qr { width: 7.5cqw !important; }   /* Daniel: QR-code veel te groot */
/* telefoon: alles links uitgelijnd zoals de rest van het boek; 'Lukt het niet?' blijft bij elkaar */
html.boekmenu body .inst-body .inst-afstand { text-align: left !important; }
html.boekmenu body .inst-body .inst-afstand .afstand-qr { margin: .4cqw 0 .8cqw !important; }
html.boekmenu body .inst-body section:has([data-doe="nieuwe-code"]) { break-inside: avoid; }
html.boekmenu body .boek-vak .inst-kop { z-index: 5; }   /* kopregel blijft staan terwijl een bladzijde omslaat (het blad zelf gaat eroverheen) */
/* QR: geen lege strook eronder (Daniel) */
html.boekmenu body .inst-body .afstand-qr { aspect-ratio: 1; padding: 0 !important; line-height: 0 !important; overflow: hidden; }
html.boekmenu body .inst-body .afstand-qr svg, html.boekmenu body .inst-body .afstand-qr img { display: block; width: 100% !important; height: 100% !important; }
/* kerst: groene kaft, zoals het boek van de Kerstman in het spel */
html.boekmenu .boek-vak.groen { background-image: url(img/boek/open-boek-groen.webp); }
/* een blok met een knop eronder niet uit elkaar halen (Algemeen: 'Standaard herstellen' viel los) */
html.boekmenu body .inst-body section:has(.knoprij, [data-doe="standaard"]) { break-inside: avoid; }

/* =====================================================================
   BEGINSCHERM IN HET BOEK (Daniel: echt alles moet in het boek). Het podium is 16:9, net als het boek: de foto vult het hele vlak.
   Linkerbladzijde = titel en de stappen als inhoudsopgave; rechterbladzijde = wat je invult en de knoppen.
   ===================================================================== */
html.boekmenu body .laag-ui.sluier:has(.opzet) { background: #1a0f0a url(img/boek/open-boek.webp) center / 100% 100% no-repeat !important; padding: 0; }
html.boekmenu.kerstboek body .laag-ui.sluier:has(.opzet) { background-image: url(img/boek/open-boek-groen.webp) !important; }
html.boekmenu body .opzet { position: absolute; inset: 0; max-width: none; margin: 0; padding: 0; text-align: left;
  display: grid; grid-template-columns: 8.4cqw 38.2cqw 6.6cqw 38.2cqw 1fr; grid-template-rows: 4.2cqw auto auto auto 1fr auto 4.4cqw; column-gap: 0;
  --inkt: #2b1d12; --inkt-2: rgba(43,29,18,.62); --rood: #9b2418; color: var(--inkt); font-family: "IM Fell English", Georgia, serif; }
html.boekmenu body .opzet > * { text-shadow: none !important; }
html.boekmenu body .opzet .boventitel { grid-column: 2; grid-row: 2; font: 1.05cqw "IM Fell English SC", Georgia, serif !important; letter-spacing: .2em; color: var(--inkt-2) !important; }
html.boekmenu body .opzet .titel { grid-column: 2; grid-row: 3; margin: .8cqw 0 .6cqw !important; font: 400 3cqw "IM Fell English SC", Georgia, serif !important; color: var(--rood) !important; text-align: left; }
html.boekmenu body .opzet .uitleg { grid-column: 2; grid-row: 4; margin: 0 0 1.8cqw !important; max-width: none !important; font: italic 1.32cqw/1.5 "IM Fell English", Georgia, serif !important; color: var(--inkt-2) !important; text-align: left; }
/* de stappen: een inhoudsopgave onderaan de linkerbladzijde */
html.boekmenu body .opzet .stappen { grid-column: 2; grid-row: 5; align-self: start; display: grid !important; gap: 0 !important; margin: 0 !important; padding: 0 !important; border: 0 !important; border-top: .08cqw solid rgba(155,36,24,.35) !important; max-width: none; }
html.boekmenu body .opzet .stappen button { width: auto !important; height: auto !important; min-width: 0 !important; text-align: left; padding: .7cqw 0 !important; background: none !important; filter: none !important;
  border: 0 !important; border-bottom: .08cqw solid rgba(155,36,24,.2) !important; font: 1.32cqw "IM Fell English", Georgia, serif !important; color: var(--inkt) !important; cursor: pointer; }
html.boekmenu body .opzet .stappen button span { display: inline-block; width: 2.4cqw; color: var(--inkt-2) !important; }
html.boekmenu body .opzet .stappen button.nu, html.boekmenu body .opzet .stappen button.nu span { color: var(--rood) !important; font-weight: 400 !important; }
html.boekmenu body .opzet .opzet-links { grid-column: 2; grid-row: 6; justify-content: flex-start !important; gap: 2cqw !important; margin: 0 !important; }
html.boekmenu body .opzet .opzet-links .hand-link { font: italic 1.02cqw "IM Fell English", Georgia, serif !important; color: var(--rood) !important; text-decoration: none; border-bottom: .08cqw solid rgba(155,36,24,.4); text-shadow: none !important; }
/* rechterbladzijde */
html.boekmenu body .opzet :is(.namen, .stap-blok) { grid-column: 4; grid-row: 2 / 6; align-self: start; width: auto !important; max-width: none !important; margin: 1.6cqw 0 0 !important; padding: 0 !important;
  max-height: 36cqw; background: none !important; border: 0 !important; border-image: none !important; box-shadow: none !important; }
html.boekmenu body .opzet .stap-blok:empty { display: none; }
html.boekmenu body .opzet .melding { grid-column: 4; grid-row: 5; align-self: end; font-size: 1.1cqw; color: var(--rood) !important; }
html.boekmenu body .opzet .naam-rij input { font: 1.45cqw "IM Fell English", Georgia, serif !important; color: var(--inkt) !important; border-bottom: .08cqw solid rgba(43,29,18,.3) !important; }
html.boekmenu body .opzet .naam-rij .nr { color: var(--inkt-2) !important; font: 1.1cqw "IM Fell English", Georgia, serif !important; }
html.boekmenu body .opzet :is(.stap-tekst, .stap-klein, .stap-tabel, .stap-tabel *, .stap-overzicht, .stap-overzicht *, .aftel-invoer, .aftel-invoer *, .stap-telefoon p) { color: var(--inkt) !important; text-shadow: none !important; font-family: "IM Fell English", Georgia, serif !important; }
html.boekmenu body .opzet :is(.stap-tabel th, .stap-overzicht dt, .stap-klein, .stap-telefoon .afstand-klein) { color: var(--inkt-2) !important; }
html.boekmenu body .opzet .stap-overzicht dt { color: var(--rood) !important; }
html.boekmenu body .opzet .stap-tabel tr + tr > * { border-top: .08cqw solid rgba(155,36,24,.2) !important; }
html.boekmenu body .opzet .stap-telefoon { grid-template-columns: 9cqw 1fr; }
html.boekmenu body .opzet .stap-telefoon .afstand-qr { width: 9cqw; aspect-ratio: 1; line-height: 0; }
/* knoppen: woorden in inkt; de hoofdknop in rood */
html.boekmenu body .opzet .knoppen { grid-column: 4; grid-row: 6; justify-content: flex-start; gap: 2.4cqw; margin: 0 !important; align-items: baseline; }
html.boekmenu body .opzet .knop { min-height: 0 !important; padding: 0 0 .1cqw !important; background: none !important; border: 0 !important; border-image: none !important; border-radius: 0 !important; filter: none !important; box-shadow: none !important;
  border-bottom: .08cqw solid rgba(43,29,18,.4) !important; font: italic 1.45cqw "IM Fell English", Georgia, serif !important; color: var(--inkt) !important; text-shadow: none !important; }
html.boekmenu body .opzet .knop.hoofd { color: var(--rood) !important; border-bottom-color: var(--rood) !important; font-size: 1.7cqw !important; }
html.boekmenu body .opzet .knop.hoofd::before { content: none !important; }
html.boekmenu body .opzet .stappen { justify-self: stretch; width: 100% !important; justify-items: stretch; } html.boekmenu body .opzet .stappen button { width: 100% !important; display: block; }
html.boekmenu body .opzet .stappen { justify-content: stretch !important; grid-template-columns: 1fr !important; }
/* rechterbladzijde: dezelfde twee maten als in Instellingen (tekst 1,32cqw, klein 1,02cqw) */
html.boekmenu body .opzet :is(.stap-blok, .stap-blok *) { font-size: 1.32cqw !important; line-height: 1.5 !important; }
html.boekmenu body .opzet :is(.stap-klein, .afstand-klein, .stap-overzicht dt, .stap-tabel th) { font-size: 1.02cqw !important; }
html.boekmenu body .opzet .stap-telefoon .afstand-groot { font-size: 1.32cqw !important; }
html.boekmenu body .opzet .tekst-link { color: var(--rood) !important; border-bottom: .08cqw solid rgba(155,36,24,.4); text-decoration: none; background: none; padding: 0; cursor: pointer; }

/* ---------- Hoe werkt het? als hoofdstuk (Daniel, 29 nov: echt alles moet in het boek) ---------- */
html.boekmenu .uitleg-boek { font: var(--m-tekst)/1.5 "IM Fell English", Georgia, serif; color: #2b1d12; }
html.boekmenu .uitleg-boek h2 { font: 400 var(--m-tekst)/1.3 "IM Fell English SC", Georgia, serif; letter-spacing: .06em; color: #9b2418; margin: 1.1em 0 .35em; break-after: avoid; }
html.boekmenu .uitleg-boek :is(p, li, td, th) { font-size: var(--m-tekst); margin: 0 0 .5em; }
html.boekmenu .uitleg-boek :is(ol, ul) { margin: 0 0 .6em; padding-left: 1.2em; }
html.boekmenu .uitleg-boek li { margin-bottom: .3em; }
html.boekmenu .uitleg-boek b { font-weight: 400; color: #9b2418; }
html.boekmenu .uitleg-boek table { border-collapse: collapse; margin: .3em 0 .8em; break-inside: avoid; }
html.boekmenu .uitleg-boek :is(td, th) { padding: .15em 1.4em .15em 0; text-align: left; font-weight: 400; border-bottom: 1px solid rgba(43,29,18,.2); }
html.boekmenu .uitleg-boek .ronde { margin: 0 0 .7em; padding-left: .8em; border-left: 2px solid rgba(155,36,24,.4); break-inside: avoid; }
html.boekmenu .uitleg-boek kbd { font: inherit; border-bottom: 1px solid rgba(43,29,18,.35); }

/* ---------- koppelvak van de telefoon: een los vel papier op het boek ---------- */
html.boekmenu .afstand-paneel { background: rgba(20,10,5,.6) !important; }
html.boekmenu .afstand-doos { background: url(img/boek/papier-rechts.webp) center / cover !important; border: 0 !important; color: #2b1d12 !important;
  box-shadow: 0 1.2rem 3rem rgba(0,0,0,.6) !important; font-family: "IM Fell English", Georgia, serif !important; padding: 2rem 2.2rem 1.6rem !important; }
html.boekmenu .afstand-doos :is(h2, h3) { color: #9b2418 !important; font-family: "IM Fell English SC", Georgia, serif !important; }
html.boekmenu .afstand-doos * { color: #2b1d12; text-shadow: none !important; }
html.boekmenu .afstand-doos button { background: none !important; border: 0 !important; border-bottom: 1px solid #9b2418 !important; border-radius: 0 !important; color: #9b2418 !important;
  font: italic 1.1rem "IM Fell English", Georgia, serif !important; letter-spacing: 0 !important; padding: .2em .3em !important; box-shadow: none !important; }
html.boekmenu .afstand-doos a { color: #9b2418 !important; }
html.boekmenu .afstand-doos { width: min(26rem, 92vw) !important; }
html.boekmenu .afstand-doos :is(canvas, img, svg) { width: 8.5rem !important; height: 8.5rem !important; }
html.boekmenu .afstand-doos code, html.boekmenu .afstand-doos .afstand-link { font: .85rem "IM Fell English", Georgia, serif !important; }
html.boekmenu .afstand-doos .afstand-qr { width: auto !important; background: transparent !important; border: 0 !important; box-shadow: none !important; padding: 0 !important; }

/* ---------- hoofdstukken als papieren bladwijzers (Daniel, 29 nov; zoals in Pentiment) ----------
   Logica van een echt boek: een strookje papier tussen de bladen, het steekt boven de bladzijden uit en de onderkant zit
   onder het papier (de strook wordt afgesneden op de bovenrand van de bladzijde). Hoofdstukken tot en met het huidige
   zitten links, latere rechts (klasse .na en .eerste-na, gezet door boek.js). Bladrand = 1,8cqw van de bovenkant van het boek. */
html.boekmenu body .boek-vak .inst-tabs { position: absolute; left: 0; right: 0; top: -3.3cqw; height: 2.5cqw; overflow: hidden;
  display: flex !important; gap: 0 !important; align-items: flex-start; padding: .35cqw .2cqw 0; transform: none; margin: 0 !important; }
html.boekmenu body .boek-vak .inst-tabs button {
  position: relative; flex: none; height: 3cqw; margin: .25cqw -.3cqw 0 0 !important; padding: .3cqw 1.2cqw 0 !important; box-sizing: border-box;
  background: url(img/boek/papier-rechts.webp) 30% 20% / 60cqw auto !important;
  border: 1px solid rgba(70,45,25,.5) !important; border-bottom: 0 !important; border-radius: .2cqw .35cqw 0 0 !important;
  box-shadow: .12cqw 0 .3cqw rgba(30,15,5,.4) !important; filter: brightness(.82) saturate(.95);
  font: var(--m-klein)/1.3 "IM Fell English", Georgia, serif !important; letter-spacing: 0 !important; text-transform: none !important;
  color: #2b1d12 !important; text-decoration: none !important; }
html.boekmenu body .boek-vak .inst-tabs button:nth-child(3n+1) { margin-top: .45cqw !important; }
html.boekmenu body .boek-vak .inst-tabs button:nth-child(3n+2) { margin-top: .15cqw !important; }
html.boekmenu body .boek-vak .inst-tabs button.na { margin: .3cqw 0 0 -.3cqw !important; }
html.boekmenu body .boek-vak .inst-tabs button.na.eerste-na { margin-left: auto !important; }
html.boekmenu body .boek-vak .inst-tabs { justify-content: flex-start !important; }
html.boekmenu body .boek-vak .inst-kop { justify-content: flex-end !important; }
html.boekmenu body .boek-vak .inst-tabs button:hover { filter: none; }
/* het huidige hoofdstuk sluit naadloos aan op de bladzijde: geen afsnijding, geen rand onderaan, zelfde papier */
html.boekmenu body .boek-vak .inst-tabs { overflow: visible !important; }
html.boekmenu body .boek-vak .inst-tabs button { height: 2.15cqw; }
/* alle bladwijzers houden dezelfde maat (Daniel: van grootte wisselen springt). Het huidige hoofdstuk krijgt alleen licht papier,
   een rood sterretje (dat bij de andere onzichtbaar wel ruimte houdt) en een aanhangsel dat naadloos in de bladzijde overloopt. */
html.boekmenu body .boek-vak .inst-tabs button::before { content: "\2731"; color: transparent; position: absolute; left: .4cqw; }
html.boekmenu body .boek-vak .inst-tabs button[aria-selected="true"] { z-index: 2; filter: none; overflow: visible; }
html.boekmenu body .boek-vak .inst-tabs button[aria-selected="true"]::before { color: #9b2418; }
html.boekmenu body .boek-vak .inst-tabs button[aria-selected="true"]::after { display: block !important; content: ""; position: absolute; left: -1px; right: -1px; top: calc(100% - 1px); height: 1.3cqw;
  background: inherit; border: 0; -webkit-mask: linear-gradient(#000 20%, transparent); mask: linear-gradient(#000 20%, transparent); pointer-events: none; }
html.boekmenu body .boek-vak .inst-tabs button:not([aria-selected="true"])::after { display: none !important; }

/* bladwijzers op het omslaande blad (boek.js wijzersMee): zelfde uiterlijk, vaste plek */
html.boekmenu body .boek-vak .boek-vel .inst-tabs.vel-tabs { position: absolute; inset: 0; top: 0; height: auto; padding: 0; overflow: visible !important; display: block !important;
  backface-visibility: hidden; -webkit-backface-visibility: hidden; pointer-events: none; }
html.boekmenu body .boek-vak .boek-vel .inst-tabs.vel-tabs[data-kant="achter"] { transform: rotateY(180deg); }
html.boekmenu body .boek-vak .boek-vel .inst-tabs.vel-tabs button { position: absolute; margin: 0 !important; }

/* ---------- het boek op het bureau van de Sint (Daniel, 29 nov) ----------
   Beeld img/boek/bureau-sint-rust.webp (1672x941) + handen die optillen bij het omslaan (boek.js, video/handen/).
   Het beeld is 180 graden gedraaid (Daniel: de handen komen van onder, je kijkt door de ogen van de Sint).
   Het boek-vak houdt zijn oude maten en wordt verkleind op de bladzijden gelegd: x = 196,5 + 0,7643 * oud, y = 55,1 + 0,7643 * oud
   (bladzijden op het bureau: x 266-1404, y 78-837). Die bladzijden zijn in verhouding hoger: kolommen, blad en voet lopen
   daarom 7,1cqw (119 px oud) verder door dan het vak zelf. */
html.boekmenu .boek-bureau { position: relative; width: min(100vw, 177.78vh); aspect-ratio: 16 / 9; flex: none; }   /* precies het podium: bladzijden vallen op die van het beginscherm */
html.boekmenu .boek-bureau { background: url(img/boek/bureau-sint-rust.webp) center / 100% 100% no-repeat; }
/* de handen: vier clipjes in een strook links en rechts (216 van 1916 px), alleen het clipje dat beweegt is zichtbaar */
html.boekmenu .bureau-handen { position: absolute; inset: 0; pointer-events: none; }
html.boekmenu .bureau-handen .hand { position: absolute; top: 0; height: 100%; width: 11.27%; object-fit: fill; opacity: 0; }
html.boekmenu .bureau-handen .hand.zicht { opacity: 1; }
html.boekmenu .bureau-handen .hand.links { left: 0; -webkit-mask: linear-gradient(to right, #000 92%, transparent); mask: linear-gradient(to right, #000 92%, transparent); }
html.boekmenu .bureau-handen .hand.rechts { right: 0; -webkit-mask: linear-gradient(to left, #000 92%, transparent); mask: linear-gradient(to left, #000 92%, transparent); }
html.boekmenu .boek-vak.op-bureau { position: absolute; left: 11.75%; top: 5.86%; width: 76.43%; background: none; filter: none; }
html.boekmenu body .boek-vak.op-bureau .inst-body { height: 51.7cqw; }
html.boekmenu .boek-vak.op-bureau .boek-vel { height: 105.55%; }
html.boekmenu .boek-vak.op-bureau .boek-vel .kopie { height: 51.7cqw; }
html.boekmenu .boek-vak.op-bureau .boek-vel .kant.pl { background-image: url(img/boek/papier-links-onder.webp); }
html.boekmenu .boek-vak.op-bureau .boek-vel .kant.pr { background-image: url(img/boek/papier-rechts-onder.webp); }
html.boekmenu .boek-vak.op-bureau .boek-voet { bottom: -4cqw; }
html.boekmenu body .boek-vak .inst-tabs button { padding-left: 1.6cqw !important; }
html.boekmenu body .boek-vak .inst-tabs button::before { left: .45cqw !important; }

/* beginscherm ook op het bureau (Sint; Daniel 29 nov). Zelfde rekensom als Instellingen: de oude bladzijde-opmaak verkleind
   (0,7643) op de bladzijden van het bureau gelegd, 7,1cqw (oude maat) hoger omdat die bladzijden in verhouding hoger zijn. */
html.boekmenu:not(.kerstboek) body .laag-ui.sluier:has(.opzet) { background: #1a0f0a url(img/boek/bureau-sint-rust.webp) center / 100% 100% no-repeat !important; }

html.boekmenu:not(.kerstboek) body .opzet { height: calc(100% + 7.1cqw); bottom: auto; transform: translate(11.75%, 5.86%) scale(.7643); transform-origin: 0 0; }

/* terug naar het spel: een duidelijke bladwijzer in de kleur van de kaft, als laatste rechts in de rij (Daniel: onduidelijk hoe je terugkomt) */
html.boekmenu body .boek-vak .inst-tabs { padding-right: 11.5cqw !important; }
html.boekmenu body .boek-vak .inst-terug { position: absolute !important; right: 0; top: -2.75cqw; height: 2.15cqw !important; min-height: 0 !important; box-sizing: border-box; margin: 0 !important;
  padding: .32cqw 1.3cqw 0 !important; border: 1px solid #4a0f0a !important; border-bottom: 0 !important; border-radius: .2cqw .35cqw 0 0 !important;
  background: linear-gradient(#a3281c, #7d1a12) !important; color: #f6e8c8 !important; box-shadow: .12cqw 0 .3cqw rgba(30,15,5,.45) !important;
  font: var(--m-klein)/1.3 "IM Fell English", Georgia, serif !important; font-style: normal !important; letter-spacing: 0 !important; cursor: pointer; z-index: 3; }
html.boekmenu body .boek-vak .inst-terug:hover { background: linear-gradient(#b8301f, #8e2015) !important; }

/* Kerst: het boek-vak vult het bureau-vlak (zelfde plek als het beginscherm), nog zonder bureau */
html.boekmenu .boek-bureau.zonder { background: none; }
html.boekmenu .boek-vak.vol { position: absolute; left: 0; top: 0; width: 100%; }
html.boekmenu .boek-vak.sluit .inst-kop, html.boekmenu .boek-vak.sluit .boek-voet { visibility: hidden; }
/* omslaan tussen schermen (boek.js omslaanScherm) */
html.boekmenu .scherm-blad { position: absolute; inset: 0; z-index: 40; pointer-events: none; }
html.boekmenu .scherm-blad-kant { position: absolute; overflow: hidden; background-size: 100% 100%; backface-visibility: hidden; -webkit-backface-visibility: hidden; }
html.boekmenu .scherm-blad-vel { position: absolute; inset: 0; transform-style: preserve-3d; }
html.boekmenu .scherm-hul { position: absolute !important; margin: 0 !important; padding: 0 !important; container-type: inline-size; transition: none !important; opacity: 1 !important; transform: none !important; pointer-events: none; }

/* =====================================================================
   HET LEESBOEK (de Sint leest een opdracht voor) in hetzelfde boek (Daniel, 29 nov: het nieuwe boek door het hele spel).
   Sint: het bureau met de handen, de camera zoomt uit de video in dat boek. Kerst: het groene boek. Zelfde letter en inkt
   als Instellingen; lint, gouden kaders en sierhoeken van het oude code-boek vallen weg. De tekstopbouw (index.html) blijft.
   Bladzijden in procenten van het podium: bureau x 15,9-49,8 / 50,1-84,0, y 8,3-88,9; groen boek x 5,44-49,64 / 50,24-94,5, y 3,19-96,1.
   ===================================================================== */
html.boekmenu .boek { background: #120a06 !important; }
html.boekmenu .boek .duw { background: url(img/boek/bureau-sint-rust.webp) center / 100% 100% no-repeat; }
html.boekmenu.kerstboek .boek .duw { background-image: url(img/boek/open-boek-groen.webp); }
html.boekmenu .boek .band { left: 0; right: 0; top: 0; bottom: 0; background: none; box-shadow: none; border-radius: 0; transform: none !important; }
html.boekmenu .boek :is(.stapel, .kader, .lint, .krul) { display: none; }
html.boekmenu .boek .blad { background: none; box-shadow: none; border-radius: 0 !important; top: 8.3%; bottom: 11.1%; width: 33.9%; }
html.boekmenu .boek .blad::before { display: none; }
html.boekmenu .boek .blad.links { left: 15.9%; } html.boekmenu .boek .blad.rechts { right: 16%; left: auto; }
html.boekmenu.kerstboek .boek .blad { top: 3.19%; bottom: 3.9%; width: 44.2%; }
html.boekmenu.kerstboek .boek .blad.links { left: 5.44%; } html.boekmenu.kerstboek .boek .blad.rechts { right: 5.5%; }
html.boekmenu .boek .inhoud { font-family: "IM Fell English", Georgia, serif !important; color: #2b1d12 !important; text-shadow: none !important; }
html.boekmenu .boek .kop { font-family: "IM Fell English SC", Georgia, serif !important; color: #9b2418 !important; letter-spacing: .04em; }
html.boekmenu .boek .sier { color: rgba(155,36,24,.5) !important; }
html.boekmenu .boek .wie { color: rgba(43,29,18,.72) !important; }
html.boekmenu .boek .foto { border-color: #f4ead2; background: #f4ead2; }

/* ---------- onder het voorlezen: beloning en Volgende staan óp de rechterbladzijde, in inkt (Daniel: niets digitaals meer) ----------
   De tekst op de rechterbladzijde houdt onderaan ruimte vrij (pasIn() in index.html past de letter in het kleinere vak). */
html.boekmenu .boek .blad.rechts .inhoud { inset: 9% 11% 30% 11%; }
html.boekmenu .boek.zichtbaar .duw { animation: none; }   /* niet meer langzaam inzoomen: de inkt eronder moet op de bladzijde blijven */
html.boekmenu body .laag-ui.verder-boek { left: 50.1%; width: 33.9%; right: auto; bottom: calc(11.1% + 2.6cqw); top: auto; padding: 0 2.4cqw; box-sizing: border-box;
  display: flex; flex-wrap: wrap; justify-content: center; align-items: baseline; gap: .9cqw 1.6cqw; text-align: center;
  background: none !important; border: 0 !important; box-shadow: none !important; }
html.boekmenu.kerstboek body .laag-ui.verder-boek { left: 50.24%; width: 44.2%; bottom: calc(3.9% + 3cqw); padding: 0 4cqw; }
html.boekmenu body .verder-boek :is(.vraag-uitslag, .vraag-label) { flex: 1 1 100%; max-width: none; margin: 0; background: none !important; border: 0 !important; box-shadow: none !important; padding: 0 !important;
  font: italic 1.55cqw/1.45 "IM Fell English", Georgia, serif !important; color: #2b1d12 !important; text-shadow: none !important; }
html.boekmenu body .verder-boek .vraag-uitslag b { font: 1.35cqw "IM Fell English SC", Georgia, serif !important; font-style: normal !important; color: #9b2418 !important; letter-spacing: .04em; }
html.boekmenu body .verder-boek .knop { min-height: 0 !important; min-width: 0 !important; height: auto !important; padding: 0 0 .1cqw !important; margin: 0 !important;
  background: none !important; border: 0 !important; border-image: none !important; border-radius: 0 !important; box-shadow: none !important; filter: none !important; text-shadow: none !important;
  border-bottom: .1cqw solid rgba(155,36,24,.45) !important; color: #9b2418 !important; font: italic 1.9cqw "IM Fell English", Georgia, serif !important; letter-spacing: 0 !important; text-transform: none !important; cursor: pointer; }
html.boekmenu body .verder-boek .knop:hover { color: #6e140c !important; border-bottom-color: #6e140c !important; }
html.boekmenu body .verder-boek .knop.stil { color: rgba(43,29,18,.62) !important; border-bottom-color: rgba(43,29,18,.3) !important; font-size: 1.4cqw !important; }
html.boekmenu body .verder-boek .knop.antwoord { color: var(--inkt) !important; border-bottom-color: var(--inkt) !important; font: 2.2cqw "IM Fell English SC", Georgia, serif !important; min-width: 2.4cqw !important; }
html.boekmenu body .verder-boek .knop::before, html.boekmenu body .verder-boek .knop::after { content: none !important; }
html.boekmenu body .verder-boek .timer { flex: 0 0 auto; font: 2.6cqw "IM Fell English SC", Georgia, serif !important; color: #9b2418 !important; min-width: 0; }
html.boekmenu body .verder-boek .timer.loopt { color: #2b1d12 !important; }

/* =====================================================================
   HOOFDSCHERM ZONDER DIGITALE VLAKKEN (Daniel, 29 nov, optie 1): tekst staat in de scène, in kalligrafie met kaarslicht,
   zonder vak of rand. Knoppen zijn woorden met een dunne gouden onderstreping. Het menu bovenin is een klein boekje dat het
   Grote Boek opent (hoofdstuk 'Het spel'). Waarschuwingen zijn een los vel papier.
   ===================================================================== */
html.boekmenu body .regie { background: none !important; border: 0 !important; padding: 0 !important; left: auto !important; right: 1.6cqw !important; top: 1.2cqw !important; }
html.boekmenu body .regie > div:first-child, html.boekmenu body .regie .rechts > :not(.boekje) { display: none !important; }
html.boekmenu body .regie .boekje { width: 4.6cqw; aspect-ratio: 1; padding: 0; border: 0; cursor: pointer; background: url(img/boek/ganzenveer.webp) center / contain no-repeat;   /* ganzenveer (Daniel, 29 nov; ChatGPT, assets/koper-menu/ganzenveer-v1.png) */
  filter: drop-shadow(0 .3cqw .6cqw rgba(0,0,0,.8)) brightness(.92); transition: filter .25s, transform .25s; }
html.boekmenu body .regie .boekje:hover { filter: drop-shadow(0 .3cqw .8cqw rgba(0,0,0,.8)) drop-shadow(0 0 .8cqw rgba(226,191,98,.45)) brightness(1.05); transform: rotate(-6deg) scale(1.06); }

/* de onderbalk: geen donker vlak meer, alleen een zachte schaduw op tafel */
html.boekmenu body .laag-ui.balk { background: radial-gradient(ellipse 55% 85% at 50% 100%, rgba(8,2,1,.72), rgba(8,2,1,.35) 55%, transparent 80%) !important; }
html.boekmenu body .laag-ui:is(.balk, .label-boven) :is(.wie, .actie, .som, .getal), html.boekmenu body .laag-ui.label-boven {
  font-family: "IM Fell English", Georgia, serif !important; color: #f3e2b4 !important; text-shadow: 0 0 .25cqw #000, 0 0 1.4cqw rgba(0,0,0,.85), 0 0 2.6cqw rgba(255,170,80,.18) !important; }
html.boekmenu body .laag-ui.balk .wie, html.boekmenu body .laag-ui.label-boven { font-family: "IM Fell English SC", Georgia, serif !important; color: #ecc970 !important; letter-spacing: .04em; }
html.boekmenu body .laag-ui.balk .actie { font-style: italic; }
html.boekmenu body .laag-ui.label-boven small { font-family: "IM Fell English", Georgia, serif !important; color: #eedfb8 !important; }
/* knoppen op het hoofdscherm: woorden, geen vakjes */
html.boekmenu body .laag-ui:is(.balk, .sluier:not(:has(.opzet))) .knop {
  min-height: 0 !important; height: auto !important; padding: 0 0 .15cqw !important; background: none !important; border: 0 !important; border-image: none !important; border-radius: 0 !important;
  box-shadow: none !important; filter: none !important; border-bottom: .1cqw solid rgba(236,201,112,.55) !important;
  font: 2.3cqw "IM Fell English SC", Georgia, serif !important; letter-spacing: .05em !important; text-transform: none !important; color: #ecc970 !important;
  text-shadow: 0 0 .25cqw #000, 0 0 1.4cqw rgba(0,0,0,.85) !important; cursor: pointer; transition: color .25s, border-color .25s, text-shadow .25s; }
html.boekmenu body .laag-ui:is(.balk, .sluier:not(:has(.opzet))) .knop:hover, html.boekmenu body .laag-ui:is(.balk, .sluier:not(:has(.opzet))) .knop:focus-visible {
  color: #fff1c8 !important; border-bottom-color: #fff1c8 !important; text-shadow: 0 0 .25cqw #000, 0 0 1.2cqw rgba(255,200,120,.55) !important; outline: none; }
html.boekmenu body .laag-ui:is(.balk, .sluier:not(:has(.opzet))) .knop.stil { font-size: 1.7cqw !important; color: rgba(243,226,180,.75) !important; border-bottom-color: rgba(243,226,180,.3) !important; }
html.boekmenu body .laag-ui:is(.balk, .sluier:not(:has(.opzet))) .knop::before { content: none !important; }
/* klok, worplijst en de geluidsmelding: tekst in de scène */
html.boekmenu body .klok { font-family: "IM Fell English", Georgia, serif !important; color: #ecc970; text-shadow: 0 0 .25cqw #000, 0 0 1.4cqw rgba(0,0,0,.85); }
html.boekmenu body .worplijst { background: radial-gradient(ellipse at 50% 50%, rgba(12,4,2,.55), transparent 72%) !important; }
html.boekmenu body .klik-melding { background: none !important; border: 0 !important; box-shadow: none !important; font: italic 1.05rem "IM Fell English", Georgia, serif !important; color: #eedfb8 !important;
  text-shadow: 0 0 .2rem #000, 0 0 .9rem rgba(0,0,0,.9) !important; }
/* waarschuwing (naar de volgende ronde): een los vel papier */
html.boekmenu body .waarschuw .doos { background: url(img/boek/papier-rechts-onder.webp) center / cover !important; border: 0 !important; box-shadow: 0 1.5cqw 4cqw rgba(0,0,0,.7) !important; color: #2b1d12 !important; }
html.boekmenu.kerstboek body .waarschuw .doos { background-image: url(img/boek/papier-rechts.webp) !important; }
html.boekmenu body .waarschuw h2 { color: #9b2418 !important; }
html.boekmenu body .waarschuw p { color: #2b1d12 !important; font-family: "IM Fell English", Georgia, serif !important; }
html.boekmenu body .waarschuw .knop { background: none !important; border: 0 !important; border-image: none !important; border-bottom: .1cqw solid rgba(155,36,24,.5) !important; padding: 0 0 .1cqw !important; min-height: 0 !important;
  font: italic 1.9cqw "IM Fell English", Georgia, serif !important; color: #9b2418 !important; letter-spacing: 0 !important; box-shadow: none !important; text-shadow: none !important; }
html.boekmenu body .waarschuw .knop.stil { color: rgba(43,29,18,.65) !important; border-bottom-color: rgba(43,29,18,.3) !important; }
/* het hoofdstuk 'Het spel' in het boek */
html.boekmenu .spel-hoofdstuk .spel-volume input { accent-color: #9b2418; width: 60%; }
/* ronde-intro en andere kaarten in de scène: boekletter met kaarslicht in plaats van de strakke letter van het koperen menu */
html.boekmenu body .laag-ui.sluier:not(:has(.opzet)) .kaart { background: none !important; border: 0 !important; box-shadow: none !important; border-image: none !important; }
html.boekmenu body .laag-ui.sluier:not(:has(.opzet)) .kaart :is(.boventitel, .titel, .uitleg, .stap-klein, p, div) {
  font-family: "IM Fell English", Georgia, serif !important; color: #f3e2b4 !important; text-shadow: 0 0 .25cqw #000, 0 0 1.4cqw rgba(0,0,0,.85) !important; }
html.boekmenu body .laag-ui.sluier:not(:has(.opzet)) .kaart :is(.boventitel, .titel) { font-family: "IM Fell English SC", Georgia, serif !important; color: #ecc970 !important; }
html.boekmenu body .laag-ui.sluier:not(:has(.opzet)) .kaart .titel { font-size: 4.6cqw !important; letter-spacing: .03em; }
html.boekmenu body .laag-ui.sluier:not(:has(.opzet)) .kaart .uitleg { font-style: italic; font-size: 1.9cqw !important; line-height: 1.45; }
html.boekmenu body .boek-vak .inst-body button.tekst-link { background: none !important; border: 0 !important; border-bottom: .08cqw solid rgba(155,36,24,.45) !important; border-radius: 0 !important; padding: 0 !important; box-shadow: none !important;
  font: italic var(--m-tekst) "IM Fell English", Georgia, serif !important; color: #9b2418 !important; cursor: pointer; }
html.boekmenu body .boek-vak .inst-body button.tekst-link:hover { color: #6e140c !important; border-bottom-color: #6e140c !important; }
html.boekmenu .spel-hoofdstuk .spel-volume { display: flex; align-items: center; gap: 1cqw; }
html.boekmenu .spel-hoofdstuk .spel-volume input { -webkit-appearance: none; appearance: none; height: .08cqw; background: rgba(43,29,18,.45); border: 0 !important; padding: 0 !important; }
html.boekmenu .spel-hoofdstuk .spel-volume input::-webkit-slider-thumb { -webkit-appearance: none; width: 1cqw; height: 1cqw; border-radius: 50%; background: #9b2418; cursor: pointer; }
html.boekmenu .spel-hoofdstuk .spel-volume input::-moz-range-thumb { width: 1cqw; height: 1cqw; border: 0; border-radius: 50%; background: #9b2418; }
/* de veer ligt altijd zacht in beeld (tijdens een spel), helder als je de muis erheen beweegt */
html.boekmenu body .regie:not(:empty) { opacity: .7; pointer-events: auto; }
html.boekmenu body .regie:not(:empty).zicht, html.boekmenu body .regie:not(:empty):hover { opacity: 1; }
/* de stenen blijven na de worp liggen (links): de uitslag staat dan in de rechterhelft, niet over de stenen */
html.boekmenu body .podium.gooit .laag-ui.balk { left: var(--steen-breedte, 48%); padding-left: 3cqw; padding-right: 4cqw; }

/* ---------- Even niet kijken (30 nov): het geheim staat groot in beeld voor de tafel, zonder stem, tot iemand op Gelezen drukt ---------- */
body .laag-ui.geheim-laag { inset: 0; display: flex; align-items: center; justify-content: center; z-index: 30;
  background: radial-gradient(ellipse at center, rgba(26,12,6,.9), rgba(8,2,1,.97)); }
.geheim-laag .geheim-paneel { width: min(72cqw, 1100px); text-align: center; padding: 3.4cqw 4.4cqw 3cqw;
  background: #efe0bd; color: #2b1d12; box-shadow: 0 2cqw 6cqw rgba(0,0,0,.6), inset 0 0 4cqw rgba(120,80,30,.25); }
.geheim-laag .geheim-kop { font: 1.6cqw "IM Fell English SC", Georgia, serif; letter-spacing: .14em; color: #9b2418; margin-bottom: 1.4cqw; }
.geheim-laag .geheim-tekst { font: 2.9cqw/1.38 "IM Fell English", Georgia, serif; }
.geheim-laag .knoppen { margin-top: 2.4cqw; }
.geheim-laag .knop.hoofd { font-size: 2cqw; }
