:root{--ink:#153e48;--muted:#65818a;--teal:#217d85;--mint:#b9e1db;--cream:#f7f5ee;--gold:#d7a44b;--line:#d5dfdb;--red:#bf6150;--blue:#3e819e;--font:'M PLUS Rounded 1c','Yu Gothic',Meiryo,sans-serif}*{box-sizing:border-box}html{background:#f4f4ed;color:var(--ink);font-family:var(--font);font-weight:700;scroll-behavior:smooth}body{margin:0}button,a{-webkit-tap-highlight-color:transparent}button{font:inherit;color:inherit;cursor:pointer}button:disabled{cursor:default}button:focus-visible,a:focus-visible{outline:3px solid #eaa43d;outline-offset:4px}button{touch-action:manipulation}a{color:#166d7b}.icon{display:inline-block;width:22px;height:22px;vertical-align:middle;flex-shrink:0}button .icon{pointer-events:none}.topbar{height:86px;max-width:1600px;margin:auto;padding:0 38px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);position:relative;z-index:5;background:rgba(247,245,238,.97)}.brand{display:flex;align-items:center;gap:10px;border:0;background:none;text-align:left;padding:8px 0}.brand>.icon{width:38px;height:38px;color:var(--teal)}.brand span{display:grid}.brand small{font-size:10px;letter-spacing:.07em}.brand b{font-size:24px;letter-spacing:.05em;line-height:1.25}.brand i{font-size:11px;font-style:normal;border:1px solid #a4bab8;padding:4px 9px;border-radius:4px;margin-left:5px;white-space:nowrap}.topbar nav{display:flex;gap:9px;align-items:center}.btn{border:0;border-radius:12px;padding:13px 22px;display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:48px;font-size:15px;transition:transform .15s,background .15s,box-shadow .15s;line-height:1.45}.btn:hover:not(:disabled){transform:translateY(-2px)}.btn:active:not(:disabled){transform:translateY(1px)}.primary{background:var(--ink);color:white;box-shadow:0 4px 0 #082c34}.primary:hover{background:#205865}.secondary{background:#e2ede7;border:1px solid #b4cac2}.quiet{background:transparent;border:1px solid #b4c4bf}.btn:disabled{opacity:.45}.icon-only{padding:10px;min-width:42px;min-height:42px;background:transparent;border:1px solid var(--line);border-radius:50%}.nav-button{font-size:13px;background:transparent;gap:7px;padding:8px 11px}.sound-on{background:#d3ece7;color:#147279}.header-hp{display:flex;align-items:center;gap:4px;margin-right:8px}.header-hp .icon{color:var(--red);width:19px}.header-hp small{color:var(--muted)}.eyebrow{font-size:11px;letter-spacing:.2em;color:#6c8b8c;margin:0 0 10px}.home-screen{max-width:1600px;margin:auto}.home-art{position:relative;min-height:590px;height:min(72vw,690px);overflow:hidden;background:#d8e9e2}.home-art>.diorama{width:100%;height:100%;object-fit:cover;object-position:center}.home-vignette{position:absolute;inset:0;background:linear-gradient(90deg,rgba(246,246,233,.98) 0%,rgba(246,246,233,.9) 20%,rgba(246,246,233,.5) 39%,transparent 64%),linear-gradient(0deg,rgba(29,64,63,.12),transparent 30%)}.home-copy{position:absolute;top:14%;left:6.5%;max-width:580px}.edition{display:inline-block;font-size:13px;letter-spacing:.04em;color:#336a6b;padding-bottom:15px;border-bottom:1px solid #a7beb4}.home-copy h1{font-size:clamp(30px,3.35vw,51px);line-height:1.6;letter-spacing:.02em;margin:22px 0 18px}.home-description{font-size:16px;line-height:2;color:#47676d}.home-actions{display:flex;gap:14px;margin-top:30px;align-items:center}.home-actions .primary{min-width:250px;min-height:60px}.home-tags{display:flex;gap:22px;margin-top:30px;font-size:12px;color:#50747a}.home-tags span{display:flex;gap:7px;align-items:center}.home-tags .icon{width:17px}.destination-tag{position:absolute;right:5%;top:6%;background:rgba(249,247,235,.94);border:1px solid #d4bd85;box-shadow:0 8px 20px #183a3e18;border-radius:12px;display:flex;gap:12px;padding:14px 22px;transform:rotate(3deg)}.destination-tag>.icon{color:#b48431;width:34px;height:34px}.destination-tag span{font-size:11px;display:grid;gap:3px}.destination-tag b{font-size:20px}.home-partner{position:absolute;bottom:6%;right:10%;width:180px;text-align:center}.home-partner>span:not(.sprite){display:block;background:var(--cream);border-radius:30px;padding:8px 14px;font-size:12px;box-shadow:0 6px 20px #123c4918;white-space:nowrap;position:relative;left:-15px}.home-bottom{display:flex;align-items:center;justify-content:space-between;padding:24px 6.5%;background:#fbfaf4;gap:20px;border-bottom:1px solid var(--line)}.home-bottom>div{display:grid;gap:5px}.tiny-label{font-size:10px;letter-spacing:.15em;color:var(--muted)}.home-bottom b{font-size:26px}.home-bottom b small{font-size:13px}.home-bottom p{font-size:13px;line-height:1.8;margin:0}.home-bottom strong{color:#29818a}.text-button{border:0;padding:7px 0;background:none;font-size:12px;display:inline-flex;align-items:center;gap:8px}.text-button:hover{text-decoration:underline}.prototype-note{text-align:center;color:var(--muted);font-size:11px;letter-spacing:.06em;margin:16px 0}.site-footer{max-width:1440px;padding:15px 35px;margin:20px auto 0;border-top:1px solid var(--line);display:flex;gap:22px;align-items:center;justify-content:space-between;font-size:10px;color:var(--muted)}.save-error{color:#b34737}.pururu{width:160px;height:156px;position:relative;margin:auto;--body1:#cdf8ed;--body2:#61bfbd;--body3:#298c9a}.pu-body{position:absolute;left:8%;bottom:10%;width:84%;height:73%;border-radius:47% 50% 38% 39% / 62% 62% 38% 39%;background:radial-gradient(ellipse at 29% 25%,var(--body1) 0%,var(--body2) 55%,var(--body3) 100%);box-shadow:inset -8px -9px 12px #164e4b26,inset 3px 4px 5px #fff9,0 8px 8px #20485124;border:1px solid #ffffff77;animation:breathe 3s ease-in-out infinite;z-index:2}.pu-shadow{position:absolute;left:8%;bottom:3%;width:85%;height:17%;border-radius:50%;background:radial-gradient(ellipse,#193e4c4a,transparent 65%)}.pu-shine{position:absolute;left:17%;top:13%;width:20%;height:12%;border-radius:50%;background:#fff9;transform:rotate(-30deg)}.pu-eye{position:absolute;top:48%;width:6.5%;height:11%;background:#163d48;border-radius:50%}.pu-eye.left{left:29%}.pu-eye.right{right:29%}.pu-eye:after{content:'';position:absolute;left:25%;top:8%;width:35%;height:30%;background:white;border-radius:50%}.pu-cheek{position:absolute;top:64%;width:14%;height:8%;background:#e8888177;border-radius:50%}.pu-cheek.left{left:17%}.pu-cheek.right{right:17%}.pu-mouth{position:absolute;left:45%;top:63%;width:10%;height:8%;border-bottom:3px solid #163d48;border-radius:0 0 50% 50%}.pu-scarf{position:absolute;left:14%;bottom:9%;width:72%;height:9%;background:#cf765d;border-radius:50%;transform:rotate(3deg);box-shadow:0 2px 1px #a05b4a50}.pu-scarf:after{content:'';position:absolute;right:10%;top:5px;width:14%;height:30px;background:#c9775e;border-radius:0 0 5px 5px;transform:rotate(-12deg)}.gold{--body1:#ffedb7;--body2:#e6bd63;--body3:#b77c39}.brown{--body1:#e4c19d;--body2:#ae7b56;--body3:#714c39}.blue{--body1:#effdff;--body2:#a7d2df;--body3:#659da8}.royal{--body1:#fffefe;--body2:#c3e6f3;--body3:#75a7cf}.royal .pu-scarf{background:#5b78aa}.royal .pu-scarf:after{background:#53709e}.pu-crown{position:absolute;top:-43%;left:23%;width:55%;height:55%;font-size:76px;color:#dfb053;text-shadow:0 3px 0 #ab7d30;transform:rotate(-7deg)}.ear{position:absolute;top:-28%;width:28%;height:45%;background:linear-gradient(140deg,#e4ba68,#b9803c);clip-path:polygon(50% 0,100% 100%,0 100%);z-index:-1}.ear.left{left:4%;transform:rotate(-22deg)}.ear.right{right:4%;transform:rotate(22deg)}.bear-ear{position:absolute;top:-12%;width:24%;height:29%;border-radius:50%;background:#b17f58;border:5px solid #845b40;z-index:-1}.bear-ear.left{left:4%}.bear-ear.right{right:4%}.mini{width:80px;height:88px}.mini .pu-crown{font-size:38px}.mini .pu-scarf:after{height:12px}.hero{width:175px;height:175px}.fighter{width:185px;height:190px}.result-avatar{width:220px;height:230px}.result-avatar .pu-crown{font-size:108px}@keyframes breathe{50%{transform:translateY(-5px) scale(1.025,.975)}}.journey-screen{max-width:1490px;margin:auto;padding:28px 35px 0}.section-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:22px}.section-top h1{font-size:29px;margin:0}.save-badge{display:flex;align-items:center;gap:6px;font-size:11px;color:#5a8581}.save-badge .icon{width:16px}.journey-layout{display:grid;grid-template-columns:minmax(0,1fr) 310px;gap:24px}.map-panel{position:relative;aspect-ratio:1.54;min-height:480px;overflow:hidden;border-radius:23px;background:#82afba;box-shadow:0 10px 35px #153e4810;border:1px solid #cadcda}.map-panel>img{width:100%;height:100%;object-fit:cover}.map-tint{position:absolute;inset:0;background:linear-gradient(0deg,#153e4877,transparent 22%,transparent 85%,#f7f5ee55)}.map-north{position:absolute;right:23px;top:20px;color:#e6f6f3;text-align:center;font-size:20px;line-height:1.5}.map-title{position:absolute;left:22px;top:20px;font-size:16px;letter-spacing:.2em;color:#2a5c65}.map-title small{display:block;font-size:11px;letter-spacing:.15em}.route-lines{position:absolute;inset:0;width:100%;height:100%;overflow:visible}.route-lines path{fill:none;stroke:#f4f4e266;stroke-width:3;stroke-dasharray:4 8;stroke-linecap:round}.route-lines path.active{stroke:#fff7d1;stroke-width:4}.route-lines path.done{stroke:#40969a;stroke-width:4;stroke-dasharray:none}.map-node{position:absolute;left:var(--x);top:var(--y);transform:translate(-50%,-50%);border:0;background:transparent;display:flex;flex-direction:column;align-items:center;gap:3px;z-index:2;width:max-content;max-width:130px;padding:4px}.map-node>i{width:35px;height:35px;border-radius:50%;background:#eaf0e7;border:2px solid white;display:grid;place-items:center;box-shadow:0 3px 12px #193c4c33}.map-node span{font-size:10px;background:#f8f7edeb;border-radius:5px;padding:4px 7px;box-shadow:0 1px 4px #173d471a;line-height:1.4}.map-node.available>i{width:42px;height:42px;background:#ffcd74;border:3px solid #fff8dc;color:#674815;box-shadow:0 0 0 6px #ffeb9e4d,0 4px 12px #2a504366;animation:node-pulse 2.5s ease-in-out infinite}.map-node.available span{background:#fff5d9;font-size:12px}.map-node.current>i{background:var(--teal);color:white;width:38px;height:38px}.map-node.visited:not(.current){opacity:.7}.map-node.goal-node{z-index:1}.map-node.goal-node>i{background:#dba84f;color:white}.map-key{position:absolute;bottom:13px;left:20px;right:20px;display:flex;align-items:center;justify-content:space-between;color:#f4faf6;gap:8px;font-size:11px}.map-key span{display:flex;gap:7px;align-items:center}.map-key i{width:9px;height:9px;border-radius:50%;background:#f8d58c}.map-key small{font-size:9px}.route-sidebar{display:flex;flex-direction:column}.current-place{background:#e7ede4;border-radius:13px;padding:15px 18px;display:grid;gap:4px;border:1px solid #cedbd0}.current-place small{color:var(--muted);font-size:10px}.current-place strong{font-size:21px}.current-place span{font-size:11px;color:#57817b}.route-sidebar h2{font-size:15px;margin:21px 0 10px}.route-choices{display:grid;gap:12px}.route-choice{display:flex;align-items:center;gap:12px;text-align:left;padding:15px 13px;border:1px solid #d8dfd3;border-radius:13px;background:#fffcf3;box-shadow:0 3px 0 #e3e6da;transition:transform .15s,border-color .15s}.route-choice:hover{border-color:#4b9694;transform:translateX(3px)}.route-icon{background:#e3eee9;display:grid;place-items:center;width:41px;height:46px;border-radius:10px;flex-shrink:0}.route-icon.battle{background:#f2dfcd;color:#a46935}.route-icon.food{background:#f8e9c9;color:#986c30}.route-choice>span:nth-child(2){display:grid;gap:5px}.route-choice small{font-size:9px;color:var(--muted)}.route-choice b{font-size:14px}.route-choice em{font-style:normal;font-size:10px;color:#75908c;line-height:1.6}.route-choice>.icon{width:15px;margin-left:auto}.goal-preview{display:flex;gap:7px;align-items:center;margin-top:auto;padding:25px 0 2px}.goal-preview>div:last-child{flex:1}.goal-preview small{font-size:9px;color:var(--muted)}.goal-preview strong{display:block;font-size:13px;margin:5px 0}.goal-preview p{font-size:11px;line-height:1.6;margin:5px 0;color:var(--muted)}.journey-footer{display:flex;gap:28px;justify-content:center;padding:22px 0;font-size:12px;color:#5f817f}.journey-footer .icon{width:17px;margin-right:5px}.journey-footer b{color:var(--ink);font-size:17px}@keyframes node-pulse{50%{box-shadow:0 0 0 10px #ffeb9e20,0 4px 12px #2a504366}}.game-card{position:relative;width:100%;padding:9px 8px 7px;border:2px solid #cfceba;border-radius:14px;background:linear-gradient(135deg,#fffdf3,#ecebdd);box-shadow:0 4px 10px #153e481a, inset 0 0 0 2px #fff9;text-align:center;display:flex;flex-direction:column;transition:transform .15s,box-shadow .15s;min-height:316px}.game-card:hover:not(:disabled){transform:translateY(-5px);box-shadow:0 10px 20px #153e4828;border-color:#77a5a3}.game-card:disabled{filter:saturate(.65);background:#eeede5}.card-region{height:23px;font-size:15px;color:#215d65;padding-left:24px;font-weight:700;letter-spacing:.06em}.card-place{font-size:8px;display:flex;align-items:center;justify-content:center;gap:5px;color:#426c70;height:20px;white-space:nowrap;padding-left:12px}.card-place>span{background:#e0e9df;border-radius:3px;padding:2px 4px;font-size:8px}.card-title{height:49px;display:flex;flex-direction:column;align-items:center;justify-content:center;line-height:1.3;gap:3px}.card-title small{font-size:8px;font-weight:700}.card-title strong{font-size:13px;line-height:1.3;letter-spacing:-.03em}.card-title em{color:#bf862d;font-size:17px;font-style:normal}.energy-cost{position:absolute;left:-7px;top:-8px;width:46px;height:55px;z-index:2;color:#17727b;filter:drop-shadow(0 2px 1px #123c4933)}.energy-cost>.icon{position:absolute;inset:0;width:100%;height:100%;fill:#278d98;stroke:#c8f5ef;stroke-width:1}.energy-cost b{position:absolute;inset:14px 0 0;display:block;text-align:center;color:white;font-size:28px;line-height:1;text-shadow:0 1px 1px #11515a}.card-art{height:130px;border-radius:8px;overflow:hidden;background-color:#c8d9d7;border:1px solid #ccd1c1;flex-shrink:0}.card-art img{width:100%;height:100%;object-fit:cover;display:block}.art-ice,.art-festival,.art-nabe{background-image:url('./assets/card-reference.webp');background-size:330% auto;background-repeat:no-repeat}.art-ice{background-position:2.4% 55%}.art-festival{background-position:49.5% 55%}.art-nabe{background-position:96.3% 55%}.basic-art{display:grid;place-items:center;background:radial-gradient(circle at 35% 28%,#fff8e8,#ddbc85);position:relative;isolation:isolate}.basic-art:before{content:'';position:absolute;inset:18px;border:1px solid #fff8;border-radius:50%;z-index:-1}.basic-art>.icon{width:66px;height:66px;filter:drop-shadow(0 5px 0 #815c4022);color:#93623b;stroke-width:1.3}.basic-art.shield{background:radial-gradient(circle at 35% 28%,#ecfffa,#87c1c8)}.basic-art.shield>.icon{color:#3d8895}.basic-art.snow{background:radial-gradient(circle at 35% 28%,#fff,#a5cddc)}.basic-art.snow>.icon{color:#4e92a8}.basic-art.compass{background:radial-gradient(circle at 35% 28%,#f3ecd0,#bfae7c)}.card-fact{font-size:9px;line-height:1.6;text-align:left;margin:7px 2px;height:42px;display:flex;align-items:center;color:#405f62}.card-stats{display:flex;gap:5px;margin-top:auto;min-height:45px}.card-stats>div{position:relative;width:50%;display:grid;grid-template-columns:19px 1fr;grid-template-rows:14px 28px;align-items:center;border-radius:9px;padding:4px 8px 3px}.atk{background:linear-gradient(145deg,#fff4d4,#e9bd72);color:#825118}.def{background:linear-gradient(145deg,#e3f4f7,#98c9dc);color:#225973}.card-stats .icon{width:16px;height:16px;grid-row:1/3}.card-stats span{font-size:8px}.card-stats b{font-size:28px;line-height:1}.card-heal{margin-top:auto;background:linear-gradient(120deg,#faebc7,#efc98a);border:1px solid #d5ae6d;color:#82522b;min-height:55px;border-radius:9px;display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:5px;padding:4px 6px}.card-heal>.icon{width:23px;fill:#c5765740}.card-heal>span{font-size:14px}.card-heal b{font-size:27px}.card-heal small{width:100%;font-size:9px;color:#8c6140;margin-top:-5px}.food-card .game-card{border-color:#d8bc8e}.card-wrap{width:190px;max-width:100%}.card-under{display:flex;align-items:center;justify-content:center;gap:5px;font-size:9px;color:var(--muted);padding:4px 0}.info-button{border:0;background:transparent;padding:4px;min-width:28px;min-height:28px}.info-button .icon{width:17px;height:17px}.unavailable .card-under{color:#8f8e80}.large.game-card{min-height:430px}.large .card-region{font-size:21px;height:30px}.large .card-place{font-size:11px;height:27px}.large .card-place span{font-size:9px}.large .card-title{height:61px}.large .card-title strong{font-size:21px}.large .card-title small{font-size:11px}.large .card-art{height:205px}.large .card-fact{font-size:12px;height:auto;min-height:48px;line-height:1.7}.large .energy-cost{width:60px;height:70px}.large .energy-cost b{font-size:36px;top:18px}.large .card-stats{height:64px}.large .card-stats>div{grid-template-rows:17px 35px}.large .card-stats span{font-size:11px}.large .card-stats b{font-size:36px}.large .card-stats .icon{width:22px;height:22px}.large .card-heal{min-height:66px}.large .card-heal span{font-size:19px}.large .card-heal b{font-size:34px}.large .card-heal small{font-size:12px}.event-screen{position:relative;isolation:isolate;min-height:650px;display:grid;grid-template-columns:minmax(0,520px) 300px;justify-content:center;gap:80px;padding:60px 45px;overflow:hidden}.event-backdrop{position:absolute;inset:0;z-index:-2;background-size:cover;background-position:center;filter:blur(5px);opacity:.23}.event-screen:before{content:'';position:absolute;inset:0;background:linear-gradient(90deg,#f5f4e9fa,#f5f4e999);z-index:-1}.event-story{padding-top:35px}.event-story h1{font-size:30px;line-height:1.8;margin:20px 0}.event-story rt{font-size:11px}.event-text{font-size:17px;line-height:2;max-width:460px;color:#4d7476}.event-options{display:grid;gap:15px;max-width:370px;margin-top:28px}.event-hint{font-size:12px;line-height:1.8;color:var(--muted);margin:2px 0}.event-card{align-self:center;transform:rotate(3deg)}.event-card .card-wrap{width:300px}.souvenir-label{font-size:11px;letter-spacing:.05em;display:block;text-align:center;margin-top:20px;color:#587579}.dice-result{display:flex;gap:9px;align-items:center;font-size:12px;color:#53777c;margin:22px 0}.dice-result b{display:grid;place-items:center;width:30px;height:30px;background:white;border:1px solid #d1dbd5;border-radius:5px;font-size:19px}.dice-result>span{font-size:10px}.battle-screen{max-width:1240px;margin:auto;padding:20px 32px 0}.battle-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:8px}.battle-heading h1{font-size:21px;margin:0}.battle-heading .eyebrow{margin:0 0 5px;font-size:10px}.phase-track{display:flex;align-items:center;gap:9px;font-size:11px}.phase-track span{display:flex;align-items:center;gap:5px;padding:7px 10px;border-radius:30px;background:#e4e9e0;color:#869a92}.phase-track .icon{width:15px;height:15px}.phase-track .active{background:var(--ink);color:white}.phase-track i{font-style:normal;color:#92a6a0}.arena{display:flex;position:relative;align-items:center;justify-content:center;gap:65px;min-height:273px;border-bottom:1px solid #d3dfdb;background:radial-gradient(ellipse at 50% 90%,#d9e8df 0%,#e7ede4 45%,#f4f4ed 72%);border-radius:25px;overflow:hidden;margin-top:5px}.arena:before,.arena:after{content:'';position:absolute;bottom:-4px;width:65%;height:60px;border:1px solid #ffffffc0;border-radius:50%;transform:rotate(-4deg);background:#ffffff22}.arena:after{width:85%;height:100px;background:transparent}.arena-snow{position:absolute;inset:0;opacity:.6;background-image:radial-gradient(circle,#fff 1px,transparent 2px);background-size:65px 65px;pointer-events:none}.combatant{width:225px;position:relative;z-index:1;text-align:center;padding-top:10px}.combatant-label{display:grid;gap:4px}.combatant-label small{font-size:9px;color:var(--muted)}.combatant-label b{font-size:15px}.combatant .fighter{height:165px;width:170px}.hp-track{position:relative;height:24px;background:#e0e7de;border-radius:20px;border:2px solid #fff;overflow:hidden;box-shadow:0 1px 4px #163c4812;margin:0 auto 18px;max-width:205px}.hp-track>i{display:block;height:100%;background:linear-gradient(90deg,#7fbbb2,#a9d2b9);transition:width .35s}.hp-track>span{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;font-size:11px;gap:4px}.hp-track .icon{width:11px;height:11px}.enemy-hp>i{background:linear-gradient(90deg,#d28f76,#e7baa3)}.arena-center{width:220px;align-self:center;position:relative;z-index:2;text-align:center}.round-badge{display:inline-block;border:1px solid #c3d5cd;border-radius:30px;font-size:10px;padding:5px 14px;background:#f7f7ee;color:#60807b}.versus{font-family:Georgia,serif;font-style:italic;font-size:34px;color:#9fb9b4;margin:10px 0 3px}.intent-bubble{padding:10px 15px;background:#fffdf4ee;border:1px solid #d4d8c5;border-radius:12px;display:grid;gap:3px;grid-template-columns:1fr 42px;text-align:left;box-shadow:0 4px 12px #143c4810}.intent-bubble small{font-size:9px;color:#79928a}.intent-bubble strong{font-size:12px;grid-row:2}.intent-bubble>b{grid-column:2;grid-row:1/3;display:flex;gap:4px;align-items:center;justify-content:end;font-size:24px;color:#a25b3f}.intent-bubble>b .icon{width:16px}.intent-bubble>span{font-size:9px;grid-column:1/3;color:#608c91}.intent-bubble>span .icon{width:13px;height:13px}.turn-bar{display:flex;align-items:center;justify-content:space-between;padding:18px 0 10px}.turn-instruction h2{font-size:17px;margin:0 0 5px}.turn-instruction p{font-size:11px;margin:0;color:var(--muted)}.energy-display{display:flex;align-items:center;gap:2px;background:#edf6f1;border:1px solid #c3d8d0;border-radius:30px;padding:8px 14px}.energy-display>.icon{width:22px;height:27px;stroke:#24898c}.energy-display>.filled{fill:#71c4c5}.energy-display>.empty{fill:none;stroke:#c3d7d0}.energy-display b{margin-left:8px;font-size:23px}.energy-display small{font-size:11px;color:#789792;margin-left:3px}.hand{display:flex;justify-content:center;gap:16px;min-height:325px;padding:12px 6px 0;flex-wrap:wrap}.hand .card-wrap{width:calc((100% - 60px)/4);max-width:205px}.turn-bottom{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:5px 0 12px}.battle-log{font-size:11px;color:#52777b;min-height:55px}.battle-log p{margin:3px 0}.battle-log small{font-size:9px;color:#8aa09b}.defense-equation{display:flex;align-items:center;justify-content:center;gap:12px;font-size:11px;background:#e7f0eb;border:1px solid #c9ddd3;border-radius:10px;padding:10px;margin:2px 0 8px}.defense-equation b{font-size:18px;vertical-align:middle;margin-left:4px}.defense-equation>strong{padding-left:12px;border-left:1px solid #bdd0c8;color:#9b5e42}.damage-result{font-size:40px;color:#b96654;padding:10px}.damage-result.blocked{font-size:21px;color:#277d83}.damage-result>.icon{width:25px;height:25px;margin-right:5px}.quiz-panel{max-width:760px;margin:20px auto 0;text-align:center;padding:22px 32px;background:#fffdf5;border:1px solid #d6e0d3;border-radius:20px;box-shadow:0 7px 20px #173d4808}.quiz-kicker{display:flex;align-items:center;justify-content:center;gap:8px;font-size:12px;color:#377a82}.quiz-kicker span{font-size:10px;background:#e6eee3;padding:4px 9px;border-radius:5px;margin-left:10px}.quiz-panel h2{font-size:23px;line-height:1.7;margin:17px 0 20px}.quiz-choices{display:grid;gap:10px}.quiz-choice{display:flex;gap:13px;align-items:center;text-align:left;padding:14px 18px;background:#f3f4e9;border:1px solid #cfdccf;border-radius:10px;font-size:17px;min-height:57px}.quiz-choice>span{width:25px;height:25px;display:grid;place-items:center;font-size:13px;border-radius:50%;background:white;color:#79928a;flex-shrink:0}.quiz-choice:hover:not(:disabled){border-color:#559c93;background:#e6f3e9}.quiz-choice.correct{background:#e1f1d9;border-color:#7aaa68;color:#3b714c}.quiz-choice.wrong{background:#fae7df;border-color:#cf9983;color:#aa6a53}.quiz-choice .icon{margin-left:auto}.quiz-note{font-size:11px;color:var(--muted);margin:16px 0 0}.quiz-explanation{padding:14px 0 9px}.quiz-explanation strong{color:#4f8a56;font-size:15px}.quiz-explanation.review strong{color:#a07444}.quiz-explanation p{font-size:13px;line-height:1.8;margin:6px 0}.quiz-panel>.primary{margin-top:6px}.reward-screen{text-align:center;padding:45px 20px}.reward-screen h1{font-size:32px;margin:14px}.reward-screen>p{color:var(--muted);font-size:14px}.reward-cards{display:flex;justify-content:center;gap:28px;margin:35px 0}.reward-cards>div{width:220px}.reward-cards .card-wrap{width:100%}.reward-cards .btn{width:100%;font-size:13px;margin-top:15px}.reward-cards .game-card{min-height:350px}.reward-cards .card-art{height:155px}.reward-cards .card-title strong{font-size:15px}.small-note{font-size:11px!important}.result-screen{padding:40px 20px;text-align:center;max-width:900px;margin:auto;background:radial-gradient(ellipse at 50% 40%,#e6eddf,transparent 70%)}.result-screen h1{font-size:31px;margin:10px 0 16px}.result-screen>p:not(.eyebrow){font-size:14px;color:#65817c;line-height:1.9}.result-stats{display:flex;justify-content:center;gap:45px;margin:30px 0}.result-stats>div{display:grid;gap:8px}.result-stats small{font-size:11px;color:var(--muted)}.result-stats b{font-size:35px}.result-stats em{font-size:17px;color:#7c9a93;font-style:normal}.result-actions{display:flex;justify-content:center;gap:15px}.modal-open{overflow:hidden}.modal-backdrop{position:fixed;inset:0;background:#0b3038a8;backdrop-filter:blur(5px);display:flex;align-items:center;justify-content:center;padding:30px;z-index:30}.modal{background:var(--cream);width:min(100%,1040px);max-height:92dvh;overflow:auto;border-radius:21px;box-shadow:0 20px 90px #001e4255}.modal>header{position:sticky;top:0;z-index:4;background:#f7f5eef5;border-bottom:1px solid #d8dfd2;padding:17px 25px;display:flex;justify-content:space-between;align-items:center}.modal h2{font-size:21px;margin:0}.modal-body{padding:25px}.modal-body>p{font-size:13px;line-height:1.9;color:#5a7777}.catalog-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:23px 17px;padding:15px 2px}.catalog-grid .card-wrap{width:100%}.catalog-grid>div>.primary{width:100%;font-size:12px;margin-top:9px}.detail-layout{display:grid;grid-template-columns:300px 1fr;gap:40px;align-items:center;max-width:800px;margin:auto}.detail-layout>.card-wrap{width:300px}.detail-layout h3{font-size:25px;margin:18px 0}.detail-layout p{font-size:15px;line-height:2}.source-link{font-size:12px;display:inline-block;margin-top:15px}.notice{background:#eee8d6;border:1px solid #e1d4b2;border-radius:10px;padding:15px;font-size:13px!important;line-height:1.8}.collection-intro{display:flex;justify-content:space-between;align-items:center;font-size:13px;line-height:1.8}.friend-badge{display:flex;align-items:center;gap:12px;background:#e0ede7;border-radius:12px;padding:10px 20px;font-size:12px}.undiscovered{background:repeating-linear-gradient(45deg,#e8ebe1,#e8ebe1 8px,#e3e8de 8px,#e3e8de 16px);border:2px dashed #c5d3c6;border-radius:14px;min-height:320px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:15px;color:#8caba0}.undiscovered>.icon{width:50px;height:50px}.undiscovered b{font-size:12px}.undiscovered span{font-size:11px}.help-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}.help-grid article{background:#eaf0e5;padding:22px;border-radius:14px}.help-grid article>.icon{width:30px;height:30px;color:#508b88}.help-grid h3{font-size:16px}.help-grid p{font-size:13px;line-height:1.9;margin-bottom:0;color:#537176}.source-list{font-size:13px;line-height:2.4;padding-left:20px}.source-list a{text-underline-offset:4px}#toast{position:fixed;bottom:25px;left:50%;transform:translate(-50%,25px);opacity:0;pointer-events:none;z-index:60;background:#133f49;color:#fff;padding:12px 24px;border-radius:12px;transition:.2s;font-size:13px}#toast.visible{opacity:1;transform:translate(-50%,0)}
@media(min-width:1500px){.home-art{height:720px}.journey-layout{grid-template-columns:minmax(0,1fr) 340px}.map-panel{min-height:570px}}
@media(max-width:1100px){.topbar{padding:0 22px}.journey-screen{padding:24px 22px 0}.journey-layout{grid-template-columns:minmax(0,1fr) 265px;gap:18px}.map-panel{min-height:470px}.home-copy{left:5%}.home-copy h1{font-size:34px}.home-vignette{background:linear-gradient(90deg,#f5f4e9f7 0%,#f5f4e9da 30%,#f5f4e960 60%,transparent)}.home-description{font-size:14px}.home-tags{gap:12px}.home-partner{right:8%;bottom:5%}.event-screen{gap:35px;grid-template-columns:minmax(0,440px) 280px}.event-card .card-wrap{width:280px}.arena{gap:25px}.catalog-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.modal{max-width:860px}}
@media(max-width:760px){.topbar{height:73px;padding:0 14px}.brand>.icon{width:27px;height:27px}.brand{gap:7px}.brand small{font-size:8px}.brand b{font-size:19px}.brand i{display:none}.topbar nav{gap:3px}.nav-button{padding:6px 8px;min-height:38px}.nav-button>span{display:none}.icon-only{min-width:33px;min-height:33px;padding:7px}.icon-only>.icon{width:18px;height:18px}.header-hp{font-size:12px;margin-right:3px;gap:2px}.header-hp>.icon{width:14px}.header-hp small{font-size:9px}.topbar nav .btn[data-action="sound"]{display:none}.home-art{height:780px;min-height:0}.home-art>.diorama{object-position:60% bottom;height:58%;position:absolute;bottom:0;object-fit:cover}.home-vignette{background:linear-gradient(180deg,#f3f4e9 0%,#f3f4e9 40%,#f3f4e9a8 55%,transparent 78%)}.home-copy{top:30px;left:7%;right:6%;max-width:none}.home-copy h1{font-size:31px;margin:18px 0 12px;line-height:1.6}.edition{font-size:11px;padding-bottom:10px}.home-description{font-size:13px;line-height:1.9}.home-actions{margin-top:21px;gap:9px}.home-actions .primary{min-width:0;min-height:52px;font-size:14px;padding:12px 18px}.home-actions .quiet{padding:10px;font-size:11px}.home-tags{gap:14px;margin-top:21px;font-size:10px}.home-tags .icon{width:14px}.home-partner{right:7%;bottom:4%;width:130px}.home-partner .hero{width:135px;height:140px}.home-partner>span:not(.sprite){font-size:9px;left:-10px;padding:7px 9px}.destination-tag{top:auto;bottom:28%;right:8%;padding:9px 14px}.destination-tag b{font-size:16px}.destination-tag span{font-size:9px}.destination-tag>.icon{width:26px}.home-bottom{padding:19px 7%;flex-wrap:wrap;gap:17px}.home-bottom b{font-size:23px}.home-bottom p{font-size:11px}.home-bottom .text-button{width:100%;border-top:1px solid var(--line);padding-top:12px}.site-footer{padding:13px 16px;gap:10px;flex-wrap:wrap;font-size:9px;margin-top:10px}.site-footer>.text-button{font-size:10px}.journey-screen{padding:23px 15px 0}.section-top h1{font-size:23px}.section-top .eyebrow{font-size:9px}.save-badge{display:none}.journey-layout{display:flex;flex-direction:column;gap:18px}.map-panel{min-height:390px;aspect-ratio:1.12}.map-panel>img{object-fit:fill}.map-title{font-size:12px;top:15px;left:15px}.map-node span{font-size:8px!important;padding:3px 5px}.map-node>i{width:27px;height:27px}.map-node>i>.icon{width:16px;height:16px}.map-node.available>i{width:35px;height:35px}.map-node.current>i{width:31px;height:31px}.map-key{font-size:9px;left:12px;right:12px;bottom:10px;align-items:start}.map-key small{font-size:8px;max-width:150px;text-align:right}.map-north{font-size:16px;right:16px;top:16px}.route-sidebar{display:block}.current-place{padding:12px 15px;display:grid;grid-template-columns:1fr auto}.current-place small{grid-column:1}.current-place strong{grid-column:1;font-size:18px}.current-place span{grid-column:2;grid-row:1/3;align-self:center;font-size:10px}.route-sidebar h2{font-size:14px;margin:17px 0 10px}.route-choices{grid-template-columns:1fr}.route-choice{padding:12px 14px}.route-choice small{font-size:10px}.route-choice b{font-size:15px}.route-choice em{font-size:11px}.goal-preview{padding-top:16px;max-width:290px;margin:auto}.journey-footer{gap:13px;font-size:9px;flex-wrap:wrap;padding:15px 0}.journey-footer .icon{width:14px;margin-right:2px}.journey-footer b{font-size:14px}.event-screen{padding:26px 23px;display:flex;flex-direction:column;gap:20px;align-items:center}.event-story{padding-top:0;max-width:500px;order:1}.event-story h1{font-size:24px;margin:15px 0}.event-text{font-size:14px;line-height:1.9}.event-options{max-width:none;margin-top:19px}.event-card{order:2;transform:rotate(1.5deg)}.event-card .card-wrap{width:275px}.dice-result{font-size:11px;margin:15px 0}.dice-result>span{font-size:9px}.battle-screen{padding:16px 12px 0}.battle-heading{align-items:flex-start}.battle-heading h1{font-size:16px}.battle-heading .eyebrow{font-size:8px;letter-spacing:.08em}.phase-track{font-size:9px;gap:3px}.phase-track span{padding:5px 6px;gap:2px}.phase-track .icon{width:11px;height:11px}.arena{gap:0;min-height:226px;justify-content:space-around}.combatant{width:31%;max-width:155px;padding-top:15px}.combatant .fighter{width:115px;height:127px;max-width:100%}.combatant-label b{font-size:11px;white-space:nowrap}.combatant-label small{font-size:8px}.combatant .pu-crown{font-size:51px}.combatant .pu-scarf:after{height:18px}.hp-track{height:21px;margin-bottom:12px}.hp-track>span{font-size:9px}.hp-track .icon{width:9px}.arena-center{width:35%;align-self:center;padding-top:14px}.round-badge{font-size:8px;padding:4px 8px}.versus{font-size:24px;margin:5px 0}.intent-bubble{padding:8px 7px;grid-template-columns:1fr 22px;gap:3px;border-radius:9px}.intent-bubble small{font-size:7px}.intent-bubble strong{font-size:9px;line-height:1.5}.intent-bubble>b{font-size:20px;gap:1px}.intent-bubble>b>.icon{width:10px}.intent-bubble>span{font-size:8px}.turn-bar{gap:10px;padding-top:15px}.turn-instruction h2{font-size:14px;line-height:1.6}.turn-instruction p{font-size:9px;line-height:1.6;max-width:220px}.energy-display{padding:7px 9px;gap:0;flex-shrink:0}.energy-display>.icon{width:17px;height:22px}.energy-display b{font-size:19px;margin-left:4px}.energy-display small{font-size:9px}.hand{gap:11px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));padding:12px 4px 0;min-height:0}.hand .card-wrap{width:100%;max-width:none}.game-card{min-height:304px;padding:8px 6px 6px;border-radius:12px}.card-art{height:120px}.card-title strong{font-size:12px}.card-title{height:47px}.card-place{font-size:7px;gap:3px}.card-place>span{font-size:7px}.card-fact{font-size:8px;line-height:1.6;height:38px;margin:6px 2px}.card-region{font-size:14px}.energy-cost{width:41px;height:50px}.energy-cost b{font-size:26px;top:13px}.card-under{font-size:8px;min-height:31px;gap:2px}.card-stats>div{padding:4px 5px 3px;grid-template-columns:15px 1fr}.card-stats .icon{width:13px;height:13px}.card-stats b{font-size:25px}.card-stats span{font-size:7px}.card-heal{min-height:51px}.card-heal b{font-size:25px}.turn-bottom{position:sticky;bottom:0;background:#f4f4edf5;backdrop-filter:blur(8px);z-index:6;margin:0 -12px;padding:11px 12px;border-top:1px solid var(--line);gap:10px}.turn-bottom .primary{font-size:12px;padding:11px 13px;flex-shrink:0;min-height:45px}.turn-bottom .primary .icon{width:17px}.battle-log{font-size:9px;min-height:0;line-height:1.7}.battle-log p:nth-child(2){display:none}.battle-log small{font-size:8px}.defense-equation{font-size:9px;gap:5px;flex-wrap:wrap;padding:8px}.defense-equation b{font-size:15px;margin-left:3px}.defense-equation>strong{padding-left:7px}.quiz-panel{padding:18px 15px;margin-top:13px}.quiz-panel h2{font-size:19px;margin:14px 0 16px}.quiz-kicker{font-size:10px;gap:5px}.quiz-kicker>.icon{width:18px}.quiz-kicker span{font-size:8px;padding:3px 6px;margin-left:3px}.quiz-choice{font-size:14px;line-height:1.6;padding:11px 12px;gap:10px;min-height:53px}.quiz-choice>span{width:22px;height:22px;font-size:11px}.quiz-explanation p{font-size:12px}.quiz-panel>.primary{width:100%;font-size:13px}.quiz-note{font-size:10px}.reward-screen{padding:30px 16px}.reward-screen h1{font-size:26px;margin:15px 0}.reward-screen>p{font-size:12px}.reward-cards{gap:18px;flex-wrap:wrap;margin:25px 0}.reward-cards>div{width:calc(50% - 10px);max-width:230px}.reward-cards .game-card{min-height:300px}.reward-cards .card-art{height:120px}.reward-cards .card-title strong{font-size:12px}.reward-cards .btn{font-size:11px;padding:10px 7px;margin-top:12px}.result-screen{padding:30px 17px}.result-screen h1{font-size:25px;line-height:1.6}.result-screen>p:not(.eyebrow){font-size:12px}.result-stats{gap:21px}.result-stats small{font-size:9px}.result-stats b{font-size:28px}.result-stats em{font-size:13px}.result-actions{flex-direction:column;align-items:stretch;max-width:330px;margin:auto}.modal-backdrop{padding:12px}.modal{max-height:95dvh;border-radius:16px}.modal>header{padding:13px 17px}.modal h2{font-size:17px}.modal-body{padding:18px 15px}.catalog-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px 11px}.catalog-grid .card-place{font-size:6px}.catalog-grid .card-title strong{font-size:11px}.catalog-grid .card-art{height:110px}.catalog-grid .game-card{min-height:290px}.collection-intro{font-size:11px;gap:10px}.friend-badge{padding:8px 10px;gap:4px;font-size:9px}.friend-badge .mini{width:54px;height:63px}.friend-badge .mini .pu-crown{font-size:27px}.undiscovered{min-height:290px}.detail-layout{display:flex;flex-direction:column;gap:17px}.detail-layout>.card-wrap{width:min(280px,100%)}.detail-layout h3{font-size:22px;margin:10px 0}.detail-layout p{font-size:13px;line-height:1.9}.help-grid{grid-template-columns:1fr;gap:13px}.help-grid article{padding:17px}.help-grid h3{font-size:15px;margin:10px 0}.help-grid p{font-size:12px}.source-list{font-size:11px;line-height:2.2}.damage-result{font-size:28px;padding:9px}.damage-result.blocked{font-size:14px}.damage-result>.icon{width:18px;height:18px}}
.room-screen{max-width:1440px;margin:auto;padding:30px 30px 0}.room-screen .section-top h1{font-size:27px;line-height:1.7}.room-screen rt{font-size:10px}.room-screen .dice-result{margin:0}.room-layout{display:grid;grid-template-columns:minmax(0,1fr) 290px;gap:26px;align-items:start}.room-stage{position:relative;background:#213c4f;border:1px solid #65828b;border-radius:22px;overflow:hidden;box-shadow:0 15px 35px #183b4b20}.room-stage canvas{display:block;width:100%;height:auto;aspect-ratio:1000/650;touch-action:manipulation;cursor:crosshair}.room-instructions{display:flex;justify-content:space-between;align-items:center;padding:14px 20px;background:#183746;color:#deeeea;gap:10px}.room-instructions span{font-size:12px}.room-instructions small{font-size:9px;color:#94b6ba}.room-sidebar{padding:12px 0}.room-sidebar h2{font-size:21px;line-height:1.7;margin:12px 0}.room-sidebar>p{font-size:13px;line-height:1.9;color:#5c7b7e}.room-art-preview{margin:20px 0;background:#fdf9ed;border:1px solid #d3d6c5;border-radius:13px;padding:8px;transform:rotate(1deg)}.room-art-preview .card-art{height:170px;background-size:330% auto}.room-art-preview strong{font-size:14px;display:block;text-align:center;padding:9px 0 3px}.room-actions{display:grid;gap:11px}.room-actions .btn{font-size:12px;padding:13px 10px}.room-sidebar .room-help{font-size:10px;color:#8b9f96;line-height:1.8}.room-foe{text-align:center;margin:20px 0}.room-foe strong{display:block;font-size:15px}.room-foe small{font-size:11px;line-height:1.8;display:block;color:#78918e;margin-top:10px}.encounter-layout{display:grid;grid-template-columns:275px 1fr;gap:35px;align-items:center}.encounter-layout>.card-wrap{width:275px}.encounter-layout h3{font-size:23px}.encounter-layout p{font-size:14px;line-height:1.9}.encounter-layout .event-options{max-width:none}.travel-note{padding:15px 10px;max-width:650px;margin:auto}.travel-note h3{font-size:27px}.travel-note p{font-size:16px;line-height:2}.travel-note .primary{margin-top:20px}.room-stage canvas:focus-visible{outline:4px solid #efd291;outline-offset:-4px}
@media(max-width:1050px){.room-layout{grid-template-columns:minmax(0,1fr) 240px;gap:20px}.room-sidebar h2{font-size:18px}.room-stage canvas{min-height:440px;object-fit:contain}.room-instructions{flex-direction:column;align-items:start;gap:5px}.room-art-preview .card-art{height:145px}}
@media(max-width:760px){.room-screen{padding:23px 14px 0}.room-screen .section-top{align-items:flex-start;gap:10px;margin-bottom:18px}.room-screen .section-top h1{font-size:21px}.room-screen .eyebrow{font-size:9px}.room-screen .dice-result{gap:5px;font-size:9px;flex-wrap:wrap;justify-content:end;max-width:110px}.room-screen .dice-result>span{font-size:8px;text-align:right}.room-screen .dice-result b{width:25px;height:25px;font-size:16px}.room-layout{grid-template-columns:1fr;gap:14px}.room-stage{border-radius:15px}.room-stage canvas{min-height:0;aspect-ratio:1000/650}.room-instructions{padding:11px 14px;gap:5px}.room-instructions span{font-size:11px}.room-instructions small{font-size:9px}.room-sidebar{padding:7px 4px;display:grid;grid-template-columns:1fr 110px;gap:5px 15px}.room-sidebar>.tiny-label,.room-sidebar>h2,.room-sidebar>p{grid-column:1}.room-sidebar h2{font-size:18px;margin:3px 0}.room-sidebar>p{font-size:12px;margin:4px 0}.room-art-preview{grid-column:2;grid-row:1/4;margin:0;align-self:center;padding:4px}.room-art-preview .card-art{height:90px}.room-art-preview strong{font-size:9px;padding:6px 0 2px}.room-actions{grid-column:1/3;grid-template-columns:1fr 1fr;margin-top:12px;gap:10px}.room-actions .btn{font-size:11px;padding:11px 7px;gap:4px}.room-actions .icon{width:16px}.room-sidebar .room-help{grid-column:1/3;font-size:9px;margin-top:8px}.room-foe{grid-column:2;grid-row:1/4;margin:0}.room-foe .hero{width:100px;height:110px}.room-foe strong{font-size:9px}.room-foe small{display:none}.encounter-layout{display:flex;flex-direction:column;gap:15px}.encounter-layout>.card-wrap{width:260px}.encounter-layout h3{font-size:19px;margin:4px 0}.encounter-layout p{font-size:12px}.encounter-layout .event-options{margin-top:15px}.encounter-layout .btn{font-size:12px}.travel-note h3{font-size:23px}.travel-note p{font-size:14px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;animation:none!important;transition:none!important}}
