@import url("https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Poppins:wght@500;600;700&family=Tajawal:wght@400;500;700;800&display=swap");
/* TOP Player — base tokens (the light theme at the bottom of this file overrides them) */
:root {
  --bg: #041022;
  --bg-2: #061529;
  --surface: #0a1d36;
  --surface-2: #0f2a4a;
  --surface-3: #14365e;
  --line: rgba(120, 175, 225, 0.14);
  --line-2: rgba(120, 175, 225, 0.24);
  --text: #eef5fc;
  --text-2: #b5c8de;
  --muted: #7d94b0;
  --blue: #0a8ad0;
  --blue-2: #03679c;
  --sky: #5fb6ea;
  --cyan: #13a9c6;
  --warm: linear-gradient(90deg, #ec1078, #f9461d 45%, #fdd20a);
  --danger: #ff6b7d;
  --ok: #34d399;
  --radius: 14px;
  --radius-lg: 28px;
  --shadow: 0 20px 50px -20px rgba(0, 0, 0, 0.6);
  --font: "Inter", "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-display: "Inter", "Segoe UI Variable Display", "Segoe UI", system-ui, sans-serif;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img, svg { display: block; }
code {
  font-family: Consolas, "Cascadia Mono", monospace;
  font-size: .9em;
  background: rgba(95, 182, 234, .12);
  color: #a9dcf8;
  padding: 1px 6px;
  border-radius: 6px;
}
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.muted { color: var(--muted); }
.small { font-size: 14px; }

.container { width: 100%; max-width: 1920px; margin: 0 auto; padding: 0 48px; }
.container.narrow { max-width: 1000px; }

/* icons */
.ico {
  width: 22px; height: 22px; flex: none;
  fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
}
.ico-sm { width: 16px; height: 16px; }

/* ---------------- Header ---------------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(4, 16, 34, .88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; gap: 48px; height: 106px; }
.brand { display: inline-flex; align-items: center; gap: 12px; flex: none; }
.brand-logo {
  height: 66px; width: auto;
  filter: drop-shadow(0 6px 18px rgba(10, 138, 208, .35)) brightness(1.12);
}

.pill-nav {
  display: flex; gap: 4px; padding: 6px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
}
.pill-link {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 12px 24px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 20px; font-weight: 500;
  transition: color .2s, background .2s;
}
.pill-link .ico { width: 22px; height: 22px; }
.pill-link:hover { color: var(--text); }
.pill-link.is-active {
  background: var(--surface-3);
  color: var(--text);
  box-shadow: 0 4px 14px -4px rgba(0, 0, 0, .6), inset 0 1px 0 rgba(255, 255, 255, .06);
}
.pill-link.is-active .ico { color: var(--sky); }

.header-actions { margin-left: auto; display: flex; align-items: center; gap: 12px; }
.btn-chip {
  display: inline-flex; align-items: center; gap: 12px;
  height: 54px; padding: 0 18px;
  border-radius: 14px;
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--text-2);
  font: 500 20px var(--font);
  cursor: pointer;
  transition: background .2s, border-color .2s, color .2s;
}
.btn-chip:hover { background: var(--surface-2); color: var(--text); }
.btn-chip .ico { width: 26px; height: 26px; }
.btn-chip.is-active { color: var(--text); border-color: var(--line-2); }
.btn-chip--accent {
  background: rgba(10, 138, 208, .14);
  border-color: rgba(95, 182, 234, .45);
  color: #8fd0f5;
}
.btn-chip--accent:hover { background: rgba(10, 138, 208, .24); color: #d4eefc; }
.btn-chip--ghost { background: transparent; border-radius: 999px; padding: 0 20px; }
.btn-chip--ghost .ico { width: 20px; height: 20px; }
.btn-chip--ghost .ico-sm { width: 16px; height: 16px; color: var(--muted); }

.lang { position: relative; }
.lang-menu {
  position: absolute; right: 0; top: calc(100% + 8px);
  list-style: none; margin: 0; padding: 6px;
  min-width: 180px;
  background: var(--surface-2);
  border: 1px solid var(--line-2);
  border-radius: 14px;
  box-shadow: var(--shadow);
  /* 13 languages since 2026-11-29: the list scrolls instead of running off the screen
     (Japanese / Chinese: see the nowrap rule below, words have no spaces to break on) */
  max-height: min(70vh, 520px); overflow-y: auto; z-index: 60;
}
.lang-menu li { padding: 10px 14px; border-radius: 10px; cursor: pointer; color: var(--text-2); }
.lang-menu li:hover, .lang-menu li[aria-selected="true"] { background: var(--surface-3); color: var(--text); }

.menu-toggle { display: none; }

/* ---------------- Buttons ---------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  height: 66px; padding: 0 36px;
  border-radius: 16px;
  font: 600 21px var(--font);
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .15s, box-shadow .2s, background .2s, border-color .2s;
}
.btn .ico { width: 26px; height: 26px; }
.btn:active { transform: translateY(1px); }
.btn-primary {
  background: linear-gradient(180deg, #1aa0e0, var(--blue-2));
  color: #fff;
  box-shadow: 0 14px 30px -10px rgba(10, 138, 208, .7), inset 0 1px 0 rgba(255, 255, 255, .25);
}
.btn-primary:hover { box-shadow: 0 18px 38px -10px rgba(10, 138, 208, .9), inset 0 1px 0 rgba(255, 255, 255, .25); }
.btn-outline {
  background: var(--surface);
  border-color: var(--line-2);
  color: var(--text);
}
.btn-outline:hover { border-color: var(--sky); background: var(--surface-2); }
.btn-block { width: 100%; }

/* ---------------- Hero ---------------- */
.hero {
  position: relative; overflow: hidden;
  padding: 90px 0 110px;
  background:
    radial-gradient(900px 520px at 88% -5%, rgba(10, 138, 208, .28), transparent 65%),
    radial-gradient(700px 500px at -5% 85%, rgba(53, 198, 255, .10), transparent 65%),
    var(--bg);
}
.hero-grid-bg {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(120, 175, 225, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(120, 175, 225, .05) 1px, transparent 1px);
  background-size: 66px 66px;
  mask-image: linear-gradient(180deg, #000 0%, transparent 85%);
  -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 85%);
}
.hero-inner { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 710px; gap: 80px; align-items: center; }

.badge {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 7px 18px;
  border-radius: 999px;
  background: rgba(10, 138, 208, .1);
  border: 1px solid rgba(95, 182, 234, .4);
  color: #8fd0f5;
  font-size: 17px; font-weight: 700; letter-spacing: .6px;
}
.badge i { width: 8px; height: 8px; border-radius: 50%; background: var(--warm); box-shadow: 0 0 10px rgba(249, 70, 29, .7); }
/* thin warm stripe echoing the logo's pink-orange-yellow ring */
.avail-card, .form-card, .disclaimer { position: relative; }
.avail-card::before, .form-card::before, .disclaimer::before {
  content: ""; position: absolute; left: 40px; right: 40px; top: -1px; height: 3px;
  border-radius: 0 0 3px 3px; background: var(--warm); opacity: .9;
}

.hero h1 {
  margin: 36px 0 0;
  font-family: var(--font-display);
  font-size: 68px; line-height: 1.08; font-weight: 800; letter-spacing: -1.6px;
}
.accent {
  background: linear-gradient(90deg, #6fc3f2, var(--blue) 55%, #13a9c6);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.lead { margin: 52px 0 0; font-size: 27px; line-height: 1.78; color: var(--text); max-width: 1010px; }
.sub { margin: 26px 0 0; font-size: 23px; line-height: 1.8; color: var(--text-2); max-width: 930px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 50px; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 26px; list-style: none; padding: 0; margin: 28px 0 0; color: var(--muted); font-size: 16px; }
.hero-meta li { display: inline-flex; align-items: center; gap: 8px; }
.hero-meta .ico { color: var(--ok); }

/* "Built for" card */
.avail-card {
  background: linear-gradient(180deg, rgba(15, 42, 74, .85), rgba(8, 26, 48, .85));
  border: 1px solid var(--line-2);
  border-radius: var(--radius-lg);
  padding: 34px 36px 36px;
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255, 255, 255, .05);
}
.avail-title { display: flex; align-items: center; gap: 18px; margin-bottom: 30px; }
.avail-title::before, .avail-title::after { content: ""; flex: 1; height: 1px; background: var(--line-2); }
.avail-title span { font-size: 18px; letter-spacing: 4px; font-weight: 700; color: var(--text-2); }
.avail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.tile {
  position: relative;
  display: flex; align-items: center; justify-content: center; gap: 16px;
  height: 106px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  transition: border-color .2s, transform .2s, background .2s;
}
.tile:hover { border-color: var(--line-2); background: var(--surface-2); transform: translateY(-2px); }
.tile-corner {
  position: absolute; top: -9px; right: -9px;
  width: 26px; height: 26px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--surface-2); border: 1px solid var(--line-2); color: var(--muted);
}
.tile-corner svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.tile-ico.win { display: grid; grid-template-columns: 1fr 1fr; gap: 3px; width: 46px; height: 46px; }
.tile-ico.win i { background: linear-gradient(135deg, #2fb0e6, #03679c); border-radius: 2px; }
.tile-ico.win--alt i { background: linear-gradient(135deg, #13a9c6, #2f7bff); }
.tile-txt { display: flex; flex-direction: column; font-size: 30px; font-weight: 700; line-height: 1.05; letter-spacing: -.5px; }
.tile-txt small { font-size: 15px; font-weight: 500; color: var(--muted); letter-spacing: 0; margin-bottom: 4px; }
.tile-word { font-size: 44px; font-weight: 900; letter-spacing: -1px; color: #e1f1fc; display: inline-flex; align-items: baseline; gap: 6px; }
.tile-word em { font-style: normal; font-size: 22px; font-weight: 600; color: var(--sky); letter-spacing: 0; }
.tile-word--x { font-size: 38px; background: linear-gradient(90deg, #ffffff, #8fd0f5); -webkit-background-clip: text; background-clip: text; color: transparent; }
.tile-word--x em { -webkit-text-fill-color: var(--sky); }
.tile-word--sm { font-size: 36px; }
.tile-word--sm em { font-size: 17px; color: var(--muted); }

a.tile { color: inherit; text-decoration: none; }
.avail-grid .tile { justify-content: flex-start; padding: 0 22px; gap: 16px; }
.tile .logo { width: 48px; height: 48px; flex: none; }
.avail-grid .tile-txt { font-size: 26px; }
.avail-grid .tile-txt small { font-size: 14px; }
@media (max-width: 720px) {
  .avail-grid .tile { padding: 0 14px; gap: 10px; }
  .tile .logo { width: 36px; height: 36px; }
  .avail-grid .tile-txt { font-size: 19px; }
  .avail-grid .tile-txt small { font-size: 12px; }
}

/* Downloads */
.dl-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; max-width: 1400px; margin: 0 auto; }
.dl-card {
  display: flex; flex-direction: column;
  padding: 34px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 22px;
}
.dl-card h3 { margin: 22px 0 4px; font-size: 25px; }
.dl-meta { margin: 0 0 18px; color: var(--muted); font-size: 15px; }
.dl-steps { margin: 0 0 26px; padding-left: 20px; color: var(--text-2); font-size: 16px; line-height: 1.55; flex: 1; }
.dl-steps li + li { margin-top: 8px; }
.dl-steps code { font-size: 14px; word-break: break-all; color: var(--sky); }
.dl-btn { justify-content: center; width: 100%; }
@media (max-width: 1100px) { .dl-grid { grid-template-columns: 1fr; max-width: 640px; } }

/* ---------------- Sections ---------------- */
.section { padding: 110px 0; }
.section--alt { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { text-align: center; max-width: 820px; margin: 0 auto 60px; }
.eyebrow {
  font-size: 15px; font-weight: 700; letter-spacing: 4px;
  background: var(--warm); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.section-head h2 { margin: 14px 0 0; font-size: 46px; line-height: 1.15; letter-spacing: -1px; font-weight: 800; }
.section-head p { margin: 18px 0 0; font-size: 20px; color: var(--text-2); }

/* Disclaimer */
.disclaimer {
  display: flex; gap: 28px; align-items: flex-start;
  max-width: 1240px; margin: 0 auto;
  padding: 40px 44px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(10, 138, 208, .12), rgba(10, 29, 54, .9) 55%);
  border: 1px solid rgba(95, 182, 234, .35);
}
.disc-ico {
  flex: none; width: 66px; height: 66px; border-radius: 18px;
  display: grid; place-items: center;
  background: linear-gradient(180deg, #1aa0e0, var(--blue-2));
  box-shadow: 0 14px 30px -10px rgba(10, 138, 208, .8);
}
.disc-ico .ico { width: 32px; height: 32px; color: #fff; }
.disclaimer h2 { margin: 2px 0 10px; font-size: 30px; letter-spacing: -.5px; }
.disclaimer p { margin: 0 0 8px; font-size: 19px; color: var(--text-2); }
.disclaimer p strong { color: var(--text); }

/* Features */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; max-width: 1400px; margin: 0 auto; }
.feature {
  padding: 34px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 22px;
  transition: border-color .2s, transform .2s;
}
.feature:hover { border-color: rgba(95, 182, 234, .45); transform: translateY(-3px); }
.f-ico {
  display: grid; place-items: center;
  width: 58px; height: 58px; border-radius: 16px;
  background: rgba(10, 138, 208, .14); color: var(--sky);
  border: 1px solid rgba(95, 182, 234, .3);
}
.f-ico .ico { width: 28px; height: 28px; }
.feature h3 { margin: 22px 0 8px; font-size: 23px; }
.feature p { margin: 0; color: var(--text-2); font-size: 17px; }

/* Steps */
.steps { list-style: none; padding: 0; margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; max-width: 1400px; counter-reset: s; }
.steps li { position: relative; padding: 34px; border-radius: 22px; background: var(--surface); border: 1px solid var(--line); }
.step-num {
  display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%;
  background: linear-gradient(180deg, #1aa0e0, var(--blue-2)); color: #fff; font-weight: 800; font-size: 20px;
}
.steps h3 { margin: 20px 0 8px; font-size: 23px; }
.steps p { margin: 0; color: var(--text-2); font-size: 17px; }
.center-cta { text-align: center; margin-top: 50px; }

/* FAQ */
.faq { display: flex; flex-direction: column; gap: 14px; }
.faq details {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  transition: border-color .2s;
}
.faq details[open] { border-color: rgba(95, 182, 234, .4); }
.faq summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 24px 28px;
  font-size: 20px; font-weight: 600;
}
.faq summary::-webkit-details-marker { display: none; }
.chev { flex: none; width: 32px; height: 32px; border-radius: 50%; background: var(--surface-2); position: relative; transition: transform .25s; }
.chev::before {
  content: ""; position: absolute; left: 50%; top: 45%;
  width: 9px; height: 9px; border-right: 2px solid var(--sky); border-bottom: 2px solid var(--sky);
  transform: translate(-50%, -50%) rotate(45deg);
}
.faq details[open] .chev { transform: rotate(180deg); }
.faq-body { padding: 0 28px 24px; }
.faq-body p { margin: 0; color: var(--text-2); font-size: 18px; }

/* ---------------- Footer ---------------- */
.site-footer { background: #030c1a; border-top: 1px solid var(--line); padding-top: 70px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; }
.footer-brand .brand-logo { height: 76px; }
.footer-brand p { color: var(--text-2); max-width: 440px; margin: 18px 0 0; }
.footer-brand .footer-note { color: var(--muted); font-size: 14px; }
.footer-col { display: flex; flex-direction: column; gap: 12px; }
.footer-col h4 { margin: 6px 0 6px; font-size: 14px; letter-spacing: 2.5px; text-transform: uppercase; color: var(--muted); }
.footer-col a { color: var(--text-2); }
.footer-col a:hover { color: var(--sky); }
.footer-bottom {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  margin-top: 60px; padding-top: 26px; padding-bottom: 30px;
  border-top: 1px solid var(--line);
  color: var(--muted); font-size: 14px;
}

/* ---------------- Form pages ---------------- */
.page-hero {
  padding: 60px 0 64px;
  text-align: center;
  background:
    radial-gradient(800px 300px at 80% 0%, rgba(10, 138, 208, .26), transparent 70%),
    radial-gradient(600px 260px at 5% 60%, rgba(53, 198, 255, .10), transparent 70%),
    var(--bg);
  border-bottom: 1px solid var(--line);
}
.page-title {
  display: inline-flex; align-items: center; gap: 24px;
  margin: 0;
  font-size: 56px; font-weight: 800; letter-spacing: -1.4px; line-height: 1.1;
}
.title-ico {
  display: grid; place-items: center;
  width: 72px; height: 72px; border-radius: 18px;
  background: linear-gradient(180deg, #1aa0e0, var(--blue-2));
  box-shadow: 0 16px 30px -10px rgba(10, 138, 208, .8);
}
.title-ico .ico { width: 34px; height: 34px; color: #fff; stroke-width: 2.2; }
.page-sub { margin: 36px 0 0; font-size: 24px; color: var(--text-2); }
.page-sub strong { color: var(--text); }

.form-section { background: var(--bg-2); padding: 72px 0 110px; }
.form-card {
  max-width: 1082px; margin: 0 auto;
  background: var(--surface);
  border: 1px solid var(--line-2);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.stepper {
  display: flex; align-items: center; gap: 18px;
  padding: 24px 48px;
  border-bottom: 1px solid var(--line);
}
.step { display: flex; align-items: center; gap: 18px; font-size: 21px; color: var(--muted); }
.dot {
  display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%;
  background: var(--surface-2); border: 1px solid var(--line); font-size: 18px; color: var(--text-2);
  transition: background .25s, color .25s;
}
.step.is-current { color: var(--text); font-weight: 500; }
.step.is-current .dot, .step.is-done .dot {
  background: linear-gradient(180deg, #1aa0e0, var(--blue-2)); border-color: transparent; color: #fff;
}
.step.is-done { color: var(--text-2); }
.step-line { width: 60px; height: 1px; background: var(--line-2); }

.form-body { padding: 52px 48px 48px; }
fieldset { border: 0; margin: 0; padding: 0; }
.field { margin-bottom: 26px; }
.field label { display: block; font-size: 20px; font-weight: 500; margin-bottom: 14px; }
.field input, .field textarea {
  width: 100%;
  height: 68px; padding: 0 18px;
  background: var(--bg-2);
  border: 1px solid var(--line-2);
  border-radius: 14px;
  color: var(--text);
  font: 20px var(--font);
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { height: auto; padding: 16px 18px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: #55708f; }
#mac { font-family: Consolas, "Cascadia Mono", monospace; letter-spacing: 1.5px; text-transform: uppercase; }
.field input:focus, .field textarea:focus {
  outline: none; border-color: var(--sky);
  box-shadow: 0 0 0 4px rgba(10, 138, 208, .22);
}
.field.has-error input, .field.has-error textarea { border-color: var(--danger); }
.hint { margin: 12px 0 0; font-size: 18px; color: var(--muted); }
.error { margin: 6px 0 0; font-size: 15px; color: var(--danger); min-height: 0; }
.error:empty { display: none; }

.divider { display: flex; align-items: center; gap: 16px; margin: 40px 0 34px; color: var(--muted); font-size: 14px; letter-spacing: 3px; text-transform: uppercase; font-weight: 700; }
.divider::before, .divider::after { content: ""; flex: 1; height: 1px; background: var(--line); }

.tabs { display: flex; gap: 10px; margin-bottom: 26px; }
.tab {
  flex: 1; padding: 16px; border-radius: var(--radius); border: 1px solid var(--line-2);
  background: var(--surface-2); color: var(--text-2); font-size: 17px; font-weight: 600; cursor: pointer;
}
.tab.is-active { background: var(--surface-3); border-color: var(--blue); color: #fff; }

.agree {
  display: flex; align-items: flex-start; gap: 18px;
  margin-top: 12px;
  padding: 24px;
  border-radius: 18px;
  background: var(--bg-2);
  border: 1px solid var(--line-2);
  font-size: 19px; line-height: 1.75; color: var(--text-2);
  cursor: pointer;
}
.agree strong { color: var(--text); }
.agree input { position: absolute; opacity: 0; pointer-events: none; }
.agree .box {
  flex: none; width: 30px; height: 30px; margin-top: 2px;
  border-radius: 8px; border: 1px solid var(--line-2); background: var(--surface);
  display: grid; place-items: center; transition: background .2s, border-color .2s;
}
.agree input:checked + .box { background: var(--blue); border-color: var(--blue); }
.agree input:checked + .box::after {
  content: ""; width: 7px; height: 13px; border-right: 2.5px solid #fff; border-bottom: 2.5px solid #fff; transform: translateY(-2px) rotate(45deg);
}
.agree input:focus-visible + .box { box-shadow: 0 0 0 4px rgba(10, 138, 208, .3); }
.form-body > .error { margin: 8px 0 0 4px; }
.form-body .btn-block { margin-top: 30px; }

.helper-card {
  display: flex; align-items: center; gap: 18px;
  margin-top: 28px; padding: 22px 24px;
  border: 1px solid var(--line-2); border-radius: 18px; background: var(--bg-2);
  transition: border-color .2s;
}
.helper-card:hover { border-color: var(--sky); }
.helper-ico { flex: none; display: grid; place-items: center; width: 54px; height: 54px; border-radius: 14px; border: 1px solid var(--line-2); color: var(--sky); }
.helper-txt { flex: 1; display: flex; flex-direction: column; gap: 4px; }
.helper-txt strong { font-size: 20px; }
.helper-txt small { font-size: 16px; color: var(--muted); }
.helper-txt em { font-style: normal; color: var(--sky); font-weight: 600; text-decoration: underline; }
.helper-card .arrow { color: var(--sky); }

.form-success { padding: 64px 48px; text-align: center; }
.ok-ico { display: inline-grid; place-items: center; width: 80px; height: 80px; border-radius: 50%; background: rgba(52, 211, 153, .14); border: 1px solid rgba(52, 211, 153, .45); color: var(--ok); }
.ok-ico .ico { width: 40px; height: 40px; stroke-width: 2.4; }
.form-success h2 { margin: 22px 0 10px; font-size: 34px; }
.form-success p { margin: 6px 0; font-size: 19px; color: var(--text-2); }
.ok-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 14px; margin-top: 30px; }

.legal { max-width: 1082px; margin: 40px auto 0; color: var(--text-2); }
.legal h3 { margin: 0 0 6px; color: var(--text); }

/* toast */
.toast {
  position: fixed; left: 50%; bottom: 28px; z-index: 100;
  transform: translate(-50%, 20px); opacity: 0;
  padding: 14px 22px; border-radius: 14px;
  background: var(--surface-3); border: 1px solid var(--line-2); color: var(--text);
  box-shadow: var(--shadow); transition: opacity .25s, transform .25s; pointer-events: none;
  max-width: calc(100% - 32px);
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------------- Responsive ---------------- */
@media (max-width: 1600px) {
  .hero-inner { grid-template-columns: minmax(0, 1fr) 600px; gap: 56px; }
  .hero h1 { font-size: 60px; }
  .lead { font-size: 24px; }
  .sub { font-size: 20px; }
  .tile-word { font-size: 38px; }
  .tile-txt { font-size: 26px; }
}
@media (max-width: 1560px) {
  .header-inner { gap: 24px; }
  .brand-logo { height: 58px; }
  .pill-link { font-size: 17px; padding: 10px 18px; }
  .btn-chip { font-size: 17px; height: 48px; gap: 10px; padding: 0 16px; }
  .btn-chip .ico { width: 22px; height: 22px; }
}
@media (max-width: 1360px) {
  .hero-inner { grid-template-columns: 1fr; }
  .avail-card { max-width: 720px; }
}
@media (max-width: 1320px) {
  .container { padding: 0 28px; }
  .menu-toggle {
    display: flex; flex-direction: column; justify-content: center; gap: 5px;
    margin-left: auto; width: 46px; height: 46px; padding: 0 12px;
    background: var(--surface); border: 1px solid var(--line-2); border-radius: 12px; cursor: pointer;
  }
  .menu-toggle span { height: 2px; background: var(--text); border-radius: 2px; transition: transform .2s, opacity .2s; }
  .menu-open .menu-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-open .menu-toggle span:nth-child(2) { opacity: 0; }
  .menu-open .menu-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .header-inner { flex-wrap: wrap; height: auto; min-height: 80px; row-gap: 0; }
  .brand { height: 80px; }
  .pill-nav, .header-actions { display: none; width: 100%; }
  .menu-open .pill-nav {
    display: flex; flex-direction: column; border-radius: 16px; margin: 0 0 12px; order: 3;
  }
  .menu-open .header-actions {
    display: flex; flex-wrap: wrap; margin: 0 0 18px; order: 4;
  }
  .pill-link { border-radius: 12px; }
}
@media (max-width: 1100px) {
  .features, .steps { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .container { padding: 0 18px; }
  .brand-logo { height: 50px; }
  .hero { padding: 48px 0 70px; }
  .badge { font-size: 13px; }
  .hero h1 { font-size: 40px; margin-top: 24px; letter-spacing: -1px; }
  .lead { font-size: 19px; margin-top: 28px; }
  .sub { font-size: 17px; }
  .btn { height: 58px; font-size: 18px; padding: 0 24px; width: 100%; }
  .avail-card { padding: 24px 18px; }
  .avail-grid { gap: 12px; }
  .tile { height: 86px; gap: 10px; }
  .tile-ico.win { width: 32px; height: 32px; }
  .tile-txt { font-size: 18px; }
  .tile-txt small { font-size: 12px; }
  .tile-word { font-size: 26px; }
  .tile-word em, .tile-word--sm em { font-size: 13px; }
  .section { padding: 70px 0; }
  .section-head h2 { font-size: 32px; }
  .section-head p { font-size: 17px; }
  .disclaimer { flex-direction: column; padding: 28px 22px; }
  .features, .steps, .footer-grid { grid-template-columns: 1fr; }
  .faq summary { font-size: 17px; padding: 18px 20px; }
  .faq-body { padding: 0 20px 18px; }
  .faq-body p { font-size: 16px; }
  .page-title { font-size: 34px; gap: 14px; }
  .title-ico { width: 54px; height: 54px; border-radius: 14px; }
  .title-ico .ico { width: 26px; height: 26px; }
  .page-sub { font-size: 18px; margin-top: 20px; }
  .form-section { padding: 36px 0 70px; }
  .stepper { padding: 18px 20px; gap: 10px; }
  .step { font-size: 16px; gap: 10px; }
  .dot { width: 34px; height: 34px; font-size: 15px; }
  .step-line { width: 24px; }
  .form-body { padding: 32px 20px 28px; }
  .field label { font-size: 17px; }
  .field input { height: 58px; font-size: 17px; }
  .hint { font-size: 15px; }
  .agree { font-size: 16px; padding: 18px; }
  .helper-txt strong { font-size: 17px; }
  .helper-txt small { font-size: 14px; }
}

/* =====================================================================
   LIGHT THEME — clean white / warm amber, matching the logo's warm ring
   ===================================================================== */
:root {
  --bg: #ffffff;
  --bg-2: #f8f9fb;
  --surface: #ffffff;
  --surface-2: #f3f4f6;
  --surface-3: #ffffff;
  --line: #e9ebef;
  --line-2: #dde0e6;
  --text: #0c111d;
  --text-2: #3d4553;
  --muted: #6b7280;
  --sky: #d97706;
  --amber: #fbbf24;
  --amber-2: #f59e0b;
  --amber-ink: #b45309;
  --amber-soft: #fff8e8;
  --amber-line: #fcd88a;
  --shadow: 0 24px 60px -28px rgba(16, 24, 40, .22);
  --font: "Plus Jakarta Sans", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
  --font-display: "Plus Jakarta Sans", "Segoe UI", system-ui, sans-serif;
}
body { background: var(--bg); color: var(--text); }
code { background: var(--amber-soft); color: var(--amber-ink); }

.site-header { background: rgba(255, 255, 255, .92); border-bottom-color: var(--line); }
.brand-logo { filter: none; }
.pill-nav { background: var(--surface-2); border-color: transparent; }
.pill-link { color: #5b6270; }
.pill-link:hover { color: var(--text); }
.pill-link.is-active { background: #fff; color: var(--text); box-shadow: 0 2px 10px -2px rgba(16, 24, 40, .14); }
.pill-link.is-active .ico { color: var(--amber-2); }
.btn-chip { background: var(--surface-2); border-color: transparent; color: var(--text); }
.btn-chip:hover { background: #e9ebef; color: var(--text); }
.btn-chip--accent { background: var(--amber-soft); border-color: var(--amber-line); color: var(--amber-ink); }
.btn-chip--accent:hover { background: #fff0cc; color: #92400e; }
.btn-chip--accent .ico { color: var(--amber-2); }
.btn-chip--ghost { background: #fff; border-color: var(--line-2); }
.lang-menu { background: #fff; border-color: var(--line); }
.lang-menu li { color: var(--text-2); }
.lang-menu li:hover, .lang-menu li[aria-selected="true"] { background: var(--surface-2); color: var(--text); }

.btn-primary {
  background: linear-gradient(180deg, #fcd34d, var(--amber));
  color: #1c1300;
  box-shadow: 0 14px 28px -12px rgba(245, 158, 11, .75), inset 0 1px 0 rgba(255, 255, 255, .5);
}
.btn-primary:hover { background: linear-gradient(180deg, #fde68a, #fbbf24); box-shadow: 0 18px 34px -12px rgba(245, 158, 11, .85), inset 0 1px 0 rgba(255, 255, 255, .5); }
.btn-outline { background: #fff; border-color: var(--line-2); color: var(--text); }
.btn-outline:hover { border-color: var(--amber); background: #fffdf7; }

.hero {
  background:
    radial-gradient(900px 560px at 92% -10%, rgba(253, 196, 112, .30), transparent 65%),
    radial-gradient(600px 420px at -8% 95%, rgba(252, 211, 77, .10), transparent 65%),
    #fff;
}
.hero-grid-bg {
  background-image:
    linear-gradient(rgba(15, 23, 42, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 23, 42, .045) 1px, transparent 1px);
}
.badge { background: var(--amber-soft); border-color: var(--amber-line); color: var(--amber-ink); }
.badge i { background: var(--amber-2); box-shadow: none; }
.accent { background: linear-gradient(90deg, #f59e0b, #f7a823 50%, #f97316); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero h1 { color: var(--text); font-weight: 800; }
.lead { color: #1f2633; }
.sub { color: #555d6b; }
.hero-meta .ico { color: #16a34a; }

.avail-card { background: rgba(255, 255, 255, .85); border-color: var(--line); box-shadow: 0 30px 70px -40px rgba(16, 24, 40, .28); }
.avail-card::before, .form-card::before { display: none; }
.avail-title::before, .avail-title::after { background: var(--line-2); }
.avail-title span { color: #6b7280; font-weight: 700; }
.tile { background: #fff; border-color: var(--line); }
.tile:hover { background: #fff; border-color: #cfd3da; box-shadow: 0 12px 28px -18px rgba(16, 24, 40, .35); }
.tile-corner { background: #fff; border-color: var(--line-2); color: #8a919c; }

/* brand wordmark tiles */
.avail-grid .tile { justify-content: center; padding: 0 18px; gap: 14px; }
.wm { display: inline-flex; align-items: center; gap: 12px; color: #111; white-space: nowrap; }
.wm svg { flex: none; }
.wm-android { font: 600 46px/1 "Poppins", var(--font); letter-spacing: -1.2px; }
.wm-android svg { width: 64px; height: 34px; margin-top: 8px; }
.wm-tv { font: 600 40px/1 "Poppins", var(--font); letter-spacing: -1px; }
.wm-tv b { font-weight: 500; color: #3ddc84; margin-left: 2px; }
.wm-tv svg { width: 40px; height: 40px; }
.wm-win svg { width: 50px; height: 50px; }
.wm-win .wm-stack { display: flex; flex-direction: column; line-height: 1; }
.wm-win small { font: 500 19px var(--font); color: #5b6270; margin-bottom: 4px; }
.wm-win strong { font: 600 36px "Segoe UI", var(--font); letter-spacing: -.5px; color: #1b1b1b; }
.wm-word { font: 800 44px/1 var(--font); letter-spacing: -1.5px; color: #111; }
.wm-word em { font-style: normal; font-weight: 700; font-size: 24px; letter-spacing: -.3px; margin-left: 6px; color: var(--amber-2); }
.wm-word--x em { color: #2563eb; }

.section--alt { background: var(--bg-2); border-color: var(--line); }
.eyebrow { background: none; -webkit-background-clip: border-box; background-clip: border-box; color: var(--amber-2); }
.section-head h2 { color: var(--text); }
.section-head p { color: #555d6b; }

.dl-card, .feature, .steps li, .faq details { background: #fff; border-color: var(--line); box-shadow: 0 1px 2px rgba(16, 24, 40, .04); }
.dl-card { transition: border-color .2s, box-shadow .2s, transform .2s; }
.dl-card:hover, .feature:hover { border-color: var(--amber-line); box-shadow: 0 20px 40px -28px rgba(16, 24, 40, .35); transform: translateY(-3px); }
.dl-steps { color: #4b5361; }
.dl-steps code { color: var(--amber-ink); }
.f-ico { background: var(--amber-soft); color: var(--amber-2); border-color: var(--amber-line); }
.f-ico .logo-win { width: 30px; height: 30px; }
.feature p, .steps p { color: #555d6b; }
.step-num { background: linear-gradient(180deg, #fcd34d, var(--amber)); color: #1c1300; }

.disclaimer { background: linear-gradient(135deg, var(--amber-soft), #fff 60%); border-color: var(--amber-line); }
.disclaimer::before { display: none; }
.disc-ico { background: linear-gradient(180deg, #fcd34d, var(--amber-2)); box-shadow: 0 14px 28px -12px rgba(245, 158, 11, .7); }
.disc-ico .ico { color: #fff; }
.disclaimer p { color: #4b5361; }

.faq details[open] { border-color: var(--amber-line); }
.chev { background: var(--surface-2); }
.chev::before { border-color: var(--amber-2); }
.faq-body p { color: #4b5361; }

.site-footer { background: var(--bg-2); border-top-color: var(--line); }
.footer-brand p { color: #4b5361; }
.footer-col a { color: #4b5361; }
.footer-col a:hover { color: var(--amber-ink); }
.footer-bottom { border-top-color: var(--line); }

.page-hero {
  background:
    radial-gradient(800px 320px at 85% -10%, rgba(253, 196, 112, .30), transparent 70%),
    #fff;
  border-bottom-color: var(--line);
}
.title-ico { background: linear-gradient(180deg, #fcd34d, var(--amber-2)); box-shadow: 0 16px 30px -12px rgba(245, 158, 11, .7); }
.page-sub { color: #555d6b; }
.form-section { background: var(--bg-2); }
.form-card { background: #fff; border-color: var(--line); box-shadow: var(--shadow); }
.stepper { border-bottom-color: var(--line); }
.step.is-current .dot, .step.is-done .dot { background: linear-gradient(180deg, #fcd34d, var(--amber-2)); color: #1c1300; }
.field input, .field textarea { background: #fff; border-color: var(--line-2); color: var(--text); }
.field input::placeholder, .field textarea::placeholder { color: #9ca3af; }
.field input:focus, .field textarea:focus { border-color: var(--amber-2); box-shadow: 0 0 0 4px rgba(251, 191, 36, .25); }
.tab { background: #fff; border-color: var(--line-2); color: #4b5361; }
.tab.is-active { background: var(--amber-soft); border-color: var(--amber-2); color: var(--amber-ink); }
.agree { background: var(--bg-2); border-color: var(--line-2); color: #4b5361; }
.agree .box { background: #fff; border-color: #c9ced6; }
.agree input:checked + .box { background: var(--amber-2); border-color: var(--amber-2); }
.agree input:focus-visible + .box { box-shadow: 0 0 0 4px rgba(251, 191, 36, .3); }
.helper-card { background: #fff; border-color: var(--line-2); }
.helper-card:hover { border-color: var(--amber); }
.helper-ico { color: var(--amber-2); border-color: var(--amber-line); background: var(--amber-soft); }
.helper-txt em, .helper-card .arrow { color: var(--amber-ink); }
.toast { background: #111827; border-color: #111827; color: #fff; }
.menu-toggle { background: #fff !important; border-color: var(--line-2) !important; }

/* =====================================================================
   COMPACT SCALE — professional sizing (overrides the oversized originals)
   ===================================================================== */
body { font-size: 15.5px; }
.container { max-width: 1240px; padding: 0 32px; }
.container.narrow { max-width: 860px; }
html { scroll-padding-top: 84px; }

.header-inner { height: 72px; gap: 28px; }
.brand-logo { height: 44px; }
.pill-nav { padding: 4px; gap: 2px; }
.pill-link { padding: 8px 16px; font-size: 15px; gap: 8px; }
.pill-link .ico { width: 18px; height: 18px; }
.header-actions { gap: 8px; }
.btn-chip { height: 40px; padding: 0 14px; gap: 8px; border-radius: 10px; font: 500 15px var(--font); }
.btn-chip .ico { width: 18px; height: 18px; }
.btn-chip--ghost { padding: 0 14px; }
.btn-chip--ghost .ico { width: 17px; height: 17px; }
.btn-chip--ghost .ico-sm { width: 14px; height: 14px; }
.lang-menu { min-width: 160px; font-size: 15px; }
.lang-menu li { padding: 8px 12px; }

.btn { height: 50px; padding: 0 24px; gap: 10px; border-radius: 12px; font: 600 16px var(--font); }
.btn .ico { width: 20px; height: 20px; }

.hero { padding: 72px 0 88px; }
.hero-grid-bg { background-size: 56px 56px; }
.hero-inner { grid-template-columns: minmax(0, 1fr) 500px; gap: 64px; }
.badge { padding: 5px 14px; gap: 8px; font-size: 12px; letter-spacing: .5px; }
.badge i { width: 6px; height: 6px; }
.hero h1 { margin-top: 22px; font-size: 54px; line-height: 1.07; letter-spacing: -1.6px; }
.lead { margin-top: 24px; font-size: 18.5px; line-height: 1.7; max-width: 620px; }
.sub { margin-top: 12px; font-size: 16px; line-height: 1.7; max-width: 580px; }
.hero-cta { margin-top: 32px; gap: 12px; }
.hero-meta { margin-top: 20px; gap: 20px; font-size: 13.5px; }

.avail-card { padding: 24px 24px 26px; border-radius: 22px; }
.avail-title { margin-bottom: 20px; gap: 14px; }
.avail-title span { font-size: 12px; letter-spacing: 3px; }
.avail-grid { gap: 12px; }
.tile { height: 78px; border-radius: 14px; }
.avail-grid .tile { padding: 0 14px; gap: 10px; }
.tile-corner { width: 22px; height: 22px; top: -8px; right: -8px; }
.tile-corner svg { width: 11px; height: 11px; }
.wm { gap: 9px; }
.wm-android { font-size: 31px; letter-spacing: -.9px; }
.wm-android svg { width: 42px; height: 22px; margin-top: 5px; }
.wm-tv { font-size: 27px; letter-spacing: -.7px; }
.wm-tv svg { width: 28px; height: 28px; }
.wm-win svg { width: 34px; height: 34px; }
.wm-win small { font-size: 12.5px; margin-bottom: 2px; }
.wm-win strong { font-size: 24px; }
.wm-word { font-size: 29px; letter-spacing: -1px; }
.wm-word em { font-size: 15px; margin-left: 4px; }

.section { padding: 88px 0; }
.section-head { max-width: 680px; margin: 0 auto 44px; }
.eyebrow { font-size: 12px; letter-spacing: 3px; }
.section-head h2 { margin-top: 10px; font-size: 36px; letter-spacing: -1px; }
.section-head p { margin-top: 12px; font-size: 16.5px; }

.dl-grid, .features, .steps { gap: 18px; max-width: 1180px; }
.dl-card, .feature, .steps li { padding: 26px; border-radius: 18px; }
.dl-card h3 { margin: 16px 0 4px; font-size: 19px; }
.dl-meta { margin-bottom: 14px; font-size: 13px; }
.dl-steps { margin-bottom: 20px; font-size: 14.5px; }
.dl-steps code { font-size: 12.5px; }
.dl-btn { height: 46px; font-size: 15px; }
.f-ico { width: 44px; height: 44px; border-radius: 12px; }
.f-ico .ico { width: 21px; height: 21px; }
.feature h3, .steps h3 { margin: 16px 0 6px; font-size: 18px; }
.feature p, .steps p { font-size: 15px; }
.step-num { width: 34px; height: 34px; font-size: 15px; }
.center-cta { margin-top: 36px; }

.disclaimer { max-width: 1000px; padding: 28px 32px; gap: 20px; border-radius: 20px; }
.disc-ico { width: 48px; height: 48px; border-radius: 13px; }
.disc-ico .ico { width: 24px; height: 24px; }
.disclaimer h2 { font-size: 21px; margin-bottom: 8px; }
.disclaimer p { font-size: 15px; }

.faq { gap: 10px; }
.faq details { border-radius: 14px; }
.faq summary { padding: 17px 22px; font-size: 16px; }
.chev { width: 26px; height: 26px; }
.chev::before { width: 7px; height: 7px; }
.faq-body { padding: 0 22px 18px; }
.faq-body p { font-size: 15px; }

.site-footer { padding-top: 56px; }
.footer-grid { gap: 40px; }
.footer-brand .brand-logo { height: 50px; }
.footer-brand p { font-size: 14.5px; max-width: 380px; }
.footer-brand .footer-note { font-size: 13px; }
.footer-col { gap: 10px; font-size: 14.5px; }
.footer-col h4 { font-size: 12px; letter-spacing: 2px; }
.footer-bottom { margin-top: 44px; padding: 20px 0 24px; font-size: 13px; }

.page-hero { padding: 52px 0 56px; }
.page-title { gap: 16px; font-size: 42px; letter-spacing: -1.2px; }
.title-ico { width: 54px; height: 54px; border-radius: 14px; }
.title-ico .ico { width: 26px; height: 26px; }
.page-sub { margin-top: 18px; font-size: 17px; }
.form-section { padding: 56px 0 88px; }
.form-card { max-width: 780px; border-radius: 20px; }
.stepper { padding: 16px 30px; gap: 12px; }
.step { gap: 10px; font-size: 15px; }
.dot { width: 30px; height: 30px; font-size: 13.5px; }
.step-line { width: 40px; }
.form-body { padding: 34px 30px 30px; }
.field { margin-bottom: 20px; }
.field label { margin-bottom: 8px; font-size: 14.5px; font-weight: 600; }
.field input, .field textarea { height: 48px; padding: 0 14px; border-radius: 11px; font-size: 15.5px; }
.field textarea { padding: 12px 14px; }
.hint { margin-top: 7px; font-size: 13.5px; }
.error { font-size: 13px; }
.divider { margin: 28px 0 24px; font-size: 11.5px; letter-spacing: 2.5px; }
.tabs { gap: 8px; margin-bottom: 20px; }
.tab { padding: 11px; font-size: 14.5px; border-radius: 11px; }
.agree { padding: 16px 18px; gap: 12px; border-radius: 14px; font-size: 14.5px; line-height: 1.65; }
.agree .box { width: 22px; height: 22px; border-radius: 6px; }
.agree input:checked + .box::after { width: 5px; height: 10px; border-width: 0 2px 2px 0; }
.form-body .btn-block { margin-top: 24px; }
.helper-card { margin-top: 20px; padding: 14px 16px; gap: 14px; border-radius: 14px; }
.helper-ico { width: 42px; height: 42px; border-radius: 11px; }
.helper-txt strong { font-size: 15.5px; }
.helper-txt small { font-size: 13.5px; }
.form-success { padding: 48px 30px; }
.ok-ico { width: 64px; height: 64px; }
.ok-ico .ico { width: 30px; height: 30px; }
.form-success h2 { font-size: 26px; }
.form-success p { font-size: 15.5px; }
.legal { max-width: 780px; font-size: 14.5px; }

/* desktop nav stays visible down to 1024px (the old rule collapsed it at 1320px) */
@media (min-width: 1025px) {
  .menu-toggle { display: none !important; }
  .header-inner { flex-wrap: nowrap; height: 72px; min-height: 0; }
  .brand { height: auto; }
  .pill-nav, .header-actions { display: flex !important; width: auto; }
  .pill-nav { flex-direction: row; margin: 0; border-radius: 999px; }
  .header-actions { flex-wrap: nowrap; margin: 0 0 0 auto; }
  .pill-link { border-radius: 999px; }
}
@media (max-width: 1180px) and (min-width: 1025px) {
  .pill-link { padding: 8px 12px; }
  .header-inner { gap: 16px; }
}
@media (max-width: 1100px) {
  .hero-inner { grid-template-columns: 1fr; }
  .avail-card { max-width: 600px; }
}
@media (max-width: 1024px) {
  .container { padding: 0 24px; }
  .header-inner { min-height: 64px; }
  .brand { height: 64px; }
  .menu-toggle { width: 42px; height: 42px; padding: 0 11px; }
}
@media (max-width: 720px) {
  .container { padding: 0 16px; }
  .brand-logo { height: 38px; }
  .hero { padding: 40px 0 56px; }
  .badge { font-size: 11px; }
  .hero h1 { font-size: 36px; letter-spacing: -1px; }
  .lead { font-size: 16.5px; margin-top: 18px; }
  .sub { font-size: 14.5px; }
  .btn { height: 48px; font-size: 15px; width: 100%; }
  .hero-meta { flex-direction: column; gap: 8px; }
  .avail-card { padding: 20px 14px; }
  .avail-grid { gap: 10px; }
  .tile { height: 66px; }
  .avail-grid .tile { padding: 0 8px; gap: 6px; }
  .wm { gap: 6px; }
  .wm-android { font-size: 21px; letter-spacing: -.5px; }
  .wm-android svg { width: 28px; height: 15px; margin-top: 3px; }
  .wm-tv { font-size: 18px; letter-spacing: -.4px; }
  .wm-tv svg { width: 20px; height: 20px; }
  .wm-win svg { width: 22px; height: 22px; }
  .wm-win small { font-size: 10px; }
  .wm-win strong { font-size: 16px; }
  .wm-word { font-size: 20px; letter-spacing: -.6px; }
  .wm-word em { font-size: 11px; margin-left: 2px; }
  .section { padding: 60px 0; }
  .section-head { margin-bottom: 32px; }
  .section-head h2 { font-size: 27px; }
  .section-head p { font-size: 15px; }
  .disclaimer { padding: 22px 18px; }
  .page-title { font-size: 30px; gap: 12px; }
  .title-ico { width: 44px; height: 44px; }
  .title-ico .ico { width: 22px; height: 22px; }
  .page-sub { font-size: 15.5px; }
  .form-section { padding: 28px 0 60px; }
  .stepper { padding: 14px 18px; }
  .form-body { padding: 26px 18px 22px; }
}
@media (max-width: 720px) {
  .avail-grid .tile { padding: 0 10px; gap: 8px; }
  .wm { gap: 6px; }
  .wm-android { font-size: 24px; letter-spacing: -.6px; }
  .wm-android svg { width: 34px; height: 18px; margin-top: 4px; }
  .wm-tv { font-size: 21px; }
  .wm-tv svg { width: 24px; height: 24px; }
  .wm-win svg { width: 28px; height: 28px; }
  .wm-win small { font-size: 11px; }
  .wm-win strong { font-size: 19px; }
  .wm-word { font-size: 24px; letter-spacing: -.8px; }
  .wm-word em { font-size: 13px; margin-left: 3px; }
}

/* =====================================================================
   SMALLER STILL — desktop/tablet sizing pass 2
   ===================================================================== */
@media (min-width: 721px) {
  body { font-size: 15px; }
  .header-inner, .header-inner[class] { height: 64px; }
  .brand-logo { height: 38px; }
  .pill-link { padding: 7px 14px; font-size: 14px; gap: 7px; }
  .pill-link .ico { width: 17px; height: 17px; }
  .btn-chip { height: 36px; padding: 0 12px; gap: 7px; font-size: 14px; border-radius: 9px; }
  .btn-chip .ico { width: 17px; height: 17px; }
  .btn { height: 46px; padding: 0 22px; font-size: 15px; border-radius: 11px; }
  .btn .ico { width: 18px; height: 18px; }

  .hero { padding: 60px 0 76px; }
  .hero-inner { grid-template-columns: minmax(0, 1fr) 450px; gap: 56px; }
  .badge { font-size: 11px; padding: 4px 12px; }
  .hero h1 { margin-top: 18px; font-size: 46px; letter-spacing: -1.3px; }
  .lead { margin-top: 20px; font-size: 17px; max-width: 580px; }
  .sub { font-size: 15px; max-width: 540px; }
  .hero-cta { margin-top: 28px; gap: 10px; }
  .hero-meta { font-size: 13px; gap: 18px; margin-top: 18px; }

  .avail-card { padding: 22px 22px 24px; border-radius: 20px; }
  .avail-title { margin-bottom: 18px; }
  .avail-title span { font-size: 11.5px; }
  .avail-grid { gap: 10px; }
  .tile { height: 68px; border-radius: 12px; }
  .wm-android { font-size: 27px; }
  .wm-android svg { width: 36px; height: 19px; margin-top: 4px; }
  .wm-tv { font-size: 23px; }
  .wm-tv svg { width: 24px; height: 24px; }
  .wm-win svg { width: 29px; height: 29px; }
  .wm-win small { font-size: 11.5px; }
  .wm-win strong { font-size: 21px; }
  .wm-word { font-size: 25px; }
  .wm-word em { font-size: 13.5px; }

  .section { padding: 76px 0; }
  .section-head { margin-bottom: 38px; }
  .eyebrow { font-size: 11.5px; }
  .section-head h2 { font-size: 32px; }
  .section-head p { font-size: 15.5px; }
  .dl-card, .feature, .steps li { padding: 22px; border-radius: 16px; }
  .dl-card h3, .feature h3, .steps h3 { font-size: 17px; margin-top: 14px; }
  .feature p, .steps p { font-size: 14.5px; }
  .dl-steps { font-size: 14px; }
  .dl-btn { height: 44px; font-size: 14.5px; }
  .f-ico { width: 40px; height: 40px; border-radius: 11px; }
  .f-ico .ico { width: 19px; height: 19px; }
  .disclaimer h2 { font-size: 19px; }
  .disclaimer p { font-size: 14.5px; }
  .faq summary { padding: 15px 20px; font-size: 15.5px; }
  .faq-body p { font-size: 14.5px; }

  .page-hero { padding: 44px 0 48px; }
  .page-title { font-size: 36px; }
  .title-ico { width: 48px; height: 48px; }
  .title-ico .ico { width: 23px; height: 23px; }
  .page-sub { font-size: 16px; }
  .form-card { max-width: 720px; }
  .field label { font-size: 14px; }
  .field input { height: 46px; font-size: 15px; }
}

/* =====================================================================
   ARABIC / RIGHT-TO-LEFT
   ===================================================================== */
html[lang="ar"] body { font-family: "Tajawal", "Segoe UI", system-ui, sans-serif; }
html[lang="ar"] .hero h1, html[lang="ar"] .section-head h2, html[lang="ar"] .page-title,
html[lang="ar"] .badge, html[lang="ar"] .eyebrow, html[lang="ar"] .avail-title span,
html[lang="ar"] .divider, html[lang="ar"] .footer-col h4 { letter-spacing: 0; }
html[lang="ar"] .hero h1 { line-height: 1.25; }
html[lang="ar"] .lead, html[lang="ar"] .sub { line-height: 1.85; }
[dir="rtl"] .wm, [dir="rtl"] code, [dir="rtl"] #mac, [dir="rtl"] #key,
[dir="rtl"] input[type="url"] { direction: ltr; }
[dir="rtl"] code { unicode-bidi: isolate; display: inline-block; }
[dir="rtl"] #mac, [dir="rtl"] #key, [dir="rtl"] input[type="url"] { text-align: right; }
[dir="rtl"] .dl-steps { padding-left: 0; padding-right: 20px; }
[dir="rtl"] .tile-corner { right: auto; left: -8px; }
[dir="rtl"] .lang-menu { right: auto; left: 0; }
[dir="rtl"] .helper-card .arrow { transform: scaleX(-1); }
[dir="rtl"] .wm-win small { font-family: "Tajawal", var(--font); }
@media (min-width: 1025px) { [dir="rtl"] .header-actions { margin: 0 auto 0 0; } }

/* =====================================================================
   ANDROID DOWNLOAD WINDOW (compact)
   ===================================================================== */
.toast { z-index: 300; }
.dlm { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 16px;
  background: rgba(12, 16, 26, .5); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  opacity: 0; transition: opacity .18s ease; }
.dlm.is-in { opacity: 1; }
body.dlm-open { overflow: hidden; }
.dlm-card { width: 100%; max-width: 440px; max-height: calc(100vh - 32px); overflow: auto;
  background: #fff; border-radius: 22px; padding: 20px; color: var(--text);
  box-shadow: 0 1px 0 rgba(255,255,255,.6) inset, 0 30px 80px -24px rgba(10, 15, 30, .55);
  transform: translateY(8px) scale(.985); transition: transform .2s cubic-bezier(.2,.8,.2,1); }
.dlm.is-in .dlm-card { transform: none; }

.dlm-head { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.dlm-app { width: 46px; height: 46px; border-radius: 12px; flex: none; box-shadow: 0 6px 16px -6px rgba(10, 15, 30, .45); }
.dlm-title h2 { margin: 0; font-size: 17px; font-weight: 800; letter-spacing: -.3px; }
.dlm-title p { margin: 3px 0 0; display: flex; align-items: center; gap: 7px; font-size: 12.5px; color: #6b7280; }
.dlm-badge { display: inline-block; padding: 1px 7px; border-radius: 999px; background: var(--surface-2); color: #374151; font-size: 11px; font-weight: 700; }
.dlm-x { margin-left: auto; align-self: flex-start; width: 32px; height: 32px; border-radius: 9px; border: 0;
  background: var(--surface-2); color: #4b5361; display: grid; place-items: center; cursor: pointer; transition: background .15s; }
.dlm-x:hover { background: #e5e7eb; }
.dlm-x .ico { width: 17px; height: 17px; }

.dlm-main { display: flex; align-items: center; gap: 12px; height: 60px; padding: 0 14px 0 10px; border-radius: 14px;
  background: linear-gradient(180deg, #fcd34d, #fbbf24); color: #1c1300; text-decoration: none;
  box-shadow: 0 10px 22px -12px rgba(245, 158, 11, .9), inset 0 1px 0 rgba(255,255,255,.5);
  transition: transform .15s, box-shadow .2s; }
.dlm-main:hover, .dlm-main:focus-visible { transform: translateY(-1px); box-shadow: 0 14px 28px -12px rgba(245, 158, 11, 1), inset 0 1px 0 rgba(255,255,255,.5); outline: none; }
.dlm-main-logo { flex: none; width: 42px; height: 42px; border-radius: 11px; background: #fff; display: grid; place-items: center; box-shadow: 0 2px 6px rgba(120, 70, 0, .18); }
.dlm-main-logo svg { width: 28px; height: 16px; margin-top: 4px; }
.dlm-main-txt { flex: 1; display: flex; flex-direction: column; line-height: 1.2; }
.dlm-main-txt strong { font-size: 15.5px; font-weight: 800; }
.dlm-main-txt small { font-size: 12px; color: #6b4a00; margin-top: 2px; }
.dlm-main-go .ico { width: 20px; height: 20px; stroke-width: 2.2; }

.dlm-sep { display: flex; align-items: center; gap: 10px; margin: 16px 0 12px; color: #9ca3af; font-size: 10.5px; font-weight: 700; letter-spacing: 1.6px; text-transform: uppercase; }
.dlm-sep::before, .dlm-sep::after { content: ""; flex: 1; height: 1px; background: var(--line); }
html[lang="ar"] .dlm-sep { letter-spacing: 0; font-size: 12px; }

.dlm-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.dlm-box { border: 1px solid var(--line); border-radius: 14px; padding: 12px; display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.dlm-box small { font-size: 11.5px; color: #6b7280; line-height: 1.4; }
.dlm-box-head { display: flex; align-items: center; gap: 8px; }
.dlm-box-head strong { font-size: 13.5px; font-weight: 700; }
.dlm-box-logo { flex: none; width: 26px; height: 26px; display: grid; place-items: center; }
.dlm-box-logo svg { width: 26px; height: 26px; }
.dlm-box-logo--phone { border-radius: 7px; background: var(--surface-2); color: #374151; }
.dlm-box-logo--phone svg { width: 16px; height: 16px; }
.dlm-code { display: flex; align-items: center; justify-content: space-between; gap: 6px; width: 100%; margin-top: auto;
  padding: 7px 8px 7px 10px; border-radius: 9px; border: 0; background: #0c111d; cursor: pointer; transition: background .15s; }
.dlm-code:hover { background: #1b2232; }
.dlm-code code { background: none; padding: 0; color: #fcd34d; font-size: 11.5px; font-weight: 700; direction: ltr; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dlm-copy-ico { flex: none; color: #cbd5e1; display: grid; }
.dlm-copy-ico .ico { width: 14px; height: 14px; }
.dlm-code.is-done .dlm-copy-ico { color: #4ade80; }
.dlm-box--qr { flex-direction: row; align-items: center; gap: 10px; }
.dlm-box--qr > div { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.dlm-qr { flex: none; width: 78px; height: 78px; padding: 3px; border-radius: 8px; border: 1px solid var(--line); background: #fff; display: grid; place-items: center; }
.dlm-qr img, .dlm-qr canvas { width: 70px !important; height: 70px !important; image-rendering: pixelated; }

.dlm-note { margin: 12px 2px 0; font-size: 11.5px; color: #9ca3af; text-align: center; }
[dir="rtl"] .dlm-x { margin-left: 0; margin-right: auto; }
[dir="rtl"] .dlm-main-go { transform: scaleX(-1); }
[dir="rtl"] .dlm-code { padding: 7px 10px 7px 8px; }
@media (max-width: 460px) {
  .dlm-card { padding: 16px; border-radius: 20px; }
  .dlm-grid { grid-template-columns: 1fr; }
}
.dlm-grid { grid-template-columns: 1.35fr 1fr; }
.dlm-code code { white-space: normal; overflow: visible; word-break: break-all; font-size: 11.5px; text-align: left; }
@media (max-width: 460px) { .dlm-grid { grid-template-columns: 1fr; } }
.dlm-box--qr { flex-direction: column; align-items: stretch; gap: 8px; }
.dlm-box--qr > div { order: 1; }
.dlm-box--qr .dlm-qr { order: 2; align-self: center; width: 76px; height: 76px; }
.dlm-box--qr .dlm-qr img, .dlm-box--qr .dlm-qr canvas { width: 68px !important; height: 68px !important; }
.dlm-box--qr small { display: none; }

/* =====================================================================
   PLATFORM LOGO TILES (AVAILABLE ON)
   ===================================================================== */
button.tile { font: inherit; color: inherit; cursor: pointer; width: 100%; }
.avail-grid .tile { justify-content: center; padding: 0 12px; overflow: visible; }
.tile--soon { background: #fff; }
.tile--soon .bl { filter: saturate(.9); opacity: .92; }
.tile-soon { position: absolute; top: -8px; right: -8px; padding: 2px 8px; border-radius: 999px;
  background: #fff7e6; border: 1px solid var(--amber-line); color: var(--amber-ink);
  font-size: 10px; font-weight: 800; letter-spacing: .4px; text-transform: uppercase; }
[dir="rtl"] .tile-soon { right: auto; left: -8px; }
.bl { display: inline-flex; align-items: center; gap: 8px; color: #111; white-space: nowrap; direction: ltr; line-height: 1; }
.bl svg { flex: none; }

/* Samsung SMART TV */
.bl-samsung { flex-direction: column; align-items: flex-start; gap: 1px; }
.bl-samsung small { font: 600 11.5px/1 "Segoe UI", Arial, sans-serif; color: #1a1a1a; margin-left: 2px; }
.bl-samsung-row { display: inline-flex; align-items: center; font: 500 25px/1 "Segoe UI", Arial, sans-serif; letter-spacing: .5px; color: #1a1a1a; }
.bl-cube { width: 20px; height: 22px; margin: 0 1px; }
/* LG webOS */
.bl-lg svg { width: 32px; height: 32px; }
.bl-lg b { font: 800 24px/1 "Segoe UI", Arial, sans-serif; color: #6b6b6b; letter-spacing: -.5px; }
.bl-lg i { font: 300 23px/1 "Segoe UI", Arial, sans-serif; font-style: normal; color: #c8102e; letter-spacing: -.3px; margin-left: -2px; }
/* android */
.bl-android { font: 600 27px/1 "Poppins", var(--font); letter-spacing: -.8px; }
.bl-android svg { width: 36px; height: 19px; margin-top: 4px; }
/* fire tv stick */
.bl-fire { flex-direction: column; gap: 0; align-items: flex-start; }
.bl-fire-row { display: inline-flex; align-items: baseline; gap: 5px; font: 500 25px/1 "Segoe UI", Arial, sans-serif; letter-spacing: -.5px; }
.bl-fire-row b { font-weight: 500; color: #ff6a00; }
.bl-fire-row i { font-style: normal; color: #232f3e; }
.bl-smile { width: 74px; height: 11px; margin-top: -1px; }
/* android tv */
.bl-atv { font: 600 22px/1 "Poppins", var(--font); letter-spacing: -.6px; }
.bl-atv svg { width: 24px; height: 24px; }
.bl-atv b { font-weight: 500; color: #3ddc84; margin-left: 1px; }
/* Google TV */
.bl-gtv { font: 500 25px/1 "Poppins", "Segoe UI", Arial, sans-serif; letter-spacing: -.4px; gap: 0; }
.bl-gtv .g1 { color: #4285f4; } .bl-gtv .g2 { color: #ea4335; } .bl-gtv .g3 { color: #fbbc05; } .bl-gtv .g4 { color: #34a853; }
.bl-gtv i { font-style: normal; color: #5f6368; margin-left: 6px; font-weight: 400; }
/* Microsoft / Windows */
.bl-ms svg { width: 30px; height: 30px; }
.bl-stack { display: flex; flex-direction: column; line-height: 1.05; }
.bl-stack small { font: 500 11.5px "Segoe UI", var(--font); color: #5f6368; }
.bl-stack strong { font: 600 21px "Segoe UI", var(--font); color: #5e5e5e; letter-spacing: -.3px; }
/* Hisense VIDAA */
.bl-vidaa { flex-direction: column; align-items: flex-start; gap: 2px; }
.bl-vidaa small { font: 700 12px/1 "Segoe UI", Arial, sans-serif; color: #00a19c; letter-spacing: .3px; margin-left: 2px; }
.bl-vidaa b { font: 300 29px/1 "Segoe UI", "Poppins", Arial, sans-serif; letter-spacing: 3px;
  background: linear-gradient(90deg, #e8338a, #b02bd1 60%, #7b2fd9); -webkit-background-clip: text; background-clip: text; color: transparent; }
/* Roku */
.bl-roku { font: 900 33px/1 "Poppins", "Arial Black", sans-serif; letter-spacing: -1.2px; color: #6f1ab1; }
/* App Store */
.bl-apple svg { width: 24px; height: 30px; }
.bl-apple .bl-stack small { color: #111; }
.bl-apple .bl-stack strong { color: #111; font-weight: 600; }
/* whale tv */
.bl-whale { font: 700 28px/1 "Poppins", var(--font); letter-spacing: -1px; color: #ff1e56; gap: 4px; }
.bl-whale b { font-weight: 700; }
/* Titan OS */
.bl-titan svg { width: 26px; height: 24px; }
.bl-titan span { font: 300 21px/1 "Segoe UI", Arial, sans-serif; letter-spacing: 5px; color: #1d2a2e; }
.bl-titan sup { font-size: 11px; letter-spacing: 1px; margin-left: 2px; vertical-align: top; }

@media (max-width: 720px) {
  .avail-grid .tile { padding: 0 6px; }
  .bl-samsung-row { font-size: 17px; } .bl-cube { width: 14px; height: 15px; } .bl-samsung small { font-size: 9px; }
  .bl-lg svg { width: 22px; height: 22px; } .bl-lg b { font-size: 17px; } .bl-lg i { font-size: 16px; }
  .bl-android { font-size: 20px; } .bl-android svg { width: 26px; height: 14px; }
  .bl-fire-row { font-size: 17px; } .bl-smile { width: 52px; height: 8px; }
  .bl-vidaa b { font-size: 20px; letter-spacing: 2px; } .bl-vidaa small { font-size: 9px; }
  .bl-atv { font-size: 16px; } .bl-atv svg { width: 18px; height: 18px; }
  .bl-gtv { font-size: 18px; }
  .bl-ms svg, .bl-apple svg { width: 20px; height: 22px; } .bl-stack small { font-size: 9px; } .bl-stack strong { font-size: 15px; }
  .bl-vidaa { font-size: 22px; letter-spacing: 2px; } .bl-roku { font-size: 23px; }
  .bl-whale { font-size: 20px; } .bl-titan span { font-size: 15px; letter-spacing: 3px; } .bl-titan svg { width: 18px; height: 17px; }
  .tile-soon { font-size: 8.5px; padding: 1px 6px; }
}

/* Downloader code under the short link */
.dlm-dlcode { display: flex; align-items: center; justify-content: space-between; gap: 8px; width: 100%; margin-top: 8px; padding: 7px 10px; border-radius: 9px; background: #fff7e6; border: 1px solid #fcd9a1; font-size: 12px; color: #92400e; }
.dlm-dlcode strong { font-size: 17px; font-weight: 800; letter-spacing: 1.5px; color: #c2410c; direction: ltr; }

/* ---- Reseller page (2026-11-16) ---- */
.rs-hero .page-hero-inner { text-align: center; }
.rs-hero .page-title { justify-content: center; }
.rs-hero .page-sub { max-width: 620px; margin-left: auto; margin-right: auto; line-height: 1.7; }
.rs-actions { display: flex; justify-content: center; gap: 14px; margin-top: 30px; flex-wrap: wrap; }
.rs-actions .btn { min-width: 140px; }
.rs-actions .btn .ico { width: 18px; height: 18px; }
.rs-features { background: var(--bg-2); }
.rs-grid { grid-template-columns: repeat(4, 1fr); max-width: 1240px; }
.rs-grid .feature { padding: 26px; border-radius: 18px; background: #fff; }
.rs-grid .feature:hover { border-color: var(--amber-line); }
.rs-grid .f-ico { width: 52px; height: 52px; border-radius: 14px; background: var(--amber-soft); color: var(--amber-2); border-color: var(--amber-line); }
.rs-grid .f-ico .ico { width: 24px; height: 24px; }
.rs-grid .feature h3 { margin: 18px 0 6px; font-size: 18px; }
.rs-grid .feature p { font-size: 15px; line-height: 1.6; }
@media (max-width: 1100px) { .rs-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .rs-grid { grid-template-columns: 1fr; } .rs-hero .page-title { flex-direction: column; } }

/* ---- Reseller registration (2026-11-16) ---- */
.rg-section { padding-top: 40px; }
.rg-card { max-width: 620px; }
.rg-head { text-align: center; margin-bottom: 22px; }
.rg-ico { display: inline-grid; place-items: center; width: 56px; height: 56px; border-radius: 15px; background: linear-gradient(180deg, #fcd34d, var(--amber-2)); color: #1c1300; box-shadow: 0 14px 26px -12px rgba(245,158,11,.7); }
.rg-ico .ico { width: 26px; height: 26px; }
.rg-head h1 { font-size: 30px; letter-spacing: -.6px; margin: 16px 0 8px; }
.rg-head p { margin: 0 auto; max-width: 480px; font-size: 15.5px; line-height: 1.6; }
.rg-note { display: flex; align-items: center; gap: 12px; padding: 14px 16px; margin-bottom: 22px; border-radius: 14px; background: #eef7ff; border: 1px solid #bfe0fb; color: #334155; text-decoration: none; font-size: 14.5px; }
.rg-note .ico { width: 22px; height: 22px; flex: none; color: #0a8ad0; }
.rg-note span { flex: 1; }
.rg-note strong { color: #0369a1; white-space: nowrap; }
.rg-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.rg-err { margin: 0 0 14px; padding: 10px 14px; border-radius: 10px; background: #fef2f2; border: 1px solid #fecaca; color: #b91c1c; font-size: 14px; }
.rg-login { text-align: center; margin-top: 14px; }
.rg-login a { color: var(--amber-ink); font-weight: 600; }
.rg-code { text-align: center; font-size: 26px !important; letter-spacing: 10px; font-weight: 700; }
.rg-picks { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 10px; }
.rg-pick { padding: 8px 14px; border-radius: 10px; border: 1px solid var(--line-2); background: #fff; font: 600 14px var(--font); cursor: pointer; }
.rg-pick.is-on { background: var(--amber-soft); border-color: var(--amber-2); color: var(--amber-ink); }
.rg-total { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 4px 0 18px; }
.rg-total > div { padding: 12px 14px; border-radius: 12px; background: var(--bg-2); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 4px; font-size: 13px; }
.rg-total strong { font-size: 18px; }
.rg-sum { color: var(--amber-ink); }
.rg-pay { padding: 16px; border-radius: 14px; border: 1px solid #a7f3d0; background: #f0fdf9; margin-bottom: 18px; }
.rg-pay-head { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.rg-pay-head small { display: block; color: #047857; font-weight: 600; }
.rg-usdt { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: #26a17b; color: #fff; font-weight: 800; font-size: 18px; }
.rg-wallet-wrap { display: flex; gap: 14px; align-items: center; }
.rg-qr { flex: none; background: #fff; padding: 6px; border-radius: 10px; border: 1px solid var(--line); }
.rg-qr:empty { display: none; }
.rg-wallet-txt { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.rg-wallet { text-align: left; padding: 10px 12px; border-radius: 10px; border: 1px dashed #34d399; background: #fff; font: 600 13px ui-monospace, monospace; word-break: break-all; cursor: pointer; color: #065f46; }
.rg-wallet.is-done { background: #d1fae5; }
.rg-wait { padding: 12px 14px; border-radius: 10px; background: #fffbeb; border: 1px solid #fde68a; color: #92400e; font-size: 14px; }
.btn.is-busy { opacity: .6; pointer-events: none; }
@media (max-width: 600px) { .rg-row, .rg-total { grid-template-columns: 1fr; } .rg-wallet-wrap { flex-direction: column; align-items: stretch; } .rg-head h1 { font-size: 24px; } }

/* password field with eye + rules (2026-11-16) */
.rg-pass-wrap { position: relative; }
.rg-pass-wrap input { padding-right: 48px; }
.rg-eye { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); width: 36px; height: 36px; display: grid; place-items: center; border: 0; background: none; color: #6b7280; cursor: pointer; border-radius: 8px; }
.rg-eye .ico { width: 20px; height: 20px; }
.rg-eye.is-on { color: var(--amber-ink); }
.rg-rules { list-style: none; padding: 0; margin: 12px 0 4px; display: flex; flex-direction: column; gap: 6px; font-size: 13.5px; color: #6b7280; }
.rg-rules li { display: flex; align-items: center; gap: 9px; }
.rg-dot { width: 17px; height: 17px; border-radius: 50%; border: 1.5px solid #c9ced6; flex: none; position: relative; }
.rg-rules li.is-ok { color: #047857; }
.rg-rules li.is-ok .rg-dot { background: #10b981; border-color: #10b981; }
.rg-rules li.is-ok .rg-dot::after { content: ""; position: absolute; left: 5px; top: 2px; width: 4px; height: 8px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }

/* ---- Activation page (2026-11-16) ---- */
.ac-hero { text-align: center; }
.ac-hero .page-title { justify-content: center; }
.ac-card { max-width: 760px; }
.ac-mac { font: 600 17px ui-monospace, monospace !important; letter-spacing: 1.5px; }
.ac-agree { margin: 6px 0 20px; }
.ac-plan { display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 14px; background: var(--bg-2); border: 1px solid var(--line); margin-bottom: 16px; }
.ac-plan > div { display: flex; flex-direction: column; gap: 3px; }
.ac-plan strong { font: 700 16px ui-monospace, monospace; }
.ac-price { text-align: right; align-items: flex-end; }
.ac-price strong { font: 800 24px var(--font); color: var(--amber-ink); }

.rg-agree { margin: 4px 0 18px; }
.rg-agree a { color: var(--text); font-weight: 700; text-decoration: underline; text-decoration-color: var(--amber-2); text-underline-offset: 3px; }

/* ---- reseller signup: 5 steps + credits picker (2026-11-16) ---- */
.rg-card { max-width: 780px; transition: max-width .2s; }
.rg-card.is-wide { max-width: 1480px; }
.rg-card .stepper { flex-wrap: wrap; }
.rg-card .step.is-done .dot { background: #111827; color: #fff; font-size: 0; position: relative; }
.rg-card .step.is-done .dot::after { content: ""; position: absolute; left: 50%; top: 45%; width: 5px; height: 10px; border: solid #fff; border-width: 0 2px 2px 0; transform: translate(-50%, -50%) rotate(45deg); }
.cr-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 44px; align-items: start; margin-top: 10px; }
.cr-label { display: block; font-weight: 600; margin-bottom: 12px; }
.cr-stepper { display: flex; align-items: center; height: 92px; border: 1px solid var(--line-2); border-radius: 18px; background: #fff; }
.cr-stepper input { flex: 1; min-width: 0; border: 0 !important; box-shadow: none !important; background: transparent !important; text-align: center; font: 800 38px var(--font) !important; -moz-appearance: textfield; }
.cr-stepper input::-webkit-outer-spin-button, .cr-stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.cr-btn { width: 84px; height: 100%; border: 0; background: none; font-size: 30px; color: #374151; cursor: pointer; }
.cr-btn:hover { color: var(--amber-ink); }
.cr-hint { margin: 12px 0 0; font-size: 14px; color: #6b7280; }
.cr-sub { margin: 34px 0 4px; font-size: 18px; }
.cr-sub2 { margin: 0 0 14px; color: #6b7280; }
.cr-table { border: 1px solid var(--line); border-radius: 18px; overflow: hidden; background: #fff; }
.cr-row { display: flex; align-items: center; gap: 14px; width: 100%; padding: 18px 22px; border: 0; border-top: 1px solid var(--line); background: #fff; text-align: left; cursor: pointer; font: inherit; color: var(--text); }
.cr-row:first-child { border-top: 0; }
.cr-row:hover { background: #fffaf0; }
.cr-row.is-on { background: #fff8e1; }
.cr-dot { width: 9px; height: 9px; border-radius: 50%; background: #d1d5db; flex: none; }
.cr-row.is-on .cr-dot { background: var(--amber-2); }
.cr-name { font-size: 17px; font-weight: 600; }
.cr-off { padding: 3px 10px; border-radius: 999px; background: #ecfdf5; border: 1px solid #a7f3d0; color: #047857; font-size: 14px; font-weight: 700; }
.cr-price { margin-left: auto; display: flex; flex-direction: column; align-items: flex-end; }
.cr-price b { font-size: 18px; }
.cr-price small { color: #6b7280; font-size: 14px; }
.cr-right { position: sticky; top: 90px; }
.cr-sum-card { padding: 30px 32px; border-radius: 26px; border: 1px solid #fcd9a1; background: linear-gradient(180deg, #fffaeb, #fff 70%); }
.cr-sum-title { color: #b45309; font-weight: 700; font-size: 18px; }
.cr-big { display: flex; align-items: baseline; gap: 10px; margin: 8px 0 18px; padding-bottom: 18px; border-bottom: 1px solid #f6e3bf; }
.cr-big b { font-size: 48px; font-weight: 800; }
.cr-big span { color: #b45309; font-size: 18px; font-weight: 600; }
.cr-line { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; margin: 12px 0; color: #4b5563; font-size: 16px; }
.cr-line b { color: var(--text); }
.cr-total { color: var(--text); font-weight: 700; }
.cr-total b { font-size: 26px; }
.cr-mad { text-align: right; color: #6b7280; font-size: 14px; margin-top: -6px; }
.cr-note { color: #6b7280; font-size: 14px; margin: 16px 0; }
.cr-enough-t { font-size: 14px; color: #4b5563; font-weight: 600; margin-bottom: 8px; }
.cr-enough { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 24px; }
.cr-enough span { padding: 6px 14px; border-radius: 999px; border: 1px solid #fcd34d; background: #fff; font-size: 15px; }
.cr-go { height: 60px; font-size: 17px; }
.cr-go .ico { width: 20px; height: 20px; }
.cr-foot { text-align: center; color: #6b7280; font-size: 14px; margin: 14px 0 0; }
@media (max-width: 980px) { .cr-grid { grid-template-columns: 1fr; } .cr-right { position: static; } }

/* ---- discount badges on the price table (2026-11-16) ---- */
.cr-mid { display: flex; flex-direction: column; align-items: flex-start; gap: 5px; min-width: 0; }
.cr-tag { display: inline-flex; align-items: center; gap: 4px; padding: 2px 9px; border-radius: 999px; font-size: 12px; font-weight: 700; letter-spacing: .2px; }
.cr-tag--hot { background: #fff1e6; color: #c2410c; border: 1px solid #fdba74; }
.cr-tag--best { background: #eef2ff; color: #4338ca; border: 1px solid #c7d2fe; }
.cr-save { margin-left: auto; display: flex; flex-direction: column; align-items: center; justify-content: center; min-width: 66px; padding: 6px 10px; border-radius: 12px;
  background: linear-gradient(135deg, #ef4444, #f97316); color: #fff; box-shadow: 0 8px 18px -10px rgba(239, 68, 68, .9); transform: rotate(-3deg); }
.cr-save-pct { font-size: 18px; font-weight: 800; line-height: 1.05; }
.cr-save-lbl { font-size: 10px; font-weight: 700; letter-spacing: 1.5px; opacity: .9; }
.cr-row:hover .cr-save, .cr-row.is-on .cr-save { transform: rotate(0) scale(1.06); transition: transform .15s; }
.cr-price { margin-left: 18px; min-width: 92px; }
.cr-price s { color: #9ca3af; font-size: 13px; }
.cr-off { display: none; }
@media (max-width: 600px) { .cr-row { flex-wrap: wrap; } .cr-save { min-width: 56px; } }

.cr-price b i { font-style: normal; font-size: 12px; font-weight: 700; color: #6b7280; }
.cr-price { min-width: 110px; }

.cr-dist { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; margin: 0 0 22px; border-radius: 16px; border: 1px solid var(--line); background: #fff; color: #4b5563; font-size: 14.5px; line-height: 1.55; }
.cr-dist .ico { width: 22px; height: 22px; flex: none; color: #9ca3af; }
.cr-dist.is-on { border-color: #c7d2fe; background: #eef2ff; color: #3730a3; font-weight: 600; }
.cr-dist.is-on .ico { color: #4f46e5; fill: #c7d2fe; }

/* ---- payment step like the reference (2026-11-16) ---- */
.pm-opt { display: flex; align-items: center; gap: 16px; padding: 20px 22px; border-radius: 18px; border: 2px solid #fbbf24; background: #fffbeb; cursor: pointer; }
.pm-opt input { position: absolute; opacity: 0; pointer-events: none; }
.pm-radio { width: 24px; height: 24px; border-radius: 50%; border: 2px solid #d1d5db; flex: none; position: relative; background: #fff; }
.pm-opt.is-on .pm-radio { border-color: #f59e0b; background: #f59e0b; }
.pm-opt.is-on .pm-radio::after { content: ""; position: absolute; inset: 6px; border-radius: 50%; background: #fff; }
.pm-txt { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.pm-name { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-size: 20px; font-weight: 700; }
.pm-sec { display: inline-flex; align-items: center; gap: 5px; padding: 3px 10px; border-radius: 999px; background: #ecfdf5; border: 1px solid #a7f3d0; color: #047857; font-size: 13px; font-weight: 600; }
.pm-sec .ico { width: 14px; height: 14px; }
.pm-txt small { color: #6b7280; font-size: 15px; }
.pm-logos { margin-left: auto; display: flex; gap: 10px; align-items: center; }
.pm-binance { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 8px; background: #1e2026; color: #F3BA2F; font-weight: 800; font-size: 14px; }
.pm-binance svg { width: 20px; height: 20px; }
.pm-tether { padding: 6px 12px; border-radius: 8px; background: #26a17b; color: #fff; font-weight: 800; font-size: 14px; }
.pm-detail { margin: 12px 0 18px; padding: 18px 20px; border-radius: 16px; border: 1px solid var(--line); background: #fff; }
.pm-steps div { display: flex; align-items: center; gap: 10px; margin: 6px 0; font-size: 15px; color: #374151; }
.pm-steps span { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: #fef3c7; color: #b45309; font-weight: 800; font-size: 13px; flex: none; }
.pm-id { display: block; width: 100%; margin: 10px 0; padding: 14px; border-radius: 12px; border: 1.5px dashed #f59e0b; background: #fffbeb; font: 800 26px ui-monospace, monospace; letter-spacing: 3px; color: #92400e; cursor: pointer; }
.pm-id.is-done { background: #d1fae5; border-color: #10b981; color: #065f46; }
.pm-agree { margin: 4px 0 16px; }
.pm-agree a { color: var(--text); font-weight: 700; text-decoration: underline; text-decoration-color: var(--amber-2); text-underline-offset: 3px; }
.pm-pay { height: 60px; font-size: 18px; gap: 10px; }
.pm-pay .ico { width: 20px; height: 20px; }
.pm-back { display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; color: #374151; text-decoration: none; font-weight: 600; }
.pm-back .ico { width: 18px; height: 18px; }
.pm-order { padding: 26px 28px; border-radius: 24px; border: 1px solid var(--line); background: var(--bg-2); }
.pm-order-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; font-size: 18px; }
.pm-order-head a { color: #b45309; font-weight: 600; text-decoration: none; }
.pm-row { display: flex; justify-content: space-between; margin: 10px 0; color: #4b5563; font-size: 16px; }
.pm-row b { color: var(--text); }
.pm-total { margin-top: 16px; padding-top: 18px; border-top: 1px solid var(--line); color: var(--text); font-weight: 700; align-items: baseline; }
.pm-total b { font-size: 28px; font-weight: 800; }
.pm-mad { text-align: right; color: #6b7280; font-size: 14px; }
.pm-note { margin-top: 18px; padding: 14px 16px; border-radius: 14px; border: 1px solid var(--line); background: #fff; color: #4b5563; font-size: 15px; line-height: 1.55; }
@media (max-width: 600px) { .pm-opt { flex-wrap: wrap; } .pm-logos { margin-left: 40px; } .pm-id { font-size: 20px; } }

/* numbers + currency stay left-to-right inside Arabic text */
.money, .rg-wallet, .pm-id, .ac-mac, .ac-plan strong, #ac-price { direction: ltr; unicode-bidi: isolate; }
[dir="rtl"] .cr-price { margin-left: 0; margin-right: 18px; align-items: flex-start; }
[dir="rtl"] .cr-price.money { direction: ltr; }
[dir="rtl"] .cr-save { margin-left: 0; margin-right: auto; }
[dir="rtl"] .pm-logos { margin-left: 0; margin-right: auto; }
[dir="rtl"] .cr-row, [dir="rtl"] .pm-steps div { text-align: right; }
[dir="rtl"] .cr-mad, [dir="rtl"] .pm-mad { text-align: left; }
[dir="rtl"] .pm-back .ico, [dir="rtl"] .cr-go .ico, [dir="rtl"] .rs-actions .ico { transform: scaleX(-1); }
.pm-amount { margin: 6px 0 2px; text-align: center; font: 800 20px var(--font); color: #92400e; }

.cr-enough i { font-style: normal; }

/* ---- compact, professional Add Playlist page (2026-11-16) ---- */
.page-playlist .page-hero { padding: 34px 0 30px; }
.page-playlist .page-title { font-size: 30px; gap: 12px; letter-spacing: -.6px; }
.page-playlist .title-ico { width: 42px; height: 42px; border-radius: 11px; }
.page-playlist .title-ico .ico { width: 20px; height: 20px; }
.page-playlist .page-sub { margin-top: 10px; font-size: 15px; }
.page-playlist .form-section { padding: 32px 0 60px; }
.page-playlist .form-card { max-width: 560px; border-radius: 16px; }
.page-playlist .stepper { padding: 12px 22px; gap: 10px; }
.page-playlist .step { font-size: 14px; gap: 8px; }
.page-playlist .dot { width: 26px; height: 26px; font-size: 12.5px; }
.page-playlist .step-line { width: 30px; }
.page-playlist .form-body { padding: 22px 22px 20px; }
.page-playlist .field { margin-bottom: 14px; }
.page-playlist .field label { margin-bottom: 6px; font-size: 13.5px; }
.page-playlist .field input, .page-playlist .field textarea { height: 42px; padding: 0 12px; font-size: 14.5px; border-radius: 10px; }
.page-playlist .field textarea { height: auto; padding: 10px 12px; }
.page-playlist .hint, .page-playlist .error { font-size: 12.5px; margin-top: 5px; }
.page-playlist .divider { margin: 18px 0 14px; font-size: 13px; }
.page-playlist .tabs { gap: 8px; margin-bottom: 14px; }
.page-playlist .tab { height: 38px; font-size: 14px; border-radius: 10px; }
.page-playlist .agree { padding: 10px 12px; font-size: 13.5px; border-radius: 10px; }
.page-playlist .btn { height: 44px; font-size: 15px; border-radius: 10px; }
.page-playlist .helper-card { padding: 10px 14px; border-radius: 12px; }

/* ---- Add Playlist, MAC-only two steps (2026-11-16) ---- */
.page-playlist .form-card { max-width: 640px; }
.pl-edit { display: flex; align-items: center; gap: 14px; margin: 6px 0 4px; padding: 14px 16px; border-radius: 14px; border: 1px solid var(--line-2); background: var(--bg-2); text-decoration: none; color: var(--text); }
.pl-edit:hover { border-color: var(--amber-2); }
.pl-edit-ico { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; background: #fff; border: 1px solid var(--line); color: var(--amber-2); flex: none; }
.pl-edit-ico .ico { width: 20px; height: 20px; }
.pl-edit-txt { display: flex; flex-direction: column; gap: 3px; flex: 1; min-width: 0; }
.pl-edit-txt strong { font-size: 15px; }
.pl-edit-txt small { color: #4b5563; font-size: 13.5px; }
.pl-edit-txt em { font-style: normal; font-weight: 700; color: #b45309; }
.pl-edit-arrow { width: 20px; height: 20px; color: #b45309; flex: none; }
[dir="rtl"] .pl-edit-arrow, [dir="rtl"] .pl-next .ico:last-child, [dir="rtl"] .pl-back .ico { transform: scaleX(-1); }
.pl-foot { display: flex; justify-content: flex-end; margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--line); }
.pl-foot--split { justify-content: space-between; align-items: center; }
.page-playlist .pl-next { width: auto; min-width: 130px; padding: 0 22px; gap: 8px; }
.pl-next .ico { width: 18px; height: 18px; }
.pl-back { display: inline-flex; align-items: center; gap: 6px; color: #374151; font-weight: 600; text-decoration: none; }
.pl-back .ico { width: 18px; height: 18px; }
.pl-device { display: flex; align-items: center; gap: 10px; padding: 10px 14px; margin-bottom: 14px; border-radius: 10px; background: var(--bg-2); border: 1px solid var(--line); }
.pl-device b { font: 700 15px ui-monospace, monospace; }
.pl-device a { margin-left: auto; color: #b45309; font-weight: 600; font-size: 14px; text-decoration: none; }
[dir="rtl"] .pl-device a { margin-left: 0; margin-right: auto; }
.pl-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 520px) { .pl-row { grid-template-columns: 1fr; } }

/* device code + my playlists (2026-11-16) */
button.pl-edit { width: 100%; font: inherit; text-align: left; cursor: pointer; }
[dir="rtl"] button.pl-edit { text-align: right; }
.pl-mine { margin-bottom: 6px; }
.pl-mine-head { font-weight: 700; font-size: 14px; margin: 4px 0 10px; }
.pl-mine-head--add { margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--line); }
.pl-item { display: flex; align-items: center; gap: 10px; padding: 10px 12px; margin-bottom: 8px; border-radius: 12px; border: 1px solid var(--line-2); background: #fff; }
.pl-item.is-active { border-color: #fbbf24; background: #fffbeb; }
.pl-item-txt { display: flex; flex-direction: column; gap: 2px; flex: 1; min-width: 0; }
.pl-item-txt b { font-size: 15px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pl-item-txt small { color: #6b7280; font-size: 12.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pl-badge { padding: 4px 10px; border-radius: 999px; background: #fef3c7; color: #b45309; font-size: 12.5px; font-weight: 700; white-space: nowrap; }
.pl-btn { height: 34px; padding: 0 12px; border-radius: 9px; border: 1px solid var(--line-2); background: #fff; font: 600 13px var(--font); cursor: pointer; white-space: nowrap; }
.pl-btn:hover { border-color: var(--amber-2); }
.pl-btn--del { width: 34px; padding: 0; display: grid; place-items: center; color: #dc2626; }
.pl-btn--del .ico { width: 16px; height: 16px; }
.pl-empty { color: #6b7280; font-size: 14px; margin: 0 0 8px; }

/* ---- playlist cards like the reference (2026-11-16) ---- */
.pl-devcard { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 14px 18px; margin-bottom: 16px; border-radius: 16px; border: 1px solid var(--line-2); background: var(--bg-2); }
.pl-devcard > div:first-child { display: flex; flex-direction: column; gap: 3px; }
.pl-devlbl { font-size: 12px; letter-spacing: 1px; color: #6b7280; font-weight: 600; }
.pl-devcard b { font: 800 16px ui-monospace, monospace; letter-spacing: 1px; }
.pl-devact { display: flex; align-items: center; gap: 14px; }
.pl-remove { display: inline-flex; align-items: center; gap: 6px; border: 0; background: none; color: #e11d48; font: 600 14px var(--font); cursor: pointer; padding: 0; }
.pl-remove .ico { width: 16px; height: 16px; }
.pl-sep { width: 1px; height: 18px; background: var(--line-2); }
.pl-devact a { color: #374151; font-weight: 600; font-size: 14px; text-decoration: none; }
.pl-card { padding: 16px 18px; margin-bottom: 12px; border-radius: 16px; border: 1px solid var(--line-2); background: #fff; }
.pl-card-head { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; flex-wrap: wrap; }
.pl-num { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 8px; background: #fef3c7; border: 1px solid #fcd34d; color: #b45309; font-weight: 800; font-size: 13px; }
.pl-title { font-size: 16px; color: #4b5563; }
.pl-seg { margin-left: auto; display: flex; gap: 2px; padding: 3px; border-radius: 10px; background: var(--bg-2); }
[dir="rtl"] .pl-seg { margin-left: 0; margin-right: auto; }
.pl-seg button { display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 10px; border: 0; border-radius: 8px; background: none; font: 600 13px var(--font); color: #4b5563; cursor: pointer; }
.pl-seg button .ico { width: 15px; height: 15px; }
.pl-seg button.on { background: #fff; color: var(--text); box-shadow: 0 1px 3px rgba(0,0,0,.08); }
.pl-seg button.on .ico { color: var(--amber-2); }
.pl-x { width: 28px; height: 28px; border: 0; border-radius: 8px; background: #fef2f2; color: #dc2626; font-size: 18px; cursor: pointer; }
.pl-pane > label, .pl-namewrap label, .pl-row label { display: block; font-size: 13px; font-weight: 600; margin: 4px 0 6px; }
.pl-namewrap label em { font-style: normal; color: #9ca3af; font-weight: 500; }
.pl-input { display: flex; align-items: center; gap: 8px; height: 42px; padding: 0 12px; border: 1px solid var(--line-2); border-radius: 10px; background: #fff; }
.pl-input .ico { width: 16px; height: 16px; color: #9ca3af; flex: none; }
.pl-input input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font: 14.5px var(--font); color: var(--text); }
.pl-input:focus-within { border-color: var(--amber-2); box-shadow: 0 0 0 3px rgba(251,191,36,.2); }
.pl-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 8px; }
.pl-row input, .pl-namewrap input { width: 100%; height: 40px; padding: 0 12px; border: 1px solid var(--line-2); border-radius: 10px; font: 14.5px var(--font); box-sizing: border-box; }
.pl-namewrap { margin-top: 10px; }
.pl-file { display: flex; align-items: center; gap: 8px; height: 42px; padding: 0 12px; border: 1px dashed #d1d5db; border-radius: 10px; cursor: pointer; color: #4b5563; font-size: 14px; }
.pl-file .ico { width: 16px; height: 16px; color: #9ca3af; }
.pl-file input { display: none; }
.pl-card-err { margin: 8px 0 0; color: #dc2626; font-size: 13px; }
.pl-card-err:empty { display: none; }
.pl-addcard { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; height: 52px; margin: 4px 0 16px; border: 1.5px dashed #d1d5db; border-radius: 14px; background: none; color: var(--text); font: 14.5px var(--font); cursor: pointer; }
.pl-addcard:hover { border-color: var(--amber-2); }
.pl-addcard .ico { width: 18px; height: 18px; }
.pl-addcard span { color: #6b7280; }
.pl-warn { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; margin: 14px 0 4px; border-radius: 12px; border: 1px solid #fcd34d; background: #fffbeb; color: #78350f; font-size: 14px; line-height: 1.5; }
.pl-warn .ico { width: 20px; height: 20px; color: #d97706; flex: none; }
.page-playlist .pl-backbtn { width: auto; min-width: 100px; }
@media (max-width: 560px) { .pl-seg { margin-left: 0; width: 100%; } .pl-seg button { flex: 1; justify-content: center; } .pl-row { grid-template-columns: 1fr; } }

/* TOP Player ID field on the sign-up (2026-11-16) */
.rg-id { display: flex; align-items: stretch; border: 1px solid var(--line, #e5e7eb); border-radius: 12px; overflow: hidden; background: #fff; direction: ltr; }
.rg-id:focus-within { border-color: #f59e0b; box-shadow: 0 0 0 3px rgba(245,158,11,.2); }
.rg-id input { border: 0 !important; box-shadow: none !important; flex: 1; min-width: 0; border-radius: 0 !important; text-transform: lowercase; }
.rg-id span { display: flex; align-items: center; padding: 0 14px; background: #f8fafc; border-left: 1px solid var(--line, #e5e7eb); color: #475569; font-weight: 600; font-size: 14px; white-space: nowrap; }
.rg-id-st { display: block; margin-top: 6px; font-size: 13px; color: #6b7280; }
.rg-id-st.is-ok { color: #047857; font-weight: 600; }
.rg-id-st.is-bad { color: #b91c1c; font-weight: 600; }
.rg-id-st.is-wait { color: #92400e; }

/* "Download APK" window, reference layout (2026-11-20) */
.dlm-card.dlm2 { max-width: 560px; padding: 30px 30px 22px; border-radius: 28px; }
.dlm2 .dlm-head { margin-bottom: 22px; gap: 16px; }
.dlm2 .dlm-app { width: 60px; height: 60px; border-radius: 14px; }
.dlm2 .dlm-title h2 { font-size: 24px; }
.dlm2 .dlm-title p { font-size: 15px; margin-top: 4px; }
.dlm2-opt { display: flex; align-items: center; gap: 18px; padding: 18px 20px; border-radius: 18px; border: 1px solid var(--line, #e5e7eb); background: #fff; margin-bottom: 14px; color: inherit; text-decoration: none; }
.dlm2-direct { background: #fff8e7; border-color: #fcd977; transition: transform .12s, box-shadow .12s; }
.dlm2-direct:hover { transform: translateY(-1px); box-shadow: 0 14px 28px -18px rgba(245, 158, 11, .9); }
.dlm2-ic { width: 64px; height: 64px; border-radius: 16px; display: grid; place-items: center; flex: none; overflow: hidden; }
.dlm2-ic img { width: 100%; height: 100%; display: block; }
.dlm2-ic--amber { background: #fbbf24; color: #111827; }
.dlm2-ic .ico { width: 30px; height: 30px; stroke-width: 2; }
.dlm2-txt { flex: 1; display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.dlm2-txt strong { font-size: 19px; font-weight: 800; }
.dlm2-txt small { font-size: 15px; color: #6b7280; }
.dlm2-go { color: #d97706; display: grid; }
.dlm2-go .ico { width: 26px; height: 26px; stroke-width: 2.2; }
[dir="rtl"] .dlm2-go { transform: scaleX(-1); }
.dlm2-code { align-self: flex-start; display: inline-flex; align-items: center; gap: 10px; padding: 6px 10px; border: 0; border-radius: 8px; background: #0f1524; color: #fcd34d; cursor: pointer; direction: ltr; }
.dlm2-code code { background: none; padding: 0; color: #fcd34d; font: 700 15px ui-monospace, Menlo, Consolas, monospace; letter-spacing: .04em; }
.dlm2-code .dlm-copy-ico { color: #cbd5e1; }
.dlm2-code.is-done .dlm-copy-ico { color: #4ade80; }
.tile.tile--wide { grid-column: 1 / -1; }
@media (max-width: 520px) { .dlm-card.dlm2 { padding: 20px 18px 16px; border-radius: 22px; } .dlm2-opt { padding: 14px; gap: 14px; } .dlm2-ic { width: 52px; height: 52px; } .dlm2-txt strong { font-size: 17px; } }

/* privacy / terms pages */
.legal-doc { max-width: 820px; font-size: 16px; line-height: 1.7; color: #1f2937; }
.legal-doc h2 { margin: 30px 0 8px; font-size: 21px; }
.legal-doc ul { padding-left: 20px; }
.legal-doc li { margin: 6px 0; }
.legal-doc a { color: #b45309; }
.legal-page { padding-top: 10px; }

/* ---- download window v3: smaller + QR (2026-11-21) ---- */
.dlm-card.dlm2 { max-width: 430px; padding: 22px 22px 16px; border-radius: 24px; }
.dlm2 .dlm-head { margin-bottom: 16px; gap: 12px; }
.dlm2 .dlm-app { width: 48px; height: 48px; border-radius: 12px; }
.dlm2 .dlm-title h2 { font-size: 20px; }
.dlm2 .dlm-title p { font-size: 13.5px; margin-top: 2px; }
.dlm3-qr { display: flex; align-items: center; gap: 16px; padding: 14px; margin-bottom: 12px; border-radius: 18px;
  background: linear-gradient(135deg, #0f1524 0%, #1c2742 100%); color: #fff; box-shadow: 0 14px 30px -18px rgba(15, 21, 36, .8); }
.dlm3-qrbox { flex: none; padding: 8px; border-radius: 14px; background: #fff; box-shadow: 0 0 0 3px rgba(251, 191, 36, .55); }
.dlm3-qrcode { width: 116px; height: 116px; }
.dlm3-qrcode img, .dlm3-qrcode canvas { width: 116px !important; height: 116px !important; display: block; }
.dlm3-qrtxt { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.dlm3-qrtxt strong { display: flex; align-items: center; gap: 8px; font-size: 16.5px; font-weight: 800; color: #fcd34d; }
.dlm3-qrtxt strong svg { width: 20px; height: 20px; flex: none; }
.dlm3-qrtxt small { font-size: 13px; color: #cbd5e1; line-height: 1.45; }
.dlm2-opt { gap: 14px; padding: 12px 14px; border-radius: 16px; margin-bottom: 10px; }
.dlm2-ic { width: 46px; height: 46px; border-radius: 12px; }
.dlm2-ic .ico { width: 24px; height: 24px; }
.dlm2-txt { gap: 4px; }
.dlm2-txt strong { font-size: 15.5px; }
.dlm2-txt strong em { font-style: normal; font-weight: 600; font-size: 13px; color: #9ca3af; }
.dlm2-txt small { font-size: 13px; }
.dlm2-go .ico { width: 22px; height: 22px; }
.dlm2-code { padding: 5px 10px; gap: 8px; }
.dlm2-code code { font-size: 13.5px; }
.dlm2 .dlm-note { font-size: 12px; margin-top: 6px; }
@media (max-width: 520px) { .dlm-card.dlm2 { padding: 18px 16px 14px; } .dlm3-qrcode, .dlm3-qrcode img, .dlm3-qrcode canvas { width: 96px !important; height: 96px !important; } }
/* 2026-11-28: "tp" logo inside the QR + yellow corner marks (same as the TOP Player / ASTRO7 panels) */
.dlm3-qrbox { position: relative; box-shadow: 0 10px 24px -12px rgba(0, 0, 0, .55); }
.dlm3-qrbox > i { position: absolute; width: 16px; height: 16px; border: 3px solid #fbbf24; }
.dlm3-qrbox > i:nth-child(1) { top: -5px; left: -5px; border-right: 0; border-bottom: 0; border-radius: 8px 0 0 0; }
.dlm3-qrbox > i:nth-child(2) { top: -5px; right: -5px; border-left: 0; border-bottom: 0; border-radius: 0 8px 0 0; }
.dlm3-qrbox > i:nth-child(3) { bottom: -5px; left: -5px; border-right: 0; border-top: 0; border-radius: 0 0 0 8px; }
.dlm3-qrbox > i:nth-child(4) { bottom: -5px; right: -5px; border-left: 0; border-top: 0; border-radius: 0 0 8px 0; }
.dlm3-qrlogo { position: absolute; left: 50%; top: 50%; width: 30px; height: 30px; margin: -15px 0 0 -15px; border-radius: 8px; box-shadow: 0 0 0 3px #fff, 0 2px 6px rgba(0, 0, 0, .25); }
@media (max-width: 520px) { .dlm3-qrlogo { width: 26px; height: 26px; margin: -13px 0 0 -13px; } }

/* ---- Video showcase (2026-11-28): a dark cinematic band with the promo on a TV ---- */
.tp-show { position: relative; overflow: hidden; padding: 88px 0 96px; color: #fff;
  background: radial-gradient(ellipse at 12% 0%, rgba(255, 222, 89, .20), rgba(255, 222, 89, 0) 42%),
    radial-gradient(ellipse at 100% 100%, rgba(59, 91, 255, .32), rgba(59, 91, 255, 0) 48%),
    linear-gradient(160deg, #141a2e 0%, #0b1020 100%); }
.tp-show-grid { position: absolute; inset: 0; pointer-events: none; opacity: .9;
  background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 56px 56px; -webkit-mask-image: radial-gradient(ellipse at 50% 40%, #000 30%, transparent 75%); mask-image: radial-gradient(ellipse at 50% 40%, #000 30%, transparent 75%); }
.tp-show-in { position: relative; }
.tp-show-head { text-align: center; max-width: 760px; margin: 0 auto 44px; }
.tp-show-eyebrow { display: inline-block; font-size: 12px; font-weight: 800; letter-spacing: 2px; color: #111; background: #ffde59; border-radius: 30px; padding: 6px 14px; margin-bottom: 16px; }
.tp-show-head h2 { margin: 0 0 12px; font-size: clamp(30px, 4.4vw, 50px); font-weight: 800; letter-spacing: -1px; color: #fff; }
.tp-show-head h2 span { color: #ffde59; }
.tp-show-head p { margin: 0; font-size: 17px; line-height: 1.6; color: #c9d2e8; }
.tp-show-tv { max-width: 980px; margin: 0 auto; }
.tp-show-bezel { padding: 14px; border-radius: 22px; background: linear-gradient(180deg, #2a2d34, #0d0e12);
  box-shadow: 0 60px 120px rgba(0, 0, 0, .6), 0 0 0 1.5px #3a3d46, 0 0 80px rgba(255, 222, 89, .10); }
.tp-show-screen { position: relative; aspect-ratio: 16 / 9; border-radius: 8px; overflow: hidden; background: #000; }
.tp-show-screen video { width: 100%; height: 100%; display: block; object-fit: cover; }
.tp-show-screen:after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(125deg, rgba(255,255,255,.09) 0%, rgba(255,255,255,0) 32%); }
.tp-show-play { position: absolute; left: 50%; top: 50%; width: 92px; height: 92px; margin: -46px 0 0 -46px; border: 0; border-radius: 50%; cursor: pointer; z-index: 2;
  background: #ffde59; box-shadow: 0 0 0 12px rgba(255, 222, 89, .22), 0 20px 50px rgba(0, 0, 0, .5); transition: transform .2s, opacity .3s; }
.tp-show-play svg { width: 40px; height: 40px; fill: #111; margin-left: 6px; }
.tp-show-play:hover { transform: scale(1.07); }
.tp-show.playing .tp-show-play { opacity: 0; pointer-events: none; }
.tp-show-sound { position: absolute; right: 14px; bottom: 14px; z-index: 2; border: 1px solid rgba(255,255,255,.25); border-radius: 30px; padding: 8px 14px; cursor: pointer;
  font: 700 13px/1 inherit; color: #fff; background: rgba(15, 20, 36, .75); display: none; }
.tp-show.playing .tp-show-sound { display: block; }
.tp-show-feet { position: relative; height: 34px; max-width: 980px; margin: 0 auto; }
.tp-show-feet i { position: absolute; top: 0; width: 140px; height: 14px; border-radius: 0 0 10px 10px; background: linear-gradient(180deg, #2d3038, #15171c); }
.tp-show-feet i:first-child { left: 12%; transform: skewX(-25deg); }
.tp-show-feet i:last-child { right: 12%; transform: skewX(25deg); }
.tp-show-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 26px; }
.tp-show-chips span { font-size: 15px; font-weight: 700; color: #fff; border: 1.5px solid rgba(255, 222, 89, .45); background: rgba(15, 20, 36, .6); border-radius: 40px; padding: 10px 20px; }
.tp-show-chips b { color: #ffde59; margin-right: 6px; }
html[lang="ar"] .tp-show-chips b { margin: 0 0 0 6px; }
/* 2026-11-28: smaller, tidier video block (was 980px wide — too big next to the rest of the page) */
.tp-show { padding: 64px 0 70px; }
.tp-show-head { max-width: 640px; margin-bottom: 30px; }
.tp-show-head h2 { font-size: clamp(26px, 3.4vw, 38px); }
.tp-show-head p { font-size: 15.5px; }
.tp-show-tv, .tp-show-feet { max-width: 700px; }
.tp-show-bezel { padding: 10px; border-radius: 18px; }
.tp-show-feet { height: 26px; }
.tp-show-feet i { width: 100px; height: 11px; }
.tp-show-play { width: 72px; height: 72px; margin: -36px 0 0 -36px; }
.tp-show-play svg { width: 30px; height: 30px; margin-left: 5px; }
.tp-show-chips { margin-top: 18px; gap: 10px; }
.tp-show-chips span { font-size: 13.5px; padding: 8px 16px; }
@media (max-width: 640px) { .tp-show { padding: 56px 0 64px; } .tp-show-play { width: 70px; height: 70px; margin: -35px 0 0 -35px; } .tp-show-play svg { width: 30px; height: 30px; } .tp-show-chips span { font-size: 13px; padding: 8px 14px; } }
/* 2026-11-29: Japanese / Chinese have no spaces, so the header labels broke letter by letter
   ("ホ/ー/ム", "日/本/語"): keep each label on one line */
html[lang="ja"] .pill-link, html[lang="zh"] .pill-link,
html[lang="ja"] .btn-chip, html[lang="zh"] .btn-chip,
html[lang="ja"] .lang-current, html[lang="zh"] .lang-current { white-space: nowrap; word-break: keep-all; }
html[lang="ja"] .pill-nav, html[lang="zh"] .pill-nav { flex-wrap: nowrap; }

/* =====================================================================
   GLASS (LIGHT) — 2026-11-30: frosted white glass like iOS, soft colour light behind
   ===================================================================== */
body {
  background:
    radial-gradient(900px 620px at 8% 4%, rgba(255, 214, 74, .30), transparent 65%),
    radial-gradient(900px 700px at 96% 28%, rgba(106, 170, 255, .26), transparent 65%),
    radial-gradient(800px 640px at 30% 78%, rgba(176, 120, 255, .18), transparent 65%),
    radial-gradient(800px 600px at 92% 96%, rgba(80, 210, 200, .18), transparent 65%),
    #f2f4fa;
  background-attachment: fixed;
}
.hero, .page-hero, .section--alt, .site-footer, .form-section { background: transparent !important; }
.hero-grid-bg { opacity: .45; }
.site-header {
  background: rgba(255, 255, 255, .55) !important; border-bottom-color: rgba(255, 255, 255, .7) !important;
  -webkit-backdrop-filter: blur(20px) saturate(180%); backdrop-filter: blur(20px) saturate(180%);
}
.pill-nav, .btn-chip, .btn-chip--ghost, .lang-menu {
  background: rgba(255, 255, 255, .5) !important; border: 1px solid rgba(255, 255, 255, .8) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .9), 0 4px 14px -6px rgba(20, 30, 60, .18);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
}
.pill-link.is-active { background: rgba(255, 255, 255, .9) !important; }
.btn-chip--accent { background: linear-gradient(180deg, rgba(255, 240, 180, .85), rgba(255, 214, 90, .6)) !important; border-color: rgba(255, 220, 120, .9) !important; }
.avail-card, .dl-card, .feature, .steps li, .faq details, .disclaimer, .form-card, .helper-card, .tile {
  background: linear-gradient(160deg, rgba(255, 255, 255, .72), rgba(255, 255, 255, .42)) !important;
  border: 1px solid rgba(255, 255, 255, .85) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .95), 0 18px 40px -22px rgba(20, 30, 60, .28) !important;
  -webkit-backdrop-filter: blur(18px) saturate(170%); backdrop-filter: blur(18px) saturate(170%);
  border-radius: 24px !important;
}
.tile { border-radius: 18px !important; }
.dl-card:hover, .feature:hover { box-shadow: inset 0 1px 0 #fff, 0 26px 50px -24px rgba(20, 30, 60, .38) !important; }
.btn-primary {
  border-radius: 999px !important;
  background: linear-gradient(180deg, #fff07a 0%, #f8d22a 55%, #eebd0c 100%) !important;
  box-shadow: inset 0 2px 0 rgba(255, 255, 255, .75), inset 0 -2px 0 rgba(160, 110, 0, .22), 0 14px 28px -12px rgba(238, 170, 0, .7) !important;
}
.btn-outline {
  border-radius: 999px !important; background: rgba(255, 255, 255, .55) !important; border: 1px solid rgba(255, 255, 255, .9) !important;
  box-shadow: inset 0 1px 0 #fff, 0 8px 20px -12px rgba(20, 30, 60, .3);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
}
.f-ico, .disc-ico, .title-ico, .step-num { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .8), 0 10px 20px -10px rgba(238, 170, 0, .6) !important; }
.field input, .field textarea, .tab, .agree { background: rgba(255, 255, 255, .6) !important; border-color: rgba(255, 255, 255, .9) !important; }

/* =====================================================================
   GLASS (DARK / NIGHT) — html.theme-dark, switched by the sun / moon button
   ===================================================================== */
html.theme-dark {
  --bg: #0a0f22; --bg-2: #0d1430; --surface: rgba(255,255,255,.06); --surface-2: rgba(255,255,255,.08); --surface-3: rgba(255,255,255,.1);
  --line: rgba(255,255,255,.14); --line-2: rgba(255,255,255,.22);
  --text: #f3f6fc; --text-2: #cdd5e6; --muted: #9aa6c0;
  --amber-soft: rgba(255, 214, 74, .14); --amber-line: rgba(255, 214, 74, .45); --amber-ink: #ffd64a;
}
html.theme-dark body {
  background:
    radial-gradient(900px 620px at 10% 6%, rgba(61, 99, 255, .40), transparent 65%),
    radial-gradient(800px 640px at 95% 40%, rgba(138, 77, 255, .32), transparent 65%),
    radial-gradient(800px 600px at 20% 92%, rgba(0, 194, 216, .18), transparent 65%),
    linear-gradient(160deg, #0d1430, #080b18) !important;
  background-attachment: fixed !important; color: var(--text) !important;
}
html.theme-dark .hero, html.theme-dark .page-hero, html.theme-dark .section--alt, html.theme-dark .site-footer, html.theme-dark .form-section { background: transparent !important; border-color: var(--line) !important; }
html.theme-dark .hero-grid-bg { opacity: .12; }
html.theme-dark .site-header {
  background: rgba(10, 15, 34, .55) !important; border-bottom-color: rgba(255, 255, 255, .12) !important;
  -webkit-backdrop-filter: blur(20px) saturate(170%); backdrop-filter: blur(20px) saturate(170%);
}
html.theme-dark .brand-logo, html.theme-dark .footer-brand img { filter: none; }
html.theme-dark .pill-nav, html.theme-dark .btn-chip, html.theme-dark .btn-chip--ghost, html.theme-dark .lang-menu {
  background: rgba(255, 255, 255, .07) !important; border: 1px solid rgba(255, 255, 255, .18) !important; color: var(--text) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25);
}
html.theme-dark .pill-link { color: #c3cbe0 !important; }
html.theme-dark .pill-link.is-active { background: rgba(255, 255, 255, .16) !important; color: #fff !important; }
html.theme-dark .lang-menu li { color: var(--text-2) !important; }
html.theme-dark .btn-chip--accent { background: rgba(255, 214, 74, .16) !important; border-color: rgba(255, 214, 74, .5) !important; color: #ffd64a !important; }
html.theme-dark .avail-card, html.theme-dark .dl-card, html.theme-dark .feature, html.theme-dark .steps li, html.theme-dark .faq details, html.theme-dark .disclaimer, html.theme-dark .form-card, html.theme-dark .helper-card, html.theme-dark .tile {
  background: linear-gradient(160deg, rgba(255, 255, 255, .11), rgba(255, 255, 255, .035)) !important;
  border: 1px solid rgba(255, 255, 255, .18) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .30), 0 24px 50px -26px rgba(0, 0, 0, .7) !important;
  -webkit-backdrop-filter: blur(18px) saturate(160%); backdrop-filter: blur(18px) saturate(160%);
  border-radius: 24px !important; color: var(--text) !important;
}
html.theme-dark .tile { border-radius: 18px !important; }
html.theme-dark .wm, html.theme-dark .wm-word, html.theme-dark .wm-win strong { color: #fff !important; }
html.theme-dark .wm-win small { color: #c3cbe0 !important; }
html.theme-dark .hero h1, html.theme-dark .section-head h2, html.theme-dark .dl-card h3, html.theme-dark .feature h3, html.theme-dark .steps h3, html.theme-dark .faq summary, html.theme-dark .disclaimer strong { color: #fff !important; }
html.theme-dark .lead { color: #e3e8f4 !important; }
html.theme-dark .sub, html.theme-dark .section-head p, html.theme-dark .feature p, html.theme-dark .steps p, html.theme-dark .dl-steps, html.theme-dark .dl-meta, html.theme-dark .disclaimer p, html.theme-dark .faq-body p, html.theme-dark .footer-brand p, html.theme-dark .footer-col a, html.theme-dark .page-sub { color: #b7c1d8 !important; }
html.theme-dark .btn-primary {
  border-radius: 999px !important;
  background: linear-gradient(180deg, #fff07a 0%, #f8d22a 55%, #eebd0c 100%) !important; color: #16181e !important;
  box-shadow: inset 0 2px 0 rgba(255, 255, 255, .75), 0 14px 30px -12px rgba(242, 196, 18, .65) !important;
}
html.theme-dark .btn-outline {
  border-radius: 999px !important; background: rgba(255, 255, 255, .08) !important; border: 1px solid rgba(255, 255, 255, .28) !important; color: #fff !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .3);
}
html.theme-dark .f-ico { background: rgba(255, 214, 74, .14) !important; border-color: rgba(255, 214, 74, .4) !important; }
html.theme-dark .chev { background: rgba(255, 255, 255, .1) !important; }
html.theme-dark .field input, html.theme-dark .field textarea, html.theme-dark .tab, html.theme-dark .agree { background: rgba(255, 255, 255, .07) !important; border-color: rgba(255, 255, 255, .2) !important; color: #fff !important; }
html.theme-dark .badge { background: rgba(255, 214, 74, .14) !important; color: #ffd64a !important; }
html.theme-dark .avail-grid .tile { background:linear-gradient(160deg, rgba(255,255,255,.92), rgba(255,255,255,.78)) !important; border-color:rgba(255,255,255,.9) !important; }
html.theme-dark .avail-grid .tile .wm, html.theme-dark .avail-grid .tile .wm-word, html.theme-dark .avail-grid .tile .wm-win strong { color:#111 !important; }
html.theme-dark .avail-grid .tile .wm-win small { color:#5b6270 !important; }



/* the logo for day / night, and the theme button */
.logo-night { display: none !important; }
html.theme-dark .logo-day { display: none !important; }
html.theme-dark .logo-night { display: block !important; }
.theme-toggle { width: 44px; padding: 0 !important; justify-content: center; }
.theme-toggle .ico-sun { display: none; }
html.theme-dark .theme-toggle .ico-sun { display: block; color: #ffd64a; }
html.theme-dark .theme-toggle .ico-moon { display: none; }
body, .site-header, .dl-card, .feature, .steps li, .faq details { transition: background-color .25s ease, color .25s ease; }

/* 2026-11-30 fixes: the language menu must be solid (glass let the page show through it at night),
   and the SOON badges must be clearly readable */
.lang-menu { background: rgba(255, 255, 255, .98) !important; z-index: 300 !important; box-shadow: 0 24px 50px -16px rgba(16, 24, 40, .45) !important; -webkit-backdrop-filter: none !important; backdrop-filter: none !important; }
.lang-menu li { color: #1f2633 !important; font-weight: 600; }
.lang-menu li:hover, .lang-menu li[aria-selected=true] { background: rgba(251, 191, 36, .22) !important; color: #0c111d !important; }
html.theme-dark .lang-menu { background: rgba(16, 22, 44, .98) !important; border-color: rgba(255, 255, 255, .18) !important; box-shadow: 0 24px 50px -16px rgba(0, 0, 0, .8) !important; }
html.theme-dark .lang-menu li { color: #eef2fb !important; }
html.theme-dark .lang-menu li:hover, html.theme-dark .lang-menu li[aria-selected=true] { background: rgba(255, 214, 74, .18) !important; color: #ffd64a !important; }
.tile-soon {
  background: linear-gradient(180deg, #fff07a 0%, #f8d22a 55%, #eebd0c 100%) !important; color: #2a1c00 !important;
  border: 1px solid rgba(150, 100, 0, .35) !important; font-weight: 800 !important; letter-spacing: .04em;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .8), 0 4px 10px -4px rgba(0, 0, 0, .35) !important; z-index: 2;
}
@media (max-width: 99999px) { .tile-soon { font-size: 10.5px !important; padding: 2px 9px !important; } }
/* 2026-12-04: video v6 back on the site, smaller so it sits nicely with the rest of the page */
.tp-show { padding: 52px 0 58px; }
.tp-show-head { margin-bottom: 24px; }
.tp-show-tv, .tp-show-feet { max-width: 560px; }
.tp-show-bezel { padding: 8px; border-radius: 16px; }
.tp-show-feet { height: 22px; }
.tp-show-feet i { width: 80px; height: 10px; }
.tp-show-play { width: 62px; height: 62px; margin: -31px 0 0 -31px; }
.tp-show-play svg { width: 26px; height: 26px; margin-left: 4px; }
@media (max-width: 640px) { .tp-show-tv, .tp-show-feet { max-width: 92%; } }

/* 2026-12-04: download window in night mode — the card stays white, so its titles must stay dark (they took the page's light night text and vanished) */
html.theme-dark .dlm-card { color: #111827; }
html.theme-dark .dlm-title h2, html.theme-dark .dlm2-txt strong, html.theme-dark .dlm-main-txt strong, html.theme-dark .dlm-box-head strong { color: #111827; }
html.theme-dark .dlm-title p, html.theme-dark .dlm2-txt small { color: #4b5563; }
html.theme-dark .dlm2-txt strong em { color: #6b7280; }

/* 2026-12-04: Whale TV tile (soon) — official whaletv.com logo, full width as the 7th tile */
.avail-grid .tile--wide { grid-column: 1 / -1; }
.bl-whaletv img { display: block; height: 30px; width: auto; }
@media (max-width: 720px) { .bl-whaletv img { height: 22px; } }
