/* ==========================================================================
   Madame Destiny Slot - parlor palette and layout system
   File   : css/madame-destiny-slo-palette-b99d62.css
   Prefix : frame9d627-
   Palette: #0D1117 ink stage / #BA55D3 orchid / #EE82EE violet / #ECF0F1 mist
   Voice  : humanist serif headings over a clear sans body, pill buttons,
            squared outlined tile cards, fact-first information rhythm,
            motion reserved for the primary calls to action.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Design tokens
   -------------------------------------------------------------------------- */
:root {
  --frame9d627-ink: #0d1117;
  --frame9d627-ink-deep: #090d13;
  --frame9d627-panel: #121826;
  --frame9d627-panel-2: #161d2d;
  --frame9d627-orchid: #ba55d3;
  --frame9d627-orchid-deep: #8e3daa;
  --frame9d627-orchid-soft: rgba(186, 85, 211, 0.16);
  --frame9d627-violet: #ee82ee;
  --frame9d627-mist: #ecf0f1;
  --frame9d627-mist-dim: rgba(236, 240, 241, 0.7);
  --frame9d627-mist-faint: rgba(236, 240, 241, 0.46);
  --frame9d627-line: rgba(186, 85, 211, 0.36);
  --frame9d627-line-faint: rgba(186, 85, 211, 0.2);
  --frame9d627-glow: rgba(238, 130, 238, 0.14);
  --frame9d627-head-h: 106px;
  --frame9d627-dock-h: 66px;
  --frame9d627-gutter: 14px;
  --frame9d627-radius-card: 6px;
  --frame9d627-radius-tile: 4px;
  --frame9d627-font-head: Georgia, "Iowan Old Style", "Palatino Linotype", "Times New Roman", serif;
  --frame9d627-font-body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* --------------------------------------------------------------------------
   2. Base reset and stage
   -------------------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  background: var(--frame9d627-ink-deep);
  color: var(--frame9d627-mist);
  font-family: var(--frame9d627-font-body);
  font-size: 15px;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.frame9d627-route-open {
  overflow: hidden;
}

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

button {
  font-family: inherit;
  color: inherit;
}

a {
  color: var(--frame9d627-violet);
  text-decoration: none;
  transition: color 0.25s ease;
}

a:hover {
  color: var(--frame9d627-mist);
}

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

::selection {
  background: var(--frame9d627-orchid);
  color: #ffffff;
}

/* The phone canvas: centered, never wider than 430px on any screen. */
.frame9d627-shell {
  position: relative;
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
  background:
    radial-gradient(120% 42% at 50% 0%, rgba(186, 85, 211, 0.14) 0%, rgba(13, 17, 23, 0) 62%),
    var(--frame9d627-ink);
  min-height: 100vh;
  padding-top: var(--frame9d627-head-h);
  padding-bottom: calc(var(--frame9d627-dock-h) + env(safe-area-inset-bottom, 0px) + 30px);
  overflow-x: clip;
}

.frame9d627-main {
  display: block;
  padding: 0 var(--frame9d627-gutter) 6px;
}

/* --------------------------------------------------------------------------
   3. Fixed top bar - brand row over action row
   -------------------------------------------------------------------------- */
.frame9d627-topbar {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  z-index: 60;
  background: linear-gradient(180deg, rgba(13, 17, 23, 0.98) 0%, rgba(13, 17, 23, 0.94) 100%);
  border-bottom: 1px solid var(--frame9d627-line-faint);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.frame9d627-brandrow {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 8px var(--frame9d627-gutter) 6px;
}

.frame9d627-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--frame9d627-mist);
}

.frame9d627-logo {
  width: 40px;
  height: 40px;
  border-radius: var(--frame9d627-radius-tile);
  border: 1px solid var(--frame9d627-line);
  background: var(--frame9d627-orchid-soft);
  padding: 2px;
}

.frame9d627-brandname {
  font-family: var(--frame9d627-font-head);
  font-size: 19px;
  letter-spacing: 0.03em;
  line-height: 1.15;
}

.frame9d627-actionrow {
  display: grid;
  grid-template-columns: 1fr 1fr 48px;
  gap: 8px;
  align-items: center;
  padding: 0 var(--frame9d627-gutter) 8px;
}

/* Pill buttons: solid primary, outlined secondary. */
.frame9d627-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 44px;
  padding: 10px 14px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.02em;
  cursor: pointer;
  border: 1px solid transparent;
  transition: background-color 0.25s ease, border-color 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
}

.frame9d627-btn-solid {
  background: linear-gradient(135deg, var(--frame9d627-orchid) 0%, var(--frame9d627-orchid-deep) 100%);
  border-color: rgba(238, 130, 238, 0.5);
  color: #ffffff;
  box-shadow: 0 6px 18px rgba(142, 61, 170, 0.35);
}

.frame9d627-btn-solid:hover,
.frame9d627-btn-solid:active {
  background: linear-gradient(135deg, #c96bdf 0%, #9c48b6 100%);
  color: #ffffff;
}

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

.frame9d627-btn-ghost:hover,
.frame9d627-btn-ghost:active {
  border-color: var(--frame9d627-violet);
  color: var(--frame9d627-mist);
  background: var(--frame9d627-glow);
}

/* Hamburger trigger, squared to contrast the pill buttons. */
.frame9d627-menubtn {
  width: 48px;
  height: 44px;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  background: var(--frame9d627-panel);
  border: 1px solid var(--frame9d627-line-faint);
  border-radius: var(--frame9d627-radius-card);
  cursor: pointer;
  transition: border-color 0.25s ease, background-color 0.25s ease;
}

.frame9d627-menubtn:hover {
  border-color: var(--frame9d627-line);
}

.frame9d627-menubtn-bar {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: var(--frame9d627-violet);
  transition: transform 0.25s ease, opacity 0.2s ease;
}

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

.frame9d627-menubtn[aria-expanded="true"] .frame9d627-menubtn-bar:nth-child(2) {
  opacity: 0;
}

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

/* --------------------------------------------------------------------------
   4. Compact route panel (drop-down map of real routes)
   -------------------------------------------------------------------------- */
.frame9d627-routes {
  display: none;
  max-height: calc(100vh - var(--frame9d627-head-h));
  overflow-y: auto;
  padding: 12px var(--frame9d627-gutter) 16px;
  background: linear-gradient(180deg, rgba(18, 24, 38, 0.99) 0%, rgba(13, 17, 23, 0.99) 100%);
  border-top: 1px solid var(--frame9d627-line-faint);
}

.frame9d627-routes.frame9d627-routes-open {
  display: block;
}

.frame9d627-routegroup-title {
  margin: 12px 0 6px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--frame9d627-mist-faint);
}

.frame9d627-routelist {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.frame9d627-routelink {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 11px;
  border: 1px solid var(--frame9d627-line-faint);
  border-radius: var(--frame9d627-radius-card);
  background: rgba(22, 29, 45, 0.6);
  font-size: 12.5px;
  line-height: 1.25;
  color: var(--frame9d627-mist-dim);
  transition: border-color 0.25s ease, color 0.25s ease, background-color 0.25s ease;
}

.frame9d627-routelink::before {
  content: "";
  width: 6px;
  height: 6px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--frame9d627-orchid);
  box-shadow: 0 0 6px rgba(238, 130, 238, 0.5);
}

.frame9d627-routelink:hover,
.frame9d627-routelink:focus-visible {
  border-color: var(--frame9d627-line);
  background: var(--frame9d627-orchid-soft);
  color: var(--frame9d627-mist);
}

/* --------------------------------------------------------------------------
   5. Hero room - headline, reading line, banner carousel
   -------------------------------------------------------------------------- */
.frame9d627-hero {
  padding: 18px 0 4px;
}

.frame9d627-hero-kicker {
  display: inline-block;
  margin: 0 0 8px;
  padding: 4px 12px;
  border: 1px solid var(--frame9d627-line);
  border-radius: 999px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--frame9d627-violet);
  background: var(--frame9d627-orchid-soft);
}

.frame9d627-hero-title {
  margin: 0 0 8px;
  font-family: var(--frame9d627-font-head);
  font-size: 27px;
  line-height: 1.2;
  letter-spacing: 0.01em;
  color: var(--frame9d627-mist);
}

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

/* Carousel stage: banners are 2:1 promos, stacked with soft fades. */
.frame9d627-stage {
  position: relative;
  width: 100%;
  aspect-ratio: 2 / 1;
  border: 1px solid var(--frame9d627-line);
  border-radius: var(--frame9d627-radius-card);
  overflow: hidden;
  background: var(--frame9d627-panel);
}

.frame9d627-slide {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

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

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

.frame9d627-slide-veil {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 26px 14px 12px;
  background: linear-gradient(180deg, rgba(13, 17, 23, 0) 0%, rgba(9, 13, 19, 0.88) 78%);
  text-align: left;
  pointer-events: none;
}

.frame9d627-slide-line {
  font-family: var(--frame9d627-font-head);
  font-size: 15px;
  line-height: 1.3;
  color: #ffffff;
}

.frame9d627-slide-cta {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--frame9d627-violet);
}

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

.frame9d627-dot {
  width: 22px;
  height: 8px;
  padding: 0;
  border: 1px solid var(--frame9d627-line);
  border-radius: 999px;
  background: rgba(13, 17, 23, 0.55);
  cursor: pointer;
  transition: background-color 0.25s ease, border-color 0.25s ease;
}

.frame9d627-dot.frame9d627-dot-on {
  background: var(--frame9d627-orchid);
  border-color: var(--frame9d627-violet);
}

/* --------------------------------------------------------------------------
   6. Fact strip - the answer-first rhythm used across the page
   -------------------------------------------------------------------------- */
.frame9d627-fact {
  margin: 14px 0;
  padding: 10px 12px;
  border-left: 3px solid var(--frame9d627-orchid);
  border-radius: 0 var(--frame9d627-radius-card) var(--frame9d627-radius-card) 0;
  background: linear-gradient(90deg, var(--frame9d627-orchid-soft) 0%, rgba(18, 24, 38, 0.4) 70%);
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--frame9d627-mist);
}

.frame9d627-fact strong {
  color: var(--frame9d627-violet);
  font-weight: 700;
}

/* --------------------------------------------------------------------------
   7. Number ribbon under the intro
   -------------------------------------------------------------------------- */
.frame9d627-nums {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin: 14px 0 4px;
}

.frame9d627-num {
  padding: 10px 8px 9px;
  border: 1px solid var(--frame9d627-line-faint);
  border-radius: var(--frame9d627-radius-card);
  background: var(--frame9d627-panel);
  text-align: center;
}

.frame9d627-num b {
  display: block;
  font-family: var(--frame9d627-font-head);
  font-size: 21px;
  line-height: 1.1;
  color: var(--frame9d627-violet);
}

.frame9d627-num span {
  display: block;
  margin-top: 3px;
  font-size: 10.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--frame9d627-mist-faint);
}

/* --------------------------------------------------------------------------
   8. Shared prose and room shells
   -------------------------------------------------------------------------- */
.frame9d627-prose {
  margin: 0 0 16px;
  font-size: 14px;
  color: var(--frame9d627-mist-dim);
}

.frame9d627-prose + .frame9d627-prose {
  margin-top: -10px;
}

.frame9d627-room {
  margin: 22px 0;
  padding: 14px 12px 14px;
  border: 1px solid var(--frame9d627-line-faint);
  border-radius: var(--frame9d627-radius-card);
  background: linear-gradient(180deg, var(--frame9d627-panel) 0%, rgba(18, 24, 38, 0.35) 100%);
}

.frame9d627-kicker {
  display: block;
  margin: 0 0 6px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--frame9d627-orchid);
}

.frame9d627-h2 {
  margin: 0 0 10px;
  font-family: var(--frame9d627-font-head);
  font-size: 20px;
  line-height: 1.28;
  letter-spacing: 0.01em;
  color: var(--frame9d627-mist);
}

.frame9d627-h3 {
  margin: 14px 0 6px;
  font-family: var(--frame9d627-font-head);
  font-size: 15.5px;
  line-height: 1.3;
  color: var(--frame9d627-violet);
}

.frame9d627-roomfoot {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  margin: 12px 0 0;
  padding-top: 10px;
  border-top: 1px dashed var(--frame9d627-line-faint);
  font-size: 12.5px;
  color: var(--frame9d627-mist-faint);
}

.frame9d627-roomfoot a {
  color: var(--frame9d627-violet);
  border-bottom: 1px dotted rgba(238, 130, 238, 0.5);
}

/* --------------------------------------------------------------------------
   9. Game tile grid - squared, outlined porcelain tiles
   -------------------------------------------------------------------------- */
.frame9d627-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin: 12px 0 2px;
}

.frame9d627-tile {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 6px 5px 7px;
  background: rgba(22, 29, 45, 0.5);
  border: 1px solid var(--frame9d627-line-faint);
  border-radius: var(--frame9d627-radius-tile);
  cursor: pointer;
  text-align: center;
  transition: border-color 0.25s ease, background-color 0.25s ease;
}

.frame9d627-tile:hover,
.frame9d627-tile:active {
  border-color: var(--frame9d627-orchid);
  background: var(--frame9d627-orchid-soft);
}

.frame9d627-tile-art {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 3px;
  overflow: hidden;
  background: var(--frame9d627-ink);
}

.frame9d627-tile-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.frame9d627-tile-name {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  min-height: 2.4em;
  font-size: 10.5px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.01em;
  color: var(--frame9d627-mist-dim);
}

.frame9d627-tile:hover .frame9d627-tile-name {
  color: var(--frame9d627-mist);
}

/* --------------------------------------------------------------------------
   10. Payment desk - condition tiles plus partner ribbon
   -------------------------------------------------------------------------- */
.frame9d627-conditions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin: 12px 0;
}

.frame9d627-condition {
  padding: 10px 11px 9px;
  border: 1px solid var(--frame9d627-line-faint);
  border-radius: var(--frame9d627-radius-card);
  background: var(--frame9d627-panel-2);
}

.frame9d627-condition b {
  display: block;
  font-size: 12.5px;
  color: var(--frame9d627-violet);
}

.frame9d627-condition p {
  margin: 4px 0 0;
  font-size: 12px;
  line-height: 1.5;
  color: var(--frame9d627-mist-dim);
}

.frame9d627-ribbon {
  display: flex;
  gap: 8px;
  margin: 12px 0 2px;
  padding: 10px;
  border: 1px dashed var(--frame9d627-line-faint);
  border-radius: var(--frame9d627-radius-card);
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x proximity;
}

.frame9d627-ribbon::-webkit-scrollbar {
  display: none;
}

.frame9d627-ribbon img {
  flex: 0 0 auto;
  width: 96px;
  height: 48px;
  object-fit: contain;
  border-radius: 3px;
  background: rgba(236, 240, 241, 0.06);
  scroll-snap-align: start;
}

/* --------------------------------------------------------------------------
   11. Mobile passage - app guidance with a framed promo visual
   -------------------------------------------------------------------------- */
.frame9d627-appframe {
  position: relative;
  margin: 12px 0;
  border: 1px solid var(--frame9d627-line);
  border-radius: var(--frame9d627-radius-card);
  overflow: hidden;
}

.frame9d627-appframe img {
  width: 100%;
  aspect-ratio: 2 / 1;
  object-fit: cover;
}

.frame9d627-appframe figcaption {
  padding: 8px 12px;
  background: rgba(9, 13, 19, 0.82);
  font-size: 12px;
  color: var(--frame9d627-mist-dim);
}

.frame9d627-steps {
  margin: 10px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: frame9d627-step;
}

.frame9d627-steps li {
  position: relative;
  counter-increment: frame9d627-step;
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 8px 0;
  border-bottom: 1px dashed var(--frame9d627-line-faint);
  font-size: 13px;
  color: var(--frame9d627-mist-dim);
}

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

.frame9d627-steps li::before {
  content: counter(frame9d627-step, decimal-leading-zero);
  flex: 0 0 auto;
  min-width: 30px;
  padding: 3px 0;
  border: 1px solid var(--frame9d627-line);
  border-radius: 3px;
  text-align: center;
  font-family: var(--frame9d627-font-head);
  font-size: 12px;
  color: var(--frame9d627-violet);
  background: var(--frame9d627-orchid-soft);
}

.frame9d627-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 10px 0 0;
}

.frame9d627-chip {
  display: inline-block;
  padding: 4px 10px;
  border: 1px solid var(--frame9d627-line-faint);
  border-radius: 999px;
  background: rgba(22, 29, 45, 0.6);
  font-size: 11px;
  letter-spacing: 0.03em;
  color: var(--frame9d627-mist-dim);
}

.frame9d627-ctarow {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin: 14px 0 2px;
}

/* --------------------------------------------------------------------------
   12. Player voices - quote slips on the parlor desk
   -------------------------------------------------------------------------- */
.frame9d627-quotes {
  display: grid;
  gap: 10px;
  margin: 12px 0 2px;
}

.frame9d627-quote {
  padding: 12px;
  border: 1px solid var(--frame9d627-line-faint);
  border-left: 3px solid var(--frame9d627-orchid);
  border-radius: 0 var(--frame9d627-radius-card) var(--frame9d627-radius-card) 0;
  background: var(--frame9d627-panel);
}

.frame9d627-quote-top {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 7px;
}

.frame9d627-quote-ava {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  border: 1px solid var(--frame9d627-line);
  border-radius: var(--frame9d627-radius-tile);
  background: var(--frame9d627-orchid-soft);
  font-family: var(--frame9d627-font-head);
  font-size: 13px;
  color: var(--frame9d627-violet);
}

.frame9d627-quote-who {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}

.frame9d627-quote-who b {
  font-size: 12.5px;
  color: var(--frame9d627-mist);
}

.frame9d627-quote-who span {
  font-size: 10.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--frame9d627-mist-faint);
}

.frame9d627-quote p {
  margin: 0;
  font-size: 12.5px;
  line-height: 1.55;
  color: var(--frame9d627-mist-dim);
}

.frame9d627-quote p::before {
  content: "\201C";
  color: var(--frame9d627-orchid);
  font-family: var(--frame9d627-font-head);
  font-size: 16px;
}

/* --------------------------------------------------------------------------
   13. Progress ledger - milestone rows
   -------------------------------------------------------------------------- */
.frame9d627-ledger {
  display: grid;
  gap: 8px;
  margin: 12px 0 2px;
}

.frame9d627-mile {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 10px;
  align-items: center;
  padding: 9px 10px;
  border: 1px solid var(--frame9d627-line-faint);
  border-radius: var(--frame9d627-radius-card);
  background: rgba(22, 29, 45, 0.45);
}

.frame9d627-mile b {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--frame9d627-line);
  border-radius: 50%;
  background: radial-gradient(circle at 34% 30%, var(--frame9d627-glow) 0%, rgba(18, 24, 38, 0.9) 70%);
  font-family: var(--frame9d627-font-head);
  font-size: 14px;
  color: var(--frame9d627-violet);
}

.frame9d627-mile div {
  font-size: 12.5px;
  line-height: 1.45;
  color: var(--frame9d627-mist-dim);
}

.frame9d627-mile div strong {
  display: block;
  font-size: 13px;
  color: var(--frame9d627-mist);
}

/* --------------------------------------------------------------------------
   14. Decision checklist - quiet squares to tick in the mind
   -------------------------------------------------------------------------- */
.frame9d627-checklist {
  display: grid;
  gap: 8px;
  margin: 12px 0 2px;
}

.frame9d627-check {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 10px;
  padding: 10px 11px;
  border: 1px solid var(--frame9d627-line-faint);
  border-radius: var(--frame9d627-radius-card);
  background: var(--frame9d627-panel);
}

.frame9d627-check i {
  display: inline-block;
  width: 18px;
  height: 18px;
  margin-top: 2px;
  border: 1px solid var(--frame9d627-orchid);
  border-radius: 3px;
  background:
    linear-gradient(135deg, rgba(238, 130, 238, 0.35) 0%, rgba(186, 85, 211, 0.1) 60%),
    var(--frame9d627-ink);
}

.frame9d627-check p {
  margin: 0;
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--frame9d627-mist-dim);
}

.frame9d627-check p strong {
  color: var(--frame9d627-mist);
}

/* --------------------------------------------------------------------------
   15. Q&A block
   -------------------------------------------------------------------------- */
.frame9d627-qa {
  padding: 2px 0 0;
}

.frame9d627-qa p {
  margin: 0 0 4px;
  font-size: 13px;
  color: var(--frame9d627-mist-dim);
}

/* --------------------------------------------------------------------------
   16. Extended parlor footer - brand, shortcuts, directory, disclaimer
   -------------------------------------------------------------------------- */
.frame9d627-ext {
  margin: 24px 0 0;
  padding: 16px 12px 14px;
  border: 1px solid var(--frame9d627-line-faint);
  border-radius: var(--frame9d627-radius-card) var(--frame9d627-radius-card) 0 0;
  background: linear-gradient(180deg, rgba(22, 29, 45, 0.9) 0%, rgba(13, 17, 23, 0.95) 100%);
}

.frame9d627-ext-note {
  margin: 0 0 12px;
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--frame9d627-mist-dim);
}

.frame9d627-shortcuts {
  display: flex;
  gap: 8px;
  margin: 0 0 14px;
  padding: 2px 0 4px;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x proximity;
}

.frame9d627-shortcuts::-webkit-scrollbar {
  display: none;
}

.frame9d627-shortcut {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 40px;
  padding: 9px 14px;
  border: 1px solid var(--frame9d627-line);
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(186, 85, 211, 0.28) 0%, rgba(22, 29, 45, 0.9) 80%);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
  white-space: nowrap;
  color: var(--frame9d627-mist);
  cursor: pointer;
  scroll-snap-align: start;
  transition: border-color 0.25s ease, color 0.25s ease, background-color 0.25s ease;
}

.frame9d627-shortcut::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--frame9d627-violet);
}

.frame9d627-shortcut:hover,
.frame9d627-shortcut:active {
  border-color: var(--frame9d627-violet);
  background: linear-gradient(135deg, rgba(186, 85, 211, 0.5) 0%, rgba(22, 29, 45, 0.9) 85%);
}

.frame9d627-dir {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 10px;
  margin: 0 0 12px;
}

.frame9d627-dir h3 {
  margin: 0 0 6px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--frame9d627-orchid);
}

.frame9d627-dir ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.frame9d627-dir li {
  margin: 0 0 7px;
}

.frame9d627-dir a {
  display: block;
  font-size: 11.5px;
  line-height: 1.3;
  color: var(--frame9d627-mist-dim);
  border-bottom: 1px dotted rgba(238, 130, 238, 0.35);
  padding-bottom: 2px;
}

.frame9d627-dir a:hover {
  color: var(--frame9d627-violet);
}

.frame9d627-disclaimer {
  margin: 0;
  padding-top: 10px;
  border-top: 1px dashed var(--frame9d627-line-faint);
  font-size: 11px;
  line-height: 1.55;
  color: var(--frame9d627-mist-faint);
}

/* --------------------------------------------------------------------------
   17. Common foot - copyright only
   -------------------------------------------------------------------------- */
.frame9d627-foot {
  padding: 14px var(--frame9d627-gutter) 8px;
  border-top: 1px solid var(--frame9d627-line-faint);
  text-align: center;
  font-size: 11.5px;
  letter-spacing: 0.04em;
  color: var(--frame9d627-mist-faint);
}

/* --------------------------------------------------------------------------
   18. Fixed mobile dock - five roles on a compact icon rack
   -------------------------------------------------------------------------- */
.frame9d627-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, 1fr);
  gap: 2px;
  padding: 6px 6px calc(6px + env(safe-area-inset-bottom, 0px));
  background: linear-gradient(180deg, rgba(13, 17, 23, 0.92) 0%, rgba(9, 13, 19, 0.99) 100%);
  border-top: 1px solid var(--frame9d627-line);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.frame9d627-dock-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  min-height: 54px;
  padding: 4px 2px;
  border: 0;
  background: transparent;
  border-radius: var(--frame9d627-radius-card);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--frame9d627-mist-faint);
  cursor: pointer;
  transition: color 0.25s ease, background-color 0.25s ease;
}

.frame9d627-dock-item:hover {
  color: var(--frame9d627-mist);
  background: rgba(186, 85, 211, 0.12);
}

/* Active state: a soft orchid block carries the current role. */
.frame9d627-dock-item.frame9d627-dock-here {
  color: var(--frame9d627-violet);
  background: var(--frame9d627-orchid-soft);
  box-shadow: inset 0 0 0 1px var(--frame9d627-line);
}

.frame9d627-dock-ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 30px;
  border-radius: 7px;
  background: rgba(22, 29, 45, 0.85);
  border: 1px solid var(--frame9d627-line-faint);
}

.frame9d627-dock-ico svg {
  width: 17px;
  height: 17px;
  display: block;
}

.frame9d627-dock-here .frame9d627-dock-ico {
  border-color: var(--frame9d627-line);
  background: linear-gradient(180deg, rgba(238, 130, 238, 0.22) 0%, rgba(18, 24, 38, 0.9) 100%);
}

/* --------------------------------------------------------------------------
   19. Wider phone steps and desktop framing
   -------------------------------------------------------------------------- */
@media (min-width: 375px) {
  .frame9d627-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .frame9d627-hero-title {
    font-size: 29px;
  }

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

  .frame9d627-dir {
    gap: 12px;
  }
}

/* The 430px canvas edge: airier rooms on the widest phones. */
@media (min-width: 430px) {
  :root {
    --frame9d627-gutter: 18px;
  }

  .frame9d627-hero-title {
    font-size: 31px;
  }

  .frame9d627-h2 {
    font-size: 21px;
  }

  .frame9d627-grid {
    gap: 10px;
  }

  .frame9d627-conditions {
    gap: 10px;
  }

  .frame9d627-prose {
    font-size: 14.5px;
  }
}

/* Desktop: keep the phone canvas centered like a lit parlor window. */
@media (min-width: 520px) {
  body {
    background:
      radial-gradient(60% 30% at 50% 0%, rgba(142, 61, 170, 0.12) 0%, rgba(9, 13, 19, 0) 70%),
      #070a0f;
  }

  .frame9d627-shell {
    box-shadow: 0 0 0 1px rgba(186, 85, 211, 0.14), 0 24px 80px rgba(0, 0, 0, 0.6);
  }
}

/* --------------------------------------------------------------------------
   20. Motion preferences
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

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