/* ============================================================
   v7 — Y2K GLOSSY 3D
   Bubble bevels • candy palette • chrome rims • dimensional UI

   Token system follows the v5/v6 pattern: theme-<name>.css overrides
   the :root[data-theme="<name>"] block. Default tokens in this file
   mirror the "azurewaves" theme so the page renders cleanly even if
   no theme stylesheet loads.

   Direction is the deliberate inverse of v6's flat brutalist neon —
   it's *dimensional*, *playful*, *physical* (jelly buttons, beveled
   containers with inner glow + outer shadow, glossy radial highlights).
   ============================================================ */

/* -- BASE TOKENS (shared across themes) ---------------------- */
:root {
  --font-display: "Bricolage Grotesque", "Helvetica Neue", system-ui, sans-serif;
  --font-body:    "Inter Tight", "Helvetica Neue", system-ui, sans-serif;
  --font-mono:    "JetBrains Mono", "Geist Mono", ui-monospace, monospace;

  /* type scale */
  --t-12: 12px; --t-13: 13px; --t-14: 14px; --t-16: 16px;
  --t-18: 18px; --t-22: 22px; --t-28: 28px; --t-36: 36px;
  --t-48: 48px; --t-64: 64px;

  /* radii — bubbly */
  --r-pill: 999px;
  --r-lg:   22px;
  --r-md:   14px;
  --r-sm:   10px;
  --r-xs:   6px;

  /* spacing (4px base) */
  --s1:4px; --s2:8px; --s3:12px; --s4:16px; --s5:20px;
  --s6:24px; --s8:32px; --s10:40px; --s12:48px; --s16:64px;
}

/* -- DEFAULT TOKENS (azurewaves) — safety net if no theme-X.css loads.
      The 32 named theme files (theme-azurewaves.css, theme-rose.css, etc.)
      override these via :root[data-theme="X"] selector specificity. Names
      match v3-v6 so the DB-driven theme switcher works across versions. -- */
:root {
  --bg-0: #fff8f0;
  --bg-1: #ffffff;
  --bg-2: #fafafa;

  --ink:    #1a0e2e;
  --ink-2:  #4a3470;
  --ink-3:  #8b7aaa;
  --ink-on-accent: #ffffff;

  --line:   rgba(29, 10, 58, 0.10);
  --line-2: rgba(29, 10, 58, 0.18);

  --accent:        #0078d4;
  --accent-2:      #5fb4e6;
  --accent-deep:   #004a8a;
  --secondary:     #06b6d4;
  --secondary-2:   #67e8f9;
  --tertiary:      #fbbf24;
  --quaternary:    #8b5cf6;
  --good:          #14d390;
  --bad:           #ff4760;

  --gloss-light: rgba(255,255,255,0.85);
  --gloss-dark:  rgba(0,0,0,0.18);

  --page-bg:
    radial-gradient(60% 40% at 12% 8%, #cfe6f7 0%, transparent 60%),
    radial-gradient(50% 35% at 88% 14%, #bef0f8 0%, transparent 60%),
    radial-gradient(70% 50% at 50% 100%, #e3f2fd 0%, transparent 60%),
    linear-gradient(180deg, #fff8f0 0%, #fafafa 100%);

  --shadow-card:  0 1px 0 rgba(255,255,255,0.9) inset,
                  0 -8px 24px rgba(255,255,255,0.7) inset,
                  0 18px 40px -12px rgba(122, 35, 145, 0.30),
                  0 4px 10px -2px rgba(122, 35, 145, 0.15);
  --shadow-jelly: 0 -4px 8px rgba(255,255,255,0.6) inset,
                  0 8px 12px rgba(0,0,0,0.18) inset,
                  0 12px 28px -6px color-mix(in srgb, #0078d4 55%, transparent),
                  0 2px 0 rgba(0,0,0,0.04);
}

/* ============================================================
   GLOBAL (page bg + body grammar)
   ============================================================ */
html, body {
  margin: 0; padding: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--page-bg);
  background-attachment: fixed;
  font-feature-settings: "ss01", "cv11";
  -webkit-font-smoothing: antialiased;
  font-smoothing: antialiased;
  min-height: 100vh;
}
* { box-sizing: border-box; }
h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  margin: 0; line-height: 1.05; letter-spacing: -0.02em;
  font-weight: 700;
}
a { color: var(--accent-deep); }
a:hover { color: var(--accent); }
.mono, .num {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
}
.sr-only {
  position: absolute !important;
  width: 1px !important; height: 1px !important;
  padding: 0 !important; margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0,0,0,0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

main[role="main"] {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px 48px;
}

/* ============================================================
   THE LOCK-UP / JELLY — central glossy chip used everywhere.
   Single composable surface; applies the gloss recipe.
   ============================================================ */
.jelly {
  position: relative;
  display: inline-flex;
  align-items: center; justify-content: center;
  border-radius: var(--r-pill);
  background:
    radial-gradient(120% 150% at 50% -30%, var(--gloss-light) 0%, transparent 45%),
    linear-gradient(180deg, var(--accent-2) 0%, var(--accent) 50%, var(--accent-deep) 100%);
  color: var(--ink-on-accent);
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.01em;
  box-shadow: var(--shadow-jelly);
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: transform .12s cubic-bezier(.2,.8,.3,1), filter .15s;
  user-select: none;
  white-space: nowrap;
}
.jelly::after {
  /* top-edge gloss highlight crescent */
  content: ""; position: absolute; inset: 3px 6px auto 6px; height: 38%;
  border-radius: var(--r-pill);
  background: linear-gradient(180deg, rgba(255,255,255,0.75), rgba(255,255,255,0));
  pointer-events: none;
  filter: blur(0.5px);
}
.jelly:hover { transform: translateY(-1px); filter: brightness(1.06); }
.jelly:active { transform: translateY(1px); filter: brightness(0.96); }
.jelly[disabled],
.jelly:disabled { opacity: .5; cursor: not-allowed; transform: none !important; }

.jelly--lg { padding: 16px 28px; font-size: var(--t-18); }
.jelly--md { padding: 11px 20px; font-size: var(--t-14); }
.jelly--sm { padding: 7px 14px;  font-size: var(--t-13); }

.jelly--cyan {
  background:
    radial-gradient(120% 150% at 50% -30%, var(--gloss-light) 0%, transparent 45%),
    linear-gradient(180deg, var(--secondary-2) 0%, var(--secondary) 50%, color-mix(in srgb, var(--secondary) 50%, #000) 100%);
  box-shadow:
    0 -4px 8px rgba(255,255,255,0.6) inset,
    0 8px 12px rgba(0,0,0,0.18) inset,
    0 12px 28px -6px color-mix(in srgb, var(--secondary) 55%, transparent),
    0 2px 0 rgba(0,0,0,0.04);
}
.jelly--lime {
  background:
    radial-gradient(120% 150% at 50% -30%, var(--gloss-light) 0%, transparent 45%),
    linear-gradient(180deg, color-mix(in srgb, var(--good) 60%, #fff) 0%, var(--good) 50%, color-mix(in srgb, var(--good) 50%, #000) 100%);
  color: #003322;
  box-shadow:
    0 -4px 8px rgba(255,255,255,0.6) inset,
    0 8px 12px rgba(0,0,0,0.18) inset,
    0 12px 28px -6px color-mix(in srgb, var(--good) 55%, transparent),
    0 2px 0 rgba(0,0,0,0.04);
}
.jelly--gold {
  background:
    radial-gradient(120% 150% at 50% -30%, var(--gloss-light) 0%, transparent 45%),
    linear-gradient(180deg, color-mix(in srgb, var(--tertiary) 70%, #fff) 0%, var(--tertiary) 50%, color-mix(in srgb, var(--tertiary) 40%, #000) 100%);
  color: #3a2900;
}
.jelly--red {
  background:
    radial-gradient(120% 150% at 50% -30%, var(--gloss-light) 0%, transparent 45%),
    linear-gradient(180deg, color-mix(in srgb, var(--bad) 70%, #fff) 0%, var(--bad) 50%, color-mix(in srgb, var(--bad) 50%, #000) 100%);
}
.jelly--ghost {
  background: var(--bg-1);
  color: var(--ink);
  box-shadow:
    0 1px 0 rgba(255,255,255,0.9) inset,
    0 0 0 1.5px var(--line-2),
    0 6px 16px -4px rgba(0,0,0,0.10);
}
.jelly--ghost::after { display: none; }
.jelly--block { display: flex; width: 100%; }

/* ============================================================
   GLOSSY CARD — beveled, dimensional container
   ============================================================ */
.gcard {
  position: relative;
  background: var(--bg-1);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-card);
  padding: var(--s5);
  color: var(--ink);
}
.gcard--accent {
  background:
    radial-gradient(140% 100% at 50% -10%, rgba(255,255,255,0.6) 0%, transparent 55%),
    linear-gradient(180deg, var(--accent-2), var(--accent));
  color: #fff;
}
.gcard--mono {
  background:
    radial-gradient(140% 100% at 50% -10%, rgba(255,255,255,0.18) 0%, transparent 55%),
    linear-gradient(180deg, var(--bg-2), var(--bg-0));
}
.gcard__rim {
  position: absolute; inset: 0;
  border-radius: inherit;
  pointer-events: none;
  box-shadow: 0 0 0 1px rgba(255,255,255,0.6) inset;
}

/* ============================================================
   CHIP / PILL TAB
   ============================================================ */
.chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 12px;
  border-radius: var(--r-pill);
  background: var(--bg-1);
  color: var(--ink-2);
  font: 600 var(--t-13)/1.2 var(--font-body);
  text-decoration: none;
  cursor: pointer;
  border: none;
  box-shadow: 0 1px 0 rgba(255,255,255,0.9) inset, 0 0 0 1px var(--line);
  transition: all .12s;
}
.chip:hover { color: var(--ink); }
.chip--on,
.chip.active {
  background: linear-gradient(180deg, var(--ink), color-mix(in srgb, var(--ink) 80%, #000));
  color: var(--bg-1);
  box-shadow:
    0 -2px 4px rgba(255,255,255,0.10) inset,
    0 4px 10px rgba(0,0,0,0.20) inset,
    0 4px 10px -2px rgba(0,0,0,0.25);
}
.chip--accent {
  background: linear-gradient(180deg, var(--accent-2), var(--accent));
  color: #fff;
  box-shadow:
    0 -2px 4px rgba(255,255,255,0.30) inset,
    0 6px 14px -4px var(--accent-deep);
}

/* ============================================================
   STRIPED PLACEHOLDER (per design — no hand-drawn art)
   ============================================================ */
.ph {
  position: relative; overflow: hidden;
  background-color: var(--bg-2);
  background-image:
    repeating-linear-gradient(135deg,
      transparent 0 8px,
      color-mix(in srgb, var(--ink) 6%, transparent) 8px 9px);
  border-radius: var(--r-md);
  display: flex; align-items: center; justify-content: center;
  color: var(--ink-3);
  font-family: var(--font-mono);
  font-size: 10px; text-transform: uppercase; letter-spacing: .08em;
  text-align: center;
  box-shadow: 0 0 0 1px var(--line) inset;
}
.ph--accent {
  background-color: color-mix(in srgb, var(--accent) 14%, var(--bg-1));
  background-image:
    repeating-linear-gradient(135deg,
      transparent 0 8px,
      color-mix(in srgb, var(--accent) 22%, transparent) 8px 9px);
  color: var(--accent-deep);
}
.ph--cyan {
  background-color: color-mix(in srgb, var(--secondary) 14%, var(--bg-1));
  background-image:
    repeating-linear-gradient(135deg,
      transparent 0 8px,
      color-mix(in srgb, var(--secondary) 22%, transparent) 8px 9px);
}
.ph--gold {
  background-color: color-mix(in srgb, var(--tertiary) 22%, var(--bg-1));
  background-image:
    repeating-linear-gradient(135deg,
      transparent 0 8px,
      color-mix(in srgb, var(--tertiary) 38%, transparent) 8px 9px);
}

/* ============================================================
   FORM FIELDS — inset bevel (pressed-in look)
   ============================================================ */
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.field > label {
  font-size: var(--t-12); font-weight: 600;
  color: var(--ink-2); text-transform: uppercase; letter-spacing: .06em;
}
.field input, .field select, .field textarea {
  background: var(--bg-2);
  border: none;
  border-radius: var(--r-md);
  padding: 12px 14px;
  font: 500 var(--t-14)/1.2 var(--font-body);
  color: var(--ink);
  box-shadow:
    0 2px 4px rgba(0,0,0,0.10) inset,
    0 0 0 1px var(--line) inset;
  outline: none;
  transition: box-shadow .15s;
  width: 100%;
}
.field textarea { resize: vertical; min-height: 80px; }
.field input::placeholder, .field textarea::placeholder { color: var(--ink-3); }
.field input:focus, .field select:focus, .field textarea:focus {
  box-shadow:
    0 2px 4px rgba(0,0,0,0.10) inset,
    0 0 0 2px var(--accent) inset;
}

.field-with-icon {
  position: relative;
}
.field-with-icon input { padding-right: 44px; }
.field-with-icon .field-icon {
  position: absolute;
  right: 10px; top: 50%; transform: translateY(-50%);
  width: 28px; height: 28px;
  display: flex; align-items: center; justify-content: center;
  background: transparent; border: 0; cursor: pointer;
  color: var(--ink-3);
  border-radius: var(--r-sm);
}
.field-with-icon .field-icon:hover { color: var(--ink); }

/* ============================================================
   TABLES — striped and beveled
   ============================================================ */
.gtable {
  width: 100%;
  border-collapse: separate; border-spacing: 0;
  font-size: var(--t-13);
}
.gtable th {
  text-align: left; padding: 10px 12px;
  font-size: var(--t-12); text-transform: uppercase; letter-spacing: .06em;
  color: var(--ink-3); font-weight: 600;
  border-bottom: 1px solid var(--line);
}
.gtable td {
  padding: 12px;
  border-bottom: 1px solid var(--line);
  color: var(--ink-2);
}
.gtable tr:nth-child(even) td {
  background: color-mix(in srgb, var(--bg-2) 60%, transparent);
}
.gtable tr:last-child td { border-bottom: none; }

.table-wrap {
  background: var(--bg-1);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-card);
  overflow-x: auto;
}

/* ============================================================
   ALERT BANNERS
   ============================================================ */
.alert {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 16px; border-radius: var(--r-md);
  font-size: var(--t-13); font-weight: 500;
  margin-bottom: 12px;
}
.alert--ok, .alert-success {
  background: color-mix(in srgb, var(--good) 15%, var(--bg-1));
  color: color-mix(in srgb, var(--good) 60%, var(--ink));
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--good) 30%, transparent) inset;
}
.alert--err, .alert-danger {
  background: color-mix(in srgb, var(--bad) 15%, var(--bg-1));
  color: color-mix(in srgb, var(--bad) 70%, var(--ink));
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--bad) 30%, transparent) inset;
}
.alert--warn, .alert-warning {
  background: color-mix(in srgb, var(--tertiary) 25%, var(--bg-1));
  color: color-mix(in srgb, var(--tertiary) 30%, var(--ink));
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--tertiary) 40%, transparent) inset;
}
.alert--info, .alert-info {
  background: color-mix(in srgb, var(--secondary) 18%, var(--bg-1));
  color: color-mix(in srgb, var(--secondary) 55%, var(--ink));
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--secondary) 35%, transparent) inset;
}

/* ============================================================
   ANIMATIONS
   ============================================================ */
@keyframes v7-shimmer {
  0%, 100% { background-position: 0% 0%; }
  50%      { background-position: 200% 0%; }
}
.shimmer {
  background: linear-gradient(110deg,
    var(--accent) 0%, var(--quaternary) 25%,
    var(--secondary) 50%, var(--tertiary) 75%, var(--accent) 100%);
  background-size: 300% 100%;
  animation: v7-shimmer 6s ease-in-out infinite;
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}

@keyframes v7-marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.ticker-track { animation: v7-marquee 38s linear infinite; }
.ticker-track:hover { animation-play-state: paused; }

@keyframes v7-pulse {
  0%   { transform: scale(.95); opacity: .9; }
  70%  { transform: scale(1.4);  opacity: 0; }
  100% { opacity: 0; }
}
.live-dot {
  position: relative;
  display: inline-block;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--good);
}
.live-dot::after {
  content: ""; position: absolute; inset: 0;
  border-radius: 50%; background: inherit;
  animation: v7-pulse 1.6s ease-out infinite;
}

@media (prefers-reduced-motion: reduce) {
  .ticker-track, .live-dot::after, .shimmer { animation: none; }
}

/* ============================================================
   DESKTOP HEADER (top bar)
   ============================================================ */
.hdr {
  display: flex; align-items: center; gap: 16px;
  padding: 10px 20px;
  margin: 16px auto;
  max-width: 1200px;
  border-radius: var(--r-pill);
  background: var(--bg-1);
  box-shadow: var(--shadow-card);
}
.wordmark {
  display: inline-flex; align-items: center; gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}
.wordmark img { max-height: 36px; width: auto; }
.wordmark .lock-up {
  width: 60px; height: 38px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: var(--r-pill);
  background:
    radial-gradient(120% 150% at 50% -30%, var(--gloss-light) 0%, transparent 45%),
    linear-gradient(180deg, var(--accent-2) 0%, var(--accent) 50%, var(--accent-deep) 100%);
  color: #fff;
  font-family: var(--font-display); font-weight: 700; font-size: 19px;
  letter-spacing: -0.04em; line-height: 1;
  box-shadow: var(--shadow-jelly);
  position: relative;
}
.wordmark .lock-up::after {
  content: ""; position: absolute; inset: 3px 6px auto 6px; height: 38%;
  border-radius: var(--r-pill);
  background: linear-gradient(180deg, rgba(255,255,255,0.75), rgba(255,255,255,0));
  pointer-events: none;
}
.wordmark .lock-up span { position: relative; z-index: 1; padding-bottom: 2px; }
.wordmark-text { line-height: 1.05; }
.wordmark-text .name {
  font-family: var(--font-display); font-weight: 700;
  font-size: 16px; letter-spacing: -0.02em; color: var(--ink);
}
.wordmark-text .sub {
  font-family: var(--font-mono); font-size: 9px;
  text-transform: uppercase; letter-spacing: .18em;
  color: var(--ink-3);
}

.hdr-nav {
  display: flex; gap: 3px;
  flex: 1 1 0;
  min-width: 0;
  flex-wrap: nowrap;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.hdr-nav::-webkit-scrollbar { display: none; }
.hdr-nav a, .hdr-nav .chip {
  /* Tighter chip sizing in the header so 9-10 game categories + Beranda + Promo
     all fit in a single row alongside the wordmark and auth pill. The base
     .chip rule (`padding: 6px 12px; font-size: 13px`) wraps onto two rows on
     a 1200-1280px viewport once the actions take ~520px on the right. */
  padding: 5px 10px;
  font-size: 12px;
  flex-shrink: 0;
  white-space: nowrap;
}
/* Right side of the header: top row has +DEPO / ↑WD / profile-dropdown,
   bottom row has the SALDO pill stretched to match the top row's width
   so it visually unifies as a single right-side panel. */
.hdr-actions {
  margin-left: auto;
  flex-shrink: 0;
  display: flex; flex-direction: column;
  align-items: stretch;     /* both rows fill the natural width of the widest one */
  gap: 6px;
}
.hdr-actions-row {
  display: flex; align-items: center;
  gap: 8px;
  justify-content: flex-end; /* keep buttons against the right edge */
}
.hdr-actions .bal-pill {
  /* Saldo pill stretches to match the top-row width; content centered. */
  width: 100%;
  justify-content: center;
}
@media (max-width: 1100px) {
  /* Tighten further on smaller laptops. */
  .hdr-nav a, .hdr-nav .chip { padding: 4px 8px; font-size: 11px; }
  .hdr { gap: 10px; padding: 8px 14px; }
  .hdr-actions { gap: 4px; }
  .hdr-actions-row { gap: 6px; }
}

.authpill {
  display: flex; align-items: center; gap: 8px;
  flex-wrap: nowrap;
}
.authpill input {
  width: 130px; max-width: 140px;
  padding: 8px 14px;
  border: none; border-radius: var(--r-pill);
  background: var(--bg-2);
  font: 500 13px/1.2 var(--font-body);
  color: var(--ink);
  outline: none;
  box-shadow: 0 2px 4px rgba(0,0,0,.10) inset, 0 0 0 1px var(--line) inset;
}
.authpill input:focus {
  box-shadow: 0 2px 4px rgba(0,0,0,.10) inset, 0 0 0 2px var(--accent) inset;
}
.authpill input::placeholder { color: var(--ink-3); }
.authpill .pw-wrap { position: relative; }
.authpill .pw-wrap .reveal {
  position: absolute; right: 6px; top: 50%; transform: translateY(-50%);
  width: 28px; height: 28px;
  display: flex; align-items: center; justify-content: center;
  background: transparent; border: 0; cursor: pointer;
  color: var(--ink-3);
  border-radius: var(--r-sm);
  font-size: 14px;
}

/* Live balance pill (auth header) */
.bal-pill {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 6px 16px 6px 12px;
  border-radius: 999px;
  background: var(--bg-1);
  box-shadow: 0 1px 0 rgba(255,255,255,.9) inset, 0 0 0 1px var(--line);
  color: var(--ink);
  text-decoration: none;
  font-size: 13px;
}
.bal-pill .bal-label {
  font-size: 11px;
  color: var(--ink-3);
  font-family: var(--font-mono);
  letter-spacing: .1em;
  text-transform: uppercase;
}
.bal-pill .bal-num { font-weight: 700; font-family: var(--font-mono); }

/* Account dropdown */
.acct-menu { position: relative; }
.acct-trigger {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 12px 6px 6px;
  border-radius: var(--r-pill);
  background: var(--bg-1);
  border: 0;
  cursor: pointer;
  box-shadow: 0 1px 0 rgba(255,255,255,.9) inset, 0 0 0 1px var(--line);
  color: var(--ink);
  font: 600 13px/1.2 var(--font-body);
}
.acct-trigger .avatar {
  width: 26px; height: 26px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-size: 11px; font-weight: 800;
  background:
    radial-gradient(120% 150% at 50% -30%, var(--gloss-light) 0%, transparent 45%),
    linear-gradient(180deg, var(--accent-2), var(--accent));
  color: #fff;
  box-shadow: var(--shadow-jelly);
}
.acct-pop {
  position: absolute;
  top: calc(100% + 8px); right: 0;
  min-width: 220px;
  z-index: 60;
  padding: 6px;
  background: var(--bg-1);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-card);
  display: none;
}
.acct-menu[data-open="true"] .acct-pop { display: block; }
.acct-pop a, .acct-pop button.acct-link {
  display: flex; align-items: center; gap: 8px;
  width: 100%;
  padding: 10px 12px;
  border: 0; background: transparent;
  border-radius: 10px;
  color: var(--ink);
  font: 500 13px/1.2 var(--font-body);
  cursor: pointer;
  text-decoration: none;
}
.acct-pop a:hover, .acct-pop button.acct-link:hover { background: var(--bg-2); }
.acct-pop .acct-divider {
  height: 1px; background: var(--line); margin: 4px 0;
}
.acct-pop .danger { color: var(--bad); }
.acct-pop .badge {
  margin-left: auto;
  background: var(--accent); color: #fff;
  font-size: 10px; font-weight: 700;
  padding: 1px 6px; border-radius: 999px;
}

/* ============================================================
   PAGE / SECTION GRAMMAR
   ============================================================ */
.section-head {
  display: flex; align-items: end; justify-content: space-between;
  gap: 16px;
  margin: 28px 0 16px;
  flex-wrap: wrap;
}
.section-head h1, .section-head h2 {
  font-size: 32px;
  letter-spacing: -0.02em;
}
.section-eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .2em;
  color: var(--ink-3);
  text-transform: uppercase;
  margin-bottom: 6px;
}

/* ============================================================
   DESKTOP MARQUEE (running text strip)
   ============================================================ */
.marquee {
  margin: 0 auto 20px;
  max-width: 1200px;
  overflow: hidden;
  border-radius: var(--r-pill);
  background: var(--bg-1);
  box-shadow: 0 1px 0 rgba(255,255,255,.9) inset, 0 0 0 1px var(--line);
  height: 36px;
  display: flex; align-items: center;
}
.marquee-track {
  display: inline-flex; white-space: nowrap;
  font-family: var(--font-mono); font-size: 12px;
  color: var(--ink-2);
}
.marquee-track .seg { padding: 0 30px; display: inline-flex; gap: 16px; }
.marquee-track .dot { color: var(--accent); }

/* ============================================================
   FOOTER
   ============================================================ */
.foot {
  margin: 60px auto 0;
  max-width: 1200px;
  padding: 28px 24px;
  border-radius: var(--r-lg) var(--r-lg) 0 0;
  background: var(--bg-1);
  box-shadow: var(--shadow-card);
  position: relative;
}
.footer-cols {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
  margin-bottom: 20px;
}
.footer-col h4, .footer-col-head {
  font-family: var(--font-display);
  font-size: 13px; font-weight: 700;
  margin: 0 0 10px; color: var(--ink);
  text-transform: uppercase; letter-spacing: .08em;
}
.footer-col ul {
  list-style: none; padding: 0; margin: 0;
  display: grid; gap: 6px;
}
.footer-col a {
  color: var(--ink-2); text-decoration: none;
  font-size: 13px;
}
.footer-col a:hover { color: var(--accent-deep); }
.footer-brand .word-big {
  font-family: var(--font-display);
  font-size: 32px; font-weight: 800; letter-spacing: -0.04em;
  background: linear-gradient(180deg, var(--accent), var(--quaternary));
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}
.footer-brand p { margin: 8px 0 0; font-size: 12px; color: var(--ink-3); line-height: 1.5; }
.payment-row {
  display: flex; flex-wrap: wrap; gap: 10px;
  align-items: center; justify-content: center;
  padding: 14px 0; margin-top: 8px;
  border-top: 1px solid var(--line);
}
.payment-row img { height: 22px; width: auto; opacity: .85; }
.payment-row span:not(.b) {
  font-family: var(--font-mono); font-size: 11px;
  color: var(--ink-3); letter-spacing: .1em;
}
.legal {
  text-align: center;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-3);
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-top: 14px;
}

/* ============================================================
   GAME TILE / CATEGORY TEASER
   ============================================================ */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 12px;
}
.cat-tile {
  display: block;
  text-align: center;
  padding: 14px 10px;
  background: var(--bg-1);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-card);
  text-decoration: none;
  color: var(--ink);
  cursor: pointer;
  transition: transform .18s;
}
.cat-tile:hover { transform: translateY(-4px); }
.cat-tile .cat-orb {
  width: 56px; height: 56px;
  margin: 0 auto;
  border-radius: 16px;
  --orb-color: var(--accent);
  background: radial-gradient(circle at 30% 25%, #fff 0%, var(--orb-color) 60%, color-mix(in srgb, var(--orb-color) 55%, #000) 100%);
  box-shadow: 0 -2px 6px rgba(0,0,0,.15) inset, 0 8px 16px -4px var(--orb-color);
}
.cat-tile .cat-name { margin-top: 10px; font-weight: 700; font-size: 13px; }

.game-grid, .grid-tiles {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
}
.game-tile {
  display: block;
  text-decoration: none;
  color: var(--ink);
  background: var(--bg-1);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  cursor: pointer;
  transition: transform .15s;
}
.game-tile:hover { transform: translateY(-3px); }
.game-tile .tile-thumb {
  aspect-ratio: 4/5;
  background: var(--bg-2);
  position: relative;
  background-image:
    repeating-linear-gradient(135deg,
      transparent 0 8px,
      color-mix(in srgb, var(--ink) 6%, transparent) 8px 9px);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-mono); font-size: 11px;
  color: var(--ink-3);
}
.game-tile .tile-thumb img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.game-tile .tile-meta { padding: 10px 12px; }
.game-tile .name {
  font-weight: 700; font-size: 13px; line-height: 1.2;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.game-tile .prov {
  font-size: 10px;
  font-family: var(--font-mono);
  text-transform: uppercase; letter-spacing: .08em;
  color: var(--ink-3);
}

/* Provider wall (game category page) */
.prov-wall {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 10px;
  margin: 18px 0;
}
.prov-cell {
  height: 60px;
  display: flex; align-items: center; justify-content: center;
  background: var(--bg-1);
  border-radius: var(--r-md);
  text-decoration: none;
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase; letter-spacing: .08em;
  cursor: pointer;
  box-shadow: 0 1px 0 rgba(255,255,255,.9) inset, 0 0 0 1px var(--line);
  transition: all .15s;
}
.prov-cell:hover, .prov-cell.active {
  box-shadow: 0 1px 0 rgba(255,255,255,.9) inset, 0 0 0 2px var(--accent);
}
.prov-cell img { max-height: 36px; width: auto; max-width: 80%; }

/* ============================================================
   LOTTO RESULT CARDS (for /games/Lottery)
   ============================================================ */
.lotto-tabs {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin-bottom: 16px;
}
.lotto-grid-results {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 24px;
}
.lotto-result-card {
  padding: 18px;
  background: var(--bg-1);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-card);
  display: flex; flex-direction: column; gap: 10px;
}
.lotto-result-name {
  font-family: var(--font-display); font-weight: 700;
  font-size: 14px; letter-spacing: -0.01em;
}
.lotto-result-round {
  font-family: var(--font-mono); font-size: 10px;
  color: var(--ink-3); letter-spacing: .08em;
}
.lotto-result-date {
  font-family: var(--font-mono); font-size: 11px;
  color: var(--ink-3);
  padding: 6px 0;
  border-top: 1px dashed var(--line);
  border-bottom: 1px dashed var(--line);
}
.lotto-ball-row {
  display: flex; gap: 6px; justify-content: center;
  padding: 12px 0; border-radius: var(--r-md);
  background: var(--bg-2);
  box-shadow: 0 2px 4px rgba(0,0,0,.08) inset;
}
.lotto-ball {
  width: 36px; height: 36px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: radial-gradient(circle at 32% 28%, #fff 0%, var(--accent) 60%, color-mix(in srgb, var(--accent) 60%, #000) 100%);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 800; font-size: 18px;
  text-shadow: 0 1px 2px rgba(0,0,0,.4);
  box-shadow:
    0 -2px 4px rgba(0,0,0,.25) inset,
    0 6px 10px -2px rgba(0,0,0,.30),
    0 0 0 1.5px rgba(255,255,255,.5) inset;
}
/* Use existing v3 ball graphics if loaded */
.lotto-ball-x { background-image: url(/v3/img/x.webp); background-size: contain; background-position: 50%; background-repeat: no-repeat; color: transparent; box-shadow: none; background-color: transparent; }
.lotto-ball-0 { background-image: url(/v3/img/0.webp); background-size: contain; background-position: 50%; background-repeat: no-repeat; color: transparent; box-shadow: none; background-color: transparent; }
.lotto-ball-1 { background-image: url(/v3/img/1.webp); background-size: contain; background-position: 50%; background-repeat: no-repeat; color: transparent; box-shadow: none; background-color: transparent; }
.lotto-ball-2 { background-image: url(/v3/img/2.webp); background-size: contain; background-position: 50%; background-repeat: no-repeat; color: transparent; box-shadow: none; background-color: transparent; }
.lotto-ball-3 { background-image: url(/v3/img/3.webp); background-size: contain; background-position: 50%; background-repeat: no-repeat; color: transparent; box-shadow: none; background-color: transparent; }
.lotto-ball-4 { background-image: url(/v3/img/4.webp); background-size: contain; background-position: 50%; background-repeat: no-repeat; color: transparent; box-shadow: none; background-color: transparent; }
.lotto-ball-5 { background-image: url(/v3/img/5.webp); background-size: contain; background-position: 50%; background-repeat: no-repeat; color: transparent; box-shadow: none; background-color: transparent; }
.lotto-ball-6 { background-image: url(/v3/img/6.webp); background-size: contain; background-position: 50%; background-repeat: no-repeat; color: transparent; box-shadow: none; background-color: transparent; }
.lotto-ball-7 { background-image: url(/v3/img/7.webp); background-size: contain; background-position: 50%; background-repeat: no-repeat; color: transparent; box-shadow: none; background-color: transparent; }
.lotto-ball-8 { background-image: url(/v3/img/8.webp); background-size: contain; background-position: 50%; background-repeat: no-repeat; color: transparent; box-shadow: none; background-color: transparent; }
.lotto-ball-9 { background-image: url(/v3/img/9.webp); background-size: contain; background-position: 50%; background-repeat: no-repeat; color: transparent; box-shadow: none; background-color: transparent; }

.lotto-launch { margin-top: auto; }
.lotto-status {
  font-size: 10px; font-weight: 700; padding: 3px 10px; border-radius: 999px;
  text-transform: uppercase; letter-spacing: .05em;
  display: inline-flex; align-items: center; gap: 6px;
}
.lotto-status.open  { background: color-mix(in srgb, var(--good) 18%, var(--bg-1)); color: var(--good); }
.lotto-status.closed { background: color-mix(in srgb, var(--bad) 18%, var(--bg-1)); color: var(--bad); }

/* ============================================================
   HERO CAROUSEL
   ============================================================ */
.hero-carousel {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  background: var(--bg-1);
  /* Match the banner image aspect (uploaded at 1250×300 ≈ 25:6).
     Using aspect-ratio + width:100% means no horizontal cropping at any
     viewport — the container scales with the viewport while preserving
     the banner's native shape. Falls back to a fixed height on the mobile
     breakpoint below for browsers without aspect-ratio support. */
  width: 100%;
  aspect-ratio: 25 / 6;
  margin-bottom: 24px;
}
.hero-slide {
  position: absolute; inset: 0;
  opacity: 0;
  transition: opacity .6s ease;
}
.hero-slide.active { opacity: 1; }
.hero-slide img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.hero-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 40px; height: 40px;
  border: 0; cursor: pointer;
  border-radius: 50%;
  background: rgba(255,255,255,.85);
  color: var(--ink);
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; font-weight: 700;
  box-shadow: 0 0 0 1.5px var(--line), 0 6px 14px -2px rgba(0,0,0,.18);
}
.hero-arrow:hover { background: #fff; }
.hero-prev { left: 16px; }
.hero-next { right: 16px; }
.hero-dots {
  position: absolute; bottom: 16px; left: 50%; transform: translateX(-50%);
  display: flex; gap: 8px;
  z-index: 2;
}
.hero-dot {
  width: 10px; height: 10px;
  padding: 14px 0;
  border: 0; cursor: pointer;
  background-clip: content-box;
  background-color: rgba(255,255,255,.45);
  border-radius: 999px;
  box-sizing: content-box;
  transition: width .25s, background-color .25s;
}
.hero-dot.active {
  width: 32px;
  background-color: #fff;
}

/* ============================================================
   LIVE TICKER (transaction marquee strip)
   ============================================================ */
.live-ticker {
  margin: 24px auto 0;
  background: var(--bg-1);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  display: flex; align-items: stretch;
}
.live-ticker .lead {
  padding: 12px 18px;
  background: var(--ink);
  color: var(--bg-1);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
  display: flex; align-items: center; gap: 8px;
  border-radius: var(--r-lg) 0 0 var(--r-lg);
  flex-shrink: 0;
}
.live-ticker .lead .live-dot { background: var(--bad); }
.live-ticker .body {
  overflow: hidden; flex: 1;
  padding: 8px 0;
  white-space: nowrap;
}
.ticker-item {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 6px 14px; margin-right: 10px;
  border-radius: 999px;
  background: var(--bg-1);
  box-shadow: 0 0 0 1px var(--line);
  font-size: 12px; font-weight: 500; color: var(--ink-2);
}
.ticker-item .kind {
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-weight: 700;
}
.ticker-item .kind.dep { color: var(--good); }
.ticker-item .kind.wd { color: var(--accent-deep); }
.ticker-item .kind-dot {
  width: 6px; height: 6px; border-radius: 50%;
}
.ticker-item .kind-dot.dep { background: var(--good); }
.ticker-item .kind-dot.wd { background: var(--accent); }
.ticker-item .num { font-weight: 700; color: var(--ink); }

/* ============================================================
   MOBILE LAYOUT
   ============================================================ */
.mob-hdr {
  position: sticky; top: 0; z-index: 50;
  height: 56px;
  display: flex; align-items: center;
  padding: 0 14px;
  background: color-mix(in srgb, var(--bg-1) 92%, transparent);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  box-shadow: 0 1px 0 rgba(0,0,0,.04), 0 4px 12px -4px rgba(0,0,0,.10);
  gap: 8px;
}
.mob-hdr .wordmark img { max-height: 28px; }
.mob-hdr .lock-up { width: 48px; height: 30px; font-size: 15px; }

/* Mobile category nav strip — wrap 4-col grid (matches v6 final approach) */
.mob-cat-nav {
  position: sticky;
  top: 56px; z-index: 49;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
  background: color-mix(in srgb, var(--bg-1) 88%, transparent);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
  padding: 6px 12px;
}
.mob-cat-link {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font-body);
  font-size: 10px; font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink-2);
  text-decoration: none;
  padding: 7px 4px;
  border-radius: var(--r-pill);
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  background: transparent;
  border: 1px solid transparent;
  cursor: pointer;
}
.mob-cat-link:hover { color: var(--ink); }
.mob-cat-link.active {
  color: #fff;
  background: linear-gradient(180deg, var(--ink), color-mix(in srgb, var(--ink) 80%, #000));
  border-color: var(--ink);
}
@media (max-width: 360px) {
  .mob-cat-nav { grid-template-columns: repeat(3, 1fr); }
}

/* Mobile bottom navbar (5 tabs with center FAB) */
.mob-tabbar {
  position: fixed;
  left: 12px; right: 12px; bottom: 12px;
  z-index: 60;
  background: var(--bg-1);
  border-radius: var(--r-pill);
  box-shadow: var(--shadow-card);
  padding: 8px;
  display: none;
  grid-template-columns: 1fr 1fr 90px 1fr 1fr;
  align-items: center;
}
body.is-mobile .mob-tabbar { display: grid; }
body.is-mobile { padding-bottom: 100px; }
.mob-tab {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 2px;
  font-size: 9px; font-weight: 600; letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--ink-2);
  text-decoration: none;
  padding: 4px 0;
  background: transparent; border: 0;
  cursor: pointer;
}
.mob-tab svg, .mob-tab .icon { font-size: 18px; line-height: 1; }
.mob-tab.center {
  position: relative;
  height: 100%;
}
.mob-tab.center .center-btn {
  position: absolute;
  left: 50%; top: -16px;
  transform: translateX(-50%);
  width: 64px; height: 64px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background:
    radial-gradient(120% 150% at 50% -30%, var(--gloss-light) 0%, transparent 45%),
    linear-gradient(180deg, var(--accent-2) 0%, var(--accent) 50%, var(--accent-deep) 100%);
  color: #fff;
  font-family: var(--font-display); font-weight: 800; font-size: 22px;
  box-shadow: var(--shadow-jelly);
}
.mob-tab.center .center-btn::after {
  content: ""; position: absolute; inset: 6px 12px auto 12px; height: 30%;
  border-radius: var(--r-pill);
  background: linear-gradient(180deg, rgba(255,255,255,0.65), rgba(255,255,255,0));
  pointer-events: none;
}
.mob-tab.center .center-label {
  position: absolute; bottom: 8px;
  font-size: 9px; color: var(--ink-2);
  letter-spacing: .05em;
}
.mob-tab.active { color: var(--accent-deep); }

/* ============================================================
   DASHBOARD HERO GRID (balance + promo) — desktop 1.4fr 1fr,
   mobile 1 col so the cards don't crush each other.
   ============================================================ */
.dashboard-hero-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 20px;
}
.dashboard-activity-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
/* Saldo Utama / Bonus Aktif duo inside the welcome card.
   Two columns on desktop; collapses to a single column on mobile so the
   Bonus column doesn't get crushed beside the larger Saldo number. */
.balance-bonus-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 24px;
}
@media (max-width: 720px) {
  .dashboard-hero-grid,
  .dashboard-activity-grid { grid-template-columns: 1fr; }
  .balance-bonus-grid { grid-template-columns: 1fr; gap: 14px; margin-top: 18px; }
}

/* ============================================================
   RESPONSIVE / MOBILE OVERRIDES
   ============================================================ */
@media (max-width: 1024px) {
  .cat-grid { grid-template-columns: repeat(4, 1fr); }
  .game-grid, .grid-tiles { grid-template-columns: repeat(4, 1fr); }
  .lotto-grid-results { grid-template-columns: repeat(2, 1fr); }
  .footer-cols { grid-template-columns: repeat(3, 1fr); }
  .prov-wall { grid-template-columns: repeat(6, 1fr); }
}
@media (max-width: 720px) {
  main[role="main"] { padding: 0 14px 100px; }
  .section-head { margin: 20px 0 12px; flex-direction: column; align-items: flex-start; }
  .section-head h1, .section-head h2 { font-size: 26px; }
  .cat-grid { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .cat-tile .cat-orb { width: 44px; height: 44px; }
  .game-grid, .grid-tiles { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .lotto-grid-results { grid-template-columns: 1fr 1fr; gap: 10px; }
  .lotto-result-card { padding: 14px; }
  .lotto-ball { width: 28px; height: 28px; font-size: 14px; }
  .footer-cols { grid-template-columns: 1fr 1fr; gap: 18px; }
  .prov-wall { grid-template-columns: repeat(4, 1fr); }
  .hero-carousel { margin: 0 0 16px; /* keep aspect-ratio from base rule */ }
  .hero-slide h1, .hero-slide h2 { font-size: 28px !important; }
  .marquee { margin: 0 14px 16px; }

  /* Hide desktop top nav, sticky header */
  .hdr { display: none; }
  .live-ticker .lead { padding: 8px 12px; font-size: 10px; }

  /* Profile + history page hero/section grids stack */
  .gtable { font-size: 12px; }
  .gtable th, .gtable td { padding: 10px 8px; }

  /* Big numbers shrink so 14-char balances fit on 360px */
  .balance-display, .num {
    word-break: keep-all;
    overflow-wrap: normal;
  }

  /* Profile split section: 1fr 2fr → single column */
  .profile-split { grid-template-columns: 1fr !important; }

  /* Register/referral-register/change-password forms: 2 cols → 1 col */
  .register-grid,
  form.gcard > div[style*="grid-template-columns:1fr 1fr"],
  form.gcard > div[style*="grid-template-columns: 1fr 1fr"] {
    grid-template-columns: 1fr !important;
  }

  /* Footer payment row scales nicely */
  .payment-row img { height: 18px; }
}
@media (max-width: 360px) {
  .lotto-grid-results { grid-template-columns: 1fr; }
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .prov-wall { grid-template-columns: repeat(3, 1fr); }
  /* Mobile bottom navbar — slightly tighter so 5-tab bar fits 360px viewport. */
  .mob-tabbar { left: 8px; right: 8px; padding: 6px; grid-template-columns: 1fr 1fr 76px 1fr 1fr; }
  .mob-tab.center .center-btn { width: 56px; height: 56px; font-size: 20px; }
}

/* RTP mini bar — slots-only fill bar with tier-coloured fill behind the % text. */
.rtp-mini {
  position: relative;
  display: inline-flex;
  align-items: center;
  vertical-align: middle;
  width: 78px;
  height: 18px;
  border-radius: 4px;
  overflow: hidden;
  background: rgba(255,255,255,0.92);
  border: 1px solid rgba(0,0,0,0.08);
  font-size: 10px;
  font-weight: 600;
  color: var(--ink, #0b0b0c);
  letter-spacing: 0.02em;
  padding: 0;
}
.rtp-mini-fill {
  position: absolute;
  top: 0; bottom: 0; left: 0;
  z-index: 0;
  transition: width .25s ease;
}
.rtp-mini--bad  .rtp-mini-fill { background: rgba(239,68,68,0.5); }
.rtp-mini--warn .rtp-mini-fill { background: rgba(234,179,8,0.55); }
.rtp-mini--good .rtp-mini-fill { background: color-mix(in srgb, var(--good, #22c55e) 55%, transparent); }
.rtp-mini-text {
  position: relative;
  z-index: 1;
  padding: 0 6px;
  white-space: nowrap;
}
@media (max-width: 600px) {
  .rtp-mini { width: 52px; height: 16px; font-size: 9px; }
  .rtp-mini-text { padding: 0 4px; }
}
