/* ============================================================
   8999bet apk - palette 906909
   Mobile-first canvas 320-430px, dark charcoal base with
   violet accent. Stroke-led surfaces, restrained rounding,
   monospace accents, step-progressive rhythm.
   All classes and variables carry the frame6909b- prefix.
   ============================================================ */

:root {
  --frame6909b-ink: #f2edf8;
  --frame6909b-ink-soft: #c3b9d2;
  --frame6909b-ink-mute: #8f86a0;
  --frame6909b-violet: #9400d3;
  --frame6909b-violet-lift: #b44df0;
  --frame6909b-violet-glow: rgba(148, 0, 211, 0.34);
  --frame6909b-coal: #333333;
  --frame6909b-coal-deep: #1d1d21;
  --frame6909b-canvas: #242228;
  --frame6909b-surface: #2c2b31;
  --frame6909b-surface-up: #35333c;
  --frame6909b-line: #4a4753;
  --frame6909b-line-soft: #3d3a45;
  --frame6909b-mono: "ui-monospace", "SFMono-Regular", "Cascadia Mono", "Menlo", "Consolas", monospace;
  --frame6909b-text: "Noto Sans Bengali", "Hind Siliguri", "SolaimanLipi", system-ui, -apple-system, "Segoe UI", sans-serif;
  --frame6909b-r: 7px;
  --frame6909b-topbar-h: 92px;
  --frame6909b-dock-h: 62px;
}

/* ---------- Reset & canvas ---------- */

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  padding: 0;
  background: var(--frame6909b-coal-deep);
  color: var(--frame6909b-ink);
  font-family: var(--frame6909b-text);
  font-size: 15px;
  line-height: 1.72;
  overflow-x: hidden;
}

.frame6909b-shell {
  position: relative;
  max-width: 430px;
  margin: 0 auto;
  min-height: 100vh;
  background:
    radial-gradient(120% 46% at 50% 0%, rgba(148, 0, 211, 0.16), transparent 62%),
    var(--frame6909b-canvas);
  border-left: 1px solid var(--frame6909b-line-soft);
  border-right: 1px solid var(--frame6909b-line-soft);
  overflow: clip;
}

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

a {
  color: var(--frame6909b-violet-lift);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

button {
  font-family: inherit;
}

:focus-visible {
  outline: 2px solid var(--frame6909b-violet-lift);
  outline-offset: 2px;
  border-radius: 4px;
}

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

/* ---------- Fixed top identity bar ---------- */

.frame6909b-topbar {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  z-index: 60;
  background: rgba(29, 29, 33, 0.96);
  border-bottom: 1px solid var(--frame6909b-line);
  backdrop-filter: blur(9px);
}

.frame6909b-brandbar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 6px 12px 4px;
  border-bottom: 1px dashed rgba(148, 0, 211, 0.32);
}

.frame6909b-logo {
  width: 30px;
  height: 30px;
  border-radius: 6px;
  border: 1px solid rgba(180, 77, 240, 0.5);
  object-fit: cover;
  flex: none;
}

.frame6909b-brandname {
  font-family: var(--frame6909b-mono);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--frame6909b-ink);
  white-space: nowrap;
}

.frame6909b-brandname b {
  color: var(--frame6909b-violet-lift);
  font-weight: 700;
}

.frame6909b-actionbar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
}

/* CTA pair: solid primary + outlined secondary */

.frame6909b-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 38px;
  padding: 8px 14px;
  border-radius: var(--frame6909b-r);
  font-size: 13.5px;
  font-weight: 700;
  line-height: 1.2;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.16s ease, filter 0.16s ease, color 0.16s ease, border-color 0.16s ease, background 0.16s ease;
  user-select: none;
}

.frame6909b-btn:active {
  transform: scale(0.94);
}

.frame6909b-btn-solid {
  background: linear-gradient(180deg, var(--frame6909b-violet-lift), var(--frame6909b-violet));
  border-color: #c86cf5;
  color: #ffffff;
  box-shadow: 0 3px 12px var(--frame6909b-violet-glow);
}

.frame6909b-btn-solid:hover {
  filter: brightness(1.12);
  text-decoration: none;
}

.frame6909b-btn-ghost {
  background: transparent;
  border-color: rgba(180, 77, 240, 0.62);
  color: var(--frame6909b-violet-lift);
}

.frame6909b-btn-ghost:hover {
  border-color: var(--frame6909b-violet-lift);
  color: #d9a8fb;
  text-decoration: none;
}

.frame6909b-actionbar .frame6909b-btn-solid {
  flex: 1;
}

.frame6909b-actionbar .frame6909b-btn-ghost {
  flex: 1;
}

.frame6909b-menutoggle {
  flex: none;
  width: 40px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--frame6909b-surface);
  border: 1px solid var(--frame6909b-line);
  border-radius: var(--frame6909b-r);
  color: var(--frame6909b-ink-soft);
  cursor: pointer;
  transition: transform 0.16s ease, color 0.16s ease, border-color 0.16s ease;
}

.frame6909b-menutoggle:hover,
.frame6909b-menutoggle[aria-expanded="true"] {
  color: var(--frame6909b-violet-lift);
  border-color: rgba(180, 77, 240, 0.66);
}

.frame6909b-menutoggle:active {
  transform: scale(0.92);
}

/* Compact route panel */

.frame6909b-routes {
  display: none;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  padding: 10px 12px 12px;
  border-top: 1px solid var(--frame6909b-line-soft);
  background: #232227;
}

.frame6909b-routes.frame6909b-open {
  display: grid;
}

.frame6909b-route {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 7px 9px;
  border: 1px solid var(--frame6909b-line-soft);
  border-radius: 6px;
  background: var(--frame6909b-surface);
  color: var(--frame6909b-ink-soft);
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1.3;
  transition: color 0.16s ease, border-color 0.16s ease, transform 0.16s ease;
}

.frame6909b-route svg {
  flex: none;
  color: var(--frame6909b-violet-lift);
  transition: color 0.16s ease;
}

.frame6909b-route:hover {
  color: var(--frame6909b-ink);
  border-color: rgba(180, 77, 240, 0.6);
  text-decoration: none;
}

.frame6909b-route:active {
  transform: scale(0.96);
}

/* ---------- Main flow ---------- */

.frame6909b-main {
  padding: calc(var(--frame6909b-topbar-h) + 14px) 14px calc(var(--frame6909b-dock-h) + 34px);
}

.frame6909b-section {
  margin: 0 0 26px;
}

.frame6909b-h2 {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin: 0 0 10px;
  font-size: 17.5px;
  font-weight: 800;
  line-height: 1.45;
  color: var(--frame6909b-ink);
}

.frame6909b-h2chip {
  flex: none;
  font-family: var(--frame6909b-mono);
  font-size: 11px;
  font-weight: 700;
  color: #d9a8fb;
  border: 1px solid rgba(180, 77, 240, 0.55);
  border-radius: 4px;
  padding: 2px 6px;
  letter-spacing: 0.08em;
  transform: translateY(-2px);
}

.frame6909b-secnote {
  margin: 0 0 12px;
  color: var(--frame6909b-ink-soft);
  font-size: 13.5px;
}

.frame6909b-secnote a {
  font-weight: 700;
  border-bottom: 1px dashed rgba(180, 77, 240, 0.6);
}

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

.frame6909b-hero {
  position: relative;
  margin: 0 0 16px;
  padding: 16px 14px 18px;
  border: 1px solid rgba(148, 0, 211, 0.38);
  border-radius: 10px;
  background:
    linear-gradient(160deg, rgba(148, 0, 211, 0.2), rgba(51, 51, 51, 0.08) 58%),
    var(--frame6909b-surface);
}

.frame6909b-hero-eyebrow {
  font-family: var(--frame6909b-mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  color: #d9a8fb;
  text-transform: uppercase;
  margin: 0 0 8px;
}

.frame6909b-hero-title {
  margin: 0 0 10px;
  font-size: 24px;
  line-height: 1.38;
  font-weight: 800;
  color: var(--frame6909b-ink);
}

.frame6909b-hero-lead {
  margin: 0 0 14px;
  color: var(--frame6909b-ink-soft);
  font-size: 14px;
}

.frame6909b-hero-ctas {
  display: flex;
  gap: 8px;
}

.frame6909b-hero-ctas .frame6909b-btn-solid {
  flex: 1.25;
}

.frame6909b-hero-ctas .frame6909b-btn-ghost {
  flex: 1;
}

/* ---------- Meter strip ---------- */

.frame6909b-meterstrip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
  margin: 0 0 18px;
}

.frame6909b-meter {
  border: 1px solid var(--frame6909b-line-soft);
  border-radius: var(--frame6909b-r);
  background: var(--frame6909b-surface);
  padding: 8px 4px 7px;
  text-align: center;
}

.frame6909b-meter-num {
  font-family: var(--frame6909b-mono);
  font-size: 14px;
  font-weight: 700;
  color: var(--frame6909b-violet-lift);
  line-height: 1.2;
}

.frame6909b-meter-cap {
  margin-top: 3px;
  font-size: 10.5px;
  color: var(--frame6909b-ink-mute);
  line-height: 1.35;
}

/* ---------- Carousel ---------- */

.frame6909b-carousel {
  position: relative;
  margin: 0 0 22px;
  border: 1px solid var(--frame6909b-line);
  border-radius: 10px;
  overflow: hidden;
  background: var(--frame6909b-surface);
}

.frame6909b-belt {
  position: relative;
  aspect-ratio: 5 / 2;
}

.frame6909b-slide {
  position: absolute;
  inset: 0;
  display: none;
}

.frame6909b-slide.frame6909b-on {
  display: block;
}

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

.frame6909b-slide-cap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 10px;
  background: linear-gradient(180deg, transparent, rgba(20, 20, 24, 0.9));
  font-size: 12px;
  font-weight: 700;
  color: var(--frame6909b-ink);
}

.frame6909b-slide-cap span:last-child {
  font-family: var(--frame6909b-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  color: #d9a8fb;
}

.frame6909b-dots {
  position: absolute;
  right: 10px;
  bottom: 8px;
  display: flex;
  gap: 6px;
  z-index: 3;
}

.frame6909b-dot {
  width: 22px;
  height: 22px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 0;
  cursor: pointer;
}

.frame6909b-dot::after {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(242, 237, 248, 0.35);
  transition: transform 0.16s ease, background 0.16s ease;
}

.frame6909b-dot.frame6909b-on::after {
  background: var(--frame6909b-violet-lift);
  transform: scale(1.25);
}

.frame6909b-dot:active::after {
  transform: scale(0.85);
}

/* ---------- Game grid: light floating image cards ---------- */

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

.frame6909b-game {
  display: block;
  border: 1px solid var(--frame6909b-line-soft);
  border-radius: var(--frame6909b-r);
  background: linear-gradient(180deg, var(--frame6909b-surface-up), var(--frame6909b-surface));
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.28);
  padding: 5px 5px 7px;
  cursor: pointer;
  transition: transform 0.16s ease, border-color 0.16s ease;
}

.frame6909b-game:hover {
  border-color: rgba(180, 77, 240, 0.6);
  text-decoration: none;
}

.frame6909b-game:active {
  transform: scale(0.93);
}

.frame6909b-game-frame {
  display: block;
  border-radius: 5px;
  overflow: hidden;
  background: #1b1b1f;
}

.frame6909b-game-frame img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  transition: transform 0.18s ease;
}

.frame6909b-game:hover .frame6909b-game-frame img {
  transform: scale(1.05);
}

.frame6909b-game-name {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  overflow: hidden;
  margin-top: 5px;
  font-size: 11px;
  line-height: 1.4;
  font-weight: 600;
  color: var(--frame6909b-ink-soft);
  text-align: center;
  overflow-wrap: break-word;
  word-break: break-word;
}

/* ---------- Step list (step-progressive rhythm) ---------- */

.frame6909b-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  border: 1px solid var(--frame6909b-line-soft);
  border-radius: 10px;
  background: var(--frame6909b-surface);
  overflow: hidden;
}

.frame6909b-step {
  display: flex;
  gap: 10px;
  padding: 11px 12px;
}

.frame6909b-step + .frame6909b-step {
  border-top: 1px dashed var(--frame6909b-line-soft);
}

.frame6909b-step-num {
  flex: none;
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--frame6909b-mono);
  font-size: 12.5px;
  font-weight: 700;
  color: #d9a8fb;
  border: 1px solid rgba(180, 77, 240, 0.55);
  border-radius: 6px;
  background: rgba(148, 0, 211, 0.12);
  transition: transform 0.16s ease;
}

.frame6909b-step:hover .frame6909b-step-num {
  transform: scale(1.08);
}

.frame6909b-step-body {
  min-width: 0;
}

.frame6909b-step-title {
  margin: 0 0 3px;
  font-size: 14px;
  font-weight: 700;
  color: var(--frame6909b-ink);
  line-height: 1.45;
}

.frame6909b-step-text {
  margin: 0;
  font-size: 12.5px;
  color: var(--frame6909b-ink-soft);
}

/* ---------- Condition rows (payment etc.) ---------- */

.frame6909b-conds {
  border: 1px solid var(--frame6909b-line-soft);
  border-radius: 10px;
  background: var(--frame6909b-surface);
  overflow: hidden;
}

.frame6909b-cond {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 12px;
}

.frame6909b-cond + .frame6909b-cond {
  border-top: 1px solid var(--frame6909b-line-soft);
}

.frame6909b-cond-key {
  flex: none;
  width: 96px;
  font-family: var(--frame6909b-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: #d9a8fb;
  border: 1px solid rgba(180, 77, 240, 0.45);
  border-radius: 5px;
  background: rgba(148, 0, 211, 0.1);
  padding: 3px 6px;
  text-align: center;
  margin-top: 2px;
}

.frame6909b-cond-text {
  margin: 0;
  font-size: 12.5px;
  color: var(--frame6909b-ink-soft);
  min-width: 0;
}

/* ---------- Testimonials ---------- */

.frame6909b-quotes {
  display: grid;
  gap: 8px;
}

.frame6909b-quote {
  border: 1px solid var(--frame6909b-line-soft);
  border-left: 3px solid var(--frame6909b-violet);
  border-radius: var(--frame6909b-r);
  background: var(--frame6909b-surface);
  padding: 10px 12px;
}

.frame6909b-quote-text {
  margin: 0 0 7px;
  font-size: 12.8px;
  color: var(--frame6909b-ink-soft);
}

.frame6909b-quote-who {
  display: flex;
  align-items: center;
  gap: 7px;
  font-family: var(--frame6909b-mono);
  font-size: 11px;
  color: var(--frame6909b-ink-mute);
}

.frame6909b-quote-who::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--frame6909b-violet-lift);
}

/* ---------- Checklist ---------- */

.frame6909b-checklist {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 6px;
}

.frame6909b-check {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  border: 1px solid var(--frame6909b-line-soft);
  border-radius: var(--frame6909b-r);
  background: var(--frame6909b-surface);
  padding: 9px 11px;
  font-size: 12.6px;
  color: var(--frame6909b-ink-soft);
}

.frame6909b-check svg {
  flex: none;
  margin-top: 4px;
  color: var(--frame6909b-violet-lift);
  transition: transform 0.16s ease;
}

.frame6909b-check:hover svg {
  transform: scale(1.18);
}

/* ---------- Direct answer panel ---------- */

.frame6909b-answer {
  border: 1px solid rgba(180, 77, 240, 0.5);
  border-radius: 10px;
  background:
    linear-gradient(180deg, rgba(148, 0, 211, 0.14), rgba(148, 0, 211, 0.03)),
    var(--frame6909b-surface);
  padding: 12px 13px;
}

.frame6909b-answer-tag {
  display: inline-block;
  font-family: var(--frame6909b-mono);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: #ffffff;
  background: var(--frame6909b-violet);
  border-radius: 4px;
  padding: 3px 8px;
  margin-bottom: 8px;
}

.frame6909b-answer p {
  margin: 0 0 8px;
  font-size: 13.4px;
  color: var(--frame6909b-ink-soft);
}

.frame6909b-answer p:last-child {
  margin-bottom: 0;
}

/* ---------- Extended footer ---------- */

.frame6909b-extend {
  margin-top: 30px;
  border: 1px solid var(--frame6909b-line-soft);
  border-radius: 10px 10px 0 0;
  background: #211f25;
  padding: 16px 12px 14px;
}

.frame6909b-ext-brand {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding-bottom: 12px;
  border-bottom: 1px dashed var(--frame6909b-line);
  margin-bottom: 12px;
}

.frame6909b-ext-brand img {
  width: 34px;
  height: 34px;
  border-radius: 6px;
  border: 1px solid rgba(180, 77, 240, 0.5);
  object-fit: cover;
  flex: none;
}

.frame6909b-ext-brand p {
  margin: 0;
  font-size: 12.4px;
  color: var(--frame6909b-ink-soft);
}

.frame6909b-ext-dir {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  margin-bottom: 12px;
}

.frame6909b-ext-dir-title {
  grid-column: 1 / -1;
  margin: 0 0 2px;
  font-size: 12.5px;
  font-weight: 800;
  color: var(--frame6909b-ink);
}

.frame6909b-ext-link {
  display: flex;
  align-items: center;
  gap: 7px;
  min-height: 38px;
  padding: 6px 8px;
  border: 1px solid var(--frame6909b-line-soft);
  border-radius: 6px;
  background: var(--frame6909b-surface);
  color: var(--frame6909b-ink-soft);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.3;
  transition: color 0.16s ease, border-color 0.16s ease, transform 0.16s ease;
}

.frame6909b-ext-link svg {
  flex: none;
  color: var(--frame6909b-violet-lift);
}

.frame6909b-ext-link:hover {
  color: var(--frame6909b-ink);
  border-color: rgba(180, 77, 240, 0.6);
  text-decoration: none;
}

.frame6909b-ext-link:active {
  transform: scale(0.96);
}

.frame6909b-ext-promos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  margin-bottom: 12px;
}

.frame6909b-ext-promo {
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px;
  border-radius: var(--frame6909b-r);
  font-size: 12.3px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.16s ease, filter 0.16s ease, color 0.16s ease, border-color 0.16s ease;
}

.frame6909b-ext-promo:active {
  transform: scale(0.94);
}

.frame6909b-ext-promo-solid {
  background: linear-gradient(180deg, var(--frame6909b-violet-lift), var(--frame6909b-violet));
  border: 1px solid #c86cf5;
  color: #ffffff;
}

.frame6909b-ext-promo-line {
  background: transparent;
  border: 1px solid rgba(180, 77, 240, 0.62);
  color: var(--frame6909b-violet-lift);
}

.frame6909b-ext-promo:hover {
  text-decoration: none;
  filter: brightness(1.1);
}

.frame6909b-ext-note {
  border-top: 1px dashed var(--frame6909b-line);
  padding-top: 10px;
  font-size: 11.3px;
  line-height: 1.65;
  color: var(--frame6909b-ink-mute);
}

/* ---------- Universal footer ---------- */

.frame6909b-footer {
  border-top: 1px solid var(--frame6909b-line-soft);
  background: #1b1a1e;
  padding: 12px 14px;
  text-align: center;
  font-size: 11.5px;
  color: var(--frame6909b-ink-mute);
}

.frame6909b-footer b {
  color: var(--frame6909b-ink-soft);
  font-weight: 700;
}

/* ---------- Floating dock (mobile bottom nav) ---------- */

.frame6909b-dock {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  z-index: 70;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  align-items: stretch;
  min-height: var(--frame6909b-dock-h);
  padding: 5px 4px calc(5px + env(safe-area-inset-bottom, 0px));
  background: rgba(26, 25, 29, 0.97);
  border-top: 1px solid rgba(180, 77, 240, 0.42);
  backdrop-filter: blur(10px);
}

.frame6909b-dock-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  min-height: 48px;
  padding: 4px 2px;
  border: 0;
  background: transparent;
  border-radius: 8px;
  color: var(--frame6909b-ink-mute);
  cursor: pointer;
  transition: color 0.16s ease, transform 0.16s ease;
}

.frame6909b-dock-item:hover {
  color: var(--frame6909b-ink-soft);
  text-decoration: none;
}

.frame6909b-dock-item:active {
  transform: scale(0.9);
}

.frame6909b-dock-item svg {
  transition: transform 0.16s ease, color 0.16s ease;
}

.frame6909b-dock-accent {
  color: #d9a8fb;
}

.frame6909b-dock-cap {
  font-size: 10px;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: 0.01em;
}

.frame6909b-dock-item.frame6909b-on {
  color: var(--frame6909b-violet-lift);
}

.frame6909b-dock-item.frame6909b-on::before {
  content: "";
  position: absolute;
}

.frame6909b-dock-item.frame6909b-on svg {
  transform: translateY(-1px) scale(1.12);
  filter: drop-shadow(0 0 6px var(--frame6909b-violet-glow));
}

/* ---------- Small utility controls: tone switch and zoom feedback ---------- */

.frame6909b-tool {
  flex: none;
  width: 34px;
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 1px solid var(--frame6909b-line);
  border-radius: var(--frame6909b-r);
  background: var(--frame6909b-surface);
  color: var(--frame6909b-ink-soft);
  cursor: pointer;
  transition: color 0.16s ease, border-color 0.16s ease, transform 0.16s ease, background 0.16s ease;
}

.frame6909b-tool:hover,
.frame6909b-tool[aria-pressed="true"] {
  color: var(--frame6909b-violet-lift);
  border-color: rgba(180, 77, 240, 0.66);
}

.frame6909b-tool:active {
  transform: scale(0.9);
}

.frame6909b-zoom-pulse .frame6909b-main {
  animation: frame6909b-focus-pulse 0.48s ease-out;
}

@keyframes frame6909b-focus-pulse {
  0% { filter: brightness(1); }
  45% { filter: brightness(1.22); }
  100% { filter: brightness(1); }
}

html.frame6909b-alt {
  --frame6909b-violet: #a626d6;
  --frame6909b-violet-lift: #d17cf8;
  --frame6909b-violet-glow: rgba(166, 38, 214, 0.34);
}

/* ---------- Narrow canvas 320px ---------- */

@media (max-width: 340px) {
  .frame6909b-hero-title {
    font-size: 21.5px;
  }

  .frame6909b-grid {
    gap: 6px;
  }

  .frame6909b-game-name {
    font-size: 10.3px;
  }

  .frame6909b-cond-key {
    width: 84px;
    font-size: 10.3px;
  }

  .frame6909b-ext-promos {
    grid-template-columns: 1fr;
  }
}

/* ---------- Wider phones 375px+ ---------- */

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

  .frame6909b-meter-cap {
    font-size: 11px;
  }

  .frame6909b-game-name {
    font-size: 11.4px;
  }
}

/* ---------- Full canvas 430px ---------- */

@media (min-width: 430px) {
  .frame6909b-shell {
    box-shadow: 0 0 42px rgba(148, 0, 211, 0.12);
  }

  .frame6909b-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 9px;
  }

  .frame6909b-hero-title {
    font-size: 26px;
  }

  .frame6909b-h2 {
    font-size: 18.5px;
  }

  .frame6909b-ext-dir {
    gap: 7px;
  }

  .frame6909b-quotes {
    grid-template-columns: 1fr 1fr;
  }
}

/* ---------- Reduced motion ---------- */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}
