.ERDrwW_screen{overscroll-behavior:none;color:#f5eed9;--dock:0px;--edge:24px;--bottom:calc(var(--dock) + env(safe-area-inset-bottom,0px));background:#1c302b;width:100%;height:100dvh;position:fixed;inset:0;overflow:hidden}.ERDrwW_world{inset:0 0 var(--bottom);touch-action:none;background:#a5ce7e;position:absolute;overflow:hidden}.ERDrwW_world canvas{object-fit:fill;width:100%;height:100%;image-rendering:pixelated;cursor:crosshair;display:block}.ERDrwW_hud{pointer-events:none;padding:max(var(--edge), env(safe-area-inset-top)) max(var(--edge), env(safe-area-inset-right)) max(var(--edge), env(safe-area-inset-bottom)) max(var(--edge), env(safe-area-inset-left));justify-content:space-between;align-items:flex-start;gap:12px;display:flex;position:absolute;inset:0}.ERDrwW_location,.ERDrwW_menuButton,.ERDrwW_lead,.ERDrwW_keyHints,.ERDrwW_toast{color:#374c3b;pointer-events:auto;background:#f9f7e9f2;border:2px solid #596d4b;border-radius:5px;box-shadow:0 3px #263b3433}.ERDrwW_location{min-width:180px;max-width:calc(100% - 120px);padding:12px 17px}.ERDrwW_location>span{letter-spacing:1.4px;color:#829169;margin-bottom:5px;font:700 9px monospace;display:block}.ERDrwW_location h1{letter-spacing:-.6px;font-size:19px}.ERDrwW_location small{color:#7c8b70;margin-top:7px;font-size:10px;display:block}.ERDrwW_location small i{margin-right:5px}.ERDrwW_menuButton{align-items:center;gap:10px;min-height:48px;padding:10px 14px;font-size:12px;font-weight:700;display:flex}.ERDrwW_menuButton kbd{margin-left:6px}.ERDrwW_lead{text-align:left;align-items:center;gap:10px;min-width:205px;padding:8px 14px 8px 8px;display:flex;position:absolute;bottom:24px;right:24px}.ERDrwW_lead strong{font-size:12px;display:block}.ERDrwW_lead small{color:#7d8d6e;margin-top:4px;font-size:9px;display:block}.ERDrwW_lead>div{flex:1}.ERDrwW_lead em{margin-left:10px;font-size:9px;font-style:normal;font-weight:400}.ERDrwW_keyHints{align-items:center;gap:7px;padding:10px 14px;font-size:10px;display:flex;position:absolute;bottom:24px;left:24px}.ERDrwW_keyHints>span{margin-right:9px}.ERDrwW_keyHints kbd{font-size:10px}.ERDrwW_toast{pointer-events:none;max-width:min(450px,100% - 48px);padding:9px 13px;font-size:11px;line-height:1.6;position:absolute;bottom:90px;left:24px}.ERDrwW_controller{display:none}.ERDrwW_screen .modal-backdrop{inset:0 0 var(--bottom);-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);background:#1a332567;padding:24px;position:absolute;overflow:hidden}.ERDrwW_screen .modal{color:#35463b;background:#faf8e9;border:3px solid #637753;border-radius:8px;max-height:100%;box-shadow:0 5px #20372e44}.ERDrwW_screen .modal h2{font-size:22px}:is(.ERDrwW_screen .modal button:focus-visible,.ERDrwW_screen .dialogue button:focus-visible){outline-offset:2px;background-color:#e6ecd4;outline:3px solid #c48b46}.ERDrwW_screen .modal .primary-button:focus-visible{color:#35463b}.ERDrwW_screen .dialogue{bottom:calc(var(--bottom) + 28px);color:#35463b;border-color:#637753;border-radius:6px;max-width:calc(100% - 48px);position:absolute}.ERDrwW_menuOptions{grid-template-columns:1fr 1fr;gap:9px;margin:22px 0;display:grid}.ERDrwW_menuOptions button{text-align:left;background:#eef2df;border:1px solid #d6dfc4;border-radius:5px;align-items:center;gap:10px;padding:17px;font-size:13px;font-weight:600;display:flex}.ERDrwW_menuOptions small{color:#849474;margin-left:auto;font-size:10px;font-weight:400}.ERDrwW_menuOptions button:hover{background:#e2e9cf}.ERDrwW_menuSummary{color:#8a957b;flex-wrap:wrap;justify-content:space-between;gap:10px;font-size:11px;display:flex}:is(.ERDrwW_screen .team-card,.ERDrwW_screen .trainers-card){background:0 0;border:0;padding:0}.ERDrwW_screen .team-list{max-height:none}.ERDrwW_screen .quest{margin-top:20px}.ERDrwW_screen .section-subtitle{font-size:12px}.ERDrwW_screen .trainer-row small{font-size:11px}.ERDrwW_screen .team-member .monster-title strong{font-size:14px}.ERDrwW_screen .team-member .monster-title>span{font-size:11px}.ERDrwW_screen .team-member small{font-size:10px}.ERDrwW_screen .team-member .type{font-size:9px}@media (max-width:600px),(pointer:coarse),(max-height:450px){.ERDrwW_screen{--dock:190px;--edge:12px}.ERDrwW_world{bottom:var(--bottom)}.ERDrwW_location{min-width:0;max-width:calc(100% - 70px);padding:8px 11px}.ERDrwW_location>span{margin-bottom:4px;font-size:7px}.ERDrwW_location h1{font-size:15px}.ERDrwW_location small{margin-top:5px;font-size:8px}.ERDrwW_menuButton{justify-content:center;min-width:44px;min-height:44px;padding:10px}.ERDrwW_menuButton>span,.ERDrwW_menuButton kbd{display:none}.ERDrwW_lead{gap:3px;min-width:150px;padding:5px 9px 5px 4px;bottom:12px;right:12px}.ERDrwW_lead>span{width:42px!important;height:42px!important}.ERDrwW_lead strong{font-size:10px}.ERDrwW_lead em{margin-left:5px;font-size:8px}.ERDrwW_lead small{font-size:8px}.ERDrwW_keyHints{display:none}.ERDrwW_toast{max-width:calc(100% - 24px);padding:7px 10px;font-size:9px;bottom:78px;left:12px}.ERDrwW_controller{height:var(--bottom);padding:34px max(26px, env(safe-area-inset-right)) calc(14px + env(safe-area-inset-bottom)) max(26px, env(safe-area-inset-left));z-index:25;-webkit-user-select:none;user-select:none;-webkit-touch-callout:none;touch-action:none;background:#253d35;border-top:3px solid #40584a;justify-content:space-between;align-items:center;gap:20px;display:flex;position:absolute;inset:auto 0 0}.ERDrwW_controllerBrand{letter-spacing:1.6px;color:#dce5c6;align-items:center;gap:8px;font:700 12px monospace;display:flex;position:absolute;top:10px;left:27px;right:27px}.ERDrwW_controllerBrand>span{color:#bdca9d;letter-spacing:0;font-size:11px;font-style:italic;font-weight:400}.ERDrwW_controllerBrand small{letter-spacing:1px;color:#99ad8d;margin-left:auto;font-size:6px}.ERDrwW_dpad{filter:drop-shadow(0 4px #152a22);flex-shrink:0;grid-template-rows:repeat(3,1fr);grid-template-columns:repeat(3,1fr);width:132px;height:132px;display:grid}.ERDrwW_dpad button{color:#eaf0cf;touch-action:none;background:#526f53;border:1px solid #7d9970;place-items:center;padding:0;display:grid;box-shadow:inset 0 2px #8da77c}.ERDrwW_dpad button[data-direction=up]{border-bottom:0;border-radius:5px 5px 0 0;grid-area:1/2}.ERDrwW_dpad button[data-direction=left]{border-right:0;border-radius:5px 0 0 5px;grid-area:2/1}.ERDrwW_dpad button[data-direction=right]{border-left:0;border-radius:0 5px 5px 0;grid-area:2/3}.ERDrwW_dpad button[data-direction=down]{box-shadow:none;border-top:0;border-radius:0 0 5px 5px;grid-area:3/2}.ERDrwW_dpad>span{background:#526f53;grid-area:2/2}.ERDrwW_dpad button[data-pressed=true]{background:#354e39;box-shadow:inset 0 2px 4px #203328}.ERDrwW_actionKeys{align-items:center;gap:18px;display:flex}.ERDrwW_actionKeys>div{flex-direction:column;align-items:center;gap:10px;display:flex}.ERDrwW_actionKeys>div:first-child{margin-top:30px}.ERDrwW_actionKeys>div:last-child{margin-bottom:25px}.ERDrwW_actionKeys button{color:#344a35;touch-action:none;background:#e4c38b;border:2px solid #efd4a0;border-radius:50%;width:54px;height:54px;font:700 23px monospace;box-shadow:0 5px #9a8158,0 7px 0 5px #1b3028}.ERDrwW_actionKeys>div:first-child button{color:#fff0d0;background:#ba765d;border-color:#dba084;box-shadow:0 5px #795343,0 7px 0 5px #1b3028}.ERDrwW_actionKeys button:active{transform:translateY(3px)}.ERDrwW_actionKeys span{letter-spacing:1px;color:#bdcba9;font:8px monospace}.ERDrwW_screen .modal-backdrop{padding:12px}.ERDrwW_screen .modal{overscroll-behavior:contain;max-height:100%;padding:24px 18px;scroll-padding:20px}.ERDrwW_screen .modal h2{padding-right:20px;font-size:18px}.ERDrwW_screen .dialogue{bottom:calc(var(--bottom) + 12px);max-width:calc(100% - 24px);max-height:calc(100dvh - var(--bottom) - 24px);padding:16px;overflow:auto}.ERDrwW_screen .battle-scene{height:180px}.ERDrwW_screen .battle-scene .sprite{width:110px!important;height:110px!important}.ERDrwW_screen .battle-info{margin-top:15px}.ERDrwW_screen .battle-message{min-height:0;margin:8px 0;padding:10px;font-size:11px}.ERDrwW_screen .battle-actions{gap:7px;margin-top:10px}.ERDrwW_screen .battle-actions button{min-height:44px;padding:9px;font-size:11px}.ERDrwW_menuOptions{gap:8px;margin:16px 0}.ERDrwW_menuOptions button{min-height:48px;padding:13px 10px;font-size:12px}.ERDrwW_menuOptions small{font-size:9px}.ERDrwW_menuSummary{font-size:10px}}@media (max-height:700px) and (orientation:portrait) and (max-width:600px){.ERDrwW_screen{--dock:165px}.ERDrwW_controller{padding-top:26px;padding-bottom:calc(10px + env(safe-area-inset-bottom))}.ERDrwW_dpad{width:120px;height:120px}.ERDrwW_controllerBrand{top:7px}.ERDrwW_screen .battle-scene{height:130px}.ERDrwW_screen .battle-scene .sprite{width:85px!important;height:85px!important}}@media (orientation:landscape) and (max-height:600px) and (pointer:coarse),(orientation:landscape) and (max-height:450px){.ERDrwW_screen{--dock:0px;--edge:10px}.ERDrwW_controller{height:142px;padding:10px max(18px, env(safe-area-inset-right)) max(12px, env(safe-area-inset-bottom)) max(18px, env(safe-area-inset-left));pointer-events:none;background:0 0;border:0;display:flex;inset:auto 0 0}.ERDrwW_controllerBrand{display:none}.ERDrwW_controller .ERDrwW_dpad,.ERDrwW_controller .ERDrwW_actionKeys{pointer-events:auto;opacity:.9}.ERDrwW_dpad{width:120px;height:120px}.ERDrwW_actionKeys button{width:48px;height:48px}.ERDrwW_actionKeys{gap:14px}.ERDrwW_actionKeys span{color:#fdf4da;text-shadow:0 1px 3px #203328}.ERDrwW_lead{display:none}.ERDrwW_toast{max-width:calc(100% - 340px);font-size:9px;bottom:12px;left:50%;transform:translate(-50%)}.ERDrwW_screen .modal-backdrop{padding:10px 155px}.ERDrwW_screen .modal{padding:20px 16px}.ERDrwW_screen .dialogue{width:calc(100% - 320px);max-width:600px;bottom:15px}.ERDrwW_screen .battle-scene{height:100px}.ERDrwW_screen .battle-scene .sprite{width:85px!important;height:85px!important}.ERDrwW_screen .battle-info{margin-top:8px}.ERDrwW_screen .battle-info h2{font-size:15px}.ERDrwW_screen .modal .eyebrow{font-size:8px}.ERDrwW_menuOptions{grid-template-columns:1fr 1fr}.ERDrwW_menuOptions button{padding:10px;font-size:11px}.ERDrwW_menuOptions small,.ERDrwW_keyHints{display:none}}@media (max-width:360px){.ERDrwW_controller{gap:12px;padding-left:18px;padding-right:18px}.ERDrwW_dpad{width:120px;height:120px}.ERDrwW_actionKeys{gap:12px}.ERDrwW_actionKeys button{width:50px;height:50px}.ERDrwW_controllerBrand{left:18px;right:18px}.ERDrwW_controllerBrand small{font-size:5px}}@media (max-width:600px),(pointer:coarse){.ERDrwW_screen:has(input:focus){--dock:0px}.ERDrwW_screen:has(input:focus) .ERDrwW_controller{display:none}}
