/* ==========================================================================
   SpinPH7 - tokens-responsive-24d468.css
   Mobile-first styles for spinph7.click
   Canvas: 320-430px phone layout, centered as a phone frame on wide screens.
   Every class and custom property uses the frame468b5- prefix.
   Palette: #FF8A80 coral / #141414 ink / #FFA500 orange / #FF91A4 pink /
            #FF8C00 flame. Dark base, light type.
   Direction: high-contrast display type + readable body, light card rounding
   with compact buttons, image tiles with bottom name bars, short-list rhythm,
   icon micro-state motion, compact dual-button CTA groups.
   ========================================================================== */

/* ---------------------------- Design tokens ---------------------------- */
:root {
  --frame468b5-bg: #141414;
  --frame468b5-bg-deep: #0c0c0c;
  --frame468b5-surface: #1f1b1a;
  --frame468b5-surface-2: #292320;
  --frame468b5-line: rgba(255, 138, 128, 0.18);
  --frame468b5-line-soft: rgba(255, 255, 255, 0.08);
  --frame468b5-coral: #ff8a80;
  --frame468b5-orange: #ffa500;
  --frame468b5-pink: #ff91a4;
  --frame468b5-flame: #ff8c00;
  --frame468b5-text: #fff4f0;
  --frame468b5-muted: #cdbbb5;
  --frame468b5-ink: #2b1305;
  --frame468b5-grad-cta: linear-gradient(135deg, #ff8c00 0%, #ff8a80 55%, #ff91a4 100%);
  --frame468b5-grad-strip: linear-gradient(180deg, rgba(255, 138, 128, 0.16), rgba(20, 20, 20, 0));
  --frame468b5-radius: 14px;
  --frame468b5-radius-sm: 9px;
  --frame468b5-radius-pill: 999px;
  --frame468b5-gap: 10px;
  --frame468b5-pad-x: 12px;
  --frame468b5-canvas: 480px;
  --frame468b5-top-h: 56px;
  --frame468b5-dock-h: 62px;
  --frame468b5-font-display: "Trebuchet MS", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --frame468b5-font-body: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --frame468b5-shadow: 0 12px 30px rgba(0, 0, 0, 0.5);
  --frame468b5-shadow-soft: 0 6px 18px rgba(0, 0, 0, 0.35);
}

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

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

body {
  margin: 0;
  padding: 0;
  background: var(--frame468b5-bg-deep);
  color: var(--frame468b5-text);
  font-family: var(--frame468b5-font-body);
  font-size: 14px;
  line-height: 1.6;
  overflow-x: hidden;
}

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

h1, h2, h3, h4, p, ul, ol, figure {
  margin: 0;
}

ul, ol {
  padding: 0;
  list-style: none;
}

a {
  color: var(--frame468b5-coral);
  text-decoration: none;
}

a:hover,
a:focus-visible {
  text-decoration: underline;
}

button {
  font-family: inherit;
  cursor: pointer;
}

.frame468b5-page {
  min-height: 100vh;
}

.frame468b5-page :focus-visible {
  outline: 2px solid var(--frame468b5-orange);
  outline-offset: 2px;
  border-radius: 4px;
}

::selection {
  background: var(--frame468b5-flame);
  color: var(--frame468b5-ink);
}

/* Phone canvas: on wide screens keep a centered mobile frame */
.frame468b5-shell {
  position: relative;
  max-width: var(--frame468b5-canvas);
  margin: 0 auto;
  min-height: 100vh;
  background: var(--frame468b5-bg);
}

/* ------------------------- Compact brand topbar ------------------------- */
.frame468b5-topbar {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: var(--frame468b5-canvas);
  height: var(--frame468b5-top-h);
  z-index: 40;
  background: rgba(20, 20, 20, 0.94);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--frame468b5-line);
}

.frame468b5-topbar-in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  height: 100%;
  padding: 0 var(--frame468b5-pad-x);
}

/* Brand zone: logo image + site name only */
.frame468b5-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  color: var(--frame468b5-text);
  text-decoration: none;
}

.frame468b5-brand:hover {
  text-decoration: none;
}

.frame468b5-logo {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  object-fit: cover;
  border: 1px solid var(--frame468b5-line);
  flex: 0 0 auto;
}

.frame468b5-brandname {
  font-family: var(--frame468b5-font-display);
  font-weight: 800;
  font-size: 19px;
  letter-spacing: 0.2px;
  background: var(--frame468b5-grad-cta);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  white-space: nowrap;
}

/* Action zone: compact dual CTA group + menu trigger */
.frame468b5-topacts {
  display: flex;
  align-items: center;
  gap: 7px;
  flex: 0 0 auto;
}

.frame468b5-btn {
  min-height: 44px;
  padding: 8px 13px;
  border-radius: var(--frame468b5-radius-sm);
  border: 1px solid transparent;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
  transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.12s ease;
}

.frame468b5-btn:active {
  transform: scale(0.95);
}

.frame468b5-btn-register {
  background: var(--frame468b5-grad-cta);
  color: var(--frame468b5-ink);
  box-shadow: 0 3px 12px rgba(255, 138, 0, 0.35);
}

.frame468b5-btn-login {
  background: rgba(255, 138, 128, 0.1);
  color: var(--frame468b5-coral);
  border-color: var(--frame468b5-line);
}

/* Burger trigger with quick scale feedback */
.frame468b5-burger {
  width: 44px;
  height: 44px;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--frame468b5-line-soft);
  border-radius: var(--frame468b5-radius-sm);
  transition: transform 0.12s ease;
}

.frame468b5-burger:active {
  transform: scale(0.92);
}

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

.frame468b5-burger[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.frame468b5-burger[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.frame468b5-burger[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* ---------------------- Slide-up route sheet menu ----------------------- */
.frame468b5-scrim {
  position: fixed;
  inset: 0;
  background: rgba(8, 8, 8, 0.66);
  z-index: 55;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.22s ease, visibility 0.22s ease;
}

.frame468b5-scrim.frame468b5-is-open {
  opacity: 1;
  visibility: visible;
}

.frame468b5-sheet {
  position: fixed;
  bottom: 0;
  left: 50%;
  width: 100%;
  max-width: var(--frame468b5-canvas);
  transform: translate(-50%, 105%);
  z-index: 60;
  background: #1b1817;
  border-top: 1px solid var(--frame468b5-line);
  border-radius: 18px 18px 0 0;
  box-shadow: var(--frame468b5-shadow);
  padding: 10px var(--frame468b5-pad-x) calc(var(--frame468b5-dock-h) + 16px);
  visibility: hidden;
  transition: transform 0.28s cubic-bezier(0.22, 0.9, 0.3, 1), visibility 0.28s ease;
}

.frame468b5-sheet.frame468b5-is-open {
  transform: translate(-50%, 0);
  visibility: visible;
}

.frame468b5-sheet-grip {
  width: 44px;
  height: 4px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.16);
  margin: 0 auto 10px;
}

.frame468b5-sheet-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 8px;
}

.frame468b5-sheet-title {
  font-family: var(--frame468b5-font-display);
  font-size: 16px;
  font-weight: 800;
  color: var(--frame468b5-orange);
}

.frame468b5-sheet-close {
  min-width: 44px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--frame468b5-line-soft);
  background: rgba(255, 255, 255, 0.05);
  color: var(--frame468b5-text);
  border-radius: var(--frame468b5-radius-sm);
  font-size: 20px;
  line-height: 1;
  transition: transform 0.12s ease;
}

.frame468b5-sheet-close:active {
  transform: scale(0.9);
}

.frame468b5-sheet-group {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--frame468b5-pink);
  margin: 12px 2px 6px;
}

.frame468b5-sheet-list li + li {
  margin-top: 4px;
}

.frame468b5-sheet-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 44px;
  padding: 10px 12px;
  border-radius: var(--frame468b5-radius-sm);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--frame468b5-line-soft);
  color: var(--frame468b5-text);
  font-size: 14px;
  font-weight: 600;
  transition: transform 0.12s ease, background 0.12s ease;
}

.frame468b5-sheet-list a:hover,
.frame468b5-sheet-list a:focus-visible {
  text-decoration: none;
  background: rgba(255, 138, 128, 0.12);
}

.frame468b5-sheet-list a:active {
  transform: scale(0.98);
}

.frame468b5-sheet-list a::after {
  content: "";
  width: 7px;
  height: 7px;
  border-top: 2px solid var(--frame468b5-orange);
  border-right: 2px solid var(--frame468b5-orange);
  transform: rotate(45deg);
  flex: 0 0 auto;
}

.frame468b5-sheet-list .frame468b5-is-here {
  background: rgba(255, 138, 128, 0.16);
  border-color: var(--frame468b5-line);
}

/* ------------------------------- Main ---------------------------------- */
.frame468b5-main {
  padding: calc(var(--frame468b5-top-h) + 14px) var(--frame468b5-pad-x) calc(var(--frame468b5-dock-h) + 30px);
}

/* Hero title block */
.frame468b5-hero {
  padding: 6px 0 14px;
}

.frame468b5-h1 {
  font-family: var(--frame468b5-font-display);
  font-size: 24px;
  line-height: 1.25;
  font-weight: 800;
  letter-spacing: 0.2px;
  color: var(--frame468b5-text);
}

.frame468b5-h1 b {
  background: var(--frame468b5-grad-cta);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.frame468b5-lede {
  margin-top: 8px;
  color: var(--frame468b5-muted);
  font-size: 13.5px;
}

.frame468b5-lede strong {
  color: var(--frame468b5-text);
}

/* ------------------------- Banner carousel ------------------------------ */
.frame468b5-carousel {
  position: relative;
  border-radius: var(--frame468b5-radius);
  overflow: hidden;
  border: 1px solid var(--frame468b5-line);
  box-shadow: var(--frame468b5-shadow-soft);
  touch-action: pan-y;
  user-select: none;
  -webkit-user-select: none;
}

.frame468b5-track {
  display: flex;
  transition: transform 0.45s cubic-bezier(0.3, 0.8, 0.3, 1);
}

.frame468b5-slide {
  flex: 0 0 100%;
  width: 100%;
  padding: 0;
  border: 0;
  margin: 0;
  background: #242020;
  display: block;
}

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

.frame468b5-dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 6px;
  display: flex;
  justify-content: center;
  gap: 4px;
}

.frame468b5-dot {
  min-width: 44px;
  min-height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  background: none;
}

.frame468b5-dot::after {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255, 244, 240, 0.45);
  transition: transform 0.18s ease, background 0.18s ease;
}

.frame468b5-dot.frame468b5-is-on::after {
  background: var(--frame468b5-orange);
  transform: scale(1.35);
}

/* ------------------------- Quick answer panel --------------------------- */
.frame468b5-answer {
  margin-top: 14px;
  padding: 14px;
  border-radius: var(--frame468b5-radius);
  background: linear-gradient(160deg, rgba(255, 138, 128, 0.14), rgba(255, 143, 0, 0.05));
  border: 1px solid var(--frame468b5-line);
}

.frame468b5-answer p {
  font-size: 13.5px;
  color: var(--frame468b5-text);
}

.frame468b5-answer p + p {
  margin-top: 8px;
}

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

.frame468b5-fact {
  display: flex;
  align-items: flex-start;
  gap: 7px;
  padding: 9px 10px;
  border-radius: var(--frame468b5-radius-sm);
  background: rgba(20, 20, 20, 0.55);
  border: 1px solid var(--frame468b5-line-soft);
  font-size: 12px;
  line-height: 1.45;
  color: var(--frame468b5-muted);
}

.frame468b5-fact svg {
  width: 15px;
  height: 15px;
  fill: var(--frame468b5-orange);
  flex: 0 0 auto;
  margin-top: 2px;
}

.frame468b5-fact b {
  display: block;
  color: var(--frame468b5-text);
  font-size: 12.5px;
}

/* ------------------------- Category chip strip -------------------------- */
.frame468b5-chips {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 16px 0 6px;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.frame468b5-chips::-webkit-scrollbar {
  display: none;
}

.frame468b5-chip {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 40px;
  padding: 8px 14px;
  border-radius: var(--frame468b5-radius-pill);
  background: var(--frame468b5-surface);
  border: 1px solid var(--frame468b5-line-soft);
  color: var(--frame468b5-text);
  font-size: 12.5px;
  font-weight: 700;
  white-space: nowrap;
  transition: transform 0.12s ease, border-color 0.12s ease;
}

.frame468b5-chip:active {
  transform: scale(0.94);
}

.frame468b5-chip svg {
  width: 14px;
  height: 14px;
  fill: var(--frame468b5-coral);
}

.frame468b5-chip-all {
  border-color: var(--frame468b5-line);
  background: rgba(255, 138, 128, 0.12);
}

/* ------------------------------ Sections -------------------------------- */
.frame468b5-sec {
  margin-top: 26px;
  scroll-margin-top: calc(var(--frame468b5-top-h) + 12px);
}

.frame468b5-sec-kicker {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--frame468b5-flame);
}

.frame468b5-sec-kicker::before {
  content: "";
  width: 16px;
  height: 2px;
  border-radius: 2px;
  background: var(--frame468b5-grad-cta);
}

.frame468b5-h2 {
  font-family: var(--frame468b5-font-display);
  font-size: 19px;
  line-height: 1.3;
  font-weight: 800;
  margin: 4px 0 6px;
  color: var(--frame468b5-text);
}

.frame468b5-count {
  display: inline-block;
  vertical-align: 3px;
  margin-left: 6px;
  padding: 2px 8px;
  border-radius: var(--frame468b5-radius-pill);
  background: rgba(255, 165, 0, 0.15);
  border: 1px solid var(--frame468b5-line);
  font-family: var(--frame468b5-font-body);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.4px;
  color: var(--frame468b5-orange);
}

.frame468b5-sec-intro {
  color: var(--frame468b5-muted);
  font-size: 13px;
  margin-bottom: 12px;
}

.frame468b5-sec-intro a {
  font-weight: 700;
}

.frame468b5-h3 {
  font-family: var(--frame468b5-font-display);
  font-size: 15px;
  font-weight: 800;
  color: var(--frame468b5-orange);
  margin-bottom: 4px;
}

/* ------------------------------ Game grid ------------------------------- */
/* 4 columns from 320px; 5 columns once the canvas reaches 430px */
.frame468b5-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 9px 7px;
}

.frame468b5-tile {
  width: 100%;
  padding: 0;
  border: 1px solid var(--frame468b5-line-soft);
  border-radius: 11px;
  overflow: hidden;
  background: var(--frame468b5-surface);
  display: flex;
  flex-direction: column;
  text-align: center;
  transition: transform 0.14s ease, border-color 0.14s ease, box-shadow 0.14s ease;
}

.frame468b5-tile:hover,
.frame468b5-tile:focus-visible {
  text-decoration: none;
  border-color: var(--frame468b5-coral);
  box-shadow: 0 0 0 1px rgba(255, 138, 128, 0.4), var(--frame468b5-shadow-soft);
}

.frame468b5-tile:active {
  transform: scale(0.94);
}

.frame468b5-tile img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  background: #242020;
}

/* Bottom name bar pinned under the artwork */
.frame468b5-tile-name {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  overflow: hidden;
  min-height: 30px;
  padding: 4px 5px 5px;
  background: var(--frame468b5-grad-strip), #191615;
  border-top: 1px solid var(--frame468b5-line-soft);
  color: var(--frame468b5-text);
  font-size: 10.5px;
  font-weight: 600;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

/* --------------------------- Content modules ---------------------------- */
.frame468b5-panel {
  margin-top: 14px;
  padding: 15px 14px;
  border-radius: var(--frame468b5-radius);
  background: var(--frame468b5-surface);
  border: 1px solid var(--frame468b5-line-soft);
}

.frame468b5-panel p {
  font-size: 13px;
  color: var(--frame468b5-muted);
}

.frame468b5-panel p + p {
  margin-top: 8px;
}

.frame468b5-panel p a,
.frame468b5-sec-intro a {
  color: var(--frame468b5-orange);
}

/* Milestone list with icon micro-states */
.frame468b5-ms-list li {
  display: flex;
  gap: 11px;
  padding: 10px 0;
  border-bottom: 1px dashed var(--frame468b5-line-soft);
}

.frame468b5-ms-list li:last-child {
  border-bottom: 0;
  padding-bottom: 2px;
}

.frame468b5-ms-ic {
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 11px;
  background: rgba(255, 138, 128, 0.13);
  border: 1px solid var(--frame468b5-line);
  transition: transform 0.15s ease;
}

.frame468b5-ms-ic svg {
  width: 19px;
  height: 19px;
  fill: var(--frame468b5-coral);
}

.frame468b5-ms-list li:hover .frame468b5-ms-ic,
.frame468b5-ms-list li:focus-within .frame468b5-ms-ic {
  transform: translateY(-2px) rotate(-4deg);
}

.frame468b5-ms-body {
  min-width: 0;
}

.frame468b5-ms-body p {
  font-size: 12.5px;
  color: var(--frame468b5-muted);
}

/* Compact dual-button CTA group */
.frame468b5-cta-pair {
  display: flex;
  gap: 8px;
  margin-top: 12px;
}

.frame468b5-cta-pair .frame468b5-btn {
  flex: 1 1 0;
  min-width: 0;
}

.frame468b5-btn-ghost {
  background: rgba(255, 255, 255, 0.05);
  color: var(--frame468b5-text);
  border-color: var(--frame468b5-line);
}

/* Payment partner logo strip */
.frame468b5-partners {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 4px 0 8px;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.frame468b5-partners::-webkit-scrollbar {
  display: none;
}

.frame468b5-partners img {
  height: 34px;
  width: auto;
  flex: 0 0 auto;
  object-fit: contain;
  border-radius: 7px;
  background: #fff;
  padding: 3px 6px;
}

/* Numbered checkpoint list */
.frame468b5-check-list {
  counter-reset: frame468b5-step;
  margin-top: 10px;
}

.frame468b5-check-list li {
  counter-increment: frame468b5-step;
  position: relative;
  padding: 8px 0 8px 34px;
  font-size: 12.5px;
  color: var(--frame468b5-muted);
  border-bottom: 1px dashed var(--frame468b5-line-soft);
}

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

.frame468b5-check-list li::before {
  content: counter(frame468b5-step);
  position: absolute;
  left: 0;
  top: 9px;
  width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--frame468b5-grad-cta);
  color: var(--frame468b5-ink);
  font-size: 11px;
  font-weight: 800;
}

.frame468b5-check-list b {
  color: var(--frame468b5-text);
}

/* Decision cards: short-list rhythm in a 2-up layout */
.frame468b5-decide {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
  margin-top: 12px;
}

.frame468b5-decide-item {
  padding: 11px 12px;
  border-radius: var(--frame468b5-radius-sm);
  background: rgba(255, 138, 128, 0.08);
  border: 1px solid var(--frame468b5-line-soft);
  font-size: 12px;
  line-height: 1.5;
  color: var(--frame468b5-muted);
}

.frame468b5-decide-item b {
  display: block;
  color: var(--frame468b5-pink);
  font-size: 12.5px;
  margin-bottom: 2px;
}

/* ------------------------- Extended home footer ------------------------- */
.frame468b5-xfooter {
  margin-top: 30px;
  padding: 16px 14px 18px;
  border-radius: var(--frame468b5-radius);
  background: linear-gradient(180deg, rgba(255, 140, 0, 0.08), rgba(255, 145, 164, 0.05)), var(--frame468b5-surface);
  border: 1px solid var(--frame468b5-line);
}

.frame468b5-xfoot-brand {
  font-size: 12.5px;
  color: var(--frame468b5-muted);
  margin: 6px 0 14px;
}

/* Six promotion actions with icon + text labels */
.frame468b5-promo6 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.frame468b5-promo-act {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 48px;
  padding: 9px 11px;
  border-radius: var(--frame468b5-radius-sm);
  border: 1px solid var(--frame468b5-line-soft);
  background: rgba(20, 20, 20, 0.5);
  color: var(--frame468b5-text);
  font-size: 12.5px;
  font-weight: 700;
  text-align: left;
  transition: transform 0.12s ease, border-color 0.12s ease;
}

.frame468b5-promo-act:active {
  transform: scale(0.96);
}

.frame468b5-promo-act svg {
  width: 17px;
  height: 17px;
  fill: var(--frame468b5-orange);
  flex: 0 0 auto;
}

.frame468b5-promo-act.frame468b5-promo-hot {
  background: var(--frame468b5-grad-cta);
  color: var(--frame468b5-ink);
  border-color: transparent;
}

.frame468b5-promo-act.frame468b5-promo-hot svg {
  fill: var(--frame468b5-ink);
}

/* Two-column internal page directory */
.frame468b5-dir {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px 10px;
  margin-top: 10px;
}

.frame468b5-dir a {
  display: flex;
  align-items: center;
  gap: 6px;
  min-height: 40px;
  padding: 7px 9px;
  border-radius: var(--frame468b5-radius-sm);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--frame468b5-line-soft);
  color: var(--frame468b5-muted);
  font-size: 11.5px;
  font-weight: 600;
  line-height: 1.3;
  transition: transform 0.12s ease, color 0.12s ease;
}

.frame468b5-dir a:hover,
.frame468b5-dir a:focus-visible {
  text-decoration: none;
  color: var(--frame468b5-text);
  border-color: var(--frame468b5-line);
}

.frame468b5-dir a::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 2px;
  background: var(--frame468b5-flame);
  flex: 0 0 auto;
}

.frame468b5-disclaimer {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px dashed var(--frame468b5-line-soft);
  font-size: 11px;
  line-height: 1.55;
  color: #a99590;
}

/* ----------------------------- Common footer ---------------------------- */
.frame468b5-footer {
  padding: 14px var(--frame468b5-pad-x) 10px;
  border-top: 1px solid var(--frame468b5-line-soft);
  text-align: center;
}

.frame468b5-copy {
  font-size: 11.5px;
  color: #9d8a85;
}

.frame468b5-copy b {
  color: var(--frame468b5-muted);
}

/* --------------------- Segmented action dock (bottom) ------------------- */
.frame468b5-dock {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: var(--frame468b5-canvas);
  height: calc(var(--frame468b5-dock-h) + env(safe-area-inset-bottom, 0px));
  padding-bottom: env(safe-area-inset-bottom, 0px);
  z-index: 45;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  background: rgba(18, 16, 16, 0.97);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--frame468b5-line);
}

.frame468b5-dock-item {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  min-height: 44px;
  padding: 6px 2px 4px;
  border: 0;
  background: none;
  color: #8d7c77;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.2px;
  text-decoration: none;
  transition: color 0.15s ease;
}

.frame468b5-dock-item svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
  transition: transform 0.16s cubic-bezier(0.3, 1.4, 0.5, 1);
}

.frame468b5-dock-item:active {
  color: var(--frame468b5-muted);
}

.frame468b5-dock-item:active svg {
  transform: scale(0.86);
}

/* Filled icon, restrained inactive state; current page lifts slightly */
.frame468b5-dock-item.frame468b5-is-current {
  color: var(--frame468b5-coral);
}

.frame468b5-dock-item.frame468b5-is-current svg {
  fill: var(--frame468b5-orange);
  transform: translateY(-2px);
}

.frame468b5-dock-item.frame468b5-is-current::after {
  content: "";
  position: absolute;
  bottom: 2px;
  width: 16px;
  height: 3px;
  border-radius: 3px;
  background: var(--frame468b5-grad-cta);
}

/* Promo dock slots wear a warm tint */
.frame468b5-dock-promo {
  color: #b98a5f;
}

.frame468b5-dock-promo svg {
  fill: var(--frame468b5-flame);
}

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

/* ------------------------------ Breakpoints ----------------------------- */
@media (min-width: 375px) {
  .frame468b5-h1 {
    font-size: 26px;
  }

  .frame468b5-h2 {
    font-size: 20px;
  }

  .frame468b5-grid {
    gap: 10px 8px;
  }

  .frame468b5-tile-name {
    font-size: 11px;
  }
}

/* Wider phones: five game columns, roomier modules */
@media (min-width: 430px) {
  .frame468b5-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 12px 9px;
  }

  .frame468b5-facts {
    gap: 10px;
  }

  .frame468b5-promo6 {
    gap: 10px;
  }

  .frame468b5-main {
    padding-left: 16px;
    padding-right: 16px;
  }
}

/* Desktop: keep the centered phone canvas, add frame edges */
@media (min-width: 520px) {
  .frame468b5-shell {
    border-left: 1px solid var(--frame468b5-line-soft);
    border-right: 1px solid var(--frame468b5-line-soft);
    box-shadow: var(--frame468b5-shadow);
    min-height: 100vh;
  }
}

/* ------------------------- Help: step rail ------------------------------ */
.frame468b5-rail {
  margin-top: 12px;
}

.frame468b5-rail li {
  display: flex;
  gap: 10px;
  padding: 0 0 14px;
  position: relative;
}

.frame468b5-rail li::before {
  content: "";
  position: absolute;
  left: 15px;
  top: 32px;
  bottom: 0;
  width: 2px;
  background: rgba(255, 138, 128, 0.28);
}

.frame468b5-rail li:last-child::before {
  display: none;
}

.frame468b5-rail-n {
  width: 32px;
  height: 32px;
  flex: 0 0 auto;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--frame468b5-grad-cta);
  color: var(--frame468b5-ink);
  font-family: var(--frame468b5-font-display);
  font-weight: 800;
  font-size: 13px;
  position: relative;
  z-index: 1;
}

.frame468b5-rail p {
  font-size: 13px;
  color: var(--frame468b5-muted);
}

/* Mistake stripe */
.frame468b5-warn {
  margin-top: 10px;
  padding: 12px 12px 12px 14px;
  border-radius: var(--frame468b5-radius-sm);
  border: 1px solid var(--frame468b5-line-soft);
  border-left: 3px solid var(--frame468b5-coral);
  background: rgba(255, 138, 128, 0.07);
}

.frame468b5-warn p {
  font-size: 13px;
  color: var(--frame468b5-muted);
}

.frame468b5-warn + .frame468b5-warn {
  margin-top: 8px;
}

/* Scenario quote */
.frame468b5-scene {
  margin-top: 12px;
  padding: 14px;
  border-radius: var(--frame468b5-radius);
  background: rgba(255, 145, 164, 0.1);
  border: 1px dashed rgba(255, 145, 164, 0.45);
}

.frame468b5-scene p {
  font-size: 13px;
  color: var(--frame468b5-text);
}

.frame468b5-scene p + p {
  margin-top: 8px;
}

/* App: wrapping step chips */
.frame468b5-flow {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.frame468b5-flow-step {
  flex: 1 1 46%;
  min-width: 0;
  padding: 12px;
  border-radius: var(--frame468b5-radius-sm);
  background: var(--frame468b5-surface);
  border: 1px solid var(--frame468b5-line-soft);
}

.frame468b5-flow-step b {
  display: block;
  color: var(--frame468b5-orange);
  font-size: 12px;
  letter-spacing: 0.4px;
  margin-bottom: 4px;
}

.frame468b5-flow-step p {
  font-size: 12.5px;
  color: var(--frame468b5-muted);
}

/* Conditional if / then notes */
.frame468b5-if {
  margin-top: 10px;
  display: grid;
  gap: 8px;
}

.frame468b5-if article {
  padding: 12px;
  border-radius: var(--frame468b5-radius-sm);
  background: var(--frame468b5-surface-2);
  border: 1px solid var(--frame468b5-line-soft);
}

.frame468b5-if h3 {
  font-size: 14px;
  margin-bottom: 4px;
}

.frame468b5-if p {
  font-size: 13px;
  color: var(--frame468b5-muted);
}

/* Direct verdict band */
.frame468b5-verdict {
  padding: 14px;
  border-radius: var(--frame468b5-radius);
  background: var(--frame468b5-grad-cta);
  color: var(--frame468b5-ink);
}

.frame468b5-verdict p {
  font-size: 13.5px;
  color: var(--frame468b5-ink);
  font-weight: 600;
}

.frame468b5-verdict p + p {
  margin-top: 8px;
  font-weight: 500;
}

/* Inline promo text control */
.frame468b5-textbtn {
  display: inline;
  padding: 0;
  border: 0;
  background: none;
  color: var(--frame468b5-orange);
  font: inherit;
  font-weight: 800;
  text-decoration: underline;
  min-height: 44px;
}

.frame468b5-textbtn:active {
  transform: scale(0.96);
}

/* Respect users who prefer less motion */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .frame468b5-track,
  .frame468b5-sheet,
  .frame468b5-scrim,
  .frame468b5-tile,
  .frame468b5-dock-item svg,
  .frame468b5-ms-ic,
  .frame468b5-btn,
  .frame468b5-chip,
  .frame468b5-promo-act,
  .frame468b5-textbtn,
  .frame468b5-rail-n {
    transition: none;
  }
}
