/* Last Keep preparation: shared palette, compact scale, explicit viewport variants. */
:root { --prep-label:.875rem; --prep-body:1rem; --prep-heading:1.5rem; --prep-control:48px; --prep-radius:6px; }
.preparation-weapon-icon, #preparationPetCanvas { display:none; }
.preparation-results,.preparation-gear-picker { box-sizing:border-box; width:min(720px,calc(100% - 24px)); max-height:calc(100dvh - 24px); margin:auto; padding:16px; overflow:auto; color:var(--ink); background:var(--blue-950); border:1px solid var(--muted); border-radius:12px; }
.preparation-results::backdrop,.preparation-gear-picker::backdrop { background:var(--blue-950); opacity:.95; }
.preparation-results .camp-report { margin:0 0 16px; }
.preparation-results > button,.preparation-gear-picker > button { width:100%; min-height:var(--prep-control); position:sticky; bottom:0; background:var(--blue-800); color:var(--ink); }
.preparation-gear-picker .equipment-picker { margin:0 0 12px; }
.preparation-results-link,.spell-quick-picker [data-quick-clear] { min-height:44px; padding:8px 12px; background:var(--blue-800); color:var(--ink); border:1px solid var(--muted); border-radius:var(--prep-radius); cursor:pointer; }
.preparation-results-link[hidden] { display:none; }
.spell-quick-picker [data-quick-close] { flex-basis:44px; width:44px; height:44px; }
.spell-quick-picker .quick-spell-grid :is(strong,small),.spell-quick-picker p { font-size:max(var(--desktop-text-min, 0px), var(--prep-label)); }
.spell-quick-picker button:focus-visible,.preparation-results button:focus-visible,.preparation-gear-picker button:focus-visible,.preparation-results-link:focus-visible { outline:3px solid var(--gold-300); outline-offset:2px; }
#levelCamp .camp-heading { display:flex; flex-direction:row; align-items:center; flex-wrap:nowrap; gap:12px; }
#levelCamp .camp-heading > div:first-child { flex:1; min-width:0; }
#levelCamp .camp-heading h2 { margin:0; }
#levelCamp .camp-heading .camp-treasury { flex:none; order:3; margin-left:auto; padding:8px 10px; min-width:0; text-align:right; background:var(--blue-950); border:1px solid #a98a4c; border-radius:var(--prep-radius); }
#levelCamp .camp-treasury .preparation-crowns { display:flex; align-items:center; gap:6px; color:var(--gold-300); line-height:1.2; font-variant-numeric:tabular-nums; white-space:nowrap; }
.preparation-crowns svg { flex:none; }
#levelCamp .preparation-crowns-label { font-size:max(var(--desktop-text-min, 0px), .75rem); }
@media(max-width:420px) { #levelCamp .preparation-crowns-label { position:absolute; width:1px; height:1px; overflow:hidden; clip-path:inset(50%); } }
#levelCamp .camp-treasury > span { display:none; }
#profilesDrawer:is(.preparation-war-room,.mobile-loadout) .inventory-pane.preparation-loadout:not([hidden]) { display:flex; flex-direction:column; padding:0; gap:0; }
#profilesDrawer:is(.preparation-war-room,.mobile-loadout) .preparation-loadout .defender-inventory-preview { display:flex; flex-direction:column; flex:1 0 420px; min-height:420px; margin:0; padding:0; }
#profilesDrawer:is(.preparation-war-room,.mobile-loadout) .preparation-loadout .inventory-character-copy,#profilesDrawer:is(.preparation-war-room,.mobile-loadout) .equipment-familiar-plaque { display:none; }
#profilesDrawer:is(.preparation-war-room,.mobile-loadout) .preparation-loadout .equipment-hero-frame { flex:1; height:auto; min-height:260px; }
#profilesDrawer:is(.preparation-war-room,.mobile-loadout) #equipmentHeroCanvas { inset:0 66px 102px 50px; width:calc(100% - 116px); height:calc(100% - 102px); object-fit:contain; object-position:center; }
#profilesDrawer:is(.preparation-war-room,.mobile-loadout) #preparationPetCanvas { display:block; position:absolute; z-index:2; inset:calc(50% + 13px) auto auto calc(50% + 30px); width:clamp(52px,20%,100px); height:auto; min-width:0; min-height:0; object-fit:contain; filter:none; pointer-events:none; }
#profilesDrawer:is(.preparation-war-room,.mobile-loadout) .preparation-equipment-rail,#profilesDrawer:is(.preparation-war-room,.mobile-loadout) #battlePreparation { position:absolute; z-index:5; display:flex; flex-direction:column; width:56px; overflow-x:hidden; overflow-y:auto; scrollbar-width:thin; }
#profilesDrawer:is(.preparation-war-room,.mobile-loadout) .preparation-equipment-rail { inset:12px auto 12px 8px; }
#profilesDrawer:is(.preparation-war-room,.mobile-loadout) #battlePreparation { inset:12px 8px 12px auto; margin:0; padding:0; }
#profilesDrawer:is(.preparation-war-room,.mobile-loadout) #equipmentPaperDoll { position:static; display:flex; flex-direction:column; align-items:center; gap:24px; width:56px; padding:0 0 20px; overflow:visible; pointer-events:auto; flex:none; margin-block:auto; }
#profilesDrawer:is(.preparation-war-room,.mobile-loadout) #equipmentPaperDoll .paper-doll-item { position:relative; inset:auto; width:var(--prep-control); height:var(--prep-control); min-height:var(--prep-control); flex:none; border-radius:var(--prep-radius); }
#profilesDrawer:is(.preparation-war-room,.mobile-loadout) .paper-doll-item b { font-size:max(var(--desktop-text-min, 0px), var(--prep-label)); letter-spacing:0; padding:1px 2px; color:var(--ink); background:var(--blue-950); }
#profilesDrawer:is(.preparation-war-room,.mobile-loadout) #battlePreparation > section { flex:none; margin-block:auto; }
#profilesDrawer:is(.preparation-war-room,.mobile-loadout) .spell-socket-bar { display:grid; grid-template-columns:minmax(0,1fr); gap:8px; margin:0; padding:0; }
#profilesDrawer:is(.preparation-war-room,.mobile-loadout) .spell-socket-bar .spell-socket { width:var(--prep-control); min-height:var(--prep-control); margin:auto; padding:0; gap:0; }
#profilesDrawer:is(.preparation-war-room,.mobile-loadout) .spell-socket-bar .spell-socket-well { box-sizing:border-box; width:100%; height:var(--prep-control); padding:0; border-radius:var(--prep-radius); justify-content:center; }
#profilesDrawer:is(.preparation-war-room,.mobile-loadout) .spell-socket-well > :is(.spell-art,.command-art,svg,img) { width:34px; height:34px; flex:0 0 34px; }
#profilesDrawer:is(.preparation-war-room,.mobile-loadout) .spell-socket-bar .spell-socket strong { display:none; }
#profilesDrawer:is(.preparation-war-room,.mobile-loadout) .spell-socket .socket-rank { bottom:0; padding:0 2px; min-width:16px; font-size:max(var(--desktop-text-min, 0px), var(--prep-label)); }
#profilesDrawer:is(.preparation-war-room,.mobile-loadout) .spell-socket.is-locked { opacity:.65; }
#profilesDrawer:is(.preparation-war-room,.mobile-loadout) .preparation-loadout .prepare-skill-upgrade { position:relative; display:flex; align-items:center; justify-content:center; width:var(--prep-control); height:var(--prep-control); min-height:44px; margin:20px auto 4px; padding:0; border:1px solid var(--gold-300); border-radius:var(--prep-radius); color:var(--blue-950); background:var(--gold-300); cursor:pointer; }
#profilesDrawer:is(.preparation-war-room,.mobile-loadout) .prepare-skill-upgrade:hover { background:#ffe69a; }
#profilesDrawer:is(.preparation-war-room,.mobile-loadout) .prepare-skill-upgrade:active { background:#dfb653; }
#profilesDrawer:is(.preparation-war-room,.mobile-loadout) .prepare-skill-upgrade:focus-visible { outline:2px solid var(--ink); outline-offset:2px; }
.prepare-skill-upgrade .prepare-point-count { position:absolute; top:-8px; right:-3px; min-width:18px; height:18px; padding:0 3px; box-sizing:border-box; border:1px solid var(--gold-300); border-radius:6px; color:var(--gold-300); background:var(--blue-950); font:700 max(var(--desktop-text-min, 0px), calc(12px * var(--desktop-text-scale, 1)))/calc(16px * var(--desktop-text-scale, 1)) "Barlow",sans-serif; text-align:center; }
#profilesDrawer:is(.preparation-war-room,.mobile-loadout) #equipmentWeaponButton { position:absolute; inset:auto 68px 12px; display:grid; grid-template-columns:48px minmax(0,1fr); grid-template-rows:auto auto auto; column-gap:8px; row-gap:2px; align-content:center; justify-content:stretch; width:calc(100% - 136px); height:auto; min-height:72px; margin:0; padding:8px; border-radius:var(--prep-radius); overflow:visible; }
#profilesDrawer:is(.preparation-war-room,.mobile-loadout) #equipmentWeaponButton::after { display:none; }
#profilesDrawer:is(.preparation-war-room,.mobile-loadout) #equipmentWeaponButton .preparation-weapon-icon { display:grid; place-items:center; grid-column:1; grid-row:1 / 4; width:48px; height:48px; }
#profilesDrawer:is(.preparation-war-room,.mobile-loadout) #equipmentWeaponButton .preparation-weapon-icon > .gear-art { display:block; width:48px; height:48px; border-radius:var(--prep-radius); }
#profilesDrawer:is(.preparation-war-room,.mobile-loadout) #equipmentWeaponButton strong { display:block; position:static; transform:none; grid-column:2; grid-row:1; padding:0; margin:0; width:100%; font-size:max(var(--desktop-text-min, 0px), var(--prep-label)); line-height:1.2; text-align:left; white-space:normal; overflow:visible; overflow-wrap:anywhere; color:var(--ink); }
#profilesDrawer:is(.preparation-war-room,.mobile-loadout) #equipmentWeaponButton #equipmentWeaponRarity { display:block; grid-column:2; grid-row:2; margin:0; font-size:max(var(--desktop-text-min, 0px), var(--prep-label)); line-height:1.2; text-align:left; }
#profilesDrawer:is(.preparation-war-room,.mobile-loadout) #equipmentWeaponButton small { display:block; grid-column:2; grid-row:3; font-size:max(var(--desktop-text-min, 0px), var(--prep-label)); line-height:1.2; text-align:left; letter-spacing:0; color:var(--muted); }
.preparation-gear-picker .gear-gun-upgrade { display:grid; grid-template-columns:minmax(0,1fr); gap:8px; margin:8px 0; padding:0; border:0; }
.preparation-gear-picker .gear-gun-upgrade[hidden] { display:none; }
.preparation-gear-picker :is(#weaponUpgradeRank,#weaponUpgradeProjectiles,#weaponElementTitle,#weaponElementDescription) { display:none; }
.preparation-gear-picker .gear-gun-upgrade h3 { grid-row:1; font-size:max(var(--desktop-text-min, 0px), var(--prep-heading)); margin:0; }
.preparation-gear-picker #weaponUpgradeDamage { grid-row:2; margin:0; font-size:max(var(--desktop-text-min, 0px), var(--prep-body)); }
.preparation-gear-picker #weaponElementChoices { grid-row:3; display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); gap:4px; }
.preparation-gear-picker .gear-gun-upgrade .weapon-element-option { min-width:44px; min-height:72px; padding:4px 0; gap:2px; }
.preparation-gear-picker .weapon-element-art,.preparation-gear-picker .weapon-element-art > span { width:32px; height:32px; }
.preparation-gear-picker .weapon-element-option :is(strong,span:last-child) { font-size:max(var(--desktop-text-min, 0px), var(--prep-label)); line-height:1.2; overflow-wrap:anywhere; }
.preparation-gear-picker #weaponUpgradeButton { grid-row:4; width:100%; min-height:var(--prep-control); max-width:none; padding:8px; font-size:max(var(--desktop-text-min, 0px), var(--prep-body)); }
.preparation-gear-picker #weaponUpgradeStatus { grid-row:5; margin:0; font-size:max(var(--desktop-text-min, 0px), var(--prep-label)); color:var(--gold-300); }
.preparation-gear-picker .gear-gun-upgrade:not(:has(#weaponUpgradeButton:disabled)) #weaponUpgradeStatus { display:none; }
@media (max-width:800px), (max-height:550px) {
  #levelCamp { position:fixed; inset:0; width:100%; height:100dvh; max-height:none; padding:0; border-radius:0; background:var(--blue-950); backdrop-filter:none; }
  #levelCamp .camp-panel { display:flex; flex-direction:column; box-sizing:border-box; width:100%; max-width:none; height:100%; max-height:none; padding:max(4px,env(safe-area-inset-top)) max(4px,env(safe-area-inset-right)) 0 max(4px,env(safe-area-inset-left)); overflow:hidden; border-radius:0; }
  #levelCamp .camp-heading { flex:none; gap:8px; margin:0 0 4px; }
  #levelCamp .camp-heading h2 { font-size:max(var(--desktop-text-min, 0px), var(--prep-heading)); }
  #levelCamp #campCopy { display:none; }
  #levelCamp .camp-treasury strong { font-size:max(var(--desktop-text-min, 0px), var(--prep-label)); white-space:nowrap; }
  #levelCamp .preparation-results-link { font-size:max(var(--desktop-text-min, 0px), var(--prep-label)); padding:6px; }
  #campWarRoom { flex:1; min-height:0; overflow:hidden; }
  #profilesDrawer:is(.preparation-war-room,.mobile-loadout) { display:flex; flex-direction:column; height:100%; min-height:0; overflow:hidden; }
  #profilesDrawer:is(.preparation-war-room,.mobile-loadout) .inventory-section-toggle { min-height:44px; margin:0 0 6px; }
  #profilesDrawer:is(.preparation-war-room,.mobile-loadout) > .inventory-pane[data-inventory-pane]:not([hidden]) { flex:1 1 0%; min-height:0; overflow:auto; overscroll-behavior:contain; }
  #profilesDrawer:is(.preparation-war-room,.mobile-loadout) .inventory-pane.preparation-loadout:not([hidden]) { flex:1 1 0%; }
  #profilesDrawer:is(.preparation-war-room,.mobile-loadout) .preparation-loadout .defender-inventory-preview { min-height:260px; flex:1 0 260px; }
  #levelCamp .camp-actions { flex:none; position:relative; margin:0; padding:8px 0 max(8px,env(safe-area-inset-bottom)); border-top:1px solid var(--blue-800); background:var(--blue-950); }
  #levelCamp .camp-actions > p { display:none; }
  #levelCamp .camp-actions > div { display:flex; width:100%; gap:12px; }
  #levelCamp .camp-actions .primary-action { flex:1; min-height:var(--prep-control); padding:10px; }
  #levelCamp .camp-actions .text-action { min-height:var(--prep-control); }
  .preparation-results { width:100%; height:100dvh; max-height:none; border:0; border-radius:0; padding:max(16px,env(safe-area-inset-top)) 16px max(16px,env(safe-area-inset-bottom)); }
}
@media (max-height:550px) and (min-width:601px) {
  #profilesDrawer:is(.preparation-war-room,.mobile-loadout) .inventory-tabs { flex:none; height:48px; margin:0 0 6px; padding:0; overflow:auto; }
  #profilesDrawer:is(.preparation-war-room,.mobile-loadout) .inventory-tabs button { min-height:44px; flex-direction:row; align-items:center; padding:4px 8px; font-size:max(var(--desktop-text-min, 0px), var(--prep-label)); }
  #profilesDrawer:is(.preparation-war-room,.mobile-loadout) .inventory-tabs .inventory-tab-icon { width:24px; height:24px; flex:0 0 24px; }
  #profilesDrawer:is(.preparation-war-room,.mobile-loadout) .preparation-loadout .defender-inventory-preview { flex:1 0 220px; min-height:220px; }
  #profilesDrawer:is(.preparation-war-room,.mobile-loadout) .preparation-loadout .equipment-hero-frame { min-height:220px; }
  #profilesDrawer:is(.preparation-war-room,.mobile-loadout) .preparation-equipment-rail { width:128px; }
  #profilesDrawer:is(.preparation-war-room,.mobile-loadout) #equipmentPaperDoll { display:grid; grid-template-columns:repeat(2,48px); gap:24px 16px; width:128px; }
  #profilesDrawer:is(.preparation-war-room,.mobile-loadout) #battlePreparation { width:168px; }
  #profilesDrawer:is(.preparation-war-room,.mobile-loadout) .spell-socket-bar { grid-template-columns:repeat(3,48px); gap:8px; }
  #profilesDrawer:is(.preparation-war-room,.mobile-loadout) #equipmentHeroCanvas { inset:0 188px 84px 152px; width:calc(100% - 340px); height:calc(100% - 84px); }
  #profilesDrawer:is(.preparation-war-room,.mobile-loadout) #preparationPetCanvas { top:calc(50% - 50px); width:64px; }
  #profilesDrawer:is(.preparation-war-room,.mobile-loadout) #equipmentWeaponButton { inset:auto 188px 4px 152px; width:calc(100% - 340px); }
}
@media (forced-colors:active) {
  #profilesDrawer:is(.preparation-war-room,.mobile-loadout) .spell-socket-well,#profilesDrawer:is(.preparation-war-room,.mobile-loadout) .paper-doll-item { border:1px solid ButtonText; }
}

@media(max-width:380px) { .preparation-gear-picker .equipment-picker-items { grid-template-columns:1fr; } }

/* Reading and upgrade pages retain comfortable gutters; the avatar keeps its compact layout. */
#profilesDrawer:is(.preparation-war-room,.mobile-loadout) > .inventory-pane[data-inventory-pane]:not(.preparation-loadout) { padding:16px; scroll-padding:16px; }

/* Preparation keeps every section one tap away on phones, including landscape. */
@media (max-width:800px), (max-height:550px) {
  #profilesDrawer.preparation-war-room > .inventory-section-toggle { display:none; }
  #profilesDrawer.preparation-war-room #inventoryTabs {
    display:grid; grid-template-columns:repeat(auto-fit,minmax(44px,1fr)); gap:4px;
    position:static; flex:none; width:100%; height:auto; max-height:none;
    box-sizing:border-box; margin:0 0 8px; padding:4px;
    overflow:visible; background:var(--blue-950); border:0;
    border-bottom:1px solid var(--blue-800); border-radius:0; box-shadow:none; backdrop-filter:none;
  }
  #profilesDrawer.preparation-war-room #inventoryTabs > button:not([hidden]) {
    display:flex; flex-direction:row; align-items:center; justify-content:center;
    min-width:44px; min-height:44px; width:100%; height:44px;
    margin:0; padding:6px; gap:0; border:1px solid transparent;
    border-radius:var(--prep-radius); color:var(--muted); background:transparent;
  }
  #profilesDrawer.preparation-war-room #inventoryTabs > button > span {
    position:absolute; width:1px; height:1px; padding:0; margin:-1px;
    overflow:hidden; clip-path:inset(50%); white-space:nowrap; border:0;
  }
  #profilesDrawer.preparation-war-room #inventoryTabs .inventory-tab-icon { width:32px; height:32px; flex:0 0 32px; }
  #profilesDrawer.preparation-war-room #inventoryTabs > button[aria-selected="true"] {
    color:var(--gold-300); border-color:var(--gold-300); background:var(--blue-800);
  }
  #profilesDrawer.preparation-war-room #inventoryTabs > button:active { background:var(--blue-800); }
  #profilesDrawer.preparation-war-room #inventoryTabs > button:focus-visible { outline:2px solid var(--ink); outline-offset:1px; }
}

/* Standalone inventory shares the compact icon navigation. */
@media (max-width:960px) {
  #profilesDrawer:not(.preparation-war-room) #inventoryTabs > .wr-nav-group { display:none; }
  #profilesDrawer:not(.preparation-war-room) > .inventory-section-toggle { display:none; }
  #profilesDrawer:not(.preparation-war-room) #inventoryTabs {
    display:grid; grid-template-columns:repeat(auto-fit,minmax(44px,1fr)); gap:4px;
    position:static; flex:none; width:100%; height:auto; max-height:none;
    box-sizing:border-box; margin:0 0 8px; padding:4px;
    overflow:visible; background:var(--blue-950); border:0;
    border-bottom:1px solid var(--blue-800); border-radius:0; box-shadow:none; backdrop-filter:none;
  }
  #profilesDrawer:not(.preparation-war-room) #inventoryTabs > button:not([hidden]) {
    display:flex; flex-direction:row; align-items:center; justify-content:center;
    min-width:44px; min-height:44px; width:100%; height:44px;
    margin:0; padding:6px; gap:0; border:1px solid transparent;
    border-radius:var(--prep-radius); color:var(--muted); background:transparent;
  }
  #profilesDrawer:not(.preparation-war-room) #inventoryTabs > button > span {
    position:absolute; width:1px; height:1px; padding:0; margin:-1px;
    overflow:hidden; clip-path:inset(50%); white-space:nowrap; border:0;
  }
  #profilesDrawer:not(.preparation-war-room) #inventoryTabs .inventory-tab-icon { width:32px; height:32px; flex:0 0 32px; }
  #profilesDrawer:not(.preparation-war-room) #inventoryTabs > button[aria-selected="true"] {
    color:var(--gold-300); border-color:var(--gold-300); background:var(--blue-800);
  }
  #profilesDrawer:not(.preparation-war-room) #inventoryTabs > button:active { background:var(--blue-800); }
  #profilesDrawer:not(.preparation-war-room) #inventoryTabs > button:focus-visible { outline:2px solid var(--ink); outline-offset:1px; }
}

/* Earned chest reveal and equipment selling share the existing armory palette. */
.preparation-rewards { box-sizing:border-box;width:min(720px,calc(100% - 24px));max-height:calc(100dvh - 24px);margin:auto;padding:20px;overflow:auto;color:var(--ink);background:var(--blue-950);border:1px solid var(--muted);border-radius:12px; }
.preparation-rewards::backdrop { background:var(--blue-950);opacity:.95; }
.preparation-rewards h2 { margin:0 0 12px;font-size:max(var(--desktop-text-min, 0px), var(--prep-heading)); }
.preparation-rewards > button { width:100%;min-height:48px;position:sticky;bottom:0;background:var(--blue-800);color:var(--ink); }
.preparation-rewards #campLootResult { display:block;background:none;border:0;padding:0; }
.chest-reward { display:flex;align-items:center;gap:16px;padding:16px 0;border-bottom:1px solid var(--blue-800); }
.chest-reward > div { flex:1;min-width:0; }
.chest-reward strong { display:block;color:var(--gold-300); }
.chest-reward p { margin:8px 0;font-size:max(var(--desktop-text-min, 0px), var(--prep-label));overflow-wrap:anywhere; }
.chest-reward button { min-height:44px;padding:8px 12px; }
.chest-reward button:disabled { opacity:.65;cursor:default; }
.chest-reward .camp-loot-art { flex:0 0 64px;width:64px;height:64px; }
.sealed-reward-chest { display:flex;flex-direction:column;align-items:center;margin:16px 0;gap:8px;color:var(--gold-300); }
.sealed-reward-chest img { object-fit:contain; }
.preparation-rewards button:focus-visible { outline:2px solid var(--gold-300);outline-offset:2px; }

.reward-chest-art { display:block;flex:0 0 auto;width:128px;height:92px;background:url('assets/reward-chest-v1.webp') left center / 200% 100% no-repeat; }
.reward-chest-art.opened { width:76px;height:56px;background-position:right center; }
.chest-rewards-heading { display:flex;align-items:center;gap:16px;margin-bottom:12px; }
.chest-rewards-heading h2 { margin:0; }
.preparation-rewards button,.preparation-results [data-close-results] { font:inherit;font-weight:700;border:1px solid var(--muted);border-radius:var(--prep-radius);background:var(--blue-800);color:var(--ink);cursor:pointer; }
.preparation-rewards > button,.preparation-results [data-close-results] { background:var(--gold-300);color:var(--blue-950);border-color:var(--gold-300); }
.preparation-rewards button:hover:not(:disabled) { border-color:var(--gold-300); }
.preparation-rewards [data-sale-list] { padding-bottom:16px; }
.preparation-rewards small { color:var(--ink); }

/* Visible destination labels; the tab strip alone may scroll horizontally. */
@media(max-width:800px), (max-height:550px) {
 #profilesDrawer.preparation-war-room #inventoryTabs {display:flex;flex-wrap:nowrap;overflow-x:auto;overflow-y:hidden;min-height:70px;height:auto;gap:6px;scrollbar-width:thin;}
 #profilesDrawer.preparation-war-room #inventoryTabs button:not([hidden]) {flex:0 0 auto;min-width:88px;width:auto;min-height:60px;padding:6px 10px;display:flex;flex-direction:column;gap:4px;font-size:max(var(--desktop-text-min, 0px), calc(14px * var(--desktop-text-scale, 1)));}
 #profilesDrawer.preparation-war-room #inventoryTabs button > span {position:static!important;width:auto!important;height:auto!important;clip:auto!important;clip-path:none!important;overflow:visible!important;white-space:nowrap!important;}
 #profilesDrawer.preparation-war-room #inventoryTabs .inventory-tab-icon {width:24px;height:24px;flex:0 0 24px;}
 #levelCamp .camp-actions .text-action {min-width:44px;min-height:44px;padding-inline:8px;}
}
