/* Echoes of Aether v2.2.1 — true third-person Town. Safe overlays, landscape entry. */
#eaEntranceGate[hidden]{display:none!important}
#eaEntranceGate{position:fixed;inset:0;z-index:99999;display:grid;place-items:center;padding:12px;background:radial-gradient(circle at 72% 26%,#506d6078,transparent 34%),linear-gradient(145deg,#0b1825,#172d2e 57%,#161e28);color:#f3ebd8;font:500 13px/1.6 system-ui,sans-serif;overscroll-behavior:contain}
.eaEntranceCard{width:min(570px,95vw);max-height:96dvh;overflow:auto;border:1px solid #d5b98285;padding:clamp(14px,3vh,30px);border-radius:18px;text-align:center;background:linear-gradient(140deg,#15272fe8,#142f32eb);box-shadow:0 18px 60px #0009}
.eaEntranceGlyph{font:56px Georgia,serif;line-height:1;color:#f3cc83}.eaEntranceCard>small{color:#dbcb9f;font-weight:900;letter-spacing:.2em;font-size:10px}.eaEntranceCard h1{font:800 clamp(27px,5.4vw,48px) Georgia,serif;letter-spacing:.04em;margin:8px 0}.eaEntranceCard h1 em{font-style:normal;color:#ddba7a}.eaEntranceDivider{height:1px;background:linear-gradient(90deg,transparent,#dfc48d,transparent);margin:12px auto;max-width:360px}.eaEntranceCard h2{font-size:clamp(11px,1.8vw,15px);letter-spacing:.17em;color:#a5d4d5;margin:10px 0}.eaEntranceCard p{margin:8px 0 16px;color:#cdd9d1;font-size:12px}.eaEntranceCard button{width:min(420px,100%);padding:12px;border-radius:11px;border:1px solid #f0d7a7;background:linear-gradient(130deg,#e2c58c,#aa8955);color:#172a2c;font:900 13px system-ui;cursor:pointer;min-height:48px;touch-action:manipulation}.eaEntryInfo{color:#aac1bd;font-size:10px;margin-top:12px}
#tpPracticeAttack{display:none;position:fixed;z-index:11;right:clamp(160px,19vw,260px);bottom:max(23px,env(safe-area-inset-bottom));width:70px;height:70px;border-radius:50%;border:2px solid #e9ca89;background:radial-gradient(circle at 35% 28%,#7c6648,#33322b);color:#fff2c8;box-shadow:0 7px 22px #0008;font-size:27px;font-weight:800;touch-action:none}#tpPracticeAttack small{display:block;font:900 9px system-ui}
body.inTown:not(.rpgShellMenuActive) #tpPracticeAttack{display:block}body.inChapter #tpPracticeAttack,body.inShrine #tpPracticeAttack,body.inInterior #tpPracticeAttack,body.rpgFlowGate #tpPracticeAttack{display:none!important}
body.inTown #townPrompt{bottom:29%}
body.inTown #townHud{background:linear-gradient(110deg,#0d222bcf,#1c3939bf);border-color:#d8bd8b91}
body.inTown #townMinimap{background:#10282fdc;border-color:#d2bd9099}
body.inTown #scene{touch-action:none;user-select:none}
@media (pointer:coarse) and (orientation:landscape){#tpPracticeAttack{right:clamp(145px,19vw,230px);bottom:max(12px,env(safe-area-inset-bottom));height:57px;width:57px;font-size:21px}#tpPracticeAttack small{font-size:7px}.eaEntranceCard{padding:10px 18px}.eaEntranceGlyph{font-size:32px}.eaEntranceCard h1{margin:3px 0}.eaEntranceCard p{margin:3px 0 8px}.eaEntryInfo{margin-top:7px}.eaEntranceDivider{margin:5px auto}}
@media(max-height:400px){.eaEntranceCard h1{font-size:28px}.eaEntranceCard h2{margin:3px 0}.eaEntranceCard button{padding:8px;min-height:38px}}
