/* WCI26 mobile PWA — iOS-native styling */

* { -webkit-tap-highlight-color: transparent; }

#root > .wci-mobile-runtime {
  height: 100svh !important;
  min-height: 100svh !important;
  overflow: hidden !important;
}

.wci-mobile-runtime {
  height: 100svh;
  width: 100vw;
  overflow: hidden;
  background: #0A0615;
}

.m-app {
  font-family: -apple-system, "SF Pro Text", "SF Pro", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  font-feature-settings: 'ss01', 'cv11';
  color: #fff;
  background: #0A0615;
  height: 100%;
  width: 100%;
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
}
/* Deep-violet brand bg w/ gold + cyan radial glows + WCI pattern */
.m-bg {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(60% 40% at 20% 8%, rgba(139,71,214,0.30), transparent 60%),
    radial-gradient(50% 30% at 100% 0%, rgba(245,208,32,0.16), transparent 60%),
    radial-gradient(80% 50% at 50% 110%, rgba(78,209,230,0.14), transparent 60%),
    linear-gradient(180deg, #0A0615 0%, #100922 40%, #0A0615 100%);
}
.m-bg::after {
  content: '';
  position: absolute; inset: 0;
  background-image: url('../assets/wci-pattern.png');
  background-size: 130% auto; background-position: center;
  opacity: 0.07;
  filter: blur(2px);
  mix-blend-mode: screen;
  -webkit-mask-image: radial-gradient(ellipse 110% 80% at center, black 0%, black 40%, transparent 85%);
  mask-image: radial-gradient(ellipse 110% 80% at center, black 0%, black 40%, transparent 85%);
}

.m-scroll {
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
  overscroll-behavior-y: contain;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-top: max(8px, env(safe-area-inset-top));
  box-sizing: border-box;
}
.m-scroll::-webkit-scrollbar { display: none; }

/* iOS section-header style */
.m-section-hdr {
  font-size: 13px;
  font-weight: 400;
  color: rgba(235,235,245,0.6);
  text-transform: uppercase;
  letter-spacing: -0.08px;
  padding: 28px 20px 6px;
}

/* Grouped inset list — glass */
.m-list {
  background: rgba(29, 23, 64, 0.42);
  backdrop-filter: blur(24px) saturate(170%);
  -webkit-backdrop-filter: blur(24px) saturate(170%);
  border-radius: 18px;
  margin: 0 16px;
  overflow: hidden;
  border: 0.5px solid rgba(255,255,255,0.08);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.07),
    inset 0 -1px 0 rgba(0,0,0,0.3),
    0 1px 2px rgba(0,0,0,0.4),
    0 12px 32px -10px rgba(0,0,0,0.65);
}
.m-list-row {
  display: flex;
  align-items: center;
  min-height: 52px;
  padding: 8px 16px;
  position: relative;
  font-size: 17px;
  letter-spacing: -0.43px;
}
.m-list-row + .m-list-row::before {
  content: '';
  position: absolute;
  top: 0; left: 16px; right: 0; height: 0.5px;
  background: rgba(255,255,255,0.06);
}
.m-list-row:active { background: rgba(255,255,255,0.04); }

/* Card — glass slab with depth */
.m-card {
  background:
    linear-gradient(180deg, rgba(41,31,82,0.55), rgba(20,16,40,0.55));
  backdrop-filter: blur(28px) saturate(180%);
  -webkit-backdrop-filter: blur(28px) saturate(180%);
  border-radius: 18px;
  padding: 16px;
  position: relative;
  overflow: hidden;
  border: 0.5px solid rgba(255,255,255,0.10);
  box-shadow:
    inset 0 1.5px 0 0 rgba(255,255,255,0.10),
    inset 0 -1px 0 0 rgba(0,0,0,0.45),
    0 1px 2px rgba(0,0,0,0.5),
    0 8px 20px -6px rgba(0,0,0,0.55),
    0 24px 48px -16px rgba(0,0,0,0.7);
}

.m-rewards-screen {
  min-height: calc(100svh - 168px);
  display: grid;
  align-items: center;
  padding: 12px 14px 116px;
  box-sizing: border-box;
}

.m-rewards-screen .rewards-coming-soon-modal {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  padding: 18px 16px 20px;
  border-radius: 20px;
}

.m-rewards-screen .rewards-token-art-wrap {
  width: min(188px, 56vw);
  height: min(188px, 56vw);
}

.m-rewards-screen .rewards-coming-soon-modal h1 {
  font-family: 'Bricolage Grotesque', -apple-system, "SF Pro Display", system-ui, sans-serif;
  font-size: 32px;
  line-height: 0.98;
}

.m-rewards-screen .rewards-coming-soon-modal p {
  font-size: 13px;
}

.m-desktop-globe-frame {
  position: relative;
  height: min(342px, calc(100svh - 500px));
  min-height: 318px;
  border-radius: 22px;
  overflow: hidden;
  background:
    radial-gradient(120% 90% at 50% 22%, rgba(78,209,230,0.14), transparent 58%),
    radial-gradient(90% 70% at 92% 88%, rgba(139,71,214,0.18), transparent 60%),
    linear-gradient(180deg, rgba(20,16,40,0.94), rgba(10,6,21,0.98));
  border: 0.5px solid rgba(78,209,230,0.30);
  box-shadow:
    inset 0 1.5px 0 rgba(255,255,255,0.08),
    inset 0 -1px 0 rgba(0,0,0,0.45),
    0 14px 36px -10px rgba(0,0,0,0.72),
    0 0 42px -16px rgba(78,209,230,0.40);
}

.m-desktop-globe-frame::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(rgba(78,209,230,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(78,209,230,0.035) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: 0.34;
  mix-blend-mode: screen;
}

.m-desktop-globe-stage {
  position: absolute;
  inset: 18px 0 0;
  overflow: hidden;
}

.m-desktop-globe-stage canvas {
  width: 100% !important;
  height: 100% !important;
}

.m-globe-hud {
  position: absolute;
  top: 10px;
  z-index: 4;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 8px;
  color: rgba(78,209,230,0.66);
  letter-spacing: 0.1em;
  pointer-events: none;
}

.m-globe-hud-left { left: 12px; }
.m-globe-hud-right { right: 12px; text-align: right; }

.m-globe-zoom-controls {
  position: absolute;
  right: 13px;
  bottom: 13px;
  z-index: 8;
  display: flex;
  gap: 8px;
  padding: 6px;
  border-radius: 16px;
  background:
    radial-gradient(circle at 28% 12%, rgba(245,208,32,0.24), transparent 48%),
    linear-gradient(180deg, rgba(12,18,42,0.86), rgba(6,7,20,0.76));
  border: 0.5px solid rgba(78,209,230,0.36);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.12),
    0 16px 34px -22px rgba(78,209,230,0.92),
    0 0 28px -18px rgba(245,208,32,0.95);
  backdrop-filter: blur(16px) saturate(160%);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
}

.m-globe-zoom-button {
  width: 39px;
  height: 39px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 12px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.16), rgba(255,255,255,0.05)),
    rgba(10,6,21,0.72);
  color: #fff;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.16),
    0 0 18px -10px rgba(78,209,230,0.9);
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 22px;
  font-weight: 900;
  line-height: 1;
  touch-action: manipulation;
}

.m-globe-zoom-button:active {
  transform: translateY(1px) scale(0.96);
  border-color: rgba(245,208,32,0.58);
}
/* Subtle inner shine for any glass element */
.shine::before {
  content: '';
  position: absolute; inset: 0;
  pointer-events: none;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(255,255,255,0.10) 0%, transparent 30%, transparent 70%, rgba(255,255,255,0.04) 100%);
}

/* SF Pro Display weight hack */
.sfd { font-family: -apple-system, "SF Pro Display", "SF Pro", system-ui; letter-spacing: -0.4px; }

/* Tabular numerics for prices */
.tnum { font-variant-numeric: tabular-nums; font-feature-settings: 'tnum'; }

/* Brand display for hero numerics */
.bgd { font-family: 'Bricolage Grotesque', system-ui; font-weight: 800; letter-spacing: -0.03em; }
.mono { font-family: 'JetBrains Mono', ui-monospace; font-variant-numeric: tabular-nums; }

/* Liquid glass — light variant for dark mode */
.glass-dark {
  background: rgba(29, 23, 64, 0.55);
  backdrop-filter: blur(28px) saturate(180%);
  -webkit-backdrop-filter: blur(28px) saturate(180%);
  border: 0.5px solid rgba(255,255,255,0.10);
}

/* 3D button — chunky press with stacked shadow (matches desktop --shadow-3d-gold) */
.btn-3d {
  position: relative;
  border: 0; cursor: pointer;
  background: linear-gradient(180deg, #FFE85B 0%, #F5D020 55%, #C9A300 100%);
  color: #1a1300;
  font-family: 'Bricolage Grotesque', system-ui;
  font-weight: 800;
  letter-spacing: -0.01em;
  border-radius: 16px;
  padding: 16px 20px;
  font-size: 17px;
  box-shadow:
    inset 0 2px 0 0 rgba(255,255,255,0.65),
    inset 0 -2px 0 0 rgba(0,0,0,0.20),
    inset 0 0 0 1px rgba(255,255,255,0.18),
    0 4px 0 0 #A88900,
    0 6px 0 0 #6B5500,
    0 10px 24px -2px rgba(0,0,0,0.55),
    0 0 36px -10px #F5D020;
  transition: transform 80ms ease, box-shadow 80ms ease;
}
.btn-3d:active {
  transform: translateY(4px);
  box-shadow:
    inset 0 2px 0 0 rgba(255,255,255,0.65),
    inset 0 -2px 0 0 rgba(0,0,0,0.20),
    inset 0 0 0 1px rgba(255,255,255,0.18),
    0 0 0 0 #A88900,
    0 2px 0 0 #6B5500,
    0 4px 12px -2px rgba(0,0,0,0.55),
    0 0 28px -10px #F5D020;
}
.btn-3d.lime {
  background: linear-gradient(180deg, #C8F060 0%, #9FD634 55%, #6E9C18 100%);
  color: #0a1500;
  box-shadow:
    inset 0 2px 0 0 rgba(255,255,255,0.55),
    inset 0 -2px 0 0 rgba(0,0,0,0.20),
    inset 0 0 0 1px rgba(255,255,255,0.18),
    0 4px 0 0 #6E9C18,
    0 6px 0 0 #4A6B10,
    0 10px 24px -2px rgba(0,0,0,0.55),
    0 0 36px -10px #9FD634;
}

/* Hero number gradient — silver → gold */
.num-grad {
  background: linear-gradient(180deg, #fff 0%, #fff 40%, #F5D020 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

/* Tab bar item */
.tab-btn {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  padding: 8px 0 6px;
  background: transparent;
  border: 0;
  color: rgba(235,235,245,0.55);
  font-family: inherit;
  cursor: pointer;
  font-size: 10px;
  letter-spacing: 0.06px;
  font-weight: 500;
}
.tab-btn span:last-child {
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.tab-btn.active { color: var(--gold, #F5D020); }
.tab-btn:active svg { transform: scale(0.88); }
.tab-btn svg { transition: transform 120ms cubic-bezier(.34,1.56,.64,1); }

.m-realtime-panel,
.m-battle-duel {
  margin: 0 0 104px;
  padding: 12px;
  border-radius: 22px;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(120% 90% at 0% 0%, rgba(78,209,230,0.18), transparent 52%),
    radial-gradient(120% 90% at 100% 0%, rgba(245,208,32,0.15), transparent 50%),
    linear-gradient(180deg, rgba(22,18,48,0.86), rgba(10,6,21,0.92));
  border: 0.5px solid rgba(78,209,230,0.24);
  box-shadow:
    inset 0 1.5px 0 rgba(255,255,255,0.11),
    inset 0 -1px 0 rgba(0,0,0,0.42),
    0 16px 36px -18px rgba(0,0,0,0.78),
    0 0 34px -20px rgba(78,209,230,0.58);
  backdrop-filter: blur(28px) saturate(180%);
  -webkit-backdrop-filter: blur(28px) saturate(180%);
}

.m-realtime-panel::before,
.m-battle-duel::before,
.m-team-watch-card.is-neon::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, transparent, rgba(255,255,255,0.12), transparent) 0 0 / 220% 1px no-repeat,
    linear-gradient(rgba(78,209,230,0.035) 1px, transparent 1px) 0 0 / 42px 42px;
  animation: m-sheen 4.8s linear infinite;
}

.m-realtime-chip-row {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 3px;
  scrollbar-width: none;
}

.m-realtime-chip-row::-webkit-scrollbar { display: none; }

.m-realtime-chip {
  flex: 0 0 auto;
  min-width: 108px;
  display: grid;
  grid-template-columns: auto auto 1fr;
  align-items: center;
  gap: 7px;
  padding: 9px;
  border-radius: 16px;
  color: #fff;
  background: rgba(255,255,255,0.055);
  border: 0.5px solid rgba(255,255,255,0.10);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.08);
}

.m-realtime-chip.is-active {
  border-color: rgba(245,208,32,0.44);
  background:
    radial-gradient(110% 90% at 50% 0%, rgba(245,208,32,0.20), transparent 60%),
    rgba(255,255,255,0.06);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.16),
    0 0 26px -14px var(--gold);
}

.m-rank-badge {
  min-width: 22px;
  height: 22px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  color: #120d18;
  background: linear-gradient(180deg, #FFF17A, var(--gold));
  font-size: 10px;
  font-weight: 900;
}

.m-realtime-chip strong,
.m-realtime-chip em {
  min-width: 0;
  grid-column: 1 / -1;
  font-style: normal;
}

.m-realtime-chip strong {
  font-size: 13px;
  font-weight: 900;
}

.m-realtime-chip em {
  margin-top: -3px;
  color: var(--lime);
  font-size: 11px;
  font-family: 'JetBrains Mono', ui-monospace;
}

.m-live-lanes,
.m-duel-lanes {
  display: grid;
  gap: 9px;
  margin-top: 12px;
}

.m-live-lane,
.m-duel-lane {
  display: grid;
  gap: 7px;
  padding: 10px;
  border-radius: 14px;
  background: rgba(5,7,18,0.50);
  border: 0.5px solid rgba(255,255,255,0.08);
}

.m-live-lane > div,
.m-duel-lane-top {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  min-width: 0;
}

.m-live-lane span,
.m-duel-lane span,
.m-team-support-rail span {
  color: rgba(235,235,245,0.54);
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
}

.m-live-lane strong,
.m-duel-lane strong {
  color: #fff;
  font-size: 11px;
  text-align: right;
}

.m-live-lane b,
.m-duel-meter,
.m-team-support-rail b {
  display: block;
  height: 7px;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(255,255,255,0.08);
  box-shadow: inset 0 1px 2px rgba(0,0,0,0.52);
}

.m-live-lane i,
.m-duel-meter i,
.m-team-support-rail i {
  display: block;
  height: 100%;
  border-radius: inherit;
  position: relative;
  overflow: hidden;
}

.m-live-lane i::after,
.m-duel-meter i::after,
.m-team-support-rail i::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.42), transparent);
  transform: translateX(-100%);
  animation: m-bar-sheen 2.8s ease-in-out infinite;
}

.m-live-lane b i { width: var(--lane-pct); }
.m-live-lane.cyan b i { background: linear-gradient(90deg, #4ED1E6, #F5D020); }
.m-live-lane.gold b i { background: linear-gradient(90deg, #F5D020, #FF7A1F); }
.m-live-lane.lime b i { background: linear-gradient(90deg, #9FD634, #4ED1E6); }

.m-battle-duel {
  margin: 0 16px 12px;
  border-color: rgba(245,208,32,0.24);
}

.m-battle-window {
  margin: 0 16px 12px;
  padding: 12px;
  border-radius: 20px;
  background:
    radial-gradient(120% 90% at 100% 0%, rgba(78,209,230,0.14), transparent 54%),
    linear-gradient(180deg, rgba(22,18,48,0.78), rgba(10,6,21,0.88));
  border: 0.5px solid rgba(78,209,230,0.22);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.1),
    0 16px 34px -22px rgba(0,0,0,0.78);
}

.m-battle-window-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
}

.m-battle-window-head span {
  color: var(--gold);
  font-size: 10px;
  font-weight: 950;
  text-transform: uppercase;
}

.m-battle-window-head strong {
  color: #fff;
  font-size: 15px;
}

.m-battle-window-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 9px;
}

.m-battle-window-stats b {
  padding: 6px 8px;
  border-radius: 999px;
  color: rgba(235,235,245,0.86);
  background: rgba(255,255,255,0.055);
  border: 0.5px solid rgba(255,255,255,0.08);
  font-size: 10px;
}

.m-battle-objectives {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px;
  margin-top: 10px;
}

.m-battle-objective {
  min-width: 0;
  display: grid;
  gap: 4px;
  padding: 9px;
  border-radius: 14px;
  color: #fff;
  text-align: left;
  background:
    radial-gradient(circle at 90% 0%, color-mix(in srgb, var(--objective-color) 18%, transparent), transparent 42%),
    rgba(255,255,255,0.045);
  border: 0.5px solid color-mix(in srgb, var(--objective-color) 34%, rgba(255,255,255,0.08));
}

.m-battle-objective span {
  color: rgba(235,235,245,0.54);
  font-size: 9px;
  font-weight: 950;
  text-transform: uppercase;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.m-battle-objective strong {
  font-size: 12px;
  line-height: 1.1;
}

.m-battle-objective em {
  color: rgba(235,235,245,0.64);
  font-size: 10px;
  font-style: normal;
  line-height: 1.28;
}

.m-battle-objective i {
  display: block;
  width: var(--objective-pct);
  height: 5px;
  margin-top: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--objective-color), var(--gold));
  box-shadow: 0 0 14px color-mix(in srgb, var(--objective-color) 54%, transparent);
}

.m-duel-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 10px;
  color: var(--gold);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.m-duel-head strong {
  color: rgba(255,255,255,0.92);
  font-family: 'JetBrains Mono', ui-monospace;
  font-size: 11px;
}

.m-duel-card-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 10px;
}

.m-duel-card {
  min-width: 0;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 8px;
  align-items: center;
  padding: 10px;
  border-radius: 16px;
  color: #fff;
  background: rgba(255,255,255,0.055);
  border: 0.5px solid rgba(255,255,255,0.10);
}

.m-duel-card.is-leader { border-color: rgba(245,208,32,0.34); }
.m-duel-card.is-rival { border-color: rgba(78,209,230,0.30); }

.m-duel-card span {
  min-width: 0;
  display: grid;
  gap: 1px;
}

.m-duel-card b {
  color: rgba(235,235,245,0.52);
  font-size: 9px;
  text-transform: uppercase;
}

.m-duel-card strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 13px;
}

.m-duel-card em {
  grid-column: 1 / -1;
  color: var(--lime);
  font-style: normal;
  font-size: 11px;
  font-family: 'JetBrains Mono', ui-monospace;
}

.m-duel-meter.leader i {
  width: var(--leader-pct);
  background: linear-gradient(90deg, #F5D020, #FF7A1F);
}

.m-duel-meter.rival i {
  width: var(--rival-pct);
  background: linear-gradient(90deg, #4ED1E6, #9FD634);
}

.m-rival-selected {
  background:
    linear-gradient(90deg, rgba(78,209,230,0.10), transparent),
    rgba(255,255,255,0.03);
}

.m-team-wrap {
  display: flex;
  flex-direction: column;
  padding: 4px 16px 104px;
}

.m-team-hero,
.m-mobile-wallet-panel,
.m-team-watch-card,
.m-team-empty,
.m-team-picker-card {
  border-radius: 22px;
  background:
    radial-gradient(120% 100% at 100% 0%, rgba(245,208,32,0.15), transparent 52%),
    linear-gradient(180deg, rgba(41,31,82,0.74), rgba(20,16,40,0.88));
  border: 0.5px solid rgba(255,255,255,0.11);
  box-shadow:
    inset 0 1.5px 0 rgba(255,255,255,0.12),
    inset 0 -1px 0 rgba(0,0,0,0.36),
    0 12px 30px -16px rgba(0,0,0,0.72);
  backdrop-filter: blur(28px) saturate(180%);
  -webkit-backdrop-filter: blur(28px) saturate(180%);
}

.m-team-hero {
  display: grid;
  gap: 12px;
  padding: 16px;
  border-color: rgba(245,208,32,0.26);
}

.m-team-kicker {
  color: var(--gold);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.m-team-hero h2 {
  margin: 4px 0 0;
  color: #fff;
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 28px;
  line-height: 1;
}

.m-team-hero p {
  margin: 7px 0 0;
  color: rgba(235,235,245,0.66);
  font-size: 13px;
  line-height: 1.38;
}

.m-team-hero-grid,
.m-team-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.m-team-hero-grid div,
.m-team-metrics div {
  min-width: 0;
  padding: 10px;
  border-radius: 14px;
  background: rgba(5,7,18,0.48);
  border: 0.5px solid rgba(255,255,255,0.08);
}

.m-team-hero-grid span,
.m-team-metrics span {
  display: block;
  color: rgba(235,235,245,0.48);
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
}

.m-team-hero-grid strong,
.m-team-metrics strong {
  display: block;
  margin-top: 4px;
  color: #fff;
  font-size: 13px;
  font-weight: 800;
}

.m-team-focus {
  width: 100%;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  padding: 10px;
  border-radius: 16px;
  color: #fff;
  background: rgba(255,255,255,0.055);
  border: 0.5px solid rgba(245,208,32,0.2);
  text-align: left;
}

.m-team-focus span {
  min-width: 0;
}

.m-team-focus strong,
.m-team-picker-main strong {
  display: block;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
}

.m-team-focus em,
.m-team-picker-main span {
  display: block;
  margin-top: 2px;
  color: rgba(235,235,245,0.55);
  font-size: 11px;
  font-style: normal;
}

.m-team-focus b {
  color: var(--gold);
  font-size: 12px;
}

.m-mobile-wallet-panel {
  position: relative;
  order: -1;
  display: grid;
  gap: 11px;
  margin: 0 0 12px;
  padding: 14px;
  overflow: visible;
  border-color: rgba(78,209,230,0.28);
  background:
    radial-gradient(110% 90% at 0% 0%, rgba(78,209,230,0.18), transparent 55%),
    radial-gradient(110% 90% at 100% 6%, rgba(245,208,32,0.16), transparent 52%),
    linear-gradient(180deg, rgba(31,29,70,0.84), rgba(12,10,31,0.94));
  box-shadow:
    inset 0 1.5px 0 rgba(255,255,255,0.14),
    0 16px 36px -20px rgba(0,0,0,0.82),
    0 0 30px -22px rgba(78,209,230,0.9);
}

.m-mobile-wallet-panel::before {
  content: "";
  position: absolute;
  left: 13px;
  right: 13px;
  top: 0;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, #4ED1E6, #F5D020, #9FD634);
  box-shadow: 0 0 16px rgba(78,209,230,0.48);
}

.m-mobile-wallet-frame {
  position: absolute;
  left: 26px;
  right: 26px;
  top: -12px;
  height: 13px;
  pointer-events: none;
}

.m-mobile-wallet-frame::before {
  content: "";
  position: absolute;
  left: 18px;
  right: 18px;
  top: 5px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(78,209,230,0.10), rgba(245,208,32,0.52), rgba(78,209,230,0.10));
  box-shadow: 0 0 14px rgba(245,208,32,0.28);
}

.m-mobile-wallet-frame i {
  position: absolute;
  top: 0;
  width: 2px;
  height: 13px;
  border-radius: 999px;
  background: linear-gradient(180deg, transparent, rgba(78,209,230,0.74));
  box-shadow: 0 0 10px rgba(78,209,230,0.42);
}

.m-mobile-wallet-frame i:first-child { left: 24px; }
.m-mobile-wallet-frame i:last-child { right: 24px; }

.m-mobile-wallet-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.m-mobile-wallet-head > div {
  min-width: 0;
}

.m-mobile-wallet-head h3 {
  margin: 4px 0 3px;
  color: #fff;
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 23px;
  line-height: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.m-mobile-wallet-head .mono {
  display: block;
  color: rgba(235,235,245,0.62);
  font-size: 12px;
  font-weight: 800;
}

.m-mobile-wallet-lock {
  flex: 0 0 auto;
  padding: 7px 9px;
  border-radius: 999px;
  color: #071019;
  background: linear-gradient(180deg, #c9fbff, #4ED1E6);
  border: 0.5px solid rgba(255,255,255,0.24);
  box-shadow: 0 0 18px -10px #4ED1E6;
  font-size: 10px;
  font-weight: 950;
  text-transform: uppercase;
}

.m-supporter-profile-toggle {
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 28%, rgba(255,255,255,0.96), rgba(233,255,141,0.86) 28%, rgba(159,214,52,0.98) 74%);
  border: 0.5px solid rgba(159,214,52,0.70);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.68),
    0 0 0 4px rgba(159,214,52,0.10),
    0 0 20px rgba(159,214,52,0.42);
  animation: m-supporter-pulse 1.8s ease-in-out infinite;
}

.m-supporter-profile-toggle span {
  position: relative;
  width: 16px;
  height: 16px;
}

.m-supporter-profile-toggle span::before,
.m-supporter-profile-toggle span::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 15px;
  height: 3px;
  border-radius: 999px;
  background: #071019;
  transform-origin: center;
  transition: transform 160ms ease, opacity 160ms ease;
}

.m-supporter-profile-toggle span::before {
  transform: translate(-50%, -50%) rotate(45deg);
}

.m-supporter-profile-toggle span::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.m-supporter-profile-toggle[aria-expanded="false"] {
  background:
    radial-gradient(circle at 35% 28%, rgba(255,255,255,0.88), rgba(78,209,230,0.72) 32%, rgba(19,132,154,0.96) 78%);
  border-color: rgba(78,209,230,0.68);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.58),
    0 0 0 4px rgba(78,209,230,0.10),
    0 0 20px rgba(78,209,230,0.46);
}

.m-supporter-profile-toggle[aria-expanded="false"] span::before {
  transform: translate(-50%, -50%);
}

.m-supporter-profile-toggle[aria-expanded="false"] span::after {
  opacity: 0;
}

.m-mobile-wallet-field {
  display: grid;
  gap: 7px;
}

.m-mobile-wallet-field span {
  color: rgba(235,235,245,0.50);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.10em;
  text-transform: uppercase;
}

.m-mobile-wallet-field input {
  width: 100%;
  min-height: 42px;
  box-sizing: border-box;
  padding: 0 12px;
  border-radius: 14px;
  color: #fff;
  background: rgba(5,7,18,0.50);
  border: 0.5px solid rgba(78,209,230,0.24);
  outline: none;
  font: 800 15px -apple-system, "SF Pro Text", system-ui, sans-serif;
}

.m-mobile-wallet-field input:focus {
  border-color: rgba(245,208,32,0.42);
  box-shadow: 0 0 0 3px rgba(245,208,32,0.09);
}

.m-mobile-wallet-connect {
  display: grid;
  gap: 9px;
}

.m-mobile-wallet-proof {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.m-mobile-wallet-proof span,
.m-mobile-wallet-error {
  min-height: 34px;
  display: grid;
  place-items: center;
  padding: 7px;
  border-radius: 12px;
  background: rgba(5,7,18,0.45);
  border: 0.5px solid rgba(255,255,255,0.08);
  color: rgba(235,235,245,0.66);
  font-size: 11px;
  font-weight: 900;
  text-align: center;
}

.m-mobile-wallet-error {
  color: #ff8f86;
  background: rgba(232,57,44,0.12);
  border-color: rgba(232,57,44,0.28);
}

.m-mobile-wallet-connect button {
  min-height: 44px;
  border: 0.5px solid rgba(78,209,230,0.60);
  border-radius: 14px;
  color: #071019;
  background: linear-gradient(180deg, #c9fbff, #4ED1E6 56%, #13849a);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.50), 0 16px 28px -18px #4ED1E6;
  font-size: 13px;
  font-weight: 950;
  text-transform: uppercase;
}

.m-supporter-profile-body {
  display: grid;
  gap: 9px;
}

.m-supporter-profile-body[hidden] {
  display: none;
}

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

.m-mobile-supporter-grid div,
.m-mobile-supporter-focus,
.m-mobile-supporter-next,
.m-mobile-wallet-buys div {
  min-width: 0;
  padding: 9px;
  border-radius: 13px;
  background: rgba(5,7,18,0.50);
  border: 0.5px solid rgba(255,255,255,0.08);
}

.m-mobile-supporter-grid span,
.m-mobile-supporter-focus span,
.m-mobile-supporter-next span {
  display: block;
  color: rgba(235,235,245,0.48);
  font-size: 9px;
  font-weight: 950;
  text-transform: uppercase;
}

.m-mobile-supporter-grid strong,
.m-mobile-supporter-next strong {
  display: block;
  margin-top: 4px;
  color: #fff;
  font-size: 13px;
  font-weight: 950;
}

.m-mobile-supporter-focus {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.m-mobile-supporter-focus strong {
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 7px;
  color: #fff;
  font-size: 13px;
  font-weight: 950;
  text-align: right;
}

.m-mobile-supporter-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.m-mobile-supporter-badges span {
  padding: 6px 8px;
  border-radius: 999px;
  color: var(--gold);
  background: rgba(245,208,32,0.10);
  border: 0.5px solid rgba(245,208,32,0.25);
  font-size: 10px;
  font-weight: 950;
}

.m-mobile-supporter-next strong {
  color: rgba(255,255,255,0.86);
  line-height: 1.35;
}

.m-mobile-wallet-buys {
  display: grid;
  gap: 7px;
}

.m-mobile-wallet-buys div {
  display: grid;
  grid-template-columns: auto auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 7px;
}

.m-mobile-wallet-buys span {
  color: rgba(235,235,245,0.62);
  font-size: 11px;
  font-weight: 900;
}

.m-mobile-wallet-buys strong {
  min-width: 0;
  color: #fff;
  font-size: 12px;
  font-weight: 900;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.m-mobile-wallet-buys em {
  color: var(--gold);
  font-size: 11px;
  font-style: normal;
  font-weight: 950;
}

.m-team-watch-stack,
.m-team-picker-grid {
  display: grid;
  gap: 10px;
}

.m-team-empty {
  display: grid;
  gap: 4px;
  padding: 14px;
}

.m-team-empty strong {
  color: #fff;
  font-size: 15px;
}

.m-team-empty span {
  color: rgba(235,235,245,0.58);
  font-size: 12px;
}

.m-team-watch-card {
  display: grid;
  gap: 10px;
  padding: 12px;
  border-color: rgba(245,208,32,0.22);
}

.m-team-watch-card.is-neon {
  position: relative;
  overflow: hidden;
  border-color: rgba(245,208,32,0.38);
  background:
    radial-gradient(120% 90% at 0% 0%, rgba(78,209,230,0.16), transparent 54%),
    radial-gradient(120% 90% at 100% 0%, rgba(245,208,32,0.18), transparent 50%),
    linear-gradient(180deg, rgba(47,36,88,0.86), rgba(18,13,36,0.94));
  box-shadow:
    inset 0 1.5px 0 rgba(255,255,255,0.16),
    inset 0 -1px 0 rgba(0,0,0,0.42),
    0 16px 36px -18px rgba(0,0,0,0.80),
    0 0 30px -17px rgba(245,208,32,0.70);
}

.m-team-watch-card.is-neon::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  top: 0;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, #4ED1E6, #F5D020, #9FD634);
  box-shadow: 0 0 16px rgba(245,208,32,0.58);
}

.m-team-card-top,
.m-team-picker-card,
.m-team-picker-main,
.m-team-card-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.m-team-card-top button {
  flex: 1;
  min-width: 0;
  display: grid;
  gap: 2px;
  color: #fff;
  background: transparent;
  border: 0;
  text-align: left;
}

.m-team-card-top button strong {
  font-size: 16px;
}

.m-team-card-top button span {
  color: rgba(235,235,245,0.55);
  font-size: 11px;
}

.m-team-card-top em {
  color: var(--lime);
  font-size: 12px;
  font-style: normal;
  font-weight: 800;
}

.m-team-card-badge {
  flex: 0 0 auto;
  min-width: 42px;
  padding: 5px 7px;
  border-radius: 999px;
  color: #111407;
  background: linear-gradient(180deg, #D7FF62, #9FD634);
  border: 0.5px solid rgba(255,255,255,0.30);
  box-shadow: 0 0 16px -7px #9FD634;
  font-family: 'JetBrains Mono', ui-monospace;
  font-size: 10px;
  font-weight: 900;
  text-align: center;
}

.m-team-bars {
  display: grid;
  gap: 5px;
}

.m-team-bars span {
  height: 6px;
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
  overflow: hidden;
}

.m-team-bars span::before {
  content: "";
  display: block;
  height: 100%;
  border-radius: inherit;
}

.m-team-bars .mcap::before {
  width: var(--mcap-pct);
  background: linear-gradient(90deg, #4ED1E6, #F5D020);
}

.m-team-bars .vol::before {
  width: var(--vol-pct);
  background: linear-gradient(90deg, #34C759, #F5D020);
}

.m-team-bars .pressure::before {
  width: var(--pressure-pct);
  background: linear-gradient(90deg, #F5D020, #E8392C);
}

.m-team-support-rail {
  display: grid;
  gap: 6px;
  padding: 9px 10px;
  border-radius: 14px;
  background: rgba(5,7,18,0.42);
  border: 0.5px solid rgba(255,255,255,0.08);
}

.m-team-support-rail i {
  width: var(--support-pct);
  background: linear-gradient(90deg, #4ED1E6, #F5D020, #9FD634);
  box-shadow: 0 0 13px rgba(245,208,32,0.45);
}

.m-team-card-actions button,
.m-team-picker-card button {
  min-height: 34px;
  border-radius: 12px;
  border: 0.5px solid rgba(255,255,255,0.1);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
}

.m-team-card-actions .buy {
  flex: 1;
  color: #120d18;
  background: linear-gradient(180deg, #FFF17A, var(--gold));
}

.m-team-card-actions .uncheck,
.m-team-picker-card button {
  padding: 0 12px;
  background: rgba(255,255,255,0.07);
}

.m-team-card-actions .uncheck {
  color: var(--coral);
  border-color: rgba(232,57,44,0.3);
}

.m-team-picker-card {
  justify-content: space-between;
  padding: 11px;
  border-radius: 18px;
}

.m-team-picker-card.is-picked {
  border-color: rgba(245,208,32,0.32);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.12),
    0 0 24px -18px var(--gold),
    0 0 18px -12px #4ED1E6;
}

.m-team-picker-main {
  min-width: 0;
}

.m-team-picker-main div {
  min-width: 0;
}

.m-team-picker-main strong,
.m-team-picker-main span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

@keyframes m-sheen {
  0% { background-position: -220% 0, 0 0; }
  100% { background-position: 220% 0, 42px 42px; }
}

@keyframes m-bar-sheen {
  0%, 32% { transform: translateX(-100%); }
  68%, 100% { transform: translateX(100%); }
}

@keyframes m-supporter-pulse {
  0%, 100% {
    box-shadow:
      inset 0 1px 0 rgba(255,255,255,0.68),
      0 0 0 4px rgba(159,214,52,0.10),
      0 0 20px rgba(159,214,52,0.42);
  }
  50% {
    box-shadow:
      inset 0 1px 0 rgba(255,255,255,0.72),
      0 0 0 7px rgba(159,214,52,0.06),
      0 0 30px rgba(159,214,52,0.58);
  }
}

@media (prefers-reduced-motion: reduce) {
  .m-realtime-panel::before,
  .m-battle-duel::before,
  .m-team-watch-card.is-neon::before,
  .m-supporter-profile-toggle,
  .m-live-lane i::after,
  .m-duel-meter i::after,
  .m-team-support-rail i::after {
    animation: none;
  }
}

/* Pull-to-refresh ring */
@keyframes m-spin { to { transform: rotate(360deg); } }
.m-spinner {
  width: 18px; height: 18px;
  border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,0.2);
  border-top-color: var(--gold);
  animation: m-spin 0.8s linear infinite;
}

/* Sheet */
.sheet-backdrop {
  position: absolute; inset: 0; z-index: 80;
  background: rgba(5,3,10,0.5);
  backdrop-filter: blur(10px) saturate(140%);
  -webkit-backdrop-filter: blur(10px) saturate(140%);
  animation: fadeIn 200ms ease;
}
.sheet-panel {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 81;
  max-height: calc(100svh - 64px);
  overflow-y: auto;
  overscroll-behavior-y: contain;
  background:
    linear-gradient(180deg, rgba(41,31,82,0.92), rgba(20,16,40,0.96));
  backdrop-filter: blur(32px) saturate(180%);
  -webkit-backdrop-filter: blur(32px) saturate(180%);
  border-radius: 22px 22px 0 0;
  padding: 8px 16px 36px;
  border-top: 0.5px solid rgba(255,255,255,0.10);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.10),
    0 -10px 40px rgba(0,0,0,0.5);
  animation: sheet-up 360ms cubic-bezier(0.22,1,0.36,1);
}
.sheet-panel::-webkit-scrollbar { display: none; }
.sheet-grab {
  width: 36px; height: 5px; border-radius: 999px;
  background: rgba(235,235,245,0.3);
  margin: 0 auto 12px;
}
@keyframes sheet-up { from { transform: translateY(100%); } to { transform: translateY(0); } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

/* Tap pulse for buy ring */
@keyframes ring-pop {
  0% { transform: scale(0.4); opacity: 1; }
  100% { transform: scale(2.4); opacity: 0; }
}

/* Live dot */
@keyframes live-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(0.85); }
}
.live-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #E8392C;
  animation: live-pulse 1.4s ease-in-out infinite;
  box-shadow: 0 0 8px #E8392C;
}

/* Sparkline default */
.m-spark { display: block; }

/* Press states */
.press:active { transform: scale(0.97); transition: transform 80ms; }
.press { transition: transform 120ms cubic-bezier(.34,1.56,.64,1); }

/* Stories ring */
@keyframes story-rot { to { background-position: 200% 0; } }

/* iOS toast (notification banner) — premium glass */
.ios-toast {
  position: absolute; top: 56px; left: 8px; right: 8px; z-index: 70;
  border-radius: 22px;
  padding: 14px 16px;
  background:
    linear-gradient(180deg, rgba(41,31,82,0.78), rgba(20,16,40,0.78));
  backdrop-filter: blur(32px) saturate(180%);
  -webkit-backdrop-filter: blur(32px) saturate(180%);
  border: 0.5px solid rgba(255,255,255,0.14);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.12),
    inset 0 -1px 0 rgba(0,0,0,0.4),
    0 8px 28px rgba(0,0,0,0.55),
    0 0 32px -10px rgba(245,208,32,0.4);
  display: flex; align-items: center; gap: 12px;
  animation: toast-drop 380ms cubic-bezier(0.22,1,0.36,1);
}
@keyframes toast-drop {
  from { transform: translateY(-120%); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}
