/* ============================================================
   CMW - cmw.homes
   Mobile-first canvas system (320-430px phone canvas)
   All classes and variables use the surface5c933- prefix.
   Palette: #9400D3 / #00BFFF / #BA55D3 / #212F3D / #8A2BE2
   Design tone: humanist serif headings + clear sans body,
   small radius / high density, outlined tile game cards,
   lede-then-section rhythm, state-color-only motion,
   compact dual-button CTA groups.
   ============================================================ */

:root {
  --surface5c933-backdrop: #10151d;
  --surface5c933-canvas: #212F3D;
  --surface5c933-panel: #1A2532;
  --surface5c933-panel2: #25364A;
  --surface5c933-violet: #9400D3;
  --surface5c933-blueviolet: #8A2BE2;
  --surface5c933-orchid: #BA55D3;
  --surface5c933-sky: #00BFFF;
  --surface5c933-ink: #EDF3FB;
  --surface5c933-muted: #9FB0C7;
  --surface5c933-line: rgba(186, 85, 211, 0.28);
  --surface5c933-line2: rgba(159, 176, 199, 0.16);
  --surface5c933-serif: "Georgia", "Times New Roman", "Palatino Linotype", serif;
  --surface5c933-sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --surface5c933-r: 6px;
  --surface5c933-r-sm: 4px;
  --surface5c933-barh: 58px;
  --surface5c933-navh: 56px;
}

/* ---------- base ---------- */

*,
*::before,
*::after {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  background: var(--surface5c933-backdrop);
  color: var(--surface5c933-ink);
  font-family: var(--surface5c933-sans);
  font-size: 14px;
  line-height: 1.55;
  overflow-x: hidden;
  min-height: 100vh;
  min-height: 100dvh;
}

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

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

a {
  color: var(--surface5c933-sky);
}

:focus-visible {
  outline: 2px solid var(--surface5c933-sky);
  outline-offset: 2px;
  border-radius: 2px;
}

/* ---------- phone canvas ---------- */

.surface5c933-canvas {
  position: relative;
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
  background: var(--surface5c933-canvas);
  min-height: 100vh;
  min-height: 100dvh;
}

@media (min-width: 520px) {
  .surface5c933-canvas {
    border-left: 1px solid var(--surface5c933-line2);
    border-right: 1px solid var(--surface5c933-line2);
  }
}

/* ---------- accessibility helpers ---------- */

.surface5c933-vh {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.surface5c933-skip {
  position: fixed;
  top: 4px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 120;
  background: var(--surface5c933-sky);
  color: #06121c;
  font-weight: 700;
  font-size: 13px;
  padding: 9px 14px;
  border-radius: var(--surface5c933-r);
  text-decoration: none;
  opacity: 0;
  pointer-events: none;
}

.surface5c933-skip:focus {
  opacity: 1;
  pointer-events: auto;
}

/* ---------- fixed functional header (edge aligned) ---------- */

.surface5c933-header {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 480px;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  min-height: var(--surface5c933-barh);
  padding: 7px 10px;
  padding-top: calc(7px + env(safe-area-inset-top));
  background: rgba(23, 31, 41, 0.94);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--surface5c933-line);
}

/* brand zone: real logo image + site name only */
.surface5c933-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: var(--surface5c933-ink);
  min-height: 44px;
}

.surface5c933-brand img {
  width: 34px;
  height: 34px;
  border-radius: var(--surface5c933-r-sm);
  border: 1px solid var(--surface5c933-line);
  flex: 0 0 auto;
}

.surface5c933-brandName {
  font-family: var(--surface5c933-serif);
  font-size: 21px;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1;
}

.surface5c933-headActions {
  display: flex;
  align-items: center;
  gap: 6px;
}

/* compact dual CTA buttons */
.surface5c933-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 40px;
  padding: 8px 11px;
  border-radius: var(--surface5c933-r);
  border: 1px solid transparent;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

.surface5c933-btn--cta {
  background: linear-gradient(135deg, var(--surface5c933-blueviolet), var(--surface5c933-violet));
  color: #fff;
  border-color: rgba(0, 191, 255, 0.35);
}

.surface5c933-btn--cta:hover,
.surface5c933-btn--cta:focus-visible {
  background: linear-gradient(135deg, var(--surface5c933-violet), var(--surface5c933-orchid));
}

.surface5c933-btn--ghost {
  background: rgba(0, 191, 255, 0.08);
  color: var(--surface5c933-sky);
  border-color: rgba(0, 191, 255, 0.45);
}

.surface5c933-btn--ghost:hover,
.surface5c933-btn--ghost:focus-visible {
  background: rgba(0, 191, 255, 0.16);
  border-color: var(--surface5c933-sky);
}

/* hamburger trigger */
.surface5c933-menuBtn {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  width: 44px;
  min-height: 44px;
  background: transparent;
  border: 0;
  cursor: pointer;
}

.surface5c933-menuBtn span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--surface5c933-sky);
  border-radius: 1px;
  transition: background-color 0.18s ease;
}

.surface5c933-menuBtn:hover span,
.surface5c933-menuBtn:focus-visible span {
  background: var(--surface5c933-orchid);
}

/* ---------- side drawer menu ---------- */

.surface5c933-scrim {
  position: fixed;
  inset: 0;
  z-index: 70;
  background: rgba(8, 12, 18, 0.62);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.surface5c933-scrim.is-visible {
  opacity: 1;
  pointer-events: auto;
}

.surface5c933-drawer {
  position: fixed;
  top: 0;
  right: max(0px, calc(50vw - 240px));
  z-index: 80;
  width: min(82vw, 318px);
  height: 100vh;
  height: 100dvh;
  background: var(--surface5c933-panel);
  border-left: 1px solid var(--surface5c933-line);
  transform: translateX(102%);
  transition: transform 0.24s ease;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}

.surface5c933-drawer.is-open {
  transform: translateX(0);
}

.surface5c933-drawerHead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 14px 14px 10px;
  border-bottom: 1px solid var(--surface5c933-line2);
}

.surface5c933-drawerBrand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--surface5c933-serif);
  font-size: 18px;
  font-weight: 700;
  color: var(--surface5c933-ink);
}

.surface5c933-drawerBrand img {
  width: 28px;
  height: 28px;
  border-radius: var(--surface5c933-r-sm);
}

.surface5c933-drawerClose {
  width: 44px;
  min-height: 44px;
  border: 0;
  border-radius: var(--surface5c933-r);
  background: rgba(186, 85, 211, 0.14);
  color: var(--surface5c933-orchid);
  font-size: 19px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  transition: background-color 0.18s ease, color 0.18s ease;
}

.surface5c933-drawerClose:hover,
.surface5c933-drawerClose:focus-visible {
  background: rgba(186, 85, 211, 0.26);
  color: #fff;
}

.surface5c933-drawerGroup {
  margin: 0;
  padding: 12px 14px 4px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--surface5c933-muted);
}

.surface5c933-drawerList {
  list-style: none;
  margin: 0;
  padding: 0 8px 8px;
}

.surface5c933-drawerList a {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 46px;
  padding: 10px 12px 10px 15px;
  color: var(--surface5c933-ink);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  border-bottom: 1px solid var(--surface5c933-line2);
  transition: color 0.18s ease;
}

/* sliding indicator bar on the left edge */
.surface5c933-drawerList a::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 50%;
  width: 3px;
  height: 0;
  transform: translateY(-50%);
  background: var(--surface5c933-sky);
  border-radius: 2px;
  transition: height 0.18s ease;
}

.surface5c933-drawerList a:hover,
.surface5c933-drawerList a:focus-visible {
  color: var(--surface5c933-sky);
}

.surface5c933-drawerList a:hover::before,
.surface5c933-drawerList a:focus-visible::before,
.surface5c933-drawerList a.is-current::before {
  height: 22px;
}

.surface5c933-drawerList a.is-current {
  color: var(--surface5c933-sky);
}

.surface5c933-drawerList a::after {
  content: "\203A";
  color: var(--surface5c933-muted);
  font-size: 16px;
  font-weight: 400;
}

/* ---------- main column ---------- */

.surface5c933-main {
  padding: calc(var(--surface5c933-barh) + 12px) 12px calc(var(--surface5c933-navh) + 34px + env(safe-area-inset-bottom));
}

/* ---------- hero ---------- */

.surface5c933-kicker {
  display: inline-block;
  margin: 2px 0 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--surface5c933-sky);
}

.surface5c933-title {
  font-family: var(--surface5c933-serif);
  font-size: 24px;
  line-height: 1.24;
  font-weight: 700;
  margin: 0 0 8px;
  letter-spacing: 0.005em;
}

.surface5c933-title em {
  font-style: normal;
  color: var(--surface5c933-sky);
}

.surface5c933-lede {
  margin: 0 0 12px;
  color: var(--surface5c933-muted);
  font-size: 13.5px;
}

.surface5c933-duo {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 0 0 14px;
}

.surface5c933-duo .surface5c933-btn {
  flex: 1 1 auto;
  min-width: 132px;
}

/* ---------- promo banner carousel ---------- */

.surface5c933-carousel {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 0;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  border: 1px solid var(--surface5c933-line);
  border-radius: var(--surface5c933-r);
  background: var(--surface5c933-panel);
  scrollbar-width: none;
}

.surface5c933-carousel::-webkit-scrollbar {
  display: none;
}

.surface5c933-slide {
  flex: 0 0 100%;
  scroll-snap-align: center;
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: var(--surface5c933-panel);
  cursor: pointer;
  text-align: left;
}

.surface5c933-slide img {
  width: 100%;
  aspect-ratio: 9 / 4;
  object-fit: cover;
}

.surface5c933-slideFig {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 26px 10px 9px;
  background: linear-gradient(180deg, rgba(16, 21, 29, 0) 0%, rgba(16, 21, 29, 0.92) 82%);
}

.surface5c933-slideCopy {
  display: block;
  min-width: 0;
}

.surface5c933-slideCopy strong {
  display: block;
  font-family: var(--surface5c933-serif);
  font-size: 14.5px;
  line-height: 1.3;
  color: #fff;
}

.surface5c933-slideCopy small {
  display: block;
  margin-top: 2px;
  font-size: 11px;
  color: var(--surface5c933-muted);
}

.surface5c933-slideCta {
  flex: 0 0 auto;
  display: inline-block;
  padding: 7px 10px;
  border-radius: var(--surface5c933-r-sm);
  background: rgba(0, 191, 255, 0.16);
  border: 1px solid rgba(0, 191, 255, 0.5);
  color: var(--surface5c933-sky);
  font-size: 11.5px;
  font-weight: 700;
  white-space: nowrap;
  transition: background-color 0.18s ease, border-color 0.18s ease;
}

.surface5c933-slide:hover .surface5c933-slideCta,
.surface5c933-slide:focus-visible .surface5c933-slideCta {
  background: rgba(0, 191, 255, 0.3);
  border-color: var(--surface5c933-sky);
}

.surface5c933-dots {
  display: flex;
  justify-content: center;
  gap: 7px;
  margin: 8px 0 0;
}

.surface5c933-dot {
  width: 26px;
  height: 5px;
  min-height: 5px;
  padding: 0;
  border: 0;
  border-radius: 3px;
  background: rgba(159, 176, 199, 0.3);
  cursor: pointer;
  transition: width 0.2s ease, background-color 0.2s ease;
}

.surface5c933-dot.is-on {
  width: 36px;
  background: var(--surface5c933-sky);
}

/* ---------- category quick strip ---------- */

.surface5c933-catStrip {
  display: flex;
  gap: 7px;
  margin: 14px 0 4px;
  overflow-x: auto;
  padding: 2px;
  scrollbar-width: none;
}

.surface5c933-catStrip::-webkit-scrollbar {
  display: none;
}

.surface5c933-catChip {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 8px 13px;
  border: 1px solid var(--surface5c933-line);
  border-radius: var(--surface5c933-r);
  background: rgba(148, 0, 211, 0.07);
  color: var(--surface5c933-ink);
  font-size: 12.5px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: border-color 0.18s ease, color 0.18s ease, background-color 0.18s ease;
}

.surface5c933-catChip:hover,
.surface5c933-catChip:focus-visible {
  border-color: var(--surface5c933-sky);
  color: var(--surface5c933-sky);
  background: rgba(0, 191, 255, 0.08);
}

/* ---------- game sections ---------- */

.surface5c933-section {
  margin-top: 24px;
}

.surface5c933-secHead {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  border-bottom: 1px solid var(--surface5c933-line2);
  padding-bottom: 6px;
}

.surface5c933-secHead h2 {
  font-family: var(--surface5c933-serif);
  font-size: 17px;
  line-height: 1.3;
  font-weight: 700;
  margin: 0;
}

.surface5c933-count {
  flex: 0 0 auto;
  font-size: 11px;
  font-weight: 700;
  color: var(--surface5c933-orchid);
  border: 1px solid rgba(186, 85, 211, 0.45);
  border-radius: 999px;
  padding: 2px 9px;
  white-space: nowrap;
}

.surface5c933-secIntro {
  margin: 8px 0 10px;
  font-size: 12.8px;
  color: var(--surface5c933-muted);
}

.surface5c933-secIntro a {
  color: var(--surface5c933-sky);
  font-weight: 600;
}

.surface5c933-secIntro strong {
  color: var(--surface5c933-ink);
  font-weight: 700;
}

/* outlined tile game grid */
.surface5c933-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

@media (min-width: 375px) {
  .surface5c933-grid {
    grid-template-columns: repeat(5, 1fr);
  }
}

.surface5c933-tile {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 4px;
  width: 100%;
  min-height: 44px;
  padding: 5px 5px 7px;
  background: rgba(26, 37, 50, 0.6);
  border: 1px solid var(--surface5c933-line2);
  border-radius: var(--surface5c933-r);
  cursor: pointer;
  transition: border-color 0.18s ease, background-color 0.18s ease;
}

.surface5c933-tile img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: var(--surface5c933-r-sm);
  border: 1px solid rgba(0, 191, 255, 0.1);
}

.surface5c933-tile span {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 10.5px;
  line-height: 1.3;
  font-weight: 600;
  color: var(--surface5c933-ink);
  text-align: center;
  overflow-wrap: break-word;
}

.surface5c933-tile:hover,
.surface5c933-tile:focus-visible {
  border-color: var(--surface5c933-orchid);
  background: rgba(148, 0, 211, 0.12);
}

.surface5c933-tile:hover img,
.surface5c933-tile:focus-visible img {
  border-color: rgba(0, 191, 255, 0.55);
}

/* ---------- content modules ---------- */

.surface5c933-note {
  margin-top: 22px;
  padding: 13px 13px 15px;
  border: 1px solid var(--surface5c933-line);
  border-left: 3px solid var(--surface5c933-violet);
  border-radius: var(--surface5c933-r);
  background: rgba(148, 0, 211, 0.05);
}

.surface5c933-note h2 {
  font-family: var(--surface5c933-serif);
  font-size: 16.5px;
  line-height: 1.32;
  margin: 0 0 6px;
}

.surface5c933-note h3 {
  font-family: var(--surface5c933-serif);
  font-size: 14px;
  margin: 14px 0 5px;
  color: var(--surface5c933-orchid);
}

.surface5c933-note p {
  margin: 6px 0;
  font-size: 13px;
}

.surface5c933-note .surface5c933-secIntro {
  color: var(--surface5c933-muted);
}

.surface5c933-first {
  font-size: 13px;
  color: var(--surface5c933-ink);
  border-left: 3px solid var(--surface5c933-sky);
  padding-left: 9px;
}

/* payment method cells */
.surface5c933-payGrid {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  margin: 10px 0 4px;
  padding: 0;
}

.surface5c933-payCell {
  border: 1px solid var(--surface5c933-line2);
  border-radius: var(--surface5c933-r);
  padding: 9px 10px;
  background: rgba(26, 37, 50, 0.55);
}

.surface5c933-payCell strong {
  display: block;
  font-size: 12.5px;
  color: var(--surface5c933-sky);
}

.surface5c933-payCell span {
  display: block;
  margin-top: 3px;
  font-size: 11.5px;
  line-height: 1.45;
  color: var(--surface5c933-muted);
}

/* numbered guide steps */
.surface5c933-steps {
  list-style: none;
  counter-reset: surface5c933-step;
  margin: 10px 0 4px;
  padding: 0;
}

.surface5c933-steps li {
  counter-increment: surface5c933-step;
  position: relative;
  display: grid;
  grid-template-columns: 26px 1fr;
  gap: 9px;
  padding: 8px 0;
  border-bottom: 1px dashed var(--surface5c933-line2);
  font-size: 12.8px;
}

.surface5c933-steps li:last-child {
  border-bottom: 0;
}

.surface5c933-steps li::before {
  content: counter(surface5c933-step);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(148, 0, 211, 0.2);
  border: 1px solid var(--surface5c933-orchid);
  color: var(--surface5c933-orchid);
  font-size: 12px;
  font-weight: 700;
}

/* key takeaway checklist */
.surface5c933-check {
  list-style: none;
  margin: 10px 0 2px;
  padding: 0;
}

.surface5c933-check li {
  position: relative;
  padding: 7px 0 7px 24px;
  font-size: 12.8px;
  border-bottom: 1px dashed var(--surface5c933-line2);
}

.surface5c933-check li:last-child {
  border-bottom: 0;
}

.surface5c933-check li::before {
  content: "\2713";
  position: absolute;
  left: 2px;
  top: 7px;
  color: var(--surface5c933-sky);
  font-weight: 700;
  font-size: 13px;
}

/* term definition list */
.surface5c933-terms {
  margin: 8px 0 0;
}

.surface5c933-terms dt {
  font-size: 13px;
  font-weight: 700;
  color: var(--surface5c933-ink);
  margin-top: 9px;
}

.surface5c933-terms dd {
  margin: 2px 0 0;
  font-size: 12.5px;
  color: var(--surface5c933-muted);
}

/* ---------- extended footer (home only) ---------- */

.surface5c933-ext {
  margin-top: 28px;
  border-top: 1px solid var(--surface5c933-line);
  padding-top: 14px;
}

.surface5c933-ext > h2 {
  font-family: var(--surface5c933-serif);
  font-size: 17px;
  margin: 0 0 10px;
}

.surface5c933-extBlock {
  margin-top: 16px;
}

.surface5c933-extBlock h3 {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--surface5c933-orchid);
  margin: 0 0 8px;
}

.surface5c933-promoList {
  list-style: none;
  margin: 0;
  padding: 0;
}

.surface5c933-promoList button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
  min-height: 46px;
  margin-bottom: 8px;
  padding: 10px 12px;
  text-align: left;
  font-size: 13px;
  font-weight: 600;
  color: var(--surface5c933-ink);
  background: rgba(0, 191, 255, 0.06);
  border: 1px solid rgba(0, 191, 255, 0.3);
  border-radius: var(--surface5c933-r);
  cursor: pointer;
  transition: border-color 0.18s ease, background-color 0.18s ease;
}

.surface5c933-promoList button::after {
  content: "\2192";
  flex: 0 0 auto;
  color: var(--surface5c933-sky);
  font-size: 15px;
}

.surface5c933-promoList button:hover,
.surface5c933-promoList button:focus-visible {
  border-color: var(--surface5c933-sky);
  background: rgba(0, 191, 255, 0.13);
}

.surface5c933-brandNote {
  margin: 0;
  font-size: 12.5px;
  color: var(--surface5c933-muted);
}

.surface5c933-dir {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 7px 12px;
  margin: 0;
  padding: 0;
}

.surface5c933-dir a {
  font-size: 12.5px;
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: rgba(0, 191, 255, 0.4);
  text-underline-offset: 3px;
  transition: color 0.18s ease;
}

.surface5c933-dir a:hover,
.surface5c933-dir a:focus-visible {
  color: var(--surface5c933-sky);
}

.surface5c933-condNote {
  margin: 0;
  padding: 9px 10px;
  border: 1px dashed rgba(186, 85, 211, 0.4);
  border-radius: var(--surface5c933-r);
  font-size: 11.5px;
  line-height: 1.5;
  color: var(--surface5c933-muted);
}

/* ---------- common footer ---------- */

.surface5c933-foot {
  margin-top: 20px;
  border-top: 1px solid var(--surface5c933-line2);
  padding: 12px 0 4px;
  text-align: center;
  font-size: 11.5px;
  color: var(--surface5c933-muted);
}

.surface5c933-foot strong {
  color: var(--surface5c933-ink);
}

/* ---------- fixed segmented bottom action bar ---------- */

.surface5c933-bar {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 480px;
  z-index: 60;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  background: rgba(23, 31, 41, 0.96);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-top: 1px solid var(--surface5c933-line);
  padding-bottom: env(safe-area-inset-bottom);
}

/* borderless symbol + text emphasis */
.surface5c933-barItem {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  min-height: var(--surface5c933-navh);
  padding: 6px 2px 8px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--surface5c933-muted);
  text-decoration: none;
  background: transparent;
  border: 0;
  cursor: pointer;
}

.surface5c933-barItem svg {
  width: 21px;
  height: 21px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* underline marker with slide-in width */
.surface5c933-barItem::after {
  content: "";
  position: absolute;
  bottom: 5px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2.5px;
  border-radius: 2px;
  background: var(--surface5c933-sky);
  transition: width 0.2s ease;
}

.surface5c933-barItem:hover,
.surface5c933-barItem:focus-visible {
  color: var(--surface5c933-sky);
}

.surface5c933-barItem:hover::after,
.surface5c933-barItem:focus-visible::after {
  width: 16px;
}

.surface5c933-barItem.is-active {
  color: var(--surface5c933-sky);
}

.surface5c933-barItem.is-active::after {
  width: 24px;
}

/* promo roles keep the orchid tone to stand apart */
.surface5c933-barItem--promo {
  color: var(--surface5c933-orchid);
}

.surface5c933-barItem--promo svg {
  stroke-width: 1.9;
}

.surface5c933-barItem--promo:hover,
.surface5c933-barItem--promo:focus-visible {
  color: var(--surface5c933-sky);
}

/* ---------- wider phone canvas (430px breakpoint) ---------- */

@media (min-width: 430px) {
  .surface5c933-main {
    padding-left: 16px;
    padding-right: 16px;
  }

  .surface5c933-title {
    font-size: 26px;
  }

  .surface5c933-tile span {
    font-size: 11px;
  }

  .surface5c933-grid {
    gap: 9px;
  }

  .surface5c933-payGrid {
    grid-template-columns: repeat(3, 1fr);
  }

  .surface5c933-dir {
    grid-template-columns: repeat(3, 1fr);
  }

  .surface5c933-slideCopy strong {
    font-size: 15.5px;
  }
}

/* ---------- reduced motion ---------- */

@media (prefers-reduced-motion: reduce) {
  .surface5c933-drawer,
  .surface5c933-dot,
  .surface5c933-barItem::after,
  .surface5c933-drawerList a::before,
  .surface5c933-btn,
  .surface5c933-tile,
  .surface5c933-catChip {
    transition: none;
  }
}
