/* ==========================================================================
   az casino - azcasino.click mobile-first base stylesheet
   Phone canvas: 320-430px, centered on wide screens.
   Class / variable prefix: frame0c2b2-
   Palette: #800080 / #9966CC / #0A0A0A / #DDA0DD
   Direction: rounded headings + compact body, low-radius sectioned plates,
   grouped cover cards, conclusion-first rhythm, square high-contrast CTAs.
   ========================================================================== */

:root {
  --frame0c2b2-ink: #0A0A0A;
  --frame0c2b2-plate: #16101a;
  --frame0c2b2-plate2: #1d1421;
  --frame0c2b2-well: #241a29;
  --frame0c2b2-line: #31203a;
  --frame0c2b2-royal: #800080;
  --frame0c2b2-orchid: #9966CC;
  --frame0c2b2-plum: #DDA0DD;
  --frame0c2b2-paper: #f3eaf7;
  --frame0c2b2-dim: #a895b6;
  --frame0c2b2-r: 4px;
  --frame0c2b2-canvas: 430px;
  --frame0c2b2-head: 100px;
  --frame0c2b2-rail: 62px;
  --frame0c2b2-font-round: "SF Pro Rounded", "Arial Rounded MT Bold", "Segoe UI", ui-rounded, system-ui, sans-serif;
  --frame0c2b2-font-body: "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: #050406;
  color: var(--frame0c2b2-paper);
  font-family: var(--frame0c2b2-font-body);
  font-size: 13.5px;
  line-height: 1.5;
  letter-spacing: 0.01em;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a { color: var(--frame0c2b2-plum); }
button { font-family: inherit; }

a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--frame0c2b2-plum);
  outline-offset: 2px;
}

/* --------------------------------------------------------------------------
   Phone shell: on wide screens the page stays a centered 430px canvas
   -------------------------------------------------------------------------- */

.frame0c2b2-shell {
  position: relative;
  max-width: 430px;
  margin: 0 auto;
  min-height: 100vh;
  background: var(--frame0c2b2-ink);
  box-shadow: 0 0 0 1px #000, 0 0 44px rgba(128, 0, 128, 0.22);
}

.frame0c2b2-skip {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 120;
  background: var(--frame0c2b2-royal);
  color: #fff;
  padding: 10px 14px;
  font-weight: 700;
  text-decoration: none;
}

.frame0c2b2-skip:focus { left: 8px; top: 8px; }

/* --------------------------------------------------------------------------
   Fixed top chrome: brand row + category tab strip + layered dropdown menu
   -------------------------------------------------------------------------- */

.frame0c2b2-header {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  z-index: 80;
  background: linear-gradient(180deg, #130a15 0%, #0A0A0A 100%);
  border-bottom: 1px solid var(--frame0c2b2-royal);
}

.frame0c2b2-brandbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 56px;
  padding: 6px 10px;
}

.frame0c2b2-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  min-height: 44px;
}

.frame0c2b2-logo {
  width: 34px;
  height: 34px;
  border: 1px solid var(--frame0c2b2-orchid);
  border-radius: 6px;
  object-fit: cover;
}

.frame0c2b2-brandname {
  font-family: var(--frame0c2b2-font-round);
  font-weight: 700;
  font-size: 17px;
  letter-spacing: 0.04em;
  color: var(--frame0c2b2-plum);
  white-space: nowrap;
}

.frame0c2b2-actions {
  display: flex;
  align-items: center;
  gap: 6px;
}

.frame0c2b2-btn {
  min-height: 44px;
  padding: 0 13px;
  border: 1px solid transparent;
  border-radius: 2px;          /* square-corner CTA */
  font-weight: 700;
  font-size: 12.5px;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

.frame0c2b2-btn-cta {
  background: var(--frame0c2b2-royal);
  color: #ffffff;
  border-color: #a113a1;
}

.frame0c2b2-btn-cta:active { background: #5c005c; }

.frame0c2b2-btn-ghost {
  background: transparent;
  color: var(--frame0c2b2-plum);
  border-color: var(--frame0c2b2-orchid);
}

.frame0c2b2-btn-ghost:active { background: rgba(153, 102, 204, 0.2); }

.frame0c2b2-burger {
  width: 44px;
  height: 44px;
  display: grid;
  place-content: center;
  gap: 4px;
  background: transparent;
  border: 1px solid var(--frame0c2b2-line);
  border-radius: 2px;
  cursor: pointer;
}

.frame0c2b2-burger span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--frame0c2b2-plum);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.frame0c2b2-burger:active span { background: #ffffff; }

/* Category tab strip under the brand row */

.frame0c2b2-tabs {
  display: flex;
  overflow-x: auto;
  scrollbar-width: none;
  border-top: 1px solid var(--frame0c2b2-line);
}

.frame0c2b2-tabs::-webkit-scrollbar { display: none; }

.frame0c2b2-tabs a {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 14px;
  color: var(--frame0c2b2-dim);
  text-decoration: none;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-bottom: 2px solid transparent;
  transition: color 0.18s ease, border-color 0.18s ease;
}

.frame0c2b2-tabs a:first-child { border-bottom-color: var(--frame0c2b2-orchid); color: var(--frame0c2b2-paper); }

.frame0c2b2-tabs a:active { color: #ffffff; border-bottom-color: var(--frame0c2b2-plum); }

/* Layered dropdown menu */

.frame0c2b2-menu {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: #150e18;
  border-bottom: 1px solid var(--frame0c2b2-orchid);
  max-height: 0;
  overflow: hidden;
  visibility: hidden;
  transition: max-height 0.32s ease;
}

.frame0c2b2-menu.frame0c2b2-is-open {
  max-height: 580px;
  visibility: visible;
  overflow-y: auto;
}

.frame0c2b2-menuhome {
  display: flex;
  align-items: center;
  min-height: 48px;
  padding: 0 14px;
  color: var(--frame0c2b2-plum);
  text-decoration: none;
  font-family: var(--frame0c2b2-font-round);
  font-weight: 700;
  font-size: 13px;
  border-bottom: 1px solid var(--frame0c2b2-line);
}

.frame0c2b2-menuhome:active { color: #ffffff; }

.frame0c2b2-mgroup { border-bottom: 1px solid var(--frame0c2b2-line); }

.frame0c2b2-mgroup summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 44px;
  padding: 0 14px;
  cursor: pointer;
  list-style: none;
  color: var(--frame0c2b2-orchid);
  font-family: var(--frame0c2b2-font-round);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.frame0c2b2-mgroup summary::-webkit-details-marker { display: none; }

.frame0c2b2-mgroup summary::after {
  content: "+";
  color: var(--frame0c2b2-plum);
  font-size: 15px;
}

.frame0c2b2-mgroup[open] summary::after { content: "\2013"; }

.frame0c2b2-mgroup a {
  display: flex;
  align-items: center;
  min-height: 44px;
  margin-left: 14px;
  padding: 0 10px 0 12px;
  border-left: 2px solid var(--frame0c2b2-line);
  color: var(--frame0c2b2-paper);
  text-decoration: none;
  font-size: 13px;
  transition: color 0.15s ease, border-color 0.15s ease;
}

.frame0c2b2-mgroup a:active {
  color: var(--frame0c2b2-plum);
  border-left-color: var(--frame0c2b2-plum);
}

/* --------------------------------------------------------------------------
   Main column
   -------------------------------------------------------------------------- */

.frame0c2b2-main {
  padding: calc(var(--frame0c2b2-head) + 10px) 0 calc(var(--frame0c2b2-rail) + 26px + env(safe-area-inset-bottom, 0px));
}

section[id] { scroll-margin-top: calc(var(--frame0c2b2-head) + 6px); }

.frame0c2b2-h1wrap { padding: 4px 12px 0; }

.frame0c2b2-h1 {
  margin: 0 0 7px;
  font-family: var(--frame0c2b2-font-round);
  font-weight: 800;
  font-size: 21px;
  line-height: 1.28;
  color: var(--frame0c2b2-paper);
}

.frame0c2b2-h1 b { color: var(--frame0c2b2-plum); font-weight: 800; }

.frame0c2b2-lead {
  margin: 0;
  font-size: 12.8px;
  line-height: 1.55;
  color: var(--frame0c2b2-dim);
}

/* --------------------------------------------------------------------------
   Hero carousel (3 local promo banners, each a promo jump)
   -------------------------------------------------------------------------- */

.frame0c2b2-hero { padding: 12px 12px 0; }

.frame0c2b2-carousel {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--frame0c2b2-line);
  border-radius: var(--frame0c2b2-r);
  background: var(--frame0c2b2-plate2);
}

.frame0c2b2-track {
  display: flex;
  transition: transform 0.45s ease;
}

.frame0c2b2-slide {
  position: relative;
  flex: 0 0 100%;
  display: block;
  width: 100%;
  height: 170px;
  padding: 0;
  border: 0;
  background: var(--frame0c2b2-plate2);
  cursor: pointer;
}

.frame0c2b2-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: filter 0.2s ease;
}

.frame0c2b2-slide:active img { filter: brightness(1.14) saturate(1.05); }

.frame0c2b2-slidecap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 30px 12px 10px;
  text-align: left;
  background: linear-gradient(180deg, rgba(10, 10, 10, 0) 0%, rgba(10, 10, 10, 0.9) 80%);
}

.frame0c2b2-slidecap b {
  font-family: var(--frame0c2b2-font-round);
  font-size: 15px;
  line-height: 1.3;
  color: #ffffff;
}

.frame0c2b2-slidecap em {
  font-style: normal;
  font-size: 11.5px;
  color: var(--frame0c2b2-plum);
}

.frame0c2b2-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  min-height: 46px;
}

.frame0c2b2-dot {
  min-width: 44px;
  height: 44px;
  display: grid;
  place-content: center;
  padding: 0;
  background: transparent;
  border: 0;
  cursor: pointer;
}

.frame0c2b2-dot::before {
  content: "";
  display: block;
  width: 9px;
  height: 9px;
  background: rgba(221, 160, 221, 0.38);
  transform: rotate(45deg);
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.frame0c2b2-dot:active::before { background: var(--frame0c2b2-orchid); }

.frame0c2b2-dot-on::before {
  background: var(--frame0c2b2-plum);
  transform: rotate(45deg) scale(1.2);
}

/* --------------------------------------------------------------------------
   Game plates: grouped cover cards inside a sectioned zone
   -------------------------------------------------------------------------- */

.frame0c2b2-plate {
  margin: 16px 12px 0;
  border: 1px solid var(--frame0c2b2-line);
  border-radius: var(--frame0c2b2-r);
  background: var(--frame0c2b2-plate);
  overflow: hidden;
}

.frame0c2b2-platehead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 9px 12px;
  background: linear-gradient(90deg, rgba(128, 0, 128, 0.34) 0%, rgba(128, 0, 128, 0.05) 72%);
  border-bottom: 1px solid var(--frame0c2b2-line);
}

.frame0c2b2-platehead h2 {
  margin: 0;
  font-family: var(--frame0c2b2-font-round);
  font-weight: 700;
  font-size: 14.5px;
  line-height: 1.3;
  color: var(--frame0c2b2-paper);
}

.frame0c2b2-count {
  flex: 0 0 auto;
  padding: 3px 7px;
  border: 1px solid rgba(221, 160, 221, 0.4);
  border-radius: 2px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--frame0c2b2-plum);
  white-space: nowrap;
}

.frame0c2b2-platenote {
  margin: 0;
  padding: 8px 12px 0;
  font-size: 11.5px;
  line-height: 1.45;
  color: var(--frame0c2b2-dim);
}

.frame0c2b2-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px 6px;
  padding: 12px 10px 14px;
}

@media (min-width: 390px) {
  .frame0c2b2-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 12px 7px;
  }
}

.frame0c2b2-gcard {
  display: block;
  padding: 0;
  background: transparent;
  border: 0;
  cursor: pointer;
  text-align: center;
}

.frame0c2b2-gfig {
  display: block;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--frame0c2b2-well);
  border: 1px solid #2a1c31;
  border-radius: 3px;
  transition: border-color 0.16s ease, transform 0.16s ease;
}

.frame0c2b2-gfig img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.frame0c2b2-gname {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-top: 5px;
  min-height: 27px;
  font-size: 10.5px;
  line-height: 1.28;
  color: var(--frame0c2b2-paper);
}

.frame0c2b2-gcard:active .frame0c2b2-gfig {
  border-color: var(--frame0c2b2-orchid);
  transform: translateY(1px);
}

.frame0c2b2-pagelinks {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2px;
  padding: 4px 10px 8px;
  border-top: 1px dashed var(--frame0c2b2-line);
}

.frame0c2b2-pagelinks > span {
  padding: 0 6px 0 2px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--frame0c2b2-dim);
}

.frame0c2b2-pagelinks a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 8px;
  font-size: 12px;
  text-decoration: none;
  color: var(--frame0c2b2-plum);
  border-bottom: 1px dotted rgba(221, 160, 221, 0.55);
}

.frame0c2b2-pagelinks a:active { color: #ffffff; }

/* --------------------------------------------------------------------------
   Content modules (conclusion-first plates)
   -------------------------------------------------------------------------- */

.frame0c2b2-module {
  margin: 16px 12px 0;
  padding: 0 13px 14px;
  border: 1px solid var(--frame0c2b2-line);
  border-left: 3px solid var(--frame0c2b2-royal);
  border-radius: var(--frame0c2b2-r);
  background: var(--frame0c2b2-plate2);
}

.frame0c2b2-module h2,
.frame0c2b2-xfoot h2 {
  font-family: var(--frame0c2b2-font-round);
  font-weight: 700;
  line-height: 1.32;
  color: var(--frame0c2b2-paper);
}

.frame0c2b2-module h2 {
  margin: 0;
  padding: 12px 0 8px;
  font-size: 15px;
  border-bottom: 1px solid var(--frame0c2b2-line);
}

.frame0c2b2-answer {
  margin: 10px 0 2px;
  padding: 10px 11px;
  background: rgba(128, 0, 128, 0.16);
  border-left: 3px solid var(--frame0c2b2-orchid);
  font-size: 13px;
  font-weight: 600;
  color: var(--frame0c2b2-plum);
}

.frame0c2b2-module p { margin: 9px 0; font-size: 12.8px; line-height: 1.55; color: var(--frame0c2b2-paper); }

.frame0c2b2-module a { text-decoration: none; border-bottom: 1px dotted rgba(221, 160, 221, 0.6); }

.frame0c2b2-module a:active { color: #ffffff; }

.frame0c2b2-steps {
  margin: 10px 0 4px;
  padding: 0;
  list-style: none;
  counter-reset: frame0c2b2step;
}

.frame0c2b2-steps li {
  position: relative;
  counter-increment: frame0c2b2step;
  padding: 8px 0 8px 34px;
  border-bottom: 1px solid rgba(49, 32, 58, 0.65);
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--frame0c2b2-paper);
}

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

.frame0c2b2-steps li::before {
  content: counter(frame0c2b2step);
  position: absolute;
  left: 0;
  top: 9px;
  display: grid;
  place-content: center;
  width: 24px;
  height: 24px;
  background: var(--frame0c2b2-royal);
  color: #ffffff;
  font-weight: 700;
  font-size: 12px;
}

.frame0c2b2-payrows { margin-top: 8px; }

.frame0c2b2-payrow {
  display: flex;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid var(--frame0c2b2-line);
}

.frame0c2b2-payrow:last-child { border-bottom: 0; }

.frame0c2b2-payrow b {
  flex: 0 0 92px;
  font-family: var(--frame0c2b2-font-round);
  font-size: 12.5px;
  line-height: 1.4;
  color: var(--frame0c2b2-plum);
}

.frame0c2b2-payrow p { margin: 0; font-size: 12.3px; line-height: 1.5; color: var(--frame0c2b2-paper); }

.frame0c2b2-scenes {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 10px;
}

.frame0c2b2-scene {
  padding: 10px 10px 9px;
  background: var(--frame0c2b2-well);
  border: 1px solid var(--frame0c2b2-line);
  border-radius: 3px;
}

.frame0c2b2-scene h3 {
  margin: 0 0 4px;
  font-family: var(--frame0c2b2-font-round);
  font-size: 12.5px;
  color: var(--frame0c2b2-plum);
}

.frame0c2b2-scene p {
  margin: 0;
  font-size: 11.8px;
  line-height: 1.48;
  color: var(--frame0c2b2-paper);
}

.frame0c2b2-facts {
  margin: 8px 0 0;
  padding: 0;
  list-style: none;
}

.frame0c2b2-facts li {
  position: relative;
  padding: 7px 0 7px 20px;
  font-size: 12.5px;
  line-height: 1.5;
  border-bottom: 1px dashed rgba(49, 32, 58, 0.7);
}

.frame0c2b2-facts li:last-child { border-bottom: 0; }

.frame0c2b2-facts li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 13px;
  width: 8px;
  height: 8px;
  background: var(--frame0c2b2-orchid);
  transform: rotate(45deg);
}

/* --------------------------------------------------------------------------
   Extended footer: brand > promotions > page directory > disclaimer
   -------------------------------------------------------------------------- */

.frame0c2b2-xfoot {
  margin: 18px 12px 0;
  padding: 0 13px 12px;
  border: 1px solid var(--frame0c2b2-line);
  border-radius: var(--frame0c2b2-r);
  background: #120b14;
}

.frame0c2b2-xfoot h2 {
  margin: 0;
  padding: 11px 0 7px;
  font-size: 14px;
  color: var(--frame0c2b2-plum);
  border-bottom: 1px solid var(--frame0c2b2-line);
}

.frame0c2b2-xfoot p { margin: 8px 0 4px; font-size: 12.5px; line-height: 1.55; color: var(--frame0c2b2-paper); }

.frame0c2b2-xfoot-promos {
  display: grid;
  grid-template-columns: 1fr;
  gap: 7px;
  margin: 9px 0 4px;
}

.frame0c2b2-xfoot-promos button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 44px;
  padding: 0 11px;
  background: rgba(128, 0, 128, 0.14);
  border: 1px solid rgba(128, 0, 128, 0.55);
  border-radius: 2px;
  color: var(--frame0c2b2-paper);
  font-size: 12.5px;
  text-align: left;
  cursor: pointer;
  transition: background-color 0.16s ease, border-color 0.16s ease, color 0.16s ease;
}

.frame0c2b2-xfoot-promos button::after {
  content: "\2192";
  flex: 0 0 auto;
  color: var(--frame0c2b2-plum);
  font-weight: 700;
}

.frame0c2b2-xfoot-promos button:active {
  background: var(--frame0c2b2-royal);
  border-color: var(--frame0c2b2-plum);
  color: #ffffff;
}

.frame0c2b2-xfoot-dir {
  display: grid;
  grid-template-columns: 1fr;
  margin-top: 4px;
}

@media (min-width: 360px) {
  .frame0c2b2-xfoot-dir { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.frame0c2b2-xfoot-dir a {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 48px;
  padding: 5px 8px;
  border-bottom: 1px solid rgba(49, 32, 58, 0.5);
  text-decoration: none;
  color: var(--frame0c2b2-paper);
  font-size: 12px;
  line-height: 1.32;
}

.frame0c2b2-xfoot-dir a strong { font-weight: 700; }

.frame0c2b2-xfoot-dir a em {
  font-style: normal;
  font-size: 10.5px;
  color: var(--frame0c2b2-dim);
}

.frame0c2b2-xfoot-dir a:active { color: var(--frame0c2b2-plum); }

.frame0c2b2-xfoot-note {
  margin-top: 10px;
  padding: 9px 10px;
  border: 1px dashed rgba(153, 102, 204, 0.42);
  font-size: 11px;
  line-height: 1.5;
  color: var(--frame0c2b2-dim);
}

/* --------------------------------------------------------------------------
   Common footer + fixed bottom navigation rail (5 roles)
   -------------------------------------------------------------------------- */

.frame0c2b2-footer {
  margin-top: 16px;
  padding: 12px 12px 10px;
  text-align: center;
  border-top: 1px solid var(--frame0c2b2-line);
}

.frame0c2b2-footer p {
  margin: 0;
  font-size: 11px;
  letter-spacing: 0.05em;
  color: var(--frame0c2b2-dim);
}

.frame0c2b2-navrail {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  z-index: 90;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  background: #0d080f;
  border-top: 1px solid var(--frame0c2b2-royal);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}

.frame0c2b2-navitem {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  min-height: var(--frame0c2b2-rail);
  padding: 6px 2px 7px;
  background: transparent;
  border: 0;
  color: var(--frame0c2b2-dim);
  text-decoration: none;
  cursor: pointer;
  transition: color 0.18s ease, transform 0.18s ease;
}

.frame0c2b2-navitem svg {
  width: 22px;
  height: 22px;
  transition: transform 0.18s ease;
}

.frame0c2b2-navlabel {
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: color 0.18s ease, transform 0.18s ease;
}

.frame0c2b2-navitem:active { color: var(--frame0c2b2-plum); }

.frame0c2b2-navitem:active svg { transform: translateY(-1px); }

.frame0c2b2-navpromo svg { color: var(--frame0c2b2-plum); }

/* Active page state: slight lift + top indicator + revealed label color */

.frame0c2b2-navlive { color: #ffffff; transform: translateY(-2px); }

.frame0c2b2-navlive .frame0c2b2-navlabel { color: var(--frame0c2b2-plum); }

.frame0c2b2-navlive::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 2px;
  background: var(--frame0c2b2-orchid);
}

/* --------------------------------------------------------------------------
   Small screens: tighten the canvas without breaking the grid
   -------------------------------------------------------------------------- */

@media (max-width: 359px) {
  .frame0c2b2-h1 { font-size: 19px; }
  .frame0c2b2-slide { height: 152px; }
  .frame0c2b2-scenes { grid-template-columns: 1fr; }
  .frame0c2b2-btn { padding: 0 10px; }
}

/* Compatible additions for reading guides and accessible controls. */
.frame0c2b2-main { padding-bottom: 18px; }
.frame0c2b2-shell { padding-bottom: calc(82px + env(safe-area-inset-bottom, 0px)); }
.frame0c2b2-main a:not(.frame0c2b2-brand) { overflow-wrap: anywhere; }
.frame0c2b2-module a { display: inline-block; min-height: 44px; padding-top: 10px; padding-bottom: 10px; }
.frame0c2b2-menu.frame0c2b2-is-open { max-height: calc(100dvh - var(--frame0c2b2-head) - 72px); }
.frame0c2b2-mgroup summary { color: var(--frame0c2b2-plum); }
.frame0c2b2-tabs a[aria-current] { color: #fff; border-bottom-color: var(--frame0c2b2-plum); transform: translateY(-1px); }
.frame0c2b2-tabs a:first-child:not([aria-current]) { border-bottom-color: transparent; }
.frame0c2b2-slide { height: auto; aspect-ratio: auto; display: flex; flex-direction: column; }
.frame0c2b2-slide img { height: auto; aspect-ratio: 2 / 1; object-fit: contain; }
.frame0c2b2-slidecap { position: static; padding: 9px 10px; background: #1d1421; min-height: 64px; }
.frame0c2b2-carousel { padding-bottom: 0; }
.frame0c2b2-dots { flex-wrap: wrap; }
.frame0c2b2-pause { min-height: 44px; padding: 0 10px; color: #fff; border: 1px solid var(--frame0c2b2-orchid); background: #241a29; cursor: pointer; }
.frame0c2b2-gcard { min-width: 0; min-height: 44px; }
.frame0c2b2-gfig img { object-fit: contain; }
.frame0c2b2-gname { -webkit-line-clamp: 3; min-height: 40px; overflow-wrap: anywhere; }
.frame0c2b2-payrow { display: block; }
.frame0c2b2-payrow b { display: block; margin-bottom: 5px; }
.frame0c2b2-scenes { grid-template-columns: 1fr; }
.frame0c2b2-quickrail { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; margin: 12px; }
.frame0c2b2-quickrail a { min-height: 48px; padding: 8px 4px; text-align: center; background: var(--frame0c2b2-well); border: 1px solid var(--frame0c2b2-line); text-decoration: none; }
.frame0c2b2-quickrail span { display: block; font-size: 18px; }
.frame0c2b2-branch { margin: 12px 0; padding: 10px; border-left: 2px solid var(--frame0c2b2-plum); background: #241a29; }
.frame0c2b2-branch h3, .frame0c2b2-module h3 { font-family: var(--frame0c2b2-font-round); font-size: 14px; color: var(--frame0c2b2-plum); }
.frame0c2b2-inlinecta { display: block; width: 100%; margin-top: 10px; text-align: left; letter-spacing: 0; }
.frame0c2b2-terms { margin: 12px 0 0; }
.frame0c2b2-terms dt { color: var(--frame0c2b2-plum); font-weight: 700; margin-top: 14px; }
.frame0c2b2-terms dd { margin: 4px 0 0; }
.frame0c2b2-route { margin: 16px 12px; padding: 0 13px 14px; border-top: 3px solid var(--frame0c2b2-orchid); background: #16101a; }
.frame0c2b2-route h2 { font-family: var(--frame0c2b2-font-round); font-size: 16px; line-height: 1.35; }
.frame0c2b2-route p { font-size: 12.8px; }
.frame0c2b2-route a { display: inline-block; min-height: 44px; padding: 10px 0; }
.frame0c2b2-route h3 { margin-bottom: 5px; color: var(--frame0c2b2-plum); font-size: 14px; }
.frame0c2b2-route li { padding: 10px 0; }
.frame0c2b2-xfoot-promos { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.frame0c2b2-xfoot-promos button { padding: 8px; }
@media (max-width: 359px) {
  :root { --frame0c2b2-head: 150px; }
  .frame0c2b2-brandbar { display: grid; grid-template-columns: 1fr 1fr 44px; gap: 4px 6px; }
  .frame0c2b2-brand { grid-column: 1 / 3; grid-row: 1; }
  .frame0c2b2-actions { display: contents; }
  .frame0c2b2-actions .frame0c2b2-btn-cta { grid-column: 1; grid-row: 2; }
  .frame0c2b2-actions .frame0c2b2-btn-ghost { grid-column: 2 / 4; grid-row: 2; }
  .frame0c2b2-burger { grid-column: 3; grid-row: 1; }
  .frame0c2b2-slide { height: auto; }
  .frame0c2b2-xfoot-promos { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
  html { scroll-behavior: auto; }
}
