@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;500;600;700&family=Zen+Old+Mincho:wght@500;700;900&display=swap');
:root{--bg:#101d28;--panel:#172835;--line:#ffffff12;--text:#f3eddc;--muted:#94a5a9;--gold:#e4bc73;--red:#ec7965;--teal:#5cc6b2}*{box-sizing:border-box}body{margin:0;color:var(--text);background:radial-gradient(ellipse at 70% 0%,#20374644,transparent 60%),var(--bg);font-family:'Noto Sans JP',sans-serif;font-size:13px}button,input{font:inherit}button,a{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{opacity:.4;cursor:default}button:focus-visible,a:focus-visible,input:focus-visible{outline:2px solid var(--gold);outline-offset:4px}button{transition:background .2s,transform .2s}button:hover:not(:disabled){filter:brightness(1.1)}a{color:inherit;text-decoration:none}button{color:inherit}button,input{border-radius:5px}[hidden]{display:none!important}.topbar{height:88px;border-bottom:1px solid var(--line);padding:0 4%;display:flex;align-items:center;justify-content:space-between;gap:20px}.brand{display:flex;align-items:center;gap:13px;font-family:'Zen Old Mincho',serif;font-weight:700;font-size:23px;letter-spacing:3px}.brand-mark{border:1px solid var(--gold);border-radius:50%;color:var(--gold);font-size:22px;width:42px;height:42px;display:grid;place-items:center}.brand small{font:8px sans-serif;letter-spacing:3.3px;display:block;margin-top:5px;color:var(--muted)}nav{display:flex;gap:30px;height:100%;align-items:stretch}.nav{border:0;border-radius:0;background:none;color:var(--muted);font-size:12px;padding:0 5px;position:relative}.nav.active{color:var(--gold)}.nav.active:after{content:'';position:absolute;height:2px;background:var(--gold);bottom:0;left:0;right:0}.account-tools{display:flex;gap:18px;align-items:center}.icon-btn{border:1px solid var(--line);background:transparent;padding:9px 12px;color:var(--gold)}.icon-btn span{font-size:9px;margin-left:4px}.profile-btn{border:0;background:transparent;display:flex;align-items:center;gap:8px;font-size:11px}.avatar{background-image:url('assets/characters.png');background-size:400% 300%;background-repeat:no-repeat;background-color:#fff0d8;aspect-ratio:1;flex-shrink:0}.tiny{width:31px;border-radius:50%;border:1px solid #e4bc7366}main{max-width:1500px;margin:auto;padding:34px 4% 0}.page-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:28px}.eyebrow{font-size:9px;letter-spacing:2.4px;color:var(--gold);font-weight:600}.eyebrow>span{display:inline-block;background:var(--gold);width:5px;height:5px;border-radius:50%;margin-right:7px}h1,h2,h3,h4{font-family:'Zen Old Mincho',serif}h1{font-size:36px;letter-spacing:3px;margin:10px 0 9px;font-weight:700}.page-heading p{color:var(--muted);font-size:11px;letter-spacing:1px;margin:0}.wallet{text-align:right;border-left:1px solid var(--line);padding-left:35px}.wallet>span{color:var(--muted);font-size:10px;letter-spacing:1px}.wallet strong{display:block;font-size:27px;font-weight:500;margin-top:6px}.wallet i{font-style:normal;color:var(--gold);font-size:19px;margin-right:8px}.wallet small{font-size:11px;color:var(--muted);margin-left:8px}.game-layout{display:grid;grid-template-columns:minmax(0,1fr) 280px;gap:24px}.pond-top{display:flex;justify-content:space-between;align-items:center;padding:0 2px 13px;font-size:10px;color:var(--gold);letter-spacing:1px}.pond-top b{font-weight:500;color:var(--text);margin-left:12px;font-size:12px}.live-tag{color:var(--muted);font-size:10px}.pond{height:370px;position:relative;overflow:hidden;border-radius:8px;border:1px solid #bcac7744;background:#18565a url('assets/pond.png') center/cover}.pond.extra{background-image:linear-gradient(#16354311,#23395844),url('assets/kyoto.png');border-color:#c2daec88}.pond canvas{width:100%;height:100%;display:block;position:relative;z-index:2;touch-action:manipulation}.pond-shade{position:absolute;inset:0;background:linear-gradient(90deg,#071e3577,transparent 60%),linear-gradient(0deg,#061a25bb,transparent 30%);pointer-events:none;z-index:1}.pond-caption{position:absolute;top:29px;left:30px;z-index:3;pointer-events:none}.pond-caption span{font-size:8px;letter-spacing:3px;color:#e4ce98}.pond-caption h2{font-size:28px;line-height:1.8;letter-spacing:5px;font-weight:500;margin:10px 0;text-shadow:0 2px 14px #123}.pond.playing .pond-caption{opacity:.35}.pond.playing .pond-caption h2{display:none}.pond-bottom{position:absolute;bottom:19px;left:25px;right:25px;z-index:3;pointer-events:none;display:flex;justify-content:space-between;gap:14px;font-size:10px;letter-spacing:.5px;color:#d0ded8}.pond-bottom>span:last-child{color:#f6db90;font-size:9px}.pond-bottom b{font-weight:400}.primary{border:1px solid #f1b18444;background:var(--red);color:#241c21;padding:13px 22px;font-weight:700;font-size:12px;letter-spacing:.8px;box-shadow:0 3px 13px #090f1715}.primary span{margin-left:18px}.start-on-pond{position:absolute;left:30px;bottom:74px;z-index:4;min-width:220px}.panel{background:var(--panel);border:1px solid var(--line);border-radius:7px}.challenge{margin-top:16px;padding:19px 22px}.challenge-top{display:flex;align-items:center;justify-content:space-between;margin-bottom:14px}.challenge h3{font-size:19px;margin:6px 0 0;letter-spacing:1px}.challenge .eyebrow{font-size:8px}.challenge-clock{display:flex;align-items:center;gap:20px}.challenge-clock>span{font-size:10px;color:var(--gold);letter-spacing:1px}.challenge-clock strong{font-size:27px;font-weight:500;font-variant-numeric:tabular-nums}.challenge-clock small{font-size:10px;color:var(--muted);margin-left:4px}.gauge{height:33px;border-radius:5px;background:repeating-linear-gradient(90deg,#ffffff0a 0,#ffffff0a 1px,transparent 1px,transparent 10%),#0c1c28;position:relative;overflow:visible;border:1px solid #7e9e9c22}.hit-zone{position:absolute;top:0;bottom:0;left:34%;width:32%;background:linear-gradient(90deg,#3a9b8744,#5cc6b277,#3a9b8744);border-left:1px solid #7de5bb;border-right:1px solid #7de5bb;display:grid;place-items:center;color:#b8f4d9;font-size:10px;font-weight:600;letter-spacing:3px}.needle{height:45px;position:absolute;width:3px;background:#fff2bc;left:10%;top:-7px;box-shadow:0 0 10px #f1dba488;border-radius:3px}.needle:before{content:'';position:absolute;top:0;left:-4px;border:5px solid transparent;border-top-color:#fff2bc}.challenge-bottom{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:15px}.challenge-bottom>span{font-size:10px;color:var(--muted)}.challenge-bottom .primary{padding:12px 17px;white-space:nowrap}kbd{font:8px sans-serif;border:1px solid #39252544;padding:3px 5px;border-radius:3px;margin-left:10px;letter-spacing:1px}.section-label{font-size:11px;letter-spacing:1px;display:flex;align-items:center;justify-content:space-between}.section-label>span{font-size:7px;letter-spacing:1.5px;color:var(--muted)}aside{padding-top:28px;display:flex;flex-direction:column;gap:14px}.run-panel{padding:20px}.run-score{margin:15px 0 20px}.run-score strong{font-family:'Zen Old Mincho',serif;font-size:44px;font-weight:500;line-height:1}.run-score>span{margin-left:7px;color:var(--muted);font-size:11px}.run-row{display:flex;align-items:center;justify-content:space-between;font-size:10px;margin:12px 0;color:var(--muted)}.run-row b{font-size:11px;font-weight:500;color:var(--text)}.run-row .lives{color:var(--red);letter-spacing:4px}.divider{border-top:1px solid var(--line);margin:18px 0}.poi-illustration{height:73px;display:flex;align-items:center;justify-content:center;padding-bottom:10px}.poi-illustration span{height:46px;width:46px;border:4px solid #cbb185;border-radius:50%;background:repeating-linear-gradient(0deg,transparent 0 4px,#e9d6a622 4px 5px),repeating-linear-gradient(90deg,transparent 0 4px,#e9d6a622 4px 5px);transform:rotate(-40deg);position:relative}.poi-illustration span:after{content:'';position:absolute;width:5px;height:32px;background:#cbb185;left:17px;top:39px;border-radius:4px}.fine{font-size:10px;line-height:1.9;color:var(--muted)}.run-panel>.fine{margin-bottom:0;text-align:center;font-size:9px}.items-panel{padding:17px}.text-btn{border:0;background:none;color:var(--gold);font-size:10px;padding:3px}.items{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-top:15px}.item-use{background:#0e1e2a;border:1px solid var(--line);padding:10px 2px 8px;position:relative}.item-use i{font-style:normal;font-size:23px;display:block;color:var(--gold)}.item-use small{font-size:8px;color:var(--muted);display:block;margin-top:5px}.item-use b{font-size:9px;position:absolute;right:6px;top:5px;color:var(--gold);font-weight:400}.npc-card{display:flex;gap:12px;align-items:center;padding:12px 0}.npc{width:76px;height:94px;aspect-ratio:auto;border-radius:5px;background-size:400% 300%}.npc-card span{font-size:8px;color:var(--gold)}.npc-card h4{font-size:14px;margin:6px 0}.npc-card p{font-size:9px;line-height:1.9;margin:0;color:var(--muted)}.secondary{background:transparent;border:1px solid #e4bc7344;color:var(--gold);padding:12px 18px;font-size:11px}.end-button{font-size:10px;margin-top:auto}.pool-list{display:flex;gap:7px;margin-top:12px;overflow-x:auto;padding-bottom:4px}.fish-choice{border:1px solid var(--line);background:#172835;padding:9px 10px;min-width:85px;flex:1;display:flex;flex-direction:column;align-items:center;gap:5px;font-size:8px;white-space:nowrap}.fish-choice.selected{border-color:var(--gold)}.fish-dot{display:inline-block;width:17px;height:10px;border-radius:60%;background:var(--fish-color);position:relative;box-shadow:0 0 8px color-mix(in srgb,var(--fish-color),transparent 65%)}.fish-dot:after{content:'';position:absolute;left:-6px;top:0;border-left:7px solid var(--fish-color);border-top:5px solid transparent;border-bottom:5px solid transparent}.rarity{color:var(--gold);font:8px sans-serif;letter-spacing:1px}.bottom-strip{display:grid;grid-template-columns:repeat(3,1fr);gap:28px;margin:26px 0}.bottom-strip>div{display:flex;gap:13px;align-items:center}.bottom-strip>div>span{font-family:'Zen Old Mincho',serif;color:#a98e62;font-size:22px}.bottom-strip p{font-size:9px;color:var(--muted);line-height:1.9;margin:0}.bottom-strip b{display:block;font-size:11px;color:#d2d9d3;font-weight:500}footer{border-top:1px solid var(--line);padding:22px 4%;display:flex;justify-content:space-between;gap:20px;align-items:center;color:var(--muted);font-size:9px;max-width:1500px;margin:auto}.footer-brand{font-family:'Zen Old Mincho',serif;font-size:16px;color:var(--text);letter-spacing:2px}.footer-brand small{font:9px 'Noto Sans JP',sans-serif;color:var(--muted);margin-left:12px;letter-spacing:0}footer b{font-weight:500;color:#d2d9d3}footer a{color:var(--gold)}.view:not(#festival){min-height:650px;padding-bottom:35px}.notice{border:1px solid var(--line);padding:18px 22px;border-radius:5px;margin-bottom:24px;color:var(--muted);font-size:12px;line-height:1.8}.shop-layout{display:grid;grid-template-columns:300px 1fr;gap:26px}.shop-keeper{text-align:center;overflow:hidden;padding-bottom:22px}.keeper{width:100%;margin-bottom:20px}.shop-keeper h2{font-size:27px}.shop-keeper p{color:var(--muted);line-height:2;font-size:11px}.shop-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:18px}.shop-card{padding:23px;display:flex;flex-direction:column}.shop-card .item-icon{font-size:35px;color:var(--gold)}.shop-card h3{font-size:21px;margin:17px 0 8px}.shop-card p{color:var(--muted);font-size:11px;line-height:1.9;flex:1}.shop-card button{margin-top:12px}.quest-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}.quest-card{padding:30px}.quest-card h3{font-size:23px}.quest-card p{color:var(--muted)}.quest-progress{height:7px;background:#0b1c26;border-radius:5px;margin:24px 0}.quest-progress span{display:block;background:var(--teal);height:100%;border-radius:5px}.ranking-layout{display:grid;grid-template-columns:1fr 330px;gap:25px}.ranking-panel{padding:24px}.tabs{display:flex;gap:7px;border-bottom:1px solid var(--line);padding-bottom:12px}.tabs button{border:0;background:transparent;color:var(--muted);padding:10px 15px;font-size:11px}.tabs .selected{color:var(--gold);background:#e4bc7312}.rank-row{display:grid;grid-template-columns:40px 45px 1fr auto;gap:13px;align-items:center;padding:20px 5px;border-bottom:1px solid var(--line)}.rank-row .avatar{width:40px;border-radius:50%}.rank-row .place{font-size:23px;font-family:serif;color:var(--gold)}.rank-row strong{font-weight:500}.rank-row b{color:var(--gold)}.empty-state{text-align:center;padding:80px 20px;color:var(--muted);line-height:2.5}.reward-panel{padding:27px}.reward-medal{font-size:54px;color:var(--gold)}.reward-panel h2{font-size:23px}.reward-panel p{font-size:11px;color:var(--muted);line-height:2}.collection-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}.collection-card{padding:20px;text-align:center}.collection-card canvas{width:100%;height:95px}.collection-card h3{font-size:18px;margin:5px 0}.collection-card p{font-size:10px;color:var(--muted);line-height:1.9}.collection-card.locked{opacity:.55}.toast{position:fixed;z-index:100;left:50%;bottom:25px;transform:translateX(-50%);background:#f4e8ca;color:#233239;box-shadow:0 10px 50px #0006;padding:16px 25px;border-radius:7px;font-size:13px;max-width:90vw;text-align:center;min-width:260px}.fish-label{position:absolute;z-index:5;background:#102830e8;border:1px solid #d8c08a66;border-radius:5px;padding:8px 12px;font-size:10px;pointer-events:none;white-space:nowrap}dialog{color:var(--text);background:#172835;border:1px solid #e4bc7344;border-radius:12px;box-shadow:0 30px 100px #0008;max-width:95vw;max-height:90dvh;padding:0}dialog::backdrop{background:#07121bca;backdrop-filter:blur(8px)}#authDialog[open]{display:grid;grid-template-columns:1fr 1fr;width:850px}.auth-art{background:linear-gradient(0deg,#101f28c9,#13393880),url('assets/pond.png') center/cover;padding:45px 28px 25px;display:flex;flex-direction:column;justify-content:space-between;overflow:hidden}.auth-art h2{font-size:34px;letter-spacing:3px;line-height:1.8}.auth-art>p{font-family:'Zen Old Mincho',serif;font-size:19px;letter-spacing:2px}.auth-art>p span{display:block;font:9px sans-serif;margin-top:8px;letter-spacing:2px;color:var(--gold)}.auth-characters{display:flex;gap:10px}.auth-characters .avatar{width:48%;border-radius:80px 80px 8px 8px;border:3px solid #f6d39377}.auth-form{padding:30px}.auth-form h2{font-size:26px;margin:25px 0 7px}.muted{font-size:11px;color:var(--muted)}label{font-size:10px;display:block;margin-top:17px;color:#d3d9ce}input{display:block;width:100%;background:#10202c;color:var(--text);border:1px solid #7a919344;padding:12px 13px;margin-top:8px;font-size:12px}input::placeholder{color:#617985}form .primary{width:100%;margin-top:12px}.guest{display:block;margin:16px auto}.error{color:#ffb49e;font-size:11px;line-height:1.8}.wide-dialog{width:950px;padding:30px}.dialog-heading{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:25px}.dialog-heading h2{font-size:29px;letter-spacing:2px;margin:8px 0}.dialog-heading p{color:var(--muted);font-size:11px}.badge{color:var(--gold);border:1px solid #e4bc7344;padding:8px 12px;font-size:9px;border-radius:20px;white-space:nowrap}.character-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:14px}.character-option{padding:0;overflow:hidden;background:#0f202d;border:2px solid transparent;text-align:left}.character-option.selected{border-color:var(--gold)}.character-option .avatar{width:100%}.character-option span{display:block;padding:8px 10px;font-family:'Zen Old Mincho',serif;font-size:17px}.character-option small{font:8px 'Noto Sans JP',sans-serif;color:var(--muted);float:right;padding-top:6px}.dialog-bottom{display:flex;justify-content:space-between;gap:15px;align-items:center;margin-top:25px}.message-dialog{width:440px;text-align:center;padding:35px}.message-dialog h2{font-size:28px;line-height:1.6}.message-dialog p{color:var(--muted);line-height:2;font-size:12px}.message-dialog button{margin-top:18px;width:100%}.recovery-code{overflow-wrap:anywhere;color:var(--gold);border:1px dashed #e4bc7366;padding:15px;font:16px monospace;user-select:all}.big-result{font-size:55px;color:var(--gold);font-family:'Zen Old Mincho',serif}.message-dialog .text-btn{width:auto}.flash{animation:flash .35s ease}@keyframes flash{50%{box-shadow:0 0 25px #72f2ce77;border-color:#72f2ce}}.shake{animation:shake .3s ease}@keyframes shake{25%,75%{transform:translateX(-5px)}50%{transform:translateX(5px)}}
@media(min-width:1450px){.pond{height:450px}.run-panel{padding:25px}.run-score{margin:20px 0 27px}.poi-illustration{height:100px}.npc{width:85px;height:110px}.game-layout{grid-template-columns:minmax(0,1fr) 300px}}
@media(max-width:1100px){nav{gap:14px}.topbar{padding:0 3%}.game-layout{grid-template-columns:minmax(0,1fr) 240px;gap:16px}main{padding:28px 3% 0}.pond-bottom{left:15px;right:15px}.pond-bottom>span:last-child{display:none}.challenge-bottom{align-items:stretch}.challenge-bottom>span{max-width:150px;line-height:1.8}.live-tag{font-size:8px}.footer-brand small{display:none}.npc{width:60px;height:80px}}
@media(max-width:760px){.topbar{height:auto;flex-wrap:wrap;padding:16px 5% 0;gap:15px}.brand{font-size:21px}.brand-mark{width:35px;height:35px}.account-tools{margin-left:auto}.profile-btn>span:last-child{display:none}nav{order:3;width:100%;justify-content:space-between;height:43px}.nav{padding:0 10px}.page-heading{gap:12px;margin-bottom:23px}h1{font-size:27px;letter-spacing:1px}.page-heading p{font-size:9px;line-height:1.9;max-width:230px}.eyebrow{font-size:7px;letter-spacing:1.5px}.wallet{padding-left:12px}.wallet strong{font-size:23px;white-space:nowrap}.wallet>span{font-size:8px}main{padding:25px 5% 0}.game-layout{grid-template-columns:1fr}.pond{height:360px}.pond-caption h2{font-size:27px}.pond-caption{left:22px}.challenge{padding:18px 15px}.challenge-bottom{flex-direction:column;gap:12px}.challenge-bottom>span{max-width:none}.challenge-bottom .primary{padding:15px}.pool-list{flex-wrap:wrap;overflow:visible}.fish-choice{min-width:calc(25% - 8px)}aside{padding-top:0;display:grid;grid-template-columns:1fr 1fr;gap:12px}.run-panel{grid-row:span 2;padding:16px}.run-score strong{font-size:35px}.run-panel .section-label>span{display:none}.run-panel .run-row{font-size:9px}.run-row b{font-size:9px}.run-panel .fine{font-size:8px}.items-panel{padding:12px}.section-label{font-size:10px}.item-use{padding:12px 0 8px}.items{gap:5px}.npc-card{grid-column:span 2;background:#172835;border:1px solid var(--line);padding:10px;border-radius:5px;order:4}.npc{width:60px;height:70px}.npc-card p{font-size:10px}.end-button{grid-column:2;grid-row:2;align-self:end;font-size:9px;padding:13px 5px}.bottom-strip{gap:12px}.bottom-strip>div{display:block}.bottom-strip p{font-size:8px}.bottom-strip b{font-size:10px}footer{padding:20px 5%;flex-wrap:wrap;gap:12px;font-size:8px}.footer-brand{font-size:15px}.shop-layout,.ranking-layout{grid-template-columns:1fr}.shop-keeper{display:grid;grid-template-columns:110px 1fr;text-align:left;padding:0;column-gap:20px;align-items:center}.keeper{grid-row:span 3;margin:0;width:110px;height:145px;aspect-ratio:auto}.shop-keeper h2{font-size:23px;margin:0}.shop-keeper p{font-size:9px;margin:0 0 10px}.shop-keeper .eyebrow{margin-top:15px}.shop-grid{gap:12px}.shop-card{padding:17px}.shop-card h3{font-size:18px}.shop-card .primary{padding:12px 5px;font-size:10px}.quest-grid{grid-template-columns:1fr}.collection-grid{grid-template-columns:repeat(2,1fr);gap:12px}.collection-card{padding:13px}.collection-card h3{font-size:16px}.ranking-panel{padding:15px}.tabs button{padding:10px 9px;font-size:10px}.rank-row{gap:9px;grid-template-columns:25px 35px 1fr auto;font-size:11px}.rank-row .avatar{width:32px}#authDialog[open]{grid-template-columns:1fr;width:420px}.auth-art{display:none}.auth-form{padding:24px}.character-grid{grid-template-columns:repeat(2,1fr);gap:12px}.wide-dialog{padding:20px}.dialog-heading{display:block}.dialog-heading h2{font-size:25px}.dialog-heading .badge{display:inline-block;margin-top:8px}.dialog-bottom{flex-direction:column;position:sticky;bottom:-20px;background:#172835;padding:15px 0}.dialog-bottom .primary{width:100%}.message-dialog{padding:27px}.toast{font-size:11px;bottom:15px;min-width:80vw}.challenge-clock{gap:12px}.live-tag{display:none}}
@media(prefers-reduced-motion:reduce){.flash,.shake{animation:none}button{transition:none}}
.topbar nav{display:none}.menu-button{font-size:19px;padding:5px 10px}.menu-dialog{width:490px;padding:27px}.menu-dialog .dialog-heading{margin-bottom:10px}.menu-dialog h2{font-size:25px}.menu-links{display:grid;gap:3px}.menu-links>button{display:flex;align-items:center;gap:17px;text-align:left;background:transparent;border:0;border-bottom:1px solid var(--line);border-radius:0;padding:15px 3px;color:var(--gold);font-size:23px}.menu-links>button>span{font-size:13px;color:var(--text)}.menu-links small{display:block;color:var(--muted);font-size:9px;margin-top:5px}.menu-links b{margin-left:auto;font-size:15px;font-weight:400}.wardrobe-layout{display:grid;grid-template-columns:320px 1fr;gap:25px}.dress-preview{padding:22px;height:fit-content;position:sticky;top:20px;text-align:center}.large-avatar{width:100%;border-radius:8px}.dress-preview h2{font-size:27px;margin:19px 0 6px}.dress-preview p{font-size:11px;color:var(--muted)}.dressed{position:relative;overflow:hidden}.accessory{position:absolute;display:block;z-index:2;pointer-events:none}.accessory svg{width:100%;height:100%;display:block;filter:drop-shadow(0 3px 2px #39253640)}.mask-accessory{width:37%;height:37%;right:0;top:0;transform:rotate(22deg)}.hand-accessory{width:25%;height:36%;bottom:0;right:9%;transform:rotate(-10deg)}.tiny .hand-accessory{display:none}.wardrobe-section{padding:20px;margin-bottom:17px}.wardrobe-section h3{font-size:21px;margin:0 0 17px}.outfit-options{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.outfit-option{padding:13px 7px;min-height:90px;background:#0e202b;border:1px solid var(--line);font-size:10px}.outfit-option.selected{border-color:var(--gold)}.outfit-option>span{height:48px;display:block;margin:0 auto 7px}.outfit-option svg{height:100%;width:55px}.outfit-option b{display:block;font-size:10px;font-weight:500}.outfit-option small{display:block;font-size:8px;color:var(--muted);margin-top:7px}.simple-item{font-size:34px;color:var(--gold)}.shop-card .item-icon svg{height:50px;width:50px}.shop-card .item-icon{display:block;margin-bottom:15px}.catalog-item{height:90px;margin:10px auto 20px;display:grid;place-items:center}.catalog-item svg{height:85px;max-width:90px}.video-dialog{width:1100px;background:#07141c}.video-dialog video{width:100%;display:block;max-height:72vh}.video-caption{padding:18px 22px;display:flex;align-items:center;justify-content:space-between;font-family:'Zen Old Mincho',serif;font-size:24px}.video-caption small{display:block;color:var(--muted);font:9px sans-serif;margin-top:6px}.practice-gauge{margin:35px 0 25px}.tutorial-npc .avatar{width:90px;height:90px;margin:20px auto;border-radius:50%}.test-login{width:100%;border:1px dashed #e4bc7377;background:#e4bc7310;color:var(--gold);padding:11px;font-size:11px;margin-top:8px}.test-tools{display:grid;grid-template-columns:1fr 1fr;gap:12px}.test-tools button{min-height:75px}.number-badge{font:8px monospace;display:block;color:var(--gold);margin-top:3px}.test-notice{border-color:#e4bc7366}.header-number{font:8px monospace;color:var(--gold);display:block;margin-top:3px}.auth-form>.fine{font-size:9px}.test-status{font-size:10px;color:var(--gold);margin:0 0 15px}
@media(max-width:760px){.topbar{height:74px;flex-wrap:nowrap;padding:12px 5%;gap:10px}.account-tools{gap:10px}.brand{font-size:20px}.profile-btn{padding:0}.menu-dialog{padding:20px}.menu-dialog .dialog-heading{display:flex}.menu-links>button{padding:13px 3px}.wardrobe-layout{grid-template-columns:1fr}.dress-preview{position:static;padding:18px}.large-avatar{width:230px;margin:auto}.outfit-options{grid-template-columns:repeat(3,1fr)}.video-caption{font-size:19px;padding:13px}.video-caption small{font-size:7px}.wallet{padding-left:10px}.test-tools{grid-template-columns:1fr}.topbar .brand small{font-size:6px}.topbar .brand-mark{width:30px;height:30px;font-size:18px}}
.silhouette{filter:brightness(0) saturate(0);opacity:.6}.undiscovered{background:#14242f}.undiscovered h3{color:#839598}.undiscovered p{color:#718790}.catalog-summary{display:flex;align-items:center;justify-content:space-between;gap:20px}.catalog-summary strong{color:var(--gold);font-size:13px;font-weight:500;white-space:nowrap}.catalog-summary input{max-width:320px;margin:0}.catalog-summary+.quest-progress{margin:18px 0 10px}#catalogTabs{margin-bottom:22px}.metric-tabs{margin-bottom:12px}.unlock-requirement{font-size:10px;color:#b7bbac;line-height:1.9;padding:12px;background:#0c1d27;border-radius:5px}.unlock-requirement b{font-weight:500;color:var(--gold)}.outfit-option:disabled{opacity:.5}.collection-card canvas.silhouette{opacity:.8}
@media(max-width:760px){.catalog-summary{display:block}.catalog-summary input{margin-top:15px;max-width:none}.catalog-summary strong{font-size:12px}}
.leader-strip{display:grid;grid-template-columns:230px 1fr 1fr;align-items:center;gap:22px;border:1px solid #e4bc732a;background:linear-gradient(90deg,#d6b16809,#1a2b3522);border-radius:6px;padding:15px 19px;margin:-5px 0 26px}.leader-label{display:flex;align-items:center;gap:13px;font-size:11px;letter-spacing:1px}.leader-label>span{color:var(--gold);font-size:28px}.leader-label small{display:block;color:#b29b70;font:7px sans-serif;letter-spacing:1.5px;margin-top:5px}.leader-card{display:flex;align-items:center;gap:11px;border-left:1px solid var(--line);padding-left:20px;min-width:0}.leader-card .avatar{width:37px;border:1px solid #d9be8366;border-radius:50%}.leader-card>div>small{display:block;font-size:8px;color:var(--gold);margin-bottom:4px}.leader-card strong{font-size:11px;font-weight:500;display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.leader-card>div{min-width:0}.leader-card>b{margin-left:auto;color:var(--gold);font-size:18px;font-weight:500;white-space:nowrap}.leader-card>b small{font-size:9px;margin-left:5px}.leader-empty{font-size:22px;color:#9d8d6c}.leader-card .leader-empty+div strong{font-size:10px;color:var(--muted)}
@media(max-width:1000px){.leader-strip{grid-template-columns:180px 1fr 1fr;gap:10px}.leader-card{padding-left:12px}.leader-card strong{font-size:10px}.leader-label{font-size:10px}}@media(max-width:760px){.leader-strip{grid-template-columns:1fr 1fr;padding:13px;gap:13px}.leader-label{grid-column:span 2;gap:8px}.leader-label>span{font-size:20px}.leader-label small{display:inline-block;margin:0 0 0 10px;font-size:6px}.leader-card{border:0;padding:0;gap:7px}.leader-card .avatar{width:30px}.leader-card>b{font-size:15px}.leader-card strong{font-size:9px}.leader-card>div>small{font-size:7px}.leader-card .leader-empty+div strong{font-size:8px}}
.hall-grid{display:grid;grid-template-columns:1fr 1fr;gap:25px}.hall-card{overflow:hidden}.hall-card canvas{display:block;width:100%;aspect-ratio:3/2;background:#112b3a}.hall-card>div{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:16px;font-size:10px}.hall-card .secondary{font-size:9px;padding:10px}.hall-empty{grid-column:1/-1}.hall-empty>span{font-size:60px;color:var(--gold)}.hall-empty h2{font-size:29px;color:var(--text)}@media(max-width:760px){.hall-grid{grid-template-columns:1fr}.hall-card>div{font-size:9px}}
/* Keep the entire desktop play surface inside the window. */
@media(min-width:761px){body{height:100dvh;overflow:hidden}.topbar{height:64px;padding:0 3%;flex-shrink:0}.brand{font-size:21px}.brand-mark{width:35px;height:35px}main{height:calc(100dvh - 106px);padding:14px 3% 0;display:flex;flex-direction:column}.page-heading{margin-bottom:13px;flex-shrink:0}h1{font-size:29px;line-height:1.25;margin:7px 0}.page-heading p{font-size:10px}.wallet strong{font-size:24px}.leader-strip{padding:9px 14px;margin:0 0 13px;flex-shrink:0}.leader-card .avatar{width:31px}.leader-label>span{font-size:23px}#festival{flex:1;min-height:0;padding-bottom:12px}.game-layout{height:100%;grid-template-columns:minmax(0,1fr) 260px;gap:18px}.play-column{min-height:0;display:grid;grid-template-rows:20px minmax(100px,1fr) 137px 44px;gap:10px}.pond-top{padding:0;line-height:20px}.pond{height:100%;min-height:0}.pond-caption{top:15px;left:24px}.pond-caption h2{font-size:24px;line-height:1.5}.pond-bottom{bottom:13px;font-size:9px}.start-on-pond{bottom:52px;padding:12px 20px}.challenge{margin:0;padding:13px 17px}.challenge-top{margin-bottom:10px}.challenge h3{font-size:17px;margin:4px 0 0}.challenge-clock strong{font-size:24px}.gauge{height:26px}.needle{height:38px}.challenge-bottom{margin-top:10px}.challenge-bottom .primary{padding:9px 17px}.pool-list{margin:0;padding:0}.fish-choice{padding:6px 7px;min-width:74px;gap:3px;font-size:8px}.fish-choice .rarity{font-size:7px}.bottom-strip{display:none}aside{min-height:0;padding-top:30px;display:grid;grid-template-rows:minmax(130px,1fr) 92px 70px 33px;gap:10px}.run-panel{padding:15px}.run-score{margin:10px 0}.run-score strong{font-size:32px}.run-row{margin:9px 0}.divider{margin:10px 0}.poi-illustration{display:none}.run-panel>.fine{font-size:8px;margin:5px 0 0}.items-panel{padding:12px}.items{margin-top:8px}.item-use{padding:6px 1px 4px}.item-use i{font-size:18px}.item-use small{margin-top:3px}.npc-card{padding:0;gap:10px}.npc{width:55px;height:67px}.npc-card h4{font-size:12px;margin:4px 0}.npc-card p{font-size:8px;line-height:1.7}.end-button{padding:7px 5px;font-size:9px;margin:0}.view:not(#festival){flex:1;min-height:0;overflow-y:auto;padding-bottom:18px}footer{height:42px;padding:9px 3%;margin:0 auto;max-width:1500px;width:100%;font-size:8px}.footer-brand{font-size:14px}.footer-brand small{font-size:8px}.page-heading h1{font-size:28px}.hall-card canvas{max-height:380px;object-fit:contain}}
@media(min-width:761px) and (max-height:700px){main{padding-top:9px}.page-heading h1{font-size:23px;margin:4px 0}.page-heading .eyebrow{font-size:7px}.page-heading p{font-size:9px}.leader-strip{margin-bottom:8px;padding:7px 13px}.play-column{grid-template-rows:17px minmax(100px,1fr) 129px 40px;gap:8px}.challenge{padding:10px 14px}.run-panel{padding:11px}.run-panel .section-label>span,.run-panel>.fine{display:none}aside{grid-template-rows:minmax(120px,1fr) 80px 59px 30px;gap:7px;padding-top:25px}.items-panel{padding:9px}.npc{height:56px;width:48px}.run-score strong{font-size:27px}.run-score{margin:7px 0}.run-row{margin:7px 0}.run-panel .divider{margin:7px 0}.npc-card p{font-size:7px}}
dialog{overflow:auto}.video-dialog video{max-height:calc(90dvh - 95px);object-fit:contain}.video-caption{min-height:80px}.welcome-dialog{width:960px;overflow:hidden;background:#0a1d2b}.welcome-poster{height:min(55dvh,460px);background:linear-gradient(0deg,#081d32cc,transparent 65%),url('assets/opening.png') center/cover;display:flex;align-items:end;justify-content:center;text-align:center;padding:30px}.welcome-poster h2{font-size:58px;letter-spacing:12px;margin:0;text-shadow:0 2px 15px #102a39}.welcome-poster p{font-size:12px;letter-spacing:3px}.welcome-bottom{padding:20px;text-align:center}.welcome-bottom .primary{min-width:250px}.welcome-bottom .fine{margin-bottom:0}.settings-dialog label{font-size:12px;margin:20px 0}.settings-dialog input[type=checkbox]{width:auto;display:inline;margin-right:10px}.settings-dialog input[type=range]{accent-color:var(--gold);padding:0}.flow-note{color:var(--gold);font-size:10px;line-height:1.8;background:#e4bc7310;padding:10px;border-radius:5px;margin-top:15px}
@media(max-width:760px){.pond{height:clamp(180px,32dvh,300px)}.auth-form{padding:20px}.auth-form h2{margin-top:15px}.auth-form label{margin-top:12px}.auth-form input{padding:10px}.auth-form .fine{font-size:8px}.video-caption{min-height:73px}.video-dialog video{max-height:calc(90dvh - 80px)}.welcome-poster h2{font-size:40px;letter-spacing:7px}.welcome-poster{height:48dvh}.welcome-poster p{font-size:10px}.welcome-bottom{padding:18px}.character-grid{grid-template-columns:repeat(3,1fr);gap:8px}.character-option span{padding:7px;font-size:13px}.character-option small{float:none;display:block;padding-top:3px}.dialog-heading{margin-bottom:15px}.dialog-bottom .fine{display:none}}
/* Strict single-screen layout on all devices. No scroll containers. */
html,body{height:100%;width:100%;overflow:hidden;overscroll-behavior:none}body{height:100dvh;display:flex;flex-direction:column}.topbar{flex-shrink:0}main{min-height:0;flex:1}footer{flex-shrink:0}.view:not(#festival){display:flex;flex-direction:column;overflow:hidden;min-height:0}.view .notice{font-size:10px;padding:10px 14px;margin-bottom:12px;flex-shrink:0}.pager-host{display:flex;flex-direction:column;min-height:0;min-width:0;flex:1;overflow:hidden}.pager-host> :first-child{min-height:0}.pagination{display:flex;align-items:center;justify-content:center;gap:14px;height:34px;min-height:34px;margin-top:8px;flex-shrink:0}.pagination button{width:35px;height:30px;line-height:20px;border:1px solid #e4bc7355;background:#182c38;color:var(--gold);font-size:24px}.pagination span{font:10px monospace;color:var(--muted)}.shop-layout,.ranking-layout,.wardrobe-layout{flex:1;min-height:0;overflow:hidden}.shop-grid{flex:1;grid-template-columns:repeat(2,minmax(0,1fr));grid-auto-rows:minmax(0,1fr);gap:12px}.shop-card{min-height:0;padding:18px;overflow:hidden}.shop-card h3{font-size:20px;margin:10px 0}.shop-card .item-icon{margin-bottom:8px}.shop-card p{margin:5px 0;font-size:10px}.shop-card .primary,.shop-card .secondary{margin-top:9px}.shop-keeper{min-height:0;overflow:hidden}.shop-keeper .keeper{max-height:44vh}.shop-keeper h2{margin:12px 0}.shop-keeper p{padding:0 12px}.collection-grid{flex:1;min-height:0;grid-template-rows:repeat(2,minmax(0,1fr));gap:10px}.collection-card{min-height:0;overflow:hidden;padding:11px}.collection-card canvas{height:65px;max-height:40%;object-fit:contain}.collection-card h3{font-size:15px;margin:3px 0}.collection-card p{font-size:8px;line-height:1.6;margin:5px 0}.collection-card .eyebrow{font-size:7px}.catalog-item{height:55px;margin:2px auto 9px}.catalog-item svg{height:52px}.catalog-item .simple-item{font-size:30px}.ranking-panel{min-height:0;display:flex;flex-direction:column;padding:17px}.rank-row{padding:11px 3px}.rank-row .avatar{width:30px}.reward-panel{padding:20px;overflow:hidden}.reward-medal{font-size:38px}.reward-panel h2{font-size:20px;margin:12px 0}.reward-panel p{font-size:10px}.reward-panel .fine{font-size:8px}.wardrobe-layout{grid-template-columns:260px 1fr;gap:17px}.dress-preview{position:static;padding:18px}.dress-preview .large-avatar{max-height:33vh}.wardrobe-section{height:100%;margin:0;display:flex;flex-direction:column;padding:17px;min-height:0}.wardrobe-section h3{flex-shrink:0;font-size:20px;margin-bottom:13px}.outfit-options{flex:1;min-height:0;grid-template-columns:repeat(3,1fr);grid-template-rows:repeat(2,minmax(0,1fr))}.outfit-option{min-height:0;padding:9px 6px}.outfit-option>span{height:45px}.outfit-option b{font-size:10px}.outfit-option small{font-size:8px}.hall-grid{grid-template-columns:1fr;min-height:0;flex:1}.hall-card{min-height:0;display:flex;flex-direction:column;align-items:center}.hall-card canvas{width:auto;max-width:100%;height:calc(100% - 52px);min-height:0;object-fit:contain;aspect-ratio:3/2}.hall-card>div{width:100%;height:52px;flex-shrink:0}.hall-empty{padding:25px}.hall-empty p{font-size:11px}.pool-pages{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:6px}.pool-pages .pagination{gap:4px;margin:0;height:100%;min-height:0}.pool-pages .pagination button{width:21px;font-size:18px;height:26px}.pool-pages .pagination span{font-size:7px}.pool-list{display:grid;grid-template-columns:repeat(8,minmax(0,1fr));overflow:hidden;gap:5px}.fish-choice{min-width:0}.fish-choice>span:nth-child(2){max-width:100%;overflow:hidden;text-overflow:ellipsis}.menu-dialog{display:flex;flex-direction:column;max-height:90dvh}.menu-dialog:not([open]){display:none}.menu-dialog .menu-links{gap:0}.menu-links>button{padding:10px 3px;font-size:20px}.menu-links>button>span{font-size:12px}.menu-links small{font-size:8px}.menu-dialog .dialog-heading h2{font-size:23px}.wide-dialog[open]{display:flex;flex-direction:column;max-height:90dvh}.character-grid{min-height:0;flex:1}.character-option{min-height:0}.character-option .avatar{max-height:25dvh}.dialog-bottom{position:static;flex-shrink:0}.wide-dialog .dialog-heading{flex-shrink:0;margin-bottom:15px}.wide-dialog .dialog-bottom{margin-top:15px}.message-dialog{max-height:90dvh;overflow:hidden}.message-dialog h2{font-size:25px;margin:12px 0}.message-dialog p{font-size:11px;line-height:1.85}.message-dialog .tutorial-npc .avatar{width:65px;height:65px;margin:12px auto}.message-dialog button{margin-top:13px}.test-tools{grid-template-rows:repeat(2,1fr)}.test-tools button{min-height:50px;margin-top:0}.message-dialog .pagination button{width:35px;margin:0}.auth-form{overflow:hidden}.auth-form label{margin-top:12px}.auth-form .tabs{padding-bottom:8px}.auth-form .fine{font-size:8px}.auth-form h2{margin-top:15px}.auth-form .guest{margin:11px auto}.auth-form .flow-note{font-size:9px;margin:8px 0;padding:8px}.auth-form .flow-note~h2{font-size:24px}dialog{overflow:hidden}.unlock-requirement{font-size:9px;padding:8px}.shop-card .item-icon svg{height:42px}.quest-card{padding:23px;min-height:0;overflow:hidden}.quest-card h3{font-size:21px}.quest-card p{font-size:11px}.quest-grid{flex:1;min-height:0}.catalog-summary{flex-shrink:0}#catalogTabs{margin-bottom:9px;flex-shrink:0}.catalog-summary input{padding:8px;font-size:10px}.catalog-summary+.quest-progress{margin:9px 0 5px}.catalog-summary strong{font-size:11px}.view>div:has(>.catalog-summary){flex-shrink:0}
@media(max-width:760px){.topbar{height:51px;padding:7px 4%;gap:8px}.brand{font-size:17px;gap:7px}.brand-mark{width:26px;height:26px;font-size:16px}.brand small{display:none}.account-tools{gap:8px}.icon-btn{padding:5px 8px}.icon-btn span{font-size:7px}.menu-button{font-size:18px}.tiny{width:25px}.profile-btn>span:last-child{display:block;font-size:8px}.header-number{font-size:6px}.topbar .brand-mark{width:26px;height:26px;font-size:16px}main{height:calc(100dvh - 76px);padding:9px 4% 0;display:flex;flex-direction:column}.page-heading{margin-bottom:8px;min-height:44px;flex-shrink:0}.page-heading h1{font-size:20px;letter-spacing:1px;margin:4px 0}.page-heading .eyebrow{font-size:6px;letter-spacing:1.2px}.page-heading p{display:none}.wallet{padding-left:10px}.wallet>span{font-size:7px}.wallet strong{font-size:20px;margin-top:3px}.wallet i{font-size:13px;margin-right:3px}.wallet small{font-size:8px}.leader-strip{padding:7px 9px;gap:5px 10px;margin:0 0 8px;flex-shrink:0}.leader-label{font-size:8px;gap:7px}.leader-label>span{font-size:14px}.leader-label small{font-size:5px;margin-left:7px;letter-spacing:.6px}.leader-card{gap:5px}.leader-card .avatar{width:23px}.leader-card>div>small{font-size:6px;margin-bottom:2px}.leader-card strong{font-size:8px}.leader-card .leader-empty+div strong{font-size:7px}.leader-empty{font-size:16px}.leader-card>b{font-size:12px}.leader-card>b small{font-size:7px}#festival{min-height:0;flex:1;padding-bottom:7px}.game-layout{height:100%;display:flex;flex-direction:column;gap:6px}.play-column{display:grid;grid-template-rows:16px minmax(70px,1fr) 130px 40px;gap:6px;min-height:0;flex:1}.pond{height:100%;min-height:0}.pond-top{padding:0;line-height:16px;font-size:8px}.pond-top b{font-size:10px}.pond-caption{top:11px;left:16px}.pond-caption h2{font-size:20px;line-height:1.4;letter-spacing:3px;margin:7px 0}.pond-caption span{font-size:6px;letter-spacing:1px}.pond-bottom{left:12px;right:12px;bottom:9px;font-size:7px}.start-on-pond{left:16px;bottom:34px;padding:9px 13px;min-width:170px;font-size:10px}.challenge{margin:0;padding:10px 12px}.challenge-top{margin-bottom:9px}.challenge h3{font-size:16px;margin:4px 0 0}.challenge-clock{gap:10px}.challenge-clock strong{font-size:21px}.challenge-clock>span{font-size:8px}.challenge .eyebrow{font-size:6px}.gauge{height:24px}.needle{height:35px;top:-6px}.challenge-bottom{flex-direction:row;align-items:center;margin-top:9px;gap:8px}.challenge-bottom>span{font-size:7px;line-height:1.7;max-width:46%}.challenge-bottom .primary{padding:11px 9px;font-size:10px;flex:1}.challenge-bottom kbd{display:none}.pool-list{grid-template-columns:repeat(4,minmax(0,1fr));margin:0;padding:0;gap:4px}.fish-choice{min-width:0;padding:5px 4px;gap:3px;font-size:7px}.fish-choice .rarity{font-size:6px}.fish-dot{width:13px;height:8px}.fish-dot:after{border-top-width:4px;border-bottom-width:4px}.game-layout aside{height:91px;min-height:91px;padding:0;display:grid;grid-template-columns:1fr 1fr;grid-template-rows:60px 25px;gap:5px 7px}.run-panel{grid-row:1;grid-column:1;padding:7px 9px;display:grid;grid-template-columns:1fr auto;grid-template-rows:12px 1fr;column-gap:7px;align-items:center}.run-panel .section-label{font-size:7px;grid-column:1}.run-panel .section-label>span{display:none}.run-score{margin:0;grid-row:2}.run-score strong{font-size:23px;line-height:1}.run-score>span{font-size:7px}.run-panel .run-row{font-size:7px;margin:0;display:none}.run-panel .run-row:has(#lives){display:block;grid-column:2;grid-row:1/3;text-align:right}.run-panel .run-row:has(#lives)>span{display:block;font-size:6px;margin-bottom:5px}.run-panel .run-row:has(#lives)>b{font-size:11px;letter-spacing:2px}.run-panel .divider,.run-panel .poi-illustration,.run-panel>.fine{display:none}.items-panel{grid-column:2;grid-row:1;padding:5px 7px;display:flex;align-items:center;gap:5px}.items-panel>.section-label{font-size:7px;writing-mode:vertical-rl;letter-spacing:1px}.items-panel .text-btn{display:none}.items{flex:1;gap:3px;margin:0}.item-use{padding:9px 0 3px}.item-use i{font-size:14px}.item-use b{font-size:6px;right:3px;top:2px}.item-use small{font-size:6px;margin-top:2px}.npc-card{grid-column:1;grid-row:2;order:0;padding:0;background:transparent;border:0;display:flex;min-width:0;gap:5px}.npc{width:23px;height:23px;border-radius:50%}.npc-card>div>span,.npc-card p{display:none}.npc-card h4{font-size:8px;margin:0;white-space:nowrap;max-width:140px;overflow:hidden;text-overflow:ellipsis}.end-button{grid-column:2;grid-row:2;font-size:7px;padding:5px;align-self:stretch}.bottom-strip{display:none}footer{height:25px;min-height:25px;padding:4px 4%;margin:0;width:100%;gap:5px;flex-wrap:nowrap;font-size:6px}.footer-brand{font-size:10px;white-space:nowrap}.footer-brand small,footer a{display:none}footer>span:nth-child(2){font-size:6px;white-space:nowrap}.view:not(#festival){min-height:0;flex:1;padding-bottom:7px;overflow:hidden}.view .notice{font-size:8px;padding:7px 9px;margin-bottom:7px;line-height:1.5}.pagination{height:28px;min-height:28px;margin-top:5px;gap:10px}.pagination button{height:25px;width:29px;font-size:20px}.pagination span{font-size:8px}.shop-layout{display:flex;flex-direction:column;gap:7px}.shop-keeper{height:72px;min-height:72px;display:grid;grid-template-columns:67px 1fr;grid-template-rows:20px 20px 1fr;padding:0;gap:0 10px}.shop-keeper .keeper{height:72px;width:67px;max-height:none;grid-row:1/4}.shop-keeper .eyebrow{font-size:6px;margin:8px 0 0}.shop-keeper h2{font-size:17px;margin:0}.shop-keeper p{font-size:7px;line-height:1.4;padding:0 6px 3px 0;margin:0}.shop-grid{grid-template-columns:1fr;grid-template-rows:1fr;gap:0}.shop-card{padding:13px;display:grid;grid-template-columns:64px 1fr;grid-template-rows:14px 27px minmax(25px,1fr) auto 36px;column-gap:13px}.shop-card .item-icon{grid-column:1;grid-row:1/4;margin:0;align-self:center;text-align:center}.shop-card .item-icon svg{height:55px;width:55px}.shop-card>.eyebrow{grid-column:2;font-size:6px}.shop-card h3{grid-column:2;font-size:19px;margin:3px 0}.shop-card p{grid-column:2;font-size:9px;line-height:1.6;margin:3px 0}.shop-card .unlock-requirement{grid-column:1/3;font-size:8px;padding:6px;margin:3px 0}.shop-card>button{grid-column:1/3;align-self:end;margin-top:5px;padding:9px;font-size:10px}.collection-grid{grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:repeat(2,minmax(0,1fr));gap:6px}.collection-card{padding:8px}.collection-card .eyebrow{font-size:6px;letter-spacing:1px}.collection-card canvas{height:57px;max-height:42%}.collection-card h3{font-size:12px;margin:2px 0}.collection-card p{font-size:7px;line-height:1.5;margin:4px 0}.collection-card .rarity{font-size:7px}.catalog-summary{display:flex;gap:8px}.catalog-summary strong{font-size:9px;white-space:nowrap}.catalog-summary input{margin:0;padding:6px;font-size:8px;width:48%}.catalog-summary+.quest-progress{height:4px;margin:6px 0 4px}#catalogTabs{margin-bottom:5px;padding-bottom:4px}.tabs{gap:3px}.tabs button{padding:7px 8px;font-size:9px}.catalog-item{height:49px;margin:0 auto 5px}.catalog-item svg{height:46px}.ranking-layout{display:flex;flex-direction:column;gap:7px}.ranking-panel{flex:1;padding:10px;min-height:0}.metric-tabs{margin-bottom:5px;padding-bottom:5px}#rankTabs{padding-bottom:5px}.rank-row{grid-template-columns:22px 29px 1fr auto;gap:6px;padding:9px 1px;font-size:10px}.rank-row .place{font-size:18px}.rank-row .avatar{width:27px}.reward-panel{height:52px;min-height:52px;padding:7px 10px;display:flex;align-items:center;gap:9px}.reward-medal{font-size:27px}.reward-panel h2{font-size:12px;margin:0;max-width:80px}.reward-panel>p{font-size:7px;line-height:1.5;margin:0;flex:1}.reward-panel .run-row,.reward-panel .fine{display:none}.wardrobe-layout{display:flex;flex-direction:column;gap:7px}.dress-preview{height:80px;min-height:80px;padding:8px;display:grid;grid-template-columns:64px 1fr;grid-template-rows:1fr 1fr;gap:0 12px;text-align:left}.dress-preview .large-avatar{height:64px;width:64px;margin:0;grid-row:1/3;max-height:none}.dress-preview h2{font-size:19px;align-self:end;margin:0 0 3px}.dress-preview p{font-size:9px;margin:0}.wardrobe-section{padding:11px}.wardrobe-section h3{font-size:16px;margin-bottom:7px}.outfit-options{grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:repeat(2,minmax(0,1fr));gap:6px}.outfit-option{padding:6px;min-height:0}.outfit-option>span{height:35px;margin-bottom:4px}.outfit-option b{font-size:9px}.outfit-option small{font-size:7px;margin-top:3px}.outfit-option .simple-item{font-size:28px}.quest-grid{grid-template-columns:1fr;grid-template-rows:1fr 1fr;gap:8px}.quest-card{padding:13px;display:grid;grid-template-columns:1fr auto;grid-template-rows:12px 25px 23px 7px 30px;gap:3px}.quest-card>.eyebrow{font-size:6px;grid-column:1/3}.quest-card h3{font-size:16px;margin:3px 0;grid-column:1/3}.quest-card p{font-size:8px;margin:0;grid-column:1/3}.quest-progress{margin:0}.quest-card .quest-progress{grid-column:1/3;grid-row:4}.quest-card .run-row{margin:0;font-size:8px}.quest-card .primary{padding:7px;font-size:9px}.hall-card>div{height:45px;font-size:8px;padding:8px}.hall-card .secondary{font-size:8px;padding:8px}.hall-card canvas{height:calc(100% - 45px)}.hall-empty{padding:20px 10px}.hall-empty h2{font-size:24px}.hall-empty p{font-size:9px}.wide-dialog{padding:16px;width:94vw}.wide-dialog .dialog-heading h2{font-size:23px;margin:6px 0}.wide-dialog .dialog-heading p{font-size:9px;margin:6px 0}.wide-dialog .badge{font-size:7px;padding:6px;margin-top:3px}.character-grid{grid-template-columns:repeat(3,minmax(0,1fr));grid-template-rows:repeat(2,1fr);gap:7px}.character-option .avatar{max-height:19dvh}.character-option span{font-size:13px;padding:6px}.character-option small{font-size:6px}.wide-dialog .dialog-bottom{margin-top:9px;padding:0}.wide-dialog .dialog-bottom .primary{padding:11px;font-size:10px}.menu-dialog{width:94vw;padding:16px;max-height:90dvh}.menu-dialog .dialog-heading{margin-bottom:6px}.menu-links>button{padding:10px 2px}.menu-links>button>span{font-size:11px}.menu-links small{font-size:7px}.menu-dialog h2{font-size:21px}.auth-form{padding:16px}.auth-form h2{font-size:23px;margin:11px 0 5px}.auth-form .muted{font-size:9px;margin:5px 0}.auth-form label{font-size:9px;margin-top:10px}.auth-form input{padding:9px;margin-top:5px;font-size:11px}.auth-form .primary{padding:11px;margin-top:6px;font-size:10px}.auth-form .guest{margin:9px auto}.auth-form .test-login{padding:9px;font-size:9px}.auth-form>.fine{font-size:7px;line-height:1.6;margin:8px 0 0}.auth-form .flow-note{font-size:8px;padding:6px;margin-top:7px}.auth-form .tabs button{font-size:9px}.message-dialog{padding:22px;max-height:91dvh}.message-dialog h2{font-size:23px;margin:11px 0}.message-dialog p{font-size:10px;line-height:1.8}.message-dialog button{padding:11px;font-size:10px}.message-dialog .tutorial-npc .avatar{width:55px;height:55px;margin:10px auto}.message-dialog .test-status{font-size:8px}.test-tools button{font-size:9px;min-height:65px}.message-dialog .pagination button{padding:0}.practice-gauge{margin:27px 0 16px}.flow-note{font-size:8px}.video-caption{min-height:64px;font-size:19px}.video-caption .secondary{font-size:10px;padding:10px}.video-dialog video{max-height:calc(90dvh - 68px)}.welcome-poster{height:min(49dvh,370px)}.welcome-bottom .primary{font-size:11px;padding:13px}.welcome-bottom .fine{font-size:8px}.pool-pages .pagination{min-height:0;height:100%;margin:0}}
@media(max-width:760px) and (max-height:650px){.leader-strip{padding:5px 8px}.leader-label{display:none}.play-column{grid-template-rows:14px minmax(60px,1fr) 118px 36px}.challenge{padding:7px 10px}.challenge-top{margin-bottom:7px}.challenge-bottom{margin-top:7px}.challenge h3{font-size:14px}.challenge-bottom .primary{padding:9px}.game-layout aside{height:79px;min-height:79px;grid-template-rows:52px 22px}.run-score strong{font-size:20px}.items-panel{padding:3px 5px}.item-use i{font-size:12px}.item-use small{font-size:5px}.page-heading h1{font-size:18px}.character-option .avatar{max-height:16dvh}.message-dialog p{font-size:9px;line-height:1.6}.message-dialog h2{font-size:20px}.message-dialog .tutorial-npc .avatar{width:42px;height:42px}.auth-form{padding:12px}.auth-form .flow-note{display:none}.auth-form label{margin-top:8px}.auth-form input{padding:7px}.collection-card p{font-size:6px}.collection-card canvas{height:45px}.view .notice{font-size:7px}.shop-keeper{height:58px;min-height:58px}.shop-keeper .keeper{height:58px;width:54px}.shop-card h3{font-size:17px}.shop-card p{font-size:8px}.dress-preview{height:60px;min-height:60px;grid-template-columns:46px 1fr}.dress-preview .large-avatar{width:45px;height:45px}.outfit-option>span{height:25px}.outfit-option b{font-size:8px}.outfit-option small{font-size:6px}}

.password-control{display:flex;align-items:center;gap:6px}.password-control input{min-width:0;flex:1}.password-control button{flex-shrink:0;padding:9px 10px;border:1px solid var(--line);background:#182c38;color:var(--gold);font-size:11px}#practiceHit{min-height:44px;touch-action:manipulation}#hit{touch-action:manipulation}

#pondCards{min-height:0;flex:1;display:flex;flex-direction:column}.pond-card{min-height:0;flex:1;display:flex;flex-direction:column;padding:20px}.pond-card h2{margin:10px 0;font-size:27px}.pond-card p{font-size:11px}.pond-species{min-height:0;display:grid;grid-template-columns:repeat(4,1fr);gap:6px;flex:1;align-content:center}.pond-species span{font-size:11px;padding:9px;background:#153643;border-radius:6px}.pond-species .unknown{color:#94a4ac}.pond-condition{color:var(--gold)}.pond-extra-note{font-size:10px;margin:8px 0}.pond[data-pond="lantern"]:not(.extra){background-image:linear-gradient(#50234055,#15124122),url('assets/pond.png')}.pond[data-pond="bamboo"]:not(.extra){background-image:linear-gradient(#164f4066,#16372e33),url('assets/pond.png')}.pond[data-pond="stream"]:not(.extra){background-image:linear-gradient(#11335766,#12617533),url('assets/pond.png')}.pond[data-pond="lotus"]:not(.extra){background-image:linear-gradient(#502e4855,#20375933),url('assets/pond.png')}
@media(max-width:760px){.pond-card{padding:12px}.pond-card h2{font-size:22px;margin:7px 0}.pond-species{grid-template-columns:repeat(3,1fr);gap:4px}.pond-species span{font-size:8px;padding:7px 4px}.pond-card p{font-size:9px}.pond-extra-note{font-size:8px}}

.mask-art{width:100%;height:100%;object-fit:contain;display:block;filter:drop-shadow(0 3px 3px #0003)}.shop-card .item-icon .mask-art{height:50px;width:50px}.catalog-item .mask-art{height:100%;max-width:100%}.outfit-option .mask-art{height:100%;width:100%}.silhouette .mask-art{filter:brightness(0)}

.pond[data-pond="lantern"]:not(.extra){background-image:url("assets/pond-lantern.png")}

.pond[data-pond="bamboo"]:not(.extra){background-image:url("assets/pond-bamboo.png")}

.pond[data-pond="stream"]:not(.extra){background-image:url("assets/pond-stream.png")}

.pond[data-pond="lotus"]:not(.extra){background-image:url("assets/pond-lotus.png")}

.member-list{display:grid;gap:6px}.member-row{display:flex;align-items:center;gap:16px;padding:8px 12px;background:#fff6e5;border-radius:10px;color:#483426}.member-row span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.member-row b{flex-shrink:0}.member-pager{display:flex;justify-content:space-between;gap:12px;margin-top:12px}

/* Keep profile actions reachable on narrow phones. */
#profileDialog[open]{display:flex;flex-direction:column;gap:12px;width:min(400px,92vw)}
#profileDialog h2{overflow-wrap:anywhere;margin:8px 0}
#profileDialog>button{width:100%;min-height:44px;flex-shrink:0}
#profileBtn{min-width:44px;min-height:44px}

body:not(.is-producer) #membersMenu{display:none!important}

#hit,#practiceHit{touch-action:manipulation;user-select:none;-webkit-user-select:none}

.challenge-countdown{position:absolute;inset:-12px 0;z-index:5;display:grid;place-items:center;background:#102633ed;color:#ffdc91;font-size:30px;font-weight:800;border-radius:8px;pointer-events:none;text-shadow:0 2px 8px #000}

/* Keep the timing control legible while waiting for a target or a reply. */
#hit,#hit:disabled{opacity:1;background:#ffb18d;color:#291913;border-color:#ffd5ae;font-weight:800}
#hit:disabled{cursor:default}

/* Reserve real space for touch controls instead of letting them overflow rows. */
@media(max-width:760px){
 .topbar .brand{flex-shrink:0}.account-tools{min-width:0;gap:5px}#username{max-width:55px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
 .play-column{grid-template-rows:16px minmax(0,1fr) 158px 44px}
 .challenge{display:grid;grid-template-rows:40px 24px 44px;gap:10px;padding:10px 12px;min-width:0}
 .challenge-top{margin:0;min-width:0;gap:6px}.challenge-top>div:first-child{min-width:0}.challenge h3{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:14px}.challenge-clock{flex-shrink:0;gap:5px}
 .challenge-bottom{margin:0;min-width:0;gap:8px}.challenge-bottom>span{flex:1;min-width:0;max-width:40%}.challenge-bottom #hit{height:44px;min-height:44px;margin:0;padding:8px;flex:1.5;font-size:12px}
 .pool-pages{min-height:44px}.pool-pages .pagination button{height:40px;min-width:28px}.fish-choice{height:44px}
 .game-layout aside{height:106px;min-height:106px;grid-template-rows:60px 40px}.end-button{min-height:40px}
 .pond{overflow:hidden}.pond-bottom{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
 .menu-links>button{min-height:44px;flex-shrink:0}
}
@media(max-width:760px) and (max-height:620px){
 .page-heading{min-height:30px;margin-bottom:4px}.page-heading h1{font-size:17px}.page-heading .eyebrow{display:none}.leader-strip{padding:4px 8px;margin-bottom:4px}.leader-label{display:none}
 .game-layout aside{height:100px;min-height:100px;grid-template-rows:54px 40px}
 footer{height:18px;min-height:18px}.pond-caption,.pond-bottom{display:none}
}
@media(orientation:landscape) and (max-height:540px){
 .topbar{height:44px;padding:3px 3%}.topbar .brand{font-size:17px}.topbar .brand small{display:none}main{display:flex;flex-direction:column;padding:4px 3% 0;min-height:0}.page-heading,.leader-strip,footer{display:none}
 #festival{flex:1;min-height:0;padding-bottom:4px}.game-layout{height:100%;display:flex;flex-direction:column;gap:4px}.play-column{display:grid;flex:1;min-height:0;grid-template-columns:minmax(0,1fr) minmax(0,1fr);grid-template-rows:16px minmax(140px,1fr) 44px;gap:5px}
 .pond-top{grid-column:1/3;padding:0}.pond{grid-row:2;grid-column:1;height:100%;min-height:0}.challenge{grid-row:2;grid-column:2;display:grid;grid-template-rows:40px 24px 44px;gap:8px;padding:8px;margin:0;min-width:0;align-content:center}.challenge-top{margin:0;gap:4px}.challenge-top>div:first-child{min-width:0}.challenge h3{font-size:14px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.challenge-clock{gap:4px;flex-shrink:0}.challenge-clock strong{font-size:20px}.challenge .eyebrow{font-size:7px}.challenge-bottom{margin:0;gap:6px}.challenge-bottom>span{font-size:8px;max-width:40%}.challenge-bottom #hit{height:44px;min-height:44px;margin:0;padding:7px;font-size:12px;flex:1}#hit kbd{display:none}.gauge{height:24px}
 .pool-pages{grid-row:3;grid-column:1/3;min-height:44px}.fish-choice{height:44px}.pool-pages .pagination button{height:40px;min-width:28px}
 .game-layout aside{display:flex;flex-direction:row;align-items:stretch;height:48px;min-height:48px;padding:0;gap:6px}.run-panel{display:none}.items-panel{display:flex;align-items:center;padding:3px 6px;flex:1;min-width:0}.items-panel>.section-label{font-size:8px}.items-panel .text-btn{display:none}.items{margin:0;flex:1;gap:5px}.item-use{padding:4px;min-height:40px}.item-use i{font-size:13px}.item-use small{font-size:7px}.npc-card{display:none}.end-button{min-height:44px;font-size:10px;flex:1;margin:0;padding:5px}.pond-caption,.pond-bottom{display:none}
}

#skipTutorial{display:block;min-height:40px;margin:8px 0 0 auto;padding:8px 12px;font-size:11px}

.poi-accessory{position:absolute;left:-8%;bottom:4%;font-size:24px;color:#e9c67e;filter:drop-shadow(0 2px 2px #182738);pointer-events:none}

.pond[data-pond="angel"]:not(.extra){background:radial-gradient(ellipse at 20% 80%,#fffdf4 0 9%,transparent 30%),radial-gradient(ellipse at 90% 70%,#ffedec 0 8%,transparent 28%),linear-gradient(#679fcc,#bce4f4 48%,#f5e9fa 80%,#fff5dd);border-color:#f3dfac}
.stamp-book{max-width:650px;width:100%;margin:auto;padding:16px;min-height:0;display:flex;flex-direction:column;gap:8px}.stamp-heading{display:flex;justify-content:space-between;align-items:center}.stamp-heading h2{margin:0;font-size:22px}.stamp-calendar{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:4px;text-align:center}.stamp-day{height:44px;border:1px solid #e4bc7333;border-radius:7px;display:flex;align-items:center;justify-content:center;gap:3px}.stamp-day>span{font-size:23px}.stamp-day small{font-size:10px}.stamp-day.stamped{background:#f1c85420}.stamp-day.today{border-color:#edc75e}.stamp-book p{margin:0;font-size:11px}.angel-ticket{display:flex;gap:10px;align-items:center;justify-content:space-between}.angel-ticket small{display:block;font-size:9px;margin-top:5px}.angel-ticket button{flex-shrink:0;padding:11px;font-size:11px}
@media(max-width:760px){.stamp-book{padding:10px;gap:5px}.stamp-day{height:34px}.stamp-day>span{font-size:19px}.stamp-heading h2{font-size:18px}.stamp-book p{font-size:9px}.angel-ticket{gap:5px}.angel-ticket b{font-size:11px}.angel-ticket small{font-size:8px}.angel-ticket button{font-size:9px;padding:9px}.stamp-calendar{gap:3px}#catalogTabs button{padding:6px;font-size:8px}}
@media(max-height:540px) and (orientation:landscape){.stamp-book{padding:8px;gap:3px}.stamp-day{height:26px}.stamp-day>span{font-size:18px}.stamp-heading h2{font-size:16px}.stamp-book p{font-size:9px}.angel-ticket button{padding:6px}}

.mode-options{display:grid;grid-template-columns:1fr 1fr;gap:14px;min-height:0}.mode-card{padding:20px}.mode-card h2{font-size:22px}.mode-card p{font-size:12px;line-height:1.8}@media(max-width:760px){.mode-options{grid-template-columns:1fr;gap:8px}.mode-card{padding:12px}.mode-card h2{font-size:18px;margin:4px 0}.mode-card p{font-size:10px;margin:6px 0}.mode-card button{padding:10px;font-size:10px}}

.daily-gift-dialog{width:min(420px,90vw);text-align:center;padding:20px;max-height:90dvh}.daily-gift-dialog .keeper{width:100px;height:110px;margin:auto}.daily-gift-dialog h2{font-size:19px}.daily-gift-dialog p{font-size:14px;line-height:1.6}.daily-gift-dialog small{display:block;margin:10px}.daily-gift-dialog button{min-height:44px}.mode-options{grid-template-columns:repeat(3,minmax(0,1fr))}@media(max-width:760px){.mode-options{grid-template-columns:1fr;gap:5px}.mode-card{padding:7px 10px}.mode-card h2{font-size:15px;margin:2px 0}.mode-card p{line-height:1.35;margin:3px 0}.mode-card button{padding:7px;min-height:34px}.daily-gift-dialog{padding:12px}}@media(max-height:500px){.mode-options{grid-template-columns:repeat(3,minmax(0,1fr))}.daily-gift-dialog .keeper{height:65px;width:60px}.daily-gift-dialog p{margin:6px}}

.pond-card>.pager-host{flex:1;min-height:0;display:flex;flex-direction:column}.pond-card .pond-species{flex:1}.pond[data-pond="sakura"]:not(.extra){background-image:linear-gradient(#ee9fc633,#30153533),url('assets/pond-lotus.png')}.pond[data-pond="crystal"]:not(.extra){background-image:linear-gradient(#66dbea44,#11468a22),url('assets/pond-stream.png')}.pond[data-pond="maple"]:not(.extra){background-image:linear-gradient(#db602244,#51210a44),url('assets/pond-bamboo.png')}.pond[data-pond="starlight"]:not(.extra){background-image:radial-gradient(ellipse at top,#7276d966,transparent),url('assets/kyoto.png')}.pond[data-pond="aurora"]:not(.extra){background-image:linear-gradient(125deg,#33d9ac55,#7557cc55,#dd85bd44),url('assets/kyoto.png')}

#producer{display:flex;flex-direction:column;gap:8px;min-height:0}#producer[hidden]{display:none}#producer .pager-host{flex:1;min-height:0}#producerCards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;flex:1;min-height:0}.producer-card{padding:12px;min-height:0;text-align:center}.producer-card h3{font-size:14px;margin:7px}.producer-card p{font-size:11px;line-height:1.6}.producer-card canvas{width:100%;max-height:130px;object-fit:contain}.producer-avatar{width:90px;height:110px;margin:auto}#producerTabs{flex-wrap:wrap;gap:4px}#producerTabs button{padding:8px 12px}body:not(.is-producer) #producerMenu{display:none!important}@media(max-width:760px){#producerCards{grid-template-columns:1fr 1fr}.producer-card{padding:7px}.producer-card h3{font-size:12px}.producer-card p{font-size:10px}.producer-card canvas{max-height:95px}.producer-avatar{height:90px;width:75px}#producerTabs button{padding:7px;font-size:10px}}

.producer-pond{height:80px;background-size:cover;background-position:center;border-radius:8px}.producer-card:has(.producer-pond) p{margin:4px}.producer-card:has(.producer-pond) h3{margin:4px}

.producer-item-art{height:100px;display:flex;align-items:center;justify-content:center;margin:0 auto 6px}.producer-item-art svg,.producer-item-art img{width:100%;height:100%;object-fit:contain}.producer-item-art .avatar{width:80px;height:100px}.producer-item-art .simple-item{font-size:48px}@media(max-width:760px){.producer-item-art{height:80px}.producer-item-art .avatar{height:80px;width:64px}}

.producer-pond[data-preview-pond="angel"]{background-image:radial-gradient(ellipse at 20% 25%,#fffffff0 0 15%,transparent 32%),radial-gradient(ellipse at 75% 70%,#fff1eada 0 14%,transparent 35%),linear-gradient(135deg,#badff1,#e1c7ee,#ffe6c3)!important}

.member-row .member-avatar{width:52px;height:52px;border-radius:10px;overflow:visible}.member-row{gap:10px}.member-row>span:last-child{margin-left:auto}.member-detail-avatar{width:88px;height:88px;margin:8px auto 16px;border-radius:12px}@media(max-width:600px){.member-row .member-avatar{width:40px;height:40px}.member-row{gap:6px;padding:6px!important}.member-row>span{min-width:0}.member-row b{font-size:9px}}

.pond[data-pond="angel"]:not(.extra){background:#8ed7f4 url('assets/pond-angel-sky.png') center 55%/cover no-repeat;border-color:#d4f4ff}
.producer-pond[data-preview-pond="angel"]{background-image:url('assets/pond-angel-sky.png')!important;background-position:center;background-size:cover}

.pond-catalog-link{border:1px solid #e4bc7377;background:#192c39;color:#ffdf9b;border-radius:8px;font-size:11px;padding:6px 9px;white-space:nowrap}.pond-top{gap:6px}.pond-top .live-tag{flex:1;text-align:right}#backToPond{align-self:flex-start;padding:6px 12px;margin:4px 0}@media(max-width:760px){.pond-top .live-tag{display:none}.pond-catalog-link{font-size:10px;padding:6px}.pond-top{height:auto!important;min-height:30px;flex-shrink:0}#backToPond{font-size:11px}}

.catch-celebration canvas{width:min(100%,480px);height:clamp(120px,28dvh,280px);object-fit:contain}.catch-celebration h2{font-size:clamp(22px,4vw,34px)!important;margin:4px!important}.catch-celebration p{margin:4px!important}.message-dialog:has(.catch-celebration){width:min(92vw,560px);text-align:center}.message-dialog:has(.catch-celebration)>h2{font-size:36px;color:#f7ca75}#videoDialog{width:min(960px,96vw);max-height:96dvh;padding:10px}#openingVideo{display:block;width:100%;height:auto;max-height:calc(88dvh - 90px);object-fit:contain}#videoRetry{position:absolute;left:50%;top:45%;transform:translate(-50%,-50%)}
@media(max-width:760px){body.challenge-focused .page-heading,body.challenge-focused .leader-strip,body.challenge-focused .pond-top,body.challenge-focused .pond,body.challenge-focused .pool-pages,body.challenge-focused aside,body.challenge-focused footer{display:none!important}body.challenge-focused .game-layout,body.challenge-focused .play-column{display:flex!important;flex-direction:column;flex:1;min-height:0}body.challenge-focused .challenge{display:flex!important;flex-direction:column;justify-content:space-evenly;flex:1;height:auto!important;max-height:none!important;padding:20px!important;gap:16px}body.challenge-focused .challenge-top{display:flex;flex-wrap:wrap;gap:15px}body.challenge-focused #targetName{font-size:23px}body.challenge-focused #timer{font-size:36px}body.challenge-focused #hitCount{font-size:17px}body.challenge-focused .gauge{height:50px;min-height:50px;margin:20px 0}body.challenge-focused .challenge-bottom{display:flex;flex-direction:column;gap:18px}body.challenge-focused #hit{position:static;width:100%;min-height:72px;font-size:24px}body.challenge-focused #challengeHelp{font-size:13px;display:block}.pond-caption{pointer-events:none}.pond-bottom{pointer-events:none}.challenge{flex-shrink:0}.pool-pages{position:relative;min-height:0}.video-caption{display:flex;gap:8px;min-height:64px}.video-caption>span{font-size:14px}.video-caption small{display:block;font-size:9px}}

.challenge>#hit{position:static;display:block;width:100%;min-height:44px;margin:6px 0 12px;font-size:17px;flex-shrink:0}.challenge-bottom{justify-content:center}.challenge-bottom #challengeHelp{text-align:center}@media(max-width:760px){.challenge>#hit{min-height:42px;margin:3px 0 5px;font-size:16px;padding:9px}body.challenge-focused .challenge{justify-content:center;gap:12px}body.challenge-focused .challenge-top{margin-bottom:20px}body.challenge-focused .challenge>#hit{min-height:70px;margin:12px 0 4px;font-size:24px}body.challenge-focused .gauge{margin:12px 0 16px}body.challenge-focused .challenge-bottom{flex:none}}
.challenge{display:flex;flex-direction:column;gap:6px}.challenge>.gauge{flex-shrink:0}.challenge>.challenge-bottom{margin-top:2px;flex-shrink:0}.challenge>#hit{margin:0;min-height:40px}.challenge>.challenge-top{flex-shrink:0}@media(max-width:760px){.challenge{padding:8px 12px}.challenge>#hit kbd{display:none}.challenge>.challenge-top{margin-bottom:0}.challenge>#hit{min-height:36px}.challenge>.gauge{height:24px;min-height:24px}.challenge>.challenge-bottom{margin-top:0}.challenge>#hit{font-size:16px}}

/* The poi sits beside the target name; the gauge has its own clear row. */
.challenge .challenge-top{display:grid;grid-template-columns:minmax(0,1fr) 64px;grid-template-rows:auto auto;gap:3px 12px;align-items:center;margin:0;min-height:70px}.challenge-top>div:first-child{grid-column:1;grid-row:1;min-width:0}.challenge .challenge-clock{grid-column:1;grid-row:2;justify-content:flex-start;gap:12px;text-align:left}.challenge #hit.poi-stop,body.challenge-focused .challenge #hit.poi-stop{grid-column:2;grid-row:1/3;position:relative;isolation:isolate;width:58px;height:58px;min-height:58px;max-height:58px;flex:none;aspect-ratio:1;border:5px solid #f3ae84;border-radius:50%;background:radial-gradient(circle at 35% 30%,#fffdf1,#f4e4c9);color:#865134;font-size:12px;font-weight:800;padding:0;margin:0 0 10px;box-shadow:inset 0 0 0 2px #fff8dc,0 2px 5px #0003;overflow:visible;opacity:1}.challenge #hit.poi-stop::after{content:'';position:absolute;width:9px;height:17px;border-radius:0 0 5px 5px;background:#efa47b;top:calc(100% + 3px);left:calc(50% - 4.5px);z-index:-1}.challenge #hit.poi-stop:active:not(:disabled){transform:translateY(2px)}.challenge>.gauge{margin:8px 0 4px;position:relative;clear:both}.challenge{height:auto;min-height:155px;overflow:visible}.play-column>.pool-list,.play-column>.pool-pages{margin-top:8px;flex-shrink:0}.challenge-bottom{margin:0!important}.challenge-bottom #challengeHelp{max-width:100%;font-size:10px}
@media(max-width:760px){.challenge{min-height:150px}.challenge .challenge-top{min-height:66px;grid-template-columns:minmax(0,1fr) 60px}.challenge #targetName{font-size:15px}.challenge .challenge-clock strong{font-size:21px}.challenge .challenge-clock{font-size:10px}body.challenge-focused .challenge .challenge-top{display:grid;min-height:90px;margin-bottom:12px}body.challenge-focused .challenge #targetName{font-size:20px}body.challenge-focused .challenge .challenge-clock strong{font-size:30px}body.challenge-focused .challenge>.gauge{margin:16px 0;min-height:40px;height:40px}}
.challenge .challenge-top{grid-template-columns:minmax(0,1fr) 78px;min-height:82px}.challenge #hit.poi-stop,body.challenge-focused .challenge #hit.poi-stop{width:70px;height:70px;min-height:70px;max-height:70px;font-size:14px}.challenge{min-height:170px}@media(max-width:760px){.challenge .challenge-top{grid-template-columns:minmax(0,1fr) 76px;min-height:80px}.challenge{min-height:168px}}
.play-column{grid-template-rows:auto minmax(70px,1fr) auto 44px}.pond-top{flex-wrap:wrap;height:auto;min-height:34px;gap:5px 9px}.pond-top>#targetName{flex-basis:100%;font-size:20px;margin:0 0 3px;line-height:1.3}.challenge{min-height:0;padding:10px 16px;gap:5px}.challenge .challenge-top{min-height:82px;grid-template-rows:auto;grid-template-columns:minmax(0,1fr) 78px}.challenge-top>div:first-child{display:none}.challenge .challenge-clock{grid-column:1;grid-row:1;align-items:center}.challenge #hit.poi-stop{grid-row:1}.challenge #hit.poi-stop>span{display:block;white-space:nowrap}.play-column>.pool-pages,.play-column>.pool-list{margin-top:0}.challenge-bottom{min-height:14px}.challenge>.gauge{margin:0 0 4px}.challenge-bottom #challengeHelp{line-height:1.3}@media(max-width:760px){.play-column{grid-template-rows:auto minmax(65px,1fr) auto 44px}.pond-top>#targetName{font-size:17px}.challenge{min-height:0;padding:8px 12px}.challenge .challenge-top{min-height:80px}.challenge-bottom #challengeHelp{font-size:9px}body.challenge-focused .pond-top{display:flex!important}body.challenge-focused .pond-top>:not(#targetName){display:none!important}body.challenge-focused .pond-top>#targetName{font-size:22px}body.challenge-focused .challenge .challenge-top{min-height:90px;grid-template-rows:auto}body.challenge-focused .challenge{flex:1}}
@media(orientation:landscape) and (max-height:540px){.play-column{grid-template-rows:auto minmax(170px,1fr) 44px}.pond-top>#targetName{flex-basis:auto;flex:1}}
/* Gauge first, with a larger round poi directly beneath it. */
.challenge .challenge-top{display:flex;min-height:24px;justify-content:flex-start;margin:0}.challenge .challenge-clock{display:flex;gap:12px;align-items:center}.challenge>#hit.poi-stop,body.challenge-focused .challenge>#hit.poi-stop{display:block;align-self:center;width:86px;height:86px;min-height:86px;max-height:86px;margin:8px 0 16px;font-size:16px;grid-area:auto}.challenge>.gauge{margin:4px 0;min-height:26px}.challenge{gap:4px}.challenge-bottom{flex-shrink:0}@media(max-width:760px){.challenge .challenge-top{min-height:24px}.challenge>#hit.poi-stop{width:80px;height:80px;min-height:80px;max-height:80px}body.challenge-focused .challenge .challenge-top{display:flex;min-height:30px;margin:0}body.challenge-focused .challenge>#hit.poi-stop{width:96px;height:96px;min-height:96px;max-height:96px;margin:14px 0 20px}}
.challenge>#hit.poi-stop,body.challenge-focused .challenge>#hit.poi-stop{width:106px;height:106px;min-height:106px;max-height:106px;font-size:18px;margin:8px 24px 8px 0}.challenge #hit.poi-stop::after{width:25px;height:11px;top:calc(50% - 5.5px);left:calc(100% + 3px);border-radius:0 6px 6px 0}@media(max-width:760px){.challenge>#hit.poi-stop{width:100px;height:100px;min-height:100px;max-height:100px}body.challenge-focused .challenge>#hit.poi-stop{width:116px;height:116px;min-height:116px;max-height:116px;margin:14px 24px 14px 0}}
.challenge>.gauge{order:initial;min-height:32px;height:32px}.challenge .hit-zone>span{font-size:15px;font-weight:800;letter-spacing:2px}.challenge .challenge-top{min-height:30px;margin:3px 0}.challenge #hitCount{font-size:18px;font-weight:700}.challenge .challenge-clock strong{font-size:25px}.poi-action-row{display:flex;align-items:center;justify-content:center;gap:34px;min-height:132px}.challenge .poi-action-row>#hit.poi-stop,body.challenge-focused .challenge .poi-action-row>#hit.poi-stop{width:120px;height:120px;min-height:120px;max-height:120px;margin:4px 0;flex:0 0 120px;font-size:20px}.poi-action-row>.challenge-bottom{display:block;flex:0 1 200px;padding:0;margin:0!important}.poi-action-row #challengeHelp{display:block;font-size:13px;line-height:1.7;text-align:left;max-width:none}.challenge .challenge-clock{gap:16px}@media(max-width:760px){.poi-action-row{gap:30px;min-height:124px}.challenge .poi-action-row>#hit.poi-stop,body.challenge-focused .challenge .poi-action-row>#hit.poi-stop{width:112px;height:112px;min-height:112px;max-height:112px;flex-basis:112px;font-size:19px}.poi-action-row #challengeHelp{font-size:12px}.challenge #hitCount{font-size:17px}.challenge .hit-zone>span{font-size:14px}}
/* Center the poi independently of the quiet instruction on its right. */
.challenge>.gauge{height:44px;min-height:44px}.challenge .hit-zone>span{font-size:18px}.poi-action-row{position:relative;display:grid;grid-template-columns:1fr;justify-items:center;min-height:154px;gap:0}.challenge .poi-action-row>#hit.poi-stop,body.challenge-focused .challenge .poi-action-row>#hit.poi-stop{grid-area:1/1;width:144px;height:144px;min-height:144px;max-height:144px;flex-basis:auto;font-size:23px;margin:4px 0}.poi-action-row>.challenge-bottom{position:absolute;right:0;top:50%;transform:translateY(-50%);width:calc(50% - 100px);max-width:125px;padding:0}.poi-action-row #challengeHelp{font-size:10px;line-height:1.6;color:var(--muted)}@media(max-width:760px){.challenge>.gauge{height:40px;min-height:40px}.poi-action-row{min-height:146px}.challenge .poi-action-row>#hit.poi-stop,body.challenge-focused .challenge .poi-action-row>#hit.poi-stop{width:136px;height:136px;min-height:136px;max-height:136px;font-size:22px}.poi-action-row>.challenge-bottom{width:calc(50% - 94px);max-width:90px}.poi-action-row #challengeHelp{font-size:9px;line-height:1.4}}
.poi-action-row{min-height:174px}.challenge .poi-action-row>#hit.poi-stop,body.challenge-focused .challenge .poi-action-row>#hit.poi-stop{width:164px;height:164px;min-height:164px;max-height:164px;font-size:25px}.poi-action-row>.challenge-bottom{width:calc(50% - 110px)}@media(max-width:760px){.poi-action-row{min-height:162px}.challenge .poi-action-row>#hit.poi-stop,body.challenge-focused .challenge .poi-action-row>#hit.poi-stop{width:152px;height:152px;min-height:152px;max-height:152px;font-size:24px}.poi-action-row>.challenge-bottom{width:calc(50% - 103px)}}

.poi-action-row #challengeHelp{white-space:pre-line}
.challenge>.challenge-top{display:none!important}.poi-action-row{min-height:192px;align-items:start;padding-top:0}.poi-action-row>.challenge-clock{position:absolute;left:0;top:42%;transform:translateY(-50%);display:flex;flex-direction:column;align-items:flex-start;gap:8px;max-width:calc(50% - 112px)}.challenge .poi-action-row>#hit.poi-stop,body.challenge-focused .challenge .poi-action-row>#hit.poi-stop{--poi-rim:#d87846;--poi-edge:#a64b2b;width:180px;height:180px;min-height:180px;max-height:180px;margin:0 0 10px;border:7px solid var(--poi-rim);background:repeating-linear-gradient(24deg,#ffffff00 0px,#ffffff00 3px,#bbaa8210 3.5px,#ffffff00 4px),repeating-linear-gradient(112deg,#ffffff00 0px,#ffffff00 5px,#c2b69a16 5.5px,#ffffff00 6px),radial-gradient(ellipse at 35% 25%,#fffef4 15%,#f8f3dc 65%,#e9dec2 100%);box-shadow:inset 0 0 0 2px #ffffffba,inset 2px 3px 9px #aa8b4a33,0 0 0 2px var(--poi-edge),0 5px 8px #0003;color:#75563a;font-size:24px}.challenge #hit.poi-stop::after{width:31px;height:14px;top:calc(50% - 7px);left:calc(100% + 5px);background:linear-gradient(#ffffff66,var(--poi-rim) 35%,var(--poi-edge));border:1px solid var(--poi-edge);border-radius:2px 7px 7px 2px}.challenge #hit.poi-stop[data-poi="strong"]{--poi-rim:#d6ad3f;--poi-edge:#916914}.challenge #hit.poi-stop[data-poi="moon"]{--poi-rim:#9dd5ea;--poi-edge:#5089b0}.poi-action-row>.challenge-bottom{top:42%;width:calc(50% - 124px)}@media(max-width:760px){.poi-action-row{min-height:174px}.challenge .poi-action-row>#hit.poi-stop,body.challenge-focused .challenge .poi-action-row>#hit.poi-stop{width:164px;height:164px;min-height:164px;max-height:164px}.poi-action-row>.challenge-clock{max-width:calc(50% - 90px);gap:5px}.poi-action-row>.challenge-clock #hitCount{font-size:12px}.poi-action-row>.challenge-clock strong{font-size:19px}.poi-action-row>.challenge-bottom{width:calc(50% - 116px)}.poi-action-row #challengeHelp{font-size:8px}}
/* Reserve room for swimming rather than taking every enlargement out of the pond. */
body:has(#festival:not([hidden])) .page-heading{margin-bottom:8px;min-height:0}body:has(#festival:not([hidden])) .page-heading h1{font-size:25px;margin:3px 0}body:has(#festival:not([hidden])) .page-heading .eyebrow,body:has(#festival:not([hidden])) #pageSubtitle{display:none}body:has(#festival:not([hidden])) .leader-strip{padding:7px 12px;margin-bottom:8px;min-height:44px}body:has(#festival:not([hidden])) main{padding-top:8px}.pond-top>#targetName{flex-basis:auto;flex:1;font-size:18px;margin:0}.pond-top .live-tag{display:none}.pond-top{min-height:35px}.pond-top #location{display:none}.challenge{padding:8px 14px;gap:4px}.challenge>.gauge{margin:2px 0}.poi-action-row{min-height:190px}.play-column{grid-template-rows:35px minmax(130px,1fr) auto 44px;gap:8px}@media(max-width:760px){body:has(#festival:not([hidden])) .page-heading{display:none}body:has(#festival:not([hidden])) .leader-strip{padding:5px 8px;min-height:40px}.pond-top>#targetName{font-size:15px}.pond-catalog-link{font-size:9px;padding:5px}.play-column{grid-template-rows:auto minmax(100px,1fr) auto 44px;gap:5px}.poi-action-row{min-height:174px}.challenge{padding:6px 10px}}
.poi-action-row>.challenge-clock{display:flex!important;flex-direction:column!important;align-items:flex-start;gap:10px}.poi-action-row #hitCount,.poi-action-row #timer{display:block;white-space:nowrap;line-height:1.35}.poi-action-row #timer{margin:0}
.poi-action-row #challengeHelp{font-size:12px;line-height:1.65}.challenge .poi-action-row>#hit.poi-stop,body.challenge-focused .challenge .poi-action-row>#hit.poi-stop{display:grid;place-items:center;text-align:center;padding:0}.challenge #hit.poi-stop>span{display:block;margin:0;padding:0;line-height:1;white-space:nowrap;text-align:center;transform:none}@media(max-width:760px){.poi-action-row #challengeHelp{font-size:10px;line-height:1.5}}
@media(min-width:761px){body:has(#festival:not([hidden])) .page-heading{height:42px;min-height:42px;margin-bottom:6px;align-items:center}body:has(#festival:not([hidden])) .page-heading h1{font-size:23px;margin:0}body:has(#festival:not([hidden])) .wallet{display:flex;align-items:center;gap:10px;padding-left:15px}body:has(#festival:not([hidden])) .wallet strong{margin:0;font-size:23px}body:has(#festival:not([hidden])) .leader-strip{min-height:36px;padding:4px 12px;margin-bottom:6px}body:has(#festival:not([hidden])) .leader-card{padding-top:0;padding-bottom:0}body:has(#festival:not([hidden])) .topbar{height:54px}body:has(#festival:not([hidden])) main{padding-top:5px}}
/* Keep every countdown label inside the gauge, clear of the poi. */
.challenge-countdown{inset:0;border-radius:4px;font-size:24px;line-height:1;overflow:hidden;text-shadow:0 1px 4px #0008}.challenge>.gauge{isolation:isolate}@media(max-width:760px){.challenge-countdown{font-size:22px}}

.menu-dialog{max-height:96dvh;width:min(600px,96vw)}.menu-links{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;max-height:none;overflow:visible}.menu-links>button{min-width:0;min-height:40px;padding:8px!important}.menu-links>button small{display:none}.menu-links>button>span{font-size:12px}.menu-links>button>b{display:none}.shop-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));grid-template-rows:repeat(3,minmax(0,1fr));gap:8px}.shop-summary{padding:8px;display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:0;gap:5px}.shop-art{display:grid;place-items:center;min-height:0;height:65px}.shop-art svg,.shop-art img{max-width:65px;max-height:65px}.shop-art .shop-outfit{height:65px;width:65px}.shop-summary b{font-size:12px}.shop-summary small{color:var(--gold)}.shop-detail-art{height:130px;display:flex;justify-content:center;margin:12px}.shop-detail-art>svg,.shop-detail-art>img{height:120px;max-width:160px}.shop-detail-art .shop-outfit{width:120px;height:120px}#confirmShopBuy{display:block;margin:10px auto}
@media(max-width:760px){.menu-dialog{padding:12px}.menu-dialog .dialog-heading{margin-bottom:8px}.menu-links{gap:4px}.menu-links>button{min-height:36px;padding:6px!important}.menu-links>button>span{font-size:11px}.shop-grid{grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:repeat(3,minmax(0,1fr))}.shop-art{height:50px}.shop-art svg,.shop-art img{max-height:50px;max-width:50px}.shop-art .shop-outfit{width:50px;height:50px}.shop-summary b{font-size:11px}.play-column{grid-template-rows:auto minmax(110px,1fr) auto 44px}.poi-action-row{min-height:112px}.challenge .poi-action-row>#hit.poi-stop{width:104px;height:104px;min-height:104px;max-height:104px;font-size:20px}.poi-action-row>.challenge-clock{max-width:calc(50% - 70px)}.poi-action-row>.challenge-bottom{width:calc(50% - 83px)}.poi-action-row #challengeHelp{font-size:9px}.challenge>.gauge{height:34px;min-height:34px}.challenge #hitCount{font-size:13px}}

#testLogin,#testMenu,#flowNote{display:none!important}