
:root{--ink:#e5e8e7;--muted:#91a4af;--gold:#e5bd77;--line:#354751;--panel:#111e28;--blue:#67cfdf;--warm:#f09867}*{box-sizing:border-box}body{margin:0;background:#070c12;color:var(--ink);font:14px "Segoe UI","Microsoft YaHei",sans-serif;overflow:hidden}button{font:inherit;color:inherit;cursor:pointer;transition:background .18s,border-color .18s,transform .18s}button:hover{filter:brightness(1.15)}button:focus-visible{outline:2px solid var(--gold);outline-offset:3px}#shell{position:absolute;left:50%;top:50%;width:1280px;height:720px;transform-origin:center;overflow:hidden;background:#101c27}#scene,#fx{position:absolute;inset:0;width:1280px;height:720px}#fx{pointer-events:none}#brand{position:absolute;top:36px;left:44px;pointer-events:none}#brand h1{margin:0;color:#f2d4a1;letter-spacing:7px;font:38px Georgia,serif}#brand small{display:block;margin-top:7px;color:#93a7b2;letter-spacing:4px;font-size:11px}.version{position:absolute;right:36px;top:18px;color:#8397a3;font-size:10px;letter-spacing:2px}#menu{position:absolute;inset:0;pointer-events:none}#menu button,#menu input{pointer-events:auto}.menu-panel{position:absolute;right:28px;top:62px;width:330px;bottom:30px;border:1px solid #3b4a50;border-radius:16px;background:linear-gradient(145deg,rgba(24,39,49,.98),rgba(12,23,33,.98));padding:26px;box-shadow:0 20px 60px #0005}.eyebrow{font-size:10px;letter-spacing:2.3px;color:var(--gold);font-weight:700}.menu-panel h2{font:30px Georgia,serif;margin:9px 0 9px}.muted{color:var(--muted);line-height:1.6}.tiny{font-size:11px}.hr{height:1px;background:#2c414b;margin:19px 0}.class-button{width:100%;text-align:left;padding:14px 16px;background:#14232e;border:1px solid #324a57;border-radius:9px;margin:7px 0;display:block}.class-button.active{background:#3a332c;border-color:var(--gold)}.class-button strong{display:block;font-size:15px;letter-spacing:1px}.class-button span{display:block;color:#a4b4be;font-size:11px;margin-top:6px}.primary{display:block;width:100%;background:#dfb878;color:#151c21;border:1px solid #efd9b0;padding:15px;border-radius:8px;font-weight:800;letter-spacing:2px}.secondary{background:#172833;border:1px solid #3d535d;padding:11px 18px;border-radius:8px}.wide{width:100%;margin-top:9px}.hero-picker{position:absolute;top:586px;width:260px;padding:14px;border:1px solid #3a4a53;background:rgba(14,25,35,.92);border-radius:10px;text-align:center;letter-spacing:2px}.hero-picker.active{border-color:var(--gold);background:rgba(49,44,34,.92)}#pickMale{left:119px}#pickFemale{left:497px}.hero-picker small{display:block;margin-top:5px;font-size:10px;color:#a4b7c0;letter-spacing:1px}.menu-note{position:absolute;left:45px;bottom:24px;color:#8eabb7;font-size:11px;letter-spacing:.2px}.model-note{position:absolute;left:46px;top:130px;font-size:11px;color:#9cafb9;line-height:1.8}.selected-pill{display:inline-block;padding:4px 9px;border:1px solid #3b5862;border-radius:5px;font-size:10px;color:#a7d4d9}.record{margin-top:18px;font-size:11px;color:#91a5ae}.hidden{display:none!important}#hud{position:absolute;inset:0;pointer-events:none}.hud-panel{border:1px solid #43555b;background:rgba(10,22,30,.90);border-radius:10px;backdrop-filter:blur(4px)}#vitals{position:absolute;left:24px;top:22px;width:290px;padding:14px 17px}.hud-name{display:flex;align-items:center;justify-content:space-between;font-weight:700;font-size:13px;letter-spacing:1px}.bar{height:9px;background:#0b1017;border:1px solid #293945;border-radius:5px;overflow:hidden;margin-top:10px}.bar>i{display:block;height:100%;width:100%;background:linear-gradient(90deg,#b44b52,#ef8e78)}.xp>i{background:linear-gradient(90deg,#398899,#8fdee4)}.bar-label{display:flex;justify-content:space-between;margin-top:5px;font-size:10px;color:#a4b5bd}#objective{position:absolute;top:22px;left:442px;width:396px;padding:12px 20px;text-align:center}#clock{font-size:25px;letter-spacing:4px;color:#ebd3ac;font-weight:300}#objectiveText{font-size:11px;margin-top:3px;color:#9fb4bd}#counters{position:absolute;right:24px;top:22px;width:192px;padding:12px 18px;display:flex;justify-content:space-between}#counters strong{display:block;color:var(--gold);font-size:21px;margin-top:2px}.metric-label{font-size:9px;letter-spacing:1.7px;color:#9db0ba}#bossBar{position:absolute;top:107px;left:404px;width:472px;padding:10px 18px;text-align:center}#bossBar .bar>i{background:linear-gradient(90deg,#7b3b73,#d47b9b)}#bottom{position:absolute;bottom:22px;left:24px;right:24px;display:flex;align-items:flex-end;justify-content:space-between}.skill-row{display:flex;gap:9px}.skill{min-width:132px;padding:10px 13px}.skill kbd{background:#293c47;color:var(--gold);border:1px solid #5e6a6a;border-radius:4px;padding:2px 7px;margin-right:6px;font-family:inherit}.skill small{display:block;color:#9eb4bc;font-size:10px;margin-top:6px}.instructions{color:#9db1bb;font-size:11px;background:#0b1920cc;padding:10px 14px;border-radius:8px}#toast{position:absolute;left:50%;top:155px;transform:translateX(-50%);padding:10px 22px;background:#192c37ed;border:1px solid #55646a;border-radius:8px;color:#efd4a1;pointer-events:none;font-size:13px;white-space:nowrap}.overlay{position:absolute;inset:0;background:rgba(4,9,14,.83);display:flex;align-items:center;justify-content:center;z-index:10;backdrop-filter:blur(5px)}.modal{max-width:940px;text-align:center;padding:30px;border-radius:18px;border:1px solid #45545b;background:linear-gradient(160deg,#182934,#0c1720);box-shadow:0 30px 100px #0008}.modal h2{font:35px Georgia,serif;color:#f0d4a3;letter-spacing:2px;margin:12px 0}.cards{display:flex;gap:18px;margin:28px 0 12px}.card{width:250px;min-height:215px;padding:24px 20px;border:1px solid #405964;border-radius:11px;background:linear-gradient(160deg,#203845,#14232e);text-align:left}.card:hover{transform:translateY(-6px);border-color:var(--gold)}.card .glyph{font-size:35px;color:var(--gold)}.card h3{font-size:18px;margin:18px 0 10px}.card p{font-size:12px;color:#b4c6ce;line-height:1.7;min-height:45px}.card .key{font-size:10px;color:#d0af76}.modal.narrow{width:440px}.result-grid{display:flex;justify-content:space-around;margin:25px 0}.result-grid strong{display:block;font-size:27px;color:#edd2a1}.result-grid span{color:#97adb8;font-size:11px}.row{display:flex;gap:10px;justify-content:center;margin-top:12px}.row button{flex:1}#error{position:absolute;inset:70px;background:#17212d;border:1px solid #d47762;padding:35px;z-index:100;line-height:1.8;overflow:auto}#sound{position:absolute;right:24px;bottom:22px;z-index:2}.hotkeys{margin-top:14px;color:#9aacb6;font-size:11px}#loading{position:absolute;inset:0;z-index:99;display:flex;align-items:center;justify-content:center;background:#0e1b26;color:#e3c591;letter-spacing:3px}

/* Duskwood presentation overrides; logical canvas remains 1280 x 720. */
#quality{position:absolute;right:24px;top:33px;font-size:10px;padding:6px 10px;border:1px solid #5c674b;background:#13251ec9;color:#c7d1b1;border-radius:4px;z-index:8;cursor:pointer}
#brand h1{color:#e6c792;text-shadow:0 3px 18px #0009}#brand small{color:#b3c5ab}
.menu-panel{background:linear-gradient(145deg,rgba(22,36,29,.94),rgba(9,20,16,.96));border-color:#4a5a45;box-shadow:0 18px 50px #0005}
.hud-panel{background:linear-gradient(135deg,rgba(15,31,23,.91),rgba(8,22,18,.91));border-color:#52614a}
.class-button{background:#13251ee0;border-color:#405644}.class-button.active{background:#3e3525e6;border-color:#dcb478}
.hero-picker{background:#13291fea;border-color:#51694c;box-shadow:0 5px 18px #0006}.hero-picker.active{background:#413820ef}
.model-note{color:#b2c4a5;text-shadow:0 2px 8px #000}.menu-note{color:#b4c6a3;text-shadow:0 2px 8px #000}
#objective{width:310px;left:485px}#clock{font-size:25px}#vitals{width:275px}#counters{min-width:172px}
#toast{background:#1c3327eb;border-color:#7b8c5c;color:#edca86}

/* V1.8 motion inspection is an actual animation preview, not concept art. */
#motionTools{position:absolute;left:118px;top:651px;width:640px;display:flex;justify-content:center;gap:8px;pointer-events:auto}
#motionTools button{border:1px solid #607057;background:#10251fe8;border-radius:5px;padding:7px 12px;font-size:11px;color:#d6c49f}
#motionTools button.active{border-color:#e8c58b;background:#493923}
#motionCaption{position:absolute;left:140px;top:555px;width:600px;text-align:center;letter-spacing:1px;font-size:11px;color:#e2c78d;text-shadow:0 2px 4px #000}
.hero-picker{top:579px;padding:12px}
#motionHUD{position:absolute;left:24px;top:151px;width:275px;padding:8px 13px;background:#10251dcc;border:1px solid #546549;border-radius:6px;font-size:10px;color:#d1bd8d;transition:opacity .16s}
#motionTrack{height:2px;background:#263b2f;margin-top:5px}#motionFill{height:2px;background:#dfb970;width:0}
.menu-note{font-size:10px;bottom:12px}

/* V1.9 six-class selector: fits the fixed 1280 x 720 layout without scrolling. */
.menu-panel{top:56px;bottom:24px;width:350px;padding:21px 22px}
.menu-panel h2{font-size:25px;margin:7px 0 8px}
.class-grid{display:grid;grid-template-columns:1fr 1fr;gap:7px;margin:13px 0 11px}
.class-button{position:relative;margin:0;padding:9px 8px 9px 32px;min-height:61px;border-radius:7px}
.class-button i{position:absolute;left:10px;top:17px;font-style:normal;color:#b3c59a;font-size:19px}
.class-button.active i{color:#f0ca89}.class-button strong{font-size:13px;letter-spacing:.3px}
.class-button small{display:block;margin-top:5px;font-size:8px;letter-spacing:.6px;color:#b0bca9}
.class-detail{min-height:120px;padding:10px 11px;margin:0 0 12px;border:1px solid #3e5140;border-radius:7px;background:#101f18b5}
#classStats{color:#d8be85;font-size:10px;letter-spacing:.3px}#classRole{font-size:11px;color:#b9c9b2;line-height:1.55;margin:7px 0}
#classSkill{color:#d2dab9;font-size:10px;line-height:1.55}.primary{padding:12px 8px;font-size:12px}
.secondary.wide{padding:9px 8px;font-size:11px;margin-top:8px}.record{font-size:10px;margin-top:12px}.hotkeys{font-size:10px;margin-top:10px;line-height:1.5}
#classStatus{color:#a7c4b0;font-size:9px;margin-top:5px;min-height:10px}.model-note{font-size:10px;max-width:780px}
#skillLabel{font-size:12px}.skill{min-width:144px}

#motionTools{left:76px;width:740px;gap:6px}#motionTools button{font-size:10px;padding:7px 9px}#previewLab{border-color:#d0af71!important;color:#e5c994!important}#identityHint{position:absolute;left:140px;top:534px;width:600px;text-align:center;font-size:10px;letter-spacing:2px;color:#b5c0a7;text-shadow:0 1px 4px #000}.model-note{top:130px}
#identityHint{left:190px;width:520px;top:529px;border-radius:4px;padding:4px;background:#0c1f17c9}#motionCaption{top:553px;line-height:20px;text-shadow:0 1px 3px #000,0 0 7px #000}

#vfxMode{position:absolute;right:202px;top:33px;padding:6px 10px;font-size:10px;border:1px solid #83734e;background:#1a291de8;color:#f0cd88;border-radius:4px;z-index:8;cursor:pointer}
#vfxMode.in-battle{right:24px;top:116px;font-size:10px;background:#0d211eea}
#vfxPause{margin-top:8px}#vfxHelp{font-size:10px;color:#9fb8a8;line-height:1.5;margin:8px 0}

/* V1.10 dungeon selection / independent from hero selection */
body.in-dungeon #bossBar{top:216px}
#dungeonOpen{position:absolute;right:23px;bottom:132px;width:225px;padding:10px;border:1px solid #c1a56c;border-radius:4px;background:linear-gradient(110deg,#1c2928,#493421);color:#f7d6a0;font-weight:700;letter-spacing:1px;z-index:5;cursor:pointer}
#dungeonOpen:hover{filter:brightness(1.18)}
#dungeonSelect{position:absolute;inset:0;z-index:25;background:#060c10e8;display:flex;align-items:center;justify-content:center;padding:24px}
#dungeonSelect.hidden{display:none!important}
.dungeon-dialog{width:940px;max-height:675px;overflow:auto;background:linear-gradient(160deg,#1c302d,#0c161c);border:1px solid #93774e;border-radius:13px;padding:23px 30px;box-shadow:0 20px 80px #000c}
.dungeon-head{display:flex;justify-content:space-between;align-items:center}.dungeon-head h2{color:#e8cca0;font:30px Georgia,serif;margin:8px 0}.dungeon-close{border:1px solid #846d4b;background:#1a2225;color:#eee;padding:9px 18px;border-radius:5px}
.dungeon-cards{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin:18px 0}.dungeon-card{border:1px solid #455954;background:#14231f;border-radius:9px;text-align:left;padding:0 0 15px;min-height:250px;overflow:hidden;cursor:pointer;color:#dce4de}.dungeon-card.selected{border-color:#f0bd66;box-shadow:0 0 0 2px #88602d inset;background:#20332c}.dungeon-art{height:85px;display:flex;align-items:center;justify-content:center;font-size:44px;background:linear-gradient(135deg,#3a553a,#182524)}.dungeon-card h3{font:20px Georgia,serif;color:#f0d5a1;margin:13px 14px 7px}.dungeon-card p,.dungeon-card small{margin:0 14px;display:block;line-height:1.6;color:#b6c5bc;font-size:12px}.dungeon-card small{color:#d0ae7c;margin-top:9px}
.dungeon-bottom{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:13px 0 0;border-top:1px solid #46574b}.dungeon-bottom select{background:#182823;color:#e9cb9c;border:1px solid #947348;padding:10px 20px;font-size:16px}.dungeon-launch{border:1px solid #f5d18a;background:linear-gradient(#f1cb83,#c99c56);color:#202018;padding:13px 28px;font-weight:800;letter-spacing:1px;cursor:pointer}
.dungeon-record{font-size:12px;color:#abbfb4;max-width:310px;line-height:1.5}
#dungeonHud{position:absolute;left:444px;top:118px;width:390px;padding:11px 16px;background:#101b20e8;border:1px solid #cba56c;border-radius:9px;color:#e9d4ae;text-align:center;z-index:3;pointer-events:none}
#dungeonHud.hidden{display:none!important}#dungeonTitle{font-weight:700;letter-spacing:1px;font-size:13px}#dungeonPhase{font-size:12px;color:#d8e6d5;margin:4px 0}#dungeonBar{height:7px;background:#253432;border-radius:3px;overflow:hidden;margin:8px 0 5px}#dungeonProgress{display:block;height:100%;width:0;background:linear-gradient(90deg,#568d7d,#ebc77f)}#dungeonTimer{font-size:12px;color:#ffc798}
@media(max-width:700px){.dungeon-cards{grid-template-columns:1fr}.dungeon-art{height:45px}.dungeon-dialog{padding:15px}}

/* V1.11 — Dungeon presentation accents */
#dungeonSelect .dungeon-card{position:relative;min-height:272px;transition:transform .2s,border-color .2s}
#dungeonSelect .dungeon-card:hover{transform:translateY(-4px)}
#dungeonSelect .dungeon-art{height:104px;position:relative;overflow:hidden;font-size:50px;text-shadow:0 3px 15px #000a}
#dungeonSelect .dungeon-art::before{content:"";position:absolute;inset:0;background:repeating-linear-gradient(110deg,transparent 0px,transparent 24px,#fff1 25px,#fff0 26px);opacity:.5}
#dungeonSelect .dungeon-card h3{font-weight:700}
#dungeonSelect .dungeon-record{min-height:35px}
#dungeonBossWarning{font-size:11px;color:#ffbb84;text-shadow:0 1px 2px #000;min-height:14px;font-weight:700}
#dungeonHud{top:121px}
.in-dungeon #bossBar{top:235px;left:450px;width:365px;padding:7px 12px}

/* V1.11 HUD: dungeon objective replaces old survival timer; boss bar sits below it. */
body.in-dungeon #objective{display:none!important}
body.in-dungeon #dungeonHud{top:20px;left:451px;width:378px;padding:8px 12px;min-height:92px;}
body.in-dungeon #dungeonHud #dungeonTitle{font-size:13px}
body.in-dungeon #dungeonHud #dungeonPhase{font-size:11px;margin:3px 0}
body.in-dungeon #dungeonHud #dungeonTimer{font-size:10px}
body.in-dungeon #dungeonHud #dungeonBossWarning{font-size:10px;min-height:12px}
body.in-dungeon #toast{top:216px}
body.in-dungeon #bossBar{top:142px;left:472px;width:338px;padding:7px 12px}

/* Keep the configurable VFX toggle away from dungeon affix tags and casting bars. */
body.in-dungeon #vfxMode.in-battle{top:auto;bottom:68px;right:25px;padding:5px 8px;font-size:9px}
body.in-dungeon #toast{top:256px}
/* V1.12 Dungeon Ascendant: stable accessibility-first timed dungeon overlays. */
#dungeonAffixPreview{font-size:11px;color:#c9d9c5;line-height:1.55;background:#15271eee;border:1px solid #647255;border-radius:7px;padding:8px 11px;margin:10px 0 13px}
#dungeonAffixDisplay{position:absolute;right:24px;top:117px;width:226px;z-index:4;pointer-events:none;background:#0c1d1bdc;border:1px solid #6c7a66;border-radius:8px;padding:9px 11px;color:#ead2ac;box-shadow:0 3px 18px #0006;line-height:1.5;font-size:11px}
#dungeonAffixDisplay .affix-heading{font-size:10px;letter-spacing:1.2px;color:#c6d8c0;margin-bottom:4px;font-weight:700}
#dungeonAffixDisplay .affix-tag{display:inline-block;margin:3px 4px 0 0;padding:3px 5px;background:#273b37;border:1px solid #77846e;border-radius:4px;font-size:10px}
#eliteCallout{position:absolute;right:24px;top:247px;width:226px;z-index:4;pointer-events:none;padding:7px 10px;border:1px solid #8c754c;border-radius:7px;background:#271e17d9;color:#f1d2a0;font-size:10px;line-height:1.4}
#bossChoreo{position:absolute;left:473px;top:195px;width:337px;z-index:4;pointer-events:none;padding:5px 9px;border:1px solid #b18b5c;border-radius:5px;background:#231b1ade;color:#ffddac;text-align:center;font-size:10px;min-height:30px}
.boss-choreo-track{display:block;height:3px;background:#40372d;border-radius:3px;margin-top:5px;overflow:hidden}
#bossChoreoFill{height:100%;background:linear-gradient(90deg,#ecbc6d,#f16b55);width:0;display:block;transition:width .06s linear}
.in-dungeon #bossBar{top:136px}
/* V1.14.5: warning text is part of objective HUD, not an optional VFX layer. */
body.in-dungeon #dungeonBossWarning{color:#ffe9a1;font-size:11px;letter-spacing:.2px;text-shadow:0 1px 3px #000,0 0 6px #6c1e00;min-height:16px}
/* V1.17 boss phase HUD: non-obstructive, stays visible at all VFX quality levels. */
#bossDepth{position:absolute;left:472px;top:181px;width:338px;z-index:4;pointer-events:none;
 padding:5px 10px;background:#10211bed;border:1px solid #859263;border-radius:6px;text-align:center;color:#dfebcf;
 text-shadow:0 1px 2px #0009;font-size:10px;line-height:1.35;box-shadow:0 3px 16px #0007}
#bossDepthPhase{font-weight:800;letter-spacing:.8px;color:#edd4a2;margin-bottom:2px}
#bossDepthHint{color:#e7deb8;min-height:13px}
#bossDepth.exposed{border-color:#e6b56d;background:#332719e9}
.boss-depth-track{background:#29352c;border-radius:3px;height:3px;margin-top:4px;overflow:hidden}
#bossDepthGauge{display:block;width:100%;height:100%;background:linear-gradient(90deg,#87976b,#efc07c);transition:width .16s linear}
body.in-dungeon #bossChoreo{top:242px;width:338px;left:472px}
.dungeon-practice{border:1px solid #b69762;border-radius:7px;color:#ead4a9;background:#253025;padding:11px 13px;white-space:nowrap;cursor:pointer;font-weight:750}.dungeon-practice:hover{background:#3c4430}
body.in-dungeon #toast{top:287px}
.boss-trophy{display:block;margin-top:7px;color:#e5c482!important;font-weight:700}

/* V1.20.2: route skip is always available. */
#routeSkip{display:block;width:100%;margin:-9px auto 15px;padding:10px 14px;border:1px solid #847653;border-radius:7px;background:#263227;color:#e9d1a2;font-weight:700;cursor:pointer}
#routeSkip:hover,#routeSkip:focus-visible{background:#3c4933;border-color:#dfbd7d}
/* V1.18 exploration UI: distinct from combat hazards; does not draw decorative danger lines. */
#routeChoice{z-index:44;background:rgba(5,10,14,.91)}
.branch-dialog{width:850px;max-width:92%;padding:30px 32px 22px;border:1px solid #ae9162;border-radius:14px;background:linear-gradient(145deg,#18251ff5,#0b1718fb);box-shadow:0 24px 70px #000b;color:#f0dfbd;text-align:center}
.branch-dialog h2{font:34px Georgia,serif;color:#f4d398;margin:9px 0}.branch-dialog p{font-size:12px;color:#aec2b6;line-height:1.55}
.branch-dialog>small{color:#a9b5a6;font-size:11px}
.branch-cards{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin:24px 0}
.branch-card{display:flex;align-items:flex-start;flex-direction:column;gap:10px;min-height:175px;border:1px solid var(--branch-color);border-radius:11px;background:linear-gradient(150deg,#27302c,#10201d);color:#e9e3d6;padding:20px;text-align:left;cursor:pointer;transition:transform .15s,background .15s}
.branch-card:hover,.branch-card:focus-visible{transform:translateY(-4px);background:#324037}.branch-card strong{font-size:20px;color:#ffe3ad}.branch-card small{color:var(--branch-color);font-weight:750;font-size:11px}.branch-card p{margin:0;color:#bdcbc5;font-size:12px}
#adventureHud{position:absolute;top:200px;left:24px;width:255px;z-index:5;pointer-events:none;background:#0b1c18e3;border:1px solid #766a48;border-radius:8px;padding:9px 12px;color:#d9e8d8;font-size:11px;box-shadow:0 4px 20px #0008}
#adventureHud>strong{display:block;color:#e6c688;font-size:11px;letter-spacing:.4px}
#adventureSeed{display:block;color:#97aeb0;font-size:9px;margin:3px 0 6px}
#adventureHud p{margin:3px 0;line-height:1.35}#adventurePrompt{display:block;margin-top:5px;padding-top:5px;border-top:1px solid #526453;color:#ffdfa0;font-weight:700}
.seed-setting{display:flex;align-items:center;gap:9px;flex-wrap:wrap;margin:8px 0;font-size:11px;color:#d0d6c2}
.seed-setting label{display:flex;align-items:center;gap:8px}.seed-setting input{width:142px;padding:7px 8px;border:1px solid #8e7d57;background:#0d201d;color:#ffe1a2;border-radius:5px}
.seed-setting button{background:#293a34;border:1px solid #74846f;border-radius:6px;padding:7px 12px;color:#f5deb0}.seed-setting #seedNote{font-size:10px;color:#99ad9d}
#bossTest{display:none!important}/* MYTHVEIL Public Demo 0.1.1: language controls independent of gameplay save. */
#mvLanguageDock{position:absolute;right:230px;top:25px;z-index:10;display:flex;align-items:center;gap:7px;background:#0b1819e9;border:1px solid #987b4c;border-radius:5px;padding:5px 9px;color:#e7cb98;font-size:10px;pointer-events:auto;box-shadow:0 5px 13px #0007}
#mvLanguageDock label{font-size:9px;letter-spacing:.8px}
#mvLanguageDock select,.mv-language-setting select,.mv-pause-language select{background:#12272b;color:#f5dbb0;border:1px solid #8a734b;border-radius:4px;padding:7px 5px;min-width:105px;max-width:140px;font:11px "Segoe UI","Microsoft YaHei",sans-serif;cursor:pointer}
#menuSettings .modal{max-height:calc(100% - 28px);overflow-y:auto;overscroll-behavior:contain}
.mv-language-setting select{min-width:136px}.mv-language-setting{background:#d9ad5320;padding:8px 10px;border:1px solid #9478435e;border-radius:5px}.mv-language-setting strong{color:#ebcf9b}.mv-language-setting small{display:block;margin-top:3px;color:#91a5ac}.mv-pause-language{display:flex;align-items:center;justify-content:center;gap:12px;margin-top:12px;padding:7px;border-top:1px solid #526550;color:#dfc18c;font-size:11px}
body:not([data-mvlanguage="zh-CN"]) #start small{display:none}
body:not([data-mvlanguage="zh-CN"]) .gender-cn{display:none}
body[data-mvlanguage="fr"] .class-button strong,body[data-mvlanguage="de"] .class-button strong{font-size:11px;letter-spacing:0}
body[data-mvlanguage="fr"] .class-button small,body[data-mvlanguage="de"] .class-button small{font-size:8px}
body[data-mvlanguage="fr"] .primary,body[data-mvlanguage="de"] .primary{letter-spacing:.4px}
#menu button,#dungeonSelect button,#campDialog button,#talentDialog button,#armoryDialog button{overflow-wrap:anywhere}
@media(max-width:850px){#mvLanguageDock{right:205px;top:29px;padding:4px}#mvLanguageDock label{display:none}}
