/* Auto-generated by scripts/ui_vault_tool.py (v2.2 Tactile Steam/Play Store Polish) — UI Vault Style: inked_parchment_roguelite */
/* 100% Offline MS Store WebView2 Safe — Zero External Requests, Zero GPU Blur Filters, 9-Language 720p/1080p Safe */

:root, .uiv-inked_parchment_roguelite, [data-ui-vault-style='inked_parchment_roguelite'] {
  --uiv-preview-bg: #12100F;
  --uiv-surface: #1C1917;
  --uiv-parchment: #EFE5CE;
  --uiv-border: #A38B67;
  --uiv-primary: #C98A32;
  --uiv-secondary: #2E857D;
  --uiv-danger: #9E2E2E;
  --uiv-text-light: #EFE5CE;
  --uiv-text-dark: #1C1714;
  --uiv-font-display: 'Cinzel', 'Marcellus', 'Palatino Linotype', 'Georgia', 'Times New Roman', 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, 232, 186, 0.36);
  --uiv-bevel-lo: rgba(12, 8, 6, 0.62);
  --uiv-specular-sheen: rgba(255, 224, 160, 0.20);
  --uiv-spotlight-ring: #E8A849;
  --uiv-spotlight-glow: rgba(232, 168, 73, 0.42);
  --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);
  /* TrackBUIMotion v2.11 — UI Vault <-> Slot VFX & Spine Motion Contract */
  --tb-slot-style: 'inked_parchment_roguelite';
  --tb-slot-shape: rect;
  --tb-slot-radius: 2px;
  --tb-slot-chamfer: 0px;
  --tb-slot-inset: 3px 3px 3px 3px;
  --tb-slot-palette: bronze_gold;
  --tb-slot-mode: chaser_slot;
  --tb-slot-daylight: 1;
  --tb-slot-z: 3;
}

.uiv-inked_parchment_roguelite-popout {
  position: relative;
  overflow: visible !important;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.uiv-inked_parchment_roguelite-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);
}

/* 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-inked_parchment_roguelite, [data-ui-vault-style='inked_parchment_roguelite'] {
    --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-inked_parchment_roguelite-frame-modal {
  box-sizing: border-box; background: transparent; border-style: solid; border-color: transparent; border-width: 21.700px 22.050px 30.800px 22.050px; border-image: url('frame_modal.png') 62 63 88 63 fill / 21.700px 22.050px 30.800px 22.050px / 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-inked_parchment_roguelite-frame-subpanel {
  box-sizing: border-box; background: transparent; border-style: solid; border-color: transparent; border-width: 23.400px 27.600px 16.500px 27.600px; border-image: url('frame_subpanel.png') 78 92 55 92 fill / 23.400px 27.600px 16.500px 27.600px / 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-inked_parchment_roguelite-ribbon-header {
  box-sizing: border-box; background: transparent; border-style: solid; border-color: transparent; border-width: 18.560px 75.840px 19.200px 33.920px; border-image: url('ribbon_header.png') 58 237 60 106 fill / 18.560px 75.840px 19.200px 33.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-inked_parchment_roguelite-hud-pill {
  box-sizing: border-box; background: transparent; border-style: solid; border-color: transparent; border-width: 11.480px 22.400px 11.760px 22.120px; border-image: url('hud_pill.png') 41 80 42 79 fill / 11.480px 22.400px 11.760px 22.120px / 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-inked_parchment_roguelite-slot-tile {
  box-sizing: border-box; background: transparent; border-style: solid; border-color: transparent; border-width: 4.500px 12.600px 4.200px 21.000px; border-image: url('slot_tile.png') 15 42 14 70 fill / 4.500px 12.600px 4.200px 21.000px / 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-inked_parchment_roguelite-slot-tile:hover { filter: brightness(1.04); transform: translateY(-2px); }

.uiv-inked_parchment_roguelite-btn-primary {
  box-sizing: border-box; background: transparent; border-style: solid; border-color: transparent; border-width: 22.960px 19.600px 20.440px 23.240px; border-image: url('btn_primary.png') 82 70 73 83 fill / 22.960px 19.600px 20.440px 23.240px / 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-inked_parchment_roguelite-btn-primary:hover:not(:disabled) { filter: brightness(1.07); transform: translateY(-1px); }
.uiv-inked_parchment_roguelite-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-inked_parchment_roguelite-btn-primary:focus-visible { outline: 2px solid var(--uiv-spotlight-ring); outline-offset: 2px; }

.uiv-inked_parchment_roguelite-btn-secondary {
  box-sizing: border-box; background: transparent; border-style: solid; border-color: transparent; border-width: 17.080px 19.880px 17.080px 21.000px; border-image: url('btn_secondary.png') 61 71 61 75 fill / 17.080px 19.880px 17.080px 21.000px / 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-inked_parchment_roguelite-btn-secondary:hover:not(:disabled) { filter: brightness(1.07); transform: translateY(-1px); }
.uiv-inked_parchment_roguelite-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-inked_parchment_roguelite-btn-secondary:focus-visible { outline: 2px solid var(--uiv-spotlight-ring); outline-offset: 2px; }

.uiv-inked_parchment_roguelite-btn-danger {
  box-sizing: border-box; background: transparent; border-style: solid; border-color: transparent; border-width: 17.360px 62.160px 17.080px 49.280px; border-image: url('btn_danger.png') 62 222 61 176 fill / 17.360px 62.160px 17.080px 49.280px / 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-inked_parchment_roguelite-btn-danger:hover:not(:disabled) { filter: brightness(1.07); transform: translateY(-1px); }
.uiv-inked_parchment_roguelite-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-inked_parchment_roguelite-btn-danger:focus-visible { outline: 2px solid var(--uiv-spotlight-ring); outline-offset: 2px; }

.uiv-inked_parchment_roguelite-btn-disabled {
  box-sizing: border-box; background: transparent; border-style: solid; border-color: transparent; border-width: 17.640px 58.520px 17.360px 52.640px; border-image: url('btn_disabled.png') 63 209 62 188 fill / 17.640px 58.520px 17.360px 52.640px / 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-inked_parchment_roguelite-card-common {
  box-sizing: border-box; background: transparent; border-style: solid; border-color: transparent; border-width: 13.440px 15.680px 12.880px 17.640px; border-image: url('card_common.png') 48 56 46 63 fill / 13.440px 15.680px 12.880px 17.640px / 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-inked_parchment_roguelite-card-common:hover { filter: brightness(1.04); transform: translateY(-2px); }

.uiv-inked_parchment_roguelite-card-rare {
  box-sizing: border-box; background: transparent; border-style: solid; border-color: transparent; border-width: 21.000px 23.800px 21.000px 23.800px; border-image: url('card_rare.png') 75 85 75 85 fill / 21.000px 23.800px 21.000px 23.800px / 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-inked_parchment_roguelite-card-rare:hover { filter: brightness(1.04); transform: translateY(-2px); }

.uiv-inked_parchment_roguelite-card-epic {
  box-sizing: border-box; background: transparent; border-style: solid; border-color: transparent; border-width: 22.400px 26.320px 22.120px 26.320px; border-image: url('card_epic.png') 80 94 79 94 fill / 22.400px 26.320px 22.120px 26.320px / 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-inked_parchment_roguelite-card-epic:hover { filter: brightness(1.04); transform: translateY(-2px); }

.uiv-inked_parchment_roguelite-card-legendary {
  box-sizing: border-box; background: transparent; border-style: solid; border-color: transparent; border-width: 29.960px 26.880px 29.400px 26.600px; border-image: url('card_legendary.png') 107 96 105 95 fill / 29.960px 26.880px 29.400px 26.600px / 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-inked_parchment_roguelite-card-legendary:hover { filter: brightness(1.04); transform: translateY(-2px); }

.uiv-inked_parchment_roguelite-bar-track {
  box-sizing: border-box; background: transparent; border-style: solid; border-color: transparent; border-width: 10.140px 18.200px 10.920px 17.940px; border-image: url('bar_track.png') 39 70 42 69 fill / 10.140px 18.200px 10.920px 17.940px / 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-inked_parchment_roguelite-bar-fill-primary {
  box-sizing: border-box; background: transparent; border-style: solid; border-color: transparent; border-width: 6.500px 7.800px 7.280px 7.280px; border-image: url('bar_fill_primary.png') 25 30 28 28 fill / 6.500px 7.800px 7.280px 7.280px / 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-inked_parchment_roguelite-tab-active {
  box-sizing: border-box; background: transparent; border-style: solid; border-color: transparent; border-width: 14.000px 13.440px 6.440px 13.720px; border-image: url('tab_active.png') 50 48 23 49 fill / 14.000px 13.440px 6.440px 13.720px / 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-inked_parchment_roguelite-tab-active:hover:not(:disabled) { filter: brightness(1.07); transform: translateY(-1px); }
.uiv-inked_parchment_roguelite-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-inked_parchment_roguelite-tab-active:focus-visible { outline: 2px solid var(--uiv-spotlight-ring); outline-offset: 2px; }
