/* Auto-generated by scripts/ui_vault_tool.py (v2.2 Tactile Steam/Play Store Polish) — UI Vault Style: plush_stitched_casual */
/* 100% Offline MS Store WebView2 Safe — Zero External Requests, Zero GPU Blur Filters, 9-Language 720p/1080p Safe */

:root, .uiv-plush_stitched_casual, [data-ui-vault-style='plush_stitched_casual'] {
  --uiv-preview-bg: #243554;
  --uiv-surface: #FBEBD1;
  --uiv-border: #4E2A1A;
  --uiv-primary: #55D418;
  --uiv-secondary: #1E96FC;
  --uiv-danger: #F04B6B;
  --uiv-text-light: #FFFFFF;
  --uiv-text-dark: #4E2A1A;
  --uiv-font-display: 'Titan One', 'Fredoka', 'Trebuchet MS', 'Segoe UI', system-ui, sans-serif;
  --uiv-font-body: 'Nunito', '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, 255, 255, 0.78);
  --uiv-bevel-lo: rgba(78, 42, 26, 0.30);
  --uiv-specular-sheen: rgba(255, 255, 255, 0.36);
  --uiv-spotlight-ring: #FF9F1C;
  --uiv-spotlight-glow: rgba(255, 159, 28, 0.45);
  --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: 'plush_stitched_casual';
  --tb-slot-shape: rect;
  --tb-slot-radius: 22px;
  --tb-slot-chamfer: 0px;
  --tb-slot-inset: 3px 3px 5px 3px;
  --tb-slot-palette: sakura;
  --tb-slot-mode: chaser_slot;
  --tb-slot-daylight: 1;
  --tb-slot-z: 3;
}

.uiv-plush_stitched_casual-popout {
  position: relative;
  overflow: visible !important;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.uiv-plush_stitched_casual-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-plush_stitched_casual, [data-ui-vault-style='plush_stitched_casual'] {
    --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-plush_stitched_casual-frame-modal {
  box-sizing: border-box; background: transparent; border-style: solid; border-color: transparent; border-width: 23.800px 25.200px 24.150px 25.200px; border-image: url('frame_modal.png') 68 72 69 72 fill / 23.800px 25.200px 24.150px 25.200px / 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-plush_stitched_casual-frame-subpanel {
  box-sizing: border-box; background: transparent; border-style: solid; border-color: transparent; border-width: 23.400px 23.700px 24.600px 24.600px; border-image: url('frame_subpanel.png') 78 79 82 82 fill / 23.400px 23.700px 24.600px 24.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: default;
  user-select: none;
}

.uiv-plush_stitched_casual-ribbon-header {
  box-sizing: border-box; background: transparent; border-style: solid; border-color: transparent; border-width: 21.760px 49.920px 22.400px 50.560px; border-image: url('ribbon_header.png') 68 156 70 158 fill / 21.760px 49.920px 22.400px 50.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: default;
  user-select: none;
}

.uiv-plush_stitched_casual-hud-pill {
  box-sizing: border-box; background: transparent; border-style: solid; border-color: transparent; border-width: 26.040px 17.640px 21.000px 24.080px; border-image: url('hud_pill.png') 93 63 75 86 fill / 26.040px 17.640px 21.000px 24.080px / 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-plush_stitched_casual-slot-tile {
  box-sizing: border-box; background: transparent; border-style: solid; border-color: transparent; border-width: 15.600px 18.000px 20.400px 15.900px; border-image: url('slot_tile.png') 52 60 68 53 fill / 15.600px 18.000px 20.400px 15.900px / 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-plush_stitched_casual-slot-tile:hover { filter: brightness(1.04); transform: translateY(-2px); }

.uiv-plush_stitched_casual-btn-primary {
  box-sizing: border-box; background: transparent; border-style: solid; border-color: transparent; border-width: 18.200px 26.320px 18.760px 25.200px; border-image: url('btn_primary.png') 65 94 67 90 fill / 18.200px 26.320px 18.760px 25.200px / 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-plush_stitched_casual-btn-primary:hover:not(:disabled) { filter: brightness(1.07); transform: translateY(-1px); }
.uiv-plush_stitched_casual-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-plush_stitched_casual-btn-primary:focus-visible { outline: 2px solid var(--uiv-spotlight-ring); outline-offset: 2px; }

.uiv-plush_stitched_casual-btn-secondary {
  box-sizing: border-box; background: transparent; border-style: solid; border-color: transparent; border-width: 17.920px 54.320px 24.360px 25.200px; border-image: url('btn_secondary.png') 64 194 87 90 fill / 17.920px 54.320px 24.360px 25.200px / 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-plush_stitched_casual-btn-secondary:hover:not(:disabled) { filter: brightness(1.07); transform: translateY(-1px); }
.uiv-plush_stitched_casual-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-plush_stitched_casual-btn-secondary:focus-visible { outline: 2px solid var(--uiv-spotlight-ring); outline-offset: 2px; }

.uiv-plush_stitched_casual-btn-danger {
  box-sizing: border-box; background: transparent; border-style: solid; border-color: transparent; border-width: 17.920px 23.520px 18.480px 23.520px; border-image: url('btn_danger.png') 64 84 66 84 fill / 17.920px 23.520px 18.480px 23.520px / 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-plush_stitched_casual-btn-danger:hover:not(:disabled) { filter: brightness(1.07); transform: translateY(-1px); }
.uiv-plush_stitched_casual-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-plush_stitched_casual-btn-danger:focus-visible { outline: 2px solid var(--uiv-spotlight-ring); outline-offset: 2px; }

.uiv-plush_stitched_casual-btn-disabled {
  box-sizing: border-box; background: transparent; border-style: solid; border-color: transparent; border-width: 17.640px 23.800px 22.960px 23.800px; border-image: url('btn_disabled.png') 63 85 82 85 fill / 17.640px 23.800px 22.960px 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);
  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-plush_stitched_casual-card-common {
  box-sizing: border-box; background: transparent; border-style: solid; border-color: transparent; border-width: 16.240px 17.640px 16.800px 17.080px; border-image: url('card_common.png') 58 63 60 61 fill / 16.240px 17.640px 16.800px 17.080px / 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-plush_stitched_casual-card-common:hover { filter: brightness(1.04); transform: translateY(-2px); }

.uiv-plush_stitched_casual-card-rare {
  box-sizing: border-box; background: transparent; border-style: solid; border-color: transparent; border-width: 19.320px 20.440px 19.880px 20.720px; border-image: url('card_rare.png') 69 73 71 74 fill / 19.320px 20.440px 19.880px 20.720px / 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-plush_stitched_casual-card-rare:hover { filter: brightness(1.04); transform: translateY(-2px); }

.uiv-plush_stitched_casual-card-epic {
  box-sizing: border-box; background: transparent; border-style: solid; border-color: transparent; border-width: 14.560px 18.760px 14.840px 38.080px; border-image: url('card_epic.png') 52 67 53 136 fill / 14.560px 18.760px 14.840px 38.080px / 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-plush_stitched_casual-card-epic:hover { filter: brightness(1.04); transform: translateY(-2px); }

.uiv-plush_stitched_casual-card-legendary {
  box-sizing: border-box; background: transparent; border-style: solid; border-color: transparent; border-width: 15.680px 15.960px 16.240px 15.960px; border-image: url('card_legendary.png') 56 57 58 57 fill / 15.680px 15.960px 16.240px 15.960px / 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-plush_stitched_casual-card-legendary:hover { filter: brightness(1.04); transform: translateY(-2px); }

.uiv-plush_stitched_casual-bar-track {
  box-sizing: border-box; background: transparent; border-style: solid; border-color: transparent; border-width: 15.860px 16.380px 15.600px 15.860px; border-image: url('bar_track.png') 61 63 60 61 fill / 15.860px 16.380px 15.600px 15.860px / 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-plush_stitched_casual-bar-fill-primary {
  box-sizing: border-box; background: transparent; border-style: solid; border-color: transparent; border-width: 11.700px 8.840px 9.360px 10.140px; border-image: url('bar_fill_primary.png') 45 34 36 39 fill / 11.700px 8.840px 9.360px 10.140px / 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-plush_stitched_casual-tab-active {
  box-sizing: border-box; background: transparent; border-style: solid; border-color: transparent; border-width: 15.400px 11.480px 9.520px 13.160px; border-image: url('tab_active.png') 55 41 34 47 fill / 15.400px 11.480px 9.520px 13.160px / 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-plush_stitched_casual-tab-active:hover:not(:disabled) { filter: brightness(1.07); transform: translateY(-1px); }
.uiv-plush_stitched_casual-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-plush_stitched_casual-tab-active:focus-visible { outline: 2px solid var(--uiv-spotlight-ring); outline-offset: 2px; }
