:root {
  --sr-bg: #07030f;
  --sr-panel: rgba(20, 10, 35, .82);
  --sr-line: rgba(255, 255, 255, .105);
  --sr-text: #fff9ff;
  --sr-muted: #aea4c3;
  --sr-pink: #ff4fd8;
  --sr-violet: #9b67ff;
  --sr-cyan: #52e8ff;
  --sr-gold: #ffc867;
  --sr-green: #61f7a6;
  --sr-max: 1210px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; color-scheme: dark; background: var(--sr-bg); }

body.sr-root,
body.sr-pl,
body.sr-br {
  min-width: 0;
  margin: 0;
  overflow-x: hidden;
  color: var(--sr-text);
  background:
    radial-gradient(1000px 700px at 8% -5%, rgba(155, 103, 255, .18), transparent 64%),
    radial-gradient(820px 600px at 98% 12%, rgba(255, 79, 216, .13), transparent 66%),
    linear-gradient(180deg, #080311 0, #05020b 100%);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.68;
  -webkit-font-smoothing: antialiased;
}

body.sr-root::before,
body.sr-pl::before,
body.sr-br::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -10;
  pointer-events: none;
  opacity: .42;
  background-image:
    linear-gradient(rgba(255, 255, 255, .018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .014) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: radial-gradient(circle at 50% 18%, #000, transparent 78%);
}

body.sr-root a,
body.sr-pl a,
body.sr-br a { color: inherit; text-decoration: none; }
body.sr-root img,
body.sr-pl img,
body.sr-br img { max-width: 100%; }

body.sr-root .wrap,
body.sr-pl .wrap,
body.sr-br .wrap {
  width: min(var(--sr-max), calc(100% - 36px)) !important;
  max-width: none !important;
  margin-inline: auto !important;
}

/* Header */
body.sr-root > header,
body.sr-pl > header,
body.sr-br > header {
  position: sticky !important;
  inset: 0 0 auto !important;
  z-index: 100 !important;
  margin: 0 !important;
  border: 0 !important;
  border-bottom: 1px solid var(--sr-line) !important;
  background: rgba(6, 3, 14, .78) !important;
  box-shadow: 0 18px 50px rgba(0, 0, 0, .22) !important;
  backdrop-filter: blur(24px) saturate(145%) !important;
}

body.sr-root header .top,
body.sr-pl header .topIn,
body.sr-br .topbar-inner {
  min-height: 72px !important;
  padding: 9px 0 !important;
  display: grid !important;
  grid-template-columns: auto minmax(0, 1fr) auto !important;
  gap: 20px !important;
  align-items: center !important;
}

body.sr-pl header .topIn,
body.sr-br .topbar-inner { grid-template-columns: auto minmax(0, 1fr) !important; }

body.sr-root .brand,
body.sr-pl .brand,
body.sr-br .brand {
  display: inline-flex !important;
  align-items: center !important;
  gap: 11px !important;
  min-width: 0;
  color: #fff !important;
}

body.sr-root .brand .logo,
body.sr-pl .brand .logoImg,
body.sr-br .brand-badge {
  width: 46px !important;
  height: 46px !important;
  flex: 0 0 46px !important;
  overflow: hidden !important;
  border: 1px solid rgba(255, 200, 103, .45) !important;
  border-radius: 15px !important;
  background: linear-gradient(145deg, rgba(255, 79, 216, .26), rgba(82, 232, 255, .08)), #10071d !important;
  box-shadow: 0 0 0 4px rgba(255, 79, 216, .06), 0 12px 30px rgba(0, 0, 0, .32) !important;
}

body.sr-root .brand .logo img,
body.sr-pl .brand .logoImg {
  width: 100% !important;
  height: 100% !important;
  padding: 4px !important;
  object-fit: contain !important;
}

body.sr-br .brand-badge { position: relative; display: block; }
body.sr-br .brand-badge::before {
  content: "S";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 24px;
  font-weight: 950;
}

body.sr-root .brand b,
body.sr-pl .brand b,
body.sr-br .brand strong {
  display: block !important;
  color: #fff !important;
  font-size: 14px !important;
  font-weight: 950 !important;
  letter-spacing: -.02em !important;
  line-height: 1.1 !important;
}

body.sr-root .brand small,
body.sr-pl .brand .tag,
body.sr-br .brand-text > span {
  display: block !important;
  margin-top: 5px !important;
  color: #817794 !important;
  font-size: 8px !important;
  font-weight: 900 !important;
  letter-spacing: .13em !important;
  line-height: 1.1 !important;
  text-transform: uppercase !important;
  white-space: nowrap !important;
}

body.sr-root nav,
body.sr-pl .nav,
body.sr-br .nav {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 2px !important;
  min-width: 0;
}

body.sr-root nav a,
body.sr-pl .nav a,
body.sr-br .nav a {
  min-height: 36px !important;
  padding: 8px 10px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 6px !important;
  border: 1px solid transparent !important;
  border-radius: 999px !important;
  color: #948aa9 !important;
  background: transparent !important;
  font-size: 11px !important;
  font-weight: 850 !important;
  white-space: nowrap !important;
  transition: color .18s ease, background .18s ease, border-color .18s ease !important;
}

body.sr-root nav a:hover,
body.sr-pl .nav a:hover,
body.sr-br .nav a:hover {
  color: #fff !important;
  border-color: var(--sr-line) !important;
  background: rgba(255, 255, 255, .06) !important;
}

body.sr-pl .nav svg { display: none !important; }
body.sr-root .top-actions { display: flex !important; align-items: center !important; gap: 9px !important; }
body.sr-root .top-actions .pill {
  padding: 8px 11px !important;
  border: 1px solid rgba(97, 247, 166, .16) !important;
  border-radius: 999px !important;
  color: #8a809e !important;
  background: rgba(97, 247, 166, .045) !important;
  font-size: 9px !important;
  font-weight: 800 !important;
}
body.sr-root .top-actions .pill strong { color: var(--sr-green) !important; }

/* Buttons */
body.sr-root .btn,
body.sr-pl .btn,
body.sr-br .btn,
.sr-launch-dock button {
  min-height: 46px;
  padding: 12px 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  border-radius: 14px;
  color: #21091e;
  background: linear-gradient(135deg, #fff1b9 0%, var(--sr-gold) 43%, #ff77db 100%);
  box-shadow: 0 14px 32px rgba(255, 79, 216, .15), inset 0 1px rgba(255, 255, 255, .85);
  cursor: pointer;
  font: inherit;
  font-size: 13px;
  font-weight: 950;
  transition: transform .18s ease, filter .18s ease, box-shadow .18s ease;
}

body.sr-root .btn:hover,
body.sr-pl .btn:hover,
body.sr-br .btn:hover,
.sr-launch-dock button:hover {
  transform: translateY(-2px);
  filter: saturate(1.08) brightness(1.04);
  box-shadow: 0 18px 38px rgba(255, 79, 216, .23), inset 0 1px rgba(255, 255, 255, .9);
}

body.sr-root .btn.secondary,
body.sr-pl .btnGhost,
body.sr-br .btn.secondary,
body.sr-br .btn.ghost {
  color: #f5edff !important;
  border: 1px solid var(--sr-line) !important;
  background: rgba(255, 255, 255, .055) !important;
  box-shadow: inset 0 1px rgba(255, 255, 255, .04) !important;
}

/* Hero */
body.sr-root > section.hero,
body.sr-pl > section.hero,
body.sr-br > .wrap:first-of-type {
  position: relative !important;
  isolation: isolate;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
  background:
    linear-gradient(90deg, rgba(7, 3, 15, .98) 0%, rgba(8, 3, 17, .91) 42%, rgba(8, 3, 17, .22) 76%, rgba(8, 3, 17, .72) 100%),
    linear-gradient(180deg, rgba(7, 3, 15, .05), #07030f 99%),
    url("/assets/images/sugar-premium-hero.png") center right / cover no-repeat !important;
}

body.sr-br > .wrap:first-of-type { width: 100% !important; max-width: none !important; }
body.sr-root > section.hero::before,
body.sr-pl > section.hero::before,
body.sr-br > .wrap:first-of-type::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(620px 420px at 80% 42%, rgba(82, 232, 255, .09), transparent 72%),
    radial-gradient(620px 420px at 55% 0%, rgba(255, 79, 216, .12), transparent 70%);
  pointer-events: none;
}

body.sr-root .hero > .wrap,
body.sr-pl .hero > .wrap,
body.sr-br #top.hero {
  position: relative;
  z-index: 1;
  padding-top: clamp(46px, 6vw, 78px) !important;
  padding-bottom: clamp(52px, 7vw, 88px) !important;
}

body.sr-root .hero-grid,
body.sr-pl .heroGrid,
body.sr-br .hero-grid {
  min-height: 670px !important;
  display: grid !important;
  grid-template-columns: minmax(0, .9fr) minmax(470px, 1.1fr) !important;
  gap: clamp(36px, 6vw, 76px) !important;
  align-items: center !important;
}

body.sr-root .hero .card,
body.sr-pl .heroCard,
body.sr-br .hero-copy {
  position: relative !important;
  z-index: 3 !important;
  overflow: visible !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
}

body.sr-root .hero .card::before,
body.sr-pl .heroCard::before,
body.sr-br .hero-copy::before {
  content: "LIVE CASCADE • SUGAR RUSH 1000";
  display: inline-flex;
  align-items: center;
  min-height: 27px;
  margin-bottom: 18px;
  padding: 6px 10px 6px 25px;
  border: 1px solid rgba(97, 247, 166, .18);
  border-radius: 999px;
  color: #91f9c3;
  background: radial-gradient(circle at 12px 50%, #61f7a6 0 3px, transparent 4px), rgba(97, 247, 166, .05);
  font-size: 8px;
  font-weight: 950;
  letter-spacing: .16em;
}

body.sr-root .hero .card::before,
body.sr-pl .heroCard::before,
body.sr-br .hero-copy::before {
  position: static !important;
  inset: auto !important;
  width: fit-content !important;
  height: auto !important;
  opacity: 1 !important;
  transform: none !important;
}

body.sr-root .hero .card::after,
body.sr-pl .heroCard::after,
body.sr-br .hero-copy::after { display: none !important; }

body.sr-root .hero .card-inner,
body.sr-pl .heroCard .inner { padding: 0 !important; }

body.sr-root h1,
body.sr-pl h1,
body.sr-br h1 {
  max-width: 760px;
  margin: 0 !important;
  color: #fff !important;
  font-size: clamp(48px, 5.1vw, 76px) !important;
  font-weight: 950 !important;
  letter-spacing: -.055em !important;
  line-height: .99 !important;
  text-wrap: balance;
  text-shadow: 0 18px 50px rgba(0, 0, 0, .35);
}

body.sr-br h1 .gradient {
  color: var(--sr-gold) !important;
  background: linear-gradient(110deg, #fff6ca, var(--sr-gold) 44%, #ff7ce8 82%) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
}

body.sr-root h1 {
  font-size: clamp(44px, 4vw, 58px) !important;
  line-height: 1.01 !important;
}

body.sr-root .lead,
body.sr-pl .sub,
body.sr-br .hero-copy .lead {
  max-width: 650px !important;
  margin: 22px 0 0 !important;
  color: #b9aecb !important;
  font-size: 16px !important;
  line-height: 1.72 !important;
}

body.sr-root .hero .lead {
  font-size: 14px !important;
  line-height: 1.62 !important;
}

body.sr-root .chips,
body.sr-pl .hud,
body.sr-br .hero-copy .chips {
  margin-top: 24px !important;
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 8px !important;
}

body.sr-root .hero .chip,
body.sr-pl .hud .h,
body.sr-br .hero-copy .chip {
  min-width: 0 !important;
  min-height: 48px !important;
  padding: 10px 12px !important;
  border: 1px solid var(--sr-line) !important;
  border-radius: 14px !important;
  color: #ddd5e8 !important;
  background: rgba(15, 8, 28, .62) !important;
  box-shadow: inset 0 1px rgba(255, 255, 255, .03) !important;
  backdrop-filter: blur(14px) !important;
  font-size: 10px !important;
  font-weight: 850 !important;
}

body.sr-root .hero .chip .dot { background: var(--sr-pink) !important; box-shadow: 0 0 14px var(--sr-pink) !important; }
body.sr-pl .hud svg { display: none !important; }
body.sr-pl .hud .k,
body.sr-br .hero-copy .chip small {
  display: block !important;
  color: #817792 !important;
  font-size: 8px !important;
  font-weight: 900 !important;
  letter-spacing: .12em !important;
  text-transform: uppercase !important;
}
body.sr-pl .hud .v,
body.sr-br .hero-copy .chip strong { margin-top: 3px !important; color: #fff !important; font-size: 11px !important; }

body.sr-root .hero-actions,
body.sr-pl .actions,
body.sr-br .hero-actions {
  margin-top: 24px !important;
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 9px !important;
}

body.sr-root .hero .muted,
body.sr-pl .readRow,
body.sr-br .micro-note,
body.sr-br .updated { color: #746b87 !important; font-size: 10px !important; }
body.sr-br .section-anchor-nav,
body.sr-root .hero > .wrap > .content-card,
body.sr-pl .readRow { display: none !important; }

/* Game stage */
body.sr-root .poster,
body.sr-pl .hero aside.poster,
body.sr-br .hero-poster {
  position: relative !important;
  min-width: 0 !important;
  border: 1px solid rgba(255, 200, 103, .18) !important;
  border-radius: 30px !important;
  background: rgba(7, 3, 15, .76) !important;
  box-shadow: 0 38px 100px rgba(0, 0, 0, .55), 0 0 80px rgba(255, 79, 216, .09) !important;
  transform: perspective(1200px) rotateY(-2.5deg) rotateX(1deg);
}

body.sr-root .poster-inner,
body.sr-pl .hero aside.poster,
body.sr-br .poster-shell,
body.sr-br .poster-stage {
  position: relative !important;
  min-height: 610px !important;
  overflow: hidden !important;
  border-radius: 28px !important;
  border: 0 !important;
  background: linear-gradient(180deg, rgba(7, 3, 15, .02), rgba(7, 3, 15, .12) 55%, rgba(7, 3, 15, .92)), url("/assets/images/sugar-premium-hero.png") center / cover no-repeat !important;
}

body.sr-pl .posterTop,
body.sr-pl .posterBottom,
body.sr-br .poster-logo,
body.sr-br .poster-float,
body.sr-root .poster-badge { display: none !important; }

body.sr-root .poster-img {
  position: absolute !important;
  inset: 0 !important;
  width: auto !important;
  height: auto !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: linear-gradient(180deg, transparent 65%, rgba(7, 3, 15, .85)), url("/assets/images/sugar-premium-hero.png") center / cover no-repeat !important;
}

body.sr-pl .posterMedia,
body.sr-pl .posterFrame,
body.sr-br .poster-media {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  min-height: 100% !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
}

body.sr-pl .posterFrame img,
body.sr-br .poster-media {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  opacity: .22 !important;
  filter: saturate(1.12) contrast(1.04) !important;
  mix-blend-mode: screen;
}

.sr-stage-ui { position: absolute; inset: 0; z-index: 8; display: flex; flex-direction: column; justify-content: space-between; pointer-events: none; }
.sr-stage-ui__top {
  min-height: 58px;
  padding: 17px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, .09);
  color: #dcd2ea;
  background: linear-gradient(180deg, rgba(8, 4, 16, .9), rgba(8, 4, 16, .45));
  font-size: 9px;
  font-weight: 950;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.sr-stage-ui__top b { display: inline-flex; align-items: center; gap: 7px; color: #fff; }
.sr-stage-ui__top b::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--sr-green);
  box-shadow: 0 0 0 4px rgba(97, 247, 166, .1), 0 0 18px rgba(97, 247, 166, .65);
  animation: srPulse 1.8s ease-in-out infinite;
}
.sr-stage-ui__bottom {
  padding: 18px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: end;
  background: linear-gradient(180deg, transparent, rgba(7, 3, 15, .96) 68%);
}
.sr-stage-tokens { display: flex; flex-wrap: wrap; gap: 7px; }
.sr-stage-tokens span {
  min-width: 48px;
  min-height: 40px;
  padding: 8px 10px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .11);
  border-radius: 13px;
  color: #fff2b7;
  background: rgba(12, 6, 24, .74);
  font-size: 11px;
  font-weight: 950;
}
.sr-stage-tokens span:nth-child(2) { color: #ff85e2; }
.sr-stage-tokens span:nth-child(3) { color: #65ecff; }
.sr-stage-tokens span:nth-child(4) { color: #9ff7c8; }
.sr-stage-spin {
  width: 86px;
  height: 86px;
  padding: 0;
  display: grid;
  place-items: center;
  border: 5px solid rgba(255, 255, 255, .2);
  border-radius: 50%;
  color: #1c0717;
  background: radial-gradient(circle at 35% 25%, #fff7c8, var(--sr-gold) 42%, #ff64d3 100%);
  box-shadow: 0 12px 28px rgba(255, 79, 216, .32), inset 0 2px 2px rgba(255, 255, 255, .8);
  cursor: pointer;
  pointer-events: auto;
  font-size: 11px;
  font-weight: 950;
  letter-spacing: .08em;
  transition: transform .2s ease, filter .2s ease;
}
.sr-stage-spin:hover { transform: rotate(5deg) scale(1.04); filter: brightness(1.06); }
.sr-stage-spin.is-spinning { animation: srSpin .7s cubic-bezier(.2,.8,.2,1); }
.sr-stage-win {
  position: absolute;
  top: 76px;
  left: 20px;
  padding: 7px 11px;
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: 999px;
  color: #fff;
  background: rgba(8, 4, 16, .7);
  backdrop-filter: blur(12px);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .08em;
}
.sr-stage-win b { color: var(--sr-gold); }
@keyframes srPulse { 50% { opacity: .35; transform: scale(.78); } }
@keyframes srSpin {
  20% { transform: rotate(-7deg) scale(.92); }
  55% { transform: rotate(12deg) scale(1.08); }
  100% { transform: rotate(360deg) scale(1); }
}

/* Content */
body.sr-root main,
body.sr-pl main,
body.sr-br main { position: relative; z-index: 2; padding-top: 34px !important; padding-bottom: 120px !important; }
body.sr-root .content-card,
body.sr-pl .sec,
body.sr-br .content-section,
body.sr-br .glass,
body.sr-br .card {
  position: relative;
  overflow: hidden;
  margin: 0 0 18px !important;
  padding: clamp(24px, 3vw, 42px) !important;
  border: 1px solid var(--sr-line) !important;
  border-radius: 24px !important;
  color: var(--sr-text) !important;
  background: radial-gradient(500px 260px at 100% 0%, rgba(155, 103, 255, .07), transparent 70%), linear-gradient(145deg, rgba(23, 12, 39, .88), rgba(10, 5, 20, .92)) !important;
  box-shadow: 0 22px 70px rgba(0, 0, 0, .18), inset 0 1px rgba(255, 255, 255, .025) !important;
  backdrop-filter: blur(14px);
}
body.sr-root .content-inner { padding: 0 !important; }
body.sr-br .feature-strip { padding: 24px 0 8px !important; background: transparent !important; border: 0 !important; }
body.sr-br .feature-grid { gap: 12px !important; }
body.sr-br .feature-box { margin: 0 !important; padding: 20px !important; }

body.sr-root h2,
body.sr-pl h2,
body.sr-br h2 {
  margin: 0 0 16px !important;
  color: #fff !important;
  font-size: clamp(27px, 3vw, 42px) !important;
  font-weight: 950 !important;
  letter-spacing: -.035em !important;
  line-height: 1.1 !important;
  text-wrap: balance;
}
body.sr-root h3,
body.sr-pl h3,
body.sr-br h3 { color: #fff !important; font-weight: 900 !important; letter-spacing: -.02em !important; }
body.sr-root p, body.sr-root li,
body.sr-pl p, body.sr-pl li,
body.sr-br p, body.sr-br li { color: #b6acc5; }
body.sr-root strong, body.sr-root b,
body.sr-pl strong, body.sr-pl b,
body.sr-br strong, body.sr-br b { color: #fff; }
body.sr-root .tag,
body.sr-pl .chip,
body.sr-br .kicker,
body.sr-br .tag {
  border-color: rgba(255, 79, 216, .18) !important;
  color: #f7b9ea !important;
  background: rgba(255, 79, 216, .055) !important;
}
body.sr-root .note,
body.sr-pl .note,
body.sr-br .note,
body.sr-br .tool-result {
  border: 1px solid rgba(82, 232, 255, .13) !important;
  border-radius: 16px !important;
  color: #c9c1d7 !important;
  background: rgba(82, 232, 255, .045) !important;
}
body.sr-root .table-wrap,
body.sr-pl .tableWrap,
body.sr-pl .table-scroll,
body.sr-br .table-wrap {
  overflow-x: auto !important;
  border: 1px solid var(--sr-line) !important;
  border-radius: 18px !important;
  background: rgba(7, 3, 15, .54) !important;
}
body.sr-root table, body.sr-pl table, body.sr-br table {
  width: 100% !important;
  border-collapse: collapse !important;
  color: #c8bfd5 !important;
  background: transparent !important;
}
body.sr-root th, body.sr-pl th, body.sr-br th { color: #fff !important; background: rgba(255, 79, 216, .07) !important; }
body.sr-root th, body.sr-root td,
body.sr-pl th, body.sr-pl td,
body.sr-br th, body.sr-br td { padding: 14px !important; border-color: rgba(255, 255, 255, .075) !important; }
body.sr-root details,
body.sr-pl details,
body.sr-br details,
body.sr-br .faq-item {
  border: 1px solid var(--sr-line) !important;
  border-radius: 16px !important;
  background: rgba(255, 255, 255, .025) !important;
}
body.sr-root .pic {
  border-radius: 18px !important;
  background: linear-gradient(145deg, rgba(255, 79, 216, .08), rgba(82, 232, 255, .06)), url("/assets/images/sugar-premium-hero.png") center / cover no-repeat !important;
}

body.sr-root footer,
body.sr-pl footer,
body.sr-br footer {
  position: relative;
  z-index: 2;
  margin: 0 !important;
  padding: 34px 18px 100px !important;
  border-top: 1px solid var(--sr-line) !important;
  color: #756b87 !important;
  background: #06020d !important;
}
body.sr-root footer p,
body.sr-pl footer p,
body.sr-br footer p { color: #756b87 !important; }

/* Replace legacy floating controls */
body.sr-root #playFab,
body.sr-root .sticky-play,
body.sr-pl #dock,
body.sr-br #stickyDock,
body.sr-br .scroll-top { display: none !important; }

.sr-launch-dock {
  position: fixed;
  top: 50%;
  right: 14px;
  z-index: 120;
  width: 72px;
  padding: 8px 7px;
  display: grid;
  gap: 7px;
  border: 1px solid rgba(255, 255, 255, .11);
  border-radius: 23px;
  background: rgba(8, 4, 16, .78);
  box-shadow: 0 24px 60px rgba(0, 0, 0, .4), inset 0 1px rgba(255, 255, 255, .04);
  backdrop-filter: blur(22px) saturate(145%);
  transform: translateY(-50%);
}
.sr-launch-dock__signal {
  width: 7px;
  height: 7px;
  margin: 2px auto 1px;
  border-radius: 50%;
  background: var(--sr-green);
  box-shadow: 0 0 0 4px rgba(97, 247, 166, .08), 0 0 17px rgba(97, 247, 166, .62);
  animation: srPulse 1.8s ease-in-out infinite;
}
.sr-launch-dock button {
  min-height: 67px;
  padding: 6px 3px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  border: 1px solid rgba(255, 255, 255, .075);
  border-radius: 16px;
  color: #fff;
  background: rgba(255, 255, 255, .035);
  box-shadow: inset 0 1px rgba(255, 255, 255, .03);
}
.sr-launch-dock button:hover { transform: translateX(-3px); border-color: rgba(255, 200, 103, .22); background: rgba(255, 255, 255, .07); }
.sr-launch-dock__icon {
  width: 33px;
  height: 33px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  color: #2a0b20;
  background: linear-gradient(145deg, #fff2b9, var(--sr-gold));
  box-shadow: 0 7px 18px rgba(255, 200, 103, .16), inset 0 1px rgba(255, 255, 255, .8);
  font-size: 13px;
  font-style: normal;
  font-weight: 950;
}
.sr-launch-dock button[data-sr-out="bonus"] .sr-launch-dock__icon { color: #fff; background: linear-gradient(145deg, #c476ff, #7844df); }
.sr-launch-dock button[data-sr-out="telegram"] .sr-launch-dock__icon { color: #fff; background: linear-gradient(145deg, #61e6ff, #278fd4); }
.sr-launch-dock__label { color: #f2ebfa; font-size: 8px; font-weight: 900; line-height: 1; }

.sr-candy-rain { position: fixed; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; opacity: .44; }
.sr-candy-rain i {
  position: absolute;
  top: -30px;
  width: 7px;
  height: 13px;
  border-radius: 999px;
  background: var(--sr-pink);
  box-shadow: 0 0 12px currentColor;
  animation: srFall var(--fall, 12s) linear infinite;
  animation-delay: var(--delay, 0s);
}
.sr-candy-rain i:nth-child(3n) { color: var(--sr-cyan); background: currentColor; }
.sr-candy-rain i:nth-child(4n) { color: var(--sr-gold); background: currentColor; }
.sr-candy-rain i:nth-child(5n) { width: 10px; height: 10px; color: var(--sr-violet); background: currentColor; transform: rotate(45deg); }
@keyframes srFall {
  0% { transform: translate3d(0, -40px, 0) rotate(0deg); opacity: 0; }
  8% { opacity: .75; }
  88% { opacity: .22; }
  100% { transform: translate3d(45px, calc(100vh + 60px), 0) rotate(540deg); opacity: 0; }
}

@media (max-width: 1080px) {
  body.sr-root header .top,
  body.sr-pl header .topIn,
  body.sr-br .topbar-inner { grid-template-columns: auto 1fr !important; }
  body.sr-root nav,
  body.sr-pl .nav,
  body.sr-br .nav {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-content: flex-start !important;
    overflow-x: auto;
    scrollbar-width: none;
  }
  body.sr-root .top-actions { justify-self: end; }
  body.sr-root .hero-grid,
  body.sr-pl .heroGrid,
  body.sr-br .hero-grid {
    grid-template-columns: 1fr !important;
    max-width: 820px;
    min-height: 0 !important;
    margin-inline: auto;
  }
  body.sr-root .poster,
  body.sr-pl .hero aside.poster,
  body.sr-br .hero-poster { transform: none; }
}

@media (max-width: 720px) {
  body.sr-root,
  body.sr-pl,
  body.sr-br {
    padding-bottom: calc(82px + env(safe-area-inset-bottom)) !important;
    font-size: 15px;
    line-height: 1.62;
  }
  body.sr-root .wrap,
  body.sr-pl .wrap,
  body.sr-br .wrap { width: min(100% - 24px, var(--sr-max)) !important; }
  body.sr-root header .top,
  body.sr-pl header .topIn,
  body.sr-br .topbar-inner {
    min-height: 0 !important;
    padding: 8px 0 7px !important;
    gap: 7px 10px !important;
  }
  body.sr-root .brand .logo,
  body.sr-pl .brand .logoImg,
  body.sr-br .brand-badge { width: 38px !important; height: 38px !important; flex-basis: 38px !important; border-radius: 12px !important; }
  body.sr-root .brand b,
  body.sr-pl .brand b,
  body.sr-br .brand strong { font-size: 12px !important; }
  body.sr-root .brand small,
  body.sr-pl .brand .tag,
  body.sr-br .brand-text > span { font-size: 6px !important; }
  body.sr-root nav,
  body.sr-pl .nav,
  body.sr-br .nav { margin: 0 -12px !important; padding: 1px 12px 0 !important; }
  body.sr-root nav a,
  body.sr-pl .nav a,
  body.sr-br .nav a { min-height: 31px !important; padding: 6px 9px !important; font-size: 9px !important; }
  body.sr-root .top-actions .pill { display: none !important; }
  body.sr-root .top-actions .btn { min-height: 37px !important; padding: 8px 12px !important; border-radius: 12px !important; font-size: 10px !important; }

  body.sr-root > section.hero,
  body.sr-pl > section.hero,
  body.sr-br > .wrap:first-of-type {
    background: linear-gradient(180deg, rgba(7, 3, 15, .2) 0%, rgba(7, 3, 15, .9) 45%, #07030f 100%), url("/assets/images/sugar-premium-hero.png") 69% top / auto 470px no-repeat !important;
  }
  body.sr-root .hero > .wrap,
  body.sr-pl .hero > .wrap,
  body.sr-br #top.hero { padding-top: 20px !important; padding-bottom: 36px !important; }
  body.sr-root .hero-grid,
  body.sr-pl .heroGrid,
  body.sr-br .hero-grid { gap: 27px !important; }
  body.sr-root .poster,
  body.sr-pl .hero aside.poster,
  body.sr-br .hero-poster { order: -1; border-radius: 23px !important; }
  body.sr-root .poster-inner,
  body.sr-pl .hero aside.poster,
  body.sr-br .poster-shell,
  body.sr-br .poster-stage {
    min-height: 430px !important;
    border-radius: 22px !important;
    background: linear-gradient(180deg, rgba(7, 3, 15, .02), rgba(7, 3, 15, .08) 55%, rgba(7, 3, 15, .94)), url("/assets/images/sugar-premium-hero.png") 66% center / auto 100% no-repeat !important;
  }
  body.sr-root .poster-img { background-position: 66% center !important; background-size: auto 100% !important; }
  .sr-stage-ui__top { min-height: 46px; padding: 13px 14px; font-size: 7px; }
  .sr-stage-ui__bottom { padding: 13px; gap: 8px; }
  .sr-stage-tokens { gap: 5px; }
  .sr-stage-tokens span { min-width: 39px; min-height: 34px; padding: 6px 7px; border-radius: 10px; font-size: 9px; }
  .sr-stage-spin { width: 66px; height: 66px; border-width: 4px; font-size: 9px; }
  .sr-stage-win { top: 58px; left: 13px; font-size: 7px; }
  body.sr-root .hero .card::before,
  body.sr-pl .heroCard::before,
  body.sr-br .hero-copy::before { margin-bottom: 13px; font-size: 7px; }
  body.sr-root h1,
  body.sr-pl h1,
  body.sr-br h1 { font-size: clamp(38px, 12.5vw, 55px) !important; line-height: .99 !important; }
  body.sr-root h1 { font-size: clamp(36px, 10.8vw, 44px) !important; }
  body.sr-root .lead,
  body.sr-pl .sub,
  body.sr-br .hero-copy .lead { margin-top: 16px !important; font-size: 14px !important; line-height: 1.62 !important; }
  body.sr-root .chips,
  body.sr-pl .hud,
  body.sr-br .hero-copy .chips { margin-top: 18px !important; gap: 6px !important; }
  body.sr-root .hero .chip,
  body.sr-pl .hud .h,
  body.sr-br .hero-copy .chip { min-height: 44px !important; padding: 8px 10px !important; border-radius: 12px !important; font-size: 9px !important; }
  body.sr-root .hero-actions,
  body.sr-pl .actions,
  body.sr-br .hero-actions { margin-top: 18px !important; }
  body.sr-root .hero-actions .btn,
  body.sr-pl .hero .actions .btn,
  body.sr-br .hero-actions .btn { flex: 1 1 46%; min-height: 48px; padding: 11px 12px; font-size: 11px; }
  body.sr-root main,
  body.sr-pl main,
  body.sr-br main { padding-top: 18px !important; padding-bottom: 62px !important; }
  body.sr-root .content-card,
  body.sr-pl .sec,
  body.sr-br .content-section,
  body.sr-br .glass,
  body.sr-br .card { margin-bottom: 12px !important; padding: 20px 17px !important; border-radius: 19px !important; }
  body.sr-root h2,
  body.sr-pl h2,
  body.sr-br h2 { font-size: clamp(25px, 8vw, 34px) !important; }
  body.sr-root th, body.sr-root td,
  body.sr-pl th, body.sr-pl td,
  body.sr-br th, body.sr-br td { min-width: 140px; padding: 11px !important; font-size: 12px !important; }

  .sr-launch-dock {
    top: auto;
    right: auto;
    left: 50%;
    bottom: max(8px, env(safe-area-inset-bottom));
    width: calc(100% - 18px);
    max-width: 390px;
    height: 66px;
    padding: 6px;
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
    border-radius: 20px;
    transform: translateX(-50%);
  }
  .sr-launch-dock__signal { display: none; }
  .sr-launch-dock button { min-height: 52px; padding: 5px 3px; flex-direction: row; border-radius: 14px; }
  .sr-launch-dock button:hover { transform: translateY(-2px); }
  .sr-launch-dock__icon { width: 29px; height: 29px; border-radius: 9px; font-size: 11px; }
  .sr-launch-dock__label { font-size: 9px; }
  .sr-candy-rain { opacity: .28; }
}

@media (max-width: 390px) {
  body.sr-root .wrap,
  body.sr-pl .wrap,
  body.sr-br .wrap { width: calc(100% - 18px) !important; }
  body.sr-root .brand small,
  body.sr-pl .brand .tag,
  body.sr-br .brand-text > span { display: none !important; }
  body.sr-root .poster-inner,
  body.sr-pl .hero aside.poster,
  body.sr-br .poster-shell,
  body.sr-br .poster-stage { min-height: 395px !important; }
  .sr-stage-tokens span { min-width: 36px; }
  .sr-stage-spin { width: 60px; height: 60px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }
  .sr-candy-rain { display: none; }
}
