:root {
  --line: #ffe08a;
  --line-dim: rgba(255, 224, 138, 0.85);
  --gold: #e0b93c;
  --gold-2: #b8891f;
  --gold-bar: linear-gradient(180deg, #f6d860 0%, #d4a017 45%, #a6790c 100%);
  --nav-text: #1a1200;
  --nav-edge: #7a5a00;
  --neon: 0 0 4px rgba(255, 224, 138, 0.5), 0 0 9px rgba(224, 185, 60, 0.25);
  --text: #f5f5f5;
  --muted: #b8b8b8;
  --container: 1100px;
  --theme-browser: #e0b93c;
  --btn-on-accent: #0a0a0a;
  --btn-on-surface: var(--text);
}

[data-theme="gold"] {
  --line: #ffe08a;
  --line-dim: rgba(255, 224, 138, 0.85);
  --gold: #e0b93c;
  --gold-2: #b8891f;
  --gold-bar: linear-gradient(180deg, #f6d860 0%, #d4a017 45%, #a6790c 100%);
  --nav-text: #1a1200;
  --nav-edge: #7a5a00;
  --neon: 0 0 4px rgba(255, 224, 138, 0.5), 0 0 9px rgba(224, 185, 60, 0.25);
  --theme-browser: #e0b93c;
  --btn-on-accent: #0a0a0a;
}

[data-theme="emerald"] {
  --line: #9cffd8;
  --line-dim: rgba(156, 255, 216, 0.85);
  --gold: #3dffb0;
  --gold-2: #1fa86e;
  --gold-bar: linear-gradient(180deg, #5dffc0 0%, #1fa86e 45%, #0d6b45 100%);
  --nav-text: #041a10;
  --nav-edge: #0a4d32;
  --neon: 0 0 4px rgba(156, 255, 216, 0.5), 0 0 9px rgba(61, 255, 176, 0.25);
  --theme-browser: #1fa86e;
  --btn-on-accent: #0a0a0a;
}

[data-theme="crimson"] {
  --line: #ffb0b8;
  --line-dim: rgba(255, 176, 184, 0.85);
  --gold: #ff6b78;
  --gold-2: #b8323f;
  --gold-bar: linear-gradient(180deg, #ff8a95 0%, #e24b5a 45%, #8f1f2c 100%);
  --nav-text: #1a0608;
  --nav-edge: #7a1822;
  --neon: 0 0 4px rgba(255, 176, 184, 0.5), 0 0 9px rgba(255, 107, 120, 0.25);
  --theme-browser: #e24b5a;
  --btn-on-accent: #0a0a0a;
}

[data-theme="sapphire"] {
  --line: #b8d0ff;
  --line-dim: rgba(184, 208, 255, 0.85);
  --gold: #6ea0ff;
  --gold-2: #2a58c8;
  --gold-bar: linear-gradient(180deg, #8eb6ff 0%, #3d7eff 45%, #1e3f9a 100%);
  --nav-text: #061024;
  --nav-edge: #16306e;
  --neon: 0 0 4px rgba(184, 208, 255, 0.5), 0 0 9px rgba(110, 160, 255, 0.25);
  --theme-browser: #3d7eff;
  --btn-on-accent: #0a0a0a;
}

[data-theme="violet"] {
  --line: #e4c4ff;
  --line-dim: rgba(228, 196, 255, 0.85);
  --gold: #c084fc;
  --gold-2: #7e22ce;
  --gold-bar: linear-gradient(180deg, #d8a8ff 0%, #a855f7 45%, #5b21b6 100%);
  --nav-text: #14061f;
  --nav-edge: #4c1d95;
  --neon: 0 0 4px rgba(228, 196, 255, 0.5), 0 0 9px rgba(192, 132, 252, 0.25);
  --theme-browser: #a855f7;
  --btn-on-accent: #0a0a0a;
}

[data-theme="cyan"] {
  --line: #b8f7ff;
  --line-dim: rgba(184, 247, 255, 0.85);
  --gold: #67e8f9;
  --gold-2: #0891b2;
  --gold-bar: linear-gradient(180deg, #99f0fb 0%, #22d3ee 45%, #0e7490 100%);
  --nav-text: #042026;
  --nav-edge: #155e75;
  --neon: 0 0 4px rgba(184, 247, 255, 0.5), 0 0 9px rgba(103, 232, 249, 0.25);
  --theme-browser: #22d3ee;
  --btn-on-accent: #0a0a0a;
}

[data-theme="orange"] {
  --line: #ffe0a3;
  --line-dim: rgba(255, 224, 163, 0.85);
  --gold: #fbbf24;
  --gold-2: #d97706;
  --gold-bar: linear-gradient(180deg, #fcd34d 0%, #f59e0b 45%, #b45309 100%);
  --nav-text: #1a1004;
  --nav-edge: #92400e;
  --neon: 0 0 4px rgba(255, 224, 163, 0.5), 0 0 9px rgba(251, 191, 36, 0.25);
  --theme-browser: #f59e0b;
  --btn-on-accent: #0a0a0a;
}

[data-theme="obsidian"] {
  --line: #8a8a8a;
  --line-dim: rgba(160, 160, 160, 0.75);
  --gold: #d0d0d0;
  --gold-2: #6e6e6e;
  --gold-bar: linear-gradient(180deg, #efefef 0%, #9c9c9c 45%, #3f3f3f 100%);
  --nav-text: #111111;
  --nav-edge: #2a2a2a;
  --neon: 0 0 4px rgba(200, 200, 200, 0.35), 0 0 9px rgba(120, 120, 120, 0.2);
  --theme-browser: #6e6e6e;
  --btn-on-accent: #0a0a0a;
}

[data-theme="graphite"] {
  --line: #7d8794;
  --line-dim: rgba(125, 135, 148, 0.8);
  --gold: #aeb8c4;
  --gold-2: #4b5563;
  --gold-bar: linear-gradient(180deg, #d1d5db 0%, #6b7280 45%, #1f2937 100%);
  --nav-text: #0f172a;
  --nav-edge: #111827;
  --neon: 0 0 4px rgba(148, 163, 184, 0.4), 0 0 9px rgba(75, 85, 99, 0.25);
  --theme-browser: #4b5563;
  --btn-on-accent: #0a0a0a;
}

[data-theme="onyx"] {
  --line: #5c5c5c;
  --line-dim: rgba(92, 92, 92, 0.85);
  --gold: #9a9a9a;
  --gold-2: #2b2b2b;
  --gold-bar: linear-gradient(180deg, #bdbdbd 0%, #616161 45%, #121212 100%);
  --nav-text: #f5f5f5;
  --nav-edge: #000;
  --neon: 0 0 4px rgba(90, 90, 90, 0.45), 0 0 9px rgba(20, 20, 20, 0.35);
  --theme-browser: #2b2b2b;
  --btn-on-accent: #0a0a0a;
}

[data-theme="iron"] {
  --line: #8b7355;
  --line-dim: rgba(139, 115, 85, 0.8);
  --gold: #b08968;
  --gold-2: #5c4033;
  --gold-bar: linear-gradient(180deg, #c4a484 0%, #8b6914 40%, #3e2723 100%);
  --nav-text: #1a120c;
  --nav-edge: #2c1810;
  --neon: 0 0 4px rgba(176, 137, 104, 0.4), 0 0 9px rgba(92, 64, 51, 0.25);
  --theme-browser: #5c4033;
  --btn-on-accent: #0a0a0a;
}

[data-theme="blood"] {
  --line: #7f1d1d;
  --line-dim: rgba(127, 29, 29, 0.85);
  --gold: #b91c1c;
  --gold-2: #450a0a;
  --gold-bar: linear-gradient(180deg, #dc2626 0%, #7f1d1d 45%, #1c0505 100%);
  --nav-text: #fff5f5;
  --nav-edge: #1a0000;
  --neon: 0 0 4px rgba(185, 28, 28, 0.45), 0 0 9px rgba(69, 10, 10, 0.3);
  --theme-browser: #7f1d1d;
  --btn-on-accent: #ffffff;
}

[data-theme="abyss"] {
  --line: #1e3a5f;
  --line-dim: rgba(30, 58, 95, 0.85);
  --gold: #3b82f6;
  --gold-2: #0b1f3a;
  --gold-bar: linear-gradient(180deg, #60a5fa 0%, #1e40af 45%, #020617 100%);
  --nav-text: #e8f1ff;
  --nav-edge: #020617;
  --neon: 0 0 4px rgba(59, 130, 246, 0.4), 0 0 9px rgba(11, 31, 58, 0.3);
  --theme-browser: #1e3a5f;
  --btn-on-accent: #0a0a0a;
}

[data-theme="poison"] {
  --line: #14532d;
  --line-dim: rgba(20, 83, 45, 0.85);
  --gold: #22c55e;
  --gold-2: #052e16;
  --gold-bar: linear-gradient(180deg, #4ade80 0%, #166534 45%, #02140a 100%);
  --nav-text: #ecfdf5;
  --nav-edge: #02140a;
  --neon: 0 0 4px rgba(34, 197, 94, 0.4), 0 0 9px rgba(5, 46, 22, 0.3);
  --theme-browser: #14532d;
  --btn-on-accent: #0a0a0a;
}

[data-theme="royal"] {
  --line: #4c1d95;
  --line-dim: rgba(76, 29, 149, 0.85);
  --gold: #7c3aed;
  --gold-2: #2e1065;
  --gold-bar: linear-gradient(180deg, #a78bfa 0%, #6d28d9 45%, #1e0b3d 100%);
  --nav-text: #f5f3ff;
  --nav-edge: #1e0b3d;
  --neon: 0 0 4px rgba(124, 58, 237, 0.4), 0 0 9px rgba(46, 16, 101, 0.3);
  --theme-browser: #4c1d95;
  --btn-on-accent: #0a0a0a;
}

:root,
[data-bg="dark"] {
  --bg: #050505;
  --panel: #0d0d0d;
  --header-top: #111;
  --header-bottom: #070707;
  --text: #f5f5f5;
  --muted: #b8b8b8;
}

[data-bg="charcoal"] {
  --bg: #141414;
  --panel: #1c1c1c;
  --header-top: #222;
  --header-bottom: #121212;
  --text: #f5f5f5;
  --muted: #b8b8b8;
}

[data-bg="navy"] {
  --bg: #0a1628;
  --panel: #102038;
  --header-top: #132744;
  --header-bottom: #0b1524;
  --text: #f5f5f5;
  --muted: #b8b8b8;
}

[data-bg="forest"] {
  --bg: #07140f;
  --panel: #0d1f18;
  --header-top: #123028;
  --header-bottom: #081510;
  --text: #f5f5f5;
  --muted: #b8b8b8;
}

[data-bg="wine"] {
  --bg: #1a0a0e;
  --panel: #261017;
  --header-top: #341820;
  --header-bottom: #16080c;
  --text: #f5f5f5;
  --muted: #b8b8b8;
}

[data-bg="midnight"] {
  --bg: #12081f;
  --panel: #1b1030;
  --header-top: #261848;
  --header-bottom: #10071c;
  --text: #f5f5f5;
  --muted: #b8b8b8;
}

[data-bg="slate"] {
  --bg: #12161c;
  --panel: #1a2028;
  --header-top: #232a34;
  --header-bottom: #10141a;
  --text: #f5f5f5;
  --muted: #b8b8b8;
}

[data-bg="pearl"] {
  --bg: #f7f4ef;
  --panel: #ffffff;
  --header-top: #fffdf9;
  --header-bottom: #efe8de;
  --text: #1c1917;
  --muted: #78716c;
}

[data-bg="ivory"] {
  --bg: #fffcf5;
  --panel: #ffffff;
  --header-top: #fffef9;
  --header-bottom: #f5ecd8;
  --text: #1c1917;
  --muted: #78716c;
}

[data-bg="snow"] {
  --bg: #f8fafc;
  --panel: #ffffff;
  --header-top: #ffffff;
  --header-bottom: #e2e8f0;
  --text: #0f172a;
  --muted: #64748b;
}

[data-bg="mist"] {
  --bg: #eef2ff;
  --panel: #ffffff;
  --header-top: #f8fafc;
  --header-bottom: #e0e7ff;
  --text: #1e1b4b;
  --muted: #64748b;
}

[data-bg="sand"] {
  --bg: #faf6ef;
  --panel: #fffdf8;
  --header-top: #fffaf0;
  --header-bottom: #f0e2c8;
  --text: #292524;
  --muted: #78716c;
}

[data-bg="sky"] {
  --bg: #eff6ff;
  --panel: #ffffff;
  --header-top: #f8fbff;
  --header-bottom: #dbeafe;
  --text: #0c4a6e;
  --muted: #64748b;
}

[data-bg="blush"] {
  --bg: #fff1f2;
  --panel: #ffffff;
  --header-top: #fff7f8;
  --header-bottom: #fecdd3;
  --text: #4c0519;
  --muted: #78716c;
}

[data-bg="mint"] {
  --bg: #ecfdf5;
  --panel: #ffffff;
  --header-top: #f0fdf4;
  --header-bottom: #bbf7d0;
  --text: #052e16;
  --muted: #64748b;
}

:root,
[data-font="cyber"] {
  --font-display: "Orbitron", sans-serif;
  --font-body: "Rajdhani", sans-serif;
}

[data-font="neon"] {
  --font-display: "Audiowide", sans-serif;
  --font-body: "Exo 2", sans-serif;
}

[data-font="racing"] {
  --font-display: "Russo One", sans-serif;
  --font-body: "Titillium Web", sans-serif;
}

[data-font="arcade"] {
  --font-display: "Press Start 2P", system-ui, sans-serif;
  --font-body: "Share Tech Mono", monospace;
}

[data-font="street"] {
  --font-display: "Bebas Neue", sans-serif;
  --font-body: "Barlow Condensed", sans-serif;
}

[data-font="esports"] {
  --font-display: "Black Ops One", sans-serif;
  --font-body: "Roboto Condensed", sans-serif;
}

[data-font="sport"] {
  --font-display: "Teko", sans-serif;
  --font-body: "Montserrat", sans-serif;
}

[data-font="mega"] {
  --font-display: "Bungee", sans-serif;
  --font-body: "Raleway", sans-serif;
}

[data-font="blade"] {
  --font-display: "Saira Stencil One", sans-serif;
  --font-body: "Saira", sans-serif;
}

[data-font="pulse"] {
  --font-display: "Quantico", sans-serif;
  --font-body: "Chakra Petch", sans-serif;
}

[data-font="ice"] {
  --font-display: "Michroma", sans-serif;
  --font-body: "Space Grotesk", sans-serif;
}

[data-font="thunder"] {
  --font-display: "Righteous", sans-serif;
  --font-body: "Rubik", sans-serif;
}

[data-font="luxury"] {
  --font-display: "Cinzel", serif;
  --font-body: "Cormorant Garamond", serif;
}

[data-font="bold"] {
  --font-display: "Anton", sans-serif;
  --font-body: "Oswald", sans-serif;
}

[data-font="soft"] {
  --font-display: "Comfortaa", sans-serif;
  --font-body: "Nunito", sans-serif;
}

[data-font="classic"] {
  --font-display: "Playfair Display", serif;
  --font-body: "Source Sans 3", sans-serif;
}

[data-font="comic"] {
  --font-display: "Bangers", cursive;
  --font-body: "Nunito", sans-serif;
}

[data-font="mono"] {
  --font-display: "JetBrains Mono", monospace;
  --font-body: "IBM Plex Sans", sans-serif;
}

[data-font="futurist"] {
  --font-display: "Syncopate", sans-serif;
  --font-body: "Oxanium", sans-serif;
}

[data-font="tech"] {
  --font-display: "Orbitron", sans-serif;
  --font-body: "Oxanium", sans-serif;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
}

a { color: inherit; text-decoration: none; }

.tpl-body { padding-bottom: 40px; }

.tpl-menu-toggle,
.tpl-auth-mobile,
.tpl-bottom-nav {
  display: none;
}

.tpl-mobile-menu {
  list-style: none;
  margin: 0;
  padding: 0;
}

.tpl-mobile-menu a {
  display: block;
  padding: 14px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  color: #fff;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.tpl-mobile-menu a:hover,
.tpl-mobile-menu a:focus {
  color: var(--gold);
  background: rgba(255, 255, 255, 0.03);
}

.tpl-shell,
.tpl-header-inner {
  width: min(100% - 1rem, var(--container));
  margin-left: auto;
  margin-right: auto;
  max-width: var(--container);
}

.tpl-shell {
  margin-top: 0.75rem;
  margin-bottom: 1.2rem;
}

.tpl-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 8px;
  padding-bottom: 8px;
  min-height: 72px;
}

.tpl-nav .tpl-header-inner {
  display: block;
  min-height: 0;
  padding-top: 0;
  padding-bottom: 0;
  padding-left: 0;
  padding-right: 0;
  width: min(100% - 1rem, var(--container));
  max-width: var(--container);
  container-type: inline-size;
  container-name: nav;
}

.tpl-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: linear-gradient(180deg, var(--header-top, #111) 0%, var(--header-bottom, #070707) 100%);
  border-bottom: 1px solid var(--line-dim);
}

.tpl-logo {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.35rem, 3.4vw, 1.85rem);
  letter-spacing: 0.08em;
  color: var(--gold);
  border: 2px solid var(--line);
  padding: 6px 12px;
  box-shadow: var(--neon), inset 0 0 18px color-mix(in srgb, var(--gold) 20%, transparent);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 64px;
  max-width: min(420px, 58vw);
}

.tpl-logo.has-logo {
  border: 0;
  padding: 0;
  box-shadow: none;
  background: transparent;
  min-height: 0;
  max-width: min(520px, 62vw);
}

.tpl-logo-img {
  height: 64px;
  width: auto;
  max-width: 320px;
  object-fit: contain;
  display: block;
  background: transparent;
}

.tpl-logo.has-logo .tpl-logo-img {
  height: 86px;
  max-width: 420px;
}

.tpl-logo-text {
  line-height: 1.1;
}

.tpl-jackpot {
  margin: 0.55rem 0 0;
  padding: 0;
  background: transparent;
}

.tpl-jackpot-wrap {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 1024 / 139;
  border: 2px solid var(--line);
  overflow: hidden;
  background: #06060a;
  line-height: 0;
  border-radius: 18px;
  box-shadow: none;
  container-type: inline-size;
  container-name: jackpot;
}

.tpl-jackpot-img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: 16px;
  background: #06060a;
  transform: scale(1.02);
  transform-origin: center;
}

.tpl-jackpot-amount {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  margin: 0;
  padding: 0.12em 0.2em;
  width: 44%;
  max-width: 380px;
  max-height: 58%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(0.72rem, 3.6cqw, 1.55rem);
  letter-spacing: 0.02em;
  line-height: 1;
  color: #fff8d6;
  text-shadow: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: clip;
  pointer-events: none;
  font-variant-numeric: tabular-nums;
  -webkit-text-stroke: 0;
  border-radius: 0;
  background: transparent;
}

.tpl-qr-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #fff;
  display: block;
}

.tpl-qr-frame {
  position: relative;
  display: grid;
  place-items: center;
  width: 140px;
  height: 140px;
  margin: 8px auto;
  background: #0a0a0a;
  border: 1px solid rgba(212, 175, 55, 0.45);
  overflow: hidden;
}

.tpl-qr-frame--lg {
  width: 180px;
  height: 180px;
}

.tpl-qr-empty {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: #777;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background:
    repeating-linear-gradient(
      -45deg,
      #141414,
      #141414 8px,
      #1c1c1c 8px,
      #1c1c1c 16px
    );
}

.tpl-qr-empty[hidden] {
  display: none;
}

.tpl-review h2,
.tpl-faq-wrap h2 {
  color: var(--gold);
  font-family: var(--font-display);
  font-size: 1.1rem;
}

.tpl-faq-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 12px;
}

.tpl-faq-item {
  margin: 0;
  border: 1px solid var(--line-dim);
  background: rgba(255, 255, 255, 0.02);
  box-sizing: border-box;
}

.tpl-faq-q {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 13px 14px;
  color: var(--text);
  font-weight: 600;
  font-size: 0.98rem;
  line-height: 1.45;
  user-select: none;
}

.tpl-faq-q::-webkit-details-marker {
  display: none;
}

.tpl-faq-q::before {
  content: "";
  flex: 0 0 auto;
  width: 0;
  height: 0;
  margin-top: 0.45em;
  border-style: solid;
  border-width: 5px 0 5px 7px;
  border-color: transparent transparent transparent #fff;
  transition: transform 0.15s ease;
}

.tpl-faq-item[open] > .tpl-faq-q::before {
  transform: rotate(90deg);
}

.tpl-faq-a {
  padding: 0 14px 14px 31px;
}

.tpl-faq-a p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
  font-size: 0.98rem;
}

.tpl-review-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin-top: 12px;
}

.tpl-review-item {
  margin: 0;
  padding: 16px 16px 14px;
  border: 1px solid var(--line-dim);
  background: rgba(255, 255, 255, 0.02);
  box-sizing: border-box;
}

.tpl-review-item h3 {
  margin: 0 0 6px;
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--text);
  line-height: 1.35;
}

.tpl-review-author {
  margin: 0 0 10px !important;
  font-size: 0.88rem !important;
  color: var(--gold) !important;
  opacity: 0.9;
}

.tpl-review-item p:last-child {
  margin-bottom: 0;
}

.tpl-review-item--featured {
  padding: 18px 18px 16px;
}

.tpl-review-item--featured h3 {
  font-size: 1.15rem;
  color: var(--gold);
}

@media (min-width: 768px) {
  .tpl-review-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
  }

  .tpl-review-item--featured,
  .tpl-review-item:first-child {
    grid-column: 1 / -1;
  }
}

.tpl-header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.tpl-link-ghost {
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--text);
  border: 2px solid var(--line);
  padding: 0 14px;
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  box-shadow: var(--neon);
}

.tpl-btn-gold {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 16px;
  border: 2px solid var(--line);
  color: var(--btn-on-accent);
  font-weight: 700;
  letter-spacing: 0.05em;
  background: var(--gold-bar);
  box-shadow: var(--neon);
}

.tpl-btn-lg {
  min-height: 46px;
  padding: 0 22px;
  font-size: 1.05rem;
}

.tpl-contact {
  font-size: 0.85rem;
  color: var(--muted);
  width: auto;
  text-align: right;
  white-space: nowrap;
}

.tpl-nav {
  background: var(--gold-bar);
  border-top: 1px solid var(--nav-edge);
  border-bottom: 1px solid var(--nav-edge);
  box-shadow: var(--neon);
}

.tpl-nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: nowrap;
  justify-content: space-between;
  align-items: stretch;
  gap: 0;
  width: 100%;
  overflow-x: auto;
  scrollbar-width: none;
}

.tpl-nav-list::-webkit-scrollbar { display: none; }

.tpl-nav-list > li {
  flex: 1 1 0;
  min-width: 0;
  text-align: center;
}

.tpl-nav-list a {
  display: block;
  padding: 0.72rem 0.15rem;
  white-space: nowrap;
  font-weight: 800;
  letter-spacing: 0.015em;
  text-transform: uppercase;
  color: var(--nav-text);
  font-size: clamp(0.58rem, 1.1cqw + 0.4rem, 0.78rem);
  overflow: hidden;
  text-overflow: ellipsis;
}

.tpl-nav-list a.active,
.tpl-nav-list a:hover {
  color: var(--nav-text);
  background: color-mix(in srgb, #000 16%, transparent);
}

.tpl-marquee {
  overflow: hidden;
  background: linear-gradient(180deg, var(--header-top, #111) 0%, var(--bg, #050505) 100%);
  border-bottom: 1px solid color-mix(in srgb, var(--gold) 28%, var(--nav-edge));
  display: flex;
  justify-content: center;
}

.tpl-marquee-inner {
  width: min(100% - 1rem, var(--container));
  max-width: var(--container);
  overflow: hidden;
  height: 34px;
  display: flex;
  align-items: center;
}

.tpl-marquee-track {
  display: flex;
  gap: 2rem;
  width: max-content;
  animation: marquee 18s linear infinite;
  color: var(--gold-2);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.tpl-marquee:hover .tpl-marquee-track {
  animation-play-state: paused;
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.tpl-hero {
  position: relative;
  overflow: hidden;
  border: 2px solid var(--line);
  background: #000;
  line-height: 0;
  box-shadow: var(--neon);
}

.tpl-hero-slide {
  aspect-ratio: 1920 / 613;
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  background-size: cover;
  background-position: center;
}

.tpl-hero-slide::before {
  display: none;
}

.tpl-hero-img {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
  display: block;
}

.tpl-hero-slide.has-image {
  min-height: 0;
  background-image: none !important;
}

.tpl-hero-a { background: radial-gradient(circle at 70% 40%, #5a4718, #120d05 55%), linear-gradient(135deg, #2a210f, #050505); }
.tpl-hero-b { background: radial-gradient(circle at 75% 30%, #1f4d3a, #07110c 55%), linear-gradient(135deg, #102820, #050505); }
.tpl-hero-c { background: radial-gradient(circle at 70% 35%, #3a1d55, #0c0712 55%), linear-gradient(135deg, #241433, #050505); }
.tpl-hero-d { background: radial-gradient(circle at 70% 35%, #554218, #120e05 55%), linear-gradient(135deg, #2a210f, #050505); }

.tpl-hero-kicker {
  margin: 0 0 8px;
  color: var(--gold);
  font-weight: 700;
  letter-spacing: 0.18em;
  font-size: 0.82rem;
}

.tpl-hero-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 5vw, 3rem);
  color: var(--gold);
  letter-spacing: 0.04em;
  text-shadow: 0 0 24px rgba(224, 185, 60, 0.25);
}

.tpl-hero-text {
  margin: 12px 0 22px;
  max-width: 38ch;
  color: #e8e8e8;
  font-size: 1.1rem;
}

.tpl-hero .carousel-indicators {
  margin-bottom: 0.55rem;
  gap: 6px;
}

.tpl-hero .carousel-indicators [data-bs-target] {
  width: 7px;
  height: 7px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background-color: color-mix(in srgb, var(--gold) 55%, #fff);
  opacity: 0.55;
  box-sizing: border-box;
  text-indent: -999px;
  overflow: hidden;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.tpl-hero .carousel-indicators .active {
  opacity: 1;
  background-color: var(--gold);
  transform: scale(1.15);
}

.tpl-steps {
  margin: 0.7rem 0 0;
  padding: 0;
  background: transparent;
  border-bottom: 0;
}

.tpl-lobby {
  margin: 0.65rem 0 0;
  padding: 0;
}

.tpl-step {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 54px;
  border: 2px solid var(--line);
  background: linear-gradient(180deg, var(--panel), var(--bg));
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--gold);
  box-shadow: var(--neon);
}

.tpl-step span {
  color: #fff;
  opacity: 0.7;
}

.tpl-lobby-tabs {
  display: flex;
  flex-wrap: nowrap;
  justify-content: space-between;
  align-items: stretch;
  gap: 0;
  width: 100%;
  overflow-x: auto;
  margin-bottom: 0.85rem;
  padding-bottom: 0;
  border-bottom: 1px solid #333;
  scrollbar-width: none;
  container-type: inline-size;
}

.tpl-lobby-tabs::-webkit-scrollbar { display: none; }

.tpl-lobby-tabs button {
  flex: 1 1 0;
  min-width: 0;
  border: 0;
  border-bottom: 2px solid transparent;
  background: transparent;
  color: #bbb;
  font-weight: 800;
  font-size: clamp(0.58rem, 1.05cqw + 0.4rem, 0.78rem);
  letter-spacing: 0.02em;
  padding: 0.5rem 0.15rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-align: center;
  cursor: pointer;
}

.tpl-lobby-tabs button.active,
.tpl-lobby-tabs button:hover {
  color: var(--gold);
  background: transparent;
  border-bottom: 2px solid var(--gold);
}

.tpl-provider {
  position: relative;
  display: block;
  overflow: hidden;
  border: 0;
  background: transparent;
  aspect-ratio: 2 / 1;
}

.tpl-provider img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
  transition: transform 0.35s ease;
}

.tpl-provider:hover img {
  transform: scale(1.04);
}

.tpl-provider::before {
  display: none;
}

.tpl-provider strong {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.tpl-provider span {
  display: none;
}

.tpl-provider-card[hidden] {
  display: none !important;
}

.tpl-providers {
  --bs-gutter-x: 0.65rem;
  --bs-gutter-y: 0.65rem;
}

.tpl-seo {
  padding: 36px 0 20px;
}

.tpl-seo > .container-xl,
.tpl-footer > .container-xl {
  width: min(100% - 1rem, var(--container));
  max-width: var(--container);
  margin-left: auto;
  margin-right: auto;
  padding-left: 0;
  padding-right: 0;
}

.tpl-article {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 28px clamp(14px, 2.2vw, 22px);
  border: 2px solid var(--line-dim);
  background: var(--panel);
  box-sizing: border-box;
}

.tpl-article h1 {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 3vw, 1.7rem);
  color: var(--gold);
  line-height: 1.35;
}

.tpl-article h2 {
  margin-top: 24px;
  font-size: 1.25rem;
  color: var(--text);
}

.tpl-article p {
  color: var(--muted);
  line-height: 1.7;
  font-size: 1.05rem;
}

.tpl-article ul,
.tpl-article ol {
  margin: 0.75rem 0 0.75rem 1.35rem;
  padding: 0;
  color: var(--muted);
  line-height: 1.7;
  font-size: 1.05rem;
}

.tpl-article li {
  margin: 0.35rem 0;
}

.tpl-article img,
.tpl-article .tpl-article-img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0.9rem 0;
  border: 1px solid var(--line-dim);
}

.tpl-article [style*="text-align: center"],
.tpl-article [style*="text-align:center"] {
  text-align: center;
}

.tpl-article [style*="text-align: right"],
.tpl-article [style*="text-align:right"] {
  text-align: right;
}

.tpl-article [style*="text-align: justify"],
.tpl-article [style*="text-align:justify"] {
  text-align: justify;
}

.tpl-faq .accordion-item {
  background: var(--panel);
  border: 1px solid var(--line-dim);
  color: var(--text);
}

.tpl-faq .accordion-button {
  background: #121212;
  color: #fff;
  font-weight: 700;
  box-shadow: none;
}

.tpl-faq .accordion-button:not(.collapsed) {
  background: #1a160c;
  color: var(--gold);
}

.tpl-faq .accordion-button::after {
  filter: invert(1);
}

.tpl-faq .accordion-body {
  background: #0d0d0d;
  color: var(--muted);
}

.tpl-footer {
  margin-top: 20px;
  padding: 36px 0 24px;
  border-top: 1px solid var(--line-dim);
  background: var(--bg);
}

.tpl-footer h3 {
  color: var(--gold);
  font-size: 1.05rem;
  letter-spacing: 0.05em;
}

.tpl-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.tpl-footer li { margin: 8px 0; }
.tpl-footer a { color: var(--muted); }
.tpl-footer a:hover { color: var(--gold); }
.tpl-footer p { color: var(--muted); }

.tpl-footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.tpl-footer-bottom {
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.tpl-footer-bottom p {
  max-width: 70ch;
}

.tpl-footer-bottom small {
  color: #777;
}

.tpl-rail {
  position: fixed;
  top: 38%;
  z-index: 9100;
  display: none;
  align-items: stretch;
  transform: translateY(-50%);
}

.tpl-rail[hidden],
[data-sosmed][hidden],
[data-barcode][hidden] {
  display: none !important;
}

@media (min-width: 992px) {
  .tpl-rail {
    display: flex;
  }

  .tpl-rail-left {
    left: 0;
    right: auto;
    transform: translateY(-50%);
  }

  .tpl-rail-right {
    left: auto;
    right: 0;
    transform: translateY(-50%);
  }
}

.tpl-rail-panel {
  display: flex;
  flex-direction: column;
  gap: 0.42rem;
  padding: 0.55rem 0.42rem;
  background: linear-gradient(180deg, var(--header-top), var(--header-bottom));
  border: 2px solid color-mix(in srgb, var(--gold) 55%, transparent);
  box-shadow: var(--neon);
  transition: transform 0.25s ease, opacity 0.2s ease;
}

.tpl-rail-left .tpl-rail-panel {
  border-left: 0;
  border-radius: 0 12px 12px 0;
}

.tpl-rail-left .tpl-rail-panel a {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  overflow: hidden;
  padding: 0;
  border: 0;
  background: transparent;
}

.tpl-rail-left .tpl-rail-panel a img {
  width: 36px;
  height: 36px;
  display: block;
}

.tpl-rail-toggle {
  width: 26px;
  min-width: 26px;
  align-self: stretch;
  min-height: 148px;
  margin: 0;
  padding: 0;
  border: 1px solid var(--nav-edge);
  background: var(--gold-bar);
  color: var(--nav-text);
  font-size: 18px;
  font-weight: 900;
  cursor: pointer;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  box-shadow: var(--neon);
}

.tpl-rail.is-collapsed {
  align-items: center;
}

.tpl-rail.is-collapsed .tpl-rail-toggle {
  width: 26px;
  min-width: 26px;
  min-height: 148px;
  height: 148px;
  align-self: center;
}

.tpl-rail-left .tpl-rail-toggle {
  border-radius: 0 10px 10px 0;
}

.tpl-rail-right .tpl-rail-panel {
  border-right: 0;
  border-radius: 12px 0 0 12px;
  padding: 0.5rem 0.45rem;
}

.tpl-rail-right .tpl-rail-toggle {
  border-radius: 10px 0 0 10px;
  box-shadow: -2px 0 10px rgba(0, 0, 0, 0.25);
}

.tpl-rail.is-collapsed .tpl-rail-panel {
  opacity: 0;
  pointer-events: none;
  position: absolute;
  top: 0;
}

.tpl-rail-left.is-collapsed .tpl-rail-panel {
  left: 0;
  transform: translateX(calc(-100% - 2px));
}

.tpl-rail-right.is-collapsed .tpl-rail-panel {
  right: 0;
  left: auto;
  transform: translateX(calc(100% + 2px));
}

.tpl-rail.is-collapsed .tpl-rail-toggle span {
  display: inline-block;
  transform: rotate(180deg);
}

.tpl-download-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  width: 108px;
  color: var(--gold);
  text-align: center;
  text-decoration: none;
}

.tpl-download-label {
  color: var(--gold);
  font-weight: 800;
  letter-spacing: 0.06em;
  font-size: 0.62rem;
  line-height: 1.1;
}

.tpl-download-card small {
  color: var(--muted);
  font-size: 0.58rem;
  line-height: 1.2;
}

.tpl-rail-right .tpl-qr-frame {
  width: 96px;
  height: 96px;
  margin: 0;
  border: 2px solid color-mix(in srgb, var(--gold) 55%, transparent);
  border-radius: 6px;
  box-shadow: var(--neon);
  background: var(--panel);
}

.tpl-rail-right .tpl-qr-empty {
  color: var(--muted);
}

.tpl-offcanvas {
  background: #0d0d0d;
  color: #fff;
  border-left: 1px solid var(--line-dim);
}

@media (max-width: 991.98px) {
  .tpl-nav-list {
    justify-content: flex-start;
  }

  .tpl-nav-list > li {
    flex: 0 0 auto;
  }

  .tpl-nav-list a {
    padding: 0.62rem 0.55rem;
    font-size: 0.72rem;
  }

  .tpl-lobby-tabs {
    justify-content: flex-start;
  }

  .tpl-lobby-tabs button {
    flex: 0 0 auto;
    padding: 0.45rem 0.55rem;
    font-size: 0.72rem;
  }

  .tpl-step {
    min-height: 48px;
    font-size: 0.92rem;
  }

  .tpl-shell,
  .tpl-header-inner,
  .tpl-marquee-inner,
  .tpl-seo > .container-xl,
  .tpl-footer > .container-xl {
    width: min(100% - 0.75rem, var(--container));
  }

  .tpl-article {
    padding: 20px 14px;
  }
}

@media (max-width: 767.98px) {
  .tpl-body {
    padding-bottom: 78px;
    overflow-x: clip;
  }

  .tpl-header-top {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    min-height: 58px;
    padding-top: 8px;
    padding-bottom: 8px;
  }

  .tpl-logo {
    min-height: 52px;
    max-width: min(62vw, 280px);
    padding: 4px 8px;
    font-size: clamp(1.15rem, 5.4vw, 1.5rem);
  }

  .tpl-logo.has-logo {
    min-height: 0;
    max-width: min(68vw, 300px);
  }

  .tpl-logo-img {
    height: 48px;
    max-width: 220px;
  }

  .tpl-logo.has-logo .tpl-logo-img {
    height: 58px;
    max-width: 260px;
  }

  .tpl-header-actions {
    flex-wrap: nowrap;
    align-items: center;
    gap: 10px;
    justify-content: flex-end;
  }

  .tpl-auth-desktop {
    display: none !important;
  }

  .tpl-contact {
    width: auto;
    text-align: right;
    color: var(--gold);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-transform: uppercase;
  }

  .tpl-menu-toggle {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
    width: 36px;
    height: 36px;
    padding: 7px 6px;
    border: 2px solid var(--line);
    background: transparent;
    box-shadow: var(--neon);
    cursor: pointer;
  }

  .tpl-menu-toggle span {
    display: block;
    height: 2px;
    width: 100%;
    background: var(--gold);
  }

  .tpl-nav-desktop {
    display: none;
  }

  .tpl-auth-mobile {
    display: flex;
    align-items: center;
    justify-content: stretch;
    flex-wrap: nowrap;
    gap: 8px;
    width: 100%;
    max-width: 100%;
    margin: 0.5rem auto 0.4rem;
    padding: 0;
    box-sizing: border-box;
  }

  .tpl-g8 .tpl-auth-mobile {
    margin: 0.45rem auto 0.55rem;
    padding: 0 0.65rem;
  }

  .tpl-g8 .tpl-hero {
    margin-top: 0;
  }

  .tpl-auth-mobile-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 1 1 0;
    width: auto;
    min-width: 0;
    max-width: none;
    min-height: 44px;
    padding: 0 0.75rem;
    border: 2px solid var(--line);
    color: var(--btn-on-accent);
    font-weight: 800;
    letter-spacing: 0.05em;
    font-size: 0.9rem;
    background: var(--gold-bar);
    box-shadow: var(--neon);
  }

  .tpl-hero {
    border-width: 1px;
    margin-top: 0.35rem;
  }

  .tpl-steps {
    margin-top: 0.55rem;
  }

  .tpl-step {
    min-height: 46px;
    font-size: 0.82rem;
    letter-spacing: 0.04em;
  }

  .tpl-jackpot-wrap {
    border-radius: 14px;
  }

  .tpl-jackpot-img {
    border-radius: 12px;
  }

  .tpl-jackpot-amount {
    width: 48%;
    max-width: 300px;
    font-size: clamp(0.62rem, 3.8cqw, 1.05rem);
    letter-spacing: 0.01em;
  }

  .tpl-lobby-tabs {
    justify-content: flex-start;
    gap: 2px;
    margin-bottom: 0.7rem;
  }

  .tpl-lobby-tabs button {
    flex: 0 0 auto;
    padding: 0.5rem 0.65rem;
    font-size: 0.72rem;
  }

  .tpl-providers {
    --bs-gutter-x: 0.55rem;
    --bs-gutter-y: 0.55rem;
  }

  .tpl-providers .col-6 {
    flex: 0 0 50%;
    max-width: 50%;
  }

  .tpl-bottom-nav {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9500;
    min-height: 64px;
    padding: 6px 4px calc(6px + env(safe-area-inset-bottom, 0px));
    background: linear-gradient(180deg, var(--header-top), var(--header-bottom));
    border-top: 1px solid color-mix(in srgb, var(--gold) 35%, transparent);
    box-shadow: 0 -8px 24px color-mix(in srgb, var(--bg) 45%, transparent);
  }

  .tpl-bottom-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    color: var(--muted);
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 0.02em;
    line-height: 1.1;
    text-align: center;
  }

  .tpl-bottom-nav-item svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
  }

  .tpl-bottom-nav-item.is-home {
    transform: translateY(-2px);
    color: var(--gold);
  }

  .tpl-bottom-nav-item:hover {
    color: var(--gold);
  }

  .tpl-bottom-nav-item.is-home svg {
    width: 22px;
    height: 22px;
  }

  .tpl-rail-left .tpl-rail-panel a {
    width: 40px;
    height: 40px;
  }

  .tpl-rail-left .tpl-rail-panel a img {
    width: 28px;
    height: 28px;
  }

  .tpl-rail-right .tpl-qr-frame {
    width: 78px;
    height: 78px;
  }
}

.tpl-popup {
  position: fixed;
  inset: 0;
  z-index: 12000;
  display: grid;
  place-items: center;
  padding: 1rem;
}

.tpl-popup[hidden] {
  display: none !important;
}

.tpl-popup-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  cursor: pointer;
}

.tpl-popup-dialog {
  position: relative;
  z-index: 1;
  width: fit-content;
  max-width: min(96vw, 760px);
  max-height: min(92vh, 900px);
  height: fit-content;
  align-self: center;
  justify-self: center;
  background: transparent;
  border: 0;
  box-shadow: none;
  animation: tplPopupIn 0.22s ease;
}

.tpl-popup-frame {
  position: relative;
  display: block;
  width: fit-content;
  max-width: 100%;
  margin: 0 auto;
  background: transparent;
}

.tpl-popup-close {
  position: absolute;
  top: var(--popup-close-top, 8%);
  left: 50%;
  right: auto;
  transform: translate(-50%, -40%);
  z-index: 2;
  width: var(--popup-close-size, 40px);
  height: var(--popup-close-size, 40px);
  border: 0;
  border-radius: 50%;
  background: var(--gold-bar);
  color: var(--nav-text);
  font-size: calc(var(--popup-close-size, 40px) * 0.42);
  font-weight: 900;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
  display: grid;
  place-items: center;
  padding: 0;
}

.tpl-popup-link {
  display: block;
  width: fit-content;
  max-width: 100%;
  margin: 0 auto;
  border: 0;
  border-radius: 0;
  overflow: visible;
  box-shadow: none;
  background: transparent;
}

.tpl-popup-img {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: min(86vh, 860px);
  margin: 0 auto;
  object-fit: contain;
  background: transparent !important;
  box-shadow: none;
}

@media (max-width: 767.98px) {
  .tpl-popup {
    padding: 0.5rem;
  }

  .tpl-popup-dialog {
    max-width: min(94vw, 420px);
    max-height: min(90vh, 820px);
  }

  .tpl-popup-frame {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--popup-close-gap, 8px);
  }

  .tpl-popup-img {
    max-width: min(94vw, 420px);
    max-height: min(72vh, 680px);
  }

  /* Mobile: silang di atas gambar (flow), tidak overlap konten */
  .tpl-popup-close {
    position: relative;
    top: auto;
    left: auto;
    right: auto;
    transform: none;
    flex-shrink: 0;
    width: var(--popup-close-size, 34px);
    height: var(--popup-close-size, 34px);
    font-size: calc(var(--popup-close-size, 34px) * 0.42);
    margin: 0;
  }
}

@keyframes tplPopupIn {
  from {
    opacity: 0;
    transform: translateY(10px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.tpl-fx-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 9050;
}

.tpl-login-notice-bg {
  position: fixed;
  inset: 0;
  z-index: 12990;
  background: rgba(0, 0, 0, 0.55);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.tpl-login-notice-bg.is-visible {
  opacity: 1;
  pointer-events: auto;
}

.tpl-login-notice {
  position: fixed;
  left: 50%;
  top: 50%;
  z-index: 13000;
  width: min(92vw, 520px);
  padding: 28px 26px 22px;
  border: 2px solid var(--line);
  background: linear-gradient(180deg, #1f170a 0%, #0d0d0d 100%);
  color: #fff;
  font-family: var(--font-body);
  text-align: center;
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(212, 175, 55, 0.18);
  transform: translate(-50%, -46%) scale(0.96);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.tpl-login-notice.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, -50%) scale(1);
}

.tpl-login-notice.is-hiding {
  opacity: 0;
  transform: translate(-50%, -46%) scale(0.97);
}

.tpl-login-notice-text {
  margin: 0 0 18px;
  font-size: clamp(1.15rem, 2.8vw, 1.45rem);
  font-weight: 700;
  line-height: 1.45;
  color: #fff;
}

.tpl-login-notice-ok {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 120px;
  padding: 10px 22px;
  border: 0;
  background: var(--gold-bar);
  color: var(--nav-text);
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  cursor: pointer;
}
