@font-face {
  font-family: Sora;
  src: url('/fonts/sora-latin-variable.woff2') format('woff2');
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: Inter;
  src: url('/fonts/inter-latin-variable.woff2') format('woff2');
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --rtc-night: #082832;
  --rtc-deep: #0b2e38;
  --rtc-teal: #176475;
  --rtc-teal-soft: #e6f3f6;
  --rtc-orange: #ec6525;
  --rtc-orange-hover: #ff7533;
  --rtc-cyan: #38d9f5;
  --rtc-cream: #fff8ee;
  --rtc-paper: #fcfaf6;
  --rtc-ink: #0b2832;
  --rtc-muted: #46636d;
  --rtc-line: rgba(23, 100, 117, 0.16);
  --rtc-white: #ffffff;
  color: var(--rtc-ink);
  background: var(--rtc-cream);
  font: 16px/1.5 Inter, system-ui, -apple-system, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html, body { max-width: 100%; overflow-x: hidden; margin: 0; }
h1, h2, h3, p, ul { margin: 0; }
body { -webkit-font-smoothing: antialiased; background: var(--rtc-cream); }
body.has-list { padding-bottom: calc(114px + env(safe-area-inset-bottom)); }
body:has(dialog[open]) { overflow: hidden; }
button, input { font: inherit; color: inherit; }
button { cursor: pointer; }
button:disabled { cursor: not-allowed; opacity: .55; }
a { color: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--rtc-cyan); outline-offset: 2px; }

.sr, .skip:not(:focus) {
  position: absolute; width: 1px; height: 1px; padding: 0;
  border: 0; margin: -1px; overflow: hidden; clip-path: inset(50%);
}
.skip:focus { position: fixed; z-index: 50; top: 8px; left: 8px; padding: 12px 16px; border-radius: 12px; background: var(--rtc-white); font-weight: 700; }

.wrap { width: min(100% - 32px, 1180px); margin-inline: auto; }

/* === HEADER === */
.mast {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(8, 40, 50, 0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(56, 217, 245, 0.16);
  color: var(--rtc-white);
}
.mast-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 60px;
  gap: 10px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-block: 8px;
  text-decoration: none;
  min-width: 0;
}
.brand-logo {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--rtc-cream);
  padding: 3px;
  flex-shrink: 0;
}
.brand-text { display: grid; line-height: 1.12; min-width: 0; }
.brand-text strong { font: 800 .92rem/1.1 Sora, sans-serif; letter-spacing: -.02em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.brand-text small { font-size: .69rem; color: rgba(255, 248, 238, 0.72); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.mast-nav { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.back-pill {
  display: inline-flex;
  align-items: center;
  padding: 7px 12px;
  border-radius: 999px;
  font-size: .75rem;
  font-weight: 800;
  text-decoration: none;
  color: var(--rtc-white);
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.24);
  white-space: nowrap;
  flex-shrink: 0;
  transition: background .2s;
}
.back-pill:hover { background: rgba(255, 255, 255, 0.2); }
.nav-pill {
  padding: 7px 12px;
  border-radius: 999px;
  font-size: .76rem;
  font-weight: 650;
  text-decoration: none;
  color: rgba(255, 248, 238, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.14);
  transition: background .2s, border-color .2s;
}
.nav-pill:hover { background: rgba(255, 255, 255, 0.1); border-color: rgba(56, 217, 245, 0.45); }
@media (max-width: 560px) {
  .hide-xs { display: none; }
  .brand-text small { display: none; }
}
.membership-top {
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--rtc-orange);
  color: var(--rtc-white);
  font-size: .76rem;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 8px 22px rgba(236, 101, 37, 0.36);
  white-space: nowrap;
}
.membership-top:hover { background: var(--rtc-orange-hover); }

/* === CINEMATIC RTC HERO === */
.hero {
  position: relative;
  overflow: hidden;
  background: radial-gradient(circle at 82% 24%, rgba(23, 100, 117, 0.65), transparent 44%),
              linear-gradient(155deg, #07222b 0%, #0b2e38 52%, #134e5e 100%);
  color: var(--rtc-cream);
  padding-block: 28px 36px;
}
.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  pointer-events: none;
}
.hero-glow-orange { width: 280px; height: 280px; top: -60px; right: -50px; background: rgba(236, 101, 37, 0.28); }
.hero-glow-cyan { width: 260px; height: 260px; bottom: -80px; left: -60px; background: rgba(56, 217, 245, 0.18); }

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 24px;
  align-items: center;
}
.hero-copy, .hero-visuals { min-width: 0; max-width: 100%; }
@media (min-width: 900px) {
  .hero { padding-block: 44px 54px; }
  .hero-grid { grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr); gap: 38px; }
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 13px;
  border-radius: 999px;
  background: rgba(56, 217, 245, 0.12);
  border: 1px solid rgba(56, 217, 245, 0.32);
  font: 800 .69rem/1.2 Sora, sans-serif;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #b7f2fd;
}
.pulse-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--rtc-orange);
  box-shadow: 0 0 12px var(--rtc-orange);
}
.hero h1 {
  margin-top: 14px;
  font: 800 clamp(2rem, 6.4vw, 3.65rem)/1.02 Sora, sans-serif;
  letter-spacing: -.045em;
  color: var(--rtc-white);
}
.accent-orange { color: #ff864c; }
.hero-lead {
  margin-top: 14px;
  max-width: 580px;
  font-size: clamp(.94rem, 2.2vw, 1.06rem);
  line-height: 1.55;
  color: rgba(255, 248, 238, 0.86);
}
.hero-lead a { color: #90ecff; font-weight: 700; text-underline-offset: 3px; }

.market-switch {
  margin-top: 18px;
  display: inline-flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 5px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
}
.market-btn {
  padding: 8px 13px;
  border-radius: 12px;
  border: 0;
  background: transparent;
  color: rgba(255, 248, 238, 0.8);
  font-size: .8rem;
  font-weight: 750;
  transition: all .2s;
}
.market-btn small { font-weight: 600; opacity: .78; margin-left: 3px; }
.market-btn[aria-pressed="true"] {
  background: var(--rtc-cream);
  color: var(--rtc-deep);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.22);
}

.hero-actions {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.btn-primary, .btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 20px;
  border-radius: 14px;
  font: 800 .85rem/1.1 Sora, sans-serif;
  text-decoration: none;
  transition: transform .18s, background .18s;
}
.btn-primary {
  background: var(--rtc-orange);
  color: var(--rtc-white);
  box-shadow: 0 14px 32px rgba(236, 101, 37, 0.38);
}
.btn-primary:hover { background: var(--rtc-orange-hover); transform: translateY(-1px); }
.btn-secondary {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: var(--rtc-cream);
}
.btn-secondary:hover { background: rgba(255, 255, 255, 0.16); }

.hero-stats {
  margin-top: 22px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}
.hero-stats strong { display: block; font: 800 1.05rem/1.15 Sora, sans-serif; color: #ff9c6b; }
.hero-stats span { font-size: .73rem; color: rgba(255, 248, 238, 0.76); line-height: 1.3; display: block; margin-top: 2px; }

/* === 3D MASCOT + STORE VIDEO STAGE === */
.hero-visuals {
  display: grid;
  gap: 12px;
}
.mascot-card {
  position: relative;
  border-radius: 24px;
  border: 1px solid rgba(56, 217, 245, 0.28);
  background: radial-gradient(circle at 50% 42%, rgba(23, 100, 117, 0.62), rgba(7, 30, 38, 0.92));
  box-shadow: 0 22px 54px rgba(0, 0, 0, 0.34);
  overflow: hidden;
}
.mascot-stage {
  position: relative;
  height: clamp(205px, 46vw, 265px);
  width: 100%;
}
.mascot-fallback {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 82%;
  height: 86%;
  object-fit: contain;
  pointer-events: none;
  transition: opacity .45s ease;
}
.mascot-stage[data-ready3d="true"] .mascot-fallback { opacity: 0; }
.mascot-caption {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 8px 12px 10px;
  font-size: .73rem;
  font-weight: 700;
  color: #d6f7fe;
  background: rgba(6, 26, 33, 0.65);
  border-top: 1px solid rgba(56, 217, 245, 0.14);
}
.cyan-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--rtc-cyan); box-shadow: 0 0 8px var(--rtc-cyan); }

.store-video-card {
  border-radius: 20px;
  background: rgba(255, 248, 238, 0.1);
  border: 1px solid rgba(255, 248, 238, 0.2);
  backdrop-filter: blur(10px);
  overflow: hidden;
}
.film-summary {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  cursor: pointer;
  list-style: none;
}
.film-summary::-webkit-details-marker { display: none; }
.portrait {
  width: 64px;
  height: 64px;
  border-radius: 14px;
  object-fit: cover;
  object-position: 50% 35%;
  border: 2px solid var(--rtc-orange);
  flex-shrink: 0;
}
.watch-meta { display: grid; gap: 2px; min-width: 0; }
.watch-tag { font: 800 .67rem/1.1 Sora, sans-serif; text-transform: uppercase; letter-spacing: .1em; color: #ff9c6b; }
.watch-meta strong { font-size: .9rem; color: var(--rtc-white); line-height: 1.25; }
.watch-meta small { font-size: .74rem; color: rgba(255, 248, 238, 0.75); }
.player { display: flex; justify-content: center; padding: 8px 12px 16px; background: rgba(5, 22, 28, 0.85); }
.player video { display: block; width: auto; max-width: 100%; height: min(64svh, 560px); border-radius: 14px; background: #071e26; }

/* === SMART COMBOS STRIP === */
.combos-strip {
  padding-block: 26px 12px;
  background: linear-gradient(180deg, #f5efe3 0%, var(--rtc-cream) 100%);
  border-bottom: 1px solid var(--rtc-line);
}
.section-kicker {
  font: 800 .7rem/1.2 Sora, sans-serif;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: var(--rtc-orange);
  margin-bottom: 5px;
}
.combos-header {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: end;
  gap: 8px 16px;
  margin-bottom: 14px;
}
h2 { font: 800 clamp(1.38rem, 3.8vw, 1.95rem)/1.12 Sora, sans-serif; letter-spacing: -.035em; color: var(--rtc-deep); }
.combos-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 270px), 1fr));
}
.combo-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  padding: 16px;
  border-radius: 18px;
  border: 1px solid rgba(23, 100, 117, 0.18);
  background: var(--rtc-white);
  box-shadow: 0 10px 26px rgba(11, 46, 56, 0.06);
  transition: transform .18s, border-color .18s, box-shadow .18s;
}
.combo-card:hover {
  transform: translateY(-2px);
  border-color: var(--rtc-orange);
  box-shadow: 0 14px 32px rgba(236, 101, 37, 0.14);
}
.combo-pts {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--rtc-teal-soft);
  color: var(--rtc-teal);
  font: 800 .7rem/1.2 Sora, sans-serif;
  margin-bottom: 8px;
}
.combo-card strong { font: 800 .98rem/1.25 Sora, sans-serif; color: var(--rtc-deep); }
.combo-card p { margin-top: 6px; font-size: .8rem; color: var(--rtc-muted); line-height: 1.42; }
.combo-cta { margin-top: 12px; font-size: .78rem; font-weight: 800; color: var(--rtc-orange); }

/* === MARKET CATALOG === */
.market { padding-block: 26px 36px; }
.market-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: end;
  gap: 8px 16px;
  margin-bottom: 14px;
}
#results, #count, .help { color: var(--rtc-muted); font-size: .81rem; }

.search {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-inline: 14px;
  border: 1.5px solid rgba(23, 100, 117, 0.25);
  border-radius: 14px;
  background: var(--rtc-white);
  box-shadow: 0 6px 20px rgba(11, 46, 56, 0.04);
}
.search:focus-within { border-color: var(--rtc-teal); box-shadow: 0 0 0 3px rgba(23, 100, 117, 0.15); }
.search svg { flex: none; color: var(--rtc-teal); }
.search input { min-width: 0; flex: 1; border: 0; outline: 0; min-height: 48px; background: transparent; font-size: 16px; }
.search input::placeholder { color: #637d86; }

.filters {
  display: flex;
  overflow-x: auto;
  gap: 8px;
  padding: 12px 2px 10px;
  scrollbar-width: thin;
}
.filter {
  flex: none;
  min-height: 40px;
  padding: 8px 14px;
  border: 1px solid var(--rtc-line);
  border-radius: 999px;
  background: var(--rtc-white);
  color: var(--rtc-deep);
  font-size: .8rem;
  font-weight: 700;
  transition: all .18s;
}
.filter:hover { border-color: var(--rtc-teal); }
.filter[aria-pressed="true"] {
  background: var(--rtc-teal);
  border-color: var(--rtc-teal);
  color: var(--rtc-white);
  box-shadow: 0 6px 16px rgba(23, 100, 117, 0.28);
}

.price-note {
  margin: 4px 0 14px;
  padding: 9px 13px;
  border-radius: 12px;
  background: rgba(23, 100, 117, 0.07);
  color: var(--rtc-deep);
  font-size: .77rem;
  line-height: 1.4;
}

.cards {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  padding: 0;
}
@media (min-width: 720px) {
  .cards { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
}
@media (min-width: 1040px) {
  .cards { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
}

.card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  border: 1px solid rgba(23, 100, 117, 0.14);
  border-radius: 18px;
  overflow: hidden;
  background: var(--rtc-white);
  box-shadow: 0 8px 22px rgba(11, 46, 56, 0.05);
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.card:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(11, 46, 56, 0.1);
}
.card.is-selected {
  border-color: var(--rtc-orange);
  box-shadow: 0 12px 28px rgba(236, 101, 37, 0.18);
}

.photo {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: linear-gradient(160deg, #f8f2e7 0%, #eaf4f6 100%);
  height: clamp(124px, 30vw, 172px);
  padding: 10px;
}
.photo img {
  max-width: 84%;
  max-height: 88%;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 8px 12px rgba(11, 46, 56, 0.14));
  transition: transform .25s ease;
}
.card:hover .photo img { transform: scale(1.05); }

.pts-badge {
  position: absolute;
  top: 8px;
  right: 8px;
  padding: 3px 8px;
  border-radius: 999px;
  background: var(--rtc-deep);
  color: #96f2ff;
  font: 800 .68rem/1.2 Sora, sans-serif;
}

.info {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 12px;
  min-width: 0;
}
.yield-badge {
  display: inline-block;
  align-self: flex-start;
  margin-bottom: 5px;
  padding: 2px 7px;
  border-radius: 6px;
  background: #fff1e9;
  color: #c84b11;
  font-size: .67rem;
  font-weight: 800;
}
.info h3 {
  font: 750 .93rem/1.24 Sora, sans-serif;
  letter-spacing: -.02em;
  color: var(--rtc-deep);
  overflow-wrap: anywhere;
}
.info p {
  padding-block: 5px 10px;
  color: var(--rtc-muted);
  font-size: .76rem;
  line-height: 1.42;
}

.price-box {
  margin-top: auto;
  padding: 8px 10px;
  margin-bottom: 9px;
  border-radius: 11px;
  background: #f4f9fa;
  border: 1px solid rgba(23, 100, 117, 0.1);
}
.price-main { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px; }
.price-member { font: 800 .98rem/1.1 Sora, sans-serif; color: var(--rtc-teal); }
.price-regular { font-size: .74rem; color: #7b9098; text-decoration: line-through; }
.price-sub { display: block; font-size: .67rem; font-weight: 650; color: var(--rtc-muted); margin-top: 2px; }

.add, .outline {
  min-height: 44px;
  border-radius: 12px;
  font-size: .82rem;
  font-weight: 800;
  transition: all .18s;
}
.add {
  width: 100%;
  border: 1.5px solid var(--rtc-teal);
  background: var(--rtc-white);
  color: var(--rtc-teal);
}
.add:hover { background: var(--rtc-teal-soft); }
.add[aria-pressed="true"] {
  background: var(--rtc-orange);
  border-color: var(--rtc-orange);
  color: var(--rtc-white);
}
.outline {
  border: 1.5px solid var(--rtc-teal);
  background: var(--rtc-white);
  color: var(--rtc-teal);
  padding: 10px 20px;
}
#more { display: block; margin: 22px auto 0; }

.product-resource {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-bottom: 9px;
  padding: 7px 9px;
  border-radius: 10px;
  background: #fdf6ec;
  border: 1px solid rgba(236, 101, 37, 0.22);
  text-decoration: none;
}
.resource-action { font-size: .65rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: var(--rtc-orange); }
.product-resource .resource-title { font-size: .74rem; font-weight: 700; color: var(--rtc-deep); line-height: 1.25; }
.extra-resources { margin-bottom: 9px; font-size: .74rem; }
.extra-resources summary { cursor: pointer; font-weight: 700; color: var(--rtc-teal); margin-bottom: 5px; }

/* === LEARNING LIBRARY === */
.learning {
  padding-block: 32px 40px;
  background: linear-gradient(180deg, #0b2e38 0%, #08222a 100%);
  color: var(--rtc-cream);
}
.learning h2 { color: var(--rtc-white); }
.learning h3 { margin-top: 16px; font: 750 1.08rem/1.2 Sora, sans-serif; color: var(--rtc-white); }
.learning .help { color: rgba(255, 248, 238, 0.75); margin-top: 4px; }
.learning-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.learning-filters button {
  min-height: 40px;
  padding: 8px 15px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.06);
  color: var(--rtc-cream);
  font-size: .8rem;
  font-weight: 750;
}
.learning-filters button[aria-pressed="true"] {
  background: var(--rtc-orange);
  border-color: var(--rtc-orange);
  color: var(--rtc-white);
}

.library {
  list-style: none;
  padding: 0;
  margin-top: 14px;
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 270px), 1fr));
}
.library-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  text-decoration: none;
  color: var(--rtc-white);
  transition: background .18s, border-color .18s;
}
.library-link:hover { background: rgba(255, 255, 255, 0.14); border-color: var(--rtc-cyan); }
.resource-thumb { width: 68px; height: 46px; border-radius: 9px; object-fit: cover; flex-shrink: 0; }
.library-link .resource-title { flex: 1; font-size: .84rem; font-weight: 700; line-height: 1.3; }
.resource-arrow { color: #ff9c6b; font-weight: 900; }
.more-learning {
  margin-top: 16px;
  padding: 10px 18px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: transparent;
  color: var(--rtc-white);
  font-weight: 750;
}
#learning-fallback { margin-top: 14px; }
#learning-fallback a { color: #90ecff; font-weight: 700; }

/* === FOOTER === */
.site-footer {
  background: #061b22;
  color: rgba(255, 248, 238, 0.78);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-block: 22px 28px;
  font-size: .8rem;
}
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 14px; }
.footer-brand { display: flex; align-items: center; gap: 10px; }
.footer-brand img { border-radius: 7px; background: var(--rtc-cream); padding: 2px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 10px 16px; align-items: center; }
.footer-links a, .link-button { font-weight: 700; color: var(--rtc-cream); text-decoration: underline; text-underline-offset: 3px; background: none; border: 0; padding: 0; }

/* === FLOATING 35-POINT GAMIFIED DOCK === */
.dock {
  position: fixed;
  z-index: 40;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 0 10px max(10px, env(safe-area-inset-bottom));
  pointer-events: none;
}
.dock-inner {
  width: min(100%, 760px);
  margin: auto;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 20px;
  color: var(--rtc-white);
  background: linear-gradient(135deg, rgba(8, 40, 50, 0.97), rgba(23, 100, 117, 0.97));
  border: 1px solid rgba(56, 217, 245, 0.35);
  box-shadow: 0 14px 40px rgba(5, 24, 31, 0.55);
  pointer-events: auto;
}
.dock-inner.goal-reached {
  border-color: var(--rtc-orange);
  box-shadow: 0 14px 44px rgba(236, 101, 37, 0.38);
}
.dock-mascot { width: 38px; height: 38px; object-fit: contain; flex-shrink: 0; }
.dock-progress-wrap { min-width: 0; display: grid; gap: 4px; }
.dock-headline { display: flex; justify-content: space-between; align-items: baseline; gap: 6px; min-width: 0; }
.dock-headline strong { font: 800 .82rem/1.2 Sora, sans-serif; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
#dock-count { font-size: .7rem; color: #9cf0ff; font-weight: 700; flex-shrink: 0; }
.pts-bar { height: 6px; border-radius: 999px; background: rgba(255, 255, 255, 0.16); overflow: hidden; }
#pts-fill {
  display: block;
  height: 100%;
  width: 0%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--rtc-orange), var(--rtc-cyan));
  transition: width .35s cubic-bezier(.22, 1, .36, 1);
}
#dock-perk { font-size: .69rem; color: rgba(255, 248, 238, 0.85); line-height: 1.22; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
@media (max-width: 480px) {
  .dock-mascot { width: 32px; height: 32px; }
  .dock-btn { padding: 9px 12px; font-size: .76rem; }
  #dock-count { display: none; }
}

.gold {
  min-height: 44px;
  padding: 10px 16px;
  border: 0;
  border-radius: 13px;
  background: var(--rtc-orange);
  color: var(--rtc-white);
  font: 800 .82rem/1.1 Sora, sans-serif;
  box-shadow: 0 8px 20px rgba(236, 101, 37, 0.34);
  flex-shrink: 0;
}
.gold:hover:not(:disabled) { background: var(--rtc-orange-hover); }

/* === MOBILE-SAFE DIALOGS (ZERO OVERFLOW ON 412px PIXEL) === */
dialog {
  width: min(calc(100vw - 20px), 540px);
  max-width: calc(100vw - 20px);
  max-height: min(90svh, 760px);
  margin: auto;
  padding: 0;
  border: 1px solid var(--rtc-line);
  border-radius: 24px;
  background: var(--rtc-white);
  color: var(--rtc-ink);
  box-shadow: 0 28px 80px rgba(5, 24, 31, 0.5);
  overflow-x: hidden;
}
dialog::backdrop { background: rgba(6, 26, 33, 0.72); backdrop-filter: blur(6px); }
.dialog-body { padding: 18px; display: grid; gap: 14px; max-width: 100%; overflow-x: hidden; }
.dialog-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; min-width: 0; }
.dialog-title-group { display: flex; align-items: center; gap: 10px; min-width: 0; }
.dialog-title-group h2 { font-size: 1.15rem; overflow-wrap: anywhere; }
.dialog-head button {
  width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--rtc-line);
  background: var(--rtc-cream); font-size: 1.3rem; line-height: 1; flex-shrink: 0;
}

.basket-summary {
  padding: 12px 14px;
  border-radius: 14px;
  background: linear-gradient(135deg, #0b2e38, #176475);
  color: var(--rtc-white);
  font-size: .82rem;
  line-height: 1.45;
}
.basket-summary strong { color: #ff9c6b; }

.items { list-style: none; padding: 0; display: grid; gap: 7px; max-height: 210px; overflow-y: auto; }
.items li {
  display: flex; justify-content: space-between; align-items: center; gap: 8px;
  padding: 9px 12px; border-radius: 12px; background: #f4f9fa; font-size: .84rem; font-weight: 650; min-width: 0;
}
.items li span { min-width: 0; overflow-wrap: anywhere; }
.remove {
  width: 30px; height: 30px; border-radius: 8px; border: 1px solid var(--rtc-line);
  background: var(--rtc-white); font-weight: 800; flex-shrink: 0;
}

.orientation-actions { display: grid; gap: 12px; }
.request, #submit { width: 100%; }
#orientation-form { display: grid; gap: 10px; padding: 14px; border-radius: 16px; background: var(--rtc-cream); border: 1px solid var(--rtc-line); }
.field-title { font-size: .8rem; font-weight: 800; color: var(--rtc-deep); }
#phone {
  width: 100%; min-height: 46px; padding: 10px 12px; border-radius: 11px;
  border: 1.5px solid rgba(23, 100, 117, 0.28); background: var(--rtc-white); font-size: 16px;
}
.consent { display: flex; align-items: flex-start; gap: 9px; font-size: .76rem; line-height: 1.4; color: var(--rtc-muted); }
.consent input { margin-top: 3px; width: 18px; height: 18px; accent-color: var(--rtc-teal); flex-shrink: 0; }
#error { padding: 10px; border-radius: 10px; background: #fee2e2; color: #991b1b; font-size: .78rem; font-weight: 700; }
.receipt { padding: 14px; border-radius: 14px; background: #ecfdf5; border: 1px solid #6ee7b7; color: #065f46; font-size: .84rem; }

.wa-option { display: grid; gap: 9px; pt: 4px; text-align: center; }
.wa-direct-btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 10px 16px;
  border-radius: 13px; background: #25D366; color: #052e1f; font: 800 .84rem/1.1 Sora, sans-serif; text-decoration: none;
}
.inv-direct-link { font-size: .79rem; font-weight: 800; color: var(--rtc-teal); text-underline-offset: 3px; }
.tiktok-hint { padding: 8px 10px; border-radius: 10px; background: #fff7ed; border: 1px solid #fed7aa; color: #9a3412; }

#material-player iframe, #material-player video { width: 100%; aspect-ratio: 16/9; border: 0; border-radius: 12px; background: #000; }
.source-link { font-size: .8rem; font-weight: 750; color: var(--rtc-teal); text-align: center; }

.rtc-film{display:grid;grid-template-columns:minmax(200px,1fr) minmax(260px,1fr);align-items:center;gap:clamp(20px,5vw,70px);padding-block:48px}.rtc-film h2{font-size:clamp(26px,4vw,42px);line-height:1.1}.rtc-film h3{margin:24px 0 12px}.rtc-film video{max-width:100%;width:320px;display:block;border-radius:18px;background:#0b2e38}.rtc-film button,.rtc-film input{font:inherit;border:1px solid #30766d;border-radius:12px;padding:9px 12px;margin:3px}.rtc-film button[aria-pressed=true]{color:white;background:#176475}.rtc-film input{width:80px}.wash-road{height:74px;position:relative;margin:14px 0 7px;background:repeating-linear-gradient(90deg,#dbe6df 0 2px,transparent 2px 8.33%);border-bottom:3px solid #ec6525}.wash-road img{position:absolute;bottom:0;transition:left .4s ease}.rtc-film output{font-weight:700}.rtc-film [hidden]{display:none}@media(max-width:700px){.rtc-film{grid-template-columns:1fr}.rtc-film video{max-height:54vh;width:auto;margin:auto}}@media(prefers-reduced-motion:reduce){.wash-road img{transition:none}}
