@font-face{font-family:Field;src:local('Georgia')}*{box-sizing:border-box}html,body{margin:0;width:100%;height:100%;overflow:hidden;background:#d2d8bf;color:#334d48;font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;-webkit-tap-highlight-color:transparent}body{overscroll-behavior:none}button,a,input,select{font:inherit}button{cursor:pointer;color:inherit;border:1px solid #61746538;background:#f8f4e6;border-radius:12px;min-height:44px;padding:11px 16px;transition:background .15s,transform .15s}button:hover{background:#e8e9cf}button:active{transform:translateY(1px)}button:disabled{cursor:default;opacity:.42;transform:none}button:focus-visible,a:focus-visible{outline:3px solid #a15f3f;outline-offset:3px}button.primary{background:#3d6457;color:#fff8e4;border-color:#3d6457}button.primary:hover{background:#315449}button.ghost{background:transparent}button.small{padding:6px 10px;min-height:34px;border-radius:9px;font-size:12px}button.selected{background:#dae2c9;border-color:#79977c}button.danger{color:#925b4a}h1,h2,h3,p{margin:0}h1,h2,.serif{font-family:Field,Georgia,"Songti SC",serif;font-weight:500}h2{font-size:29px;line-height:1.2}h3{font-size:15px}p{line-height:1.65}small{font-size:11px}img{user-select:none;-webkit-user-drag:none}#app{height:100dvh;height:100svh;position:relative;isolation:isolate}#world{position:absolute;width:100%;height:100%;inset:0;touch-action:none;user-select:none;-webkit-user-select:none}#header{position:absolute;z-index:4;inset:0 0 auto;display:flex;align-items:center;justify-content:space-between;gap:10px;padding:16px 24px;background:linear-gradient(#f7f1e9f5,#f7f1e9db 85%,#f7f1e900);pointer-events:none}#header>*{pointer-events:auto}.brand{display:flex;align-items:center;gap:10px;text-decoration:none;color:#344c47}.brand img{width:33px;height:33px}.brand strong{font-size:12px;letter-spacing:.14em;font-weight:700}.brand small{display:block;letter-spacing:.16em;font-size:8px;margin-top:4px;opacity:.65}.header-location{text-align:center}.header-location strong{font-family:Georgia,"Songti SC",serif;font-size:16px;font-weight:500}.header-location small{display:block;margin-top:3px;font-size:10px}.header-actions{display:flex;gap:6px}.icon-button{padding:9px;width:42px;min-height:42px;display:grid;place-items:center;background:#f7f3e5db}.icon-button svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.eyebrow{font-size:10px;letter-spacing:.18em;text-transform:uppercase;color:#7b856d;font-weight:700}.muted{color:#7b8879}.rule{height:1px;background:#b8bfa558;margin:18px 0}.row{display:flex;align-items:center;gap:10px}.spread{justify-content:space-between}.wrap{flex-wrap:wrap}.stack{display:grid;gap:12px}.paper{background:#faf6e9f2;border:1px solid #fff8e3b0;box-shadow:0 12px 50px #2b443d26;border-radius:18px}#ui{position:absolute;inset:0;pointer-events:none;z-index:2}#ui button,#ui a,#ui select{pointer-events:auto}.intro{pointer-events:auto;position:absolute;left:5%;top:15%;width:min(680px,90%);padding:30px 34px 24px;background:#faf6e9f2;border:1px solid #fff5dc;box-shadow:0 20px 100px #23463d33;border-radius:22px}.intro h1{font-size:clamp(34px,4.2vw,62px);line-height:1.06;letter-spacing:-.04em;margin:12px 0 14px;color:#355c4d}.intro>p{max-width:500px;color:#657764;font-size:14px}.starter-list{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:22px 0 16px}.starter{position:relative;padding:5px 6px 12px;border:1px solid #8d9c7940;background:#fffaf178;border-radius:14px;text-align:center;min-width:0;overflow:hidden}.starter:before{content:'';position:absolute;width:100px;height:100px;border-radius:50%;background:#d9dfc24f;top:24px;left:50%;transform:translateX(-50%)}.starter img{position:relative;width:100%;aspect-ratio:1;max-height:145px;object-fit:contain}.starter b{display:block;font-size:12px}.starter small{display:block;font-size:10px;margin-top:5px;color:#72836e}.intro-footer{display:flex;justify-content:space-between;align-items:center;gap:8px;font-size:10px;color:#7d8a76}.map-note{position:absolute;top:100px;left:24px;padding:13px 16px;max-width:310px}.map-note h2{font-size:22px;margin:5px 0}.map-note p{font-size:11px;color:#73816f}.journal-count{display:flex;gap:14px;font-size:10px;margin-top:9px;letter-spacing:.05em}.party-strip{position:absolute;bottom:28px;left:50%;transform:translateX(-50%);display:flex;gap:7px;pointer-events:auto}.party-token{padding:1px;width:56px;height:64px;border-radius:14px;background:#f9f5e7de;position:relative}.party-token img{width:50px;height:50px;object-fit:contain}.party-token .hp{position:absolute;bottom:6px;left:9px;right:9px;height:3px}.party-token.selected{border:2px solid #486e57}.hp{height:6px;background:#78908130;border-radius:9px;overflow:hidden}.hp i{display:block;height:100%;background:#72977b;border-radius:9px;transition:width .4s}.hud-bottom{position:absolute;bottom:26px;left:24px;font-size:11px;background:#f9f5e7dc;border-radius:12px;padding:10px 14px}.hud-bottom kbd{font-size:10px;border:1px solid #a9b198;border-radius:4px;padding:1px 4px;margin-right:4px}.map-hint{position:absolute;bottom:112px;left:50%;transform:translateX(-50%);text-align:center;max-width:340px;font-size:12px;padding:7px 14px;background:#f9f5e7e8;border:1px solid #ffffff88;border-radius:30px;white-space:nowrap}#touch{z-index:3;position:absolute;inset:auto 0 0;pointer-events:none;display:none;height:175px}#interact{pointer-events:auto;position:absolute;bottom:35px;left:25px;border-radius:50%;width:76px;height:76px;min-height:76px;background:#f5efdfe8;border:2px solid #fff7df;box-shadow:0 7px 30px #2a423a33;font-size:12px;line-height:1.3}#joystick{position:absolute;pointer-events:auto;right:24px;bottom:22px;width:116px;height:116px;border-radius:50%;background:#f7f4e440;border:1px solid #f7f3da95;touch-action:none;user-select:none;-webkit-user-select:none;display:grid;place-items:center}#joystick i{position:absolute;width:54px;height:54px;border-radius:50%;background:#f8f3e0d9;box-shadow:0 4px 18px #334b3d33;pointer-events:none}#joystick span{z-index:1;font-size:22px;color:#5d7a68;pointer-events:none;opacity:.8}#toast{z-index:12;position:absolute;left:50%;bottom:160px;transform:translateX(-50%);max-width:min(90%,550px);font-size:13px;text-align:center;pointer-events:none;opacity:0;transition:opacity .2s;padding:12px 20px;background:#344e48ed;color:#fff8e5;border-radius:12px}#toast.visible{opacity:1}#loading{position:absolute;z-index:30;inset:0;background:#edf0df;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:20px}#loading h1{font-size:24px;letter-spacing:.08em}#loading progress{width:200px;height:5px;accent-color:#527b62}#loading p{font-size:12px;color:#75856d}#loading[hidden]{display:none}.sheet-shade{position:absolute;inset:0;background:#203d3a66;backdrop-filter:blur(5px);z-index:8;display:grid;place-items:center;padding:22px}.sheet{pointer-events:auto;width:min(800px,100%);max-height:calc(100dvh - 44px);background:#f7f3e7;border:1px solid #fff6e0;border-radius:22px;box-shadow:0 30px 90px #193e3c40;display:flex;flex-direction:column;overflow:hidden}.sheet-head{display:flex;justify-content:space-between;align-items:center;padding:21px 25px 16px;gap:12px;border-bottom:1px solid #9ba88833}.sheet-body{overflow:auto;overscroll-behavior:contain;padding:20px 25px 26px;-webkit-overflow-scrolling:touch}.sheet-body p{font-size:13px;color:#66785f}.sheet-body h3{margin:14px 0 6px}.sheet-body .large{font-size:20px;color:#405c4c}.menu-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.menu-grid button{padding:20px 8px;font-size:14px}.menu-grid small{display:block;margin-top:8px;font-size:10px;color:#79876d}.species-grid{display:grid;grid-template-columns:repeat(6,1fr);gap:9px}.species-card{padding:4px 4px 10px;min-width:0;text-align:center;position:relative;background:#fdf8eb;border-color:#95a88536}.species-card img{width:100%;aspect-ratio:1;object-fit:contain;display:block}.species-card b{display:block;font-size:10px}.species-card small{font-size:9px;display:block;color:#7c8a74;margin-top:5px}.species-card.unknown img{filter:brightness(0) opacity(.17)}.species-card.unseen img{filter:brightness(0) opacity(.07)}.species-card .caught{position:absolute;right:6px;top:6px;font-size:12px;color:#729471}.member{display:grid;grid-template-columns:70px 1fr auto;gap:12px;align-items:center;padding:12px;border:1px solid #9cab8038;border-radius:14px;background:#fdf9ed;margin-bottom:9px}.member img{width:70px;height:70px;object-fit:contain}.member h3{margin:0 0 6px;font-size:14px}.member p{font-size:10px}.member-actions{display:flex;flex-direction:column;gap:5px}.detail-hero{display:flex;align-items:center;gap:24px}.detail-hero img{width:190px;max-width:44%;aspect-ratio:1}.detail-hero h3{font:28px Georgia,"Songti SC",serif;margin:5px 0 10px}.type-tag{display:inline-block;border-radius:20px;font-size:10px;padding:4px 9px;color:#4c655d;border:1px solid #839a8355;background:#e3e9d13d}.stat-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:7px;margin:16px 0}.stat-grid div{background:#e7e9d662;padding:10px 12px;border-radius:10px;font-size:11px}.stat-grid b{float:right}.move-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:8px}.move-option{display:block;text-align:left;padding:12px}.move-option b{font-size:12px}.move-option p{font-size:11px;margin-top:5px}.move-option .row{justify-content:space-between}.region-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:10px}.region-option{padding:18px;text-align:left;min-height:100px;position:relative;overflow:hidden}.region-option b{display:block;position:relative;font:21px Georgia,"Songti SC",serif}.region-option p{position:relative;font-size:10px;margin-top:9px}.region-option .number{position:absolute;font:80px Georgia;right:5px;top:0;opacity:.08}.battle-ui{position:absolute;inset:0}.combat-card{position:absolute;padding:14px 18px;background:#faf6e9e8;border:1px solid #fff4d6;border-radius:15px;min-width:220px}.combat-card.enemy{top:100px;right:8%}.combat-card.player{top:51%;left:7%}.combat-card h3{font:18px Georgia,"Songti SC",serif}.combat-card .hp{margin-top:9px}.combat-card small{font-size:10px;color:#718069}.combat-card .conditions{font-size:10px;color:#976b55;margin-top:7px;min-height:12px}.energy{display:flex;gap:4px}.energy i{width:9px;height:5px;border-radius:4px;background:#d1c6a1}.energy i.on{background:#b8995b}.battle-meta{position:absolute;left:24px;top:95px;font-size:10px;line-height:1.8;color:#e9efdb;background:#35554b77;border-radius:10px;padding:10px 13px}.battle-controls{pointer-events:auto;position:absolute;bottom:25px;width:min(650px,65%);right:5%;padding:16px 18px;border-radius:18px;background:#f9f5e8f2;border:1px solid #fff7de;box-shadow:0 14px 50px #294a3a22}.battle-tabs{display:flex;gap:6px;margin-bottom:11px;flex-wrap:wrap}.battle-tabs button{min-height:32px;font-size:11px;padding:5px 10px;border-radius:8px}.battle-skills{display:grid;grid-template-columns:repeat(2,1fr);gap:8px}.skill{min-height:73px;text-align:left;padding:10px 12px;border-radius:11px;background:#fdf9ed;border-left:3px solid var(--color,#8aa381)}.skill strong{font-size:12px}.skill small{font-size:10px;color:#7e896f}.skill p{font-size:10px;color:#829075;line-height:1.4;margin-top:5px}.turn-line{font:17px Georgia,"Songti SC",serif;min-height:25px;line-height:1.4}.battle-controls .result-list{font-size:12px;max-height:150px;overflow:auto;margin-bottom:14px;display:grid;gap:6px}.battle-controls .result-list p{padding-bottom:5px;border-bottom:1px solid #7b93642a}.toolbar{display:flex;gap:8px;flex-wrap:wrap;margin:12px 0}.inline-notice{background:#e8e9d6;padding:12px 15px;border-radius:11px;font-size:12px;line-height:1.7}.quest{padding:13px 15px;background:#eae9d480;border-radius:12px;margin-bottom:9px}.quest p{font-size:12px}.quest b{font-size:13px}.settings-row{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:14px;font-size:13px}.settings-row select{max-width:55%;padding:8px;border:1px solid #b9c1aa;border-radius:8px;background:#faf6e9}.field-portrait{position:absolute;right:6%;bottom:18%;font:italic 40px Georgia;color:#eff1d766;letter-spacing:-.04em;pointer-events:none}.fatal{pointer-events:auto;position:absolute;inset:20% 5% auto;padding:30px;background:#faf5e6;border-radius:20px}button,.starter,#interact{touch-action:manipulation;-webkit-user-select:none;user-select:none}a{color:#456e58}
@media(pointer:coarse){#touch{display:block}.hud-bottom{display:none}.party-strip{bottom:25px;left:50%}.party-token{width:43px;height:51px}.party-token img{width:40px;height:40px}}
@media(max-width:700px){#header{padding:12px 14px;gap:8px}.brand{gap:7px}.brand img{width:29px;height:29px}.brand strong{font-size:9px;letter-spacing:.1em}.brand small{font-size:7px;letter-spacing:.08em}.header-location{display:none}.header-actions{gap:4px}.icon-button{width:36px;min-height:36px;padding:8px;border-radius:10px}.icon-button svg{width:18px;height:18px}.intro{top:11%;left:5%;max-height:82%;overflow:auto;padding:23px 20px;border-radius:20px}.intro h1{font-size:39px;margin:12px 0}.intro>p{font-size:12px}.starter-list{gap:6px;margin:20px 0 15px}.starter{padding:0 1px 12px;border-radius:12px}.starter img{height:auto;max-height:115px}.starter b{font-size:10px}.starter small{font-size:9px}.intro-footer{font-size:9px}.map-note{top:78px;left:14px;padding:10px 13px;max-width:250px}.map-note h2{font-size:20px}.map-note p{font-size:10px}.journal-count{gap:10px;font-size:9px}.map-hint{bottom:158px;max-width:80%;font-size:11px}.party-strip{top:185px;left:14px;bottom:auto;transform:none;gap:4px}.party-token{width:39px;height:44px;border-radius:10px}.party-token img{width:34px;height:34px}.party-token .hp{bottom:4px;left:6px;right:6px}.hud-bottom{display:none}.field-portrait{display:none}.sheet-shade{padding:10px}.sheet{border-radius:19px;max-height:calc(100dvh - 20px)}.sheet-head{padding:17px 17px 13px}.sheet-head h2{font-size:25px}.sheet-body{padding:15px 17px 23px}.species-grid{grid-template-columns:repeat(3,1fr);gap:7px}.species-card b{font-size:10px}.menu-grid{grid-template-columns:repeat(2,1fr)}.detail-hero{gap:14px}.detail-hero h3{font-size:24px}.detail-hero p{font-size:11px}.member{grid-template-columns:55px 1fr auto;gap:9px;padding:8px}.member img{width:55px;height:55px}.member h3{font-size:12px}.member-actions .small{font-size:10px;padding:5px 7px}.stat-grid{gap:4px}.stat-grid div{padding:8px;font-size:10px}.move-grid{gap:6px}.move-option{padding:9px}.region-grid{gap:8px}.region-option{padding:14px}.region-option b{font-size:18px}.battle-meta{left:14px;top:78px;padding:7px 10px;font-size:9px}.combat-card{min-width:0;width:175px;padding:10px 12px;border-radius:12px}.combat-card.enemy{right:14px;top:132px}.combat-card.player{left:14px;top:43%}.combat-card h3{font-size:15px}.combat-card .hp{margin-top:7px;height:5px}.combat-card .conditions{font-size:9px;margin-top:5px}.battle-controls{bottom:max(12px,env(safe-area-inset-bottom));left:12px;right:12px;width:auto;padding:12px;border-radius:15px}.battle-tabs{gap:4px;margin-bottom:8px}.battle-tabs button{font-size:10px;padding:5px 8px;min-height:30px}.skill{min-height:67px;padding:9px}.skill strong{font-size:11px}.skill small{font-size:9px}.skill p{font-size:9px}.battle-skills{gap:6px}.turn-line{font-size:16px}.battle-controls .result-list{max-height:120px}.battle-controls .result-list p{font-size:11px}.battle-controls .member{grid-template-columns:35px 1fr auto;margin:0}.battle-controls .member img{width:35px;height:35px}.battle-controls .member p{display:none}.battle-controls .member h3{font-size:10px;margin-bottom:3px}}
@media(max-height:600px) and (orientation:landscape){#header{padding:8px 14px}.intro{top:64px;max-height:calc(100% - 80px);width:600px;left:4%;padding:18px 24px}.intro h1{font-size:30px;margin:6px 0}.intro>p{font-size:11px}.starter-list{margin:10px 0;gap:12px}.starter img{height:82px}.starter{padding-bottom:8px}.map-note{top:66px;padding:8px 12px}.map-note h2{font-size:17px}.map-note>p{display:none}.party-strip{top:auto;bottom:12px;left:50%;transform:translateX(-50%)}.map-hint{bottom:115px}.combat-card.enemy{top:75px;right:12%;width:170px;padding:9px 12px}.combat-card.player{top:48%;left:6%;width:170px;padding:9px 12px}.battle-meta{top:70px;font-size:9px}.battle-controls{bottom:12px;right:3%;left:auto;width:48%;padding:10px}.skill{min-height:55px;padding:8px}.skill p{display:none}.battle-tabs{margin-bottom:7px;gap:3px}.battle-tabs button{padding:5px 7px;font-size:9px}.battle-controls .result-list{max-height:80px}.combat-card h3{font-size:14px}#joystick{width:96px;height:96px;bottom:13px}#interact{bottom:22px;width:64px;height:64px;min-height:64px}.field-portrait{display:none}}

@media(min-width:701px){.combat-card.player{top:62%}}
@media(max-width:700px) and (min-height:601px){.combat-card.enemy{left:14px;right:auto;top:92px}.combat-card.player{left:auto;right:14px;top:51%}}

@media(max-width:700px) and (min-height:601px){.battle-meta{top:68px;left:14px;padding:0;background:none;color:#47644f;line-height:10px;font-size:8px}.combat-card{width:min(175px,45vw)}.combat-card.enemy{top:98px}}

#seo-host{position:absolute;z-index:5;right:124px;top:12px}.native-info-slot{display:block;width:42px}.native-info-slot .game-seo-info{position:static!important;width:42px;z-index:7}.native-info-slot .game-seo-info summary{width:42px;min-width:42px;height:42px;padding:9px;background:#f7f3e5db;color:#334d48;border:1px solid #61746538;border-radius:12px}.native-info-slot summary svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round}.native-info-slot .game-info-content{top:70px;max-height:calc(100dvh - 84px);background:#f8f4e9;color:#334d48;border-color:#a6b696;box-shadow:0 15px 60px #203e3b44}.native-info-slot .game-info-content h2,.native-info-slot .game-info-content h3,.native-info-slot .game-info-content p,.native-info-slot .game-info-content a{color:#405d4f}body:has(#game-seo-info[open]) #touch{display:none!important}@media(max-width:700px){.native-info-slot,.native-info-slot .game-seo-info{width:36px}.native-info-slot .game-seo-info summary{min-width:36px;width:36px;height:36px;border-radius:10px;padding:8px}.native-info-slot summary svg{width:18px;height:18px}}
/* Bright adventure direction: crisp colour, clear silhouettes and game-like panels. */
:root{--ink:#203454;--navy:#172e53;--blue:#3477e5;--teal:#20d6b0;--gold:#ffd36b;--line:#b7cde3}html,body{background:#244b79;color:var(--ink);font-family:system-ui,-apple-system,"PingFang SC","Segoe UI",sans-serif}h1,h2,.serif,.combat-card h3,.header-location strong,.region-option b,.detail-hero h3,.turn-line{font-family:inherit;font-weight:800;letter-spacing:-.025em}button{border-color:#afc8e1;background:#f8fcff;box-shadow:0 2px 0 #92afca33;font-weight:650}button:hover{background:#e4f2ff}button.primary{background:linear-gradient(#378ef2,#2868d5);border-color:#1d5db5;color:#fff;box-shadow:0 3px 0 #164796}button.primary:hover{background:#347fee}button.selected{background:#d5efff;border-color:#3188de;color:#154d86}button.ghost{box-shadow:none}.muted{color:#657a94}.eyebrow{color:#247f9c}.paper{background:#f5fbfff0;border:2px solid #fff;border-radius:16px;box-shadow:0 5px 0 #19375223,0 10px 35px #17385524}#header{padding:13px 24px 23px;background:linear-gradient(#142b50f5 0%,#142b50ed 78%,#142b5000);color:#eefaff}.brand{color:#fff}.brand strong{letter-spacing:.09em}.brand small{color:#b4d5ed;opacity:1}.header-location small{color:#91c9e7}.header-location strong{font-size:17px}.icon-button{background:#284a70;color:#eefaff;border:1px solid #6891b866;box-shadow:0 2px 0 #091c35}.icon-button:hover{background:#376187}.icon-button[aria-pressed=true]{background:#16896f;border-color:#69efd0}.native-info-slot .game-seo-info summary{background:#284a70;color:#eefaff;border-color:#6891b866;box-shadow:0 2px 0 #091c35}.native-info-slot .game-info-content{background:#f5fbff;color:#203454;border:2px solid #92c5ef;box-shadow:0 15px 60px #14365c55;border-radius:15px}.native-info-slot .game-info-content h2,.native-info-slot .game-info-content h3,.native-info-slot .game-info-content p,.native-info-slot .game-info-content a{color:#203454}.intro{top:13%;padding:32px 34px 25px;background:linear-gradient(145deg,#163862f5,#24558df5);border:2px solid #91d8f6;border-radius:25px;box-shadow:0 7px 0 #0c2948,0 25px 70px #062d6b66}.intro:before{content:'✦';position:absolute;right:26px;top:12px;font-size:43px;color:#ffd970}.intro .eyebrow{color:#70edce;font-size:10px}.intro h1{color:#fff;line-height:1.13;font-size:clamp(34px,4vw,58px);font-weight:850;letter-spacing:-.04em;text-shadow:0 4px 0 #0e2a4c}.intro>p{color:#d4eaff;font-size:14px}.starter-list{gap:12px;margin:24px 0 20px}.starter{border:2px solid #d6ffd4;background:linear-gradient(#c9f4b9,#f2ffef);color:#1f4c41;box-shadow:0 4px 0 #143653}.starter:nth-child(2){background:linear-gradient(#ffd298,#fff6e4);border-color:#ffeabf;color:#803c35}.starter:nth-child(3){background:linear-gradient(#a1eafe,#effeff);border-color:#b5f3ff;color:#1b5378}.starter:hover{background:#fff;transform:translateY(-3px)}.starter:before{background:#ffffff57;border:2px dashed #ffffffa3}.starter img{max-height:160px;filter:drop-shadow(0 6px 0 #163f5c15)}.starter b{font-size:13px;font-weight:800}.starter small{color:inherit;opacity:.75;font-weight:600}.intro-footer{color:#a9d5eb}.intro-footer .ghost{color:#e6f7ff;border-color:#8cbed0}.field-portrait{font-family:inherit;font-weight:850;color:#fff8;letter-spacing:-.04em;font-style:normal}.map-note{padding:12px 16px;max-width:320px}.map-note h2{font-size:23px;color:#23466c}.map-note p{color:#62809c}.journal-count{color:#306382;font-weight:650}.party-token{background:#ecf8fff0;border:2px solid #fff;box-shadow:0 4px 0 #183c5c45}.party-token.selected{border:2px solid #ffd05e;box-shadow:0 0 0 2px #bb8546,0 4px 0 #183c5c45}.party-token .hp{background:#b5cfe4}.hp{background:#18385922}.hp i{background:linear-gradient(90deg,#20b68f,#7adf6d)}.map-hint{border:2px solid #fff;background:#183e69ed;color:#fff;box-shadow:0 3px 0 #12345c55;font-weight:700}.hud-bottom{background:#143359d9;color:#eefaff}.hud-bottom kbd{border-color:#79a4c6}.sheet-shade{background:#102c539c;backdrop-filter:blur(4px)}.sheet{background:#eef6ff;border:2px solid #c5eaff;box-shadow:0 8px 0 #0f2b4d66,0 30px 90px #082b5280}.sheet-head{background:#1d416e;color:#fff;border-bottom:2px solid #3876aa}.sheet-head h2{font-size:25px}.sheet-body p{color:#60768f}.sheet-body .large{color:#23517f}.rule{background:#a4c7e04d}.member{border:1px solid #c0d7eb;background:#fff;box-shadow:0 3px 0 #afcce02b}.member h3{color:#284c72}.species-card{background:linear-gradient(#fff,#eaf5ff);border:1px solid #b5d0e9;box-shadow:0 3px 0 #a0bfd844}.species-card .caught{color:#1aa085}.species-card.unknown img{filter:brightness(.35) saturate(.3);opacity:.65}.species-card.unseen img{filter:brightness(0) opacity(.12)}.species-card b{font-weight:750}.species-card small{color:#66829e}.type-tag{background:#ddecfc;color:#2a618c;border-color:#bed9ee;font-weight:750}.stat-grid div{background:#dcecfb;border:1px solid #bfd8ed;color:#446787}.stat-grid b{color:#174c7b}.move-option{background:#fff}.move-option p{color:#687f97}.region-option{background:linear-gradient(135deg,#fff,#e2f1ff);border:1px solid #adcde5}.region-option.selected{background:linear-gradient(135deg,#cdf6e3,#ddf2ff);border-color:#33b3a2}.region-option .number{color:#1e89c6;opacity:.15}.quest,.inline-notice{background:#dfedfc;border:1px solid #bdd9ee}.quest b{color:#285d8d}.settings-row select{background:#fff;border-color:#abcce7;color:#234d76}#joystick{background:#153b6d66;border:2px solid #b0e4ffb3;box-shadow:0 4px 22px #0a2b4c4d,inset 0 0 22px #67c9ff30}#joystick i{background:radial-gradient(circle at 35% 25%,#e7fbff,#70c8f2);border:2px solid #f0fcff;box-shadow:0 4px 0 #1f6c9c77,0 4px 18px #0d345c66}#joystick span{color:#1a668c}#interact{background:linear-gradient(#ffe7a0,#ffba55);color:#49362c;border:3px solid #fff2bb;box-shadow:0 5px 0 #a26e35,0 8px 28px #0a2b4c44;font-weight:850}#toast{background:#163a65f5;color:#fff;border:1px solid #7ec9eb;box-shadow:0 5px 20px #09254144}#loading{background:radial-gradient(circle at 50% 35%,#285b93,#142b50);color:#eefaff}#loading p{color:#9bd4ed}#loading progress{accent-color:#3fe2b8}.combat-card{background:linear-gradient(135deg,#fff,#eef7ff);border:2px solid #b8e5ff;box-shadow:0 4px 0 #17335d55;min-width:230px}.combat-card.enemy{border-color:#ffc18d}.combat-card h3{font-size:17px;color:#203e66}.combat-card small{color:#567497}.combat-card .conditions{color:#ab5a41;font-weight:650}.energy i{height:7px;background:#c9d9eb;transform:skew(-16deg);border-radius:2px}.energy i.on{background:linear-gradient(#ffdc75,#f3ac3e)}.battle-meta{background:#173a6bdc;border:1px solid #71bdf3;color:#e8f7ff;font-weight:700}.battle-controls{width:min(740px,66%);right:4%;background:linear-gradient(140deg,#193b6cf5,#122c53f5);border:2px solid #7bbbe9;box-shadow:0 5px 0 #0a2040,0 15px 45px #0b2c4f40;padding:15px;border-radius:20px;color:#eefaff}.battle-tabs button{background:#2d5180;color:#d5eaff;border-color:#6c91bc80;box-shadow:0 2px 0 #0c2445}.battle-tabs button.selected{background:#ffcf62;color:#493b26;border-color:#fff0b3}.battle-tabs button:hover{background:#3f699e}.battle-tabs button.selected:hover{background:#ffe39a}.battle-skills{gap:9px}.skill{background:linear-gradient(130deg,#fff,#eef5ff);color:#203e66;border:1px solid #c2d9f0;border-left:5px solid var(--color,#4fc2d9);box-shadow:0 3px 0 #0c2445;min-height:79px}.skill:hover{background:#dff4ff}.skill strong{font-size:13px;font-weight:800}.skill small{font-size:11px;color:#6685a2;font-weight:750}.skill p{color:#647e98;font-size:11px;line-height:1.45}.skill.locked{background:#234672;border-color:#345b86;color:#c0d9f0;box-shadow:none;opacity:.65;display:flex;flex-direction:column;justify-content:center}.skill.locked small{color:#9abddd}.turn-line{color:#fff;font-size:19px}.battle-controls>.muted{color:#b4d2eb}.battle-controls .ghost{color:#c6ebff;border-color:#689dc0}.result-list p{border-color:#6e9dc24d;color:#e0f2ff}.battle-controls .result-list{max-height:160px}.battle-controls .primary{background:linear-gradient(#ffd77e,#ffb75a);color:#3e362a;border-color:#ffeaba;box-shadow:0 3px 0 #a96d2d}.battle-controls .small{color:#dcefff;background:#2c527e;border-color:#668ab5}.fatal{background:#f3faff;color:#204b77;border:2px solid #88c9ef}
@media(max-width:700px){#header{padding:11px 14px 20px}.intro{top:11%;padding:22px 20px;max-height:83%}.intro:before{font-size:29px;right:15px;top:10px}.intro h1{font-size:38px;line-height:1.17;margin-top:15px}.intro>p{font-size:12px}.intro .eyebrow{font-size:8px;letter-spacing:.1em}.starter-list{gap:7px}.starter img{max-height:120px}.starter b{font-size:10px}.starter small{font-size:9px}.map-note{max-width:265px;padding:10px 13px}.map-note h2{font-size:21px}.combat-card{width:min(175px,45vw);min-width:0;padding:10px 12px}.combat-card h3{font-size:14px}.combat-card small{font-size:9px}.battle-controls{width:auto;left:11px;right:11px;padding:11px;bottom:max(12px,env(safe-area-inset-bottom));border-radius:17px}.battle-tabs{gap:5px;margin-bottom:9px}.battle-tabs button{min-height:31px;font-size:10px;padding:5px 8px}.skill{min-height:76px;padding:9px 10px;border-left-width:4px}.skill strong{font-size:12px}.skill p{font-size:10px}.skill small{font-size:10px}.battle-skills{gap:7px}.combat-card.player{top:47%}.battle-meta{top:68px;left:14px;background:#1a416bba;padding:3px 7px;color:#f2fbff;line-height:11px;font-size:8px}.combat-card.enemy{top:105px}.native-info-slot .game-seo-info summary{background:#284a70;border-color:#6891b866}.sheet-head h2{font-size:23px}}
@media(max-height:600px) and (orientation:landscape){.intro{top:65px;padding:16px 24px}.intro h1{font-size:28px;margin:6px 0}.intro>p{font-size:10px}.starter-list{margin:10px 0}.starter img{max-height:84px}.intro-footer{font-size:8px}.battle-controls{left:auto;right:2%;width:48%;padding:9px;bottom:12px}.battle-tabs{gap:3px}.battle-tabs button{font-size:9px;padding:4px 6px;min-height:28px}.skill{min-height:53px;padding:7px 9px}.skill strong{font-size:11px}.skill p{display:none}.combat-card.player{top:60%}.combat-card.enemy{top:74px}.battle-meta{top:69px;font-size:9px;padding:6px}.turn-line{font-size:16px}.starter:before{top:9px;width:60px;height:60px}}
/* Compact, opt-in field status; the centre of the map remains interactive. */
.field-hud{position:absolute;top:88px;left:20px;display:flex;align-items:center;gap:7px;pointer-events:none;max-width:calc(100% - 40px)}.field-hud>button{pointer-events:auto}.field-status-toggle{display:flex;align-items:center;gap:14px;min-height:37px;padding:7px 11px;border:1px solid #9edbff70;border-radius:11px;background:#153b64bc;color:#f0faff;box-shadow:0 2px 8px #0c315c22;backdrop-filter:blur(5px);font-size:12px}.field-status-toggle:hover{background:#234e78d9}.field-status-toggle>span{max-width:180px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.field-status-toggle>small{color:#afd9ed;font-size:10px;white-space:nowrap}.field-lead{display:flex;align-items:center;gap:6px;min-height:37px;min-width:108px;padding:2px 8px 2px 4px;border-radius:11px;border:1px solid #a4d9ff70;background:#173d65b8;color:#fff;box-shadow:0 2px 8px #0c315c22}.field-lead:hover{background:#244f77df}.field-lead>img{width:31px;height:31px;object-fit:contain}.field-lead>span{width:38px}.field-lead b{font-size:9px;line-height:1}.field-lead .hp{height:3px;margin:4px 0 0;background:#a1c9e066}.field-lead>small{font-size:9px;color:#b5d7eb}.field-status-panel{position:absolute;top:134px;left:20px;width:min(300px,calc(100% - 40px));max-height:min(350px,calc(100dvh - 230px));padding:12px 14px;overflow:auto;overscroll-behavior:contain;touch-action:pan-y;pointer-events:auto}.field-status-panel[hidden]{display:none!important}.field-status-panel .field-status-close{width:30px;min-height:30px;height:30px;padding:6px;display:grid;place-items:center;border-radius:8px;box-shadow:none}.field-status-close svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.7}.field-status-panel>p{font-size:11px;margin:8px 0;color:#5a7996}.field-status-panel .journal-count{display:flex;gap:7px;flex-wrap:wrap;font-size:10px}.field-status-panel .party-strip{position:static;transform:none;margin:12px 0 0;gap:5px;max-width:100%;overflow-x:auto;padding-bottom:5px}.field-status-panel .party-token{flex:0 0 37px;width:37px;height:42px;border-radius:9px}.field-status-panel .party-token img{width:32px;height:32px}.field-status-panel .party-token .hp{bottom:4px;left:5px;right:5px;height:3px}.field-status-panel .toolbar{margin-top:9px;gap:6px}.field-status-panel .toolbar button{font-size:10px;min-height:33px;padding:6px 10px}.hud-bottom{display:none}.combat-card .conditions:empty{display:none}.battle-meta{font-size:10px;max-width:calc(100% - 28px);white-space:normal}.combat-card{min-width:0;width:205px;padding:9px 11px;box-shadow:0 3px 0 #17335d30}.combat-card h3{font-size:14px}.combat-card .hp{height:4px;margin-top:5px}.combat-card .conditions{font-size:9px;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
@media(max-width:700px){.field-hud{top:77px;left:12px;gap:6px;max-width:calc(100% - 24px)}.field-status-toggle{min-height:35px;font-size:11px;gap:10px;padding:6px 9px}.field-status-toggle>span{max-width:130px}.field-status-toggle>small{font-size:9px}.field-lead{min-height:35px;min-width:98px}.field-status-panel{top:119px;left:12px;width:min(278px,calc(100% - 24px));max-height:min(280px,calc(100dvh - 290px));padding:10px 12px}.combat-card.player,.combat-card.enemy{top:96px;min-width:0;width:calc(50% - 18px);max-width:195px;padding:7px 9px;min-height:0}.combat-card.player{left:12px;right:auto}.combat-card.enemy{right:12px;left:auto}.combat-card h3{font-size:12px}.combat-card .row{gap:3px}.combat-card .row[style]{margin-top:3px!important}.combat-card small{font-size:9px}.combat-card .energy i{width:6px;height:4px}.combat-card .conditions{font-size:8px;margin-top:3px}.battle-meta{top:73px;left:12px;padding:3px 8px;font-size:9px;border-radius:8px}.map-hint{font-size:10px;padding:5px 10px;background:#173e67b8;max-width:70%;overflow:hidden;text-overflow:ellipsis}}
@media(max-height:520px) and (min-width:600px){.field-hud{top:65px;left:12px}.field-status-panel{top:105px;left:12px;max-height:calc(100dvh - 165px);width:260px}.combat-card.player,.combat-card.enemy{top:75px;min-width:0;width:170px;padding:6px 9px}.combat-card.player{left:14px}.combat-card.enemy{right:14px}.combat-card h3{font-size:12px}.combat-card .row[style]{margin-top:3px!important}.combat-card small{font-size:9px}.combat-card .conditions{font-size:8px}.battle-meta{top:54px;left:14px;padding:2px 6px;font-size:9px}.field-status-toggle,.field-lead{min-height:32px}}
@media(hover:none) and (pointer:coarse){.map-hint{display:none}}
@media(max-width:360px){.field-status-toggle>span{max-width:112px}.field-status-toggle{gap:7px}.field-lead{min-width:89px;padding-right:5px}.field-lead>span{width:32px}}
#toast{top:127px;bottom:auto;max-width:min(350px,calc(100% - 28px));padding:8px 12px;border-radius:10px;font-size:11px;line-height:1.45;pointer-events:none}body:has(.battle-ui) #toast{top:174px}
@media(max-width:400px){.brand{min-width:0;flex:1}.brand>span{min-width:0}.brand strong{display:block;max-width:100%;font-size:10px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.brand small{max-width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:6px}.header-actions{flex-shrink:0}}
@media(max-height:520px) and (min-width:600px){#toast,body:has(.battle-ui) #toast{top:141px;font-size:10px;padding:6px 10px}}

/* Clear replacement choices and direct, touch-safe party organisation. */
.switch-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;margin-top:8px;max-height:min(270px,35svh);overflow-y:auto;overscroll-behavior:contain;touch-action:pan-y}
.switch-card{display:flex;align-items:center;gap:8px;min-width:0;min-height:65px;padding:8px;text-align:left;background:#f1fbff;color:#153655;border:1px solid #78b3cf;border-radius:10px;box-shadow:0 2px 0 #0a31521c}
.switch-card:hover{background:#d7f4ff}.switch-card>img{width:43px;height:43px;object-fit:contain;flex:none}.switch-card>span{min-width:0;flex:1}.switch-card b{display:block;font-size:12px;line-height:1.25}.switch-card small{display:block;color:#365d76;font-size:10px;margin:3px 0}.switch-card em{font-style:normal;font-size:10px;color:#125a7d;white-space:nowrap}.switch-card:disabled{opacity:1;background:#d9e2e8;border-color:#aab8c3;color:#4e6071;box-shadow:none}.switch-card:disabled img{filter:grayscale(1);opacity:.55}.switch-card:disabled small,.switch-card:disabled em{color:#566879}.switch-card .hp{height:4px;background:#bfd2dc}.switch-card .hp i{background:#218d68}.replacement .turn-line{font-family:inherit;font-weight:700;font-size:14px;color:#f0faff}
.party-roster .party-member{display:grid;grid-template-columns:34px 55px minmax(0,1fr) auto;gap:9px;align-items:center;margin:8px 0;padding:9px;border:1px solid #91bed5;background:#edf8ff;border-radius:12px}.party-member>img{width:55px;height:55px;object-fit:contain}.party-member .member-info{min-width:0}.party-member h3{margin:0 0 5px;font-size:13px;color:#173e60}.party-member p{font-size:11px;color:#496a81}.party-member .member-actions{display:flex;gap:5px;flex-direction:column}.sort-handle{display:flex;align-items:center;justify-content:center;flex-direction:column;padding:0;width:32px;min-height:57px;background:#d4ebf7;border-color:#aacfe2;color:#275f80;touch-action:none;cursor:grab;-webkit-user-select:none;user-select:none}.sort-handle span{font-size:25px;line-height:25px}.sort-handle small{font-size:9px}.sort-handle:active{cursor:grabbing}.sort-ghost{position:fixed!important;z-index:40!important;pointer-events:none!important;margin:0!important;display:grid!important;grid-template-columns:34px 55px minmax(0,1fr) auto!important;gap:9px!important;align-items:center!important;padding:9px!important;background:#edf8fff5!important;border:2px solid #2796c7!important;border-radius:12px!important;box-shadow:0 10px 30px #13395766!important;transform:rotate(-1deg)}.sort-ghost>img{width:55px;height:55px;object-fit:contain}.sort-ghost .member-actions{display:flex;flex-direction:column;gap:5px}.party-member.sorting{opacity:.2;border:2px dashed #246b99}.is-sorting{user-select:none;-webkit-user-select:none}.sort-live:empty{display:none}
@media(max-width:500px){.party-roster .party-member,.sort-ghost{grid-template-columns:28px 40px minmax(0,1fr) auto!important;gap:6px!important;padding:7px!important}.party-member>img,.sort-ghost>img{width:40px;height:45px}.sort-handle{width:27px}.party-member h3{font-size:11px}.party-member p{font-size:10px}.party-member .member-actions .small{min-height:30px;font-size:10px;padding:5px 7px}.switch-card{gap:5px;min-height:60px;padding:6px}.switch-card>img{width:30px;height:34px}.switch-card em{display:none}.switch-card b{font-size:11px}.switch-card small{font-size:9px}.switch-card:disabled b:after{content:' · —'}.switch-list{gap:5px}}
@media(max-height:600px) and (orientation:landscape){.switch-list{max-height:calc(100svh - 195px)}.switch-card{min-height:56px}.switch-card>img{width:30px;height:32px}.switch-card em{display:none}.switch-card small{font-size:9px}.replacement .turn-line{font-size:12px}}

.sort-ghost *{pointer-events:none!important}

/* The travel interface uses cool glass in the field and light, opaque reading surfaces in sheets. */
:root{
  --ink:#142f4c;
  --muted-ink:#496881;
  --glass:#10243de8;
  --glass-edge:#b7e5ff47;
  --ice:#edfaff;
  --mint:#baf5ba;
}
html,body{background:#142f4c;color:var(--ink)}
button:focus-visible,a:focus-visible{outline:3px solid #4a8ce0;outline-offset:2px}
#app{height:100svh;height:100dvh}
#header{background:linear-gradient(180deg,#0b1c35f0,#0e2447b8 65%,#142f4c00);color:var(--ice)}
.brand{color:#f8fcff}
.brand strong{font-weight:800}
.brand small,.header-location small{color:#ccf1ff;opacity:1}
.header-actions .icon-button,.header-actions summary{
  background:#172d49e8;color:#f0faff;border-color:#cee8ff4a;box-shadow:0 3px 12px #09172d3b;
}
.header-actions .icon-button:hover,.header-actions summary:hover{background:#275479}
#loading{background:radial-gradient(ellipse at 50% 25%,#2d638a,#132b48 74%);color:var(--ice)}
#loading p{color:#b9ddf3}
#loading progress{accent-color:#afe793}

#ui:has(.intro){
  background:linear-gradient(90deg,#0c244395 0%,#19355724 68%),url('/games/wildbond-trails/runtime/assets/arena-0.webp') center 47%/cover;
}
.intro{
  color:#edfaff;background:linear-gradient(140deg,#132b4af7,#193a56f5 63%,#1c4c59ee);
  border-color:#c7f4ff65;box-shadow:0 20px 58px #10223564,inset 0 1px #edfaff30;
}
.intro h1{color:#faf7dd;text-wrap:balance}
.intro>.eyebrow{color:#a6e7b7}
.intro>p{color:#d3e7ed}
.starter-list{gap:10px}
.starter{
  --card-light:#e7f4b5;
  --card-color:#8bd99a;
  color:#143650;
  background:radial-gradient(ellipse at 50% 28%,var(--card-light),var(--card-color) 100%);
  border:1px solid #f5fff59e;
  box-shadow:0 4px 0 #0a213be0;
}
.starter:nth-child(2){--card-light:#fff1b7;--card-color:#f6b481}
.starter:nth-child(3){--card-light:#e4fdff;--card-color:#91cbe8}
.starter:hover{background:var(--card-light);transform:translateY(-2px)}
.starter:before{inset:auto 16% 34%;width:auto;height:13%;transform:none;background:#23374a23;filter:blur(8px)}
.starter img{filter:drop-shadow(0 4px 3px #152b4740)}
.starter small,.intro-footer{color:#375370}
.intro-footer{color:#c4dfed}
.intro-footer button{background:#193850;color:#f5fcff;border-color:#b9e3ff55}
.intro-footer button:hover{background:#2a5476}

.field-status-toggle,.field-lead,.hud-bottom,.map-hint{
  background:#142b46e8;color:#f0f8ff;border:1px solid var(--glass-edge);box-shadow:0 3px 10px #0c244949;
}
.field-status-toggle:hover,.field-lead:hover{background:#285777}
.hud-bottom kbd{border-color:#b9d9ef65}
.paper,.field-status-panel{background:#f1faff;color:var(--ink);border-color:#ffffffb5}
#joystick,#interact{border-color:#dcf8ff8c;background:#133a56a8;color:var(--ice);box-shadow:0 5px 20px #0b36533b}
#joystick i{background:radial-gradient(circle at 35% 30%,#f7ffffdb,#b0e4ffb0);border:1px solid #fff8}
#joystick span{color:#214765}
#toast{background:#152f4bef;color:#fcfbdf;border:1px solid var(--glass-edge)}

.battle-ui .combat-card,.battle-controls,.battle-meta{
  color:var(--ice);background:var(--glass);border-color:var(--glass-edge);
  box-shadow:0 7px 18px #0b1f4159;
}
.combat-card{border-left:3px solid var(--affinity,#8dcef1)}
.combat-card small{color:#bbd5e6}
.combat-card .conditions{color:#ffd99d}
.hp{background:#4373916b}
.hp i{background:linear-gradient(90deg,#49ab8b,#a8f49f)}
.energy i{background:#42607c}
.energy i.on{background:#ffcf8a}
.battle-controls{
  right:auto;left:50%;transform:translateX(-50%);width:min(880px,94vw);
  bottom:max(15px,env(safe-area-inset-bottom));padding:12px 14px;
}
.battle-controls .muted{color:#b7cadc}
.battle-tabs button{
  color:#daefff;background:#233f5d;border:1px solid #95bfdd49;
}
.battle-tabs button:hover,.battle-tabs button.selected{
  background:#bde6f5;color:#183450;border-color:#bfedff;
}
.battle-skills{grid-template-columns:repeat(4,minmax(0,1fr))}
.battle-controls .skill{
  min-width:0;min-height:64px;color:#f3faff;background:linear-gradient(160deg,#294c68,#1c3655);
  border-color:#a8d9f15c;border-left-color:var(--color,#8bbad9);
}
.battle-controls button.skill:not(:disabled):hover{background:#376385}
.battle-controls .skill p,.battle-controls .skill small{color:#cde5f3}
.battle-controls .skill.locked{background:#102942;color:#a8c3d6}
.battle-controls .ghost{color:#e5f5ff;border-color:#a9d9ff5c}
.battle-controls .ghost:hover{background:#254767}
.battle-controls .primary,.sheet button.primary{background:#276585;color:#fff;border-color:#77bedb}
.battle-controls .primary:hover,.sheet button.primary:hover{background:#1b526e}
.battle-controls .switch-option{color:var(--ink)}
.battle-controls .result-list{max-height:min(150px,24dvh)}
body:has(.battle-ui) #toast{background:#193955ef}

.sheet-shade{background:#0d233e8a}
.sheet{
  background:#edf7fc;color:var(--ink);border:1px solid #edfaff;
  box-shadow:0 30px 90px #061b4563;
}
.sheet-head{background:linear-gradient(115deg,#d1eaf6,#eaf5f9);color:var(--ink);border-bottom-color:#8eb3ca56}
.sheet-head h2{font-weight:600}
.sheet-body p,.sheet-body .muted,.sheet-body .large{color:var(--muted-ink)}
.sheet .icon-button,.sheet .menu-grid button,.sheet .toolbar button,.sheet .move-option{
  background:#faffff;border-color:#91b6cf79;color:var(--ink);
}
.sheet .icon-button:hover,.sheet .menu-grid button:hover,.sheet .toolbar button:hover,.sheet .move-option:hover{
  background:#dceefa;
}
.sheet .menu-grid small,.species-card small{color:var(--muted-ink)}
.sheet .species-card,.sheet .member{
  background:linear-gradient(158deg,#fff,#deeff9);border-color:#aacadb;
}
.sheet .species-card:hover{background:#cfeaf8}
.sheet .member img,.detail-hero img,.species-card img{object-fit:contain}
.detail-hero img{
  border-radius:22px;background:radial-gradient(ellipse at 50% 70%,#fcfeff,#d5eaf6 69%,#c3deee);
}
.type-tag{color:#174967;background:#d9eff7;border-color:#7aa9c2}
.stat-grid div,.sheet .quest,.sheet .inline-notice{background:#d9edf7}
.region-option:is(button){background:linear-gradient(155deg,#effaff,#ceeafa);border-color:#9ebfd0}
.region-option:is(button):hover:not(:disabled){background:#d1f2f4}
.sheet .region-option b{font-weight:600}

@media(max-width:700px){
  .starter-list{gap:7px}
  .battle-controls{left:10px;right:10px;transform:none;width:auto;padding:10px;bottom:max(11px,env(safe-area-inset-bottom))}
  .battle-skills{grid-template-columns:repeat(2,minmax(0,1fr))}
  .battle-controls .skill{min-height:53px}
}
@media(max-height:540px) and (min-width:601px) and (orientation:landscape){
  .battle-controls{left:auto;right:2%;transform:none;width:49%;padding:8px;bottom:8px}
  .battle-skills{grid-template-columns:repeat(2,minmax(0,1fr))}
  .battle-controls .skill{min-height:41px;padding-block:4px}
  .battle-tabs{margin-bottom:5px}
}
.combat-card h3{color:#f1faff}
#ui:has(.intro)::after{content:none}


.region-grid{gap:12px}
.sheet .region-option{
  --region-wash:linear-gradient(0deg,#102843 1%,#122c4bdc 40%,#122e501a 100%);
  min-width:0;min-height:126px;padding:34px 13px 11px;color:#f8fcff;border-color:#345976;
  background:#18324b var(--region-wash) center/cover;
  background-image:var(--region-wash),var(--region-scene);
  background-position:center,center 46%;
  box-shadow:0 3px 7px #18334d20;
}
.sheet .region-option b{font-size:clamp(13px,2.5vw,20px);line-height:1.15}
.sheet .region-option small{display:block;color:#e7f4ff;font-size:10px;margin-top:4px}
.sheet .region-option p{color:#d3e9fa;margin-top:5px;line-height:1.35}
.sheet .region-option:disabled{
  --region-wash:linear-gradient(0deg,#102843 1%,#122c4bdc 40%,#192f515c 100%);
  opacity:1;box-shadow:none;border-color:#889dad;
}
.sheet .region-option.selected{outline:2px solid #35869e;outline-offset:1px}
.sheet .region-option:hover:not(:disabled){
  --region-wash:linear-gradient(0deg,#102843,#173a59c9 42%,#16324b10);
}
body:has(.region-grid) #toast{z-index:7}
@media(max-width:700px){
  .region-grid{gap:9px}
  .sheet .region-option{min-height:111px;padding:30px 9px 9px}
}
