:root {
  --bg: #070d15;
  --panel: rgba(21, 31, 44, 0.86);
  --panel-strong: rgba(28, 40, 56, 0.96);
  --line: rgba(120, 164, 203, 0.22);
  --text: #f4f8ff;
  --muted: #92a4b8;
  --accent: #68b8ff;
  --accent-2: #72ffd5;
  --coin: #ffc845;
  --danger: #ff6b8a;
  --miner-bg-black: #020407;
  --miner-bg-graphite: #070b11;
  --miner-bg-navy: #09121f;
  --miner-panel-glass: rgba(8, 13, 20, 0.92);
  --miner-panel-metal: rgba(14, 21, 31, 0.96);
  --miner-panel-deep: rgba(3, 6, 10, 0.98);
  --miner-border-soft: rgba(67, 94, 124, 0.42);
  --miner-border-hairline: rgba(154, 185, 220, 0.08);
  --miner-highlight: rgba(255, 255, 255, 0.075);
  --miner-cyan-soft: rgba(93, 218, 255, 0.12);
  --miner-blue-soft: rgba(49, 151, 255, 0.11);
  --miner-green-soft: rgba(120, 223, 77, 0.12);
  --miner-stat-fill: linear-gradient(180deg, rgba(160, 248, 255, 0.98) 0%, rgba(61, 203, 232, 0.96) 48%, rgba(35, 137, 218, 0.92) 100%);
  --miner-stat-fill-blue: linear-gradient(180deg, rgba(130, 202, 255, 0.98) 0%, rgba(75, 147, 243, 0.96) 54%, rgba(42, 87, 190, 0.92) 100%);
  --miner-stat-empty: linear-gradient(180deg, rgba(13, 24, 39, 0.78), rgba(7, 15, 28, 0.86));
  --miner-stat-glow: 0 0 12px rgba(73, 200, 255, 0.16);
  --miner-focus-ring: 0 0 0 2px rgba(104, 184, 255, 0.34), 0 0 14px rgba(104, 184, 255, 0.16);
  --miner-shadow-deep: 0 22px 54px rgba(0, 0, 0, 0.42);
  --miner-shadow-panel: 0 14px 34px rgba(0, 0, 0, 0.28);
  --miner-inner-line: inset 0 1px 0 var(--miner-highlight);
  --miner-radius-lg: 22px;
  --miner-radius-md: 18px;
  --miner-radius-sm: 12px;
  font-family: Manrope, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

[hidden] {
  display: none !important;
}

html,
body {
  width: 100%;
  height: 100%;
  min-height: 100dvh;
  overflow: hidden;
  overscroll-behavior: none;
  background: #000207;
}

body {
  margin: 0;
  color: var(--text);
  background-color: #000207;
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.045), transparent 30rem),
    linear-gradient(180deg, #07090d 0%, #030508 56%, #010204 100%);
}

.is-telegram-webapp,
.is-telegram-webapp body {
  min-height: 100dvh;
  background: #000207;
  overflow: hidden;
  overscroll-behavior: none;
}

.is-telegram-webapp .cst-app {
  height: 100dvh;
  min-height: 100dvh;
  max-height: 100dvh;
}

.is-telegram-webapp .screen {
  height: calc(100dvh - max(28px, env(safe-area-inset-top)) - max(28px, env(safe-area-inset-bottom)));
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.012) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: linear-gradient(to bottom, transparent, #000 20%, #000 86%, transparent);
}

body:has(.cst-app[data-active-tab="Dashboard"]) {
  background:
    radial-gradient(circle at 50% -8%, rgba(78, 130, 186, 0.12), transparent 29rem),
    radial-gradient(circle at 16% 18%, rgba(77, 225, 255, 0.045), transparent 16rem),
    linear-gradient(180deg, #07090d 0%, #030508 55%, #010204 100%);
}

button,
input { font: inherit; }

button { cursor: pointer; }

h1,
h2,
h3,
p { margin-top: 0; }

.cst-app {
  position: relative;
  width: min(100vw, 430px);
  height: 100svh;
  margin: 0 auto;
  overflow: hidden;
  padding: max(14px, env(safe-area-inset-top)) 22px max(14px, env(safe-area-inset-bottom));
  background:
    radial-gradient(circle at 20% 10%, rgba(255, 255, 255, 0.045), transparent 9rem),
    radial-gradient(circle at 86% 2%, rgba(255, 255, 255, 0.032), transparent 11rem),
    linear-gradient(180deg, rgba(9, 12, 17, 0.96), rgba(3, 5, 8, 0.985));
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

.cst-app[data-game-focus="true"] {
  touch-action: none;
  overscroll-behavior: none;
}

.cst-app::before {
  content: "";
  position: absolute;
  inset: 16px;
  border: 1px solid rgba(205, 216, 226, 0.13);
  border-radius: 30px;
  pointer-events: none;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.screen {
  position: relative;
  z-index: 1;
  height: calc(100svh - max(28px, env(safe-area-inset-top)) - max(28px, env(safe-area-inset-bottom)));
  overflow: hidden;
  animation: enter 0.28s ease both;
  -webkit-tap-highlight-color: transparent;
}

@keyframes enter {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.welcome-screen {
  display: grid;
  align-content: center;
  gap: 12px;
  text-align: center;
  padding: 10px 8px 18px;
}

.welcome-lang {
  justify-self: center;
  align-self: center;
  margin: 0 auto 2px;
}

.game-orb {
  position: relative;
  display: grid;
  place-items: center;
  width: min(61vw, 236px);
  aspect-ratio: 240 / 220;
  margin: 0 auto 2px;
  overflow: visible;
  border-radius: 34px;
  background:
    radial-gradient(circle at 50% 46%, rgba(104, 184, 255, 0.14), transparent 48%),
    radial-gradient(circle at 50% 56%, rgba(120, 223, 77, 0.08), transparent 45%);
  filter:
    drop-shadow(0 18px 28px rgba(0, 0, 0, 0.32))
    drop-shadow(0 0 28px rgba(74, 166, 255, 0.18));
}

.mining-node-svg {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
}

.node-network {
  transform-origin: 120px 108px;
  animation: nodeOrbit 18s ease-in-out infinite alternate;
}

.node-link {
  fill: none;
  stroke: rgba(110, 220, 255, 0.24);
  stroke-width: 1;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.node-link-soft {
  stroke: rgba(120, 223, 77, 0.14);
  stroke-dasharray: 6 8;
}

.node-dot {
  fill: #71dfff;
  filter: url("#nodeGlow");
  opacity: 0.88;
  animation: nodeDotPulse 3.8s ease-in-out infinite;
}

.node-dot-b {
  fill: #68b8ff;
  animation-delay: 0.7s;
}

.node-dot-c {
  fill: #78df4d;
  animation-delay: 1.4s;
}

.node-dot-d {
  fill: #8fe8ff;
  animation-delay: 2.1s;
}

.node-outer-glow {
  fill: url("#nodeCoreGlow");
  opacity: 0.72;
  filter: url("#nodeGlow");
  animation: nodeGlowPulse 4.8s ease-in-out infinite;
}

.node-hex {
  fill: url("#nodeGlass");
  stroke: url("#nodeStroke");
  stroke-width: 1.4;
  filter: drop-shadow(0 16px 22px rgba(0, 0, 0, 0.42));
}

.node-hex-inner {
  fill: rgba(4, 10, 17, 0.54);
  stroke: rgba(167, 232, 255, 0.13);
  stroke-width: 1;
}

.node-highlight {
  fill: none;
  stroke: rgba(237, 252, 255, 0.36);
  stroke-width: 1.2;
  stroke-linecap: round;
}

.node-core {
  fill: url("#nodeCoreGlow");
  opacity: 0.85;
}

.node-label {
  fill: #ecf9ff;
  font-family: Sora, Manrope, sans-serif;
  font-size: 34px;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-shadow:
    0 0 10px rgba(104, 184, 255, 0.38),
    0 2px 8px rgba(0, 0, 0, 0.36);
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

@keyframes nodeGlowPulse {
  0%,
  100% { opacity: 0.58; transform: scale(0.985); }
  50% { opacity: 0.88; transform: scale(1.015); }
}

@keyframes nodeDotPulse {
  0%,
  100% { opacity: 0.62; }
  50% { opacity: 1; }
}

@keyframes nodeOrbit {
  from { transform: rotate(-1.8deg) translateY(0); }
  to { transform: rotate(1.8deg) translateY(1px); }
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  margin: 0 auto;
  color: var(--accent-2);
  font-family: Sora, Manrope, sans-serif;
  font-weight: 500;
}

.brand-mark span {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--accent-2);
  box-shadow: 0 0 20px rgba(114, 255, 213, 0.9);
}

.brand-mark.small {
  margin: 0;
  font-size: 15px;
}

h1 {
  margin: 0;
  font-family: Sora, Manrope, sans-serif;
  font-size: clamp(28px, 9vw, 42px);
  line-height: 0.98;
}

h2 {
  margin-bottom: 10px;
  font-family: Sora, Manrope, sans-serif;
  font-size: 22px;
}

h3 {
  margin-bottom: 6px;
  font-size: 16px;
}

.welcome-screen p,
.top-subtitle,
.tiny-note,
.auto-note,
.coming {
  color: var(--muted);
}

.welcome-screen p {
  max-width: 36ch;
  margin-left: auto;
  margin-right: auto;
  font-size: 14px;
  line-height: 1.45;
}

.ton-connect-slot {
  display: flex;
  justify-content: center;
  min-height: 56px;
}

.ton-connect-slot[hidden] {
  display: none !important;
}

.telegram-login-slot {
  display: flex;
  justify-content: center;
  min-height: 56px;
}

.telegram-login-slot iframe {
  width: min(100%, 300px) !important;
}

.telegram-login-native {
  justify-self: center;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  width: min(100%, 300px);
  min-height: 54px;
  border: 0;
  border-radius: 999px;
  color: #fff;
  background: #229ed9;
  box-shadow: 0 14px 34px rgba(34, 158, 217, 0.34);
  font: 800 16px/1 Manrope, system-ui, sans-serif;
}

.telegram-login-native span {
  display: grid;
  place-items: center;
  width: 21px;
  height: 21px;
  border-radius: 50%;
  color: #229ed9;
  background: #fff;
  font-size: 11px;
  transform: rotate(-20deg);
}

.telegram-login-native[hidden] {
  display: none !important;
}

.telegram-login-fallback {
  justify-self: center;
  width: min(100%, 300px);
  min-height: 46px;
  border-radius: 18px;
  border-color: rgba(104, 184, 255, 0.35);
  color: #9bd2ff;
  background: rgba(21, 156, 255, 0.12);
  box-shadow: none;
  font-size: 15px;
}

.telegram-login-fallback[hidden] {
  display: none !important;
}

.top-icon-user img[data-user-avatar] {
  border-radius: 50%;
  object-fit: cover;
}

.top-icon-user img.is-telegram-photo {
  width: 44px;
  height: 44px;
}

.ton-connect-slot > div {
  display: flex !important;
  justify-content: center !important;
  width: 100% !important;
}

.ton-connect-slot tc-root,
.ton-connect-slot button {
  width: min(100%, 300px) !important;
}

.ton-connect-slot button {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0 !important;
  min-height: 54px !important;
  border-radius: 18px !important;
  color: #f7fbff !important;
  background: linear-gradient(135deg, #159cff, #0077ff) !important;
  box-shadow: 0 14px 34px rgba(0, 135, 255, 0.34) !important;
  font-family: Manrope, system-ui, sans-serif !important;
  font-size: 16px !important;
  font-weight: 800 !important;
}

.ton-connect-slot button svg {
  display: none !important;
}

.ton-connect-slot button div,
.ton-connect-slot button span {
  font-size: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
}

.ton-connect-slot button::after {
  content: "Connect TON";
  font-size: 16px;
}

.primary-btn,
.ghost-btn {
  min-height: 40px;
  border: 1px solid transparent;
  border-radius: 18px;
  padding: 0 14px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.08);
}

.primary-btn {
  color: #07121a;
  background: linear-gradient(135deg, var(--accent-2), #c8fff1);
  font-weight: 800;
  box-shadow: 0 10px 28px rgba(114, 255, 213, 0.2);
}

.connect-ton-btn {
  justify-self: center;
  width: min(100%, 260px);
  color: #f7fbff;
  background: linear-gradient(135deg, #159cff, #0077ff);
  box-shadow: 0 14px 34px rgba(0, 135, 255, 0.34);
}

.primary-btn:disabled,
.ghost-btn:disabled {
  cursor: not-allowed;
  opacity: 0.52;
}

.ghost-btn {
  border-color: rgba(255, 255, 255, 0.13);
  color: #dbe8f7;
  background: rgba(255, 255, 255, 0.07);
}

.app-top,
.dash-header,
.section-head,
.process-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.app-top,
.dash-header {
  height: 54px;
  margin-bottom: 4px;
  padding: 4px 6px 0;
}

.top-subtitle {
  margin: 3px 0 0;
  font-size: 13px;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 10px;
}

.dash-spacer {
  width: 1px;
  height: 1px;
}

.lang-switch {
  position: relative;
}

.lang-switch summary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 22px;
  color: #f1f7ff;
  background: rgba(255, 255, 255, 0.07);
  font-size: 15px;
  font-weight: 800;
  list-style: none;
  cursor: pointer;
}

.lang-switch summary::-webkit-details-marker {
  display: none;
}

.lang-switch summary::after {
  content: "";
  width: 0;
  height: 0;
  margin-left: 6px;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid rgba(241, 247, 255, 0.76);
}

.lang-menu {
  position: absolute;
  top: calc(100% + 7px);
  right: 0;
  z-index: 20;
  display: grid;
  gap: 4px;
  min-width: 92px;
  padding: 6px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  background: rgba(13, 22, 35, 0.96);
  box-shadow: 0 14px 38px rgba(0, 0, 0, 0.34);
}

.welcome-lang .lang-menu {
  top: calc(100% + 9px);
  right: 50%;
  bottom: auto;
  transform: translateX(50%);
}

.welcome-lang summary {
  width: 48px;
  height: 34px;
  border-color: rgba(229, 238, 249, 0.18);
  border-radius: 999px;
  color: #f5f8ff;
  background:
    radial-gradient(circle at 34% 12%, rgba(255, 255, 255, 0.12), transparent 32%),
    linear-gradient(180deg, rgba(31, 34, 40, 0.92), rgba(17, 19, 24, 0.96));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    inset 0 -14px 22px rgba(0, 0, 0, 0.22),
    0 0 0 1px rgba(255, 255, 255, 0.035),
    0 14px 30px rgba(0, 0, 0, 0.28);
  font-size: 14px;
  font-weight: 900;
  line-height: 1;
}

.welcome-lang summary::after {
  margin-left: 4px;
  border-left-width: 4px;
  border-right-width: 4px;
  border-top-width: 5px;
  border-top-color: rgba(230, 238, 248, 0.82);
}

.settings-switch {
  position: relative;
}

.settings-switch summary {
  display: inline-grid;
  place-items: center;
  width: 58px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 22px;
  color: #f1f7ff;
  background: rgba(255, 255, 255, 0.07);
  font-size: 25px;
  font-weight: 800;
  list-style: none;
  cursor: pointer;
}

.settings-switch summary::-webkit-details-marker {
  display: none;
}

.settings-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 22;
  display: grid;
  gap: 0;
  width: min(318px, calc(100vw - 42px));
  overflow: hidden;
  padding: 8px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 24px;
  background: rgba(13, 22, 35, 0.97);
  box-shadow: 0 14px 38px rgba(0, 0, 0, 0.34);
}

.settings-row {
  display: grid;
  grid-template-columns: 38px 1fr auto 16px;
  align-items: center;
  gap: 10px;
  min-height: 58px;
  padding: 8px 6px;
  color: #f3f8ff;
  font-size: 17px;
}

.settings-row + .settings-row {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.settings-row b {
  max-width: 118px;
  overflow: hidden;
  color: var(--muted);
  font-size: 15px;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.settings-row i {
  color: rgba(255, 255, 255, 0.35);
  font-size: 32px;
  font-style: normal;
  line-height: 1;
}

.settings-icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  color: #fff;
  font-size: 17px;
  font-weight: 800;
}

.wallet-icon { background: linear-gradient(135deg, #159cff, #0077ff); }
.referral-icon { background: linear-gradient(135deg, #b94cff, #8d4dff); }

.settings-disconnect {
  min-height: 38px;
  margin: 8px 6px 4px;
  border: 0;
  border-radius: 14px;
  color: #07121a;
  background: var(--accent-2);
  font-weight: 800;
}

.lang-menu button {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 7px;
  min-height: 30px;
  padding: 0 9px;
  border: 0;
  border-radius: 11px;
  color: #dce8f8;
  background: transparent;
  font-weight: 800;
}

.lang-flag {
  position: relative;
  flex: 0 0 16px;
  width: 16px;
  height: 11px;
  overflow: hidden;
  border-radius: 2px;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.28),
    0 1px 4px rgba(0, 0, 0, 0.26);
}

.lang-flag-en {
  background:
    repeating-linear-gradient(
      to bottom,
      #f8f8f8 0 1px,
      #f8f8f8 1px 2px,
      #d84255 2px 3px,
      #d84255 3px 4px
    );
}

.lang-flag-en::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 7px;
  height: 6px;
  background: #2e5aa8;
}

.lang-flag-ru {
  background: linear-gradient(to bottom, #f8f8f8 0 33.33%, #275fc7 33.33% 66.66%, #dc3444 66.66%);
}

.lang-flag-fr {
  background: linear-gradient(to right, #2456a6 0 33.33%, #f8f8f8 33.33% 66.66%, #df3348 66.66%);
}

.lang-flag-it {
  background: linear-gradient(to right, #25985a 0 33.33%, #f8f8f8 33.33% 66.66%, #d93645 66.66%);
}

.lang-flag-ua {
  background: linear-gradient(to bottom, #2f7ee8 0 50%, #ffd84a 50%);
}

.lang-flag-cn {
  background: #de2e3a;
}

.lang-flag-cn::before {
  content: "";
  position: absolute;
  left: 3px;
  top: 3px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #ffd74a;
  box-shadow: 4px -1px 0 -1.5px #ffd74a, 5px 2px 0 -1.5px #ffd74a;
}

.lang-menu button:hover {
  color: #07121a;
  background: var(--accent-2);
}

.panel,
.agent-card,
.metric-card,
.process-card {
  border: 1px solid var(--line);
  border-radius: 24px;
  background: linear-gradient(180deg, var(--panel), rgba(12, 20, 31, 0.9));
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.26);
  backdrop-filter: blur(18px);
}

.onboarding-screen {
  display: grid;
  grid-template-rows: 54px 1fr;
}

.onboarding-panel {
  display: grid;
  grid-template-rows: auto 1fr auto auto;
  min-height: 0;
  padding: 18px;
}

.scroll-copy {
  min-height: 0;
  overflow: auto;
  padding-right: 8px;
  color: #d6e2ef;
}

.scroll-copy p {
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 14px;
}

.accept-row {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin: 12px 0;
  color: #e9f3ff;
  font-size: 13px;
}

.accept-row input {
  width: 19px;
  height: 19px;
  accent-color: var(--accent-2);
}

.agent-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  min-height: 0;
}

.agent-card {
  position: relative;
  display: grid;
  grid-template-rows: auto auto 1fr auto;
  min-height: 0;
  overflow: hidden;
  padding: 14px;
}

.agent-card::before {
  content: "";
  position: absolute;
  right: -32px;
  bottom: -34px;
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(104, 184, 255, 0.18), transparent 65%);
}

.agent-card.premium {
  border-color: rgba(255, 200, 69, 0.45);
  box-shadow: 0 0 36px rgba(255, 200, 69, 0.12);
}

.agent-card h3 {
  min-height: 40px;
  margin-right: 58px;
  font-family: Sora, Manrope, sans-serif;
  font-size: 14px;
  line-height: 1.12;
}

.price-pill {
  position: absolute;
  right: 10px;
  top: 10px;
  padding: 6px 8px;
  border-radius: 999px;
  color: #07121a;
  background: var(--accent-2);
  font-size: 11px;
  font-weight: 800;
}

.agent-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin: 4px 0 8px;
}

.agent-meta span,
.agent-badge,
.eyebrow {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  padding: 5px 7px;
  color: #c9d7e8;
  background: rgba(255, 255, 255, 0.06);
  font-size: 10px;
}

.benefits {
  min-height: 0;
  margin: 0 0 10px;
  padding: 0;
  overflow: hidden;
  list-style: none;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.35;
}

.benefits li {
  margin: 4px 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.agent-card .primary-btn {
  justify-self: start;
  min-height: 36px;
  border-radius: 14px;
  padding: 0 12px;
  font-size: 12px;
}

.dashboard-screen {
  display: grid;
  grid-template-rows: 60px minmax(0, 1fr) 76px;
  touch-action: manipulation;
  -webkit-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
  -webkit-tap-highlight-color: transparent;
}

.cst-app[data-active-tab="Dashboard"] .dashboard-screen {
  grid-template-rows: 0 minmax(0, 1fr) 68px;
  height: 100%;
}

.cst-app[data-active-tab="Dashboard"] {
  background:
    radial-gradient(circle at 22% 7%, rgba(80, 171, 255, 0.08), transparent 10rem),
    radial-gradient(circle at 86% 12%, rgba(93, 218, 255, 0.05), transparent 11rem),
    linear-gradient(180deg, rgba(8, 11, 16, 0.98), rgba(3, 5, 8, 0.995));
}

.cst-app[data-active-tab="Dashboard"]::before,
.cst-app[data-active-tab="Game"]::before,
.cst-app[data-active-tab="Arena"]::before,
.cst-app[data-active-tab="Packer"]::before,
.cst-app[data-active-tab="Basher"]::before,
.cst-app[data-active-tab="Birder"]::before,
.cst-app[data-active-tab="Case"]::before,
.cst-app[data-active-tab="Ludix"]::before,
.cst-app[data-active-tab="Casino"]::before {
  display: none;
  content: none;
}

.cst-app[data-active-tab="Game"]::after,
.cst-app[data-active-tab="Arena"]::after,
.cst-app[data-active-tab="Packer"]::after,
.cst-app[data-active-tab="Basher"]::after,
.cst-app[data-active-tab="Birder"]::after,
.cst-app[data-active-tab="Case"]::after,
.cst-app[data-active-tab="Ludix"]::after,
.cst-app[data-active-tab="Casino"]::after {
  display: none;
  content: none;
}

.cst-app[data-active-tab="Game"],
.cst-app[data-active-tab="Arena"],
.cst-app[data-active-tab="Packer"],
.cst-app[data-active-tab="Basher"],
.cst-app[data-active-tab="Birder"],
.cst-app[data-active-tab="Case"],
.cst-app[data-active-tab="Ludix"],
.cst-app[data-active-tab="Casino"] {
  background: transparent;
  border-radius: 0;
  box-shadow: none;
  outline: none;
}

.cst-app[data-active-tab="Dashboard"]::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    linear-gradient(rgba(255, 255, 255, 0.017) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.012) 1px, transparent 1px),
    radial-gradient(circle at 50% 26%, rgba(75, 166, 255, 0.055), transparent 17rem);
  background-size: 28px 28px, 28px 28px, auto;
  mask-image: linear-gradient(to bottom, transparent 0%, #000 12%, #000 88%, transparent 100%);
}

.cst-app[data-active-tab="Dashboard"] .dash-header {
  display: none;
}

body:has(.dashboard-screen:not([hidden])) .cst-app {
  padding-left: max(10px, env(safe-area-inset-left));
  padding-right: max(10px, env(safe-area-inset-right));
}

body:has(.dashboard-screen:not([hidden])) .tab-panel[data-tab-panel="Dashboard"] .miner-wallet,
body:has(.dashboard-screen:not([hidden])) .tab-panel[data-tab-panel="Dashboard"] .process-card,
body:has(.dashboard-screen:not([hidden])) .dashboard-screen > .tabs {
  justify-self: center;
  width: 100%;
}

body:has(.dashboard-screen:not([hidden])) .dashboard-screen {
  grid-template-rows: 0 minmax(0, 1fr) 76px;
}

.cst-app[data-active-tab="Game"] .dashboard-screen,
.cst-app[data-active-tab="Arena"] .dashboard-screen,
.cst-app[data-active-tab="Packer"] .dashboard-screen,
.cst-app[data-active-tab="Basher"] .dashboard-screen,
.cst-app[data-active-tab="Birder"] .dashboard-screen,
.cst-app[data-active-tab="Case"] .dashboard-screen,
.cst-app[data-active-tab="Ludix"] .dashboard-screen,
.cst-app[data-active-tab="Casino"] .dashboard-screen {
  grid-template-rows: 14px minmax(0, 1fr) 76px;
  height: 100%;
}

.cst-app[data-active-tab="Ludix"] .dashboard-screen {
  grid-template-rows: 14px minmax(0, 1fr) 76px;
}

.cst-app[data-active-tab="Casino"] .dashboard-screen {
  grid-template-rows: 8px minmax(0, 1fr) 76px;
}

.cst-app[data-active-tab="Game"] .dash-header,
.cst-app[data-active-tab="Arena"] .dash-header,
.cst-app[data-active-tab="Packer"] .dash-header,
.cst-app[data-active-tab="Basher"] .dash-header,
.cst-app[data-active-tab="Birder"] .dash-header,
.cst-app[data-active-tab="Case"] .dash-header,
.cst-app[data-active-tab="Ludix"] .dash-header,
.cst-app[data-active-tab="Casino"] .dash-header {
  display: none;
}

.tabs {
  align-self: end;
  display: grid;
  grid-row: 3;
  grid-template-columns: repeat(3, 1fr);
  gap: 5px;
  margin: 8px 0 0;
  padding: 7px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 26px;
  background: rgba(7, 14, 24, 0.84);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.035);
  touch-action: manipulation;
  -webkit-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
  -webkit-tap-highlight-color: transparent;
}

.cst-app[data-active-tab="Dashboard"] .tabs {
  position: relative;
  overflow: hidden;
  margin-top: 0;
  border-color: var(--miner-border-hairline);
  background:
    radial-gradient(circle at 18% 4%, rgba(93, 218, 255, 0.065), transparent 45%),
    radial-gradient(circle at 72% 110%, rgba(120, 223, 77, 0.035), transparent 42%),
    linear-gradient(180deg, rgba(8, 14, 22, 0.92), rgba(3, 7, 12, 0.98));
  box-shadow:
    var(--miner-inner-line),
    inset 0 -12px 22px rgba(0, 0, 0, 0.16),
    0 0 0 1px rgba(22, 43, 68, 0.34),
    0 18px 38px rgba(0, 0, 0, 0.32);
}

.cst-app[data-active-tab="Dashboard"] .tabs::before {
  content: "";
  position: absolute;
  inset: 1px;
  pointer-events: none;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.035), transparent 38%);
}

.cst-app[data-active-tab="Dashboard"] .tabs button {
  position: relative;
  z-index: 1;
  color: rgba(166, 183, 203, 0.8);
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.45);
  transition: color 140ms ease, filter 140ms ease, transform 140ms ease;
}

.cst-app[data-active-tab="Dashboard"] .tabs button:active {
  transform: translateY(1px);
}

.cst-app[data-active-tab="Dashboard"] .tabs button:focus-visible {
  outline: 0;
  box-shadow: var(--miner-focus-ring);
}

.cst-app[data-active-tab="Dashboard"] .tab-icon img {
  filter: grayscale(0.55) brightness(1.05) opacity(0.58)
    drop-shadow(0 0 7px rgba(110, 172, 220, 0.08));
}

.cst-app[data-active-tab="Dashboard"] .tabs button b {
  color: rgba(176, 193, 213, 0.86);
  font-weight: 800;
}

.tabs button {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  min-width: 0;
  min-height: 50px;
  border: 0;
  border-radius: 20px;
  color: #9fb2c7;
  background: transparent;
  font-size: 11.4px;
  font-weight: 700;
  letter-spacing: 0;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

.tabs button b {
  font: inherit;
  white-space: nowrap;
}

.tab-icon {
  position: relative;
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  color: #6bd8ff;
  line-height: 1;
}

.tab-icon img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 0 8px rgba(114, 255, 213, 0.24));
}

.tab-icon-dashboard {
  color: #6bd8ff;
}

.tab-icon-case {
  color: #6bd8ff;
}

.tab-icon-ludix {
  color: #6bd8ff;
}

.tab-icon-casino {
  color: #6bd8ff;
}

.tabs button.active .tab-icon {
  color: #6bd8ff;
}

.tabs button.active .tab-icon img {
  filter: grayscale(1) brightness(1.55) opacity(0.72);
}

.tabs button.active {
  color: #9fb2c7;
  font-weight: 800;
  background: transparent;
  box-shadow: none;
}

.tabs button.tab-dashboard.active b {
  color: #78df4d;
  text-shadow: 0 0 12px rgba(120, 223, 77, 0.5);
}

.cst-app[data-active-tab="Dashboard"] .tabs button.tab-dashboard.active {
  color: #78df4d;
}

.cst-app[data-active-tab="Dashboard"] .tabs button.tab-dashboard.active .tab-icon img {
  filter: grayscale(0.22) brightness(1.38) saturate(1.14)
    drop-shadow(0 0 8px rgba(120, 223, 77, 0.24));
}

.cst-app[data-active-tab="Dashboard"] .tabs button.tab-dashboard.active .tab-icon::after {
  content: "";
  position: absolute;
  inset: 8px 2px -4px;
  z-index: 0;
  border-radius: 999px;
  background: rgba(120, 223, 77, 0.16);
  filter: blur(10px);
}

.cst-app[data-active-tab="Dashboard"] .tabs button.tab-dashboard.active b {
  color: #78df4d;
  text-shadow:
    0 0 8px rgba(120, 223, 77, 0.3),
    0 1px 0 rgba(0, 0, 0, 0.55);
}

.tabs button.tab-case.active b {
  color: #ff9f12;
  text-shadow: 0 0 13px rgba(255, 159, 18, 0.68);
}

.tabs button.tab-game.active b {
  color: #61b8ff;
  text-shadow: 0 0 14px rgba(74, 166, 255, 0.72);
}

.tabs button.tab-arena.active b {
  color: #b8bec8;
  text-shadow: 0 0 12px rgba(170, 182, 196, 0.42);
}

.tabs button.tab-case.active .tab-icon img {
  filter: grayscale(1) brightness(1.55) sepia(1) saturate(2.2) hue-rotate(350deg) opacity(0.82)
    drop-shadow(0 0 10px rgba(255, 159, 18, 0.42));
}

.tabs button.tab-ludix.active b {
  color: #ff5f73;
  text-shadow: 0 0 12px rgba(255, 95, 115, 0.56);
}

.tabs button.tab-casino.active b {
  color: #61b8ff;
  text-shadow: 0 0 14px rgba(74, 166, 255, 0.72);
}

.tab-panel {
  grid-row: 2;
  min-height: 0;
  overflow: hidden;
  animation: enter 0.2s ease both;
}

.tab-panel[data-tab-panel="Dashboard"] {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  gap: 7px;
}

.game-entry-loader {
  position: fixed;
  inset: 0;
  z-index: 99990;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(2, 5, 9, 0.9);
  opacity: 1;
  visibility: visible;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

.game-entry-loader[hidden] {
  display: none !important;
}

.game-entry-loader.is-hiding {
  opacity: 0;
  visibility: hidden;
}

.game-entry-loader__card {
  display: grid;
  justify-items: center;
  gap: 16px;
  width: min(310px, 86vw);
  padding: 34px 28px 30px;
  border: 1px solid rgba(83, 167, 255, 0.34);
  border-radius: 26px;
  color: #f4f8ff;
  background:
    radial-gradient(circle at 50% 0%, rgba(58, 156, 255, 0.08), transparent 56%),
    linear-gradient(180deg, rgba(12, 25, 42, 0.98), rgba(3, 8, 15, 0.99));
  box-shadow:
    0 28px 58px rgba(0, 0, 0, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.game-entry-loader__card b {
  font-family: Sora, Manrope, sans-serif;
  font-size: 20px;
  font-weight: 900;
  line-height: 1.1;
  text-align: center;
}

.game-entry-loader__ring {
  position: relative;
  width: 82px;
  height: 82px;
  border-radius: 50%;
  background:
    conic-gradient(from 0deg, #2aa8ff, #68d9ff, #2aa8ff, transparent 78%);
  animation: gameEntrySpin 0.9s linear infinite;
  box-shadow: 0 0 26px rgba(49, 151, 255, 0.25);
}

.game-entry-loader__ring::before {
  content: "";
  position: absolute;
  inset: 7px;
  border-radius: inherit;
  background: #07101b;
}

.game-entry-loader__ring span {
  position: absolute;
  inset: 24px;
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(47, 140, 255, 0.95), rgba(9, 96, 205, 0.96));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.22),
    0 0 18px rgba(49, 151, 255, 0.38);
}

.game-entry-loader__bar {
  width: 100%;
  height: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(91, 126, 161, 0.2);
  box-shadow: inset 0 0 0 1px rgba(104, 184, 255, 0.16);
}

.game-entry-loader__bar i {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #1789ff, #61d1ff);
  box-shadow: 0 0 18px rgba(49, 151, 255, 0.4);
  animation: gameEntryProgress 2s linear forwards;
}

@keyframes gameEntrySpin {
  to { transform: rotate(360deg); }
}

@keyframes gameEntryProgress {
  to { width: 100%; }
}

.game-select-panel {
  display: grid;
  grid-template-rows: auto auto;
  align-content: start;
  gap: 10px;
  overflow: hidden;
}

.game-top {
  margin-top: 10px;
}

.game-select-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 36px 14px;
  align-content: start;
  box-sizing: border-box;
  width: 100%;
  min-height: 0;
  padding: 40px 12px 14px;
}

.game-select-stage {
  box-sizing: border-box;
  display: grid;
  grid-template-rows: auto;
  width: 100%;
  min-height: 0;
  overflow: hidden;
  border: 1px solid rgba(79, 150, 221, 0.22);
  border-radius: 20px;
  background:
    radial-gradient(circle at 50% 18%, rgba(49, 151, 255, 0.12), transparent 18rem),
    linear-gradient(180deg, rgba(8, 18, 30, 0.78), rgba(3, 7, 12, 0.98));
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.04),
    0 18px 38px rgba(0,0,0,.28);
}

.game-select-card {
  position: relative;
  display: grid;
  align-content: end;
  justify-items: center;
  min-width: 0;
  min-height: 132px;
  padding: 54px 10px 18px;
  border: 0;
  border-radius: 12px;
  color: #f6f8ff;
  background: linear-gradient(180deg, #252525, #1c1c1d);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.04), 0 14px 24px rgba(0,0,0,.22);
  text-align: center;
}

.game-card-icon {
  position: absolute;
  top: -27px;
  left: 50%;
  display: grid;
  place-items: center;
  width: 70px;
  height: 70px;
  border-radius: 20px;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #2ba8ff, #6af4ff);
  box-shadow: 0 12px 22px rgba(0,0,0,.28);
}

.game-card-fortune .game-card-icon {
  background: linear-gradient(135deg, #2a2d32, #111419);
}

.game-card-spin .game-card-icon {
  background: linear-gradient(135deg, #ff3344, #9f0614);
}

.game-card-basher {
  cursor: pointer;
}

.game-card-basher .game-card-icon {
  background: linear-gradient(135deg, #8b39ff, #3c0d86);
  filter: saturate(1.08);
}

.game-card-jumper .game-card-icon {
  background: linear-gradient(135deg, #145cff, #2d7dff);
}

.game-card-packer .game-card-icon {
  background: linear-gradient(135deg, #ff4457, #a80718);
}

.game-card-secret .game-card-icon {
  background: linear-gradient(135deg, #10141b, #030507);
}

.game-card-birder .game-card-icon {
  background: linear-gradient(135deg, #0d7f45, #04371f);
}

.game-card-icon img {
  width: 46px;
  height: 46px;
  object-fit: contain;
  opacity: 1;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,.22));
}

.game-select-card b {
  font-size: 19px;
  line-height: 1.05;
}

.game-select-card small {
  max-width: 13ch;
  margin-top: 9px;
  color: rgba(235, 240, 248, 0.48);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.25;
}

.game-select-card:active {
  transform: translateY(1px);
}

@media (min-width: 760px) {
  .game-select-grid {
    gap: 34px 14px;
    padding: 42px 12px 14px;
  }

  .game-select-card {
    min-height: 132px;
    padding: 54px 10px 18px;
  }

  .game-card-icon {
    top: -26px;
    width: 68px;
    height: 68px;
    border-radius: 19px;
  }

  .game-card-icon img {
    width: 44px;
    height: 44px;
  }

  .game-select-card b {
    font-size: 18px;
  }

  .game-select-card small {
    margin-top: 9px;
    font-size: 11.5px;
  }
}

.packer-panel,
.basher-panel,
.birder-panel,
.arena-panel {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  gap: 10px;
  height: 100%;
  min-height: 0;
  overflow: hidden;
}

.packer-top,
.basher-top,
.birder-top,
.arena-top {
  margin-top: 10px;
}

.basher-top .casino-wallet,
.birder-top .casino-wallet {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.packer-stage,
.basher-stage,
.birder-stage,
.arena-stage {
  min-height: 0;
  border: 1px solid rgba(79, 150, 221, 0.22);
  border-radius: 20px;
  background:
    linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.014) 1px, transparent 1px),
    radial-gradient(circle at 50% 34%, rgba(49, 151, 255, 0.14), transparent 18rem),
    linear-gradient(180deg, rgba(8, 18, 30, 0.88), rgba(3, 7, 12, 0.98));
  background-size: 28px 28px, 28px 28px, auto, auto;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.04), 0 18px 38px rgba(0,0,0,.28);
}

.basher-stage,
.birder-stage {
  display: grid;
  padding: 0;
  overflow: hidden;
}

.basher-lb-balance {
  grid-column: auto;
  align-self: stretch;
  display: grid;
  grid-template-rows: 18px 24px;
  row-gap: 5px;
  align-content: center;
  justify-items: center;
  align-items: center;
  min-height: 70px;
  min-width: 0;
  padding: 8px 7px;
  overflow: hidden;
  border-radius: 20px;
  text-align: center;
  background:
    radial-gradient(circle at 28% 10%, rgba(255, 255, 255, 0.13), transparent 28%),
    linear-gradient(145deg, rgba(39, 48, 60, 0.96), rgba(19, 27, 38, 0.98) 55%, rgba(8, 13, 21, 0.99));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.095),
    inset 0 -12px 22px rgba(0, 0, 0, 0.2),
    0 12px 24px rgba(0, 0, 0, 0.24);
}

.basher-top .basher-lb-balance span,
.birder-top .basher-lb-balance span {
  color: rgba(178, 196, 216, 0.92);
  font-size: 11.5px;
  font-weight: 600;
  line-height: 1.1;
  text-align: center;
}

.basher-top .basher-lb-balance b,
.birder-top .basher-lb-balance b {
  display: block;
  width: 100%;
  min-width: 0;
  margin-top: 0;
  overflow: hidden;
  color: #78df4d;
  font-size: 11.4px;
  font-weight: 900;
  line-height: 1;
  text-align: center;
  text-shadow: 0 0 12px rgba(101, 241, 94, 0.24);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.basher-top .basher-lb-balance b.is-long,
.birder-top .basher-lb-balance b.is-long {
  font-size: 10.2px;
}

.basher-status-grid {
  grid-column: span 2;
  align-self: stretch;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  min-width: 0;
}

.basher-status-grid .metric-card {
  position: relative;
  display: grid;
  grid-template-rows: 18px 24px;
  row-gap: 5px;
  align-content: center;
  justify-items: center;
  align-items: center;
  min-height: 70px;
  padding: 8px 7px;
  overflow: hidden;
  border: 0;
  border-radius: 20px;
  text-align: center;
  background:
    radial-gradient(circle at 28% 10%, rgba(255, 255, 255, 0.13), transparent 28%),
    linear-gradient(145deg, rgba(39, 48, 60, 0.96), rgba(19, 27, 38, 0.98) 55%, rgba(8, 13, 21, 0.99));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.095),
    inset 0 -12px 22px rgba(0, 0, 0, 0.2),
    0 12px 24px rgba(0, 0, 0, 0.24);
}

.basher-status-grid .metric-card span,
.basher-status-grid .metric-card strong {
  display: block;
  margin: 0;
  color: rgba(178, 196, 216, 0.92);
  font-family: Manrope, Sora, sans-serif;
  font-size: 11.5px;
  font-weight: 800;
  line-height: 1.05;
  text-align: center;
}

.basher-floor-card strong {
  display: block;
  color: #47bbff;
  font-family: Sora, Manrope, sans-serif;
  font-size: 18px;
  font-weight: 900;
  line-height: 1.05;
  font-variant-numeric: tabular-nums;
}

.basher-status-grid .birder-score-card {
  grid-template-rows: 1fr;
  place-items: center;
  padding: 8px 10px;
}

.basher-status-grid .birder-score-card strong {
  display: inline-flex;
  align-items: baseline;
  justify-content: center;
  gap: 8px;
  width: 100%;
  color: #fff;
  font-family: Sora, Manrope, sans-serif;
  font-size: clamp(21px, 4.6vw, 28px);
  font-weight: 900;
  line-height: 1;
  text-align: center;
  font-variant-numeric: tabular-nums;
}

.basher-status-grid .birder-score-card .birder-score-value {
  color: #47bbff;
  font: inherit;
  line-height: 1;
  text-shadow: 0 0 12px rgba(71, 187, 255, 0.28);
}

.basher-status-grid .birder-score-card .birder-score-unit {
  color: #fff;
  font: inherit;
  line-height: 1;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.18);
}

.basher-task-card button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  justify-self: center;
  box-sizing: border-box;
  width: min(94px, 100%);
  height: 24px;
  min-width: 0;
  min-height: 24px;
  margin-top: 0;
  padding: 0 12px;
  border: 1px solid rgba(104, 184, 255, 0.45);
  border-radius: 10px;
  color: #fff;
  background: linear-gradient(180deg, #3aa7ff, #1075e8);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.2),
    0 0 16px rgba(85, 170, 255, 0.14);
  font-family: Sora, Manrope, sans-serif;
  font-size: 9.5px;
  font-weight: 900;
  line-height: 1;
  white-space: nowrap;
}

.basher-task-card .achievement-icon {
  display: none !important;
}

.basher-task-card strong {
  color: #47bbff;
  font-weight: 900;
}

.basher-frame {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 520px;
  border: 0;
  background: #05070b;
}

.birder-stage {
  position: relative;
  place-items: center;
  background: #0099cc;
  contain: layout paint;
  transform: translateZ(0);
  touch-action: none;
  -webkit-user-select: none;
  user-select: none;
}

.birder-frame {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  min-height: 520px;
  border: 0;
  background: #0099cc;
  touch-action: none;
}

.case-slide-stage {
  position: relative;
  display: grid;
  grid-template-rows: auto minmax(240px, 1fr) auto;
  gap: 10px;
  min-height: 470px;
  overflow: hidden;
  padding: 14px 14px 16px;
  border: 1px solid rgba(24, 34, 45, 0.92);
  background:
    radial-gradient(circle at 50% 0%, rgba(14, 26, 38, 0.18), transparent 32%),
    linear-gradient(180deg, rgba(3, 8, 14, 0.99), rgba(0, 2, 6, 0.995) 58%, rgba(0, 0, 2, 1) 100%);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.035),
    inset 0 -1px 0 rgba(255,255,255,.025),
    0 18px 34px rgba(0,0,0,.34);
}

.case-slide-history {
  position: relative;
  z-index: 3;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  min-width: 0;
  padding-top: 23px;
  padding-left: 2px;
  padding-right: 2px;
}

.case-slide-history::before {
  content: "";
  position: absolute;
  left: 6px;
  top: 2px;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #238cff;
  box-shadow: 0 0 12px rgba(35, 140, 255, 0.68);
  animation: case-results-dot-pulse 1.25s ease-in-out infinite;
}

.case-slide-history::after {
  content: "RESULTS";
  position: absolute;
  left: 24px;
  top: 2px;
  color: #7f91ad;
  font: 800 10px/1.2 "Sora", system-ui, sans-serif;
  letter-spacing: .13em;
}

@keyframes case-results-dot-pulse {
  0%, 100% {
    opacity: .58;
    transform: scale(.86);
    box-shadow: 0 0 8px rgba(35, 140, 255, 0.34);
  }
  50% {
    opacity: 1;
    transform: scale(1);
    box-shadow: 0 0 14px rgba(35, 140, 255, 0.78);
  }
}

.case-slide-history button {
  position: relative;
  flex: 1 1 0;
  min-width: 0;
  padding: 0 12px;
  height: 36px;
  border: 1px solid color-mix(in srgb, var(--case-slide-color, #2f9cff) 54%, rgba(255,255,255,.08));
  border-radius: 12px;
  color: #eef5ff;
  background:
    radial-gradient(circle at 50% 0%, color-mix(in srgb, var(--case-slide-color, #2f9cff) 18%, transparent), transparent 60%),
    linear-gradient(180deg, color-mix(in srgb, var(--case-slide-color, #2f9cff) 22%, rgba(14, 22, 37, .96)), rgba(6, 12, 23, .98));
  font: 900 13px/1 "Sora", system-ui, sans-serif;
  letter-spacing: 0;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.08),
    0 8px 18px rgba(0,0,0,.22),
    0 0 16px color-mix(in srgb, var(--case-slide-color, #2f9cff) 15%, transparent);
}

.case-slide-history button::after {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 13px;
  opacity: .9;
}

.case-slide-history .case-tier-loss {
  padding-right: 12px;
  border-color: rgba(255, 37, 56, .48);
  background:
    radial-gradient(circle at 50% 0%, rgba(255,37,56,.18), transparent 60%),
    linear-gradient(180deg, rgba(82, 13, 28, .95), rgba(34, 6, 14, .98));
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.08),
    0 8px 18px rgba(0,0,0,.22),
    0 0 16px rgba(255,37,56,.16);
}

.case-slide-history .case-tier-loss::after {
  content: none;
}

.case-slide-history .case-tier-lb {
  min-width: 0;
}

.case-slide-track-shell {
  position: relative;
  display: flex;
  align-items: center;
  min-width: 0;
  overflow: hidden;
  border-radius: 0;
}

.case-slide-track {
  display: flex;
  align-items: center;
  height: 304px;
  padding-left: 0;
  transform: translateX(0);
  will-change: transform;
  backface-visibility: hidden;
}

.case-slide-card {
  position: relative;
  flex: 0 0 172px;
  width: 172px;
  height: 244px;
  margin-right: 32px;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--case-slide-color, #168fff) 42%, rgba(92, 122, 142, 0.34));
  border-radius: 11px;
  background:
    linear-gradient(132deg, transparent 0 39%, rgba(77, 148, 220, .032) 40%, rgba(77, 148, 220, .008) 53%, transparent 54% 100%),
    radial-gradient(circle at 50% 46%, color-mix(in srgb, var(--case-slide-color, #168fff) 9%, transparent), transparent 45%),
    linear-gradient(180deg, rgba(3, 18, 31, 0.995), rgba(0, 7, 17, 0.998));
  opacity: 0.84;
  transform: scale(1);
  transform-origin: center bottom;
  transition: transform 260ms ease, opacity 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
  contain: layout paint;
  backface-visibility: hidden;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.07),
    inset 0 -12px 22px rgba(0,0,0,.22),
    0 0 18px color-mix(in srgb, var(--case-slide-color, #168fff) 8%, transparent),
    0 12px 24px rgba(0,0,0,.18);
}

.case-slide-card.is-win {
  opacity: 1;
  transform: scale(1.08);
  z-index: 3;
  border-color: color-mix(in srgb, var(--case-slide-color, #50e3c2) 70%, rgba(255,255,255,.22));
  box-shadow:
    0 0 0 1px color-mix(in srgb, var(--case-slide-color, #50e3c2) 78%, rgba(255,255,255,.16)),
    0 0 30px color-mix(in srgb, var(--case-slide-color, #50e3c2) 34%, transparent),
    0 14px 28px rgba(0,0,0,.2);
}

.case-slide-stage.is-spinning .case-slide-card {
  opacity: 0.78;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.035),
    0 4px 10px rgba(0,0,0,.1);
}

.case-slide-stage.is-spinning .case-slide-card,
.case-slide-stage.is-spinning .case-slide-hex {
  filter: none;
}

.case-slide-stage.is-spinning .case-slide-hex::after {
  box-shadow: inset 0 0 8px rgba(0, 0, 0, 0.18);
}

.case-slide-card-main {
  height: 82%;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 0;
  background:
    radial-gradient(circle at 50% 47%, color-mix(in srgb, var(--case-slide-color, #168fff) 5%, transparent), transparent 42%),
    linear-gradient(180deg, rgba(4, 24, 42, 0.16), rgba(0, 8, 18, 0.12));
}

.case-slide-hex {
  position: relative;
  width: 148px;
  height: 132px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 7px;
  color: #dce9f4;
  font: 900 27px/1 "Sora", system-ui, sans-serif;
  text-shadow:
    0 2px 4px rgba(0,0,0,.48);
  filter:
    drop-shadow(0 10px 15px rgba(0,0,0,.3))
    drop-shadow(0 0 8px color-mix(in srgb, var(--case-slide-color, #168fff) 14%, transparent));
}

.case-slide-hex::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--case-slide-color, #168fff) 66%, rgba(255,255,255,.16)), color-mix(in srgb, var(--case-slide-color, #168fff) 42%, rgba(3, 14, 24, .98)));
  clip-path: polygon(50% 0, 93.301% 25%, 93.301% 75%, 50% 100%, 6.699% 75%, 6.699% 25%);
  opacity: 0.82;
  box-shadow:
    0 0 0 1px color-mix(in srgb, var(--case-slide-color, #168fff) 46%, rgba(255,255,255,.12)),
    0 12px 20px rgba(0,0,0,.2),
    0 0 14px color-mix(in srgb, var(--case-slide-color, #168fff) 22%, transparent);
}

.case-slide-hex::after {
  content: "";
  position: absolute;
  inset: 7px;
  background:
    radial-gradient(circle at 50% 28%, color-mix(in srgb, var(--case-slide-color, #168fff) 10%, rgba(255,255,255,.035)), transparent 62%),
    linear-gradient(180deg, rgba(11, 29, 43, 0.985), rgba(2, 10, 18, 0.995));
  clip-path: polygon(50% 0, 93.301% 25%, 93.301% 75%, 50% 100%, 6.699% 75%, 6.699% 25%);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.08),
    inset 0 0 18px color-mix(in srgb, var(--case-slide-color, #168fff) 8%, transparent),
    inset 0 -10px 18px rgba(0, 0, 0, 0.3);
}

.case-slide-hex span {
  position: relative;
  z-index: 1;
  max-width: 120px;
  overflow: hidden;
  text-align: center;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.case-slide-hex small {
  position: relative;
  z-index: 1;
  max-width: 116px;
  overflow: hidden;
  color: rgba(151, 166, 183, 0.9);
  font: 800 12px/1 "Sora", system-ui, sans-serif;
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
  text-shadow: 0 1px 2px rgba(0,0,0,.36);
}

.case-tier-lb .case-slide-hex span {
  font-size: 22px;
}

.case-tier-lb .case-slide-hex small {
  color: rgba(160, 232, 245, 0.86);
}

.case-tier-loss .case-slide-hex span {
  font-size: 29px;
}

.case-tier-loss .case-slide-hex small {
  color: rgba(180, 194, 208, 0.86);
}

.case-tier-loss .case-slide-hex::after {
  background:
    radial-gradient(circle at 50% 28%, rgba(255,37,56,.08), transparent 62%),
    linear-gradient(180deg, rgba(11, 27, 39, 0.98), rgba(2, 10, 18, 0.99));
}

.case-slide-card-strip {
  height: 18%;
  display: grid;
  place-items: center;
  border-top: 1px solid color-mix(in srgb, var(--case-slide-color, #2f9cff) 54%, rgba(255,255,255,.08));
  color: #eef5ff;
  background:
    radial-gradient(ellipse at 50% 0%, color-mix(in srgb, var(--case-slide-color, #2f9cff) 66%, rgba(255,255,255,.2)) 0%, color-mix(in srgb, var(--case-slide-color, #2f9cff) 34%, transparent) 42%, transparent 70%),
    linear-gradient(180deg, color-mix(in srgb, var(--case-slide-color, #2f9cff) 52%, rgba(14, 22, 37, .96)) 0%, color-mix(in srgb, var(--case-slide-color, #2f9cff) 36%, rgba(7, 13, 24, .98)) 52%, color-mix(in srgb, var(--case-slide-color, #2f9cff) 24%, rgba(4, 8, 16, .98)) 100%);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.12),
    inset 0 15px 22px color-mix(in srgb, var(--case-slide-color, #2f9cff) 28%, transparent),
    inset 0 -10px 18px rgba(0,0,0,.18),
    0 -6px 18px color-mix(in srgb, var(--case-slide-color, #2f9cff) 16%, transparent),
    0 10px 18px rgba(0,0,0,.18);
}

.case-slide-card-strip span {
  max-width: calc(100% - 16px);
  overflow: hidden;
  font: 800 10px/1 "Sora", system-ui, sans-serif;
  text-align: center;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
  text-shadow: none;
}

.case-tier-loss .case-slide-card-strip span,
.case-tier-blue .case-slide-card-strip span,
.case-tier-purple .case-slide-card-strip span,
.case-tier-pink .case-slide-card-strip span {
  color: #ffffff;
}

.case-slide-vignette {
  display: none;
}

.case-slide-pointer {
  position: absolute;
  z-index: 4;
  left: 50%;
  bottom: 0;
  width: 3px;
  height: min(30%, 110px);
  transform: translateX(-50%);
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(95, 219, 255, 0.98), rgba(0, 132, 255, 1) 58%, rgba(59, 204, 255, 0.98));
  box-shadow:
    0 0 3px rgba(95, 219, 255, 0.82),
    0 0 7px rgba(0, 132, 255, 0.78),
    0 0 12px rgba(0, 76, 255, 0.42);
}

.case-slide-pointer::before {
  display: none;
}

.case-slide-pointer::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -8px;
  width: 17px;
  height: 17px;
  transform: translateX(-50%);
  border-radius: 999px;
  background:
    radial-gradient(circle at 50% 42%, #c8f7ff 0 18%, #35cfff 36%, #0084ff 58%, #004cff 82%, rgba(0, 76, 255, 0.16) 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.68),
    0 0 4px rgba(222, 252, 255, 0.68),
    0 0 9px rgba(0, 168, 255, 0.68),
    0 0 15px rgba(0, 91, 255, 0.34);
}

.case-slide-controls {
  position: relative;
  z-index: 5;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 18px;
  align-items: center;
}

.case-slide-stake-picker {
  position: relative;
  min-width: 0;
}

.case-slide-bet,
.case-slide-spin {
  width: 100%;
  height: 50px;
  border: 1px solid rgba(107, 143, 177, 0.18);
  border-radius: 16px;
  font-family: "Sora", system-ui, sans-serif;
}

.case-slide-bet {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  color: #f4f8ff;
  background:
    radial-gradient(circle at 25% 15%, rgba(61, 173, 255, 0.14), transparent 36%),
    linear-gradient(180deg, #122235 0%, #081421 100%);
  box-shadow:
    inset 0 1px 0 rgba(109, 190, 255, .12),
    0 10px 22px rgba(0,0,0,.26),
    0 0 20px rgba(24, 136, 237, 0.08);
}

.case-slide-bet b {
  min-width: 22px;
  font-size: 17px;
  font-weight: 900;
  letter-spacing: 0;
}

.case-slide-bet i {
  margin-left: 1px;
  width: 0;
  height: 0;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-top: 7px solid #aab8c7;
  transform: translateY(2px);
}

.case-slide-chip {
  width: 26px;
  height: 26px;
  border-radius: 0;
  background: url("/assets/ui/icons/bet.png?v=20260603-02") center / contain no-repeat;
  filter: drop-shadow(0 4px 7px rgba(24, 136, 237, 0.28));
}

.case-slide-spin {
  color: #fff;
  max-width: 190px;
  justify-self: end;
  font-size: 17px;
  font-weight: 900;
  background:
    radial-gradient(circle at 30% 10%, rgba(255,255,255,.22), transparent 34%),
    linear-gradient(180deg, #4bb8ff 0%, #1688ed 52%, #075dbd 100%);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.24),
    inset 0 -10px 18px rgba(0,0,0,.14),
    0 14px 28px rgba(22, 136, 237, 0.24);
}

.case-slide-spin:not(:disabled):active {
  transform: translateY(1px);
}

.case-slide-spin:disabled,
.case-slide-bet:disabled {
  opacity: 0.72;
}

.case-slide-stage.is-spinning .case-slide-spin {
  opacity: 0.92;
  filter: saturate(1.08);
}

.case-slide-stake-menu {
  position: absolute;
  left: 0;
  right: -36px;
  bottom: calc(100% + 16px);
  z-index: 20;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
  min-width: 250px;
  padding: 8px;
  border: 1px solid rgba(65, 175, 255, 0.24);
  border-radius: 16px;
  background:
    radial-gradient(circle at 30% 0%, rgba(40, 154, 255, 0.16), transparent 45%),
    rgba(5, 11, 18, 0.98);
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.38), inset 0 1px 0 rgba(108, 194, 255, 0.1);
  backdrop-filter: blur(12px);
}

.case-slide-stake-menu[hidden] {
  display: none;
}

.case-slide-stake-menu button {
  min-height: 42px;
  border: 0;
  border-radius: 13px;
  color: #f4fbff;
  background: linear-gradient(135deg, #45bdff, #1689ed 52%, #075dbc);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22), 0 8px 16px rgba(24, 136, 237, 0.2);
  font-size: 14px;
  font-weight: 900;
}

.miner-top {
  min-height: 0;
  margin-top: 10px;
}

.miner-wallet {
  align-content: start;
  justify-self: center;
  width: calc(100% - 14px);
  min-height: 126px;
  padding-top: 10px;
  background: linear-gradient(145deg, rgba(3, 5, 8, 0.998), rgba(0, 1, 3, 0.998) 62%, rgba(2, 3, 5, 0.998));
}

.casino-wallet.miner-wallet {
  border-color: rgba(22, 43, 68, 0.42);
  background: linear-gradient(145deg, rgba(10, 15, 23, 0.96), rgba(2, 5, 9, 0.995) 62%, rgba(5, 8, 13, 0.995));
  box-shadow:
    var(--miner-inner-line),
    inset 0 -18px 34px rgba(0, 0, 0, 0.24),
    inset 0 0 22px rgba(49, 151, 255, 0.032),
    0 0 0 1px rgba(22, 43, 68, 0.42),
    var(--miner-shadow-panel);
}

.cst-app[data-active-tab="Case"] .casino-wallet,
.cst-app[data-active-tab="Ludix"] .casino-wallet,
.cst-app[data-active-tab="Casino"] .casino-wallet {
  border-color: rgba(22, 43, 68, 0.42);
  background: linear-gradient(145deg, rgba(10, 15, 23, 0.96), rgba(2, 5, 9, 0.995) 62%, rgba(5, 8, 13, 0.995));
  box-shadow:
    var(--miner-inner-line),
    inset 0 -18px 34px rgba(0, 0, 0, 0.24),
    inset 0 0 22px rgba(49, 151, 255, 0.032),
    0 0 0 1px rgba(22, 43, 68, 0.42),
    var(--miner-shadow-panel);
}

.miner-balance-grid {
  grid-column: 1 / -1;
  gap: 7px;
}

.balance-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 4px;
}

.metric-card {
  min-height: 56px;
  padding: 8px 9px;
  text-align: center;
}

.metric-card span {
  display: block;
  color: var(--muted);
  font-size: 11px;
  text-align: center;
}

.metric-card strong {
  display: block;
  margin-top: 4px;
  font-family: Sora, Manrope, sans-serif;
  font-size: 18px;
  line-height: 1;
  text-align: center;
}

.miner-balance-grid .metric-card {
  position: relative;
  display: grid;
  grid-template-rows: 18px 24px;
  row-gap: 5px;
  align-content: center;
  justify-items: center;
  align-items: center;
  min-height: 64px;
  overflow: hidden;
  border: 0;
  border-radius: 20px;
  background:
    radial-gradient(circle at 28% 10%, rgba(255, 255, 255, 0.13), transparent 28%),
    linear-gradient(145deg, rgba(39, 48, 60, 0.96), rgba(19, 27, 38, 0.98) 55%, rgba(8, 13, 21, 0.99));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.095),
    inset 0 -12px 22px rgba(0, 0, 0, 0.2),
    0 12px 24px rgba(0, 0, 0, 0.24);
}

.miner-balance-grid .metric-card::before {
  display: none;
}

.miner-balance-grid .metric-card span {
  color: rgba(178, 196, 216, 0.92);
  font-size: 10px;
  line-height: 1.1;
  font-weight: 800;
}

.miner-balance-grid .metric-card strong {
  margin-top: 0;
  color: #f4f8ff;
  font-size: 17px;
  letter-spacing: 0;
  line-height: 1;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.26);
}

.miner-balance-grid .metric-card:first-child span {
  font-size: 11.5px;
  font-weight: 600;
}

.miner-balance-grid .metric-card:first-child strong {
  color: #78df4d;
  width: 100%;
  min-width: 0;
  overflow: hidden;
  font-size: 11.4px;
  font-weight: 900;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.miner-balance-grid .metric-card:first-child strong.is-long {
  font-size: 10.2px;
}

.miner-balance-grid .metric-card:first-child.balance-pulse {
  animation: lbBalanceCardPulse 360ms ease-out both;
}

.miner-balance-grid .metric-card:first-child strong.balance-pulse {
  animation: lbBalanceValuePulse 360ms ease-out both;
}

.agent-online-card {
  display: grid;
  align-items: center;
  align-content: center;
  grid-template-rows: 1fr;
}

.miner-balance-grid .agent-online-card {
  grid-template-rows: 18px 24px;
  align-content: center;
}

.miner-balance-grid .agent-online-card .process-state {
  display: contents;
}

.agent-online-card .process-state {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: 18px 24px;
  row-gap: 5px;
  align-items: center;
  justify-items: center;
  align-content: center;
  min-height: 100%;
  padding: 0;
}

.agent-online-card .process-state .eyebrow {
  max-width: 78px;
  overflow: visible;
  color: #f3f8ff;
  font-size: 12px;
  line-height: 1.05;
  text-align: left;
  white-space: normal;
}

.agent-online-card .process-state h2 {
  display: grid;
  place-items: center;
  justify-items: center;
  width: 100%;
  min-width: 0;
  margin: 0;
  overflow: visible;
  color: #f3f8ff;
  font-family: Manrope, sans-serif;
  font-size: 11.5px;
  font-weight: 800;
  line-height: 1.05;
  text-align: center;
  white-space: normal;
}

.agent-online-card .process-state h2 span,
.agent-online-card .process-state h2 b {
  display: block;
  color: #f3f8ff;
  font-size: 9px;
  line-height: 1.08;
}

.agent-online-card .process-state h2 span {
  color: rgba(178, 196, 216, 0.92);
  font-family: Manrope, sans-serif;
  font-size: 11.5px;
  font-weight: 600;
}

.agent-online-card .process-state h2 b {
  color: #78df4d;
  font-weight: 900;
}

.miner-balance-grid .reward-claim-btn,
.miner-balance-grid .achievement-card button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  justify-self: center;
  box-sizing: border-box;
  width: 94px;
  height: 24px;
  min-width: 94px;
  min-height: 24px;
  margin-top: 0;
  padding: 0 12px;
  border-width: 1px;
  border-style: solid;
  border-radius: 10px;
  font-family: Sora, Manrope, sans-serif;
  font-size: 9.5px;
  font-weight: 900;
  line-height: 1;
  white-space: nowrap;
}

.miner-balance-grid .reward-claim-btn {
  color: #78df4d;
  border-color: rgba(104, 224, 100, 0.45);
  background: linear-gradient(180deg, rgba(41, 72, 61, 0.88), rgba(17, 48, 34, 0.92));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.13),
    0 0 16px rgba(111, 223, 76, 0.14);
}

.reward-claim-btn:disabled {
  cursor: default;
  opacity: 1;
}

.reward-claim-btn.is-ready {
  border-color: rgba(91, 255, 139, 0.64);
  color: #06140b;
  background: linear-gradient(180deg, #65ff82, #0db44d);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.32),
    0 0 20px rgba(79, 255, 124, 0.24);
}

.achievement-card {
  display: grid;
  grid-template-rows: 18px 24px;
  row-gap: 5px;
  align-content: center;
  align-items: center;
  justify-items: center;
  min-height: 56px;
  padding: 8px 7px;
  text-align: center;
}

.achievement-card .achievement-icon {
  display: none;
  place-items: center;
  width: 23px;
  height: 23px;
  margin-bottom: 4px;
  border-radius: 50%;
  color: #07121a;
  background: linear-gradient(135deg, var(--coin), #fff0a8);
  font-size: 13px;
  font-weight: 900;
  line-height: 1;
  filter: drop-shadow(0 0 10px rgba(255, 200, 69, 0.45));
}

.achievement-card strong {
  margin: 0;
  font-size: 12px;
  line-height: 1.05;
}

.achievement-card span:not(.achievement-icon) {
  color: #f3f8ff;
  font-size: 11px;
  line-height: 1.05;
}

.achievement-card button {
  color: #7bc8ff;
  border-color: rgba(104, 184, 255, 0.45);
  background: linear-gradient(180deg, rgba(40, 75, 105, 0.88), rgba(18, 47, 72, 0.92));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.13),
    0 0 16px rgba(85, 170, 255, 0.14);
}

.miner-balance-grid .achievement-card strong {
  color: rgba(178, 196, 216, 0.92);
  font-family: Manrope, sans-serif;
  font-size: 11.5px;
  font-weight: 600;
}

.ton-card { grid-column: auto; }

.process-card {
  position: relative;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto auto auto;
  min-height: 0;
  margin-top: 0;
  padding: 10px 0 0;
  overflow: hidden;
  border: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

.process-nav {
  align-self: start;
  justify-self: end;
}

.quick-tabs {
  display: inline-flex;
  gap: 2px;
  padding: 5px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  background: rgba(7, 14, 24, 0.72);
}

.quick-tabs button,
.panel-nav button {
  min-width: 82px;
  min-height: 30px;
  border: 0;
  border-radius: 999px;
  color: #c9d7e8;
  background: transparent;
  font-size: 11px;
  font-weight: 800;
}

.quick-tabs button:hover,
.panel-nav button:hover {
  color: #06110d;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
}

.panel-nav {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
  margin-bottom: 10px;
  padding: 6px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  background: rgba(11, 20, 31, 0.88);
}

.panel-nav button.active {
  color: #06110d;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
}

.mining-core {
  position: relative;
  align-self: center;
  justify-self: center;
  display: grid;
  place-items: center;
  width: min(44vw, 188px);
  aspect-ratio: 1;
  margin: 0 auto;
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(114, 255, 213, 0.3) 0 21%, rgba(104, 184, 255, 0.12) 22% 48%, transparent 49%),
    radial-gradient(circle at 50% 50%, rgba(255, 200, 69, 0.14), transparent 58%);
}

.ring-one { inset: 9%; }
.ring-two {
  inset: 23%;
  border-color: rgba(104, 184, 255, 0.4);
  animation-duration: 8s;
  animation-direction: reverse;
}

.mining-chip {
  width: 38%;
  font-size: 16px;
}

.miner-lab {
  display: grid;
  grid-template-rows: auto;
  gap: 0;
  height: 100%;
  min-height: 0;
  padding: 0 0 4px;
  touch-action: manipulation;
  -webkit-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
  -webkit-tap-highlight-color: transparent;
}

.lab-field {
  position: relative;
  width: 100%;
  height: min(100%, clamp(462px, 58svh, 548px));
  min-height: 0;
  aspect-ratio: auto;
  overflow: hidden;
  border: 0;
  border-radius: 22px;
  background: transparent;
  box-shadow: none;
}

.lab-field::before {
  display: none;
}

.miner-sim {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  gap: 0;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 22px;
  background:
    radial-gradient(circle at 20% 4%, rgba(93, 218, 255, 0.06), transparent 18rem),
    linear-gradient(180deg, var(--miner-panel-glass), var(--miner-panel-deep));
  box-shadow:
    var(--miner-inner-line),
    inset 0 0 28px rgba(49, 151, 255, 0.045),
    0 0 0 1px rgba(22, 43, 68, 0.42),
    var(--miner-shadow-panel);
}

.miner-sim::before {
  content: "";
  position: absolute;
  inset: 1px;
  z-index: 8;
  pointer-events: none;
  border-radius: 21px;
  box-shadow: inset 0 0 0 1px rgba(22, 43, 68, 0.42);
}

.hash-chart {
  position: relative;
  min-height: 0;
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  background:
    linear-gradient(rgba(120, 223, 77, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(120, 223, 77, 0.045) 1px, transparent 1px),
    rgba(18, 21, 25, 0.96);
  background-size: 22px 22px;
}

.hash-chart svg {
  position: absolute;
  inset: 15px 54px 38px 10px;
  width: calc(100% - 64px);
  height: calc(100% - 53px);
  overflow: visible;
}

.hash-chart > span[data-miner-chart-label] {
  position: absolute;
  top: 7px;
  left: 50%;
  color: rgba(205, 218, 225, 0.58);
  font-size: 10px;
  font-weight: 800;
  transform: translateX(-50%);
}

.chart-fill {
  fill: url("#minerChartGlow");
  opacity: 0.22;
}

.chart-line {
  fill: none;
  stroke: var(--chart-color, #78df4d);
  stroke-width: 3;
  stroke-linejoin: round;
  stroke-linecap: round;
  filter: drop-shadow(0 0 4px color-mix(in srgb, var(--chart-color, #78df4d) 34%, transparent));
  stroke-dasharray: 520;
  transition: none;
  animation: chartPulse 1.45s ease-in-out infinite;
}

.chart-line-agent {
  stroke-width: 2.6;
}

.chart-dot {
  fill: var(--chart-color, #b6ff2a);
  stroke: rgba(255, 245, 178, 0.95);
  stroke-width: 1.2;
  filter: drop-shadow(0 0 5px color-mix(in srgb, var(--chart-color, #b6ff2a) 52%, transparent));
  transform-box: fill-box;
  transform-origin: center;
  animation: chartDotPulse 1.1s ease-in-out infinite;
}

.chart-axis {
  position: absolute;
  top: 15px;
  right: 8px;
  bottom: 38px;
  display: grid;
  align-content: space-between;
  width: 44px;
  padding-left: 8px;
  border-left: 1px solid rgba(120, 223, 77, 0.2);
  color: rgba(190, 198, 211, 0.72);
  font-family: Sora, Manrope, sans-serif;
  font-size: 9px;
  font-weight: 700;
  text-align: left;
}

.chart-axis span {
  position: static;
  color: inherit;
  font: inherit;
  transform: none;
}

.chart-current {
  position: absolute;
  right: 8px;
  z-index: 4;
  min-width: 42px;
  padding: 4px 6px;
  border-radius: 8px;
  color: #080804;
  background: linear-gradient(135deg, #78df4d, #b0f36a);
  box-shadow: 0 0 8px rgba(120, 223, 77, 0.22);
  font-family: Sora, Manrope, sans-serif;
  font-size: 9px;
  font-weight: 900;
  line-height: 1;
  text-align: center;
  transform: translateY(-50%);
}

.chart-agent-tags {
  position: absolute;
  top: 15px;
  right: 8px;
  bottom: 38px;
  z-index: 5;
  width: 44px;
  pointer-events: none;
}

.chart-agent-tags span {
  position: absolute;
  right: -2px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  padding: 4px 6px;
  border-radius: 8px;
  color: #060b12;
  background: linear-gradient(135deg, var(--chart-color, #2f8cff), color-mix(in srgb, var(--chart-color, #2f8cff) 58%, #ffffff));
  box-shadow: 0 0 8px color-mix(in srgb, var(--chart-color, #2f8cff) 24%, transparent);
  font-family: Sora, Manrope, sans-serif;
  font-size: 9px;
  font-weight: 900;
  line-height: 1;
  text-shadow: none;
  transform: translateY(-50%);
}

.chart-agent-tags i {
  display: none;
}

.chart-agent-tags b {
  font: inherit;
}

.chart-periods {
  position: absolute;
  left: 10px;
  right: 54px;
  bottom: 6px;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, auto));
  align-items: center;
  justify-content: start;
  gap: 9px;
  min-height: 24px;
  color: rgba(158, 167, 184, 0.78);
  font-family: Sora, Manrope, sans-serif;
  font-size: 11px;
  font-weight: 800;
}

.chart-periods button {
  min-width: 0;
  min-height: 22px;
  padding: 0;
  border: 0;
  color: inherit;
  background: transparent;
  font: inherit;
}

.chart-periods button.active {
  color: #78df4d;
}

.hash-chart.miner-efficiency-panel {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 15px 10px 5px;
  border-top: 0;
  background: transparent;
}

.miner-signal-rows {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 8px;
  padding: 0 4px;
}

.miner-signal-row {
  display: grid;
  grid-template-columns: 63px minmax(0, 1fr) 38px;
  align-items: center;
  gap: 8px;
  color: rgba(219, 229, 241, 0.9);
  font-family: Manrope, Sora, sans-serif;
}

.miner-signal-row > span {
  padding-left: 0;
  color: rgba(229, 238, 249, 0.9);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.01em;
  line-height: 1;
  text-align: left;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.45);
}

.miner-signal-row > b {
  color: rgba(238, 245, 255, 0.94);
  font-size: 11px;
  font-weight: 900;
  text-align: right;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.48);
}

.miner-signal-meter {
  display: grid;
  grid-template-columns: repeat(13, minmax(0, 1fr));
  gap: 5px;
  min-width: 0;
}

.miner-signal-meter i {
  display: block;
  height: 17px;
  border-radius: 4px;
  background: var(--miner-stat-empty);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.035),
    inset 0 -7px 12px rgba(0, 0, 0, 0.26),
    0 0 0 1px rgba(71, 118, 165, 0.035);
  transition: background-color 180ms ease, box-shadow 180ms ease, opacity 180ms ease;
}

.miner-signal-meter i.is-active {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.38), transparent 22%),
    linear-gradient(180deg, color-mix(in srgb, var(--meter-fill, var(--meter-color, #27f6ff)) 74%, #ffffff), var(--meter-fill, var(--meter-color, #27f6ff)) 52%, color-mix(in srgb, var(--meter-fill, var(--meter-color, #27f6ff)) 76%, #0b2f66));
  box-shadow:
    0 0 10px rgba(73, 200, 255, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.34),
    inset 0 -8px 12px rgba(3, 20, 45, 0.2);
}

.miner-difficulty-row {
  grid-template-columns: 63px minmax(0, 1fr) 38px;
  gap: 8px;
  align-items: center;
}

.miner-difficulty-row > span {
  font-size: 9.5px;
}

.miner-difficulty-meter {
  position: relative;
  height: 17px;
}

.miner-difficulty-meter::before,
.miner-difficulty-meter i {
  position: absolute;
  top: 50%;
  left: 0;
  height: 5px;
  border-radius: 99px;
  content: "";
  transform: translateY(-50%);
}

.miner-difficulty-meter::before {
  right: 0;
  background: linear-gradient(90deg, rgba(71, 96, 112, 0.42), rgba(77, 111, 130, 0.56));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 0 8px rgba(77, 134, 168, 0.11);
}

.miner-difficulty-meter i {
  width: var(--difficulty-fill, 50%);
  background: var(--difficulty-fill-bg, linear-gradient(90deg, #70e85f, #b7f36d 58%, #d6ff9a));
  box-shadow:
    0 0 7px var(--difficulty-glow, rgba(134, 236, 91, 0.18)),
    inset 0 1px 0 rgba(255, 255, 255, 0.26);
}

.miner-bars-wrap {
  position: relative;
  z-index: 2;
  align-self: stretch;
  height: 162px;
  min-height: 0;
  margin: 5px -10px 0;
  padding: 0 8px 2px;
  overflow: hidden;
  border-top: 0;
  background: transparent;
}

.miner-bars-axis {
  display: none;
}

.miner-efficiency-bars {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: stretch;
  gap: 0;
  height: 100%;
  min-height: 0;
}

.miner-efficiency-bars i {
  position: relative;
  display: block;
  flex: 1 1 0;
  min-width: 3px;
  border-radius: 3px 3px 0 0;
  background: linear-gradient(180deg, #a8fbff, #35d8ef 48%, #126dba);
  box-shadow:
    0 0 8px rgba(39, 246, 255, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.38);
}

.miner-efficiency-bars i span {
  display: none;
}

.miner-earn-card {
  position: relative;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  border: 0;
  border-radius: 3px;
  background: transparent;
  box-shadow: none;
}

.miner-earn-card {
  display: grid;
  grid-template-rows: 20px minmax(0, 1fr);
  gap: 4px;
  height: 100%;
  padding: 4px 8px 3px;
}

.miner-earn-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 5px;
  min-width: 0;
  color: rgba(226, 235, 246, 0.84);
  font-family: Sora, Manrope, sans-serif;
}

.miner-earn-head b {
  min-width: 58px;
  font-size: 9.5px;
  font-weight: 900;
  white-space: nowrap;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.44);
}

.miner-earn-ranges {
  display: flex;
  justify-content: flex-start;
  gap: 5px;
  min-width: 0;
  color: rgba(191, 204, 220, 0.7);
  font-size: 9.5px;
  font-weight: 900;
}

.miner-earn-ranges button {
  display: grid;
  place-items: center;
  min-width: 20px;
  height: 14px;
  padding: 0 4px;
  border: 0;
  border-radius: 5px;
  color: inherit;
  background: transparent;
  font: inherit;
  cursor: pointer;
}

.miner-earn-ranges button:focus-visible {
  outline: 0;
  box-shadow: var(--miner-focus-ring);
}

.miner-earn-ranges button.active {
  color: #eff7ff;
  background: transparent;
  text-shadow: 0 0 7px rgba(123, 196, 255, 0.12);
}

.miner-earn-scroll {
  min-width: 0;
  height: 100%;
  min-height: 0;
  overflow-x: auto;
  overflow-y: hidden;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
  touch-action: pan-x;
}

.miner-earn-scroll::-webkit-scrollbar {
  display: none;
}

.miner-earn-track {
  display: grid;
  grid-template-rows: minmax(0, 1fr) 11px;
  align-items: end;
  gap: 2px;
  width: max(100%, calc(var(--earn-count, 12) * 24px));
  height: 100%;
  min-height: 0;
}

.miner-earn-bars {
  position: relative;
  display: grid;
  grid-template-columns: repeat(var(--earn-count, 12), minmax(18px, 1fr));
  align-items: end;
  gap: 6px;
  height: 100%;
  min-height: 0;
  padding: 20px 5px 1px;
}

.miner-earn-bar {
  position: relative;
  display: block;
  height: var(--earn-height, 20%);
  min-height: 7px;
  min-width: 0;
  padding: 0;
  border: 0;
  border-radius: 6px 6px 1px 1px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.45), transparent 20%),
    var(--miner-stat-fill);
  box-shadow:
    0 0 10px rgba(72, 201, 255, 0.12),
    0 8px 16px rgba(0, 0, 0, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.42),
    inset 0 -10px 16px rgba(5, 43, 94, 0.22);
  opacity: 0.9;
  cursor: pointer;
}

.miner-earn-bar.is-zero {
  min-height: 3.5px;
  background: linear-gradient(180deg, rgba(38, 59, 77, 0.58), rgba(22, 35, 50, 0.64));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.035),
    0 0 0 1px rgba(73, 111, 142, 0.025);
  opacity: 0.72;
}

.miner-earn-bar.is-peak {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.58), transparent 22%),
    linear-gradient(180deg, #d5ffff, #82f2f8 43%, #28a8e1 100%);
  box-shadow:
    0 0 12px rgba(117, 226, 255, 0.18),
    0 10px 18px rgba(0, 0, 0, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.5),
    inset 0 -10px 16px rgba(10, 68, 126, 0.18);
  opacity: 1;
}

.miner-earn-bar.is-current {
  box-shadow:
    0 0 11px rgba(120, 223, 77, 0.12),
    0 8px 16px rgba(0, 0, 0, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.42),
    inset 0 -10px 16px rgba(5, 43, 94, 0.22);
}

.miner-earn-bar.is-selected {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.6), transparent 22%),
    linear-gradient(180deg, #d9fff5, #86f6e3 42%, #24aee0 100%);
  box-shadow:
    0 0 13px rgba(120, 223, 77, 0.16),
    0 0 16px rgba(80, 210, 255, 0.14),
    0 10px 18px rgba(0, 0, 0, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.5),
    inset 0 -10px 16px rgba(10, 68, 126, 0.18);
  opacity: 1;
}

.miner-earn-bar em {
  position: absolute;
  left: 50%;
  bottom: calc(100% + 5px);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 32px;
  min-height: 18px;
  padding: 3px 7px;
  border-radius: 6px;
  color: rgba(236, 245, 255, 0.88);
  background: linear-gradient(180deg, rgba(34, 47, 64, 0.96), rgba(22, 31, 44, 0.96));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 6px 12px rgba(0, 0, 0, 0.2);
  font-size: 9px;
  font-style: normal;
  font-weight: 800;
  line-height: 1.15;
  text-align: center;
  transform: translateX(-50%);
  white-space: nowrap;
}

.miner-earn-bar em b {
  color: #dffbff;
  font: inherit;
}

.miner-earn-bar:first-child em {
  left: 0;
  transform: none;
}

.miner-earn-bar:last-child em {
  right: 0;
  left: auto;
  transform: none;
}

.miner-earn-months {
  display: grid;
  grid-template-columns: repeat(var(--earn-count, 12), minmax(18px, 1fr));
  gap: 6px;
  color: rgba(200, 213, 228, 0.74);
  font-family: Sora, Manrope, sans-serif;
  font-size: 6.8px;
  font-weight: 900;
  line-height: 1;
  text-align: center;
}

.miner-earn-months button {
  display: block;
  min-width: 0;
  padding: 0;
  border: 0;
  color: inherit;
  background: transparent;
  font: inherit;
  line-height: 1;
  text-align: center;
  cursor: pointer;
}

.miner-console {
  display: grid;
  grid-template-rows: 30px 70px auto;
  overflow: hidden;
  border-top: 0;
  border-radius: 0 0 13px 13px;
  background:
    radial-gradient(circle at 76% 54%, rgba(41, 138, 255, 0.055), transparent 38%),
    linear-gradient(180deg, #070809, #030405);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.025),
    inset 0 -20px 34px rgba(0, 0, 0, 0.18);
}

.miner-console-head {
  display: flex;
  align-items: center;
  padding: 0 12px;
  color: rgba(208, 220, 232, 0.56);
  background:
    linear-gradient(180deg, rgba(28, 29, 30, 0.98), rgba(15, 15, 16, 0.98)),
    radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.06), transparent 58%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.055),
    inset 0 -1px 0 rgba(0, 0, 0, 0.42);
  font-size: 8.7px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0.04em;
  text-align: center;
}

.miner-console-line {
  display: grid;
  grid-template-columns: minmax(92px, 1.08fr) minmax(104px, 1.05fr) minmax(72px, 0.82fr);
  column-gap: 6px;
  align-items: center;
  width: 100%;
  min-width: 0;
  white-space: nowrap;
}

.miner-console-line > span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  min-width: 0;
}

.miner-console-line > span:first-child {
  padding-left: 4px;
  text-align: left;
}

.miner-console-line > span:nth-child(2) {
  justify-content: flex-start;
  margin-left: 28px;
  text-align: center;
}

.miner-console-line > span:nth-child(3) {
  justify-content: flex-end;
  color: rgba(220, 232, 244, 0.72);
  text-align: right;
}

.status-dot {
  flex: 0 0 auto;
  width: 5.5px;
  height: 5.5px;
  border-radius: 999px;
  background: var(--status-dot-color, #6bd8ff);
  box-shadow:
    0 0 0 1px color-mix(in srgb, var(--status-dot-color, #6bd8ff) 34%, transparent),
    0 0 7px color-mix(in srgb, var(--status-dot-color, #6bd8ff) 30%, transparent);
  animation: statusDotPulse 1.55s ease-in-out infinite;
}

.status-dot-blue {
  --status-dot-color: #5ddaff;
}

.status-dot-green {
  --status-dot-color: #78df4d;
}

@keyframes statusDotPulse {
  0%,
  100% {
    opacity: 0.72;
    transform: scale(0.86);
  }

  48% {
    opacity: 1;
    transform: scale(1.08);
  }
}

.miner-console-head b {
  display: inline;
  margin-top: 0;
  color: rgba(248, 251, 255, 0.98);
  font-family: Sora, Manrope, sans-serif;
  font-size: 8.7px;
  letter-spacing: 0;
  text-shadow: 0 0 8px rgba(255, 255, 255, 0.08);
}

.miner-console-add {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 5px;
  min-width: 0;
  height: 22px;
  padding: 0;
  border: 0;
  color: rgba(226, 237, 244, 0.72);
  background: transparent;
  font-size: 7px;
  font-weight: 900;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  white-space: nowrap;
}

.miner-console-add i {
  display: grid;
  place-items: center;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  color: #06121f;
  background: linear-gradient(180deg, #68b8ff, #2f8cff);
  font-style: normal;
  font-size: 13px;
  line-height: 1;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.45),
    0 0 10px rgba(47, 140, 255, 0.32);
}

.miner-pipeline {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
  align-content: stretch;
  padding: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  background: #111213;
}

.miner-pipeline button {
  display: grid;
  place-items: center;
  min-width: 0;
  min-height: 46px;
  overflow: hidden;
  border: 1px solid rgba(95, 121, 132, 0.3);
  border-radius: 6px;
  color: rgba(218, 228, 235, 0.5);
  background: rgba(255, 255, 255, 0.03);
  font-family: Sora, Manrope, sans-serif;
  font-size: 6px;
  font-weight: 900;
  text-align: center;
}

.miner-action-drop {
  grid-column: auto;
}

.hash-output {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 4px;
  align-content: start;
  padding: 12px 10px 3px;
  color: rgba(225, 236, 246, 0.62);
  background:
    radial-gradient(circle at 72% 4%, rgba(41, 167, 255, 0.055), transparent 34%),
    linear-gradient(180deg, #070708, #050506);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

.hash-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: baseline;
  min-width: 0;
  line-height: 1;
}

.hash-row b {
  overflow: hidden;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.015em;
  white-space: nowrap;
  text-overflow: ellipsis;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.6);
}

.hash-row em {
  font-size: 9px;
  font-style: normal;
  font-weight: 900;
  white-space: nowrap;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.55);
}

.hash-row.is-current b {
  color: rgba(248, 251, 255, 0.98);
}

.hash-row.is-current em {
  color: #42a7ff;
  text-shadow:
    0 0 8px rgba(66, 167, 255, 0.24),
    0 1px 0 rgba(0, 0, 0, 0.55);
}

.hash-row.is-previous b {
  color: rgba(158, 172, 186, 0.6);
  font-size: 7.5px;
}

.hash-row.is-previous em {
  color: #78df4d;
  font-size: 7.5px;
  text-shadow:
    0 0 6px rgba(120, 223, 77, 0.2),
    0 1px 0 rgba(0, 0, 0, 0.55);
}

.hash-row.is-previous:has(b:empty) {
  visibility: hidden;
}

.miner-console .miner-status-grid {
  align-self: stretch;
  padding: 8px;
  background:
    radial-gradient(circle at 78% 8%, rgba(49, 151, 255, 0.06), transparent 48%),
    linear-gradient(180deg, #07080a, #030405);
  transform: translateY(-18px);
}

.miner-console .miner-status-grid div,
.miner-console .miner-status-grid details,
.miner-console .miner-status-grid button {
  min-height: 62px;
  border-color: rgba(96, 140, 178, 0.18);
  background:
    radial-gradient(circle at 26% 0%, rgba(255, 255, 255, 0.055), transparent 42%),
    linear-gradient(180deg, rgba(13, 17, 25, 0.98), rgba(8, 11, 17, 0.98));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.07),
    inset 0 -14px 22px rgba(0, 0, 0, 0.16),
    0 12px 22px rgba(0, 0, 0, 0.2);
}

.miner-console .miner-status-grid {
  position: relative;
  display: grid;
  gap: 8px;
  align-items: stretch;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 72px;
}

.miner-console .miner-status-grid summary {
  padding: 9px 8px;
}

.miner-console .miner-status-grid span,
.miner-console .miner-status-grid summary span {
  font-size: 10px;
}

.miner-console .miner-status-grid b,
.miner-console .miner-status-grid summary b {
  font-size: 13px;
}

.miner-console .miner-status-grid .miner-efficiency-card {
  display: grid;
  grid-template-columns: auto auto;
  grid-template-rows: auto auto auto;
  align-content: center;
  justify-content: center;
  justify-items: center;
  gap: 6px 6px;
  padding: 7px 10px;
  text-align: center;
}

.miner-console .miner-status-grid .miner-efficiency-card > span {
  display: block;
  overflow: visible;
  font-size: 10px;
  line-height: 1;
  white-space: nowrap;
  text-overflow: clip;
}

.miner-console .miner-status-grid .miner-efficiency-card > span::after {
  content: ":";
}

.miner-console .miner-status-grid .miner-efficiency-card > b {
  display: block;
  margin: 0;
  overflow: visible;
  font-size: 13px;
  line-height: 1;
  white-space: nowrap;
  text-overflow: clip;
}

.miner-console .miner-status-grid .miner-efficiency-card small {
  display: block;
  grid-column: 1 / -1;
  margin-top: 0;
  overflow: hidden;
  color: rgba(146, 164, 184, 0.92);
  font-size: 8px;
  font-weight: 800;
  line-height: 1.1;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.miner-console .miner-status-grid .miner-status-add {
  display: grid;
  grid-template-columns: 1fr;
  grid-column: 1 / -1;
  justify-self: center;
  place-items: center;
  gap: 0;
  width: 74px;
  min-height: 22px;
  height: 22px;
  margin-top: 1px;
  padding: 0;
  border: 0;
  border-radius: 6px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.22), transparent 32%),
    linear-gradient(180deg, #6fbdff, #2f91f8 58%, #1d72d9);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.38),
    inset 0 -5px 9px rgba(8, 74, 164, 0.2),
    0 7px 12px rgba(0, 0, 0, 0.18),
    0 0 12px rgba(56, 151, 255, 0.16);
}

.miner-console .miner-status-grid .miner-status-add span {
  display: block;
  width: auto;
  height: auto;
  color: #ffffff;
  background: transparent;
  font-size: 16px;
  font-weight: 900;
  line-height: 1;
}

.miner-console .miner-status-grid .miner-status-add b {
  display: none;
}

.miner-status-tab {
  display: grid;
  place-items: center;
  min-width: 0;
  padding: 8px 7px;
  border: 1px solid rgba(128, 206, 255, 0.54);
  border-radius: 14px;
  color: #ffffff;
  font-family: Sora, Manrope, sans-serif;
  font-size: 13px;
  font-weight: 900;
  background:
    radial-gradient(circle at 36% 20%, rgba(255, 255, 255, 0.34), transparent 23%),
    radial-gradient(circle at 50% 78%, rgba(17, 97, 218, 0.9), transparent 58%),
    linear-gradient(180deg, #37adff 0%, #1988e6 58%, #0a67d1 100%);
  box-shadow:
    inset 0 2px 0 rgba(255, 255, 255, 0.42),
    inset 0 -9px 16px rgba(0, 54, 141, 0.34),
    0 0 0 1px rgba(43, 143, 255, 0.18),
    0 0 15px rgba(32, 145, 255, 0.18),
    0 13px 20px rgba(0, 0, 0, 0.26);
  text-shadow: 0 2px 3px rgba(0, 43, 109, 0.5);
  transition: transform 120ms ease, box-shadow 120ms ease, filter 120ms ease;
}

.miner-console .miner-status-grid .miner-upgrade-card {
  display: grid;
  grid-template-columns: auto auto;
  grid-template-rows: auto auto auto;
  align-content: center;
  justify-content: center;
  justify-items: center;
  gap: 6px 6px;
  padding: 7px 10px;
  text-align: center;
}

.miner-console .miner-status-grid .miner-upgrade-card > span {
  display: block;
  overflow: visible;
  font-size: 10px;
  line-height: 1;
  white-space: nowrap;
  text-overflow: clip;
}

.miner-console .miner-status-grid .miner-upgrade-card > b {
  display: block;
  margin: 0;
  overflow: visible;
  font-size: 13px;
  line-height: 1;
  white-space: nowrap;
  text-overflow: clip;
}

.miner-console .miner-status-grid .miner-upgrade-card small {
  grid-column: 1 / -1;
  color: rgba(146, 164, 184, 0.92);
  font-size: 10px;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
}

.miner-console .miner-status-grid .miner-upgrade-add {
  display: grid;
  grid-template-columns: 1fr;
  grid-column: 1 / -1;
  justify-self: center;
  place-items: center;
  gap: 0;
  width: 74px;
  min-height: 22px;
  height: 22px;
  margin-top: 1px;
  padding: 0;
  border: 0;
  border-radius: 6px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.2), transparent 34%),
    linear-gradient(180deg, #45cf4d, #22b949 58%, #11933a);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.34),
    inset 0 -5px 9px rgba(4, 94, 32, 0.22),
    0 7px 12px rgba(0, 0, 0, 0.18),
    0 0 12px rgba(53, 199, 69, 0.14);
}

.miner-console .miner-status-grid .miner-upgrade-add span {
  display: block;
  width: auto;
  height: auto;
  color: #ffffff;
  background: transparent;
  font-size: 16px;
  font-weight: 900;
  line-height: 1;
}

.miner-console .miner-status-grid .miner-upgrade-add b {
  display: none;
}

.miner-console .miner-status-grid .miner-upgrade-card,
.miner-console .miner-status-grid .miner-efficiency-card {
  border-color: rgba(69, 151, 112, 0.24);
  background:
    radial-gradient(circle at 30% 0%, rgba(255, 255, 255, 0.06), transparent 38%),
    linear-gradient(180deg, rgba(14, 18, 27, 0.98), rgba(8, 11, 18, 0.98));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.075),
    inset 0 -16px 22px rgba(0, 0, 0, 0.18),
    0 12px 22px rgba(0, 0, 0, 0.2);
}

.miner-console .miner-status-grid .miner-upgrade-card {
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.075),
    inset 0 -16px 22px rgba(0, 0, 0, 0.18),
    0 0 0 1px rgba(85, 212, 94, 0.04),
    0 12px 22px rgba(0, 0, 0, 0.2);
}

.miner-console .miner-status-grid .miner-efficiency-card {
  border-color: rgba(79, 151, 214, 0.22);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.075),
    inset 0 -16px 22px rgba(0, 0, 0, 0.18),
    0 0 0 1px rgba(58, 157, 255, 0.035),
    0 12px 22px rgba(0, 0, 0, 0.2);
}

.miner-console .miner-status-grid .miner-upgrade-add:active,
.miner-console .miner-status-grid .miner-status-add:active,
.miner-status-tab:active {
  transform: translateY(1px) scale(0.985);
  filter: brightness(0.96);
}

.miner-console .miner-status-grid .miner-upgrade-add:focus-visible,
.miner-console .miner-status-grid .miner-status-add:focus-visible,
.miner-status-tab:focus-visible,
.miner-wallet .top-icon-btn:focus-visible,
.miner-wallet .top-lang-switch summary:focus-visible,
.miner-balance-grid .achievement-card button:focus-visible {
  outline: 0;
  box-shadow: var(--miner-focus-ring);
}

.miner-console .miner-status-grid .miner-upgrade-card,
.miner-console .miner-status-grid .miner-efficiency-card {
  justify-self: center;
  width: calc(100% - 10px);
  min-height: 68px;
  grid-template-columns: max-content max-content;
  grid-template-rows: auto auto auto;
  align-content: center;
  align-items: center;
  justify-content: center;
  justify-items: center;
  row-gap: 4px;
  column-gap: 5px;
  padding: 7px 8px 9px;
  text-align: center;
}

.miner-console .miner-status-grid .miner-upgrade-card {
  transform: translateX(-4px);
}

.miner-console .miner-status-grid .miner-efficiency-card {
  transform: translateX(-14px);
}

.miner-console .miner-status-grid .miner-upgrade-card > span,
.miner-console .miner-status-grid .miner-efficiency-card > span {
  color: rgba(190, 207, 226, 0.96);
  font-size: 11px;
  font-weight: 800;
  line-height: 1;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.54);
}

.miner-console .miner-status-grid .miner-upgrade-card > b,
.miner-console .miner-status-grid .miner-efficiency-card > b {
  color: #f4f8ff;
  font-size: 16px;
  font-weight: 900;
  line-height: 1;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.08);
}

.miner-console .miner-status-grid .miner-upgrade-card > b {
  font-size: 13px;
  letter-spacing: -0.01em;
}

.miner-console .miner-status-grid .miner-upgrade-card small,
.miner-console .miner-status-grid .miner-efficiency-card small {
  grid-column: 1 / -1;
  display: block;
  min-height: 12px;
  margin: 0;
  padding: 0 1px;
  overflow: visible;
  color: rgba(165, 184, 207, 0.96);
  font-size: 10px;
  font-weight: 500;
  line-height: 1.2;
  text-align: center;
  white-space: nowrap;
}

.miner-console .miner-status-grid .miner-upgrade-add,
.miner-console .miner-status-grid .miner-status-add {
  grid-column: 1 / -1;
  justify-self: center;
  width: 68px;
  min-height: 22px;
  height: 22px;
  margin-top: 1px;
  border-radius: 6px;
  transition: transform 120ms ease, filter 120ms ease, box-shadow 120ms ease;
}

.miner-console .miner-status-grid .miner-upgrade-add span,
.miner-console .miner-status-grid .miner-status-add span {
  font-size: 13px;
  font-weight: 900;
  line-height: 1;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.38);
}

body:has(.dashboard-screen:not([hidden])) .tab-panel[data-tab-panel="Dashboard"] .lab-field {
  height: min(100%, clamp(508px, 61svh, 516px));
}

body:has(.dashboard-screen:not([hidden])) .tab-panel[data-tab-panel="Dashboard"] .miner-sim {
  grid-template-rows: minmax(0, 1fr) 214px;
}

body:has(.dashboard-screen:not([hidden])) .tab-panel[data-tab-panel="Dashboard"] .miner-console {
  grid-template-rows: 30px 94px minmax(90px, auto);
}

body:has(.dashboard-screen:not([hidden])) .tab-panel[data-tab-panel="Dashboard"] .hash-output {
  gap: 5px;
  padding: 12px 10px 6px;
  align-content: start;
}

body:has(.dashboard-screen:not([hidden])) .tab-panel[data-tab-panel="Dashboard"] .hash-row {
  grid-template-columns: minmax(0, 1fr) minmax(66px, max-content);
  gap: 8px;
  line-height: 1.18;
}

body:has(.dashboard-screen:not([hidden])) .tab-panel[data-tab-panel="Dashboard"] .hash-row b {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 9.3px;
  line-height: 1.18;
  letter-spacing: 0.012em;
}

body:has(.dashboard-screen:not([hidden])) .tab-panel[data-tab-panel="Dashboard"] .hash-row em {
  justify-self: end;
  min-width: 66px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 9.3px;
  line-height: 1.18;
  text-align: right;
}

body:has(.dashboard-screen:not([hidden])) .tab-panel[data-tab-panel="Dashboard"] .hash-row.is-previous b,
body:has(.dashboard-screen:not([hidden])) .tab-panel[data-tab-panel="Dashboard"] .hash-row.is-previous em {
  font-size: 8.2px;
  line-height: 1.16;
}

body:has(.dashboard-screen:not([hidden])) .tab-panel[data-tab-panel="Dashboard"] .miner-console .miner-status-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 1.08fr) 94px;
  align-items: stretch;
  gap: 8px;
  min-height: 92px;
  transform: translateY(-10px);
}

body:has(.dashboard-screen:not([hidden])) .tab-panel[data-tab-panel="Dashboard"] .miner-console .miner-status-grid .miner-upgrade-card,
body:has(.dashboard-screen:not([hidden])) .tab-panel[data-tab-panel="Dashboard"] .miner-console .miner-status-grid .miner-efficiency-card {
  min-height: 86px;
  border-radius: 17px;
}

body:has(.dashboard-screen:not([hidden])) .tab-panel[data-tab-panel="Dashboard"] .miner-console .miner-status-grid .miner-status-tab {
  width: 78px;
  height: 78px;
  transform: none;
}

body:has(.dashboard-screen:not([hidden])) .tab-panel[data-tab-panel="Dashboard"] .miner-console .miner-status-grid .miner-status-tab:active,
body:has(.dashboard-screen:not([hidden])) .tab-panel[data-tab-panel="Dashboard"] .miner-console .miner-status-grid .miner-status-tab.is-tap-pressed {
  transform: scale(0.965);
}

.upgrade-modal {
  position: fixed;
  inset: 0;
  z-index: 32;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(3, 7, 13, 0.66);
  backdrop-filter: blur(14px);
}

.upgrade-modal-card {
  position: relative;
  display: grid;
  gap: 12px;
  width: min(100%, 366px);
  max-height: min(82svh, 640px);
  overflow: auto;
  padding: 18px;
  border: 1px solid rgba(120, 223, 77, 0.32);
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(24, 32, 45, 0.98), rgba(8, 13, 21, 0.98));
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.48);
}

.upgrade-modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 13px;
  color: #e8ffdc;
  background: rgba(120, 223, 77, 0.12);
  font-size: 22px;
  line-height: 1;
}

.upgrade-modal-kicker {
  color: #78df4d;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.upgrade-modal-card h3 {
  margin: 0;
  padding-right: 38px;
  font-family: Sora, Manrope, sans-serif;
  font-size: 22px;
}

.upgrade-modal-card p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.38;
}

.upgrade-list {
  display: grid;
  gap: 8px;
}

.upgrade-item {
  display: grid;
  grid-template-columns: 34px 1fr auto;
  align-items: center;
  gap: 9px;
  min-height: 58px;
  padding: 9px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.045);
}

.upgrade-item i {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 12px;
  background: rgba(104, 184, 255, 0.12);
  font-style: normal;
}

.upgrade-item b,
.upgrade-item span {
  display: block;
}

.upgrade-item b {
  color: #f4f8ff;
  font-size: 12px;
}

.upgrade-item span {
  color: var(--muted);
  font-size: 10px;
  font-weight: 800;
}

.upgrade-item button {
  min-height: 34px;
  border: 0;
  border-radius: 12px;
  padding: 0 9px;
  color: #fff;
  background: linear-gradient(180deg, #45c93e, #16a947);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.36),
    0 0 14px rgba(47, 190, 82, 0.24);
  font-size: 11px;
  font-weight: 900;
  white-space: nowrap;
}

.miner-console .miner-status-grid .miner-status-tab {
  width: 74px;
  height: 74px;
  justify-self: center;
  align-self: center;
  transform: translateX(-8px);
  font-size: 16px;
  border-radius: 50%;
  border-color: rgba(74, 178, 255, 0.95);
  color: #ffffff;
  background: linear-gradient(180deg, #35aaff 0%, #0872d9 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.42),
    inset 0 -2px 0 rgba(0, 44, 110, 0.22);
  text-shadow: 0 1px 2px rgba(0, 29, 72, 0.42);
  touch-action: manipulation;
  -webkit-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
  -webkit-tap-highlight-color: transparent;
}

.miner-console .miner-status-grid .miner-status-tab:active,
.miner-console .miner-status-grid .miner-status-tab.is-tap-pressed {
  transform: translateX(-8px) scale(0.965);
  box-shadow:
    inset 0 3px 8px rgba(0, 31, 82, 0.42),
    inset 0 -1px 0 rgba(255, 255, 255, 0.16),
    0 5px 12px rgba(0, 0, 0, 0.18);
  filter: brightness(0.98);
}

.miner-console .miner-status-grid .miner-status-tab.is-tap-active {
  color: #061018;
  text-shadow: none;
}

.tap-float-reward {
  position: absolute;
  right: clamp(3px, 3.4vw, 14px);
  bottom: 74px;
  z-index: 6;
  pointer-events: none;
  color: #b9ffe8;
  font-family: Sora, Manrope, sans-serif;
  font-size: 13px;
  font-weight: 900;
  line-height: 1;
  white-space: nowrap;
  text-shadow:
    0 0 10px rgba(82, 236, 209, 0.24),
    0 1px 2px rgba(0, 0, 0, 0.62);
  opacity: 0;
  transform: translate3d(0, 0, 0) scale(0.96);
  animation: tapRewardFloat 820ms cubic-bezier(0.18, 0.78, 0.24, 1) forwards;
}

@keyframes tapRewardFloat {
  0% {
    opacity: 0;
    transform: translate3d(0, 7px, 0) scale(0.94);
  }

  16% {
    opacity: 1;
  }

  70% {
    opacity: 0.92;
    transform: translate3d(0, -17px, 0) scale(1);
  }

  100% {
    opacity: 0;
    transform: translate3d(0, -28px, 0) scale(0.98);
  }
}

@keyframes lbBalanceCardPulse {
  45% {
    transform: scale(1.018);
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.12),
      inset 0 -12px 22px rgba(0, 0, 0, 0.18),
      0 0 18px rgba(120, 223, 77, 0.18),
      0 12px 24px rgba(0, 0, 0, 0.24);
  }
}

@keyframes lbBalanceValuePulse {
  45% {
    transform: scale(1.08);
    text-shadow:
      0 0 12px rgba(120, 223, 77, 0.34),
      0 1px 2px rgba(0, 0, 0, 0.26);
  }
}

@keyframes chartPulse {
  50% { filter: drop-shadow(0 0 13px rgba(120, 223, 77, 0.7)); }
}

@keyframes chartDotPulse {
  50% {
    transform: scale(1.45);
    filter: drop-shadow(0 0 13px rgba(182, 255, 42, 1));
  }
}

.lab-process-head {
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 10px;
  z-index: 5;
}

.lab-field::before {
  display: none;
}

.lab-field::after {
  display: none;
}

@keyframes lab-agent-route {
  0%, 10%, 100% { transform: translate(-142px, -8px) rotate(0deg) scale(0.96); }
  16% { transform: translate(-118px, -36px) rotate(-36deg) scale(1); }
  25%, 34% { transform: translate(-44px, -78px) rotate(-8deg) scale(1.06); }
  42% { transform: translate(28px, -56px) rotate(26deg) scale(1); }
  51%, 60% { transform: translate(130px, -6px) rotate(2deg) scale(1.04); }
  68% { transform: translate(118px, 46px) rotate(91deg) scale(1); }
  76%, 85% { transform: translate(82px, 84px) rotate(178deg) scale(1.06); }
  92%, 97% { transform: translate(-94px, 86px) rotate(180deg) scale(1.02); }
}

@keyframes lab-agent-route-two {
  0%, 10%, 100% { transform: translate(130px, -6px) rotate(0deg) scale(0.98); }
  17% { transform: translate(128px, 54px) rotate(92deg) scale(1); }
  26%, 35% { transform: translate(82px, 84px) rotate(180deg) scale(1.06); }
  44% { transform: translate(2px, 84px) rotate(180deg) scale(1); }
  53%, 62% { transform: translate(-94px, 86px) rotate(180deg) scale(1.04); }
  71% { transform: translate(-144px, 48px) rotate(-90deg) scale(1); }
  80%, 88% { transform: translate(-142px, -8px) rotate(-14deg) scale(1.05); }
  94% { transform: translate(-44px, -78px) rotate(20deg) scale(1); }
}

@keyframes lab-agent-route-three {
  0%, 10%, 100% { transform: translate(-94px, 86px) rotate(0deg) scale(1); }
  18% { transform: translate(-12px, 86px) rotate(0deg) scale(1); }
  28%, 37% { transform: translate(82px, 84px) rotate(-38deg) scale(1.06); }
  46% { transform: translate(112px, 46px) rotate(-50deg) scale(1); }
  55%, 64% { transform: translate(130px, -6px) rotate(180deg) scale(1.04); }
  72% { transform: translate(44px, -30px) rotate(202deg) scale(1); }
  82%, 90% { transform: translate(-44px, -78px) rotate(206deg) scale(1.05); }
  96% { transform: translate(-142px, -8px) rotate(196deg) scale(1); }
}

@keyframes lab-agent-route-four {
  0%, 10%, 100% { transform: translate(-44px, -78px) rotate(24deg) scale(1.02); }
  18% { transform: translate(48px, -44px) rotate(24deg) scale(1); }
  28%, 37% { transform: translate(130px, -6px) rotate(92deg) scale(1.05); }
  47% { transform: translate(130px, 64px) rotate(92deg) scale(1); }
  57%, 66% { transform: translate(82px, 84px) rotate(180deg) scale(1.06); }
  76%, 85% { transform: translate(-94px, 86px) rotate(-90deg) scale(1); }
  94% { transform: translate(-142px, -8px) rotate(-22deg) scale(1.03); }
}

@keyframes lab-agent-route-five {
  0%, 10%, 100% { transform: translate(82px, 84px) rotate(180deg) scale(1.03); }
  16% { transform: translate(8px, 84px) rotate(180deg) scale(1); }
  26%, 35% { transform: translate(-94px, 86px) rotate(-90deg) scale(1.05); }
  44% { transform: translate(-142px, 42px) rotate(-90deg) scale(1); }
  54%, 63% { transform: translate(-142px, -8px) rotate(-22deg) scale(1.06); }
  73% { transform: translate(-98px, -40px) rotate(-22deg) scale(1); }
  83%, 91% { transform: translate(-44px, -78px) rotate(18deg) scale(1.04); }
  97% { transform: translate(130px, -6px) rotate(12deg) scale(0.98); }
}

@keyframes lab-pulse {
  0%, 100% { opacity: 0.32; transform: scale(0.86); }
  50% { opacity: 0.78; transform: scale(1.12); }
}

@keyframes lab-reward-pop {
  0%, 22%, 100% { opacity: 0; transform: translateY(10px) scale(0.86); }
  7%, 16% { opacity: 1; transform: translateY(-8px) scale(1); }
}

@keyframes agent-thought-bubble {
  0%, 48%, 64%, 72%, 88%, 100% {
    opacity: 0;
    transform: translateY(6px) scale(0.86);
  }
  53%, 59%, 78%, 84% {
    opacity: 1;
    transform: translateY(-8px) scale(1);
  }
}

.auto-note {
  margin: 8px 0 0;
  font-size: 11px;
  text-align: center;
}

.panel {
  min-height: 0;
  margin-top: 0;
  padding: 11px;
}

.section-head h3 { margin-bottom: 0; }
.section-head .ghost-btn {
  min-height: 30px;
  padding: 0 10px;
  font-size: 11px;
}

.activity-list {
  display: grid;
  gap: 6px;
  max-height: 100%;
  overflow: auto;
}

.activity-item {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  padding: 8px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
}

.activity-item span {
  color: var(--muted);
  font-size: 10px;
}

.agent-modal-card {
  padding-top: 28px;
}

.agent-modal-switch {
  justify-self: center;
  display: grid;
  grid-template-columns: 1fr 1fr;
  width: min(100%, 210px);
  padding: 3px;
  border: 1px solid rgba(74, 178, 255, 0.32);
  border-radius: 999px;
  background: rgba(4, 10, 18, 0.72);
}

.agent-modal-switch button {
  min-height: 34px;
  border: 0;
  border-radius: 999px;
  color: rgba(178, 196, 216, 0.9);
  background: transparent;
  font-family: Sora, Manrope, sans-serif;
  font-size: 11px;
  font-weight: 900;
}

.agent-modal-switch button.active {
  color: #06131f;
  background: linear-gradient(180deg, #6bd0ff, #168df2);
  box-shadow: 0 0 18px rgba(28, 132, 245, 0.28);
}

.agent-modal .upgrade-modal-card {
  border-color: rgba(74, 178, 255, 0.42);
}

.agent-modal .upgrade-modal-close {
  color: #dff4ff;
  background: rgba(74, 178, 255, 0.16);
}

.agent-modal .upgrade-modal-kicker {
  color: #35aaff;
}

.agent-upgrade-item {
  grid-template-columns: 40px minmax(0, 1fr) auto;
}

.agent-upgrade-item.is-owned {
  grid-template-columns: 34px minmax(0, 1fr) auto;
  gap: 7px;
  min-height: 48px;
  padding: 7px 9px;
}

.agent-upgrade-item i {
  color: #35aaff;
  font-family: Sora, Manrope, sans-serif;
  font-size: 10px;
  font-style: normal;
  font-weight: 900;
}

.agent-upgrade-item.is-owned i {
  width: 30px;
  height: 30px;
  border-radius: 10px;
  font-size: 9px;
}

.agent-upgrade-item div {
  min-width: 0;
}

.agent-upgrade-item div b,
.upgrade-item div b {
  display: block;
}

.agent-upgrade-item div span,
.upgrade-item div span {
  display: block;
  color: rgba(178, 196, 216, 0.92);
  font-size: 10px;
  font-weight: 800;
  line-height: 1.18;
}

.agent-upgrade-item button:disabled {
  opacity: 0.58;
}

.agent-upgrade-item.is-owned button:disabled {
  color: #dff4ff;
  opacity: 1;
}

.agent-modal .upgrade-item .agent-toggle {
  display: inline-grid;
  align-items: center;
  width: 42px;
  height: 20px;
  min-height: 0;
  padding: 3px;
  border: 0;
  border-radius: 999px;
  background: rgba(55, 65, 80, 0.82);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.16),
    0 0 12px rgba(0, 0, 0, 0.18);
}

.agent-modal .upgrade-item .agent-toggle span {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: rgba(225, 235, 255, 0.96);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.22);
  transform: translateX(0);
  transition: transform 0.16s ease;
}

.agent-modal .upgrade-item .agent-toggle.is-on {
  background: linear-gradient(180deg, #35aaff, #0872d9);
}

.agent-modal .upgrade-item .agent-toggle.is-on span {
  transform: translateX(22px);
}

.agent-modal-empty {
  padding: 16px;
  border: 1px solid rgba(74, 178, 255, 0.22);
  border-radius: 16px;
  color: rgba(178, 196, 216, 0.92);
  background: rgba(255, 255, 255, 0.045);
  font-size: 12px;
  font-weight: 800;
  text-align: center;
}

.agent-modal .upgrade-item button {
  background: linear-gradient(180deg, #35aaff, #0872d9);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.36),
    0 0 14px rgba(28, 132, 245, 0.24);
}

.agent-modal .upgrade-item button.is-free-suggested {
  animation: freeAgentCtaPulse 1.25s ease-in-out infinite;
}

.agent-modal .upgrade-item [data-agent-action="free"]:disabled {
  color: #06131f;
  background: linear-gradient(180deg, #ffffff, #dfe8f4);
  opacity: 1;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.82),
    0 0 14px rgba(255, 255, 255, 0.14);
}

@keyframes freeAgentCtaPulse {
  0%, 100% {
    transform: translateZ(0) scale(1);
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.36),
      0 0 14px rgba(28, 132, 245, 0.24);
  }
  50% {
    transform: translateZ(0) scale(1.035);
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.48),
      0 0 18px rgba(70, 176, 255, 0.38),
      0 0 26px rgba(46, 118, 255, 0.16);
  }
}

@media (prefers-reduced-motion: reduce) {
  .agent-modal .upgrade-item button.is-free-suggested {
    animation: none;
  }
}

.agent-modal .upgrade-item [data-agent-action="asrock"] {
  color: #06131f;
  background: linear-gradient(180deg, #45c93e, #16a947);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.42),
    0 0 16px rgba(47, 190, 82, 0.28);
}

.agent-modal .upgrade-item [data-agent-action="dgx"] {
  color: #f4f8ff;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: linear-gradient(180deg, #262d36, #05070b);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.16),
    0 0 14px rgba(0, 0, 0, 0.34);
}

.activity-item b { font-size: 11px; }

.task-card {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 10px;
  min-height: 86px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: linear-gradient(180deg, var(--panel), rgba(12, 20, 31, 0.9));
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.22);
}

.task-card.is-waiting {
  border-color: rgba(255, 200, 69, 0.34);
}

.task-card.is-ready {
  border-color: rgba(67, 159, 255, 0.26);
}

.task-card.is-done {
  border-color: rgba(114, 255, 213, 0.42);
}

.task-card b {
  display: block;
  color: #f4f8ff;
  font-size: 14px;
}

.task-card span {
  display: block;
  margin-top: 5px;
  color: var(--accent-2);
  font-size: 12px;
  font-weight: 800;
}

.task-card a,
.task-card button {
  display: inline-grid;
  place-items: center;
  min-height: 38px;
  padding: 0 16px;
  border: 0;
  border-radius: 16px;
  color: #07121a;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  font-weight: 800;
  text-decoration: none;
}

.task-card a[aria-disabled="true"],
.task-card button[aria-disabled="true"] {
  pointer-events: none;
  color: #d9e6f5;
  background: rgba(255, 255, 255, 0.12);
}

.task-modal .upgrade-modal-card {
  border-color: rgba(67, 159, 255, 0.46);
}

.task-modal .upgrade-modal-close {
  color: #eaf5ff;
  background: rgba(67, 159, 255, 0.16);
}

.task-modal .upgrade-modal-kicker {
  color: #68b8ff;
}

.task-modal-list {
  gap: 10px;
}

.task-modal .task-card {
  min-height: 58px;
  padding: 9px;
  border-color: rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.045);
  box-shadow: none;
}

.task-modal .task-card.is-done {
  border-color: rgba(67, 159, 255, 0.24);
}

.task-modal .task-card.is-ready {
  border-color: rgba(67, 159, 255, 0.26);
  background: rgba(255, 255, 255, 0.045);
}

.task-modal .task-card b {
  font-size: 12px;
}

.task-modal .task-card span {
  margin-top: 3px;
  color: #ffffff;
  font-size: 10px;
}

.task-modal .task-card a,
.task-modal .task-card button {
  min-height: 34px;
  padding: 0 12px;
  border: 0;
  border-radius: 12px;
  color: #ffffff;
  background: linear-gradient(180deg, #45a6ff, #1578dc);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.28),
    0 0 14px rgba(67, 159, 255, 0.22);
  font-size: 11px;
}

.task-modal .task-card.is-ready a,
.task-modal .task-card.is-ready button {
  background: linear-gradient(180deg, #45a6ff, #1578dc);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.24),
    0 0 14px rgba(67, 159, 255, 0.22);
}

.task-modal .task-card a[aria-disabled="true"],
.task-modal .task-card button[aria-disabled="true"] {
  color: #d9e6f5;
  background: rgba(255, 255, 255, 0.12);
  box-shadow: none;
}

.history-modal .upgrade-modal-card {
  border-color: rgba(67, 159, 255, 0.46);
}

.history-modal .upgrade-modal-close {
  color: #eaf5ff;
  background: rgba(67, 159, 255, 0.16);
}

.history-modal .upgrade-modal-kicker {
  color: #68b8ff;
}

.history-modal-list {
  max-height: min(52svh, 430px);
  overflow: auto;
  padding-right: 2px;
}

.history-modal .activity-item {
  min-height: 58px;
  align-items: center;
  padding: 10px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.045);
  box-shadow: none;
}

.history-modal .activity-item b {
  color: #f4f8ff;
  font-size: 12px;
}

.history-modal .activity-item span {
  color: rgba(178, 196, 216, 0.92);
  font-size: 10px;
  font-weight: 800;
}

.history-modal .activity-item > span:last-child {
  color: #ffffff;
  white-space: nowrap;
}

.casino-panel {
  display: flex;
  flex-direction: column;
  gap: 10px;
  height: 100%;
  min-height: 0;
  overflow: hidden;
  padding: 7px 1px 10px;
}

.ludix-panel {
  display: flex;
  flex-direction: column;
  gap: 10px;
  height: 100%;
  min-height: 0;
  overflow: hidden;
  padding: 0 1px 2px;
}

.case-panel {
  display: flex;
  flex-direction: column;
  gap: 10px;
  height: 100%;
  min-height: 0;
  overflow: hidden;
  padding: 0 1px 8px;
}

.casino-top {
  display: block;
}

.casino-wallet,
.active-bet-row,
.crash-stage {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: linear-gradient(180deg, var(--panel), rgba(12, 20, 31, 0.9));
}

.casino-wallet {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.35fr);
  gap: 10px;
  align-items: center;
  width: 100%;
  min-height: 132px;
  margin: 0 auto;
  overflow: visible;
  padding: 10px 11px 13px;
  background: linear-gradient(145deg, rgba(20, 28, 40, 0.99), rgba(10, 17, 28, 0.99) 58%, rgba(14, 21, 32, 0.99));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.065),
    inset 0 -14px 28px rgba(0, 0, 0, 0.2),
    0 16px 34px rgba(0, 0, 0, 0.24);
}

.casino-toolbar {
  grid-column: 1 / -1;
  position: relative;
  display: grid;
  grid-template-columns: 56px minmax(12px, 1fr) repeat(5, 44px);
  justify-content: stretch;
  column-gap: 7px;
  align-items: center;
  padding-bottom: 2px;
}

.casino-toolbar > :nth-child(2) {
  grid-column: 3;
}

.top-icon-btn,
.top-lang-switch summary {
  display: grid;
  place-items: center;
  width: 44px;
  min-width: 0;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.06);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.top-icon-user {
  position: relative;
  width: 56px;
  height: 56px;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.top-icon-user::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 2;
  width: 47px;
  height: 47px;
  transform: translate(-50%, -50%);
  border: 2px solid rgba(47, 156, 255, 0.86);
  border-radius: 50%;
  pointer-events: none;
}

.top-icon-user.has-avatar-fallback {
  background:
    url("/assets/symbol-LB.png?v=20260602-01") center / 52px 52px no-repeat,
    transparent;
}

.top-icon-user {
  transform: translateX(0);
}

.top-icon-btn img,
.top-lang-switch summary img {
  display: block;
  width: 25px;
  height: 25px;
  object-fit: contain;
  opacity: 0.86;
}

.top-icon-user img {
  position: relative;
  z-index: 1;
  width: 52px;
  height: 52px;
  opacity: 1;
}

.top-icon-news {
  position: absolute;
  left: 62px;
  top: 3px;
  z-index: 4;
  width: 52px;
  height: 52px;
  border: 2px solid #82f35f;
  border-radius: 50%;
  background:
    radial-gradient(circle at 32% 10%, rgba(255, 255, 255, 0.09), transparent 33%),
    linear-gradient(180deg, rgba(25, 31, 39, 0.88), rgba(9, 13, 19, 0.92));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.085),
    inset 0 -8px 16px rgba(0, 0, 0, 0.2);
}

.top-icon-news img {
  width: 29px;
  height: 29px;
  opacity: 1;
  filter: none;
}

.miner-wallet .top-icon-btn,
.miner-wallet .top-lang-switch summary {
  border-color: rgba(157, 188, 224, 0.13);
  color: #62c9ff;
  background:
    radial-gradient(circle at 32% 10%, rgba(255, 255, 255, 0.09), transparent 33%),
    linear-gradient(180deg, rgba(25, 31, 39, 0.88), rgba(9, 13, 19, 0.92));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.085),
    inset 0 -8px 16px rgba(0, 0, 0, 0.2),
    0 10px 20px rgba(0, 0, 0, 0.22);
}

.miner-wallet .top-icon-user {
  border: 0;
  background: transparent;
  filter: none;
  box-shadow: none;
}

.miner-wallet .top-icon-user.has-avatar-fallback {
  background:
    url("/assets/symbol-LB.png?v=20260602-01") center / 52px 52px no-repeat,
    transparent;
}

.miner-wallet .top-icon-btn img,
.miner-wallet .top-lang-switch summary img {
  opacity: 0.9;
  filter:
    saturate(1.08)
    drop-shadow(0 0 8px rgba(75, 166, 255, 0.22));
}

.miner-wallet .top-icon-user img {
  opacity: 1;
  filter: saturate(1.08);
}

.miner-wallet .top-icon-news {
  border-color: #82f35f;
  background:
    radial-gradient(circle at 32% 10%, rgba(255, 255, 255, 0.09), transparent 33%),
    linear-gradient(180deg, rgba(25, 31, 39, 0.88), rgba(9, 13, 19, 0.92));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.085),
    inset 0 -8px 16px rgba(0, 0, 0, 0.2);
}

.miner-wallet .top-icon-news img {
  opacity: 1;
  filter: none;
}

.top-lang-switch summary::after {
  display: none;
}

.top-lang-switch .lang-menu {
  top: calc(100% + 8px);
  right: 50%;
  bottom: auto;
  left: auto;
  min-width: 92px;
  transform: translateX(50%);
}

.top-lang-switch .lang-menu button {
  font-size: 13px;
}

.casino-top span,
.active-bet-row span {
  display: block;
  color: var(--muted);
  font-size: 11px;
}

.casino-top b,
.active-bet-row b {
  display: block;
  margin-top: 6px;
  font-family: Sora, Manrope, sans-serif;
  font-size: 20px;
  letter-spacing: 0;
}

.crash-stage {
  position: relative;
  display: grid;
  grid-template-rows: 1fr;
  align-content: stretch;
  gap: 0;
  flex: 1 1 0;
  min-height: 0;
  padding: 0;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(12, 18, 27, 0.96), rgba(7, 11, 18, 0.96));
  text-align: center;
}

.crash-live {
  position: relative;
  display: block;
  height: 100%;
  min-height: 0;
  overflow: hidden;
}

.crash-live.is-crashed .crash-multiplier {
  color: #ff6f91;
  text-shadow: 0 0 26px rgba(255, 111, 145, 0.35);
}

.crash-multiplier {
  position: absolute;
  z-index: 4;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  color: #f8fbff;
  font-family: Sora, Manrope, sans-serif;
  font-size: clamp(42px, 12vw, 68px);
  font-weight: 800;
  text-shadow: 0 0 28px rgba(255, 255, 255, 0.3);
  pointer-events: none;
}

.crash-doodle {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 0;
  overflow: hidden;
  border-radius: 18px;
  background:
    radial-gradient(circle at 50% 75%, rgba(48, 132, 255, 0.18), transparent 25%),
    radial-gradient(circle at 50% 42%, rgba(18, 42, 80, 0.18), transparent 45%),
    radial-gradient(circle at 22% 16%, rgba(6, 18, 38, 0.34), transparent 34%),
    radial-gradient(circle at 84% 10%, rgba(5, 20, 45, 0.24), transparent 36%),
    linear-gradient(180deg, #010307 0%, #020610 32%, #030916 62%, #000205 100%);
}

.crash-doodle::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: radial-gradient(ellipse at 50% 82%, rgba(58, 153, 255, 0.16), transparent 36%);
  opacity: 1;
  pointer-events: none;
}

.crash-doodle::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(circle at 50% 88%, rgba(58, 153, 255, 0.13), transparent 22%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.04), rgba(0, 0, 0, 0.42));
  pointer-events: none;
}

.doodle-platform {
  position: absolute;
  z-index: 2;
  width: 184px;
  height: 53px;
  background: url("/assets/games/jumper/platform-2.png?v=20260521-02") center / contain no-repeat;
  left: var(--platform-x, 50%);
  bottom: 0;
  transform: translate3d(-50%, -96px, 0);
  transition: opacity 0.1s linear, transform 0.08s linear;
  will-change: transform, opacity;
}

.platform-one {
  background-image: url("/assets/games/jumper/platform-1.png?v=20260521-02");
  transform: translate3d(-50%, var(--platform-one-translate-y, -96px), 0);
  opacity: var(--platform-one-opacity, 1);
}

.platform-two {
  background-image: url("/assets/games/jumper/platform-2.png?v=20260521-02");
  transform: translate3d(-50%, var(--platform-two-translate-y, -250px), 0);
  opacity: var(--platform-two-opacity, 0);
}

.platform-three {
  background-image: url("/assets/games/jumper/platform-2.png?v=20260521-02");
  transform: translate3d(-50%, var(--platform-three-translate-y, -368px), 0);
  opacity: var(--platform-three-opacity, 0);
}

.platform-four {
  background-image: url("/assets/games/jumper/platform-2.png?v=20260521-02");
  transform: translate3d(-50%, var(--platform-four-translate-y, -486px), 0);
  opacity: var(--platform-four-opacity, 0);
}

.doodle-player {
  position: absolute;
  z-index: 3;
  left: clamp(120px, var(--doodle-x, 50%), calc(100% - 120px));
  bottom: 0;
  width: 138px;
  height: 137px;
  background: url("/assets/games/jumper/player.png?v=20260604-02") center / contain no-repeat;
  filter: none;
  font-style: normal;
  transform: translate3d(-50%, var(--doodle-translate-y, -114px), 0) rotate(calc((var(--doodle-hop, 0) * -2deg)));
  transition: none;
  will-change: transform;
}

.crash-live.is-running .doodle-platform {
  transition: none;
  will-change: transform, opacity;
}

.casino-field-notice {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 8;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  max-width: calc(100% - 34px);
  padding: 12px 20px;
  border: 1px solid rgba(114, 255, 213, 0.2);
  border-radius: 999px;
  color: #ecf6ff;
  background: rgba(7, 14, 24, 0.82);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.34), 0 0 34px rgba(114, 255, 213, 0.18);
  font-size: 15px;
  font-weight: 800;
  text-align: center;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -50%) translateY(14px) scale(0.92);
  transition: opacity 0.22s ease, transform 0.22s ease;
}

.casino-field-notice.is-visible {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.casino-field-notice[data-type="bet"] {
  min-height: 44px;
  padding: 10px 24px;
  border-color: rgba(77, 183, 255, 0.42);
  color: #65cfff;
  background:
    radial-gradient(circle at 50% 0%, rgba(77, 183, 255, 0.18), transparent 58%),
    rgba(5, 14, 28, 0.9);
  box-shadow:
    0 14px 30px rgba(0, 0, 0, 0.34),
    0 0 24px rgba(47, 170, 255, 0.26),
    inset 0 1px 0 rgba(185, 232, 255, 0.12);
  font-size: 16px;
  font-weight: 900;
  text-shadow:
    0 0 10px rgba(101, 207, 255, 0.48),
    0 2px 8px rgba(0, 0, 0, 0.42);
}

.casino-field-notice[data-type="win"] {
  color: #06120d;
  background: linear-gradient(135deg, #73ff99, #69f5dc);
  font-size: 16px;
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.34), 0 0 38px rgba(105, 245, 220, 0.28);
}

.casino-field-notice[data-type="loss"] {
  background: rgba(45, 12, 25, 0.88);
  border-color: rgba(255, 93, 128, 0.34);
  color: #ffd7df;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.28), 0 0 26px rgba(255, 93, 128, 0.16);
}

.crash-live.is-running .doodle-player {
  animation: none;
}

.crash-live.is-crashed .doodle-player {
  filter: none;
  transition: transform 0.9s cubic-bezier(0.2, 0.72, 0.2, 1);
  transform: translate3d(-50%, 54px, 0) rotate(540deg) scale(0.86);
}

.crash-live.is-crashed .doodle-platform {
  transition: opacity 0.42s ease, transform 0.42s ease;
  filter: none;
}

.crash-action-row {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 108px;
  z-index: 7;
  display: flex;
  align-items: center;
  justify-content: space-between;
  pointer-events: none;
}

.crash-action-btn {
  position: relative;
  display: grid;
  place-items: center;
  width: 88px;
  height: 88px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  overflow: visible;
  background: transparent;
  box-shadow: none;
  opacity: 1;
  pointer-events: auto;
  transition: opacity 0.2s ease, transform 0.22s ease, filter 0.2s ease;
}

.crash-action-btn img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 1;
  filter: saturate(1.22) contrast(1.14) brightness(1.08) drop-shadow(0 10px 18px rgba(0, 0, 0, 0.36));
}

.crash-action-btn:disabled {
  cursor: not-allowed;
  opacity: 1;
}

.crash-action-btn.is-hidden {
  opacity: 0;
  pointer-events: none;
  transform: scale(0.72);
}

.crash-action-btn.is-pressing {
  animation: crashBetPress 0.32s ease both;
  pointer-events: none;
}

.crash-action-btn.is-pulse {
  animation: crashActionPulse 1.25s ease-in-out infinite;
}

.crash-action-btn.is-dim {
  opacity: 0.42;
  filter: grayscale(0.42) brightness(0.72);
}

.crash-action-btn.is-dim img {
  filter: saturate(0.72) contrast(0.92) brightness(0.72) drop-shadow(0 8px 14px rgba(0, 0, 0, 0.32));
}

@keyframes crashActionPulse {
  0%,
  100% {
    transform: scale(1);
    box-shadow: none;
  }
  50% {
    transform: scale(1.045);
    box-shadow: none;
  }
}

@keyframes crashBetPress {
  0% {
    opacity: 1;
    transform: scale(1);
    filter: brightness(1.08);
  }
  42% {
    opacity: 1;
    transform: scale(0.86);
    filter: brightness(1.2);
  }
  100% {
    opacity: 0;
    transform: scale(0.48);
    filter: brightness(1.12);
  }
}

.casino-bank {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.active-bet-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 9px;
  min-height: 48px;
  padding: 10px 14px;
}

.crash-doodle > .active-bet-row {
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 10px;
  z-index: 10;
  display: grid;
  grid-template-columns: 116px minmax(88px, 1fr) 148px;
  align-items: center;
  min-height: 62px;
  padding-top: 12px;
  padding-bottom: 12px;
  background: linear-gradient(180deg, rgba(15, 27, 41, 0.94), rgba(8, 15, 25, 0.94));
  backdrop-filter: blur(10px);
}

.active-bet-row .stake-picker {
  flex: 0 0 116px;
}

.active-bet-row span {
  flex: 0 0 auto;
  margin-left: auto;
  text-align: left;
  font-size: 16px;
  font-weight: 500;
}

.crash-doodle > .active-bet-row span {
  justify-self: end;
  margin-left: 0;
  margin-right: 4px;
}

.active-bet-row b {
  margin: 0 14px 0 0;
  font-size: 22px;
  min-width: 0;
  text-align: right;
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum" 1;
  white-space: nowrap;
}

.crash-doodle > .active-bet-row b.is-running-payout {
  color: #65ff9a;
  text-shadow:
    0 0 8px rgba(101, 255, 154, 0.48),
    0 0 20px rgba(70, 245, 132, 0.32);
}

.casino-controls {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.crash-doodle > .active-bet-row > button {
  min-width: 0;
  min-height: 38px;
  border: 0;
  border-radius: 15px;
  font-size: 13px;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
}

.ludix-panel .casino-controls {
  flex: 0 0 auto;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.05fr);
  gap: 8px;
  margin-bottom: 14px;
}

.stake-presets {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 7px;
  margin-bottom: 4px;
}

.stake-presets button {
  min-width: 0;
  min-height: 34px;
  border: 0;
  border-radius: 13px;
  color: #dce8f8;
  background: rgba(255, 255, 255, 0.08);
  font-size: 12px;
  font-weight: 800;
}

.casino-controls input,
.casino-controls button,
.casino-bank button {
  min-width: 0;
  min-height: 44px;
  border: 0;
  border-radius: 16px;
  font-weight: 800;
  font-size: 13px;
  line-height: 1.1;
}

.casino-bank button {
  display: inline-flex;
  flex-direction: column-reverse;
  align-items: center;
  justify-content: center;
  gap: 3px;
  padding: 6px 8px 7px;
  color: #e9f2ff;
  background:
    radial-gradient(circle at 50% 0%, rgba(47, 156, 255, 0.055), transparent 34%),
    linear-gradient(145deg, rgba(45, 54, 66, 0.98), rgba(25, 33, 44, 0.98) 55%, rgba(15, 22, 32, 0.98));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    inset 0 -10px 18px rgba(0, 0, 0, 0.14);
  text-transform: uppercase;
  letter-spacing: 0;
  font-size: 13px;
  font-weight: 900;
}

.casino-bank button span {
  transform: none;
}

.casino-bank button img {
  display: block;
  width: 25px;
  height: 25px;
  object-fit: contain;
  border-radius: 5px;
}

.news-modal,
.info-modal {
  position: absolute;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 22px;
  background:
    radial-gradient(circle at 50% 10%, rgba(34, 119, 255, 0.1), transparent 17rem),
    rgba(0, 3, 7, 0.82);
  backdrop-filter: blur(14px);
}

.news-modal {
  align-items: start;
  overflow: auto;
  padding: 28px 18px;
}

.news-modal-card {
  position: relative;
  width: min(100%, 390px);
  max-height: calc(100svh - 56px);
  overflow: auto;
  padding: 22px 14px 16px;
  border: 1px solid rgba(151, 185, 224, 0.14);
  border-radius: 24px;
  color: #f6f8ff;
  background: rgba(16, 16, 16, 0.98);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.5);
}

.news-modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 14px;
  color: #e8f1ff;
  background: rgba(255, 255, 255, 0.08);
  font-size: 24px;
  line-height: 1;
}

.news-modal-card h3 {
  margin: 10px 44px 18px 4px;
  font-family: Sora, Manrope, sans-serif;
  font-size: 26px;
  line-height: 1.12;
  letter-spacing: 0;
}

.news-feed {
  display: grid;
  gap: 14px;
}

.news-empty {
  padding: 22px 16px;
  border-radius: 18px;
  color: rgba(246, 248, 255, 0.62);
  background: rgba(255, 255, 255, 0.07);
  font-weight: 800;
}

.news-post-card {
  display: grid;
  gap: 12px;
  padding: 14px;
  border-radius: 18px;
  background: #242424;
}

.news-post-main {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
  align-items: start;
}

.news-post-card h4 {
  margin: 0 0 8px;
  color: #ffffff;
  font-family: Sora, Manrope, sans-serif;
  font-size: 18px;
  line-height: 1.18;
}

.news-post-card p {
  margin: 0;
  color: rgba(246, 248, 255, 0.58);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.5;
}

.news-post-card time {
  color: rgba(246, 248, 255, 0.52);
  font-size: 12px;
  font-weight: 900;
}

.news-post-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: nowrap;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.72);
}

.news-reactions {
  display: flex;
  flex: 0 1 auto;
  flex-wrap: nowrap;
  gap: 7px;
  min-width: 0;
}

.news-reactions button {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 30px;
  padding: 0 10px;
  border: 0;
  border-radius: 10px;
  color: #101010;
  background: rgba(255, 255, 255, 0.35);
  font-weight: 900;
  white-space: nowrap;
}

.news-reactions button.is-active {
  background: rgba(255, 255, 255, 0.52);
}

.news-reactions button b {
  font-weight: 900;
}

.news-post-link {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 15px;
  border-radius: 12px;
  color: #ffffff;
  background:
    radial-gradient(circle at 22% 0, rgba(255, 255, 255, 0.24), transparent 35%),
    linear-gradient(180deg, #27a8ff 0%, #0874d8 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.2),
    0 10px 18px rgba(12, 119, 224, 0.2);
  font-weight: 900;
  text-decoration: none;
  white-space: nowrap;
}

@media (max-width: 420px) {
  .news-post-footer {
    gap: 6px;
  }

  .news-reactions {
    gap: 5px;
  }

  .news-reactions button {
    min-height: 28px;
    padding: 0 8px;
  }

  .news-post-link {
    min-height: 32px;
    padding: 0 12px;
  }
}

.info-modal-card {
  position: relative;
  width: min(100%, 348px);
  max-height: min(80svh, 620px);
  overflow: auto;
  padding: 20px;
  border: 1px solid rgba(44, 117, 190, 0.34);
  border-radius: 24px;
  color: #eef5ff;
  background:
    radial-gradient(circle at 22% 0, rgba(35, 107, 190, 0.18), transparent 13rem),
    linear-gradient(180deg, rgba(8, 14, 23, 0.99), rgba(1, 5, 10, 0.99));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 28px 70px rgba(0, 0, 0, 0.7);
}

.info-modal-close {
  position: absolute;
  top: 10px;
  right: 10px;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 13px;
  color: #dce8f8;
  background: rgba(255, 255, 255, 0.1);
  font-size: 24px;
  line-height: 1;
}

.info-modal-kicker {
  display: inline-flex;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.info-modal-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin: 0 42px 14px 0;
}

.info-modal-card h3 {
  margin: 0;
  font-family: Sora, Manrope, sans-serif;
  font-size: 20px;
}

.info-modal.is-profile-cabinet .info-modal-card {
  width: min(100%, 360px);
  max-height: min(86svh, 660px);
  padding: 18px 16px 20px;
  background:
    radial-gradient(circle at 12% 0, rgba(37, 112, 191, 0.2), transparent 13rem),
    linear-gradient(180deg, rgba(8, 16, 27, 0.99), rgba(1, 6, 11, 0.99));
}

.info-modal.is-profile-cabinet .info-modal-title-row {
  display: none;
}

.profile-cabinet {
  display: grid;
  gap: 18px;
  padding-top: 4px;
}

.profile-cabinet-head {
  display: grid;
  justify-items: center;
  gap: 4px;
  padding-right: 40px;
  padding-left: 40px;
  text-align: center;
}

.profile-cabinet-head img {
  width: 86px;
  height: 86px;
  margin-bottom: 6px;
  border-radius: 50%;
  object-fit: cover;
  background: #000;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.42);
}

.profile-cabinet-head b {
  color: #f4f8ff;
  font: 800 23px/1.08 "Sora", "Manrope", system-ui, sans-serif;
}

.profile-cabinet-head span {
  max-width: 100%;
  overflow: hidden;
  color: rgba(158, 177, 197, 0.82);
  font: 700 14px/1.2 "Manrope", system-ui, sans-serif;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.profile-lb-total {
  justify-self: center;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-width: min(76%, 230px);
  padding: 16px 18px;
  border-radius: 34px;
  background: rgba(31, 42, 55, 0.82);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.profile-growth-mark {
  display: inline-flex;
  align-items: end;
  justify-content: center;
  gap: 3px;
  width: 25px;
  height: 25px;
  padding: 3px;
  border-radius: 5px;
  background: linear-gradient(180deg, #eef6ff, #b8c9d8);
  box-shadow: 0 5px 12px rgba(0, 0, 0, 0.2);
}

.profile-growth-mark i {
  width: 5px;
  border-radius: 2px 2px 1px 1px;
  transform-origin: bottom;
  animation: profileBarGrow 1.45s ease-in-out infinite;
}

.profile-growth-mark i:nth-child(1) {
  height: 10px;
  background: #19d95a;
}

.profile-growth-mark i:nth-child(2) {
  height: 16px;
  background: #159cff;
  animation-delay: 0.16s;
}

.profile-growth-mark i:nth-child(3) {
  height: 21px;
  background: #ff394e;
  animation-delay: 0.32s;
}

@keyframes profileBarGrow {
  0%, 100% {
    transform: scaleY(0.72);
    filter: saturate(0.92);
  }
  45% {
    transform: scaleY(1);
    filter: saturate(1.25);
  }
}

.profile-lb-total b {
  color: #f4f8ff;
  font: 800 21px/1 "Sora", "Manrope", system-ui, sans-serif;
}

.profile-lb-total span {
  flex: 0 0 100%;
  color: rgba(220, 224, 231, 0.72);
  font: 700 14px/1.1 "Manrope", system-ui, sans-serif;
  text-align: center;
}

.profile-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 12px;
}

.profile-stats div {
  display: grid;
  gap: 6px;
  min-height: 58px;
  padding: 10px 18px;
  border: 0;
  border-radius: 22px;
  background:
    radial-gradient(circle at 22% 12%, rgba(255, 255, 255, 0.03), transparent 48%),
    rgba(28, 39, 51, 0.76);
}

.profile-stats span {
  color: rgba(181, 197, 215, 0.9);
  font: 700 11px/1.2 "Manrope", system-ui, sans-serif;
  text-align: center;
}

.profile-stats b {
  overflow: hidden;
  color: #f4f8ff;
  font: 800 13px/1.2 "Sora", "Manrope", system-ui, sans-serif;
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.profile-stats b em,
.profile-stats b small {
  font: inherit;
  font-style: normal;
}

.profile-stats b small {
  color: #f4f8ff;
}

.profile-stat-game b em,
.profile-stat-won b em {
  color: #43b8ff;
}

.profile-stat-lb b em {
  color: #35d77a;
}

.profile-stat-wagered b em {
  color: #ff5668;
}

.profile-secret-password {
  width: min(100%, 270px);
  justify-self: center;
  margin-top: 2px;
  border-color: rgba(83, 138, 196, 0.26);
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(10, 15, 24, 0.94), rgba(3, 6, 11, 0.98));
  cursor: pointer;
  user-select: none;
}

.profile-secret-password span {
  font-size: 10px;
}

.profile-secret-password b {
  font-size: 15px;
  filter: blur(7px);
  opacity: 0.68;
  transition: filter 0.22s ease, opacity 0.22s ease;
}

.profile-secret-password.is-revealed b {
  filter: blur(0);
  opacity: 1;
}

.profile-secret-password button {
  min-height: 28px;
  padding: 0 8px;
  font-size: 10px;
  cursor: pointer;
}

.profile-secret-password button:disabled {
  opacity: 0.48;
  cursor: not-allowed;
}

.info-history-btn {
  flex: 0 0 auto;
  min-height: 30px;
  padding: 0 14px;
  border: 1px solid rgba(104, 184, 255, 0.22);
  border-radius: 999px;
  color: #7bc8ff;
  background: rgba(104, 184, 255, 0.12);
  font-size: 11px;
  font-weight: 900;
}

.info-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.info-stats div,
.info-copy {
  border: 1px solid rgba(83, 138, 196, 0.18);
  border-radius: 16px;
  background:
    linear-gradient(180deg, rgba(27, 36, 49, 0.9), rgba(11, 17, 26, 0.94));
}

.info-stats div {
  min-height: 72px;
  padding: 11px;
}

.info-stats span {
  display: block;
  color: rgba(174, 193, 214, 0.86);
  font-size: 11px;
}

.info-stats b {
  display: block;
  margin-top: 7px;
  overflow: hidden;
  font-family: Sora, Manrope, sans-serif;
  font-size: 15px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.info-secret-password {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px 12px;
  align-items: center;
  margin-top: 10px;
  padding: 13px 14px;
  border: 1px solid rgba(83, 138, 196, 0.18);
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(14, 20, 30, 0.94), rgba(4, 8, 14, 0.98));
}

.info-secret-password span {
  grid-column: 1 / -1;
  color: rgba(174, 193, 214, 0.86);
  font-size: 11px;
  font-weight: 900;
}

.info-secret-password b {
  min-width: 0;
  font-family: Sora, Manrope, sans-serif;
  font-size: 16px;
  line-height: 1.25;
}

.info-secret-password b.is-empty {
  color: rgba(238, 245, 255, 0.78);
  font-family: Manrope, system-ui, sans-serif;
  font-size: 12px;
  font-weight: 500;
}

.info-secret-password button {
  min-height: 34px;
  border: 1px solid rgba(104, 184, 255, 0.26);
  border-radius: 12px;
  color: #bfe3ff;
  background: rgba(104, 184, 255, 0.1);
  font-size: 12px;
  font-weight: 900;
}

.info-copy {
  display: grid;
  gap: 10px;
  padding: 14px;
}

.info-copy p {
  margin: 0;
  color: #c9d7e8;
  font-size: 13px;
  line-height: 1.45;
}

.info-copy input {
  width: 100%;
  min-height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  padding: 0 12px;
  color: #f4f8ff;
  background: rgba(3, 8, 13, 0.58);
  font-size: 12px;
}

.wallet-full {
  overflow-wrap: anywhere;
  word-break: break-word;
}

.info-action-btn {
  min-height: 42px;
  border: 1px solid rgba(91, 181, 255, 0.42);
  border-radius: 15px;
  color: #f4f8ff;
  background:
    radial-gradient(circle at 20% 0, rgba(255, 255, 255, 0.22), transparent 34%),
    linear-gradient(180deg, #159cff 0%, #075cbd 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.22),
    0 10px 20px rgba(20, 132, 236, 0.2);
  font-weight: 900;
}

.info-action-btn[data-modal-disconnect] {
  color: #ffffff;
  background:
    radial-gradient(circle at 20% 0, rgba(255, 255, 255, 0.26), transparent 34%),
    linear-gradient(180deg, #159cff 0%, #075cbd 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.24),
    inset 0 -10px 18px rgba(0, 0, 0, 0.16),
    0 10px 20px rgba(20, 132, 236, 0.2);
}

.wallet-bind-copy {
  gap: 12px;
}

.wallet-bind-card {
  display: grid;
  gap: 6px;
  padding: 12px 14px;
  border: 1px solid rgba(123, 151, 177, 0.14);
  border-radius: 14px;
  background: rgba(10, 18, 29, 0.46);
}

.wallet-bind-card span {
  color: #9cafc4;
  font: 800 11px/1 "Sora", system-ui, sans-serif;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.wallet-bind-card b {
  color: #f4f8ff;
  font: 800 16px/1.15 "Manrope", system-ui, sans-serif;
}

.wallet-bind-card small {
  max-width: 100%;
  overflow: hidden;
  color: #94a7bc;
  font: 700 11px/1.2 "Manrope", system-ui, sans-serif;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.copy-referral-btn {
  color: #ffffff;
  background:
    radial-gradient(circle at 20% 0, rgba(255, 255, 255, 0.24), transparent 34%),
    linear-gradient(180deg, #159cff 0%, #075cbd 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.24),
    inset 0 -10px 18px rgba(0, 0, 0, 0.16),
    0 10px 20px rgba(20, 132, 236, 0.2);
}

.referral-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.referral-stats div {
  display: grid;
  gap: 4px;
  min-height: 58px;
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  background: rgba(9, 18, 31, 0.58);
}

.referral-stats span {
  color: #aebbd0;
  font-size: 11px;
  font-weight: 800;
  line-height: 1.25;
  text-transform: uppercase;
}

.referral-stats b {
  color: #f4f8ff;
  font-size: 22px;
  line-height: 1;
}

.guide-copy {
  gap: 8px;
}

.guide-copy p {
  display: grid;
  gap: 4px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.guide-copy p:last-child {
  border-bottom: 0;
}

.guide-copy b {
  color: #f3f7ff;
  font-size: 14px;
}

.guide-copy span {
  color: #c9d7e8;
}

.casino-controls input {
  width: 100%;
  padding: 0 14px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.08);
}

.stake-picker,
.ludix-stake-picker {
  position: relative;
  min-width: 0;
}

.casino-controls .stake-toggle,
.active-bet-row .stake-toggle,
.casino-controls .ludix-stake-toggle {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 0 30px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.08);
  text-align: center;
}

.stake-toggle span,
.ludix-stake-toggle span {
  display: block;
}

.stake-toggle img {
  display: block;
  width: 23px;
  height: 23px;
  object-fit: contain;
}

.stake-toggle::after,
.ludix-stake-toggle::after {
  content: "";
  position: absolute;
  right: 14px;
  top: 50%;
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 6px solid rgba(220, 232, 248, 0.78);
  transform: translateY(-50%);
}

.active-bet-row .stake-toggle {
  gap: 10px;
  justify-content: flex-start;
  min-height: 44px;
  padding: 0 22px 0 12px;
  border: 2px solid rgba(47, 170, 255, 0.78);
  border-radius: 17px;
  color: #edf6ff;
  background:
    radial-gradient(circle at 24% 8%, rgba(68, 199, 255, 0.1), transparent 20%),
    linear-gradient(135deg, #0d3f79, #0a2856 52%, #07162d 100%);
  box-shadow:
    inset 0 1px 0 rgba(188, 237, 255, 0.09),
    0 0 8px rgba(47, 170, 255, 0.12),
    0 10px 20px rgba(8, 13, 20, 0.26);
  font-size: 15px;
  font-weight: 900;
}

.active-bet-row .stake-toggle:disabled,
.active-bet-row .stake-toggle.is-locked {
  cursor: not-allowed;
  opacity: 0.58;
  filter: grayscale(0.2);
}

.active-bet-row .stake-toggle span {
  color: #edf6ff;
  font-size: 15px;
  font-weight: 900;
}

.stake-menu,
.ludix-stake-menu {
  position: absolute;
  left: 0;
  right: 0;
  bottom: calc(100% + 22px);
  z-index: 14;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
  min-width: 230px;
  padding: 8px;
  border: 1px solid rgba(120, 164, 203, 0.28);
  border-radius: 16px;
  background: rgba(7, 14, 24, 0.96);
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.38), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(12px);
}

.crash-doodle > .active-bet-row .stake-menu {
  min-width: 244px;
}

.active-bet-row .stake-toggle::after {
  right: 11px;
}

.stake-menu button,
.ludix-stake-menu button {
  min-height: 34px;
  border-radius: 11px;
  color: #dce8f8;
  background: rgba(255, 255, 255, 0.08);
  font-size: 12px;
}

.casino-panel .stake-menu button {
  border: 0;
  outline: 0;
  color: #fff;
  background: linear-gradient(180deg, #159cff 0%, #075cbd 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.16),
    0 6px 14px rgba(20, 132, 236, 0.24);
  font-weight: 900;
}

.casino-panel .stake-menu button:focus-visible {
  outline: 2px solid rgba(102, 207, 255, 0.5);
  outline-offset: 2px;
}

.casino-panel .stake-menu button.is-active {
  color: #06130d;
  background: linear-gradient(180deg, #8dff9d 0%, #21d462 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.2),
    0 0 16px rgba(51, 215, 109, 0.4);
}

.ludix-panel .ludix-stake-toggle {
  min-height: 54px;
  gap: 9px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 18px;
  color: #f4f8ff;
  background: linear-gradient(180deg, #151c27 0%, #0a1018 100%);
  box-shadow:
    0 12px 24px rgba(0, 0, 0, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
  font-size: 15px;
}

.ludix-panel .ludix-stake-toggle img {
  width: 28px;
  height: 28px;
  object-fit: contain;
  flex: 0 0 auto;
}

.ludix-panel .ludix-stake-menu {
  border-color: rgba(255, 49, 79, 0.24);
  background: rgba(5, 9, 15, 0.98);
}

.ludix-panel .ludix-stake-menu button {
  min-height: 40px;
  color: #fff6f8;
  background: linear-gradient(135deg, #ff314f, #d7132f 52%, #8f071e);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 8px 16px rgba(255, 49, 79, 0.18);
  font-size: 13px;
  font-weight: 900;
}

.casino-controls button,
.casino-bank button {
  color: #07121a;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
}

.crash-doodle > .active-bet-row > button[data-casino-bet-btn],
.casino-controls button[data-casino-bet-btn] {
  color: #06130d;
  background: linear-gradient(135deg, #7dff9b, #42d873);
  box-shadow: 0 12px 24px rgba(66, 216, 115, 0.16);
  text-transform: uppercase;
  font-size: 15px;
}

.casino-controls button[data-ludix-spin] {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  min-height: 42px;
  padding: 0 18px;
  color: #fff6f8;
  background:
    radial-gradient(circle at 28% 18%, rgba(255, 110, 129, 0.42), transparent 30%),
    linear-gradient(135deg, #d52d47 0%, #bd1730 48%, #780717 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    inset 0 -10px 18px rgba(88, 4, 16, 0.22);
  font-family: Sora, Manrope, sans-serif;
  font-size: 18px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0;
}

.ludix-panel .casino-controls button[data-ludix-spin]:disabled {
  opacity: 0.72;
}

.crash-doodle > .active-bet-row > button[data-casino-cashout],
.casino-controls button[data-casino-cashout] {
  color: #fff6f8;
  background: linear-gradient(135deg, #ff6b8a, #d93d5c);
  box-shadow: 0 12px 24px rgba(255, 107, 138, 0.16);
  text-transform: uppercase;
  font-size: 15px;
}

.casino-bank button.is-attention {
  color: #06130d;
  background: linear-gradient(135deg, #dfffe7, #7dff9b 44%, #33d76d);
  animation: deposit-attention 0.34s ease-in-out 6;
  box-shadow:
    0 0 0 6px rgba(125, 255, 155, 0.12),
    0 0 28px rgba(125, 255, 155, 0.55),
    inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.crash-doodle > .active-bet-row > button:disabled,
.casino-controls button:disabled {
  cursor: not-allowed;
  opacity: 0.48;
  box-shadow: none;
}

.casino-bank button {
  color: #e9f2ff;
  background:
    radial-gradient(circle at 50% 0%, rgba(47, 156, 255, 0.055), transparent 34%),
    linear-gradient(145deg, rgba(45, 54, 66, 0.98), rgba(25, 33, 44, 0.98) 55%, rgba(15, 22, 32, 0.98));
}

.case-stage {
  position: relative;
  flex: 1 1 0;
  display: grid;
  grid-template-rows: minmax(0, 1fr);
  justify-items: center;
  min-height: 0;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.case-stage::before {
  content: none;
}

.case-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.96;
  filter: brightness(0.86) contrast(0.96);
  transform: translateZ(0);
  backface-visibility: hidden;
  pointer-events: none;
}

.case-wheel-wrap {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  align-self: center;
  width: min(78vw, 345px);
  max-width: 100%;
  aspect-ratio: 1;
  margin-top: 4px;
  transform: translateY(2px);
}

.case-clean-slate {
  position: relative;
  z-index: 1;
  width: 100%;
  min-height: min(74vw, 420px);
  border-radius: 18px;
}

.case-clean-slate[data-fight-game] {
  display: block;
  height: 100%;
  min-height: clamp(430px, 60svh, 620px);
  padding: 0 0 150px;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.fight-status {
  position: absolute;
  left: 14px;
  bottom: 98px;
  z-index: 3;
  transform: none;
  min-width: 0;
  padding: 0;
  border: 0;
  color: #aeb7bf;
  background: transparent;
  box-shadow: none;
  font: 900 10px/1.2 var(--display-font);
  text-align: center;
  opacity: 0;
  pointer-events: none;
}

.fight-arena {
  position: absolute;
  inset: 0 0 150px;
  min-height: 0;
  overflow: hidden;
  border: 2px solid rgba(47, 156, 255, 0.72);
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(1, 3, 7, 0.1), rgba(1, 3, 7, 0.52)),
    url("/assets/games/clasher/visuals/arena-bg-web.jpg?v=20260609-33") center / cover no-repeat,
    radial-gradient(ellipse at 50% 90%, rgba(255, 255, 255, 0.035), transparent 38%),
    linear-gradient(180deg, #050506 0%, #030304 58%, #020202 100%);
  box-shadow: inset 0 0 18px rgba(0, 0, 0, 0.62);
}

.fight-arena::before,
.fight-arena::after {
  content: none;
  position: absolute;
  left: 7%;
  right: 7%;
  bottom: 28px;
  height: 18px;
  border-radius: 50%;
  background: radial-gradient(ellipse at 50% 50%, rgba(0, 0, 0, 0.62), transparent 70%);
  filter: blur(2px);
}

.fight-arena::after {
  content: none;
}

.fight-health {
  position: absolute;
  top: 30px;
  width: min(38%, 178px);
  height: 37px;
  overflow: hidden;
  border-radius: 16px;
  background:
    linear-gradient(180deg, rgba(23, 38, 58, 0.98), rgba(7, 14, 24, 0.98));
  border: 1px solid rgba(78, 125, 164, 0.42);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 8px 16px rgba(0, 0, 0, 0.28);
}

.fight-health-left { left: 16px; }
.fight-health-right { right: 16px; }

.fight-health-left {
  border-color: rgba(78, 125, 164, 0.42);
  background: linear-gradient(180deg, rgba(23, 38, 58, 0.98), rgba(7, 14, 24, 0.98));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 8px 16px rgba(0, 0, 0, 0.28);
}

.fight-health-right {
  border-color: rgba(78, 125, 164, 0.42);
  background: linear-gradient(180deg, rgba(23, 38, 58, 0.98), rgba(7, 14, 24, 0.98));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 8px 16px rgba(0, 0, 0, 0.28);
}

.fight-health::before {
  content: none;
}

.fight-health-title {
  position: absolute;
  left: 0;
  right: 0;
  top: 5px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  color: #ffffff;
  font-size: 11px;
  letter-spacing: 0.02em;
  font-weight: 900;
  text-align: center;
  text-transform: none;
  white-space: nowrap;
  pointer-events: none;
}

.fight-health-title img {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  object-fit: contain;
  filter: none;
  transform-origin: center;
}

.fight-health.is-health-hit .fight-health-title img {
  animation: fightHealthHeartPulse 0.34s ease-out 1;
}

.fight-health-left.is-health-hit {
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.1),
    0 0 18px rgba(255, 62, 70, 0.34),
    0 8px 16px rgba(0, 0, 0, 0.28);
}

.fight-health-right.is-health-hit {
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.1),
    0 0 18px rgba(58, 172, 255, 0.34),
    0 8px 16px rgba(0, 0, 0, 0.28);
}

@keyframes fightHealthHeartPulse {
  0% { transform: scale(1); filter: none; }
  38% { transform: scale(1.34); filter: none; }
  68% { transform: scale(0.92); }
  100% { transform: scale(1); filter: none; }
}

.fight-health i {
  position: absolute;
  left: 11px;
  right: 11px;
  bottom: 5px;
  display: block;
  width: auto;
  height: 6px;
  border-radius: 999px;
  background: linear-gradient(90deg, #36b9ff, #237cff);
  box-shadow: 0 0 12px rgba(47, 156, 255, 0.62);
  transform-origin: left center;
  transition: transform 0.28s ease;
}

.fight-health-right i {
  transform-origin: right center;
}

.fight-fighter {
  position: absolute;
  bottom: 0;
  z-index: 2;
  display: grid;
  justify-items: center;
  width: 136px;
  transform: translateZ(0);
}

.fight-fighter::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -2px;
  z-index: 0;
  width: 112%;
  height: 42px;
  transform: translateX(-50%);
  border-radius: 50%;
  opacity: 0;
  filter: blur(13px);
  pointer-events: none;
}

.fight-fighter::before {
  content: "";
  position: absolute;
  top: 76px;
  z-index: 3;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  opacity: 0;
  transform: scale(0.45);
  background:
    radial-gradient(circle, rgba(255, 255, 255, 1) 0 12%, rgba(135, 221, 255, 0.92) 13% 26%, rgba(60, 162, 255, 0.45) 27% 48%, transparent 72%),
    linear-gradient(90deg, transparent 0 20%, rgba(255, 255, 255, 0.8) 48% 52%, transparent 80%),
    linear-gradient(0deg, transparent 0 20%, rgba(255, 255, 255, 0.78) 48% 52%, transparent 80%);
  filter: drop-shadow(0 0 12px rgba(96, 190, 255, 0.9));
  mix-blend-mode: screen;
  pointer-events: none;
}

.fight-fighter-one {
  left: clamp(20px, 14%, 90px);
}

.fight-fighter-one::before {
  right: 2px;
}

.fight-fighter-two {
  right: clamp(20px, 14%, 90px);
}

.fight-fighter-two::before {
  left: 2px;
}

.fight-fighter-label {
  display: none;
}

.fight-fighter-sprite {
  position: relative;
  z-index: 1;
  width: 122px;
  height: 199px;
  background-repeat: no-repeat;
  background-size: 1224px 199px;
  image-rendering: auto;
  filter: drop-shadow(0 16px 14px rgba(0, 0, 0, 0.55));
}

.fight-fighter-one .fight-fighter-sprite {
  background-image: url("/assets/games/clasher/visuals/fighter-one.png?v=20260609-31");
  background-position: -489.6px 0;
}

.fight-fighter-two .fight-fighter-sprite {
  background-image: url("/assets/games/clasher/visuals/fighter-two.png?v=20260609-31");
  background-position: -367.2px 0;
}

.fight-countdown {
  position: absolute;
  left: 50%;
  top: 78px;
  z-index: 3;
  transform: translateX(-50%);
  min-width: 58px;
  opacity: 0;
  color: #eaf6ff;
  font-family: Sora, Manrope, sans-serif;
  font-size: clamp(38px, 8vw, 58px) !important;
  font-weight: 900;
  line-height: 0.9;
  text-align: center;
  text-shadow:
    0 0 14px rgba(47, 156, 255, 0.86),
    0 0 34px rgba(47, 156, 255, 0.44),
    0 7px 20px rgba(0, 0, 0, 0.6);
}

.fight-arena.is-fighting .fight-countdown {
  opacity: 1;
  animation: fightCountdownPulse 1s ease-in-out infinite;
}

.fight-start-splash {
  position: absolute;
  left: 50%;
  top: 44%;
  z-index: 5;
  width: min(86%, 430px);
  aspect-ratio: 2.4 / 1;
  transform: translate(-50%, -50%);
  opacity: 0;
  background: url("/assets/games/clasher/visuals/fight-title.png?v=20260608-01") center / contain no-repeat;
  filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.5));
  pointer-events: none;
}

.fight-arena.is-starting .fight-start-splash {
  opacity: 1;
  animation: fightStartSplashPulse 1s ease-in-out infinite;
}

.fight-arena.is-fighting .fight-health i {
  animation: fightHealthPulse 0.62s ease-in-out infinite;
}

.fight-arena.is-picking .fight-fighter {
  cursor: pointer;
}

.fight-arena.is-picking .fight-fighter {
  animation: fightReadyPulse 1.1s ease-in-out infinite;
}

.fight-arena.is-picking .fight-fighter-one::after {
  background: radial-gradient(ellipse at 50% 50%, rgba(255, 42, 60, 0.72), transparent 68%);
  animation: fightPickAura 1s ease-in-out infinite;
}

.fight-arena.is-picking .fight-fighter-two::after {
  background: radial-gradient(ellipse at 50% 50%, rgba(47, 156, 255, 0.72), transparent 68%);
  animation: fightPickAura 1s ease-in-out 0.18s infinite;
}

.fight-arena.is-picking .fight-fighter-one .fight-fighter-sprite {
  animation: fightPickRedPulse 1s ease-in-out infinite;
}

.fight-arena.is-picking .fight-fighter-two .fight-fighter-sprite {
  animation: fightPickBluePulse 1s ease-in-out 0.18s infinite;
}

.fight-arena.is-fighting .fight-fighter-one {
  animation: fightOneMove 6s ease-in-out infinite;
}

.fight-arena.is-fighting .fight-fighter-two {
  animation: fightTwoMove 6s ease-in-out infinite;
}

.fight-arena.is-fighting .fight-fighter-one .fight-fighter-sprite {
  animation: fightSpriteOne 6s steps(1) infinite;
}

.fight-arena.is-fighting .fight-fighter-two .fight-fighter-sprite {
  animation: fightSpriteTwo 6s steps(1) infinite;
}

.fight-arena.is-fighting.is-fight-variant-2 .fight-fighter-one {
  animation-name: fightOneKickMove;
  animation-duration: 6s;
}

.fight-arena.is-fighting.is-fight-variant-2 .fight-fighter-two {
  animation-name: fightTwoBlockMove;
  animation-duration: 6s;
}

.fight-arena.is-fighting.is-fight-variant-2 .fight-fighter-one .fight-fighter-sprite {
  animation-name: fightSpriteOneKick;
  animation-duration: 6s;
}

.fight-arena.is-fighting.is-fight-variant-2 .fight-fighter-two .fight-fighter-sprite {
  animation-name: fightSpriteTwoBlock;
  animation-duration: 6s;
}

.fight-arena.is-fighting.is-fight-variant-3 .fight-fighter-one {
  animation-name: fightOneRushMove;
  animation-duration: 6s;
}

.fight-arena.is-fighting.is-fight-variant-3 .fight-fighter-two {
  animation-name: fightTwoCounterMove;
  animation-duration: 6s;
}

.fight-arena.is-fighting.is-fight-variant-3 .fight-fighter-one .fight-fighter-sprite {
  animation-name: fightSpriteOneRush;
  animation-duration: 6s;
}

.fight-arena.is-fighting.is-fight-variant-3 .fight-fighter-two .fight-fighter-sprite {
  animation-name: fightSpriteTwoCounter;
  animation-duration: 6s;
}

.fight-arena.is-fighting.is-fight-variant-4 .fight-fighter-one {
  animation-name: fightOneHopKickMove;
  animation-duration: 6s;
}

.fight-arena.is-fighting.is-fight-variant-4 .fight-fighter-two {
  animation-name: fightTwoHopKickMove;
  animation-duration: 6s;
}

.fight-arena.is-fighting.is-fight-variant-4 .fight-fighter-one .fight-fighter-sprite {
  animation-name: fightSpriteOneHopKick;
  animation-duration: 6s;
}

.fight-arena.is-fighting.is-fight-variant-4 .fight-fighter-two .fight-fighter-sprite {
  animation-name: fightSpriteTwoHopKick;
  animation-duration: 6s;
}

.fight-impact {
  position: absolute;
  bottom: 126px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  opacity: 0;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.9), rgba(120, 209, 255, 0.24) 40%, transparent 72%);
  filter: blur(0.2px) drop-shadow(0 0 13px rgba(105, 190, 255, 0.62));
  pointer-events: none;
}

.fight-impact-one {
  left: 36%;
}

.fight-impact-two {
  right: 36%;
}

.fight-arena.is-fighting .fight-impact-one {
  opacity: 0;
  animation: none;
}

.fight-arena.is-fighting .fight-impact-two {
  opacity: 0;
  animation: none;
}

.fight-arena.is-fighting.is-fight-variant-3 .fight-fighter-one::before {
  animation: fightFistFlashOneV3 6s linear infinite;
}

.fight-arena.is-fighting.is-fight-variant-3 .fight-fighter-two::before {
  animation: fightFistFlashTwoV3 6s linear infinite;
}

.fight-arena.is-fighting.is-fight-variant-4 .fight-fighter-one::before {
  animation: fightFistFlashOneV4 6s linear infinite;
}

.fight-arena.is-fighting.is-fight-variant-4 .fight-fighter-two::before {
  animation: fightFistFlashTwoV4 6s linear infinite;
}

.fight-arena[data-winner="1"] .fight-fighter-two {
  animation: fightLoserFallRight 4s ease-in-out forwards;
}

.fight-arena[data-winner="2"] .fight-fighter-one {
  animation: fightLoserFallLeft 4s ease-in-out forwards;
}

.fight-arena[data-winner="1"] .fight-fighter-one,
.fight-arena[data-winner="2"] .fight-fighter-two {
  animation: fightWinnerJump 4s ease-in-out forwards;
}

.fight-result-badge {
  position: absolute;
  left: 50%;
  top: 44%;
  z-index: 3;
  min-width: 150px;
  transform: translate(-50%, -50%);
  padding: 12px 16px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 16px;
  color: #f5fbff;
  background: rgba(4, 8, 14, 0.86);
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.38);
  font: 900 18px/1.1 var(--display-font);
  text-align: center;
}

.fight-result-badge[data-result="win"] {
  min-width: 0;
  width: min(82%, 400px);
  aspect-ratio: 2.4 / 1;
  padding: 0;
  border: 0;
  border-radius: 0;
  color: transparent;
  background: url("/assets/games/clasher/visuals/result-win.png?v=20260608-01") center / contain no-repeat;
  box-shadow: none;
}

.fight-result-badge[data-result="lose"] {
  min-width: 0;
  width: min(82%, 400px);
  aspect-ratio: 2.4 / 1;
  padding: 0;
  border: 0;
  border-radius: 0;
  color: transparent;
  background: url("/assets/games/clasher/visuals/result-loss.png?v=20260608-01") center / contain no-repeat;
  box-shadow: none;
}

.fight-pick-row,
.fight-controls {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.fight-pick-row {
  position: absolute;
  left: 14px;
  right: 14px;
  z-index: 5;
  bottom: 136px;
}

.fight-controls {
  position: relative;
}

.fight-pick-row[hidden] {
  display: none;
}

.fight-pick-row button,
.fight-stake-toggle,
.fight-start-btn,
.fight-stake-menu button {
  border: 1px solid rgba(105, 179, 255, 0.22);
  color: #eaf5ff;
  font-weight: 900;
}

.fight-pick-row button,
.fight-start-btn {
  min-height: 46px;
}

.fight-pick-row button {
  border-radius: 14px;
  color: #ffffff;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.36);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    0 10px 22px rgba(0, 0, 0, 0.26);
}

.fight-pick-row button[data-fight-pick="1"] {
  border-color: rgba(255, 54, 68, 0.74);
  background: linear-gradient(180deg, #ff3344 0%, #b41222 64%, #6d0611 100%);
}

.fight-pick-row button[data-fight-pick="2"] {
  border-color: rgba(59, 166, 255, 0.72);
  background: linear-gradient(180deg, #2fa8ff 0%, #1271d5 62%, #073b83 100%);
}

.fight-start-btn {
  border-radius: 20px;
  border-color: rgba(82, 108, 132, 0.34);
  color: #ffffff;
  background:
    radial-gradient(circle at 28% 12%, rgba(255, 255, 255, 0.055), transparent 36%),
    linear-gradient(180deg, #16181c 0%, #0a0b0d 58%, #050506 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    inset 0 -12px 20px rgba(0, 0, 0, 0.18),
    0 12px 24px rgba(0, 0, 0, 0.24);
  font-family: "Sora", system-ui, sans-serif;
  font-size: 18px;
}

.fight-total-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  min-height: 46px;
  padding: 0;
  border: 0;
  border-radius: 0;
  color: #f7fbff;
  background: transparent;
  box-shadow: none;
}

.fight-control-panel {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 4;
  display: grid;
  gap: 12px;
  padding: 14px;
  border: 1px solid rgba(58, 70, 82, 0.32);
  border-radius: 16px;
  background:
    linear-gradient(180deg, rgba(13, 13, 15, 0.98), rgba(3, 3, 4, 0.98));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.035);
}

.fight-active-bet {
  display: flex;
  align-items: baseline;
  gap: 10px;
  min-width: 0;
  padding-left: 8px;
}

.fight-active-bet span {
  color: #9e9390;
  font-size: 11px;
  font-weight: 900;
  white-space: nowrap;
}

.fight-active-bet strong {
  color: #f7fbff;
  font-size: 18px;
  font-weight: 900;
  white-space: nowrap;
}

.fight-winner-history {
  display: grid;
  grid-template-columns: repeat(4, minmax(48px, 1fr));
  align-items: center;
  gap: 6px;
  width: min(100%, 286px);
  min-width: 214px;
  overflow: hidden;
}

.fight-history-pill,
.fight-history-empty {
  min-width: 0;
  padding: 7px 9px;
  border-radius: 12px;
  color: #f4f8ff;
  background: linear-gradient(180deg, rgba(33, 43, 58, 0.98), rgba(11, 17, 27, 0.98));
  border: 1px solid rgba(112, 140, 168, 0.34);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
  font-size: 10px;
  font-weight: 900;
  text-align: center;
  white-space: nowrap;
}

.fight-history-1 {
  border-color: rgba(255, 54, 68, 0.68);
  background: linear-gradient(180deg, rgba(111, 18, 28, 0.98), rgba(50, 5, 12, 0.98));
}

.fight-history-2 {
  border-color: rgba(59, 166, 255, 0.66);
  background: linear-gradient(180deg, rgba(20, 57, 91, 0.98), rgba(6, 23, 43, 0.98));
}

.fight-history-empty {
  color: #7f8b98;
  border-color: rgba(88, 105, 122, 0.22);
}

.fight-stake-picker {
  position: relative;
  min-width: 0;
}

.fight-stake-toggle {
  width: 100%;
  min-height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 20px;
  background:
    radial-gradient(circle at 25% 15%, rgba(61, 173, 255, 0.14), transparent 36%),
    linear-gradient(180deg, #122235 0%, #081421 100%);
  box-shadow:
    inset 0 1px 0 rgba(109, 190, 255, 0.12),
    0 10px 22px rgba(0, 0, 0, 0.26),
    0 0 20px rgba(24, 136, 237, 0.08);
  font-family: "Sora", system-ui, sans-serif;
}

.fight-stake-chip {
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  background: url("/assets/ui/icons/bet.png?v=20260603-02") center / contain no-repeat;
  filter: drop-shadow(0 4px 7px rgba(24, 136, 237, 0.28));
}

.fight-stake-toggle b {
  min-width: 28px;
  font-size: 18px;
  font-weight: 900;
  letter-spacing: 0;
}

.fight-stake-toggle i {
  width: 0;
  height: 0;
  margin-left: 2px;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-top: 7px solid #aab8c7;
  transform: translateY(2px);
}

.fight-stake-menu {
  position: absolute;
  left: 0;
  right: -36px;
  bottom: calc(100% + 12px);
  z-index: 5;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  min-width: 250px;
  padding: 8px;
  border: 1px solid rgba(65, 175, 255, 0.24);
  border-radius: 16px;
  background:
    radial-gradient(circle at 30% 0%, rgba(40, 154, 255, 0.16), transparent 45%),
    rgba(5, 11, 18, 0.98);
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.38), inset 0 1px 0 rgba(108, 194, 255, 0.1);
  backdrop-filter: blur(12px);
}

.fight-stake-menu[hidden] {
  display: none;
}

.fight-stake-menu button {
  min-height: 46px;
  border: 0;
  border-radius: 13px;
  color: #f4fbff;
  background: linear-gradient(135deg, #45bdff, #1689ed 52%, #075dbc);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22), 0 8px 16px rgba(24, 136, 237, 0.2);
  font-size: 15px;
  font-weight: 900;
}

.fight-start-btn:disabled,
.fight-stake-toggle:disabled,
.fight-pick-row button:disabled {
  cursor: not-allowed;
  opacity: 0.5;
  box-shadow: none;
}

@keyframes fightReadyPulse {
  0%, 100% { filter: drop-shadow(0 0 0 rgba(105, 179, 255, 0)); }
  50% { filter: drop-shadow(0 0 12px rgba(105, 179, 255, 0.24)); }
}

@keyframes fightPickAura {
  0%, 100% { opacity: 0.18; transform: translateX(-50%) scale(0.82); }
  50% { opacity: 0.9; transform: translateX(-50%) scale(1.08); }
}

@keyframes fightPickRedPulse {
  0%, 100% { filter: drop-shadow(0 0 6px rgba(255, 48, 64, 0.28)); }
  50% { filter: drop-shadow(0 0 18px rgba(255, 48, 64, 0.9)); }
}

@keyframes fightPickBluePulse {
  0%, 100% { filter: drop-shadow(0 0 6px rgba(47, 156, 255, 0.28)); }
  50% { filter: drop-shadow(0 0 18px rgba(47, 156, 255, 0.9)); }
}

@keyframes fightCountdownPulse {
  0%, 100% {
    transform: translateX(-50%) scale(1);
    filter: brightness(1);
  }
  50% {
    transform: translateX(-50%) scale(1.08);
    filter: brightness(1.18);
  }
}

@keyframes fightStartSplashPulse {
  0%, 100% {
    transform: translate(-50%, -50%) scale(1);
    filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.5)) brightness(1);
  }
  50% {
    transform: translate(-50%, -50%) scale(1.08);
    filter: drop-shadow(0 12px 24px rgba(47, 156, 255, 0.25)) brightness(1.1);
  }
}

@keyframes fightHealthPulse {
  0%, 100% {
    filter: brightness(1);
    box-shadow: 0 0 12px rgba(47, 156, 255, 0.62);
  }
  50% {
    filter: brightness(1.34);
    box-shadow: 0 0 20px rgba(80, 190, 255, 0.9);
  }
}

@keyframes fightWinnerJump {
  0%, 100% { transform: translateY(0) scale(1); }
  9%, 29%, 49% { transform: translateY(-34px) scale(1.06); }
  18%, 38%, 58% { transform: translateY(0) scale(1.02); }
}

@keyframes fightLoserFallLeft {
  0% { transform: translateY(0) rotate(0deg); opacity: 1; }
  18% { transform: translateY(8px) rotate(-18deg); opacity: 0.86; }
  44%, 100% { transform: translate(-18px, 44px) rotate(-84deg); opacity: 0.72; }
}

@keyframes fightLoserFallRight {
  0% { transform: translateY(0) rotate(0deg); opacity: 1; }
  18% { transform: translateY(8px) rotate(18deg); opacity: 0.86; }
  44%, 100% { transform: translate(18px, 44px) rotate(84deg); opacity: 0.72; }
}

@keyframes fightOneMove {
  0%, 8%, 100% { transform: translateX(0) translateY(0) rotate(0deg); }
  12% { transform: translateX(54px) translateY(-2px) rotate(3deg); }
  18% { transform: translateX(80px) translateY(0) rotate(6deg); }
  26% { transform: translateX(18px) translateY(0) rotate(0deg); }
  33% { transform: translateX(-10px) translateY(7px) rotate(-5deg); }
  43% { transform: translateX(0) translateY(0) rotate(0deg); }
  52% { transform: translateX(44px) translateY(-20px) rotate(8deg); }
  60% { transform: translateX(84px) translateY(-8px) rotate(12deg); }
  69% { transform: translateX(14px) translateY(0) rotate(0deg); }
  78% { transform: translateX(-12px) translateY(6px) rotate(-4deg); }
  88% { transform: translateX(0) translateY(0) rotate(0deg); }
}

@keyframes fightTwoMove {
  0%, 8%, 100% { transform: translateX(0) translateY(0) rotate(0deg); }
  12% { transform: translateX(10px) translateY(6px) rotate(4deg); }
  20% { transform: translateX(2px) translateY(0) rotate(0deg); }
  30% { transform: translateX(-58px) translateY(-2px) rotate(-3deg); }
  38% { transform: translateX(-86px) translateY(0) rotate(-7deg); }
  48% { transform: translateX(-10px) translateY(0) rotate(0deg); }
  54% { transform: translateX(12px) translateY(7px) rotate(4deg); }
  66% { transform: translateX(0) translateY(0) rotate(0deg); }
  76% { transform: translateX(-48px) translateY(-16px) rotate(-9deg); }
  84% { transform: translateX(-82px) translateY(-4px) rotate(-12deg); }
  94% { transform: translateX(0) translateY(0) rotate(0deg); }
}

@keyframes fightSpriteOne {
  0% { background-position: -489.6px 0; }
  28% { background-position: -612px 0; }
  55% { background-position: -856.8px 0; }
  78% { background-position: 0 0; }
  100% { background-position: -489.6px 0; }
}

@keyframes fightSpriteTwo {
  0% { background-position: -367.2px 0; }
  30% { background-position: -244.8px 0; }
  56% { background-position: 0 0; }
  80% { background-position: -979.2px 0; }
  100% { background-position: -367.2px 0; }
}

@keyframes fightOneKickMove {
  0%, 9%, 100% { transform: translateX(0) translateY(0) rotate(0deg); }
  12% { transform: translateX(40px) translateY(-22px) rotate(9deg); }
  18% { transform: translateX(92px) translateY(-10px) rotate(15deg); }
  27% { transform: translateX(10px) translateY(0) rotate(0deg); }
  36% { transform: translateX(-12px) translateY(8px) rotate(-6deg); }
  46% { transform: translateX(0) translateY(0) rotate(0deg); }
  56% { transform: translateX(54px) translateY(0) rotate(5deg); }
  64% { transform: translateX(86px) translateY(0) rotate(9deg); }
  74% { transform: translateX(8px) translateY(0) rotate(0deg); }
  84% { transform: translateX(-10px) translateY(6px) rotate(-5deg); }
  93% { transform: translateX(0) translateY(0) rotate(0deg); }
}

@keyframes fightTwoBlockMove {
  0%, 9%, 100% { transform: translateX(0) translateY(0) rotate(0deg); }
  14% { transform: translateX(14px) translateY(7px) rotate(5deg); }
  24% { transform: translateX(0) translateY(0) rotate(0deg); }
  32% { transform: translateX(-48px) translateY(-2px) rotate(-3deg); }
  40% { transform: translateX(-88px) translateY(0) rotate(-8deg); }
  51% { transform: translateX(-8px) translateY(0) rotate(0deg); }
  60% { transform: translateX(10px) translateY(6px) rotate(4deg); }
  70% { transform: translateX(0) translateY(0) rotate(0deg); }
  78% { transform: translateX(-48px) translateY(-20px) rotate(-10deg); }
  86% { transform: translateX(-90px) translateY(-6px) rotate(-14deg); }
  95% { transform: translateX(0) translateY(0) rotate(0deg); }
}

@keyframes fightOneRushMove {
  0%, 8%, 100% { transform: translateX(0) translateY(0) scale(1); }
  10% { transform: translateX(28px) translateY(0) scale(1); }
  12.8% { transform: translateX(132px) translateY(-2px) scale(1.08); }
  16% { transform: translateX(48px) translateY(0) scale(1.02); }
  28% { transform: translateX(10px) translateY(0) scale(1); }
  40% { transform: translateX(-14px) translateY(7px) scale(0.98); }
  50% { transform: translateX(0) translateY(0) scale(1); }
  50.8% { transform: translateX(28px) translateY(-7px) scale(1); }
  53.2% { transform: translateX(136px) translateY(-8px) scale(1.08); }
  57% { transform: translateX(48px) translateY(0) scale(1.02); }
  76% { transform: translateX(18px) translateY(0) scale(1); }
  86% { transform: translateX(24px) translateY(0) scale(1); }
  90.8% { transform: translateX(146px) translateY(-4px) scale(1.1); }
  94% { transform: translateX(34px) translateY(0) scale(1.02); }
  98% { transform: translateX(0) translateY(0) scale(1); }
}

@keyframes fightTwoCounterMove {
  0%, 8%, 100% { transform: translateX(0) translateY(0) rotate(0deg); }
  14% { transform: translateX(14px) translateY(6px) rotate(3deg); }
  24% { transform: translateX(0) translateY(0) rotate(0deg); }
  30% { transform: translateX(-30px) translateY(-5px) rotate(-2deg); }
  32.2% { transform: translateX(-136px) translateY(-4px) rotate(-6deg); }
  36% { transform: translateX(-52px) translateY(0) rotate(-2deg); }
  52% { transform: translateX(-8px) translateY(0) rotate(0deg); }
  62% { transform: translateX(10px) translateY(6px) rotate(3deg); }
  72% { transform: translateX(0) translateY(0) rotate(0deg); }
  73.5% { transform: translateX(-34px) translateY(-4px) rotate(-2deg); }
  76% { transform: translateX(-138px) translateY(-2px) rotate(-6deg); }
  80% { transform: translateX(-54px) translateY(0) rotate(-2deg); }
  90.8% { transform: translateX(24px) translateY(7px) rotate(3deg); }
  94% { transform: translateX(8px) translateY(2px) rotate(1deg); }
  98% { transform: translateX(0) translateY(0) rotate(0deg); }
}

@keyframes fightOneHopKickMove {
  0%, 9%, 100% { transform: translateX(0) translateY(0) rotate(0deg); }
  11% { transform: translateX(30px) translateY(-18px) rotate(3deg); }
  13.8% { transform: translateX(138px) translateY(-8px) rotate(6deg); }
  17% { transform: translateX(54px) translateY(-2px) rotate(2deg); }
  30% { transform: translateX(12px) translateY(0) rotate(0deg); }
  40% { transform: translateX(-12px) translateY(7px) rotate(-5deg); }
  50% { transform: translateX(0) translateY(0) rotate(0deg); }
  57% { transform: translateX(32px) translateY(0) rotate(3deg); }
  59.4% { transform: translateX(134px) translateY(0) rotate(6deg); }
  63% { transform: translateX(50px) translateY(0) rotate(2deg); }
  78% { transform: translateX(12px) translateY(0) rotate(0deg); }
  88% { transform: translateX(26px) translateY(-4px) rotate(2deg); }
  91.2% { transform: translateX(148px) translateY(-3px) rotate(7deg); }
  95% { transform: translateX(42px) translateY(0) rotate(1deg); }
  96% { transform: translateX(0) translateY(0) rotate(0deg); }
}

@keyframes fightTwoHopKickMove {
  0%, 9%, 100% { transform: translateX(0) translateY(0) rotate(0deg); }
  15% { transform: translateX(12px) translateY(6px) rotate(3deg); }
  25% { transform: translateX(0) translateY(0) rotate(0deg); }
  31.5% { transform: translateX(-32px) translateY(-16px) rotate(-3deg); }
  34% { transform: translateX(-138px) translateY(-6px) rotate(-6deg); }
  38% { transform: translateX(-54px) translateY(0) rotate(-2deg); }
  52% { transform: translateX(-8px) translateY(0) rotate(0deg); }
  62% { transform: translateX(10px) translateY(6px) rotate(3deg); }
  72% { transform: translateX(0) translateY(0) rotate(0deg); }
  76.5% { transform: translateX(-34px) translateY(-7px) rotate(-2deg); }
  79.3% { transform: translateX(-136px) translateY(-3px) rotate(-6deg); }
  83% { transform: translateX(-56px) translateY(0) rotate(-2deg); }
  91.2% { transform: translateX(24px) translateY(7px) rotate(3deg); }
  95% { transform: translateX(8px) translateY(2px) rotate(1deg); }
  99% { transform: translateX(0) translateY(0) rotate(0deg); }
}

@keyframes fightSpriteOneKick {
  0% { background-position: -489.6px 0; }
  30% { background-position: -734.4px 0; }
  58% { background-position: -856.8px 0; }
  82% { background-position: -122.4px 0; }
  100% { background-position: -489.6px 0; }
}

@keyframes fightSpriteTwoBlock {
  0% { background-position: -367.2px 0; }
  32% { background-position: -612px 0; }
  58% { background-position: -979.2px 0; }
  82% { background-position: -122.4px 0; }
  100% { background-position: -367.2px 0; }
}

@keyframes fightSpriteOneRush {
  0% { background-position: -489.6px 0; }
  26% { background-position: -612px 0; }
  52% { background-position: -244.8px 0; }
  78% { background-position: -612px 0; }
  90% { background-position: -244.8px 0; }
  100% { background-position: -489.6px 0; }
}

@keyframes fightSpriteTwoCounter {
  0% { background-position: -367.2px 0; }
  28% { background-position: -122.4px 0; }
  54% { background-position: -612px 0; }
  80% { background-position: -122.4px 0; }
  90% { background-position: -612px 0; }
  100% { background-position: -367.2px 0; }
}

@keyframes fightSpriteOneHopKick {
  0% { background-position: -489.6px 0; }
  30% { background-position: -734.4px 0; }
  56% { background-position: -612px 0; }
  78% { background-position: -244.8px 0; }
  90% { background-position: -612px 0; }
  100% { background-position: -489.6px 0; }
}

@keyframes fightSpriteTwoHopKick {
  0% { background-position: -367.2px 0; }
  30% { background-position: -612px 0; }
  56% { background-position: -244.8px 0; }
  78% { background-position: -244.8px 0; }
  90% { background-position: -612px 0; }
  100% { background-position: -367.2px 0; }
}

@keyframes fightImpactOne {
  0%, 9%, 16%, 49%, 57%, 86%, 94%, 100% { opacity: 0; transform: scale(0.68); }
  12%, 52%, 89% { opacity: 1; transform: scale(1.08); }
  14%, 55%, 92% { opacity: 0.72; transform: scale(1.9); }
}

@keyframes fightImpactTwo {
  0%, 29%, 38%, 73%, 83%, 87%, 95%, 100% { opacity: 0; transform: scale(0.68); }
  32%, 76%, 90% { opacity: 1; transform: scale(1.08); }
  35%, 80%, 93% { opacity: 0.72; transform: scale(1.9); }
}

@keyframes fightFistFlashOneV3 {
  0%, 11.8%, 14.6%, 52.2%, 55%, 89.8%, 93.4%, 100% { opacity: 0; transform: translate(0, 0) scale(0.45); }
  12.8%, 53.2%, 90.8% { opacity: 1; transform: translate(18px, -3px) scale(1.05); }
  13.8%, 54.2%, 92% { opacity: 0.72; transform: translate(26px, -3px) scale(1.72); }
}

@keyframes fightFistFlashTwoV3 {
  0%, 31.2%, 34%, 74.8%, 78.2%, 100% { opacity: 0; transform: translate(0, 0) scale(0.45); }
  32.2%, 76% { opacity: 1; transform: translate(-18px, -3px) scale(1.05); }
  33.2%, 77.1% { opacity: 0.72; transform: translate(-26px, -3px) scale(1.72); }
}

@keyframes fightFistFlashOneV4 {
  0%, 12.8%, 15.6%, 58.4%, 61.6%, 90.2%, 94%, 100% { opacity: 0; transform: translate(0, 0) scale(0.45); }
  13.8%, 59.4%, 91.2% { opacity: 1; transform: translate(18px, -3px) scale(1.05); }
  14.8%, 60.5%, 92.4% { opacity: 0.72; transform: translate(26px, -3px) scale(1.72); }
}

@keyframes fightFistFlashTwoV4 {
  0%, 33%, 35.8%, 78.3%, 81.8%, 100% { opacity: 0; transform: translate(0, 0) scale(0.45); }
  34%, 79.3% { opacity: 1; transform: translate(-18px, -3px) scale(1.05); }
  35%, 80.4% { opacity: 0.72; transform: translate(-26px, -3px) scale(1.72); }
}

@keyframes fightOneMoveMobile {
  0%, 8%, 100% { transform: translateX(0) translateY(0) rotate(0deg); }
  13% { transform: translateX(34px) translateY(-1px) rotate(3deg); }
  20% { transform: translateX(48px) translateY(0) rotate(5deg); }
  28% { transform: translateX(8px) translateY(0) rotate(0deg); }
  36% { transform: translateX(-8px) translateY(5px) rotate(-4deg); }
  47% { transform: translateX(0) translateY(0) rotate(0deg); }
  56% { transform: translateX(30px) translateY(-12px) rotate(7deg); }
  64% { transform: translateX(50px) translateY(-4px) rotate(10deg); }
  74% { transform: translateX(8px) translateY(0) rotate(0deg); }
  84% { transform: translateX(-8px) translateY(5px) rotate(-4deg); }
  94% { transform: translateX(0) translateY(0) rotate(0deg); }
}

@keyframes fightTwoMoveMobile {
  0%, 8%, 100% { transform: translateX(0) translateY(0) rotate(0deg); }
  13% { transform: translateX(8px) translateY(5px) rotate(4deg); }
  22% { transform: translateX(0) translateY(0) rotate(0deg); }
  32% { transform: translateX(-36px) translateY(-1px) rotate(-3deg); }
  40% { transform: translateX(-52px) translateY(0) rotate(-7deg); }
  50% { transform: translateX(-8px) translateY(0) rotate(0deg); }
  58% { transform: translateX(8px) translateY(5px) rotate(4deg); }
  68% { transform: translateX(0) translateY(0) rotate(0deg); }
  78% { transform: translateX(-34px) translateY(-10px) rotate(-9deg); }
  86% { transform: translateX(-52px) translateY(-3px) rotate(-12deg); }
  96% { transform: translateX(0) translateY(0) rotate(0deg); }
}

@keyframes fightSpriteOneMobile {
  0% { background-position: -409.2px 0; }
  28% { background-position: -511.5px 0; }
  55% { background-position: -613.8px 0; }
  78% { background-position: -511.5px 0; }
  90% { background-position: -204.6px 0; }
  100% { background-position: -409.2px 0; }
}

@keyframes fightSpriteTwoMobile {
  0% { background-position: -306.9px 0; }
  30% { background-position: -204.6px 0; }
  56% { background-position: -511.5px 0; }
  80% { background-position: -204.6px 0; }
  90% { background-position: -511.5px 0; }
  100% { background-position: -306.9px 0; }
}

@keyframes fightOneKickMoveMobile {
  0%, 9%, 100% { transform: translateX(0) translateY(0) rotate(0deg); }
  14% { transform: translateX(28px) translateY(-18px) rotate(8deg); }
  21% { transform: translateX(56px) translateY(-7px) rotate(13deg); }
  30% { transform: translateX(8px) translateY(0) rotate(0deg); }
  40% { transform: translateX(-8px) translateY(5px) rotate(-4deg); }
  50% { transform: translateX(0) translateY(0) rotate(0deg); }
  60% { transform: translateX(34px) translateY(0) rotate(5deg); }
  68% { transform: translateX(54px) translateY(0) rotate(8deg); }
  78% { transform: translateX(8px) translateY(0) rotate(0deg); }
  88% { transform: translateX(-8px) translateY(5px) rotate(-4deg); }
  96% { transform: translateX(0) translateY(0) rotate(0deg); }
}

@keyframes fightTwoBlockMoveMobile {
  0%, 9%, 100% { transform: translateX(0) translateY(0) rotate(0deg); }
  15% { transform: translateX(8px) translateY(5px) rotate(4deg); }
  25% { transform: translateX(0) translateY(0) rotate(0deg); }
  34% { transform: translateX(-30px) translateY(-2px) rotate(-4deg); }
  42% { transform: translateX(-56px) translateY(0) rotate(-8deg); }
  52% { transform: translateX(-8px) translateY(0) rotate(0deg); }
  60% { transform: translateX(8px) translateY(5px) rotate(4deg); }
  70% { transform: translateX(0) translateY(0) rotate(0deg); }
  80% { transform: translateX(-30px) translateY(-12px) rotate(-9deg); }
  88% { transform: translateX(-54px) translateY(-3px) rotate(-12deg); }
  96% { transform: translateX(0) translateY(0) rotate(0deg); }
}

@keyframes fightOneRushMoveMobile {
  0%, 8%, 100% { transform: translateX(0) translateY(0) scale(1); }
  14% { transform: translateX(42px) translateY(-2px) scale(1.04); }
  21% { transform: translateX(66px) translateY(0) scale(1.06); }
  30% { transform: translateX(8px) translateY(0) scale(1); }
  40% { transform: translateX(-8px) translateY(5px) scale(0.98); }
  50% { transform: translateX(0) translateY(0) scale(1); }
  60% { transform: translateX(40px) translateY(-12px) scale(1.04); }
  68% { transform: translateX(66px) translateY(-4px) scale(1.06); }
  78% { transform: translateX(8px) translateY(0) scale(1); }
  86% { transform: translateX(8px) translateY(0) scale(1); }
  90% { transform: translateX(-12px) translateY(5px) scale(0.98); }
  96% { transform: translateX(0) translateY(0) scale(1); }
}

@keyframes fightTwoCounterMoveMobile {
  0%, 8%, 100% { transform: translateX(0) translateY(0) rotate(0deg); }
  15% { transform: translateX(8px) translateY(5px) rotate(3deg); }
  25% { transform: translateX(0) translateY(0) rotate(0deg); }
  34% { transform: translateX(-38px) translateY(-10px) rotate(-5deg); }
  42% { transform: translateX(-66px) translateY(-3px) rotate(-7deg); }
  52% { transform: translateX(-8px) translateY(0) rotate(0deg); }
  62% { transform: translateX(8px) translateY(5px) rotate(3deg); }
  72% { transform: translateX(0) translateY(0) rotate(0deg); }
  82% { transform: translateX(-42px) translateY(-2px) rotate(-4deg); }
  90% { transform: translateX(-76px) translateY(-2px) rotate(-7deg); }
  94% { transform: translateX(-52px) translateY(0) rotate(-3deg); }
  98% { transform: translateX(0) translateY(0) rotate(0deg); }
}

@keyframes fightOneHopKickMoveMobile {
  0%, 9%, 100% { transform: translateX(0) translateY(0) rotate(0deg); }
  14% { transform: translateX(32px) translateY(-20px) rotate(6deg); }
  21% { transform: translateX(66px) translateY(-6px) rotate(8deg); }
  30% { transform: translateX(8px) translateY(0) rotate(0deg); }
  40% { transform: translateX(-8px) translateY(5px) rotate(-4deg); }
  50% { transform: translateX(0) translateY(0) rotate(0deg); }
  60% { transform: translateX(40px) translateY(0) rotate(5deg); }
  68% { transform: translateX(66px) translateY(0) rotate(7deg); }
  78% { transform: translateX(8px) translateY(0) rotate(0deg); }
  88% { transform: translateX(-12px) translateY(5px) rotate(-4deg); }
  96% { transform: translateX(0) translateY(0) rotate(0deg); }
}

@keyframes fightTwoHopKickMoveMobile {
  0%, 9%, 100% { transform: translateX(0) translateY(0) rotate(0deg); }
  15% { transform: translateX(8px) translateY(5px) rotate(3deg); }
  25% { transform: translateX(0) translateY(0) rotate(0deg); }
  34% { transform: translateX(-34px) translateY(-20px) rotate(-6deg); }
  42% { transform: translateX(-66px) translateY(-6px) rotate(-8deg); }
  52% { transform: translateX(-8px) translateY(0) rotate(0deg); }
  62% { transform: translateX(8px) translateY(5px) rotate(3deg); }
  72% { transform: translateX(0) translateY(0) rotate(0deg); }
  82% { transform: translateX(-44px) translateY(-10px) rotate(-6deg); }
  90% { transform: translateX(-78px) translateY(-3px) rotate(-8deg); }
  95% { transform: translateX(-52px) translateY(0) rotate(-3deg); }
  98% { transform: translateX(0) translateY(0) rotate(0deg); }
}

.fortune-source-border2,
.fortune-source-border1,
.fortune-source-round,
.fortune-source-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.fortune-source-border2 {
  width: 100%;
  height: 100%;
  background: transparent;
}

.fortune-source-border1 {
  width: 100%;
  height: 100%;
  background: transparent;
}

.fortune-source-round {
  position: relative;
  width: 102.4%;
  height: 102.4%;
  overflow: visible;
  background:
    radial-gradient(circle at 50% 50%,
      transparent 0 34.2%,
      #020409 34.7% 36.8%,
      rgba(4, 22, 48, 0.98) 37.2%,
      rgba(0, 124, 224, 0.96) 41.5%,
      rgba(8, 25, 72, 0.98) 45.4%,
      rgba(2, 7, 18, 0.98) 48.5%,
      transparent 49.2%),
    repeating-conic-gradient(from -3deg,
      rgba(93, 215, 255, 0.74) 0deg 2deg,
      rgba(8, 35, 91, 0.92) 2deg 15deg,
      rgba(0, 8, 25, 0.98) 15deg 22.5deg);
  opacity: 0.98;
  box-shadow:
    0 0 0 1px rgba(68, 184, 255, 0.32),
    0 0 18px rgba(0, 127, 255, 0.28),
    inset 0 0 16px rgba(0, 0, 0, 0.72);
}

.fortune-source-round::after {
  content: "";
  position: absolute;
  inset: 5.2%;
  border-radius: 50%;
  border: 2px solid rgba(74, 198, 255, 0.7);
  box-shadow:
    inset 0 0 10px rgba(0, 0, 0, 0.78),
    0 0 12px rgba(0, 125, 255, 0.42);
  pointer-events: none;
}

.fortune-source-wrapper {
  position: relative;
  z-index: 1;
  width: 69.8%;
  height: 69.8%;
  background: radial-gradient(circle at 50% 48%, #0b2235 0%, #07121d 62%, #051019 100%);
  box-shadow: 0 0 0 5px #050607;
}

.fortune-source-wheel {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 50%;
  background: #07121d;
  box-shadow: rgba(0, 0, 0, 0.2) 0 0 10px, rgba(0, 0, 0, 0.05) 0 3px 0;
}

.fortune-source-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 6s cubic-bezier(0, 0.99, 0.44, 0.99);
}

.fortune-source-sec {
  position: absolute;
  top: -0.7%;
  left: 50%;
  width: 42.4%;
  height: 51.2%;
  clip-path: polygon(104% 0, 50% 100%, -4% 0);
  transform-origin: bottom;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 900;
  box-shadow:
    inset 0 0 0 1px rgba(96, 225, 255, 0.38),
    inset 0 -24px 34px rgba(0, 0, 0, 0.2);
}

.fortune-source-sec:nth-child(1) { transform: translateX(-50%) rotate(45deg); background: radial-gradient(circle at 50% 18%, rgba(50, 143, 255, 0.34), transparent 42%), linear-gradient(90deg, #07103b 0%, #0d42a5 100%); }
.fortune-source-sec:nth-child(2) { transform: translateX(-50%) rotate(90deg); background: radial-gradient(circle at 50% 18%, rgba(80, 255, 168, 0.28), transparent 42%), linear-gradient(90deg, #061b18 0%, #087144 100%); }
.fortune-source-sec:nth-child(3) { transform: translateX(-50%) rotate(135deg); background: radial-gradient(circle at 50% 18%, rgba(72, 177, 255, 0.28), transparent 42%), linear-gradient(90deg, #061236 0%, #0b4d9f 100%); }
.fortune-source-sec:nth-child(4) { transform: translateX(-50%) rotate(180deg); background: radial-gradient(circle at 50% 18%, rgba(71, 202, 255, 0.26), transparent 42%), linear-gradient(90deg, #061827 0%, #0a5771 100%); }
.fortune-source-sec:nth-child(5) { transform: translateX(-50%) rotate(225deg); background: radial-gradient(circle at 50% 18%, rgba(54, 130, 255, 0.28), transparent 42%), linear-gradient(90deg, #050c2d 0%, #102c77 100%); }
.fortune-source-sec:nth-child(6) { transform: translateX(-50%) rotate(270deg); background: radial-gradient(circle at 50% 18%, rgba(70, 236, 255, 0.24), transparent 42%), linear-gradient(90deg, #051219 0%, #0a3542 100%); }
.fortune-source-sec:nth-child(7) { transform: translateX(-50%) rotate(315deg); background: radial-gradient(circle at 50% 18%, rgba(81, 255, 111, 0.24), transparent 42%), linear-gradient(90deg, #041d12 0%, #075f34 100%); }
.fortune-source-sec:nth-child(8) { transform: translateX(-50%) rotate(360deg); background: radial-gradient(circle at 50% 18%, rgba(255, 74, 74, 0.24), transparent 42%), linear-gradient(90deg, #260607 0%, #7b1515 100%); }

.fortune-source-insec {
  position: relative;
  width: 100%;
  height: 100%;
  clip-path: polygon(104% 0, 50% 100%, -4% 0);
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-direction: column;
  padding-top: 11%;
}

.fortune-source-insec img {
  position: relative;
  z-index: 1;
  display: block;
  width: 39px;
  height: 39px;
  order: 2;
  margin: 4px 0 0;
  object-fit: contain;
  filter: drop-shadow(0 3px 4px rgba(0, 0, 0, 0.34));
}

.fortune-source-insec span {
  position: relative;
  z-index: 1;
  display: block;
  order: 1;
  width: 66px;
  color: #fff;
  font-family: Sora, Manrope, sans-serif;
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
  text-align: center;
  letter-spacing: 0;
  white-space: nowrap;
  text-shadow:
    0 2px 3px rgba(0, 0, 0, 0.86),
    0 0 8px rgba(92, 197, 255, 0.22);
}

.fortune-source-pointer {
  position: absolute;
  z-index: 4;
  top: 50%;
  left: 50%;
  width: 54%;
  height: 54%;
  object-fit: contain;
  transform: translate(-50%, -50%) rotate(1deg);
  pointer-events: none;
  filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.38));
}

.fortune-source-shine {
  position: absolute;
  top: 0;
  left: 0;
  width: 83%;
  height: 83%;
  background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.44) 0%, rgba(0, 0, 0, 0.3) 9%, rgba(0, 0, 0, 0) 100%);
  opacity: 0.08;
  pointer-events: none;
}

.case-hub {
  position: absolute;
  z-index: 6;
  display: none;
  place-items: center;
  width: min(42%, 145px);
  min-height: 28px;
  padding: 6px 12px;
  border: 1px solid rgba(255, 231, 113, 0.66);
  border-radius: 13px;
  color: #fff6d8;
  background:
    linear-gradient(180deg, rgba(70, 19, 13, 0.92), rgba(24, 8, 8, 0.92));
  font-family: Sora, Manrope, sans-serif;
  font-size: 10px;
  font-weight: 800;
  line-height: 1.12;
  text-align: center;
  text-wrap: balance;
  transform: translateY(58%);
  box-shadow:
    0 10px 18px rgba(0, 0, 0, 0.34),
    inset 0 1px 0 rgba(255, 255, 255, 0.16);
}

.case-hub[data-state="spin"] {
  color: #fff5db;
  background: linear-gradient(180deg, rgba(100, 29, 14, 0.95), rgba(41, 10, 9, 0.95));
  border-color: rgba(255, 218, 94, 0.78);
}

.case-hub[data-state="win"],
.case-hub[data-state="free"] {
  color: #ecfff9;
  background: linear-gradient(180deg, rgba(22, 87, 55, 0.95), rgba(8, 36, 28, 0.95));
  border-color: rgba(114, 255, 213, 0.72);
}

.case-hub[data-state="loss"] {
  color: #f7f8fa;
  background: linear-gradient(180deg, rgba(54, 39, 35, 0.95), rgba(20, 12, 12, 0.95));
  border-color: rgba(185, 190, 193, 0.68);
}

.case-info-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  width: min(100%, 330px);
  margin-top: 0;
  align-self: start;
  transform: translateX(0);
}

.case-result,
.case-meta {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 34px;
  padding: 6px 10px;
  border: 1px solid rgba(120, 164, 203, 0.24);
  border-radius: 13px;
  color: #dce8f8;
  background: rgba(15, 15, 14, 0.985);
  box-shadow: 0 12px 22px rgba(0, 0, 0, 0.22);
  font-size: 12px;
  font-weight: 700;
  text-align: center;
}

.case-combos-btn {
  gap: 8px;
  border: 1px solid rgba(120, 164, 203, 0.24);
  color: #e8f2ff;
  background: rgba(15, 15, 14, 0.985);
}

.case-combos-btn::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #ffd73a;
  box-shadow: 0 0 10px rgba(255, 215, 58, 0.72);
  animation: caseComboDot 1.15s ease-in-out infinite;
}

@keyframes caseComboDot {
  0%, 100% { opacity: 0.42; transform: scale(0.78); box-shadow: 0 0 7px rgba(255, 215, 58, 0.45); }
  50% { opacity: 1; transform: scale(1.18); box-shadow: 0 0 15px rgba(255, 215, 58, 0.95); }
}

.case-combos-modal {
  position: absolute;
  inset: 0;
  z-index: 8;
  display: grid;
  place-items: center;
  padding: 14px;
  background: rgba(3, 8, 13, 0.72);
  backdrop-filter: blur(6px);
}

.case-combos-card {
  position: relative;
  width: min(100%, 310px);
  max-height: none;
  padding: 12px;
  border: 1px solid rgba(170, 186, 190, 0.34);
  border-radius: 18px;
  background: rgba(8, 14, 20, 0.94);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.42);
  overflow: hidden;
}

.case-combos-card h3 {
  display: none;
}

.case-combos-close {
  display: block;
  width: 34px;
  height: 28px;
  margin: 8px auto 0;
  border: 1px solid rgba(170, 186, 190, 0.28);
  border-radius: 14px;
  color: #f3f8ff;
  background: rgba(255, 255, 255, 0.06);
}

.case-combo-list {
  display: grid;
  gap: 5px;
  overflow: visible;
}

.case-combo-list div {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  min-height: 26px;
  padding: 5px 9px;
  border-radius: 9px;
  color: #dce8f8;
  background: rgba(255, 255, 255, 0.055);
  font-size: 11px;
}

.case-combo-list img {
  display: block;
  width: 28px;
  height: 28px;
  object-fit: contain;
  border-radius: 8px;
}

.case-combo-list b {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.case-combo-list span {
  color: #c8d0d4;
  font-weight: 800;
  text-align: right;
  white-space: nowrap;
}

.case-meta {
  justify-content: center;
  gap: 8px;
  color: var(--muted);
}

.case-meta b {
  color: #54f86d;
  font-family: Sora, Manrope, sans-serif;
  font-size: 16px;
}

.case-spin-btn {
  position: relative;
  z-index: 1;
  flex: 0 0 auto;
  overflow: hidden;
  width: min(66%, 270px);
  min-height: 48px;
  margin: 4px 0 2px;
  border: 0;
  border-radius: 15px;
  color: #fff;
  background:
    linear-gradient(180deg, #2aa7ff 0%, #087de8 46%, #0059bf 72%, #003f94 100%);
  box-shadow:
    inset 0 1px 0 rgba(128, 210, 255, 0.2),
    inset 0 -12px 18px rgba(0, 26, 98, 0.56),
    inset 0 0 0 1px rgba(33, 139, 255, 0.42),
    0 10px 18px rgba(0, 0, 0, 0.32),
    0 0 18px rgba(0, 106, 255, 0.22);
  font-size: 16px;
  font-weight: 900;
  text-transform: uppercase;
  text-shadow: 0 2px 3px rgba(5, 31, 90, 0.72);
}

.case-spin-btn::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  background:
    linear-gradient(180deg, rgba(89, 184, 255, 0.14), rgba(0, 74, 169, 0) 44%),
    linear-gradient(90deg, transparent, rgba(0, 150, 255, 0.08), transparent);
  opacity: 0.7;
}

.case-spin-btn:not(:disabled) {
  animation: none;
}

@keyframes caseButtonPulse {
  0%, 100% {
    transform: translateY(0) scale(1);
    filter: brightness(1);
  }
  50% {
    transform: translateY(-1px) scale(1.008);
    filter: brightness(1.08);
  }
}

.case-spin-btn:disabled {
  opacity: 0.82;
  color: rgba(255, 255, 255, 0.78);
  background: linear-gradient(180deg, #69bdf3 0%, #237ccc 52%, #15539c 100%);
  box-shadow:
    inset 0 1px 0 rgba(128, 210, 255, 0.14);
  text-shadow: 0 2px 3px rgba(5, 31, 90, 0.62);
}

.case-spin-btn.is-spinning {
  opacity: 1;
  color: #fff;
  border-color: transparent;
  background: linear-gradient(180deg, #2aa7ff 0%, #087de8 46%, #0059bf 72%, #003f94 100%);
  box-shadow:
    inset 0 1px 0 rgba(128, 210, 255, 0.18),
    inset 0 -12px 18px rgba(0, 26, 98, 0.56),
    inset 0 0 0 1px rgba(33, 139, 255, 0.42),
    0 0 18px rgba(0, 106, 255, 0.22);
  text-shadow: 0 2px 3px rgba(5, 31, 90, 0.72);
}

.case-history {
  display: none;
  gap: 0;
  max-height: 46px;
  overflow: hidden;
  border: 1px solid rgba(120, 164, 203, 0.18);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  cursor: pointer;
  transition: max-height 0.22s ease;
}

.case-history.is-open {
  gap: 7px;
  max-height: 168px;
  overflow-y: auto;
  padding: 0 0 7px;
}

.case-history div {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  min-height: 44px;
  padding: 10px 14px;
  border: 0;
  border-bottom: 1px solid rgba(120, 164, 203, 0.14);
  border-radius: 0;
  color: #dce8f8;
  background: rgba(255, 255, 255, 0.03);
  font-size: 12px;
}

.case-history div:last-child {
  border-bottom: 0;
}

.case-history b {
  color: var(--muted);
  font-weight: 600;
  white-space: nowrap;
}

.ludix-stage {
  position: relative;
  flex: 1 1 0;
  display: grid;
  grid-template-rows: 1fr auto;
  place-items: center;
  min-height: 0;
  margin-bottom: 0;
  overflow: hidden;
  padding: 18px 12px 16px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(18, 31, 45, 0.95), rgba(8, 15, 25, 0.94));
  text-align: center;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 18px 38px rgba(0, 0, 0, 0.2);
}

.ludix-stage::before {
  content: none;
}

.ludix-stage::after {
  content: none;
}

.ludix-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.72;
  transform: translateZ(0);
  backface-visibility: hidden;
  pointer-events: none;
}

.ludix-stage p {
  position: absolute;
  right: 10px;
  bottom: 10px;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  width: calc(50% - 18px);
  height: 42px;
  padding: 6px 10px;
  border: 1px solid rgba(120, 164, 203, 0.24);
  border-radius: 13px;
  margin: 0;
  color: var(--muted);
  background: rgba(7, 14, 24, 0.76);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.24), inset 0 1px 0 rgba(255, 255, 255, 0.04);
  font-size: clamp(10px, 2.75vw, 12px);
  font-weight: 500;
  line-height: 1.12;
  text-align: center;
}

.ludix-stage .active-bet-row {
  position: absolute;
  left: 10px;
  bottom: 10px;
  z-index: 3;
  justify-content: center;
  width: calc(50% - 18px);
  height: 42px;
  min-height: 0;
  padding: 6px 10px;
  border-radius: 13px;
  background: rgba(7, 14, 24, 0.78);
}

.ludix-stage .active-bet-row span {
  margin-left: 0;
  font-size: clamp(10px, 2.7vw, 12px);
  line-height: 1.1;
}

.ludix-stage .active-bet-row b {
  font-size: clamp(12px, 3.1vw, 14px);
  line-height: 1.1;
}

.ludix-machine {
  position: relative;
  z-index: 1;
  width: min(102%, 392px);
  aspect-ratio: 1;
  margin-top: -18px;
  filter: drop-shadow(0 28px 36px rgba(0, 0, 0, 0.32)) drop-shadow(0 0 32px rgba(107, 216, 255, 0.1));
}

.ludix-machine-art {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  pointer-events: none;
}

.ludix-stage [data-ludix-status] {
  transition: color 0.18s ease, text-shadow 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.ludix-stage [data-ludix-status][data-state="spin"],
.ludix-stage [data-ludix-status][data-state="win"],
.ludix-stage [data-ludix-status][data-state="loss"] {
  font-weight: 800;
  animation: ludix-status-pulse 0.54s ease-in-out infinite alternate;
}

.ludix-stage [data-ludix-status][data-state="spin"] {
  color: #72ffd5;
  border-color: rgba(114, 255, 213, 0.34);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 0 22px rgba(114, 255, 213, 0.16);
  text-shadow: 0 0 12px rgba(114, 255, 213, 0.72);
}

.ludix-stage [data-ludix-status][data-state="win"] {
  color: #72ffd5;
  border-color: rgba(114, 255, 213, 0.38);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 0 24px rgba(114, 255, 213, 0.2);
  text-shadow: 0 0 13px rgba(114, 255, 213, 0.8);
}

.ludix-stage [data-ludix-status][data-state="loss"] {
  color: #ff6f91;
  border-color: rgba(255, 95, 132, 0.36);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 0 24px rgba(255, 95, 132, 0.18);
  text-shadow: 0 0 13px rgba(255, 95, 132, 0.72);
}

.ludix-reels {
  position: absolute;
  z-index: 2;
  left: 20.7%;
  top: 34.3%;
  width: 58.6%;
  height: 28.2%;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3.2%;
  padding: 0;
  border-radius: 10px;
  background: transparent;
  box-shadow: none;
}

.ludix-reels::after {
  content: none;
}

.ludix-reels span {
  display: grid;
  place-items: center;
  min-width: 0;
  overflow: visible;
  border: 0;
  border-radius: 0;
  color: #07121a;
  background: transparent;
  font-family: Sora, Manrope, sans-serif;
  font-size: clamp(15px, 5.2vw, 24px);
  font-weight: 800;
  box-shadow: none;
}

.ludix-reels img {
  display: block;
  width: 108%;
  height: 108%;
  object-fit: contain;
  filter: drop-shadow(0 6px 9px rgba(0, 0, 0, 0.26));
  pointer-events: none;
}

.ludix-lb-symbol {
  display: inline-grid;
  place-items: center;
  width: 70%;
  aspect-ratio: 1;
  border-radius: 16px;
  color: #07121a;
  background: linear-gradient(135deg, #72ffd5, #fff0a8);
  font-family: Sora, Manrope, sans-serif;
  font-size: clamp(18px, 6vw, 30px);
  font-weight: 900;
  line-height: 1;
  box-shadow: 0 8px 14px rgba(0, 0, 0, 0.24), 0 0 18px rgba(114, 255, 213, 0.22);
}

.ludix-combo-list .ludix-lb-symbol {
  width: 28px;
  font-size: 12px;
  border-radius: 9px;
  vertical-align: middle;
}

.ludix-combos {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 6;
  text-align: left;
}

.ludix-combos summary {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid rgba(255, 59, 79, 0.18);
  border-radius: 16px;
  color: #dce8f8;
  background: linear-gradient(180deg, rgba(16, 24, 36, 0.96), rgba(4, 9, 16, 0.96));
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  list-style: none;
  cursor: pointer;
}

.ludix-combos summary::-webkit-details-marker {
  display: none;
}

.ludix-combos summary::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #ff3b4f;
  box-shadow: 0 0 12px rgba(255, 59, 79, 0.55);
  animation: ludixComboDot 1.1s ease-in-out infinite;
}

.ludix-free-spins {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 6;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 38px;
  padding: 0 8px 0 13px;
  border: 1px solid rgba(104, 184, 255, 0.18);
  border-radius: 16px;
  color: #dce8f8;
  background: linear-gradient(180deg, rgba(16, 24, 36, 0.96), rgba(4, 9, 16, 0.96));
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  font-size: 11px;
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
}

.ludix-free-spins b {
  color: #ffffff;
  font: inherit;
}

.ludix-free-spins button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border: 1px solid rgba(255, 94, 110, 0.32);
  border-radius: 999px;
  color: #fff4f6;
  background: linear-gradient(180deg, #ff5b71, #bb122c);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.28),
    0 0 12px rgba(255, 59, 79, 0.2);
  font-size: 13px;
  font-weight: 900;
  line-height: 18px;
  padding: 0;
}

.ludix-free-spins button:active {
  transform: scale(0.96);
}

@keyframes ludixComboDot {
  0%, 100% { opacity: 0.42; transform: scale(0.8); }
  50% { opacity: 1; transform: scale(1.08); }
}

.ludix-combos[open] {
  inset: 14px 16px 14px;
  display: grid;
  grid-template-rows: 54px 1fr;
  width: auto;
  overflow: hidden;
  border: 1px solid rgba(255, 59, 79, 0.24);
  border-radius: 22px;
  background:
    radial-gradient(circle at 50% 0, rgba(255, 59, 79, 0.18), transparent 38%),
    rgba(8, 15, 25, 0.97);
  box-shadow: 0 22px 46px rgba(0, 0, 0, 0.42), inset 0 0 0 1px rgba(255, 199, 67, 0.035);
  backdrop-filter: blur(14px);
}

.ludix-combos[open] summary {
  width: 100%;
  min-height: 54px;
  justify-content: center;
  padding: 12px 76px 0 34px;
  border: 0;
  background: transparent;
  box-shadow: none;
  font-family: Sora, Manrope, sans-serif;
  font-size: 16px;
}

.ludix-combos-close {
  display: none;
}

.ludix-combos[open] .ludix-combos-close {
  position: absolute;
  top: 13px;
  right: 16px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border: 1px solid rgba(255, 107, 138, 0.18);
  border-radius: 11px;
  color: #ffdce4;
  background: rgba(255, 107, 138, 0.12);
  box-shadow: 0 0 18px rgba(255, 107, 138, 0.12);
  font-size: 20px;
  font-weight: 800;
  line-height: 1;
}

.ludix-combo-list {
  display: grid;
  align-content: center;
  gap: 5px;
  min-height: 0;
  padding: 0 10px 10px;
}

.ludix-combo-list div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 34px;
  padding: 3px 10px 3px 6px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 13px;
  color: #dce8f8;
  background: linear-gradient(135deg, rgba(24, 28, 36, 0.86), rgba(9, 13, 20, 0.94));
  font-family: Sora, Manrope, sans-serif;
  font-size: clamp(9px, 2.35vw, 12px);
  font-weight: 800;
  letter-spacing: 0;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.ludix-combo-list b {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  line-height: 1.05;
}

.ludix-combo-list img {
  width: 30px;
  height: 30px;
  flex: 0 0 auto;
  border-radius: 5px;
  object-fit: contain;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(218, 226, 236, 0.92));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.85), 0 8px 14px rgba(0, 0, 0, 0.22);
}

.ludix-combo-logo {
  display: grid;
  place-items: center;
  height: 32px;
  margin-top: -2px;
}

.ludix-combo-logo img {
  width: 34px;
  height: 34px;
  object-fit: contain;
  filter: drop-shadow(0 0 14px rgba(255, 199, 67, 0.28));
}

.ludix-combo-list span {
  color: #f3f7ff;
  flex: 0 0 auto;
  font-weight: 800;
  white-space: nowrap;
  text-shadow: 0 0 10px currentColor;
}

.ludix-combo-list .combo-jack {
  background: linear-gradient(135deg, rgba(255, 210, 72, 0.2), rgba(38, 27, 12, 0.9));
}

.combo-jack span {
  color: #ffd84a;
}

.ludix-combo-list .combo-jackpot {
  background: linear-gradient(135deg, rgba(255, 72, 88, 0.22), rgba(36, 15, 19, 0.92));
}

.combo-jackpot span {
  color: #ffbe45;
}

.ludix-combo-list .combo-ton {
  background: linear-gradient(135deg, rgba(61, 132, 255, 0.22), rgba(11, 18, 32, 0.94));
}

.combo-ton span {
  color: #6ea8ff;
}

.ludix-combo-list .combo-pepe {
  background: linear-gradient(135deg, rgba(66, 210, 105, 0.18), rgba(10, 24, 18, 0.94));
}

.combo-pepe span {
  color: #5bea8a;
}

.ludix-combo-list .combo-scales {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.16), rgba(24, 27, 34, 0.94));
}

.combo-scales span {
  color: #f3f7ff;
}

.ludix-combo-list .combo-bull {
  background: linear-gradient(135deg, rgba(255, 210, 72, 0.18), rgba(27, 25, 18, 0.94));
}

.combo-bull span {
  color: #ffe06b;
}

.ludix-combo-list .combo-clover {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.12), rgba(10, 13, 20, 0.94));
}

.combo-clover span {
  color: #ffffff;
}

.ludix-combo-list .combo-cst {
  background: linear-gradient(135deg, rgba(255, 72, 88, 0.2), rgba(35, 13, 18, 0.94));
}

.combo-cst span {
  color: #ff7886;
}

.ludix-machine.is-spinning .ludix-reels span {
  animation: ludix-reel 0.16s linear infinite;
}

@keyframes ludix-reel {
  0% { transform: translateY(-4px); }
  50% { transform: translateY(4px); }
  100% { transform: translateY(-4px); }
}

@keyframes ludix-status-pulse {
  from { opacity: 0.68; transform: scale(0.98); }
  to { opacity: 1; transform: scale(1.04); }
}

@keyframes deposit-attention {
  0%, 100% { transform: translateX(0) scale(1); }
  20% { transform: translateX(-4px) scale(1.03); }
  40% { transform: translateX(4px) scale(1.03); }
  60% { transform: translateX(-3px) scale(1.02); }
  80% { transform: translateX(3px) scale(1.02); }
}


.casino-modal {
  position: fixed;
  inset: 0;
  z-index: 30;
  display: grid;
  place-items: center;
  padding: 22px;
  background: rgba(3, 7, 13, 0.62);
  backdrop-filter: blur(14px);
}

.casino-modal-card {
  position: relative;
  display: grid;
  gap: 15px;
  width: min(100%, 350px);
  padding: 24px 20px 20px;
  border: 1px solid rgba(50, 150, 255, 0.22);
  border-radius: 24px;
  background:
    radial-gradient(circle at 76% 0%, rgba(36, 142, 255, 0.13), transparent 34%),
    linear-gradient(180deg, rgba(13, 24, 38, 0.99), rgba(4, 10, 18, 0.99));
  box-shadow:
    0 26px 70px rgba(0, 0, 0, 0.55),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.ludix-promo-card {
  border-color: rgba(255, 59, 79, 0.16);
  background:
    radial-gradient(circle at 72% 0%, rgba(168, 35, 55, 0.12), transparent 34%),
    linear-gradient(180deg, rgba(12, 20, 32, 0.99), rgba(3, 8, 15, 0.99));
  box-shadow:
    0 26px 70px rgba(0, 0, 0, 0.56),
    inset 0 1px 0 rgba(255, 255, 255, 0.035);
}

.ludix-promo-card .casino-modal-kicker {
  color: #ff5b71;
}

.casino-modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 13px;
  color: #dce8f8;
  background: rgba(255, 255, 255, 0.08);
  font-size: 22px;
  line-height: 1;
}

.casino-modal-kicker {
  color: var(--accent-2);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.casino-modal-card h3 {
  margin: 0;
  padding-right: 38px;
  font-family: Sora, Manrope, sans-serif;
  font-size: 27px;
  line-height: 1.05;
}

.casino-modal-card p {
  margin: -4px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.35;
}

.casino-modal-card label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 12px;
}

.casino-modal-card input {
  width: 100%;
  min-height: 52px;
  border: 1px solid rgba(96, 126, 158, 0.36);
  border-radius: 17px;
  padding: 0 15px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.075);
  font-size: 18px;
  font-weight: 800;
  outline: none;
}

.casino-modal-card input:focus {
  border-color: rgba(69, 215, 94, 0.58);
  box-shadow: 0 0 0 4px rgba(49, 214, 83, 0.12);
}

.casino-modal-card input::-webkit-outer-spin-button,
.casino-modal-card input::-webkit-inner-spin-button {
  margin: 0;
  appearance: none;
}

.casino-modal-card input[type="number"] {
  appearance: textfield;
}

.ludix-promo-card input:focus {
  border-color: rgba(255, 91, 113, 0.58);
  box-shadow: 0 0 0 4px rgba(255, 59, 79, 0.1);
}

.ludix-promo-error {
  min-height: 18px;
  margin-top: -4px;
  color: #ff6b7e;
  font-size: 13px;
  font-weight: 800;
}

.casino-modal-actions {
  display: grid;
  grid-template-columns: 0.85fr 1fr;
  gap: 10px;
}

.casino-modal-actions button {
  min-height: 48px;
  border: 0;
  border-radius: 17px;
  font-weight: 800;
}

.casino-modal-actions button:first-child {
  color: #dce8f8;
  background: rgba(255, 255, 255, 0.08);
}

.casino-modal-actions button:last-child {
  color: #f4fff7;
  background: linear-gradient(180deg, #43db59, #11a946);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.22),
    0 12px 24px rgba(19, 190, 75, 0.2);
}

.ludix-promo-card .casino-modal-actions button:last-child {
  color: #fff7f8;
  background: linear-gradient(180deg, #ff5b71, #bd122d);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.24),
    0 12px 24px rgba(185, 18, 45, 0.22);
}

.secret-game-card {
  gap: 18px;
  width: min(100%, 420px);
  padding: 30px 24px 24px;
  border-color: rgba(79, 151, 230, 0.28);
  border-radius: 26px;
  background:
    radial-gradient(circle at 50% -12%, rgba(47, 140, 255, 0.16), transparent 44%),
    linear-gradient(180deg, rgba(10, 17, 28, 0.99), rgba(2, 5, 10, 0.99));
  box-shadow:
    0 28px 80px rgba(0, 0, 0, 0.66),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.secret-game-card .casino-modal-kicker {
  color: #42c1ff;
  font-size: 12px;
  letter-spacing: 0.04em;
}

.secret-game-card h3 {
  font-size: 34px;
  line-height: 1.08;
}

.secret-game-card p {
  margin: -6px 0 0;
  color: rgba(185, 202, 222, 0.92);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.45;
}

.secret-game-card label {
  gap: 9px;
  color: rgba(185, 202, 222, 0.92);
  font-weight: 800;
}

.secret-game-card input {
  border-color: rgba(80, 132, 190, 0.34);
  background: rgba(7, 12, 20, 0.92);
  font-size: 16px;
}

.secret-game-card input:focus {
  border-color: rgba(42, 168, 255, 0.7);
  box-shadow: 0 0 0 4px rgba(42, 168, 255, 0.12);
}

.secret-game-error {
  margin-top: -7px;
  color: #ff6b7e;
  font-size: 13px;
  font-style: normal;
  font-weight: 900;
}

.secret-game-loader {
  display: grid;
  gap: 10px;
  justify-items: center;
  padding: 14px 12px;
  border: 1px solid rgba(42, 168, 255, 0.18);
  border-radius: 18px;
  background: rgba(7, 12, 20, 0.72);
}

.secret-game-loader i {
  width: 42px;
  height: 42px;
  border: 4px solid rgba(104, 184, 255, 0.16);
  border-top-color: #2aa8ff;
  border-radius: 999px;
  animation: secretLoaderSpin 0.8s linear infinite;
}

.secret-game-loader span {
  color: rgba(238, 245, 255, 0.82);
  font-size: 13px;
  font-weight: 900;
}

@keyframes secretLoaderSpin {
  to { transform: rotate(360deg); }
}

.secret-game-actions {
  grid-template-columns: 0.74fr 1.26fr;
}

.secret-game-actions button:first-child {
  color: #ffffff;
  background: linear-gradient(180deg, #2aa8ff 0%, #0874d8 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    0 12px 24px rgba(18, 127, 225, 0.2);
}

.secret-game-actions button:last-child {
  color: #f6f8ff;
  background: linear-gradient(180deg, #10151c 0%, #030508 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 12px 24px rgba(0, 0, 0, 0.28);
}

.casino-modal-actions button:disabled {
  cursor: wait;
  opacity: 0.65;
}

@keyframes doodleTilt {
  from { margin-bottom: 0; }
  to { margin-bottom: 7px; }
}

.coming {
  display: grid;
  height: 100%;
  place-items: center;
  text-align: center;
  padding: 20px;
  border: 1px dashed rgba(255, 255, 255, 0.14);
  border-radius: 24px;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: max(18px, env(safe-area-inset-bottom));
  z-index: 10;
  width: min(92vw, 400px);
  padding: 13px 15px;
  border: 1px solid var(--line);
  border-radius: 18px;
  color: var(--text);
  background: var(--panel-strong);
  transform: translateX(-50%);
  box-shadow: 0 14px 44px rgba(0, 0, 0, 0.36);
}

@media (max-height: 720px) {
  .welcome-screen { gap: 9px; }
  .game-orb { width: min(50vw, 184px); }
  h1 { font-size: clamp(24px, 7.6vw, 34px); }
  .agent-grid { gap: 8px; }
  .agent-card { padding: 11px; }
  .agent-card h3 { min-height: 32px; font-size: 12px; }
  .benefits { font-size: 10px; }
  .metric-card,
  .achievement-card { min-height: 50px; padding: 6px; }
  .achievement-card .achievement-icon { display: none; }
  .achievement-card strong { font-size: 11px; }
  .achievement-card span:not(.achievement-icon) { font-size: 10px; }
  .miner-balance-grid .reward-claim-btn,
  .miner-balance-grid .achievement-card button { width: 94px; height: 24px; min-width: 94px; min-height: 24px; margin-top: 0; font-size: 9.5px; }
  .mining-core { width: min(34vw, 132px); }
  .miner-wallet { width: calc(100% - 12px); min-height: 112px; padding-top: 10px; }
  .miner-lab { min-height: 0; padding-top: 0; }
  .lab-field { height: min(100%, clamp(398px, 56svh, 448px)); min-height: 0; border-radius: 18px; }
  .miner-sim { grid-template-rows: minmax(0, 1fr) auto; gap: 0; padding: 0; }
  .miner-pipeline { gap: 6px; padding: 6px; }
  .miner-pipeline button { min-height: 38px; font-size: 6px; }
  .lab-core { width: 96px; height: 60px; border-radius: 16px; }
  .lab-core b { font-size: 11px; }
  .lab-node { min-width: 76px; height: 28px; padding: 0 10px 0 21px; }
  .lab-node b { font-size: 8px; }
  .lab-agent { width: 30px; height: 30px; margin: -15px 0 0 -15px; }
  .lab-process-head { left: 8px; right: 8px; bottom: 8px; }
  .lab-process-head .process-state { min-height: 34px; }
  .miner-status-grid div { padding: 6px; }
  .miner-status-grid span { font-size: 8px; }
  .miner-status-grid b { font-size: 10px; }
  .miner-status-grid em { font-size: 7px; }
  .agent-online-card .process-state .eyebrow { max-width: 70px; font-size: 10px; }
  .agent-online-card .add-agent-control { min-height: 24px; }
  .agent-online-card .add-agent-control span { width: 20px; height: 20px; font-size: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  .node-network,
  .node-dot,
  .node-outer-glow {
    animation: none;
  }

  .miner-balance-grid .metric-card:first-child.balance-pulse,
  .miner-balance-grid .metric-card:first-child strong.balance-pulse {
    animation: none;
  }

  .tap-float-reward {
    animation: tapRewardFade 420ms ease-out forwards;
  }

  .status-dot {
    animation: none;
  }
}

@keyframes tapRewardFade {
  0% {
    opacity: 0;
  }

  20% {
    opacity: 1;
  }

  100% {
    opacity: 0;
  }
}

@media (max-width: 430px) and (max-height: 790px) {
  .cst-app {
    padding: max(10px, env(safe-area-inset-top)) 18px max(8px, env(safe-area-inset-bottom));
  }

  .cst-app::before {
    inset: 12px;
    border-radius: 26px;
  }

  .dashboard-screen {
    grid-template-rows: 52px 1fr 58px;
  }

  .cst-app[data-active-tab="Dashboard"] .dashboard-screen {
    grid-template-rows: 0 minmax(0, 1fr) 58px;
  }

  .cst-app[data-active-tab="Case"] .dashboard-screen,
  .cst-app[data-active-tab="Ludix"] .dashboard-screen,
  .cst-app[data-active-tab="Casino"] .dashboard-screen {
    grid-template-rows: 26px 1fr 58px;
  }

  .cst-app[data-active-tab="Ludix"] .dashboard-screen {
    grid-template-rows: 12px 1fr 58px;
  }

  .cst-app[data-active-tab="Casino"] .dashboard-screen {
    grid-template-rows: 1px 1fr 58px;
  }

  .dash-header {
    height: 48px;
    margin-bottom: 2px;
  }

  .lang-switch summary,
  .settings-switch summary {
    width: 52px;
    height: 40px;
    border-radius: 20px;
  }

  .casino-panel,
  .case-panel {
    gap: 8px;
    padding: 7px 0 8px;
  }

  .casino-panel {
    height: auto;
    overflow: hidden;
    padding: 7px 0 10px;
  }

  .casino-wallet {
    min-height: 122px;
    padding: 10px 13px 11px;
  }

  .miner-wallet { width: calc(100% - 12px); min-height: 118px; padding-top: 10px; }

  .miner-lab,
  .lab-field {
    min-height: 0;
  }

  .lab-field {
    height: clamp(410px, 57svh, 456px);
  }

  .casino-toolbar {
    grid-template-columns: 52px minmax(8px, 1fr) repeat(5, 42px);
    column-gap: 6px;
  }

  .top-icon-btn,
  .top-lang-switch summary {
    width: 42px;
    height: 42px;
    border-radius: 13px;
  }

  .top-icon-user {
    width: 56px;
    height: 56px;
  }

  .top-icon-user {
    transform: translateX(0);
  }

  .top-icon-btn img,
  .top-lang-switch summary img {
    width: 24px;
    height: 24px;
  }

  .top-icon-user img {
    width: 52px;
    height: 52px;
  }

  .top-icon-user img.is-telegram-photo {
    width: 42px;
    height: 42px;
  }

  .top-icon-news {
    left: 57px;
    top: 3px;
    width: 50px;
    height: 50px;
  }

  .top-icon-news img {
    width: 27px;
    height: 27px;
  }

  .casino-top b {
    font-size: 17px;
  }

  .casino-bank {
    gap: 8px;
  }

  .casino-bank button,
  .casino-controls button,
  .casino-controls input {
    min-height: 42px;
    border-radius: 15px;
    font-size: 12px;
  }

  .casino-bank button {
    gap: 2px;
    padding: 5px 7px 6px;
    font-size: 12px;
  }

  .casino-bank button img {
    width: 24px;
    height: 24px;
  }

  .game-select-panel {
    gap: 8px;
  }

  .game-select-stage {
    border-radius: 18px;
  }

  .game-select-grid {
    gap: 28px 12px;
    padding: 32px 10px 14px;
  }

  .game-select-card {
    min-height: 116px;
    padding: 48px 9px 15px;
    border-radius: 11px;
  }

  .game-card-icon {
    top: -25px;
    width: 66px;
    height: 66px;
    border-radius: 18px;
  }

  .game-card-icon img {
    width: 43px;
    height: 43px;
  }

  .game-select-card b {
    font-size: 18px;
  }

  .game-select-card small {
    margin-top: 8px;
    font-size: 11px;
  }

  .crash-stage {
    gap: 0;
    padding-bottom: 0;
  }

  .ludix-stage {
    min-height: 0;
    margin-bottom: 0;
    padding: 16px 12px 12px;
  }

  .case-stage {
    min-height: 0;
    padding: 0;
  }

  .case-clean-slate[data-fight-game] {
    min-height: clamp(430px, 58svh, 590px);
    padding: 0 0 138px;
  }

  .fight-status {
    bottom: 90px;
  }

  .fight-arena {
    inset: 0 0 138px;
  }

  .fight-fighter {
    bottom: -2px;
    width: 112px;
  }

  .fight-fighter-one {
    left: 7%;
  }

  .fight-fighter-two {
    right: 7%;
  }

  .fight-fighter::before {
    top: 62px;
    width: 38px;
    height: 38px;
  }

  .fight-fighter-one::before {
    right: -2px;
  }

  .fight-fighter-two::before {
    left: -2px;
  }

  .fight-fighter-sprite {
    width: 102px;
    height: 166px;
    background-size: 1023px 166px;
  }

  .fight-fighter-one .fight-fighter-sprite {
    background-position: -409.2px 0;
  }

  .fight-fighter-two .fight-fighter-sprite {
    background-position: -306.9px 0;
  }

  .fight-health {
    top: 24px;
    width: 38%;
    height: 34px;
  }

  .fight-health-title {
    left: 0;
    right: 0;
    gap: 4px;
    font-size: 9px;
  }

  .fight-health-title img {
    width: 15px;
    height: 15px;
    flex-basis: 15px;
  }

  .fight-health-left {
    left: 14px;
  }

  .fight-health-right {
    right: 14px;
  }

  .fight-countdown {
    top: 72px;
    min-width: 52px;
    font-size: 46px !important;
  }

  .fight-start-splash {
    width: 88%;
  }

  .fight-result-badge[data-result="win"] {
    width: 84%;
  }

  .fight-total-row {
    min-height: 42px;
    padding: 0;
    grid-template-columns: minmax(78px, 0.7fr) minmax(184px, 1.3fr);
  }

  .fight-active-bet {
    display: flex;
    align-items: baseline;
    gap: 6px;
    padding-left: 4px;
  }

  .fight-active-bet strong {
    font-size: 16px;
  }

  .fight-history-pill,
  .fight-history-empty {
    padding: 7px 5px;
    font-size: 9px;
  }

  .fight-winner-history {
    grid-template-columns: repeat(4, minmax(42px, 1fr));
    gap: 5px;
    min-width: 0;
    width: 100%;
  }

  .fight-control-panel {
    gap: 10px;
    padding: 12px;
    border-radius: 16px;
  }

  .fight-arena.is-fighting .fight-fighter-one {
    animation-name: fightOneMoveMobile;
  }

  .fight-arena.is-fighting .fight-fighter-two {
    animation-name: fightTwoMoveMobile;
  }

  .fight-arena.is-fighting .fight-fighter-one .fight-fighter-sprite {
    animation-name: fightSpriteOneMobile;
  }

  .fight-arena.is-fighting .fight-fighter-two .fight-fighter-sprite {
    animation-name: fightSpriteTwoMobile;
  }

  .fight-arena.is-fighting.is-fight-variant-2 .fight-fighter-one {
    animation-name: fightOneKickMoveMobile;
  }

  .fight-arena.is-fighting.is-fight-variant-2 .fight-fighter-two {
    animation-name: fightTwoBlockMoveMobile;
  }

  .fight-arena.is-fighting.is-fight-variant-3 .fight-fighter-one {
    animation-name: fightOneRushMoveMobile;
  }

  .fight-arena.is-fighting.is-fight-variant-3 .fight-fighter-two {
    animation-name: fightTwoCounterMoveMobile;
  }

  .fight-arena.is-fighting.is-fight-variant-4 .fight-fighter-one {
    animation-name: fightOneHopKickMoveMobile;
  }

  .fight-arena.is-fighting.is-fight-variant-4 .fight-fighter-two {
    animation-name: fightTwoHopKickMoveMobile;
  }

  .fight-pick-row button {
    min-height: 42px;
    border-radius: 13px;
    font-size: 11px;
  }

  .fight-start-btn,
  .fight-stake-toggle {
    min-height: 46px;
    border-radius: 18px;
  }

  .fight-start-btn {
    font-size: 16px;
  }

  .fight-stake-toggle b {
    font-size: 16px;
  }

  .fight-stake-chip {
    width: 25px;
    height: 25px;
    flex-basis: 25px;
  }

  .fight-stake-menu {
    right: -26px;
    min-width: 224px;
    gap: 6px;
  }

  .fight-stake-menu button {
    min-height: 40px;
    font-size: 14px;
  }

  .fight-pick-row,
  .fight-controls {
    gap: 8px;
  }

  .fight-pick-row {
    left: 12px;
    right: 12px;
    bottom: 124px;
  }

  .case-wheel-wrap {
    width: min(74vw, 292px);
    margin-top: 3px;
    transform: translateY(2px);
  }

  .case-hub {
    width: min(60%, 170px);
    min-height: 28px;
    font-size: 9px;
    padding: 6px 10px;
  }

  .case-info-grid {
    gap: 7px;
  }

  .case-result,
  .case-meta {
    min-height: 32px;
    padding: 6px 8px;
    font-size: 10px;
  }

  .case-spin-btn {
    width: min(68%, 250px);
    min-height: 44px;
    border-radius: 14px;
    font-size: 14px;
  }

  .ludix-machine {
    width: min(112%, 360px);
    min-height: 0;
    padding: 0;
  }

  .ludix-reels {
    min-height: 0;
  }

  .crash-doodle {
    height: 100%;
  }

  .crash-multiplier {
    top: 10px;
    font-size: clamp(40px, 11vw, 58px);
  }

  .doodle-player {
    left: clamp(116px, var(--doodle-x, 50%), calc(100% - 116px));
    width: 126px;
    height: 125px;
  }

  .crash-action-row {
    left: 14px;
    right: 14px;
    bottom: 90px;
  }

  .crash-action-btn {
    width: 74px;
    height: 74px;
  }

  .active-bet-row {
    min-height: 48px;
    gap: 7px;
    padding: 10px 10px;
  }

  .crash-doodle > .active-bet-row {
    left: 8px;
    right: 8px;
    bottom: 8px;
    grid-template-columns: 104px minmax(62px, 1fr) 116px;
    gap: 5px;
    min-height: 56px;
  }

  .active-bet-row .stake-picker {
    flex-basis: 104px;
  }

  .active-bet-row .stake-toggle {
    min-height: 40px;
    gap: 8px;
    padding: 0 20px 0 10px;
    font-size: 14px;
  }

  .stake-toggle img {
    width: 23px;
    height: 23px;
  }

  .active-bet-row span,
  .active-bet-row .stake-toggle span {
    font-size: 13px;
  }

  .active-bet-row b {
    font-size: 18px;
  }

  .active-bet-row span {
    font-size: 9px;
  }

  .active-bet-row b {
    font-size: 13px;
  }

  .crash-doodle > .active-bet-row > button {
    min-height: 34px;
    border-radius: 13px;
    font-size: 10px;
  }

  .casino-controls {
    gap: 8px;
  }

  .stake-presets {
    gap: 6px;
  }

  .stake-presets button {
    min-height: 30px;
    border-radius: 12px;
    font-size: 11px;
  }

  .tabs {
    min-height: 58px;
    margin-top: 0;
    padding: 6px;
    border-radius: 23px;
  }

  .tabs button {
    min-height: 44px;
    border-radius: 17px;
    gap: 6px;
    font-size: 10.5px;
  }

  .tab-icon {
    width: 22px;
    height: 22px;
  }
}

@media (max-width: 760px) {
  .cst-app[data-active-tab="Dashboard"] {
    padding-left: max(10px, env(safe-area-inset-left));
    padding-right: max(10px, env(safe-area-inset-right));
  }

  .cst-app[data-active-tab="Dashboard"] .miner-wallet,
  .cst-app[data-active-tab="Dashboard"] .process-card,
  .cst-app[data-active-tab="Dashboard"] .tabs {
    justify-self: center;
    width: 100%;
  }

  .cst-app[data-active-tab="Dashboard"] .miner-wallet {
    min-width: 0;
  }

  .cst-app[data-active-tab="Dashboard"] .lab-field {
    width: 100%;
  }
}

@media (min-width: 760px) {
  body {
    display: grid;
    place-items: center;
  }

  .cst-app {
    height: min(900px, 96svh);
    border-radius: 34px;
    box-shadow: 0 30px 90px rgba(0, 0, 0, 0.38);
  }

  .screen {
    height: calc(min(900px, 96svh) - max(28px, env(safe-area-inset-top)) - max(28px, env(safe-area-inset-bottom)));
  }
}

.welcome-screen .welcome-lang summary {
  width: 48px;
  height: 34px;
  border-radius: 999px;
  font-size: 14px;
}

.cst-app[data-active-tab="Case"],
.cst-app[data-active-tab="Ludix"],
.cst-app[data-active-tab="Casino"] {
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  outline: 0 !important;
}

.cst-app[data-active-tab="Case"]::before,
.cst-app[data-active-tab="Case"]::after,
.cst-app[data-active-tab="Ludix"]::before,
.cst-app[data-active-tab="Ludix"]::after,
.cst-app[data-active-tab="Casino"]::before,
.cst-app[data-active-tab="Casino"]::after {
  content: none !important;
  display: none !important;
  border: 0 !important;
  box-shadow: none !important;
  background: none !important;
}

.crash-doodle > .active-bet-row span {
  font-size: 12px;
  font-weight: 700;
}

/* THEME EXPERIMENT DARK BLUE START */
:root {
  --bg: #000207;
  --panel: rgba(4, 8, 13, 0.94);
  --panel-strong: rgba(5, 9, 15, 0.99);
  --line: rgba(42, 91, 142, 0.25);
  --muted: #8fa2b5;
  --accent: #2f9cff;
  --accent-2: #52c9ff;
  --coin: #2f9cff;
  --miner-bg-black: #010307;
  --miner-bg-graphite: #010409;
  --miner-bg-navy: #030912;
  --miner-panel-glass: rgba(2, 6, 11, 0.96);
  --miner-panel-metal: rgba(5, 10, 17, 0.99);
  --miner-panel-deep: rgba(0, 2, 5, 0.995);
  --miner-border-soft: rgba(38, 92, 145, 0.34);
  --miner-border-hairline: rgba(72, 127, 181, 0.1);
  --miner-highlight: rgba(122, 177, 232, 0.055);
  --miner-cyan-soft: rgba(68, 177, 255, 0.1);
  --miner-blue-soft: rgba(47, 156, 255, 0.13);
  --miner-green-soft: rgba(47, 156, 255, 0.12);
  --miner-stat-fill: linear-gradient(180deg, rgba(112, 217, 255, 0.98) 0%, rgba(47, 156, 255, 0.96) 52%, rgba(31, 92, 194, 0.92) 100%);
  --miner-stat-fill-blue: linear-gradient(180deg, rgba(120, 202, 255, 0.98) 0%, rgba(47, 143, 239, 0.96) 54%, rgba(31, 77, 176, 0.92) 100%);
  --miner-stat-empty: linear-gradient(180deg, rgba(7, 15, 27, 0.86), rgba(3, 8, 16, 0.92));
  --miner-stat-glow: 0 0 10px rgba(47, 156, 255, 0.14);
  --miner-focus-ring: 0 0 0 2px rgba(47, 156, 255, 0.34), 0 0 14px rgba(47, 156, 255, 0.15);
}

body,
body:has(.cst-app[data-active-tab="Dashboard"]) {
  background:
    radial-gradient(circle at 50% -10%, rgba(38, 112, 183, 0.07), transparent 24rem),
    linear-gradient(180deg, #01040a 0%, #000207 58%, #000000 100%);
}

body::before {
  content: none !important;
  display: none !important;
}

.cst-app[data-active-tab="Dashboard"],
.cst-app[data-active-tab="Game"],
.cst-app[data-active-tab="Arena"],
.cst-app[data-active-tab="Packer"],
.cst-app[data-active-tab="Basher"],
.cst-app[data-active-tab="Birder"] {
  background:
    radial-gradient(circle at 50% 2%, rgba(28, 102, 173, 0.055), transparent 17rem),
    linear-gradient(180deg, rgba(1, 5, 10, 0.995), rgba(0, 1, 3, 0.998));
}

.cst-app::before,
.cst-app::after,
.cst-app[data-active-tab="Dashboard"]::before,
.cst-app[data-active-tab="Dashboard"]::after,
.tabs::before,
.tab-icon::after,
.lab-field::before,
.lab-field::after {
  content: none !important;
  display: none !important;
  background: none !important;
  border: 0 !important;
  box-shadow: none !important;
}

.miner-wallet,
.casino-wallet,
.process-card,
.game-select-stage,
.arena-stage,
.packer-stage,
.basher-stage,
.tabs {
  border-color: rgba(47, 119, 188, 0.28);
  background:
    radial-gradient(circle at 18% 0%, rgba(47, 156, 255, 0.035), transparent 38%),
    linear-gradient(180deg, rgba(3, 9, 16, 0.98), rgba(0, 2, 5, 0.995));
  box-shadow:
    inset 0 1px 0 rgba(138, 189, 239, 0.045),
    0 18px 44px rgba(0, 0, 0, 0.42);
}

.cst-app[data-active-tab="Dashboard"] .process-card {
  border-color: transparent !important;
  background: transparent !important;
  box-shadow: none !important;
}

.top-icon-btn,
.top-lang-switch summary {
  border-color: rgba(121, 161, 202, 0.12);
  background:
    radial-gradient(circle at 50% 0%, rgba(47, 156, 255, 0.045), transparent 36%),
    linear-gradient(180deg, rgba(25, 32, 42, 0.82), rgba(7, 11, 17, 0.94));
  filter: grayscale(0.28) saturate(0.85);
}

.miner-wallet .top-icon-btn:not(.top-icon-user) img,
.casino-wallet .top-icon-btn:not(.top-icon-user) img,
.top-lang-switch summary img {
  opacity: 0.78 !important;
  filter:
    grayscale(1)
    saturate(0)
    brightness(1.48)
    contrast(0.76)
    drop-shadow(0 0 7px rgba(255, 255, 255, 0.08)) !important;
}

.tabs,
.cst-app[data-active-tab="Dashboard"] .tabs,
.cst-app[data-active-tab="Game"] .tabs,
.cst-app[data-active-tab="Arena"] .tabs,
.cst-app[data-active-tab="Packer"] .tabs,
.cst-app[data-active-tab="Basher"] .tabs,
.cst-app[data-active-tab="Birder"] .tabs {
  position: relative;
  overflow: hidden;
  border-color: rgba(121, 161, 202, 0.12);
  background:
    radial-gradient(circle at 50% 0%, rgba(47, 156, 255, 0.025), transparent 38%),
    linear-gradient(180deg, rgba(8, 13, 20, 0.96), rgba(1, 3, 7, 0.995));
  box-shadow:
    inset 0 1px 0 rgba(138, 189, 239, 0.045),
    inset 0 -12px 22px rgba(0, 0, 0, 0.18),
    0 18px 38px rgba(0, 0, 0, 0.34);
}

.tabs button {
  position: relative;
  z-index: 1;
}

.miner-balance-grid .metric-card,
.achievement-card,
.miner-upgrade-card,
.miner-efficiency-card,
.game-select-card {
  border-color: rgba(68, 122, 177, 0.22);
  background:
    radial-gradient(circle at 35% 0%, rgba(255, 255, 255, 0.045), transparent 30%),
    linear-gradient(180deg, rgba(25, 28, 33, 0.96), rgba(11, 14, 18, 0.98));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.035),
    0 12px 28px rgba(0, 0, 0, 0.3);
}

.reward-claim-btn,
.miner-status-add,
.miner-upgrade-add,
.task-card a,
.achievement-card button,
.primary-btn {
  color: #eaf6ff;
  background: linear-gradient(180deg, #39a9ff, #126bd6);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.2),
    0 10px 22px rgba(28, 123, 229, 0.22);
}

.primary-btn.case-spin-btn {
  border: 0;
  color: #fff;
  background: linear-gradient(180deg, #2aa7ff 0%, #087de8 46%, #0059bf 72%, #003f94 100%);
  box-shadow:
    inset 0 1px 0 rgba(128, 210, 255, 0.2),
    inset 0 -12px 18px rgba(0, 26, 98, 0.56),
    inset 0 0 0 1px rgba(33, 139, 255, 0.42),
    0 12px 22px rgba(0, 0, 0, 0.26),
    0 0 18px rgba(0, 106, 255, 0.22);
  text-shadow: 0 2px 3px rgba(5, 31, 90, 0.72);
}

.reward-countdown,
.miner-balance-grid .metric-card strong,
.tabs button.tab-dashboard.active b,
.cst-app[data-active-tab="Dashboard"] .tabs button.tab-dashboard.active b {
  color: #49aaff;
  text-shadow: 0 0 10px rgba(47, 156, 255, 0.36);
}

.tabs button.tab-game.active b,
.tabs button.tab-arena.active b {
  color: #56b9ff;
  text-shadow: 0 0 12px rgba(47, 156, 255, 0.42);
}

.miner-action-drop {
  background: linear-gradient(180deg, #35aaff, #0f78e2);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.24),
    0 14px 30px rgba(47, 156, 255, 0.2);
}

.miner-console-head {
  background:
    linear-gradient(180deg, rgba(22, 25, 30, 0.98), rgba(9, 11, 14, 0.98)),
    radial-gradient(circle at 50% 0%, rgba(47, 156, 255, 0.08), transparent 58%);
}

.hash-output,
.miner-console {
  background: linear-gradient(180deg, rgba(1, 4, 8, 0.98), rgba(0, 1, 3, 0.99));
}

.packer-stage.case-slide-stage {
  border-color: rgba(24, 34, 45, 0.92) !important;
  background:
    radial-gradient(circle at 50% 0%, rgba(14, 26, 38, 0.18), transparent 32%),
    linear-gradient(180deg, rgba(3, 8, 14, 0.99), rgba(0, 2, 6, 0.995) 58%, rgba(0, 0, 2, 1) 100%) !important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.035),
    inset 0 -1px 0 rgba(255,255,255,.025),
    0 18px 34px rgba(0,0,0,.34) !important;
}

.arena-stage {
  display: grid;
  grid-template-rows: minmax(0, 1fr);
  gap: 0;
  padding: 0;
  align-content: start;
  height: 100%;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  overflow-x: hidden;
  overflow-y: hidden;
}

.arena-card,
.arena-bet-panel,
.arena-howto {
  border: 1px solid rgba(61, 128, 199, 0.22);
  border-radius: 18px;
  background:
    radial-gradient(circle at 50% 0%, rgba(47, 156, 255, 0.11), transparent 46%),
    linear-gradient(180deg, rgba(5, 13, 23, 0.98), rgba(0, 3, 8, 0.995));
  box-shadow:
    inset 0 1px 0 rgba(157, 205, 255, 0.055),
    0 14px 30px rgba(0, 0, 0, 0.28);
}

.arena-card {
  min-height: 330px;
  padding: 14px;
}

.arena-status-card {
  position: relative;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  gap: 8px;
  height: 100%;
  min-height: auto;
  max-height: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  overflow: hidden;
}

.arena-card-head,
.arena-bet-head,
.arena-round-meta,
.arena-custom-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.arena-card-head span,
.arena-bet-head span,
.arena-pot span,
.arena-center span,
.arena-center small,
.arena-custom-row label span {
  display: block;
  color: #8fa7be;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.arena-card-head b {
  display: block;
  margin-top: 4px;
  color: #f4f8ff;
  font-size: 24px;
  line-height: 1;
}

.arena-pot {
  min-width: 104px;
  padding: 10px 12px;
  border: 1px solid rgba(81, 150, 222, 0.24);
  border-radius: 14px;
  text-align: right;
  background: linear-gradient(180deg, rgba(15, 28, 43, 0.9), rgba(3, 9, 17, 0.96));
}

.arena-pot b,
.arena-bet-head b,
.arena-round-meta b {
  color: #57bdff;
  font-weight: 900;
  text-shadow: 0 0 12px rgba(47, 156, 255, 0.34);
}

.arena-field {
  position: relative;
  min-height: 218px;
  margin-top: 14px;
  border: 1px solid rgba(62, 121, 184, 0.16);
  border-radius: 20px;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 48%, rgba(47, 156, 255, 0.18), transparent 34%),
    radial-gradient(circle at 50% 48%, rgba(5, 14, 25, 0.98) 0 34%, transparent 35%),
    linear-gradient(180deg, rgba(1, 6, 12, 0.5), rgba(0, 1, 4, 0.72));
}

.arena-field::before,
.arena-field::after {
  content: "";
  position: absolute;
  inset: 27px;
  border: 1px solid rgba(88, 158, 230, 0.16);
  border-radius: 50%;
}

.arena-field::after {
  inset: 54px;
  border-color: rgba(88, 158, 230, 0.1);
}

.arena-center {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 132px;
  height: 132px;
  padding: 12px;
  border: 1px solid rgba(93, 177, 255, 0.34);
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 24%, rgba(101, 191, 255, 0.18), transparent 34%),
    linear-gradient(180deg, rgba(10, 22, 37, 0.98), rgba(1, 6, 12, 0.99));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 0 28px rgba(47, 156, 255, 0.16);
  transform: translate(-50%, -50%);
}

.arena-center img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 0 1px rgba(104, 183, 255, 0.24);
}

.arena-center b {
  color: #f5fbff;
  font-size: 22px;
  line-height: 1;
}

.arena-player {
  position: absolute;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(105, 168, 232, 0.25);
  border-radius: 50%;
  background: linear-gradient(180deg, rgba(20, 34, 50, 0.98), rgba(4, 9, 17, 0.99));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 10px 24px rgba(0, 0, 0, 0.36);
}

.arena-player img {
  width: 30px;
  height: 30px;
  object-fit: contain;
  border-radius: 50%;
}

.arena-player-1 { left: 10%; top: 18%; }
.arena-player-2 { right: 10%; top: 18%; }
.arena-player-3 { left: 13%; bottom: 16%; }
.arena-player-4 { right: 13%; bottom: 16%; }

.arena-round-meta {
  margin-top: 12px;
  padding: 10px 12px;
  border: 1px solid rgba(71, 130, 192, 0.18);
  border-radius: 14px;
  background: rgba(0, 3, 8, 0.42);
}

.arena-status-card .arena-round-meta {
  position: absolute;
  left: 22px;
  right: 22px;
  top: auto;
  bottom: 22px;
  z-index: 8;
  margin-top: 0;
  border-color: rgba(72, 156, 255, 0.16);
  border-radius: 18px;
  background:
    radial-gradient(circle at 50% 0%, rgba(58, 166, 255, 0.08), transparent 52%),
    linear-gradient(180deg, rgba(3, 11, 21, 0.9), rgba(0, 5, 13, 0.94));
  box-shadow:
    inset 0 1px 0 rgba(151, 214, 255, 0.08),
    inset 0 -8px 18px rgba(0, 22, 52, 0.2),
    0 12px 24px rgba(0, 0, 0, 0.28),
    0 0 16px rgba(36, 132, 255, 0.08);
  backdrop-filter: blur(10px);
  transition: opacity 0.32s ease, transform 0.32s ease, visibility 0.32s ease;
}

.arena-round-meta span {
  color: #a8bbcc;
  font-size: 13px;
  font-weight: 800;
}

.arena-share-field .arena-round-meta span,
.arena-share-field .arena-round-meta b {
  color: #ffffff;
  text-shadow: none;
}

.arena-share-field {
  position: relative;
  height: 100%;
  min-height: 0;
  max-height: 100%;
  --arena-user-share: 74%;
  --arena-rival-share: 21%;
  --arena-frame-bottom: 2px;
  --arena-share-bg: linear-gradient(180deg, #020912, #00050a);
  border: 0;
  border-radius: 24px;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(1, 6, 12, 0.98), rgba(0, 2, 6, 0.995));
  box-shadow:
    0 18px 36px rgba(0, 0, 0, 0.32);
}

.arena-share-field.is-empty {
  background:
    radial-gradient(circle at 50% 42%, rgba(15, 74, 148, 0.055), transparent 42%),
    linear-gradient(180deg, rgba(1, 6, 12, 0.99), rgba(0, 2, 6, 0.998));
}

.arena-play-frame {
  position: absolute;
  left: 2px;
  right: 2px;
  top: 2px;
  bottom: var(--arena-frame-bottom);
  z-index: 6;
  border: 2px solid rgba(30, 142, 255, 0.78);
  border-radius: 24px;
  box-shadow:
    inset 0 1px 0 rgba(119, 211, 255, 0.13),
    inset 0 0 16px rgba(0, 153, 255, 0.08),
    0 0 12px rgba(21, 129, 255, 0.2);
  pointer-events: none;
}

.arena-share-field.is-empty .arena-play-frame {
  background:
    radial-gradient(circle at 70% 18%, rgba(18, 85, 170, 0.035), transparent 38%),
    linear-gradient(180deg, #020912, #00050a);
}

.arena-share {
  position: absolute;
  left: 2px;
  right: 2px;
  top: 2px;
  bottom: var(--arena-frame-bottom);
  border-radius: 24px;
  overflow: hidden;
}

.arena-share-main {
  background: var(--arena-share-bg);
  clip-path: none;
  box-shadow:
    inset 0 0 36px rgba(0, 0, 0, 0.2),
    inset 0 -80px 120px rgba(0, 0, 0, 0.2),
    inset 0 0 110px rgba(37, 164, 255, 0.055);
}

.arena-share-main::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 42%, rgba(82, 222, 255, 0.045), transparent 46%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.036), transparent 34%, rgba(0, 0, 0, 0.22));
  pointer-events: none;
}

.arena-share-yellow {
  left: auto;
  bottom: auto;
  width: calc(100% - var(--arena-user-share) + 13%);
  height: calc(var(--arena-rival-share) + 16%);
  background: #ffbd16;
  clip-path: polygon(0 0, 100% 0, 100% 100%);
  display: none;
}

.arena-share-pink {
  top: auto;
  right: auto;
  width: 22%;
  height: 22%;
  background: #ff4fc3;
  clip-path: polygon(0 0, 100% 100%, 0 100%);
  display: none;
}

.arena-share-green {
  top: auto;
  left: auto;
  width: 18%;
  height: 18%;
  background: #28d982;
  clip-path: polygon(100% 0, 100% 100%, 0 100%);
  display: none;
}

.arena-share-field.is-empty .arena-share,
.arena-share-field.is-empty .arena-share-avatar,
.arena-share-field.is-empty .arena-top-runner {
  filter: blur(12px) saturate(0.45) brightness(0.42);
  opacity: 0;
  pointer-events: none;
}

.arena-share-field.is-empty .arena-share {
  opacity: 0;
}

.arena-share-field.is-empty .arena-share-main {
  clip-path: none;
}

.arena-share-field.is-empty .arena-share-yellow,
.arena-share-field.is-empty .arena-share-pink,
.arena-share-field.is-empty .arena-share-green,
.arena-share-field.is-empty .arena-share-avatar {
  opacity: 0;
}

.arena-share-field.is-solo .arena-share-avatar {
  opacity: 1;
}

.arena-share-field.is-countdown::before {
  content: attr(data-arena-live);
  position: absolute;
  left: 50%;
  top: calc((100% - var(--arena-frame-bottom)) * 0.5);
  z-index: 10;
  width: max-content;
  max-width: calc(100% - 44px);
  padding: 12px 22px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 999px;
  color: #ffffff;
  font-size: 15px;
  font-weight: 900;
  text-align: center;
  white-space: nowrap;
  background: rgba(2, 6, 12, 0.78);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 14px 28px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(10px);
  transform: translateX(-50%);
  pointer-events: none;
}

.arena-help-btn {
  position: absolute;
  left: 18px;
  top: 18px;
  z-index: 12;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(68, 164, 255, 0.72);
  border-radius: 15px;
  background:
    radial-gradient(circle at 50% 0%, rgba(76, 184, 255, 0.22), transparent 56%),
    linear-gradient(180deg, rgba(9, 31, 58, 0.98), rgba(2, 10, 24, 0.99));
  box-shadow:
    inset 0 1px 0 rgba(160, 220, 255, 0.16),
    inset 0 -10px 16px rgba(0, 34, 88, 0.28),
    0 12px 22px rgba(0, 0, 0, 0.28);
  transition: opacity 0.28s ease, transform 0.28s ease, visibility 0.28s ease;
}

.arena-help-btn img {
  width: 23px;
  height: 23px;
  object-fit: contain;
}

.arena-help-btn:active {
  transform: translateY(1px);
}

.arena-share-field.is-rolling .arena-help-btn,
.arena-share-field.is-finished .arena-help-btn {
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  pointer-events: none;
}

.arena-help-card {
  width: min(92vw, 390px);
  max-height: min(78vh, 680px);
  overflow: auto;
  padding: 20px 18px 18px;
  border-radius: 22px;
  border-color: rgba(52, 151, 255, 0.32);
  color: #eaf6ff;
  background:
    radial-gradient(circle at 18% 0%, rgba(47, 156, 255, 0.2), transparent 42%),
    linear-gradient(180deg, rgba(6, 16, 29, 0.99), rgba(0, 4, 11, 0.995));
  box-shadow:
    inset 0 1px 0 rgba(135, 200, 255, 0.08),
    0 28px 70px rgba(0, 0, 0, 0.62);
}

.arena-help-head {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  min-height: 52px;
  padding-right: 42px;
}

.arena-help-head img {
  width: 52px;
  height: 52px;
  object-fit: contain;
}

.arena-help-head span {
  display: block;
  color: #75caff;
  font-size: 11px;
  font-weight: 900;
  line-height: 1;
}

.arena-help-head h3 {
  margin: 5px 0 0;
  color: #ffffff;
  font-size: 26px;
  line-height: 1;
}

.arena-help-rules {
  display: grid;
  gap: 12px;
  margin-top: 16px;
}

.arena-help-rules p {
  margin: 0;
  color: #bfd4e8;
  font-size: 14px;
  font-weight: 750;
  line-height: 1.45;
}

.arena-help-rules ul {
  display: grid;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.arena-help-rules li {
  position: relative;
  min-height: 34px;
  padding: 10px 10px 10px 34px;
  border: 1px solid rgba(70, 142, 222, 0.16);
  border-radius: 13px;
  color: #d7e9fa;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.25;
  background: rgba(255, 255, 255, 0.055);
}

.arena-help-rules li::before {
  content: "";
  position: absolute;
  left: 13px;
  top: 17px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #58c4ff;
  box-shadow: 0 0 14px rgba(88, 196, 255, 0.58);
}

.arena-winner-banner {
  position: absolute;
  left: 50%;
  top: calc((100% - var(--arena-frame-bottom)) * 0.5);
  z-index: 14;
  display: grid;
  justify-items: center;
  gap: 7px;
  width: min(82%, 430px);
  padding: 17px 20px 16px;
  border: 1px solid rgba(104, 226, 255, 0.24);
  border-radius: 28px;
  color: #ffffff;
  text-align: center;
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.045), transparent 52%),
    linear-gradient(180deg, rgba(2, 7, 13, 0.985), rgba(0, 2, 6, 0.995));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.07),
    inset 0 -14px 26px rgba(0, 0, 0, 0.34),
    0 20px 44px rgba(0, 0, 0, 0.42),
    0 0 18px rgba(49, 168, 255, 0.08);
  transform: translate(-50%, -50%);
  animation: arenaWinnerPop 0.48s cubic-bezier(.2, 1.2, .2, 1) both, arenaWinnerGlow 1.35s ease-in-out 0.48s infinite;
  pointer-events: none;
}

.arena-winner-banner[hidden] {
  display: none;
}

.arena-winner-banner span {
  color: #b7c7d4;
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
  text-shadow: none;
}

.arena-winner-banner b {
  max-width: 100%;
  color: #ffffff;
  font-size: clamp(25px, 6vw, 38px);
  font-weight: 950;
  line-height: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.arena-winner-banner em {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 34px;
  padding: 0 13px;
  border-radius: 999px;
  color: #071426;
  font-style: normal;
  font-size: 16px;
  font-weight: 950;
  line-height: 1;
  background: linear-gradient(180deg, #78ff9e, #35df70);
  box-shadow: 0 10px 22px rgba(44, 215, 112, 0.24);
}

.arena-winner-banner i {
  width: 18px;
  height: 18px;
  background: url("/assets/ui/icons/bet.png?v=20260603-02") center / contain no-repeat;
}

@keyframes arenaWinnerPop {
  from {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.78);
  }
  to {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
}

@keyframes arenaWinnerGlow {
  0%, 100% {
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.16),
      inset 0 -14px 26px rgba(0, 33, 76, 0.24),
      0 20px 44px rgba(0, 0, 0, 0.42),
      0 0 30px rgba(49, 168, 255, 0.2);
  }
  50% {
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.2),
      inset 0 -14px 26px rgba(0, 33, 76, 0.28),
      0 22px 48px rgba(0, 0, 0, 0.44),
      0 0 42px rgba(78, 204, 255, 0.34);
  }
}

.arena-share-field.is-empty::after {
  content: none;
}

.arena-field-footer {
  position: relative;
  left: auto;
  right: auto;
  bottom: auto;
  z-index: 9;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  min-height: 46px;
  padding: 4px 6px;
  border: 1px solid rgba(255, 255, 255, 0.055);
  border-radius: 18px;
  background: rgba(2, 6, 12, 0.72);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.035),
    0 16px 30px rgba(0, 0, 0, 0.32);
  backdrop-filter: blur(10px);
  transition: opacity 0.32s ease, transform 0.32s ease, visibility 0.32s ease;
}

.arena-share-field.is-rolling .arena-round-meta {
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  pointer-events: none;
}

.arena-empty-state {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  min-width: 0;
  min-height: 36px;
  padding: 0 12px 0 20px;
  border: 0;
  border-radius: 14px;
  color: #94a9bd;
  font-size: 15px;
  font-weight: 900;
  white-space: nowrap;
  background: transparent;
  box-shadow: none;
}

.arena-empty-state[hidden] {
  display: none;
}

.arena-empty-state::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #59e77a;
  box-shadow: 0 0 14px rgba(89, 231, 122, 0.72);
  animation: arenaWaitDotBlink 1.05s ease-in-out infinite;
}

@keyframes arenaWaitDotBlink {
  0%, 100% {
    opacity: 0.35;
    transform: scale(0.78);
  }
  50% {
    opacity: 1;
    transform: scale(1.1);
  }
}

.arena-share-field.is-countdown .arena-empty-state,
.arena-share-field.is-rolling .arena-empty-state {
  display: none;
}

.arena-main-avatar {
  position: absolute;
  left: 50%;
  top: calc((100% - var(--arena-frame-bottom)) / 2);
  z-index: 4;
  width: min(42vw, 174px);
  height: min(42vw, 174px);
  border-radius: 50%;
  overflow: hidden;
  background: rgba(2, 6, 12, 0.38);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.16),
    0 16px 36px rgba(0, 0, 0, 0.28);
  transform: translate(-50%, -50%);
  display: none;
}

.arena-main-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.95) contrast(1.04);
}

.arena-share-avatar {
  position: absolute;
  z-index: 4;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border: 4px solid rgba(6, 14, 25, 0.48);
  border-radius: 50%;
  background: rgba(239, 248, 255, 0.54);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.2);
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.arena-share-avatar img {
  width: 34px;
  height: 34px;
  object-fit: contain;
  border-radius: 50%;
}

.arena-share-avatar-1 {
  top: 18px;
  right: 28px;
}

.arena-share-avatar-2 {
  left: 22px;
  bottom: calc(var(--arena-frame-bottom) + 22px);
}

.arena-top-runner {
  position: absolute;
  left: var(--arena-runner-start-x, 50%);
  top: var(--arena-runner-start-y, calc((100% - var(--arena-frame-bottom)) * 0.5));
  z-index: 7;
  display: none;
  width: 34px;
  height: 38px;
  border: 0;
  border-radius: 0;
  background: rgba(194, 205, 216, 0.96);
  clip-path: polygon(50% 0, 100% 100%, 50% 78%, 0 100%);
  box-shadow: 0 7px 12px rgba(0, 0, 0, 0.32);
  transform: translate3d(-50%, -50%, 0) rotate(var(--arena-runner-angle, 0deg));
  will-change: transform, left, top;
  contain: layout paint;
  backface-visibility: hidden;
}

.arena-top-runner::after {
  content: "";
  position: absolute;
  inset: 3px;
  background:
    radial-gradient(circle at 45% 28%, rgba(255, 255, 255, 0.16), transparent 28%),
    linear-gradient(180deg, #22303b 0%, #10171f 48%, #05080d 100%);
  clip-path: polygon(50% 0, 100% 100%, 50% 78%, 0 100%);
}

.arena-share-field.is-rolling .arena-top-runner {
  display: block;
  animation: none;
}

.arena-share-field.is-finished .arena-top-runner {
  display: block;
  left: var(--arena-runner-end-x, 78%);
  top: var(--arena-runner-end-y, 20%);
  transform: translate3d(-50%, -50%, 0) rotate(var(--arena-runner-angle, 0deg)) scale(0.9);
  animation: arenaRunnerStopPulse 0.9s ease-in-out infinite;
}

@keyframes arenaRunnerTriangle {
  0% { left: var(--arena-runner-start-x, 50%); top: var(--arena-runner-start-y, calc((100% - var(--arena-frame-bottom)) * 0.5)); transform: translate(-50%, -50%) rotate(var(--arena-runner-angle, 0deg)) scale(0.96); }
  12% { left: var(--arena-runner-start-x, 50%); top: var(--arena-runner-start-y, calc((100% - var(--arena-frame-bottom)) * 0.5)); transform: translate(-50%, -50%) rotate(calc(var(--arena-runner-angle, 0deg) + 720deg)) scale(1.05); }
  36.5% { left: var(--arena-runner-start-x, 50%); top: var(--arena-runner-start-y, calc((100% - var(--arena-frame-bottom)) * 0.5)); transform: translate(-50%, -50%) rotate(calc(var(--arena-runner-angle, 0deg) + 2160deg)) scale(1); }
  45% { left: var(--arena-runner-x1, 12%); top: var(--arena-runner-y1, calc((100% - var(--arena-frame-bottom)) * 0.16)); transform: translate(-50%, -50%) rotate(var(--arena-runner-a1, var(--arena-runner-angle, 0deg))) scale(1.04); }
  57% { left: var(--arena-runner-x2, 88%); top: var(--arena-runner-y2, calc((100% - var(--arena-frame-bottom)) * 0.22)); transform: translate(-50%, -50%) rotate(var(--arena-runner-a2, var(--arena-runner-angle, 0deg))) scale(1); }
  69% { left: var(--arena-runner-x3, 14%); top: var(--arena-runner-y3, calc((100% - var(--arena-frame-bottom)) * 0.72)); transform: translate(-50%, -50%) rotate(var(--arena-runner-a3, var(--arena-runner-angle, 0deg))) scale(0.98); }
  83% { left: var(--arena-runner-x4, 86%); top: var(--arena-runner-y4, calc((100% - var(--arena-frame-bottom)) * 0.68)); transform: translate(-50%, -50%) rotate(var(--arena-runner-a4, var(--arena-runner-angle, 0deg))) scale(0.94); }
  92% { left: var(--arena-runner-x4, 86%); top: var(--arena-runner-y4, calc((100% - var(--arena-frame-bottom)) * 0.68)); transform: translate(-50%, -50%) rotate(var(--arena-runner-a4, var(--arena-runner-angle, 0deg))) scale(0.9); }
  100% { left: var(--arena-runner-end-x, 78%); top: var(--arena-runner-end-y, 20%); transform: translate(-50%, -50%) rotate(var(--arena-runner-a4, var(--arena-runner-angle, 0deg))) scale(0.86); }
}

@keyframes arenaRunnerStopPulse {
  0%, 100% {
    transform: translate3d(-50%, -50%, 0) rotate(var(--arena-runner-angle, 0deg)) scale(0.9);
  }
  50% {
    transform: translate3d(-50%, -50%, 0) rotate(var(--arena-runner-angle, 0deg)) scale(1.04);
  }
}

.arena-bet-panel,
.arena-howto {
  padding: 14px;
}

.arena-field-bet-panel {
  position: relative;
  left: auto;
  right: auto;
  bottom: auto;
  z-index: 20;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 10px;
  padding: 4px 14px 14px;
  border-color: rgba(121, 161, 202, 0.12);
  border-radius: 20px;
  background:
    radial-gradient(circle at 50% 0%, rgba(47, 156, 255, 0.025), transparent 38%),
    linear-gradient(180deg, rgba(8, 13, 20, 0.96), rgba(1, 3, 7, 0.995));
  box-shadow:
    inset 0 1px 0 rgba(138, 189, 239, 0.045),
    inset 0 -12px 22px rgba(0, 0, 0, 0.18),
    0 18px 38px rgba(0, 0, 0, 0.34);
  backdrop-filter: blur(12px);
}

.arena-bet-row {
  display: grid;
  gap: 10px;
}

.arena-bet-summary {
  display: grid;
  gap: 10px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.arena-bet-row-top {
  grid-template-columns: minmax(0, 1fr);
  align-items: stretch;
}

.arena-bet-row-actions {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
  gap: 10px;
}

.arena-active-stake {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
  gap: 12px;
  min-height: 50px;
  min-width: 0;
  padding: 0 14px;
  border: 1px solid rgba(61, 128, 199, 0.22);
  border-radius: 15px;
  background: linear-gradient(180deg, rgba(7, 15, 26, 0.92), rgba(2, 7, 14, 0.96));
}

.arena-bet-summary .arena-active-stake {
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid rgba(51, 116, 188, 0.24);
  border-radius: 17px;
  background:
    radial-gradient(circle at 100% 0%, rgba(32, 112, 202, 0.08), transparent 34%),
    linear-gradient(180deg, rgba(2, 10, 19, 0.98), rgba(0, 4, 10, 0.99));
  box-shadow:
    inset 0 1px 0 rgba(120, 190, 255, 0.07),
    inset 0 -10px 20px rgba(0, 0, 0, 0.18);
}

.arena-bet-summary .arena-field-footer {
  min-height: 0;
  padding: 0 150px 0 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

.arena-active-stake span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-width: 0;
  color: #94a9bd;
  font-size: 12px;
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
  white-space: normal;
}

.arena-total-win,
.arena-active-bet-label {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-width: 0;
  width: 100%;
  white-space: normal;
}

.arena-total-win b,
.arena-active-bet-label b {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  flex: 0 0 auto;
  white-space: nowrap;
}

.arena-total-win > span::before {
  content: "";
  width: 7px;
  height: 7px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: #57bdff;
  box-shadow: 0 0 14px rgba(87, 189, 255, 0.72);
  animation: arenaWaitDotBlink 1.05s ease-in-out infinite;
}

.arena-active-stake > b,
.arena-total-win b {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #ffffff;
  font-size: 16px;
  line-height: 1;
}

.arena-active-bet-label {
  color: #94a9bd;
  font-size: 12px;
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}

.arena-active-bet-label::before {
  content: "";
  width: 7px;
  height: 7px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: #49d772;
  box-shadow: 0 0 14px rgba(73, 215, 114, 0.7);
  animation: arenaWaitDotBlink 1.05s ease-in-out infinite;
}

.arena-active-bet-label b {
  color: #ffffff;
  font-size: 15px;
  line-height: 1;
}

.arena-active-stake b i,
.arena-total-win b i,
.arena-active-bet-label b i {
  width: 17px;
  height: 17px;
  background: url("/assets/ui/icons/bet.png?v=20260603-02") center / contain no-repeat;
}

.arena-active-stake em,
.arena-active-bet-label em {
  font-style: normal;
}

.arena-stake-pill,
.arena-participants-btn,
.arena-field-bet-panel .arena-add-btn {
  min-height: 50px;
  border-radius: 16px;
  color: #ffffff;
}

.arena-stake-picker {
  position: relative;
  min-width: 0;
}

.arena-stake-pill {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  gap: 6px;
  min-width: 0;
  padding: 0 8px;
  border: 1px solid rgba(107, 166, 225, 0.2);
  background:
    radial-gradient(circle at 28% 12%, rgba(81, 187, 255, 0.16), transparent 38%),
    linear-gradient(180deg, #13263a 0%, #071421 100%);
  box-shadow:
    inset 0 1px 0 rgba(140, 211, 255, .13),
    inset 0 -10px 18px rgba(0, 23, 48, 0.25),
    0 10px 20px rgba(0,0,0,.24);
}

.arena-ton-mark {
  width: 22px;
  height: 22px;
  background: url("/assets/ui/icons/bet.png?v=20260603-02") center / contain no-repeat;
  filter: drop-shadow(0 4px 7px rgba(24, 136, 237, 0.28));
}

.arena-stake-pill b {
  min-width: 20px;
  color: #ffffff;
  font-size: 19px;
  line-height: 1;
}

.arena-stake-pill i {
  width: 0;
  height: 0;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-top: 7px solid #aab8c7;
  transform: translateY(2px);
}

.arena-stake-menu {
  position: absolute;
  left: 0;
  right: auto;
  bottom: calc(100% + 12px);
  z-index: 40;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  width: min(88vw, 306px);
  min-width: 0;
  padding: 9px;
  border: 1px solid rgba(65, 175, 255, 0.22);
  border-radius: 16px;
  background:
    radial-gradient(circle at 30% 0%, rgba(40, 154, 255, 0.14), transparent 45%),
    rgba(5, 11, 18, 0.98);
  box-shadow:
    0 18px 34px rgba(0, 0, 0, 0.38),
    inset 0 1px 0 rgba(108, 194, 255, 0.09);
  backdrop-filter: blur(12px);
}

.arena-stake-menu[hidden] {
  display: none;
}

.arena-stake-menu button {
  min-height: 42px;
  border: 0;
  border-radius: 13px;
  color: #f4fbff;
  background: linear-gradient(135deg, #39b4ff, #1689ed 54%, #075dbc);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.22),
    0 8px 16px rgba(24, 136, 237, 0.2);
  font-size: 14px;
  font-weight: 900;
}

.arena-stake-menu button.is-active {
  color: #02120a;
  background: linear-gradient(135deg, #72ff8d, #2fdc67 60%, #13a844);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.28),
    0 10px 20px rgba(47, 220, 103, 0.2);
}

.arena-field-bet-panel .arena-add-btn {
  border: 0;
  padding: 0 14px;
  font-size: 15px;
  font-weight: 900;
  background:
    radial-gradient(circle at 30% 10%, rgba(255,255,255,.22), transparent 34%),
    linear-gradient(180deg, #4bb8ff 0%, #1688ed 52%, #075dbd 100%);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.24),
    inset 0 -10px 18px rgba(0,0,0,.14),
    0 12px 24px rgba(22, 136, 237, 0.22);
}

.arena-participants-btn {
  min-width: 126px;
  border: 1px solid rgba(68, 164, 255, 0.82);
  padding: 0 12px;
  color: #f3f9ff;
  font-size: 14px;
  font-weight: 900;
  background:
    radial-gradient(circle at 50% 0%, rgba(76, 184, 255, 0.24), transparent 50%),
    linear-gradient(180deg, rgba(10, 34, 62, 0.98), rgba(3, 12, 28, 0.99));
  box-shadow:
    inset 0 1px 0 rgba(160, 220, 255, 0.18),
    inset 0 -10px 16px rgba(0, 34, 88, 0.34);
}

.arena-field-footer .arena-participants-btn {
  position: absolute;
  top: 14px;
  right: 14px;
  min-height: 42px;
  min-width: 126px;
  border-radius: 15px;
}

.arena-share-field > .arena-participants-btn {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 12;
  min-height: 42px;
  min-width: 126px;
  border-radius: 15px;
}

.arena-stake-pill:active,
.arena-participants-btn:active {
  transform: translateY(1px);
}

.arena-field-bet-panel .arena-quick-bets {
  margin-top: 0;
}

.arena-field-bet-panel .arena-quick-bets button {
  min-height: 38px;
}

.arena-field-bet-panel .arena-custom-row input,
.arena-field-bet-panel .arena-add-btn {
  min-height: 54px;
}

.arena-participants-card {
  width: min(92vw, 360px);
  max-height: min(78vh, 680px);
  overflow: auto;
  padding: 20px 18px 18px;
  border-radius: 22px;
  border-color: rgba(52, 151, 255, 0.32);
  background:
    radial-gradient(circle at 84% 0%, rgba(47, 156, 255, 0.18), transparent 38%),
    linear-gradient(180deg, rgba(7, 17, 30, 0.98), rgba(1, 5, 12, 0.99));
  box-shadow:
    inset 0 1px 0 rgba(135, 200, 255, 0.08),
    0 28px 70px rgba(0, 0, 0, 0.56);
}

.arena-participants-card .upgrade-modal-close {
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  border-radius: 14px;
  color: #eaf6ff;
  background:
    radial-gradient(circle at 50% 0%, rgba(74, 174, 255, 0.22), transparent 58%),
    rgba(8, 16, 27, 0.94);
  box-shadow: inset 0 0 0 1px rgba(91, 166, 255, 0.28);
}

.arena-participants-head {
  display: block;
  min-height: 30px;
  margin-bottom: 6px;
  padding-right: 44px;
}

.arena-participants-head h3 {
  margin: 0;
  color: #ffffff;
  font-size: 24px;
  line-height: 1;
}

.arena-participant-list {
  display: grid;
  gap: 12px;
}

.arena-game-chip,
.arena-participant-card small {
  justify-self: start;
  width: fit-content;
  max-width: 100%;
  padding: 7px 10px;
  border-radius: 11px;
  color: rgba(232, 246, 255, 0.74);
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
  background: rgba(255, 255, 255, 0.07);
}

.arena-participant-card {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  grid-template-areas:
    "avatar name"
    "avatar stats";
  align-items: center;
  gap: 10px;
  min-height: 96px;
  padding: 12px;
  border: 1px solid rgba(76, 146, 222, 0.14);
  border-radius: 16px;
  background:
    radial-gradient(circle at 100% 0%, rgba(45, 144, 255, 0.12), transparent 42%),
    linear-gradient(180deg, rgba(22, 30, 42, 0.94), rgba(8, 13, 21, 0.98));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.arena-participant-card img {
  grid-area: avatar;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
}

.arena-participant-card b {
  grid-area: name;
  color: #ffffff;
  font-size: 18px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.arena-participant-stats {
  grid-area: stats;
  display: grid;
  gap: 7px;
  min-width: 0;
}

.arena-participant-stats span,
.arena-participant-stats em {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid rgba(75, 156, 255, 0.18);
  border-radius: 12px;
  color: #eef8ff;
  font-style: normal;
  background: rgba(14, 37, 64, 0.64);
}

.arena-participant-stats small {
  color: #9fb6cb;
  font-size: 11px;
  font-weight: 750;
  line-height: 1;
  text-transform: uppercase;
}

.arena-participant-stats strong {
  color: #ffffff;
  font-size: 14px;
  font-weight: 760;
  line-height: 1;
  white-space: nowrap;
}

.arena-participant-card.is-winner {
  border-color: rgba(93, 255, 153, 0.34);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 0 22px rgba(64, 255, 151, 0.12);
}

.arena-participant-empty {
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas:
    "game game"
    "name amount"
    "chance amount";
}

.arena-participant-empty small {
  grid-area: game;
}

.arena-participant-empty span {
  grid-area: amount;
}

.arena-participant-empty em {
  grid-area: chance;
  font-style: normal;
  font-weight: 760;
}

.arena-battle-history {
  margin-top: 14px;
  border: 1px solid rgba(67, 143, 226, 0.18);
  border-radius: 16px;
  overflow: hidden;
  background: rgba(0, 6, 14, 0.44);
}

.arena-battle-history summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 48px;
  padding: 0 14px;
  color: #ffffff;
  font-size: 15px;
  font-weight: 900;
  cursor: pointer;
  list-style: none;
}

.arena-battle-history summary::-webkit-details-marker {
  display: none;
}

.arena-battle-history summary::after {
  content: "";
  width: 9px;
  height: 9px;
  border-right: 2px solid #6abfff;
  border-bottom: 2px solid #6abfff;
  transform: rotate(45deg) translateY(-2px);
  transition: transform 0.18s ease;
}

.arena-battle-history[open] summary::after {
  transform: rotate(225deg) translate(-2px, -1px);
}

.arena-battle-history-list {
  display: grid;
  gap: 10px;
  max-height: min(44vh, 420px);
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 0 12px 12px;
}

.arena-battle-empty,
.arena-battle-round {
  border-radius: 14px;
  padding: 12px;
  color: rgba(224, 240, 255, 0.72);
  font-size: 13px;
  font-weight: 800;
  background: rgba(255, 255, 255, 0.055);
}

.arena-battle-round-head,
.arena-battle-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
}

.arena-battle-round-head {
  grid-template-columns: minmax(0, 1fr) auto;
  margin-bottom: 10px;
}

.arena-battle-round-head b,
.arena-battle-row b {
  color: #ffffff;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.arena-battle-round-head span,
.arena-battle-round-head em,
.arena-battle-row span {
  color: #90d5ff;
  font-style: normal;
  font-weight: 900;
}

.arena-battle-round-list {
  display: grid;
  gap: 7px;
}

.arena-battle-row {
  min-height: 36px;
  border-radius: 11px;
  padding: 0 10px;
  background: rgba(0, 4, 10, 0.38);
}

.arena-battle-row.is-winner {
  border: 1px solid rgba(93, 255, 153, 0.32);
  background: linear-gradient(180deg, rgba(37, 173, 94, 0.28), rgba(17, 104, 57, 0.2));
  box-shadow:
    inset 0 1px 0 rgba(181, 255, 210, 0.18),
    0 0 18px rgba(64, 255, 151, 0.1);
}

.arena-battle-row.is-winner b,
.arena-battle-row.is-winner span {
  color: #7dffad;
}

.arena-bet-head {
  margin-bottom: 10px;
}

.arena-bet-head b {
  font-size: 18px;
}

.arena-quick-bets {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 7px;
}

.arena-quick-bets button {
  min-height: 42px;
  border: 1px solid rgba(87, 151, 217, 0.22);
  border-radius: 12px;
  color: #d9ecff;
  font-size: 13px;
  font-weight: 900;
  background: linear-gradient(180deg, rgba(17, 29, 44, 0.96), rgba(5, 11, 19, 0.98));
}

.arena-quick-bets button:active,
.arena-quick-bets button.is-active {
  border-color: rgba(80, 179, 255, 0.54);
  color: #ffffff;
  background: linear-gradient(180deg, #249fff, #075fc7);
}

.arena-custom-row {
  margin-top: 10px;
}

.arena-custom-row label {
  flex: 1 1 auto;
  min-width: 0;
}

.arena-custom-row input {
  width: 100%;
  min-height: 48px;
  margin-top: 5px;
  border: 1px solid rgba(87, 151, 217, 0.22);
  border-radius: 14px;
  padding: 0 12px;
  color: #eef8ff;
  font: inherit;
  font-weight: 900;
  background: rgba(0, 4, 10, 0.62);
  outline: none;
}

.arena-custom-row input:focus {
  border-color: rgba(80, 179, 255, 0.56);
  box-shadow: var(--miner-focus-ring);
}

.arena-add-btn {
  flex: 0 0 116px;
  min-height: 48px;
  border-radius: 14px;
  font-size: 14px;
}

.arena-howto b {
  display: block;
  color: #f4f8ff;
  font-size: 17px;
  line-height: 1;
}

.arena-howto ol {
  display: grid;
  gap: 8px;
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
}

.arena-howto li {
  position: relative;
  min-height: 34px;
  padding: 9px 10px 9px 36px;
  border: 1px solid rgba(70, 125, 181, 0.16);
  border-radius: 12px;
  color: #b8c9da;
  font-size: 13px;
  font-weight: 750;
  background: rgba(0, 4, 10, 0.36);
}

.arena-howto li::before {
  content: counter(list-item);
  position: absolute;
  left: 10px;
  top: 50%;
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  color: #06111d;
  font-size: 11px;
  font-weight: 900;
  background: #57bdff;
  transform: translateY(-50%);
}

@media (max-height: 820px) {
  .cst-app[data-active-tab="Arena"] .dashboard-screen {
    grid-template-rows: 8px minmax(0, 1fr) 68px;
  }

  .arena-panel {
    gap: 8px;
  }

  .arena-top {
    margin-top: 4px;
  }

  .arena-status-card {
    gap: 6px;
  }

  .arena-field-bet-panel {
    gap: 8px;
    padding: 4px 11px 11px;
    border-radius: 17px;
  }

  .arena-field-footer {
    min-height: 40px;
    padding: 4px 6px;
  }

  .arena-empty-state {
    min-height: 32px;
    font-size: 14px;
  }

  .arena-active-stake {
    min-height: 44px;
  }

  .arena-stake-pill,
  .arena-field-bet-panel .arena-add-btn {
    min-height: 46px;
  }

  .arena-field-footer .arena-participants-btn {
    min-height: 38px;
  }
}

@media (max-width: 760px) {
  .arena-panel {
    gap: 8px;
    min-height: 0;
    height: 100%;
    overflow: hidden;
  }

  .arena-top {
    margin-top: 6px;
  }

  .arena-stage {
    min-height: 0;
    height: 100%;
    padding: 0;
    gap: 0;
    overflow: hidden !important;
  }

  .arena-card {
    min-height: 310px;
    padding: 12px;
  }

  .arena-status-card {
    height: 100%;
    min-height: auto;
    max-height: 100%;
    padding: 0;
    grid-template-rows: minmax(0, 1fr) auto;
    gap: 8px;
    overflow: hidden;
  }

  .arena-card-head b {
    font-size: 22px;
  }

  .arena-field {
    min-height: 202px;
  }

  .arena-share-field {
    height: 100%;
    min-height: 0;
    max-height: 100%;
    --arena-frame-bottom: 2px;
    margin-bottom: 0;
    border-width: 3px;
    border-radius: 22px;
    overflow: visible;
  }

  .arena-main-avatar {
    width: min(50vw, 184px);
    height: min(50vw, 184px);
  }

  .arena-status-card .arena-round-meta {
    left: 18px;
    right: 18px;
    top: auto;
    bottom: 18px;
  }

  .arena-play-frame {
    left: 2px;
    right: 2px;
    top: 2px;
    bottom: var(--arena-frame-bottom);
    border-width: 2px;
    border-radius: 22px;
  }

  .arena-field-footer {
    left: auto;
    right: auto;
    width: 100%;
    flex: 0 0 auto;
    min-height: 44px;
    padding: 4px 6px;
    gap: 8px;
  }

  .arena-empty-state {
    min-height: 34px;
    padding: 0 8px 0 14px;
    font-size: 13px;
  }

  .arena-field-bet-panel {
    left: auto;
    right: auto;
    width: 100%;
    flex: 0 0 auto;
    transform: none;
    padding: 4px 12px 12px;
    grid-template-columns: minmax(0, 1fr);
  }

  .arena-bet-row-top {
    grid-template-columns: minmax(0, 1fr);
  }

  .arena-bet-row-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .arena-active-stake {
    min-height: 42px;
    padding: 0 9px;
    gap: 7px;
  }

  .arena-active-stake span {
    font-size: 10px;
    line-height: 1.05;
  }

  .arena-total-win b,
  .arena-active-bet-label b {
    font-size: 13px;
    gap: 3px;
  }

  .arena-active-stake b i,
  .arena-total-win b i,
  .arena-active-bet-label b i {
    width: 15px;
    height: 15px;
  }

  .arena-stake-pill,
  .arena-field-bet-panel .arena-add-btn {
    min-height: 48px;
    border-radius: 16px;
  }

  .arena-stake-pill b {
    font-size: 18px;
  }

  .arena-ton-mark {
    width: 21px;
    height: 21px;
  }

  .arena-stake-menu {
    right: auto;
    width: min(88vw, 296px);
    min-width: 0;
    gap: 7px;
    padding: 8px;
  }

  .arena-stake-menu button {
    min-height: 40px;
    font-size: 13px;
  }

  .arena-participants-btn {
    min-width: 112px;
    padding: 0 10px;
    font-size: 13px;
  }

  .arena-field-footer .arena-participants-btn {
    top: 11px;
    right: 12px;
    min-height: 40px;
    min-width: 112px;
  }

  .arena-share-field > .arena-participants-btn {
    top: 14px;
    right: 14px;
    min-height: 40px;
    min-width: 112px;
  }

  .arena-field-bet-panel .arena-add-btn {
    padding: 0 10px;
    font-size: 13px;
  }

  .arena-participants-head h3 {
    font-size: 24px;
  }

  .arena-participant-card {
    grid-template-columns: 52px minmax(0, 1fr);
    grid-template-areas:
      "avatar name"
      "avatar stats";
  }

  .arena-participant-card img { grid-area: avatar; }
  .arena-participant-card b { grid-area: name; }
  .arena-participant-stats { grid-area: stats; }

  .arena-participant-empty {
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas:
      "name amount"
      "chance amount";
  }

  .arena-battle-round-head {
    grid-template-columns: minmax(0, 1fr);
  }

  .arena-battle-row {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .arena-center {
    width: 118px;
    height: 118px;
  }

  .arena-player {
    width: 42px;
    height: 42px;
  }

  .arena-player img {
    width: 27px;
    height: 27px;
  }

  .arena-pot {
    min-width: 96px;
    padding: 9px 10px;
  }

  .arena-custom-row {
    align-items: end;
  }

  .arena-add-btn {
    flex-basis: 106px;
  }
}

.is-telegram-webapp,
.is-telegram-webapp body {
  min-height: 100dvh;
  overflow: hidden;
  overscroll-behavior: none;
  background: #000207 !important;
}

.is-telegram-webapp body::before {
  content: none !important;
  display: none !important;
}

.is-telegram-webapp .cst-app {
  height: 100dvh;
  min-height: 100dvh;
  max-height: 100dvh;
}

/* CLASHER cinematic fight animation overrides */
.fight-fighter,
.fighter-left,
.fighter-right {
  transform-origin: center bottom;
  will-change: transform, filter, opacity;
}

.fight-fighter-sprite {
  transform-origin: center bottom;
  will-change: background-position, filter, opacity;
}

.fight-arena.fight-started,
.fight-arena.screen-shake {
  animation: fightArenaScreenShake 6s linear 1;
}

.fight-arena.fight-started::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 4;
  border-radius: inherit;
  background:
    radial-gradient(circle at 38% 63%, rgba(255, 42, 56, 0.34), transparent 8%),
    radial-gradient(circle at 62% 62%, rgba(58, 172, 255, 0.34), transparent 8%),
    radial-gradient(circle at 50% 54%, rgba(255, 255, 255, 0.34), transparent 18%);
  opacity: 0;
  mix-blend-mode: screen;
  pointer-events: none;
  animation: fightImpactFlash 6s linear 1;
}

.fight-arena.fight-started::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 4;
  border-radius: inherit;
  opacity: 0;
  background:
    radial-gradient(circle, rgba(255, 255, 255, 0.95) 0 1px, transparent 2px) 38% 61% / 68px 48px no-repeat,
    radial-gradient(circle, rgba(80, 184, 255, 0.92) 0 1px, transparent 2px) 63% 61% / 76px 52px no-repeat,
    radial-gradient(circle, rgba(255, 62, 70, 0.86) 0 1px, transparent 2px) 48% 58% / 90px 60px no-repeat;
  filter: drop-shadow(0 0 8px rgba(120, 205, 255, 0.8));
  pointer-events: none;
  animation: fightParticles 6s linear 1;
}

.fight-arena.is-fighting .fight-fighter::after {
  opacity: 0.72;
  animation: fightFloorShadow 6s ease-in-out 1;
}

.fight-arena.is-fighting .fight-impact-one {
  left: 35%;
  bottom: 132px;
  animation: fightImpactLeft 6s linear 1;
}

.fight-arena.is-fighting .fight-impact-two {
  right: 35%;
  bottom: 132px;
  animation: fightImpactRight 6s linear 1;
}

.fight-impact,
.hit-effect,
.impact-flash {
  z-index: 5;
  background:
    radial-gradient(circle, rgba(255, 255, 255, 0.95) 0 9%, rgba(112, 207, 255, 0.62) 10% 31%, transparent 64%),
    conic-gradient(from 30deg, transparent, rgba(255, 255, 255, 0.92), transparent 34%, rgba(56, 171, 255, 0.8), transparent 68%, rgba(255, 62, 70, 0.74), transparent);
  box-shadow:
    0 0 18px rgba(92, 190, 255, 0.64),
    0 0 34px rgba(255, 62, 70, 0.22);
}

.fight-arena.is-fighting .fight-fighter-one::before {
  animation: fightFistFlashOneV3 6s linear 1;
}

.fight-arena.is-fighting .fight-fighter-two::before {
  animation: fightFistFlashTwoV3 6s linear 1;
}

.fight-arena.is-fighting.is-fight-variant-1 .fight-fighter-one,
.fight-arena.is-fighting.is-fight-variant-3 .fight-fighter-one {
  animation-name: fightOneMove;
}

.fight-arena.is-fighting.is-fight-variant-1 .fight-fighter-two,
.fight-arena.is-fighting.is-fight-variant-3 .fight-fighter-two {
  animation-name: fightTwoMove;
}

.fight-arena.is-fighting.is-fight-variant-2 .fight-fighter-one,
.fight-arena.is-fighting.is-fight-variant-4 .fight-fighter-one {
  animation-name: fightOneKickMove;
}

.fight-arena.is-fighting.is-fight-variant-2 .fight-fighter-two,
.fight-arena.is-fighting.is-fight-variant-4 .fight-fighter-two {
  animation-name: fightTwoBlockMove;
}

@keyframes fightArenaScreenShake {
  0%, 12%, 18%, 29%, 37%, 56%, 72%, 86%, 100% { transform: translate3d(0, 0, 0); }
  14% { transform: translate3d(-2px, 1px, 0); }
  15.2% { transform: translate3d(3px, -1px, 0); }
  16.4% { transform: translate3d(-1px, 1px, 0); }
  31% { transform: translate3d(2px, 0, 0); }
  32.4% { transform: translate3d(-3px, -1px, 0); }
  33.6% { transform: translate3d(1px, 1px, 0); }
  47.8% { transform: translate3d(-2px, 0, 0); }
  49.2% { transform: translate3d(2px, 1px, 0); }
  78.5% { transform: translate3d(4px, -2px, 0); }
  80% { transform: translate3d(-5px, 2px, 0); }
  81.5% { transform: translate3d(2px, -1px, 0); }
}

@keyframes fightImpactFlash {
  0%, 13%, 17%, 30%, 35%, 46%, 51%, 76%, 83%, 100% { opacity: 0; filter: brightness(1); }
  14.2%, 31.6%, 47.6% { opacity: 0.82; filter: brightness(1.5); }
  15.4%, 33%, 49% { opacity: 0.24; filter: brightness(1.15); }
  78.2% { opacity: 1; filter: brightness(1.9); }
  80.4% { opacity: 0.38; filter: brightness(1.25); }
}

@keyframes fightParticles {
  0%, 13%, 17%, 30%, 35%, 46%, 51%, 76%, 83%, 100% {
    opacity: 0;
    transform: translate3d(0, 0, 0) scale(0.82);
  }
  14.2%, 31.6%, 47.6% {
    opacity: 0.85;
    transform: translate3d(0, -8px, 0) scale(1.05);
  }
  78.2% {
    opacity: 1;
    transform: translate3d(0, -14px, 0) scale(1.25);
  }
  81.5% {
    opacity: 0;
    transform: translate3d(0, -34px, 0) scale(1.55);
  }
}

@keyframes fightFloorShadow {
  0%, 100% { transform: translateX(-50%) scaleX(0.9); opacity: 0.45; }
  14%, 31%, 48%, 79% { transform: translateX(-50%) scaleX(1.18); opacity: 0.76; }
  58%, 70% { transform: translateX(-50%) scaleX(0.82); opacity: 0.36; }
}

@keyframes fightImpactLeft {
  0%, 28%, 35%, 75%, 83%, 100% { opacity: 0; transform: scale(0.45) rotate(0deg); }
  31.2% { opacity: 1; transform: scale(0.9) rotate(12deg); }
  33.2% { opacity: 0.55; transform: scale(2.25) rotate(48deg); }
  78.4% { opacity: 1; transform: translate(-38px, -4px) scale(1) rotate(-18deg); }
  81.5% { opacity: 0; transform: translate(-78px, -10px) scale(2.7) rotate(-62deg); }
}

@keyframes fightImpactRight {
  0%, 12%, 18%, 44%, 52%, 75%, 83%, 100% { opacity: 0; transform: scale(0.45) rotate(0deg); }
  14.2% { opacity: 1; transform: scale(0.92) rotate(-10deg); }
  16.2% { opacity: 0.55; transform: scale(2.25) rotate(-48deg); }
  47.6% { opacity: 0.9; transform: translate(16px, -5px) scale(0.95) rotate(16deg); }
  49.8% { opacity: 0; transform: translate(42px, -7px) scale(2) rotate(54deg); }
  78.4% { opacity: 1; transform: translate(42px, -5px) scale(1.15) rotate(20deg); }
  81.5% { opacity: 0; transform: translate(86px, -12px) scale(2.9) rotate(70deg); }
}

@keyframes fightOneMove {
  0%, 8% { transform: translate3d(0, 0, 0) rotate(0deg) skewX(0deg); filter: brightness(1); }
  13% { transform: translate3d(58px, 0, 0) rotate(2deg) skewX(-3deg); filter: brightness(1.08); }
  15% { transform: translate3d(92px, 0, 0) rotate(4deg) skewX(-7deg) scaleX(1.04); filter: brightness(1.2); }
  19% { transform: translate3d(36px, 0, 0) rotate(-1deg); }
  29% { transform: translate3d(22px, 0, 0) rotate(-3deg); }
  32% { transform: translate3d(-2px, 0, 0) rotate(-5deg) skewX(4deg); filter: brightness(1.06); }
  37% { transform: translate3d(36px, 0, 0) rotate(1deg); }
  43% { transform: translate3d(74px, 0, 0) rotate(3deg) skewX(-5deg); }
  48% { transform: translate3d(44px, 0, 0) rotate(-2deg) skewX(3deg); filter: brightness(1.16); }
  55%, 67% { transform: translate3d(54px, 0, 0) rotate(0deg) scale(1.02); filter: brightness(1.12) drop-shadow(0 0 12px rgba(255, 58, 68, 0.34)); }
  74% { transform: translate3d(26px, 0, 0) rotate(-1deg); opacity: 1; }
  76.5% { transform: translate3d(142px, 0, 0) rotate(0deg) scaleX(0.88); opacity: 0.18; filter: blur(1px) brightness(1.45); }
  79.5% { transform: translate3d(104px, 0, 0) rotate(5deg) scale(1.08); opacity: 1; filter: brightness(1.45); }
  84% { transform: translate3d(74px, 0, 0) rotate(1deg); filter: brightness(1.08); }
  92%, 100% { transform: translate3d(48px, 0, 0) rotate(0deg); opacity: 1; filter: brightness(1); }
}

@keyframes fightTwoMove {
  0%, 8% { transform: translate3d(0, 0, 0) rotate(0deg) skewX(0deg); filter: brightness(1); }
  14.2% { transform: translate3d(18px, 0, 0) rotate(4deg) skewX(5deg); filter: brightness(1.28); }
  18% { transform: translate3d(42px, 0, 0) rotate(7deg); filter: brightness(0.92); }
  28% { transform: translate3d(-38px, 0, 0) rotate(-2deg); }
  31.5% { transform: translate3d(-96px, 0, 0) rotate(-6deg) skewX(7deg); filter: brightness(1.15); }
  36% { transform: translate3d(-34px, 0, 0) rotate(1deg); }
  43% { transform: translate3d(-76px, 0, 0) rotate(-4deg); }
  48% { transform: translate3d(-38px, 0, 0) rotate(5deg) skewX(-4deg); filter: brightness(1.08); }
  55%, 67% { transform: translate3d(-54px, 0, 0) rotate(0deg) scale(1.02); filter: brightness(1.16) drop-shadow(0 0 12px rgba(72, 178, 255, 0.36)); }
  75% { transform: translate3d(-22px, 0, 0) rotate(0deg); opacity: 1; }
  78.4% { transform: translate3d(74px, 0, 0) rotate(9deg) skewX(8deg); filter: brightness(1.35); }
  84% { transform: translate3d(112px, 2px, 0) rotate(10deg) skewX(5deg); filter: brightness(0.82); }
  92%, 100% { transform: translate3d(92px, 0, 0) rotate(6deg); opacity: 0.9; filter: brightness(0.86); }
}

@keyframes fightOneKickMove {
  0%, 8% { transform: translate3d(0, 0, 0) rotate(0deg); filter: brightness(1); }
  13% { transform: translate3d(56px, 0, 0) rotate(2deg); }
  15.5% { transform: translate3d(88px, 0, 0) rotate(5deg) skewX(-6deg); filter: brightness(1.18); }
  20% { transform: translate3d(44px, 0, 0) rotate(0deg); }
  29% { transform: translate3d(24px, 0, 0) rotate(-2deg); }
  31.6% { transform: translate3d(66px, 0, 0) rotate(4deg); filter: brightness(1.05); }
  35% { transform: translate3d(88px, 0, 0) rotate(8deg); filter: brightness(0.9); }
  43% { transform: translate3d(48px, 0, 0) rotate(1deg); }
  48% { transform: translate3d(22px, 0, 0) rotate(-6deg) skewX(5deg); filter: brightness(0.86); }
  55%, 67% { transform: translate3d(44px, 0, 0) rotate(0deg) scale(1.02); filter: brightness(1.1) drop-shadow(0 0 10px rgba(255, 58, 68, 0.3)); }
  75% { transform: translate3d(70px, 0, 0) rotate(0deg); opacity: 1; }
  77.4% { transform: translate3d(-58px, 0, 0) rotate(0deg) scaleX(0.9); opacity: 0.2; filter: blur(1px) brightness(1.45); }
  79.5% { transform: translate3d(10px, 0, 0) rotate(-8deg) skewX(7deg); opacity: 1; filter: brightness(0.82); }
  88%, 100% { transform: translate3d(-6px, 0, 0) rotate(-5deg); opacity: 0.9; filter: brightness(0.82); }
}

@keyframes fightTwoBlockMove {
  0%, 8% { transform: translate3d(0, 0, 0) rotate(0deg); filter: brightness(1); }
  14.2% { transform: translate3d(20px, 0, 0) rotate(4deg); filter: brightness(0.92); }
  19% { transform: translate3d(42px, 0, 0) rotate(6deg); }
  28% { transform: translate3d(-40px, 0, 0) rotate(-2deg); }
  31.5% { transform: translate3d(-102px, 0, 0) rotate(-7deg) skewX(8deg); filter: brightness(1.2); }
  36% { transform: translate3d(-42px, 0, 0) rotate(0deg); }
  43% { transform: translate3d(-78px, 0, 0) rotate(-4deg); }
  48% { transform: translate3d(-40px, 0, 0) rotate(4deg) skewX(-4deg); filter: brightness(1.1); }
  55%, 67% { transform: translate3d(-52px, 0, 0) rotate(0deg) scale(1.02); filter: brightness(1.2) drop-shadow(0 0 13px rgba(72, 178, 255, 0.4)); }
  74% { transform: translate3d(-20px, 0, 0) rotate(0deg); opacity: 1; }
  76.5% { transform: translate3d(-150px, 0, 0) rotate(0deg) scaleX(0.9); opacity: 0.18; filter: blur(1px) brightness(1.5); }
  79.6% { transform: translate3d(-110px, 0, 0) rotate(-6deg) scale(1.08); opacity: 1; filter: brightness(1.45); }
  86% { transform: translate3d(-76px, 0, 0) rotate(-1deg); }
  94%, 100% { transform: translate3d(-44px, 0, 0) rotate(0deg); opacity: 1; filter: brightness(1); }
}

@keyframes fightOneRushMove {
  0%, 8% { transform: translate3d(0, 0, 0) rotate(0deg); filter: brightness(1); }
  14% { transform: translate3d(72px, 0, 0) rotate(3deg) scaleX(1.05); filter: brightness(1.18); }
  20% { transform: translate3d(34px, 0, 0) rotate(-1deg); }
  42% { transform: translate3d(82px, 0, 0) rotate(3deg); }
  55%, 67% { transform: translate3d(56px, 0, 0) scale(1.02); filter: brightness(1.12); }
  78% { transform: translate3d(112px, 0, 0) rotate(5deg) scale(1.07); filter: brightness(1.4); }
  92%, 100% { transform: translate3d(48px, 0, 0) rotate(0deg); filter: brightness(1); }
}

@keyframes fightTwoCounterMove {
  0%, 8% { transform: translate3d(0, 0, 0) rotate(0deg); filter: brightness(1); }
  14% { transform: translate3d(20px, 0, 0) rotate(5deg); filter: brightness(0.92); }
  31% { transform: translate3d(-104px, 0, 0) rotate(-7deg); filter: brightness(1.18); }
  48% { transform: translate3d(-38px, 0, 0) rotate(5deg); }
  55%, 67% { transform: translate3d(-54px, 0, 0) scale(1.02); filter: brightness(1.16); }
  79% { transform: translate3d(112px, 0, 0) rotate(10deg); filter: brightness(0.84); }
  92%, 100% { transform: translate3d(92px, 0, 0) rotate(6deg); filter: brightness(0.86); }
}

@keyframes fightOneHopKickMove {
  0%, 8% { transform: translate3d(0, 0, 0) rotate(0deg); }
  15% { transform: translate3d(86px, 0, 0) rotate(5deg); filter: brightness(1.16); }
  34% { transform: translate3d(88px, 0, 0) rotate(8deg); filter: brightness(0.9); }
  48% { transform: translate3d(22px, 0, 0) rotate(-6deg); filter: brightness(0.86); }
  67% { transform: translate3d(44px, 0, 0) scale(1.02); }
  79% { transform: translate3d(10px, 0, 0) rotate(-8deg); filter: brightness(0.82); }
  88%, 100% { transform: translate3d(-6px, 0, 0) rotate(-5deg); filter: brightness(0.82); }
}

@keyframes fightTwoHopKickMove {
  0%, 8% { transform: translate3d(0, 0, 0) rotate(0deg); }
  14% { transform: translate3d(20px, 0, 0) rotate(4deg); }
  31% { transform: translate3d(-102px, 0, 0) rotate(-7deg); filter: brightness(1.2); }
  48% { transform: translate3d(-40px, 0, 0) rotate(4deg); }
  67% { transform: translate3d(-52px, 0, 0) scale(1.02); filter: brightness(1.2); }
  79% { transform: translate3d(-110px, 0, 0) rotate(-6deg) scale(1.08); filter: brightness(1.45); }
  94%, 100% { transform: translate3d(-44px, 0, 0) rotate(0deg); }
}

@keyframes fightSpriteOneRush {
  0%, 10% { background-position: -489.6px 0; }
  13%, 16% { background-position: -856.8px 0; }
  19%, 24% { background-position: -489.6px 0; }
  25%, 28% { background-position: -734.4px 0; }
  29%, 32% { background-position: -612px 0; }
  33%, 36% { background-position: -856.8px 0; }
  37%, 40% { background-position: -734.4px 0; }
  41%, 44% { background-position: -612px 0; }
  45%, 48% { background-position: -856.8px 0; }
  49%, 52% { background-position: -612px 0; }
  53%, 56% { background-position: -734.4px 0; }
  57%, 60% { background-position: -612px 0; }
  61%, 64% { background-position: -856.8px 0; }
  65%, 69% { background-position: -612px 0; }
  70%, 72% { background-position: -734.4px 0; }
  73%, 75% { background-position: -612px 0; }
  76%, 81% { background-position: -856.8px 0; }
  88%, 100% { background-position: -489.6px 0; }
}

@keyframes fightSpriteOne {
  0%, 10% { background-position: -489.6px 0; }
  13%, 16% { background-position: -856.8px 0; }
  19%, 24% { background-position: -489.6px 0; }
  25%, 28% { background-position: -734.4px 0; }
  29%, 32% { background-position: -612px 0; }
  33%, 36% { background-position: -856.8px 0; }
  37%, 40% { background-position: -734.4px 0; }
  41%, 44% { background-position: -612px 0; }
  45%, 48% { background-position: -856.8px 0; }
  49%, 52% { background-position: -612px 0; }
  53%, 56% { background-position: -734.4px 0; }
  57%, 60% { background-position: -612px 0; }
  61%, 64% { background-position: -856.8px 0; }
  65%, 69% { background-position: -612px 0; }
  70%, 72% { background-position: -734.4px 0; }
  73%, 75% { background-position: -612px 0; }
  76%, 81% { background-position: -856.8px 0; }
  88%, 100% { background-position: -489.6px 0; }
}

@keyframes fightSpriteTwoCounter {
  0%, 10% { background-position: -367.2px 0; }
  14%, 18% { background-position: -122.4px 0; }
  23%, 26% { background-position: -612px 0; }
  27%, 30% { background-position: -244.8px 0; }
  31%, 34% { background-position: -122.4px 0; }
  35%, 38% { background-position: -612px 0; }
  39%, 42% { background-position: -244.8px 0; }
  43%, 46% { background-position: -122.4px 0; }
  47%, 52% { background-position: -612px 0; }
  53%, 56% { background-position: -122.4px 0; }
  57%, 60% { background-position: -612px 0; }
  61%, 64% { background-position: -244.8px 0; }
  65%, 69% { background-position: -612px 0; }
  70%, 72% { background-position: -122.4px 0; }
  73%, 75% { background-position: -612px 0; }
  76%, 82% { background-position: -122.4px 0; }
  88%, 100% { background-position: -367.2px 0; }
}

@keyframes fightSpriteTwo {
  0%, 10% { background-position: -367.2px 0; }
  14%, 18% { background-position: -122.4px 0; }
  23%, 26% { background-position: -612px 0; }
  27%, 30% { background-position: -244.8px 0; }
  31%, 34% { background-position: -122.4px 0; }
  35%, 38% { background-position: -612px 0; }
  39%, 42% { background-position: -244.8px 0; }
  43%, 46% { background-position: -122.4px 0; }
  47%, 52% { background-position: -612px 0; }
  53%, 56% { background-position: -122.4px 0; }
  57%, 60% { background-position: -612px 0; }
  61%, 64% { background-position: -244.8px 0; }
  65%, 69% { background-position: -612px 0; }
  70%, 72% { background-position: -122.4px 0; }
  73%, 75% { background-position: -612px 0; }
  76%, 82% { background-position: -122.4px 0; }
  88%, 100% { background-position: -367.2px 0; }
}

@keyframes fightSpriteOneHopKick {
  0%, 10% { background-position: -489.6px 0; }
  13%, 17% { background-position: -856.8px 0; }
  24%, 30% { background-position: -612px 0; }
  31%, 35% { background-position: -734.4px 0; }
  43%, 50% { background-position: -612px 0; }
  53%, 56% { background-position: -734.4px 0; }
  57%, 60% { background-position: -612px 0; }
  61%, 64% { background-position: -856.8px 0; }
  65%, 69% { background-position: -612px 0; }
  70%, 72% { background-position: -734.4px 0; }
  73%, 75% { background-position: -612px 0; }
  76%, 80% { background-position: -244.8px 0; }
  86%, 100% { background-position: -489.6px 0; }
}

@keyframes fightSpriteOneKick {
  0%, 10% { background-position: -489.6px 0; }
  13%, 17% { background-position: -856.8px 0; }
  24%, 30% { background-position: -612px 0; }
  31%, 35% { background-position: -734.4px 0; }
  43%, 50% { background-position: -612px 0; }
  53%, 56% { background-position: -734.4px 0; }
  57%, 60% { background-position: -612px 0; }
  61%, 64% { background-position: -856.8px 0; }
  65%, 69% { background-position: -612px 0; }
  70%, 72% { background-position: -734.4px 0; }
  73%, 75% { background-position: -612px 0; }
  76%, 80% { background-position: -244.8px 0; }
  86%, 100% { background-position: -489.6px 0; }
}

@keyframes fightSpriteTwoHopKick {
  0%, 10% { background-position: -367.2px 0; }
  14%, 18% { background-position: -122.4px 0; }
  28%, 32% { background-position: -612px 0; }
  33%, 36% { background-position: -244.8px 0; }
  43%, 50% { background-position: -612px 0; }
  53%, 56% { background-position: -122.4px 0; }
  57%, 60% { background-position: -612px 0; }
  61%, 64% { background-position: -244.8px 0; }
  65%, 69% { background-position: -612px 0; }
  70%, 72% { background-position: -122.4px 0; }
  73%, 75% { background-position: -612px 0; }
  76%, 81% { background-position: -856.8px 0; }
  88%, 100% { background-position: -367.2px 0; }
}

@keyframes fightSpriteTwoBlock {
  0%, 10% { background-position: -367.2px 0; }
  14%, 18% { background-position: -122.4px 0; }
  28%, 32% { background-position: -612px 0; }
  33%, 36% { background-position: -244.8px 0; }
  43%, 50% { background-position: -612px 0; }
  53%, 56% { background-position: -122.4px 0; }
  57%, 60% { background-position: -612px 0; }
  61%, 64% { background-position: -244.8px 0; }
  65%, 69% { background-position: -612px 0; }
  70%, 72% { background-position: -122.4px 0; }
  73%, 75% { background-position: -612px 0; }
  76%, 81% { background-position: -856.8px 0; }
  88%, 100% { background-position: -367.2px 0; }
}

@keyframes fightFistFlashOneV4 {
  0%, 13%, 16.8%, 30%, 35%, 46%, 50.5%, 76%, 82.5%, 100% { opacity: 0; transform: translate(0, 0) scale(0.45); }
  14.2%, 47.6%, 78.4% { opacity: 1; transform: translate(20px, -2px) scale(1.1); }
  15.4%, 48.8%, 80.2% { opacity: 0.64; transform: translate(34px, -4px) scale(1.85); }
}

@keyframes fightFistFlashOneV3 {
  0%, 13%, 16.8%, 30%, 35%, 46%, 50.5%, 76%, 82.5%, 100% { opacity: 0; transform: translate(0, 0) scale(0.45); }
  14.2%, 47.6%, 78.4% { opacity: 1; transform: translate(20px, -2px) scale(1.1); }
  15.4%, 48.8%, 80.2% { opacity: 0.64; transform: translate(34px, -4px) scale(1.85); }
}

@keyframes fightFistFlashTwoV4 {
  0%, 13%, 18%, 30%, 35.2%, 46%, 50.5%, 76%, 82.5%, 100% { opacity: 0; transform: translate(0, 0) scale(0.45); }
  31.6%, 47.6%, 78.4% { opacity: 1; transform: translate(-20px, -2px) scale(1.1); }
  33%, 48.8%, 80.2% { opacity: 0.64; transform: translate(-34px, -4px) scale(1.85); }
}

@keyframes fightFistFlashTwoV3 {
  0%, 13%, 18%, 30%, 35.2%, 46%, 50.5%, 76%, 82.5%, 100% { opacity: 0; transform: translate(0, 0) scale(0.45); }
  31.6%, 47.6%, 78.4% { opacity: 1; transform: translate(-20px, -2px) scale(1.1); }
  33%, 48.8%, 80.2% { opacity: 0.64; transform: translate(-34px, -4px) scale(1.85); }
}

@keyframes fightWinnerJump {
  0% { transform: translate3d(0, 0, 0) scale(1); }
  18% { transform: translate3d(0, -10px, 0) scale(1.04); }
  36%, 100% { transform: translate3d(0, 0, 0) scale(1); filter: brightness(1.12); }
}

@keyframes fightLoserFallLeft {
  0% { transform: translate3d(0, 0, 0) rotate(0deg); opacity: 1; }
  26% { transform: translate3d(-18px, 4px, 0) rotate(-14deg); opacity: 0.9; }
  58%, 100% { transform: translate3d(-54px, 46px, 0) rotate(-78deg); opacity: 0.72; }
}

@keyframes fightLoserFallRight {
  0% { transform: translate3d(0, 0, 0) rotate(0deg); opacity: 1; }
  26% { transform: translate3d(18px, 4px, 0) rotate(14deg); opacity: 0.9; }
  58%, 100% { transform: translate3d(54px, 46px, 0) rotate(78deg); opacity: 0.72; }
}

@media (max-width: 620px) {
  @keyframes fightOneMoveMobile {
    0%, 8% { transform: translate3d(0, 0, 0) rotate(0deg); filter: brightness(1); }
    14% { transform: translate3d(36px, 0, 0) rotate(3deg) skewX(-5deg); filter: brightness(1.18); }
    19% { transform: translate3d(16px, 0, 0) rotate(-1deg); }
    31% { transform: translate3d(0, 0, 0) rotate(-4deg); }
    42% { transform: translate3d(46px, 0, 0) rotate(3deg); }
    48% { transform: translate3d(24px, 0, 0) rotate(-2deg); }
    55%, 67% { transform: translate3d(34px, 0, 0) rotate(0deg) scale(1.02); filter: brightness(1.12); }
    76% { transform: translate3d(82px, 0, 0) scaleX(0.9); opacity: 0.18; }
    79.5% { transform: translate3d(64px, 0, 0) rotate(5deg) scale(1.06); opacity: 1; }
    92%, 100% { transform: translate3d(30px, 0, 0) rotate(0deg); filter: brightness(1); }
  }

  @keyframes fightTwoMoveMobile {
    0%, 8% { transform: translate3d(0, 0, 0) rotate(0deg); filter: brightness(1); }
    14.2% { transform: translate3d(14px, 0, 0) rotate(5deg); filter: brightness(0.92); }
    28% { transform: translate3d(-24px, 0, 0) rotate(-2deg); }
    31.5% { transform: translate3d(-58px, 0, 0) rotate(-7deg); filter: brightness(1.15); }
    42% { transform: translate3d(-48px, 0, 0) rotate(-4deg); }
    48% { transform: translate3d(-22px, 0, 0) rotate(4deg); }
    55%, 67% { transform: translate3d(-34px, 0, 0) rotate(0deg) scale(1.02); filter: brightness(1.16); }
    78.4% { transform: translate3d(44px, 0, 0) rotate(9deg); filter: brightness(1.25); }
    92%, 100% { transform: translate3d(58px, 0, 0) rotate(6deg); filter: brightness(0.86); }
  }

  @keyframes fightOneKickMoveMobile {
    0%, 8% { transform: translate3d(0, 0, 0) rotate(0deg); }
    14% { transform: translate3d(36px, 0, 0) rotate(4deg); }
    31.6% { transform: translate3d(42px, 0, 0) rotate(5deg); }
    48% { transform: translate3d(12px, 0, 0) rotate(-6deg); filter: brightness(0.86); }
    55%, 67% { transform: translate3d(28px, 0, 0) scale(1.02); }
    77.4% { transform: translate3d(-34px, 0, 0) scaleX(0.9); opacity: 0.2; }
    79.5%, 100% { transform: translate3d(-6px, 0, 0) rotate(-5deg); opacity: 0.9; filter: brightness(0.82); }
  }

  @keyframes fightTwoBlockMoveMobile {
    0%, 8% { transform: translate3d(0, 0, 0) rotate(0deg); }
    14.2% { transform: translate3d(14px, 0, 0) rotate(4deg); }
    31.5% { transform: translate3d(-60px, 0, 0) rotate(-7deg); filter: brightness(1.2); }
    48% { transform: translate3d(-24px, 0, 0) rotate(4deg); }
    55%, 67% { transform: translate3d(-34px, 0, 0) scale(1.02); filter: brightness(1.2); }
    76.5% { transform: translate3d(-88px, 0, 0) scaleX(0.9); opacity: 0.18; }
    79.6% { transform: translate3d(-68px, 0, 0) rotate(-6deg) scale(1.06); opacity: 1; }
    94%, 100% { transform: translate3d(-28px, 0, 0) rotate(0deg); filter: brightness(1); }
  }

  .fight-arena.is-fighting.is-fight-variant-1 .fight-fighter-one,
  .fight-arena.is-fighting.is-fight-variant-3 .fight-fighter-one {
    animation-name: fightOneMoveMobile;
  }

  .fight-arena.is-fighting.is-fight-variant-1 .fight-fighter-two,
  .fight-arena.is-fighting.is-fight-variant-3 .fight-fighter-two {
    animation-name: fightTwoMoveMobile;
  }

  .fight-arena.is-fighting.is-fight-variant-2 .fight-fighter-one,
  .fight-arena.is-fighting.is-fight-variant-4 .fight-fighter-one {
    animation-name: fightOneKickMoveMobile;
  }

  .fight-arena.is-fighting.is-fight-variant-2 .fight-fighter-two,
  .fight-arena.is-fighting.is-fight-variant-4 .fight-fighter-two {
    animation-name: fightTwoBlockMoveMobile;
  }
}

/* CLASHER performance smoothing overrides */
.fight-fighter,
.fighter-left,
.fighter-right {
  backface-visibility: hidden;
  transform: translateZ(0);
  will-change: transform, opacity;
}

.fight-fighter-sprite {
  backface-visibility: hidden;
  transform: translateZ(0);
  will-change: background-position;
}

.fight-arena.fight-started,
.fight-arena.screen-shake {
  animation: none;
}

.fight-arena.fight-started::before,
.fight-arena.fight-started::after {
  content: none;
  animation: none;
}

.fight-arena.is-fighting .fight-fighter-one,
.fight-arena.is-fighting .fight-fighter-two {
  animation-duration: 6s;
  animation-iteration-count: 1;
  animation-timing-function: cubic-bezier(0.28, 0.02, 0.18, 1);
}

.fight-arena.is-fighting .fight-fighter-one::before,
.fight-arena.is-fighting .fight-fighter-two::before {
  animation-duration: 6s;
  animation-iteration-count: 1;
}

.fight-impact,
.hit-effect,
.impact-flash {
  width: 34px;
  height: 34px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.95) 0 12%, rgba(92, 190, 255, 0.62) 13% 34%, transparent 70%);
  box-shadow: 0 0 12px rgba(84, 184, 255, 0.42);
  will-change: transform, opacity;
}

@keyframes fightImpactLeft {
  0%, 29%, 34%, 76%, 83%, 100% { opacity: 0; transform: translate3d(0, 0, 0) scale(0.5); }
  31.2% { opacity: 0.92; transform: translate3d(0, 0, 0) scale(0.9); }
  33.2% { opacity: 0; transform: translate3d(-16px, -5px, 0) scale(2.1); }
  78.4% { opacity: 0.95; transform: translate3d(-20px, -4px, 0) scale(1); }
  81.2% { opacity: 0; transform: translate3d(-50px, -8px, 0) scale(2.35); }
}

@keyframes fightImpactRight {
  0%, 12%, 18%, 45%, 51%, 76%, 83%, 100% { opacity: 0; transform: translate3d(0, 0, 0) scale(0.5); }
  14.2% { opacity: 0.92; transform: translate3d(0, 0, 0) scale(0.9); }
  16.2% { opacity: 0; transform: translate3d(18px, -5px, 0) scale(2.1); }
  47.6% { opacity: 0.88; transform: translate3d(12px, -4px, 0) scale(0.95); }
  49.8% { opacity: 0; transform: translate3d(34px, -6px, 0) scale(1.9); }
  78.4% { opacity: 0.95; transform: translate3d(24px, -5px, 0) scale(1.1); }
  81.2% { opacity: 0; transform: translate3d(54px, -8px, 0) scale(2.4); }
}

@keyframes fightOneMove {
  0%, 8% { transform: translate3d(0, 0, 0) rotate(0deg); opacity: 1; }
  12% { transform: translate3d(42px, 0, 0) rotate(1deg); }
  15% { transform: translate3d(86px, 0, 0) rotate(4deg) skewX(-5deg) scaleX(1.03); }
  19% { transform: translate3d(42px, 0, 0) rotate(-1deg); }
  28% { transform: translate3d(24px, 0, 0) rotate(-2deg); }
  32% { transform: translate3d(2px, 0, 0) rotate(-4deg) skewX(3deg); }
  37% { transform: translate3d(34px, 0, 0) rotate(1deg); }
  43% { transform: translate3d(70px, 0, 0) rotate(3deg) skewX(-4deg); }
  48% { transform: translate3d(42px, 0, 0) rotate(-2deg); }
  55%, 67% { transform: translate3d(54px, 0, 0) rotate(0deg) scale(1.015); }
  74% { transform: translate3d(28px, 0, 0) rotate(-1deg); opacity: 1; }
  76.5% { transform: translate3d(130px, 0, 0) rotate(0deg) scaleX(0.92); opacity: 0.25; }
  79.5% { transform: translate3d(102px, 0, 0) rotate(5deg) scale(1.06); opacity: 1; }
  86% { transform: translate3d(72px, 0, 0) rotate(1deg); }
  100% { transform: translate3d(48px, 0, 0) rotate(0deg); opacity: 1; }
}

@keyframes fightTwoMove {
  0%, 8% { transform: translate3d(0, 0, 0) rotate(0deg); opacity: 1; }
  14.2% { transform: translate3d(18px, 0, 0) rotate(4deg); }
  18% { transform: translate3d(40px, 0, 0) rotate(6deg); }
  28% { transform: translate3d(-36px, 0, 0) rotate(-2deg); }
  31.5% { transform: translate3d(-92px, 0, 0) rotate(-6deg) skewX(6deg); }
  36% { transform: translate3d(-36px, 0, 0) rotate(1deg); }
  43% { transform: translate3d(-72px, 0, 0) rotate(-4deg); }
  48% { transform: translate3d(-36px, 0, 0) rotate(4deg); }
  55%, 67% { transform: translate3d(-54px, 0, 0) rotate(0deg) scale(1.015); }
  75% { transform: translate3d(-24px, 0, 0) rotate(0deg); opacity: 1; }
  78.4% { transform: translate3d(70px, 0, 0) rotate(8deg) skewX(6deg); }
  84% { transform: translate3d(104px, 2px, 0) rotate(9deg); }
  100% { transform: translate3d(90px, 0, 0) rotate(6deg); opacity: 0.9; }
}

@keyframes fightOneKickMove {
  0%, 8% { transform: translate3d(0, 0, 0) rotate(0deg); opacity: 1; }
  13% { transform: translate3d(46px, 0, 0) rotate(2deg); }
  15.5% { transform: translate3d(84px, 0, 0) rotate(5deg) skewX(-5deg); }
  20% { transform: translate3d(42px, 0, 0) rotate(0deg); }
  29% { transform: translate3d(24px, 0, 0) rotate(-2deg); }
  31.6% { transform: translate3d(64px, 0, 0) rotate(4deg); }
  35% { transform: translate3d(84px, 0, 0) rotate(7deg); }
  43% { transform: translate3d(48px, 0, 0) rotate(1deg); }
  48% { transform: translate3d(22px, 0, 0) rotate(-6deg); }
  55%, 67% { transform: translate3d(44px, 0, 0) rotate(0deg) scale(1.015); }
  75% { transform: translate3d(66px, 0, 0) rotate(0deg); opacity: 1; }
  77.4% { transform: translate3d(-52px, 0, 0) rotate(0deg) scaleX(0.92); opacity: 0.25; }
  79.5% { transform: translate3d(8px, 0, 0) rotate(-8deg); opacity: 1; }
  100% { transform: translate3d(-6px, 0, 0) rotate(-5deg); opacity: 0.9; }
}

@keyframes fightTwoBlockMove {
  0%, 8% { transform: translate3d(0, 0, 0) rotate(0deg); opacity: 1; }
  14.2% { transform: translate3d(18px, 0, 0) rotate(4deg); }
  19% { transform: translate3d(38px, 0, 0) rotate(6deg); }
  28% { transform: translate3d(-38px, 0, 0) rotate(-2deg); }
  31.5% { transform: translate3d(-96px, 0, 0) rotate(-7deg) skewX(6deg); }
  36% { transform: translate3d(-40px, 0, 0) rotate(0deg); }
  43% { transform: translate3d(-74px, 0, 0) rotate(-4deg); }
  48% { transform: translate3d(-38px, 0, 0) rotate(4deg); }
  55%, 67% { transform: translate3d(-52px, 0, 0) rotate(0deg) scale(1.015); }
  74% { transform: translate3d(-22px, 0, 0) rotate(0deg); opacity: 1; }
  76.5% { transform: translate3d(-138px, 0, 0) rotate(0deg) scaleX(0.92); opacity: 0.25; }
  79.6% { transform: translate3d(-104px, 0, 0) rotate(-6deg) scale(1.06); opacity: 1; }
  86% { transform: translate3d(-72px, 0, 0) rotate(-1deg); }
  100% { transform: translate3d(-44px, 0, 0) rotate(0deg); opacity: 1; }
}

@keyframes fightFistFlashOneV3 {
  0%, 13%, 17%, 46%, 50%, 76%, 82%, 100% { opacity: 0; transform: translate3d(0, 0, 0) scale(0.55); }
  14.2%, 47.6%, 78.4% { opacity: 0.9; transform: translate3d(18px, -2px, 0) scale(1.05); }
  15.4%, 48.8%, 80.2% { opacity: 0; transform: translate3d(28px, -4px, 0) scale(1.65); }
}

@keyframes fightFistFlashTwoV3 {
  0%, 30%, 35%, 46%, 50%, 76%, 82%, 100% { opacity: 0; transform: translate3d(0, 0, 0) scale(0.55); }
  31.6%, 47.6%, 78.4% { opacity: 0.9; transform: translate3d(-18px, -2px, 0) scale(1.05); }
  33%, 48.8%, 80.2% { opacity: 0; transform: translate3d(-28px, -4px, 0) scale(1.65); }
}

@keyframes fightFistFlashOneV4 {
  0%, 13%, 17%, 46%, 50%, 76%, 82%, 100% { opacity: 0; transform: translate3d(0, 0, 0) scale(0.55); }
  14.2%, 47.6%, 78.4% { opacity: 0.9; transform: translate3d(18px, -2px, 0) scale(1.05); }
  15.4%, 48.8%, 80.2% { opacity: 0; transform: translate3d(28px, -4px, 0) scale(1.65); }
}

@keyframes fightFistFlashTwoV4 {
  0%, 30%, 35%, 46%, 50%, 76%, 82%, 100% { opacity: 0; transform: translate3d(0, 0, 0) scale(0.55); }
  31.6%, 47.6%, 78.4% { opacity: 0.9; transform: translate3d(-18px, -2px, 0) scale(1.05); }
  33%, 48.8%, 80.2% { opacity: 0; transform: translate3d(-28px, -4px, 0) scale(1.65); }
}

@media (max-width: 620px) {
  @keyframes fightOneMoveMobile {
    0%, 8% { transform: translate3d(0, 0, 0) rotate(0deg); opacity: 1; }
    14% { transform: translate3d(34px, 0, 0) rotate(3deg) skewX(-4deg); }
    19% { transform: translate3d(16px, 0, 0) rotate(-1deg); }
    31% { transform: translate3d(0, 0, 0) rotate(-3deg); }
    42% { transform: translate3d(44px, 0, 0) rotate(3deg); }
    48% { transform: translate3d(24px, 0, 0) rotate(-2deg); }
    55%, 67% { transform: translate3d(34px, 0, 0) rotate(0deg) scale(1.015); }
    76% { transform: translate3d(76px, 0, 0) scaleX(0.92); opacity: 0.25; }
    79.5% { transform: translate3d(62px, 0, 0) rotate(5deg) scale(1.05); opacity: 1; }
    100% { transform: translate3d(30px, 0, 0) rotate(0deg); }
  }

  @keyframes fightTwoMoveMobile {
    0%, 8% { transform: translate3d(0, 0, 0) rotate(0deg); opacity: 1; }
    14.2% { transform: translate3d(14px, 0, 0) rotate(5deg); }
    28% { transform: translate3d(-24px, 0, 0) rotate(-2deg); }
    31.5% { transform: translate3d(-56px, 0, 0) rotate(-7deg); }
    42% { transform: translate3d(-46px, 0, 0) rotate(-4deg); }
    48% { transform: translate3d(-22px, 0, 0) rotate(4deg); }
    55%, 67% { transform: translate3d(-34px, 0, 0) rotate(0deg) scale(1.015); }
    78.4% { transform: translate3d(42px, 0, 0) rotate(8deg); }
    100% { transform: translate3d(56px, 0, 0) rotate(6deg); opacity: 0.9; }
  }

  @keyframes fightOneKickMoveMobile {
    0%, 8% { transform: translate3d(0, 0, 0) rotate(0deg); opacity: 1; }
    14% { transform: translate3d(34px, 0, 0) rotate(4deg); }
    31.6% { transform: translate3d(40px, 0, 0) rotate(5deg); }
    48% { transform: translate3d(12px, 0, 0) rotate(-6deg); }
    55%, 67% { transform: translate3d(28px, 0, 0) scale(1.015); }
    77.4% { transform: translate3d(-30px, 0, 0) scaleX(0.92); opacity: 0.25; }
    100% { transform: translate3d(-6px, 0, 0) rotate(-5deg); opacity: 0.9; }
  }

  @keyframes fightTwoBlockMoveMobile {
    0%, 8% { transform: translate3d(0, 0, 0) rotate(0deg); opacity: 1; }
    14.2% { transform: translate3d(14px, 0, 0) rotate(4deg); }
    31.5% { transform: translate3d(-56px, 0, 0) rotate(-7deg); }
    48% { transform: translate3d(-24px, 0, 0) rotate(4deg); }
    55%, 67% { transform: translate3d(-34px, 0, 0) scale(1.015); }
    76.5% { transform: translate3d(-80px, 0, 0) scaleX(0.92); opacity: 0.25; }
    79.6% { transform: translate3d(-66px, 0, 0) rotate(-6deg) scale(1.05); opacity: 1; }
    100% { transform: translate3d(-28px, 0, 0) rotate(0deg); }
  }
}

/* CLASHER contact tuning */
.fight-fighter {
  bottom: 32px;
}

.fight-fighter-sprite {
  transform: translateZ(0) scale(0.9);
  transform-origin: center bottom;
}

.fight-arena.is-fighting .fight-impact-one {
  left: 44%;
  bottom: 158px;
}

.fight-arena.is-fighting .fight-impact-two {
  right: 44%;
  bottom: 158px;
}

@keyframes fightOneMove {
  0%, 8% { transform: translate3d(0, 0, 0) rotate(0deg); opacity: 1; }
  14% { transform: translate3d(92px, -10px, 0) rotate(2deg) scale(1.02); }
  17% { transform: translate3d(150px, -2px, 0) rotate(5deg) skewX(-5deg) scale(1.04); }
  22% { transform: translate3d(80px, 0, 0) rotate(-1deg); }
  30% { transform: translate3d(74px, 0, 0) rotate(-2deg); }
  35% { transform: translate3d(118px, 0, 0) rotate(3deg); }
  39% { transform: translate3d(82px, 0, 0) rotate(-3deg); }
  45% { transform: translate3d(132px, 0, 0) rotate(4deg); }
  50% { transform: translate3d(90px, 0, 0) rotate(-2deg); }
  56%, 68% { transform: translate3d(96px, 0, 0) rotate(0deg) scale(1.01); }
  73% { transform: translate3d(74px, 0, 0) rotate(-1deg); opacity: 1; }
  77% { transform: translate3d(178px, 0, 0) rotate(0deg) scaleX(0.94); opacity: 0.32; }
  80% { transform: translate3d(150px, 0, 0) rotate(6deg) scale(1.05); opacity: 1; }
  87% { transform: translate3d(112px, 0, 0) rotate(1deg); }
  100% { transform: translate3d(82px, 0, 0) rotate(0deg); opacity: 1; }
}

@keyframes fightTwoMove {
  0%, 8% { transform: translate3d(0, 0, 0) rotate(0deg); opacity: 1; }
  13% { transform: translate3d(-64px, 0, 0) rotate(-1deg); }
  17% { transform: translate3d(-124px, 0, 0) rotate(7deg); }
  22% { transform: translate3d(-176px, 2px, 0) rotate(10deg); }
  28% { transform: translate3d(-88px, 0, 0) rotate(-2deg); }
  34% { transform: translate3d(-132px, 0, 0) rotate(-5deg) skewX(5deg); }
  39% { transform: translate3d(-84px, 0, 0) rotate(1deg); }
  45% { transform: translate3d(-124px, 0, 0) rotate(-3deg); }
  50% { transform: translate3d(-88px, 0, 0) rotate(4deg); }
  56%, 68% { transform: translate3d(-96px, 0, 0) rotate(0deg) scale(1.01); }
  74% { transform: translate3d(-82px, 0, 0) rotate(0deg); opacity: 1; }
  78% { transform: translate3d(-140px, 0, 0) rotate(7deg); }
  84% { transform: translate3d(84px, 8px, 0) rotate(15deg); }
  100% { transform: translate3d(116px, 36px, 0) rotate(72deg); opacity: 0.78; }
}

@keyframes fightOneKickMove {
  0%, 8% { transform: translate3d(0, 0, 0) rotate(0deg); opacity: 1; }
  13% { transform: translate3d(44px, 0, 0) rotate(2deg); }
  15.5% { transform: translate3d(76px, 0, 0) rotate(4deg) skewX(-4deg); }
  20% { transform: translate3d(42px, 0, 0) rotate(0deg); }
  29% { transform: translate3d(34px, 0, 0) rotate(-2deg); }
  31.6% { transform: translate3d(56px, 0, 0) rotate(4deg); }
  35% { transform: translate3d(76px, 0, 0) rotate(7deg); }
  43% { transform: translate3d(46px, 0, 0) rotate(1deg); }
  48% { transform: translate3d(36px, 0, 0) rotate(-5deg); }
  55%, 67% { transform: translate3d(46px, 0, 0) rotate(0deg) scale(1.01); }
  75% { transform: translate3d(58px, 0, 0) rotate(0deg); opacity: 1; }
  77.4% { transform: translate3d(-34px, 0, 0) rotate(0deg) scaleX(0.94); opacity: 0.28; }
  79.5% { transform: translate3d(18px, 0, 0) rotate(-7deg); opacity: 1; }
  100% { transform: translate3d(8px, 0, 0) rotate(-4deg); opacity: 0.9; }
}

@keyframes fightTwoBlockMove {
  0%, 8% { transform: translate3d(0, 0, 0) rotate(0deg); opacity: 1; }
  13% { transform: translate3d(-26px, 0, 0) rotate(-1deg); }
  14.2% { transform: translate3d(-50px, 0, 0) rotate(4deg); }
  19% { transform: translate3d(-18px, 0, 0) rotate(5deg); }
  28% { transform: translate3d(-42px, 0, 0) rotate(-2deg); }
  31.5% { transform: translate3d(-80px, 0, 0) rotate(-6deg) skewX(5deg); }
  36% { transform: translate3d(-42px, 0, 0) rotate(0deg); }
  43% { transform: translate3d(-72px, 0, 0) rotate(-3deg); }
  48% { transform: translate3d(-50px, 0, 0) rotate(4deg); }
  55%, 67% { transform: translate3d(-56px, 0, 0) rotate(0deg) scale(1.01); }
  74% { transform: translate3d(-42px, 0, 0) rotate(0deg); opacity: 1; }
  76.5% { transform: translate3d(-118px, 0, 0) rotate(0deg) scaleX(0.94); opacity: 0.28; }
  79.6% { transform: translate3d(-86px, 0, 0) rotate(-5deg) scale(1.04); opacity: 1; }
  86% { transform: translate3d(-62px, 0, 0) rotate(-1deg); }
  100% { transform: translate3d(-44px, 0, 0) rotate(0deg); opacity: 1; }
}

@media (max-width: 620px) {
  .fight-fighter {
    bottom: 20px;
  }

  .fight-fighter-sprite {
    transform: translateZ(0) scale(0.88);
  }

  .fight-arena.is-fighting .fight-impact-one {
    left: 43%;
    bottom: 132px;
  }

  .fight-arena.is-fighting .fight-impact-two {
    right: 43%;
    bottom: 132px;
  }

  @keyframes fightOneMoveMobile {
    0%, 8% { transform: translate3d(0, 0, 0) rotate(0deg); opacity: 1; }
    14% { transform: translate3d(66px, -8px, 0) rotate(2deg); }
    17% { transform: translate3d(104px, -2px, 0) rotate(5deg) skewX(-4deg); }
    22% { transform: translate3d(60px, 0, 0) rotate(-1deg); }
    34% { transform: translate3d(78px, 0, 0) rotate(3deg); }
    45% { transform: translate3d(88px, 0, 0) rotate(4deg); }
    55%, 68% { transform: translate3d(66px, 0, 0) scale(1.01); }
    77% { transform: translate3d(118px, 0, 0) scaleX(0.94); opacity: 0.32; }
    80% { transform: translate3d(100px, 0, 0) rotate(5deg) scale(1.04); opacity: 1; }
    100% { transform: translate3d(62px, 0, 0) rotate(0deg); }
  }

  @keyframes fightTwoMoveMobile {
    0%, 8% { transform: translate3d(0, 0, 0) rotate(0deg); opacity: 1; }
    13% { transform: translate3d(-54px, 0, 0) rotate(-1deg); }
    17% { transform: translate3d(-96px, 0, 0) rotate(7deg); }
    22% { transform: translate3d(-128px, 2px, 0) rotate(10deg); }
    34% { transform: translate3d(-86px, 0, 0) rotate(-6deg); }
    45% { transform: translate3d(-86px, 0, 0) rotate(-3deg); }
    55%, 68% { transform: translate3d(-66px, 0, 0) scale(1.01); }
    78% { transform: translate3d(-98px, 0, 0) rotate(7deg); }
    84% { transform: translate3d(52px, 8px, 0) rotate(14deg); }
    100% { transform: translate3d(76px, 32px, 0) rotate(70deg); opacity: 0.78; }
  }

  @keyframes fightOneKickMoveMobile {
    0%, 8% { transform: translate3d(0, 0, 0) rotate(0deg); opacity: 1; }
    14% { transform: translate3d(46px, 0, 0) rotate(4deg); }
    31.6% { transform: translate3d(48px, 0, 0) rotate(4deg); }
    48% { transform: translate3d(30px, 0, 0) rotate(-5deg); }
    55%, 67% { transform: translate3d(34px, 0, 0) scale(1.01); }
    77.4% { transform: translate3d(-20px, 0, 0) scaleX(0.94); opacity: 0.28; }
    100% { transform: translate3d(6px, 0, 0) rotate(-4deg); opacity: 0.9; }
  }

  @keyframes fightTwoBlockMoveMobile {
    0%, 8% { transform: translate3d(0, 0, 0) rotate(0deg); opacity: 1; }
    14.2% { transform: translate3d(-46px, 0, 0) rotate(4deg); }
    31.5% { transform: translate3d(-58px, 0, 0) rotate(-6deg); }
    48% { transform: translate3d(-38px, 0, 0) rotate(4deg); }
    55%, 67% { transform: translate3d(-40px, 0, 0) scale(1.01); }
    76.5% { transform: translate3d(-76px, 0, 0) scaleX(0.94); opacity: 0.28; }
    79.6% { transform: translate3d(-62px, 0, 0) rotate(-5deg) scale(1.04); opacity: 1; }
    100% { transform: translate3d(-32px, 0, 0) rotate(0deg); }
  }
}
/* CLASHER final readable fight pass */
.fight-arena.is-fighting.is-fight-variant-1 .fight-fighter-one,
.fight-arena.is-fighting.is-fight-variant-3 .fight-fighter-one {
  z-index: 3;
  animation-name: fightOneMove;
}

.fight-arena.is-fighting.is-fight-variant-1 .fight-fighter-two,
.fight-arena.is-fighting.is-fight-variant-3 .fight-fighter-two {
  z-index: 2;
  animation-name: fightTwoMove;
}

.fight-arena.is-fighting.is-fight-variant-2 .fight-fighter-one,
.fight-arena.is-fighting.is-fight-variant-4 .fight-fighter-one {
  z-index: 2;
  animation-name: fightOneKickMove;
}

.fight-arena.is-fighting.is-fight-variant-2 .fight-fighter-two,
.fight-arena.is-fighting.is-fight-variant-4 .fight-fighter-two {
  z-index: 3;
  animation-name: fightTwoBlockMove;
}

.fight-arena.is-fighting .fight-impact-one,
.fight-arena.is-fighting .fight-impact-two {
  bottom: 146px;
}

.fight-arena.is-fighting .fight-impact-one {
  left: 48%;
}

.fight-arena.is-fighting .fight-impact-two {
  right: 48%;
}

@keyframes fightOneMove {
  0%, 8% { transform: translate3d(0, 0, 0) rotate(0deg); opacity: 1; }
  12% { transform: translate3d(54px, 0, 0) rotate(1deg); }
  16.5% { transform: translate3d(100px, -8px, 0) rotate(4deg) skewX(-4deg) scale(1.03); }
  21% { transform: translate3d(70px, 0, 0) rotate(-1deg); }
  28% { transform: translate3d(76px, 0, 0) rotate(0deg); }
  34% { transform: translate3d(96px, 0, 0) rotate(3deg); }
  39% { transform: translate3d(72px, 0, 0) rotate(-2deg); }
  46% { transform: translate3d(102px, 0, 0) rotate(4deg); }
  52% { transform: translate3d(78px, 0, 0) rotate(-1deg); }
  60%, 69% { transform: translate3d(84px, 0, 0) rotate(0deg) scale(1.01); }
  74% { transform: translate3d(66px, 0, 0) rotate(-2deg); }
  79% { transform: translate3d(108px, 0, 0) rotate(5deg) scale(1.04); }
  87% { transform: translate3d(82px, 0, 0) rotate(1deg); }
  100% { transform: translate3d(66px, 0, 0) rotate(0deg); opacity: 1; }
}

@keyframes fightTwoMove {
  0%, 8% { transform: translate3d(0, 0, 0) rotate(0deg); opacity: 1; }
  12% { transform: translate3d(-54px, 0, 0) rotate(-1deg); }
  16.5% { transform: translate3d(-96px, 0, 0) rotate(5deg); }
  21% { transform: translate3d(24px, 2px, 0) rotate(8deg); }
  28% { transform: translate3d(-62px, 0, 0) rotate(-1deg); }
  34% { transform: translate3d(-94px, 0, 0) rotate(-4deg); }
  39% { transform: translate3d(-62px, 0, 0) rotate(2deg); }
  46% { transform: translate3d(-94px, 0, 0) rotate(-3deg); }
  52% { transform: translate3d(-66px, 0, 0) rotate(3deg); }
  60%, 69% { transform: translate3d(-82px, 0, 0) rotate(0deg) scale(1.01); }
  74% { transform: translate3d(-64px, 0, 0) rotate(0deg); }
  79% { transform: translate3d(-94px, 0, 0) rotate(6deg); }
  85% { transform: translate3d(52px, 8px, 0) rotate(18deg); }
  100% { transform: translate3d(76px, 38px, 0) rotate(68deg); opacity: 0.78; }
}

@keyframes fightOneKickMove {
  0%, 8% { transform: translate3d(0, 0, 0) rotate(0deg); opacity: 1; }
  12% { transform: translate3d(54px, 0, 0) rotate(1deg); }
  16.5% { transform: translate3d(94px, 0, 0) rotate(5deg); }
  21% { transform: translate3d(-18px, 2px, 0) rotate(-8deg); }
  28% { transform: translate3d(58px, 0, 0) rotate(0deg); }
  34% { transform: translate3d(90px, 0, 0) rotate(4deg); }
  39% { transform: translate3d(58px, 0, 0) rotate(-2deg); }
  46% { transform: translate3d(90px, 0, 0) rotate(3deg); }
  52% { transform: translate3d(62px, 0, 0) rotate(-3deg); }
  60%, 69% { transform: translate3d(78px, 0, 0) scale(1.01); }
  74% { transform: translate3d(62px, 0, 0) rotate(0deg); }
  79% { transform: translate3d(90px, 0, 0) rotate(6deg); }
  85% { transform: translate3d(-48px, 8px, 0) rotate(-18deg); }
  100% { transform: translate3d(-72px, 38px, 0) rotate(-68deg); opacity: 0.78; }
}

@keyframes fightTwoBlockMove {
  0%, 8% { transform: translate3d(0, 0, 0) rotate(0deg); opacity: 1; }
  12% { transform: translate3d(-54px, 0, 0) rotate(-1deg); }
  16.5% { transform: translate3d(-96px, -8px, 0) rotate(-4deg) skewX(4deg) scale(1.03); }
  21% { transform: translate3d(-70px, 0, 0) rotate(1deg); }
  28% { transform: translate3d(-76px, 0, 0) rotate(0deg); }
  34% { transform: translate3d(-96px, 0, 0) rotate(-3deg); }
  39% { transform: translate3d(-72px, 0, 0) rotate(2deg); }
  46% { transform: translate3d(-102px, 0, 0) rotate(-4deg); }
  52% { transform: translate3d(-78px, 0, 0) rotate(1deg); }
  60%, 69% { transform: translate3d(-84px, 0, 0) rotate(0deg) scale(1.01); }
  74% { transform: translate3d(-66px, 0, 0) rotate(2deg); }
  79% { transform: translate3d(-108px, 0, 0) rotate(-5deg) scale(1.04); }
  87% { transform: translate3d(-82px, 0, 0) rotate(-1deg); }
  100% { transform: translate3d(-66px, 0, 0) rotate(0deg); opacity: 1; }
}

@media (max-width: 620px) {
  .fight-arena.is-fighting.is-fight-variant-1 .fight-fighter-one,
  .fight-arena.is-fighting.is-fight-variant-3 .fight-fighter-one {
    animation-name: fightOneMoveMobile;
  }

  .fight-arena.is-fighting.is-fight-variant-1 .fight-fighter-two,
  .fight-arena.is-fighting.is-fight-variant-3 .fight-fighter-two {
    animation-name: fightTwoMoveMobile;
  }

  .fight-arena.is-fighting.is-fight-variant-2 .fight-fighter-one,
  .fight-arena.is-fighting.is-fight-variant-4 .fight-fighter-one {
    animation-name: fightOneKickMoveMobile;
  }

  .fight-arena.is-fighting.is-fight-variant-2 .fight-fighter-two,
  .fight-arena.is-fighting.is-fight-variant-4 .fight-fighter-two {
    animation-name: fightTwoBlockMoveMobile;
  }

  .fight-arena.is-fighting .fight-impact-one,
  .fight-arena.is-fighting .fight-impact-two {
    bottom: 130px;
  }

  @keyframes fightOneMoveMobile {
    0%, 8% { transform: translate3d(0, 0, 0) rotate(0deg); opacity: 1; }
    12% { transform: translate3d(34px, 0, 0) rotate(1deg); }
    16.5% { transform: translate3d(72px, -6px, 0) rotate(4deg) skewX(-4deg); }
    21% { transform: translate3d(50px, 0, 0) rotate(-1deg); }
    34% { transform: translate3d(70px, 0, 0) rotate(3deg); }
    46% { transform: translate3d(74px, 0, 0) rotate(4deg); }
    60%, 69% { transform: translate3d(58px, 0, 0) scale(1.01); }
    79% { transform: translate3d(76px, 0, 0) rotate(5deg) scale(1.03); }
    100% { transform: translate3d(48px, 0, 0) rotate(0deg); }
  }

  @keyframes fightTwoMoveMobile {
    0%, 8% { transform: translate3d(0, 0, 0) rotate(0deg); opacity: 1; }
    12% { transform: translate3d(-34px, 0, 0) rotate(-1deg); }
    16.5% { transform: translate3d(-72px, 0, 0) rotate(5deg); }
    21% { transform: translate3d(18px, 2px, 0) rotate(8deg); }
    34% { transform: translate3d(-68px, 0, 0) rotate(-4deg); }
    46% { transform: translate3d(-70px, 0, 0) rotate(-3deg); }
    60%, 69% { transform: translate3d(-58px, 0, 0) scale(1.01); }
    79% { transform: translate3d(-70px, 0, 0) rotate(6deg); }
    85% { transform: translate3d(38px, 7px, 0) rotate(18deg); }
    100% { transform: translate3d(54px, 32px, 0) rotate(66deg); opacity: 0.78; }
  }

  @keyframes fightOneKickMoveMobile {
    0%, 8% { transform: translate3d(0, 0, 0) rotate(0deg); opacity: 1; }
    12% { transform: translate3d(34px, 0, 0) rotate(1deg); }
    16.5% { transform: translate3d(68px, 0, 0) rotate(5deg); }
    21% { transform: translate3d(-14px, 2px, 0) rotate(-8deg); }
    34% { transform: translate3d(64px, 0, 0) rotate(4deg); }
    46% { transform: translate3d(66px, 0, 0) rotate(3deg); }
    60%, 69% { transform: translate3d(54px, 0, 0) scale(1.01); }
    79% { transform: translate3d(68px, 0, 0) rotate(6deg); }
    85% { transform: translate3d(-36px, 7px, 0) rotate(-18deg); }
    100% { transform: translate3d(-52px, 32px, 0) rotate(-66deg); opacity: 0.78; }
  }

  @keyframes fightTwoBlockMoveMobile {
    0%, 8% { transform: translate3d(0, 0, 0) rotate(0deg); opacity: 1; }
    12% { transform: translate3d(-34px, 0, 0) rotate(-1deg); }
    16.5% { transform: translate3d(-72px, -6px, 0) rotate(-4deg) skewX(4deg); }
    21% { transform: translate3d(-50px, 0, 0) rotate(1deg); }
    34% { transform: translate3d(-70px, 0, 0) rotate(-3deg); }
    46% { transform: translate3d(-74px, 0, 0) rotate(-4deg); }
    60%, 69% { transform: translate3d(-58px, 0, 0) scale(1.01); }
    79% { transform: translate3d(-76px, 0, 0) rotate(-5deg) scale(1.03); }
    100% { transform: translate3d(-48px, 0, 0) rotate(0deg); }
  }
}
/* CLASHER sparring distance pass */
.fight-arena.is-fighting .fight-impact-one {
  left: 45%;
}

.fight-arena.is-fighting .fight-impact-two {
  right: 45%;
}

@keyframes fightOneMove {
  0%, 8% { transform: translate3d(0, 0, 0) rotate(0deg); opacity: 1; }
  12% { transform: translate3d(34px, 0, 0) rotate(1deg); }
  16.5% { transform: translate3d(70px, -7px, 0) rotate(4deg) skewX(-4deg) scale(1.03); }
  21% { transform: translate3d(42px, 0, 0) rotate(-1deg); }
  24% { transform: translate3d(50px, 0, 0) rotate(1deg); }
  26% { transform: translate3d(68px, -1px, 0) rotate(4deg) skewX(-5deg); }
  28% { transform: translate3d(46px, 0, 0) rotate(-3deg); }
  30% { transform: translate3d(64px, 1px, 0) rotate(3deg) skewX(-4deg); }
  32% { transform: translate3d(44px, 0, 0) rotate(-3deg); }
  34% { transform: translate3d(72px, -2px, 0) rotate(4deg) skewX(-5deg); }
  36% { transform: translate3d(46px, 0, 0) rotate(-4deg); }
  38% { transform: translate3d(66px, 1px, 0) rotate(3deg) skewX(-4deg); }
  40% { transform: translate3d(42px, 0, 0) rotate(-4deg); }
  42% { transform: translate3d(70px, -1px, 0) rotate(4deg) skewX(-4deg); }
  44% { transform: translate3d(46px, 0, 0) rotate(-2deg); }
  46% { transform: translate3d(72px, -1px, 0) rotate(4deg) skewX(-4deg); }
  48% { transform: translate3d(48px, 0, 0) rotate(-1deg); }
  50% { transform: translate3d(68px, 1px, 0) rotate(3deg); }
  52% { transform: translate3d(52px, 0, 0) rotate(1deg); }
  54% { transform: translate3d(66px, -1px, 0) rotate(3deg) skewX(-3deg); }
  56% { transform: translate3d(48px, 0, 0) rotate(-2deg); }
  58% { transform: translate3d(68px, 1px, 0) rotate(3deg); }
  60% { transform: translate3d(50px, 0, 0) rotate(-2deg); }
  62% { transform: translate3d(70px, -1px, 0) rotate(4deg) skewX(-4deg); }
  64% { transform: translate3d(52px, 0, 0) rotate(-1deg); }
  66% { transform: translate3d(68px, 1px, 0) rotate(3deg); }
  69% { transform: translate3d(54px, 0, 0) rotate(0deg) scale(1.01); }
  71% { transform: translate3d(70px, -1px, 0) rotate(4deg) skewX(-4deg); }
  73% { transform: translate3d(46px, 0, 0) rotate(-3deg); }
  75% { transform: translate3d(72px, -1px, 0) rotate(4deg) skewX(-4deg); }
  77% { transform: translate3d(50px, 0, 0) rotate(-2deg); }
  79% { transform: translate3d(76px, 0, 0) rotate(5deg) scale(1.04); }
  87% { transform: translate3d(54px, 0, 0) rotate(1deg); }
  100% { transform: translate3d(42px, 0, 0) rotate(0deg); opacity: 1; }
}

@keyframes fightTwoMove {
  0%, 8% { transform: translate3d(0, 0, 0) rotate(0deg); opacity: 1; }
  12% { transform: translate3d(-34px, 0, 0) rotate(-1deg); }
  16.5% { transform: translate3d(-66px, 0, 0) rotate(5deg); }
  21% { transform: translate3d(32px, 2px, 0) rotate(8deg); }
  24% { transform: translate3d(-48px, 0, 0) rotate(-1deg); }
  26% { transform: translate3d(-30px, 1px, 0) rotate(5deg); }
  28% { transform: translate3d(-58px, 0, 0) rotate(-3deg); }
  30% { transform: translate3d(-74px, -1px, 0) rotate(-4deg) skewX(4deg); }
  32% { transform: translate3d(-46px, 0, 0) rotate(4deg); }
  34% { transform: translate3d(-64px, 0, 0) rotate(-3deg); }
  36% { transform: translate3d(-36px, 1px, 0) rotate(5deg); }
  38% { transform: translate3d(-66px, 0, 0) rotate(-3deg); }
  40% { transform: translate3d(-76px, -1px, 0) rotate(-4deg) skewX(4deg); }
  42% { transform: translate3d(-44px, 0, 0) rotate(4deg); }
  44% { transform: translate3d(-62px, 0, 0) rotate(-2deg); }
  46% { transform: translate3d(-38px, 1px, 0) rotate(5deg); }
  48% { transform: translate3d(-66px, 0, 0) rotate(-3deg); }
  50% { transform: translate3d(-42px, 1px, 0) rotate(4deg); }
  52% { transform: translate3d(-54px, 0, 0) rotate(2deg); }
  54% { transform: translate3d(-38px, 1px, 0) rotate(5deg); }
  56% { transform: translate3d(-66px, 0, 0) rotate(-3deg); }
  58% { transform: translate3d(-42px, 1px, 0) rotate(4deg); }
  60% { transform: translate3d(-64px, 0, 0) rotate(-2deg); }
  62% { transform: translate3d(-38px, 1px, 0) rotate(5deg); }
  64% { transform: translate3d(-66px, 0, 0) rotate(-3deg); }
  66% { transform: translate3d(-44px, 1px, 0) rotate(4deg); }
  69% { transform: translate3d(-54px, 0, 0) rotate(0deg) scale(1.01); }
  71% { transform: translate3d(-38px, 1px, 0) rotate(5deg); }
  73% { transform: translate3d(-66px, 0, 0) rotate(-3deg); }
  75% { transform: translate3d(-40px, 1px, 0) rotate(5deg); }
  77% { transform: translate3d(-64px, 0, 0) rotate(-3deg); }
  79% { transform: translate3d(-66px, 0, 0) rotate(6deg); }
  85% { transform: translate3d(60px, 8px, 0) rotate(18deg); }
  100% { transform: translate3d(86px, 38px, 0) rotate(68deg); opacity: 0.78; }
}

@keyframes fightOneKickMove {
  0%, 8% { transform: translate3d(0, 0, 0) rotate(0deg); opacity: 1; }
  12% { transform: translate3d(34px, 0, 0) rotate(1deg); }
  16.5% { transform: translate3d(66px, 0, 0) rotate(5deg); }
  21% { transform: translate3d(-26px, 2px, 0) rotate(-8deg); }
  24% { transform: translate3d(42px, 0, 0) rotate(1deg); }
  27% { transform: translate3d(66px, -1px, 0) rotate(4deg) skewX(-4deg); }
  30% { transform: translate3d(38px, 0, 0) rotate(-4deg); }
  33% { transform: translate3d(64px, 0, 0) rotate(3deg); }
  36% { transform: translate3d(40px, 0, 0) rotate(-3deg); }
  39% { transform: translate3d(66px, -1px, 0) rotate(4deg) skewX(-4deg); }
  42% { transform: translate3d(38px, 0, 0) rotate(-4deg); }
  45% { transform: translate3d(64px, 0, 0) rotate(3deg); }
  48% { transform: translate3d(66px, -1px, 0) rotate(4deg) skewX(-4deg); }
  52% { transform: translate3d(42px, 0, 0) rotate(-2deg); }
  54% { transform: translate3d(66px, -1px, 0) rotate(4deg) skewX(-4deg); }
  56% { transform: translate3d(40px, 0, 0) rotate(-3deg); }
  58% { transform: translate3d(64px, 0, 0) rotate(3deg); }
  60% { transform: translate3d(42px, 0, 0) rotate(-2deg); }
  62% { transform: translate3d(66px, -1px, 0) rotate(4deg) skewX(-4deg); }
  64% { transform: translate3d(40px, 0, 0) rotate(-3deg); }
  66% { transform: translate3d(62px, 0, 0) rotate(3deg); }
  69% { transform: translate3d(52px, 0, 0) scale(1.01); }
  71% { transform: translate3d(66px, -1px, 0) rotate(4deg) skewX(-4deg); }
  73% { transform: translate3d(40px, 0, 0) rotate(-3deg); }
  75% { transform: translate3d(64px, -1px, 0) rotate(4deg) skewX(-4deg); }
  77% { transform: translate3d(42px, 0, 0) rotate(-2deg); }
  79% { transform: translate3d(66px, 0, 0) rotate(6deg); }
  85% { transform: translate3d(-56px, 8px, 0) rotate(-18deg); }
  100% { transform: translate3d(-82px, 38px, 0) rotate(-68deg); opacity: 0.78; }
}

@keyframes fightTwoBlockMove {
  0%, 8% { transform: translate3d(0, 0, 0) rotate(0deg); opacity: 1; }
  12% { transform: translate3d(-34px, 0, 0) rotate(-1deg); }
  16.5% { transform: translate3d(-70px, -7px, 0) rotate(-4deg) skewX(4deg) scale(1.03); }
  21% { transform: translate3d(-42px, 0, 0) rotate(1deg); }
  24% { transform: translate3d(-48px, 0, 0) rotate(1deg); }
  27% { transform: translate3d(-34px, 0, 0) rotate(5deg); }
  30% { transform: translate3d(-66px, 0, 0) rotate(-3deg); }
  33% { transform: translate3d(-44px, 0, 0) rotate(3deg); }
  36% { transform: translate3d(-72px, 0, 0) rotate(-4deg); }
  39% { transform: translate3d(-42px, 1px, 0) rotate(5deg); }
  42% { transform: translate3d(-68px, 0, 0) rotate(-3deg); }
  45% { transform: translate3d(-42px, 0, 0) rotate(4deg); }
  48% { transform: translate3d(-42px, 1px, 0) rotate(5deg); }
  52% { transform: translate3d(-52px, 0, 0) rotate(1deg); }
  54% { transform: translate3d(-38px, 1px, 0) rotate(5deg); }
  56% { transform: translate3d(-66px, 0, 0) rotate(-3deg); }
  58% { transform: translate3d(-42px, 1px, 0) rotate(4deg); }
  60% { transform: translate3d(-64px, 0, 0) rotate(-3deg); }
  62% { transform: translate3d(-36px, 1px, 0) rotate(5deg); }
  64% { transform: translate3d(-66px, 0, 0) rotate(-3deg); }
  66% { transform: translate3d(-44px, 1px, 0) rotate(4deg); }
  69% { transform: translate3d(-54px, 0, 0) rotate(0deg) scale(1.01); }
  71% { transform: translate3d(-38px, 1px, 0) rotate(5deg); }
  73% { transform: translate3d(-66px, 0, 0) rotate(-3deg); }
  75% { transform: translate3d(-40px, 1px, 0) rotate(5deg); }
  77% { transform: translate3d(-66px, 0, 0) rotate(-3deg); }
  79% { transform: translate3d(-76px, 0, 0) rotate(-5deg) scale(1.04); }
  87% { transform: translate3d(-54px, 0, 0) rotate(-1deg); }
  100% { transform: translate3d(-42px, 0, 0) rotate(0deg); opacity: 1; }
}

@media (max-width: 620px) {
  .fight-fighter {
    bottom: 28px;
  }

  .fight-arena.is-fighting .fight-impact-one {
    left: 46%;
    bottom: 136px;
  }

  .fight-arena.is-fighting .fight-impact-two {
    right: 46%;
    bottom: 136px;
  }

  @keyframes fightOneMoveMobile {
    0%, 8% { transform: translate3d(0, 0, 0) rotate(0deg); opacity: 1; }
    12% { transform: translate3d(22px, 0, 0) rotate(1deg); }
    16.5% { transform: translate3d(52px, -5px, 0) rotate(4deg) skewX(-4deg); }
    21% { transform: translate3d(34px, 0, 0) rotate(-1deg); }
    31% { transform: translate3d(38px, 0, 0) rotate(-1deg); }
    33.5% { transform: translate3d(58px, -1px, 0) rotate(4deg) skewX(-4deg); }
    36% { transform: translate3d(36px, 0, 0) rotate(-3deg); }
    39% { transform: translate3d(32px, 0, 0) rotate(-4deg); }
    41.5% { transform: translate3d(54px, 1px, 0) rotate(3deg) skewX(-4deg); }
    44% { transform: translate3d(36px, 0, 0) rotate(-2deg); }
    47% { transform: translate3d(56px, -1px, 0) rotate(4deg) skewX(-4deg); }
    50% { transform: translate3d(38px, 0, 0) rotate(-1deg); }
    52% { transform: translate3d(44px, 0, 0) rotate(1deg); }
    54% { transform: translate3d(54px, -1px, 0) rotate(3deg) skewX(-3deg); }
    56% { transform: translate3d(36px, 0, 0) rotate(-2deg); }
    58% { transform: translate3d(54px, 1px, 0) rotate(3deg); }
    60% { transform: translate3d(38px, 0, 0) rotate(-2deg); }
    62% { transform: translate3d(56px, -1px, 0) rotate(4deg) skewX(-4deg); }
    64% { transform: translate3d(40px, 0, 0) rotate(-1deg); }
    66% { transform: translate3d(54px, 1px, 0) rotate(3deg); }
    69% { transform: translate3d(42px, 0, 0) scale(1.01); }
    71% { transform: translate3d(56px, -1px, 0) rotate(4deg) skewX(-4deg); }
    73% { transform: translate3d(36px, 0, 0) rotate(-3deg); }
    75% { transform: translate3d(56px, -1px, 0) rotate(4deg) skewX(-4deg); }
    77% { transform: translate3d(40px, 0, 0) rotate(-2deg); }
    79% { transform: translate3d(56px, 0, 0) rotate(5deg) scale(1.03); }
    100% { transform: translate3d(36px, 0, 0) rotate(0deg); }
  }

  @keyframes fightTwoMoveMobile {
    0%, 8% { transform: translate3d(0, 0, 0) rotate(0deg); opacity: 1; }
    12% { transform: translate3d(-22px, 0, 0) rotate(-1deg); }
    16.5% { transform: translate3d(-52px, 0, 0) rotate(5deg); }
    21% { transform: translate3d(24px, 2px, 0) rotate(8deg); }
    31% { transform: translate3d(-38px, 0, 0) rotate(1deg); }
    33.5% { transform: translate3d(-28px, 1px, 0) rotate(5deg); }
    36% { transform: translate3d(-46px, 0, 0) rotate(-3deg); }
    39% { transform: translate3d(-56px, -1px, 0) rotate(-4deg) skewX(4deg); }
    41.5% { transform: translate3d(-36px, 0, 0) rotate(4deg); }
    44% { transform: translate3d(-50px, 0, 0) rotate(-2deg); }
    47% { transform: translate3d(-32px, 1px, 0) rotate(5deg); }
    50% { transform: translate3d(-52px, 0, 0) rotate(-3deg); }
    52% { transform: translate3d(-42px, 0, 0) rotate(2deg); }
    54% { transform: translate3d(-32px, 1px, 0) rotate(5deg); }
    56% { transform: translate3d(-52px, 0, 0) rotate(-3deg); }
    58% { transform: translate3d(-34px, 1px, 0) rotate(4deg); }
    60% { transform: translate3d(-50px, 0, 0) rotate(-2deg); }
    62% { transform: translate3d(-30px, 1px, 0) rotate(5deg); }
    64% { transform: translate3d(-52px, 0, 0) rotate(-3deg); }
    66% { transform: translate3d(-36px, 1px, 0) rotate(4deg); }
    69% { transform: translate3d(-42px, 0, 0) scale(1.01); }
    71% { transform: translate3d(-30px, 1px, 0) rotate(5deg); }
    73% { transform: translate3d(-52px, 0, 0) rotate(-3deg); }
    75% { transform: translate3d(-32px, 1px, 0) rotate(5deg); }
    77% { transform: translate3d(-50px, 0, 0) rotate(-3deg); }
    79% { transform: translate3d(-52px, 0, 0) rotate(6deg); }
    85% { transform: translate3d(44px, 7px, 0) rotate(18deg); }
    100% { transform: translate3d(62px, 32px, 0) rotate(66deg); opacity: 0.78; }
  }

  @keyframes fightOneKickMoveMobile {
    0%, 8% { transform: translate3d(0, 0, 0) rotate(0deg); opacity: 1; }
    12% { transform: translate3d(22px, 0, 0) rotate(1deg); }
    16.5% { transform: translate3d(50px, 0, 0) rotate(5deg); }
    21% { transform: translate3d(-20px, 2px, 0) rotate(-8deg); }
    24% { transform: translate3d(34px, 0, 0) rotate(1deg); }
    27% { transform: translate3d(52px, -1px, 0) rotate(4deg) skewX(-4deg); }
    30% { transform: translate3d(30px, 0, 0) rotate(-4deg); }
    33% { transform: translate3d(50px, 0, 0) rotate(3deg); }
    36% { transform: translate3d(32px, 0, 0) rotate(-3deg); }
    39% { transform: translate3d(52px, -1px, 0) rotate(4deg) skewX(-4deg); }
    42% { transform: translate3d(30px, 0, 0) rotate(-4deg); }
    45% { transform: translate3d(50px, 0, 0) rotate(3deg); }
    48% { transform: translate3d(52px, -1px, 0) rotate(4deg) skewX(-4deg); }
    52% { transform: translate3d(34px, 0, 0) rotate(-2deg); }
    54% { transform: translate3d(52px, -1px, 0) rotate(4deg) skewX(-4deg); }
    56% { transform: translate3d(32px, 0, 0) rotate(-3deg); }
    58% { transform: translate3d(50px, 0, 0) rotate(3deg); }
    60% { transform: translate3d(34px, 0, 0) rotate(-2deg); }
    62% { transform: translate3d(52px, -1px, 0) rotate(4deg) skewX(-4deg); }
    64% { transform: translate3d(32px, 0, 0) rotate(-3deg); }
    66% { transform: translate3d(50px, 0, 0) rotate(3deg); }
    69% { transform: translate3d(40px, 0, 0) scale(1.01); }
    71% { transform: translate3d(52px, -1px, 0) rotate(4deg) skewX(-4deg); }
    73% { transform: translate3d(32px, 0, 0) rotate(-3deg); }
    75% { transform: translate3d(50px, -1px, 0) rotate(4deg) skewX(-4deg); }
    77% { transform: translate3d(34px, 0, 0) rotate(-2deg); }
    79% { transform: translate3d(52px, 0, 0) rotate(6deg); }
    85% { transform: translate3d(-44px, 7px, 0) rotate(-18deg); }
    100% { transform: translate3d(-62px, 32px, 0) rotate(-66deg); opacity: 0.78; }
  }

  @keyframes fightTwoBlockMoveMobile {
    0%, 8% { transform: translate3d(0, 0, 0) rotate(0deg); opacity: 1; }
    12% { transform: translate3d(-22px, 0, 0) rotate(-1deg); }
    16.5% { transform: translate3d(-52px, -5px, 0) rotate(-4deg) skewX(4deg); }
    21% { transform: translate3d(-34px, 0, 0) rotate(1deg); }
    24% { transform: translate3d(-38px, 0, 0) rotate(1deg); }
    27% { transform: translate3d(-26px, 0, 0) rotate(5deg); }
    30% { transform: translate3d(-52px, 0, 0) rotate(-3deg); }
    33% { transform: translate3d(-34px, 0, 0) rotate(3deg); }
    36% { transform: translate3d(-56px, 0, 0) rotate(-4deg); }
    39% { transform: translate3d(-32px, 1px, 0) rotate(5deg); }
    42% { transform: translate3d(-54px, 0, 0) rotate(-3deg); }
    45% { transform: translate3d(-32px, 0, 0) rotate(4deg); }
    48% { transform: translate3d(-34px, 1px, 0) rotate(5deg); }
    52% { transform: translate3d(-42px, 0, 0) rotate(1deg); }
    54% { transform: translate3d(-30px, 1px, 0) rotate(5deg); }
    56% { transform: translate3d(-52px, 0, 0) rotate(-3deg); }
    58% { transform: translate3d(-34px, 1px, 0) rotate(4deg); }
    60% { transform: translate3d(-50px, 0, 0) rotate(-3deg); }
    62% { transform: translate3d(-28px, 1px, 0) rotate(5deg); }
    64% { transform: translate3d(-52px, 0, 0) rotate(-3deg); }
    66% { transform: translate3d(-34px, 1px, 0) rotate(4deg); }
    69% { transform: translate3d(-42px, 0, 0) scale(1.01); }
    71% { transform: translate3d(-30px, 1px, 0) rotate(5deg); }
    73% { transform: translate3d(-52px, 0, 0) rotate(-3deg); }
    75% { transform: translate3d(-32px, 1px, 0) rotate(5deg); }
    77% { transform: translate3d(-52px, 0, 0) rotate(-3deg); }
    79% { transform: translate3d(-56px, 0, 0) rotate(-5deg) scale(1.03); }
    100% { transform: translate3d(-36px, 0, 0) rotate(0deg); }
  }
}

.fight-arena[data-winner="1"] .fight-fighter-one,
.fight-arena[data-winner="2"] .fight-fighter-two,
.fight-arena[data-winner="1"] .fight-fighter-two,
.fight-arena[data-winner="2"] .fight-fighter-one {
  animation: none;
}

.fight-arena[data-winner="1"] .fight-fighter-one {
  transform: translate3d(42px, 0, 0) rotate(0deg);
  opacity: 1;
}

.fight-arena[data-winner="1"] .fight-fighter-two {
  transform: translate3d(86px, 38px, 0) rotate(68deg);
  opacity: 0.78;
}

.fight-arena[data-winner="2"] .fight-fighter-one {
  transform: translate3d(-82px, 38px, 0) rotate(-68deg);
  opacity: 0.78;
}

.fight-arena[data-winner="2"] .fight-fighter-two {
  transform: translate3d(-42px, 0, 0) rotate(0deg);
  opacity: 1;
}

@media (max-width: 620px) {
  .fight-arena[data-winner="1"] .fight-fighter-one {
    transform: translate3d(36px, 0, 0) rotate(0deg);
  }

  .fight-arena[data-winner="1"] .fight-fighter-two {
    transform: translate3d(62px, 32px, 0) rotate(66deg);
  }

  .fight-arena[data-winner="2"] .fight-fighter-one {
    transform: translate3d(-62px, 32px, 0) rotate(-66deg);
  }

  .fight-arena[data-winner="2"] .fight-fighter-two {
    transform: translate3d(-36px, 0, 0) rotate(0deg);
  }
}

/* CLASHER targeted hit flashes */
.fight-arena.is-fighting .fight-impact,
.fight-arena.is-fighting .hit-effect,
.fight-arena.is-fighting .impact-flash {
  width: 28px;
  height: 28px;
  background:
    radial-gradient(circle, rgba(255, 255, 255, 1) 0 12%, rgba(117, 211, 255, 0.9) 13% 30%, transparent 64%),
    conic-gradient(from 22deg, transparent 0 12%, rgba(255, 255, 255, 0.96) 13% 18%, transparent 19% 34%, rgba(68, 185, 255, 0.84) 35% 42%, transparent 43% 62%, rgba(255, 72, 82, 0.72) 63% 70%, transparent 71%);
  box-shadow:
    0 0 14px rgba(105, 205, 255, 0.66),
    0 0 22px rgba(255, 64, 76, 0.24);
  filter: drop-shadow(0 0 7px rgba(112, 205, 255, 0.78));
}

.fight-arena.is-fighting .fight-impact-one {
  left: 43%;
  bottom: 154px;
}

.fight-arena.is-fighting .fight-impact-two {
  right: 43%;
  bottom: 154px;
}

.fight-arena.is-fighting.is-fight-variant-1 .fight-impact-two,
.fight-arena.is-fighting.is-fight-variant-3 .fight-impact-two {
  animation: fightImpactOnTwoV3 6s linear 1;
}

.fight-arena.is-fighting.is-fight-variant-1 .fight-impact-one,
.fight-arena.is-fighting.is-fight-variant-3 .fight-impact-one {
  animation: fightImpactOnOneV3 6s linear 1;
}

.fight-arena.is-fighting.is-fight-variant-2 .fight-impact-one,
.fight-arena.is-fighting.is-fight-variant-4 .fight-impact-one {
  animation: fightImpactOnOneV4 6s linear 1;
}

.fight-arena.is-fighting.is-fight-variant-2 .fight-impact-two,
.fight-arena.is-fighting.is-fight-variant-4 .fight-impact-two {
  animation: fightImpactOnTwoV4 6s linear 1;
}

.fight-arena.is-fighting.is-fight-variant-1 .fight-fighter-one::before,
.fight-arena.is-fighting.is-fight-variant-3 .fight-fighter-one::before {
  animation: fightSourceFlashOneAttack 6s linear 1;
}

.fight-arena.is-fighting.is-fight-variant-1 .fight-fighter-two::before,
.fight-arena.is-fighting.is-fight-variant-3 .fight-fighter-two::before {
  animation: fightSourceFlashTwoCounter 6s linear 1;
}

.fight-arena.is-fighting.is-fight-variant-2 .fight-fighter-two::before,
.fight-arena.is-fighting.is-fight-variant-4 .fight-fighter-two::before {
  animation: fightSourceFlashTwoAttack 6s linear 1;
}

.fight-arena.is-fighting.is-fight-variant-2 .fight-fighter-one::before,
.fight-arena.is-fighting.is-fight-variant-4 .fight-fighter-one::before {
  animation: fightSourceFlashOneCounter 6s linear 1;
}

@keyframes fightImpactOnTwoV3 {
  0%, 15.8%, 17.2%, 25.4%, 26.8%, 33.3%, 35%, 41.3%, 42.8%, 45.4%, 47%, 53.3%, 55%, 61.4%, 63%, 70.4%, 72%, 74.2%, 76%, 78.3%, 82%, 100% {
    opacity: 0;
    transform: translate3d(0, 0, 0) scale(0.45) rotate(0deg);
  }
  16.5% { opacity: 1; transform: translate3d(-12px, 28px, 0) scale(0.95) rotate(-16deg); }
  26%, 34%, 42%, 46%, 54%, 62%, 71%, 75% { opacity: 0.95; transform: translate3d(-8px, -10px, 0) scale(0.78) rotate(14deg); }
  26.7%, 34.8%, 42.8%, 46.8%, 54.8%, 62.8%, 71.8%, 75.8% { opacity: 0; transform: translate3d(-18px, -14px, 0) scale(1.75) rotate(48deg); }
  79% { opacity: 1; transform: translate3d(-18px, -22px, 0) scale(1.16) rotate(-24deg); }
  81.2% { opacity: 0; transform: translate3d(-58px, -30px, 0) scale(2.6) rotate(-70deg); }
}

@keyframes fightImpactOnOneV3 {
  0%, 29.4%, 31%, 37.4%, 39%, 49.4%, 51%, 57.4%, 59%, 72.4%, 74%, 100% {
    opacity: 0;
    transform: translate3d(0, 0, 0) scale(0.45) rotate(0deg);
  }
  30%, 38%, 50%, 58%, 73% { opacity: 0.9; transform: translate3d(10px, -9px, 0) scale(0.76) rotate(-14deg); }
  30.8%, 38.8%, 50.8%, 58.8%, 73.8% { opacity: 0; transform: translate3d(20px, -13px, 0) scale(1.65) rotate(-46deg); }
}

@keyframes fightImpactOnOneV4 {
  0%, 20.2%, 22%, 26.3%, 28%, 32.3%, 34%, 38.3%, 40%, 44.3%, 46%, 53.3%, 55%, 61.3%, 63%, 70.3%, 72%, 74.3%, 76%, 78.2%, 82%, 100% {
    opacity: 0;
    transform: translate3d(0, 0, 0) scale(0.45) rotate(0deg);
  }
  21% { opacity: 1; transform: translate3d(12px, 30px, 0) scale(0.94) rotate(18deg); }
  27%, 33%, 39%, 45%, 54%, 62%, 71%, 75% { opacity: 0.94; transform: translate3d(8px, -9px, 0) scale(0.76) rotate(-14deg); }
  27.8%, 33.8%, 39.8%, 45.8%, 54.8%, 62.8%, 71.8%, 75.8% { opacity: 0; transform: translate3d(18px, -13px, 0) scale(1.7) rotate(-48deg); }
  79% { opacity: 1; transform: translate3d(18px, -22px, 0) scale(1.14) rotate(24deg); }
  81.2% { opacity: 0; transform: translate3d(58px, -30px, 0) scale(2.55) rotate(70deg); }
}

@keyframes fightImpactOnTwoV4 {
  0%, 23.4%, 25%, 29.4%, 31%, 35.4%, 37%, 41.4%, 43%, 47.4%, 49%, 57.4%, 59%, 64.4%, 66%, 72.4%, 74%, 100% {
    opacity: 0;
    transform: translate3d(0, 0, 0) scale(0.45) rotate(0deg);
  }
  24%, 30%, 36%, 42%, 48%, 58%, 65%, 73% { opacity: 0.86; transform: translate3d(-10px, -8px, 0) scale(0.74) rotate(13deg); }
  24.8%, 30.8%, 36.8%, 42.8%, 48.8%, 58.8%, 65.8%, 73.8% { opacity: 0; transform: translate3d(-20px, -12px, 0) scale(1.58) rotate(44deg); }
}

@keyframes fightSourceFlashOneAttack {
  0%, 15.8%, 17.2%, 25.4%, 26.8%, 33.4%, 34.8%, 41.4%, 42.8%, 45.4%, 46.8%, 53.4%, 54.8%, 61.4%, 62.8%, 70.4%, 71.8%, 74.4%, 75.8%, 78.4%, 81.4%, 100% {
    opacity: 0;
    transform: translate3d(0, 0, 0) scale(0.45);
  }
  16.5% { opacity: 0.9; transform: translate3d(26px, 42px, 0) scale(0.92); }
  26%, 34%, 42%, 46%, 54%, 62%, 71%, 75% { opacity: 0.86; transform: translate3d(24px, -4px, 0) scale(0.88); }
  79% { opacity: 1; transform: translate3d(34px, -8px, 0) scale(1.12); }
}

@keyframes fightSourceFlashTwoCounter {
  0%, 29.4%, 31%, 37.4%, 39%, 49.4%, 51%, 57.4%, 59%, 72.4%, 74%, 100% {
    opacity: 0;
    transform: translate3d(0, 0, 0) scale(0.45);
  }
  30%, 38%, 50%, 58%, 73% { opacity: 0.8; transform: translate3d(-24px, -3px, 0) scale(0.82); }
}

@keyframes fightSourceFlashTwoAttack {
  0%, 20.4%, 22%, 26.4%, 28%, 32.4%, 34%, 38.4%, 40%, 44.4%, 46%, 53.4%, 55%, 61.4%, 63%, 70.4%, 72%, 74.4%, 76%, 78.4%, 81.4%, 100% {
    opacity: 0;
    transform: translate3d(0, 0, 0) scale(0.45);
  }
  21% { opacity: 0.9; transform: translate3d(-26px, 42px, 0) scale(0.92); }
  27%, 33%, 39%, 45%, 54%, 62%, 71%, 75% { opacity: 0.86; transform: translate3d(-24px, -4px, 0) scale(0.88); }
  79% { opacity: 1; transform: translate3d(-34px, -8px, 0) scale(1.12); }
}

@keyframes fightSourceFlashOneCounter {
  0%, 23.4%, 25%, 29.4%, 31%, 35.4%, 37%, 41.4%, 43%, 47.4%, 49%, 57.4%, 59%, 64.4%, 66%, 72.4%, 74%, 100% {
    opacity: 0;
    transform: translate3d(0, 0, 0) scale(0.45);
  }
  24%, 30%, 36%, 42%, 48%, 58%, 65%, 73% { opacity: 0.8; transform: translate3d(24px, -3px, 0) scale(0.82); }
}

@media (max-width: 620px) {
  .fight-arena.is-fighting .fight-impact,
  .fight-arena.is-fighting .hit-effect,
  .fight-arena.is-fighting .impact-flash {
    width: 22px;
    height: 22px;
  }

  .fight-arena.is-fighting .fight-impact-one {
    left: 44%;
    bottom: 138px;
  }

  .fight-arena.is-fighting .fight-impact-two {
    right: 44%;
    bottom: 138px;
  }
}
/* THEME EXPERIMENT DARK BLUE END */
