/* ==========================================================================
   paddy power - mobile-first style tokens and components
   File    : css/mobile-c7cf80-tokens.css
   Prefix  : framef80cd-
   Palette : #AFEEEE / #87CEFA / #1E1E1E / #E0FFFF / #F8F9FA
   Canvas  : 320-430px phone frame, centered on wider screens
   Fonts   : rounded display headings + compact condensed body
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Design tokens
   -------------------------------------------------------------------------- */
:root {
  --framef80cd-ink: #1E1E1E;            /* deep canvas background */
  --framef80cd-void: #131517;           /* area outside the phone frame */
  --framef80cd-mist: #AFEEEE;           /* pale turquoise accent */
  --framef80cd-sky: #87CEFA;            /* light sky accent */
  --framef80cd-ice: #E0FFFF;            /* light cyan highlight */
  --framef80cd-paper: #F8F9FA;          /* primary text color */

  --framef80cd-panel: rgba(175, 238, 238, 0.055);
  --framef80cd-panel-strong: rgba(175, 238, 238, 0.10);
  --framef80cd-line: rgba(175, 238, 238, 0.18);
  --framef80cd-line-soft: rgba(135, 206, 250, 0.14);

  --framef80cd-grad: linear-gradient(118deg, #AFEEEE 0%, #87CEFA 100%);
  --framef80cd-grad-soft: linear-gradient(150deg, rgba(175,238,238,0.14) 0%, rgba(135,206,250,0.08) 100%);

  --framef80cd-text-dim: rgba(248, 249, 250, 0.72);
  --framef80cd-text-faint: rgba(224, 255, 255, 0.55);

  --framef80cd-r-xl: 22px;
  --framef80cd-r-lg: 17px;
  --framef80cd-r-md: 12px;
  --framef80cd-r-sm: 8px;

  --framef80cd-head-font: 'Baloo 2', 'Trebuchet MS', 'Segoe UI', system-ui, sans-serif;
  --framef80cd-body-font: 'Barlow Semi Condensed', 'Segoe UI', Arial, sans-serif;

  --framef80cd-top-h: 104px;
  --framef80cd-dock-h: 62px;
  --framef80cd-gutter: 12px;
}

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

html {
  background: var(--framef80cd-void);
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0 auto;
  max-width: 430px;                       /* phone canvas cap */
  min-height: 100vh;
  background: var(--framef80cd-ink);
  color: var(--framef80cd-paper);
  font-family: var(--framef80cd-body-font);
  font-size: 15px;
  line-height: 1.55;
  letter-spacing: 0.1px;
  overflow-x: hidden;
}

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

h1, h2, h3 {
  font-family: var(--framef80cd-head-font);
  line-height: 1.22;
  margin: 0 0 8px;
  color: var(--framef80cd-ice);
  text-wrap: balance;
}

h1 { font-size: 25px; font-weight: 700; letter-spacing: 0.2px; }
h2 { font-size: 19.5px; font-weight: 700; }
h3 { font-size: 16px; font-weight: 600; color: var(--framef80cd-mist); }

p { margin: 0 0 10px; }

a {
  color: var(--framef80cd-sky);
  text-decoration: none;
}
a:hover { text-decoration: underline; }

ul, ol { margin: 0 0 10px; padding-left: 20px; }

button {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  border: 0;
  background: none;
  padding: 0;
  cursor: pointer;
}

:focus-visible {
  outline: 2px solid var(--framef80cd-sky);
  outline-offset: 2px;
  border-radius: 4px;
}

::selection { background: rgba(175, 238, 238, 0.35); color: var(--framef80cd-ink); }

.framef80cd-skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--framef80cd-mist);
  color: var(--framef80cd-ink);
  padding: 8px 14px;
  border-radius: 0 0 10px 0;
  font-weight: 600;
  z-index: 200;
}
.framef80cd-skip:focus { left: 0; }

/* --------------------------------------------------------------------------
   3. Main column / scroll lock
   -------------------------------------------------------------------------- */
.framef80cd-main {
  padding: calc(var(--framef80cd-top-h) + 14px + env(safe-area-inset-top, 0px))
           var(--framef80cd-gutter)
           calc(var(--framef80cd-dock-h) + 26px + env(safe-area-inset-bottom, 0px));
}

body.framef80cd-no-scroll { overflow: hidden; }

/* Wide screens: keep the centered phone canvas, add a subtle frame edge */
@media (min-width: 431px) {
  body {
    border-left: 1px solid var(--framef80cd-line);
    border-right: 1px solid var(--framef80cd-line);
    box-shadow: 0 0 42px rgba(135, 206, 250, 0.10);
  }
}

/* --------------------------------------------------------------------------
   4. Fixed top bar - centered identity strip + separate action strip
   -------------------------------------------------------------------------- */
.framef80cd-topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  margin: 0 auto;
  max-width: 430px;
  z-index: 90;
  background: rgba(30, 30, 30, 0.94);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--framef80cd-line);
  padding-top: env(safe-area-inset-top, 0px);
}

/* identity strip: logo + site name only, centered */
.framef80cd-identity {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 6px 12px 4px;
}

.framef80cd-brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--framef80cd-ice);
}
.framef80cd-brand:hover { text-decoration: none; }

.framef80cd-logo {
  width: 34px;
  height: 34px;
  border-radius: 11px;
  object-fit: cover;
  border: 1px solid var(--framef80cd-line);
  background: rgba(175, 238, 238, 0.08);
  flex: 0 0 auto;
}

.framef80cd-brand-name {
  font-family: var(--framef80cd-head-font);
  font-size: 19px;
  font-weight: 700;
  letter-spacing: 0.4px;
  color: var(--framef80cd-paper);
}

/* action strip: register / login / menu */
.framef80cd-actionbar {
  display: grid;
  grid-template-columns: 1fr 1fr 46px;
  gap: 8px;
  align-items: center;
  padding: 0 12px 9px;
}

.framef80cd-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;                       /* touch target */
  border-radius: var(--framef80cd-r-md);
  font-family: var(--framef80cd-head-font);
  font-weight: 700;
  letter-spacing: 0.3px;
  transition: transform 0.16s ease, filter 0.16s ease;
}
.framef80cd-btn:active { transform: translateY(-2px); }
.framef80cd-btn:hover { text-decoration: none; }

.framef80cd-btn-cta {
  background: var(--framef80cd-grad);
  color: var(--framef80cd-ink);
  font-size: 16px;
  box-shadow: 0 4px 16px rgba(135, 206, 250, 0.28);
}
.framef80cd-btn-cta:hover { filter: brightness(1.06); }

.framef80cd-btn-ghost {
  background: var(--framef80cd-panel-strong);
  color: var(--framef80cd-ice);
  border: 1px solid var(--framef80cd-line);
  font-size: 15px;
}
.framef80cd-btn-ghost:hover { background: rgba(175, 238, 238, 0.16); }

.framef80cd-menubtn {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--framef80cd-r-sm);
  border: 1px solid var(--framef80cd-line);
  background: var(--framef80cd-panel);
  color: var(--framef80cd-mist);
  transition: transform 0.16s ease, background 0.16s ease;
}
.framef80cd-menubtn:active { transform: translateY(-2px); }
.framef80cd-menubtn svg { width: 21px; height: 21px; }

/* --------------------------------------------------------------------------
   5. Side drawer menu
   -------------------------------------------------------------------------- */
.framef80cd-scrim {
  position: fixed;
  inset: 0;
  background: rgba(10, 12, 13, 0.62);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.22s ease, visibility 0.22s ease;
  z-index: 120;
}
.framef80cd-scrim.is-open { opacity: 1; visibility: visible; }

.framef80cd-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(84vw, 318px);
  max-width: 430px;
  background: #1a1d1f;
  border-left: 1px solid var(--framef80cd-line);
  z-index: 130;
  transform: translateX(102%);
  transition: transform 0.26s cubic-bezier(0.32, 0.72, 0.28, 1);
  display: flex;
  flex-direction: column;
  padding: 14px 16px calc(18px + env(safe-area-inset-bottom, 0px));
  overflow-y: auto;
}
.framef80cd-drawer.is-open { transform: translateX(0); }

.framef80cd-drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
}
.framef80cd-drawer-title {
  font-family: var(--framef80cd-head-font);
  font-size: 16.5px;
  font-weight: 700;
  color: var(--framef80cd-ice);
}
.framef80cd-drawer-close {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--framef80cd-r-sm);
  border: 1px solid var(--framef80cd-line);
  color: var(--framef80cd-mist);
  background: var(--framef80cd-panel);
}
.framef80cd-drawer-close svg { width: 18px; height: 18px; }

.framef80cd-drawer-group { margin-top: 14px; }

.framef80cd-drawer-label {
  font-size: 11px;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--framef80cd-text-faint);
  margin: 0 0 6px 2px;
}

.framef80cd-drawer-link {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 8px 10px;
  border-radius: var(--framef80cd-r-sm);
  color: var(--framef80cd-paper);
  border: 1px solid transparent;
  transition: background 0.15s ease, transform 0.15s ease;
}
.framef80cd-drawer-link:hover,
.framef80cd-drawer-link:focus-visible {
  background: var(--framef80cd-panel-strong);
  text-decoration: none;
}
.framef80cd-drawer-link:active { transform: translateY(-2px); }
.framef80cd-drawer-link.is-active {
  background: var(--framef80cd-grad-soft);
  border-color: var(--framef80cd-line);
  color: var(--framef80cd-ice);
  font-weight: 600;
}
.framef80cd-drawer-link .framef80cd-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--framef80cd-line);
  flex: 0 0 auto;
}
.framef80cd-drawer-link.is-active .framef80cd-dot {
  background: var(--framef80cd-mist);
}

.framef80cd-drawer-cta {
  margin-top: auto;
  padding-top: 18px;
}

/* --------------------------------------------------------------------------
   6. Hero
   -------------------------------------------------------------------------- */
.framef80cd-hero {
  position: relative;
  padding: 18px 14px 20px;
  border-radius: var(--framef80cd-r-xl);
  background:
    radial-gradient(120% 90% at 85% -10%, rgba(175, 238, 238, 0.16) 0%, rgba(175, 238, 238, 0) 55%),
    radial-gradient(90% 80% at 8% 110%, rgba(135, 206, 250, 0.14) 0%, rgba(135, 206, 250, 0) 60%),
    var(--framef80cd-ink);
  border: 1px solid var(--framef80cd-line-soft);
  overflow: hidden;
}

.framef80cd-hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--framef80cd-mist);
  border: 1px solid var(--framef80cd-line);
  border-radius: 999px;
  padding: 4px 11px;
  margin: 0 0 12px;
  background: rgba(175, 238, 238, 0.06);
}

.framef80cd-hero-lead {
  font-size: 15.5px;
  color: var(--framef80cd-text-dim);
  margin: 0 0 14px;
  max-width: 40ch;
}

.framef80cd-hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 16px;
}
.framef80cd-hero-ctas .framef80cd-btn-cta {
  flex: 1 1 150px;
  min-height: 48px;
}
.framef80cd-hero-ctas .framef80cd-btn-ghost {
  flex: 1 1 110px;
}

.framef80cd-hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  border-top: 1px dashed var(--framef80cd-line-soft);
  padding-top: 12px;
}

.framef80cd-stat { text-align: center; }

.framef80cd-stat-num {
  display: block;
  font-family: var(--framef80cd-head-font);
  font-size: 20px;
  font-weight: 700;
  background: var(--framef80cd-grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: var(--framef80cd-mist);
}

.framef80cd-stat-label {
  font-size: 11.5px;
  color: var(--framef80cd-text-faint);
  letter-spacing: 0.4px;
}

/* --------------------------------------------------------------------------
   7. Carousel
   -------------------------------------------------------------------------- */
.framef80cd-carousel { position: relative; margin-top: 20px; }

.framef80cd-track {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  border-radius: var(--framef80cd-r-xl);
}
.framef80cd-track::-webkit-scrollbar { display: none; }

.framef80cd-slide {
  flex: 0 0 100%;
  scroll-snap-align: center;
  border-radius: var(--framef80cd-r-xl);
  overflow: hidden;
  position: relative;
  border: 1px solid var(--framef80cd-line-soft);
  background: #222528;
  transition: transform 0.16s ease;
}
.framef80cd-slide:active { transform: translateY(-2px); }

.framef80cd-slide img {
  width: 100%;
  aspect-ratio: 21 / 10;
  object-fit: cover;
}

.framef80cd-slide-tag {
  position: absolute;
  left: 10px;
  bottom: 10px;
  max-width: calc(100% - 20px);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.3px;
  color: var(--framef80cd-ink);
  background: rgba(175, 238, 238, 0.92);
  border-radius: 999px;
  padding: 4px 11px;
}

.framef80cd-car-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(19, 21, 23, 0.72);
  border: 1px solid var(--framef80cd-line);
  color: var(--framef80cd-mist);
  z-index: 5;
  transition: transform 0.15s ease, background 0.15s ease;
}
.framef80cd-car-btn svg { width: 16px; height: 16px; }
.framef80cd-car-btn:hover { background: rgba(30, 30, 30, 0.92); }
.framef80cd-car-btn:active { transform: translateY(-50%) scale(0.92); }
.framef80cd-car-prev { left: 8px; }
.framef80cd-car-next { right: 8px; }

.framef80cd-dots {
  display: flex;
  justify-content: center;
  gap: 7px;
  margin-top: 10px;
}
.framef80cd-dot {
  width: 26px;
  height: 6px;
  border-radius: 999px;
  background: rgba(175, 238, 238, 0.22);
  transition: background 0.2s ease, width 0.2s ease;
}
.framef80cd-dot.is-on {
  background: var(--framef80cd-grad);
  width: 34px;
}

/* --------------------------------------------------------------------------
   8. Game shelves and tiles
   -------------------------------------------------------------------------- */
.framef80cd-shelf { margin-top: 26px; }

.framef80cd-shelf-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  border-left: 3px solid;
  border-image: var(--framef80cd-grad) 1;
  padding-left: 10px;
}

.framef80cd-shelf-title { margin: 0; }

.framef80cd-shelf-tag {
  flex: 0 0 auto;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.6px;
  color: var(--framef80cd-mist);
  border: 1px solid var(--framef80cd-line);
  border-radius: 999px;
  padding: 3px 9px;
  background: rgba(175, 238, 238, 0.06);
  white-space: nowrap;
}

.framef80cd-shelf-note {
  color: var(--framef80cd-text-dim);
  font-size: 13.5px;
  margin: 8px 0 12px;
}

/* compact grid: 4 columns at 320px, 5 columns from 375px up */
.framef80cd-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 9px 7px;
}

@media (min-width: 375px) {
  .framef80cd-grid { grid-template-columns: repeat(5, 1fr); gap: 10px 8px; }
}

/* tile = square art + bottom name strip */
.framef80cd-tile {
  display: flex;
  flex-direction: column;
  border-radius: var(--framef80cd-r-lg);
  padding: 4px 4px 5px;
  background: var(--framef80cd-grad-soft);
  border: 1px solid var(--framef80cd-line-soft);
  text-align: center;
  transition: transform 0.16s ease, border-color 0.16s ease;
}
.framef80cd-tile:hover {
  border-color: var(--framef80cd-line);
  text-decoration: none;
}
.framef80cd-tile:active { transform: translateY(-3px); }

.framef80cd-tile-art {
  display: block;
  border-radius: 13px;
  overflow: hidden;
  background: rgba(135, 206, 250, 0.08);
}

.framef80cd-tile-art img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.framef80cd-tile-name {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 28px;
  margin-top: 5px;
  font-size: 11px;
  line-height: 1.25;
  font-weight: 600;
  letter-spacing: 0.15px;
  color: var(--framef80cd-paper);
  word-break: break-word;
}

@media (min-width: 430px) {
  .framef80cd-tile-name { font-size: 11.5px; }
}

/* --------------------------------------------------------------------------
   9. Editorial modules (guide content after the shelves)
   -------------------------------------------------------------------------- */
.framef80cd-module {
  margin-top: 30px;
  padding: 16px 15px 18px;
  border-radius: var(--framef80cd-r-xl);
  background: var(--framef80cd-panel);
  border: 1px solid var(--framef80cd-line-soft);
}

.framef80cd-module > h2 { margin-bottom: 6px; }

.framef80cd-module-lead {
  color: var(--framef80cd-text-dim);
  margin: 0 0 14px;
}

.framef80cd-module p { color: var(--framef80cd-text-dim); }

/* numbered steps */
.framef80cd-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: framef80cd-step;
}

.framef80cd-step {
  position: relative;
  counter-increment: framef80cd-step;
  padding: 0 0 14px 40px;
}
.framef80cd-step:last-child { padding-bottom: 0; }
.framef80cd-step::before {
  content: counter(framef80cd-step);
  position: absolute;
  left: 0;
  top: 1px;
  width: 28px;
  height: 28px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--framef80cd-head-font);
  font-weight: 700;
  font-size: 14px;
  color: var(--framef80cd-ink);
  background: var(--framef80cd-grad);
}
.framef80cd-step::after {
  content: '';
  position: absolute;
  left: 13px;
  top: 32px;
  bottom: 2px;
  width: 2px;
  border-radius: 2px;
  background: var(--framef80cd-line-soft);
}
.framef80cd-step:last-child::after { display: none; }
.framef80cd-step h3 { margin-bottom: 3px; }
.framef80cd-step p { margin: 0; font-size: 13.5px; }

/* feature rows */
.framef80cd-facts { margin: 0; }

.framef80cd-fact {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0 12px;
  padding: 9px 0;
  border-bottom: 1px dashed var(--framef80cd-line-soft);
}
.framef80cd-fact:last-child { border-bottom: 0; }

.framef80cd-fact-term {
  font-family: var(--framef80cd-head-font);
  font-weight: 600;
  font-size: 14px;
  color: var(--framef80cd-mist);
  grid-row: span 2;
  align-self: start;
  position: relative;
  padding-left: 14px;
}
.framef80cd-fact-term::before {
  content: '';
  position: absolute;
  left: 0;
  top: 6px;
  width: 7px;
  height: 7px;
  border-radius: 2px;
  background: var(--framef80cd-grad);
}

.framef80cd-fact-note {
  margin: 0;
  font-size: 13.5px;
  color: var(--framef80cd-text-dim);
}

/* scenario branching cards */
.framef80cd-scenes {
  display: grid;
  gap: 9px;
  margin-top: 4px;
}

.framef80cd-scene {
  border-radius: var(--framef80cd-r-md);
  border: 1px solid var(--framef80cd-line-soft);
  background: rgba(30, 30, 30, 0.5);
  padding: 11px 12px;
}

.framef80cd-scene-q {
  font-family: var(--framef80cd-head-font);
  font-size: 14.5px;
  font-weight: 700;
  color: var(--framef80cd-ice);
  margin: 0 0 4px;
}
.framef80cd-scene-a {
  margin: 0;
  font-size: 13.5px;
  color: var(--framef80cd-text-dim);
}

/* question / answer list */
.framef80cd-qa {
  border-top: 1px solid var(--framef80cd-line-soft);
  margin-top: 6px;
}

.framef80cd-qa-item { padding: 11px 0 4px; border-bottom: 1px solid var(--framef80cd-line-soft); }
.framef80cd-qa-item:last-child { border-bottom: 0; }
.framef80cd-qa-q {
  font-family: var(--framef80cd-head-font);
  font-weight: 700;
  font-size: 14.5px;
  color: var(--framef80cd-mist);
  margin: 0 0 4px;
}
.framef80cd-qa-a { margin: 0 0 6px; font-size: 13.5px; color: var(--framef80cd-text-dim); }

/* mini fact chips */
.framef80cd-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 2px 0 12px;
}
.framef80cd-chip {
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.3px;
  color: var(--framef80cd-ice);
  border: 1px solid var(--framef80cd-line);
  background: rgba(175, 238, 238, 0.06);
  border-radius: 999px;
  padding: 5px 11px;
}

/* --------------------------------------------------------------------------
   10. Extended footer (homepage directory), common footer
   -------------------------------------------------------------------------- */
.framef80cd-xfooter {
  margin-top: 30px;
  border-radius: var(--framef80cd-r-xl) var(--framef80cd-r-xl) var(--framef80cd-r-md) var(--framef80cd-r-md);
  border: 1px solid var(--framef80cd-line);
  background:
    linear-gradient(180deg, rgba(175, 238, 238, 0.09) 0%, rgba(30, 30, 30, 0) 42%),
    #1a1d1f;
  padding: 18px 15px 16px;
}

.framef80cd-xf-brand {
  display: flex;
  gap: 11px;
  align-items: flex-start;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--framef80cd-line-soft);
}
.framef80cd-xf-brand .framef80cd-logo { margin-top: 2px; }
.framef80cd-xf-name {
  font-family: var(--framef80cd-head-font);
  font-size: 17px;
  font-weight: 700;
  color: var(--framef80cd-ice);
  display: block;
  margin-bottom: 3px;
}
.framef80cd-xf-intro { margin: 0; font-size: 13px; color: var(--framef80cd-text-dim); }

/* two-column page directory */
.framef80cd-xf-dir {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--framef80cd-line-soft);
}

.framef80cd-xf-col { min-width: 0; }

.framef80cd-xf-label {
  font-size: 10.5px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--framef80cd-text-faint);
  margin: 0 0 7px;
}
.framef80cd-xf-col + .framef80cd-xf-col .framef80cd-xf-label { margin-top: 0; }

.framef80cd-xf-link {
  display: block;
  padding: 5px 0;
  font-size: 13px;
  color: var(--framef80cd-paper);
  border-bottom: 1px dotted rgba(175, 238, 238, 0.12);
  transition: color 0.15s ease, transform 0.15s ease;
}
.framef80cd-xf-link:hover { color: var(--framef80cd-mist); text-decoration: none; transform: translateX(2px); }

/* promotion action grid */
.framef80cd-xf-promos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
  padding: 14px 0;
  border-bottom: 1px solid var(--framef80cd-line-soft);
}

.framef80cd-xf-promo {
  min-height: 52px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1px;
  padding: 8px 11px;
  border-radius: var(--framef80cd-r-md);
  border: 1px solid var(--framef80cd-line);
  background: var(--framef80cd-grad-soft);
  font-family: var(--framef80cd-head-font);
  font-weight: 700;
  font-size: 13.5px;
  line-height: 1.2;
  color: var(--framef80cd-ice);
  text-align: left;
  transition: transform 0.16s ease, border-color 0.16s ease;
}
.framef80cd-xf-promo span {
  font-family: var(--framef80cd-body-font);
  font-weight: 500;
  font-size: 11px;
  color: var(--framef80cd-text-faint);
  letter-spacing: 0.3px;
}
.framef80cd-xf-promo:hover { border-color: var(--framef80cd-mist); text-decoration: none; }
.framef80cd-xf-promo:active { transform: translateY(-3px); }

.framef80cd-xf-note {
  margin: 12px 0 0;
  font-size: 11.5px;
  line-height: 1.5;
  color: var(--framef80cd-text-faint);
}

/* common slim footer */
.framef80cd-footer {
  text-align: center;
  padding: 18px 0 4px;
}
.framef80cd-footer-note {
  margin: 0;
  font-size: 12px;
  color: var(--framef80cd-text-faint);
  letter-spacing: 0.3px;
}

/* --------------------------------------------------------------------------
   11. Fixed bottom dock (5 roles, brand-accent band)
   -------------------------------------------------------------------------- */
.framef80cd-dock {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  margin: 0 auto;
  max-width: 430px;
  z-index: 95;
  height: calc(var(--framef80cd-dock-h) + env(safe-area-inset-bottom, 0px));
  padding-bottom: env(safe-area-inset-bottom, 0px);
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  background: rgba(22, 24, 26, 0.96);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-top: 2px solid transparent;
  border-image: var(--framef80cd-grad) 1;
}

.framef80cd-dock-item {
  position: relative;
  min-height: 44px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  color: var(--framef80cd-text-dim);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.3px;
  transition: transform 0.16s ease, color 0.16s ease;
}
.framef80cd-dock-item:hover { color: var(--framef80cd-ice); text-decoration: none; }
.framef80cd-dock-item:active { transform: translateY(-3px); }

/* linear icon at rest, filled glyph when active */
.framef80cd-dock-item svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.framef80cd-dock-item.is-active { color: var(--framef80cd-mist); }
.framef80cd-dock-item.is-active svg { fill: currentColor; stroke: none; }

/* top indicator line for the active role */
.framef80cd-dock-item.is-active::before {
  content: '';
  position: absolute;
  top: 0;
  left: 20%;
  right: 20%;
  height: 3px;
  border-radius: 0 0 4px 4px;
  background: var(--framef80cd-grad);
}

/* --------------------------------------------------------------------------
   12. Motion budget - restrained fade-in feedback
   -------------------------------------------------------------------------- */
.framef80cd-js .framef80cd-reveal {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.framef80cd-js .framef80cd-reveal.is-in {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .framef80cd-js .framef80cd-reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* --------------------------------------------------------------------------
   13. Small screens (320px) safety
   -------------------------------------------------------------------------- */
@media (max-width: 359px) {
  :root { --framef80cd-gutter: 10px; }
  h1 { font-size: 22px; }
  h2 { font-size: 18px; }
  .framef80cd-grid { gap: 8px 5px; }
  .framef80cd-tile-name { font-size: 10px; min-height: 26px; }
  .framef80cd-hero-stats { gap: 5px; }
  .framef80cd-xf-promos { grid-template-columns: 1fr; }
}

/* --------------------------------------------------------------------------
   14. Interior guide pages
   -------------------------------------------------------------------------- */
.framef80cd-page-hero {
  padding: 18px 15px 19px;
  border-radius: var(--framef80cd-r-xl);
  background:
    linear-gradient(135deg, rgba(175, 238, 238, 0.13), rgba(135, 206, 250, 0.04) 58%),
    #1a1d1f;
  border: 1px solid var(--framef80cd-line);
}

.framef80cd-page-crumb {
  margin: 0 0 10px;
  color: var(--framef80cd-text-faint);
  font-size: 11.5px;
  letter-spacing: 0.7px;
}

.framef80cd-page-lead {
  margin: 0;
  color: var(--framef80cd-text-dim);
  font-size: 15.5px;
}

.framef80cd-page-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
  margin-top: 16px;
}

.framef80cd-page-actions .framef80cd-btn { min-height: 46px; }

.framef80cd-callout {
  margin: 0 0 13px;
  padding: 11px 12px;
  border-left: 3px solid var(--framef80cd-mist);
  border-radius: 0 var(--framef80cd-r-md) var(--framef80cd-r-md) 0;
  background: var(--framef80cd-grad-soft);
  color: var(--framef80cd-ice);
  font-weight: 600;
}

.framef80cd-compact-list {
  margin: 0;
  padding-left: 19px;
  color: var(--framef80cd-text-dim);
}

.framef80cd-compact-list li { padding: 3px 0; }

.framef80cd-promo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
  margin-top: 4px;
}

.framef80cd-promo-card {
  min-height: 68px;
  padding: 10px 11px;
  border: 1px solid var(--framef80cd-line);
  border-radius: var(--framef80cd-r-md);
  background: rgba(175, 238, 238, 0.06);
  color: var(--framef80cd-ice);
  text-align: left;
  font-family: var(--framef80cd-head-font);
  font-weight: 700;
  line-height: 1.25;
  transition: transform 0.16s ease, border-color 0.16s ease;
}

.framef80cd-promo-card span {
  display: block;
  margin-top: 4px;
  color: var(--framef80cd-text-faint);
  font-family: var(--framef80cd-body-font);
  font-size: 11px;
  font-weight: 500;
}

.framef80cd-promo-card:hover { border-color: var(--framef80cd-mist); }
.framef80cd-promo-card:active { transform: translateY(-2px); }

.framef80cd-compare {
  display: grid;
  gap: 8px;
}

.framef80cd-compare-row {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px dashed var(--framef80cd-line-soft);
}

.framef80cd-compare-row:last-child { border-bottom: 0; }
.framef80cd-compare-row strong { color: var(--framef80cd-mist); }
.framef80cd-compare-row span { color: var(--framef80cd-text-dim); font-size: 13.5px; }

.framef80cd-note {
  color: var(--framef80cd-text-faint);
  font-size: 12px;
}

@media (max-width: 359px) {
  .framef80cd-page-actions,
  .framef80cd-promo-grid { grid-template-columns: 1fr; }
  .framef80cd-compare-row { grid-template-columns: 1fr; gap: 2px; }
}
