/* ==========================================================================
   BC Game Casino - surface stylesheet (mobile-first, 320-430px canvas)
   Design voice: geometric headings over neutral body text, low-radius
   partitioned sections, grouped cover-card game tiles, question-driven
   copy rhythm, icon-only micro motion, full-width primary CTAs.
   Every class and custom property carries the surface17f13- prefix.
   ========================================================================== */

/* ---------- 1. Tokens ---------- */
:root {
  --surface17f13-ink: #1e1e1e;        /* page base */
  --surface17f13-ink-deep: #131316;   /* outside the canvas */
  --surface17f13-panel: #24222a;      /* partition blocks */
  --surface17f13-panel-high: #2b2833; /* raised partition */
  --surface17f13-mist: #e6e6fa;       /* primary text */
  --surface17f13-mist-dim: #b9b2cc;   /* secondary text */
  --surface17f13-mist-faint: #8f88a3; /* tertiary text */
  --surface17f13-plum: #dda0dd;       /* accent A */
  --surface17f13-violet: #6a5acd;     /* accent B */
  --surface17f13-lime: #32cd32;       /* action color */
  --surface17f13-lime-ink: #102a10;   /* text on lime */
  --surface17f13-hair: #37333f;       /* partition hairlines */
  --surface17f13-head-font: 'Poppins', 'Segoe UI', 'Trebuchet MS', sans-serif;
  --surface17f13-body-font: 'Inter', 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  --surface17f13-radius: 5px;
  --surface17f13-radius-lg: 7px;
  --surface17f13-topbar-h: 58px;
  --surface17f13-dock-h: 58px;
}

/* ---------- 2. Base ---------- */
* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--surface17f13-ink-deep);
  color: var(--surface17f13-mist);
  font-family: var(--surface17f13-body-font);
  font-size: 14px;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }

button {
  font-family: inherit;
  color: inherit;
  cursor: pointer;
}

a { color: var(--surface17f13-plum); text-decoration: none; }
a:hover { text-decoration: underline; }

:focus-visible {
  outline: 2px solid var(--surface17f13-lime);
  outline-offset: 2px;
  border-radius: 3px;
}

/* Wide screens keep the same centred phone canvas. */
.surface17f13-canvas {
  position: relative;
  max-width: 430px;
  margin: 0 auto;
  min-height: 100vh;
  background: var(--surface17f13-ink);
  box-shadow: 0 0 44px rgba(0, 0, 0, 0.55);
  overflow-x: hidden;
}

/* Skip link for keyboard users */
.surface17f13-skip {
  position: absolute;
  left: 10px;
  top: -48px;
  z-index: 120;
  padding: 9px 14px;
  background: var(--surface17f13-lime);
  color: var(--surface17f13-lime-ink);
  font-family: var(--surface17f13-head-font);
  font-size: 13px;
  font-weight: 600;
  border-radius: var(--surface17f13-radius);
  transition: top 0.18s ease;
}
.surface17f13-skip:focus { top: 6px; text-decoration: none; }

/* ---------- 3. Top bar (edge-aligned functional header) ---------- */
.surface17f13-topbar {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  height: var(--surface17f13-topbar-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 0 12px;
  background: rgba(30, 30, 30, 0.97);
  border-bottom: 1px solid var(--surface17f13-hair);
  z-index: 60;
  transition: box-shadow 0.25s ease;
}
.surface17f13-topbar.is-scrolled {
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.45);
}

/* Brand zone: logo image + site name only */
.surface17f13-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}
.surface17f13-brand img {
  width: 32px;
  height: 32px;
  border-radius: 4px;
  flex: none;
}
.surface17f13-brand span {
  font-family: var(--surface17f13-head-font);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.02em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Edge-aligned action cluster */
.surface17f13-top-actions {
  display: flex;
  align-items: center;
  gap: 7px;
  flex: none;
}
.surface17f13-btn-register {
  min-height: 36px;
  padding: 7px 13px;
  background: var(--surface17f13-lime);
  color: var(--surface17f13-lime-ink);
  border: 1px solid var(--surface17f13-lime);
  border-radius: var(--surface17f13-radius);
  font-family: var(--surface17f13-head-font);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.surface17f13-btn-register:active {
  filter: drop-shadow(0 0 7px rgba(50, 205, 50, 0.65));
}
.surface17f13-btn-login {
  min-height: 36px;
  padding: 7px 12px;
  background: transparent;
  color: var(--surface17f13-plum);
  border: 1px solid var(--surface17f13-plum);
  border-radius: var(--surface17f13-radius);
  font-family: var(--surface17f13-head-font);
  font-size: 12.5px;
  font-weight: 600;
}
.surface17f13-btn-login:active {
  box-shadow: 0 0 8px rgba(221, 160, 221, 0.55);
}
.surface17f13-menu-btn {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid var(--surface17f13-hair);
  border-radius: var(--surface17f13-radius);
}
.surface17f13-menu-btn svg { width: 20px; height: 20px; stroke: var(--surface17f13-mist); }
.surface17f13-menu-btn:active svg {
  filter: drop-shadow(0 0 6px rgba(221, 160, 221, 0.8));
}

/* ---------- 4. Side drawer menu ---------- */
.surface17f13-scrim {
  position: fixed;
  inset: 0;
  background: rgba(6, 6, 9, 0.66);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s ease;
  z-index: 80;
}
.surface17f13-scrim.is-shown { opacity: 1; pointer-events: auto; }

.surface17f13-drawer {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  width: min(82%, 318px);
  background: #201d27;
  border-right: 1px solid var(--surface17f13-hair);
  transform: translateX(-104%);
  transition: transform 0.26s ease;
  z-index: 90;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}
.surface17f13-drawer.is-open { transform: translateX(0); }

.surface17f13-drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 14px 12px;
  border-bottom: 1px solid var(--surface17f13-hair);
}
.surface17f13-drawer-head .surface17f13-brand img { width: 28px; height: 28px; }
.surface17f13-drawer-close {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid var(--surface17f13-hair);
  border-radius: var(--surface17f13-radius);
}
.surface17f13-drawer-close svg { width: 18px; height: 18px; stroke: var(--surface17f13-mist); }

.surface17f13-drawer-tag {
  margin: 12px 14px 4px;
  font-family: var(--surface17f13-head-font);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--surface17f13-mist-faint);
}

.surface17f13-drawer-links {
  list-style: none;
  margin: 0 0 16px;
  padding: 0;
}
.surface17f13-drawer-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 48px;
  padding: 12px 16px;
  border-bottom: 1px solid rgba(55, 51, 63, 0.55);
  color: var(--surface17f13-mist);
  font-size: 13.5px;
  font-weight: 500;
}
.surface17f13-drawer-link:hover { text-decoration: none; background: rgba(106, 90, 205, 0.14); }
.surface17f13-drawer-link::after {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--surface17f13-plum);
  opacity: 0.55;
  flex: none;
}
.surface17f13-drawer-link.is-here {
  background: var(--surface17f13-violet);
  color: #f2eefc;
  font-weight: 700;
}
.surface17f13-drawer-link.is-here::after { background: var(--surface17f13-lime); opacity: 1; }

.surface17f13-drawer-cta {
  margin: auto 14px 18px;
  width: calc(100% - 28px);
  min-height: 46px;
  background: var(--surface17f13-lime);
  color: var(--surface17f13-lime-ink);
  border: 1px solid var(--surface17f13-lime);
  border-radius: var(--surface17f13-radius);
  font-family: var(--surface17f13-head-font);
  font-size: 13.5px;
  font-weight: 700;
}
.surface17f13-drawer-cta:active { filter: drop-shadow(0 0 8px rgba(50, 205, 50, 0.7)); }

/* ---------- 5. Main column ---------- */
.surface17f13-main {
  padding: calc(var(--surface17f13-topbar-h) + 10px) 0 calc(var(--surface17f13-dock-h) + 34px);
}

/* ---------- 6. Lede (unique H1 zone) ---------- */
.surface17f13-lede {
  padding: 4px 14px 16px;
  border-bottom: 1px solid var(--surface17f13-hair);
}
.surface17f13-lede h1 {
  margin: 0 0 8px;
  font-family: var(--surface17f13-head-font);
  font-size: 21px;
  line-height: 1.28;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: var(--surface17f13-mist);
}
.surface17f13-lede-kicker {
  display: inline-block;
  margin-bottom: 9px;
  padding: 3px 9px;
  border: 1px solid var(--surface17f13-plum);
  border-radius: 3px;
  color: var(--surface17f13-plum);
  font-family: var(--surface17f13-head-font);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.surface17f13-lede p {
  margin: 0 0 9px;
  font-size: 13.5px;
  color: var(--surface17f13-mist-dim);
}
.surface17f13-lede p:last-child { margin-bottom: 0; }

/* ---------- 7. Hero banner stage ---------- */
.surface17f13-stage {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 7;
  overflow: hidden;
  border-bottom: 1px solid var(--surface17f13-hair);
  background: var(--surface17f13-panel);
}
.surface17f13-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  opacity: 0;
  transition: opacity 0.5s ease;
}
.surface17f13-slide.is-live { opacity: 1; }
.surface17f13-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.surface17f13-slide:active img { filter: brightness(1.08); }

.surface17f13-dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 8px;
  display: flex;
  justify-content: center;
  gap: 7px;
  z-index: 5;
}
.surface17f13-dot {
  width: 22px;
  height: 22px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 0;
}
.surface17f13-dot::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(230, 230, 250, 0.45);
  transition: background 0.25s ease, box-shadow 0.25s ease;
}
.surface17f13-dot.is-on::before {
  background: var(--surface17f13-lime);
  box-shadow: 0 0 7px rgba(50, 205, 50, 0.8);
}

/* ---------- 8. Content partitions ---------- */
.surface17f13-section {
  padding: 18px 14px 20px;
  border-bottom: 1px solid var(--surface17f13-hair);
}
.surface17f13-section h2 {
  margin: 0 0 10px;
  font-family: var(--surface17f13-head-font);
  font-size: 16.5px;
  line-height: 1.35;
  font-weight: 700;
  color: var(--surface17f13-mist);
}
.surface17f13-section h3 {
  margin: 14px 0 6px;
  font-family: var(--surface17f13-head-font);
  font-size: 13.5px;
  line-height: 1.35;
  font-weight: 600;
  color: var(--surface17f13-plum);
}
.surface17f13-section p {
  margin: 0 0 10px;
  font-size: 13.5px;
  color: var(--surface17f13-mist-dim);
}
.surface17f13-section p:last-child { margin-bottom: 0; }

/* Question-driven opener line inside each partition */
.surface17f13-ask {
  margin: 0 0 10px;
  padding: 2px 0 2px 10px;
  border-left: 3px solid var(--surface17f13-plum);
  font-family: var(--surface17f13-head-font);
  font-size: 13px;
  font-weight: 600;
  color: var(--surface17f13-plum);
}

/* Numbered step rail */
.surface17f13-steps {
  list-style: none;
  margin: 4px 0 10px;
  padding: 0;
  counter-reset: surface17f13-step;
}
.surface17f13-steps li {
  position: relative;
  counter-increment: surface17f13-step;
  padding: 0 0 10px 34px;
  font-size: 13.5px;
  color: var(--surface17f13-mist-dim);
}
.surface17f13-steps li::before {
  content: counter(surface17f13-step);
  position: absolute;
  left: 0;
  top: 1px;
  width: 23px;
  height: 23px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--surface17f13-violet);
  color: #f2eefc;
  border-radius: 4px;
  font-family: var(--surface17f13-head-font);
  font-size: 11.5px;
  font-weight: 700;
}
.surface17f13-steps li strong { color: var(--surface17f13-mist); font-weight: 600; }

/* Tip list with lime markers */
.surface17f13-tips {
  list-style: none;
  margin: 4px 0 10px;
  padding: 0;
}
.surface17f13-tips li {
  position: relative;
  padding: 0 0 9px 18px;
  font-size: 13.5px;
  color: var(--surface17f13-mist-dim);
}
.surface17f13-tips li::before {
  content: '';
  position: absolute;
  left: 2px;
  top: 7px;
  width: 7px;
  height: 7px;
  border-radius: 2px;
  background: var(--surface17f13-lime);
}
.surface17f13-tips li strong { color: var(--surface17f13-mist); font-weight: 600; }

/* Play-style comparison rails (partitioned rows, no card soup) */
.surface17f13-styles { margin: 6px 0 10px; }
.surface17f13-style-row {
  border: 1px solid var(--surface17f13-hair);
  border-left: 3px solid var(--surface17f13-violet);
  border-radius: var(--surface17f13-radius);
  padding: 10px 12px 11px;
  margin-bottom: 8px;
  background: var(--surface17f13-panel);
}
.surface17f13-style-row:last-child { margin-bottom: 0; }
.surface17f13-style-row h3 { margin: 0 0 4px; color: var(--surface17f13-mist); }
.surface17f13-style-row p { margin: 0; font-size: 13px; }

/* ---------- 9. Lobby: grouped cover-card grid ---------- */
.surface17f13-group {
  margin: 0 0 14px;
  border: 1px solid var(--surface17f13-hair);
  border-radius: var(--surface17f13-radius-lg);
  background: var(--surface17f13-panel);
  overflow: hidden;
}
.surface17f13-group-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 9px 12px;
  background: linear-gradient(90deg, #2c2836 0%, #232029 70%);
  border-bottom: 1px solid var(--surface17f13-hair);
}
.surface17f13-group-bar h3 {
  margin: 0;
  font-family: var(--surface17f13-head-font);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--surface17f13-mist);
}
.surface17f13-group-count {
  flex: none;
  padding: 2px 8px;
  border: 1px solid rgba(221, 160, 221, 0.5);
  border-radius: 10px;
  color: var(--surface17f13-plum);
  font-family: var(--surface17f13-head-font);
  font-size: 10.5px;
  font-weight: 600;
}
.surface17f13-group-note {
  margin: 0;
  padding: 7px 12px;
  border-bottom: 1px solid var(--surface17f13-hair);
  font-size: 12px;
  line-height: 1.5;
  color: var(--surface17f13-mist-dim);
  background: rgba(38, 35, 46, 0.55);
}
.surface17f13-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  padding: 10px;
}
@media (min-width: 375px) {
  .surface17f13-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}
.surface17f13-game {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  min-width: 0;
  padding: 6px 4px 8px;
  background: var(--surface17f13-panel-high);
  border: 1px solid var(--surface17f13-hair);
  border-radius: var(--surface17f13-radius);
  transition: border-color 0.18s ease;
}
.surface17f13-game img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 4px;
  transition: transform 0.18s ease, filter 0.18s ease;
}
.surface17f13-game span {
  font-size: 10.5px;
  line-height: 1.25;
  font-weight: 500;
  text-align: center;
  color: var(--surface17f13-mist-dim);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 26px;
  word-break: break-word;
}
.surface17f13-game:hover,
.surface17f13-game:focus-visible {
  border-color: var(--surface17f13-plum);
  text-decoration: none;
}
.surface17f13-game:hover img,
.surface17f13-game:focus-visible img {
  transform: scale(1.045);
  filter: drop-shadow(0 0 5px rgba(221, 160, 221, 0.45));
}

/* ---------- 10. CTA partition (full-width primary buttons) ---------- */
.surface17f13-cta {
  border: 1px solid rgba(50, 205, 50, 0.38);
  border-radius: var(--surface17f13-radius-lg);
  background: linear-gradient(180deg, rgba(50, 205, 50, 0.09) 0%, rgba(36, 34, 42, 0.9) 65%);
  padding: 14px;
  margin-top: 12px;
}
.surface17f13-cta-main {
  display: block;
  width: 100%;
  min-height: 48px;
  background: var(--surface17f13-lime);
  color: var(--surface17f13-lime-ink);
  border: 1px solid var(--surface17f13-lime);
  border-radius: var(--surface17f13-radius);
  font-family: var(--surface17f13-head-font);
  font-size: 14.5px;
  font-weight: 700;
  letter-spacing: 0.03em;
}
.surface17f13-cta-main:active { filter: drop-shadow(0 0 9px rgba(50, 205, 50, 0.75)); }
.surface17f13-cta-note {
  margin: 8px 2px 0;
  font-size: 11.5px;
  line-height: 1.5;
  color: var(--surface17f13-mist-faint);
  text-align: center;
}

/* Inline text promo link inside prose */
.surface17f13-inline-promo {
  color: var(--surface17f13-lime);
  font-weight: 600;
  cursor: pointer;
  background: none;
  border: 0;
  padding: 0;
  font-size: inherit;
  font-family: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.surface17f13-inline-promo:active { filter: drop-shadow(0 0 6px rgba(50, 205, 50, 0.6)); }

/* ---------- 11. Extended footer (sectioned list) ---------- */
.surface17f13-xfoot {
  padding: 20px 14px 18px;
  border-top: 1px solid var(--surface17f13-hair);
  background: #1b191f;
}
.surface17f13-xf-label {
  margin: 0 0 8px;
  font-family: var(--surface17f13-head-font);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--surface17f13-plum);
}
.surface17f13-xf-block { margin-bottom: 16px; }
.surface17f13-xf-block:last-child { margin-bottom: 0; }
.surface17f13-xf-brand {
  margin: 0;
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--surface17f13-mist-dim);
}

.surface17f13-xpromos {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}
.surface17f13-xpromo {
  display: flex;
  align-items: center;
  gap: 7px;
  min-height: 44px;
  padding: 8px 10px;
  background: var(--surface17f13-panel-high);
  border: 1px solid var(--surface17f13-hair);
  border-radius: var(--surface17f13-radius);
  color: var(--surface17f13-mist);
  font-size: 12px;
  font-weight: 600;
  text-align: left;
  line-height: 1.3;
}
.surface17f13-xpromo svg {
  width: 15px;
  height: 15px;
  flex: none;
  stroke: var(--surface17f13-lime);
}
.surface17f13-xpromo:active {
  border-color: var(--surface17f13-lime);
  filter: drop-shadow(0 0 6px rgba(50, 205, 50, 0.45));
}

.surface17f13-xdir {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px 12px;
}
.surface17f13-xdir a {
  display: block;
  min-height: 24px;
  font-size: 12.5px;
  color: var(--surface17f13-mist-dim);
  border-bottom: 1px dotted rgba(143, 136, 163, 0.4);
  padding: 3px 0;
}
.surface17f13-xdir a:hover { color: var(--surface17f13-plum); text-decoration: none; }

.surface17f13-xf-disclaimer {
  margin: 0;
  font-size: 11px;
  line-height: 1.55;
  color: var(--surface17f13-mist-faint);
}

/* ---------- 12. Common footer ---------- */
.surface17f13-foot {
  padding: 14px 14px 10px;
  border-top: 1px solid var(--surface17f13-hair);
  text-align: center;
  background: #17151b;
}
.surface17f13-foot p {
  margin: 0;
  font-size: 11px;
  line-height: 1.6;
  color: var(--surface17f13-mist-faint);
}

/* ---------- 12b. Help page reading tools ---------- */
.surface17f13-help-intro {
  padding: 4px 14px 18px;
  border-bottom: 1px solid var(--surface17f13-hair);
}
.surface17f13-help-intro h1 {
  margin: 0 0 9px;
  font-family: var(--surface17f13-head-font);
  font-size: 21px;
  line-height: 1.28;
  color: var(--surface17f13-mist);
}
.surface17f13-help-intro p { margin: 0 0 9px; color: var(--surface17f13-mist-dim); font-size: 13.5px; }
.surface17f13-help-intro p:last-child { margin-bottom: 0; }
.surface17f13-faq-list { margin: 0; border-top: 1px solid var(--surface17f13-hair); }
.surface17f13-faq-item { border-bottom: 1px solid var(--surface17f13-hair); }
.surface17f13-faq-item summary {
  position: relative;
  list-style: none;
  min-height: 52px;
  padding: 15px 34px 14px 14px;
  color: var(--surface17f13-mist);
  font-family: var(--surface17f13-head-font);
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
}
.surface17f13-faq-item summary::-webkit-details-marker { display: none; }
.surface17f13-faq-item summary::after { content: '+'; position: absolute; right: 14px; color: var(--surface17f13-lime); font-size: 18px; line-height: 1; }
.surface17f13-faq-item[open] summary::after { content: '−'; }
.surface17f13-faq-answer { padding: 0 14px 15px; color: var(--surface17f13-mist-dim); font-size: 13.5px; }
.surface17f13-faq-answer p { margin: 0 0 9px; }
.surface17f13-faq-answer p:last-child { margin-bottom: 0; }
.surface17f13-help-callout {
  margin: 12px 0 0;
  padding: 12px;
  border-left: 3px solid var(--surface17f13-lime);
  background: rgba(50, 205, 50, 0.08);
  color: var(--surface17f13-mist-dim);
  font-size: 13px;
}
.surface17f13-help-callout strong { color: var(--surface17f13-mist); }
.surface17f13-route-strip { display: grid; gap: 8px; margin-top: 10px; }
.surface17f13-route-strip button { min-height: 44px; padding: 9px 12px; background: var(--surface17f13-panel-high); border: 1px solid var(--surface17f13-hair); border-left: 3px solid var(--surface17f13-plum); border-radius: var(--surface17f13-radius); text-align: left; font-size: 12.5px; font-weight: 600; }
.surface17f13-route-strip button:active { border-color: var(--surface17f13-lime); }
.surface17f13-check-panel { padding: 12px; border: 1px solid var(--surface17f13-hair); background: var(--surface17f13-panel); border-radius: var(--surface17f13-radius-lg); }
.surface17f13-check-panel h3 { margin-top: 0; }
.surface17f13-check-panel ul { margin-bottom: 0; }
.surface17f13-two-col { display: grid; gap: 10px; }
@media (min-width: 375px) { .surface17f13-two-col { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- 13. Dock: segmented action bar ---------- */
.surface17f13-dock {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  background: #211e27;
  border-top: 1px solid var(--surface17f13-hair);
  padding-bottom: env(safe-area-inset-bottom, 0);
  z-index: 70;
}
.surface17f13-dock-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  min-height: var(--surface17f13-dock-h);
  padding: 6px 2px 7px;
  background: transparent;
  border: 0;
  border-left: 1px solid rgba(55, 51, 63, 0.55);
  color: var(--surface17f13-mist-dim);
  font-family: var(--surface17f13-body-font);
}
.surface17f13-dock-item:first-child { border-left: 0; }
.surface17f13-dock-item svg {
  width: 21px;
  height: 21px;
  stroke: currentColor;
  fill: none;
  transition: filter 0.2s ease, transform 0.2s ease;
}
.surface17f13-dock-item span {
  font-size: 9.8px;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1;
}
.surface17f13-dock-item:active svg {
  filter: drop-shadow(0 0 6px rgba(221, 160, 221, 0.85));
  transform: translateY(-1px);
}
.surface17f13-dock-item.is-here {
  background: var(--surface17f13-lime);
  color: var(--surface17f13-lime-ink);
  box-shadow: 0 -5px 16px rgba(50, 205, 50, 0.28);
}
.surface17f13-dock-item.is-here svg { stroke: var(--surface17f13-lime-ink); }
.surface17f13-dock-item.is-here:active svg { filter: drop-shadow(0 0 5px rgba(16, 42, 16, 0.6)); }

/* ---------- 14. Motion and print ---------- */
@media (prefers-reduced-motion: reduce) {
  .surface17f13-slide,
  .surface17f13-drawer,
  .surface17f13-scrim,
  .surface17f13-game img,
  .surface17f13-dock-item svg {
    transition: none;
  }
}

@media print {
  .surface17f13-topbar,
  .surface17f13-dock,
  .surface17f13-drawer,
  .surface17f13-scrim { display: none; }
  .surface17f13-main { padding-top: 0; }
}
