/* IQRA · De Bibliotheek — zwart, goud en wit (ToJ-huisstijl), met groen voor de Koran en blauw voor de Thora. */
:root { --bg: #141414; --gold: #e7c707; --gold2: #c7a707; --ink: #fff; --mute: #b9b2a2; --k: #1f9d6b; --kd: #0c3b2a; --t: #3d7be0; --td: #11264d; --col: min(100vw, 62vh, 520px); }
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; height: 100%; background: var(--bg); color: var(--ink); font-family: Nunito, "Segoe UI", system-ui, sans-serif; overflow: hidden; overscroll-behavior: none; user-select: none; -webkit-user-select: none; touch-action: none; }
#gl { position: fixed; inset: 0; width: 100%; height: 100%; display: block; }
#veil { position: fixed; inset: 0; background: #f6ebcd; opacity: 0; pointer-events: none; transition: opacity .45s; z-index: 5; }
#veil.on { opacity: 1; }
h1, h2 { font-family: Cinzel, Georgia, serif; margin: 0; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
.kc { color: #4fd6a0; font-weight: 900; } .tc { color: #7fb0ff; font-weight: 900; }

.screen { position: fixed; inset: 0; display: none; flex-direction: column; align-items: center; z-index: 10; padding: max(12px, env(safe-area-inset-top)) 14px max(14px, env(safe-area-inset-bottom)); pointer-events: none; }
.screen.on { display: flex; animation: fade .35s ease; }
.screen > * { pointer-events: auto; width: 100%; max-width: 480px; }
.screen.dim { background: radial-gradient(ellipse at center, rgba(10,7,16,.8), rgba(10,7,16,.95)); pointer-events: auto; }
.screen.solid { background: #141414; pointer-events: auto; }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }

.logo { display: flex; flex-direction: column; align-items: center; text-align: center; margin-top: 12vh; text-shadow: 0 4px 30px rgba(0,0,0,.9); }
.logo .ik { font: 900 clamp(46px, 19vw, 72px)/1 Cinzel, serif; color: var(--gold); letter-spacing: .08em; background: linear-gradient(180deg, #fff3a0, #e7c707 45%, #a07f00); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 4px 18px rgba(231,199,7,.35)); }
.logo .sub { font: 700 clamp(13px, 4.8vw, 19px) Cinzel, serif; letter-spacing: .3em; white-space: nowrap; margin-top: 6px; color: #fff; }
.logo .tag { margin-top: 22px; font-weight: 800; font-size: 17px; line-height: 1.45; color: #f3ead2; }
.logo.big { margin-top: 13vh; }
#loading { justify-content: center; background: #0a0710; pointer-events: auto; } #loading .logo { margin: 0 0 18px; }
.small { font-size: 12.5px; color: var(--mute); text-align: center; }
.foot { margin-top: 14px; font-size: 12.5px; color: var(--mute); text-align: center; text-shadow: 0 2px 8px #000; }
.menu { margin-top: auto; display: flex; flex-direction: column; gap: 10px; }
#title .menu { margin-bottom: 4px; }

.btn { display: block; width: 100%; text-align: center; text-decoration: none; padding: 14px 16px; border-radius: 16px; font-weight: 900; font-size: 16px; letter-spacing: .02em; transition: transform .08s; }
.btn:active { transform: scale(.97); }
.btn.gold { background: linear-gradient(180deg, #f6dc3a, #c7a707); color: #141414; box-shadow: 0 6px 0 #7d6800, 0 12px 28px rgba(231,199,7,.28); }
.btn.gold:active { box-shadow: 0 2px 0 #7d6800; transform: translateY(4px); }
.btn.xl { font-size: 21px; padding: 18px; letter-spacing: .12em; font-family: Cinzel, serif; }
.btn.ghost { background: rgba(20,20,20,.72); color: #fff; border: 1.5px solid rgba(231,199,7,.5); backdrop-filter: blur(6px); }
.icon { width: 44px; height: 44px; border-radius: 50%; background: rgba(20,20,20,.72); border: 1.5px solid rgba(231,199,7,.5); font-size: 20px; font-weight: 900; display: grid; place-items: center; flex: none; backdrop-filter: blur(6px); }
.icon.small { width: 34px; height: 34px; font-size: 14px; } .icon.off { opacity: .45; } .icon:disabled { opacity: .25; }
.topbar { display: flex; gap: 8px; align-items: center; } .topbar.right { justify-content: flex-end; } .grow { flex: 1; }
.pill { background: rgba(20,20,20,.72); border: 1.5px solid rgba(231,199,7,.5); border-radius: 22px; padding: 9px 13px; font-weight: 800; font-size: 14px; backdrop-filter: blur(6px); } .pill b { color: var(--gold); }
.pill.bump { animation: bump .6s; } @keyframes bump { 30% { transform: scale(1.35); background: var(--gold); color: #141414; } }

/* verhaal */
#story { justify-content: center; }
.storybox { text-align: center; padding: 10px 8px; }
#story-text { font-size: 23px; line-height: 1.45; font-weight: 800; min-height: 6.2em; margin: 0; text-shadow: 0 2px 16px #000; } #story-text b { color: var(--gold); }
.hint { display: block; margin-top: 22px; font-size: 12.5px; color: var(--mute); animation: pulse 1.6s infinite; } @keyframes pulse { 50% { opacity: .35; } }

/* de hal */
#toast { margin-top: 14px; text-align: center; font-weight: 900; font-size: 15px; color: #141414; background: var(--gold); border-radius: 14px; padding: 10px 14px; opacity: 0; transform: translateY(-8px); transition: .35s; width: auto; max-width: 420px; pointer-events: none; } #toast.on { opacity: 1; transform: none; }
.plate { margin-top: auto; background: linear-gradient(180deg, rgba(20,20,20,.82), rgba(12,10,8,.95)); border: 1.5px solid rgba(231,199,7,.45); border-radius: 22px; padding: 12px; backdrop-filter: blur(8px); box-shadow: 0 -10px 40px rgba(0,0,0,.5); }
.nav { display: flex; align-items: center; gap: 8px; } .where { flex: 1; text-align: center; min-width: 0; }
.where small { display: block; font-size: 10.5px; letter-spacing: .14em; color: var(--gold); font-weight: 900; } .where h2 { font-size: 24px; line-height: 1.15; } #p-bron { color: var(--mute); letter-spacing: 0; font-weight: 600; font-size: 11px; margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#p-body { margin-top: 10px; display: flex; flex-direction: column; gap: 8px; }
.gcard { display: flex; align-items: center; gap: 12px; width: 100%; text-align: left; padding: 11px 12px; border-radius: 16px; background: linear-gradient(180deg, #f6dc3a, #c7a707); color: #141414; box-shadow: 0 5px 0 #7d6800; }
.gcard:active { transform: translateY(3px); box-shadow: 0 2px 0 #7d6800; }
.gcard .gi { font-size: 30px; width: 46px; height: 46px; display: grid; place-items: center; background: rgba(20,20,20,.9); border-radius: 12px; flex: none; }
.gcard b { display: block; font-size: 16.5px; line-height: 1.15; } .gcard small { display: block; font-size: 12px; font-weight: 700; opacity: .8; line-height: 1.25; margin-top: 2px; }
.gcard > span:nth-child(2) { flex: 1; min-width: 0; }
.gcard .gs { font-size: 11.5px; letter-spacing: .06em; font-weight: 900; white-space: nowrap; }
.gcard.done .gs { font-size: 15px; }
.gcard.done { background: rgba(255,255,255,.08); color: #fff; box-shadow: none; border: 1.5px solid rgba(231,199,7,.45); } .gcard.done .gs { color: var(--gold); }
.locked { text-align: center; color: var(--mute); font-weight: 700; font-size: 14px; padding: 10px 6px; line-height: 1.4; }

/* minigame */
#mg { background: #0e0b08; pointer-events: auto; padding: 0; }
.mgwrap { width: var(--col); max-width: none; height: 100%; display: flex; flex-direction: column; padding: max(8px, env(safe-area-inset-top)) 8px max(8px, env(safe-area-inset-bottom)); }
.mghud { display: flex; align-items: center; gap: 10px; padding: 2px 2px 8px; }
.badge { font: 900 13px Cinzel, serif; letter-spacing: .14em; padding: 8px 12px; border-radius: 12px; background: var(--k); color: #fff; min-width: 86px; text-align: center; } .badge.t { background: var(--t); }
.timer { flex: 1; height: 12px; border-radius: 6px; background: rgba(255,255,255,.14); overflow: hidden; } .timer i { display: block; height: 100%; width: 100%; background: linear-gradient(90deg, #f6dc3a, #c7a707); border-radius: 6px; transform-origin: left; } .timer.low i { background: #ff6a5a; }
.mgstage { position: relative; flex: 1; min-height: 0; border-radius: 16px; overflow: hidden; background: #f3e6c4; }
#cv { position: absolute; inset: 0; width: 100%; height: 100%; display: block; touch-action: none; }
.card { position: absolute; inset: 0; display: none; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 22px 20px; gap: 6px; }
.card.on { display: flex; animation: pagein .45s ease; } @keyframes pagein { from { opacity: 0; transform: perspective(900px) rotateY(-35deg); transform-origin: left; } to { opacity: 1; transform: none; } }
.card.round { background: linear-gradient(180deg, #f8efd6, #e6d3a3); color: #2a1c0c; border: 6px solid var(--k); border-radius: 16px; }
.card.round.t { border-color: var(--t); }
.kicker { font-size: 11.5px; letter-spacing: .2em; font-weight: 900; color: var(--gold2); margin: 0; }
.round .kicker { color: #8a6a14; } .bookicon { font-size: 62px; line-height: 1.1; filter: drop-shadow(0 6px 10px rgba(0,0,0,.25)); }
.round h2 { font-size: 23px; color: var(--kd); } .round.t h2 { color: var(--td); }
.tell { font-size: 18px; line-height: 1.4; font-weight: 800; margin: 8px 0 0; } .ref { font-size: 12.5px; font-weight: 800; color: #8a6a14; margin: 2px 0 10px; }
.how { display: flex; gap: 10px; align-items: center; text-align: left; background: rgba(42,28,12,.09); border-radius: 14px; padding: 10px 12px; margin-bottom: 14px; } .how span { font-size: 26px; } .how p { margin: 0; font-size: 14.5px; font-weight: 800; line-height: 1.35; }
.round .btn { max-width: 240px; }

.card.recap { background: linear-gradient(180deg, #14553c, #0c3b2a); color: #fff; border: 6px solid var(--k); border-radius: 16px; }
.recap .kicker { color: #9fe8c6; } .recap h2 { font-size: 24px; color: #fff3a0; } .recap .lead { margin: 6px 0 0; font-size: 15px; font-weight: 800; color: #cfeede; }
.recap .tell { background: rgba(255,255,255,.1); border-left: 4px solid var(--gold); border-radius: 0 12px 12px 0; padding: 12px 14px; text-align: left; margin-top: 8px; } .recap .ref { color: #e7dcae; }
.recap .next { font-size: 14.5px; font-weight: 800; line-height: 1.4; margin: 4px 0 14px; max-width: 300px; color: #f3ead2; } .recap .btn { max-width: 280px; }
.card.know { background: radial-gradient(ellipse at 50% 35%, #2a2114, #0e0b08); gap: 10px; }
.rows { width: 100%; max-width: 300px; display: flex; flex-direction: column; gap: 6px; } .row { display: flex; justify-content: space-between; padding: 9px 14px; border-radius: 12px; font-weight: 800; font-size: 14.5px; background: rgba(31,157,107,.22); border: 1px solid var(--k); } .row.t { background: rgba(61,123,224,.22); border-color: var(--t); }
.lantern { display: flex; flex-direction: column; align-items: center; gap: 4px; margin: 6px 0; } .lantern small { letter-spacing: .2em; font-weight: 900; font-size: 11px; color: var(--gold); text-transform: uppercase; }
.glass { position: relative; width: 132px; height: 132px; border-radius: 50%; border: 5px solid var(--gold2); overflow: hidden; background: #0a0806; box-shadow: 0 0 0 4px rgba(231,199,7,.15), 0 0 40px rgba(231,199,7,.15); display: grid; place-items: center; }
.glass i { position: absolute; left: 0; right: 0; bottom: 0; height: 0%; background: linear-gradient(180deg, #fff3a0, #e7c707 40%, #b08900); transition: height .08s linear; } .glass span { position: relative; font: 900 30px Cinzel, serif; text-shadow: 0 2px 6px rgba(0,0,0,.6); }
.glass.full { animation: glow 1s infinite alternate; } @keyframes glow { to { box-shadow: 0 0 0 6px rgba(231,199,7,.4), 0 0 70px rgba(255,230,120,.85); } }
.msg { font-size: 16px; font-weight: 800; line-height: 1.4; margin: 0; max-width: 320px; min-height: 2.8em; } .msg small { display: block; color: var(--mute); font-weight: 700; font-size: 13px; margin-top: 6px; }
.acts { display: flex; flex-direction: column; gap: 9px; width: 100%; max-width: 300px; } .acts .btn { padding: 12px; }

/* eureka */
#eureka { background: #050408; pointer-events: auto; justify-content: center; overflow: hidden; z-index: 30; }
.rays { position: absolute; left: 50%; top: 42%; width: 220vmax; height: 220vmax; max-width: none; margin: -110vmax 0 0 -110vmax; background: repeating-conic-gradient(from 0deg, rgba(255,225,120,.2) 0 8deg, transparent 8deg 20deg); opacity: 0; animation: spin 40s linear infinite; pointer-events: none; -webkit-mask-image: radial-gradient(circle, #000 0, transparent 60%); mask-image: radial-gradient(circle, #000 0, transparent 60%); }
@keyframes spin { to { transform: rotate(360deg); } }
.euwrap { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px; }
.wait { font: 700 26px Cinzel, serif; color: #f3ead2; margin: 0; position: absolute; top: 40%; left: 0; right: 0; animation: beat .84s infinite; } @keyframes beat { 0%, 30% { transform: scale(1); } 12% { transform: scale(1.09); } 22% { transform: scale(1.04); } }
.found { font: 900 13px Cinzel, serif; letter-spacing: .5em; color: var(--gold); margin: 0; opacity: 0; }
.sides { display: flex; align-items: stretch; gap: 0; width: 100%; position: relative; }
.side { flex: 1; min-width: 0; padding: 14px 10px 12px; border-radius: 16px; opacity: 0; display: flex; flex-direction: column; align-items: center; gap: 4px; }
.side.k { background: linear-gradient(180deg, #14553c, #0c3b2a); border: 2px solid var(--k); transform: translateX(-70vw) rotate(-8deg); margin-right: 6px; }
.side.t { background: linear-gradient(180deg, #1c3f7c, #11264d); border: 2px solid var(--t); transform: translateX(70vw) rotate(8deg); margin-left: 6px; }
.tagb { font: 900 11px Cinzel, serif; letter-spacing: .22em; opacity: .85; } .big { font-size: 34px; line-height: 1.2; min-height: 44px; white-space: nowrap; padding: 0 22px; }
.word { font: 900 17px Cinzel, serif; color: #fff3a0; line-height: 1.15; } .side p { font-size: 13px; line-height: 1.38; margin: 4px 0; font-weight: 700; } .side small { font-size: 10.5px; color: #e7dcae; font-weight: 800; margin-top: auto; }
.neq { position: absolute; left: 50%; top: 64px; width: 52px; height: 52px; margin: -26px 0 0 -26px; border-radius: 50%; background: var(--gold); color: #141414; font: 900 34px/52px Cinzel, serif; z-index: 2; transform: scale(0); box-shadow: 0 0 0 5px #050408, 0 0 40px rgba(255,230,120,.9); }
#e-q { font-size: 25px; line-height: 1.2; color: #fff3a0; opacity: 0; margin-top: 6px; text-shadow: 0 0 30px rgba(255,220,100,.5); }
.aha { font-size: 14.5px; line-height: 1.45; font-weight: 700; margin: 0; opacity: 0; color: #f3ead2; }
.keypiece { display: flex; align-items: center; gap: 8px; background: rgba(231,199,7,.14); border: 1.5px solid var(--gold); border-radius: 30px; padding: 7px 16px; font-size: 14px; opacity: 0; width: auto; } .keypiece span { font-size: 20px; }
#e-ok, .check { opacity: 0; } .check { font-size: 12px; color: var(--mute); margin: 0; }
#eureka.s1 .wait { display: none; } #eureka.s1 .side.k, #eureka.s2 .side.t { opacity: 1; transform: none; transition: transform .55s cubic-bezier(.2,1.3,.4,1), opacity .3s; }
#eureka.s3 .neq { transform: scale(1); transition: transform .45s cubic-bezier(.2,2,.4,1); } #eureka.s3 .rays { opacity: 1; transition: opacity 1s; } #eureka.s3 .found, #eureka.s3 #e-q { opacity: 1; transition: opacity .5s; } #eureka.s3 #e-q { animation: zoomin .6s cubic-bezier(.2,1.6,.4,1); } #eureka.s3 .euwrap { animation: shake .5s; }
@keyframes zoomin { from { transform: scale(.3); } } @keyframes shake { 20% { transform: translate(-7px, 4px); } 40% { transform: translate(6px, -5px); } 60% { transform: translate(-4px, 3px); } 80% { transform: translate(3px, -2px); } }
#eureka.s4 .aha { opacity: 1; transition: opacity .7s; } #eureka.s5 .keypiece, #eureka.s5 #e-ok, #eureka.s5 .check { opacity: 1; transition: opacity .5s; } #eureka.s5 .keypiece { animation: zoomin .5s cubic-bezier(.2,1.6,.4,1); }
#eureka.flash::after { content: ""; position: absolute; inset: 0; background: #fff6c8; animation: flash .7s forwards; pointer-events: none; } @keyframes flash { from { opacity: .95; } to { opacity: 0; } }

/* onderzoeksboek: een leren schrift met perkamenten bladzijden en tabbladen */
#journal { background: radial-gradient(ellipse at 50% 0%, #2a1c10, #120d08 70%); }
.hdr { display: flex; align-items: center; gap: 10px; padding-bottom: 8px; } .hdr h2 { flex: 1; font-size: 19px; text-align: center; }
.scroll { overflow-y: auto; touch-action: pan-y; -webkit-overflow-scrolling: touch; }
.jtabs { display: flex; gap: 5px; overflow-x: auto; touch-action: pan-x; padding: 6px 2px 0; scrollbar-width: none; flex: none; } .jtabs::-webkit-scrollbar { display: none; }
.jtab { flex: none; width: 58px; padding: 6px 2px 7px; border-radius: 12px 12px 0 0; background: #3a2816; border: 1.5px solid rgba(231,199,7,.3); border-bottom: 0; display: flex; flex-direction: column; align-items: center; gap: 1px; position: relative; transform: translateY(5px); transition: transform .15s; }
.jtab span { font-size: 22px; line-height: 1.15; } .jtab small { font-size: 10px; font-weight: 900; color: #e9dcb8; }
.jtab.on { background: #f6ecd2; transform: none; border-color: #c7a707; } .jtab.on small { color: #3a2607; }
.jtab.shut span, .jtab.shut small { opacity: .45; }
.jtab.done::after { content: "✓"; position: absolute; top: -5px; right: -2px; width: 16px; height: 16px; border-radius: 50%; background: var(--gold); color: #141414; font: 900 10px/16px Nunito, sans-serif; text-align: center; }
.jbook { flex: 1; min-height: 0; background: linear-gradient(90deg, #2a180a 0, #4a2e16 14px, #3a2412 100%); border-radius: 6px 16px 16px 6px; padding: 7px 7px 7px 15px; box-shadow: 0 10px 30px rgba(0,0,0,.6); position: relative; perspective: 1200px; z-index: 1; }
.jbook::before { content: ""; position: absolute; left: 6px; top: 14px; bottom: 14px; border-left: 2px dashed rgba(231,199,7,.55); }
.jpage { height: 100%; border-radius: 3px 10px 10px 3px; padding: 14px 13px 18px; color: #2a1c0c; background: repeating-linear-gradient(180deg, transparent 0 29px, rgba(120,90,40,.1) 29px 30px), linear-gradient(180deg, #f9f0d8, #efdfb6); box-shadow: inset 8px 0 14px -8px rgba(60,40,10,.45); transform-origin: left center; }
.jpage.turnR { animation: turnR .38s ease; } .jpage.turnL { animation: turnL .38s ease; }
@keyframes turnR { from { transform: rotateY(-55deg); opacity: .2; } } @keyframes turnL { from { transform: rotateY(40deg) translateX(-20px); opacity: .2; } }
.jhead { display: flex; align-items: center; gap: 12px; padding-bottom: 10px; border-bottom: 2px solid rgba(120,90,40,.3); }
.jicon { font-size: 40px; width: 68px; height: 68px; display: grid; place-items: center; background: #2a1c0c; border-radius: 50%; border: 3px solid var(--gold2); flex: none; box-shadow: 0 3px 8px rgba(0,0,0,.3); }
.jhead small { font-size: 10.5px; letter-spacing: .16em; font-weight: 900; color: #8a6a14; } .jhead h3 { margin: 0; font: 900 25px/1.1 Cinzel, serif; color: #2a1c0c; } .jstars { margin: 2px 0 0; font-size: 17px; color: #c79a00; } .jstars .dimstar { color: #2a1c0c; opacity: .2; }
.jsec { display: flex; align-items: center; gap: 8px; margin: 16px 0 8px; font-size: 15px; font-weight: 900; color: #4a3410; } .jsec span { width: 24px; height: 24px; border-radius: 50%; background: #2a1c0c; color: #f6ecd2; font-size: 13px; display: grid; place-items: center; flex: none; } .jsec em { margin-left: auto; font-style: normal; font-size: 12px; background: rgba(42,28,12,.12); padding: 3px 9px; border-radius: 10px; }
.jfind { position: relative; background: rgba(255,255,255,.55); border: 2px solid #c7a707; border-radius: 14px; padding: 12px 10px 10px; margin-bottom: 10px; box-shadow: 0 3px 0 rgba(120,90,40,.25); }
.jfind h4 { margin: 0 70px 10px 2px; font: 900 18px/1.2 Nunito, sans-serif; color: #2a1c0c; }
.stamp { position: absolute; top: 8px; right: 6px; font: 700 15px Caveat, cursive; font-style: normal; color: #b0261c; border: 2px solid #b0261c; border-radius: 6px; padding: 0 7px; transform: rotate(9deg); opacity: .85; }
.jvs { display: flex; align-items: stretch; gap: 6px; position: relative; } .jvs > em { position: absolute; left: 50%; top: 30px; width: 30px; height: 30px; margin-left: -15px; border-radius: 50%; background: var(--gold); color: #141414; font: 900 20px/30px Nunito, sans-serif; font-style: normal; text-align: center; box-shadow: 0 0 0 3px #f6ecd2; z-index: 1; }
.jcol { flex: 1; min-width: 0; border-radius: 12px; padding: 8px 7px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 2px; color: #fff; }
.jcol.k { background: linear-gradient(180deg, #1c7a55, #0f4d36); } .jcol.t { background: linear-gradient(180deg, #2f62b8, #1a3a78); }
.jcol b { font-size: 10px; letter-spacing: .16em; opacity: .9; } .jbig { font-size: 28px; line-height: 1.2; white-space: nowrap; } .jcol .jbig { padding: 0 16px; } .jcol strong { font-size: 15px; color: #fff3a0; line-height: 1.15; } .jcol p { margin: 4px 0; font-size: 12.5px; line-height: 1.35; font-weight: 700; } .jcol small { margin-top: auto; font-size: 10px; font-weight: 800; color: #e7dcae; }
.jnote { margin: 10px 2px 0; font: 700 18px/1.25 Caveat, "Segoe Print", cursive; color: #1d3f7a; } .jnote span { display: block; font: 900 10.5px Nunito, sans-serif; letter-spacing: .12em; color: #8a6a14; margin-bottom: 2px; text-transform: uppercase; }
.jtodo { display: flex; align-items: center; gap: 10px; border: 2px dashed rgba(120,90,40,.5); border-radius: 14px; padding: 10px; margin-bottom: 10px; } .jtodo .jbig { filter: grayscale(.6); opacity: .8; } .jtodo h4 { margin: 0; font-size: 15.5px; } .jtodo p { margin: 2px 0 0; font-size: 13px; line-height: 1.35; font-weight: 700; color: #5a4420; } .jtodo div { flex: 1; min-width: 0; }
.jq { width: 34px; height: 34px; border-radius: 50%; background: #2a1c0c; color: var(--gold); font: 900 20px/34px Cinzel, serif; text-align: center; flex: none; }
.jhint { margin: -2px 0 8px 32px; font-size: 12px; font-weight: 700; color: #7a6030; }
.jx { background: rgba(255,255,255,.5); border: 1.5px solid rgba(120,90,40,.35); border-radius: 12px; margin-bottom: 7px; overflow: hidden; }
.jx summary { list-style: none; display: flex; align-items: center; gap: 9px; padding: 11px 10px; font-size: 15px; font-weight: 900; cursor: pointer; } .jx summary::-webkit-details-marker { display: none; }
.jx summary span { width: 22px; height: 22px; border-radius: 50%; background: rgba(42,28,12,.14); font-size: 12px; display: grid; place-items: center; flex: none; }
.jx summary::after { content: "›"; margin-left: auto; font-size: 22px; line-height: 1; color: #8a6a14; transition: transform .2s; } .jx[open] summary::after { transform: rotate(90deg); } .jx[open] { border-color: #c7a707; background: rgba(255,255,255,.7); }
.jrow { margin: 0 8px 8px; border-radius: 10px; padding: 8px 10px; border-left: 5px solid var(--k); background: #dff1e8; } .jrow.t { border-left-color: var(--t); background: #e0e9fa; }
.jrow b { font-size: 10px; letter-spacing: .14em; color: #0f4d36; } .jrow.t b { color: #1a3a78; } .jrow p { margin: 2px 0 0; font-size: 14px; line-height: 1.4; font-weight: 700; }
.jlock, .jempty { border: 2px dashed rgba(120,90,40,.4); border-radius: 12px; padding: 12px; text-align: center; font-size: 13px; font-weight: 800; color: #6a5226; margin-bottom: 8px; } .jempty { margin-top: 16px; padding: 22px 14px; } .jempty.small { margin-top: 0; padding: 12px; } .jempty p { margin: 0 0 6px; font: 700 24px Caveat, cursive; color: #4a3410; } .jempty small { font-size: 13px; line-height: 1.4; display: block; }
.jbron { margin: 14px 2px 0; font-size: 11.5px; font-weight: 700; color: #7a6030; line-height: 1.4; }
.jgo { margin-top: 14px; padding: 12px; font-size: 15px; }
.jnav { display: flex; align-items: center; gap: 8px; padding-top: 9px; flex: none; } .jnav button { min-width: 92px; padding: 9px 10px; border-radius: 12px; background: rgba(255,255,255,.08); border: 1.5px solid rgba(231,199,7,.45); font-weight: 900; font-size: 13.5px; } .jnav button:disabled { opacity: .25; } .jnav button:last-child { text-align: right; } .jnav button:first-child { text-align: left; }
#j-pos { flex: 1; display: flex; justify-content: center; gap: 5px; } #j-pos i { width: 7px; height: 7px; border-radius: 50%; background: rgba(255,255,255,.25); } #j-pos i.on { background: var(--gold); transform: scale(1.4); }
.reset { display: block; margin: 16px auto 0; font-size: 11.5px; color: #8a7448; text-decoration: underline; padding: 8px; }

/* de Leeszaal */
#finale { justify-content: center; } .finbox { text-align: center; display: flex; flex-direction: column; gap: 10px; align-items: center; }
.finbox h1 { font-size: 34px; color: #fff3a0; } .finbox h2 { font-size: 22px; margin-top: 6px; } .finbox p { margin: 0; font-size: 15px; line-height: 1.45; font-weight: 700; } .finbox .strong { font-size: 18px; color: var(--gold); font-weight: 900; }
.finbox blockquote { margin: 6px 0; padding: 12px 14px; border-left: 4px solid var(--gold); background: rgba(255,255,255,.06); border-radius: 0 12px 12px 0; font-size: 14.5px; line-height: 1.5; text-align: left; font-style: italic; } .finbox blockquote small { display: block; font-style: normal; color: var(--mute); margin-top: 6px; }
.finbox .menu { width: 100%; margin-top: 10px; }
@media (max-height: 640px) { .logo .ik { font-size: 56px; } .bookicon { font-size: 44px; } .tell { font-size: 16px; } .glass { width: 104px; height: 104px; } .big { font-size: 30px; min-height: 38px; } #e-q { font-size: 21px; } }

.dimstar { opacity: .28; }

/* ---------- punten en rang (alleen voor de lol, nooit een slot) ---------- */
.rpill { color: #fff; font-family: inherit; cursor: pointer; }
.score { display: flex; flex-direction: column; align-items: center; gap: 2px; width: 100%; max-width: 300px; margin: 4px 0; }
.score > small { letter-spacing: .2em; font-weight: 900; font-size: 11px; color: var(--gold); }
#k-pts { font: 900 54px/1 Cinzel, serif; color: var(--gold); text-shadow: 0 0 28px rgba(231,199,7,.45); }
#k-rec { margin: 2px 0 6px; min-height: 1.3em; font-weight: 800; font-size: 14px; color: var(--mute); } #k-rec.up { color: #9ff0b8; }
.rank { width: 100%; background: rgba(255,255,255,.06); border: 1.5px solid rgba(231,199,7,.35); border-radius: 14px; padding: 10px 12px; }
.rhead { display: flex; justify-content: space-between; align-items: baseline; font-weight: 900; font-size: 15px; } .rhead em { font-style: normal; color: var(--gold); font-size: 13px; }
.rbar { height: 9px; border-radius: 6px; background: rgba(255,255,255,.12); overflow: hidden; margin: 7px 0 5px; } .rbar i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, #c7a707, #fff3a0); border-radius: 6px; transition: width .6s ease; }
.rank small, .rnow small { display: block; font-size: 12px; color: var(--mute); font-weight: 700; }
.rank.promo { animation: promo 1.1s ease; } @keyframes promo { 25% { transform: scale(1.07); background: rgba(231,199,7,.35); box-shadow: 0 0 40px rgba(255,230,120,.7); } }
#rang { background: radial-gradient(ellipse at 50% 0%, #2a1c10, #120d08 70%); }
.rangbox { flex: 1; overflow-y: auto; display: flex; flex-direction: column; gap: 12px; padding-bottom: 20px; }
.rnow { text-align: center; background: rgba(255,255,255,.05); border: 1.5px solid rgba(231,199,7,.4); border-radius: 18px; padding: 16px 16px 12px; }
.rnow #g-icon { font-size: 56px; display: block; line-height: 1.1; } .rnow h3 { font: 900 22px Cinzel, serif; color: var(--gold); margin: 6px 0 4px; } .rnow p { margin: 0 0 6px; font-weight: 700; color: #e8e0cc; font-size: 14px; }
.rtip { margin: 0; }
.ladder, .recs { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.ladder { flex-direction: column-reverse; }
.ladder li, .recs li { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 12px; background: rgba(255,255,255,.04); font-weight: 800; font-size: 14px; color: var(--mute); }
.ladder li span, .recs li span { font-size: 20px; width: 26px; text-align: center; } .ladder li b, .recs li b { flex: 1; } .ladder li em, .recs li em { font-style: normal; font-size: 12.5px; }
.ladder li.done { color: #e8e0cc; } .ladder li.on { color: #141414; background: var(--gold); box-shadow: 0 0 18px rgba(231,199,7,.4); }
.recs li { color: #e8e0cc; } .recs li em { color: var(--gold); font-size: 14px; } .recs li.bonus { color: var(--mute); }
.rsub { margin: 6px 0 0; font: 900 14px Cinzel, serif; color: var(--gold); letter-spacing: .06em; }
