/* =========================================================
   Egypte 2026 — speels Egyptisch thema
   ========================================================= */
:root {
  --bg: #fbf3e0;            /* papyrus */
  --bg2: #f3e2bb;           /* zand */
  --card: #fffaf0;
  --ink: #2b1d0e;
  --muted: #6e5945;
  --gold: #c9962b;
  --gold-2: #e8b93c;
  --lapis: #1f3c88;
  --sea: #0f9b9b;
  --terra: #c2522d;
  --line: #e6d3a8;
  /* tekstvarianten van de accentkleuren en randen van invoervelden, voor leesbaarheid (WCAG AA) */
  --terra-t: #a63f1c; --gold-t: #86610f; --rand: #9a7a4f; --on-accent: #fff; --ok: #1d7f4f;
  --shadow: 0 2px 0 #e2cc9a, 0 8px 24px rgba(120, 80, 20, .12);
  --radius: 18px;
  --sky1: #ffd58a; --sky2: #ff9e5e; --sky3: #f06b4f;
  --pyr1: #e3b25c; --pyr1s: #c48c3a; --pyr2: #d9a14b; --pyr2s: #b37b30;
  /* illustraties: hero-tafereel en covers op de dagkaarten */
  --sand: #f0cf8a; --sand-s: #dcb163; --camel: #b9823f; --camel-s: #8f6230; --cloud: #fff6e0; --sea1: #0f9b9b; --sea2: #0b6f8a;
  --day1: #6fc3ee; --day2: #d3effa; --dusk1: #2f3a8f; --dusk2: #a8558a; --dusk3: #f49b5c;
  --palm: #3f9a5a; --road: #6b5d58; --sunc: #fff1b3; --wit: #fffdf6; --glas: #9ad8ee;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #15112a; --bg2: #1f1838; --card: #241d40; --ink: #f6ead2; --muted: #c8b9a1;
    --gold: #e8b93c; --gold-2: #ffd36b; --lapis: #8fb0ff; --sea: #3fd0c9; --terra: #ff8a65;
    --line: #3a2f5c; --shadow: 0 2px 0 #0d0a1c, 0 8px 24px rgba(0, 0, 0, .35);
    --terra-t: #ff8a65; --gold-t: #e8b93c; --rand: #8577b8; --on-accent: #15112a;
    --sky1: #2b2160; --sky2: #3d2b73; --sky3: #6a3d7a;
    --pyr1: #5a4632; --pyr1s: #3e2f22; --pyr2: #4e3c2b; --pyr2s: #34281c;
    --sand: #4a3a2a; --sand-s: #382b1f; --camel: #8a6a44; --camel-s: #5c4529; --cloud: #5b4c86; --sea1: #17727c; --sea2: #0c3f5c;
    --day1: #1a2456; --day2: #33407f; --dusk1: #0f0d2a; --dusk2: #2a1d55; --dusk3: #553066;
    --palm: #2f7a55; --road: #2b2440; --sunc: #f3e3b4; --wit: #e4dcef; --glas: #ffd98a;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #15112a; --bg2: #1f1838; --card: #241d40; --ink: #f6ead2; --muted: #c8b9a1;
  --gold: #e8b93c; --gold-2: #ffd36b; --lapis: #8fb0ff; --sea: #3fd0c9; --terra: #ff8a65;
  --line: #3a2f5c; --shadow: 0 2px 0 #0d0a1c, 0 8px 24px rgba(0, 0, 0, .35);
  --terra-t: #ff8a65; --gold-t: #e8b93c; --rand: #8577b8; --on-accent: #15112a;
  --sky1: #2b2160; --sky2: #3d2b73; --sky3: #6a3d7a;
  --pyr1: #5a4632; --pyr1s: #3e2f22; --pyr2: #4e3c2b; --pyr2s: #34281c;
  --sand: #4a3a2a; --sand-s: #382b1f; --camel: #8a6a44; --camel-s: #5c4529; --cloud: #5b4c86; --sea1: #17727c; --sea2: #0c3f5c;
  --day1: #1a2456; --day2: #33407f; --dusk1: #0f0d2a; --dusk2: #2a1d55; --dusk3: #553066;
  --palm: #2f7a55; --road: #2b2440; --sunc: #f3e3b4; --wit: #e4dcef; --glas: #ffd98a;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 16px/1.5 Nunito, system-ui, sans-serif;
  background-image: radial-gradient(circle at 1px 1px, color-mix(in srgb, var(--gold) 18%, transparent) 1px, transparent 0);
  background-size: 22px 22px;
  padding-bottom: calc(76px + env(safe-area-inset-bottom));
}
a { color: var(--lapis); font-weight: 700; text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, .brand, .hero-title { font-family: 'Lilita One', Nunito, sans-serif; font-weight: 400; letter-spacing: .3px; line-height: 1.15; }
h2 { font-size: 1.35rem; margin: 0 0 .7rem; }
h3 { font-size: 1.12rem; margin: 0 0 .3rem; }
.small { font-size: .85rem; } .muted { color: var(--muted); } .center { text-align: center; }
button { font: inherit; color: inherit; cursor: pointer; }

/* ---------- top & nav ---------- */
.topbar { position: sticky; top: 0; z-index: 50; display: flex; align-items: center; gap: 1rem; padding: .6rem 16px; background: var(--card); }
.brand { font-size: 1.35rem; color: var(--ink); display: flex; align-items: center; gap: .4rem; flex: none; white-space: nowrap; }
.brand b { color: var(--gold-t); font-weight: 400; }
.brand-eye { font-family: 'Noto Sans Egyptian Hieroglyphs', sans-serif; font-size: 1.5rem; color: var(--lapis); }
/* Scrollbare menu's: alle items staan op één regel en je kunt horizontaal vegen/scrollen. */
.navscroll { position: relative; display: flex; overflow-x: auto; overscroll-behavior-x: contain; scroll-behavior: smooth; -webkit-overflow-scrolling: touch; scrollbar-width: thin; scrollbar-color: var(--line) transparent; }
.navscroll::-webkit-scrollbar { height: 4px; }
.navscroll::-webkit-scrollbar-thumb { background: var(--line); border-radius: 4px; }
.topnav, .bottomnav { position: relative; }
.topnav::before, .topnav::after, .bottomnav::before, .bottomnav::after { content: ''; position: absolute; top: 0; bottom: 0; width: 28px; pointer-events: none; opacity: 0; transition: opacity .2s; z-index: 1; }
.topnav::before, .bottomnav::before { left: 0; background: linear-gradient(90deg, var(--card), transparent); }
.topnav::after, .bottomnav::after { right: 0; background: linear-gradient(270deg, var(--card), transparent); }
.more-left::before, .more-right::after { opacity: 1; }
.topnav { display: none; flex: 1 1 auto; min-width: 0; margin-left: auto; }
.topnav .navscroll { gap: .2rem; padding: 2px 0 4px; }
.topnav a { flex: none; white-space: nowrap; color: var(--ink); padding: .4rem .7rem; border-radius: 999px; font-weight: 700; font-size: .92rem; }
.topnav a.active, .topnav a:hover { background: var(--bg2); text-decoration: none; }
.theme-btn { margin-left: auto; flex: none; background: var(--bg2); border: 0; border-radius: 999px; width: 40px; height: 40px; font-size: 1.2rem; }
.frieze { height: 12px; background:
  linear-gradient(135deg, var(--lapis) 25%, transparent 25%) -6px 0 / 12px 12px,
  linear-gradient(225deg, var(--lapis) 25%, transparent 25%) -6px 0 / 12px 12px,
  linear-gradient(315deg, var(--gold) 25%, transparent 25%) 0 0 / 12px 12px,
  linear-gradient(45deg, var(--gold) 25%, transparent 25%) 0 0 / 12px 12px, var(--sea); opacity: .9; }
.bottomnav { position: fixed; bottom: 0; left: 0; right: 0; z-index: 60;
  background: var(--card); border-top: 3px solid var(--gold); padding: 4px 0 calc(4px + env(safe-area-inset-bottom)); }
.bottomnav .navscroll { gap: 2px; padding: 0 4px; scroll-snap-type: x proximity; scrollbar-width: none; }
.bottomnav .navscroll::-webkit-scrollbar { display: none; }
.bottomnav a { flex: 0 0 auto; min-width: 68px; scroll-snap-align: start; display: flex; flex-direction: column; align-items: center; gap: 1px; padding: 6px 6px; color: var(--muted); font-size: .72rem; border-radius: 12px; white-space: nowrap; }
.bottomnav a .nl { line-height: 1.2; }
.bottomnav a .ni, .topnav a { font-family: Nunito, 'Noto Sans Egyptian Hieroglyphs', system-ui, sans-serif; }
.bottomnav a .ni { font-family: 'Noto Sans Egyptian Hieroglyphs', Nunito, sans-serif; }
.bottomnav a .ni { font-size: 1.35rem; transition: transform .2s; }
.bottomnav a.active { color: var(--ink); background: var(--bg2); text-decoration: none; }
.bottomnav a.active .ni { transform: translateY(-2px) scale(1.15); }
@media (min-width: 900px) {
  .topnav { display: block; } .theme-btn { margin-left: .5rem; }
  .bottomnav { display: none; } body { padding-bottom: 0; }
}

.view { max-width: 1100px; margin: 0 auto; padding: 16px; }
.page { animation: rise .35s ease; }
@keyframes rise { from { opacity: 0; transform: translateY(8px); } }
.foot { text-align: center; color: var(--muted); font-size: .8rem; margin-top: 2rem; }
.foot p { padding: .8rem 16px 1.2rem; margin: 0; }

/* ---------- cards & layout ---------- */
.card { background: var(--card); border-radius: var(--radius); padding: 1.1rem; box-shadow: var(--shadow); margin-bottom: 1rem; border: 2px solid var(--line); }
.grid { display: grid; gap: 1rem; } .grid > .card { margin-bottom: 0; } .grid { margin-bottom: 1rem; }
@media (min-width: 720px) { .grid.two { grid-template-columns: 1fr 1fr; } }
.page-head { display: flex; gap: .9rem; align-items: center; margin: .4rem 0 1.2rem; }
.page-head h1 { margin: 0; font-size: 2rem; }
.page-head p { margin: .2rem 0 0; color: var(--muted); }
.page-head > div:last-child { min-width: 0; overflow-wrap: anywhere; }
.ph-emoji { font-size: 2.2rem; width: 64px; height: 64px; flex: none; display: grid; place-items: center; border-radius: 50%;
  background: linear-gradient(145deg, var(--gold-2), var(--gold)); box-shadow: inset 0 -4px 0 rgba(0,0,0,.15); font-family: 'Noto Sans Egyptian Hieroglyphs', sans-serif; color: #2b1d0e; }
.pill { display: inline-block; font-size: .75rem; font-weight: 800; padding: .1rem .55rem; border-radius: 999px; white-space: nowrap; }
.pill-luxor { background: color-mix(in srgb, var(--gold) 25%, transparent); color: color-mix(in srgb, var(--gold) 45%, var(--ink)); }
.pill-hurghada { background: color-mix(in srgb, var(--sea) 20%, transparent); color: color-mix(in srgb, var(--sea) 60%, var(--ink)); }
.btn { display: inline-block; background: var(--gold); color: #2b1d0e; border: 0; border-radius: 999px; padding: .6rem 1.1rem; font-weight: 800; box-shadow: 0 3px 0 color-mix(in srgb, var(--gold) 60%, #000); }
.btn:hover { text-decoration: none; filter: brightness(1.05); }
.btn:active { transform: translateY(2px); box-shadow: none; }
.btn.ghost { background: transparent; color: var(--ink); border: 2px solid var(--line); box-shadow: none; }
.btns { display: flex; gap: .6rem; flex-wrap: wrap; margin-top: 1rem; }
.empty { text-align: center; color: var(--muted); padding: 2rem 1rem; }
.stale { font-size: .75rem; background: var(--bg2); padding: .1rem .5rem; border-radius: 999px; margin-left: .4rem; }
.shimmer { display: inline-block; color: transparent !important; border-radius: 8px; min-width: 3em;
  background: linear-gradient(90deg, var(--bg2), var(--line), var(--bg2)); background-size: 200% 100%; animation: sh 1.2s infinite linear; }
@keyframes sh { to { background-position: -200% 0; } }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; border-radius: 26px; margin-bottom: 1rem; min-height: 330px;
  background: linear-gradient(180deg, var(--sky1), var(--sky2) 60%, var(--sky3)); box-shadow: var(--shadow); }
.sun { position: absolute; width: 130px; height: 130px; border-radius: 50%; right: 12%; top: 34px;
  background: radial-gradient(circle, #fff6c9, var(--gold-2) 60%, transparent 70%); animation: glow 4s ease-in-out infinite alternate; }
@keyframes glow { to { transform: scale(1.08); } }
.hero-inner { position: relative; padding: 2rem 1.3rem 9.5rem; text-align: center; color: #2b1d0e; }

/* Tafereel onderin de hero (markup: heroScene() in js/art.js). Van achter naar voor: zandvlakte, piramides, duin, kameel. */
.dune { position: absolute; left: 0; bottom: 0; width: 100%; }
.dune-back { height: 66px; fill: color-mix(in srgb, var(--sand) 72%, var(--cloud)); }
.dune-front { height: 26px; fill: var(--sand); } .dune-front-s { fill: color-mix(in srgb, var(--sand) 55%, var(--sand-s)); }
/* Echte 3D-piramides: vier driehoekige vlakken in een preserve-3d-container. Gizeh-verhouding: hoogte = 0,636 x basis,
   dus schuine hoogte van een vlak = 0,809 x basis en de kanteling naar binnen = 38,2 graden.
   Elke piramide heeft een eigen perspectief (.pyr-pos), zodat ze op een breed scherm niet scheeftrekken.
   Let op: geen overflow, filter of opacity op .pyr zelf, anders wordt de 3D-ruimte plat. */
.scene3d { position: absolute; left: 0; right: 0; bottom: 50px; height: 0; }
.pyr-pos { --b: 150px; --ry: 38deg; --lit: var(--pyr1); --sh: var(--pyr1s); position: absolute; bottom: 0; width: var(--b); height: 0; perspective: calc(var(--b) * 3.2); perspective-origin: 50% calc(var(--b) * -.42); }
.pyr { position: absolute; left: 0; bottom: 0; width: 100%; height: 0; transform-style: preserve-3d;
  transform: rotateX(-7deg) rotateY(var(--ry)); animation: pyr-sway 20s ease-in-out infinite alternate; }
.pyr .f, .pyr::before { position: absolute; left: -.5px; bottom: 0; width: calc(var(--b) + 1px); height: calc(var(--b) * .809); transform-origin: 50% 100%;
  clip-path: polygon(50% 0, 0 100%, 100% 100%); backface-visibility: hidden;
  background: repeating-linear-gradient(0deg, transparent 0 6px, rgba(60, 30, 0, .09) 6px 7px), linear-gradient(180deg, rgba(255, 255, 255, .16), transparent 55%), var(--c); }
.pyr .f1 { --c: color-mix(in srgb, var(--lit) 86%, #fff); transform: rotateY(0deg) translateZ(calc(var(--b) / 2)) rotateX(38.2deg); }
.pyr .f2 { --c: var(--lit); transform: rotateY(90deg) translateZ(calc(var(--b) / 2)) rotateX(38.2deg); }
.pyr .f3 { --c: color-mix(in srgb, var(--sh) 80%, #000); transform: rotateY(180deg) translateZ(calc(var(--b) / 2)) rotateX(38.2deg); }
.pyr .f4 { --c: var(--sh); transform: rotateY(270deg) translateZ(calc(var(--b) / 2)) rotateX(38.2deg); }
/* slagschaduw: een vijfde driehoek die plat op het zand ligt, aan de schaduwkant */
.pyr::before { content: ''; background: rgba(70, 35, 0, .26); transform: rotateY(270deg) translateZ(calc(var(--b) / 2)) rotateX(89deg) scaleY(1.25); }
.pyr-a { --b: clamp(128px, 36vw, 200px); left: 4%; }
.pyr-b { --b: clamp(92px, 26vw, 146px); --ry: 30deg; --lit: var(--pyr2); --sh: var(--pyr2s); left: 47%; } .pyr-b .pyr { animation-duration: 25s; animation-delay: -9s; }
.pyr-c { --b: clamp(56px, 16vw, 90px); --ry: 46deg; --lit: var(--pyr2); --sh: var(--pyr2s); left: 78%; } .pyr-c .pyr { animation-duration: 30s; animation-delay: -17s; }
@keyframes pyr-sway { from { transform: rotateX(-7deg) rotateY(calc(var(--ry) - 17deg)); } to { transform: rotateX(-7deg) rotateY(calc(var(--ry) + 17deg)); } }
/* Boven 420px worden de aftelvakjes groter (zie max-width: 420px) en groeit de grote piramide door tot ~556px: dan meer ruimte onder de aftelklok, anders valt de top erachter. */
@media (min-width: 421px) { .hero-inner { padding-bottom: 11.75rem; } }
@media (min-width: 720px) {
  .pyr-a { left: 7%; } .pyr-b { left: 30%; } .pyr-c { left: 71%; }
}

/* Lopende kameel: de baan schuift over de hero, de poten zwaaien in telgang (poten aan dezelfde kant samen). */
.camel-track { position: absolute; left: 0; right: 0; bottom: 5px; height: 0; transform: translateX(16%); animation: camel-walk 33s linear -9s infinite; }
@keyframes camel-walk { from { transform: translateX(-24%); } to { transform: translateX(102%); } }
@media (min-width: 600px) { .camel-track { animation-duration: 52s; } }
@media (min-width: 900px) { .camel-track { animation-duration: 76s; animation-delay: -20s; } }
.camel { --stap: 1.7s; position: absolute; left: 0; bottom: 0; width: clamp(74px, 20vw, 108px); height: auto; overflow: visible; }
.camel path { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.camel .c-body, .camel .c-kop, .camel .c-ear, .c-foot { fill: var(--camel); }
.c-far .c-foot, .camel .c-tuft { fill: var(--camel-s); }
.camel .c-belly { fill: var(--camel-s); opacity: .45; }
.c-up { stroke: var(--camel); } .c-low { stroke: var(--camel); stroke-width: 3.7; }
.c-far .c-up, .c-far .c-low, .c-tailline { stroke: var(--camel-s); } .c-tailline { stroke-width: 2.2; }
.c-neckshape { stroke: var(--camel); stroke-width: 10.5; }
.camel .c-kleed { fill: var(--terra); } .camel .c-band { fill: var(--lapis); } .camel .c-zadel, .c-kwast { fill: var(--gold-2); }
.c-teugel { stroke: var(--terra); stroke-width: 1.1; } .c-halster { stroke: var(--terra); stroke-width: 1.5; } .c-mond { stroke: var(--camel-s); stroke-width: .9; }
.c-oog { fill: #2b1d0e; } .c-shadow { fill: rgba(40, 20, 0, .22); transform-origin: 57px 96px; }
/* De statische stand hieronder is ook de pose bij 'minder beweging' (dan staan alle animaties uit). */
.c-leg.c-near { transform: rotate(8deg); } .c-leg.c-far { transform: rotate(-8deg); }
.c-leg { animation: c-swing var(--stap) infinite; } .c-knee { animation: c-knee var(--stap) infinite; }
.c-far, .c-far .c-knee { animation-delay: calc(var(--stap) / -2); }
.c-near.c-hind, .c-near.c-hind .c-knee { animation-delay: -.14s; }
.c-far.c-hind, .c-far.c-hind .c-knee { animation-delay: calc(var(--stap) / -2 - .14s); }
.c-bob { animation: c-bob calc(var(--stap) / 2) ease-in-out infinite; }
.c-shadow { animation: c-shadow calc(var(--stap) / 2) ease-in-out infinite; }
.c-neck { animation: c-nod var(--stap) ease-in-out infinite; } .c-head { animation: c-head var(--stap) ease-in-out infinite; }
.c-tail { animation: c-tail 2.3s ease-in-out infinite alternate; }
/* 0-40%: poot zwaait naar voren (knie gebogen); 40-100%: voet staat op de grond en schuift gelijkmatig naar achteren. */
@keyframes c-swing { 0% { transform: rotate(15deg); animation-timing-function: ease-in-out; } 40% { transform: rotate(-15deg); animation-timing-function: linear; } 100% { transform: rotate(15deg); } }
@keyframes c-knee { 0% { transform: rotate(0deg); } 18% { transform: rotate(38deg); } 40%, 100% { transform: rotate(0deg); } }
@keyframes c-bob { 50% { transform: translateY(-1.5px); } }
@keyframes c-shadow { 50% { transform: scaleX(.94); } }
@keyframes c-nod { 50% { transform: rotate(4deg); } }
@keyframes c-head { 50% { transform: rotate(-5deg); } }
@keyframes c-tail { from { transform: rotate(-9deg); } to { transform: rotate(9deg); } }
/* Hero uit beeld gescrold (watchCovers() in app.js zet .uit-beeld): alle hero-animaties pauzeren. Standaard lopen ze gewoon. */
.hero.uit-beeld, .hero.uit-beeld * { animation-play-state: paused !important; }
.eyebrow { font-family: 'Noto Sans Egyptian Hieroglyphs', Nunito, sans-serif; font-weight: 800; margin: 0; letter-spacing: 1px; }
.hero-title { font-size: clamp(2rem, 7vw, 3.4rem); margin: .3rem 0; color: #2b1d0e; text-shadow: 0 3px 0 rgba(255,255,255,.35); }
.hero-title span { color: var(--lapis); }
/* In donker is de zon een maan: klein in de hoek (niet achter de titel), met een donkere gloed achter de lichte tekst. */
:root[data-theme="dark"] .hero-inner, :root[data-theme="dark"] .hero-title { color: #fff3d6; text-shadow: 0 2px 10px rgba(10, 8, 30, .75); }
:root[data-theme="dark"] .sun { width: 72px; height: 72px; top: 12px; right: 4%; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .hero-inner, :root:not([data-theme="light"]) .hero-title { color: #fff3d6; text-shadow: 0 2px 10px rgba(10, 8, 30, .75); }
  :root:not([data-theme="light"]) .sun { width: 72px; height: 72px; top: 12px; right: 4%; }
}
@media (max-width: 420px) { :root[data-theme="dark"] .sun { width: 60px; height: 60px; top: 8px; right: 3%; } }
@media (max-width: 420px) and (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .sun { width: 60px; height: 60px; top: 8px; right: 3%; } }
.hero-sub { margin: 0 0 1rem; font-weight: 800; }
.countdown { display: flex; justify-content: center; gap: .5rem; }
.cd-box { background: rgba(255, 250, 240, .85); color: #2b1d0e; border-radius: 14px; padding: .4rem .2rem; width: 68px; box-shadow: 0 3px 0 rgba(0,0,0,.12); }
.cd-box b { display: block; font-family: 'Lilita One'; font-weight: 400; font-size: 1.8rem; line-height: 1.1; }
.cd-box span { font-size: .72rem; font-weight: 800; text-transform: uppercase; }
.cd-msg { background: rgba(255, 250, 240, .85); color: #2b1d0e; display: inline-block; padding: .5rem 1rem; border-radius: 14px; font-weight: 800; }

.now-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; }
.now { background: var(--bg2); border-radius: 14px; padding: .6rem .8rem; }
.now-city { font-weight: 800; font-size: .85rem; color: var(--muted); }
.now-temp { font-family: 'Lilita One'; font-size: 1.6rem; }
.now-temp small { display: block; font-family: Nunito; font-size: .75rem; color: var(--muted); font-weight: 600; }

.tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: .6rem; }
.tile { min-width: 0; overflow-wrap: anywhere; display: flex; flex-direction: column; align-items: center; gap: .2rem; text-align: center; padding: .8rem .3rem; border-radius: 16px;
  background: var(--bg2); color: var(--ink); font-size: .82rem; transition: transform .15s; }
.tile span { font-size: 1.8rem; font-family: 'Noto Sans Egyptian Hieroglyphs', sans-serif; }
.tile:hover { transform: translateY(-3px) rotate(-1deg); text-decoration: none; }
.tiles.big { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); }
.tiles.big .tile { padding: 1.3rem .5rem; font-size: 1rem; background: var(--card); border: 2px solid var(--line); box-shadow: var(--shadow); }
.tiles.big .tile span { font-size: 2.4rem; }

.legs { display: grid; gap: .8rem; }
@media (min-width: 720px) { .legs { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); } }
.leg { display: flex; gap: .9rem; align-items: center; padding: 1rem; border-radius: 16px; color: var(--ink); }
.leg:hover { text-decoration: none; transform: translateY(-2px); }
.leg p { margin: 0; font-weight: 600; }
.leg-text { min-width: 0; overflow-wrap: anywhere; }
.leg-emoji { font-size: 2.6rem; }
.leg.leg-luxor { background: linear-gradient(135deg, color-mix(in srgb, var(--gold) 30%, transparent), transparent); }
.leg.leg-hurghada { background: linear-gradient(135deg, color-mix(in srgb, var(--sea) 30%, transparent), transparent); }

/* ---------- planning ---------- */
.legend { display: flex; gap: .5rem; flex-wrap: wrap; align-items: center; margin-bottom: 1rem; }
.days { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1rem; position: relative; }
.day { background: var(--card); border-radius: var(--radius); padding: 1rem; overflow: hidden; box-shadow: var(--shadow); border: 2px solid var(--line); border-left: 8px solid var(--gold); scroll-margin-top: 80px; }
.day.leg-hurghada { border-left-color: var(--sea); }
.day.compact { box-shadow: none; border: 0; padding: 0; overflow: visible; border-radius: 0; }
.day.is-today { outline: 3px dashed var(--terra); outline-offset: 3px; }
.day-head { display: flex; gap: .8rem; align-items: flex-start; min-width: 0; }
.day-title h3 { overflow-wrap: anywhere; }
.day-title { flex: 1; min-width: 0; }
.day-date { font-size: .8rem; font-weight: 800; color: var(--muted); }
.day-date::first-letter { text-transform: uppercase; }
.day-wx { text-align: center; min-width: 56px; flex: none; }
.wx-e { font-size: 1.6rem; line-height: 1; } .wx-t { font-weight: 800; } .wx-t small { color: var(--muted); font-weight: 600; }
.wx-s { font-size: .66rem; color: var(--muted); }
.timeline { list-style: none; padding: 0; margin: .8rem 0 0; }
.timeline li { display: flex; gap: .7rem; padding: .35rem 0; border-top: 1px dashed var(--line); }
.tl-text { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.tl-time { flex: 0 0 88px; font-size: .8rem; font-weight: 800; color: var(--terra-t); padding-top: .1rem; }
.notes { margin-top: .6rem; }
.notes summary { cursor: pointer; font-weight: 800; color: var(--muted); }
.notes textarea { width: 100%; min-height: 90px; margin-top: .5rem; border-radius: 12px; border: 2px solid var(--rand); background: var(--bg); color: var(--ink); padding: .6rem; font: inherit; resize: vertical; }

/* ---------- getekende covers: dagkaarten en Ontdek (dayCover() en sightCover() in js/art.js) ---------- */
.art { position: relative; overflow: hidden; background: linear-gradient(180deg, var(--sky1), var(--sky2) 62%, var(--sky3)); }
.day-cover { height: 104px; margin: -1rem -1rem .9rem; }
.day-cover svg { display: block; width: 100%; height: 100%; overflow: visible; }
.day.compact .day-cover { margin: 0 0 .8rem; border-radius: 14px; height: 92px; }
@media (min-width: 720px) { .day-cover { height: 150px; } .day.compact .day-cover { height: 110px; } }
.cover-vlucht, .cover-busje, .cover-strand, .cover-lagune, .cover-dolfijn, .cover-std, .cover-pyloon, .cover-terras { background: linear-gradient(180deg, var(--day1), var(--day2)); }
.cover-terug, .cover-woestijn, .cover-luxortempel, .cover-nijl, .cover-moskee, .cover-marina { background: linear-gradient(180deg, var(--dusk1), var(--dusk2) 58%, var(--dusk3)); }
.cover-rif, .cover-snorkel, .cover-aquarium, .cover-semisub { background: linear-gradient(180deg, color-mix(in srgb, var(--sea1) 80%, #fff), var(--sea1) 40%, var(--sea2)); }
.cover-emoji { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 60px; height: 60px; display: grid; place-items: center; font-size: 1.9rem; border-radius: 50%;
  background: var(--card); border: 3px solid var(--gold); box-shadow: 0 3px 0 rgba(0, 0, 0, .15); font-family: 'Noto Sans Egyptian Hieroglyphs', sans-serif; }
/* kleurklassen voor de tekeningen */
.k-sand { fill: var(--sand); } .k-sand-s { fill: var(--sand-s); } .k-sea { fill: var(--sea1); } .k-sea2 { fill: var(--sea2); }
.k-gold { fill: var(--gold-2); } .k-lapis { fill: var(--lapis); } .k-terra { fill: var(--terra); } .k-cloud { fill: var(--cloud); }
.k-ink { fill: #2b1d0e; } .k-wit { fill: var(--wit); } .k-pyr { fill: var(--pyr1); } .k-pyr-s { fill: var(--pyr1s); }
.k-zon { fill: var(--sunc); } .k-gloed { opacity: .32; } .k-glas { fill: var(--glas); } .k-groen { fill: var(--palm); }
.k-rots { fill: color-mix(in srgb, var(--terra) 42%, var(--sand-s)); } .k-rots2 { fill: color-mix(in srgb, var(--terra) 26%, var(--sand)); opacity: .8; }
.k-road { fill: var(--road); } .k-streep { fill: none; stroke: var(--gold-2); stroke-width: 1.6; stroke-dasharray: 12 12; }
.k-stam { fill: none; stroke: var(--camel-s); stroke-width: 3.4; stroke-linecap: round; } .k-stamkleur { fill: var(--camel-s); }
.k-schaduw { fill: rgba(40, 20, 60, .16); } .k-grondschaduw { fill: rgba(40, 20, 0, .2); } .k-raam { fill: rgba(40, 20, 30, .5); }
.k-spoor { fill: none; stroke: var(--wit); stroke-width: 2; stroke-dasharray: 2 6; stroke-linecap: round; opacity: .8; }
.k-touw { fill: none; stroke: var(--camel-s); stroke-width: .6; }
.k-golfje, .k-spiegel { fill: none; stroke: var(--wit); stroke-width: 1.4; stroke-linecap: round; opacity: .5; }
.k-zacht { opacity: .5; } .k-schuim { fill: var(--wit); opacity: .8; } .k-diep { opacity: .55; }
.k-straal { fill: #fff; opacity: .1; } .k-bel { fill: rgba(255, 255, 255, .14); stroke: var(--wit); stroke-width: .7; opacity: .85; }
.k-koraal { fill: none; stroke: var(--terra); stroke-width: 3.4; stroke-linecap: round; stroke-linejoin: round; }
.k-wier { fill: none; stroke: var(--palm); stroke-width: 2.6; stroke-linecap: round; } .k-lijn { fill: none; stroke: rgba(60, 30, 0, .3); stroke-width: 1; stroke-linecap: round; }
.k-stof { fill: var(--sand); opacity: .75; } .k-meeuw { fill: none; stroke: var(--ink); stroke-width: 1; stroke-linecap: round; opacity: .55; }
.k-huis1 { fill: var(--wit); } .k-huis2 { fill: color-mix(in srgb, var(--terra) 62%, var(--wit)); } .k-huis3 { fill: color-mix(in srgb, var(--gold-2) 62%, var(--wit)); }
.k-dolfijn { fill: color-mix(in srgb, var(--lapis) 58%, #8a97ad); } .k-dolfijn-s { fill: color-mix(in srgb, var(--lapis) 70%, #333); } .k-buik { fill: var(--wit); opacity: .85; } .k-spat { fill: var(--wit); }
.k-haai { fill: color-mix(in srgb, var(--lapis) 28%, #7f8a99); } .k-haai-s { fill: color-mix(in srgb, var(--lapis) 35%, #4c5463); }
.k-scarab { fill: color-mix(in srgb, var(--lapis) 60%, var(--sea1)); } .k-reliëf { fill: none; stroke: var(--pyr1s); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.k-muur { fill: none; stroke: var(--pyr1); stroke-width: 3.4; stroke-linejoin: round; } .k-muur-s { fill: none; stroke: var(--pyr1s); stroke-width: 3.4; stroke-linejoin: round; }
.k-noot { fill: none; stroke: var(--wit); stroke-width: 1.3; stroke-linecap: round; }
.k-silhouet { fill: rgba(20, 14, 30, .78); }
.k-wand { fill: color-mix(in srgb, var(--pyr1) 70%, var(--bg)); } .k-wand-s { fill: rgba(40, 20, 0, .08); }
.k-vloer { fill: color-mix(in srgb, var(--pyr1s) 80%, #2b1d0e); } .k-vloer-s { fill: rgba(0, 0, 0, .18); }
.k-sokkel { fill: color-mix(in srgb, var(--wit) 85%, var(--pyr1)); } .k-sokkel-s { fill: var(--wit); }
.k-spot { fill: var(--sunc); opacity: .22; } .k-vitrine { fill: var(--glas); opacity: .28; stroke: var(--wit); stroke-width: .8; }
.k-glans { fill: none; stroke: var(--wit); stroke-width: 1.2; stroke-linecap: round; opacity: .7; }
.k-strepen { fill: none; stroke: var(--lapis); stroke-width: 1.6; } .k-ureus { fill: none; stroke: var(--gold-2); stroke-width: 1.8; stroke-linecap: round; }
.k-faience { fill: color-mix(in srgb, var(--sea1) 70%, var(--lapis)); }
.k-huid { fill: color-mix(in srgb, var(--camel) 45%, var(--wit)); } .k-masker { fill: none; stroke: var(--ink); stroke-width: 1; }
.k-snorkel { fill: none; stroke: var(--gold-2); stroke-width: 1.8; stroke-linecap: round; }
.k-oppervlak { fill: none; stroke: var(--wit); stroke-width: 2; opacity: .85; } .k-lucht { fill: var(--day2); } .k-lucht2 { fill: var(--day1); opacity: .5; }
.k-licht { fill: var(--sunc); } .k-snoer { fill: none; stroke: var(--camel-s); stroke-width: .7; }
.k-tunnel { fill: color-mix(in srgb, var(--sea2) 45%, #0b0a1e); } .k-rib { fill: none; stroke: var(--wit); stroke-width: 2.2; opacity: .35; }
.k-reling { fill: none; stroke: color-mix(in srgb, var(--wit) 60%, transparent); stroke-width: 1.6; stroke-linecap: round; }
.k-romp { fill: color-mix(in srgb, var(--gold-2) 70%, var(--terra)); } .k-raamrand { fill: var(--wit); }
/* Subtiele beweging: staat stil tot de cover in beeld is (watchCovers() in app.js zet .in-view). */
.art .anim { animation: cover-float 5s ease-in-out infinite alternate paused; transform-box: fill-box; transform-origin: 50% 50%; }
.art.in-view .anim { animation-play-state: running; }
.art .a-float { animation-name: cover-float; } /* zweven: de standaardanimatie van .anim, hier expliciet gemaakt */
.art .a-traag { animation-duration: 7s; } .art .a-laat { animation-delay: -2.6s; }
.art .a-drift { animation-name: cover-drift; animation-duration: 9s; }
.art .a-roll { animation-name: cover-roll; animation-duration: .5s; }
.art .a-road { animation-name: cover-road; animation-duration: .7s; animation-timing-function: linear; animation-direction: normal; }
.art .a-zwem { animation-name: cover-zwem; animation-duration: 6s; } .art .a-zwem.a-traag { animation-duration: 8s; }
.art .a-bel { animation-name: cover-bel; animation-duration: 4s; animation-timing-function: ease-in; animation-direction: normal; }
.art .a-wuif { animation-name: cover-wuif; animation-duration: 4s; transform-origin: 50% 100%; }
.art .a-stof { animation-name: cover-stof; animation-duration: 1.4s; animation-direction: normal; transform-origin: 100% 100%; }
.art .a-sprong { animation-name: cover-sprong; animation-duration: 2.6s; }
.art .a-flonker { animation-name: cover-flonker; animation-duration: 2.4s; }
@keyframes cover-float { from { transform: translateY(1.5px); } to { transform: translateY(-2.5px); } }
@keyframes cover-drift { from { transform: translateX(-5px); } to { transform: translateX(7px); } }
@keyframes cover-roll { from { transform: translateY(0); } to { transform: translateY(-.7px); } }
@keyframes cover-road { from { transform: translateX(0); } to { transform: translateX(-24px); } }
@keyframes cover-zwem { from { transform: translate(-5px, 1px); } to { transform: translate(6px, -2px); } }
@keyframes cover-bel { from { transform: translateY(5px); opacity: 1; } to { transform: translateY(-14px); opacity: 0; } }
@keyframes cover-wuif { from { transform: rotate(-1.5deg); } to { transform: rotate(2deg); } }
@keyframes cover-stof { from { transform: scale(.8); opacity: .9; } to { transform: scale(1.12) translateX(-5px); opacity: .25; } }
@keyframes cover-flonker { from { opacity: 1; } to { opacity: .35; } }
@keyframes cover-sprong { from { transform: translate(-5px, 3px) rotate(-5deg); } to { transform: translate(5px, -3px) rotate(6deg); } }

/* ---------- ontdek ---------- */
.filters { display: grid; grid-template-columns: minmax(0, 1fr); gap: .6rem; margin-bottom: 1rem; }
.seg { display: flex; background: var(--bg2); border-radius: 999px; padding: 4px; gap: 2px; width: max-content; max-width: 100%; overflow-x: auto; scrollbar-width: none; }
.seg::-webkit-scrollbar { display: none; }
.seg button { flex: none; white-space: nowrap; border: 0; background: transparent; padding: .45rem .9rem; border-radius: 999px; font-weight: 800; font-size: .9rem; }
.seg button.on { background: var(--card); box-shadow: inset 0 0 0 2px var(--rand), 0 2px 6px rgba(0,0,0,.1); }
.chips { display: flex; gap: .4rem; flex-wrap: wrap; }
.chips button { border: 2px solid var(--line); background: var(--card); padding: .3rem .75rem; border-radius: 999px; font-weight: 700; font-size: .85rem; }
.chips button.on { background: var(--lapis); color: var(--on-accent); border-color: var(--lapis); }
.sights { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(min(260px, 100%), 1fr)); }
.sight-body h3 { padding-right: .2rem; overflow-wrap: anywhere; }
.sight { position: relative; background: var(--card); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); border: 2px solid var(--line); cursor: pointer; transition: transform .15s; }
.sight:hover, .sight:focus-visible { transform: translateY(-3px); }
.sight:focus-visible { outline: 3px solid var(--gold-t); outline-offset: 2px; }
.sight-img, .detail-img { height: 150px; }
.sight-img svg, .detail-img svg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.sight-body { padding: .8rem 1rem 1rem; }
.sight-desc { margin: .4rem 0 0; font-size: .92rem; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.meta { font-size: .82rem; color: var(--muted); margin: 0; display: flex; gap: .35rem; flex-wrap: wrap; align-items: center; }
.heart { position: absolute; top: 8px; right: 8px; border: 0; background: rgba(255,255,255,.9); width: 38px; height: 38px; border-radius: 50%; font-size: 1.1rem; box-shadow: 0 2px 6px rgba(0,0,0,.15); }
.must { position: absolute; top: 10px; left: 10px; background: var(--gold-2); color: #2b1d0e; font-size: .75rem; font-weight: 800; padding: .15rem .55rem; border-radius: 999px; }

.dialog { border: 0; padding: 0; border-radius: 22px; width: min(640px, calc(100% - 24px)); max-height: 88vh; background: var(--card); color: var(--ink); box-shadow: 0 20px 60px rgba(0,0,0,.4); }
.dialog::backdrop { background: rgba(30, 20, 5, .55); backdrop-filter: blur(2px); }
.detail { position: relative; }
.detail-img { height: 220px; }
@media (min-width: 600px) { .detail-img { height: 260px; } } /* breed kader: hoger, zodat 'slice' de toppen niet afsnijdt */
.detail-body { padding: 1rem 1.2rem 1.4rem; }
.detail-body h2 { font-size: 1.7rem; margin: .4rem 0; }
.close { position: absolute; top: 10px; right: 10px; z-index: 2; width: 38px; height: 38px; border-radius: 50%; border: 0; background: rgba(255,255,255,.92); color: #2b1d0e; font-weight: 800; }
.tipbox { background: color-mix(in srgb, var(--gold) 15%, transparent); border-left: 4px solid var(--gold); padding: .6rem .8rem; border-radius: 10px; }
.wiki { margin-top: 1rem; padding: .8rem; border-radius: 12px; background: var(--bg2); }
.wiki h4 { margin: 0 0 .3rem; }
.wiki p { margin: 0 0 .4rem; font-size: .92rem; }

/* ---------- kaart ---------- */
.map { height: min(65vh, calc(100dvh - 300px)); min-height: 340px; border-radius: var(--radius); overflow: hidden; isolation: isolate; border: 3px solid var(--gold); box-shadow: var(--shadow); background: var(--bg2); display: grid; place-items: center; }
/* kaartpagina: kaart vult het scherm, de pagina zelf scrollt niet (niet bij lage schermen, zoals een telefoon in landschap) */
@media (min-height: 520px) {
  body[data-route="kaart"] { height: 100vh; height: 100dvh; display: flex; flex-direction: column; overflow: hidden; }
  body[data-route="kaart"] .foot { display: none; }
  body[data-route="kaart"] .view { flex: 1; min-height: 0; width: 100%; display: flex; flex-direction: column; padding-top: 8px; padding-bottom: 8px; }
  body[data-route="kaart"] .page { flex: 1; min-height: 0; display: flex; flex-direction: column; }
  body[data-route="kaart"] .map { flex: 1; height: auto; min-height: 0; }
  body[data-route="kaart"] .map-seg { flex: none; }
}
/* compacte kop op de kaartpagina */
body[data-route="kaart"] .page-head { margin: 0 0 .5rem; gap: .6rem; }
body[data-route="kaart"] .page-head h1 { font-size: 1.3rem; }
body[data-route="kaart"] .ph-emoji { width: 36px; height: 36px; font-size: 1.2rem; }
body[data-route="kaart"] .page-head p { font-size: .78rem; margin: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
body[data-route="kaart"] .map-seg { margin-bottom: .5rem; }
.map-seg { margin-bottom: .8rem; }
.emoji-pin span { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50% 50% 50% 4px; background: #fffaf0; border: 2px solid #c9962b; font-size: 1.15rem; box-shadow: 0 3px 8px rgba(0,0,0,.25); }
.pin-hurghada span { border-color: #0f9b9b; }
.pin-hotel span { background: #1f3c88; border-color: #1f3c88; }
.pin-air span { background: #eee; border-color: #888; }
.leaflet-popup-content { font: 14px/1.4 Nunito, sans-serif; }

/* ---------- weer ---------- */
.wx-city.leg-luxor { border-top: 6px solid var(--gold); } .wx-city.leg-hurghada { border-top: 6px solid var(--sea); }
.wx-now { display: flex; align-items: center; gap: .8rem; margin-bottom: .8rem; flex-wrap: wrap; }
.wx-now .big { font-size: 2.6rem; }
.wx-strip { display: flex; gap: .5rem; overflow-x: auto; padding-bottom: .5rem; scroll-snap-type: x mandatory; }
.wx-day { flex: 0 0 96px; scroll-snap-align: start; text-align: center; background: var(--bg2); border-radius: 14px; padding: .6rem .3rem; border: 2px solid transparent; }
.wx-day.fc { border-color: var(--gold); }
.wx-day.sea { flex-basis: 108px; }
.wx-day .d { font-size: .78rem; font-weight: 800; }
.wx-day .d::first-letter { text-transform: uppercase; }
.wx-day .e { font-size: 1.8rem; } .wx-day .t { font-weight: 800; } .wx-day .t small { color: var(--muted); }
.wx-day .s, .wx-day .uv, .sun-times { font-size: .7rem; color: var(--muted); }
.wx-day .uv { font-weight: 800; color: var(--terra-t); }

/* ---------- geld ---------- */
.rate-line { font-size: 1.05rem; }
.conv { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: .5rem; align-items: end; }
.conv label span { display: block; font-weight: 800; font-size: .85rem; color: var(--muted); }
.conv input, .big-input, .add-item input { width: 100%; font: 800 1.4rem Nunito, sans-serif; padding: .6rem .8rem; border-radius: 14px; border: 2px solid var(--rand); background: var(--bg); color: var(--ink); }
.conv input:focus, .big-input:focus, .add-item input:focus { outline: 3px solid var(--gold-t); border-color: var(--gold-t); }
::placeholder { color: var(--muted); opacity: 1; }
.swap { border: 0; background: var(--bg2); width: 40px; height: 48px; border-radius: 12px; font-size: 1.2rem; pointer-events: none; }
.quick { margin-top: .8rem; }
.tip-row { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; gap: .6rem; align-items: center; padding: .55rem 0; border-top: 1px dashed var(--line); }
.tip-row > div { min-width: 0; overflow-wrap: anywhere; hyphens: auto; }
.tip-e { font-size: 1.6rem; } .tip-amt { text-align: right; }
ol.nice { padding-left: 1.3rem; } ol.nice li { margin-bottom: .4rem; }

/* ---------- praktisch ---------- */
.clocks { display: flex; justify-content: space-around; align-items: center; gap: .5rem; text-align: center; }
.clocks > div { min-width: 0; }
.clocks span { display: block; font-weight: 800; color: var(--muted); font-size: .85rem; }
.clocks b { font-family: 'Lilita One'; font-weight: 400; font-size: 2rem; }
.ankh { font-family: 'Noto Sans Egyptian Hieroglyphs', sans-serif; font-size: 2.4rem; color: var(--gold); }
.info p { margin: 0; }
.emergency { display: grid; gap: .5rem; grid-template-columns: repeat(auto-fill, minmax(min(250px, 100%), 1fr)); }
.emergency a { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: .1rem .6rem; padding: .7rem .9rem; border-radius: 12px; background: color-mix(in srgb, var(--terra) 14%, transparent); color: var(--ink); }
.emergency span { min-width: 0; }
.emergency b { color: var(--terra-t); white-space: nowrap; margin-left: auto; }
.prayer { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: .5rem; }
.prayer div { background: var(--bg2); border-radius: 12px; padding: .5rem .7rem; display: flex; flex-direction: column; }
.prayer b { font-family: 'Lilita One'; font-weight: 400; font-size: 1.4rem; }

/* ---------- reis & hotels ---------- */
.sec-title { margin: 1.4rem 0 .7rem; }
.trip-card h3 { overflow-wrap: anywhere; }
.trip-kicker { margin: 0 0 .5rem; font-size: .82rem; font-weight: 800; color: var(--muted); display: flex; flex-wrap: wrap; gap: .4rem; align-items: center; }
.trip-kicker::first-letter { text-transform: uppercase; }
.flight { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: .6rem; align-items: center; }
.f-end { display: flex; flex-direction: column; min-width: 0; }
.f-end.right { text-align: right; align-items: flex-end; }
.f-end b { font-family: 'Lilita One', sans-serif; font-weight: 400; font-size: 2rem; line-height: 1; }
.f-end .code { font-weight: 800; color: var(--lapis); letter-spacing: 1px; }
.f-end small { color: var(--muted); font-size: .78rem; overflow-wrap: anywhere; }
.f-mid { display: flex; flex-direction: column; align-items: center; color: var(--muted); font-size: .75rem; white-space: nowrap; }
.f-mid span { font-size: 1.5rem; }
.facts { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: .3rem .9rem; margin: .6rem 0; }
.facts dt { font-weight: 800; color: var(--muted); font-size: .85rem; padding-top: .1rem; }
.facts dd { margin: 0; overflow-wrap: anywhere; }
.stays { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr)); }
.stays .card { margin-bottom: 0; border-left: 8px solid var(--gold); }
.stays .card.leg-hurghada { border-left-color: var(--sea); }

/* ---------- woordjes ---------- */
.phrases { display: grid; gap: .6rem; }
@media (min-width: 720px) { .phrases { grid-template-columns: 1fr 1fr; } }
.phrase { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) auto; gap: .7rem; align-items: center; background: var(--card); border: 2px solid var(--line); border-radius: 16px; padding: .7rem .9rem; box-shadow: var(--shadow); }
.phrase > div { min-width: 0; overflow-wrap: anywhere; }
.ph-nl { font-weight: 800; } .ph-say { color: var(--terra-t); font-weight: 700; font-style: italic; }
.ph-ar { font-family: 'Noto Naskh Arabic', serif; font-size: 1.25rem; color: var(--lapis); text-align: right; }
.speak { border: 0; background: var(--bg2); border-radius: 50%; width: 42px; height: 42px; font-size: 1.1rem; }

/* ---------- hiërogliefen ---------- */
.cartouche-wrap { display: flex; justify-content: center; padding: 1.5rem 0; }
.cartouche { font-family: 'Noto Sans Egyptian Hieroglyphs', sans-serif; font-size: 3rem; color: var(--lapis); min-height: 120px; min-width: 120px;
  display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: .1rem .3rem; padding: 1rem 2rem; max-width: calc(100% - 24px); margin-right: 24px;
  border: 6px solid var(--gold); border-radius: 999px; background: color-mix(in srgb, var(--gold) 12%, var(--card)); position: relative;
  box-shadow: inset 0 0 0 3px var(--card), inset 0 0 0 5px var(--gold); }
.cartouche::after { content: ''; position: absolute; right: -18px; top: 15%; bottom: 15%; width: 8px; background: var(--gold); border-radius: 4px; }
.cartouche span { animation: pop .35s backwards; } .cartouche .ph { opacity: .3; }
@keyframes pop { from { transform: scale(0) rotate(-20deg); opacity: 0; } }
.legend-glyphs { display: flex; flex-wrap: wrap; gap: .5rem; justify-content: center; }
.legend-glyphs div { display: flex; flex-direction: column; align-items: center; background: var(--bg2); border-radius: 12px; padding: .4rem .6rem; min-width: 64px; }
.legend-glyphs .lg { font-family: 'Noto Sans Egyptian Hieroglyphs', sans-serif; font-size: 1.6rem; color: var(--lapis); }
.legend-glyphs small { font-size: .68rem; color: var(--muted); }

/* ---------- quiz ---------- */
.quiz h2 { font-size: 1.5rem; }
.answers { display: grid; gap: .6rem; }
@media (min-width: 600px) { .answers { grid-template-columns: 1fr 1fr; } }
.answers button { text-align: left; padding: .9rem 1rem; border-radius: 14px; border: 2px solid var(--line); background: var(--bg); font-weight: 800; transition: transform .1s; }
.answers button:hover:not(:disabled) { transform: translateY(-2px); border-color: var(--gold); }
.answers button.right { background: var(--ok); color: #fff; border-color: var(--ok); }
.answers button.wrong { background: var(--terra); color: var(--on-accent); border-color: var(--terra); animation: shake .3s; }
@keyframes shake { 25% { transform: translateX(-6px); } 75% { transform: translateX(6px); } }
.progress { height: 10px; background: var(--bg2); border-radius: 999px; overflow: hidden; margin-bottom: .6rem; }
.progress.big { height: 16px; border: 2px solid var(--line); }
.progress div, #food-bar { height: 100%; background: linear-gradient(90deg, var(--gold), var(--terra)); border-radius: 999px; transition: width .4s; }
.quiz-end { text-align: center; } .quiz-end .big { font-size: 4rem; }

/* ---------- bingo & paklijst ---------- */
.bingo { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: .6rem; }
.bingo-cell { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; gap: .2rem; padding: .9rem .6rem; border-radius: 16px; border: 2px dashed var(--line); background: var(--card); }
.bingo-cell .be { font-size: 2.2rem; } .bingo-cell small { color: var(--muted); font-size: .75rem; }
.bingo-cell .check { position: absolute; top: 6px; right: 8px; width: 26px; height: 26px; border-radius: 50%; background: var(--ok); color: #fff; font-weight: 800; display: none; place-items: center; }
.bingo-cell.on { border-style: solid; border-color: var(--ok); background: color-mix(in srgb, var(--ok) 10%, var(--card)); }
.bingo-cell.on .check { display: grid; animation: pop .3s; }
.add-item { display: flex; gap: .5rem; margin: 0 0 1rem; } .add-item input { font-size: 1rem; }
.pack h3 { margin-bottom: .5rem; }
.check-row { display: flex; align-items: center; gap: .6rem; padding: .4rem 0; border-top: 1px dashed var(--line); cursor: pointer; }
.check-row input { width: 20px; height: 20px; accent-color: var(--gold); flex: none; }
.check-row span { flex: 1; } .check-row.on span { text-decoration: line-through; color: var(--muted); }
.del { border: 0; background: transparent; color: var(--muted); }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }
@media (max-width: 420px) {
  .page-head h1 { font-size: 1.6rem; } .ph-emoji { width: 52px; height: 52px; font-size: 1.8rem; }
  .cd-box { width: 60px; } .cd-box b { font-size: 1.5rem; }
  .tl-time { flex-basis: 64px; }
  .clocks b { font-size: 1.5rem; } .ankh { font-size: 1.8rem; }
  .f-end b { font-size: 1.6rem; }
  .tip-row { grid-template-columns: 30px minmax(0, 1fr) auto; gap: .5rem; } .tip-e { font-size: 1.35rem; }
  .cartouche { font-size: 2.3rem; padding: .8rem 1.4rem; }
}
