:root {
  --cmg-bg: #030916;
  --cmg-panel: rgba(8, 20, 38, 0.66);
  --cmg-panel-strong: rgba(9, 25, 48, 0.82);
  --cmg-border: rgba(186, 224, 255, 0.18);
  --cmg-border-hot: rgba(91, 203, 255, 0.68);
  --cmg-text: #eff8ff;
  --cmg-muted: #90a8bd;
  --cmg-blue: #36a9ff;
  --cmg-cyan: #8de8ff;
  --cmg-gold: #f4c86a;
  --cmg-green: #5df2a4;
  --cmg-red: #ff6b6b;
  --cmg-font-head: Arial, sans-serif;
  --cmg-font-body: Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background: #0b1220;
  color: var(--cmg-text);
  font-family: var(--cmg-font-body);
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}

.cmg-command {
  position: relative;
  min-height: 100vh;
  isolation: isolate;
  padding-bottom: 36px;
  --parallax-x: 0px;
  --parallax-y: 0px;
}

.cmg-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  background:
    radial-gradient(circle at 18% 14%, rgba(54, 169, 255, 0.18), transparent 32%),
    radial-gradient(circle at 84% 10%, rgba(93, 242, 164, 0.09), transparent 26%),
    linear-gradient(180deg, #0b1220 0%, #07111f 58%, #030916 100%);
}

.cmg-bg__glow,
.cmg-bg__arena,
.cmg-bg__grid,
.cmg-bg__particles,
.cmg-bg__scanline {
  position: absolute;
  inset: 0;
}

.cmg-bg__glow {
  background:
    linear-gradient(90deg, transparent 0 42%, rgba(54, 169, 255, 0.12) 49%, transparent 56%),
    radial-gradient(ellipse at center bottom, rgba(141, 232, 255, 0.12), transparent 58%);
  transform: translate3d(calc(var(--parallax-x) * -0.45), calc(var(--parallax-y) * -0.35), 0);
  animation: stadiumGlow 8s ease-in-out infinite alternate;
}

.cmg-bg__arena {
  opacity: 0.42;
  background:
    radial-gradient(circle at 12% 22%, rgba(255, 255, 255, 0.16), transparent 6%),
    radial-gradient(circle at 31% 12%, rgba(54, 169, 255, 0.18), transparent 7%),
    radial-gradient(circle at 69% 15%, rgba(255, 255, 255, 0.13), transparent 6%),
    radial-gradient(circle at 90% 25%, rgba(93, 242, 164, 0.12), transparent 7%);
  filter: blur(7px);
  transform: translate3d(calc(var(--parallax-x) * -0.25), calc(var(--parallax-y) * -0.2), 0);
  animation: arenaLights 6.5s ease-in-out infinite alternate;
}

.cmg-bg__grid {
  opacity: 0.18;
  background-image:
    linear-gradient(rgba(141, 232, 255, 0.11) 1px, transparent 1px),
    linear-gradient(90deg, rgba(141, 232, 255, 0.11) 1px, transparent 1px);
  background-size: 54px 54px;
  transform: perspective(700px) rotateX(64deg) translateY(18vh) scale(1.5);
  transform-origin: center bottom;
  animation: rinkGrid 24s linear infinite;
}

.cmg-bg__particles {
  width: 100%;
  height: 100%;
}

.cmg-bg__scanline {
  opacity: 0.12;
  background: linear-gradient(180deg, transparent, rgba(141, 232, 255, 0.12), transparent);
  transform: translateY(-100%);
  animation: systemScan 12s linear infinite;
}

.cmg-command__nav {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 40px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  background: rgba(15,26,46,0.94);
  backdrop-filter: blur(10px);
  animation: navDrop 520ms ease both;
}

.cmg-brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  color: inherit;
  text-decoration: none;
}

.cmg-brand-logo {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  object-fit: contain;
  flex-shrink: 0;
  transition: transform .18s ease;
  filter:
    drop-shadow(0 0 12px rgba(59,130,246,0.28))
    drop-shadow(0 0 24px rgba(59,130,246,0.12));
}

.cmg-brand-lockup:hover .cmg-brand-logo {
  transform: scale(1.03);
}

.cmg-command__logo {
  font-family: var(--cmg-font-head);
  font-size: 21px;
  font-weight: 700;
  letter-spacing: -0.04em;
  background: linear-gradient(180deg, #ffffff, #b8c2d9);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.cmg-command__status,
.cmg-kicker {
  color: var(--cmg-cyan);
  font-family: var(--cmg-font-head);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

.cmg-intro,
.cmg-section-label {
  width: min(980px, calc(100% - 32px));
  margin: 24px auto 16px;
  text-align: center;
}

.cmg-intro {
  padding: 20px 18px 10px;
}

.cmg-intro h1,
.cmg-section-label h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(30px, 5vw, 48px);
  line-height: 1.08;
  letter-spacing: 0;
  text-shadow: 0 0 28px rgba(141, 232, 255, 0.12);
}

.cmg-section-label h2 {
  font-size: clamp(24px, 4vw, 34px);
}

.cmg-intro p:not(.cmg-kicker),
.cmg-section-label p:not(.cmg-kicker) {
  max-width: 720px;
  margin: 12px auto 0;
  color: #b8c2d9;
  font-size: 15px;
  line-height: 1.62;
}

.cmg-intro .cmg-profile-tagline {
  display: inline-block;
  max-width: 920px;
  margin-top: 14px;
  padding: 14px 22px;
  border: 1px solid rgba(141, 232, 255, 0.30);
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(255,255,255,0.08), transparent 18% 82%, rgba(244, 200, 106, 0.10)),
    radial-gradient(circle at 50% 0%, rgba(141, 232, 255, 0.18), transparent 62%),
    rgba(3, 9, 22, 0.34);
  color: #fff;
  font-family: var(--cmg-font-head);
  font-size: clamp(27px, 5.8vw, 60px);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 0.98;
  text-shadow: 0 0 34px rgba(141, 232, 255, 0.26), 0 2px 0 rgba(0,0,0,0.34);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.12), 0 18px 42px rgba(0,0,0,0.18);
}

.cmg-intro .cmg-profile-explain {
  max-width: 760px;
  margin-top: 12px;
  color: #aebdd0;
  font-size: clamp(14px, 2vw, 17px);
}

.cmg-help {
  max-width: 360px;
  margin: 8px 0 0;
  color: #94a3b8;
  font-size: 13px;
  line-height: 1.45;
}

.cmg-reward-strip {
  width: min(980px, calc(100% - 32px));
  margin: -4px auto 14px;
  text-align: center;
}

.cmg-free-hook {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  max-width: 100%;
  min-height: 42px;
  padding: 8px 18px;
  border: 1px solid rgba(244, 200, 106, 0.58);
  border-radius: 999px;
  background:
    radial-gradient(circle at 10% 0%, rgba(255, 241, 174, 0.30), transparent 34%),
    linear-gradient(135deg, rgba(126, 88, 18, 0.86), rgba(3, 9, 22, 0.90));
  color: #fff7cf;
  cursor: pointer;
  font-weight: 900;
  box-shadow: 0 14px 32px rgba(0,0,0,0.22), 0 0 34px rgba(244, 200, 106, 0.20), inset 0 1px 0 rgba(255,255,255,0.16);
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.cmg-free-hook:hover {
  border-color: rgba(255, 241, 174, 0.78);
  box-shadow: 0 16px 38px rgba(0,0,0,0.26), 0 0 42px rgba(244, 200, 106, 0.26), inset 0 1px 0 rgba(255,255,255,0.18);
  transform: translateY(-1px);
}

.cmg-free-hook span {
  color: #fff;
}

.cmg-free-hook strong {
  color: #e4d29d;
  font-size: 11px;
}

.cmg-card-actions {
  display: grid;
  gap: 12px;
  width: min(430px, 100%);
  margin: 12px auto 0;
}

.cmg-micro-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}

.cmg-micro-action,
.cmg-micro-actions span {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 5px 9px;
  border: 1px solid rgba(244, 200, 106, 0.38);
  border-radius: 999px;
  background:
    radial-gradient(circle at 12% 0%, rgba(255, 241, 174, 0.18), transparent 36%),
    rgba(80, 58, 18, 0.30);
  color: #fff1ae;
  font-size: 11px;
  font-weight: 900;
}

.cmg-micro-action {
  cursor: pointer;
}

.cmg-micro-action.is-complete {
  opacity: 0.62;
}

.cmg-micro-action.is-pulsing {
  animation: xpPop 620ms ease both;
}

.cmg-command__shell {
  display: grid;
  grid-template-columns: minmax(250px, 0.9fr) minmax(300px, 1.12fr) minmax(250px, 0.9fr);
  grid-template-rows: auto auto;
  gap: 18px;
  width: min(1380px, calc(100% - 32px));
  margin: 18px auto 18px;
  align-items: start;
}

.cmg-profile-tabs {
  display: none;
}

.cmg-profile-column {
  display: grid;
  gap: 18px;
  align-content: start;
  min-width: 0;
}

.cmg-profile-column--clips {
  grid-column: 1;
  grid-row: 1 / span 2;
}

.cmg-hero {
  grid-column: 2;
  grid-row: 1;
}

.cmg-locker-panel {
  grid-column: 2;
  grid-row: 2;
}

.cmg-profile-column--progress {
  grid-column: 3;
  grid-row: 1 / span 2;
}

.cmg-panel,
.cmg-card {
  border: 1px solid var(--cmg-border);
  background: var(--cmg-panel);
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.22), 0 0 34px rgba(54, 169, 255, 0.08), inset 0 0 28px rgba(141, 232, 255, 0.035);
  backdrop-filter: blur(18px);
}

.cmg-panel {
  position: relative;
  border-radius: 14px;
  padding: 18px;
  min-height: 360px;
  overflow: hidden;
  opacity: 0;
  transform: translateY(18px);
  animation: panelEnter 620ms ease forwards;
}

.cmg-panel::before,
.cmg-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background:
    linear-gradient(90deg, transparent 0 18%, rgba(141, 232, 255, 0.22) 50%, transparent 82%) top / 100% 1px no-repeat,
    linear-gradient(180deg, transparent 0 18%, rgba(141, 232, 255, 0.16) 50%, transparent 82%) right / 1px 100% no-repeat,
    linear-gradient(90deg, transparent 0 18%, rgba(141, 232, 255, 0.12) 50%, transparent 82%) bottom / 100% 1px no-repeat;
  opacity: 0.7;
}

.cmg-panel::after {
  content: "";
  position: absolute;
  inset: -40% -70%;
  background: linear-gradient(110deg, transparent 42%, rgba(141, 232, 255, 0.055), transparent 58%);
  transform: translateX(-22%);
  transition: transform 520ms ease;
  pointer-events: none;
}

.cmg-panel:hover {
  border-color: rgba(141, 232, 255, 0.34);
  box-shadow: 0 20px 52px rgba(0, 0, 0, 0.28), 0 0 38px rgba(54, 169, 255, 0.12), inset 0 0 34px rgba(141, 232, 255, 0.05);
}

.cmg-panel:hover::after {
  transform: translateX(22%);
}

.cmg-panel--stream {
  animation-delay: 90ms, 0ms;
  border: 1px solid rgba(215, 224, 234, 0.28);
  border-radius: 16px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.12), transparent 18% 72%, rgba(255, 255, 255, 0.05)),
    linear-gradient(180deg, rgba(65, 82, 106, 0.30), rgba(8, 13, 24, 0.94) 62%),
    radial-gradient(circle at 50% 16%, rgba(141, 232, 255, 0.12), transparent 42%),
    var(--cmg-panel);
  box-shadow:
    0 22px 56px rgba(0, 0, 0, 0.34),
    0 0 32px rgba(148, 163, 184, 0.10),
    inset 0 1px 0 rgba(255, 255, 255, 0.14),
    inset 0 -22px 40px rgba(0, 0, 0, 0.28);
}

.cmg-panel--stream::before {
  background:
    radial-gradient(circle at 22px 22px, #f8fafc 0 2px, #64748b 3px 6px, #0f172a 7px 10px, transparent 11px),
    radial-gradient(circle at calc(100% - 22px) 22px, #f8fafc 0 2px, #64748b 3px 6px, #0f172a 7px 10px, transparent 11px),
    radial-gradient(circle at 22px calc(100% - 22px), #d7e0ea 0 2px, #64748b 3px 6px, #0f172a 7px 10px, transparent 11px),
    radial-gradient(circle at calc(100% - 22px) calc(100% - 22px), #d7e0ea 0 2px, #64748b 3px 6px, #0f172a 7px 10px, transparent 11px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.34), transparent 14% 86%, rgba(255, 255, 255, 0.18)) top / 100% 2px no-repeat,
    linear-gradient(90deg, rgba(15, 23, 42, 0.72), transparent 22% 78%, rgba(15, 23, 42, 0.72)) bottom / 100% 2px no-repeat,
    linear-gradient(180deg, rgba(255, 255, 255, 0.18), transparent 24% 76%, rgba(15, 23, 42, 0.60)) left / 2px 100% no-repeat,
    linear-gradient(180deg, rgba(255, 255, 255, 0.18), transparent 24% 76%, rgba(15, 23, 42, 0.60)) right / 2px 100% no-repeat;
  opacity: 0.9;
}

.cmg-panel--stream .cmg-panel__header {
  position: relative;
  margin: -6px -6px 12px;
  padding: 14px 18px 14px;
  border: 1px solid rgba(226, 232, 240, 0.18);
  border-radius: 12px;
  background:
    linear-gradient(90deg, rgba(15, 23, 42, 0.82), rgba(51, 65, 85, 0.36) 52%, rgba(15, 23, 42, 0.86)),
    rgba(3, 9, 22, 0.74);
  box-shadow:
    0 10px 20px rgba(0, 0, 0, 0.20),
    inset 0 1px 0 rgba(255, 255, 255, 0.24),
    inset 0 -8px 18px rgba(0, 0, 0, 0.26);
}

.cmg-panel--stream .cmg-panel__header::before,
.cmg-panel--stream .cmg-panel__header::after {
  display: none;
}

.cmg-panel--stream .cmg-panel__header::before {
  left: 13px;
}

.cmg-panel--stream .cmg-panel__header::after {
  right: 13px;
}

.cmg-panel--stream .cmg-panel__header > div {
  padding-left: 0;
}

.cmg-panel--stream .cmg-panel__header h2 {
  color: #f8fafc;
  letter-spacing: 0.4px;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.75), 0 0 16px rgba(226, 232, 240, 0.14);
}

.cmg-panel--stream .cmg-kicker {
  color: #cbd5e1;
}

.cmg-panel--stream .cmg-help {
  max-width: 280px;
  color: #bac5d3;
}

.cmg-panel--stream .cmg-panel__count {
  position: static;
  align-self: start;
  justify-self: end;
  margin-top: 2px;
  border-color: rgba(226, 232, 240, 0.28);
  background: rgba(3, 9, 22, 0.44);
  color: #e2e8f0;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.10);
}

.cmg-panel--stats {
  animation-delay: 210ms, 0ms;
  border-color: rgba(141, 232, 255, 0.24);
  background:
    radial-gradient(circle at 50% 18%, rgba(54, 169, 255, 0.12), transparent 36%),
    linear-gradient(180deg, rgba(7, 26, 51, 0.62), rgba(3, 9, 22, 0.78)),
    var(--cmg-panel);
}

.cmg-mission {
  animation-delay: 320ms, 0ms;
}

.cmg-game {
  animation-delay: 120ms, 0ms;
}

.cmg-panel__header {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 18px;
}

.cmg-panel__count {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 10px;
  border: 1px solid rgba(141, 232, 255, 0.26);
  border-radius: 999px;
  background: rgba(54, 169, 255, 0.1);
  color: var(--cmg-cyan);
  font-size: 12px;
  white-space: nowrap;
}

.cmg-panel h2,
.cmg-mission h2 {
  margin: 0;
  font-family: var(--cmg-font-head);
  font-size: 24px;
  line-height: 1.05;
  text-transform: none;
}

.cmg-kicker {
  margin: 0 0 5px;
}

.cmg-hero {
  position: relative;
  display: grid;
  align-content: center;
  gap: 14px;
  min-height: 520px;
  place-items: center;
  transform: translate3d(calc(var(--parallax-x) * 0.35), calc(var(--parallax-y) * 0.22), 0);
  transition: transform 120ms ease-out;
}

.cmg-energy-core {
  position: absolute;
  width: min(440px, 80vw);
  aspect-ratio: 1;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(54, 169, 255, 0.28), rgba(54, 169, 255, 0.06) 42%, transparent 70%);
  filter: blur(2px);
  animation: energyPulse 2.7s ease-in-out infinite;
}

.cmg-level-burst {
  position: absolute;
  width: min(520px, 92vw);
  aspect-ratio: 1;
  border-radius: 999px;
  pointer-events: none;
  opacity: 0;
  background:
    radial-gradient(circle, rgba(141, 232, 255, 0.35), transparent 35%),
    repeating-conic-gradient(from 0deg, rgba(244, 200, 106, 0.0) 0 16deg, rgba(244, 200, 106, 0.22) 17deg 19deg);
  transform: scale(0.54);
}

.cmg-command.is-leveling .cmg-level-burst {
  animation: levelBurst 780ms ease-out;
}

.cmg-card__xp-top,
.cmg-mission__meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: var(--cmg-muted);
  font-size: 13px;
}

.cmg-card__xp-top strong,
.cmg-mission__meta strong {
  color: var(--cmg-text);
}

.cmg-energy-bar {
  position: relative;
  height: 9px;
  margin-top: 9px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
}

.cmg-energy-bar span {
  position: relative;
  display: block;
  width: 0%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--cmg-blue), var(--cmg-cyan), var(--cmg-green));
  transition: width 450ms ease;
  overflow: hidden;
  box-shadow: 0 0 16px rgba(141, 232, 255, 0.36);
}

.cmg-energy-bar span::after {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(115deg, rgba(255, 255, 255, 0.42) 0 8px, transparent 8px 18px);
  opacity: 0.5;
  animation: energyFlow 880ms linear infinite;
}

.cmg-stream,
.cmg-stats {
  display: grid;
  gap: 10px;
}

.cmg-empty {
  display: grid;
  gap: 8px;
  padding: 18px;
  border: 1px solid rgba(186, 224, 255, 0.14);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.045);
}

.cmg-empty strong {
  color: #fff;
  font-size: 16px;
}

.cmg-empty span {
  color: var(--cmg-muted);
  font-size: 13px;
  line-height: 1.45;
}

.cmg-empty a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-height: 38px;
  margin-top: 4px;
  padding: 0 14px;
  border-radius: 8px;
  background: #3b82f6;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
}

.cmg-profile-load-error {
  width: min(640px, calc(100% - 32px));
  margin: clamp(64px, 14vh, 140px) auto;
  padding: 28px;
  border: 1px solid rgba(248, 113, 113, 0.32);
  border-radius: 14px;
  background:
    linear-gradient(145deg, rgba(30, 41, 59, 0.94), rgba(8, 15, 29, 0.96)),
    rgba(127, 29, 29, 0.18);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.34), inset 0 1px 0 rgba(255,255,255,0.08);
  text-align: center;
}

.cmg-profile-load-error strong,
.cmg-profile-load-error span {
  display: block;
}

.cmg-profile-load-error strong {
  color: #fff;
  font-size: clamp(24px, 5vw, 34px);
  line-height: 1.1;
}

.cmg-profile-load-error span {
  max-width: 440px;
  margin: 10px auto 0;
  color: var(--cmg-muted);
  font-size: 15px;
  line-height: 1.5;
}

.cmg-command.is-profile-load-error .cmg-intro,
.cmg-command.is-profile-load-error .cmg-reward-strip,
.cmg-command.is-profile-load-error .cmg-profile-tabs,
.cmg-command.is-profile-load-error .cmg-command__shell,
.cmg-command.is-profile-load-error .cmg-watch-modal {
  display: none !important;
}

.cmg-buy-box {
  display: grid;
  gap: 8px;
  margin-top: 16px;
  padding: 15px;
  border: 1px solid rgba(93, 242, 164, 0.24);
  border-radius: 12px;
  background:
    radial-gradient(circle at 14% 0%, rgba(93, 242, 164, 0.10), transparent 34%),
    linear-gradient(135deg, rgba(34, 197, 94, 0.07), rgba(59, 130, 246, 0.045)),
    rgba(255, 255, 255, 0.035);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.08),
    0 10px 22px rgba(0,0,0,0.16);
}

.cmg-buy-box strong {
  color: #fff;
  font-size: 15px;
}

.cmg-buy-box span {
  color: var(--cmg-muted);
  font-size: 13px;
  line-height: 1.45;
}

.cmg-package-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 4px;
}

.cmg-package-row a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  border: 1px solid rgba(141, 232, 255, 0.18);
  border-radius: 999px;
  background:
    linear-gradient(135deg, rgba(59, 130, 246, 0.98), rgba(14, 85, 190, 0.96));
  color: #fff;
  font-size: 12px;
  font-weight: 900;
  text-align: center;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.15);
  transition: transform 150ms ease, box-shadow 150ms ease, border-color 150ms ease;
}

.cmg-package-row a:hover {
  border-color: rgba(141, 232, 255, 0.48);
  box-shadow: 0 0 22px rgba(54, 169, 255, 0.18), inset 0 1px 0 rgba(255,255,255,0.20);
  transform: translateY(-1px);
}

.cmg-package-row a:last-child {
  border-color: rgba(93, 242, 164, 0.42);
  background:
    linear-gradient(135deg, rgba(93, 242, 164, 0.98), rgba(34, 197, 94, 0.92));
  color: #04130d;
}

.cmg-stream__item,
.cmg-stat {
  position: relative;
  border: 1px solid rgba(186, 224, 255, 0.14);
  border-radius: 12px;
  background:
    linear-gradient(135deg, rgba(255,255,255,0.075), transparent 24% 82%, rgba(141, 232, 255, 0.04)),
    rgba(255, 255, 255, 0.036);
  padding: 13px;
  color: inherit;
  font: inherit;
  text-align: left;
  overflow: hidden;
  transform: translateX(-14px);
  opacity: 0;
  animation: feedSlide 520ms ease forwards;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, box-shadow 180ms ease, filter 180ms ease;
}

.cmg-order-card {
  position: relative;
  display: grid;
  gap: 2px;
  margin: 2px 0 0;
  padding: 13px 58px 13px 13px;
  border: 2px solid rgba(226, 232, 240, 0.34);
  border-radius: 10px;
  background:
    radial-gradient(circle at 100% 50%, rgba(141, 232, 255, 0.16), transparent 28%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.12), transparent 20% 82%, rgba(255, 255, 255, 0.06)),
    linear-gradient(180deg, rgba(35, 45, 61, 0.92), rgba(3, 8, 17, 0.96)),
    repeating-linear-gradient(110deg, rgba(255, 255, 255, 0.05) 0 1px, transparent 1px 9px);
  color: inherit;
  cursor: pointer;
  text-align: left;
  box-shadow:
    0 8px 18px rgba(0, 0, 0, 0.20),
    inset 0 1px 0 rgba(255, 255, 255, 0.16),
    inset 0 -10px 22px rgba(0, 0, 0, 0.24);
  transition: border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.cmg-order-card--redemption:hover {
  border-color: rgba(244, 200, 106, 0.42);
  background:
    radial-gradient(circle at 100% 50%, rgba(141, 232, 255, 0.18), transparent 30%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.14), transparent 20% 82%, rgba(244, 200, 106, 0.055)),
    linear-gradient(180deg, rgba(38, 50, 67, 0.94), rgba(3, 8, 17, 0.96));
  box-shadow:
    0 0 22px rgba(244, 200, 106, 0.08),
    0 8px 18px rgba(0, 0, 0, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.cmg-order-card::after {
  content: "OPEN";
  position: absolute;
  right: 11px;
  top: 50%;
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid rgba(141, 232, 255, 0.30);
  border-radius: 999px;
  background: rgba(54, 169, 255, 0.10);
  color: #bff3ff;
  font-family: var(--cmg-font-head);
  font-size: 10px;
  font-weight: 900;
  transform: translateY(-50%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.cmg-order-card--redemption {
  margin-left: 18px;
  padding-top: 10px;
  padding-bottom: 10px;

  border-color: rgba(226, 232, 240, 0.30);

  background:
    radial-gradient(circle at 100% 50%, rgba(141, 232, 255, 0.12), transparent 28%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.10), transparent 20% 82%, rgba(244, 200, 106, 0.025)),
    linear-gradient(180deg, rgba(31, 41, 55, 0.90), rgba(3, 8, 17, 0.96));
  
  box-shadow:
  inset 0 0 0 1px rgba(244,200,106,.12),
  0 10px 24px rgba(0,0,0,.18);
}

.cmg-order-card--redemption::before {
  content: "";
  position: absolute;
  left: -18px;
  top: -8px;
  bottom: 24px;

  width: 10px;
  border-left: 1px solid rgba(244, 200, 106, 0.42);
  border-bottom: 1px solid rgba(244, 200, 106, 0.22);
  border-radius: 0 0 0 8px;

  background: transparent;
  box-shadow: -3px 0 10px rgba(244, 200, 106, 0.10);
}

.cmg-redemption-branch {
  color: #f0cf84;
  font-weight: 900;
  opacity: 0.9;
}

.cmg-card-source-line {
  display: block;
  margin: 1px 0 3px;

  color: #f0cf84;

  font-size: 9px;
  font-weight: 900;
  letter-spacing: .065em;
  line-height: 1.15;
  text-transform: uppercase;

  opacity: 0.86;
}

.cmg-order-card--redemption:hover {
  border-color: rgba(244, 200, 106, 0.38);

  background:
    radial-gradient(circle at 100% 50%, rgba(141, 232, 255, 0.16), transparent 30%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.13), transparent 20% 82%, rgba(244, 200, 106, 0.045)),
    linear-gradient(180deg, rgba(38, 50, 67, 0.94), rgba(3, 8, 17, 0.96));

  box-shadow:
    0 0 20px rgba(244, 200, 106, 0.07),
    0 8px 18px rgba(0, 0, 0, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.16);
}

.cmg-order-card strong {
  color: #fff;
  font-family: var(--cmg-font-head);
  font-size: 15px;
  line-height: 1.15;
}

.cmg-order-card em {
  color: var(--cmg-muted);
  font-size: 11px;
  font-style: normal;
}

.cmg-order-card b {
  display: inline-flex;
  width: fit-content;
  margin-top: 7px;
  padding: 4px 8px;
  border: 1px solid rgba(226, 232, 240, 0.30);
  border-radius: 999px;
  background: rgba(3, 9, 22, 0.28);
  color: #e2e8f0;
  font-size: 11px;
}

.cmg-stream__item {
  padding-right: 68px;
}

.cmg-stat {
  transform: translateX(14px);
}

.cmg-stream__item:nth-child(1),
.cmg-stat:nth-child(1) { animation-delay: 120ms; }
.cmg-stream__item:nth-child(2),
.cmg-stat:nth-child(2) { animation-delay: 200ms; }
.cmg-stream__item:nth-child(3),
.cmg-stat:nth-child(3) { animation-delay: 280ms; }
.cmg-stream__item:nth-child(4),
.cmg-stat:nth-child(4) { animation-delay: 360ms; }
.cmg-stream__item:nth-child(5),
.cmg-stat:nth-child(5) { animation-delay: 440ms; }
.cmg-stream__item:nth-child(6),
.cmg-stat:nth-child(6) { animation-delay: 520ms; }

.cmg-stream__item::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.10;
  background: linear-gradient(90deg, rgba(141, 232, 255, 0.18), transparent 58%);
  pointer-events: none;
}

.cmg-stream__item::after {
  content: "Watch";
  position: absolute;
  right: 12px;
  top: 50%;
  display: grid;
  width: 50px;
  height: 34px;
  place-items: center;
  border: 1px solid rgba(141, 232, 255, 0.42);
  border-radius: 999px;
  background: rgba(54, 169, 255, 0.10);
  color: #d7f7ff;
  font-family: var(--cmg-font-head);
  font-size: 10px;
  font-weight: 900;
  transform: translateY(-50%) scale(0.92);
  transition: transform 180ms ease, background 180ms ease;
}

.cmg-stream__item:hover,
.cmg-stat:hover {
  border-color: rgba(141, 232, 255, 0.52);
  background:
    linear-gradient(135deg, rgba(255,255,255,0.10), transparent 24% 82%, rgba(141, 232, 255, 0.08)),
    rgba(54, 169, 255, 0.08);
  box-shadow: 0 14px 28px rgba(0,0,0,0.22), 0 0 24px rgba(54, 169, 255, 0.16);
  filter: saturate(1.06);
  transform: translateY(-2px);
}

.cmg-stream__item.is-unavailable {
  cursor: pointer;
  opacity: 0.72;
  border-color: rgba(148, 163, 184, 0.16);
  background: rgba(148, 163, 184, 0.055);
}

.cmg-stream__item.is-unavailable::after {
  content: "N/A";
  color: #94a3b8;
  border-color: rgba(148, 163, 184, 0.28);
}

.cmg-stream__item.is-unavailable:hover {
  border-color: rgba(148, 163, 184, 0.32);
  box-shadow: 0 0 18px rgba(148, 163, 184, 0.08);
  transform: translateY(-2px);
}

.cmg-stream__item:hover::after {
  background: rgba(54, 169, 255, 0.22);
  transform: translateY(-50%) scale(1);
}

.cmg-stream__item strong,
.cmg-stat strong {
  display: block;
  font-family: var(--cmg-font-head);
  font-size: 17px;
  line-height: 1.15;
  text-transform: none;
}

.cmg-stream__item em {
  display: block;
  max-width: calc(100% - 58px);
  margin-top: 5px;
  color: #eaf6ff;
  font-size: 13px;
  font-weight: 800;
  font-style: normal;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cmg-stream__item span,
.cmg-stat span {
  display: block;
  margin-top: 5px;
  color: #91a7bb;
  font-size: 12px;
}

.cmg-xp-guide {
  margin-top: 14px;
  padding: 12px;
  border: 1px solid rgba(141, 232, 255, 0.16);
  border-radius: 10px;
  background: rgba(3, 9, 22, 0.36);
}

.cmg-xp-target {
  margin-top: 14px;
  padding: 12px;
  border: 1px solid rgba(244, 200, 106, 0.24);
  border-radius: 10px;
  background:
    radial-gradient(circle at 12% 0%, rgba(244, 200, 106, 0.12), transparent 32%),
    rgba(3, 9, 22, 0.42);
}

.cmg-xp-target__top strong {
  color: #fff;
  font-family: var(--cmg-font-head);
  font-size: 15px;
  line-height: 1.2;
}

.cmg-xp-target p {
  margin: 8px 0 0;
  color: #f1d68a;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.35;
}

.cmg-build-card {
  display: grid;
  gap: 10px;
  margin-top: 14px;
  padding: 13px;
  border: 1px solid rgba(141, 232, 255, 0.20);
  border-radius: 10px;
  background:
    linear-gradient(135deg, rgba(141, 232, 255, 0.10), transparent 42%, rgba(244, 200, 106, 0.08)),
    rgba(3, 9, 22, 0.42);
}

.cmg-build-card h2 {
  margin: 0;
  color: #fff;
  font-family: var(--cmg-font-head);
  font-size: 20px;
  line-height: 1.05;
}

.cmg-build-card .cmg-mission__copy {
  margin: 0;
  color: #b8c2d9;
  font-size: 12px;
  line-height: 1.45;
}

.cmg-build-card .cmg-train-btn {
  width: 100%;
  min-height: 40px;
  padding: 9px 12px;
  font-size: 13px;
}

.cmg-panel--stats .cmg-stat {
  border-color: rgba(141, 232, 255, 0.18);
  background:
    linear-gradient(180deg, rgba(54, 169, 255, 0.10), rgba(3, 9, 22, 0.22)),
    rgba(255, 255, 255, 0.035);
}

.cmg-panel--stats .cmg-stat strong {
  color: #e9f9ff;
  text-shadow: 0 0 14px rgba(141, 232, 255, 0.14);
}

.cmg-xp-guide strong,
.cmg-xp-guide span {
  display: block;
}

.cmg-xp-guide strong {
  color: #fff;
  font-family: var(--cmg-font-head);
  font-size: 16px;
}

.cmg-xp-guide span {
  margin-top: 6px;
  color: #b8c2d9;
  font-size: 12px;
  line-height: 1.45;
}

.cmg-stream__item small {
  display: none;
}

.cmg-clip-pager {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  margin-top: 4px;
  padding-top: 4px;
}

.cmg-clip-pager span {
  color: var(--cmg-muted);
  font-size: 12px;
  font-weight: 700;
  text-align: center;
  white-space: nowrap;
}

.cmg-clip-pager .cmg-secondary-btn {
  min-height: 36px;
  padding: 8px 10px;
  font-size: 12px;
}

.cmg-radar {
  position: relative;
  width: min(220px, 72%);
  aspect-ratio: 1;
  margin: 22px auto 0;
  border: 1px solid rgba(141, 232, 255, 0.24);
  border-radius: 999px;
  background:
    radial-gradient(circle, transparent 0 28%, rgba(141, 232, 255, 0.09) 29% 30%, transparent 31% 54%, rgba(141, 232, 255, 0.11) 55% 56%, transparent 57%),
    linear-gradient(90deg, transparent 49.5%, rgba(141, 232, 255, 0.16) 50%, transparent 50.5%),
    linear-gradient(0deg, transparent 49.5%, rgba(141, 232, 255, 0.16) 50%, transparent 50.5%);
  overflow: hidden;
}

.cmg-radar span {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 50%;
  height: 2px;
  background: linear-gradient(90deg, rgba(141, 232, 255, 0.88), transparent);
  transform-origin: left center;
  animation: radarSweep 3.5s linear infinite;
}

.cmg-mission,
.cmg-game {
  width: min(1380px, calc(100% - 32px));
  margin: 0 auto 18px;
}

.cmg-reward-locker {
  position: relative;
  width: min(980px, calc(100% - 32px));
  min-height: auto;
  margin: 18px auto 20px;
  padding: 18px;
  border-color: rgba(255, 241, 174, 0.54);
  background:
    radial-gradient(circle at 12% 0%, rgba(255, 241, 174, 0.26), transparent 32%),
    radial-gradient(circle at 92% 8%, rgba(244, 200, 106, 0.20), transparent 28%),
    linear-gradient(135deg, rgba(98, 66, 12, 0.68), rgba(3, 9, 22, 0.76)),
    var(--cmg-panel);
  box-shadow: 0 0 74px rgba(244, 200, 106, 0.28), 0 0 24px rgba(255, 241, 174, 0.16), inset 0 0 42px rgba(255, 241, 174, 0.09);
}

.cmg-profile-column--progress .cmg-reward-locker {
  width: 100%;
  margin: 0;
  padding: 16px;
  border-color: rgba(244, 200, 106, 0.42);
  border-radius: 16px;
  background:
    radial-gradient(circle at 8% 0%, rgba(255, 241, 174, 0.16), transparent 36%),
    linear-gradient(180deg, rgba(244, 200, 106, 0.13), rgba(3, 9, 22, 0.72)),
    rgba(7, 14, 26, 0.78);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.30), 0 0 28px rgba(244, 200, 106, 0.08), inset 0 1px 0 rgba(255,255,255,0.12);
}

.cmg-hero .cmg-reward-locker {
  width: min(430px, 100%);
  margin: 18px auto 0;
}

.cmg-reward-locker::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    radial-gradient(circle, rgba(255, 241, 174, 0.48) 0 1px, transparent 2px),
    radial-gradient(circle, rgba(244, 200, 106, 0.32) 0 1px, transparent 2px);
  background-position: 8% 24%, 88% 36%;
  background-size: 80px 60px, 110px 90px;
  opacity: 0.22;
  animation: sparkleDrift 9s linear infinite;
}

.cmg-reward-locker__head {
  position: relative;
  display: block;
  margin: 0 auto 10px;
  text-align: center;
}

.cmg-reward-locker__head > div {
  max-width: 620px;
  margin: 0 auto;
}

.cmg-reward-locker__head h2 {
  margin: 0;
  color: #fff7cf;
  font-family: var(--cmg-font-head);
  font-size: 26px;
  text-shadow: 0 0 24px rgba(255, 241, 174, 0.30);
}

.cmg-reward-locker__head p:not(.cmg-kicker) {
  max-width: 620px;
  margin: 6px auto 0;
  color: #e4d29d;
  font-size: 12px;
  line-height: 1.45;
}

.cmg-reward-locker__head > strong {
  display: none;
}

.cmg-reward-locker__hint {
  position: relative;
  margin: 0 0 12px;
  color: #fff1ae;
  font-size: 11px;
  font-weight: 800;
  line-height: 1.35;
  text-align: center;
}

.cmg-reward-list {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 14px;
}

.cmg-profile-column--progress .cmg-reward-list {
  grid-template-columns: 1fr;
  gap: 8px;
  margin-top: 10px;
}

.cmg-hero .cmg-reward-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.cmg-hero .cmg-reward-locker__head p:not(.cmg-kicker) {
  display: none;
}

.cmg-hero .cmg-reward {
  min-height: 124px;
  padding: 13px 10px 11px;
}

.cmg-hero .cmg-reward strong {
  font-size: 15px;
}

.cmg-hero .cmg-reward em {
  display: none;
}

.cmg-hero .cmg-reward b {
  margin: 10px auto 0;
  font-size: 9px;
}

.cmg-reward {
  position: relative;
  display: grid;
  grid-template-rows: 1fr auto;
  min-height: 136px;
  padding: 14px 12px 12px;
  overflow: hidden;
  border: 1px solid rgba(244, 200, 106, 0.42);
  border-radius: 10px;
  background:
    linear-gradient(180deg, rgba(255, 241, 174, 0.22), rgba(54, 39, 12, 0.38) 30px, rgba(3, 9, 22, 0.62) 31px),
    linear-gradient(135deg, rgba(98, 66, 12, 0.64), rgba(3, 9, 22, 0.48));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    inset 0 -18px 26px rgba(0, 0, 0, 0.24),
    0 12px 24px rgba(0, 0, 0, 0.22);
  text-align: center;
  cursor: pointer;
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.cmg-profile-column--progress .cmg-reward {
  grid-template-columns: auto 1fr;
  grid-template-rows: auto;
  gap: 10px;
  align-items: center;
  min-height: 74px;
  padding: 11px 12px 11px 50px;
  border-radius: 12px;
  text-align: left;
}

.cmg-profile-column--progress .cmg-reward::before {
  left: 22px;
  right: auto;
  top: 14px;
  bottom: 14px;
  width: 2px;
  height: auto;
  background: linear-gradient(180deg, rgba(255, 241, 174, 0.82), rgba(93, 242, 164, 0.28));
}

.cmg-profile-column--progress .cmg-reward::after {
  display: none;
}

.cmg-profile-column--progress .cmg-reward span {
  position: absolute;
  left: 10px;
  top: 50%;
  display: grid;
  width: 31px;
  height: 31px;
  place-items: center;
  border: 1px solid rgba(255, 241, 174, 0.42);
  border-radius: 999px;
  background: rgba(3, 9, 22, 0.78);
  color: #fff7cf;
  font-size: 9px;
  transform: translateY(-50%);
}

.cmg-profile-column--progress .cmg-reward i,
.cmg-profile-column--progress .cmg-reward strong,
.cmg-profile-column--progress .cmg-reward em,
.cmg-profile-column--progress .cmg-reward b {
  text-align: left;
}

.cmg-profile-column--progress .cmg-reward i {
  margin: 0 0 5px;
}

.cmg-profile-column--progress .cmg-reward strong {
  margin-top: 0;
  font-size: 15px;
}

.cmg-profile-column--progress .cmg-reward em {
  display: none;
}

.cmg-profile-column--progress .cmg-reward b {
  margin: 0;
  font-size: 10px;
}

.cmg-profile-column--progress .cmg-reward.is-next {
  border-color: rgba(255, 241, 174, 0.92);
  background:
    radial-gradient(circle at 100% 0%, rgba(255, 241, 174, 0.22), transparent 42%),
    linear-gradient(135deg, rgba(145, 100, 20, 0.86), rgba(3, 9, 22, 0.76));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.24),
    0 0 38px rgba(255, 241, 174, 0.26),
    0 12px 26px rgba(0, 0, 0, 0.30);
}

.cmg-profile-column--progress .cmg-reward.is-next span {
  border-color: rgba(255, 241, 174, 0.88);
  background: #fff1ae;
  color: #2b1b04;
  box-shadow: 0 0 22px rgba(255, 241, 174, 0.34);
}

.cmg-reward::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 30px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 241, 174, 0.74), transparent);
  opacity: 0.9;
}

.cmg-reward::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(115deg, transparent 0 38%, rgba(255, 255, 255, 0.16) 45%, transparent 52%);
  transform: translateX(-125%);
  transition: transform 260ms ease;
}

.cmg-reward:hover {
  border-color: rgba(255, 241, 174, 0.62);
  transform: translateY(-2px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.20), 0 0 28px rgba(244, 200, 106, 0.20), 0 16px 30px rgba(0, 0, 0, 0.28);
}

.cmg-reward:hover::after {
  transform: translateX(125%);
}

.cmg-reward span,
.cmg-reward i,
.cmg-reward em,
.cmg-reward b {
  position: relative;
  z-index: 1;
  display: block;
}

.cmg-reward span {
  color: #f4c86a;
  font-size: 11px;
  line-height: 1;
  font-weight: 900;
  text-transform: uppercase;
  text-align: center;
}

.cmg-reward i {
  width: fit-content;
  max-width: 100%;
  margin: 18px auto 0;
  padding: 5px 8px;
  border: 1px solid rgba(255, 241, 174, 0.44);
  border-radius: 999px;
  background: rgba(244, 200, 106, 0.18);
  color: #fff1ae;
  font-size: 9px;
  font-style: normal;
  font-weight: 1000;
  letter-spacing: 0.4px;
  line-height: 1.1;
}

.cmg-reward strong {
  display: block;
  margin-top: 5px;
  color: #fff;
  font-family: var(--cmg-font-head);
  font-size: 16px;
  line-height: 1.05;
  text-align: center;
}

.cmg-reward em {
  margin-top: 6px;
  color: #cbbf96;
  font-size: 11px;
  font-style: normal;
  line-height: 1.35;
  text-align: center;
}

.cmg-reward b {
  width: fit-content;
  max-width: 100%;
  margin: 12px auto 0;
  padding: 5px 7px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--cmg-muted);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.2px;
  line-height: 1.25;
  text-align: center;
}

.cmg-reward.is-unlocked {
  border-color: rgba(93, 242, 164, 0.56);
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 241, 174, 0.30), transparent 44%),
    linear-gradient(180deg, rgba(255, 241, 174, 0.28), rgba(26, 71, 45, 0.38) 30px, rgba(3, 16, 18, 0.66) 31px),
    linear-gradient(135deg, rgba(244, 200, 106, 0.30), rgba(3, 9, 22, 0.48));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.22),
    0 0 28px rgba(93, 242, 164, 0.20),
    0 0 18px rgba(244, 200, 106, 0.18),
    0 14px 28px rgba(0, 0, 0, 0.26);
  animation: none;
}

.cmg-reward.is-unlocked span {
  color: #dfffee;
}

.cmg-reward.is-unlocked i {
  border-color: rgba(93, 242, 164, 0.50);
  background: rgba(93, 242, 164, 0.18);
  color: #eafff5;
}

.cmg-reward.is-unlocked b {
  background: rgba(93, 242, 164, 0.16);
  color: #dfffee;
}

.cmg-reward.is-locked {
  opacity: 0.74;
  filter: saturate(0.82);
}

.cmg-reward.is-locked b {
  background: rgba(244, 200, 106, 0.12);
  color: #f1d68a;
}

.cmg-reward.is-next {
  opacity: 1;
  border-color: rgba(255, 241, 174, 0.74);
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 241, 174, 0.34), transparent 42%),
    linear-gradient(180deg, rgba(255, 241, 174, 0.30), rgba(98, 66, 12, 0.48) 30px, rgba(9, 16, 28, 0.72) 31px),
    linear-gradient(135deg, rgba(120, 79, 12, 0.78), rgba(3, 9, 22, 0.56));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.24),
    0 0 30px rgba(255, 241, 174, 0.22),
    0 0 16px rgba(244, 200, 106, 0.20),
    0 14px 28px rgba(0, 0, 0, 0.28);
  animation: nextRewardPulse 4.8s ease-in-out infinite;
}

.cmg-reward.is-next i {
  border-color: rgba(255, 241, 174, 0.66);
  background: rgba(255, 241, 174, 0.20);
  color: #fff7cf;
}

.cmg-reward.is-next b {
  background: rgba(255, 241, 174, 0.16);
  color: #fff7cf;
}

.cmg-control-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr 1fr;
  gap: 18px;
  width: min(1380px, calc(100% - 32px));
  margin: 0 auto 18px;
}

.cmg-locker-panel {
  width: 100%;
  min-height: auto;
  border-color: rgba(215, 224, 234, 0.30);
  border-radius: 16px;
  background:
    radial-gradient(circle at 50% 0%, rgba(215, 224, 234, 0.12), transparent 40%),
    linear-gradient(135deg, rgba(255,255,255,0.13), transparent 24% 80%, rgba(244, 200, 106, 0.08)),
    linear-gradient(180deg, rgba(43, 52, 66, 0.84), rgba(3, 9, 22, 0.86));
  box-shadow: 0 20px 52px rgba(0,0,0,0.30), inset 0 1px 0 rgba(255,255,255,0.14);
}

.cmg-customizer-tabs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 5px;
  margin-bottom: 12px;
  padding: 5px;
  border: 1px solid rgba(226, 232, 240, 0.20);
  border-radius: 999px;
  background: rgba(3, 9, 22, 0.50);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.07);
}

.cmg-customizer-tabs button {
  min-height: 34px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #b8c2d9;
  cursor: pointer;
  font-size: 12px;
  font-weight: 900;
  transition: background 150ms ease, color 150ms ease, box-shadow 150ms ease, transform 150ms ease;
}

.cmg-customizer-tabs button:hover {
  color: #fff;
  background: rgba(141, 232, 255, 0.08);
}

.cmg-customizer-tabs button.is-active {
  background:
    linear-gradient(135deg, rgba(244, 200, 106, 0.24), rgba(141, 232, 255, 0.12)),
    rgba(255, 255, 255, 0.08);
  color: #fff7cf;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.16), 0 0 20px rgba(244, 200, 106, 0.16);
  transform: translateY(-1px);
}

.cmg-customizer-pane {
  display: none;
}

.cmg-customizer-pane.is-active {
  display: block;
}

.cmg-panel--skins,
.cmg-panel--missions,
.cmg-panel--share {
  min-height: 280px;
}

.cmg-panel--share {
  display: block;
  min-height: auto;
}

.cmg-skin-grid,
.cmg-daily {
  display: grid;
  gap: 10px;
}

.cmg-skin,
.cmg-daily__item,
.cmg-secondary-btn {
  border: 1px solid rgba(186, 224, 255, 0.16);
  border-radius: 12px;
  background:
    linear-gradient(135deg, rgba(255,255,255,0.06), transparent 70%),
    rgba(255, 255, 255, 0.045);
  color: var(--cmg-text);
  cursor: pointer;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.cmg-skin {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 10px;
  align-items: center;
  padding: 10px;
  text-align: left;
}

.cmg-skin:hover,
.cmg-daily__item:hover,
.cmg-secondary-btn:hover {
  border-color: rgba(141, 232, 255, 0.42);
  background: rgba(54, 169, 255, 0.08);
  box-shadow: 0 0 24px rgba(54, 169, 255, 0.14);
  transform: translateY(-2px);
}

.cmg-skin:disabled,
.cmg-daily__item:disabled,
.cmg-secondary-btn:disabled {
  cursor: not-allowed;
  opacity: 0.48;
  transform: none;
}

.cmg-secondary-btn:disabled:hover {
  border-color: rgba(186, 224, 255, 0.14);
  background: rgba(255, 255, 255, 0.045);
  box-shadow: none;
  transform: none;
}

.cmg-skin.is-active {
  border-color: color-mix(in srgb, var(--skin-accent), transparent 32%);
  background:
    radial-gradient(circle at 0% 0%, color-mix(in srgb, var(--skin-accent), transparent 84%), transparent 46%),
    rgba(255, 255, 255, 0.055);
  box-shadow: 0 0 26px color-mix(in srgb, var(--skin-accent), transparent 78%), inset 0 1px 0 rgba(255,255,255,0.12);
}

.cmg-skin__swatch {
  grid-row: span 2;
  width: 42px;
  aspect-ratio: 1;
  border-radius: 10px;
  background:
    linear-gradient(135deg, var(--swatch-a), var(--swatch-b) 48%, var(--swatch-c));
  box-shadow: inset 0 0 18px rgba(255, 255, 255, 0.13);
}

.cmg-skin strong,
.cmg-daily__item span {
  font-family: var(--cmg-font-head);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.15;
  text-transform: none;
}

.cmg-skin em,
.cmg-daily__item strong {
  color: var(--cmg-muted);
  font-size: 12px;
  font-style: normal;
}

.cmg-gear-customizer,
.cmg-stick-shop {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}

.cmg-gear-customizer h3,
.cmg-stick-shop h3 {
  margin: 0;
  color: #fff;
  font-size: 17px;
}

.cmg-gear-customizer p,
.cmg-stick-shop p {
  margin: 5px 0 12px;
  color: var(--cmg-muted);
  font-size: 12px;
  line-height: 1.45;
}

.cmg-gear-grid,
.cmg-stick-list {
  display: grid;
  gap: 10px;
  max-height: 520px;
  overflow: auto;
  padding-right: 2px;
}

.cmg-gear-row {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 10px;
  align-items: center;
}

.cmg-gear-row > span {
  color: var(--cmg-text);
  font-size: 13px;
  font-weight: 700;
}

.cmg-color-row {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.cmg-option-row {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.cmg-color-dot {
  width: 30px;
  height: 30px;
  border: 2px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  background: var(--dot-color);
  cursor: pointer;
  box-shadow: inset 0 0 8px rgba(0, 0, 0, 0.32);
  transition: transform 140ms ease, border-color 140ms ease, box-shadow 140ms ease;
}

.cmg-color-dot:hover,
.cmg-color-dot.is-active {
  border-color: #fff;
  box-shadow: 0 0 16px color-mix(in srgb, var(--dot-color), transparent 45%);
  transform: translateY(-1px);
}

.cmg-option-pill {
  min-height: 30px;
  padding: 7px 10px;
  border: 1px solid rgba(186, 224, 255, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.045);
  color: var(--cmg-muted);
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 140ms ease, border-color 140ms ease, color 140ms ease, background 140ms ease;
}

.cmg-option-pill:hover,
.cmg-option-pill.is-active {
  border-color: rgba(141, 232, 255, 0.55);
  background: rgba(54, 169, 255, 0.14);
  color: var(--cmg-text);
  transform: translateY(-1px);
}

.cmg-stick {
  display: grid;
  grid-template-columns: 48px 1fr auto;
  gap: 10px;
  align-items: center;
  min-height: 68px;
  padding: 10px;
  border: 1px solid rgba(186, 224, 255, 0.14);
  border-radius: 12px;
  background:
    linear-gradient(135deg, rgba(255,255,255,0.065), transparent 72%),
    rgba(255, 255, 255, 0.045);
  color: var(--cmg-text);
  cursor: pointer;
  text-align: left;
}

.cmg-stick:hover,
.cmg-stick.is-active {
  border-color: rgba(141, 232, 255, 0.48);
  background:
    linear-gradient(135deg, rgba(141, 232, 255, 0.10), transparent 72%),
    rgba(54, 169, 255, 0.08);
  box-shadow: 0 0 22px rgba(54, 169, 255, 0.12);
}

.cmg-stick[data-rarity="Limited"] {
  border-color: rgba(244, 200, 106, 0.3);
}

.cmg-stick[data-rarity="Elite"] {
  border-color: rgba(141, 232, 255, 0.3);
}

.cmg-stick:disabled {
  cursor: not-allowed;
  opacity: 0.52;
}

.cmg-stick__blade {
  position: relative;
  width: 42px;
  height: 52px;
  border-radius: 999px;
  filter: drop-shadow(0 0 12px color-mix(in srgb, var(--stick-accent), transparent 68%));
}

.cmg-stick__blade::before {
  content: "";
  position: absolute;
  left: 18px;
  top: 2px;
  width: 6px;
  height: 44px;
  border-radius: 999px;
  background:
    linear-gradient(90deg, transparent 0 36%, var(--stick-trim) 37% 48%, transparent 49%),
    linear-gradient(180deg, var(--stick-accent), var(--stick-color) 55%, var(--stick-trim));
  transform: rotate(-18deg);
}

.cmg-stick__blade::after {
  content: "";
  position: absolute;
  left: 4px;
  bottom: 2px;
  width: 34px;
  height: 8px;
  border-radius: 999px 3px 3px 999px;
  background: linear-gradient(90deg, var(--stick-trim), var(--stick-color));
  transform: rotate(-6deg);
}

.cmg-stick__text strong,
.cmg-stick__text em,
.cmg-stick__action {
  display: block;
}

.cmg-stick__text strong {
  color: #fff;
  font-size: 14px;
}

.cmg-stick__text em {
  margin-top: 2px;
  color: var(--cmg-muted);
  font-size: 12px;
  font-style: normal;
}

.cmg-stick__text small {
  display: block;
  margin-top: 4px;
  color: rgba(141, 232, 255, 0.7);
  font-size: 10px;
  line-height: 1.25;
}

.cmg-stick__action {
  color: var(--cmg-cyan);
  font-size: 11px;
  font-weight: 700;
  text-align: right;
  white-space: nowrap;
}

.cmg-daily__item {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 14px;
  text-align: left;
}

.cmg-daily__item.is-complete {
  border-color: rgba(93, 242, 164, 0.24);
  background: rgba(93, 242, 164, 0.055);
}

.cmg-moments {
  margin-top: 10px;
  padding: 14px;
  border: 1px solid rgba(244, 200, 106, 0.22);
  border-radius: 12px;
  background:
    radial-gradient(circle at 14% 0%, rgba(244, 200, 106, 0.16), transparent 34%),
    linear-gradient(135deg, rgba(244, 200, 106, 0.08), rgba(3, 9, 22, 0.20));
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.08);
}

.cmg-moments__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
  font-family: var(--cmg-font-head);
  text-transform: none;
}

.cmg-moments__head span {
  color: #fff7cf;
  font-size: 15px;
  font-weight: 900;
}

.cmg-moments__head strong {
  color: var(--cmg-gold);
  font-size: 13px;
  padding: 4px 8px;
  border: 1px solid rgba(244, 200, 106, 0.24);
  border-radius: 999px;
  background: rgba(244, 200, 106, 0.10);
}

.cmg-moments__copy {
  margin: 0 0 12px;
  color: var(--cmg-muted);
  font-size: 12px;
  line-height: 1.45;
}

.cmg-moments__list {
  display: grid;
  gap: 8px;
}

.cmg-moment {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 11px 12px;
  border: 1px solid rgba(244, 200, 106, 0.22);
  border-radius: 11px;
  background:
    linear-gradient(90deg, rgba(244, 200, 106, 0.10), transparent 72%),
    rgba(255, 255, 255, 0.035);
  color: var(--cmg-text);
  font-size: 13px;
}

.cmg-moment:hover {
  border-color: rgba(255, 241, 174, 0.44);
  background:
    linear-gradient(90deg, rgba(244, 200, 106, 0.15), transparent 72%),
    rgba(255, 255, 255, 0.045);
  box-shadow: 0 0 22px rgba(244, 200, 106, 0.10);
}

.cmg-moment span,
.cmg-moment b,
.cmg-moment em {
  display: block;
}

.cmg-moment b {
  color: #fff;
  font-size: 13px;
}

.cmg-moment em {
  margin-top: 2px;
  color: var(--cmg-muted);
  font-size: 11px;
  font-style: normal;
  line-height: 1.35;
}

.cmg-moment strong {
  color: var(--cmg-gold);
  white-space: nowrap;
}

.cmg-moments__cta {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  margin-top: 12px;
  border: 1px solid rgba(244, 200, 106, 0.54);
  border-radius: 999px;
  background:
    linear-gradient(135deg, rgba(244, 200, 106, 0.24), rgba(98, 66, 12, 0.28));
  color: #fff1ae;
  font-family: var(--cmg-font-head);
  font-size: 15px;
  font-weight: 700;
  text-transform: none;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.cmg-moments__cta:hover {
  background:
    linear-gradient(135deg, rgba(244, 200, 106, 0.30), rgba(98, 66, 12, 0.34));
  box-shadow: 0 0 28px rgba(244, 200, 106, 0.18);
  transform: translateY(-2px);
}

.cmg-share-copy {
  margin: 0 0 16px;
  color: var(--cmg-muted);
  line-height: 1.5;
}

.cmg-secondary-btn {
  width: 100%;
  min-height: 44px;
  padding: 10px 14px;
  font-family: var(--cmg-font-head);
  font-size: 15px;
  font-weight: 700;
  text-transform: none;
}

.cmg-share-url {
  margin-top: 12px;
  padding: 10px;
  border: 1px solid rgba(186, 224, 255, 0.12);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.22);
  color: var(--cmg-muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 12px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.cmg-mission {
  display: grid;
  grid-template-columns: minmax(220px, 0.9fr) minmax(260px, 1.3fr) auto;
  gap: 20px;
  align-items: center;
  min-height: auto;
}

.cmg-mission__copy {
  margin: 8px 0 0;
  color: var(--cmg-muted);
}

.cmg-train-btn {
  min-height: 48px;
  border: 1px solid var(--cmg-border-hot);
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(54, 169, 255, 0.95), rgba(25, 94, 210, 0.95));
  color: #fff;
  cursor: pointer;
  font-family: var(--cmg-font-head);
  font-size: 15px;
  font-weight: 700;
  padding: 12px 18px;
  text-transform: none;
  box-shadow: 0 0 26px rgba(54, 169, 255, 0.2);
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.cmg-train-btn:hover {
  border-color: rgba(255, 255, 255, 0.72);
  box-shadow: 0 0 36px rgba(54, 169, 255, 0.34);
  transform: translateY(-2px);
}

.cmg-train-btn:active {
  transform: translateY(0) scale(0.99);
}

.cmg-game__stage {
  display: grid;
  gap: 14px;
  min-height: 260px;
  border: 1px dashed rgba(141, 232, 255, 0.26);
  border-radius: 12px;
  padding: 14px;
}

.cmg-game__placeholder {
  color: var(--cmg-muted);
}

.cmg-game__hud {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  color: var(--cmg-cyan);
  font-family: var(--cmg-font-head);
  font-size: 14px;
  font-weight: 700;
  text-transform: none;
}

.cmg-game__arena {
  position: relative;
  min-height: 320px;
  overflow: hidden;
  border: 1px solid rgba(141, 232, 255, 0.18);
  border-radius: 12px;
  background:
    radial-gradient(circle at center, rgba(54, 169, 255, 0.12), transparent 46%),
    linear-gradient(rgba(141, 232, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(141, 232, 255, 0.08) 1px, transparent 1px),
    rgba(3, 9, 22, 0.62);
  background-size: auto, 34px 34px, 34px 34px, auto;
}

.cmg-game__arena::before {
  content: "";
  position: absolute;
  inset: 50% auto auto 50%;
  width: min(260px, 70%);
  aspect-ratio: 1;
  border: 2px solid rgba(255, 80, 96, 0.22);
  border-radius: 999px;
  transform: translate(-50%, -50%);
}

.cmg-game__target {
  position: absolute;
  z-index: 5;
  border: 0;
  border-radius: 999px;
  background:
    radial-gradient(circle, #fff 0 10%, var(--skin-accent) 11% 28%, transparent 29%),
    repeating-radial-gradient(circle, color-mix(in srgb, var(--skin-primary), white 18%) 0 10px, color-mix(in srgb, var(--skin-dark), black 5%) 11px 20px);
  cursor: crosshair;
  box-shadow: 0 0 26px color-mix(in srgb, var(--skin-primary), transparent 48%);
  animation: targetPulse 520ms ease-in-out infinite alternate;
}

.cmg-game__message {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  gap: 8px;
  padding: 20px;
  text-align: center;
  pointer-events: none;
}

.cmg-game__message strong {
  font-family: var(--cmg-font-head);
  font-size: clamp(24px, 5vw, 42px);
  line-height: 1.05;
  text-transform: none;
}

.cmg-game__message span {
  color: var(--cmg-muted);
}

.cmg-game__controls {
  display: flex;
  gap: 12px;
}

.cmg-toast {
  position: fixed;
  left: 50%;
  bottom: 22px;
  z-index: 100;
  box-sizing: border-box;
  max-width: calc(100% - 28px);
  padding: 12px 18px;
  border: 1px solid rgba(141, 232, 255, 0.28);
  border-radius: 999px;
  background: rgba(5, 15, 30, 0.86);
  box-shadow: 0 0 30px rgba(54, 169, 255, 0.18);
  color: var(--cmg-text);
  font-weight: 700;
  line-height: 1.25;
  text-align: center;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 14px);
  transition: opacity 180ms ease, transform 180ms ease;
  backdrop-filter: blur(14px);
}

@media (max-width: 560px) {
  .cmg-toast {
    width: max-content;
    max-width: calc(100vw - 28px);
    text-align: center;
    white-space: normal;
  }
}

.cmg-toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

.cmg-watch-modal {
  position: fixed;
  inset: 0;
  z-index: 320;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 14px;
}

.cmg-watch-modal.is-open {
  display: flex;
}

.cmg-watch-modal__backdrop {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 12%, rgba(148, 163, 184, 0.16), transparent 34%),
    rgba(1, 8, 23, 0.86);
  backdrop-filter: blur(16px);
}

.cmg-watch-modal__panel {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-rows: auto auto;
  width: min(940px, 96vw);
  max-height: min(860px, 94vh);
  overflow: auto;
  border: 2px solid rgba(215, 224, 234, 0.36);
  border-radius: 14px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.16), transparent 18% 72%, rgba(255, 255, 255, 0.06)),
    linear-gradient(180deg, rgba(70, 82, 98, 0.34), rgba(7, 12, 22, 0.98) 46%, rgba(2, 6, 13, 0.99)),
    repeating-linear-gradient(108deg, rgba(255, 255, 255, 0.055) 0 1px, rgba(255, 255, 255, 0.01) 1px 5px, transparent 5px 13px),
    var(--cmg-panel-strong);
  box-shadow:
    0 28px 90px rgba(0, 0, 0, 0.68),
    0 0 34px rgba(148, 163, 184, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    inset 0 -24px 42px rgba(0, 0, 0, 0.34);
  animation: modalEnter 180ms ease both;
}

.cmg-watch-modal__panel::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(circle at 18px 18px, #f8fafc 0 2px, #64748b 3px 6px, #0f172a 7px 10px, transparent 11px),
    radial-gradient(circle at calc(100% - 18px) 18px, #f8fafc 0 2px, #64748b 3px 6px, #0f172a 7px 10px, transparent 11px),
    radial-gradient(circle at 18px calc(100% - 18px), #d7e0ea 0 2px, #64748b 3px 6px, #0f172a 7px 10px, transparent 11px),
    radial-gradient(circle at calc(100% - 18px) calc(100% - 18px), #d7e0ea 0 2px, #64748b 3px 6px, #0f172a 7px 10px, transparent 11px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.30), transparent 18% 82%, rgba(255, 255, 255, 0.16)) top / 100% 2px no-repeat,
    repeating-linear-gradient(180deg, transparent 0 8px, rgba(203, 213, 225, 0.028) 9px 10px);
  opacity: 0.72;
}

.cmg-watch-modal__panel > * {
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

.cmg-watch-modal__main {
  display: grid;
  grid-template-columns: 1fr;
  min-width: 0;
}

.cmg-watch-modal__viewer,
.cmg-watch-modal__side {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.cmg-watch-modal__head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 18px;
  border-bottom: 2px solid rgba(203, 213, 225, 0.16);
  background:
    linear-gradient(180deg, rgba(226, 232, 240, 0.12), rgba(15, 23, 42, 0.28)),
    repeating-linear-gradient(105deg, rgba(255, 255, 255, 0.06) 0 1px, transparent 1px 10px),
    rgba(3, 9, 22, 0.58);
}

.cmg-watch-modal__head h2 {
  margin: 0;
  color: #fff;
  font-family: var(--cmg-font-head);
  font-size: clamp(22px, 4vw, 32px);
  line-height: 1.05;
}

.cmg-watch-modal__head span {
  display: block;
  margin-top: 6px;
  color: var(--cmg-muted);
  font-size: 13px;
}

.cmg-watch-modal__close {
  display: grid;
  width: 40px;
  height: 40px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid rgba(226, 232, 240, 0.26);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(71, 85, 105, 0.42), rgba(3, 9, 22, 0.66));
  color: var(--cmg-text);
  cursor: pointer;
  font-size: 26px;
  line-height: 1;
}

.cmg-watch-modal__body {
  position: relative;
  display: block;
  min-width: 0;
  min-height: 0;
  overflow: visible;
  background:
    linear-gradient(180deg, rgba(148, 163, 184, 0.10), rgba(0, 0, 0, 0.0) 18%),
    #000;
  box-shadow: inset 0 0 0 2px rgba(226, 232, 240, 0.12), inset 0 0 42px rgba(0, 0, 0, 0.34);
}

.cmg-profile-video-wrap {
  position: relative;
  display: block;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(226, 232, 240, 0.08), rgba(0, 0, 0, 0.0) 20%),
    #000;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.cmg-profile-video-stage {
  position: relative;
  display: block;
  width: 100%;
  background: #000;
}

.cmg-profile-video,
.cmg-profile-iframe {
  display: block;
  width: 100%;
  max-width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  min-height: 0;
  border: 0;
  background: #000;
  object-fit: contain;
}

.cmg-profile-video {
  max-height: min(58vh, 520px);
}

.cmg-profile-iframe {
  max-height: min(58vh, 520px);
}

.cmg-profile-video-intro,
.cmg-profile-video-end {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  gap: 10px;
  padding: 18px;
  border: 0;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.58), rgba(0, 0, 0, 0.88)),
    radial-gradient(circle at center, rgba(59, 130, 246, 0.22), transparent 52%);
  color: #fff;
  cursor: pointer;
  font: inherit;
  z-index: 2;
  text-align: center;
}

.cmg-profile-video-intro {
  align-content: center;
  justify-items: center;
  grid-template-rows: auto auto auto auto;
}

.cmg-profile-video-intro strong {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: min(240px, 82%);
  min-height: 48px;
  padding: 0 24px;
  border: 1px solid rgba(93, 242, 164, 0.42);
  border-radius: 999px;
  background:
    linear-gradient(135deg, rgba(93, 242, 164, 0.24), rgba(54, 169, 255, 0.14)),
    rgba(3, 9, 22, 0.62);
  color: #dfffee;
  font-family: var(--cmg-font-head);
  font-size: 15px;
  letter-spacing: 0.8px;
  line-height: 1;
  text-transform: uppercase;
  box-shadow:
    0 0 28px rgba(93, 242, 164, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.14);
}

.cmg-profile-video-intro span {
  color: #fff;
  font-family: var(--cmg-font-head);
  font-size: clamp(23px, 4vw, 42px);
  line-height: 1;
}

.cmg-profile-video-intro--vault span {
  font-size: clamp(20px, 3vw, 30px);
}

.cmg-profile-video-intro--vault strong {
  min-width: min(170px, 72%);
  min-height: 42px;
  font-size: 13px;
}

.cmg-vault-count-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}

.cmg-vault-count-pills span {
  display: inline-flex;
  align-items: center;
  width: fit-content;
}

.cmg-vault-count-pills .cmg-pill-separator {
  opacity: 0.62;
  margin: 0 -1px;
}

.cmg-vault-count-pills .cmg-pill-separator {
  opacity: 0.62;
  margin: 0 -1px;
}

.cmg-vault-subtitle-stat {
  display: block !important;
  position: relative;
  width: fit-content;
  max-width: 100%;
  min-height: 0 !important;

  margin: 5px 0 10px !important;
  padding: 0 !important;

  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;

  color: #f0cf84 !important;

  font-size: 10px;
  font-weight: 800;
  letter-spacing: .06em;
  line-height: 1.2;
  text-transform: uppercase;

  text-shadow: 0 0 8px rgba(244, 200, 106, 0.12);

  box-shadow: none !important;
  white-space: normal !important;
}

.cmg-profile-video-intro em {
  color: #cbd5e1;
  font-size: 13px;
  font-style: normal;
}

.cmg-profile-video-intro small {
  display: inline-flex;
  min-height: 24px;
  align-items: center;
  padding: 4px 9px;
  border: 1px solid rgba(226, 232, 240, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: #b8c2d9;
  font-size: 11px;
  font-weight: 900;
}

.cmg-profile-video-intro.is-hidden {
  opacity: 0;
  pointer-events: none;
}

.cmg-profile-video-end {
  align-content: center;
  justify-items: center;
  background:
    radial-gradient(circle at 50% 18%, rgba(141, 232, 255, 0.18), transparent 42%),
    linear-gradient(180deg, rgba(3, 9, 22, 0.70), rgba(3, 9, 22, 0.95));
  opacity: 0;
  pointer-events: none;
  transition: opacity 160ms ease;
}

.cmg-profile-video-end.is-visible {
  opacity: 1;
  pointer-events: auto;
}

.cmg-profile-video-end p {
  margin: 0;
  color: #8de8ff;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.cmg-profile-video-end strong {
  color: #fff;
  font-family: var(--cmg-font-head);
  font-size: clamp(22px, 4vw, 34px);
  line-height: 1.05;
}

.cmg-profile-video-end__actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
}

.cmg-profile-video-end a,
.cmg-profile-video-end button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 9px 16px;
  border: 1px solid rgba(93, 242, 164, 0.44);
  border-radius: 999px;
  background: rgba(93, 242, 164, 0.18);
  color: #dfffee;
  cursor: pointer;
  font: inherit;
  font-weight: 900;
}

.cmg-profile-video-end button {
  border-color: rgba(141, 232, 255, 0.24);
  background: rgba(255, 255, 255, 0.06);
  color: #e9f9ff;
}

.cmg-profile-video-end button.is-disabled {
  opacity: 0.38;
  pointer-events: none;
}

.cmg-profile-video-end__upsell {
  display: grid;
  gap: 7px;
  justify-items: center;
  max-width: min(440px, 92%);
  padding-top: 4px;
}

.cmg-profile-video-end__upsell span {
  color: var(--cmg-muted);
  font-size: 11px;
}

.cmg-profile-video-end__upsell a {
  min-height: 30px;
  padding: 6px 11px;
  border-color: rgba(244, 200, 106, 0.34);
  background: rgba(244, 200, 106, 0.10);
  color: #fff7cf;
  font-size: 11px;
}

.cmg-profile-video-end__upsell a:last-child {
  border-color: rgba(226, 232, 240, 0.18);
  background: rgba(255, 255, 255, 0.055);
  color: #d7e0ea;
}

.cmg-profile-controls {
  display: grid;
  grid-template-columns: auto auto minmax(90px, 1fr) auto minmax(72px, 100px);
  gap: 8px;
  align-items: center;
  width: 100%;
  padding: 8px 10px;
  border-top: 2px solid rgba(203, 213, 225, 0.14);
  background:
    linear-gradient(180deg, rgba(71, 85, 105, 0.20), rgba(3, 9, 22, 0.94)),
    repeating-linear-gradient(105deg, rgba(255, 255, 255, 0.04) 0 1px, transparent 1px 9px);
}

.cmg-profile-controls button {
  min-height: 32px;
  padding: 0 10px;
  border: 1px solid rgba(226, 232, 240, 0.22);
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(71, 85, 105, 0.34), rgba(3, 9, 22, 0.64));
  color: #e9f9ff;
  cursor: pointer;
  font: inherit;
  font-size: 12px;
  font-weight: 900;
}

.cmg-profile-controls input {
  width: 100%;
  accent-color: var(--cmg-cyan);
}

.cmg-profile-controls input[id="profileVideoVolume"] {
  accent-color: var(--cmg-green);
}

.cmg-profile-controls span {
  color: #94a3b8;
  font-size: 11px;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.cmg-clip-na {
  display: grid;
  width: min(420px, calc(100% - 32px));
  padding: 26px;
  border: 0;
  background: transparent;
  text-align: center;
}

.cmg-clip-na strong {
  color: #fff;
  font-size: 26px;
}

.cmg-watch-modal__controls {
  display: grid;
  grid-template-columns: auto minmax(0, 360px);
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  border-top: 2px solid rgba(203, 213, 225, 0.14);
  background:
    linear-gradient(180deg, rgba(71, 85, 105, 0.18), rgba(3, 9, 22, 0.50)),
    rgba(3, 9, 22, 0.34);
}

.cmg-watch-modal__position {
  color: #d7f7ff;
  font-size: 14px;
  font-weight: 800;
  text-align: left;
  white-space: nowrap;
}

.cmg-watch-modal__share {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  min-height: 34px;
  padding: 0;
  border: 1px solid rgba(141, 232, 255, 0.26);
  border-radius: 999px;
  background: rgba(54, 169, 255, 0.10);
  color: var(--cmg-cyan);
  font-size: 18px;
  font-weight: 900;
}

.cmg-watch-modal__share.is-disabled {
  opacity: 0.42;
  pointer-events: none;
}

.cmg-watch-modal__navrow {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  width: 100%;
  justify-self: stretch;
}

.cmg-watch-modal__navbtn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  border: 1px solid rgba(226, 232, 240, 0.22);
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(71, 85, 105, 0.34), rgba(3, 9, 22, 0.66));
  color: #e9f9ff;
  font-size: 12px;
  font-weight: 900;
}

.cmg-watch-modal__navbtn.is-disabled {
  opacity: 0.42;
  pointer-events: none;
}

.cmg-watch-modal__section {
  padding: 0 0 4px;
}

.cmg-watch-modal__section--clips {
  background:
    linear-gradient(90deg, rgba(148, 163, 184, 0.12), transparent 72%),
    repeating-linear-gradient(105deg, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px 10px),
    rgba(8, 13, 24, 0.68);
  border-top: 2px solid rgba(203, 213, 225, 0.12);
}

.cmg-watch-modal__section--orders {
  background:
    linear-gradient(90deg, rgba(203, 213, 225, 0.10), transparent 74%),
    repeating-linear-gradient(105deg, rgba(255, 255, 255, 0.03) 0 1px, transparent 1px 10px),
    rgba(3, 8, 17, 0.62);
  border-top: 2px solid rgba(203, 213, 225, 0.10);
}

.cmg-watch-modal__rail {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 0 14px 12px;
  scroll-behavior: smooth;
  scrollbar-width: thin;
}

.cmg-watch-modal__railhead {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0;
  padding: 12px 14px 8px;
}

.cmg-watch-modal__label {
  color: #cbd5e1;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

.cmg-watch-modal__railbuttons {
  display: none;
  gap: 6px;
}

.cmg-watch-modal__railbuttons button {
  display: grid;
  width: 30px;
  height: 28px;
  place-items: center;
  border: 1px solid rgba(226, 232, 240, 0.22);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(71, 85, 105, 0.34), rgba(3, 9, 22, 0.64));
  color: #e9f9ff;
  cursor: pointer;
  font-size: 18px;
  font-weight: 900;
  line-height: 1;
}

.cmg-watch-modal__railbuttons button:hover {
  border-color: rgba(141, 232, 255, 0.38);
  background: rgba(54, 169, 255, 0.12);
}

.cmg-watch-modal__rail button {
  min-width: 132px;
  padding: 9px 10px;
  border: 2px solid rgba(226, 232, 240, 0.20);
  border-radius: 10px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.10), transparent 24% 80%, rgba(255, 255, 255, 0.04)),
    linear-gradient(180deg, rgba(35, 45, 61, 0.78), rgba(3, 8, 17, 0.88));
  color: var(--cmg-text);
  cursor: pointer;
  text-align: left;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.11), 0 6px 16px rgba(0, 0, 0, 0.18);
  transition: transform 140ms ease, border-color 140ms ease, background 140ms ease, box-shadow 140ms ease;
}

.cmg-watch-modal__rail button:hover {
  border-color: rgba(141, 232, 255, 0.48);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.14), transparent 24% 80%, rgba(255, 255, 255, 0.05)),
    linear-gradient(180deg, rgba(45, 59, 78, 0.86), rgba(3, 8, 17, 0.88));
  box-shadow: 0 0 18px rgba(141, 232, 255, 0.12), 0 6px 16px rgba(0, 0, 0, 0.18);
}

.cmg-watch-modal__rail button.is-active {
  border-color: rgba(141, 232, 255, 0.58);
  background:
    linear-gradient(135deg, rgba(141, 232, 255, 0.14), transparent 26% 80%, rgba(255, 255, 255, 0.05)),
    linear-gradient(180deg, rgba(36, 54, 76, 0.88), rgba(3, 8, 17, 0.90));
  box-shadow: 0 0 18px rgba(141, 232, 255, 0.14), inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.cmg-watch-modal__rail strong,
.cmg-watch-modal__rail span {
  display: block;
}

.cmg-watch-modal__rail strong {
  font-size: 13px;
}

.cmg-watch-modal__rail span {
  margin-top: 3px;
  color: var(--cmg-muted);
  font-size: 11px;
}

.cmg-watch-modal__rail--orders {
  padding-bottom: 12px;
}

.cmg-watch-modal__footerbar {
  display: flex;
  align-items: center;
  justify-content: stretch;
  gap: 12px;
  order: -1;
  padding: 12px 14px 14px;
  border-top: 2px solid rgba(203, 213, 225, 0.12);
  background:
    linear-gradient(180deg, rgba(71, 85, 105, 0.18), rgba(3, 9, 22, 0.62)),
    rgba(3, 9, 22, 0.42);
}

.cmg-watch-modal__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 1 1 auto;
  min-height: 34px;
  padding: 8px 12px;
  border: 1px solid rgba(93, 242, 164, 0.44);
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(93, 242, 164, 0.20), rgba(54, 169, 255, 0.08));
  color: #dfffee;
  font-size: 13px;
  font-weight: 900;
  line-height: 1;
  text-shadow: 0 1px 8px rgba(93, 242, 164, 0.22);
  box-shadow: 0 0 18px rgba(93, 242, 164, 0.08);
}

@media (min-width: 900px) {
  .cmg-watch-modal {
    padding: 12px;
  }

  .cmg-watch-modal__panel {
    width: min(1180px, 96vw);
    height: auto;
    max-height: calc(100vh - 24px);
    overflow: auto;
  }

  .cmg-watch-modal__main {
    display: grid;
    grid-template-columns: minmax(620px, 1fr) minmax(320px, 380px);
    align-self: stretch;
  }

  .cmg-watch-modal__viewer {
    display: grid;
    grid-template-rows: auto auto;
    align-content: start;
    border-right: 2px solid rgba(203, 213, 225, 0.12);
  }

  .cmg-watch-modal__side {
    display: flex;
    flex-direction: column;
    align-self: start;
    min-height: 0;
  }

  .cmg-watch-modal__head {
    padding: 12px 16px;
  }

  .cmg-watch-modal__head h2 {
    font-size: 28px;
  }

  .cmg-watch-modal__head span {
    margin-top: 4px;
    font-size: 12px;
  }

  .cmg-watch-modal__close {
    width: 34px;
    height: 34px;
    font-size: 22px;
  }

  .cmg-profile-video,
  .cmg-profile-iframe {
    height: auto;
    max-height: min(62vh, 560px);
  }

  .cmg-profile-video-intro,
  .cmg-profile-video-end {
    gap: 7px;
    padding: 12px;
  }

  .cmg-profile-video-intro strong {
    font-size: 15px;
  }

  .cmg-profile-controls {
    grid-template-columns: auto auto minmax(180px, 1fr) auto minmax(80px, 110px);
    gap: 8px;
    padding: 6px 10px;
  }

  .cmg-profile-controls button {
    min-height: 28px;
    padding: 0 10px;
  }

  .cmg-watch-modal__controls {
    grid-template-columns: minmax(88px, auto) minmax(0, 340px);
    padding: 9px 12px;
  }

  .cmg-watch-modal__navbtn {
    min-height: 30px;
  }

  .cmg-watch-modal__railhead {
    padding: 7px 12px 5px;
  }

  .cmg-watch-modal__rail {
    padding: 0 12px 8px;
  }

  .cmg-watch-modal__section--clips .cmg-watch-modal__rail,
  .cmg-watch-modal__section--orders .cmg-watch-modal__rail {
    display: flex;
    flex-direction: column;
    gap: 8px;
    overflow-x: hidden;
    overflow-y: auto;
  }

  .cmg-watch-modal__section--clips .cmg-watch-modal__rail {
    max-height: 214px;
    height: auto;
  }

  .cmg-watch-modal__section--orders .cmg-watch-modal__rail {
    max-height: 286px;
  }

  .cmg-watch-modal__rail button {
    min-width: 0;
    min-height: 48px;
    padding: 8px 10px;
  }

  .cmg-watch-modal__rail strong {
    font-size: 12px;
  }

  .cmg-watch-modal__rail span {
    font-size: 10px;
  }

  .cmg-watch-modal__footerbar {
    order: 3;
    padding: 10px 12px;
  }

  .cmg-watch-modal__cta {
    min-height: 38px;
    padding: 9px 16px;
    font-size: 13px;
  }
}

@media (max-width: 560px) {
  .cmg-watch-modal {
    padding: 8px;
  }

  .cmg-watch-modal__panel {
    width: 100%;
    max-height: 96vh;
  }

  .cmg-watch-modal__head {
    padding: 12px;
  }

  .cmg-watch-modal__body {
    min-height: 190px;
  }

  .cmg-profile-video,
  .cmg-profile-iframe {
    max-height: min(34vh, 230px);
  }

  .cmg-profile-video {
    height: min(34vh, 230px);
  }

  .cmg-profile-iframe {
    height: min(34vh, 230px);
  }

  .cmg-profile-controls {
    grid-template-columns: 1fr;
  }

  .cmg-profile-controls input,
  .cmg-profile-controls span {
    grid-column: 1 / -1;
  }

  .cmg-profile-controls input[id="profileVideoVolume"] {
    display: none;
  }

  .cmg-watch-modal__controls {
    padding: 10px;
  }

  .cmg-watch-modal__controls {
    grid-template-columns: 1fr;
  }

  .cmg-watch-modal__position,
  .cmg-watch-modal__share {
    width: 100%;
    text-align: center;
  }

  .cmg-watch-modal__navrow {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    width: 100%;
  }

  .cmg-watch-modal__footerbar {
    align-items: stretch;
    flex-direction: column;
    gap: 8px;
  }

  .cmg-watch-modal__cta {
    width: 100%;
  }
}

.cmg-command__footer {
  display: flex;
  justify-content: center;
  gap: 10px;
  color: var(--cmg-muted);
  font-size: 13px;
}

@keyframes stadiumGlow {
  from { opacity: 0.7; filter: saturate(0.9); }
  to { opacity: 1; filter: saturate(1.3); }
}

@keyframes arenaLights {
  from { transform: translate3d(calc(var(--parallax-x) * -0.25), calc(var(--parallax-y) * -0.2), 0) scale(1); opacity: 0.28; }
  to { transform: translate3d(calc(var(--parallax-x) * -0.25), calc(var(--parallax-y) * -0.2), 0) scale(1.04); opacity: 0.5; }
}

@keyframes rinkGrid {
  from { background-position: 0 0, 0 0; }
  to { background-position: 0 54px, 54px 0; }
}

@keyframes systemScan {
  0% { transform: translateY(-110%); }
  52% { transform: translateY(110%); }
  100% { transform: translateY(110%); }
}

@keyframes modalEnter {
  from { opacity: 0; transform: translateY(12px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes navDrop {
  from { opacity: 0; transform: translateY(-14px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes panelEnter {
  to { opacity: 1; transform: translateY(0); }
}

@keyframes panelFloat {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -5px; }
}

@keyframes energyFlow {
  from { transform: translateX(-24px); }
  to { transform: translateX(24px); }
}

@keyframes feedSlide {
  to { opacity: 1; transform: translateX(0); }
}

@keyframes levelBurst {
  0% { opacity: 0; transform: scale(0.54) rotate(0deg); }
  32% { opacity: 1; }
  100% { opacity: 0; transform: scale(1.18) rotate(22deg); }
}

@keyframes xpPop {
  0% { transform: scale(1); box-shadow: 0 0 0 rgba(93, 242, 164, 0); }
  45% { transform: scale(1.035); box-shadow: 0 0 30px rgba(93, 242, 164, 0.28); }
  100% { transform: scale(1); box-shadow: 0 0 22px rgba(93, 242, 164, 0.10); }
}

@keyframes sparkleDrift {
  from { background-position: 8% 24%, 88% 36%; }
  to { background-position: 18% 28%, 78% 32%; }
}

@keyframes rewardReadyGlow {
  0%, 100% {
    filter: saturate(1);
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.22),
      0 0 24px rgba(93, 242, 164, 0.16),
      0 0 16px rgba(244, 200, 106, 0.16),
      0 14px 28px rgba(0, 0, 0, 0.26);
  }
  50% {
    filter: saturate(1.18);
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.28),
      0 0 36px rgba(93, 242, 164, 0.28),
      0 0 24px rgba(244, 200, 106, 0.22),
      0 14px 28px rgba(0, 0, 0, 0.26);
  }
}

@keyframes nextRewardPulse {
  0%, 100% {
    transform: translateY(0);
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.24),
      0 0 24px rgba(255, 241, 174, 0.16),
      0 0 14px rgba(244, 200, 106, 0.16),
      0 14px 28px rgba(0, 0, 0, 0.28);
  }
  50% {
    transform: translateY(-1px);
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.28),
      0 0 36px rgba(255, 241, 174, 0.28),
      0 0 24px rgba(244, 200, 106, 0.22),
      0 14px 28px rgba(0, 0, 0, 0.28);
  }
}

@keyframes radarSweep {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes targetPulse {
  from { transform: scale(0.92); filter: brightness(0.9); }
  to { transform: scale(1.08); filter: brightness(1.25); }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 1ms !important;
  }
}

@media (max-width: 980px) {
  .cmg-command__shell,
  .cmg-mission,
  .cmg-control-grid {
    grid-template-columns: 1fr;
  }

  .cmg-command__shell {
    width: auto;
    margin-right: 12px;
    margin-left: 12px;
  }

  .cmg-profile-tabs {
    position: sticky;
    top: 73px;
    z-index: 18;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 5px;
    width: auto;
    max-width: 720px;
    margin: 8px 12px 12px;
    padding: 5px;
    border: 1px solid rgba(226, 232, 240, 0.20);
    border-radius: 999px;
    background:
      linear-gradient(180deg, rgba(31, 41, 55, 0.96), rgba(3, 9, 22, 0.96));
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.34), inset 0 1px 0 rgba(255,255,255,0.08);
    backdrop-filter: blur(14px);
  }

  .cmg-profile-tabs a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 36px;
    border-radius: 999px;
    color: #d7e0ea;
    min-width: 0;
    font-size: 11px;
    font-weight: 900;
  }

  .cmg-profile-tabs a:hover,
  .cmg-profile-tabs a:focus-visible {
    background: rgba(141, 232, 255, 0.14);
    color: #fff;
  }

  .cmg-profile-column--clips,
  .cmg-hero,
  .cmg-locker-panel,
  .cmg-profile-column--progress {
    grid-column: 1;
    grid-row: auto;
  }

  .cmg-hero {
    order: 1;
  }

  .cmg-profile-column--clips {
    order: 2;
  }

  .cmg-profile-column--progress {
    order: 3;
  }

  .cmg-locker-panel {
    order: 4;
  }

  #cardSection,
  #clipVaultSection,
  #rewardLockerSection,
  #customizeSection {
    scroll-margin-top: 132px;
  }

  .cmg-reward-strip {
    display: block;
  }

  .cmg-panel--stream {
    order: initial;
  }

  .cmg-hero {
    min-height: 438px;
    overflow: hidden;
  }

  .cmg-panel--stats {
    order: initial;
  }

  .cmg-reward-locker__head {
    display: grid;
  }

  .cmg-profile-column--progress .cmg-reward-locker {
    margin-top: 18px;
  }
}

@media (max-width: 560px) {
  .cmg-command__status {
    display: none;
  }

  .cmg-command__nav {
    min-height: 78px;
    padding: 10px 16px;
  }

  .cmg-brand-lockup {
    gap: 10px;
  }

  .cmg-brand-logo {
    width: 50px;
    height: 50px;
    border-radius: 14px;
  }

  .cmg-command__logo {
    font-size: 20px;
  }

  .cmg-intro,
  .cmg-section-label {
    width: auto;
    margin-right: 10px;
    margin-left: 10px;
  }

  .cmg-profile-tabs {
    top: 65px;
    width: auto;
    gap: 4px;
    margin: 6px 8px 12px;
    padding: 4px;
  }

  .cmg-profile-tabs a {
    min-height: 32px;
    font-size: 11px;
  }

  .cmg-reward-strip {
    width: auto;
    margin-right: 10px;
    margin-left: 10px;
  }

  .cmg-free-hook {
    display: grid;
    gap: 2px;
    width: auto;
    min-height: 42px;
    padding: 8px 13px;
    margin: 0 auto;
  }

  .cmg-free-hook strong {
    font-size: 10px;
  }

  .cmg-panel {
    min-height: auto;
    padding: 14px;
    border-radius: 14px;
  }

  .cmg-command__shell {
    width: auto;
    gap: 14px;
    margin: 12px 10px 18px;
  }

  .cmg-profile-column {
    gap: 14px;
  }

  .cmg-customizer-tabs {
    border-radius: 14px;
  }

  .cmg-customizer-tabs button {
    min-height: 38px;
    padding: 0 6px;
    font-size: 11px;
  }

  .cmg-panel--stream .cmg-panel__header {
    display: grid;
    padding: 13px;
  }

  .cmg-panel--stream .cmg-panel__count {
    justify-self: start;
    margin-top: 8px;
  }

  .cmg-stream__item {
    padding-right: 62px;
  }

  .cmg-stream__item::after {
    width: 46px;
    height: 32px;
    right: 10px;
  }

  .cmg-reward-list {
    gap: 8px;
  }

  .cmg-profile-column--progress .cmg-reward {
    min-height: 68px;
  }


  .cmg-package-row,
  .cmg-stick {
    grid-template-columns: 1fr;
  }

  .cmg-stick__action {
    text-align: left;
  }

  .cmg-game__hud,
  .cmg-game__controls,
  .cmg-daily__item {
    flex-direction: column;
  }

  .cmg-command__footer {
    flex-direction: column;
    align-items: center;
  }
}

.cmg-available-card {
  border-color: rgba(93, 242, 164, 0.30) !important;
  background:
    radial-gradient(circle at 12% 0%, rgba(93, 242, 164, 0.08), transparent 34%),
    linear-gradient(135deg, rgba(34, 197, 94, 0.055), rgba(59, 130, 246, 0.035)),
    rgba(255, 255, 255, 0.025) !important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.06),
    0 10px 22px rgba(0,0,0,0.14) !important;
}

.cmg-available-card .cmg-train-btn,
.cmg-available-card button,
.cmg-available-card a {
  box-shadow: none;
}