/*
 * Outpost reading modes
 *
 * UI · EASY changes hierarchy only. It does not hide features or alter routes.
 * TEXT · S–H changes reading density without scaling the application shell.
 * This file is intentionally the single, final owner of both preferences.
 */

:root[data-text-size="small"]  { font-size: 14px; }
:root[data-text-size="medium"] { font-size: 16px; }
:root[data-text-size="large"]  { font-size: 17px; }
:root[data-text-size="huge"]   { font-size: 18px; }

.runtime-pref-select {
  width: auto;
  max-width: 132px;
  min-height: 30px;
  padding: 0 24px 0 8px;
  border-radius: 0;
  font-size: 10px;
  font-weight: 650;
  letter-spacing: .055em;
  text-transform: uppercase;
}

/* TEXT · L ------------------------------------------------------------ */

body.outpost-real-page-preview[data-text-size="large"] {
  font-size: 16px;
}

body.outpost-real-page-preview[data-text-size="large"] .view.active :is(p, li, td, th, label) {
  font-size: 15px;
  line-height: 1.5;
}

body.outpost-real-page-preview[data-text-size="large"] .view.active :is(button, input, select, textarea) {
  font-size: 14px;
}

body.outpost-real-page-preview[data-text-size="large"] .view.active :is(.subtle, small) {
  font-size: 12px;
}

/* TEXT · H ------------------------------------------------------------
 * Keep the shell stable and enlarge the information inside each channel.
 * The former 24px root scale enlarged grids and fixed chrome instead of the
 * copy people actually need to read. */

body.outpost-real-page-preview[data-text-size="huge"] {
  --op-shell-rail: 232px;
  --op-shell-gap: 24px;
  font-size: 18px;
  line-height: 1.55;
}

/* Topbar remains a compact system control plane at every reading size. */
body.outpost-real-page-preview[data-text-size="huge"] .outpost-runtime-status {
  gap: 9px;
  font-size: 10px;
  font-weight: 700;
}

body.outpost-real-page-preview[data-text-size="huge"] .outpost-runtime-status small {
  min-height: 16px;
  padding-left: 9px;
  font-size: 8px;
}

body.outpost-real-page-preview[data-text-size="huge"] .outpost-runtime-controls :is(button, select) {
  min-height: 34px;
  padding-inline: 10px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .045em;
}

body.outpost-real-page-preview[data-text-size="huge"] .outpost-runtime-controls #languageSelect {
  width: 64px;
  padding-right: 24px;
}

/* Navigation is large enough to scan, without stealing workspace width. */
body.outpost-real-page-preview[data-text-size="huge"] .outpost-nav-kicker {
  font-size: 11px !important;
  font-weight: 750 !important;
}

body.outpost-real-page-preview[data-text-size="huge"] .nav .op-nav-card {
  min-height: 76px;
}

body.outpost-real-page-preview[data-text-size="huge"] .op-nav-copy b {
  font-size: 15px !important;
  font-weight: 750 !important;
  line-height: 1.15;
}

body.outpost-real-page-preview[data-text-size="huge"] .op-nav-copy small {
  font-size: 10px !important;
  font-weight: 700 !important;
}

body.outpost-real-page-preview[data-text-size="huge"] .op-system-utility-nav button {
  min-height: 48px;
  font-size: 12px !important;
  font-weight: 700;
}

body.outpost-real-page-preview[data-text-size="huge"] .op-system-identity {
  font-size: 12px !important;
}

body.outpost-real-page-preview[data-text-size="huge"] .op-system-identity b {
  font-size: 14px !important;
  font-weight: 750;
}

/* Page hierarchy */
body.outpost-real-page-preview[data-text-size="huge"] .view.active :is(h1, .workspace-title, .op-page-title) {
  font-size: clamp(34px, 2.6vw, 42px) !important;
  font-weight: 800 !important;
  line-height: 1.06 !important;
  letter-spacing: -.025em !important;
}

body.outpost-real-page-preview[data-text-size="huge"] .view.active :is(h2, .panel-title, .section-title) {
  font-size: 23px !important;
  font-weight: 780 !important;
  line-height: 1.2 !important;
}

body.outpost-real-page-preview[data-text-size="huge"] .view.active h3 {
  font-size: 19px !important;
  font-weight: 750 !important;
  line-height: 1.25 !important;
}

body.outpost-real-page-preview[data-text-size="huge"] .view.active :is(
  p,
  li,
  dd,
  label,
  .op-page-description,
  .panel-copy,
  .helper-text,
  .inventory-action-note
) {
  font-size: 17px !important;
  font-weight: 600;
  line-height: 1.55 !important;
}

body.outpost-real-page-preview[data-text-size="huge"] .view.active :is(td, th) {
  min-height: 44px;
  font-size: 16px !important;
  font-weight: 650;
  line-height: 1.4;
}

body.outpost-real-page-preview[data-text-size="huge"] .view.active :is(
  small,
  .subtle,
  .meta,
  .eyebrow,
  .op-page-kicker,
  .op-region-kicker
) {
  font-size: 13px !important;
  font-weight: 650 !important;
  line-height: 1.4 !important;
}

body.outpost-real-page-preview[data-text-size="huge"] .view.active :is(b, strong) {
  font-weight: 760;
}

/* Controls fill their row and are readable without magnification. */
body.outpost-real-page-preview[data-text-size="huge"] .view.active :is(button, input, select, textarea) {
  min-height: 46px !important;
  font-size: 16px !important;
  font-weight: 680 !important;
  line-height: 1.25 !important;
}

body.outpost-real-page-preview[data-text-size="huge"] .view.active :is(input, select, textarea) {
  padding-block: 10px !important;
}

body.outpost-real-page-preview[data-text-size="huge"] .view.active :is(
  .op-character-context-tabs,
  .skill-workspace-tabs,
  .inventory-workspace-tabs,
  .dice-workspace-tabs,
  .encounter-context-strip
) button {
  min-height: 48px !important;
  padding-inline: 18px !important;
  font-size: 14px !important;
  font-weight: 750 !important;
}

/* Give the main editing channel the width that large text needs. */
body.outpost-real-page-preview[data-text-size="huge"] .op-character-manage-layout {
  grid-template-columns: 220px minmax(0, 1fr) !important;
}

body.outpost-real-page-preview[data-text-size="huge"] .op-character-manage-review {
  grid-column: 1 / -1;
}

body.outpost-real-page-preview[data-text-size="huge"] .op-character-manage-nav button {
  min-height: 50px !important;
  font-size: 13px !important;
  font-weight: 750 !important;
  line-height: 1.3 !important;
}

/* Inventory cards previously pinned their child labels to 9–11px, so the
 * global TEXT · H control enlarged the button hit area but not the words the
 * player actually reads. Keep the grid stable while promoting its content. */
body.outpost-real-page-preview[data-text-size="huge"] #inventory :is(.slot, .inv-item) {
  min-height: 150px;
}

body.outpost-real-page-preview[data-text-size="huge"] #inventory .inventory-grid {
  grid-auto-rows: minmax(150px, auto);
}

body.outpost-real-page-preview[data-text-size="huge"] #inventory .inv-name {
  font-size: 15px !important;
  font-weight: 760 !important;
  line-height: 1.25 !important;
}

body.outpost-real-page-preview[data-text-size="huge"] #inventory .inv-desc {
  display: -webkit-box;
  overflow: hidden;
  font-size: 13px !important;
  font-weight: 600 !important;
  line-height: 1.35 !important;
  text-overflow: ellipsis;
  white-space: normal;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

body.outpost-real-page-preview[data-text-size="huge"] #inventory :is(.inventory-source-pill, .stack) {
  font-size: 10px !important;
  font-weight: 750 !important;
}

body.outpost-real-page-preview[data-text-size="huge"] #inventory .inventory-loadout-copy b {
  font-size: 14px !important;
  font-weight: 750 !important;
}

body.outpost-real-page-preview[data-text-size="huge"] #inventory .inventory-loadout-copy :is(small, em) {
  font-size: 10px !important;
  font-weight: 700 !important;
}

/* Dialogs, context panels and tooltips follow the same reading contract. */
body.outpost-real-page-preview[data-text-size="huge"] :is(.modal, .context-menu, .tooltip, .target-command-card) {
  font-size: 16px;
  line-height: 1.5;
}

body.outpost-real-page-preview[data-text-size="huge"] :is(.modal, .context-menu, .target-command-card) :is(button, input, select, textarea) {
  min-height: 44px;
  font-size: 15px;
  font-weight: 680;
}

/* Quick Bar uses larger values, but keeps the fixed command strip compact. */
body.outpost-real-page-preview[data-text-size="huge"] .quick-action-bar {
  font-size: 13px;
}

body.outpost-real-page-preview[data-text-size="huge"] .quick-action-bar :is(b, strong) {
  font-size: 14px !important;
  font-weight: 800 !important;
}

body.outpost-real-page-preview[data-text-size="huge"] .quick-action-bar :is(small, span) {
  font-size: 10px;
  font-weight: 680;
}

body.outpost-real-page-preview[data-text-size="huge"] .quick-action-bar button {
  font-weight: 750;
}

/* UI · EASY ----------------------------------------------------------- */

body.outpost-real-page-preview[data-ui-mode="easy"] {
  --op-easy-fill: color-mix(in srgb, var(--op-text) 8%, transparent);
  --op-easy-fill-strong: color-mix(in srgb, var(--op-text) 14%, transparent);
  --op-easy-key: var(--op-text);
  --op-easy-key-inverse: var(--op-bg);
  --op-easy-muted-opacity: .72;
}

/* Current destination is unmistakable; other destinations remain readable. */
body.outpost-real-page-preview[data-ui-mode="easy"] .nav .op-nav-card:not(.active) {
  opacity: .62;
}

body.outpost-real-page-preview[data-ui-mode="easy"] .nav .op-nav-card.active {
  opacity: 1;
  border-left: 4px solid var(--op-line-strong) !important;
  border-bottom-color: var(--op-line-strong) !important;
  background: var(--op-easy-fill-strong) !important;
  box-shadow: inset 0 -1px var(--op-line-strong) !important;
}

body.outpost-real-page-preview[data-ui-mode="easy"] .nav .op-nav-card.active :is(.op-nav-copy b, .op-nav-icon) {
  color: var(--op-text) !important;
  font-weight: 800 !important;
}

/* Strong page hierarchy stays theme-safe in both Dark and Light. */
body.outpost-real-page-preview[data-ui-mode="easy"] .view.active :is(h1, h2, h3, .panel-title, .section-title, .workspace-title) {
  color: var(--op-text) !important;
  font-weight: 800 !important;
  letter-spacing: 0 !important;
}

body.outpost-real-page-preview[data-ui-mode="easy"] .view.active :is(.subtle, small, .meta, .helper-text) {
  opacity: var(--op-easy-muted-opacity) !important;
}

body.outpost-real-page-preview[data-ui-mode="easy"] .view.active label > :is(.subtle, small, span:first-child) {
  font-weight: 750 !important;
  letter-spacing: .04em;
}

/* Easy shows the decision, its consequence, and current state. Decorative
 * kickers and repeated prose opt into this filter explicitly; field labels,
 * costs, effects, counters, warnings, status messages, and errors do not. */
body.outpost-real-page-preview[data-ui-mode="easy"] .view.active :is(
  [data-easy-copy="decorative"],
  [data-easy-copy="supporting"]
) {
  display: none !important;
}

body.outpost-real-page-preview[data-ui-mode="easy"] .view.active :is(
  .op-page-heading,
  .outpost-workspace-heading
) {
  row-gap: 4px;
}

/* Inputs look operable instead of blending into the grid. */
body.outpost-real-page-preview[data-ui-mode="easy"] .view.active :is(input, select, textarea) {
  min-height: 44px !important;
  border-color: var(--op-line) !important;
  background: var(--op-surface-strong) !important;
  color: var(--op-text) !important;
  font-weight: 650 !important;
}

body.outpost-real-page-preview[data-ui-mode="easy"] .view.active button:not(:disabled) {
  min-height: 42px;
  font-weight: 700;
}

/* Active choices get a filled channel and a leading locator, not a glow. */
body.outpost-real-page-preview[data-ui-mode="easy"] .view.active :is(
  button.active,
  button.selected,
  [role="tab"][aria-selected="true"],
  [aria-pressed="true"]
) {
  border-color: var(--op-line-strong) !important;
  background: var(--op-easy-fill-strong) !important;
  box-shadow: inset 3px 0 var(--op-line-strong) !important;
  color: var(--op-text) !important;
}

/* Primary decisions invert like a clear terminal command. */
body.outpost-real-page-preview[data-ui-mode="easy"] .view.active :is(
  button.primary,
  button.gold,
  .outpost-action-primary,
  .encounter-action-primary,
  .entry-primary-action,
  .publish-button,
  .quick-primary
):not(:disabled) {
  border-color: var(--op-easy-key) !important;
  background: var(--op-easy-key) !important;
  color: var(--op-easy-key-inverse) !important;
  font-weight: 800 !important;
}

body.outpost-real-page-preview[data-ui-mode="easy"] .view.active :is(
  button.primary,
  button.gold,
  .outpost-action-primary,
  .encounter-action-primary,
  .entry-primary-action,
  .publish-button,
  .quick-primary
):not(:disabled):is(:hover, :focus-visible) {
  filter: brightness(.88) contrast(1.1);
}

body.outpost-real-page-preview[data-ui-mode="easy"] .view.active button:disabled {
  opacity: .38 !important;
}

/* Keyboard focus is distinct from selection. */
body.outpost-real-page-preview[data-ui-mode="easy"] :is(button, input, select, textarea):focus-visible {
  outline: 3px solid var(--op-focus) !important;
  outline-offset: 3px;
}

/* Keep the next action lane visually anchored. */
body.outpost-real-page-preview[data-ui-mode="easy"] .quick-action-bar {
  border-top: 2px solid var(--op-line-strong) !important;
  box-shadow: 0 -12px 30px var(--op-shadow) !important;
}

body.outpost-real-page-preview[data-ui-mode="easy"] .quick-action-bar button {
  font-weight: 750;
  letter-spacing: .015em;
}

body.outpost-real-page-preview[data-ui-mode="easy"] .quick-action-bar :is(.quick-primary, .quick-death-save):not(:disabled) {
  background: var(--op-text) !important;
  color: var(--op-bg) !important;
}

/* EASY + H is the maximum-reading preset: one strong label per channel. */
body.outpost-real-page-preview[data-ui-mode="easy"][data-text-size="huge"] .view.active :is(button, input, select, textarea) {
  font-size: 17px !important;
  font-weight: 750 !important;
}

body.outpost-real-page-preview[data-ui-mode="easy"][data-text-size="huge"] .view.active :is(p, li, dd, label) {
  font-weight: 650 !important;
}

@media (max-width: 1400px) {
  body.outpost-real-page-preview[data-text-size="huge"] .outpost-runtime-status small {
    display: none;
  }

  body.outpost-real-page-preview[data-text-size="huge"] .outpost-runtime-controls :is(button, select) {
    padding-inline: 8px;
    font-size: 9px;
  }
}

@media (max-width: 980px) {
  :root[data-text-size="huge"] { font-size: 17px; }
  .runtime-pref-select { max-width: 112px; font-size: 9px; }

  body.outpost-real-page-preview[data-text-size="huge"] {
    --op-shell-gap: 16px;
    font-size: 17px;
  }

  body.outpost-real-page-preview[data-text-size="huge"] .op-character-manage-layout {
    grid-template-columns: 1fr !important;
  }
}


/* Easy mode — enlarged Quick Action command bar */
body.outpost-real-page-preview[data-ui-mode="easy"] .quick-action-bar,
body.outpost-real-page-preview[data-ui-mode="easy"].profile-mode .quick-action-bar {
  width: min(1360px, calc(100vw - var(--op-shell-main-left) - var(--op-shell-pad))) !important;
  min-height: 118px !important;
  max-height: 132px !important;
  grid-template-columns: 250px 196px max-content minmax(360px, 1fr) 148px !important;
}
body.outpost-real-page-preview[data-ui-mode="easy"] .quick-action-bar .quick-identity-group {
  grid-template-columns: 70px minmax(0,1fr) !important;
  gap: 14px !important;
  padding: 14px 16px !important;
}
body.outpost-real-page-preview[data-ui-mode="easy"] .quick-action-bar .quick-avatar { width: 86px !important; padding: 12px !important; }
body.outpost-real-page-preview[data-ui-mode="easy"] .quick-action-bar .quick-avatar :is(img,span) { width: 58px !important; height: 58px !important; }

body.outpost-real-page-preview[data-ui-mode="easy"] .quick-action-bar .quick-status-card {
  min-width: 76px !important; padding: 14px 13px !important; gap: 5px !important;
}
body.outpost-real-page-preview[data-ui-mode="easy"] .quick-action-bar .quick-status-card.resource-card { width: 158px !important; }
body.outpost-real-page-preview[data-ui-mode="easy"] .quick-action-bar .quick-status-card.compact { width: 76px !important; }
body.outpost-real-page-preview[data-ui-mode="easy"] .quick-action-bar .quick-status-card > span { font-size: 10px !important; }
body.outpost-real-page-preview[data-ui-mode="easy"] .quick-action-bar .quick-status-card > b { font-size: 15px !important; }
body.outpost-real-page-preview[data-ui-mode="easy"] .quick-action-bar .quick-icon-strip { min-width: 340px !important; }
body.outpost-real-page-preview[data-ui-mode="easy"] .quick-action-bar .quick-icon-strip > button,
body.outpost-real-page-preview[data-ui-mode="easy"] .quick-action-bar .battle-skill-card {
  flex-basis: 96px !important; width: 96px !important; min-width: 96px !important; min-height: 114px !important; padding: 10px !important;
}
body.outpost-real-page-preview[data-ui-mode="easy"] .quick-action-bar > button {
  flex-basis: 92px !important; min-width: 92px !important; min-height: 114px !important; padding: 10px !important; font-size: 12px !important;
}
body.outpost-real-page-preview[data-ui-mode="easy"] .quick-action-bar .battle-skill-card b { font-size: 11px !important; }
body.outpost-real-page-preview[data-ui-mode="easy"] .quick-action-bar .battle-skill-card small { font-size: 9px !important; }
body.outpost-real-page-preview[data-ui-mode="easy"] .quick-action-bar .quick-icon-action.skill-action .battle-action-card-glyph { font-size: 34px !important; }

/* Skill Proficiency ability labels: Standard shows, Easy hides */
body[data-ui-mode="easy"] .dice-skill-ability { display: none !important; }

/* Easy Skill Proficiency readability */
body[data-ui-mode="easy"] .dice-skill-switch {
  min-height: 58px !important;
  padding: 10px 8px !important;
}
body[data-ui-mode="easy"] .dice-skill-name b {
  font-size: 14px !important;
  line-height: 1.2 !important;
}
body[data-ui-mode="easy"] .dice-skill-status strong {
  font-size: 16px !important;
  line-height: 1 !important;
}
body[data-ui-mode="easy"] .dice-skill-status em {
  font-size: 9px !important;
}
body[data-ui-mode="easy"] .dice-skill-switches {
  row-gap: 0 !important;
}


/* Easy Battle UX v5 — larger skill hand + compact command cluster */
body.outpost-real-page-preview[data-ui-mode="easy"] .battle-action-hand{width:min(980px,calc(100vw - var(--op-shell-main-left) - 54px))!important;bottom:144px!important;min-height:206px!important}
body.outpost-real-page-preview[data-ui-mode="easy"] .battle-action-hand .battle-skill-hand{min-height:202px!important;padding:10px 34px 0!important;gap:6px!important}
body.outpost-real-page-preview[data-ui-mode="easy"] .battle-action-card{flex:0 0 158px!important;width:158px!important;min-width:158px!important;height:218px!important;min-height:218px!important;margin-left:-10px!important}
body.outpost-real-page-preview[data-ui-mode="easy"] .battle-action-card .battle-action-card-glyph{font-size:48px!important}
body.outpost-real-page-preview[data-ui-mode="easy"] .battle-hand-header{bottom:188px!important;font-size:9px!important}
body.outpost-real-page-preview[data-ui-mode="easy"] .quick-action-bar,body.outpost-real-page-preview[data-ui-mode="easy"].profile-mode .quick-action-bar{min-height:132px!important;max-height:148px!important;grid-template-columns:238px 188px max-content minmax(400px,1fr) 190px!important}
body.outpost-real-page-preview[data-ui-mode="easy"] .quick-action-bar .quick-context-group{grid-template-columns:repeat(2,minmax(0,1fr))!important;grid-template-rows:repeat(2,minmax(0,1fr))!important;align-content:stretch!important}
body.outpost-real-page-preview[data-ui-mode="easy"] .quick-action-bar .quick-context-group>button{min-height:60px!important;padding:8px 6px!important;border-left:var(--op-workspace-rule-faint)!important;border-top:var(--op-workspace-rule-faint)!important}

/* Easy Battle UX v6 — centered FULL hand + compact quick utility + identity */
body.outpost-real-page-preview[data-ui-mode="easy"] .battle-action-hand.mode-full {
  left: calc(50% + var(--op-shell-center-shift)) !important;
  right: auto !important;
  width: min(1120px, calc(100vw - var(--op-shell-main-left) - 72px)) !important;
  transform: translateX(-50%) !important;
}
body.outpost-real-page-preview[data-ui-mode="easy"] .battle-action-hand.mode-full .battle-action-card-row {
  justify-content: center !important;
  padding-inline: 28px !important;
}
body.outpost-real-page-preview[data-ui-mode="easy"] .battle-action-hand.mode-full .battle-hand-header {
  left: 18px !important;
  right: 18px !important;
}
body.outpost-real-page-preview[data-ui-mode="easy"] .battle-action-hand .battle-hand-modes {
  flex: 0 0 auto !important;
  margin-left: auto !important;
}
body.outpost-real-page-preview[data-ui-mode="easy"] .quick-action-bar,
body.outpost-real-page-preview[data-ui-mode="easy"].profile-mode .quick-action-bar {
  grid-template-columns: 210px 188px max-content minmax(400px,1fr) 190px !important;
}
body.outpost-real-page-preview[data-ui-mode="easy"] .quick-action-bar .quick-identity-group {
  grid-template-columns: 52px minmax(0,1fr) !important;
  gap: 10px !important;
  padding: 10px 12px !important;
}
body.outpost-real-page-preview[data-ui-mode="easy"] .quick-action-bar .quick-avatar {
  width: 52px !important;
  height: 52px !important;
  padding: 0 !important;
}
body.outpost-real-page-preview[data-ui-mode="easy"] .quick-action-bar .quick-avatar :is(img,span) {
  width: 50px !important;
  height: 50px !important;
}
body.outpost-real-page-preview[data-ui-mode="easy"] .quick-action-bar .quick-identity-copy small { font-size: 9px !important; }
body.outpost-real-page-preview[data-ui-mode="easy"] .quick-action-bar .quick-identity-copy b { font-size: 11px !important; margin-top: 4px !important; }
body.outpost-real-page-preview[data-ui-mode="easy"] .quick-action-bar.battle-active .quick-battle-utility {
  grid-template-columns: minmax(108px,132px) minmax(108px,132px) 58px !important;
  width: min(330px,100%) !important;
  min-height: 48px !important;
}
body.outpost-real-page-preview[data-ui-mode="easy"] .quick-action-bar.battle-active .quick-item-command {
  grid-template-columns: 26px minmax(0,1fr) !important;
  gap: 6px !important;
  padding: 5px 6px !important;
}
body.outpost-real-page-preview[data-ui-mode="easy"] .quick-action-bar.battle-active .quick-item-visual {
  width: 26px !important;
  height: 26px !important;
  font-size: 14px !important;
}
body.outpost-real-page-preview[data-ui-mode="easy"] .quick-action-bar.battle-active .quick-item-copy small { font-size: 6px !important; }
body.outpost-real-page-preview[data-ui-mode="easy"] .quick-action-bar.battle-active .quick-item-copy b { font-size: 8px !important; margin-top: 4px !important; }
body.outpost-real-page-preview[data-ui-mode="easy"] .quick-action-bar.battle-active .quick-battle-utility .quick-hand-status {
  width: 58px !important;
  min-height: 48px !important;
}

/* Easy Battle Card typography — readable card metadata */
body.outpost-real-page-preview[data-ui-mode="easy"] .battle-action-card-copy {
  min-height: 54px !important;
  padding: 8px 9px 7px !important;
}
body.outpost-real-page-preview[data-ui-mode="easy"] .battle-action-card-copy > b {
  display: -webkit-box !important;
  overflow: hidden !important;
  font-size: 14px !important;
  line-height: 1.18 !important;
  -webkit-box-orient: vertical !important;
  -webkit-line-clamp: 2 !important;
}
body.outpost-real-page-preview[data-ui-mode="easy"] .battle-action-card-copy > small {
  gap: 6px !important;
  margin-top: 5px !important;
  font-size: 10px !important;
  line-height: 1.15 !important;
}
body.outpost-real-page-preview[data-ui-mode="easy"] .battle-action-card-index,
body.outpost-real-page-preview[data-ui-mode="easy"] .battle-action-card-kind {
  font-size: 9px !important;
  min-height: 20px !important;
  padding: 4px 6px !important;
}

/* Easy DM Workflow v1 — semantic copy filter only */
body.outpost-real-page-preview[data-ui-mode="easy"] #dm .dm-overview-head {
  align-items: center !important;
}
body.outpost-real-page-preview[data-ui-mode="easy"] #dm .dm-navigation-heading {
  padding-bottom: 8px !important;
}

/* Easy Skill Collection — keep the card identity and prepared hand obvious. */
body.outpost-real-page-preview[data-ui-mode="easy"] #skillbook .skill-collection-ledger [data-easy-copy="supporting"] {
  display: none !important;
}

body.outpost-real-page-preview[data-ui-mode="easy"] #skillbook .skill-collection-copy b {
  font-size: 15px !important;
  font-weight: 760 !important;
}

body.outpost-real-page-preview[data-ui-mode="easy"] #skillbook .skill-collection-copy > span {
  font-size: 12px !important;
  font-weight: 600 !important;
  line-height: 1.35 !important;
}

body.outpost-real-page-preview[data-ui-mode="easy"] #skillbook .skill-prepared-slot b {
  font-size: 11px !important;
  font-weight: 740 !important;
}

body.outpost-real-page-preview[data-text-size="huge"] #skillbook .skill-card.skill-collection-card {
  min-height: 324px;
}

body.outpost-real-page-preview[data-text-size="huge"] #skillbook .skill-collection-copy b {
  font-size: 18px !important;
  font-weight: 780 !important;
}

body.outpost-real-page-preview[data-text-size="huge"] #skillbook .skill-collection-copy > span {
  font-size: 15px !important;
  font-weight: 620 !important;
  line-height: 1.35 !important;
}

body.outpost-real-page-preview[data-text-size="huge"] #skillbook .skill-prepared-slot :is(b, em) {
  white-space: normal;
}
