/* Auto-generated by scripts/ui_vault_tool.py (v2.2 Tactile Steam/Play Store Polish) — UI Vault Style: steampunk_brass_rail */
/* 100% Offline MS Store WebView2 Safe — Zero External Requests, Zero GPU Blur Filters, 9-Language 720p/1080p Safe */

:root, .uiv-steampunk_brass_rail, [data-ui-vault-style='steampunk_brass_rail'] {
  --uiv-preview-bg: #1A1614;
  --uiv-surface: #2A221E;
  --uiv-border: #B87333;
  --uiv-primary: #E69B24;
  --uiv-secondary: #2E8B8B;
  --uiv-danger: #C83E37;
  --uiv-text-light: #FAF0D7;
  --uiv-text-dark: #1E1713;
  --uiv-font-display: 'Oswald', 'Cinzel', 'Trebuchet MS', 'Segoe UI', system-ui, sans-serif;
  --uiv-font-body: 'Plus Jakarta Sans', 'Segoe UI', system-ui, -apple-system, sans-serif;
  /* Steam/Play Store Tactile Bevel, Specular Rim & Stage-1 Onboarding Spotlight Tokens */
  --uiv-bevel-hi: rgba(255, 224, 158, 0.44);
  --uiv-bevel-lo: rgba(18, 11, 7, 0.60);
  --uiv-specular-sheen: rgba(255, 215, 130, 0.24);
  --uiv-spotlight-ring: #F5B041;
  --uiv-spotlight-glow: rgba(245, 176, 65, 0.44);
  --uiv-text-shadow-light: 0 1px 2px rgba(0, 0, 0, 0.58);
  --uiv-text-shadow-dark: 0 1px 0 rgba(255, 255, 255, 0.55);
  --uiv-press-sx: 0.965;
  --uiv-press-sy: 0.935;
  --uiv-font-hud: clamp(13px, 1.05vw, 17px);
  --uiv-font-btn: clamp(13px, 1.08vw, 18px);
  /* Visual Progression Tiers (Tier 0 Default/Common -> Tier 4 Mythic — VISUAL_PROGRESSION_TIERS.md) */
  --uiv-tier0-border: #5B677D;
  --uiv-tier1-border: #34D399;
  --uiv-tier2-rare: #38BDF8;
  --uiv-tier2-epic: #A855F7;
  --uiv-tier3-border: #F59E0B;
  --uiv-tier3-glow: rgba(250, 204, 21, 0.42);
  --uiv-tier4-border: #F43F5E;
  --uiv-tier4-accent: #FDE047;
  --uiv-tier4-glow: rgba(244, 63, 94, 0.48);
  /* TrackBUIMotion v2.11 — UI Vault <-> Slot VFX & Spine Motion Contract */
  --tb-slot-style: 'steampunk_brass_rail';
  --tb-slot-shape: rect;
  --tb-slot-radius: 8px;
  --tb-slot-chamfer: 0px;
  --tb-slot-inset: 3px 3px 4px 3px;
  --tb-slot-palette: bronze_gold;
  --tb-slot-mode: flame_slot;
  --tb-slot-daylight: 1;
  --tb-slot-z: 3;
}

.uiv-steampunk_brass_rail-popout {
  position: relative;
  overflow: visible !important;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.uiv-steampunk_brass_rail-popout > .uiv-icon-pop {
  position: relative;
  z-index: 8;
  margin: -10px 4px -10px -12px;
  width: 42px;
  height: 42px;
  object-fit: contain;
  filter: drop-shadow(0 3px 2px rgba(0, 0, 0, 0.35));
  pointer-events: none;
}

/* Tactile Button & Card Depth Utilities (Pure Lightweight CSS — 0 GPU blur filters, 60 FPS WebView2) */
.uiv-tactile-btn {
  position: relative;
  transition: transform 95ms cubic-bezier(0.22, 1.4, 0.36, 1), filter 120ms ease;
  box-shadow: inset 0 1px 0 var(--uiv-bevel-hi), inset 0 -2px 0 var(--uiv-bevel-lo);
  transform-origin: center center;
}
.uiv-tactile-btn:hover:not(:disabled) {
  filter: brightness(1.07);
  transform: translateY(-1px);
}
.uiv-tactile-btn:active:not(:disabled) {
  filter: brightness(0.96);
  transform: translateY(2px) scale(var(--uiv-press-sx, 0.965), var(--uiv-press-sy, 0.935));
}
.uiv-tactile-btn:focus-visible {
  outline: 2px solid var(--uiv-spotlight-ring);
  outline-offset: 2px;
}
.uiv-tactile-btn:disabled, .uiv-tactile-btn.is-disabled {
  cursor: not-allowed;
  filter: grayscale(0.42) brightness(0.84);
  transform: none !important;
}
.uiv-bevel-card {
  position: relative;
  box-shadow: inset 0 1px 0 var(--uiv-bevel-hi), inset 0 -2px 0 var(--uiv-bevel-lo);
  transition: transform 110ms ease, filter 120ms ease;
}
.uiv-bevel-card:hover {
  transform: translateY(-2px);
  filter: brightness(1.04);
}

/* Visual & VFX Progression Tier Frames (Tier 0 Default/Common -> Tier 4 Mythic — 0 GPU blur filters) */
/* Synced 1-to-1 with TrackBVisualTier.applyToElement(el, state) in templates/trackb-ui-motion/trackb_visual_tier.js */
@keyframes uivTier3RimPulse {
  0%, 100% { box-shadow: inset 0 1px 0 rgba(255, 248, 210, 0.55), 0 0 8px var(--uiv-tier3-glow); }
  50% { box-shadow: inset 0 1px 0 rgba(255, 248, 210, 0.72), 0 0 15px var(--uiv-tier3-glow); }
}
@keyframes uivTier4MythicPulse {
  0%, 100% { box-shadow: inset 0 1px 0 rgba(255, 250, 224, 0.75), 0 0 10px var(--uiv-tier4-glow), 0 0 2px var(--uiv-tier4-accent); }
  50% { box-shadow: inset 0 1px 0 rgba(255, 250, 224, 0.92), 0 0 18px var(--uiv-tier4-glow), 0 0 4px var(--uiv-tier4-accent); }
}
/* TIER 0 — Default / Starter / Common: STRICTLY CLEAN matte neutral frame (0 outer glow, 0 animation, 0 WebGL border!) */
.uiv-tier-0, [data-visual-tier='0'], [data-rarity='common'] {
  border: 2px solid var(--uiv-tier0-border);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
  animation: none !important;
}
/* TIER 1 — Tempered / Uncommon: Crisp rarity trim & metallic bevel rivets (0 WebGL border) */
.uiv-tier-1, [data-visual-tier='1'], [data-rarity='uncommon'] {
  border: 2px solid var(--uiv-tier1-border);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.34), inset 0 -2px 0 rgba(0, 0, 0, 0.24);
}
/* TIER 2 — Ascended / Rare-Epic: Metallic sheen + subtle soft rim (0 WebGL border) */
.uiv-tier-2, [data-visual-tier='2'], [data-rarity='rare'] {
  border: 2px solid var(--uiv-tier2-rare);
  box-shadow: inset 0 1px 0 rgba(224, 247, 255, 0.48), 0 2px 9px rgba(56, 189, 248, 0.26);
}
[data-rarity='epic'] {
  border: 2px solid var(--uiv-tier2-epic);
  box-shadow: inset 0 1px 0 rgba(243, 232, 255, 0.48), 0 2px 10px rgba(168, 85, 247, 0.30);
}
/* TIER 3 — Awakened / Legendary: Forged gold-amber rim + subtle breathing halo */
.uiv-tier-3, [data-visual-tier='3'], [data-rarity='legendary'] {
  border: 2px solid var(--uiv-tier3-border);
  animation: uivTier3RimPulse 2.4s ease-in-out infinite;
}
/* TIER 4 — Mythic / Transcendent: Peak Tien Nghich crown trim (ONLY tier eligible for TrackBUIMotion.attachSlotBorder!) */
.uiv-tier-4, [data-visual-tier='4'], [data-rarity='mythic'] {
  border: 2px solid var(--uiv-tier4-border);
  outline: 1px solid var(--uiv-tier4-accent);
  outline-offset: -3px;
  animation: uivTier4MythicPulse 2.0s ease-in-out infinite;
}

/* Stage-1 Onboarding Spotlight / Pulse Ring + Pointer Hand + 3-Icon Visual Guide Strip */
@keyframes uivSpotlightPulse {
  0%, 100% { transform: scale(1); opacity: 0.95; }
  50% { transform: scale(1.07); opacity: 0.65; }
}
@keyframes uivTutHandTap {
  0%, 100% { transform: translate(0, 0) scale(1); }
  45% { transform: translate(-4px, -6px) scale(0.92); }
  70% { transform: translate(0, 0) scale(1.04); }
}
.uiv-spotlight-ring {
  position: absolute;
  inset: -6px;
  border-radius: calc(var(--tb-slot-radius, 10px) + 6px);
  border: 3px solid var(--uiv-spotlight-ring);
  box-shadow: 0 0 0 4px var(--uiv-spotlight-glow), inset 0 0 8px var(--uiv-spotlight-glow);
  pointer-events: none;
  z-index: 40;
  animation: uivSpotlightPulse 1.35s ease-in-out infinite;
}
.uiv-tut-hand {
  position: absolute;
  z-index: 42;
  pointer-events: none;
  filter: drop-shadow(0 3px 3px rgba(0, 0, 0, 0.48));
  animation: uivTutHandTap 1.05s cubic-bezier(0.34, 1.56, 0.64, 1) infinite;
}
.uiv-guide-strip {
  display: inline-flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 10px;
  padding: 6px 12px;
  border-radius: var(--tb-slot-radius, 10px);
  border: 1px solid var(--uiv-spotlight-ring);
  background: var(--uiv-surface);
  box-shadow: inset 0 1px 0 var(--uiv-bevel-hi), 0 4px 12px rgba(0, 0, 0, 0.35);
  font-size: var(--uiv-font-hud);
  pointer-events: none;
}

/* Canonical 9-Language (en, zh-CN, ja, ko, de, fr, es, pt-BR, ru) Anti-Overflow Guards (720p & 1080p) */
.uiv-hud-bar {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  min-width: 0;
  gap: 8px;
}
.uiv-label-fit {
  display: inline-block;
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: var(--uiv-font-hud);
  line-height: 1.2;
}
:is(:lang(de), :lang(ru), :lang(fr), :lang(es), :lang(pt-BR)) .uiv-label-fit,
:is(:lang(de), :lang(ru), :lang(fr), :lang(es), :lang(pt-BR)) .uiv-tactile-btn {
  letter-spacing: -0.015em;
  font-size: clamp(12.5px, 0.96vw, 15.5px);
}
:is(:lang(zh-CN), :lang(ja), :lang(ko)) .uiv-label-fit,
:is(:lang(zh-CN), :lang(ja), :lang(ko)) .uiv-tactile-btn {
  word-break: keep-all;
  line-height: 1.26;
}
@media (max-width: 1366px), (max-height: 768px) {
  :root, .uiv-steampunk_brass_rail, [data-ui-vault-style='steampunk_brass_rail'] {
    --uiv-font-hud: clamp(13px, 1.02vw, 15px);
    --uiv-font-btn: clamp(13px, 1.05vw, 16px);
  }
  .uiv-hud-bar { gap: 6px; flex-wrap: nowrap; }
  .uiv-guide-strip { gap: 7px; padding: 4px 9px; }
}

.uiv-steampunk_brass_rail-frame-modal {
  box-sizing: border-box; background: transparent; border-style: solid; border-color: transparent; border-width: 28.700px 31.850px 29.050px 29.050px; border-image: url('frame_modal.png') 82 91 83 83 fill / 28.700px 31.850px 29.050px 29.050px / 0 stretch;
  color: #181822;
  font-family: var(--uiv-font-display, sans-serif);
  font-weight: 800;
  text-shadow: var(--uiv-text-shadow-dark);
  box-shadow: inset 0 1px 0 var(--uiv-bevel-hi), inset 0 -2px 0 var(--uiv-bevel-lo);
  cursor: default;
  user-select: none;
}

.uiv-steampunk_brass_rail-frame-subpanel {
  box-sizing: border-box; background: transparent; border-style: solid; border-color: transparent; border-width: 5.760px 47.680px 8.000px 47.680px; border-image: url('frame_subpanel.png') 18 149 25 149 fill / 5.760px 47.680px 8.000px 47.680px / 0 stretch;
  color: #FFFFFF;
  font-family: var(--uiv-font-display, sans-serif);
  font-weight: 800;
  text-shadow: var(--uiv-text-shadow-light);
  box-shadow: inset 0 1px 0 var(--uiv-bevel-hi), inset 0 -2px 0 var(--uiv-bevel-lo);
  cursor: default;
  user-select: none;
}

.uiv-steampunk_brass_rail-ribbon-header {
  box-sizing: border-box; background: transparent; border-style: solid; border-color: transparent; border-width: 8.320px 50.240px 16.000px 49.920px; border-image: url('ribbon_header.png') 26 157 50 156 fill / 8.320px 50.240px 16.000px 49.920px / 0 stretch;
  color: #FFFFFF;
  font-family: var(--uiv-font-display, sans-serif);
  font-weight: 800;
  text-shadow: var(--uiv-text-shadow-light);
  box-shadow: inset 0 1px 0 var(--uiv-bevel-hi), inset 0 -2px 0 var(--uiv-bevel-lo);
  cursor: default;
  user-select: none;
}

.uiv-steampunk_brass_rail-hud-pill {
  box-sizing: border-box; background: transparent; border-style: solid; border-color: transparent; border-width: 7.280px 33.040px 7.000px 10.920px; border-image: url('hud_pill.png') 26 118 25 39 fill / 7.280px 33.040px 7.000px 10.920px / 0 stretch;
  color: #FFFFFF;
  font-family: var(--uiv-font-display, sans-serif);
  font-weight: 800;
  text-shadow: var(--uiv-text-shadow-light);
  box-shadow: inset 0 1px 0 var(--uiv-bevel-hi), inset 0 -2px 0 var(--uiv-bevel-lo);
  cursor: default;
  user-select: none;
}

.uiv-steampunk_brass_rail-slot-tile {
  box-sizing: border-box; background: transparent; border-style: solid; border-color: transparent; border-width: 14.400px 18.000px 17.100px 18.300px; border-image: url('slot_tile.png') 48 60 57 61 fill / 14.400px 18.000px 17.100px 18.300px / 0 stretch;
  color: #FFFFFF;
  font-family: var(--uiv-font-display, sans-serif);
  font-weight: 800;
  text-shadow: var(--uiv-text-shadow-light);
  box-shadow: inset 0 1px 0 var(--uiv-bevel-hi), inset 0 -2px 0 var(--uiv-bevel-lo);
  cursor: pointer;
  transition: transform 110ms ease, filter 120ms ease;
  user-select: none;
}
.uiv-steampunk_brass_rail-slot-tile:hover { filter: brightness(1.04); transform: translateY(-2px); }

.uiv-steampunk_brass_rail-btn-primary {
  box-sizing: border-box; background: transparent; border-style: solid; border-color: transparent; border-width: 14.000px 67.200px 14.280px 66.920px; border-image: url('btn_primary.png') 50 240 51 239 fill / 14.000px 67.200px 14.280px 66.920px / 0 stretch;
  color: #181822;
  font-family: var(--uiv-font-display, sans-serif);
  font-weight: 800;
  text-shadow: var(--uiv-text-shadow-dark);
  box-shadow: inset 0 1px 0 var(--uiv-bevel-hi), inset 0 -2px 0 var(--uiv-bevel-lo);
  font-size: var(--uiv-font-btn);
  min-width: 0;
  white-space: nowrap;
  cursor: pointer;
  transition: transform 95ms cubic-bezier(0.22, 1.4, 0.36, 1), filter 120ms ease;
  user-select: none;
}
.uiv-steampunk_brass_rail-btn-primary:hover:not(:disabled) { filter: brightness(1.07); transform: translateY(-1px); }
.uiv-steampunk_brass_rail-btn-primary:active:not(:disabled) { filter: brightness(0.96); transform: translateY(2px) scale(var(--uiv-press-sx, 0.965), var(--uiv-press-sy, 0.935)); }
.uiv-steampunk_brass_rail-btn-primary:focus-visible { outline: 2px solid var(--uiv-spotlight-ring); outline-offset: 2px; }

.uiv-steampunk_brass_rail-btn-secondary {
  box-sizing: border-box; background: transparent; border-style: solid; border-color: transparent; border-width: 14.840px 67.480px 17.360px 21.280px; border-image: url('btn_secondary.png') 53 241 62 76 fill / 14.840px 67.480px 17.360px 21.280px / 0 stretch;
  color: #181822;
  font-family: var(--uiv-font-display, sans-serif);
  font-weight: 800;
  text-shadow: var(--uiv-text-shadow-dark);
  box-shadow: inset 0 1px 0 var(--uiv-bevel-hi), inset 0 -2px 0 var(--uiv-bevel-lo);
  font-size: var(--uiv-font-btn);
  min-width: 0;
  white-space: nowrap;
  cursor: pointer;
  transition: transform 95ms cubic-bezier(0.22, 1.4, 0.36, 1), filter 120ms ease;
  user-select: none;
}
.uiv-steampunk_brass_rail-btn-secondary:hover:not(:disabled) { filter: brightness(1.07); transform: translateY(-1px); }
.uiv-steampunk_brass_rail-btn-secondary:active:not(:disabled) { filter: brightness(0.96); transform: translateY(2px) scale(var(--uiv-press-sx, 0.965), var(--uiv-press-sy, 0.935)); }
.uiv-steampunk_brass_rail-btn-secondary:focus-visible { outline: 2px solid var(--uiv-spotlight-ring); outline-offset: 2px; }

.uiv-steampunk_brass_rail-btn-danger {
  box-sizing: border-box; background: transparent; border-style: solid; border-color: transparent; border-width: 14.000px 48.160px 15.680px 48.160px; border-image: url('btn_danger.png') 50 172 56 172 fill / 14.000px 48.160px 15.680px 48.160px / 0 stretch;
  color: #FFFFFF;
  font-family: var(--uiv-font-display, sans-serif);
  font-weight: 800;
  text-shadow: var(--uiv-text-shadow-light);
  box-shadow: inset 0 1px 0 var(--uiv-bevel-hi), inset 0 -2px 0 var(--uiv-bevel-lo);
  font-size: var(--uiv-font-btn);
  min-width: 0;
  white-space: nowrap;
  cursor: pointer;
  transition: transform 95ms cubic-bezier(0.22, 1.4, 0.36, 1), filter 120ms ease;
  user-select: none;
}
.uiv-steampunk_brass_rail-btn-danger:hover:not(:disabled) { filter: brightness(1.07); transform: translateY(-1px); }
.uiv-steampunk_brass_rail-btn-danger:active:not(:disabled) { filter: brightness(0.96); transform: translateY(2px) scale(var(--uiv-press-sx, 0.965), var(--uiv-press-sy, 0.935)); }
.uiv-steampunk_brass_rail-btn-danger:focus-visible { outline: 2px solid var(--uiv-spotlight-ring); outline-offset: 2px; }

.uiv-steampunk_brass_rail-btn-disabled {
  box-sizing: border-box; background: transparent; border-style: solid; border-color: transparent; border-width: 15.400px 20.160px 15.120px 20.160px; border-image: url('btn_disabled.png') 55 72 54 72 fill / 15.400px 20.160px 15.120px 20.160px / 0 stretch;
  color: #FFFFFF;
  font-family: var(--uiv-font-display, sans-serif);
  font-weight: 800;
  text-shadow: var(--uiv-text-shadow-light);
  box-shadow: inset 0 1px 0 var(--uiv-bevel-hi), inset 0 -2px 0 var(--uiv-bevel-lo);
  font-size: var(--uiv-font-btn);
  min-width: 0;
  white-space: nowrap;
  cursor: not-allowed;
  transition: transform 95ms cubic-bezier(0.22, 1.4, 0.36, 1), filter 120ms ease;
  user-select: none;
}

.uiv-steampunk_brass_rail-card-common {
  box-sizing: border-box; background: transparent; border-style: solid; border-color: transparent; border-width: 23.240px 21.000px 22.960px 20.440px; border-image: url('card_common.png') 83 75 82 73 fill / 23.240px 21.000px 22.960px 20.440px / 0 stretch;
  color: #181822;
  font-family: var(--uiv-font-display, sans-serif);
  font-weight: 800;
  text-shadow: var(--uiv-text-shadow-dark);
  box-shadow: inset 0 1px 0 var(--uiv-bevel-hi), inset 0 -2px 0 var(--uiv-bevel-lo);
  cursor: pointer;
  transition: transform 110ms ease, filter 120ms ease;
  user-select: none;
}
.uiv-steampunk_brass_rail-card-common:hover { filter: brightness(1.04); transform: translateY(-2px); }

.uiv-steampunk_brass_rail-card-rare {
  box-sizing: border-box; background: transparent; border-style: solid; border-color: transparent; border-width: 15.400px 19.880px 17.080px 14.840px; border-image: url('card_rare.png') 55 71 61 53 fill / 15.400px 19.880px 17.080px 14.840px / 0 stretch;
  color: #181822;
  font-family: var(--uiv-font-display, sans-serif);
  font-weight: 800;
  text-shadow: var(--uiv-text-shadow-dark);
  box-shadow: inset 0 1px 0 var(--uiv-bevel-hi), inset 0 -2px 0 var(--uiv-bevel-lo);
  cursor: pointer;
  transition: transform 110ms ease, filter 120ms ease;
  user-select: none;
}
.uiv-steampunk_brass_rail-card-rare:hover { filter: brightness(1.04); transform: translateY(-2px); }

.uiv-steampunk_brass_rail-card-epic {
  box-sizing: border-box; background: transparent; border-style: solid; border-color: transparent; border-width: 21.000px 21.840px 21.840px 21.560px; border-image: url('card_epic.png') 75 78 78 77 fill / 21.000px 21.840px 21.840px 21.560px / 0 stretch;
  color: #181822;
  font-family: var(--uiv-font-display, sans-serif);
  font-weight: 800;
  text-shadow: var(--uiv-text-shadow-dark);
  box-shadow: inset 0 1px 0 var(--uiv-bevel-hi), inset 0 -2px 0 var(--uiv-bevel-lo);
  cursor: pointer;
  transition: transform 110ms ease, filter 120ms ease;
  user-select: none;
}
.uiv-steampunk_brass_rail-card-epic:hover { filter: brightness(1.04); transform: translateY(-2px); }

.uiv-steampunk_brass_rail-card-legendary {
  box-sizing: border-box; background: transparent; border-style: solid; border-color: transparent; border-width: 51.520px 22.960px 56.000px 22.400px; border-image: url('card_legendary.png') 184 82 200 80 fill / 51.520px 22.960px 56.000px 22.400px / 0 stretch;
  color: #181822;
  font-family: var(--uiv-font-display, sans-serif);
  font-weight: 800;
  text-shadow: var(--uiv-text-shadow-dark);
  box-shadow: inset 0 1px 0 var(--uiv-bevel-hi), inset 0 -2px 0 var(--uiv-bevel-lo);
  cursor: pointer;
  transition: transform 110ms ease, filter 120ms ease;
  user-select: none;
}
.uiv-steampunk_brass_rail-card-legendary:hover { filter: brightness(1.04); transform: translateY(-2px); }

.uiv-steampunk_brass_rail-bar-track {
  box-sizing: border-box; background: transparent; border-style: solid; border-color: transparent; border-width: 12.480px 15.860px 14.820px 15.860px; border-image: url('bar_track.png') 48 61 57 61 fill / 12.480px 15.860px 14.820px 15.860px / 0 stretch;
  color: #FFFFFF;
  font-family: var(--uiv-font-display, sans-serif);
  font-weight: 800;
  text-shadow: var(--uiv-text-shadow-light);
  box-shadow: inset 0 1px 0 var(--uiv-bevel-hi), inset 0 -2px 0 var(--uiv-bevel-lo);
  cursor: default;
  user-select: none;
}

.uiv-steampunk_brass_rail-bar-fill-primary {
  box-sizing: border-box; background: transparent; border-style: solid; border-color: transparent; border-width: 14.040px 29.900px 13.780px 26.260px; border-image: url('bar_fill_primary.png') 54 115 53 101 fill / 14.040px 29.900px 13.780px 26.260px / 0 stretch;
  color: #181822;
  font-family: var(--uiv-font-display, sans-serif);
  font-weight: 800;
  text-shadow: var(--uiv-text-shadow-dark);
  box-shadow: inset 0 1px 0 var(--uiv-bevel-hi), inset 0 -2px 0 var(--uiv-bevel-lo);
  cursor: default;
  user-select: none;
}

.uiv-steampunk_brass_rail-tab-active {
  box-sizing: border-box; background: transparent; border-style: solid; border-color: transparent; border-width: 7.280px 7.840px 8.680px 7.560px; border-image: url('tab_active.png') 26 28 31 27 fill / 7.280px 7.840px 8.680px 7.560px / 0 stretch;
  color: #FFFFFF;
  font-family: var(--uiv-font-display, sans-serif);
  font-weight: 800;
  text-shadow: var(--uiv-text-shadow-light);
  box-shadow: inset 0 1px 0 var(--uiv-bevel-hi), inset 0 -2px 0 var(--uiv-bevel-lo);
  font-size: var(--uiv-font-btn);
  min-width: 0;
  white-space: nowrap;
  cursor: pointer;
  transition: transform 95ms cubic-bezier(0.22, 1.4, 0.36, 1), filter 120ms ease;
  user-select: none;
}
.uiv-steampunk_brass_rail-tab-active:hover:not(:disabled) { filter: brightness(1.07); transform: translateY(-1px); }
.uiv-steampunk_brass_rail-tab-active:active:not(:disabled) { filter: brightness(0.96); transform: translateY(2px) scale(var(--uiv-press-sx, 0.965), var(--uiv-press-sy, 0.935)); }
.uiv-steampunk_brass_rail-tab-active:focus-visible { outline: 2px solid var(--uiv-spotlight-ring); outline-offset: 2px; }
