:root{
  --ink:#172632;--ink-2:#243744;--muted:#63727b;--paper:#f5f2eb;--card:#fffdf8;--line:#e6e0d4;
  --gold:#d5a64c;--gold-dark:#9a7027;--teal:#16877f;--teal-dark:#0e635e;--red:#b95045;
  --shadow:0 18px 50px rgba(22,34,45,.10);--radius:24px;--safe-bottom:env(safe-area-inset-bottom,0px)
}
*{box-sizing:border-box}
html{min-height:100%;background:var(--paper);scroll-behavior:smooth}
body{margin:0;min-height:100%;font-family:ui-rounded,"Avenir Next",Avenir,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--ink);background:radial-gradient(circle at 88% 0%,rgba(213,166,76,.13),transparent 28rem),var(--paper)}
button,a{font:inherit}button{cursor:pointer}
.app-shell{max-width:1040px;min-height:100dvh;margin:0 auto;display:flex;flex-direction:column;padding:0 18px calc(10px + var(--safe-bottom))}
.topbar{height:76px;display:flex;align-items:center;justify-content:space-between;gap:12px;border-bottom:1px solid rgba(23,38,50,.09);flex-shrink:0}
.brand{display:flex;align-items:center;gap:10px;text-decoration:none;color:var(--ink)}
.brand-mark{width:42px;height:42px;border-radius:14px;background:var(--ink);display:grid;place-items:center;box-shadow:0 6px 15px rgba(23,38,50,.18)}
.brand-mark svg{width:27px;height:27px;fill:none;stroke:var(--gold);stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.brand-text{display:grid;gap:1px;letter-spacing:.12em;font-size:12px}.brand-text strong{font-size:12px}.brand-text small{letter-spacing:.03em;color:var(--muted);font-size:10px}
.top-actions{display:flex;align-items:center;gap:8px}.status-pill{display:flex;align-items:center;gap:7px;padding:8px 11px;border:1px solid var(--line);border-radius:30px;background:rgba(255,253,248,.8);font-size:11px;font-weight:750;color:var(--muted);white-space:nowrap}.status-dot{width:7px;height:7px;border-radius:50%;background:#c58d32;box-shadow:0 0 0 3px rgba(197,141,50,.14)}.status-pill.ready .status-dot{background:var(--teal);box-shadow:0 0 0 3px rgba(22,135,127,.14)}.status-pill.offline .status-dot{background:#b95045;box-shadow:0 0 0 3px rgba(185,80,69,.14)}
.icon-button{width:38px;height:38px;border:1px solid var(--line);border-radius:13px;background:var(--card);color:var(--ink);font-size:20px;display:grid;place-items:center;box-shadow:0 4px 10px rgba(23,38,50,.04)}.icon-button:active,.button:active{transform:translateY(1px)}
.main-content{flex:1;padding:26px 0 30px;outline:none}.app-footer{display:flex;align-items:center;justify-content:space-between;color:#89939a;font-size:10px;letter-spacing:.1em;padding:12px 2px 0;border-top:1px solid rgba(23,38,50,.08)}.app-footer b{color:var(--gold-dark);font-weight:800}.text-button{border:0;background:none;color:var(--teal-dark);font-weight:750;font-size:11px;padding:8px 0}
.hero{position:relative;overflow:hidden;isolation:isolate;min-height:400px;border-radius:32px;background:linear-gradient(135deg,#14212d 0%,#213744 55%,#3c4b4d 100%);color:white;padding:34px;display:flex;flex-direction:column;justify-content:space-between;box-shadow:var(--shadow)}
.hero:before{content:"";position:absolute;z-index:-1;width:420px;height:420px;border:1px solid rgba(213,166,76,.35);border-radius:50%;right:-145px;top:-150px;box-shadow:0 0 0 28px rgba(213,166,76,.05),0 0 0 58px rgba(213,166,76,.035)}
.hero:after{content:"";position:absolute;z-index:-1;right:7%;bottom:-1px;width:min(43%,330px);height:220px;background:linear-gradient(180deg,rgba(213,166,76,.25),rgba(213,166,76,.03));clip-path:polygon(50% 0,94% 87%,100% 87%,100% 100%,0 100%,0 87%,6% 87%)}
.hero-eyebrow,.eyebrow{font-size:10px;font-weight:850;letter-spacing:.2em;text-transform:uppercase;color:var(--gold)}
.hero h1{font-family:Georgia,"Times New Roman",serif;font-weight:500;font-size:clamp(42px,8vw,78px);line-height:.96;letter-spacing:-.045em;max-width:580px;margin:15px 0 14px}.hero h1 em{font-weight:400;color:#e6c47f}.hero p{max-width:470px;color:rgba(255,255,255,.76);line-height:1.65;font-size:15px;margin:0}.hero-bottom{display:flex;align-items:end;justify-content:space-between;gap:18px;margin-top:38px}.hero-meta{display:flex;gap:16px;flex-wrap:wrap;color:rgba(255,255,255,.72);font-size:11px}.hero-meta span{display:flex;gap:7px;align-items:center}.hero-stamp{width:98px;height:98px;border:1px solid rgba(213,166,76,.55);border-radius:50%;display:grid;place-items:center;color:#e6c47f;text-align:center;font-family:Georgia,serif;font-size:13px;line-height:1.1;transform:rotate(9deg);flex-shrink:0}.hero-stamp b{font-size:22px;display:block;font-weight:500}
.button{border:0;border-radius:15px;background:var(--teal);color:white;padding:15px 19px;font-weight:850;font-size:13px;letter-spacing:.01em;display:inline-flex;gap:10px;align-items:center;justify-content:center;box-shadow:0 8px 18px rgba(22,135,127,.2);transition:.16s ease}.button:hover{background:var(--teal-dark)}.button.gold{background:var(--gold);color:var(--ink);box-shadow:0 8px 18px rgba(213,166,76,.22)}.button.dark{background:var(--ink);box-shadow:none}.button.secondary{background:#e8f2ef;color:var(--teal-dark);box-shadow:none}.button.ghost{background:transparent;color:var(--ink);border:1px solid var(--line);box-shadow:none}.button.full{width:100%}.button.small{padding:11px 14px;font-size:12px;border-radius:12px}
.home-grid{display:grid;grid-template-columns:1.2fr .8fr;gap:18px;margin-top:20px}.panel{background:var(--card);border:1px solid var(--line);border-radius:var(--radius);padding:22px;box-shadow:0 6px 24px rgba(23,38,50,.04)}.panel h2,.panel h3{margin:0 0 8px}.panel p{color:var(--muted);line-height:1.55;font-size:13px;margin:0}.panel-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:13px}.panel-heading h2{font-family:Georgia,serif;font-size:23px;font-weight:500}.tiny-label{font-size:9px;letter-spacing:.16em;text-transform:uppercase;color:var(--gold-dark);font-weight:850}
.progress-line{height:8px;background:#ece8df;border-radius:20px;overflow:hidden;margin:13px 0 8px}.progress-fill{height:100%;background:linear-gradient(90deg,var(--teal),#54b3a6);border-radius:20px;transition:width .25s}.progress-row{display:flex;justify-content:space-between;color:var(--muted);font-size:11px;font-weight:700}
.route-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin-top:15px}.route-item{display:flex;align-items:center;gap:10px;padding:10px;border:1px solid var(--line);border-radius:14px;background:#fffefa;min-width:0}.route-number{width:29px;height:29px;border-radius:10px;background:#f4ead4;color:var(--gold-dark);display:grid;place-items:center;font-weight:900;font-size:11px;flex-shrink:0}.route-copy{min-width:0}.route-copy b{display:block;font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.route-copy small{color:var(--muted);font-size:10px}
.step-layout{display:grid;grid-template-columns:minmax(0,1fr) 290px;gap:18px;align-items:start}.step-main{min-width:0}.step-side{position:sticky;top:14px;display:grid;gap:12px}.step-hero{position:relative;overflow:hidden;background:var(--ink);color:white;border-radius:27px;padding:26px 26px 24px;min-height:190px;box-shadow:var(--shadow)}.step-hero:after{content:"";position:absolute;right:-28px;bottom:-72px;width:230px;height:230px;border:1px solid rgba(213,166,76,.34);border-radius:50%;box-shadow:0 0 0 22px rgba(213,166,76,.05),0 0 0 48px rgba(213,166,76,.035)}.step-hero h1{font-family:Georgia,serif;font-size:clamp(33px,5vw,48px);font-weight:500;line-height:1.02;letter-spacing:-.03em;max-width:650px;margin:12px 0 8px;position:relative;z-index:1}.step-hero p{margin:0;color:rgba(255,255,255,.72);font-size:13px;line-height:1.5;max-width:570px;position:relative;z-index:1}.step-topline{display:flex;align-items:center;justify-content:space-between;gap:14px;position:relative;z-index:1}.step-number{font-size:10px;font-weight:850;letter-spacing:.18em;color:var(--gold);text-transform:uppercase}.room-tag{font-size:10px;font-weight:800;border:1px solid rgba(255,255,255,.25);border-radius:30px;padding:7px 10px;color:rgba(255,255,255,.83);white-space:nowrap}
.content-card{background:var(--card);border:1px solid var(--line);border-radius:22px;padding:20px;margin-top:14px}.content-card h2{font-family:Georgia,serif;font-weight:500;font-size:24px;margin:0 0 8px}.content-card p{font-size:13px;color:var(--muted);line-height:1.65;margin:0}.map-stack{display:grid;gap:13px;margin-top:15px}.map-unit{border:1px solid var(--line);border-radius:18px;overflow:hidden;background:#fbfaf6}.map-caption{padding:11px 13px;display:flex;justify-content:space-between;align-items:center;gap:10px}.map-caption strong{font-size:12px}.map-caption small{font-size:10px;color:var(--muted)}.map-image-button{display:block;width:100%;padding:0;border:0;background:#f0ede6}.map-image-button img{display:block;width:100%;height:auto;max-height:320px;object-fit:contain}.map-footnote{font-size:10px;color:var(--muted);line-height:1.5;margin-top:10px}
.audio-card{display:flex;gap:13px;align-items:flex-start;background:#eef5f2;border:1px solid #d5e7e1;border-radius:18px;padding:15px;margin-top:15px}.audio-icon{width:43px;height:43px;border-radius:14px;background:var(--teal);color:white;display:grid;place-items:center;font-size:20px;flex-shrink:0}.audio-copy{flex:1;min-width:0}.audio-copy h3{font-size:14px;margin:1px 0 4px}.audio-copy p{font-size:11px;color:#61756f;line-height:1.45;margin:0 0 9px}.audio-copy audio{width:100%;height:38px;display:block}.audio-missing{margin-top:10px;padding:11px 12px;border-radius:12px;background:#fff8e9;color:#806127;font-size:11px;line-height:1.5;border:1px solid #efe0bc}
.challenge{margin-top:14px;background:#fff8eb;border:1px solid #f0dfba;border-radius:17px;padding:15px}.challenge summary{font-size:12px;font-weight:850;color:#876326;cursor:pointer;list-style:none;display:flex;justify-content:space-between;align-items:center}.challenge summary::-webkit-details-marker{display:none}.challenge p{margin-top:11px;color:#6f6048;font-size:12px}.challenge .hint{font-size:10px;color:#947c54;margin-top:8px}
.look-card{background:linear-gradient(120deg,#fff5df,#fffaf0);border:1px solid #edd7a4;border-radius:20px;padding:19px;margin-top:14px}.look-card .look-icon{font-size:26px}.look-card h3{font-family:Georgia,serif;font-size:24px;font-weight:500;margin:8px 0 6px}.look-card p{font-size:13px;color:#786849;line-height:1.55;margin:0}.timer-display{font-variant-numeric:tabular-nums;font-size:28px;font-weight:900;color:var(--gold-dark);margin:10px 0}
.side-card{background:var(--card);border:1px solid var(--line);border-radius:20px;padding:17px}.side-card h3{font-family:Georgia,serif;font-weight:500;font-size:20px;margin:0 0 8px}.side-card p{font-size:11px;color:var(--muted);line-height:1.5;margin:0}.side-icon{font-size:23px;margin-bottom:8px}.side-actions{display:grid;gap:8px;margin-top:13px}
.step-navigation{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:17px}.step-navigation .button{flex:1}.step-navigation .button.ghost{flex:0 0 auto}
.completion-card{text-align:center;padding:28px 22px}.completion-medal{width:76px;height:76px;border-radius:50%;display:grid;place-items:center;margin:0 auto 14px;background:#f5e7c9;color:#94671e;font-size:32px;border:1px solid #ead6a8}.completion-card h2{font-size:31px}.completion-card p{max-width:520px;margin:0 auto}
.modal-root:empty{display:none}.modal-root{position:fixed;inset:0;z-index:20;background:rgba(13,24,32,.58);display:grid;place-items:center;padding:18px;backdrop-filter:blur(7px)}.modal{width:min(100%,520px);max-height:88dvh;overflow:auto;background:var(--card);border-radius:25px;padding:23px;box-shadow:0 25px 80px rgba(0,0,0,.25);animation:rise .18s ease}.modal-header{display:flex;justify-content:space-between;align-items:start;gap:16px;margin-bottom:14px}.modal-header h2{font-family:Georgia,serif;font-size:27px;font-weight:500;margin:0}.modal-close{border:0;background:#f1eee6;width:34px;height:34px;border-radius:11px;font-size:19px;color:var(--ink)}.modal p,.modal li{color:var(--muted);font-size:13px;line-height:1.6}.modal ol,.modal ul{padding-left:20px}.modal-actions{display:flex;gap:9px;flex-wrap:wrap;margin-top:18px}
.check-list{display:grid;gap:9px;margin:15px 0}.check-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:11px 12px;background:#f7f5ef;border:1px solid var(--line);border-radius:12px;font-size:12px}.check-state{font-size:10px;font-weight:850;letter-spacing:.07em}.check-state.ok{color:var(--teal-dark)}.check-state.bad{color:#a94c39}.install-section{border-top:1px solid var(--line);padding-top:16px;margin-top:16px}.install-section h3{font-size:17px;margin:0 0 8px}.toast{position:fixed;left:50%;bottom:calc(20px + var(--safe-bottom));transform:translate(-50%,20px);background:var(--ink);color:white;border-radius:30px;padding:12px 17px;font-size:12px;font-weight:750;box-shadow:var(--shadow);opacity:0;pointer-events:none;transition:.22s;z-index:40;max-width:calc(100% - 30px);text-align:center}.toast.show{opacity:1;transform:translate(-50%,0)}
.map-lightbox{width:min(100%,900px);background:#fffdf8;padding:12px;border-radius:20px}.map-lightbox img{width:100%;max-height:78dvh;object-fit:contain;display:block}.map-lightbox .map-caption{padding:8px 5px 2px}
.hidden{display:none!important}
@keyframes rise{from{opacity:0;transform:translateY(9px)}to{opacity:1;transform:translateY(0)}}
@media(max-width:760px){.app-shell{padding-left:13px;padding-right:13px}.topbar{height:66px}.status-pill{padding:7px 9px;font-size:10px}.icon-button{width:35px;height:35px}.main-content{padding:18px 0 24px}.hero{padding:25px 22px;min-height:370px;border-radius:26px}.hero h1{font-size:clamp(42px,12vw,62px)}.hero p{font-size:13px}.hero-bottom{align-items:start}.hero-stamp{width:78px;height:78px;font-size:11px}.hero-stamp b{font-size:18px}.home-grid{grid-template-columns:1fr}.step-layout{grid-template-columns:1fr}.step-side{position:static;grid-template-columns:1fr 1fr}.step-side .side-card:last-child{grid-column:1/-1}.step-hero{padding:23px 20px;min-height:180px}.step-hero h1{font-size:39px}.content-card{padding:17px}.map-image-button img{max-height:290px}.route-list{grid-template-columns:1fr 1fr}.app-footer{font-size:9px}}
@media(max-width:420px){.brand-text{font-size:10px}.status-pill span:last-child{max-width:62px;overflow:hidden;text-overflow:ellipsis}.top-actions{gap:5px}.hero-stamp{display:none}.hero-bottom{margin-top:32px}.step-side{grid-template-columns:1fr}.step-side .side-card:last-child{grid-column:auto}.step-navigation{flex-wrap:wrap}.step-navigation .button{min-width:46%}.step-navigation .button.ghost{order:3;flex:1}.route-list{grid-template-columns:1fr}.modal{padding:19px}.map-caption{align-items:flex-start;flex-direction:column;gap:4px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;animation:none!important;transition:none!important}}
.art-banner{position:relative;overflow:hidden;margin-top:14px;border-radius:20px;min-height:135px;background:#e8e1d4;border:1px solid var(--line);display:flex;align-items:center;justify-content:center}.art-banner img{display:block;width:100%;height:170px;object-fit:cover;object-position:center 42%;filter:saturate(.94)}.art-banner>span{position:absolute;left:13px;bottom:12px;padding:7px 9px;border-radius:9px;background:rgba(23,38,50,.82);color:#fff;font-size:8px;letter-spacing:.15em;font-weight:850}.art-symbol{min-height:138px;background:radial-gradient(circle at 70% 30%,rgba(213,166,76,.32),transparent 30%),linear-gradient(130deg,#dce8e1,#f4ead7);color:#9a7027}.art-symbol .symbol{font-size:78px;line-height:1;color:#8f6c32;text-shadow:0 5px 0 rgba(255,255,255,.45)}.art-symbol.gold-symbol{background:radial-gradient(circle at 70% 30%,rgba(255,255,255,.38),transparent 32%),linear-gradient(130deg,#253744,#6a5b3c)}.art-symbol.gold-symbol .symbol{color:#e7c475}.art-symbol.gold-symbol>span{background:rgba(16,27,35,.82)}
/* v0.02 refinements: compact mobile layout and one-line heading */
.step-hero h1{font-size:clamp(24px,4.4vw,43px);white-space:nowrap;max-width:100%;letter-spacing:-.035em}
.hero h1{font-size:clamp(31px,7vw,64px);white-space:nowrap;letter-spacing:-.05em}
.quest-copy{font-size:13px;color:var(--muted);line-height:1.6;margin:12px 0}
.route-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}
.route-item{padding:8px 9px;min-height:40px}
.route-copy b{white-space:normal}
.step-navigation{flex-direction:row-reverse}
.step-navigation .button.ghost{order:unset;flex:1}
@media(max-width:420px){.step-hero h1{font-size:clamp(21px,6.4vw,30px)}.hero h1{font-size:clamp(30px,9vw,39px)}.step-navigation{flex-wrap:nowrap}.step-navigation .button{min-width:0;flex:1}}


/* ==========================================================
   LOUVRE QUEST v0.03 — Grand musée, grande découverte
   Grotere typografie, luxe details en speelse kleuraccenten
   ========================================================== */
:root{
  --ink:#132737;--ink-2:#203b4b;--muted:#566873;--paper:#f3efe5;--card:#fffdf7;--line:#ded5c4;
  --gold:#e0b457;--gold-dark:#8b641f;--teal:#087f78;--teal-dark:#075f5b;--red:#bd624f;
  --shadow:0 18px 45px rgba(19,39,55,.12);--radius:25px
}
html{background:var(--paper)}
body{
  font-size:17px;
  background:
    radial-gradient(ellipse at 8% 12%,rgba(224,180,87,.16),transparent 24rem),
    radial-gradient(ellipse at 94% 42%,rgba(8,127,120,.10),transparent 28rem),
    linear-gradient(180deg,#f7f3e9 0%,#f1ede3 100%);
}
.app-shell{max-width:1080px;padding-left:20px;padding-right:20px}
.topbar{height:86px;border-bottom:1px solid rgba(19,39,55,.12)}
.brand{gap:13px}
.brand-mark{width:54px;height:54px;border-radius:18px;background:linear-gradient(145deg,#142b3b,#244b58);box-shadow:0 8px 20px rgba(19,39,55,.22)}
.brand-mark svg{width:34px;height:34px;stroke:#efc66c}
.brand-text{gap:3px;letter-spacing:.15em}
.brand-text strong{font-size:15px;font-weight:900}
.brand-text small{font-size:13px;color:#62717a}
.top-actions{gap:10px}
.status-pill{padding:10px 14px;font-size:13px;border-color:#e1d8c7;background:rgba(255,253,247,.93)}
.status-dot{width:9px;height:9px}
.icon-button{width:46px;height:46px;border-radius:16px;font-size:23px;background:#fffdf8;border-color:#e3dac9}
.main-content{padding:24px 0 26px}
.app-footer{font-size:12px;letter-spacing:.11em;padding-top:14px}
.text-button{font-size:13px;font-weight:850;padding:10px 2px}

/* Hero: rijk nachtblauw, goud en een speelse museumstempel */
.hero{
  min-height:335px;padding:34px 36px;border-radius:34px;
  background:
    radial-gradient(circle at 86% 25%,rgba(224,180,87,.23),transparent 13rem),
    radial-gradient(circle at 72% 100%,rgba(8,127,120,.28),transparent 19rem),
    linear-gradient(125deg,#102635 0%,#1a3949 58%,#315b5b 100%);
  box-shadow:0 22px 55px rgba(14,36,50,.19);
}
.hero:before{width:470px;height:470px;right:-150px;top:-190px;border-color:rgba(238,197,105,.5);box-shadow:0 0 0 22px rgba(238,197,105,.07),0 0 0 52px rgba(238,197,105,.04),0 0 0 82px rgba(238,197,105,.025)}
.hero:after{right:12%;bottom:0;width:min(37%,280px);height:170px;background:linear-gradient(180deg,rgba(239,196,103,.28),rgba(239,196,103,.04));opacity:.9}
.hero-eyebrow,.eyebrow{font-size:12px;letter-spacing:.22em;font-weight:950;color:#edc46e}
.hero h1{font-size:clamp(40px,7vw,72px);line-height:1.02;letter-spacing:-.04em;margin:17px 0 15px;max-width:100%;white-space:nowrap}
.hero h1 em{color:#f2cf81}
.hero p{font-size:18px;line-height:1.5;max-width:560px;color:rgba(255,255,255,.84)}
.hero-bottom{margin-top:26px;align-items:center}
.hero-meta{gap:13px 18px;font-size:13px;color:rgba(255,255,255,.88)}
.hero-meta span{gap:8px}
.hero-stamp{width:100px;height:100px;border:1.5px solid rgba(240,201,119,.8);color:#f4d58f;background:rgba(255,255,255,.045);box-shadow:0 0 0 7px rgba(239,196,103,.06);font-size:13px}
.hero-stamp b{font-size:24px}

/* Knoppen: groter, duidelijker en fijn aanraakbaar */
.button{font-size:16px;padding:16px 22px;border-radius:17px;font-weight:900;box-shadow:0 9px 20px rgba(8,127,120,.2)}
.button.gold{background:linear-gradient(135deg,#f0cd7b,#d9a843);color:#172c38;box-shadow:0 10px 24px rgba(224,180,87,.25)}
.button.gold:hover{background:linear-gradient(135deg,#f5d991,#dfb65e)}
.button.secondary{background:linear-gradient(135deg,#e3f2ed,#d2e8df);color:#075f5b;border:1px solid #c5e0d6}
.button.ghost{border:1.5px solid #d8cebd;background:rgba(255,253,247,.72)}
.button.small{font-size:14px;padding:12px 16px;border-radius:14px}

/* Panels en routekaartjes */
.home-grid{gap:16px;margin-top:17px}
.panel,.content-card,.side-card{background:rgba(255,253,247,.96);border-color:#ded5c4;box-shadow:0 9px 27px rgba(19,39,55,.055)}
.panel{padding:23px;border-radius:26px}
.panel-heading{margin-bottom:14px}
.panel-heading h2{font-size:27px;color:#172e3b}
.tiny-label{font-size:11px;letter-spacing:.18em;color:#946e2d}
.panel p{font-size:16px;line-height:1.55;color:#586873}
.quest-copy{font-size:16px;line-height:1.55;margin:10px 0 13px}
.progress-row{font-size:14px;color:#586873}
.progress-line{height:11px;background:#e9e3d7;margin:12px 0 10px}
.progress-fill{background:linear-gradient(90deg,#087f78,#42b5a4 70%,#e4b855)}
.route-list{gap:10px;margin-top:15px}
.route-item{padding:11px 12px;min-height:52px;border-radius:16px;background:linear-gradient(145deg,#fffefa,#f7f1e5);border-color:#e6dece;box-shadow:0 4px 12px rgba(19,39,55,.04);transition:transform .18s ease,box-shadow .18s ease}
.route-item:hover{transform:translateY(-2px);box-shadow:0 8px 17px rgba(19,39,55,.09)}
.route-number{width:36px;height:36px;border-radius:13px;background:linear-gradient(145deg,#f5e5bd,#e8c879);color:#684b19;font-size:13px;box-shadow:inset 0 1px 0 rgba(255,255,255,.8)}
.route-item:nth-child(3n+2) .route-number{background:linear-gradient(145deg,#d9eee6,#a8d5c7);color:#075f5b}
.route-item:nth-child(3n) .route-number{background:linear-gradient(145deg,#f6ded4,#e8b5a4);color:#894535}
.route-copy b{font-size:14px;white-space:normal;line-height:1.25;color:#203541}
.route-copy small{font-size:12px}

/* Iedere stop krijgt meer karakter */
.step-layout{gap:16px}
.step-hero{
  padding:24px 26px 23px;min-height:160px;border-radius:29px;
  background:
    radial-gradient(circle at 92% 5%,rgba(224,180,87,.24),transparent 11rem),
    linear-gradient(130deg,#112b3b 0%,#1d4050 66%,#28665f 100%);
  box-shadow:0 17px 38px rgba(19,39,55,.17)
}
.step-hero:after{border-color:rgba(239,198,112,.54);box-shadow:0 0 0 18px rgba(239,198,112,.06),0 0 0 42px rgba(239,198,112,.035)}
.step-topline{align-items:center}
.step-number{font-size:12px;letter-spacing:.2em;color:#f0c66f}
.room-tag{font-size:12px;padding:8px 12px;border-color:rgba(255,255,255,.34);background:rgba(255,255,255,.07);color:#fff;letter-spacing:.02em}
.step-hero h1{font-size:clamp(32px,5.2vw,52px);line-height:1.04;letter-spacing:-.035em;margin:12px 0 7px;white-space:nowrap;max-width:100%}
.step-hero h1.long-title{font-size:clamp(22px,4vw,37px);letter-spacing:-.04em}
.step-hero p{font-size:17px;line-height:1.45;color:rgba(255,255,255,.84)}
.content-card{padding:19px 21px;border-radius:23px;margin-top:12px}
.content-card h2{font-size:29px;line-height:1.12;margin:5px 0 9px;color:#172f3c}
.content-card p{font-size:17px;line-height:1.52;color:#586873}
.content-card .eyebrow{font-size:11px;color:#9b762f}

/* Kunstafbeeldingen krijgen een echte galerij-presentatie */
.art-banner{margin-top:12px;border-radius:23px;min-height:138px;border:1px solid #dfd5c2;background:linear-gradient(135deg,#e8e0d0,#f7f1e5);box-shadow:0 10px 24px rgba(19,39,55,.07)}
.art-banner img{height:178px;object-fit:cover;filter:saturate(1.02) contrast(1.02)}
.art-banner>span{left:14px;bottom:13px;padding:8px 11px;border-radius:11px;background:rgba(17,39,54,.88);font-size:10px;letter-spacing:.16em}
.art-symbol{min-height:152px}
.art-symbol .symbol{font-size:84px}

/* Audio, kaart en kijkopdrachten: duidelijk en uitnodigend */
.audio-card{gap:15px;padding:17px;margin-top:12px;border-radius:21px;background:linear-gradient(120deg,#e9f5ef,#dcefe8);border:1.5px solid #c8e2d8;box-shadow:0 8px 22px rgba(8,127,120,.07)}
.audio-icon{width:52px;height:52px;border-radius:17px;background:linear-gradient(145deg,#11978b,#08645f);font-size:25px;box-shadow:0 7px 15px rgba(8,127,120,.2)}
.audio-copy h3{font-size:18px;color:#17323e;margin:2px 0 4px}
.audio-copy p{font-size:15px;color:#4d6964;line-height:1.4;margin-bottom:10px}
.audio-copy audio{height:44px}
.audio-missing{font-size:14px;line-height:1.5;padding:12px 14px;border-radius:14px;background:#fff7e5;border-color:#eddaaa;color:#725622}
.map-stack{gap:11px;margin-top:13px}
.map-unit{border-radius:19px;border-color:#dcd3c2;background:#fbf8f1;box-shadow:0 7px 18px rgba(19,39,55,.05)}
.map-caption{padding:12px 14px}
.map-caption strong{font-size:15px;color:#203541}
.map-caption small{font-size:13px;color:#667681}
.map-image-button{background:#eee9df}
.map-image-button img{max-height:250px}
.challenge{padding:16px;border-radius:19px;background:linear-gradient(120deg,#fff6e5,#fffaf1);border-color:#ead8ae}
.challenge summary{font-size:16px;color:#825e24}
.challenge p{font-size:16px;line-height:1.55;color:#67583e}
.challenge .hint{font-size:13px;color:#877653}
.look-card{padding:18px;border-radius:22px;background:radial-gradient(circle at 90% 10%,rgba(232,174,91,.2),transparent 10rem),linear-gradient(120deg,#fff0dc,#fff9ef);border-color:#ecd4a7}
.look-card .look-icon{font-size:34px}
.look-card h3{font-size:28px;color:#573f25}
.look-card p{font-size:16px;line-height:1.5;color:#796448}
.timer-display{font-size:35px;color:#996e28}
.side-card{padding:17px;border-radius:21px;border-top:3px solid #e1b65c}
.side-card h3{font-size:22px;color:#1b3441}
.side-card p{font-size:15px;line-height:1.5;color:#5b6b75}
.side-icon{font-size:28px}
.step-navigation{gap:12px;margin-top:15px}
.step-navigation .button{min-height:54px}
.completion-card{padding:25px 21px}
.completion-medal{width:82px;height:82px;background:linear-gradient(145deg,#f6e7c1,#e8bf69);color:#7b5419;font-size:38px;box-shadow:0 8px 20px rgba(224,180,87,.17)}
.completion-card h2{font-size:34px}
.completion-card p{font-size:17px}

/* Docent-, offline- en installatievensters ook goed leesbaar */
.modal{border:1px solid #e5dac6;box-shadow:0 28px 85px rgba(0,0,0,.3)}
.modal-header h2{font-size:30px}
.modal p,.modal li{font-size:16px;line-height:1.55}

.check-row{font-size:15px;padding:13px 14px}
.check-state{font-size:12px}
.audio-file{font-size:14px;padding:11px 12px}
.audio-file code{font-size:12px}
.toast{font-size:14px;padding:13px 19px}

@media(max-width:760px){
  .app-shell{padding-left:14px;padding-right:14px}
  .topbar{height:76px}
  .brand-mark{width:48px;height:48px;border-radius:16px}
  .brand-text strong{font-size:13px}.brand-text small{font-size:12px}
  .status-pill{font-size:12px;padding:9px 11px}
  .icon-button{width:43px;height:43px}
  .main-content{padding:17px 0 22px}
  .hero{min-height:300px;padding:27px 23px;border-radius:28px}
  .hero h1{font-size:clamp(34px,9.5vw,49px);white-space:nowrap;letter-spacing:-.055em}
  .hero p{font-size:16px;line-height:1.48}
  .hero-bottom{margin-top:24px;gap:10px}
  .hero-meta{font-size:12px;gap:9px 13px}
  .hero-stamp{width:76px;height:76px;font-size:10px}
  .hero-stamp b{font-size:19px}
  .home-grid{grid-template-columns:1fr;gap:12px;margin-top:13px}
  .panel{padding:18px;border-radius:22px}
  .panel-heading h2{font-size:25px}
  .panel p{font-size:16px}
  .quest-copy{font-size:16px}
  .route-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
  .route-item{min-height:50px;padding:9px}
  .route-number{width:32px;height:32px;font-size:12px}
  .route-copy b{font-size:13px;line-height:1.2}
  .step-layout{grid-template-columns:1fr;gap:12px}
  .step-hero{padding:21px 18px;min-height:150px;border-radius:24px}
  .step-hero h1{font-size:clamp(30px,8vw,42px)}
  .step-hero h1.long-title{font-size:clamp(21px,6.1vw,29px)}
  .step-hero p{font-size:16px}
  .step-number{font-size:11px}
  .room-tag{font-size:11px;padding:7px 9px}
  .content-card{padding:16px 17px;margin-top:11px;border-radius:20px}
  .content-card h2{font-size:27px}
  .content-card p{font-size:16px;line-height:1.48}
  .art-banner{margin-top:11px;min-height:120px}
  .art-banner img{height:155px}
  .map-caption{padding:11px 12px}
  .map-caption strong{font-size:14px}
  .map-caption small{font-size:12px}
  .map-image-button img{max-height:230px}
  .audio-card{padding:14px;gap:12px}
  .audio-icon{width:46px;height:46px;border-radius:15px}
  .audio-copy h3{font-size:17px}
  .audio-copy p{font-size:14px}
  .audio-missing{font-size:13px}
  .challenge{padding:14px;margin-top:11px}
  .challenge summary{font-size:15px}
  .challenge p{font-size:15px}
  .look-card{padding:16px;margin-top:11px}
  .look-card h3{font-size:26px}
  .look-card p{font-size:15px}
  .side-card{padding:15px}
  .side-card h3{font-size:21px}
  .side-card p{font-size:14px}
  .step-side{position:static;grid-template-columns:1fr 1fr}
  .step-side .side-card:last-child{grid-column:1/-1}
  .step-navigation{gap:9px;margin-top:13px}
  .step-navigation .button{font-size:15px;padding:14px 12px;min-height:52px}
  .step-navigation .button.ghost{order:unset;flex:1}
  .app-footer{font-size:11px;gap:10px}
  .text-button{font-size:12px}
}
@media(max-width:420px){
  .app-shell{padding-left:12px;padding-right:12px}
  .brand{gap:9px}.brand-mark{width:44px;height:44px}.brand-mark svg{width:30px;height:30px}
  .brand-text strong{font-size:12px;letter-spacing:.12em}.brand-text small{font-size:11px}
  .top-actions{gap:5px}.status-pill{padding:8px 9px;font-size:11px}.status-pill span:last-child{max-width:56px}
  .icon-button{width:40px;height:40px}
  .hero{min-height:285px;padding:24px 19px}
  .hero h1{font-size:clamp(27px,8.9vw,38px)}
  .hero-eyebrow{font-size:11px}
  .hero p{font-size:15px}
  .hero-stamp{display:none}
  .hero-meta{font-size:11px}
  .button{font-size:15px;padding:14px 17px}
  .panel{padding:16px}
  .panel-heading h2{font-size:23px}
  .route-list{grid-template-columns:1fr 1fr;gap:7px}
  .route-item{gap:7px;padding:8px;min-height:48px}
  .route-number{width:30px;height:30px;border-radius:11px}
  .route-copy b{font-size:12px}
  .step-topline{gap:7px}
  .room-tag{font-size:10px;letter-spacing:0;padding:6px 8px}
  .step-hero h1{font-size:clamp(28px,8vw,34px)}
  .step-hero h1.long-title{font-size:clamp(19px,5.8vw,23px)}
  .step-hero p{font-size:15px}
  .content-card h2{font-size:25px}
  .content-card p{font-size:15px}
  .art-banner img{height:140px}
  .audio-card{gap:10px;padding:12px}
  .audio-icon{width:42px;height:42px;font-size:22px}
  .audio-copy h3{font-size:16px}
  .audio-copy p{font-size:13px}
  .audio-missing{font-size:12px;padding:10px 11px}
  .map-image-button img{max-height:205px}
  .step-side{grid-template-columns:1fr}
  .step-side .side-card:last-child{grid-column:auto}
  .step-navigation .button{font-size:14px;min-height:50px;padding:13px 9px}
  .app-footer{font-size:10px}
}
@media(prefers-reduced-motion:reduce){.route-item:hover{transform:none}}

/* v0.04 — routekaarten als zelfstandige, luxe navigatiekaarten */
.route-panel{
  margin-top:13px;padding:16px;border-radius:25px;
  background:linear-gradient(155deg,#112b3b 0%,#1b3c49 58%,#155d57 100%);
  border:1px solid rgba(218,180,99,.36);
  box-shadow:0 14px 32px rgba(17,43,59,.15);color:#fff
}
.route-panel-head{padding:3px 3px 12px}
.route-panel-kicker{display:flex;align-items:center;gap:8px;color:#f1cb78;font-size:11px;font-weight:950;letter-spacing:.17em}
.route-panel-icon{width:29px;height:29px;border-radius:10px;display:grid;place-items:center;background:rgba(239,196,103,.15);border:1px solid rgba(239,196,103,.35);font-size:18px}
.route-panel-chip{margin-left:auto;padding:6px 9px;border:1px solid rgba(255,255,255,.2);border-radius:30px;color:rgba(255,255,255,.75);font-size:9px;letter-spacing:.13em}
.route-panel-head h2{font-family:Georgia,serif;font-weight:500;font-size:clamp(25px,4vw,34px);line-height:1.07;letter-spacing:-.02em;margin:11px 0 7px;color:#fff}
.route-panel-head>p{margin:0;color:rgba(255,255,255,.77);font-size:15px;line-height:1.45}
.map-stack{display:grid;gap:13px;margin-top:5px}
.map-unit{overflow:hidden;border:1px solid rgba(218,180,99,.48);border-radius:20px;background:#fffdf7;color:#172c38;box-shadow:0 8px 20px rgba(0,0,0,.13)}
.map-unit-head{padding:13px 14px 10px;background:linear-gradient(115deg,#fffdf8,#f4efdf);border-bottom:1px solid #e8dfce}
.map-unit-kicker{display:flex;align-items:center;justify-content:space-between;gap:9px;margin-bottom:7px}
.map-index{font-size:10px;font-weight:950;letter-spacing:.16em;color:#98702e}
.map-level{font-size:10px;font-weight:900;letter-spacing:.12em;color:#0a746e;background:#e4f1eb;border:1px solid #cce3d8;padding:5px 8px;border-radius:30px;white-space:nowrap}
.map-unit-head h3{font-family:Georgia,serif;font-size:21px;line-height:1.1;font-weight:500;margin:0 0 4px;color:#172c38}
.map-unit-head p{font-size:13px;line-height:1.35;color:#69767a;margin:0}
.map-journey{display:grid;grid-template-columns:minmax(0,1fr) 28px minmax(0,1fr);gap:8px;align-items:center;padding:11px 13px;background:#f8f5ed;border-bottom:1px solid #e8e1d5}
.journey-place{min-width:0;display:grid;gap:3px}
.journey-place>span{font-size:9px;letter-spacing:.16em;font-weight:950;color:#16877f}
.journey-place strong{font-size:13px;line-height:1.2;color:#233945;overflow-wrap:anywhere}
.journey-goal>span{color:#9a7027}
.journey-arrow{width:28px;height:28px;display:grid;place-items:center;border-radius:50%;background:#e9d5a9;color:#73511a;font-size:18px;font-weight:900}
.journey-level .journey-arrow{background:#d7eae3;color:#0d6c64}
.map-image-button{position:relative;display:block;width:100%;padding:0;border:0;background:#f4f0e7;overflow:hidden;cursor:zoom-in;touch-action:manipulation}
.map-image-button img{display:block;width:100%;height:auto;max-height:360px;object-fit:contain;padding:7px;background:#f6f2ea}
.map-zoom-hint{position:absolute;right:12px;bottom:12px;display:inline-flex;align-items:center;gap:7px;padding:8px 11px;border-radius:30px;background:rgba(18,42,56,.93);color:#fff;font-size:11px;font-weight:850;box-shadow:0 4px 12px rgba(0,0,0,.18)}
.map-zoom-hint b{display:grid;place-items:center;width:20px;height:20px;border-radius:50%;background:#e9c36f;color:#1b3340;font-size:17px;line-height:1}
.map-legend{display:flex;align-items:center;gap:13px;flex-wrap:wrap;padding:10px 13px 4px;font-size:11px;color:#596b72;font-weight:750}
.map-legend>span{display:inline-flex;align-items:center;gap:6px}
.legend-dot{width:11px;height:11px;border-radius:50%;display:inline-block;border:2px solid #fff;box-shadow:0 0 0 1px #9ca8a5}
.legend-start{background:#16877f}.legend-goal{background:#d7a84e}
.legend-line{width:20px;height:4px;border-radius:8px;background:#e0b552;display:inline-block;box-shadow:0 0 0 1px rgba(125,88,25,.15)}
.map-legend-note{color:#8a7651;font-style:italic;font-weight:650}
.map-instruction{margin:7px 13px 13px;padding:9px 11px;border-radius:12px;background:#f1f6f2;color:#405d5b;font-size:13px;line-height:1.4;border:1px solid #d8e8df}
/* De kaartviewer ondersteunt knoppen, muiswiel, slepen en pinch-to-zoom. */
.modal-root.map-modal-open{padding:12px}
.map-modal-backdrop{padding:0;display:grid;place-items:center}
.map-lightbox{width:min(100%,980px);height:min(92dvh,900px);max-height:92dvh;display:flex;flex-direction:column;gap:10px;padding:15px;border-radius:24px;background:#102b3a;border:1px solid rgba(232,191,105,.45);box-shadow:0 25px 90px rgba(0,0,0,.38);overflow:hidden;color:#fff}
.map-lightbox-header{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-shrink:0}
.map-lightbox-header>div{display:grid;gap:3px;min-width:0}
.map-lightbox-kicker{font-size:9px;letter-spacing:.18em;font-weight:950;color:#e9c16e}
.map-lightbox-header strong{font-family:Georgia,serif;font-size:21px;font-weight:500;line-height:1.15;color:#fff}
.map-lightbox-header small{font-size:12px;color:rgba(255,255,255,.68)}
.map-close{width:39px;height:39px;flex-shrink:0;border:1px solid rgba(255,255,255,.2);border-radius:13px;background:rgba(255,255,255,.1);color:#fff;font-size:25px;line-height:1}
.map-zoom-stage{position:relative;display:flex;align-items:center;justify-content:center;flex:1;min-height:0;overflow:hidden;border-radius:16px;background:#f2eee5;border:1px solid rgba(255,255,255,.13);touch-action:none;user-select:none;-webkit-user-select:none}
.map-zoom-stage img{display:block;max-width:100%;max-height:100%;width:auto;height:auto;object-fit:contain;transform-origin:center center;will-change:transform;pointer-events:none;user-select:none;-webkit-user-drag:none}
.map-zoom-controls{display:flex;align-items:center;justify-content:center;gap:10px;flex-shrink:0}
.map-zoom-controls button{min-width:44px;height:42px;padding:0 13px;border-radius:13px;border:1px solid rgba(255,255,255,.2);background:rgba(255,255,255,.1);color:#fff;font-size:21px;font-weight:800}
.map-zoom-controls #mapZoomReset{font-size:13px;background:#e7bd66;border-color:#e7bd66;color:#172d3a}
.map-zoom-controls span{min-width:48px;text-align:center;color:#f0d28a;font-weight:850;font-size:13px}
@media(max-width:600px){
 .route-panel{padding:12px;border-radius:21px}
 .route-panel-head h2{font-size:25px}
 .route-panel-head>p{font-size:14px}
 .map-unit{border-radius:17px}
 .map-unit-head{padding:11px 12px 9px}
 .map-unit-head h3{font-size:19px}
 .map-unit-head p{font-size:12px}
 .map-journey{padding:10px;gap:5px;grid-template-columns:minmax(0,1fr) 24px minmax(0,1fr)}
 .journey-place strong{font-size:12px}
 .journey-place>span{font-size:8px}
 .journey-arrow{width:24px;height:24px;font-size:16px}
 .map-image-button img{max-height:320px;padding:4px}
 .map-zoom-hint{right:8px;bottom:8px;padding:7px 9px;font-size:10px}
 .map-instruction{font-size:12px;margin:6px 10px 10px}
 .map-modal-open{padding:0!important}
 .map-lightbox{width:100%;height:100dvh;max-height:100dvh;padding:12px 11px calc(10px + env(safe-area-inset-bottom,0px));border-radius:0;border:0}
 .map-lightbox-header strong{font-size:19px}
 .map-zoom-stage{border-radius:12px}
 .map-zoom-controls{gap:8px}
 .map-zoom-controls button{min-width:46px;height:44px}
}

/* Kunstfoto naast de titel en robuuste kaart-close bediening */
.step-title-row{display:flex;align-items:center;justify-content:space-between;gap:14px;position:relative;z-index:1;margin:12px 0 7px;min-width:0}
.step-title-row h1{margin:0!important;flex:1;min-width:0;white-space:normal!important;max-width:none!important}
.step-title-thumb{width:88px;height:88px;flex:0 0 88px;object-fit:cover;border-radius:18px;border:2px solid rgba(239,198,112,.7);box-shadow:0 9px 25px rgba(0,0,0,.22);position:relative;z-index:1}
.step-hero h1.long-title{font-size:clamp(22px,4vw,38px)!important}
.map-lightbox-header{padding-top:max(3px,env(safe-area-inset-top,0px));}
.map-close{width:48px;height:48px;min-width:48px;min-height:48px;display:grid;place-items:center;cursor:pointer;touch-action:manipulation;position:relative;z-index:20;font-weight:700;box-shadow:0 5px 15px rgba(0,0,0,.2)}
.map-close:active{transform:scale(.94);background:rgba(255,255,255,.2)}
@media(max-width:600px){.step-title-row{gap:10px}.step-title-thumb{width:76px;height:76px;flex-basis:76px;border-radius:15px}.step-title-row h1{font-size:clamp(25px,7vw,36px)!important;line-height:1.08}.step-title-row h1.long-title{font-size:clamp(19px,5.6vw,25px)!important}.map-lightbox-header{padding-top:max(5px,env(safe-area-inset-top,0px));}}



/* v0.07 — telefoon-only ontwerp */
html, body { width:100%; min-width:0; overflow-x:hidden; }
.modal-root { z-index:60; }
body { -webkit-text-size-adjust:100%; }
.app-shell {
  width:min(100%, 560px);
  max-width:560px;
  min-height:100svh;
  padding:env(safe-area-inset-top,0px) 14px calc(14px + var(--safe-bottom));
}
.topbar {
  position:sticky;
  top:env(safe-area-inset-top,0px);
  z-index:20;
  height:68px;
  margin:0 -14px;
  padding:0 14px;
  background:rgba(245,242,235,.94);
  backdrop-filter:blur(14px);
  -webkit-backdrop-filter:blur(14px);
}
.brand { gap:10px; min-width:0; }
.brand-mark { width:46px; height:46px; flex:0 0 46px; border-radius:15px; }
.brand-mark svg { width:29px; height:29px; }
.brand-text { font-size:12px; }
.brand-text strong { font-size:13px; }
.brand-text small { font-size:11px; }
.top-actions { gap:7px; }
.status-pill { font-size:11px; padding:8px 10px; }
.icon-button { width:44px; height:44px; border-radius:14px; font-size:21px; }
.main-content { padding:15px 0 28px; }
.hero { min-height:0; padding:25px 20px 22px; border-radius:25px; }
.hero h1 { font-size:clamp(34px,9vw,46px); line-height:1; white-space:normal; margin:13px 0 12px; }
.hero p { font-size:16px; line-height:1.5; }
.hero-bottom { margin-top:23px; align-items:flex-start; }
.hero-stamp { display:none; }
.hero-meta { gap:9px 13px; font-size:12px; }
.home-grid { grid-template-columns:1fr; gap:12px; margin-top:13px; }
.panel { padding:17px; border-radius:21px; }
.panel-heading h2 { font-size:24px; }
.panel p, .quest-copy { font-size:16px; line-height:1.5; }
.route-list { grid-template-columns:1fr; gap:7px; }
.route-item { min-height:46px; padding:9px 10px; }
.route-copy b { font-size:14px; white-space:normal; }
.step-layout { grid-template-columns:1fr; gap:12px; }
.step-main { width:100%; min-width:0; }
.step-hero { min-height:0; padding:20px 17px 19px; border-radius:23px; }
.step-topline { align-items:flex-start; flex-wrap:wrap; gap:8px; }
.step-number { font-size:11px; }
.room-tag { white-space:normal; text-align:right; font-size:10px; line-height:1.2; padding:7px 9px; }
.step-title-row { gap:10px; margin:13px 0 8px; }
.step-title-row h1 { font-size:clamp(27px,7.5vw,37px)!important; line-height:1.05; overflow-wrap:anywhere; }
.step-title-row h1.long-title { font-size:clamp(21px,5.9vw,27px)!important; }
.step-title-thumb { width:68px; height:68px; flex:0 0 68px; border-radius:14px; }
.step-hero p { font-size:15px; line-height:1.45; }
.content-card { padding:16px; margin-top:11px; border-radius:19px; }
.content-card h2 { font-size:25px; line-height:1.1; }
.content-card p { font-size:16px; line-height:1.5; }
.route-panel { margin-top:11px; padding:13px; border-radius:21px; }
.route-panel-head h2 { font-size:27px; line-height:1.08; }
.route-panel-head>p { font-size:15px; }
.map-stack { gap:11px; margin-top:9px; }
.map-unit { border-radius:17px; }
.map-unit-head { padding:11px 12px 9px; }
.map-unit-head h3 { font-size:19px; }
.map-unit-head p { font-size:13px; }
.map-journey { padding:10px; gap:5px; grid-template-columns:minmax(0,1fr) 24px minmax(0,1fr); }
.journey-place strong { font-size:13px; }
.journey-place>span { font-size:9px; }
.journey-arrow { width:24px; height:24px; font-size:16px; }
.map-image-button img { max-height:270px; padding:4px; }
.map-zoom-hint { right:8px; bottom:8px; padding:7px 9px; font-size:11px; }
.map-instruction { font-size:14px; margin:7px 10px 11px; line-height:1.45; }
.audio-card { padding:13px; gap:11px; border-radius:17px; }
.audio-icon { width:44px; height:44px; flex:0 0 44px; }
.audio-copy h3 { font-size:17px; }
.audio-copy p { font-size:14px; }
.audio-copy audio { width:100%; max-width:100%; }
.audio-missing { font-size:14px; line-height:1.45; }
.challenge { margin-top:11px; padding:14px; }
.challenge summary { font-size:16px; }
.challenge p { font-size:16px; }
.look-card { margin-top:11px; padding:16px; }
.look-card h3 { font-size:26px; }
.look-card p { font-size:16px; }
.step-side { position:static; display:grid; grid-template-columns:1fr; gap:9px; }
.side-card { padding:14px; border-radius:18px; }
.side-card h3 { font-size:20px; }
.side-card p { font-size:15px; }
.completion-card { padding:21px 17px; }
.completion-card h2 { font-size:30px; }
.step-navigation { display:grid; grid-template-columns:1fr 1fr; gap:8px; }
body.is-step-view .step-navigation {
  position:fixed;
  z-index:35;
  left:50%;
  bottom:calc(7px + var(--safe-bottom));
  transform:translateX(-50%);
  width:min(calc(100% - 18px), 542px);
  margin:0;
  padding:7px;
  border:1px solid rgba(205,193,170,.8);
  border-radius:19px;
  background:rgba(250,247,239,.96);
  box-shadow:0 8px 28px rgba(16,35,46,.19);
  backdrop-filter:blur(14px);
  -webkit-backdrop-filter:blur(14px);
}
body.is-step-view .step-navigation .button { width:100%; min-height:52px; padding:12px 8px; font-size:14px; border-radius:14px; }
body.is-step-view .main-content { padding-bottom:calc(95px + var(--safe-bottom)); }

.app-footer { flex-wrap:wrap; gap:8px 12px; justify-content:space-between; padding:10px 2px calc(5px + var(--safe-bottom)); font-size:10px; }
.text-button { font-size:12px; padding:9px 0; }
.modal-root:not(.map-modal-open) { padding:10px; }
.modal { width:100%; max-height:calc(100svh - 20px); border-radius:21px; padding:18px; overflow:auto; }
.modal-header h2 { font-size:26px; }
.modal p, .modal li { font-size:16px; line-height:1.5; }
.modal-actions { display:grid; grid-template-columns:1fr; gap:8px; }
.modal-actions .button { width:100%; min-height:48px; }
.map-modal-open { padding:0!important; }
.map-lightbox { width:100%; height:100svh; height:100dvh; max-height:100dvh; padding:calc(8px + env(safe-area-inset-top,0px)) 9px calc(9px + var(--safe-bottom)); border-radius:0; border:0; gap:8px; }
.map-lightbox-header { gap:8px; }
.map-lightbox-header strong { font-size:18px; }
.map-close { width:50px; height:50px; min-width:50px; min-height:50px; border-radius:15px; font-size:29px; }
.map-zoom-stage { border-radius:12px; }
.map-zoom-controls { gap:7px; padding-bottom:2px; }
.map-zoom-controls button { min-width:49px; height:48px; font-size:23px; border-radius:14px; }
.map-zoom-controls #mapZoomReset { font-size:14px; padding:0 15px; }
.toast { bottom:calc(85px + var(--safe-bottom)); font-size:14px; }
button, a { -webkit-tap-highlight-color:transparent; }
button:focus-visible, a:focus-visible { outline:3px solid #d5a64c; outline-offset:3px; }
@media(max-width:380px){
  .app-shell { padding-left:11px; padding-right:11px; }
  .topbar { margin:0 -11px; padding:0 11px; }
  .brand-text strong { font-size:12px; }
  .status-pill { padding:7px 8px; font-size:10px; }
  .icon-button { width:41px; height:41px; }
  .step-title-thumb { width:60px; height:60px; flex-basis:60px; }
  .journey-place strong { font-size:12px; }
  .step-navigation .button { font-size:13px; }
}
@media(prefers-reduced-motion:reduce){ html{scroll-behavior:auto} *,*::before,*::after{transition:none!important;animation:none!important} }


/* v0.08 — compacte routekaarten: standaard ingeklapt, met duidelijke + bediening */
.route-panel { padding:0; overflow:hidden; }
.route-panel-summary {
  display:flex; align-items:center; justify-content:space-between; gap:12px;
  padding:15px; list-style:none; cursor:pointer; user-select:none;
  -webkit-tap-highlight-color:transparent; touch-action:manipulation;
}
.route-panel-summary::-webkit-details-marker { display:none; }
.route-panel-summary::marker { content:""; }
.route-panel-summary:focus-visible { outline:3px solid #e8c36f; outline-offset:-5px; border-radius:20px; }
.route-panel-summary .route-panel-head { display:block; flex:1; min-width:0; padding:0; }
.route-panel-summary .route-panel-title { display:block; margin:9px 0 5px; font-family:Georgia,serif; font-size:clamp(23px,6vw,28px); line-height:1.08; color:#fff; }
.route-panel-summary .route-panel-intro { display:block; font-size:14px; line-height:1.4; color:rgba(255,255,255,.77); }
.route-toggle-icon {
  width:42px; height:42px; flex:0 0 42px; display:grid; place-items:center;
  border-radius:50%; color:#1a3441; background:linear-gradient(145deg,#f5d98e,#dfb453);
  box-shadow:0 5px 14px rgba(0,0,0,.16); font-size:27px; font-weight:750; line-height:1;
}
.route-toggle-icon::before { content:"＋"; transform:translateY(-1px); }
.route-panel[open] .route-toggle-icon::before { content:"−"; transform:translateY(-2px); }
.route-panel>.map-stack { padding:0 13px 13px; margin:0; }
.route-panel[open] .route-panel-summary { border-bottom:1px solid rgba(255,255,255,.12); }
@media(max-width:380px) {
  .route-panel-summary { padding:12px; gap:8px; }
  .route-panel-summary .route-panel-title { font-size:23px; }
  .route-panel-summary .route-panel-intro { font-size:13px; }
  .route-toggle-icon { width:38px; height:38px; flex-basis:38px; font-size:25px; }
}


/* v0.09 — rustige kijkopdrachten en offline vergroting van kunstwerken */
.challenge {
  background:linear-gradient(135deg,#eaf3ef 0%,#f5f7f1 100%);
  border:1px solid #c9ded6;
  box-shadow:0 7px 20px rgba(17,58,61,.055);
}
.challenge summary { color:#126c65; font-size:16px; }
.challenge summary span:last-child { color:#b28739; font-size:22px; }
.challenge p { color:#435e5b; font-size:16px; line-height:1.55; margin:11px 0 0; }
.look-card {
  background:linear-gradient(135deg,#eaf3ef 0%,#f7f7f0 100%);
  border:1px solid #c9ded6;
  color:var(--ink);
}
.look-card h3 { color:var(--ink); }
.look-card p { color:#52676b; }
.look-card .timer-display { color:var(--teal-dark); }

.artwork-thumb-button {
  position:relative; display:block; flex:0 0 auto; padding:0; border:0; border-radius:18px;
  background:transparent; cursor:zoom-in; touch-action:manipulation;
  -webkit-tap-highlight-color:transparent;
}
.artwork-thumb-button .step-title-thumb { display:block; }
.artwork-thumb-button::after {
  content:"＋"; position:absolute; right:4px; bottom:4px; width:22px; height:22px;
  display:grid; place-items:center; border-radius:50%; color:#142d3a;
  background:#e8bd62; border:2px solid #fffdf7; font:800 15px/1 system-ui,sans-serif;
  box-shadow:0 2px 7px rgba(0,0,0,.2);
}
.artwork-thumb-button:focus-visible { outline:3px solid #d5a64c; outline-offset:4px; }
.modal-root.artwork-modal-open { padding:0!important; z-index:90; background:rgba(8,19,27,.96); }
.artwork-modal-backdrop { padding:0; display:grid; place-items:center; background:rgba(8,19,27,.96); }
.artwork-lightbox {
  width:100%; height:100svh; height:100dvh; max-height:100dvh; display:flex; flex-direction:column;
  gap:10px; padding:calc(9px + env(safe-area-inset-top,0px)) 11px calc(10px + env(safe-area-inset-bottom,0px));
  background:linear-gradient(155deg,#102b3a 0%,#183b48 100%); color:#fff; overflow:hidden;
}
.artwork-lightbox-header { display:flex; align-items:center; justify-content:space-between; gap:12px; flex:0 0 auto; min-height:52px; }
.artwork-lightbox-header>div { display:grid; gap:4px; min-width:0; }
.artwork-lightbox-kicker { color:#e9c16e; font-size:9px; font-weight:900; letter-spacing:.17em; }
.artwork-lightbox-header strong { color:#fff; font:500 clamp(19px,5.4vw,25px)/1.12 Georgia,serif; overflow-wrap:anywhere; }
.artwork-stage {
  display:grid; place-items:center; flex:1 1 auto; min-height:0; overflow:hidden; border-radius:15px;
  background:#f3efe5; border:1px solid rgba(232,191,105,.4); padding:8px;
}
.artwork-stage img { display:block; width:auto; height:auto; max-width:100%; max-height:100%; object-fit:contain; user-select:none; -webkit-user-drag:none; }
@media(max-width:380px) {
  .artwork-lightbox { padding-left:8px; padding-right:8px; }
  .artwork-stage { padding:5px; }
  .artwork-thumb-button { border-radius:14px; }
}

/* v0.10 — compactere mobiele titelkaart: meer inhoud zichtbaar */
@media (max-width:760px) {
  .step-hero { min-height:0; padding:18px 17px 17px; border-radius:23px; }
  .step-title-row { margin:8px 0 5px; gap:9px; }
  .step-title-row h1 { font-size:clamp(23px,6.2vw,31px)!important; line-height:1.04; letter-spacing:-.04em; }
  .step-title-row h1.long-title { font-size:clamp(19px,5.3vw,25px)!important; line-height:1.06; }
  .step-title-thumb { width:60px; height:60px; flex-basis:60px; border-radius:13px; }
  .step-hero p { font-size:13px; line-height:1.42; }
  .step-topline { gap:8px; }
  .step-number { font-size:9px; letter-spacing:.15em; }
  .room-tag { font-size:9px; padding:6px 8px; }
}
@media(max-width:380px) {
  .step-hero { padding:16px 14px 15px; }
  .step-title-row h1 { font-size:clamp(21px,6vw,28px)!important; }
  .step-title-row h1.long-title { font-size:clamp(18px,5.1vw,23px)!important; }
  .step-title-thumb { width:54px;height:54px;flex-basis:54px; }
}
