/* In-world interface: compact parchment plates, never a website layout. */
#hud-root{position:absolute;inset:0;pointer-events:none;z-index:15;color:#f9efd5;font-family:ui-rounded,"Trebuchet MS",sans-serif;font-size:13px;--ink:#352718;--paper:#f4e5ba;--edge:#82633b;--gold:#e6bd69}#hud-root button,#panel-root button,#panel-root select{font:inherit;touch-action:manipulation;cursor:pointer}#hud-root button:focus-visible,#panel-root button:focus-visible,#panel-root select:focus-visible{outline:3px solid #fff4b1;outline-offset:3px}#hud-root button:disabled,#panel-root button:disabled{opacity:.45;cursor:default}#hud-root [hidden]{display:none!important}.rpg-hud-top{position:absolute;inset:12px 12px auto;display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.rpg-trainer-chip,.rpg-place-chip,.rpg-quest-chip,.rpg-hotbar,.rpg-battle-commands,.rpg-party-health,.rpg-enemy-targets button,.rpg-battle-finish{background:linear-gradient(#3f342bfa,#2b2622f5);border:2px solid #9b7b47;box-shadow:inset 0 0 0 1px #171513,0 3px 0 #19171280;border-radius:7px}.rpg-trainer-chip{display:flex;align-items:center;gap:9px;padding:7px 10px;min-width:235px}.rpg-avatar,.rpg-npc-avatar{display:grid;place-items:center;background:#be834b;border:2px solid #e9c280;border-radius:50%;width:35px;height:35px;font-weight:800;color:#fff0ce}.rpg-trainer-chip strong{font-size:13px;display:block}.rpg-trainer-chip small{font-size:10px;color:#eee1bb}.rpg-hp-track,.rpg-mini-hp{display:block;height:5px;background:#211a16;border:1px solid #0e1613;overflow:hidden;border-radius:3px;margin-top:4px}.rpg-hp-track{width:92px}.rpg-hp-track i,.rpg-mini-hp i{display:block;height:100%;background:#98ba68;transition:width .2s ease}#rpg-money{color:#f0cf85;font-size:12px;white-space:nowrap}.rpg-place-chip{padding:7px 9px;display:flex;align-items:center;gap:10px;pointer-events:auto}.rpg-place-chip strong{font-size:12px;text-shadow:0 1px #000}.rpg-place-chip>div{display:flex;gap:4px}.rpg-place-chip button{border:1px solid #826f50;background:#62503a;color:#ffebbd;border-radius:4px;width:34px;height:34px;font-size:20px}.rpg-quest-chip{position:absolute;top:86px;left:12px;max-width:320px;display:flex;align-items:center;gap:9px;color:#f7e7bd;text-align:left;padding:8px 10px;pointer-events:auto}.rpg-quest-chip strong{display:block;font-size:12px}.rpg-quest-chip small{display:block;font-size:10px;color:#cfc8a8;margin-top:3px}.rpg-quest-marker{font-size:24px;color:#fbd27c}.rpg-hotbar{position:absolute;bottom:max(10px,env(safe-area-inset-bottom));left:50%;transform:translateX(-50%);display:flex;padding:4px;gap:3px;pointer-events:auto}.rpg-hotbar button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:1px;width:54px;height:49px;background:#574934;border:1px solid #a18858;border-radius:3px;color:#f9e5ad}.rpg-hotbar button:hover,.rpg-place-chip button:hover{background:#776040}.rpg-hotbar button>span{font-size:22px;line-height:24px}.rpg-hotbar button>small{font-size:10px}#rpg-nearby{position:absolute;bottom:83px;left:50%;transform:translateX(-50%);max-width:min(400px,80vw);padding:5px 11px;background:#231e19df;border-radius:4px;text-align:center;font-size:12px;text-shadow:0 1px #000}#rpg-nearby:empty{display:none}
#panel-root{position:absolute;inset:0;z-index:40;pointer-events:none}.rpg-panel{pointer-events:auto;color:#352718;background:#f3e3b9;border:3px solid #8f6b3f;border-radius:10px;box-shadow:inset 0 0 0 2px #ffeecb,0 10px 50px #0009;padding:0;width:min(720px,calc(100vw - 24px));max-height:78dvh;font-family:ui-rounded,"Trebuchet MS",sans-serif;font-size:13px;overflow:hidden}.rpg-panel::backdrop{background:#1b231b80;backdrop-filter:blur(2px)}.rpg-panel[open]{display:flex;flex-direction:column}.rpg-panel-header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 15px;background:#5a4430;color:#ffe5a9;border-bottom:3px solid #b48a50;flex-shrink:0}.rpg-panel-header h2{font-size:19px;margin:0;font-weight:800}.rpg-panel-header button{width:34px;height:34px;background:#775b3c!important;color:#ffe8be!important;font-size:24px!important;min-height:34px!important;padding:0!important}.rpg-panel-body{overflow-y:auto;overscroll-behavior:contain;padding:16px;min-height:0;scrollbar-color:#9c8253 #e9d6a6}.rpg-panel button{background:#6c7040;color:#fff3c9;border:1px solid #3b4223;border-radius:4px;box-shadow:inset 0 1px #c5c78055,0 2px #2b352733;padding:8px 11px;min-height:38px;line-height:1.2}.rpg-panel button:hover:not(:disabled){background:#82874c}.rpg-panel h3{font-size:14px;margin:0 0 9px}.rpg-panel p{line-height:1.6}.rpg-panel small{font-size:11px;line-height:1.5}.rpg-subline{margin:0 0 15px;color:#6b5739;font-size:12px}.rpg-muted{display:block;color:#826d4a;font-size:11px;margin-top:8px}.rpg-actions{display:flex;flex-wrap:wrap;gap:7px;margin:8px 0}.rpg-equipment{display:flex;gap:12px;border-bottom:1px solid #b8a075;padding:0 0 12px;margin-bottom:14px}.rpg-equipment>span{font-size:11px;color:#776044;flex:1}.rpg-equipment strong{display:block;color:#443620;margin-top:4px;font-size:13px}.rpg-slot-row{display:flex;gap:8px;margin:0 0 17px}.rpg-slot{display:flex;flex-direction:column;align-items:center;justify-content:center;flex:1;min-height:93px;border:2px solid #b2945f;border-radius:5px;background:#d9cf9a}.rpg-slot.is-locked{background:#e1d5b0;color:#8c7955;border-style:dashed}.rpg-slot .rpg-pet-portrait{width:60px;height:60px}.rpg-slot>small{text-align:center;font-size:10px}.rpg-family-section{margin-top:20px}.rpg-family-section>h3{text-transform:uppercase;letter-spacing:.08em;color:#795c37;border-bottom:1px solid #b99b64;padding-bottom:7px;font-size:11px}.rpg-pet-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.rpg-pet-card{display:flex;align-items:center;flex-direction:column;text-align:center;padding:10px 7px;background:#ecdaad;border:1px solid #bea172;border-radius:5px;min-width:0}.rpg-pet-card strong{font-size:12px}.rpg-pet-card small{font-size:10px;margin-top:4px}.rpg-pet-card .rpg-actions{justify-content:center;margin-bottom:4px;gap:4px}.rpg-pet-card button{font-size:10px;padding:6px;min-height:33px}.rpg-equip-buttons{display:flex;gap:4px;margin-top:auto;padding-top:6px}.rpg-pet-card.is-undiscovered{background:#e8ddbd}.rpg-pet-card.is-undiscovered .rpg-pet-portrait{opacity:.38;filter:grayscale(1)}.rpg-pet-portrait{display:block;width:94px;height:94px;flex-shrink:0;background-repeat:no-repeat;background-size:400% 400%;background-position:0 0;image-rendering:pixelated}.family-horn{background-image:url('../assets/sprites/horn.webp')}.family-tiger{background-image:url('../assets/sprites/tiger.webp')}.family-wing{background-image:url('../assets/sprites/wing.webp')}.family-horn.variant-flame{filter:hue-rotate(-66deg)}.family-horn.variant-tide{filter:hue-rotate(72deg)}.family-tiger.variant-leaf{filter:hue-rotate(61deg)}.family-tiger.variant-tide{filter:hue-rotate(154deg)}.family-wing.variant-leaf{filter:hue-rotate(57deg)}.family-wing.variant-flame{filter:hue-rotate(-28deg)}.family-wing.variant-tide{filter:hue-rotate(149deg)}.rpg-rarity{text-transform:capitalize;font-size:11px}.rarity-common{color:#56663b}.rarity-rare{color:#376f8b}.rarity-epic{color:#88529a}.rpg-inventory-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:9px;margin:15px 0}.rpg-inventory-grid>div{padding:12px;background:#e4d09d;border:1px solid #bca473;display:flex;justify-content:space-between;gap:10px;border-radius:4px}.rpg-inventory-grid span{text-transform:capitalize}.rpg-quest-list{list-style:none;margin:0;padding:0}.rpg-quest-list li{display:flex;gap:12px;padding:13px 0;border-bottom:1px solid #c9b37f;opacity:.65}.rpg-quest-list li.quest-current{opacity:1}.rpg-quest-list li>span{display:grid;place-items:center;width:27px;height:27px;flex-shrink:0;background:#cbb984;border-radius:50%}.rpg-quest-list p{margin:4px 0;font-size:12px}.rpg-quest-list strong{font-size:13px}.rpg-quest-list small{display:block;color:#7c6744}.rpg-quest-list button{margin-top:9px}.quest-done>span{background:#a1ad73!important}.quest-current>span{background:#d7a94d!important}.rpg-map-list>div{display:flex;align-items:center;gap:12px;padding:12px;border-bottom:1px solid #c2ac7a}.rpg-map-list .is-current{background:#ded59f}.rpg-map-list>div>div{flex:1}.rpg-map-list small{display:block;color:#846b45}.rpg-map-marker{font-size:25px;color:#657047;width:30px;text-align:center}.rpg-camp-bank{display:flex;align-items:center;gap:20px;padding:13px;background:#e3cf9c;border:1px solid #bda06a;border-radius:5px}.rpg-camp-bank>span{font-size:12px}.rpg-camp-bank strong{display:block;font-size:19px}.rpg-camp-bank button{margin-left:auto}.rpg-gatherers{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:15px 0}.rpg-gatherers>div{display:flex;align-items:center;flex-direction:column;text-align:center;border:1px solid #bda271;border-radius:4px;padding:10px}.rpg-gatherers small{display:block;margin:5px 0 10px}.rpg-service-list article{display:flex;align-items:center;justify-content:space-between;gap:14px;border-bottom:1px solid #bba16e;padding:12px 0}.rpg-service-list article small{display:block;color:#7e6641;margin-top:3px}.rpg-nursery-section+.rpg-nursery-section{border-top:2px solid #c4ac78;margin-top:20px;padding-top:17px}.rpg-nursery-section p{font-size:12px;margin:7px 0}.rpg-odds{display:flex;gap:8px;margin:12px 0}.rpg-odds>span{flex:1;background:#e2cd98;padding:8px;font-size:11px;border:1px solid #bba170;border-radius:3px}.rpg-odds b{float:right}.rpg-breed-form{display:flex;flex-wrap:wrap;align-items:end;gap:9px;margin-top:12px}.rpg-breed-form label{flex:1;min-width:140px;font-size:11px}.rpg-breed-form select{display:block;width:100%;margin-top:5px;border:1px solid #987d4b;border-radius:3px;background:#fff2cd;color:#48361f;padding:9px;font-size:12px}.rpg-breeding-status{display:flex;align-items:center;flex-wrap:wrap;gap:12px}.rpg-dialogue{display:flex;align-items:flex-start;gap:14px;padding:6px 0}.rpg-dialogue p{margin:0;flex:1}.rpg-npc-avatar{width:52px;height:52px;flex-shrink:0;font-size:26px}.rpg-dialogue-quest{border-top:1px solid #bca06c;padding-top:14px;margin-top:15px}.rpg-dialogue-quest small{display:block;margin:4px 0 10px}.rpg-reveal-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(120px,1fr));gap:14px;margin:10px 0 20px}.rpg-reveal-grid article{display:flex;flex-direction:column;align-items:center;text-align:center;padding:10px;background:#e6d097;border:1px solid #b79a62;border-radius:5px}.rpg-reveal-grid strong{font-size:12px}.rpg-reveal-grid small{margin-top:6px}
#rpg-battle-hud{position:absolute;bottom:max(8px,env(safe-area-inset-bottom));left:50%;transform:translateX(-50%);width:min(740px,calc(100% - 20px));pointer-events:auto}.rpg-enemy-targets{display:flex;justify-content:center;gap:8px;margin-bottom:8px}.rpg-enemy-targets button{padding:6px 9px;min-width:110px;color:#f4e4bf;flex:1;max-width:230px;text-align:left}.rpg-enemy-targets button[aria-pressed=true]{border-color:#ffdd80;background:#665137}.rpg-enemy-targets strong{font-size:11px;display:block}.rpg-enemy-targets small{font-size:10px}.rpg-enemy-targets .rpg-mini-hp i{background:#d38561}.rpg-party-health{display:flex;gap:8px;padding:7px 10px;margin-bottom:6px}.rpg-party-health>div{flex:1;min-width:0}.rpg-party-health strong{display:block;font-size:11px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.rpg-party-health small{font-size:10px}.rpg-party-health .is-fainted{opacity:.4}.rpg-battle-commands{display:grid;grid-template-columns:repeat(6,1fr);gap:5px;padding:6px}.rpg-battle-commands button,.rpg-battle-finish button{background:#6f7046;border:1px solid #a99e65;color:#fff0bd;min-height:42px;border-radius:4px;font-size:12px;font-weight:bold;padding:7px 5px}.rpg-battle-log{margin:5px 0 0;text-align:center;font-size:11px;min-height:16px;color:#fff3d3;text-shadow:0 1px 3px #000;background:#241f1bdd;padding:4px;border-radius:3px}.rpg-battle-finish{display:flex;align-items:center;gap:12px;padding:10px}.rpg-battle-finish>span{flex:1;font-size:11px}#toast-root{position:absolute;z-index:80;left:50%;top:22%;transform:translate(-50%,-8px);width:max-content;max-width:calc(100vw - 34px);pointer-events:none;opacity:0;background:#31291eef;color:#fff0bc;font:13px/1.5 ui-rounded,"Trebuchet MS",sans-serif;border:2px solid #ba9457;border-radius:6px;padding:10px 17px;text-align:center;transition:opacity .15s,transform .15s}#toast-root.rpg-toast-visible{opacity:1;transform:translate(-50%,0)}
@media(max-width:600px){.rpg-hud-top{inset:8px 8px auto;gap:6px}.rpg-trainer-chip{min-width:0;padding:5px 7px;gap:6px}.rpg-avatar{width:27px;height:27px;font-size:12px}.rpg-trainer-chip strong{font-size:11px}.rpg-trainer-chip small{font-size:9px}#rpg-money{font-size:10px;max-width:58px;white-space:normal;line-height:1.5}.rpg-hp-track{width:77px}.rpg-place-chip{padding:5px;gap:4px;flex-direction:column;align-items:flex-end}.rpg-place-chip strong{font-size:10px;max-width:140px}.rpg-place-chip button{width:29px;height:28px;font-size:17px}.rpg-quest-chip{top:76px;left:8px;max-width:238px;padding:6px 8px}.rpg-quest-chip strong{font-size:11px}.rpg-quest-chip small{font-size:9px}.rpg-panel{width:calc(100vw - 16px);max-height:82dvh}.rpg-panel-body{padding:12px}.rpg-panel-header{padding:8px 12px}.rpg-pet-grid{gap:6px}.rpg-pet-card{padding:8px 4px}.rpg-pet-card .rpg-pet-portrait{width:75px;height:75px}.rpg-pet-card strong{font-size:11px}.rpg-pet-card button{font-size:9px;min-height:35px;padding:5px}.rpg-pet-card .rpg-actions{flex-direction:column;width:100%}.rpg-equip-buttons{gap:2px;flex-wrap:wrap;justify-content:center}.rpg-equip-buttons button{min-width:28px}.rpg-equipment{gap:8px}.rpg-camp-bank{gap:12px;padding:10px}.rpg-camp-bank button{font-size:11px}.rpg-service-list article{gap:8px}.rpg-service-list .rpg-actions{flex-wrap:nowrap;gap:4px}.rpg-service-list button{font-size:11px;padding:7px}.rpg-battle-commands{grid-template-columns:repeat(3,1fr)}.rpg-battle-commands button{min-height:40px;font-size:11px}.rpg-enemy-targets{gap:4px}.rpg-enemy-targets button{min-width:0;padding:6px}.rpg-enemy-targets strong{font-size:10px}.rpg-party-health{gap:5px;padding:6px}.rpg-party-health strong{font-size:9px}.rpg-battle-log{font-size:10px}.rpg-battle-finish{flex-wrap:wrap}.rpg-battle-finish>span{min-width:120px}.rpg-inventory-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-height:500px) and (orientation:landscape){.rpg-hud-top{inset:6px 9px auto}.rpg-trainer-chip{padding:4px 7px}.rpg-quest-chip{top:64px;max-width:270px;padding:5px 8px}.rpg-hotbar{bottom:6px;padding:3px}.rpg-hotbar button{height:40px;width:48px}.rpg-hotbar button>span{font-size:18px;line-height:18px}#rpg-nearby{bottom:60px}.rpg-panel{max-height:90dvh}.rpg-panel-header{padding:6px 12px}.rpg-panel-body{padding:12px}.rpg-enemy-targets{position:absolute;right:0;bottom:100%;width:50%;margin-bottom:5px}.rpg-battle-commands{grid-template-columns:repeat(6,1fr)}.rpg-battle-commands button{min-height:34px;font-size:11px}.rpg-party-health{padding:4px 8px}.rpg-battle-log{padding:2px;margin-top:3px}.rpg-party-health strong{font-size:10px}.rpg-party-health small{font-size:9px}.rpg-place-chip{flex-direction:row}.rpg-battle-finish{padding:6px}.rpg-battle-finish button{min-height:34px}}
@media(prefers-reduced-motion:reduce){.rpg-hp-track i,.rpg-mini-hp i,#toast-root{transition:none}}

/* Crop one animation cell, matching the Phaser sheets and palette rotations. */
.rpg-avatar{background-image:url('../assets/sprites/hero.webp');background-repeat:no-repeat;background-size:400% 400%;background-position:0 0;image-rendering:pixelated;border-radius:5px;background-color:#cda56a}.rpg-npc-avatar{background-image:url('../assets/world/npcs.webp');background-repeat:no-repeat;background-size:400% 200%;image-rendering:pixelated;border-radius:5px;background-color:#dcc68e}
@media(pointer:coarse),(max-width:600px){#hud-root button,#panel-root button{min-width:44px;min-height:44px}.rpg-place-chip button{width:44px;height:44px}.rpg-place-chip{padding:4px}.rpg-place-chip>div{gap:2px}.rpg-panel-header button{width:44px;height:44px;min-height:44px!important}.rpg-pet-card .rpg-equip-buttons{width:100%;display:grid;grid-template-columns:repeat(auto-fit,minmax(44px,1fr));gap:3px}.rpg-pet-card .rpg-equip-buttons button{padding:3px;font-size:10px}.rpg-quest-chip{top:92px}.rpg-trainer-chip{align-self:flex-start}.rpg-battle-commands button{font-size:11px}.rpg-hotbar button{height:49px}}
@media(pointer:coarse) and (orientation:landscape) and (max-height:500px){.rpg-quest-chip{top:67px}.rpg-place-chip{flex-direction:row}.rpg-place-chip strong{max-width:110px}.rpg-hud-top{align-items:start}.rpg-battle-commands{grid-template-columns:repeat(6,1fr)}}
/* Reset host toast anchoring so top and bottom never stretch the notification. */
#toast-root{bottom:auto;height:auto}
.rpg-reveal-grid article{animation:reveal-friend .45s ease both}.rpg-reveal-grid article:nth-child(2){animation-delay:.12s}.rpg-reveal-grid article:nth-child(3){animation-delay:.24s}.rpg-reveal-grid article:nth-child(4){animation-delay:.36s}.rpg-reveal-grid article:nth-child(5){animation-delay:.48s}.rpg-reveal-grid .rpg-pet-portrait{animation:friend-frames 1.2s step-end infinite}@keyframes reveal-friend{from{opacity:0;transform:translateY(15px) scale(.92)}to{opacity:1;transform:none}}@keyframes friend-frames{0%,100%{background-position:0 0}25%{background-position:33.3333% 0}50%{background-position:66.6667% 0}75%{background-position:100% 0}}@media(prefers-reduced-motion:reduce){.rpg-reveal-grid article,.rpg-reveal-grid .rpg-pet-portrait{animation:none}}
.rpg-avatar{background-size:1280% 1280%;background-position:9.4% 3.5%}
/* UI V2: illustrated objects carry navigation and actions. */
.rpg-ui-icon{display:inline-block;flex:none;width:30px;height:30px;background-image:url('../assets/ui/v2/icons.webp');background-size:400% 400%;background-position:calc(var(--ix)*33.333333%) calc(var(--iy)*33.333333%);background-repeat:no-repeat;vertical-align:middle;filter:drop-shadow(0 2px 1px #201c1740)}#hud-root button,#panel-root button{align-items:center;justify-content:center;gap:5px}.rpg-button-label{display:inline-block}.rpg-panel button{display:inline-flex}.rpg-panel-header button .rpg-button-label{line-height:1}.rpg-panel-header{background:linear-gradient(100deg,#574333,#725135 80%,#473c2d);border-bottom:3px solid #c19b60}.rpg-panel{background:radial-gradient(ellipse at top,#fff2cf,#efddac);width:min(820px,calc(100vw - 24px));border:3px solid #a17d49;border-radius:13px}.rpg-panel-body{padding:18px}.rpg-panel h3{font-size:16px}.rpg-hotbar{background:linear-gradient(#5a4531,#34291f);padding:5px 8px;border-radius:13px;border-color:#ba985d;gap:6px}.rpg-hotbar button{position:relative;display:flex;flex-direction:column;gap:0;width:62px;height:63px;background:radial-gradient(#85623b,#4c3d2d);border-color:#b1905e;border-radius:9px;box-shadow:inset 0 1px #e3c38a55}.rpg-hotbar button>.rpg-ui-icon{width:39px;height:39px}.rpg-hotbar .rpg-button-label{display:flex;flex-direction:column;align-items:center}.rpg-hotbar .rpg-pet-portrait{width:39px;height:39px}.rpg-hotbar small{font-size:10px;color:#f9e9c1;line-height:13px}.rpg-trainer-chip{border-radius:13px 6px 6px 13px;padding:6px 10px 6px 5px;gap:8px;background:linear-gradient(#4b4433,#2f3028)}.rpg-avatar{background-size:800% 800%;background-position:7.14% 3.57%;width:44px;height:44px;border:2px solid #d8b471;border-radius:50%;box-shadow:0 0 0 2px #352f22;background-color:#c7bc93}.rpg-trainer-chip .rpg-avatar{width:47px;height:47px}.rpg-trainer-chip strong{font-size:12px}#rpg-money{display:flex;flex-direction:column;gap:0;font-size:11px}#rpg-money>span{display:flex;align-items:center;gap:3px}#rpg-money .rpg-ui-icon{width:23px;height:23px}.rpg-place-chip{border-radius:6px 11px 6px 6px;background:linear-gradient(#5d4a32,#34342b)}.rpg-place-chip button{border-radius:50%;background:#796244}.rpg-quest-chip{background:linear-gradient(110deg,#4a4731f2,#343729ec);border-radius:5px 16px 16px 5px;max-width:296px;gap:7px;box-shadow:0 3px 7px #0003;min-height:54px}.rpg-quest-chip>.rpg-ui-icon{width:39px;height:39px;margin-left:-3px}.rpg-quest-chip strong{font-size:11px;max-width:210px}.rpg-quest-meter{display:block;height:4px;background:#171e1a;border-radius:3px;margin-top:5px;overflow:hidden}.rpg-quest-meter i{display:block;height:100%;background:linear-gradient(90deg,#91af58,#d8d586);transition:width .2s}#rpg-route-info{position:absolute;left:14px;top:151px;display:flex;align-items:center;gap:4px;background:#293b2edb;border:1px solid #a8b478;border-radius:20px;padding:0 3px 0 12px;max-width:280px;font-size:10px;pointer-events:auto}#rpg-route-info button{width:32px;min-height:32px!important;background:transparent;border:0;color:#f9edc9;font-size:20px}.rpg-quest-rewards{display:flex;gap:9px;margin:10px 0}.rpg-quest-rewards>span{display:flex;align-items:center;gap:3px;background:#e0c89688;border:1px solid #c7a974;padding:3px 7px;border-radius:6px}.rpg-quest-rewards small{margin:0}.rpg-npc-quest-marker{display:inline-grid;place-items:center;margin-right:8px;border-radius:50%;width:28px;height:28px;color:#fff9d5;background:#c39737;border:2px solid #ffdf77;font-size:20px}.rpg-npc-quest-marker.active{background:#4385a6;border-color:#a6d3ea}.rpg-npc-quest-marker.ready{background:#509057;border-color:#b4dda2}.rpg-roster-top{display:flex;align-items:center;gap:20px}.rpg-roster-top>.rpg-slot-row{flex:1;margin:0}.rpg-roster-top>small{max-width:100px;color:#816944}.rpg-slot{min-height:84px;background:radial-gradient(#e3d8a5,#c3bc84);border-radius:10px}.rpg-slot small{max-width:95px;font-size:9px}.rpg-family-tabs{display:flex;gap:9px;margin:18px 0 11px}.rpg-family-tabs button{flex:1;min-width:0;padding:4px 9px;background:#bdb183;color:#4f422d;border:1px solid #998252;border-radius:8px}.rpg-family-tabs .rpg-pet-portrait{width:48px;height:48px}.rpg-family-tabs strong{font-size:11px}.rpg-family-tabs button[aria-selected=true]{background:#8b975c;color:#fff7d2;border-color:#52633a;box-shadow:inset 0 0 0 2px #c8d38c}.rpg-variant-cards{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.rpg-variant-cards>button{display:flex;flex-direction:column;padding:9px;color:#51412b;background:radial-gradient(#fff0c5,#dcc38f);border:2px solid #b29a67;border-radius:10px;min-width:0}.rpg-variant-cards>button[aria-pressed=true]{border-color:#798849;box-shadow:inset 0 0 0 2px #c7d481,0 2px 6px #0002}.rpg-variant-cards .rpg-button-label{display:flex;flex-direction:column;align-items:center}.rpg-variant-cards .rpg-pet-portrait{width:104px;height:104px}.rpg-variant-cards strong{font-size:12px}.rpg-variant-cards small{font-size:10px}.rpg-variant-cards .is-undiscovered .rpg-pet-portrait{filter:grayscale(.8);opacity:.55}.rpg-variant-cards .rpg-rarity{font-size:9px;letter-spacing:.1em;text-transform:uppercase;margin-top:4px}.rpg-selected-pet{display:flex;align-items:center;gap:18px;margin-top:18px;padding:14px;background:#e6d3a4;border:1px solid #bca372;border-radius:12px}.rpg-selected-art{position:relative;flex:0 0 160px;display:flex;align-items:center;justify-content:center;background:radial-gradient(ellipse,#c8d39c88,transparent 70%)}.rpg-selected-art>.rpg-pet-portrait{width:158px;height:158px}.rpg-role-medallion{position:absolute;bottom:0;right:5px;background:#6b7743;border:2px solid #e8d5a2;border-radius:50%;padding:3px}.rpg-selected-info{flex:1;min-width:0}.rpg-selected-info h3{margin-bottom:4px}.rpg-selected-info p{font-size:11px;margin:0 0 10px;color:#796444}.rpg-pet-numbers{display:flex;gap:12px}.rpg-pet-numbers>span{display:grid;grid-template-columns:25px auto;column-gap:4px}.rpg-pet-numbers .rpg-ui-icon{width:25px;height:25px;grid-row:span 2}.rpg-pet-numbers b{font-size:13px}.rpg-pet-numbers small{font-size:9px}.rpg-selected-info button{font-size:11px;padding:5px 9px}.rpg-selected-info .rpg-ui-icon{width:23px;height:23px}.rpg-bag-header{display:flex;align-items:center;gap:8px}.rpg-bag-header>.rpg-ui-icon:first-child{width:60px;height:60px}.rpg-bag-header>div{flex:1}.rpg-bag-header strong{display:block}.rpg-bag-header small{display:block;color:#846d45}.rpg-inventory-grid{grid-template-columns:repeat(3,1fr);gap:12px}.rpg-inventory-grid>button{background:radial-gradient(#fff1c9,#dfc693);border:2px solid #b39a66;border-radius:9px;color:#503e27;position:relative;min-height:125px}.rpg-inventory-grid>button[aria-pressed=true]{border-color:#697b41;box-shadow:inset 0 0 0 2px #c0cf8f}.rpg-inventory-grid .rpg-button-label{display:flex;flex-direction:column;align-items:center}.rpg-inventory-grid .rpg-ui-icon{width:78px;height:78px}.rpg-inventory-grid strong{position:absolute;right:9px;top:8px;font-size:16px;text-shadow:0 1px #fff3c8}.rpg-inventory-grid small{text-transform:capitalize}.rpg-item-inspect{display:flex;gap:12px;align-items:center;margin-bottom:16px;border-top:1px solid #c4ad7b;padding-top:12px}.rpg-item-inspect>.rpg-ui-icon{width:50px;height:50px}.rpg-item-inspect strong{text-transform:capitalize}.rpg-item-inspect p{font-size:12px;margin:4px 0}.rpg-shop-item{display:flex;align-items:center;gap:12px}.rpg-shop-item>.rpg-ui-icon{width:62px;height:62px}.rpg-nest-showpiece{position:relative;display:flex;justify-content:center;height:174px;align-items:center;background:radial-gradient(ellipse at 50% 75%,#c2cc8e,#e6d8ad00 60%)}.rpg-nest-showpiece>.rpg-ui-icon{width:164px;height:164px;z-index:1;filter:drop-shadow(0 8px 8px #78603e44);animation:rpg-egg-sway 4s ease-in-out infinite}.rpg-nest-glow{position:absolute;bottom:18px;width:130px;height:20px;border-radius:50%;background:#75914644;filter:blur(6px)}.rpg-nursery-section:first-child{text-align:center}.rpg-nursery-section:first-child>.rpg-actions{justify-content:center}.rpg-nursery-section:first-child>p{font-size:11px}.rpg-odds{max-width:420px;margin:12px auto}.rpg-nursery-section>small{display:block;max-width:580px;margin:auto;font-size:10px}.rpg-reveal-grid .rpg-pet-portrait{width:128px;height:128px}.rpg-reveal-grid article{background:radial-gradient(#fff1bd,#d8bf89);border:2px solid #bd9958;border-radius:14px;animation:rpg-reveal-in .4s ease-out}.rpg-camp-bank .rpg-ui-icon{width:32px;height:32px}.rpg-gatherers .rpg-pet-portrait{width:100px;height:100px}.rpg-gatherers>div{border-radius:12px;background:radial-gradient(#e8e3b8,#d4cd9c)}
.rpg-panel.panel-map{width:min(1040px,calc(100vw - 20px))}.panel-map .rpg-panel-body{padding:10px}.rpg-map-tabs{display:flex;justify-content:center;gap:8px;margin-bottom:10px}.rpg-map-tabs button{min-width:112px;background:#a89566;color:#fdf0cb;border-color:#8b744c}.rpg-map-tabs button[aria-selected=true]{background:#576b49;border-color:#344d38}.rpg-illustrated-map{position:relative;aspect-ratio:3/2;overflow:hidden;border:3px solid #896e42;border-radius:10px;background:#508c92}.rpg-illustrated-map>img{display:block;width:100%;height:100%;object-fit:cover}.rpg-illustrated-map>svg{position:absolute;inset:0;width:100%;height:100%;pointer-events:none}.rpg-landmark{position:absolute;transform:translate(-50%,-50%);background:transparent!important;border:0!important;box-shadow:none!important;padding:0!important;display:flex!important;flex-direction:column;gap:0!important;min-width:44px;min-height:44px;overflow:visible}.rpg-landmark-pin{display:grid;place-items:center;width:29px;height:29px;background:#f6e1a6;color:#765321;border:2px solid #5e4930;border-radius:50% 50% 50% 6px;transform:rotate(-15deg);box-shadow:0 2px 4px #0008;font-size:19px;font-weight:bold}.rpg-landmark-label{white-space:nowrap;background:#443b28e8;color:#ffedb6;border:1px solid #d1b777;padding:3px 6px;border-radius:4px;font-size:11px;margin-top:4px;text-shadow:0 1px #000}.rpg-landmark.is-current .rpg-landmark-pin{background:#c9e4a8;color:#375b36;border-color:#f8ffd6;box-shadow:0 0 0 4px #72b37a99,0 2px 5px #0009}.rpg-landmark.is-locked{opacity:.67!important;filter:grayscale(.6)}.rpg-map-caption{display:flex;align-items:center;gap:8px;padding:10px 4px 0;font-size:12px}.rpg-map-caption>small{margin-left:auto;color:#806947}.rpg-current-dot{width:9px;height:9px;border-radius:50%;background:#699450}.rpg-local-map{position:relative;aspect-ratio:1920/1344;overflow:hidden;border:3px solid #7d7554;border-radius:10px}.rpg-local-map>svg{display:block;width:100%;height:100%}.rpg-local-marker{position:absolute;transform:translate(-50%,-50%);width:44px;height:44px;padding:4px!important;min-width:44px;min-height:44px;background:#faeacadd!important;border:2px solid #86754e!important;border-radius:50%!important;box-shadow:0 2px 4px #0004!important}.rpg-local-marker>.rpg-ui-icon{width:29px;height:29px}.rpg-local-marker.marker-boss{border-color:#b2553c!important;background:#ecb49add!important}.rpg-local-marker.marker-exit{border-radius:8px!important;background:#bfdabbdd!important}.rpg-local-hero{position:absolute;transform:translate(-50%,-50%);pointer-events:none;z-index:3}.rpg-local-hero .rpg-avatar{display:block;width:32px;height:32px;border:3px solid #f5eac1;box-shadow:0 0 0 4px #4a885bb0}.rpg-map-quest{position:absolute;right:-5px;top:-8px;background:#d7ae49;color:#fff8d1;border:1px solid #6a572b;border-radius:50%;width:19px;height:19px;font-size:15px;display:grid;place-items:center}.rpg-map-quest.quest-ready{background:#558653}.rpg-map-quest.quest-active{background:#528baf}.rpg-map-legend{display:flex;justify-content:center;gap:15px;flex-wrap:wrap;margin-top:9px;font-size:10px}.rpg-map-legend>span{display:flex;align-items:center;gap:4px}.rpg-map-legend .rpg-ui-icon{width:24px;height:24px}
#rpg-battle-hud{width:min(560px,calc(100% - 16px));bottom:max(8px,env(safe-area-inset-bottom));background:linear-gradient(#393b2ddd,#29291ff5);border:2px solid #b29960;border-radius:14px;padding:6px;box-shadow:0 4px 12px #0005}.rpg-combat-topline{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:0 3px 4px}.rpg-party-portraits{display:flex;gap:5px}.rpg-ally-medallion{width:37px;height:38px;position:relative;background:#c7b787;border:1px solid #d5c28f;border-radius:7px}.rpg-ally-medallion>.rpg-pet-portrait{width:35px;height:35px}.rpg-ally-medallion>.rpg-avatar{display:block;width:32px;height:32px;box-shadow:none;border:0}.rpg-ally-medallion>.rpg-mini-hp{position:absolute;bottom:-1px;left:1px;right:1px;height:4px}.rpg-ally-medallion.is-fainted{opacity:.4}.rpg-enemy-targets{position:static!important;width:auto!important;display:flex;gap:4px;margin:0;align-items:center;flex-wrap:wrap;justify-content:flex-end}.rpg-enemy-targets button{position:relative;display:flex;align-items:center;min-width:36px!important;width:36px;max-width:36px;min-height:36px!important;height:36px;border-radius:50%;padding:0;background:#4d4831}.rpg-enemy-targets .rpg-button-label{display:flex;align-items:center}.rpg-target-reticle{font-size:25px;line-height:25px;color:#ffe5aa}.rpg-enemy-targets small{position:absolute;bottom:-2px;right:-2px;background:#392d23;border-radius:50%;width:15px;height:15px;display:grid;place-items:center;font-size:9px}.rpg-enemy-targets button[aria-pressed=true]{border-color:#ffe6a2;background:#947244;box-shadow:0 0 0 2px #d1ac6688}.rpg-target-name{font-size:9px;color:#e4d7b4;max-width:115px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.rpg-battle-commands{grid-template-columns:repeat(6,minmax(0,1fr))!important;background:transparent;border:0;box-shadow:none;padding:0;gap:4px}.rpg-battle-commands button{display:flex;flex-direction:column;justify-content:center;align-items:center;gap:0!important;min-height:62px;min-width:0;padding:3px 1px;background:radial-gradient(#8b7148,#554830);border:1px solid #bda16a;border-radius:8px;color:#fff0c2}.rpg-battle-commands .rpg-ui-icon{width:39px;height:39px}.rpg-battle-commands .rpg-button-label{font-size:10px;font-weight:normal;white-space:nowrap}.rpg-battle-commands button[aria-pressed=true]{background:radial-gradient(#8d9d52,#4e643e);border-color:#d3e499}.rpg-battle-log{background:none;font-size:10px;padding:3px 0 0;margin:0;min-height:14px;max-height:30px;overflow:hidden;color:#ebdfbd}.rpg-battle-finish{border:0;box-shadow:none;background:transparent;padding:4px;gap:7px}.rpg-battle-finish>.rpg-ui-icon{width:38px;height:38px}.rpg-battle-finish>span>.rpg-ui-icon{width:19px;height:19px}.rpg-battle-finish strong{font-size:13px}.rpg-battle-finish button{font-size:12px}.rpg-in-battle #rpg-route-info,.rpg-in-battle #rpg-nearby{display:none}
@keyframes rpg-egg-sway{0%,100%{transform:rotate(-3deg)}50%{transform:rotate(3deg)}}@keyframes rpg-reveal-in{from{opacity:0;transform:translateY(10px) scale(.9)}to{opacity:1;transform:none}}
@media(max-width:600px){.rpg-panel-body{padding:12px}.rpg-panel-header h2{font-size:17px}.rpg-hotbar{padding:4px 6px;gap:4px;bottom:max(8px,env(safe-area-inset-bottom))}.rpg-hotbar button{width:51px;height:57px;min-width:44px}.rpg-hotbar button>.rpg-ui-icon,.rpg-hotbar .rpg-pet-portrait{width:34px;height:34px}.rpg-trainer-chip{gap:5px;padding:5px;max-width:195px}.rpg-trainer-chip .rpg-avatar{width:37px;height:37px}.rpg-trainer-chip strong{font-size:10px}.rpg-hp-track{width:67px}#rpg-money .rpg-ui-icon{width:19px;height:19px}#rpg-money{font-size:10px;max-width:none}.rpg-place-chip strong{font-size:9px;max-width:119px}.rpg-place-chip button{width:36px;min-width:36px!important;height:36px;min-height:44px!important;font-size:18px}.rpg-place-chip>div{gap:0}.rpg-quest-chip{max-width:235px;top:91px;min-height:52px}.rpg-quest-chip strong{font-size:10px;max-width:170px}.rpg-quest-chip small{font-size:9px}.rpg-quest-chip>.rpg-ui-icon{width:32px;height:32px}.rpg-quest-marker{margin:0}.rpg-quest-chip>span:last-child{display:none}#rpg-route-info{top:150px;left:9px;max-width:238px;font-size:9px}.rpg-roster-top{gap:10px}.rpg-roster-top>small{font-size:9px;max-width:69px}.rpg-slot{min-height:67px}.rpg-slot .rpg-pet-portrait{width:47px;height:47px}.rpg-slot small{font-size:8px}.rpg-family-tabs{gap:5px;margin:14px 0 9px}.rpg-family-tabs button{flex-direction:column;padding:2px;gap:0!important}.rpg-family-tabs .rpg-button-label{display:flex;flex-direction:column;align-items:center}.rpg-family-tabs strong{font-size:9px}.rpg-family-tabs .rpg-pet-portrait{width:39px;height:39px}.rpg-variant-cards{gap:5px}.rpg-variant-cards>button{padding:6px 3px}.rpg-variant-cards .rpg-pet-portrait{width:77px;height:77px}.rpg-variant-cards strong{font-size:9px}.rpg-variant-cards small{font-size:8px}.rpg-variant-cards .rpg-rarity{font-size:8px}.rpg-selected-pet{gap:10px;padding:10px;margin-top:12px;align-items:flex-start}.rpg-selected-art{flex:0 0 80px;padding-top:20px}.rpg-selected-art>.rpg-pet-portrait{width:82px;height:82px}.rpg-role-medallion .rpg-ui-icon{width:22px;height:22px}.rpg-selected-info h3{font-size:13px}.rpg-selected-info p{font-size:10px}.rpg-pet-numbers{gap:7px;flex-wrap:wrap}.rpg-pet-numbers>span{grid-template-columns:18px auto;gap:0 2px}.rpg-pet-numbers .rpg-ui-icon{width:18px;height:18px}.rpg-pet-numbers b{font-size:11px}.rpg-pet-numbers small{font-size:8px}.rpg-selected-info button{font-size:10px;padding:4px;min-height:44px}.rpg-selected-info .rpg-actions{gap:4px}.rpg-selected-info .rpg-ui-icon{width:20px;height:20px}.rpg-selected-info .rpg-equip-buttons{gap:3px;justify-content:flex-start}.rpg-inventory-grid{grid-template-columns:repeat(3,1fr);gap:8px}.rpg-inventory-grid>button{min-height:105px}.rpg-inventory-grid .rpg-ui-icon{width:66px;height:66px}.rpg-inventory-grid strong{font-size:13px;top:5px;right:6px}.rpg-inventory-grid small{font-size:10px}.rpg-bag-header>.rpg-ui-icon:first-child{width:44px;height:44px}.rpg-bag-header strong{font-size:12px}.rpg-item-inspect p{font-size:11px}.rpg-shop-item{gap:7px}.rpg-shop-item>.rpg-ui-icon{width:44px;height:44px}.rpg-service-list article strong{font-size:12px}.rpg-nest-showpiece{height:144px}.rpg-nest-showpiece>.rpg-ui-icon{width:140px;height:140px}.rpg-landmark-label{font-size:8px;padding:3px 4px;max-width:88px;white-space:normal;text-align:center}.rpg-landmark-pin{width:24px;height:24px;font-size:16px}.rpg-map-caption{font-size:10px;flex-wrap:wrap;gap:4px}.rpg-map-caption>small{font-size:9px;margin-left:0;flex-basis:100%}.rpg-local-marker{width:44px;height:44px;min-width:44px!important;min-height:44px!important}.rpg-local-marker>.rpg-ui-icon{width:24px;height:24px}.rpg-map-legend{gap:9px;font-size:9px}.rpg-map-legend .rpg-ui-icon{width:21px;height:21px}.rpg-local-hero .rpg-avatar{width:26px;height:26px}.rpg-map-quest{right:0;top:-5px}.rpg-combat-topline{gap:4px}.rpg-party-portraits{gap:3px}.rpg-ally-medallion{width:29px;height:31px}.rpg-ally-medallion>.rpg-pet-portrait{width:27px;height:27px}.rpg-ally-medallion>.rpg-avatar{width:26px;height:26px}.rpg-enemy-targets button{min-width:44px!important;max-width:44px;width:44px;min-height:44px!important;height:44px}.rpg-target-reticle{font-size:24px}.rpg-target-name{display:none}.rpg-battle-commands{gap:3px}.rpg-battle-commands button{min-width:0!important;min-height:57px;font-size:9px}.rpg-battle-commands .rpg-ui-icon{width:32px;height:32px}.rpg-battle-commands .rpg-button-label{font-size:8px}.rpg-battle-log{font-size:9px;max-height:27px;line-height:13px}.rpg-battle-finish strong{font-size:11px}.rpg-battle-finish>span{min-width:0;font-size:10px}.rpg-battle-finish{flex-wrap:nowrap}.rpg-battle-finish button{font-size:11px}.rpg-battle-finish>.rpg-ui-icon{width:25px;height:25px}#rpg-nearby{bottom:84px}}
@media(max-width:340px){.rpg-trainer-chip{max-width:176px}.rpg-trainer-chip .rpg-avatar{width:30px;height:30px}.rpg-hp-track{width:62px}.rpg-hud-top{gap:3px;inset:7px 6px auto}.rpg-place-chip{padding:2px}.rpg-place-chip strong{font-size:8px}.rpg-place-chip button{width:34px;min-width:34px!important}.rpg-variant-cards .rpg-pet-portrait{width:68px;height:68px}.rpg-selected-art{flex-basis:62px}.rpg-selected-art>.rpg-pet-portrait{width:64px;height:64px}.rpg-selected-info .rpg-actions{flex-direction:column}.rpg-battle-commands{gap:2px}.rpg-battle-commands button{padding:3px 0}.rpg-battle-commands .rpg-ui-icon{width:30px;height:30px}.rpg-battle-commands .rpg-button-label{font-size:8px}.rpg-enemy-targets{gap:2px}.rpg-enemy-targets button{width:44px;min-width:44px!important}.rpg-party-portraits{gap:2px}.rpg-ally-medallion{width:27px}.rpg-battle-finish{gap:4px}}
@media(orientation:landscape) and (max-height:500px){.rpg-hotbar button{height:53px;width:54px}.rpg-hotbar button>.rpg-ui-icon,.rpg-hotbar .rpg-pet-portrait{width:31px;height:31px}.rpg-quest-chip{top:67px;min-height:47px}.rpg-quest-chip>.rpg-ui-icon{width:30px;height:30px}#rpg-route-info{top:121px}.rpg-combat-topline{padding-bottom:2px}.rpg-ally-medallion{height:29px;width:29px}.rpg-ally-medallion>.rpg-pet-portrait,.rpg-ally-medallion>.rpg-avatar{width:27px;height:27px}.rpg-enemy-targets button{height:32px;min-height:32px!important;min-width:36px!important;width:36px}.rpg-battle-commands button{min-height:51px}.rpg-battle-commands .rpg-ui-icon{width:31px;height:31px}.rpg-battle-log{font-size:9px;min-height:10px;line-height:12px}.rpg-panel.panel-map{width:min(780px,calc(100vw - 20px))}.rpg-illustrated-map{max-height:60dvh;aspect-ratio:3/2;margin:auto;width:auto}.rpg-illustrated-map>img{object-fit:contain}.rpg-local-map{max-height:60dvh}.rpg-nest-showpiece{height:130px}.rpg-nest-showpiece>.rpg-ui-icon{width:125px;height:125px}}
@media(prefers-reduced-motion:reduce){.rpg-nest-showpiece>.rpg-ui-icon,.rpg-reveal-grid article{animation:none}.rpg-quest-meter i{transition:none}}
/* The illustrated controls retain a real 44px hit area at every phone width. */
#rpg-route-info button{min-width:44px;min-height:44px!important;height:44px}.rpg-enemy-targets button{min-width:44px!important;min-height:44px!important;width:44px;max-width:44px;height:44px}.rpg-battle-commands button{min-width:44px!important}
@media(max-width:600px){.rpg-place-chip button{min-width:44px!important;width:44px;min-height:44px!important;height:44px}.rpg-place-chip button[data-hud-action=fullscreen]{display:none}.rpg-place-chip strong{max-width:96px}.rpg-trainer-chip{max-width:195px}.rpg-hotbar button{min-width:44px!important}.rpg-local-marker{min-width:44px!important;min-height:44px!important}}
@media(max-width:340px){.rpg-place-chip button{min-width:44px!important;width:44px}.rpg-trainer-chip{max-width:182px}.rpg-battle-commands{gap:2px}#rpg-battle-hud{padding:5px;width:calc(100% - 12px)}}
.rpg-map-legend>button{display:flex;flex:1;flex-direction:column;min-height:44px;min-width:44px;gap:0;padding:3px;background:#b7b383;color:#453b29;border-color:#938355}.rpg-map-legend>button[aria-pressed=true]{background:#697d4e;color:#fff2cd;border-color:#4b643e}.rpg-map-legend .rpg-button-label{display:flex;align-items:center;gap:4px}.rpg-map-legend>button small{font-size:10px}.rpg-local-marker{background:#faeacaed!important}.rpg-local-marker.marker-npc{z-index:2}.rpg-local-marker.marker-exit{z-index:1}
@media(max-width:600px){.rpg-map-legend{gap:5px}.rpg-map-legend .rpg-button-label{flex-direction:column;gap:0}.rpg-map-legend>button small{font-size:9px}}
#hud-root button,#panel-root button{min-width:44px;min-height:44px}.rpg-panel-header button{min-width:44px;min-height:44px!important}
@media(orientation:landscape) and (max-height:500px){.rpg-illustrated-map{width:min(100%,90dvh);max-height:none;aspect-ratio:3/2}.rpg-illustrated-map>img{object-fit:cover}.rpg-local-map{width:min(100%,90dvh);max-height:none;margin:auto;aspect-ratio:1920/1344}}
