:root{color-scheme:dark;--ink:#edf5ec;--muted:#a0b5b5;--gold:#e5d6a4;--glass:rgba(7,22,31,.78);font-family:Arial,Helvetica,sans-serif;background:#06111b;color:var(--ink)}*{box-sizing:border-box}html,body,#app{width:100%;height:100%;margin:0;overflow:hidden}body{overscroll-behavior:none}button{font:inherit;color:inherit;cursor:pointer;-webkit-tap-highlight-color:transparent}button:focus-visible{outline:2px solid #f4dfa1;outline-offset:5px}button:disabled{cursor:wait;opacity:.6}[hidden]{display:none!important}.scene{position:absolute;inset:0;isolation:isolate}.eyebrow{font-size:10px;letter-spacing:3px;font-weight:600;color:var(--gold)}h1,h2{font-family:Georgia,'Times New Roman',serif;font-weight:400}#lake-scene{display:grid;place-items:center;background:#030b13}#lake-frame{position:relative;width:min(100vw,150svh);aspect-ratio:3/2;isolation:isolate}#lake-art{display:block;width:100%;height:100%;image-rendering:pixelated}#lake-frame:after{content:'';position:absolute;inset:0;z-index:2;pointer-events:none;background:radial-gradient(ellipse,transparent 45%,#030b1355 78%,#030b13 100%)}.lake-shimmer{position:absolute;inset:65% 18% 4% 29%;opacity:.25;background:repeating-linear-gradient(177deg,transparent 0 12px,#bfeaf41c 13px,transparent 15px);mask-image:radial-gradient(ellipse,#000,transparent 67%);animation:shimmer 8s ease-in-out infinite alternate}@keyframes shimmer{to{transform:translateX(9px);opacity:.45}}#dream-bubble{position:absolute;left:20%;top:32%;width:clamp(52px,6.3vw,100px);aspect-ratio:1;transform:translate(-50%,-50%);border:1px solid #d6eafaaa;border-radius:50%;padding:5px;background:#d6eef515;box-shadow:0 0 15px #c0e9ff50,inset 0 0 14px #d0f5ff30;z-index:5;animation:dream-float 4s ease-in-out infinite;transition:box-shadow .3s}#dream-bubble:hover{box-shadow:0 0 30px #b4e5ffc0,inset 0 0 14px #d0f5ff70}.bubble-window{display:block;width:100%;height:100%;border-radius:50%;background:linear-gradient(#8cd3f310,#030c2430),url('./assets/grove.webp') center/cover;box-shadow:inset 0 0 12px #e3edfb66}.bubble-star{position:absolute;right:2px;top:-9px;color:#f2e5b8;text-shadow:0 0 9px #ffe8a8}.thought{position:absolute;border:1px solid #e1edee99;border-radius:50%;background:#bedfeb36;box-shadow:0 0 8px #9aceeb50}.thought-one{width:12px;height:12px;left:48%;bottom:-19px}.thought-two{width:6px;height:6px;left:42%;bottom:-32px}@keyframes dream-float{50%{transform:translate(-50%,calc(-50% - 7px))}}.lake-caption{position:absolute;bottom:7%;left:50%;transform:translateX(-50%);text-align:center;width:90%;pointer-events:none;text-shadow:0 2px 25px #000}.lake-caption h1{font-size:clamp(24px,3vw,40px);margin:14px 0 10px}.lake-caption p{font-size:12px;color:#c1d0d2;letter-spacing:1px}#forest-art,#environment,#fairies{position:absolute;inset:0;width:100%;height:100%}#forest-art{object-fit:fill;object-position:center;image-rendering:pixelated;transform-origin:0 0;will-change:transform}#environment{pointer-events:none;z-index:1}#fairies{z-index:2;touch-action:manipulation}.vignette{position:absolute;inset:0;z-index:3;pointer-events:none;background:linear-gradient(#020b1855,transparent 27%,transparent 70%,#020b18bf),radial-gradient(ellipse,transparent 40%,#020b1855 100%)}.forest-header{position:absolute;z-index:4;left:5%;right:5%;top:max(6%,env(safe-area-inset-top));display:flex;align-items:flex-start;justify-content:space-between;gap:15px;pointer-events:none}.forest-header button{pointer-events:auto}.identity{text-shadow:0 2px 24px #020a18}.identity h1{font-size:clamp(26px,3vw,43px);margin:12px 0 8px;letter-spacing:-.7px}.identity p{font-size:12px;letter-spacing:.5px;color:#bdced1;margin:0}.glass-button{min-height:44px;border:1px solid #a9c1bc50;border-radius:6px;padding:12px 18px;background:var(--glass);box-shadow:0 3px 20px #0002;backdrop-filter:blur(12px);font-size:12px;letter-spacing:.3px;transition:border-color .2s,background .2s}.glass-button:hover{border-color:#e3d4a888;background:#102d3ce8}.glass-button span{color:var(--gold);margin-right:5px}.forest-footer{position:absolute;z-index:4;bottom:max(7%,calc(env(safe-area-inset-bottom) + 45px));left:5%;right:5%;display:flex;align-items:center;justify-content:space-between;gap:18px;pointer-events:none}.forest-footer button{pointer-events:auto}.portal-button{display:flex;align-items:center;gap:12px;border:0;background:none;padding:0;min-height:60px}.portal-image{width:60px;height:60px;border:1px solid #dceff0bb;box-shadow:0 0 20px #b4d5ea50,inset 0 0 15px #c4e9ff66;border-radius:50%;background:url('/page-two/lake-corrected-v3.webp') 17% 48%/330%;transition:box-shadow .3s}.portal-button:hover .portal-image{box-shadow:0 0 28px #d0e9ffa0}.portal-label{font-size:11px;color:#d4dfe0}.forest-footer p{text-align:center;font-family:Georgia,serif;font-size:16px;color:#e5e7d7;text-shadow:0 2px 15px #000;margin:0}.forest-footer p span{display:block;font:10px Arial,sans-serif;letter-spacing:1px;color:#aebfbe;margin-top:8px}#preview-tag{position:fixed;z-index:5;bottom:max(17px,env(safe-area-inset-bottom));left:25px;font-size:8px;letter-spacing:1.6px;color:#9eb4bc;text-shadow:0 1px 5px #000;pointer-events:none}#preview-tag span{margin:0 8px}#scene-controls{position:fixed;right:24px;bottom:max(12px,env(safe-area-inset-bottom));display:flex;gap:6px;z-index:5}#scene-controls button{width:38px;height:38px;border:1px solid #bbd3ce30;border-radius:50%;background:#07172290;color:#bfd1d3;font-size:16px}#scene-controls button:hover{border-color:#f4dda888}#transition{position:fixed;inset:0;background:radial-gradient(ellipse at 30% 35%,#c4e8ee,#142c44 50%,#071320);opacity:0;z-index:15;pointer-events:none;transition:opacity .45s}#transition.active{opacity:1;pointer-events:auto}#loading{position:fixed;z-index:16;left:50%;top:50%;transform:translate(-50%,-50%);font:18px Georgia,serif;text-align:center;background:#091724e0;padding:25px;border:1px solid #afc5cb44;border-radius:8px}dialog{color:var(--ink);background:linear-gradient(140deg,#122b38f5,#07131ff5);border:1px solid #adcac25c;border-radius:12px;padding:32px;width:min(370px,calc(100vw - 28px));max-height:calc(100svh - 40px);overflow:auto;text-align:center;box-shadow:0 20px 100px #000a;backdrop-filter:blur(18px)}dialog::backdrop{background:#01091665;backdrop-filter:blur(3px)}dialog h2{font-size:28px;margin:10px 0}dialog p{line-height:1.7;font-size:13px}dialog .subtle{color:#adc1c5;font-size:12px}.close{position:absolute;right:10px;top:8px;border:0;background:transparent;font-size:23px;color:#a6c1c9;width:36px;height:36px}#portrait{display:block;margin:4px auto -6px;width:200px;max-width:100%;height:auto;image-rendering:pixelated}#fairies,#environment{image-rendering:pixelated}.wallet-box{border:1px solid #92b2ba30;background:#05111c80;padding:15px 10px;margin:18px 0}.wallet-box span{display:block;font-size:8px;letter-spacing:1px;color:#b7c8ba;margin-bottom:10px}.wallet-box code{display:block;font-size:12px;overflow-wrap:anywhere;user-select:text}.card-note{font-size:11px;color:#91abb3;margin-bottom:0}.dialog-symbol{font-size:44px;display:block;color:var(--gold);margin-bottom:20px;text-shadow:0 0 30px #f4dc8055}#fairy-list{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:20px}#fairy-list button{background:#071620aa;border:1px solid #adbfbc33;border-radius:5px;padding:12px 8px;font-size:11px;min-height:44px}.swatch{display:inline-block;width:6px;height:6px;border-radius:50%;margin-right:6px;box-shadow:0 0 8px currentColor}.sr-only{position:absolute;width:1px;height:1px;margin:-1px;clip-path:inset(50%);overflow:hidden;white-space:nowrap}.is-paused *{animation-play-state:paused!important}
@media(max-width:600px){.forest-header{left:6%;right:6%;top:max(65px,calc(env(safe-area-inset-top) + 28px));flex-direction:column;gap:20px}.identity h1{font-size:29px}.identity .eyebrow{font-size:8px;letter-spacing:2.5px}.identity p{font-size:11px}.forest-header .glass-button{font-size:11px;padding:10px 13px}.forest-footer{left:6%;right:6%;bottom:max(80px,calc(env(safe-area-inset-bottom) + 65px))}.forest-footer p{position:absolute;bottom:95px;left:0;right:0;font-size:15px}.portal-image{width:52px;height:52px}.portal-label{font-size:10px}.glass-button{padding:12px 14px}#preview-tag{font-size:7px;left:16px;letter-spacing:1px;bottom:25px}#preview-tag span{margin:0 3px}#scene-controls{right:12px;bottom:12px;gap:4px}#scene-controls button{width:34px;height:34px}.lake-caption{bottom:14%}.lake-caption .eyebrow{font-size:8px;letter-spacing:2px}.lake-caption h1{font-size:27px}.thought-one{bottom:-14px;width:9px;height:9px}.thought-two{bottom:-23px;width:5px;height:5px}}
@media(max-height:500px){.forest-header{top:22px}.identity h1{font-size:25px;margin:8px 0}.identity p{display:none}.forest-footer{bottom:55px}.forest-footer p{display:none}.lake-caption{bottom:8%}.lake-caption h1{font-size:22px;margin:8px}.lake-caption p{display:none}}.text-button{display:block;width:100%;margin-top:10px;border:0;background:transparent;color:#d5e4dc;font-size:12px;letter-spacing:.3px;text-decoration:underline;text-underline-offset:3px;min-height:44px}.text-button:hover{color:#fff}
.forest-footer{align-items:flex-end}
/* The fairy is the invitation. The moving native button carries its hit area. */
.fairy-mark{position:fixed;z-index:4;display:block;width:72px;height:80px;margin:0;border:0;border-radius:8px;padding:0;background:transparent;touch-action:manipulation}
.fairy-light{display:block;width:100%;height:100%;pointer-events:none;filter:drop-shadow(0 0 4px #ffd78755);transition:filter .2s}
.fairy-light canvas{display:block;width:100%;height:100%;image-rendering:pixelated}
.fairy-mark:hover .fairy-light{filter:drop-shadow(0 0 7px #ffe5a999)}
.fairy-mark:focus-visible{outline:2px solid #f4dfa1;outline-offset:2px}
#holder-status{position:fixed;z-index:6;top:max(10px,env(safe-area-inset-top));left:14px;max-width:min(280px,46vw);margin:0;font:10px/1.35 Arial,sans-serif;letter-spacing:.2px;color:#8ea4ae;text-shadow:0 1px 4px #000;pointer-events:none}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important}}#reveal-wallet,#connect-wallet{width:100%;margin:0 0 8px}

#dream-bubble{width:44px;height:44px;aspect-ratio:auto;padding:0;border:0;border-radius:4px;background:transparent;box-shadow:none;animation:none;display:grid;place-items:center}#dream-bubble:hover{box-shadow:none}#dream-bubble::before{content:'';width:40px;height:45px;background:url('./assets/dream-bubble.png?v=1') center/contain no-repeat;opacity:1}#dream-bubble .bubble-window,#dream-bubble .bubble-star,#dream-bubble .thought{display:none}
[data-dream-entrance]{opacity:0;visibility:hidden;pointer-events:none;transition:opacity .8s ease,visibility .8s}
[data-dream-entrance][data-dream-state="visible"]{opacity:1;visibility:visible;pointer-events:auto}
#dream-bubble[data-dream-entrance]:not([data-dream-state="visible"]){opacity:0}
@media(prefers-reduced-motion:reduce){[data-dream-entrance]{transition:none}}
.forest-footer a{pointer-events:auto;color:inherit;text-decoration:none}.forest-footer a:focus-visible{outline:2px solid #f4dfa1;outline-offset:5px}html.dream-arriving #transition{opacity:0}
#return-lake{width:60px;height:60px;min-height:60px;display:grid;place-items:center;border-radius:50%;cursor:pointer;touch-action:manipulation}#return-lake>*{pointer-events:none}@media(max-width:600px){#return-lake{width:56px;height:56px;min-height:56px}}
#claim-card{width:min(460px,calc(100vw - 32px));border:3px double #b5ac79;border-radius:3px;background:linear-gradient(135deg,#16332ff5,#0a211ff8 65%,#102a2ff5);box-shadow:0 0 0 5px #071311,0 0 0 6px #66887988,0 24px 100px #000b;padding:32px 28px;color:#ece8d1}#claim-card::backdrop{background:#020a10a6;backdrop-filter:blur(5px)}#claim-card h2{font-size:32px;text-shadow:2px 2px #071816;margin:10px 0}#claim-card .eyebrow{color:#ccb979;font-size:9px;letter-spacing:2.5px}.quest-rule{display:block;color:#d2bf7c;font-size:12px;border-top:1px solid #8b9b7277;margin:17px 12px 0;line-height:0}.quest-intro{color:#cdd5c3;margin:24px 0}#fairy-search label{display:block;text-align:left;font:10px Arial,sans-serif;letter-spacing:1px;color:#d4c896;margin-bottom:9px}#fairy-address{box-sizing:border-box;width:100%;min-height:48px;border:1px solid #809984;border-radius:2px;background:#071a19;color:#edf0dc;padding:12px;font:12px monospace;box-shadow:inset 0 2px 8px #0005}#fairy-address:focus-visible{outline:2px solid #d9c780;outline-offset:3px}#claim-card .quest-action{width:100%;margin-top:14px;background:linear-gradient(#415d40,#263e2e);border:1px solid #b4bd83;border-radius:2px;color:#fff6d3;font:15px Georgia,serif;min-height:48px;box-shadow:inset 0 0 0 2px #152c24}#claim-card .quest-action:hover{background:#4b6845}#claim-card .quest-note{font-size:10px;line-height:1.6;color:#aebea8}#claim-card .quest-return{background:transparent;border:0;border-top:1px solid #647f6d66;border-radius:0;width:100%;color:#d8d2b5;box-shadow:none;font:13px Georgia,serif}#claim-card .close{color:#d3c891}#search-result{min-height:36px;font-size:12px;color:#c2d3bd}#claim-card .token-support{margin:2px 0 0;font-size:11px;line-height:1.5;color:#aebea8}#claim-card .token-link{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:44px;margin-top:2px;padding:4px 8px;color:#d4c896;font:14px Georgia,serif;letter-spacing:.2px;text-decoration:none;border-bottom:1px solid #8b9b7288}#claim-card .token-link:hover{color:#fff6d3;border-bottom-color:#d2bf7c}#claim-card .token-link:focus-visible{outline:2px solid #d9c780;outline-offset:3px}@media(max-width:480px){#claim-card{padding:28px 20px}#claim-card h2{font-size:28px}}

/* Head anchor in the unchanged 1536x1024 painting: (318,422), just above the hat.
   Scale the original pixel sprite with the painting, retaining a usable touch target. */
#world,#lake-frame{container-type:inline-size}
.grove-entrance,#dream-bubble{--dream-size:clamp(24px,3.125vw,48px);left:20.703125%;top:41.2109375%;width:max(44px,var(--dream-size));height:max(44px,calc(var(--dream-size)*1.166667));transform:translate(-50%,-100%)}
.grove-entrance::before,#dream-bubble::before{position:absolute;left:50%;bottom:0;transform:translateX(-50%);width:var(--dream-size);height:calc(var(--dream-size)*1.166667);image-rendering:pixelated}
@supports(width:1cqw){.grove-entrance,#dream-bubble{--dream-size:clamp(24px,3.125cqw,48px)}}
@media(max-width:700px){#fairies{touch-action:pan-y pinch-zoom;cursor:grab}#fairies.is-camera-dragging{cursor:grabbing}}
