/* =========================================================
   Egypte 2026 — speels Egyptisch thema
   ========================================================= */
:root {
  --bg: #fbf3e0;            /* papyrus */
  --bg2: #f3e2bb;           /* zand */
  --card: #fffaf0;
  --ink: #2b1d0e;
  --muted: #7a6550;
  --gold: #c9962b;
  --gold-2: #e8b93c;
  --lapis: #1f3c88;
  --sea: #0f9b9b;
  --terra: #c2522d;
  --line: #e6d3a8;
  --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;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #15112a; --bg2: #1f1838; --card: #241d40; --ink: #f6ead2; --muted: #b6a68e;
    --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);
    --sky1: #2b2160; --sky2: #3d2b73; --sky3: #6a3d7a;
    --pyr1: #5a4632; --pyr1s: #3e2f22; --pyr2: #4e3c2b; --pyr2s: #34281c;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #15112a; --bg2: #1f1838; --card: #241d40; --ink: #f6ead2; --muted: #b6a68e;
  --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);
  --sky1: #2b2160; --sky2: #3d2b73; --sky3: #6a3d7a;
  --pyr1: #5a4632; --pyr1s: #3e2f22; --pyr2: #4e3c2b; --pyr2s: #34281c;
  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; }
.brand b { color: var(--gold); font-weight: 400; }
.brand-eye { font-family: 'Noto Sans Egyptian Hieroglyphs', sans-serif; font-size: 1.5rem; color: var(--lapis); }
.topnav { display: none; gap: .2rem; margin-left: auto; flex-wrap: wrap; }
.topnav a { 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; 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; display: grid; grid-template-columns: repeat(5, 1fr);
  background: var(--card); border-top: 3px solid var(--gold); padding: 4px 4px calc(4px + env(safe-area-inset-bottom)); }
.bottomnav a { display: flex; flex-direction: column; align-items: center; gap: 1px; padding: 6px 2px; color: var(--muted); font-size: .72rem; border-radius: 12px; }
.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: flex; } .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); }
.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) 60%, 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); } }
.pyramids { position: absolute; bottom: 0; left: 0; width: 100%; height: 45%; }
.p1 { fill: var(--pyr1); } .p1s { fill: var(--pyr1s); } .p2 { fill: var(--pyr2); } .p2s { fill: var(--pyr2s); } .p3 { fill: var(--pyr1s); }
.camel { position: absolute; bottom: 4px; font-size: 2rem; animation: walk 28s linear infinite; transform: scaleX(-1); }
@keyframes walk { from { left: -10%; } to { left: 105%; } }
.hero-inner { position: relative; padding: 2rem 1.3rem 7.5rem; text-align: center; color: #2b1d0e; }
.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); }
:root[data-theme="dark"] .hero-inner, :root[data-theme="dark"] .hero-title { color: #fff3d6; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .hero-inner, :root:not([data-theme="light"]) .hero-title { color: #fff3d6; } }
.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 { 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: 1fr 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-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; gap: 1rem; position: relative; }
.day { background: var(--card); border-radius: var(--radius); padding: 1rem; 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; }
.day.is-today { outline: 3px dashed var(--terra); outline-offset: 3px; }
.day-head { display: flex; gap: .8rem; align-items: flex-start; }
.day-badge { width: 52px; height: 52px; flex: none; border-radius: 50% 50% 50% 8px; display: grid; place-items: center; font-size: 1.6rem; background: var(--bg2); }
.day-title { flex: 1; min-width: 0; }
.day-date { font-size: .8rem; font-weight: 800; color: var(--muted); text-transform: capitalize; }
.day-wx { text-align: center; min-width: 64px; }
.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-time { flex: 0 0 88px; font-size: .8rem; font-weight: 800; color: var(--terra); 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(--line); background: var(--bg); color: var(--ink); padding: .6rem; font: inherit; resize: vertical; }

/* ---------- ontdek ---------- */
.filters { display: grid; gap: .6rem; margin-bottom: 1rem; }
.seg { display: inline-flex; background: var(--bg2); border-radius: 999px; padding: 4px; gap: 2px; width: max-content; max-width: 100%; }
.seg button { border: 0; background: transparent; padding: .45rem .9rem; border-radius: 999px; font-weight: 800; font-size: .9rem; }
.seg button.on { background: var(--card); box-shadow: 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: #fff; border-color: var(--lapis); }
:root[data-theme="dark"] .chips button.on { color: #15112a; }
.sights { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.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); outline: none; }
.sight-img, .detail-img { height: 150px; display: grid; place-items: center; background-size: cover; background-position: center;
  background-color: color-mix(in srgb, var(--gold) 30%, var(--bg2)); }
.leg-hurghada .sight-img, .leg-hurghada .detail-img { background-color: color-mix(in srgb, var(--sea) 30%, var(--bg2)); }
.sight-img.has-img .sight-emoji, .detail-img.has-img .sight-emoji { display: none; }
.sight-emoji { font-size: 3.5rem; filter: drop-shadow(0 4px 0 rgba(0,0,0,.1)); }
.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; }
.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; border: 3px solid var(--gold); box-shadow: var(--shadow); background: var(--bg2); display: grid; place-items: center; }
.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; text-transform: capitalize; }
.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); }

/* ---------- geld ---------- */
.rate-line { font-size: 1.05rem; }
.conv { display: grid; grid-template-columns: 1fr auto 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(--line); background: var(--bg); color: var(--ink); }
.conv input:focus, .big-input:focus, .add-item input:focus { outline: 3px solid var(--gold); border-color: var(--gold); }
.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 1fr auto; gap: .6rem; align-items: center; padding: .55rem 0; border-top: 1px dashed var(--line); }
.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; text-align: center; }
.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(200px, 1fr)); }
.emergency a { display: flex; justify-content: space-between; gap: .5rem; padding: .7rem .9rem; border-radius: 12px; background: color-mix(in srgb, var(--terra) 14%, transparent); color: var(--ink); }
.emergency b { color: var(--terra); white-space: nowrap; }
.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; }

/* ---------- woordjes ---------- */
.phrases { display: grid; gap: .6rem; }
@media (min-width: 720px) { .phrases { grid-template-columns: 1fr 1fr; } }
.phrase { display: grid; grid-template-columns: 1fr auto auto; gap: .7rem; align-items: center; background: var(--card); border: 2px solid var(--line); border-radius: 16px; padding: .7rem .9rem; box-shadow: var(--shadow); }
.ph-nl { font-weight: 800; } .ph-say { color: var(--terra); 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: 100%;
  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: #2fa36b; color: #fff; border-color: #2fa36b; }
.answers button.wrong { background: var(--terra); color: #fff; 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: #2fa36b; color: #fff; font-weight: 800; display: none; place-items: center; }
.bingo-cell.on { border-style: solid; border-color: #2fa36b; background: color-mix(in srgb, #2fa36b 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: 70px; }
  .cartouche { font-size: 2.3rem; padding: .8rem 1.4rem; }
}
