/* Large source portraits are separate from compact gameplay atlases. */
.roster-art{background-image:var(--hd,var(--portrait,var(--sheet)));image-rendering:auto}
.sr-only{position:absolute!important;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.title-key-art{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.title-copy{left:7%;top:auto;bottom:7%;width:34%}
.title-copy .arcade-button{min-height:48px;font-size:clamp(16px,2cqw,32px);margin:2cqh 0;padding:1.6cqh 2cqw;border-radius:18px}
.multiplayer small{font-size:clamp(9px,.8cqw,14px)}
.title-tools{margin-top:1cqh;gap:1cqw}
.title-tools button,.title-tools a{min-height:44px;display:flex;align-items:center;justify-content:center;padding:0 .7cqw;font-size:clamp(11px,1.2cqw,18px);background:#fff9e5dd;border-radius:12px}
.back-button{width:48px;height:48px;min-width:48px;min-height:48px;background:#fff9e5;color:#172443;border:3px solid #172443;font-size:24px!important;box-shadow:0 4px #172443}
.lobby-header{top:2%;font-size:clamp(11px,1.2cqw,20px);pointer-events:none}
.lobby-header button{pointer-events:auto}
.map-heading{top:12%;left:8%;padding:1cqh 1.5cqw;border-radius:16px;background:#fff9e5ec;color:#172443;box-shadow:0 4px 0 #17244326;text-shadow:none!important}
.map-heading .eyebrow{font-size:clamp(10px,.9cqw,16px)}
.map-heading h2{font-size:clamp(20px,2.7cqw,44px)}
.map-heading p{font-size:clamp(11px,1.1cqw,18px);margin:.7cqh 0}
.map-route{inset:31% 4% 24%}
.map-route path{stroke-width:6;stroke-dasharray:5 11;stroke-linecap:round;opacity:.8}
.map-node{width:clamp(54px,7cqw,110px);height:clamp(54px,7cqw,110px);min-width:48px;min-height:48px}
.map-node>span{width:78%;height:78%;font-size:clamp(22px,2.7cqw,42px);background:#fffbe9;box-shadow:0 5px #172443,0 9px 0 #193c5822}
.map-node small{font-size:clamp(10px,1.1cqw,17px);padding:.8cqh .8cqw;border:2px solid #17244333;top:102%;max-width:18cqw;white-space:normal;min-width:9cqw;line-height:1.15}
.map-bottom{bottom:2%;height:17%;gap:1.4cqw;padding:1cqh 1cqw;border:2px solid #ffffff88;border-radius:20px;background:#153956cc;box-shadow:0 5px 24px #07334544;backdrop-filter:blur(8px)}
.map-buddy{height:100%;min-height:48px;font-size:clamp(13px,1.4cqw,23px);padding:0 1.4cqw}
.map-buddy small{font-size:clamp(10px,.9cqw,15px)}
.map-buddy .roster-art{width:6cqw;height:100%;min-width:40px}
.land-tabs{flex:1;justify-content:center;gap:1cqw}
.land-tabs button{min-height:48px;flex:1;max-width:23cqw;border-radius:14px;padding:1cqh 1cqw;font-size:clamp(12px,1.3cqw,21px);border-width:3px;box-shadow:0 4px #0c2638}
.land-tabs button[aria-pressed=true]{background:#ffdf36;outline:2px solid #fff7b4;outline-offset:2px}
.map-tip{display:none}
.scene-skip,.scene-dialogue button{min-width:80px;min-height:44px;font-size:clamp(12px,1.2cqw,18px)}
.scene-hero,.scene-foe{filter:none}
.scene-dialogue p{font-size:clamp(15px,2cqw,30px);padding-right:80px}
.roster-footer .arcade-button{min-height:48px;font-size:clamp(13px,1.5cqw,24px)}
.roster-grid{overflow-y:auto;grid-template-rows:repeat(4,minmax(54px,1fr));padding:4px}
.roster-cell{min-height:54px}
@media(max-height:420px){.title-copy{bottom:3%;width:36%}.title-copy .arcade-button{min-height:44px;margin:1.5cqh 0;padding:1cqh 1.5cqw}.title-tools{gap:.5cqw}.title-tools button,.title-tools a{min-height:36px}.map-heading{top:5%;left:12%;padding:.6cqh 1cqw}.map-heading h2{font-size:20px}.map-heading p{font-size:10px}.map-heading .eyebrow{display:none}.map-route{top:30%;bottom:28%}.map-bottom{height:19%;left:2%;right:2%}.land-tabs button{padding:0 .5cqw;font-size:11px}.map-buddy{padding:0 .7cqw}.map-buddy small{display:none}.map-node small{font-size:9px}.scene-label{left:3%;max-width:65%;font-size:10px}.lobby-header>span{display:none}}
.map-screen{background-size:100% 100%}.map-route{inset:0}.map-route svg{display:none}.scene-hero,.scene-foe{max-width:320px}.portrait-burst{max-width:320px}.title-key-art{object-fit:fill}
.map-launch{position:absolute;z-index:4;left:50%;bottom:22%;transform:translateX(-50%);text-align:center;color:#172443;width:max-content;max-width:92%}
.map-launch p{margin:0 0 8px;padding:5px 16px;border-radius:20px;background:#fffbe9ef;font-size:clamp(11px,1.1cqw,18px);font-weight:900;box-shadow:0 2px 6px #14365422}
.map-launch-buttons{display:flex;justify-content:center;align-items:center;gap:12px}
.map-launch-buttons button{min-height:52px;border:3px solid #172443;border-radius:16px;box-shadow:0 5px #172443;color:#172443;font-weight:1000}
.map-launch-buttons>button:not(.arcade-button){min-width:56px;background:#fffbe9;font-size:26px}
#map-play{min-width:clamp(170px,23cqw,320px);font-size:clamp(23px,2.5cqw,38px);padding:6px 22px;background:#ffde36}
.map-launch-buttons button:disabled{opacity:.6;box-shadow:none;background:#e1e3d9}
.map-node.current>span{background:#ffe23d;outline:5px solid #ff4f88;outline-offset:5px;box-shadow:0 5px #172443,0 0 22px #fffbc4;transform:scale(1.09)}
.lobby-sound{width:auto;min-width:100px;padding:0 12px;border-radius:24px;font-size:clamp(11px,1cqw,16px)!important;letter-spacing:0}
.lobby-sound[aria-pressed=false]{background:#ffe23d;box-shadow:0 4px #172443,0 0 0 3px #fff9df66}
@media(max-height:450px){.map-launch{bottom:23%}.map-launch p{font-size:10px;margin-bottom:4px;padding:2px 10px}.map-launch-buttons{gap:8px}.map-launch-buttons button{min-height:44px;border-width:2px;box-shadow:0 3px #172443}.map-launch-buttons>button:not(.arcade-button){min-width:44px;font-size:22px}#map-play{min-width:160px;font-size:22px;padding:3px 18px}.lobby-sound{min-width:90px;min-height:40px;height:40px;padding:0 8px}}
.career-screen{background:linear-gradient(120deg,#074c73dd,#093f65a0),url('assets/map-sunny.png') center/cover;color:#fffdf0}.career-content{width:min(76%,950px);margin:1cqh auto;text-align:center;max-height:80cqh;overflow:auto;padding:0 8px 12px}.career-content h2{font-size:clamp(22px,3cqw,46px);margin:1cqh 0}.career-content p{font-size:clamp(11px,1.1cqw,18px);line-height:1.7}.career-actions{display:grid;gap:2cqh;width:min(100%,550px);margin:3cqh auto}.career-actions .arcade-button{padding:1.5cqh 2cqw;min-height:48px}.career-actions small{display:block;font-size:clamp(10px,1cqw,16px);margin-top:5px}.career-note{opacity:.8}.career-content form{max-width:500px;margin:4cqh auto;display:grid;gap:2cqh}.career-content label{text-align:left;font-weight:900}.career-content input{width:100%;border:3px solid #183e45;border-radius:14px;padding:14px;font:inherit;font-size:clamp(16px,1.7cqw,25px);background:#fffdf0;color:#183e45}.career-list{display:grid;gap:12px;margin:3cqh 0;max-height:45cqh;overflow:auto;padding:4px}.career-row{display:flex;gap:12px;background:#fffdf0;color:#183e45;border:3px solid #183e45;border-radius:18px;padding:10px;box-shadow:0 4px #163d47}.career-pick{flex:1;text-align:left;background:none;padding:8px}.career-pick small,.career-pick strong,.career-pick span{display:block}.career-pick strong{font-size:clamp(18px,2cqw,28px);margin:5px 0;overflow-wrap:anywhere}.career-pick small,.career-pick span{font-size:clamp(10px,1cqw,16px)}.career-delete{align-self:center;min-width:54px;min-height:44px;background:#ffe2d7;border-radius:12px;color:#913c48;font-weight:900}.career-content .danger{background:#ff737b}.career-screen .lobby-header{flex-shrink:0}@media(max-height:450px){.career-content h2{font-size:23px}.career-actions{margin:1cqh auto;gap:2cqh}.career-actions .arcade-button{font-size:19px;min-height:43px;padding:5px 18px}.career-content>p{margin:4px 0}.career-content form{margin:2cqh auto}.career-content input{padding:9px}}
.career-content{margin:13cqh auto 0;max-height:83cqh}.career-content .arcade-button{font-size:clamp(17px,1.9cqw,30px);font-weight:900}.career-content .career-actions{margin:3cqh auto}.career-content .career-actions small{font-size:clamp(10px,1cqw,16px)}@media(max-height:450px){.career-content{margin-top:14cqh;max-height:82cqh}.career-content .arcade-button{font-size:18px}.career-content .career-actions{margin:1cqh auto;gap:2cqh}}
