/* Les Brumes — Veilleurs. Shared interface tokens; loaded after legacy screens. */
:root {
  color-scheme: dark;
  --bg:#0c171e; --panel:#15262e; --panel2:#1b3038; --line:#334750;
  --text:#edf0e8; --muted:#a7b9bb; --gold:#e3c48b; --accent:#91cbbb;
  --green:#95d0ae; --blue:#91cadd; --danger:#efaaa1; --radius:12px;
  --wood:none; --wood-frame:linear-gradient(115deg,#1d323b,#14252d);
  --leather:linear-gradient(135deg,#1b2e37,#14252d);
  --paper:linear-gradient(135deg,#20343d,#192b33); --brass-edge:#4e5e5e;
  --ui-shadow:0 14px 36px #030a1042;
}
*{box-sizing:border-box;scrollbar-width:thin;scrollbar-color:#4b656b #101f27}
body{min-width:320px;color:var(--text);background:radial-gradient(ellipse at 12% 0,#24414b66,transparent 46%),radial-gradient(ellipse at 100% 85%,#29443e33,transparent 50%),#0c171e;background-attachment:fixed;font-family:"Segoe UI",sans-serif;font-size:13px;line-height:1.55}
::selection{background:#e3c48b;color:#10212a}
h1,h2,h3{font-family:Georgia,"Times New Roman",serif;font-weight:400;color:#f2eee2;text-shadow:none!important}
h1{letter-spacing:-.5px}h2{letter-spacing:-.3px}p{line-height:1.65}
button,input,select,textarea{font:inherit}
button{color:var(--text);background:#213640;border:1px solid #405963;border-radius:7px;padding:9px 14px;box-shadow:0 1px 0 #ffffff08 inset;text-shadow:none;transition:background .16s,border-color .16s,box-shadow .16s}
button:hover:not(:disabled){background:#2b4650;border-color:#8da7a8;color:#fff8e7;box-shadow:0 3px 12px #0002}
button:disabled{opacity:.45;box-shadow:none;cursor:not-allowed}
button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,summary:focus-visible{outline:2px solid #f5d695;outline-offset:3px}
input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=color]),select,textarea{background:#10212a!important;color:#edf0e8!important;border:1px solid #48606a!important;border-radius:7px;min-height:39px;padding:9px 12px;box-shadow:0 1px 3px #0002 inset;max-width:100%}
input::placeholder,textarea::placeholder{color:#91a8ad;opacity:1}
input[type=checkbox],input[type=range]{accent-color:#e3c48b}select option{background:#172a33;color:#edf0e8}
.primary,.welcome-start{background:linear-gradient(120deg,#e6c990,#d0ad6d)!important;border-color:#ecd4a4!important;color:#202b2b!important;box-shadow:0 3px 12px #01080c33,inset 0 1px #fff5d766;text-shadow:none;font-weight:650}
.primary:hover:not(:disabled),.welcome-start:hover:not(:disabled){background:linear-gradient(120deg,#f1d9a7,#dfc18a)!important;border-color:#fff0c6!important;color:#17242a!important}
.primary svg{color:#243133}.danger-button{color:#ffcdc5;background:#452d32;border-color:#92616a}.danger-button:hover:not(:disabled){background:#58373c;border-color:#dd9391}
.text-button{background:transparent;box-shadow:none;color:var(--gold);border-color:transparent}.text-button:hover:not(:disabled){background:#e3c48b0c;color:#fff1d0;border-color:transparent;box-shadow:none}
.small-button{font-size:12px;min-height:33px}
button:is(.active,.selected),button[aria-pressed=true]{border-color:#d9bd86;color:#f7dfb0;background:#35433e}
.eyebrow{color:#d7bd89;font-size:10px;font-weight:600;letter-spacing:1.8px;line-height:1.6}
.good-text{color:var(--green)}.error-message,.save-error{color:#ffb5aa}
/* A quiet, consistent frame around the world. */
.app{max-width:1920px;padding:0 24px 8px;background:none}
.topbar{height:84px;gap:22px;background:transparent!important;border-bottom:1px solid #63716b66;box-shadow:none}
.brand{color:#f0e5ca;font-size:22px;gap:12px;letter-spacing:2.8px;text-shadow:none}
.brand-emblem{width:44px;height:50px;object-fit:contain;filter:none}.brand small{font-size:8px;letter-spacing:1.7px;color:#9eb6ba;margin-top:3px}
#navigation{gap:5px;align-items:center;height:auto;flex:1;justify-content:center;min-width:0}
#navigation button{height:42px;display:inline-flex;align-items:center;gap:8px;padding:0 12px;border:1px solid transparent;border-radius:7px;font-size:12px;font-weight:500;background:transparent;color:#b2c4c6;white-space:nowrap;box-shadow:none}
#navigation button:hover{background:#20363e;color:#f5eedc;border-color:#3d555e}
#navigation button.active{background:linear-gradient(100deg,#b9975824,#b9975811);border-color:#b9975860;color:#f1d49d;box-shadow:inset 0 -2px #c4a56b}
.nav-icon{width:18px;height:18px;flex:none;stroke:currentColor;fill:none;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}
.top-actions{gap:7px}.top-actions .version{display:none}.icon-button{width:34px;height:34px;display:inline-grid;place-items:center;padding:0;border:1px solid #405762;color:#b7c9c9;background:#192c35;border-radius:7px;font-size:19px;line-height:1;box-shadow:none}
.icon-button svg{width:18px;height:18px}.notification-button b{background:#bb715b;border:2px solid #12232b;right:-5px;top:-5px}.notification-button.has-unread{border-color:#bda16b;color:#f1d49d;box-shadow:none}
.economy-bar{min-height:64px;padding:10px 2px;gap:16px;border:0;background:transparent}
.settlement{font-size:12px}.settlement small{font-size:11px}.resources{gap:8px;flex-wrap:wrap}
.res{gap:7px;padding:5px 11px;border:1px solid #3c55594d;background:#1c303645;border-radius:7px;min-width:77px}
.res .res-value{font-size:14px;font-weight:600}.res small{font-size:9px;color:#a7b9bb}.res .resource-picture{width:24px;height:24px}
/* Filled resource art: the same silhouette in reserves, costs, bags and loot. */
.fusion-icon.resource-illustration{display:inline-block;flex-shrink:0;object-fit:contain;vertical-align:middle;image-rendering:auto;filter:drop-shadow(0 1px 1px #07111780)}
.res .resource-illustration{width:30px;height:30px;margin:-1px 0}
.bag-res>span:has(.resource-illustration){display:inline-flex;align-items:center;gap:6px}
.inventory-resources .resource-illustration{width:30px;height:30px}
.costs .resource-illustration{width:24px;height:24px}
.combat-loot-resources .resource-illustration{width:24px;height:24px}
@media(max-width:760px){.res .resource-illustration{width:24px;height:24px}.inventory-resources .resource-illustration{width:27px;height:27px}.costs .resource-illustration{width:22px;height:22px}}
.connection{font-size:9px;letter-spacing:.8px;padding:5px 8px;color:#abd4be;border-color:#456c62;background:#172f2e}
.panel,.world-panel{background:var(--leather);border:1px solid #3e545c;border-radius:12px;box-shadow:var(--ui-shadow);color:var(--text)}
.left-column,.right-column{gap:16px}.panel-title{color:#c4d3d1;font-size:10px;letter-spacing:1.2px;border-color:var(--line);margin-bottom:16px}
.hero-panel,.context-panel,.objective-panel,.party-panel{background:var(--leather);padding:20px}
.hero-identity{gap:12px;margin-bottom:20px}.hero-identity h3{font-size:21px}.hero-identity small{font-size:11px;color:#b3c4c5}.level-label{font-size:11px;color:#e3c48b}
.portrait,.hero-portrait,.appearance-preview{border-color:#788878;background:radial-gradient(ellipse at 50% 35%,#58726a,#1b3038 80%);box-shadow:inset 0 0 0 3px #14252b66}
.meter-label{font-size:11px;margin:11px 0 5px}.meter-label strong{font-size:11px}.meter{height:6px;border-radius:10px;background:#0b1920}.meter>span{background:linear-gradient(90deg,#b66d66,#d5927f)}.meter.energy>span{background:linear-gradient(90deg,#598da5,#99c5ce)}.meter.xp>span{background:linear-gradient(90deg,#ab915f,#dfc792)}
.mini-stats{gap:10px 16px;border-color:#3b535c}.mini-stat{font-size:12px}.mini-stat b{font-weight:600}
.objective-panel h3{font-size:20px}.objective-panel p,.objective-step{font-size:12px}.check{border-color:#607875}.done .check{background:#284a3e}
.member-name{font-size:12px}.member small{font-size:10px}.member-square{border-color:#4b636b;background:#152831;color:#a0b4b9}.member-square.occupied{background:#2d4447;color:#e3c48b}
.keyboard-help{color:#92aaae;padding:5px 8px;font-size:11px}kbd{background:#172a33;border-color:#49606a;color:#d2dfdb;box-shadow:inset 0 -1px #090f17;padding:0 5px;border-radius:4px}
.scene-heading{background:linear-gradient(115deg,#20363f,#182b34);padding:21px 24px 19px;border-bottom:1px solid #52646899;box-shadow:none}
.scene-heading h1{font-size:28px;line-height:1.2}.scene-heading .eyebrow{margin-bottom:6px;font-size:9px}
.scene-badge,.scene-heading .scene-badge{background:#101f2770!important;color:#d6dcd0;border:1px solid #61716b88;border-radius:5px;padding:6px 10px;font-size:10px;letter-spacing:.3px}
.canvas-wrap{background:#10232d}.scene-footer{background:#14252d!important;border-color:#344c55!important;color:#9fb4b9;font-size:11px;padding:11px 18px;box-shadow:none}
.action-deck{background:linear-gradient(#1d323b,#14262f);border-color:#40575d;box-shadow:none;padding:14px 18px}
.scene-overlay>div,.map-caption,.canvas-tooltip{background:#101f29ed!important;border-color:#65787288;color:#e1e8dd;box-shadow:0 4px 12px #0002;border-radius:6px}
.map-controls{background:#152b34;border-color:#3e565f;padding:12px 18px;gap:9px}.map-controls button{border-radius:6px;box-shadow:none}
.archipelago-legend,.view-archipelago .archipelago-legend{background:#152b34;border-color:#354e57;color:#bacbc9}
.context-panel h3{font-size:25px;line-height:1.25;margin-bottom:10px}.context-panel p{font-size:12px;color:#b4c6c8;line-height:1.7}.context-meta{font-size:12px;border-color:#344e58!important;color:#adc3c5}.context-meta strong{color:#e5eade}
.context-image,.island-portrait,.island-portrait.island-ai,.island-portrait.island-free{background:radial-gradient(ellipse,#435d5c,#172d35);border-color:#597477;box-shadow:none;border-radius:8px}
.island-destination-preview,.archipelago-preview,.neutral-site-preview,.fusion-building-figure canvas.fusion-building-preview{border-color:#4f6b72;border-radius:9px}
.journal-panel{padding:18px}.journal-entry{border-color:#3c525a}.journal-entry small{color:#94abb0}.journal-entry{font-size:11px;color:#c5d2d1;line-height:1.65}
.app-footer{font-size:10px;color:#8da5ac;line-height:1.7;padding:16px 0}.app-footer a{text-decoration:none;color:#b4c8c7}.app-footer a:hover{color:#f1d39d;text-decoration:underline;text-underline-offset:4px}
/* Dialogs, equipment and progression use the same materials. */
.modal-backdrop,.game-confirm-backdrop{background:#030c13bd;backdrop-filter:blur(6px);padding:24px}
.modal,.modal-card,.game-confirm,.fusion-crafting{background:#162932!important;border:1px solid #73817a!important;border-radius:14px;box-shadow:0 28px 90px #0009!important;color:var(--text);max-width:calc(100vw - 40px)}
.modal-header{padding:24px 28px 20px;background:linear-gradient(115deg,#263e46,#1b3039);border-color:#546865;box-shadow:none}.modal-header h2{font-size:30px;line-height:1.3}.modal-header .eyebrow{margin-bottom:6px}
.modal-tabs{height:auto;min-height:54px;padding:8px 25px;gap:7px;align-items:center;background:#12252e;border-bottom:1px solid #3b535d;flex-wrap:wrap}
.modal-tabs button{padding:10px 14px;font-size:12px;border:1px solid transparent;border-radius:6px;color:#b6c8cb;background:transparent;box-shadow:none;line-height:1.35}
.modal-tabs button.active{background:#30433f;color:#f3d6a3!important;border-color:#b49b6c88!important;box-shadow:none}
.modal-tabs button:hover{color:#f5e7ca;background:#233e46}.modal-content{padding:24px 28px;color:#d9e2dc}.modal-content>p{color:#b3c5c9}.modal-content h3{font-size:23px}
.modal-content h4{color:#e0c592;font-size:12px;letter-spacing:1px;margin:26px 0 12px}
.note,.empty-state{background:#20353e!important;border-color:#48616b!important;color:#bcd0d0;border-radius:8px;line-height:1.65}
.item-card,.research-card,.unit-card,.notification-card{background:var(--paper)!important;border-color:#526973!important;box-shadow:0 4px 12px #0002!important;border-radius:9px}
.equipment-slot,.affix-catalogue-card,.spell-card,.class-card,.energy-options>section,.upgrade-detail,.upgrade-card,.chest-recycling,.class-escort,.class-military-report,.audio-settings,.building-progression,.city-panel,.city-companion,.city-recruit,.city-report,.city-assignment,.city-gear-slot,.city-wardrobe-detail,.city-wardrobe-stock,.city-selected-gear,.market-offer,.market-chest{background:var(--paper);border-color:#49616b;color:var(--text);border-radius:9px}
.lab-summary,.camp-summary,.notification-summary,.active-research,.level-up-banner,.class-confirm{background:linear-gradient(120deg,#2b4548,#1c333c)!important;border-color:#718274!important}
.class-identity,.market-summary{background:linear-gradient(110deg,#304747,#1a303a);border-color:#748273;border-radius:10px;padding:22px}
.class-identity h3{font-size:32px}.class-identity p{color:#c2d1cf;font-size:13px}.class-identity canvas{flex:none;align-self:center;border-radius:8px;background:radial-gradient(#60766a,#293f43)}
.fusion-class-catalogue article,.fusion-talent{background:linear-gradient(135deg,#223a43,#192e37);border:1px solid #496671;color:#e6ece4;border-radius:9px;padding:18px;box-shadow:0 4px 10px #0002}
.fusion-talent{gap:12px;align-items:flex-start;min-height:136px}.fusion-talent strong{font-size:14px;color:#f4e8cf}.fusion-talent p{font-size:12px;color:#b7cbcf;margin:9px 0}.fusion-talent small{font-size:11px;color:#9cb6bf}.fusion-talent .talent-emblem{width:40px;height:40px;min-width:40px;background:#142934;border-color:#867a5e;box-shadow:none}.fusion-talent .small-button{min-width:36px;padding:6px;align-self:flex-start}
.fusion-talents{gap:12px;grid-template-columns:repeat(auto-fit,minmax(285px,1fr))}.fusion-return{color:#ecdbad;background:#4a4932;border-radius:7px}
.class-tree-nav,.class-trees .talent-branch,.talent-branch,.class-offer,.class-tier-tabs button,.class-talent-filters button{background:#1d333e;border-color:#4d6670;color:#d3dfd9}.class-trees .talent-card,.talent-card{background:var(--paper);border-color:#516b75}.class-tree-note{background:#1d333c;color:#bbcfcf}
.spell-card{padding:18px}.spell-card p{color:#b9cbce}.spell-card h3{color:#f1e3c7}.deck-config>div{background:#10242e;border-color:#4b646e;border-radius:8px}.deck-config span{color:#d9e3dc}
.bag-res,.salvage-toolbar,.equipped-details,.equipment-profile,.item-comparison{background:#132832;border-color:#4b6570;color:#d7e4dd}.item-comparison{box-shadow:0 16px 50px #0008;border-radius:9px}
.inventory-dialog .modal-content{padding:24px 28px}.inventory-layout{gap:24px}.inventory-section-heading h3{color:#e3c48b}.inventory-section-heading h3>span{color:#a7bec3}.inventory-gear{background:linear-gradient(140deg,var(--item-tint,#9bb5b010),#112630)!important;border-radius:9px;box-shadow:none;border-color:var(--item-rarity,#4a626c)}
.inventory-gear:hover:not(:disabled){background:linear-gradient(140deg,var(--item-tint,#9bb5b020),#29414b)!important}.inventory-gear-empty:disabled{background:#10242c!important;border-color:#405b65;opacity:1}.inventory-gear-empty>strong{color:#9db4ba!important}.inventory-slot-name{color:#adc2c6}.inventory-gear-art>svg{color:#627f89}.inventory-gear-art .equipment-art{background:#213943;border-color:var(--item-rarity,#617781)}
.inventory-gear-art>.equipment-slot-illustration{width:52px;height:auto;aspect-ratio:1;max-width:100%;max-height:100%;object-fit:contain;image-rendering:auto;filter:drop-shadow(0 2px 2px #07151b70)}
.inventory-gear-empty .inventory-gear-art{background:radial-gradient(ellipse,#729b9420,transparent 72%);border-radius:50%}
@media(max-width:760px){.inventory-gear-art>.equipment-slot-illustration{width:46px}}
.modal-backdrop:has(.tactical-stats) .modal{width:1080px;max-width:calc(100vw - 36px)}
.craft-tactical-bonuses{display:flex;gap:10px;flex-wrap:wrap;color:#e3ce96;font-size:12px}.craft-tactical-bonuses span{display:inline-flex;align-items:center;gap:5px}.craft-tactical-bonuses img{width:24px;height:24px}
.stat-illustration{object-fit:contain;image-rendering:auto;flex-shrink:0;filter:drop-shadow(0 1px 1px #07111770)}
.mini-stat .stat-illustration{width:22px;height:22px;margin-right:6px}.mini-stat>span{display:flex;align-items:center}
.tactical-stats-heading{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:22px}.tactical-stats-heading h3{font:500 28px/1.2 Georgia,serif;color:#f1dfb5;margin:7px 0}.tactical-stats-heading p{color:#a7bec3;font-size:12px;margin:0}.tactical-stats-mode{border:1px solid #536b67;border-radius:20px;padding:7px 12px;color:#c5d5c1;font-size:10px;white-space:nowrap}
.tactical-stats-primary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.tactical-stat-primary{display:flex;gap:12px;align-items:center;padding:17px 14px;border:1px solid #49626a;border-radius:10px;background:linear-gradient(135deg,#29444a,#142b35);cursor:help}.tactical-stat-primary .stat-illustration{width:44px;height:44px}.tactical-stat-primary small{display:block;font-size:11px;color:#c4d4d2}.tactical-stat-primary strong{display:block;font:500 30px/1.3 Georgia,serif;color:#f2e3bb}.tactical-stat-primary span{display:block;font-size:9px;color:#9db9be}.tactical-stat-primary.stat-ap{border-color:#537f8f}.tactical-stat-primary.stat-mp{border-color:#588372}.tactical-stat-primary.stat-maxHp{border-color:#906a64}
.tactical-stats-note{margin:14px 0 24px;font-size:11px;color:#aabfc0;line-height:1.6}.tactical-stats-sections{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.tactical-stats-sections h4{color:#d6bb80;font-size:10px;letter-spacing:1.4px;text-transform:uppercase;margin:0 0 12px;padding-bottom:10px;border-bottom:1px solid #445d64}.tactical-stat-row{display:flex;align-items:center;gap:9px;min-height:40px;border-bottom:1px solid #3b586147;padding:5px 0;cursor:help}.tactical-stat-row .stat-illustration{width:24px;height:24px}.tactical-stat-row>span{font-size:11px;color:#b8ced0;flex:1;min-width:0;line-height:1.4}.tactical-stat-row strong{font-size:12px;color:#e0e8d8;white-space:nowrap;font-variant-numeric:tabular-nums}.tactical-stat-row:hover,.tactical-stat-row:focus-visible{background:#5575741c}.tactical-stat-primary:focus-visible,.tactical-stat-row:focus-visible{outline:1px solid #d6bb80;outline-offset:3px}
.tactical-stats-extras{border:1px solid #435d65;border-radius:8px;padding:14px 16px;margin-top:22px}.tactical-stats-extras summary{cursor:pointer;color:#c8d9d3;font-size:12px}.tactical-stats-extras[open] summary{margin-bottom:20px}.tactical-stats-extras .tactical-stats-sections{grid-template-columns:repeat(2,minmax(0,1fr))}.tactical-stats-foot{font-size:10px;color:#91aeb6;margin:17px 0 0}
@media(max-width:900px){.tactical-stats-primary{grid-template-columns:repeat(2,minmax(0,1fr))}.tactical-stats-sections{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:560px){.tactical-stats-heading{align-items:flex-start}.tactical-stats-mode{display:none}.tactical-stat-primary{padding:12px 9px;gap:8px}.tactical-stat-primary .stat-illustration{width:32px;height:32px}.tactical-stat-primary strong{font-size:26px}.tactical-stat-primary small{font-size:10px}.tactical-stats-sections,.tactical-stats-extras .tactical-stats-sections{grid-template-columns:1fr}.tactical-stats-primary{gap:8px}}
.inventory-upgrade{background:#102129;color:#e3c48b}.item-card small,.inventory-item small{color:#a8bec3}.equipment-art,.talent-emblem{background-color:#243d45;border-color:#698079}.inventory-bag,.inventory-resources,.inventory-capacity{border-color:#48606a}
.unit-card span,.unit-card small{color:#b1c7c9}.unit-card span b{color:#e5e9db}.city-guild-cover,.city-workshop-cover{background-image:linear-gradient(110deg,#253f49,#45615b)!important}.city-cover{border-color:#789086}.city-notice,.city-recovery,.city-escort,.city-equipped-summary{background:#203a42;border-color:#56727a}.city-muted{color:#a9c3c6}
.city-stat-row,.city-equipment-heading,.city-equipment-nav,.city-gear-properties{border-color:#3d5963}.city-item,.city-gear-tile,.city-inventory-item{background:#172d38;border-color:#536d79}.market-stock,.market-summary strong{color:#e3c48b}.market-offer header span{color:#adc6c9}.market-confirm,.league-rewards{background:#2b3d3b;border-color:#b39b6c}.guild-code{background:#263c40;border-color:#b39b6c;color:#f2d69e}
.guild-code input{color:#f2d69e}.ladder-table thead th{background:#233a44;color:#cddedb}.ladder-table td{border-color:#39545f}.target-summary,.command-alert,.dungeon-modifier{background:#233b42;border-color:#ac946b}.command-note,.command-alert small{color:#aec5c7}.threat-head small,.command-missions small{color:#99b2b8}.command-stats span{color:#adc5c8}.threat-meter{background:#10232c;border-color:#4c6871}
.toast,.event-toast{background:linear-gradient(125deg,#2a4249,#192d36)!important;border-color:#658076!important;color:#e5ece2;box-shadow:0 12px 36px #0006!important;border-radius:10px}.event-toast-copy strong{color:#f1dcaf}.event-toast-copy span{color:#b9ced0}.event-toast.critical{background:linear-gradient(125deg,#49343c,#24303b)!important}.notification-card.unread{border-color:#b7a26f!important}
/* Map controls and village management. */
.havre-toolbar{border:0;border-bottom:1px solid #405b64;border-radius:0;background:#122a34;padding:12px 16px;margin:0!important;box-shadow:none}.havre-tools{gap:6px}.havre-tools button{padding:8px 10px;font-size:11px}.havre-tools select{font-size:11px;max-width:200px;min-height:34px;padding:6px 9px}.havre-help{font-size:10px;color:#99b4b9;margin-top:9px}.havre-tools label,.havre-editor label{color:#acc5c8}.havre-office-button{border-color:#ad9567;color:#f0d6a5;background:#38453d}.havre-editor{border-color:#46636d;padding-top:12px}.havre-placement{color:#abd5bb}.havre-placement.invalid{color:#f1b0a3}
.deck-context{font-size:12px;gap:14px}.deck-context strong{color:#e6c58d}.deck-context span{color:#a9c2c7;line-height:1.5}
#fusionExpeditionHud{background:#10232eee;border-color:#6b7e76;border-radius:10px;box-shadow:0 8px 24px #0004;color:#e4eade}.dungeon-floor{background:#213b44;border-color:#8b947b;box-shadow:none;color:#e9d7b2}.dungeon-hud-section,.dungeon-hero-host,.dungeon-side-host,.dungeon-party-host{background:#172c36;border-color:#405e68}
#expeditionNav{background:#102631ee;border-color:#647f82;border-radius:9px;padding:6px;box-shadow:0 8px 24px #0004}#expeditionNav button{border-radius:5px;background:transparent;border:1px solid transparent;min-height:30px}#expeditionNav button.active{background:#33463f;border-color:#ab986a;color:#f3dcab}#expeditionNav button:hover{background:#29444b}#expeditionNav span{color:#a5bec3}
/* Combat: distinct action resources, readable initiative and illustrated skills. */
#fusionCombat{background:linear-gradient(120deg,#1b323c,#122730);padding:17px 22px 12px;border-top:1px solid #698079;color:#dce6df}
.fusion-turn{display:flex;align-items:center;gap:18px;justify-content:space-between;padding:0 0 12px;border:0}.fusion-turn strong{font-size:18px;color:#f0ead9}.fusion-turn .eyebrow{font-size:9px}.fusion-turn .primary{font-size:12px;min-height:40px;padding:10px 18px}
.fusion-budget{display:flex;gap:7px;align-items:center;margin-left:auto;font-size:14px;color:#ddede4}.fusion-budget .combat-budget{display:flex;align-items:baseline;gap:5px;padding:5px 11px;border-radius:6px;background:#29463f;border:1px solid #53796a;font-size:11px;color:#b9d8c5}.combat-budget b{font-size:22px;line-height:1.1;color:#c5eacb}.fusion-budget .combat-budget.mp{background:#203e4c;border-color:#527d91;color:#aacfe0}.combat-budget.mp b{color:#bbdfec}.fusion-budget .combat-timer{color:#d9c291;font-size:12px;min-width:46px;text-align:center;font-variant-numeric:tabular-nums}
.fusion-identity-meter{padding:8px 11px;margin:5px 0;background:#243d434d;border-left:2px solid #a89a71;border-radius:3px;color:#bbcccb;gap:12px}.fusion-identity-meter strong{color:#dfd5b9;font-size:11px}.fusion-identity-meter span{font-size:11px;line-height:1.4}
.fusion-initiative{display:flex;gap:6px;padding:10px 0;overflow-x:auto;border:0;align-items:center}.fusion-initiative>span{font-size:10px;padding:5px 10px;border:1px solid #496873;border-radius:5px;background:#132b36;color:#b6cbd1;white-space:nowrap}.fusion-initiative>span:before{content:'';display:inline-block;width:5px;height:5px;margin:0 6px 1px 0;border-radius:50%;background:#9ac9ac}.fusion-initiative>span.enemy:before{background:#d99985}.fusion-initiative>span.active{background:#3b493f;border-color:#c0a875;color:#f5dba8}
.fusion-spellbar{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-start;margin:0;padding:8px 0}.fusion-spellbar button{display:grid;grid-template-columns:38px minmax(70px,1fr);grid-template-rows:1fr 1fr;column-gap:10px;align-items:center;text-align:left;min-width:160px;min-height:68px;max-width:220px;flex:1;padding:10px 12px;border:1px solid #607780;background:linear-gradient(135deg,#294550,#1a333e);border-radius:8px;box-shadow:0 3px 10px #0002}
.fusion-spellbar button>img,.fusion-spellbar button>svg,.fusion-spellbar button>.ui-picture{width:36px;height:36px;grid-row:1/3;align-self:center;object-fit:contain;margin:0}.fusion-spellbar button strong{font-size:12px;line-height:1.2;font-weight:600;color:#e9eddf}.fusion-spellbar button small{font-size:10px;color:#b0c9cf;line-height:1.2;margin:4px 0 0}.fusion-spellbar button.selected{border-color:#efd49e;background:#3d514d;box-shadow:0 0 0 2px #dfbd6d33}.fusion-spellbar button:disabled{opacity:.5}.fusion-combat-hint{font-size:11px;color:#a5bfc6;margin:7px 0;line-height:1.5}#fusionCombat details{font-size:11px;color:#b2c6c9;border-top:1px solid #3d5b64;margin-top:8px;padding-top:8px}#fusionCombat summary{cursor:pointer;color:#d1c6aa}.fusion-fx-toggle{font-size:10px;padding:4px 0}
/* Welcome is a single scrollable sheet, with original class art. */
.welcome-backdrop{background:radial-gradient(ellipse at 20% 15%,#304d5266,transparent 60%),#08141cf7;backdrop-filter:blur(8px);padding:32px 20px;overflow:auto;align-items:flex-start}
.welcome-card{width:min(1080px,100%);max-width:1080px;max-height:none;min-height:0;grid-template-columns:minmax(0,.9fr) minmax(0,1fr);overflow:hidden;margin:auto;border:1px solid #7c8572;border-radius:16px;box-shadow:0 25px 90px #0008;background:#182c35}
.welcome-form{padding:44px 46px 34px;min-width:0;max-height:none;overflow:visible;background:linear-gradient(145deg,#203740,#132832)}
.welcome-form h1{font-size:38px;line-height:1.15;margin:14px 0 20px;color:#f2e8d2}.welcome-form>p{color:#afc3c6;font-size:13px;line-height:1.75}.welcome-form label{font-size:11px;letter-spacing:.25px;color:#c1d0cf;margin:16px 0 6px}.welcome-form input{width:100%}.welcome-form>input{margin-bottom:4px}
.welcome-art{display:block;position:relative;overflow:hidden;min-height:600px;background:radial-gradient(ellipse at 40% 35%,#556451,#203b41 55%,#102b34);isolation:isolate}.welcome-art:before{content:'';position:absolute;inset:24px 24px 28%;border:1px solid #e3ca9533;border-radius:50% 50% 0 0;pointer-events:none}.welcome-art:after{content:'';position:absolute;inset:28px -60px 15%;background:url('assets/wakfu/catalogue/classes/illustrations-solo/81.png') center top/contain no-repeat;filter:saturate(.75);pointer-events:none;z-index:-1}.welcome-art canvas{visibility:hidden;position:absolute;inset:0;pointer-events:none}
.welcome-art-text{position:absolute;bottom:0;left:0;right:0;padding:180px 36px 42px;background:linear-gradient(transparent,#102630 48%,#102630);pointer-events:none}.welcome-art-text .pill{background:transparent;border:0;padding:0;color:#e6ca95;font-size:9px;letter-spacing:2px}.welcome-art-text h2{font-size:34px;line-height:1.17;margin:16px 0;color:#f1e5c9}.welcome-art-text p{font-size:13px;line-height:1.7;color:#aec6c8}
.welcome-mode{font-size:11px;color:#d8c89d;border-color:#476069}.welcome-start{margin-top:20px;padding:13px 17px;min-height:46px}.welcome-footnote{color:#96b0b8;font-size:10px;line-height:1.6;border-top:1px solid #3c555f;padding-top:15px;margin-top:22px}.welcome-form .text-button{font-size:11px}
.server-auth-tabs{gap:5px;background:#10242e;padding:5px;border-radius:8px;border:1px solid #3f5863;margin:18px 0}.server-auth-tabs button{border:1px solid transparent;background:transparent;color:#afc6cc;box-shadow:none;font-size:12px}.server-auth-tabs button.active{background:#39473f!important;color:#f3d5a0;border-color:#9a8965;box-shadow:none}
.skin-picker{background:#112831;border-color:#4b666d;border-radius:9px;box-shadow:none;gap:12px;padding:12px}.character-creator{grid-template-columns:125px minmax(0,1fr);gap:14px}.character-creator .skin-main-preview{min-height:160px;border-color:#657c78;background:radial-gradient(#607d70,#243e45)}.character-creator .skin-main-preview canvas{width:120px;height:150px;max-width:100%}.skin-main-preview small{color:#c5d7cb}.skin-picker-head{gap:6px}.skin-picker-head small{font-size:10px;line-height:1.5}.skin-picker-head>span{display:none}.creation-step-head{font-size:10px;color:#c1d0cc}.creation-step-head b{background:#253e41;border-color:#8b8b6c;color:#e3cb95}.creation-step{border-color:#36545f}.gender-choice{height:76px;padding:3px 5px;gap:3px;background:#18313c}.gender-choice canvas{width:44px;height:64px}.gender-choice strong{font-size:11px;color:#d2e1dc}.gender-choice.active{background:#364940;border-color:#c1ab77;box-shadow:none}.fusion-class-description{color:#b3c8ca;font-size:12px}.fusion-customize{gap:14px}.fusion-customize label{font-size:10px;margin:4px 0}.fusion-customize input[type=color]{width:45px;height:29px;background:#182e39;border:1px solid #627771;border-radius:4px;padding:3px}
/* Atlas, bestiary and independent previews share the in-game visual language. */
.brumes-preview{font-size:14px;line-height:1.6}
.brumes-preview main{max-width:1500px;padding:30px 34px;margin:auto}
.brumes-preview header{gap:24px;align-items:center;margin-bottom:25px;padding:0 0 24px;border-bottom:1px solid #5f706b66}
.brumes-preview>header{max-width:1432px;margin:28px auto 0;padding:0 0 24px}
.brumes-preview header h1{font:36px/1.15 Georgia,serif;color:#f0ead8;letter-spacing:-.6px;margin:8px 0 0}
.brumes-preview header .eyebrow{font-size:10px;letter-spacing:2px;color:#cbb480}
.brumes-preview header>div{padding-left:62px;position:relative}.brumes-preview header>div:before{content:'';position:absolute;width:42px;height:52px;left:0;top:4px;background:url('assets/brumes-interface/veil-mark.svg') center/contain no-repeat}
.brumes-preview header>a{display:inline-flex;align-items:center;border:1px solid #8a805f;border-radius:7px;padding:10px 16px;text-decoration:none;font-size:12px;color:#efd5a4;background:#b3996112;white-space:nowrap}.brumes-preview header>a:hover{background:#b399612a}
.brumes-preview a{color:#e3c48b;text-underline-offset:5px}
.brumes-preview nav:not(header nav){background:#172d37;border:1px solid #3e5b66;border-radius:10px;padding:13px 16px;margin:0 0 18px;gap:9px;box-shadow:0 4px 16px #0001}
.brumes-preview label{color:#a8c1c6;font-size:11px}.brumes-preview button{font-size:12px;min-height:37px;box-shadow:none}.brumes-preview select{font-size:12px;min-height:37px}.brumes-preview select option{color:#e8eedd}.brumes-preview nav label select{margin-top:3px}.brumes-preview .layout{gap:22px;grid-template-columns:minmax(0,1fr) 270px;align-items:start}
.brumes-preview canvas{border:1px solid #607977;border-radius:11px;box-shadow:0 12px 36px #0003;background-color:#153440}.brumes-preview aside{background:linear-gradient(145deg,#223943,#152c36);border:1px solid #607571;border-radius:11px;padding:19px;box-shadow:var(--ui-shadow);overflow:hidden}
.brumes-preview aside canvas{border-color:#476871;border-radius:7px;margin-bottom:18px;box-shadow:none}.brumes-preview aside h2{font:27px/1.2 Georgia,serif;color:#f1e5ca;margin:10px 0 14px}.brumes-preview aside p{font-size:13px;color:#b4c9cd;line-height:1.7}.brumes-preview aside .eyebrow,.brumes-preview .tag,.brumes-preview #status{color:#d4bb8e}
.brumes-preview .hint,.brumes-preview .note{color:#9eb9c1;font-size:11px;line-height:1.6}.brumes-preview .legend{gap:20px;font-size:11px;color:#a5c0c7;padding:12px 4px 0}.brumes-preview .legend b{color:#e8c68c}.brumes-preview .biome,.brumes-preview #status{border-color:#3e5c65}
.brumes-preview footer{border-top:1px solid #4c6566;margin-top:22px;padding:18px 0;color:#90aeb6;font-size:11px;line-height:1.8}.brumes-preview .scene{background:#132b36;border-color:#4c6c73;border-radius:11px}.brumes-preview .scene canvas{border:0;box-shadow:none}.brumes-preview .signature,.brumes-preview .fx-signature{background:#1d3540;border-radius:4px}.brumes-preview .site-card{background:#203a44;border-color:#506f77;border-top-color:var(--accent);color:#e6e8d8;border-radius:8px}.brumes-preview .gallery{gap:14px}.brumes-preview details{color:#c9d6cc}.brumes-preview .controls{margin:16px 0}.brumes-preview .controls label{color:#a9c0c5}
/* Compact equipment slots and dialog navigation stay visible on laptop screens. */
.modal{width:980px}.modal-header,.modal-tabs{flex-shrink:0}.modal-tabs{height:auto!important;min-height:54px;overflow:visible}.modal-content{min-height:0}
.inventory-dialog .inventory-section-heading h3{font:600 12px/1.4 "Segoe UI",sans-serif;letter-spacing:1.5px}
.inventory-gear-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.inventory-gear{min-height:120px;padding:10px 7px;gap:6px}.inventory-slot-name{font-size:10px}.inventory-gear>strong{font-size:10px;line-height:1.4}.inventory-gear-art,.inventory-gear-art .equipment-art{width:48px;height:48px;flex-basis:48px}.inventory-gear-art>.interface-glyph{width:31px;height:31px;color:#77969f}
.inventory-items{background:#102630;border-color:#3f606a;border-radius:9px;padding:13px;gap:8px}.inventory-empty-cell{background:linear-gradient(145deg,#203a45,#172f39)!important;border-color:#3b5863}.inventory-item{background:radial-gradient(ellipse,#34525a,#192f39)!important}.inventory-item:hover:not(:disabled){background:#36565f!important;border-color:#e3c48b}
.inventory-empty-message,.inventory-hint,.inventory-notice{color:#a7c0c6}.inventory-notice{border-color:#3d5b66}.inventory-weight-meter{background:#0c202a}.inventory-weight-meter>span{background:#d5b879}.inventory-bonus-list,.inventory-comparison-toolbar,.item-comparison.inventory-comparison{background:#152c36;border-color:#4e6b74}
.interface-glyph{color:#c9b787;vertical-align:middle;flex:none}.res .interface-glyph{width:22px;height:22px;color:#c0c3a6}.res:nth-child(1) .interface-glyph{color:#afc5a4}.res:nth-child(3) .interface-glyph{color:#8fb2ca}.res:nth-child(5) .interface-glyph{color:#e3c48b}.fusion-talent>.interface-glyph{width:29px;height:29px;padding:3px;border:1px solid #768173;border-radius:6px;background:#172d35;box-sizing:content-box}.inventory-resources .interface-glyph{width:24px;height:24px}.inventory-section-heading>.interface-glyph{width:20px;height:20px}
.fusion-class-illustration{display:block;width:155px;height:185px;object-fit:contain;flex:none;filter:saturate(.82);border-radius:8px}.fusion-class-catalogue .fusion-class-illustration{width:100%;height:160px;margin-bottom:14px}.class-identity>div{min-width:0}.class-identity .fusion-class-illustration{margin-right:8px}
.defense-actions button:is(.active,.selected){background:#334b43;border-color:#b5a374;color:#ead2a5;box-shadow:none}
.havre-office{width:min(1000px,94vw);max-height:90dvh;padding:28px;border:1px solid #7b8a7d;border-radius:14px;background:linear-gradient(130deg,#233b44,#142b36);box-shadow:0 28px 90px #0008;color:#e3eade}.havre-office::backdrop,.fusion-crafting::backdrop{background:#040e16c9;backdrop-filter:blur(6px)}.havre-office header{border-bottom:1px solid #4f6b70;padding-bottom:20px}.havre-office h2{font:30px/1.2 Georgia,serif;color:#f0e6ce}.havre-office header small{color:#d4ba87;font-size:10px}.havre-office>p{font-size:13px;color:#b2c9cf}.havre-office-list{gap:12px}.havre-office-list article{padding:16px 12px;background:linear-gradient(140deg,#2b454c,#1b343f);border:1px solid #4e6d77;border-radius:9px;gap:14px;align-items:center}.havre-office-list h3{font:18px/1.25 Georgia,serif;color:#eddfc3}.havre-office-list img{width:80px;height:95px}.havre-office-list p{color:#a7c5c9;font-size:11px}.havre-office-list button{font-size:11px;padding:7px 10px;min-height:31px}.havre-office-search{color:#b1c8ca;margin:20px 0}.havre-office .havre-office-note{background:#28434a;color:#c7d7cf}.havre-office-button{background:#394940!important;border-color:#ab966a!important;color:#f0d6a2!important}
@media(max-width:650px){.class-identity .fusion-class-illustration{width:100px;height:125px;margin-right:0}.havre-office{padding:18px}.havre-office h2{font-size:25px}.havre-office-list img{width:56px;height:80px}.havre-office-list article{padding:12px 10px;gap:10px}.havre-office-list h3{font-size:17px}}
/* Layout adaptations never change canvas coordinates or interaction geometry. */
@media(min-width:1401px){.fusion-village #appLayout{grid-template-columns:224px minmax(0,1fr) 280px;gap:20px}}
@media(min-width:1001px){:is(.view-world,.view-island,.view-archipelago) #appLayout{grid-template-columns:minmax(0,1fr) 280px;gap:20px}}
@media(max-width:1220px){.topbar{gap:12px}.brand{font-size:18px;letter-spacing:2px}.brand small{font-size:7px;letter-spacing:1px}.brand-emblem{width:36px}#navigation button{padding:0 9px;gap:5px;font-size:11px}.nav-icon{width:15px}.top-actions{gap:5px}.top-actions .icon-button{width:30px;height:30px}.res{padding:5px 8px;min-width:68px}}
@media(max-width:1000px){.topbar{height:auto;min-height:80px;flex-wrap:wrap;padding:15px 0 0}.top-actions{margin-left:auto}#navigation{order:3;width:100%;flex:none;justify-content:flex-start;overflow:auto;padding:8px 0;height:auto;gap:6px}#navigation button{font-size:12px;padding:0 14px;min-height:40px}.brand{font-size:20px}.brand-emblem{width:40px}.economy-bar{flex-wrap:wrap;gap:10px;padding:12px 0}.resources{order:3;width:100%;gap:6px}.res{flex:1;justify-content:center}.brumes-preview .layout{grid-template-columns:1fr}.brumes-preview aside{display:grid;grid-template-columns:180px 1fr;column-gap:24px}.brumes-preview aside canvas{grid-row:1/6;margin:0}.brumes-preview main{padding:24px}.brumes-preview>header{margin:24px}.welcome-form{padding:32px}.welcome-art-text{padding-left:28px;padding-right:28px}.welcome-form h1{font-size:33px}.welcome-art-text h2{font-size:30px}.character-creator{grid-template-columns:105px minmax(0,1fr)}.character-creator .skin-main-preview canvas{width:100px;height:130px}}
@media(max-width:760px){.app{padding:0 12px}.brand small{font-size:7px}.scene-heading{padding:18px 16px}.scene-heading h1{font-size:23px}.scene-badge{display:none}.scene-heading-actions{gap:5px}.scene-footer{padding:10px 13px}.economy-bar .settlement small{display:none}.resources{gap:4px}.res{min-width:0;padding:5px 4px;gap:4px}.res .res-value{font-size:12px}.res .resource-picture{width:20px;height:20px}.res small{font-size:8px}.connection{font-size:8px}.modal-backdrop{padding:10px}.modal,.inventory-dialog .modal{max-width:calc(100vw - 20px);max-height:calc(100dvh - 20px);border-radius:10px}.modal-header{padding:19px 18px}.modal-header h2{font-size:26px}.modal-content,.inventory-dialog .modal-content{padding:20px 16px}.modal-tabs{padding:9px 13px;gap:5px}.modal-tabs button{padding:9px 10px;font-size:11px}.fusion-talents{grid-template-columns:1fr}.inventory-layout{grid-template-columns:1fr;gap:24px}.inventory-gear-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.inventory-gear{min-height:142px;padding:10px 6px}.inventory-gear-art,.inventory-gear-art .equipment-art{width:64px;height:64px}.inventory-gear strong{font-size:11px}.class-identity{padding:17px;gap:14px}.class-identity canvas{width:82px;height:auto}.class-identity h3{font-size:26px}.class-identity p{font-size:12px}.welcome-backdrop{padding:16px}.welcome-card{grid-template-columns:1fr;max-width:580px;margin:auto}.welcome-art{display:none}.welcome-form{padding:28px}.welcome-form h1{font-size:35px}.welcome-form>p br{display:none}.character-creator{grid-template-columns:125px minmax(0,1fr)}.fusion-turn{flex-wrap:wrap;gap:10px}.fusion-turn strong{font-size:16px}.fusion-turn .primary{margin-left:auto}.fusion-budget{margin-left:auto}.fusion-spellbar{gap:6px}.fusion-spellbar button{min-width:140px;max-width:none;padding:9px;grid-template-columns:30px minmax(70px,1fr);gap:6px}.fusion-spellbar button>img,.fusion-spellbar button>svg{width:28px;height:28px}.fusion-identity-meter{display:block}.fusion-identity-meter span{display:block;margin-top:3px}#fusionCombat{padding:14px 12px}#expeditionNav span{display:none}.brumes-preview main{padding:20px 15px}.brumes-preview header{align-items:flex-start;gap:16px;flex-wrap:wrap;margin-bottom:18px;padding-bottom:20px}.brumes-preview header h1{font-size:28px}.brumes-preview header>div{padding-left:46px}.brumes-preview header>div:before{width:32px;height:45px}.brumes-preview header>a{font-size:11px;padding:8px 12px}.brumes-preview nav:not(header nav){padding:12px;gap:9px}.brumes-preview aside{display:block}.brumes-preview aside canvas{max-width:260px;margin:0 auto 16px}.brumes-preview .zoom-controls,.brumes-preview .actions{margin-left:0}.brumes-preview>header{margin:20px 15px 0}}
@media(max-width:420px){.brand{font-size:17px}.brand small{letter-spacing:.5px}.brand-emblem{width:32px}.top-actions .icon-button{width:28px;height:28px}.topbar{gap:6px}.welcome-form{padding:24px 20px}.character-creator{grid-template-columns:90px minmax(0,1fr);gap:10px;padding:10px}.gender-grid{gap:5px}.gender-choice{flex-direction:column;height:84px}.gender-choice canvas{width:35px;height:50px}.skin-picker-head small{font-size:9px}.fusion-budget .combat-budget{padding:5px 8px}.inventory-gear-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
.guide-cover{background:linear-gradient(120deg,#304b4c,#18313d);border-color:#748575}.guide-cover p{color:#b4cecf}.guide-chapter{background:#243e473d;border-color:#4b6974}.guide-chapter summary,.brumes-guide h3{color:#e3c48b}.brumes-guide strong{color:#e5d8bb}.brumes-guide code{background:#102631}.guide-table th{background:#27414b}.guide-table td,.guide-table th,.brumes-guide footer{border-color:#4e6b73}.tribe-transfer-review{background:#28423f;border-color:#a9996e}.transfer-warning{background:#60433955;color:#ecc6b2}
body:has(>#welcome:not([hidden])),body:has(>#modalBackdrop:not([hidden])),body:has(dialog[open]){overflow:hidden}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
@media(forced-colors:active){button,.panel,.modal,.world-panel{background:Canvas!important;color:CanvasText!important;border:1px solid CanvasText!important}button:focus-visible,a:focus-visible{outline-color:Highlight}.nav-icon{stroke:ButtonText}.primary{background:ButtonFace!important;color:ButtonText!important}}

/* Compact destination emblems; labels are available on hover and keyboard focus. */
.topbar #navigation{display:flex;align-items:center;justify-content:center;gap:5px;height:auto;width:auto;flex:0 0 auto;overflow:visible;padding:0}
.topbar #navigation button{position:relative;display:grid;place-items:center;width:40px;min-width:40px;height:40px;padding:4px;border:1px solid transparent;border-radius:10px;background:linear-gradient(160deg,#29414b66,#12252e33);box-shadow:none;transition:border-color .15s,background .15s}
.topbar #navigation button:hover,.topbar #navigation button:focus-visible{border-color:#8aa9a8;background:#28434c}
.topbar #navigation button.active{border-color:#c4a26b;background:linear-gradient(145deg,#4c4d39aa,#233f45);box-shadow:inset 0 1px #fff0ba22,0 0 10px #ceb36b12}
.topbar #navigation .destination-icon{display:block;width:30px;height:30px;filter:drop-shadow(0 2px 1px #07171b66)}
.topbar #navigation .destination-label{position:absolute;top:calc(100% + 7px);left:50%;transform:translateX(-50%);visibility:hidden;opacity:0;z-index:80;pointer-events:none;padding:5px 9px;border:1px solid #6c8b87;border-radius:5px;background:#102832;color:#f2e6cc;font-size:11px;font-weight:500;white-space:nowrap;box-shadow:0 4px 12px #0004}
.topbar #navigation button:hover .destination-label,.topbar #navigation button:focus-visible .destination-label{visibility:visible;opacity:1}
.topbar #navigation button>i{position:absolute;right:3px;bottom:3px;width:5px;height:5px;background:#9ddbbf;border:1px solid #243e40;box-shadow:0 0 5px #a5dcb877;margin:0}
@media(max-width:760px){.topbar #navigation{width:auto!important;min-width:0;order:3;flex:0 0 auto!important;margin:0 auto;gap:7px;overflow:visible!important}.topbar #navigation button{width:36px;min-width:36px;height:36px;padding:3px}.topbar #navigation .destination-icon{width:28px;height:28px}}

.creation-step-head label[for="fusionHairStyle"]{margin:0;color:inherit;font:inherit;letter-spacing:inherit;text-transform:inherit}
.creation-hair-picker{display:grid;grid-template-columns:34px minmax(0,1fr) 34px;gap:5px;align-items:stretch}
.creation-hair-picker button,.creation-hair-picker select{min-width:0;min-height:34px;margin:0;border:1px solid #526d70;border-radius:6px;background:#1b333d;color:#ead8ae}
.creation-hair-picker button{padding:0;font:21px/1 Georgia,serif}
.creation-hair-picker select{width:100%;padding:3px 7px;font:600 12px/1.3 system-ui,sans-serif}
.creation-hair-picker button:hover:not(:disabled),.creation-hair-picker :focus-visible{border-color:#cfb77e}
.character-creator #skinPreview{width:min(100%,140px);height:auto;aspect-ratio:140/240}
.defense-strength,.hero-defense-weight{margin:12px 0;padding:13px 16px;background:#172d34;border:1px solid #52695f;border-radius:7px}
.defense-strength header,.hero-defense-weight>p{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}
.defense-strength header small{display:block;color:#b4c9c1;font-size:11px}
.defense-strength header h3{margin:2px 0!important;color:#f1dfb0;font-size:18px}
.defense-strength header strong,.hero-defense-weight strong{color:#f2d394;font-variant-numeric:tabular-nums}
.defense-strength dl,.hero-defense-weight dl{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:12px 0 0;border-top:1px solid #445a54;padding-top:9px}
.defense-strength dt,.hero-defense-weight dt{color:#bacac3;font-size:11px}
.defense-strength dd,.hero-defense-weight dd{margin:2px 0;font-size:16px;color:#ece4ca;font-variant-numeric:tabular-nums}
.hero-defense-weight summary{color:#c8c5a0;font-size:12px;cursor:pointer}
.hero-defense-weight details p{color:#c3d1c8;font-size:12px;line-height:1.5}
