/* ==========================================================================
   7JL Login Register - tokens and mobile component sheet
   File   : css/7jl-login-register-tokens-a15bf8.css
   Canvas : 320-430px phone frame, centered on wide screens (max 430px)
   Palette: #9370DB violet accent over #273746 slate base
   Voice  : technical display type, near-square tool corners, outlined
            tile cards, question-driven rhythm, motion on key CTAs only
   ========================================================================== */

:root {
  --surfacebf86e-ink:        #273746;
  --surfacebf86e-ink-deep:   #1b2733;
  --surfacebf86e-ink-panel:  #2e4051;
  --surfacebf86e-ink-raise:  #35495c;
  --surfacebf86e-line:       #465f76;
  --surfacebf86e-line-soft:  rgba(70, 95, 118, 0.45);
  --surfacebf86e-violet:     #9370DB;
  --surfacebf86e-violet-deep:#6f50c2;
  --surfacebf86e-violet-soft:#bca7f2;
  --surfacebf86e-violet-glow:rgba(147, 112, 219, 0.16);
  --surfacebf86e-text:       #e9edf5;
  --surfacebf86e-text-dim:   #d3dce8;
  --surfacebf86e-muted:      #9fb1c6;
  --surfacebf86e-white:      #ffffff;
  --surfacebf86e-font-display: 'Chakra Petch', 'Segoe UI', 'Trebuchet MS', system-ui, sans-serif;
  --surfacebf86e-font-body: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --surfacebf86e-r-tile: 3px;   /* near-square tool corners */
  --surfacebf86e-r-cta: 6px;    /* lightly rounded CTA group */
  --surfacebf86e-topbar-h: 104px;
  --surfacebf86e-rail-h: 62px;
}

/* --------------------------------------------------------------------------
   Base
   -------------------------------------------------------------------------- */

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--surfacebf86e-ink-deep);
  color: var(--surfacebf86e-text);
  font-family: var(--surfacebf86e-font-body);
  font-size: 15px;
  line-height: 1.62;
}

body.surfacebf86e-noscroll { overflow: hidden; }

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

h1, h2, h3 {
  font-family: var(--surfacebf86e-font-display);
  font-weight: 600;
  line-height: 1.32;
  margin: 0;
  overflow-wrap: break-word;
}

p { margin: 0 0 12px; overflow-wrap: break-word; }

ul, ol { margin: 0 0 14px; padding: 0; }

a { color: var(--surfacebf86e-violet-soft); }

button {
  font-family: inherit;
  color: inherit;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}

:focus-visible {
  outline: 2px solid var(--surfacebf86e-violet-soft);
  outline-offset: 2px;
  border-radius: 2px;
}

/* Phone canvas: everything lives inside a 430px frame, centered when wide */
.surfacebf86e-shell {
  position: relative;
  max-width: 430px;
  margin: 0 auto;
  min-height: 100vh;
  background: var(--surfacebf86e-ink);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.4);
}

.surfacebf86e-main {
  padding-top: calc(var(--surfacebf86e-topbar-h) + 10px);
  padding-bottom: calc(var(--surfacebf86e-rail-h) + 34px);
}

.surfacebf86e-skip {
  position: absolute;
  left: 10px;
  top: -48px;
  z-index: 90;
  background: var(--surfacebf86e-violet);
  color: var(--surfacebf86e-white);
  padding: 9px 14px;
  border-radius: var(--surfacebf86e-r-cta);
  font-family: var(--surfacebf86e-font-display);
  font-size: 13px;
  text-decoration: none;
  transition: top 0.15s ease;
}

.surfacebf86e-skip:focus { top: 8px; }

/* --------------------------------------------------------------------------
   Tab-style fixed top bar (brand row + action tab row)
   -------------------------------------------------------------------------- */

.surfacebf86e-topbar {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  z-index: 60;
  background: rgba(27, 39, 51, 0.97);
  border-bottom: 1px solid var(--surfacebf86e-line);
}

.surfacebf86e-topbar-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 58px;
  padding: 8px 12px 6px;
}

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

.surfacebf86e-brand-logo {
  width: 34px;
  height: 34px;
  object-fit: contain;
  border-radius: 4px;
  border: 1px solid var(--surfacebf86e-line-soft);
  background: var(--surfacebf86e-ink-panel);
}

.surfacebf86e-brand-name {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.surfacebf86e-brand-name strong {
  font-family: var(--surfacebf86e-font-display);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--surfacebf86e-white);
}

.surfacebf86e-brand-name small {
  font-family: var(--surfacebf86e-font-display);
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--surfacebf86e-violet-soft);
  margin-top: 3px;
}

/* Borderless burger, 44px hit area */
.surfacebf86e-burger {
  width: 44px;
  height: 44px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  border-radius: var(--surfacebf86e-r-cta);
  -webkit-tap-highlight-color: transparent;
}

.surfacebf86e-burger span {
  display: block;
  width: 21px;
  height: 2px;
  background: var(--surfacebf86e-violet-soft);
  border-radius: 1px;
}

.surfacebf86e-burger:active span { background: var(--surfacebf86e-white); }

/* Action tab strip under the brand row */
.surfacebf86e-actionbar {
  display: flex;
  gap: 8px;
  padding: 0 12px 10px;
}

/* --------------------------------------------------------------------------
   Buttons - the only elements allowed motion (press feedback)
   -------------------------------------------------------------------------- */

.surfacebf86e-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 18px;
  border-radius: var(--surfacebf86e-r-cta);
  border: 1px solid transparent;
  font-family: var(--surfacebf86e-font-display);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.04em;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.12s ease, background-color 0.12s ease, border-color 0.12s ease;
  -webkit-tap-highlight-color: transparent;
}

.surfacebf86e-btn--grow { flex: 1 1 auto; }

.surfacebf86e-btn--primary {
  background: var(--surfacebf86e-violet);
  color: var(--surfacebf86e-white);
  box-shadow: inset 0 -2px 0 rgba(0, 0, 0, 0.28);
}

.surfacebf86e-btn--primary:active {
  transform: translateY(1px) scale(0.985);
  background: var(--surfacebf86e-violet-deep);
}

.surfacebf86e-btn--ghost {
  background: transparent;
  border-color: var(--surfacebf86e-violet-soft);
  color: var(--surfacebf86e-violet-soft);
}

.surfacebf86e-btn--ghost:active {
  transform: translateY(1px);
  border-color: var(--surfacebf86e-white);
  color: var(--surfacebf86e-white);
}

.surfacebf86e-btn--block {
  display: flex;
  width: 100%;
}

/* --------------------------------------------------------------------------
   Side drawer menu
   -------------------------------------------------------------------------- */

.surfacebf86e-scrim {
  position: fixed;
  inset: 0;
  z-index: 70;
  background: rgba(10, 16, 22, 0.62);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.surfacebf86e-scrim.surfacebf86e-open { opacity: 1; pointer-events: auto; }

.surfacebf86e-drawer {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  z-index: 80;
  width: min(84vw, 318px);
  display: flex;
  flex-direction: column;
  background: #20303f;
  border-right: 1px solid var(--surfacebf86e-line);
  transform: translateX(-104%);
  transition: transform 0.22s ease;
  overflow-y: auto;
}

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

.surfacebf86e-drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 14px 14px 12px;
  border-bottom: 1px solid var(--surfacebf86e-line-soft);
}

.surfacebf86e-drawer-head .surfacebf86e-brand { min-height: 40px; }

.surfacebf86e-drawer-close {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--surfacebf86e-font-display);
  font-size: 17px;
  color: var(--surfacebf86e-violet-soft);
  border-radius: var(--surfacebf86e-r-cta);
}

.surfacebf86e-drawer-close:active { color: var(--surfacebf86e-white); }

.surfacebf86e-drawer-nav { padding: 10px 0 16px; }

.surfacebf86e-drawer-group {
  display: block;
  padding: 12px 16px 5px;
  font-family: var(--surfacebf86e-font-display);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--surfacebf86e-muted);
}

.surfacebf86e-drawer-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 46px;
  padding: 6px 16px;
  text-decoration: none;
  color: var(--surfacebf86e-text-dim);
  font-size: 14.5px;
  border-left: 2px solid transparent;
}

.surfacebf86e-drawer-link::after {
  content: "\203A";
  font-family: var(--surfacebf86e-font-display);
  color: var(--surfacebf86e-line);
  font-size: 15px;
}

.surfacebf86e-drawer-link:active { background: var(--surfacebf86e-ink-panel); }

.surfacebf86e-drawer-link.surfacebf86e-on {
  color: var(--surfacebf86e-violet-soft);
  border-left-color: var(--surfacebf86e-violet);
  background: var(--surfacebf86e-violet-glow);
}

.surfacebf86e-drawer-link.surfacebf86e-on::after { color: var(--surfacebf86e-violet-soft); }

.surfacebf86e-drawer-cta {
  margin-top: auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding: 14px 14px calc(16px + env(safe-area-inset-bottom, 0px));
  border-top: 1px solid var(--surfacebf86e-line-soft);
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */

.surfacebf86e-hero { padding: 6px 14px 4px; }

.surfacebf86e-hero-kicker {
  margin: 0 0 8px;
  font-family: var(--surfacebf86e-font-display);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--surfacebf86e-violet-soft);
}

.surfacebf86e-hero-title {
  font-size: 21px;
  font-weight: 700;
  letter-spacing: 0.01em;
  margin: 0 0 10px;
  color: var(--surfacebf86e-white);
}

.surfacebf86e-hero-sub {
  font-size: 14px;
  color: var(--surfacebf86e-text-dim);
  margin: 0 0 14px;
}

.surfacebf86e-hero-sub strong,
.surfacebf86e-prose strong { color: var(--surfacebf86e-white); }

.surfacebf86e-prose { overflow-wrap: anywhere; }

.surfacebf86e-prose h3 { overflow-wrap: anywhere; }

.surfacebf86e-hero-cta {
  display: flex;
  gap: 8px;
  margin: 0 0 13px;
}

.surfacebf86e-hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0 0 16px;
}

.surfacebf86e-chip {
  font-family: var(--surfacebf86e-font-display);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--surfacebf86e-text-dim);
  border: 1px solid var(--surfacebf86e-line-soft);
  background: var(--surfacebf86e-ink-panel);
  padding: 4px 9px;
  border-radius: 2px;
}

/* --------------------------------------------------------------------------
   Promo carousel (3 local banners, whole slide is the entry point)
   -------------------------------------------------------------------------- */

.surfacebf86e-carousel {
  position: relative;
  margin: 0 14px 8px;
  overflow: hidden;
  background: var(--surfacebf86e-ink-panel);
  border: 1px solid var(--surfacebf86e-line-soft);
  border-radius: var(--surfacebf86e-r-tile);
}

.surfacebf86e-track {
  display: flex;
  transition: transform 0.32s ease;
}

.surfacebf86e-slide {
  position: relative;
  flex: 0 0 100%;
  display: block;
  text-decoration: none;
}

.surfacebf86e-slide img {
  width: 100%;
  aspect-ratio: 2.15 / 1;
  object-fit: cover;
}

.surfacebf86e-slide-tag {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 22px 76px 8px 12px;
  font-family: var(--surfacebf86e-font-display);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--surfacebf86e-text);
  background: linear-gradient(180deg, rgba(27, 39, 51, 0) 0%, rgba(27, 39, 51, 0.92) 78%);
}

.surfacebf86e-dots {
  position: absolute;
  right: 8px;
  bottom: 7px;
  display: flex;
  gap: 2px;
  z-index: 2;
}

.surfacebf86e-dot {
  position: relative;
  width: 26px;
  height: 26px;
}

.surfacebf86e-dot::after {
  content: "";
  position: absolute;
  inset: 8px;
  border-radius: 50%;
  border: 1px solid var(--surfacebf86e-violet-soft);
  transition: background-color 0.15s ease;
}

.surfacebf86e-dot.surfacebf86e-on::after { background: var(--surfacebf86e-violet-soft); }

/* --------------------------------------------------------------------------
   Generic content sections
   -------------------------------------------------------------------------- */

.surfacebf86e-section { padding: 20px 14px 4px; }

.surfacebf86e-section > h2 {
  font-size: 18.5px;
  color: var(--surfacebf86e-white);
  margin: 0 0 10px;
}

.surfacebf86e-lede {
  color: var(--surfacebf86e-text);
  margin: 0 0 12px;
}

.surfacebf86e-prose p { color: var(--surfacebf86e-text-dim); }

.surfacebf86e-inline {
  color: var(--surfacebf86e-violet-soft);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}

.surfacebf86e-inline:active { color: var(--surfacebf86e-white); }

/* Question-driven sub blocks inside modules */
.surfacebf86e-qa {
  margin: 14px 0;
  padding: 4px 0 4px 12px;
  border-left: 2px solid var(--surfacebf86e-violet);
}

.surfacebf86e-qa h3 {
  font-size: 14px;
  color: var(--surfacebf86e-violet-soft);
  margin: 0 0 5px;
}

.surfacebf86e-qa p {
  font-size: 13.5px;
  color: var(--surfacebf86e-text-dim);
  margin: 0;
}

/* Numbered procedure list, tool-style counter */
.surfacebf86e-steps {
  list-style: none;
  counter-reset: surfacebf86e-step;
  margin: 4px 0 16px;
}

.surfacebf86e-steps li {
  position: relative;
  counter-increment: surfacebf86e-step;
  padding: 0 0 13px 42px;
  color: var(--surfacebf86e-text-dim);
  font-size: 14px;
}

.surfacebf86e-steps li::before {
  content: counter(surfacebf86e-step, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 1px;
  width: 29px;
  height: 29px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--surfacebf86e-font-display);
  font-size: 12.5px;
  font-weight: 600;
  color: var(--surfacebf86e-violet-soft);
  border: 1px solid rgba(188, 167, 242, 0.5);
  border-radius: 2px;
  background: var(--surfacebf86e-violet-glow);
}

/* Checklist with tick boxes */
.surfacebf86e-check { list-style: none; }

.surfacebf86e-check li {
  position: relative;
  padding: 0 0 11px 32px;
  color: var(--surfacebf86e-text-dim);
  font-size: 14px;
}

.surfacebf86e-check li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 5px;
  width: 13px;
  height: 13px;
  border: 1px solid var(--surfacebf86e-violet-soft);
  border-radius: 2px;
  background:
    linear-gradient(135deg, transparent 0 42%, var(--surfacebf86e-violet-soft) 42% 58%, transparent 58%) no-repeat 50% / 100% 100%;
}

.surfacebf86e-note {
  font-size: 12.5px;
  line-height: 1.55;
  color: var(--surfacebf86e-muted);
  border: 1px dashed var(--surfacebf86e-line);
  border-radius: 2px;
  padding: 10px 12px;
  margin: 0 0 12px;
}

/* --------------------------------------------------------------------------
   Game zone - categories in fixed order, outlined tile cards
   -------------------------------------------------------------------------- */

.surfacebf86e-cat { margin: 0 0 18px; }

.surfacebf86e-cat-head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 6px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--surfacebf86e-line-soft);
}

.surfacebf86e-cat-title {
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--surfacebf86e-white);
}

.surfacebf86e-cat-count {
  margin-left: auto;
  flex: 0 0 auto;
  font-family: var(--surfacebf86e-font-display);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--surfacebf86e-violet-soft);
  border: 1px solid rgba(188, 167, 242, 0.5);
  padding: 2px 7px;
  border-radius: 2px;
}

.surfacebf86e-cat-blurb {
  font-size: 13px;
  line-height: 1.58;
  color: var(--surfacebf86e-muted);
  margin: 0 0 10px;
}

.surfacebf86e-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px 7px;
}

.surfacebf86e-tile {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 6px 5px 7px;
  background: var(--surfacebf86e-ink-panel);
  border: 1px solid var(--surfacebf86e-line);
  border-radius: var(--surfacebf86e-r-tile);
  text-decoration: none;
  text-align: center;
  -webkit-tap-highlight-color: transparent;
}

.surfacebf86e-tile:active { border-color: var(--surfacebf86e-violet); }

.surfacebf86e-tile:focus-visible { border-color: var(--surfacebf86e-violet-soft); }

.surfacebf86e-tile-img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 2px;
  background: var(--surfacebf86e-ink-deep);
}

.surfacebf86e-tile-name {
  font-size: 11px;
  line-height: 1.25;
  min-height: 28px;
  color: var(--surfacebf86e-text-dim);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Provider strip: compact horizontal rail of studio logos */
.surfacebf86e-studio-rail {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 2px 0 6px;
  margin: 0 0 6px;
  scrollbar-width: none;
}

.surfacebf86e-studio-rail::-webkit-scrollbar { display: none; }

.surfacebf86e-studio-item {
  flex: 0 0 auto;
  width: 92px;
  padding: 7px 6px;
  background: var(--surfacebf86e-ink-panel);
  border: 1px solid var(--surfacebf86e-line-soft);
  border-radius: var(--surfacebf86e-r-tile);
  text-decoration: none;
}

.surfacebf86e-studio-item img {
  width: 100%;
  aspect-ratio: 2.6 / 1;
  object-fit: contain;
}

/* --------------------------------------------------------------------------
   Homepage extended footer
   (brand > page directory > promotions > conditional disclaimer)
   -------------------------------------------------------------------------- */

.surfacebf86e-xfoot {
  margin-top: 24px;
  border-top: 1px solid var(--surfacebf86e-line);
  background: #22303e;
  padding: 18px 14px 16px;
}

.surfacebf86e-xfoot-brand p {
  font-size: 13.5px;
  color: var(--surfacebf86e-text-dim);
  margin: 0;
}

.surfacebf86e-xfoot-label {
  margin: 20px 0 8px;
  font-family: var(--surfacebf86e-font-display);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--surfacebf86e-violet-soft);
}

.surfacebf86e-xfoot-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 14px;
}

.surfacebf86e-xfoot-link {
  display: block;
  padding: 7px 0;
  font-size: 13px;
  line-height: 1.4;
  color: var(--surfacebf86e-text-dim);
  text-decoration: none;
  border-bottom: 1px solid rgba(70, 95, 118, 0.35);
}

.surfacebf86e-xfoot-link:active { color: var(--surfacebf86e-violet-soft); }

.surfacebf86e-xfoot-promos {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}

.surfacebf86e-xfoot-promo {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 44px;
  padding: 10px 13px;
  border: 1px solid rgba(147, 112, 219, 0.55);
  border-radius: var(--surfacebf86e-r-cta);
  background: var(--surfacebf86e-violet-glow);
  color: var(--surfacebf86e-text);
  font-size: 13.5px;
  line-height: 1.4;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}

.surfacebf86e-xfoot-promo::after {
  content: "\2197";
  flex: 0 0 auto;
  font-family: var(--surfacebf86e-font-display);
  font-size: 14px;
  color: var(--surfacebf86e-violet-soft);
}

.surfacebf86e-xfoot-promo:active {
  border-color: var(--surfacebf86e-violet-soft);
  color: var(--surfacebf86e-white);
}

.surfacebf86e-xfoot .surfacebf86e-note { margin: 14px 0 0; }

/* --------------------------------------------------------------------------
   Common footer + full-width bottom nav rail
   -------------------------------------------------------------------------- */

.surfacebf86e-foot {
  padding: 18px 14px 20px;
  text-align: center;
  border-top: 1px solid var(--surfacebf86e-line-soft);
}

.surfacebf86e-foot-copy {
  margin: 0;
  font-size: 12px;
  line-height: 1.6;
  color: var(--surfacebf86e-muted);
}

.surfacebf86e-bottomnav {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  z-index: 60;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  background: rgba(23, 33, 44, 0.98);
  border-top: 1px solid var(--surfacebf86e-line);
  padding: 5px 2px calc(5px + env(safe-area-inset-bottom, 0px));
}

.surfacebf86e-bottomnav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  min-height: 50px;
  padding: 2px 1px;
  text-decoration: none;
  color: var(--surfacebf86e-muted);
  -webkit-tap-highlight-color: transparent;
}

.surfacebf86e-bottomnav-ico {
  width: 24px;
  height: 24px;
  display: block;
}

.surfacebf86e-bottomnav-txt {
  font-family: var(--surfacebf86e-font-display);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.05em;
}

.surfacebf86e-bottomnav-item:active { color: var(--surfacebf86e-text-dim); }

/* Active role = color switch, no motion */
.surfacebf86e-bottomnav-item.surfacebf86e-on { color: var(--surfacebf86e-violet-soft); }

.surfacebf86e-bottomnav-item--promo .surfacebf86e-bottomnav-txt { color: var(--surfacebf86e-violet-soft); }

/* --------------------------------------------------------------------------
   Breakpoints
   -------------------------------------------------------------------------- */

/* Comfortable phones: 5-column game grid, roomier hero */
@media (min-width: 375px) {
  .surfacebf86e-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 9px 8px; }
  .surfacebf86e-hero-title { font-size: 23px; }
  .surfacebf86e-section > h2 { font-size: 20px; }
  .surfacebf86e-slide-tag { font-size: 12px; }
}

/* Canvas locks at 430px; refine the frame edges for wide screens */
@media (min-width: 430px) {
  .surfacebf86e-shell {
    box-shadow:
      0 0 0 1px rgba(0, 0, 0, 0.45),
      0 0 44px rgba(0, 0, 0, 0.5);
  }
  .surfacebf86e-hero-title { font-size: 24px; }
  .surfacebf86e-grid { gap: 10px 9px; }
}

/* Very narrow canvas safety: keep the top bar readable at 320px */
@media (max-width: 359px) {
  .surfacebf86e-brand-name strong { font-size: 16.5px; }
  .surfacebf86e-btn { padding: 10px 12px; font-size: 13px; }
  .surfacebf86e-hero-title { font-size: 19.5px; }
}

/* Respect users who prefer calmer interfaces: CTA motion off */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .surfacebf86e-btn,
  .surfacebf86e-track,
  .surfacebf86e-drawer,
  .surfacebf86e-scrim,
  .surfacebf86e-dot::after { transition: none; }
}
