#menu {background:#09172a;isolation:isolate;padding:0;color:#eef9ff}
#menu::before{content:'';position:absolute;inset:0;background:linear-gradient(90deg,rgba(3,14,28,.43),transparent 60%);z-index:-1}
#menu .menu-header{position:absolute;top:24px;right:32px;left:auto;padding:0;background:none;border:0}
#menu .brand,#menu .eyebrow,#menu .menu-hint{display:none}
#menu .menu-content{position:absolute;display:block;grid-template-columns:none;max-width:none;left:clamp(30px,7.4vw,120px);top:17%;width:min(390px,36vw);margin:0;padding:0;background:none;border:0;box-shadow:none;transform:none}
#menu .menu-content>*{grid-column:auto;grid-row:auto}
#menu h1{font-family:'STKaiti','KaiTi','Noto Serif SC',serif;font-size:clamp(44px,5.4vw,80px);font-weight:900;letter-spacing:.09em;white-space:nowrap;line-height:1.35;margin:0 0 12px;text-shadow:0 4px 18px #06101d}
#menu .intro{font-size:clamp(14px,1.45vw,20px);letter-spacing:.08em;margin:0 0 30px;color:#e3eff6}
#menu .menu-actions{display:grid;grid-template-columns:1fr;width:100%;max-width:none;gap:15px}
#menu .menu-actions>button{width:100%;height:58px;min-height:52px;border-radius:17px;font-size:20px;font-weight:700;letter-spacing:.07em;border:1px solid #b9daf94d;box-shadow:0 5px 14px #00111c70,inset 0 1px 0 #e6f4ff55;background:linear-gradient(#1e3858df,#112945df);color:#e5f0fa}
#menu #start{background:linear-gradient(#cdeaff,#88bce9);color:#233f65;border-color:#d5edffb3;text-shadow:0 1px #fff7}
#menu #new-map-open{background:linear-gradient(#ffe8a4,#edc66e);color:#5b4424;border-color:#fff0b2b3}
#menu .recommend{font-size:13px;letter-spacing:0;margin-left:12px;padding:4px 8px;border-radius:8px;background:#c18b3280;color:#fff5d7}
#menu .menu-utilities{display:flex;align-items:center;gap:10px}
#menu .menu-utilities button{border-radius:12px;border:1px solid #a3c0e040;background:#102843c4;color:#dbeafa;min-height:40px;padding:8px 12px;backdrop-filter:blur(9px)}
#menu .menu-footer{position:absolute;bottom:24px;right:30px;left:auto;padding:0;border:0;background:none}
#menu .menu-footer>span:not(.online-count){display:none}
#menu .online-count{color:#cfe4ee;font-size:14px;text-shadow:0 2px 4px #05121c}
#menu .main-journal{position:absolute;left:clamp(30px,7.4vw,120px);bottom:28px;top:auto;right:auto;width:auto;height:auto;background:#0e233bcc;border:1px solid #b6d4e43d;border-radius:13px;color:#e5f3ff;display:flex;align-items:center;gap:8px;padding:7px 14px;box-shadow:0 4px 12px #0004}
#menu .main-journal img{width:38px;height:38px;object-fit:contain}
.settings-box,.preparation-box,.coop-preparation,.journal-box,.failure-box,.online-card{background:linear-gradient(150deg,#213e58f2,#0c2137f5);border:1px solid #94bdcc55;border-radius:24px;box-shadow:0 25px 85px #0008,inset 0 1px #d8eeff20;backdrop-filter:blur(18px);color:#e7f2f9}
.coop-preparation{padding:32px;width:min(540px,calc(100vw - 32px));}
.coop-preparation h2{font-family:'STKaiti','KaiTi',serif;font-size:30px;margin:0 0 24px}
.coop-preparation label{display:flex;justify-content:space-between;align-items:center;margin:15px 0;gap:16px;font-size:16px}
.coop-preparation select{min-width:180px;border:1px solid #81acc84d;background:#071b2bcc;border-radius:12px;padding:12px;color:#e7f2fa}
.coop-preparation button,.preparation-box button,.settings-box button{border-radius:12px}
.map-name{font-size:14px;color:#b5d8ea;letter-spacing:.1em}
.round-mode-controls{display:flex;justify-content:center;gap:18px;margin:24px 0}
.round-mode-controls button{width:86px;height:86px;border-radius:50%;font-size:16px;line-height:1.4;white-space:normal;letter-spacing:.04em;border:1px solid #ffaeaa;background:radial-gradient(circle at 35% 20%,#b63944,#581a27);box-shadow:0 0 12px #ff434a88,0 0 34px #ff3d5b30;color:#ffe4df}
.round-mode-controls button[data-mode='peace']{border-color:#a4e5ca;background:radial-gradient(circle at 35% 20%,#277859,#153f40);box-shadow:0 0 15px #6bfbb755;color:#dffff1}
.round-mode-controls button[aria-pressed='true']{box-shadow:0 0 0 3px #ffd5c966,0 0 35px #ff5e7399}
body.challenge-mode .stage-card,body.challenge-mode .coop-preparation{background:linear-gradient(150deg,#642332f2,#240e22f5);border-color:#e884855f}
body.challenge-mode .primary{background:linear-gradient(#f5a098,#d45764);color:#35111a}
.extraction-overlay{position:fixed;inset:0;z-index:1100;display:grid;place-items:center;background:#0713221a;backdrop-filter:blur(2px);overflow:hidden}
.extraction-overlay canvas{width:100%;height:100%;object-fit:contain}
.token-call-button{background:linear-gradient(#80c9e5,#267396);border:1px solid #bdeeff;border-radius:50%;min-width:66px;min-height:66px;color:#f0fbff;touch-action:none;box-shadow:0 4px 12px #00121a88}
.token-call-button small{display:block;font-size:11px}
#token-call{position:fixed;right:78px;bottom:222px;z-index:24}
.challenge-submit{padding:18px;border:1px solid #eeadb544;background:#491e2a66;border-radius:16px;margin:18px 0}
.challenge-submit input{font-size:16px;border-radius:10px;background:#10253a;border:1px solid #9fbccc77;color:#eef6ff;padding:10px;max-width:100%}
@media(max-width:700px){#menu .menu-content{left:30px;top:18%;width:min(285px,49vw)}#menu .menu-header{top:14px;right:16px}#menu h1{font-size:40px}#menu .intro{font-size:13px;margin-bottom:20px}#menu .menu-actions{gap:10px}#menu .menu-actions>button{height:47px;min-height:44px;font-size:16px;border-radius:13px}#menu .main-journal{left:30px;bottom:18px}#menu .main-journal img{width:30px;height:30px}#menu .menu-footer{bottom:20px;right:18px}#menu .menu-utilities{gap:5px}#menu .menu-utilities button{font-size:12px;padding:6px 9px;min-height:34px}}
@media(max-height:450px){#menu .menu-content{top:10%;width:270px}#menu h1{font-size:39px;margin-bottom:4px}#menu .intro{margin-bottom:16px}#menu .menu-actions>button{height:42px;min-height:40px}#menu .menu-actions{gap:8px}#menu .main-journal{bottom:12px;left:auto;right:24px}}

.character-skill-tabs{display:flex;gap:12px;margin:20px 0}.character-skill-tabs button{display:flex;align-items:center;gap:12px;flex:1;background:#102a40;border:1px solid #aacdde44;border-radius:15px;padding:12px;color:#d9e9ef}.character-skill-tabs button[aria-pressed="true"]{background:#285d7a;border-color:#b8e7fb}.character-skill-tabs img{width:42px;height:48px;object-fit:contain}.skill-character-name{font-size:16px;color:#b9d9e8}.fox-skill-list[hidden],.skill-list[hidden]{display:none!important}.stage-card>.map-name{position:absolute;left:32px;top:18px;z-index:2}.stage-mode-wrap{display:flex;align-items:center;gap:18px;min-width:0}.stage-mode-wrap>.stage-card{flex:1;min-width:0}.stage-mode-wrap>.round-mode-controls{flex-shrink:0;flex-direction:column;margin:0}#legacy-token-call{position:absolute;right:25px;bottom:270px}#token-call svg,#legacy-token-call svg{width:26px;height:26px}.challenge-submit button{display:block;margin-top:12px}.challenge-submit p{font-size:14px}@media(max-width:800px){.stage-mode-wrap{flex-direction:column;gap:12px}.stage-mode-wrap>.round-mode-controls{flex-direction:row;gap:12px}.round-mode-controls button{width:62px;height:62px;font-size:13px}.stage-card>.map-name{left:18px;top:10px}}

.new-map-test-body{display:flex!important;flex-direction:column;gap:12px;width:min(420px,calc(100vw - 36px));padding:18px!important;max-height:75vh;overflow:auto}.test-group{border:1px solid #9dbccd3f;background:#102b3cc7;border-radius:12px;padding:0;overflow:hidden}.test-group>summary{padding:12px 15px;color:#d9edf5;font-weight:600;cursor:pointer}.test-group>div,.test-group>label,.test-group>select{margin:10px 12px}.test-group-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.test-group-grid button,.test-group button{min-height:40px;border-radius:9px}.test-group-grid label{display:flex;flex-direction:column;gap:6px}.test-item-icons{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;padding:12px}.test-item-icons button{display:flex;flex-direction:column;align-items:center;gap:6px;font-size:12px;background:#18384b;border:1px solid #8aabb844;padding:8px 4px;color:#e1f1f6;border-radius:12px;min-width:0}.test-item-icons button[aria-pressed="true"]{background:#346a82;border-color:#bcf0ff}.test-item-icons img,.test-item-icons .loot-icon{width:42px;height:42px;object-fit:contain}.test-group-grid>div{grid-column:1/-1}

#legacy-special{position:absolute;right:110px;bottom:270px}body.new-map-mode #legacy-token-call,body.new-map-mode #legacy-special{display:none!important}

#menu .menu-actions>button{position:relative;padding-left:58px;text-align:left}#menu .menu-actions>button::before{content:"";position:absolute;left:22px;top:50%;transform:translateY(-50%);width:27px;height:27px;background:currentColor;mask-size:contain;mask-repeat:no-repeat}#menu .menu-actions>button::after{content:attr(data-caption);position:absolute;right:22px;bottom:9px;font-size:10px;letter-spacing:.08em;font-weight:500;opacity:.65}#menu .title-whale{display:block;width:76px;height:48px;margin:0 0 -10px 24%;filter:drop-shadow(0 0 6px #b4e9ff55)}#menu .title-whale svg{width:100%;height:100%;fill:none;stroke:#d4edff;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}#menu .recommend{position:absolute;right:18px;top:8px;margin:0;float:none}#menu .intro{font-family:"STKaiti","KaiTi",serif}@media(max-height:450px){#menu .title-whale{height:30px;width:50px;margin-bottom:-8px}#menu .menu-actions>button::after{font-size:8px;right:16px;bottom:7px}}
#menu #start::before{mask-image:url('data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2028%2032%22%3E%3Cpath%20d%3D%22M3%2011%2023%203%2015%2023%2010%2015%203%2011Zm7%204L23%203%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%222.4%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%2F%3E%3C%2Fsvg%3E')}
#menu #new-map-open::before{mask-image:url('data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2028%2032%22%3E%3Cpath%20d%3D%22M9%203a4%204%200%201%200%200%208%204%204%200%200%200%200-8Zm-6%2019v-3c0-8%2012-8%2012%200v3H3Zm13-17c7-1%207%209%200%208m2%203c4%201%206%203%205%206h-6%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%222.4%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%2F%3E%3C%2Fsvg%3E')}
#menu #online-open::before{mask-image:url('data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2028%2032%22%3E%3Cpath%20d%3D%22M3%203%2021%2021m-5%200%205-5M21%203%203%2021m0-5%205%205M3%203l5%201-4%204-1-5Zm18%200-1%205-4-4%205-1Z%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%222.4%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%2F%3E%3C%2Fsvg%3E')}
#menu .menu-settings::before{mask-image:url('data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2028%2032%22%3E%3Cpath%20d%3D%22M14%202l1%204%204%202%204-1%202%204-3%203v4l3%203-2%204-4-1-4%202-1%204h-4l-1-4-4-2-4%201-2-4%203-3v-4l-3-3%202-4%204%201%204-2%201-4h4Zm-2%209a5%205%200%201%200%200%2010%205%205%200%200%200%200-10Z%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%222.4%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%2F%3E%3C%2Fsvg%3E')}

#legacy-special img{display:block;width:30px;height:30px;object-fit:contain;margin:auto}#legacy-special span{font-size:10px}

@media(max-width:700px){#menu .menu-content{width:min(300px,calc(100vw - 60px))}}
@media(max-width:800px) and (orientation:portrait){
 .coop-selection{justify-content:flex-start;padding-top:76px;overflow-y:auto}
 .coop-selection .stage-eyebrow{order:0}
 .coop-selection .coop-invite-panel{position:static;order:1;width:min(460px,100%);display:grid;grid-template-columns:1fr 1fr;margin:0 0 14px;gap:8px;padding:10px}
 .coop-selection .coop-role-cards,.coop-selection #coop-invite-note{grid-column:1/-1}
 .coop-selection .coop-role-card img{width:46px;height:58px}
 .coop-selection .coop-invite-panel>button{min-height:38px}
 .coop-selection .stage-carousel{order:2;margin-left:0;flex-shrink:0}
 .coop-selection #stage-counter{order:3}
 .coop-selection #stage-lock-hint{order:4}
}
@media(max-height:580px){.stage-select{justify-content:flex-start;overflow-y:auto;padding-top:70px}.stage-carousel{flex-shrink:0}}

/* Challenge accents continue through selection, preparation and both maps. */
body.challenge-mode {
  --cyan: #ffc3bc;
  --amber: #ffb18a;
  --panel: #361923;
  --line: #ffb6b342;
}
body.challenge-mode :is(.stage-card, .coop-preparation, .preparation-box,
  .settings-box, .failure-box, .loot-panel, .panel, .online-card) {
  background: linear-gradient(150deg, #642332f2, #240e22f5);
  border-color: #e884855f;
}
body.challenge-mode :is(.hud, .new-map-header) {
  background: linear-gradient(#2d101ef5, #2d101e85, transparent);
}
body.challenge-mode :is(#stage-play, .primary) {
  background: linear-gradient(#f5a098, #d45764);
  border-color: #ffc1b5;
  color: #35111a;
}
body.challenge-mode :is(.hud button, .new-map-header button,
  .coop-actions button, #new-map-actions button, .touch-actions button,
  .dpad button, .active-skills-desktop button, .token-call-button,
  .rage-skill, .passive-touch, .character-skill-tabs button,
  .skill-actions button, .shop-row button) {
  background: linear-gradient(#672b3bcc, #381722e8);
  border-color: #f2aba16e;
  color: #ffe1db;
}
body.challenge-mode :is(button[aria-pressed="true"], .pressed) {
  background: #a64a56d9;
  border-color: #ffc2b2;
  color: #fff1e9;
}
body.challenge-mode :is(.token-readout, .token-wallet, #new-map-token-count,
  .map-name, .skill-character-name, .catalog-icon) {
  color: #ffd1c3;
  border-color: #f2aba155;
}
body.challenge-mode .catalog-icon svg { stroke: #ffd1c3; }
body.challenge-mode :is(.interaction, .new-map-hint, .notice, .test-group,
  .new-map-test-body, .test-item-icons button) {
  background: #361723eb;
  border-color: #e9a09966;
}
body.challenge-mode :is(input, select) { accent-color: #f19990; }

.journal-categories { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0; }
.journal-categories button { min-height: 44px; padding: 9px 12px; font-size: 14px; }
.journal-categories button[aria-pressed="true"] { color: #183346; background: #c1e3ef; border-color: #d3eef8; }
.journal-box header { align-items: center; gap: 12px; }
.journal-box header button { min-width: 44px; min-height: 44px; }

/* Failure is a game modal and must survive the new-map HUD suppression. */
.new-map-mode #game-ui>#failure:not([hidden]){display:flex!important;z-index:55;pointer-events:auto}

/* Desktop scales independently of the compact touch layout. */
body:not(.mobile) .new-map-help{display:block;left:50%;right:auto;bottom:16px;transform:translateX(-50%);width:max-content;max-width:calc(100vw - 380px);padding:9px 16px;border:1px solid #b6d3df30;border-radius:12px;background:#0c2136dc;backdrop-filter:blur(10px);font-size:12px;line-height:1.8;opacity:1;pointer-events:none}
body:not(.mobile) .new-map-hint{bottom:82px;font-size:13px;padding:8px 14px;border:1px solid #aacbd53d;background:#0b202dd9}
@media(min-width:1100px) and (min-height:700px){
 body:not(.mobile) .stage-carousel{width:min(1100px,90vw);gap:28px}
 body:not(.mobile) .stage-mode-wrap{width:min(800px,65vw);gap:24px}
 body:not(.mobile) .stage-card{width:620px;min-height:clamp(450px,60vh,650px);border-radius:24px}
 body:not(.mobile) .stage-content{padding:clamp(180px,25vh,280px) 38px 32px}
 body:not(.mobile) .stage-content h2{font-size:38px}
 body:not(.mobile) #stage-facts{font-size:15px;line-height:1.8}
 body:not(.mobile) #stage-play{min-height:54px;font-size:18px}
 body:not(.mobile) .stage-number{font-size:110px}
 body:not(.mobile) .coop-invite-panel{left:clamp(20px,3vw,60px);top:50%;transform:translateY(-50%);width:190px;padding:16px;gap:12px;border-radius:20px;background:linear-gradient(145deg,#1b3b50e8,#102337f5)}
 body:not(.mobile) .coop-role-card img{width:65px;height:100px}
 body:not(.mobile) .coop-role-card strong{font-size:14px}
 body:not(.mobile) .coop-invite-panel p{font-size:12px}
 body:not(.mobile) .coop-selection .stage-carousel{margin-left:160px;width:min(990px,calc(100vw - 270px))}
 body:not(.mobile) .coop-selection .stage-mode-wrap{width:min(760px,calc(100vw - 400px))}
}
@media(max-width:1099px){body:not(.mobile) .new-map-help{max-width:calc(100vw - 220px);font-size:10px;padding:5px 10px}}

/* V114: one three-slot action layout on mouse and touch displays. */
.skill-equip{display:flex;gap:5px;flex-wrap:wrap}.basin-stock-v114{font-size:12px;color:#e6ecdf}
#token-call,#legacy-token-call,#new-map-punch{display:none!important}
#coop-skill-3,#passive-touch-3{position:fixed;right:16px;bottom:77.8px;width:50px;height:50px;min-height:0;padding:4px;border-radius:50%;font-size:10px;background:#102a3b66;border:1px solid #b8d6e552;color:#c3d8de;pointer-events:auto;touch-action:none}
#coop-roll,#passive-touch{right:127.6px;bottom:77.8px}#coop-skill-2,#passive-touch-2{right:71.8px;bottom:77.8px}
#new-map-guard{position:fixed;right:183.4px;bottom:22px;width:50px;height:50px;min-height:0;padding:4px;border-radius:50%;pointer-events:auto;touch-action:none}
body.mobile:not(.new-map-mode) #touch-controls #passive-touch{position:absolute;right:124px;bottom:62px}
body.mobile:not(.new-map-mode) #touch-controls #passive-touch-2{position:absolute;right:62px;bottom:62px}
body.mobile:not(.new-map-mode) #touch-controls #passive-touch-3{position:absolute;right:0;bottom:62px}
.coop-actions button>small,.touch-actions button>small{font-size:9px;display:block;line-height:1.2}
body:not(.mobile) #joystick{display:none!important}
body:not(.mobile) #active-skills-desktop{display:none!important}
body:not(.mobile) #tracking-desktop{display:none!important}
body:not(.mobile) #touch-controls .touch-actions{position:fixed;right:16px;bottom:22px;width:218px;height:162px;pointer-events:none}
body:not(.mobile) #touch-controls .touch-actions>button{position:fixed!important;left:auto!important;top:auto!important;transform:none!important;width:50px;height:50px;min-height:0;padding:4px;border-radius:50%;background:#102a3b99;border:1px solid #b8d6e552;pointer-events:auto;touch-action:none;font-size:10px}
body:not(.mobile) #touch-controls #passive-touch{right:127.6px!important;bottom:77.8px!important}body:not(.mobile) #touch-controls #passive-touch-2{right:71.8px!important;bottom:77.8px!important}body:not(.mobile) #touch-controls #passive-touch-3{right:16px!important;bottom:77.8px!important}
body:not(.mobile) #touch-controls #item-touch{right:127.6px!important;bottom:22px!important}body:not(.mobile) #touch-controls #guard-touch{right:183.4px!important;bottom:22px!important}body:not(.mobile) #touch-controls #interact-touch{right:16px!important;bottom:22px!important}body:not(.mobile) #touch-controls #sneak-touch{right:71.8px!important;bottom:22px!important}
body:not(.mobile) #touch-controls #grab-touch{right:71.8px!important;bottom:22px!important}body:not(.mobile) #touch-controls #attack-touch{right:127.6px!important;bottom:22px!important}body:not(.mobile) #touch-controls #search-touch{right:71.8px!important;bottom:77.8px!important}body:not(.mobile) #touch-controls #tracking-touch{right:127.6px!important;bottom:77.8px!important}
body:not(.mobile) :is(#coop-roll,#coop-skill-2,#coop-skill-3,#coop-special,#new-map-use-item,#new-map-guard){left:auto!important;top:auto!important;transform:none!important}
body:not(.mobile) #coop-roll{right:127.6px!important;bottom:77.8px!important}body:not(.mobile) #coop-skill-2{right:71.8px!important;bottom:77.8px!important}body:not(.mobile) #coop-skill-3{right:16px!important;bottom:77.8px!important}
body:not(.mobile) #new-map-use-item{right:127.6px!important;bottom:22px!important}body:not(.mobile) #new-map-guard{right:183.4px!important;bottom:22px!important}body:not(.mobile) #coop-special,body:not(.mobile) #legacy-special{right:16px!important;bottom:133.6px!important}
body:not(.mobile) .new-map-mode #sneak-touch{right:71.8px!important;bottom:22px!important}
body:not(.mobile) :is(.keyboard-help,.new-map-help){position:fixed;left:50%;right:auto;bottom:16px;transform:translateX(-50%);max-width:calc(100vw - 500px);width:max-content;white-space:normal;text-align:center;font-size:11px;line-height:1.7;pointer-events:none}
@media(max-width:900px){body:not(.mobile) :is(.keyboard-help,.new-map-help){max-width:calc(100vw - 270px);left:12px;transform:none;font-size:10px}}
:is(#coop-roll,#coop-skill-2,#coop-skill-3)>small{position:absolute;top:3px;right:3px;line-height:1;pointer-events:none}
:is(#coop-roll,#coop-skill-2,#coop-skill-3)>span{line-height:12px}
body.mobile .coop-actions button>small,body.mobile .touch-actions button>small{display:none}

/* V117: restore the previous horizontal preparation slot row. */
#skills .skill-card .skill-actions{flex:0 0 auto;min-width:0;width:154px}
#skills .skill-card .skill-equip{display:flex;flex-wrap:nowrap;justify-content:flex-end;gap:5px;margin-top:6px}
#skills .skill-card .skill-equip>button{flex:0 0 48px;width:48px;min-width:48px;min-height:34px;margin:0;padding:5px 4px!important;border-radius:7px;font-size:11px}
#skills .skill-card .skill-equip>button[aria-pressed="true"]{opacity:1;background:#31594c;color:#e5f6e8;border-color:#a8d9b5;box-shadow:inset 0 0 0 1px #a8d9b522;cursor:default}
body:not(.mobile) :is(.keyboard-help,.new-map-help):not([hidden]){display:block;opacity:1;font-size:12px;line-height:1.8;padding:6px 12px;border:1px solid #b6d3df40;border-radius:10px;background:#0c2136e6;color:#dceaf3;text-shadow:0 1px 3px #000}
@media(max-width:540px){#skills .skill-card .skill-actions{width:130px}#skills .skill-card .skill-equip>button{flex-basis:40px;width:40px;min-width:40px;font-size:10px}}
@media(pointer:fine) and (hover:hover){:is(.keyboard-help,.new-map-help):not([hidden]){display:block;position:absolute;left:50%;right:auto;bottom:16px;transform:translateX(-50%);width:max-content;max-width:calc(100vw - 40px);padding:6px 12px;border:1px solid #b6d3df40;border-radius:10px;background:#0c2136df;color:#dceaf3;opacity:1;font-size:12px;line-height:1.8;pointer-events:none}}
