@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+KR:wght@400;500;600;700;800&display=swap');
:root{font-family:'Noto Sans KR',sans-serif;color:#223d32;background:#f7f8f2;font-synthesis:none;--green:#245a45;--muted:#64766d}*{box-sizing:border-box}body{margin:0}header{max-width:1040px;margin:auto;padding:25px 32px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #dfe5db}.brand{font-weight:800;font-size:25px;color:var(--green);text-decoration:none;letter-spacing:-1px}.brand span{display:block;font-size:9px;letter-spacing:4px;margin-top:2px}.demo{font-size:12px;color:#6b735a;background:#ebefdf;padding:7px 10px;border-radius:5px}main{max-width:960px;margin:45px auto;padding:0 24px;min-height:60vh}.eyebrow{font-size:12px;font-weight:700;letter-spacing:2px;color:var(--green)}h1{font-size:clamp(30px,5vw,46px);line-height:1.35;letter-spacing:-2px;margin:16px 0}p{line-height:1.8;color:var(--muted);font-size:14px}button,input{font:inherit}button{cursor:pointer;border:0;border-radius:10px;padding:14px 20px;font-weight:700;transition:transform .15s,background .15s}button:active{transform:scale(.97)}button:disabled{opacity:.55;cursor:wait}button:focus-visible,a:focus-visible,summary:focus-visible{outline:3px solid #ca8e35;outline-offset:4px}.primary{background:var(--green);color:white}.secondary{background:#e9eee4;color:var(--green)}.text{background:transparent;color:var(--green);padding:8px}.intro{display:grid;grid-template-columns:1.1fr 1fr;gap:60px;align-items:center}.art{height:320px;background:#e8eddf;border-radius:50% 50% 12px 12px;display:grid;place-items:center;position:relative}.paper{background:#fffefa;transform:rotate(-8deg);padding:28px;box-shadow:0 14px 30px #24463012;width:210px;border-radius:8px}.paper strong{font-size:20px}.mini-stamps{display:flex;flex-wrap:wrap;gap:12px;margin-top:24px}.mini-stamps span{width:40px;height:40px;display:grid;place-items:center;border:2px dashed #78987b;border-radius:50%;color:var(--green)}.auth{margin-top:32px;max-width:440px;background:white;border:1px solid #dfe5db;border-radius:16px;padding:24px}label{display:block;font-size:13px;margin:12px 0 8px}input:not([type=checkbox]){width:100%;padding:13px;border:1px solid #bdcbbf;border-radius:8px;min-width:0;background:white}input:focus{outline:2px solid #538363}.consent{display:flex;align-items:flex-start;gap:8px;line-height:1.6;font-size:12px}.consent input{margin-top:4px}.wide{width:100%;margin-top:14px}.hint{font-size:12px}.error{color:#a33f2d;min-height:20px;font-size:13px}.book-top{display:flex;justify-content:space-between;align-items:center}.book-top h1{font-size:34px;margin-bottom:8px}.progress-panel{padding:24px 28px;background:var(--green);color:white;border-radius:16px;margin:26px 0}.progress-row{display:flex;justify-content:space-between;align-items:center}.progress-row strong{font-size:28px}.progress-panel p{color:#deeadc;margin:5px 0 15px}.track{height:7px;background:#ffffff30;border-radius:8px;overflow:hidden}.track span{display:block;height:100%;background:#d8e7ac;transition:width .4s}.section-head{display:flex;align-items:center;justify-content:space-between;margin:28px 0 14px}.section-head h2{font-size:19px;margin:0}.section-head span{font-size:12px;color:var(--muted)}.places{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.place{background:#fffefa;border:1px solid #dfe5db;padding:22px;border-radius:13px}.place.done{background:#eef3e7;border-color:#bdd0b6}.place-head{display:flex;justify-content:space-between;align-items:center}.stamp{width:56px;height:56px;border:1px dashed #aabbab;border-radius:50%;display:grid;place-items:center;color:#7c8d7e;font-size:20px}.done .stamp{border:2px solid #4d7853;color:#386440;transform:rotate(-12deg);font-size:14px;font-weight:800}.place small{font-size:11px;color:var(--muted)}.place h3{margin:16px 0 3px;font-size:18px}.place p{font-size:12px;margin-bottom:0}.ticket{margin-top:22px;background:#f0e6cf;border:1px solid #e1d4b7;border-radius:14px;padding:25px;display:flex;justify-content:space-between;gap:20px;align-items:center}.ticket h2{margin:0;font-size:19px}.ticket p{margin-bottom:0;font-size:13px}.scan-bar{position:sticky;bottom:18px;text-align:center;margin-top:28px}.scan-bar button{min-width:230px;box-shadow:0 8px 25px #15332325}.result{text-align:center;padding:32px;background:white;border:1px solid #dfe5db;border-radius:16px;margin:25px 0}.result .gift{font-size:48px;color:#c08c32}.receipt{font-size:22px;letter-spacing:3px;font-weight:700}footer{text-align:center;padding:28px 20px;color:var(--muted);font-size:12px;line-height:2}footer small{font-size:10px}dialog{width:min(480px,calc(100% - 28px));border:0;border-radius:16px;padding:24px;max-height:90dvh;overflow:auto}dialog::backdrop{background:#14281ecc}.dialog-head{display:flex;justify-content:space-between;align-items:center}.dialog-head h2{margin:0;font-size:22px}video{width:100%;max-height:270px;background:#192b23;border-radius:10px}.input-row{display:flex;gap:8px}.input-row button{flex-shrink:0}details{margin-top:22px;font-size:13px}summary{cursor:pointer}#demo-codes{display:flex;flex-wrap:wrap;gap:7px;margin-top:14px}#demo-codes button{font-size:12px;padding:10px}#toast{position:fixed;bottom:90px;left:50%;transform:translateX(-50%);padding:13px 20px;background:#203c32;color:white;border-radius:10px;z-index:5;max-width:90%;font-size:13px;display:none}#toast.visible{display:block}@media(max-width:640px){header{padding:18px 22px}main{margin-top:28px;padding:0 20px}.intro{grid-template-columns:1fr;gap:25px}.art{display:none}.auth{max-width:none}.places{grid-template-columns:repeat(2,1fr);gap:10px}.place{padding:16px}.place:last-child{grid-column:1/-1}.ticket{flex-direction:column;align-items:stretch}.book-top h1{font-size:29px}.progress-panel{padding:20px}.section-head span{font-size:11px}}@media(prefers-reduced-motion:reduce){*{transition:none!important}}

.brand{display:block;width:190px;max-width:52%;padding:0;background:linear-gradient(110deg,#192d63 15%,#7543a5 90%);border:0;border-radius:0;flex-shrink:0;-webkit-mask:url('/TitleLogo.png') center/contain no-repeat;mask:url('/TitleLogo.png') center/contain no-repeat}.brand img{display:block;width:100%;height:auto;visibility:hidden}header{gap:16px}@media(max-width:640px){.brand{width:155px}.demo{flex-shrink:0;font-size:10px;padding:6px 8px}}

:root{color-scheme:dark;color:#f5f5ff;background:#080b1c;--green:#59d5ff;--muted:#b1b8d0;--line:#303952;--panel:#12182c}
body{background:radial-gradient(ellipse at 100% 0,#28234c88,transparent 45%),radial-gradient(ellipse at 0 65%,#12335c66,transparent 48%),#080b1c;min-height:100dvh}
header{position:sticky;top:0;z-index:10;max-width:520px;padding:22px 24px;border-color:var(--line);background:#080b1c}
.brand{background:#fff;width:195px;max-width:64%}
.demo{color:#aebada;background:#1a223a;border:1px solid #34405c;font-size:10px}
main{max-width:520px;margin:30px auto;padding:0 24px;min-height:65vh}
.intro{display:flex;flex-direction:column;gap:28px;align-items:stretch}
.eyebrow{color:#59d5ff;font-size:10px;letter-spacing:2px}
h1{font-size:clamp(30px,8vw,39px);letter-spacing:-1.5px;line-height:1.35;margin:14px 0 16px}
p{color:var(--muted);line-height:1.8}h2{letter-spacing:-.7px}h3{color:#fff}
.auth{background:var(--panel);border:1px solid var(--line);padding:22px;border-radius:18px;margin-top:26px;max-width:none}
.auth strong{font-size:15px}.hint{color:#aeb8d1}.error{color:#ffa8bc}
.art{height:200px;border-radius:18px;background:radial-gradient(ellipse at 75% 25%,#6d429950,transparent 65%),#10172b;border:1px solid #303d61;overflow:hidden}
.art:before{content:'';position:absolute;width:260px;height:260px;border:1px solid #467fbb66;border-radius:50%;right:-100px;top:-150px}
.paper{transform:rotate(-5deg);background:#17223c;border:1px solid #5a7da4;padding:20px;width:230px;border-radius:12px;box-shadow:0 0 32px #238cff18}
.paper p{margin:8px 0;color:#fff}.paper strong{font-size:20px}.mini-stamps{gap:9px;margin-top:14px}.mini-stamps span{width:30px;height:30px;font-size:12px;border-color:#5182af;color:#6de0ff}.mini-stamps span:nth-child(-n+3){border-style:solid;background:#1b4b64}
button{min-height:48px}button:disabled{cursor:not-allowed}.primary{background:#59d5ff;color:#081528;box-shadow:0 5px 24px #24adff20}.primary:hover{background:#8be3ff}.secondary{background:#23304b;color:#c8ebff}.text{color:#86dfff}.wide{width:100%}
button:focus-visible,a:focus-visible,summary:focus-visible,input:focus-visible{outline:3px solid #a99bff;outline-offset:4px}
.book-top{gap:12px;align-items:flex-start}.book-top h1{font-size:32px}.book-top p{font-size:13px}.book-top .text{white-space:nowrap}
.progress-panel{background:linear-gradient(120deg,#142a43,#22203e);border:1px solid #3e5a7c;border-radius:18px;padding:22px}.progress-row strong{color:#77e0ff}.progress-row small{color:#aab8cf}.track{background:#080f23}.track span{background:linear-gradient(90deg,#43caff,#a599ff)}
.section-head{align-items:baseline;gap:10px}.section-head h2{font-size:19px}.section-head span{font-size:11px;color:var(--muted)}
.places{grid-template-columns:1fr;gap:12px}.place{background:#12182c;border:1px solid #303b56;border-radius:16px;padding:20px}.place h3{margin:13px 0 6px}.place p{margin-bottom:0}.place small{color:#aeb8d1}.place.done{background:#122a36;border-color:#438a9e}.stamp{border-color:#53647f;color:#aabbd4}.done .stamp{background:#59d5ff;color:#081528;border-color:#59d5ff}.done .place-head small{color:#7fe6ef}
.ticket{background:#1b1a32;border:1px solid #4d426c;border-radius:18px;padding:22px;gap:14px;flex-direction:column;align-items:flex-start}.ticket h2{font-size:21px}.ticket .eyebrow{color:#b9aaff}.result{background:#131f34;border:1px solid #3d5478;color:#fff}.receipt{color:#b4bfd5}.gift{color:#8fe4ff}
.scan-bar{background:linear-gradient(transparent,#080b1c 25%);padding:24px 0 14px;bottom:0}.scan-bar button{width:100%;min-height:56px;border-radius:14px}
dialog{background:#12182c;color:#fff;border:1px solid #4d6085;border-radius:20px;width:calc(100% - 32px);max-width:460px;padding:22px}dialog::backdrop{background:#030616cc}video{background:#050919;border-radius:12px}input:not([type=checkbox]){background:#090f21;color:#fff;border-color:#465674}input::placeholder{color:#8b99b5}details{border-color:#34425d}summary{color:#a3dfff}#demo-codes button{background:#23304b;color:#d7eaff}
#toast{background:#e5f6ff;color:#10243c;border:1px solid #8bdfff}footer{color:#a4afca;padding:24px 24px 32px;font-size:12px}footer small{color:#7f8ba8}
@media(max-width:360px){header,main{padding-left:18px;padding-right:18px}.demo{font-size:9px;padding:6px}.auth{padding:18px}.section-head{flex-wrap:wrap;gap:0}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;transition:none!important}}

/* Theme controls and the white, navy/purple light palette. */
header .brand{width:116px;max-width:55%}
.theme-toggle{display:grid;place-items:center;width:44px;height:44px;min-height:44px;padding:10px;flex-shrink:0;background:#1a223a;color:#ddd5ff;border:1px solid var(--line);border-radius:50%}
.theme-toggle svg{width:22px;height:22px;grid-area:1/1}
.theme-toggle .moon-icon{display:none}
:root[data-theme=light]{color-scheme:light;color:#202b4c;background:#fff;--green:#293b78;--muted:#626a80;--line:#e2e4ef;--panel:#fff}
[data-theme=light] body{background:#fff}
[data-theme=light] header{background:#fff}
[data-theme=light] .brand{background:linear-gradient(110deg,#192d63 15%,#7543a5 90%)}
[data-theme=light] .theme-toggle{background:#f4f1fa;color:#65439b}
[data-theme=light] .sun-icon{display:none}
[data-theme=light] .moon-icon{display:block}
[data-theme=light] .eyebrow,[data-theme=light] .text,[data-theme=light] summary{color:#67439c}
[data-theme=light] h3,[data-theme=light] .paper p{color:#202b4c}
[data-theme=light] .hint,[data-theme=light] .place small{color:#626a80}
[data-theme=light] .error{color:#b3294e}
[data-theme=light] .art{background:#f5f2fb;border-color:#e1d8ef}
[data-theme=light] .art:before{border-color:#c4b5dd}
[data-theme=light] .paper{background:#fff;border-color:#d2c7e2;box-shadow:0 8px 24px #293b7810}
[data-theme=light] .mini-stamps span{border-color:#8a77ac;color:#65439b}
[data-theme=light] .mini-stamps span:nth-child(-n+3){background:#ede7f7}
[data-theme=light] .primary{background:#293b78;color:#fff;box-shadow:none}
[data-theme=light] .primary:hover{background:#65439b}
[data-theme=light] .secondary{background:#eee9f7;color:#513580}
[data-theme=light] .track{background:#eeedf5}
[data-theme=light] .track span{background:linear-gradient(90deg,#293b78,#8052b5)}
[data-theme=light] .place{background:#fff;border-color:#e2e4ef}
[data-theme=light] .place.done{background:#f4f0fa;border-color:#a58bbf}
[data-theme=light] .stamp{border-color:#a7a1ba;color:#73688b}
[data-theme=light] .done .stamp{background:#65439b;color:#fff;border-color:#65439b}
[data-theme=light] .done .place-head small{color:#65439b}
[data-theme=light] .ticket{background:#f5f1fa;border-color:#d9cce8}
[data-theme=light] .ticket .eyebrow,[data-theme=light] .gift{color:#65439b}
[data-theme=light] .result{background:#f2f4fb;border-color:#ccd3e8;color:#202b4c}
[data-theme=light] .receipt{color:#626a80}
[data-theme=light] .scan-bar{background:linear-gradient(transparent,#fff 25%)}
[data-theme=light] dialog{background:#fff;color:#202b4c;border-color:#d2c7e2}
[data-theme=light] input:not([type=checkbox]){background:#fff;color:#202b4c;border-color:#b5bad0}
[data-theme=light] input::placeholder{color:#747b91}
[data-theme=light] details{border-color:#e2e4ef}
[data-theme=light] #demo-codes button{background:#eee9f7;color:#513580}
[data-theme=light] #toast{background:#293b78;color:#fff;border-color:#65439b}
[data-theme=light] footer,[data-theme=light] footer small{color:#626a80}
/* Stamp collection: a two-column sheet inspired by event stamp missions. */
.stampbook{--sheet:#fff;--sheet-line:#e5e2ec;--ink:#232b48;--sub:#64647a;--accent:#65439b;color:var(--ink)}
[data-theme=dark] .stampbook{--sheet:#161c30;--sheet-line:#343b53;--ink:#f2f2fa;--sub:#b6bdd3;--accent:#bea2f0}
.stampbook .book-top{margin-bottom:24px}.stampbook .book-top h1{font-size:28px;letter-spacing:-1.2px;margin:8px 0 0}.stampbook .eyebrow{font-size:10px;letter-spacing:1.8px;color:var(--sub)}.stampbook .book-top .text{font-size:12px;min-height:44px;color:var(--sub)}
.collection-summary{margin-bottom:28px}.collection-count{display:flex;justify-content:space-between;align-items:center;font-size:13px;color:var(--sub)}.collection-count strong{font-size:32px;line-height:1;font-variant-numeric:tabular-nums;color:var(--accent)}.collection-count small{font-size:16px;color:var(--sub);font-weight:500}.collection-summary h2{font-size:23px;letter-spacing:-.8px;line-height:1.55;margin:16px 0 20px;font-weight:700}.collection-track{height:6px;border-radius:9px;background:var(--sheet-line);overflow:hidden}.collection-track span{height:100%;display:block;background:var(--accent);border-radius:inherit;transition:width .35s ease-out}.collection-summary p{color:var(--sub);font-size:12px;margin:12px 0 0}
.stamp-sheet{background:var(--sheet);border:1px solid var(--sheet-line);border-radius:18px;overflow:hidden}.sheet-heading{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:20px;border-bottom:1px solid var(--sheet-line)}.sheet-heading h2{font-size:15px;margin:0}.sheet-heading>span{font-size:11px;color:var(--sub)}.stamp-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));padding:0 16px}.stamp-cell{min-width:0;text-align:center;padding:24px 8px 18px;border-bottom:1px dashed var(--sheet-line)}.stamp-cell:nth-child(odd){border-right:1px dashed var(--sheet-line)}.stamp-cell h3{font-size:14px;line-height:1.5;letter-spacing:-.4px;margin:14px 0 6px;overflow-wrap:anywhere}.stamp-status{font-size:11px;color:var(--sub)}.is-collected .stamp-status{color:var(--accent);font-weight:700}
.seal{width:112px;max-width:100%;aspect-ratio:1;margin:auto;padding:8px;background:#efedf4;color:#a6a0b6;clip-path:polygon(50% 0%,56% 4%,63% 2%,68% 7%,75% 7%,79% 13%,86% 14%,88% 21%,94% 25%,94% 32%,99% 38%,96% 44%,100% 50%,96% 56%,99% 63%,94% 68%,94% 75%,88% 79%,86% 86%,79% 88%,75% 94%,68% 94%,63% 99%,56% 96%,50% 100%,44% 96%,38% 99%,32% 94%,25% 94%,21% 88%,14% 86%,12% 79%,6% 75%,6% 68%,1% 63%,4% 56%,0% 50%,4% 44%,1% 38%,6% 32%,6% 25%,12% 21%,14% 14%,21% 13%,25% 7%,32% 7%,38% 2%,44% 4%)}.seal-ring{border:1px solid currentColor;border-radius:50%;height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;outline:1px solid currentColor;outline-offset:-5px}.seal-caption,.seal-bottom{font-size:7px;letter-spacing:.6px;font-weight:800}.seal strong{font-size:32px;line-height:1.25;font-weight:800;letter-spacing:-1px}.is-collected .seal{background:var(--stamp-ink);color:#fff;transform:rotate(-9deg)}[data-theme=dark] .stamp-cell:not(.is-collected) .seal{background:#2c324a;color:#767e9a}
.stamp-info{margin:8px 0 0;font-size:11px}.stamp-info summary{padding:12px 0;min-height:44px;color:var(--sub)}.stamp-info small{color:var(--ink);display:block;margin:8px 0}.stamp-info p{font-size:12px;color:var(--sub);margin:6px 0}.sheet-note{text-align:center;font-size:11px;color:var(--sub);padding:4px 12px 12px}.stampbook .ticket{margin-top:24px}.stampbook .ticket h2{font-size:19px}.stampbook .scan-bar svg{width:22px;height:22px}.stampbook .scan-bar button{display:flex;align-items:center;justify-content:center;gap:10px}.stampbook .scan-bar{padding-bottom:max(14px,env(safe-area-inset-bottom))}
@media(min-width:641px){.stampbook{max-width:480px;margin:auto}}@media(max-width:360px){.stamp-grid{padding:0 10px}.stamp-cell{padding-left:5px;padding-right:5px}.seal{width:104px}.sheet-heading{padding:18px 14px}.collection-summary h2{font-size:21px}}
@media(prefers-reduced-motion:reduce){.collection-track span{transition:none}}

/* Compact stamp collection and content information. */
button.stamp-cell{appearance:none;display:flex;flex-direction:column;align-items:center;justify-content:flex-start;width:100%;min-width:0;margin:0;border-radius:0;background:transparent;color:var(--ink);font:inherit;cursor:pointer;box-shadow:none}button.stamp-cell h3{margin-bottom:0}button.stamp-cell:hover{background:color-mix(in srgb,var(--accent) 6%,transparent)}button.stamp-cell:focus-visible{outline:3px solid var(--accent);outline-offset:-4px}
#place-detail{width:min(440px,calc(100% - 32px));max-height:85dvh;overflow:auto;padding:22px;border-radius:20px}#place-detail .dialog-head{display:flex;align-items:center;justify-content:space-between;gap:16px}#place-detail h2{font-size:21px;margin:0}#place-detail .text{min-width:44px;min-height:44px;flex-shrink:0}.play-scene{aspect-ratio:16/10;margin:16px 0 22px;border-radius:12px;background:color-mix(in srgb,currentColor 7%,transparent);display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:20px}.play-scene>span{font-size:32px;opacity:.55}.play-scene strong{font-size:14px}.play-scene p{font-size:12px;opacity:.7;margin:8px 0 0}.place-facts{display:grid;grid-template-columns:90px 1fr;gap:14px 12px;font-size:14px}.place-facts dt{opacity:.65}.place-facts dd{margin:0;font-weight:600;overflow-wrap:anywhere}.place-description{font-size:14px;line-height:1.7;margin:20px 0 0}
html.panel-open{overflow:hidden;overscroll-behavior:none}
html.panel-open body{position:fixed;left:0;right:0;overflow:hidden}
dialog{overscroll-behavior:contain}

/* Completed collection becomes the admission ticket. */
button.reward-summary{position:relative;display:block;width:100%;overflow:hidden;isolation:isolate;text-align:left;font:inherit;cursor:pointer;border:1px solid #cfc5fa;border-radius:22px;padding:22px;color:#302654;background:linear-gradient(125deg,#f6f0ff,#e5e8ff);box-shadow:0 8px 28px #7254b510}
.reward-summary .collection-count{position:relative;z-index:2;justify-content:flex-end;gap:10px;color:#5a4c80;font-size:11px}
.reward-summary .collection-count strong{color:#56408c;white-space:nowrap}
.reward-copy{position:relative;z-index:2;display:flex;flex-direction:column;gap:18px;margin-top:26px}
.reward-copy>strong{font-size:25px;line-height:1.4;letter-spacing:-1px;max-width:75%}
.reward-copy>span{font-size:12px;font-weight:600}
[data-theme] button.reward-summary{background:radial-gradient(ellipse at 100% 100%,#d5eafa,transparent 65%),linear-gradient(120deg,#fce0e9,#e6dcfb 65%,#dceafa);border-color:#d8c6ed;box-shadow:0 8px 28px #8d64b51a}
.reward-summary .collection-count small{color:#5a4c80}
.reward-summary::after{content:'';position:absolute;inset:0;z-index:1;pointer-events:none;background:linear-gradient(90deg,#f4e6fbd9, #eee3fb80 52%,transparent 78%)}
.capsules{position:absolute;inset:0;z-index:1;pointer-events:none}
.capsules i{--capsule-color:#f49bb8;position:absolute;width:76px;height:76px;border-radius:50%;background:linear-gradient(165deg,#ffffff45 0 48%,var(--capsule-color) 49%);border:1.5px solid #ffffffb3;box-shadow:inset -8px -6px 12px #76478020,inset 3px 3px 7px #fff8,0 5px 12px #65479720;transform:rotate(-25deg)}
.capsules i::after{content:'';position:absolute;inset:9px 15px 52% 10px;border-radius:50%;border-top:3px solid #ffffffa6;transform:rotate(-20deg)}
.capsules i:nth-child(1){top:38%;right:5%;width:72px;height:72px}
.capsules i:nth-child(2){bottom:-16px;right:24%;width:62px;height:62px;--capsule-color:#8bc9ee;transform:rotate(25deg)}
.capsules i:nth-child(3){bottom:-22px;right:-16px;width:90px;height:90px;--capsule-color:#b19ae4}
.capsules i:nth-child(4){top:-19px;left:-10px;width:58px;height:58px;--capsule-color:#edcd7e;transform:rotate(20deg)}
.capsules i:nth-child(5){top:16px;left:20%;width:32px;height:32px;--capsule-color:#9acebd;transform:rotate(35deg)}
.capsules i:nth-child(6){top:-25px;left:35%;width:70px;height:70px;--capsule-color:#8bc9ee;transform:rotate(40deg)}
.capsules i:nth-child(7){top:-32px;right:2%;width:80px;height:80px;--capsule-color:#edcd7e}
.capsules i:nth-child(8){top:34%;left:-24px;width:85px;height:85px;--capsule-color:#b19ae4;transform:rotate(15deg)}
.capsules i:nth-child(9){bottom:-30px;left:3%;width:86px;height:86px;--capsule-color:#9acebd;transform:rotate(-45deg)}
.capsules i:nth-child(10){top:40%;left:32%;width:64px;height:64px;--capsule-color:#edcd7e;transform:rotate(30deg)}
.capsules i:nth-child(11){top:17%;right:24%;width:58px;height:58px;--capsule-color:#b19ae4;transform:rotate(-40deg)}
.capsules i:nth-child(12){bottom:-29px;left:31%;width:76px;height:76px;--capsule-color:#f49bb8;transform:rotate(15deg)}
.capsules i:nth-child(13){top:35%;right:-28px;width:64px;height:64px;--capsule-color:#9acebd;transform:rotate(50deg)}
.capsules i:nth-child(14){bottom:17%;right:25%;width:48px;height:48px;--capsule-color:#8bc9ee;transform:rotate(-10deg)}
.reward-summary:focus-visible{outline:3px solid var(--accent);outline-offset:4px}
.draw-map{position:relative;height:230px;margin-top:20px;border:1px solid var(--sheet-line);border-radius:16px;background:repeating-linear-gradient(0deg,transparent 0 27px,#8574a510 28px),repeating-linear-gradient(90deg,transparent 0 27px,#8574a510 28px);font-size:13px}
.map-entry{position:absolute;bottom:16px;left:18px;color:var(--sub)}
.map-area{position:absolute;left:18px;top:20px;width:44%;height:130px;display:grid;place-items:center;border:1px dashed var(--sub);border-radius:12px;color:var(--sub)}
.map-draw{position:absolute;right:14px;top:20px;padding:18px 12px;border-radius:12px;background:#e9e1ff;color:#493375;font-weight:700;text-align:center;line-height:1.7}
.map-note{font-size:12px;line-height:1.6;color:var(--sub);margin:12px 0 18px}

.place-scan{margin-top:24px}
.place-scan:disabled{opacity:.5;box-shadow:none;pointer-events:none}
#scanner{position:relative}
#scan-notice:not([hidden]){position:absolute;inset:0;z-index:2;display:flex;align-items:center;justify-content:center;padding:24px;background:inherit;border-radius:inherit;text-align:center}
#scan-notice h2{font-size:28px;line-height:1.4}
#scan-notice p{font-size:18px;line-height:1.7;margin:20px 0 28px;overflow-wrap:anywhere}
/* Expand the QR camera after removing manual entry. */
#scanner #camera{display:block;width:100%;height:min(52dvh,440px);max-height:none;object-fit:cover}
