:root{color-scheme:dark;--paper:#f4f8f6;--gold:#ffd17b;--glass:#102b3ccd;--enemy:#e77768;font-family:"Hiragino Kaku Gothic ProN","Yu Gothic",Meiryo,sans-serif}*{box-sizing:border-box}body{margin:0;background:#748b99;color:var(--paper);overflow:hidden}button,input,select{font:inherit}button{cursor:pointer;color:inherit;transition:background .15s,transform .15s}button:focus-visible,a:focus-visible{outline:3px solid var(--gold);outline-offset:5px}button:hover{filter:brightness(1.1)}button:active{transform:translateY(2px)}[hidden]{display:none!important}#game{display:block;width:100vw;height:100vh;touch-action:none}#vignette{position:absolute;inset:0;pointer-events:none;box-shadow:inset 0 0 90px #18334040}.screen{position:absolute;inset:0;z-index:20}#title{background:linear-gradient(90deg,#142c3cea 0%,#173141c9 28%,#1b384b10 75%);display:flex;align-items:center;padding:4vh 6vw}.intro{width:520px}.edition{font-size:13px;letter-spacing:.08em;color:#b4d3da}h1{font-size:clamp(52px,6.2vw,94px);font-weight:900;line-height:1.06;margin:21px 0 25px;letter-spacing:-.06em;text-shadow:0 3px 8px #0c26355a}h1 span{display:block;font-family:Arial,sans-serif;font-size:13px;font-weight:400;letter-spacing:.16em;margin-top:14px}.hook{font-size:21px;letter-spacing:.06em;margin:0 0 30px}.brief{border-left:3px solid var(--gold);padding-left:15px;margin-bottom:25px;font-size:15px}.brief p{margin:7px 0;color:#c6d7da;font-size:13px}.primary{background:var(--gold);border:0;border-radius:3px;color:#173345;padding:17px 24px;font-weight:800;width:270px;text-align:left;font-size:17px}.primary span{float:right}.secondary{background:#304c5c;border:1px solid #78909c;border-radius:3px;padding:13px 20px;margin-top:12px;display:block;width:270px;text-align:left}.keys{display:flex;flex-wrap:wrap;gap:14px 19px;width:440px;margin-top:23px;font-size:12px;color:#d3e0e2}.keys kbd{display:inline-block;border-bottom:2px solid #95acb6;padding:4px 7px;background:#3a53616b;border-radius:2px;color:#fff}.small{font-size:11px;line-height:1.8;color:#b2c6ce;margin-top:22px}.plain{background:none;border:0;padding:0;font-size:12px;text-decoration:underline;text-underline-offset:4px;color:#d3e0e2}.title-scale{position:absolute;right:6vw;bottom:8vh;display:flex;flex-direction:column;align-items:flex-end;color:#fff;text-shadow:0 1px 5px #173344}.title-scale b{font-size:70px;line-height:1.2}.title-scale b span{font-size:20px}.title-scale b #previewHeight{font-size:inherit}.title-scale>span{font-size:12px}.title-scale i{height:2px;width:150px;background:#ffd17b;margin:15px 0}.modal{background:#102837b8;display:flex;align-items:center;justify-content:center;backdrop-filter:blur(6px)}.dialog{background:#203c4eed;padding:34px 40px;border-top:3px solid var(--gold);max-width:min(600px,94vw);box-shadow:0 20px 80px #09273980;border-radius:5px}.dialog h2{font-size:34px;margin:12px 0 18px;letter-spacing:-.04em}.dialog>p{font-size:14px;line-height:1.9}.dialog small{color:var(--gold)}.dialog .primary,.dialog .secondary{width:100%}.settings{display:flex;flex-direction:column;gap:16px;margin:22px 0;font-size:13px}.settings label{display:flex;justify-content:space-between;gap:35px}.settings input{accent-color:var(--gold)}select{background:#284959;border:1px solid #90aeb9;padding:4px 8px}.credits{max-width:650px}.credits a{color:var(--gold)}#hud{position:absolute;inset:0;pointer-events:none}.mission{position:absolute;left:28px;top:25px;text-shadow:0 2px 4px #153448;background:linear-gradient(90deg,#102f48c7,#15354800);padding:13px 40px 14px 15px}.mission small{display:block;color:#c3d9e1;font-size:11px}.mission>b{display:block;margin:4px 0;font-size:21px}#kills{color:var(--gold);font-size:23px;letter-spacing:3px}#kills span{font-size:13px;letter-spacing:0;color:#fff;margin-left:10px}#timer{font-size:11px;color:#aec5d1;display:block;margin-top:4px}.radar{position:absolute;right:26px;top:25px;width:190px;background:#123345c9;padding:11px;border:1px solid #98b4c260;border-radius:4px}.radar>div{display:flex;justify-content:space-between;font-size:10px;color:#c5d6de}.radar canvas{width:168px;height:168px;display:block;margin-top:5px}.radar b{font-weight:400}.self{position:absolute;left:32px;bottom:71px;width:265px;background:linear-gradient(90deg,#163549c9,#16354900);padding:12px 16px}.self>span{font-size:11px;display:block;color:#bdced8}.self>b{font-size:35px;display:block;margin:2px 0}.bar{height:5px;background:#bdd1db33;overflow:hidden}.bar i{display:block;width:100%;height:100%;background:#b3e4df;transition:width .09s}#cover{font-size:12px;display:block;margin-top:10px;color:#c1e4dd}.weapons{position:absolute;right:33px;bottom:75px;width:240px;padding:13px 16px;background:#163549c9;border-radius:4px;font-size:12px}.weapons>b{font-size:13px;display:block;margin-bottom:9px}.weapons b span{font-size:10px;float:right;font-weight:400}.heat i{background:var(--gold);width:0}.heavy{margin-top:8px}.heavy i{background:#9cdae3}#heavyText{display:block;margin-top:15px}.controls{position:absolute;bottom:22px;left:50%;transform:translateX(-50%);display:flex;gap:17px;white-space:nowrap;font-size:11px;text-shadow:0 2px 6px #051d2f;background:#1531447f;padding:9px 15px;border-radius:3px}#hud button{pointer-events:auto;position:absolute;bottom:20px;background:#143248b3;border:1px solid #9cb6c34f;border-radius:3px;padding:8px 10px;font-size:11px}#pauseBtn{left:26px}#audioBtn{right:26px}#reticle{position:absolute;left:50%;top:50%;width:36px;height:36px;transform:translate(-50%,-50%)}#reticle i{position:absolute;background:#f5fdff;box-shadow:0 0 4px #345a71}#reticle i:nth-child(1){width:8px;height:2px;left:0;top:17px}#reticle i:nth-child(2){width:8px;height:2px;right:0;top:17px}#reticle i:nth-child(3){height:8px;width:2px;left:17px;top:0}#reticle i:nth-child(4){height:8px;width:2px;left:17px;bottom:0}#reticle:after{content:"";width:3px;height:3px;position:absolute;background:#fff;top:16px;left:16px}#hitmark{position:absolute;inset:-7px;border:2px solid var(--gold);opacity:0;transform:rotate(45deg)}#targetInfo{position:absolute;left:50%;top:calc(50% + 38px);transform:translateX(-50%);font-size:12px;text-align:center;min-width:180px;text-shadow:0 2px 4px #143246}#targetInfo .bar{width:170px;margin:8px auto;height:4px}#targetInfo .bar i{background:var(--gold)}#notice{position:absolute;left:50%;top:18%;transform:translateX(-50%);background:#163747cf;border-top:2px solid var(--gold);border-radius:3px;padding:12px 24px;font-size:15px;opacity:0;transition:opacity .2s;text-align:center;max-width:65vw}.marker{position:absolute;transform:translate(-50%,-100%);text-align:center;text-shadow:0 1px 4px #143246;font-size:11px;color:#ffd7c4;white-space:nowrap}.marker b{display:block;font-size:12px;margin-bottom:5px}.marker .bar{width:78px;height:4px;margin:auto}.marker .bar i{background:var(--enemy)}.marker .distance{display:block;margin-top:5px}.edge-marker{background:#823f37bb;padding:7px 12px;border-radius:3px}#resultStats{display:flex;gap:28px;border-top:1px solid #668595;margin:22px 0;padding-top:18px;font-size:12px;color:#bdd4dd}#resultStats b{font-size:24px;color:#fff;display:block;margin:6px 0 12px}@media(max-height:720px){#title{padding-top:3vh;padding-bottom:3vh}h1{font-size:64px;margin:16px 0 20px}.hook{margin-bottom:22px}.small{margin-top:16px}.keys{margin-top:18px}}@media(max-width:900px){.controls{gap:9px;font-size:9px;bottom:12px}.radar{width:145px;right:15px}.radar canvas{width:123px;height:123px}.self{left:20px;bottom:58px;width:220px}.weapons{right:20px;bottom:58px;width:200px}.intro{max-width:65vw}h1{font-size:58px}.keys{width:100%}.title-scale{right:5vw}.dialog{padding:24px 30px}.mission{left:15px;top:15px}#notice{top:24%}}@media(prefers-reduced-motion:reduce){*{transition:none!important}}

.jump-status{display:flex;justify-content:space-between;align-items:center;margin-top:12px;padding-top:10px;border-top:1px solid #d9fff327;font-size:12px;color:#c8e6e1}.jump-status b{font-size:13px;letter-spacing:3px}.jump-status kbd{font-size:10px;letter-spacing:0;border:1px solid #c8e6e140;padding:2px 4px;border-radius:3px}.weapons .shock{margin-top:5px}.weapons .shock i{background:#e2c795}.weapons>span{display:block;margin-top:9px}.controls{gap:12px;font-size:11px}.keys{flex-wrap:wrap;max-width:440px}.keys span{white-space:nowrap}.intro .brief{max-width:440px}.title-scale{right:7%}@media(max-width:1100px){.controls{gap:7px;font-size:10px}.self{width:235px}.weapons{width:225px}.radar{width:150px}.controls span:nth-child(4){display:none}}

#roofAlert{position:absolute;top:26%;left:50%;transform:translateX(-50%);background:#632e27ed;color:#ffe1b2;border:1px solid #ff9a70;padding:10px 18px;font-size:14px;font-weight:700;white-space:nowrap;animation:warningPulse .5s infinite alternate}.weak-text{color:#ffda8c!important}.marker.staggered{background:#79602be8;border:1px solid #ffdf98}.marker.attacking{background:#833e30e8}.marker.staggered .bar i{background:#ffde8d}#resultStats{flex-wrap:wrap}@keyframes warningPulse{to{box-shadow:0 0 24px #ffab7055}}

#wideText{display:block;margin-top:14px}.wide{margin-top:8px}.wide i{background:#ffd177}#chargeAlert{position:absolute;left:50%;bottom:115px;transform:translateX(-50%);max-width:34vw;padding:10px 16px;background:#3b3224e8;border:1px solid #ffd177;color:#ffe5a9;font-size:13px;text-align:center}
.dialog{max-height:92vh;overflow-y:auto}

#attackFlash{position:absolute;inset:0;pointer-events:none;opacity:0;mix-blend-mode:screen}#hud{z-index:2}

#posture{display:block;margin:10px 0 4px;color:#d0e2e4;font-size:11px}#posture.active{color:#82eed2}#regenAlert{position:absolute;left:50%;top:29%;transform:translateX(-50%);padding:10px 16px;border:1px solid #82eed2;background:#163f38d9;color:#c4fff0;font-size:12px;white-space:nowrap;pointer-events:none}

/* Type selection keeps the attack shape visible before the first sortie. */
#title{padding:3vh 5vw;background:linear-gradient(90deg,#142c3cf5 0%,#173141db 43%,#1b384b10 90%);overflow-y:auto}.intro{width:920px;max-width:78vw}.intro h1{font-size:clamp(34px,3.6vw,55px);margin:15px 0 22px;letter-spacing:-.05em}.intro h1 span{margin-top:8px;font-size:11px}.pick-header{display:flex;align-items:baseline;justify-content:space-between;margin:0 0 12px;gap:15px}.pick-header>b{font-size:23px}.pick-header>span{font-size:11px;color:#bed4d8}#typePicker{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:11px}.type-card{position:relative;text-align:left;border:1px solid #8ca9b963;border-top:3px solid var(--type);border-radius:4px;background:#102c3cf0;padding:12px 14px;min-width:0}.type-card[aria-pressed=true]{background:#264c5af2;border-color:var(--type);box-shadow:inset 0 0 0 1px var(--type),0 0 20px #061f3055}.type-card[aria-pressed=true]:after{content:'✓ 選択中';position:absolute;right:11px;top:13px;font-size:11px;color:var(--type)}.type-letter{display:block;color:var(--type);font:800 25px Arial}.type-card svg{display:block;width:100%;height:77px;overflow:visible;margin:2px 0 8px}.titan-icon{fill:#c8d5d6}.weapon-icon{fill:var(--type)}.attack-area{fill:var(--type);fill-opacity:.13;stroke:var(--type);stroke-width:1}.attack-line{fill:none;stroke:var(--type);stroke-width:2}.type-card>b{display:block;font-size:21px;color:#f1f7f7}.type-skill{display:block;font-size:12px;color:var(--type);font-weight:700;margin:7px 0}.type-card>small{display:block;font-size:10px;color:#c0d4db;line-height:1.6}.type-stats{display:grid;grid-template-columns:1fr 1fr;gap:4px 6px;border-top:1px solid #adc9ce2e;margin-top:12px;padding-top:9px;font-size:10px;color:#d0dfe3}#pickHint{font-size:12px;color:#c3d9df;margin:14px 0}.primary:disabled{cursor:default;filter:none;background:#57707c;color:#bfced3}.intro .primary{width:300px}.intro .keys{max-width:690px;width:100%;gap:9px 16px;margin-top:17px}.intro .small{margin:14px 0 9px}.title-scale{bottom:7vh;right:5vw}.title-scale>span:first-child{color:#d1efec;margin-bottom:8px;font-size:16px}.self>#selfType{color:var(--type-color,#83e8ef);font-weight:700;font-size:13px}.marker .bar i{background:var(--type-color,#e77768)}.marker.attacking{border:1px solid var(--type-color,#ff9a70)}#wideText{color:var(--type-color,#ffd17b);font-weight:700}.type-card:focus-visible{outline-color:var(--type);outline-offset:3px}
@media(max-width:1100px){.intro{max-width:92vw;width:920px}.type-card{padding:10px}.type-card>b{font-size:19px}.type-skill{font-size:11px}.title-scale{right:3vw}.pick-header>span{font-size:10px}}
@media(max-height:720px){.intro h1{font-size:37px;margin:10px 0 15px}.type-card svg{height:56px;margin:0 0 3px}.type-card{padding:9px 12px}.type-stats{margin-top:8px;padding-top:7px}.pick-header>b{font-size:20px}.intro .primary{padding:13px 20px}.intro .keys{margin-top:12px}.intro .small{margin:8px 0 5px}#pickHint{margin:10px 0}}
@media(max-width:720px){#typePicker{grid-template-columns:repeat(2,minmax(0,1fr))}#title{align-items:flex-start;padding:20px}.intro{max-width:none;width:100%}.title-scale{display:none}.type-card{padding:9px 7px}.type-skill{font-size:10px}.type-card>b{font-size:17px}.type-card svg{height:60px}.type-stats{flex-direction:column}.pick-header{flex-wrap:wrap;gap:5px}.type-card[aria-pressed=true]:after{font-size:9px;right:6px;top:17px}}

.pad-focus{outline:3px solid #ffd17b;outline-offset:4px;}

#balance{margin-top:10px;color:#d5e6e7;font-size:11px}#balance .bar{margin-top:6px;height:4px}#balanceBar{width:0;background:#ffd177}#balance.danger{color:#ffc4b5}#crossfireAlert{position:absolute;left:50%;top:9%;transform:translateX(-50%);padding:9px 17px;border:1px solid #ffc07e;border-radius:3px;background:#593b28eb;color:#ffe2b7;font-size:13px;font-weight:700;text-align:center;max-width:42vw}#crossfireAlert.down{background:#682e29ee;color:#fff0e7;border-color:#ff897c}#incomingDirections{position:absolute;inset:0;pointer-events:none}#incomingDirections>span{position:absolute;inset:0}#incomingDirections>span:after{content:"";position:absolute;left:12px;top:-39px;border-left:6px solid transparent;border-right:6px solid transparent;border-top:12px solid #ffac82;filter:drop-shadow(0 0 5px #572b1b)}
.arena-picker{display:flex;align-items:center;flex-wrap:wrap;gap:8px 12px;margin:0 0 17px}.arena-options{display:flex;border:1px solid #8ca9b96b;border-radius:4px;overflow:hidden}.arena-choice{border:0;background:#102c3ccc;padding:9px 17px;font-size:13px;color:#bdd4d8}.arena-choice+button{border-left:1px solid #8ca9b949}.arena-choice[aria-pressed=true]{background:#ffd17b;color:#173345;font-weight:800}.arena-picker>small{font-size:11px;color:#bed4d8}.arena-picker>span{font-size:11px;color:#bdd4d8}@media(max-height:720px){.arena-picker{margin-bottom:12px;gap:7px 10px}.arena-choice{padding:7px 14px}}@media(max-width:720px){.arena-picker>span{width:100%}}

#laneStatus{display:flex;gap:5px;margin:7px 0}.lane{display:flex;align-items:center;justify-content:space-between;gap:8px;min-width:39px;padding:3px 6px;border:1px solid currentColor;border-radius:3px;font-size:11px;font-weight:700}.lane i{font-style:normal}.lane.open{color:#ff8878;background:#ff887818}.lane.blocked{color:#b3e4df;background:#b3e4df10}.lane.inactive{color:#8293a0;opacity:.45}

#healStatus{display:block;margin-top:9px;font-size:12px;letter-spacing:0;color:#c5d9d0}#healStatus.available{color:#89ffd0;font-weight:700}#healMarker{position:absolute;transform:translate(-50%,-100%);color:#c4ffe8;background:#0d493bdc;border:1px solid #77ffd0;border-radius:3px;padding:7px 10px;font-size:12px;font-weight:700;white-space:nowrap;text-shadow:0 1px 3px #053025;pointer-events:none}#healMarker.offscreen{border-style:dashed}



.type-stats>span:first-child{grid-column:1 / -1;color:var(--type);font-weight:700}

/* Pause controls stay readable at laptop sizes; resume remains pinned above the guide. */
.pause-dialog{width:min(920px,94vw);max-width:920px;padding:24px 30px;display:flex;flex-direction:column;max-height:94vh;overflow:hidden}
.pause-heading{display:flex;align-items:center;justify-content:space-between;gap:24px;flex-shrink:0}.pause-heading h2{font-size:29px;margin:5px 0 16px}.pause-heading .primary{width:auto;min-width:190px;margin:0;padding:13px 20px;font-size:15px}.pause-heading .primary span{font-size:11px;margin-left:14px;opacity:.7}
.controls-help{overflow-y:auto;min-height:0;padding-right:7px;scrollbar-color:#7da9b6 #1b3547;scrollbar-width:thin}.help-devices{display:flex;gap:6px;margin:0 0 16px}.help-devices button{background:#132f41;border:1px solid #8fb8c15e;border-radius:4px;padding:9px 16px;font-size:12px;color:#bed7df}.help-devices button[aria-pressed=true]{background:#b5e9e3;border-color:#b5e9e3;color:#153542;font-weight:800}.help-devices button:focus-visible{outline:2px solid var(--gold);outline-offset:3px}
.help-groups{display:grid;grid-template-columns:1fr 1fr;gap:14px 26px}.help-group h3{margin:0 0 8px;color:#95d9df;font-size:12px;font-weight:700;letter-spacing:.08em}.help-row{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:44px;padding:6px 0;border-bottom:1px solid #c5dfe316}.help-row b{font-size:13px;font-weight:600}.help-row small{display:block;color:#9dbac7;font-size:10px;line-height:1.5;margin-top:2px}.help-row kbd{font:600 12px system-ui,sans-serif;background:#122b3c;border:1px solid #6b939f66;border-bottom:3px solid #6b939f66;border-radius:4px;color:#effffc;padding:6px 9px;white-space:nowrap}.help-special{display:flex;justify-content:space-between;gap:16px;align-items:center;border-left:3px solid var(--gold);background:#d7b06312;padding:10px 12px;margin-top:16px}.help-special b{font-size:12px;color:var(--gold)}.help-special span{font-size:12px;color:#dae9e9}.help-tactics{display:flex;justify-content:space-between;gap:14px;flex-wrap:wrap;font-size:11px;color:#b1cbd6;padding:12px 0 3px}
.pause-footer{flex-shrink:0;border-top:1px solid #c5dfe325;margin-top:16px;padding-top:14px;display:flex;gap:24px;align-items:center;justify-content:space-between}.pause-actions{display:flex;gap:8px}.pause-footer .secondary{width:auto;min-width:0;font-size:12px;margin:0;padding:10px 14px}.pause-footer .settings{margin:0;font-size:11px;gap:10px}.pause-footer .settings label{gap:15px}.pause-footer input{width:110px}
@media(max-height:720px){.pause-dialog{padding:18px 24px}.help-devices{margin-bottom:10px}.help-row{min-height:39px}.help-special{margin-top:10px}.help-tactics{padding-top:9px}.pause-footer{margin-top:11px;padding-top:11px}.pause-heading h2{font-size:25px;margin-bottom:12px}}
@media(max-width:720px){.pause-dialog{padding:18px}.help-groups{grid-template-columns:1fr;gap:16px}.help-devices{flex-wrap:wrap}.help-devices button{padding:8px 12px}.pause-heading{gap:12px}.pause-heading .primary{min-width:0;padding:12px;font-size:12px}.pause-heading .primary span{display:none}.help-special,.pause-footer{align-items:flex-start;flex-direction:column;gap:12px}.pause-actions{flex-wrap:wrap}.pause-footer .settings{width:100%;flex-direction:row;flex-wrap:wrap}}
@media(min-width:721px) and (max-height:720px){.help-row{padding:4px 0}.help-row>div{line-height:1.3}.help-special{margin-top:8px}.help-tactics{padding-top:8px}}

#smokeHaze{position:absolute;inset:0;z-index:2;background:radial-gradient(ellipse at 50% 55%,#2c3032,#161a1d);opacity:0;pointer-events:none} .lane.smoked{color:#c8c1b4;border-color:#c8c1b488;background:#8b827333}

.trample-legend{display:flex;align-items:center;gap:6px;padding:7px 0 0;color:#f6d0a2;font-size:10px;white-space:nowrap}.trample-legend i{display:grid;place-items:center;width:16px;height:16px;background:#e6a254;color:#203441;font-size:16px;font-style:normal;font-weight:900}.trample-legend b{margin-left:auto;font-size:10px}

#modeHint{font-size:12px;color:#c7e5df;margin:12px 0 15px}

/* The opening stays visible before the class picker, without a modal or delay. */
#title{align-items:flex-start}.intro{margin-block:auto}.opening-brief{margin:0 0 15px}.opening-brief>p{font-size:clamp(16px,1.6vw,21px);font-weight:700;line-height:1.6;margin:0 0 9px;color:#f4f8f6}.opening-brief strong{color:#ffd17b}.brief-steps{display:flex;align-items:center;gap:12px;font-size:12px;color:#c9dfe2}.brief-steps>span{display:flex;align-items:center;gap:6px}.brief-steps>b{color:#7196a4;font-weight:400}.brief-steps svg{width:22px;height:22px;flex-shrink:0;fill:none;stroke:#a7e7df;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}@media(max-height:720px){.opening-brief{margin-bottom:12px}.opening-brief>p{font-size:18px;margin-bottom:7px}.brief-steps{font-size:11px;gap:10px}.brief-steps svg{width:19px;height:19px}}@media(max-width:720px){.opening-brief>p{font-size:17px}.brief-steps{display:grid;grid-template-columns:1fr auto 1fr auto 1fr;gap:5px;font-size:10px}.brief-steps>span{align-items:flex-start;gap:4px}.brief-steps svg{width:17px;height:17px}}

/* Language selection is available before deployment; changing language never
   interrupts an active match. English labels have their own compact spacing. */
.language-picker{position:absolute;right:24px;top:18px;display:flex;gap:3px;padding:4px;border:1px solid #a8cbd65e;background:#102b3ce8;border-radius:6px;z-index:2}
.language-picker button{font:600 12px system-ui,sans-serif;background:transparent;border:0;border-radius:3px;padding:7px 12px;color:#bed5de}
.language-picker button[aria-pressed=true]{background:#b5e9e3;color:#173345}
html:lang(en){font-family:Inter,system-ui,-apple-system,sans-serif}
html:lang(en) .intro h1{font-size:clamp(34px,4.6vw,62px);letter-spacing:-.045em;line-height:.95;margin:10px 0 18px}
html:lang(en) .intro h1 span{font-size:11px;letter-spacing:.17em;line-height:1.4}
html:lang(en) .opening-brief>p{font-size:19px;line-height:1.35}
html:lang(en) .type-skill,html:lang(en) .type-card>small{white-space:normal;line-height:1.45}
html:lang(en) .type-card>b{font-size:18px}
html:lang(en) .type-card[aria-pressed=true]:after{content:"SELECTED";font-size:9px}
html:lang(en) .pick-header{font-size:12px}
html:lang(en) .pick-header>span{font-size:10px}
html:lang(en) .trample-legend{font-size:9px;gap:4px;white-space:normal}
html:lang(en) #notice{font-size:13px}
html:lang(en) .help-special{flex-wrap:wrap}
html:lang(en) .controls{gap:12px;font-size:10px}
html:lang(en) #resultStats{gap:18px;flex-wrap:wrap}
@media(max-height:760px) and (min-width:721px){html:lang(en) .intro h1{font-size:38px;margin:8px 0 12px}html:lang(en) .opening-brief>p{font-size:17px}html:lang(en) .type-card>b{font-size:16px}html:lang(en) .type-skill{font-size:10px}}
@media(max-width:720px){.language-picker{position:relative;right:auto;top:auto;align-self:flex-end;margin:0 0 12px}#title{flex-direction:column}html:lang(en) .intro h1{font-size:clamp(32px,8vw,48px)}html:lang(en) .type-card>b{font-size:17px}html:lang(en) .brief-steps{font-size:9px}html:lang(en) .brief-steps>span{flex-direction:column}html:lang(en) .controls{white-space:normal;max-width:70vw;flex-wrap:wrap}}
