:root{--paper:#f3efdf;--ink:#263a2f;--green:#315b45;--muted:#667063;--chrome:#d7d5c9;--blue:#203a65;--line:#c7c7b4;font-family:var(--font-sans);color:var(--ink);background:var(--paper);font-synthesis:none}
*{box-sizing:border-box}body{margin:0;background-image:radial-gradient(#777a5d25 .7px,transparent .7px);background-size:6px 6px}button,input,select{font:inherit}button,a{touch-action:manipulation}button{cursor:pointer;color:inherit}button:disabled{cursor:default;opacity:.55}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #bf572d;outline-offset:4px}.skip-link{position:absolute;top:-60px;background:var(--ink);color:white;padding:12px;z-index:20}.skip-link:focus{top:10px}.site-shell{max-width:1344px;margin:auto;padding:0 36px}
.site-header{min-height:90px;display:flex;align-items:center;justify-content:space-between;gap:16px;border-bottom:1px solid var(--line)}.brand{text-decoration:none;color:var(--ink);font-family:var(--font-mono);font-size:29px;font-weight:bold;letter-spacing:-1.5px;display:flex;align-items:center;gap:10px}.brand-ext{color:var(--green);margin-left:-10px}.brand-icon{background:var(--green);color:var(--paper);font-size:22px;width:32px;height:32px;display:grid;place-items:center;box-shadow:3px 3px 0 #a8b5a1}.header-right{display:flex;align-items:center;gap:24px}.edition,.demo-badge,.eyebrow,.file-label,.toolbar-tag,.section-heading>span,.ticket-mark{font-family:var(--font-mono);font-size:11px;letter-spacing:1.3px;line-height:1.5}.demo-badge{border:1px solid #bdc4af;padding:6px 9px;color:var(--green)}
.hero{display:flex;justify-content:space-between;align-items:flex-end;padding:43px 0 34px;gap:24px}.eyebrow{color:var(--green);margin:0 0 15px;font-weight:bold}h1{font-family:var(--font-serif);font-size:clamp(38px,4.6vw,64px);font-weight:normal;letter-spacing:-2px;line-height:1.13;margin:0 0 18px}.hero-copy{font-size:16px;line-height:1.7;margin:0;color:#5b6456}.hero-note{display:flex;align-items:center;gap:13px;margin-bottom:4px}.hero-note>span{font-size:46px}.hero-note p{font-size:13px;line-height:1.8;color:var(--muted)}
.workspace{display:grid;grid-template-columns:300px minmax(0,1fr);gap:24px;align-items:start}.retro-window,.retro-dialog{border:2px solid;border-color:#fbfaf2 #727565 #727565 #fbfaf2;padding:3px;background:var(--chrome);box-shadow:5px 5px 0 #384d3426}.title-bar{min-height:31px;background:var(--blue);color:#fff;display:flex;align-items:center;justify-content:space-between;padding:6px 9px;font-family:var(--font-mono);font-size:12px;gap:10px}.title-bar h2{margin:0;font:inherit}.window-controls{white-space:nowrap;letter-spacing:3px;font-weight:bold}.welcome-body{padding:21px 19px;background:#e8e5d6}.file-label{color:var(--muted);margin:0 0 16px}.welcome-body h2{font-family:var(--font-serif);font-weight:normal;font-size:27px;line-height:1.3;margin:0 0 16px;letter-spacing:-.6px}.welcome-body>p:not(.file-label):not(.small-note){font-size:14px;line-height:1.75;margin:0 0 22px}
.primary-button,.secondary-button{min-height:46px;border:1px solid var(--ink);display:inline-flex;align-items:center;justify-content:space-between;gap:24px;padding:12px 17px;text-decoration:none;font-size:14px;font-weight:bold;box-shadow:3px 3px 0 #18332533}.primary-button{background:var(--green);color:#fff}.secondary-button{background:var(--paper);color:var(--ink)}.primary-button:hover{background:#254c37}.primary-button:active,.secondary-button:active{transform:translate(1px,1px);box-shadow:1px 1px 0 #18332533}.welcome-body .primary-button{width:100%}.small-note{font-size:12px;line-height:1.6;color:var(--muted)}.welcome-body .small-note{margin-bottom:0}
.passport{margin-top:22px;border:1px solid #b5bda7;background:#ececdb;padding:18px}.passport-heading{display:flex;align-items:center;justify-content:space-between;padding-bottom:15px;border-bottom:1px dashed #a7af97}.passport h2{font-size:14px;margin:0}.ticket-mark{color:#6c765c;font-size:10px}.progress-copy{display:flex;justify-content:space-between;font-size:12px;margin:16px 0 10px}.progress-copy strong{font-family:var(--font-mono)}.progress-track{height:7px;background:#d7ddc9}.progress-track>span{display:block;width:0;height:100%;background:var(--green);transition:width .2s}.ticket-slots{list-style:none;padding:0;margin:18px 0 8px;counter-reset:ticket}.ticket-slots li{counter-increment:ticket;font-size:12px;color:#69715e;display:flex;align-items:center;gap:12px;margin:11px 0}.ticket-slots li::before{content:counter(ticket,decimal-leading-zero);font-family:var(--font-mono);font-size:10px;display:grid;place-items:center;width:26px;height:26px;border:1px dashed #a2ae92}.ticket-slots li.is-previewed::before{background:var(--green);color:white;border-style:solid}.text-button{background:none;border:0;min-height:44px;padding:7px 0;font-size:12px;color:var(--green);text-decoration:underline;text-underline-offset:4px}.mini-tip{display:flex;gap:11px;align-items:center;margin:13px 0 0;padding:0 4px}.mini-tip>span{font-size:26px;color:#7a805d}.mini-tip p{font-size:11px;color:var(--muted);line-height:1.7}
.map-toolbar{min-height:40px;display:flex;align-items:center;justify-content:space-between;padding:8px 12px;gap:8px;font-family:var(--font-mono);font-size:11px;border-bottom:1px solid #a9ad99}.toolbar-tag{font-size:9px;color:#63705f}.map-canvas{position:relative;aspect-ratio:3/2;overflow:hidden;border:1px solid;border-color:#7c846e #fff #fff #7c846e}.map-art{display:block;width:100%;height:auto}.map-pin{position:absolute;left:var(--pin-x);top:var(--pin-y);transform:translate(-50%,-50%);min-width:44px;min-height:44px;background:none;border:0;padding:0;display:flex;align-items:center;flex-direction:column;justify-content:center;gap:3px}.pin-number{width:29px;height:29px;background:var(--green);color:#fff;display:grid;place-items:center;font:12px var(--font-mono);border:2px solid #f8f0d9;box-shadow:2px 2px 0 #223a2940}.pin-label{white-space:nowrap;font-size:10px;font-weight:bold;background:#fff8e6ed;border:1px solid #557447;padding:5px 7px;color:#284433}.map-pin:hover .pin-number,.map-pin:focus-visible .pin-number{background:#b34e2a}.map-note{position:absolute;left:8px;bottom:7px;background:#fff8e6e8;padding:4px 6px;font-size:9px;color:#5d614c;pointer-events:none}.map-footer{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:5px 12px;font-size:10px}.map-footer>span{display:flex;gap:6px;align-items:center}.status-dot{display:inline-block;width:6px;height:6px;background:var(--green)}
.landmark-section{padding-top:31px}.section-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:14px;gap:12px}.section-heading h2{font-size:14px;font-weight:normal;margin:0}.section-heading>span{font-size:9px;color:var(--muted)}.landmark-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px}.landmark-card{display:flex;align-items:center;text-align:left;min-height:79px;gap:10px;padding:12px;background:#edeadc;border:1px solid #c6c8b5}.landmark-card:hover{background:#e0e7d3;border-color:var(--green)}.card-number{font:11px var(--font-mono);color:#65705a}.card-content{flex:1;min-width:0}.card-content strong{display:block;font-size:12px;line-height:1.4;font-weight:normal}.card-content small{display:block;font-size:9px;color:var(--muted);margin-top:6px}
.reward-section{display:flex;align-items:center;justify-content:space-between;margin:42px 0 25px;padding:36px 50px;background:#e4e8d7;border:1px solid #c8d0b8;gap:32px;overflow:hidden}.reward-intro h2{font-family:var(--font-serif);font-size:34px;font-weight:normal;line-height:1.15;margin:0 0 16px;letter-spacing:-.8px}.reward-intro>p:not(.eyebrow){font-size:13px;line-height:1.7;color:#65735d;margin:0 0 20px}.wallpaper-stack{display:flex;align-items:center;width:330px;min-width:280px;height:250px;justify-content:center}.wallpaper-card{width:120px;height:214px;flex-shrink:0;border:5px solid #f9f5e7;box-shadow:5px 7px 0 #53624a23;background:#c4d5a9;overflow:hidden}.wallpaper-card img{width:100%;height:100%;object-fit:cover}.wallpaper-card-1{transform:rotate(-11deg) translateX(22px)}.wallpaper-card-2{z-index:1;transform:translateY(-8px)}.wallpaper-card-3{transform:rotate(11deg) translateX(-22px)}
.preview-tools{display:flex;flex-wrap:wrap;align-items:center;gap:8px;padding:15px 0;border-top:1px dashed var(--line)}.preview-tools .file-label{margin:0 10px 0 0;font-size:9px}.preview-tools button,.demo-actions button{min-height:44px;padding:8px 12px;border:1px solid var(--line);font-size:11px;background:#eeebdc}#connection-status{font-size:11px}.site-footer{display:flex;flex-wrap:wrap;gap:16px;align-items:center;justify-content:space-between;padding:25px 0;border-top:1px solid var(--line);font-size:10px;color:var(--muted)}.brand-small{color:var(--ink);font:bold 15px var(--font-mono)}
.retro-dialog{width:min(590px,calc(100% - 24px));max-height:calc(100dvh - 32px);color:var(--ink);margin:auto;overflow:auto}.retro-dialog::backdrop{background:#142a2299;backdrop-filter:blur(3px)}.retro-dialog .title-bar{position:sticky;top:0;z-index:1;padding:0 6px 0 10px}.close-button{border:1px solid white;background:#d7d5c9;color:#1b2a23;min-width:44px;min-height:44px;font-size:24px;line-height:1}.dialog-body{background:#f6f2e6;padding:28px}.dialog-body>h2,.dialog-body>h3:not(.question-title){font:normal 34px/1.2 var(--font-serif);letter-spacing:-.7px;margin:0 0 18px}.dialog-body>p,.guide-steps{font-size:14px;line-height:1.8}.guide-steps{padding-left:22px}.guide-steps li{margin-bottom:12px}.notice{background:#e6e8d7;padding:12px;font-size:12px!important}.history-text{margin-bottom:25px}.quiz-divider{border-top:1px solid #c8cbb8;padding-top:18px;font:10px var(--font-mono);color:var(--muted);letter-spacing:1px}.question-title{font-size:17px;line-height:1.5;margin:14px 0}.answer-options{display:grid;gap:9px}.answer-option{display:flex;align-items:center;gap:12px;text-align:left;padding:12px;min-height:52px;border:1px solid #c6ccba;background:#ececdf;font-size:13px;line-height:1.6}.answer-letter{width:26px;height:26px;display:grid;place-items:center;font:12px var(--font-mono);background:#d9dfcc;flex-shrink:0}.answer-option[aria-pressed=true]{border-color:var(--green);background:#dce7d2}.answer-option[aria-pressed=true] .answer-letter{background:var(--green);color:white}
.input-label{display:block;font-size:12px;font-weight:bold;margin:20px 0 8px}input,select{width:100%;min-height:48px;border:2px solid;border-color:#747d65 #fff #fff #747d65;background:#fffdf4;color:var(--ink);padding:10px;font-size:16px}input[readonly]{background:#e9eadd}.consent-preview{display:flex;gap:12px;margin:18px 0}.consent-preview>span{font-size:23px}.consent-preview p{font-size:12px;line-height:1.6;margin:0}.inline-status{font-size:12px!important;padding:10px;background:#e7e9da;min-height:44px}.inline-status.is-error{color:#873219;background:#f3e0d5}.demo-actions{display:flex;flex-wrap:wrap;gap:8px;border-top:1px dashed var(--line);padding-top:14px}.result-body{text-align:center}.result-symbol{width:90px;height:90px;margin:20px auto;display:grid;place-items:center;font-size:58px;color:var(--green);background:#e2e8d1;border:1px solid #bccba8}.result-body select{margin-bottom:20px}.rewards-dialog{width:min(930px,calc(100% - 24px))}.reward-gallery{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;margin:24px 0}.reward-item img,.reward-placeholder{width:100%;aspect-ratio:9/16;object-fit:cover;border:4px solid white;background:#d8e3c7}.reward-item h3{font-size:12px;line-height:1.4;min-height:34px}.download-link{color:var(--green);font-size:12px;display:inline-flex;align-items:center;min-height:44px}
@media(max-width:1000px){.site-shell{padding:0 24px}.workspace{grid-template-columns:255px minmax(0,1fr);gap:16px}.landmark-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.hero-note{display:none}.reward-section{padding:28px}.welcome-body{padding:17px}.welcome-body h2{font-size:25px}}
@media(max-width:760px){.site-shell{padding:0 16px}.site-header{min-height:72px}.edition{display:none}.brand{font-size:25px}.hero{padding:30px 0 25px}h1{font-size:43px;max-width:450px}.hero-copy{font-size:14px}.workspace{grid-template-columns:1fr}.journey-column{display:grid;grid-template-columns:1fr 1fr;gap:12px}.welcome-body h2{font-size:23px}.welcome-body p{font-size:12px!important}.passport{margin:0;padding:15px}.mini-tip{display:none}.map-window{margin-top:5px}.landmark-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.landmark-card:last-child{grid-column:1/-1}.reward-section{padding:25px}.reward-intro h2{font-size:29px}.wallpaper-stack{width:200px;min-width:180px;height:210px}.wallpaper-card{width:90px;height:160px}.reward-gallery{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:480px){.site-shell{padding:0 12px}.demo-badge{font-size:9px;letter-spacing:.5px;padding:5px}.hero h1{font-size:39px;letter-spacing:-1.3px;max-width:320px}.journey-column{grid-template-columns:1fr}.welcome-body{padding:18px}.welcome-body h2 br{display:none}.welcome-body h2{font-size:25px}.welcome-body>p:not(.file-label):not(.small-note){margin-bottom:15px}.passport{margin-top:4px}.ticket-slots{display:flex;gap:12px;margin:12px 0 0}.ticket-slots li{flex:1;font-size:0;margin:0}.ticket-slots li::before{width:100%;height:28px}.progress-copy{margin-top:12px}.passport .text-button{margin-top:3px}.pin-label{display:none}.pin-number{width:30px;height:30px}.map-note{font-size:8px;left:4px;bottom:4px}.map-toolbar{min-height:36px;padding:6px 8px}.map-footer{flex-wrap:wrap;padding:8px;gap:2px}.map-footer .text-button{min-height:44px}.landmark-section{padding-top:22px}.section-heading>span{font-size:8px;letter-spacing:.5px}.landmark-card{min-height:78px;padding:10px;gap:7px}.card-content strong{font-size:12px}.card-content small{font-size:9px}.reward-section{margin-top:28px;padding:22px;flex-direction:column;align-items:flex-start;gap:12px}.reward-intro h2{font-size:32px}.wallpaper-stack{width:100%;height:210px}.wallpaper-card{width:110px;height:196px}.dialog-body{padding:20px}.dialog-body>h2,.dialog-body>h3:not(.question-title){font-size:29px}.reward-gallery{grid-template-columns:repeat(2,minmax(0,1fr))}.site-footer{gap:10px}.site-footer span:last-child{width:100%}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{transition:none!important;scroll-behavior:auto!important}}
/* On phones, show the map before the longer welcome/ticket area. */
@media(max-width:760px){.map-window{grid-row:1}.journey-column{grid-row:2}}

.provided-art{margin-top:30px;border-top:1px solid var(--line);padding-top:20px}.provided-gallery{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;max-width:520px;margin-top:18px}.provided-gallery .reward-item img{aspect-ratio:auto;height:auto;object-fit:contain}

.map-pin.is-completed .pin-number{background:var(--green);color:white;box-shadow:0 0 0 3px var(--paper)}.landmark-card.is-completed{border-color:var(--green);background:#e2e8d1}.passport .primary-button{width:100%;padding:12px;gap:8px;font-size:12px}.ticket-slots li.is-previewed{color:var(--ink);font-weight:bold}
@media(max-width:480px){.ticket-slots{display:block}.ticket-slots li{font-size:12px;display:flex;align-items:center;gap:10px;margin:8px 0}.ticket-slots li::before{width:28px;flex:0 0 28px}}

.honeypot{position:absolute;left:-10000px;width:1px;height:1px;overflow:hidden}.test-consent{display:flex;align-items:flex-start;gap:12px;margin:22px 0;font-size:13px;line-height:1.65}.test-consent input{width:22px;height:22px;flex:0 0 22px;margin-top:3px}[hidden]{display:none!important}

/* Two reward tiers: everyone gets wallpapers; tickets remain a clearly marked draft. */
.lucky-section{margin:28px 0}.lucky-body{background:#e8e5d6;padding:28px}.lucky-body h2{font-family:var(--font-serif);font-size:clamp(26px,3vw,36px);font-weight:normal;margin:0 0 14px}.lucky-body>p{max-width:720px;line-height:1.7}.prize-list{list-style:none;padding:0;margin:22px 0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.prize-list li{display:flex;align-items:center;gap:12px;padding:16px;background:var(--paper);border:1px dashed #9aa78e;font-size:14px;line-height:1.5}.prize-list li>span:nth-child(2){flex:1}.prize-index{font-family:var(--font-mono);color:var(--green)}.prize-list strong{white-space:nowrap;font-size:12px}.reward-actions{display:flex;flex-wrap:wrap;gap:14px;margin-top:22px}.lucky-envelope{text-align:center;font-size:80px;line-height:1.3;color:var(--green);margin:18px 0}.lucky-status{border:1px dashed var(--green);padding:16px;line-height:1.6;min-height:84px;background:var(--paper)}
@media(max-width:600px){.lucky-body{padding:20px}.prize-list{grid-template-columns:1fr}.reward-actions{flex-direction:column}.reward-actions button{width:100%}}

/* A small passport stays with the player; stamps reflect saved answers only. */
.journey-ribbon{position:sticky;top:0;z-index:5;display:flex;align-items:center;justify-content:space-between;gap:12px;background:#f3efdfef;border:1px solid #a8b79c;box-shadow:0 3px 0 #263a2f15;padding:8px 14px;font-size:13px;backdrop-filter:blur(8px)}
.journey-ribbon>span{line-height:1.6}.journey-ribbon button{border:0;background:#315b45;color:white;padding:10px 12px;min-height:44px;white-space:nowrap;font-size:12px}.journey-ribbon strong{font-family:var(--font-mono)}
.cat-guide{display:flex;align-items:center;gap:16px;padding:18px 6px;max-width:640px}.cat-guide img,.cat-result img{object-fit:contain;image-rendering:pixelated;flex-shrink:0}.cat-guide p{border:1px solid #bac6a9;background:#fff9e6;padding:14px 18px;font-size:14px;line-height:1.6;margin:0;border-radius:2px 14px 14px 14px}
.passport{scroll-margin-top:90px;background:repeating-linear-gradient(0deg,#eeeedd,#eeeedd 27px,#e5e7d7 28px);border:2px solid #9daf93}.passport-heading h2{font: bold 16px var(--font-serif)}.ticket-slots li{min-height:65px;gap:12px}.ticket-slots li::before{display:none}.passport-stamp{flex:0 0 54px;display:grid;place-items:center;width:54px;height:54px;border:2px dashed #a6b29a;color:#859279;font:bold 15px var(--font-mono);border-radius:50%}.ticket-slots li.is-previewed .passport-stamp{border:3px double #315b45;color:#315b45;transform:rotate(-10deg);background:#dce8d440}.ticket-slots li:nth-child(2) .passport-stamp{transform:rotate(9deg)}.ticket-slots li small{display:block;font:8px var(--font-mono);letter-spacing:1px;margin-top:6px;color:#66765e}
.map-hint{padding:12px 14px;background:#fff5d6;display:flex;align-items:center;gap:12px;justify-content:space-between;font-size:12px;line-height:1.6}.map-hint button{flex-shrink:0;min-height:44px;background:#f3efdf;border:1px solid #aa9a6d;padding:8px}.asset-status{font-size:12px;padding:8px 12px;background:#e5e8d7;line-height:1.6;margin:0}.map-canvas{scroll-margin-top:90px}
.cat-result{display:flex;align-items:center;justify-content:center;gap:12px;text-align:left}.cat-result p{font-size:14px;line-height:1.6;max-width:230px}.reward-choices{display:grid;grid-template-columns:1fr 1fr;gap:12px;text-align:left;margin:20px 0}.reward-choices section{padding:18px;background:#e3e9d6;border:1px solid #aabc9a}.reward-choices section+section{background:#f5ead4;border-color:#c6b794}.reward-choices h3{font-size:17px;line-height:1.4;margin:12px 0}.reward-choices p{font-size:12px;line-height:1.65}.reward-choices button{width:100%;justify-content:center;padding:12px 8px;font-size:12px;gap:6px}.share-section{border-top:1px dashed #b5bda7;margin-top:24px;padding-top:18px}.share-preview{display:block;width:216px;max-width:100%;height:auto;margin:18px auto;border:1px solid #aabc9a;box-shadow:4px 4px #263a2f22}.share-section .secondary-button{margin:8px auto}.share-section h3{font:24px var(--font-serif)}#back-to-result{margin-top:24px}
@media(max-width:480px){.journey-ribbon{padding:6px 8px;gap:6px}.journey-ribbon>span{font-size:11px}.cat-guide{gap:8px;padding:12px 0}.cat-guide img{width:72px;height:72px}.cat-guide p{font-size:12px;padding:10px}.reward-choices{grid-template-columns:1fr}.ticket-slots li{margin:12px 0}.passport-stamp{flex-basis:48px;width:48px;height:48px}}

.wallpaper-filters{display:flex;flex-wrap:wrap;gap:8px;margin:20px 0 12px}.wallpaper-filters button{min-height:44px;padding:10px 12px;border:1px solid #a9b898;background:#efeedf;font-size:13px}.wallpaper-filters button[aria-pressed=true]{background:#315b45;color:white;border-color:#315b45}.wallpaper-filters span{display:inline-block;margin-left:5px;opacity:.75;font:11px var(--font-mono)}.collection-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:20px 0}.collection-heading h3{margin:0;font:26px var(--font-serif)}.collection-heading .small-note{margin:8px 0}.collection-heading a{font-size:12px;gap:8px}.wallpaper-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px 14px}.wallpaper-grid .reward-item img{display:block;object-fit:contain;width:100%;height:auto;aspect-ratio:9/16}.wallpaper-grid h4{font-size:13px;line-height:1.5;min-height:40px;margin:10px 0 3px}.wallpaper-view{display:block;color:var(--muted);font-size:11px;min-height:44px;padding:12px 0}.wallpaper-grid .download-link{font-weight:bold}
@media(max-width:600px){.wallpaper-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 12px}.collection-heading{align-items:flex-start;flex-direction:column;gap:8px}.wallpaper-filters button{font-size:12px}.collection-heading h3{font-size:23px}}

/* Optional exploration lives beside the original three-question passport. */
.map-cat{position:absolute;width:clamp(40px,7vw,70px);height:auto;object-fit:contain;transform:translate(-50%,-140%);pointer-events:none;z-index:4;transition:left .7s ease,top .7s ease;filter:drop-shadow(0 4px 2px #17362144)}
.cat-arrived{animation:cat-hop .5s ease-out}.postcard-stamp{display:inline-block;border:3px double #315b45;padding:12px;color:#315b45;font-weight:bold;transform:rotate(-8deg);animation:stamp-in .28s ease-out}
.bonus-passport{padding:18px;border:2px dashed #315b45;background:#e5eadb;margin-top:16px}.postcard-body{background:#faf4e1}.postcard-body h2{margin-top:24px}.postcard-body p{line-height:1.7}
.phone-dialog{max-width:440px}.phone-mock{position:relative;width:min(100%,270px);aspect-ratio:9/16;margin:12px auto;border:8px solid #243a31;border-radius:30px;overflow:hidden;background:#ccd5c2;touch-action:pan-y}.phone-mock img{width:100%;height:100%;object-fit:cover}.phone-clock{position:absolute;inset:10% 0 auto;text-align:center;color:white;text-shadow:0 2px 9px #000,0 0 5px #0009;pointer-events:none}.phone-clock small{font:10px var(--font-sans);letter-spacing:1px}.phone-clock strong{display:block;font:54px var(--font-sans)}.phone-controls{display:flex;align-items:center;justify-content:center;gap:10px}.phone-controls button{min-width:44px}.phone-controls .primary-button{font-size:14px}.wallpaper-view{background:none;border:0;font:inherit;text-align:left;cursor:pointer;color:#315b45;text-decoration:underline;padding:10px 0;min-height:44px}.map-footer{flex-wrap:wrap;gap:12px}#story-caption{margin:8px 0;width:100%}.bonus-passport[hidden],.map-cat[hidden]{display:none}
@keyframes stamp-in{from{opacity:0;transform:scale(1.4) rotate(-16deg)}to{opacity:1;transform:scale(1) rotate(-8deg)}}
@keyframes cat-hop{50%{margin-top:-12px}}
@media(prefers-reduced-motion:reduce){.map-cat,.cat-arrived,.postcard-stamp{animation:none!important;transition:none!important}}

/* Result personalities and post-spin gifts. */
[hidden]{display:none!important}
.loki-secret{border:0;background:transparent;padding:0;cursor:pointer;flex-shrink:0;border-radius:12px}
.loki-secret:hover img{transform:rotate(-6deg)}
.loki-secret:focus-visible{outline:3px solid var(--green);outline-offset:4px}
.result-body{--result-color:#6b4c9a;border-top:6px solid var(--result-color)}
.result-body #result-title{color:var(--result-color)}
.result-body .primary-button{background:var(--result-color)}
.result-body .result-symbol{padding:13px;border:2px solid var(--result-color);background:#f9f4e7;object-fit:contain}
.result-body .cat-result img{width:128px;height:128px;image-rendering:pixelated}
.result-tagline{font-family:var(--font-serif);font-style:italic;font-size:20px!important;color:var(--result-color);max-width:540px;margin:0 auto 18px!important}
.recommended-gifts{border-top:1px dashed var(--result-color);padding-top:20px;margin-top:24px}
.recommended-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;text-align:left;margin-bottom:18px}
.recommended-grid article{min-width:0}
.recommended-grid img{width:100%;height:auto;aspect-ratio:9/16;object-fit:cover;border:4px solid white;box-shadow:2px 3px 0 #d4d1c3}
.recommended-grid p{font-size:11px;line-height:1.5;min-height:34px;margin:8px 0}
.sticker-body{text-align:center}.sticker-body>img{image-rendering:pixelated;max-width:70%;height:auto}
#extra-progress{color:var(--green);font-weight:bold}
#post-spin-gifts[hidden]{display:none}
@media(max-width:480px){.result-tagline{font-size:18px!important}.recommended-grid{gap:8px}.recommended-grid .download-link{font-size:11px}.result-body .cat-result img{width:100px;height:100px}}
@media(prefers-reduced-motion:reduce){.loki-secret:hover img{transform:none}}

/* Keep all named stamps visible as the optional journey grows. */
.ticket-slots[data-stamps="4"] li{min-height:58px;margin:9px 0}
.ticket-slots[data-stamps="5"] li{min-height:52px;margin:7px 0}
.ticket-slots[data-stamps="5"] .passport-stamp{width:46px;height:46px;flex-basis:46px}

/* Generated group logos contain their own wordmark; retain an accessible heading. */
.result-body .result-symbol.result-logo{display:block;width:min(320px,100%);height:auto;aspect-ratio:1;margin:0 auto 12px;padding:0;border:0;background:transparent;image-rendering:pixelated}
.result-body.has-result-logo #result-title{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
@media(max-width:480px){.result-body .result-symbol.result-logo{width:min(260px,100%)}}

.policy-page{max-width:880px;padding-top:32px;padding-bottom:64px;line-height:1.8}.policy-page h1{font-size:clamp(30px,7vw,48px);margin:28px 0}.policy-page h2{font:600 23px var(--font-serif);margin:30px 0 12px}.policy-page p,.policy-page li{overflow-wrap:anywhere}.policy-page a{text-underline-offset:3px}
