/* ==========================================================================
   BK8 Casino (bk8casino.homes) - mobile-first base stylesheet
   Class prefix : frame9ed95-
   Pairs with   : js/native-e9ed95-actions.js
   Canvas       : 320-430px phone frame, centered on wide screens
   Palette      : #0C0C0C base / #E6E6FA ink / #9370DB plum / #DDA0DD orchid
   Feel         : mono accents, near-square corners, light floating game
                  cards, step-advance rhythm, icon micro-motion
   ========================================================================== */

/* ---------- tokens ---------- */
:root {
  --frame9ed95-bg: #0c0c0c;
  --frame9ed95-bg-deep: #060607;
  --frame9ed95-ink: #e6e6fa;
  --frame9ed95-ink-dim: rgba(230, 230, 250, 0.74);
  --frame9ed95-ink-faint: rgba(230, 230, 250, 0.52);
  --frame9ed95-plum: #9370db;
  --frame9ed95-plum-soft: rgba(147, 112, 219, 0.16);
  --frame9ed95-orchid: #dda0dd;
  --frame9ed95-line: rgba(230, 230, 250, 0.16);
  --frame9ed95-line-soft: rgba(230, 230, 250, 0.09);
  --frame9ed95-card: rgba(230, 230, 250, 0.05);
  --frame9ed95-font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --frame9ed95-font-mono: ui-monospace, "Cascadia Mono", "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;
  --frame9ed95-radius: 6px;
  --frame9ed95-radius-sm: 4px;
  --frame9ed95-tap: 44px;
}

/* ---------- reset / base ---------- */
* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  background: var(--frame9ed95-bg-deep);
  color: var(--frame9ed95-ink);
  font-family: var(--frame9ed95-font-body);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

button {
  font-family: inherit;
}

a {
  color: var(--frame9ed95-orchid);
}

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

::selection {
  background: var(--frame9ed95-plum);
  color: #0c0c0c;
}

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

/* ---------- phone canvas shell ---------- */
.frame9ed95-shell {
  position: relative;
  max-width: 430px;
  margin: 0 auto;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  background: var(--frame9ed95-bg);
  border-left: 1px solid var(--frame9ed95-line-soft);
  border-right: 1px solid var(--frame9ed95-line-soft);
}

/* ---------- top action band ---------- */
.frame9ed95-top {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(12, 12, 12, 0.94);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--frame9ed95-line);
  padding-top: env(safe-area-inset-top, 0px);
}

.frame9ed95-top-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 54px;
  padding: 8px 12px;
}

.frame9ed95-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: var(--frame9ed95-ink);
  min-height: var(--frame9ed95-tap);
}

.frame9ed95-brand-logo {
  width: 30px;
  height: 30px;
  border-radius: var(--frame9ed95-radius-sm);
  border: 1px solid var(--frame9ed95-line);
  object-fit: cover;
}

.frame9ed95-brand-name {
  font-family: var(--frame9ed95-font-mono);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
}

.frame9ed95-top-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* light-rounded text CTA group */
.frame9ed95-btnpair {
  display: flex;
  align-items: stretch;
  border: 1px solid var(--frame9ed95-plum);
  border-radius: 8px;
  overflow: hidden;
}

.frame9ed95-btn {
  min-height: 34px;
  padding: 0 12px;
  border: 0;
  cursor: pointer;
  font-family: var(--frame9ed95-font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: transform 0.15s ease, filter 0.15s ease;
}

.frame9ed95-btn:active {
  transform: translateY(1px);
  filter: brightness(1.15);
}

.frame9ed95-btn-solid {
  background: var(--frame9ed95-plum);
  color: #0c0c0c;
}

.frame9ed95-btn-line {
  background: transparent;
  color: var(--frame9ed95-ink);
  border-left: 1px solid rgba(147, 112, 219, 0.55);
}

.frame9ed95-btn-wide {
  width: 100%;
  min-height: var(--frame9ed95-tap);
}

/* menu trigger - containerized symbol tile */
.frame9ed95-menu-btn {
  width: var(--frame9ed95-tap);
  height: 38px;
  display: grid;
  place-items: center;
  background: var(--frame9ed95-card);
  border: 1px solid var(--frame9ed95-line);
  border-radius: var(--frame9ed95-radius);
  cursor: pointer;
  transition: border-color 0.2s ease, transform 0.15s ease;
}

.frame9ed95-menu-btn:active {
  transform: scale(0.92);
  border-color: var(--frame9ed95-orchid);
}

.frame9ed95-menu-lines {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.frame9ed95-menu-lines i {
  display: block;
  width: 16px;
  height: 2px;
  background: var(--frame9ed95-ink);
  border-radius: 1px;
}

/* ---------- full-height menu layer ---------- */
.frame9ed95-menu {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(100vw, 430px);
  z-index: 60;
  visibility: hidden;
  transition: none;
}

body.frame9ed95-menu-open .frame9ed95-menu {
  visibility: visible;
  transition-delay: 0s;
}

body.frame9ed95-menu-open {
  overflow: hidden;
}

.frame9ed95-menu-shade {
  position: absolute;
  inset: 0;
  background: rgba(4, 4, 6, 0.62);
  opacity: 0;
  transition: opacity 0.28s ease;
  pointer-events: none;
  border: 0;
  padding: 0;
}

body.frame9ed95-menu-open .frame9ed95-menu-shade {
  opacity: 1;
  pointer-events: auto;
}

.frame9ed95-menu-panel {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  max-width: 430px;
  min-height: 430px;
  display: flex;
  flex-direction: column;
  background: rgba(12, 12, 12, 0.985);
  border-left: 1px solid var(--frame9ed95-line);
  transform: translateX(103%);
  transition: transform 0.3s ease;
}

body.frame9ed95-menu-open .frame9ed95-menu-panel {
  transform: none;
}

.frame9ed95-menu-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  padding-top: calc(12px + env(safe-area-inset-top, 0px));
  border-bottom: 1px solid var(--frame9ed95-line-soft);
}

.frame9ed95-menu-title {
  font-family: var(--frame9ed95-font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--frame9ed95-ink-faint);
}

.frame9ed95-menu-close {
  width: var(--frame9ed95-tap);
  height: var(--frame9ed95-tap);
  display: grid;
  place-items: center;
  background: none;
  border: 1px solid var(--frame9ed95-line);
  border-radius: var(--frame9ed95-radius);
  color: var(--frame9ed95-ink);
  cursor: pointer;
  transition: border-color 0.2s ease, transform 0.15s ease;
}

.frame9ed95-menu-close:active {
  transform: scale(0.9);
  border-color: var(--frame9ed95-orchid);
}

.frame9ed95-menu-nav {
  flex: 1;
  overflow-y: auto;
  padding: 8px 14px 16px;
}

.frame9ed95-menu-cap {
  margin: 16px 2px 6px;
  font-family: var(--frame9ed95-font-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--frame9ed95-plum);
}

.frame9ed95-menu-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 46px;
  padding: 0 12px;
  margin-bottom: 6px;
  border: 1px solid var(--frame9ed95-line-soft);
  border-radius: var(--frame9ed95-radius-sm);
  background: var(--frame9ed95-card);
  color: var(--frame9ed95-ink);
  text-decoration: none;
  font-size: 14px;
  transition: border-color 0.2s ease, transform 0.15s ease;
}

.frame9ed95-menu-link::after {
  content: "\203A";
  font-family: var(--frame9ed95-font-mono);
  color: var(--frame9ed95-ink-faint);
}

.frame9ed95-menu-link:active {
  transform: scale(0.985);
}

.frame9ed95-menu-link.frame9ed95-menu-link-on {
  border-color: var(--frame9ed95-orchid);
  color: var(--frame9ed95-orchid);
}

.frame9ed95-menu-foot {
  padding: 12px 14px calc(14px + env(safe-area-inset-bottom, 0px));
  border-top: 1px solid var(--frame9ed95-line-soft);
}

/* ---------- hero carousel ---------- */
.frame9ed95-hero-zone {
  padding: 12px 12px 0;
}

.frame9ed95-hero {
  position: relative;
  aspect-ratio: 750 / 330;
  min-height: 150px;
  border: 1px solid var(--frame9ed95-line-soft);
  border-radius: var(--frame9ed95-radius);
  overflow: hidden;
  background: var(--frame9ed95-card);
  touch-action: pan-y;
}

.frame9ed95-hero-slide {
  position: absolute;
  inset: 0;
  display: block;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.45s ease, visibility 0.45s ease;
}

.frame9ed95-hero-slide.frame9ed95-slide-on {
  opacity: 1;
  visibility: visible;
}

.frame9ed95-hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.frame9ed95-hero-cap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 26px 12px 12px;
  background: linear-gradient(180deg, rgba(12, 12, 12, 0) 0%, rgba(12, 12, 12, 0.82) 78%);
  text-decoration: none;
}

.frame9ed95-hero-cap strong {
  font-size: 15px;
  line-height: 1.3;
  color: #ffffff;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.6);
}

.frame9ed95-hero-cap em {
  font-family: var(--frame9ed95-font-mono);
  font-style: normal;
  font-size: 10px;
  letter-spacing: 0.08em;
  color: var(--frame9ed95-orchid);
}

.frame9ed95-hero-dots {
  position: absolute;
  right: 8px;
  bottom: 6px;
  display: flex;
  gap: 2px;
}

.frame9ed95-hero-dot {
  position: relative;
  width: 26px;
  height: 26px;
  padding: 0;
  background: none;
  border: 0;
  cursor: pointer;
}

.frame9ed95-hero-dot::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 8px;
  height: 8px;
  margin: -4px 0 0 -4px;
  border-radius: 2px;
  background: var(--frame9ed95-ink-faint);
  transition: background 0.2s ease, transform 0.2s ease;
}

.frame9ed95-hero-dot.frame9ed95-dot-on::after {
  background: var(--frame9ed95-orchid);
  transform: scale(1.3);
}

/* ---------- main / sections ---------- */
.frame9ed95-main {
  display: block;
  flex: 1 0 auto;
  /* bottom breathing room so the sticky bar never crowds the last module */
  padding-bottom: 32px;
}

.frame9ed95-section {
  padding: 20px 14px 6px;
}

.frame9ed95-panel {
  margin: 16px 12px 6px;
  padding: 16px 14px 12px;
  border: 1px solid var(--frame9ed95-line-soft);
  border-radius: var(--frame9ed95-radius);
  background: var(--frame9ed95-card);
}

.frame9ed95-kicker {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 6px;
  font-family: var(--frame9ed95-font-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--frame9ed95-orchid);
}

.frame9ed95-kicker::before {
  content: "";
  width: 14px;
  height: 2px;
  background: var(--frame9ed95-plum);
}

.frame9ed95-kicker span {
  color: var(--frame9ed95-ink-faint);
}

.frame9ed95-section h1,
.frame9ed95-section h2 {
  margin: 0 0 8px;
  color: var(--frame9ed95-ink);
  letter-spacing: -0.01em;
}

.frame9ed95-section h1 {
  font-size: 21px;
  line-height: 1.3;
}

.frame9ed95-section h2 {
  font-size: 17px;
  line-height: 1.35;
}

.frame9ed95-lead {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.62;
  color: var(--frame9ed95-ink-dim);
}

.frame9ed95-lead + .frame9ed95-lead {
  margin-top: 10px;
}

.frame9ed95-textlink {
  color: var(--frame9ed95-orchid);
  text-decoration: underline;
  text-decoration-color: rgba(221, 160, 221, 0.5);
  text-underline-offset: 3px;
}

.frame9ed95-textlink:active {
  color: var(--frame9ed95-ink);
}

/* intro stat strip */
.frame9ed95-stats {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin: 16px 0 0;
  padding: 0;
}

.frame9ed95-stats li {
  padding: 10px 6px;
  text-align: center;
  border: 1px solid var(--frame9ed95-line-soft);
  border-radius: var(--frame9ed95-radius-sm);
  background: var(--frame9ed95-card);
}

.frame9ed95-stats strong {
  display: block;
  font-family: var(--frame9ed95-font-mono);
  font-size: 17px;
  color: var(--frame9ed95-orchid);
}

.frame9ed95-stats span {
  display: block;
  margin-top: 3px;
  font-family: var(--frame9ed95-font-mono);
  font-size: 9px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--frame9ed95-ink-faint);
}

/* ---------- game grid : light floating image cards ---------- */
.frame9ed95-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px 8px;
  margin-top: 14px;
}

.frame9ed95-gtile {
  display: block;
  color: var(--frame9ed95-ink);
  text-decoration: none;
  border-radius: var(--frame9ed95-radius-sm);
  transition: transform 0.15s ease;
}

.frame9ed95-gtile:active {
  transform: scale(0.95);
}

.frame9ed95-gtile-img {
  position: relative;
  display: block;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border: 1px solid var(--frame9ed95-line-soft);
  border-radius: var(--frame9ed95-radius);
  background: var(--frame9ed95-card);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.35);
  transition: border-color 0.2s ease;
}

/* floating sheen layer over the artwork */
.frame9ed95-gtile-img::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(230, 230, 250, 0.09), rgba(230, 230, 250, 0) 46%);
  pointer-events: none;
}

.frame9ed95-gtile-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.frame9ed95-gtile-name {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-top: 5px;
  min-height: 29px;
  font-family: var(--frame9ed95-font-mono);
  font-size: 10.5px;
  line-height: 1.35;
  text-align: center;
  color: var(--frame9ed95-ink-dim);
}

@media (hover: hover) {
  .frame9ed95-gtile:hover {
    transform: translateY(-2px);
  }

  .frame9ed95-gtile:hover .frame9ed95-gtile-img {
    border-color: var(--frame9ed95-plum);
  }

  .frame9ed95-gtile:hover .frame9ed95-gtile-name {
    color: var(--frame9ed95-ink);
  }
}

/* ---------- step-advance list ---------- */
.frame9ed95-steps {
  list-style: none;
  margin: 14px 0 0;
  padding: 0;
}

.frame9ed95-step {
  position: relative;
  display: flex;
  gap: 10px;
  padding-bottom: 14px;
}

.frame9ed95-step::before {
  content: "";
  position: absolute;
  left: 12px;
  top: 30px;
  bottom: 2px;
  width: 1px;
  background: var(--frame9ed95-line);
}

.frame9ed95-step:last-child::before {
  display: none;
}

.frame9ed95-step:last-child {
  padding-bottom: 4px;
}

.frame9ed95-step-n {
  position: relative;
  z-index: 1;
  flex: 0 0 auto;
  width: 25px;
  height: 25px;
  display: grid;
  place-items: center;
  border: 1px solid var(--frame9ed95-plum);
  border-radius: var(--frame9ed95-radius-sm);
  background: var(--frame9ed95-plum-soft);
  font-family: var(--frame9ed95-font-mono);
  font-size: 11px;
  color: var(--frame9ed95-orchid);
}

.frame9ed95-step p {
  margin: 2px 0 0;
  font-size: 13.5px;
  line-height: 1.58;
  color: var(--frame9ed95-ink-dim);
}

/* ---------- verdict / note box ---------- */
.frame9ed95-verdict {
  margin: 16px 0 0;
  padding: 12px 12px 12px 14px;
  border: 1px dashed var(--frame9ed95-plum);
  border-radius: var(--frame9ed95-radius);
  background: var(--frame9ed95-plum-soft);
  font-size: 12.5px;
  line-height: 1.62;
  color: var(--frame9ed95-ink-dim);
}

.frame9ed95-verdict-tag {
  display: block;
  margin-bottom: 6px;
  font-family: var(--frame9ed95-font-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--frame9ed95-orchid);
}

/* ---------- milestone chips ---------- */
.frame9ed95-chips {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin: 14px 0 0;
  padding: 0;
}

.frame9ed95-chip {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 10px;
  border: 1px solid var(--frame9ed95-line-soft);
  border-radius: var(--frame9ed95-radius-sm);
  background: var(--frame9ed95-card);
  font-family: var(--frame9ed95-font-mono);
  font-size: 10.5px;
  line-height: 1.4;
  color: var(--frame9ed95-ink-dim);
}

.frame9ed95-chip-n {
  color: var(--frame9ed95-orchid);
}

/* ---------- checklist ---------- */
.frame9ed95-checklist {
  list-style: none;
  margin: 12px 0 0;
  padding: 0;
}

.frame9ed95-checklist li {
  display: flex;
  gap: 10px;
  padding: 9px 0;
  border-bottom: 1px dashed var(--frame9ed95-line-soft);
}

.frame9ed95-checklist li:last-child {
  border-bottom: 0;
}

.frame9ed95-check-box {
  position: relative;
  flex: 0 0 auto;
  width: 15px;
  height: 15px;
  margin-top: 3px;
  border: 1px solid var(--frame9ed95-plum);
  border-radius: 3px;
}

.frame9ed95-check-box::after {
  content: "";
  position: absolute;
  inset: 3px;
  border-radius: 1px;
  background: var(--frame9ed95-plum-soft);
}

.frame9ed95-checklist p {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.58;
  color: var(--frame9ed95-ink-dim);
}

/* ---------- takeaway keys ---------- */
.frame9ed95-keys {
  list-style: none;
  margin: 14px 0 0;
  padding: 2px 0 0 14px;
  border-left: 2px solid var(--frame9ed95-plum);
  counter-reset: frame9ed95key;
}

.frame9ed95-keys li {
  margin-bottom: 12px;
  font-size: 13.5px;
  line-height: 1.58;
  color: var(--frame9ed95-ink-dim);
}

.frame9ed95-keys li:last-child {
  margin-bottom: 2px;
}

.frame9ed95-keys li::before {
  content: counter(frame9ed95key, decimal-leading-zero);
  counter-increment: frame9ed95key;
  display: inline-block;
  margin-right: 8px;
  font-family: var(--frame9ed95-font-mono);
  font-size: 11px;
  color: var(--frame9ed95-orchid);
}

/* ---------- extended site footer ---------- */
.frame9ed95-xfoot {
  flex: 0 0 auto;
  margin-top: 18px;
  padding: 20px 14px 10px;
  border-top: 1px solid var(--frame9ed95-line);
  background: linear-gradient(180deg, rgba(147, 112, 219, 0.07), rgba(147, 112, 219, 0) 42%);
}

.frame9ed95-xbrand {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.frame9ed95-xbrand img {
  width: 26px;
  height: 26px;
  flex: 0 0 auto;
  border: 1px solid var(--frame9ed95-line);
  border-radius: var(--frame9ed95-radius-sm);
  object-fit: cover;
}

.frame9ed95-xbrand p {
  margin: 0;
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--frame9ed95-ink-faint);
}

/* horizontal shortcut row for promo actions */
.frame9ed95-xpromo {
  display: flex;
  gap: 8px;
  margin-top: 14px;
  padding: 2px 0 6px;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.frame9ed95-xpromo::-webkit-scrollbar {
  display: none;
}

.frame9ed95-xpromo-item {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 40px;
  padding: 8px 13px;
  border: 1px solid var(--frame9ed95-line);
  border-radius: var(--frame9ed95-radius);
  background: var(--frame9ed95-card);
  color: var(--frame9ed95-ink);
  text-decoration: none;
  font-family: var(--frame9ed95-font-mono);
  font-size: 11px;
  letter-spacing: 0.03em;
  scroll-snap-align: start;
  transition: transform 0.15s ease, border-color 0.2s ease;
}

.frame9ed95-xpromo-item svg {
  color: var(--frame9ed95-orchid);
  flex: 0 0 auto;
}

.frame9ed95-xpromo-item:active {
  transform: scale(0.95);
  border-color: var(--frame9ed95-orchid);
}

/* page directory */
.frame9ed95-xdir {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 12px;
  margin-top: 4px;
}

.frame9ed95-xdir-link {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 9px 2px;
  border-bottom: 1px solid var(--frame9ed95-line-soft);
  color: var(--frame9ed95-ink-dim);
  text-decoration: none;
  font-size: 12.5px;
  line-height: 1.4;
}

.frame9ed95-xdir-link span {
  flex: 0 0 auto;
  font-family: var(--frame9ed95-font-mono);
  font-size: 10px;
  color: var(--frame9ed95-plum);
}

.frame9ed95-xdir-link:active {
  color: var(--frame9ed95-orchid);
}

/* conditional disclaimer note */
.frame9ed95-xnote {
  margin: 16px 0 6px;
  padding: 10px 12px;
  border: 1px dashed var(--frame9ed95-line);
  border-radius: var(--frame9ed95-radius-sm);
  font-size: 11.5px;
  line-height: 1.6;
  color: var(--frame9ed95-ink-faint);
}

/* ---------- copyright bar ---------- */
.frame9ed95-copy {
  flex: 0 0 auto;
  padding: 12px 14px 14px;
  border-top: 1px solid var(--frame9ed95-line-soft);
}

.frame9ed95-copy p {
  margin: 0;
  text-align: center;
  font-family: var(--frame9ed95-font-mono);
  font-size: 10.5px;
  letter-spacing: 0.08em;
  color: var(--frame9ed95-ink-faint);
}

/* ---------- layered bottom navigation ---------- */
.frame9ed95-bnav {
  position: sticky;
  bottom: 0;
  z-index: 30;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  padding: 6px 6px calc(6px + env(safe-area-inset-bottom, 0px));
  background: rgba(12, 12, 12, 0.96);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--frame9ed95-line);
  box-shadow: 0 -8px 20px rgba(0, 0, 0, 0.4);
}

.frame9ed95-bnav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  min-height: var(--frame9ed95-tap);
  padding: 4px 2px 2px;
  background: none;
  border: 0;
  text-decoration: none;
  color: var(--frame9ed95-ink-faint);
  cursor: pointer;
}

.frame9ed95-bnav-tile {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border: 1px solid var(--frame9ed95-line-soft);
  border-radius: var(--frame9ed95-radius);
  background: var(--frame9ed95-card);
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.15s ease;
}

.frame9ed95-bnav-item:active .frame9ed95-bnav-tile {
  transform: scale(0.88);
}

.frame9ed95-bnav-label {
  font-family: var(--frame9ed95-font-mono);
  font-size: 9.5px;
  letter-spacing: 0.04em;
}

/* underline marker for the current page */
.frame9ed95-bnav-mark {
  width: 16px;
  height: 3px;
  margin-top: 1px;
  border-radius: 2px;
  background: transparent;
  transition: background 0.2s ease;
}

.frame9ed95-bnav-item.frame9ed95-bnav-on {
  color: var(--frame9ed95-ink);
}

.frame9ed95-bnav-item.frame9ed95-bnav-on .frame9ed95-bnav-tile {
  border-color: var(--frame9ed95-orchid);
  background: var(--frame9ed95-plum-soft);
  color: var(--frame9ed95-orchid);
}

.frame9ed95-bnav-item.frame9ed95-bnav-on .frame9ed95-bnav-mark {
  background: var(--frame9ed95-orchid);
}

/* promo roles get a permanent tinted tile */
.frame9ed95-bnav-promo .frame9ed95-bnav-tile {
  border-color: rgba(147, 112, 219, 0.5);
}

/* ---------- responsive tracks ---------- */

/* 400px and up: game wall moves to 5 stable columns */
@media (min-width: 400px) {
  .frame9ed95-grid {
    grid-template-columns: repeat(5, 1fr);
    gap: 14px 10px;
  }
}

/* wide screens keep the centered phone canvas */
@media (min-width: 480px) {
  body {
    background: var(--frame9ed95-bg-deep);
  }

  .frame9ed95-shell {
    box-shadow: 0 0 60px rgba(147, 112, 219, 0.08);
  }
}

/* ---------- compatible content and accessibility additions ---------- */
.frame9ed95-top-inner { gap: 5px; padding-inline: 8px; }
.frame9ed95-brand { gap: 5px; }
.frame9ed95-brand-name { font-size: 11px; letter-spacing: .03em; }
.frame9ed95-top-actions { gap: 5px; }
.frame9ed95-btn { min-height: 44px; padding-inline: 8px; letter-spacing: .02em; }
.frame9ed95-menu-btn { width: 44px; height: 44px; flex-shrink: 0; }
.frame9ed95-menu-panel { min-height: 0; }
.frame9ed95-menu-nav { min-height: 0; }
.frame9ed95-menu-link-on { text-decoration: underline; text-underline-offset: 5px; }
.frame9ed95-main { min-width: 0; }
.frame9ed95-section h3 { font-size: 15px; line-height: 1.45; margin: 16px 0 6px; }
.frame9ed95-section p, .frame9ed95-section li, .frame9ed95-section dd { overflow-wrap: anywhere; }
.frame9ed95-section > p:not([class]), .frame9ed95-section dd, .frame9ed95-section > ul { font-size: 13.5px; color: var(--frame9ed95-ink-dim); }
.frame9ed95-hero { aspect-ratio: 2 / 1; min-height: 0; }
button.frame9ed95-hero-slide { width: 100%; padding: 0; border: 0; cursor: pointer; background: transparent; }
.frame9ed95-hero-slide img { object-fit: contain; }
.frame9ed95-hero-controls { display: flex; align-items: center; justify-content: space-between; gap: 4px; }
.frame9ed95-hero-dots { position: static; }
.frame9ed95-hero-dot { width: 44px; height: 44px; }
.frame9ed95-hero-pause { min-height: 44px; border: 1px solid var(--frame9ed95-line); border-radius: 4px; background: var(--frame9ed95-card); color: var(--frame9ed95-ink); font-size: 11px; padding: 4px 9px; cursor: pointer; }
.frame9ed95-hero-note { font-size: 11px; line-height: 1.5; color: var(--frame9ed95-ink-dim); margin: 6px 0; }
button.frame9ed95-gtile { width: 100%; min-width: 0; padding: 0; border: 0; background: none; cursor: pointer; text-align: inherit; }
.frame9ed95-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.frame9ed95-gtile-img { aspect-ratio: auto; }
.frame9ed95-gtile-img img { width: 100%; height: auto; object-fit: contain; }
.frame9ed95-gtile-name { overflow-wrap: anywhere; }
button.frame9ed95-xpromo-item { cursor: pointer; }
.frame9ed95-xpromo-item, .frame9ed95-xdir-link { min-height: 44px; }
.frame9ed95-xdir { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.frame9ed95-xdir-link { overflow-wrap: anywhere; }
.frame9ed95-bnav { position: fixed; width: min(100%, 430px); bottom: 0; left: 50%; transform: translateX(-50%); }
.frame9ed95-copy { padding-bottom: calc(112px + env(safe-area-inset-bottom, 0px)); }
.frame9ed95-case { padding: 12px 0; border-bottom: 1px solid var(--frame9ed95-line); }
.frame9ed95-case dt { font-size: 14px; font-weight: 700; color: var(--frame9ed95-ink); }
.frame9ed95-case dd { margin: 7px 0 0; }
.frame9ed95-branch { border-left: 2px solid var(--frame9ed95-orchid); padding-left: 12px; margin: 14px 0; }
.frame9ed95-branch strong { display: block; font-family: var(--frame9ed95-font-mono); font-size: 12px; color: var(--frame9ed95-orchid); }
.frame9ed95-record { margin: 14px 0; padding: 12px; border: 1px dashed var(--frame9ed95-plum); }
.frame9ed95-record dt { font-family: var(--frame9ed95-font-mono); font-size: 12px; color: var(--frame9ed95-orchid); }
.frame9ed95-record dd { margin: 3px 0 12px; }
.frame9ed95-promo-note { font-size: 11px; color: var(--frame9ed95-ink-dim); }
.frame9ed95-kicker { flex-wrap: wrap; overflow-wrap: normal !important; letter-spacing: .1em; }
.frame9ed95-kicker span { flex: 1 1 120px; overflow-wrap: normal; }
.frame9ed95-brand-logo, .frame9ed95-xbrand img { object-fit: contain; }
@media (min-width: 400px) { .frame9ed95-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); } }

/* ---------- motion budget: icon micro-changes only ---------- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
