/* ==========================================================================
   PBA Schedule - palette adaptive stylesheet
   Class prefix .... frame2f2e9-
   Variable prefix . --frame2f2e9-*
   Canvas .......... 320-430px mobile-first, centered on wide screens
   Palette ......... #FFC0CB / #FFCCCB light text on #34495E dark ground,
                     #9400D3 royal violet + #FF1493 punch pink accents
   ========================================================================== */

/* ---------- design tokens ---------- */
:root {
  --frame2f2e9-bg: #34495e;            /* deep slate ground (palette dark) */
  --frame2f2e9-bg-deep: #2a3b4d;       /* darker shade of the slate ground */
  --frame2f2e9-bg-well: #22323f;       /* deepest wells: page sides, wells */
  --frame2f2e9-bg-raise: #3d5470;      /* raised shade for tiles and rows */
  --frame2f2e9-line: rgba(255, 192, 203, 0.28);
  --frame2f2e9-line-soft: rgba(255, 204, 203, 0.16);
  --frame2f2e9-text: #ffcccb;          /* light pink body text (palette) */
  --frame2f2e9-pink: #ffc0cb;          /* soft pink secondary text (palette) */
  --frame2f2e9-royal: #9400d3;         /* royal violet accent (palette) */
  --frame2f2e9-punch: #ff1493;         /* deep pink accent (palette) */
  --frame2f2e9-punch-soft: rgba(255, 20, 147, 0.22);
  --frame2f2e9-royal-soft: rgba(148, 0, 211, 0.28);
  --frame2f2e9-white: #fff7fa;
  --frame2f2e9-font-display: "Century Gothic", "Poppins", "Trebuchet MS", "Segoe UI", sans-serif;
  --frame2f2e9-font-body: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --frame2f2e9-header-h: 58px;
  --frame2f2e9-bnav-h: 62px;
  --frame2f2e9-tap: 44px;
}

/* ---------- base ---------- */
* { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
  background: var(--frame2f2e9-bg-well);
  color: var(--frame2f2e9-text);
  font-family: var(--frame2f2e9-font-body);
  font-size: 15px;
  line-height: 1.62;
  min-height: 100vh;
  overflow-x: hidden;
}

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

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

a { color: var(--frame2f2e9-pink); text-decoration: none; }
a:hover { color: var(--frame2f2e9-white); }

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

/* the phone canvas: everything lives inside a 430px column */
.frame2f2e9-canvas {
  position: relative;
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
  background: var(--frame2f2e9-bg);
  min-height: 100vh;
  box-shadow: 0 0 28px rgba(0, 0, 0, 0.45);
}

/* ---------- top navigation: minimal title + action strip ---------- */
.frame2f2e9-header {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  z-index: 60;
  background: linear-gradient(180deg, var(--frame2f2e9-bg-deep) 0%, rgba(42, 59, 77, 0.96) 100%);
  border-bottom: 1px solid var(--frame2f2e9-line);
  backdrop-filter: blur(8px);
}

.frame2f2e9-topbar {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: var(--frame2f2e9-header-h);
  padding: 8px 10px 8px 12px;
}

.frame2f2e9-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  flex: 1 1 auto;
}

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

.frame2f2e9-brand-name {
  font-family: var(--frame2f2e9-font-display);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--frame2f2e9-white);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.frame2f2e9-actions {
  display: flex;
  align-items: center;
  gap: 7px;
  flex: 0 0 auto;
}

/* square-corner, high-contrast primary CTA */
.frame2f2e9-cta {
  min-height: var(--frame2f2e9-tap);
  min-width: var(--frame2f2e9-tap);
  padding: 0 16px;
  background: linear-gradient(135deg, var(--frame2f2e9-punch) 0%, #b3116b 100%);
  color: var(--frame2f2e9-white);
  font-family: var(--frame2f2e9-font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 0;
  transition: transform 0.12s ease, filter 0.12s ease;
}

.frame2f2e9-cta:active {
  transform: scale(0.94);
  filter: brightness(1.2);
}

/* rounded quiet button (button-round density rule) */
.frame2f2e9-btn-round {
  min-height: var(--frame2f2e9-tap);
  min-width: var(--frame2f2e9-tap);
  padding: 0 14px;
  border: 1px solid var(--frame2f2e9-line);
  border-radius: 999px;
  color: var(--frame2f2e9-text);
  font-size: 13px;
  font-weight: 600;
  background: rgba(255, 192, 203, 0.06);
}

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

.frame2f2e9-menu-btn {
  width: var(--frame2f2e9-tap);
  height: var(--frame2f2e9-tap);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--frame2f2e9-line);
  border-radius: 999px;
  color: var(--frame2f2e9-pink);
}

.frame2f2e9-menu-btn svg { width: 22px; height: 22px; }
.frame2f2e9-menu-btn:active { transform: scale(0.92); }

/* ---------- compact route panel (drop-down nav) ---------- */
.frame2f2e9-route {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.28s ease;
  background: var(--frame2f2e9-bg-deep);
}

.frame2f2e9-route-open { max-height: 620px; }

.frame2f2e9-route-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--frame2f2e9-line-soft);
  padding: 6px 10px 12px;
}

.frame2f2e9-route a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 42px;
  padding: 9px 10px;
  background: var(--frame2f2e9-bg-deep);
  color: var(--frame2f2e9-text);
  font-size: 13.5px;
  border-top: 3px solid transparent; /* active indicator lives on this line */
}

.frame2f2e9-route a span {
  font-size: 11px;
  color: var(--frame2f2e9-pink);
  opacity: 0.75;
}

.frame2f2e9-route a.frame2f2e9-is-active {
  border-top-color: var(--frame2f2e9-punch);
  color: var(--frame2f2e9-white);
  background: rgba(255, 20, 147, 0.12);
}

/* ---------- main column ---------- */
.frame2f2e9-main {
  padding: calc(var(--frame2f2e9-header-h) + 12px) 12px calc(var(--frame2f2e9-bnav-h) + 28px);
}

/* intro-led rhythm: every section opens with a lede */
.frame2f2e9-intro { padding: 6px 2px 2px; }

.frame2f2e9-kicker {
  display: inline-block;
  font-family: var(--frame2f2e9-font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--frame2f2e9-punch);
  background: var(--frame2f2e9-punch-soft);
  border: 1px solid rgba(255, 20, 147, 0.4);
  padding: 4px 10px;
  margin-bottom: 10px;
}

.frame2f2e9-h1 {
  font-family: var(--frame2f2e9-font-display);
  font-size: 25px;
  line-height: 1.24;
  font-weight: 700;
  color: var(--frame2f2e9-white);
  letter-spacing: 0.01em;
  margin-bottom: 10px;
}

.frame2f2e9-lede {
  font-size: 15.5px;
  color: var(--frame2f2e9-white);
  border-left: 3px solid var(--frame2f2e9-royal);
  padding: 2px 0 2px 12px;
  margin: 10px 0 12px;
}

.frame2f2e9-p { margin: 0 0 12px; }

.frame2f2e9-p a, .frame2f2e9-quote a, .frame2f2e9-xfoot a {
  border-bottom: 1px dotted rgba(255, 192, 203, 0.6);
}

/* ---------- hero carousel ---------- */
.frame2f2e9-hero { margin: 14px 0 4px; }

.frame2f2e9-slide-track {
  position: relative;
  width: 100%;
  aspect-ratio: 21 / 9;
  background: var(--frame2f2e9-bg-deep);
  border: 1px solid var(--frame2f2e9-line);
  overflow: hidden;
}

.frame2f2e9-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.4s ease;
  display: block;
  width: 100%;
  height: 100%;
  text-align: left;
}

.frame2f2e9-slide-on { opacity: 1; z-index: 2; }

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

.frame2f2e9-slide-cap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 26px 12px 10px;
  background: linear-gradient(180deg, rgba(34, 50, 63, 0) 0%, rgba(34, 50, 63, 0.88) 70%);
}

.frame2f2e9-slide-cap strong {
  font-family: var(--frame2f2e9-font-display);
  font-size: 14.5px;
  line-height: 1.3;
  color: var(--frame2f2e9-white);
}

.frame2f2e9-slide-chip {
  align-self: flex-start;
  padding: 5px 12px;
  background: var(--frame2f2e9-punch);
  color: var(--frame2f2e9-white);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 0;
}

.frame2f2e9-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  padding: 9px 0 2px;
}

.frame2f2e9-dot {
  width: 26px;
  height: 8px;
  border-radius: 4px;
  background: var(--frame2f2e9-line-soft);
  border: 1px solid var(--frame2f2e9-line);
}

.frame2f2e9-dot-on { background: var(--frame2f2e9-punch); border-color: var(--frame2f2e9-punch); }

/* ---------- section shell ---------- */
.frame2f2e9-sec { margin-top: 26px; }

.frame2f2e9-sec-head {
  display: flex;
  align-items: baseline;
  gap: 8px;
  border-bottom: 1px solid var(--frame2f2e9-line-soft);
  padding-bottom: 8px;
  margin-bottom: 10px;
}

.frame2f2e9-h2 {
  font-family: var(--frame2f2e9-font-display);
  font-size: 19px;
  line-height: 1.3;
  font-weight: 700;
  color: var(--frame2f2e9-white);
}

.frame2f2e9-count {
  flex: 0 0 auto;
  font-size: 11px;
  font-weight: 700;
  color: var(--frame2f2e9-punch);
  border: 1px solid rgba(255, 20, 147, 0.45);
  padding: 2px 7px;
  white-space: nowrap;
}

.frame2f2e9-h3 {
  font-family: var(--frame2f2e9-font-display);
  font-size: 15px;
  font-weight: 700;
  color: var(--frame2f2e9-pink);
  margin: 14px 0 6px;
}

/* ---------- game grid: outlined tile cards, square corners ---------- */
.frame2f2e9-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px 6px;
  margin-top: 12px;
}

.frame2f2e9-tile {
  display: flex;
  flex-direction: column;
  background: var(--frame2f2e9-bg-raise);
  border: 1px solid var(--frame2f2e9-line);
  border-radius: 3px;
  padding: 4px 4px 6px;
  text-align: center;
  min-height: var(--frame2f2e9-tap);
}

.frame2f2e9-tile img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 2px;
  background: var(--frame2f2e9-bg-deep);
}

.frame2f2e9-tile-name {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 10.5px;
  line-height: 1.35;
  color: var(--frame2f2e9-text);
  margin-top: 5px;
  min-height: 28px;
  overflow-wrap: anywhere;
}

.frame2f2e9-tile:active {
  border-color: var(--frame2f2e9-punch);
  transform: scale(0.95);
}

/* ---------- testimonial voices: left-ruled quotes, not tile cards ---------- */
.frame2f2e9-voice-list { margin-top: 12px; display: grid; gap: 10px; }

.frame2f2e9-quote {
  border-left: 3px solid var(--frame2f2e9-royal);
  background: var(--frame2f2e9-bg-deep);
  padding: 10px 12px;
}

.frame2f2e9-quote p { font-size: 13.5px; margin: 0 0 7px; color: var(--frame2f2e9-text); }

.frame2f2e9-who {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  font-size: 11.5px;
  color: var(--frame2f2e9-pink);
}

.frame2f2e9-who b { color: var(--frame2f2e9-white); font-weight: 700; }

.frame2f2e9-stars { color: var(--frame2f2e9-punch); letter-spacing: 2px; }

/* ---------- winners feed: tight ledger rows ---------- */
.frame2f2e9-win {
  margin-top: 12px;
  border: 1px solid var(--frame2f2e9-line);
  background: var(--frame2f2e9-bg-deep);
}

.frame2f2e9-win-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-bottom: 1px solid var(--frame2f2e9-line-soft);
  font-size: 12.5px;
}

.frame2f2e9-win-row:last-child { border-bottom: 0; }

.frame2f2e9-win-game { flex: 1 1 auto; color: var(--frame2f2e9-white); font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.frame2f2e9-win-amt { flex: 0 0 auto; font-weight: 700; color: var(--frame2f2e9-punch); }

.frame2f2e9-win-meta { flex: 0 0 auto; font-size: 11px; color: var(--frame2f2e9-pink); }

/* ---------- selection guide: numbered rails ---------- */
.frame2f2e9-steps { margin-top: 12px; display: grid; gap: 10px; }

.frame2f2e9-step {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 10px;
  align-items: start;
}

.frame2f2e9-step-num {
  font-family: var(--frame2f2e9-font-display);
  font-size: 20px;
  font-weight: 700;
  color: var(--frame2f2e9-white);
  background: var(--frame2f2e9-royal);
  border: 1px solid rgba(255, 255, 255, 0.25);
  text-align: center;
  line-height: 34px;
  height: 34px;
}

.frame2f2e9-step b { color: var(--frame2f2e9-white); }

.frame2f2e9-step p { font-size: 13.5px; margin: 2px 0 0; }

/* ---------- payments: chip rail + guidance ---------- */
.frame2f2e9-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 12px 0;
}

.frame2f2e9-chip {
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid var(--frame2f2e9-line);
  background: var(--frame2f2e9-royal-soft);
  color: var(--frame2f2e9-white);
  font-size: 12.5px;
  font-weight: 600;
  white-space: nowrap;
}

/* ---------- decision checklist ---------- */
.frame2f2e9-checklist { margin-top: 12px; display: grid; gap: 8px; }

.frame2f2e9-check {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 10px;
  align-items: start;
  padding: 9px 10px;
  background: var(--frame2f2e9-bg-deep);
  border: 1px solid var(--frame2f2e9-line-soft);
}

.frame2f2e9-check-box {
  width: 20px;
  height: 20px;
  margin-top: 2px;
  border: 2px solid var(--frame2f2e9-punch);
  border-radius: 3px;
  position: relative;
  background: rgba(255, 20, 147, 0.08);
}

.frame2f2e9-check-box::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 1px;
  width: 6px;
  height: 11px;
  border: solid var(--frame2f2e9-punch);
  border-width: 0 2px 2px 0;
  transform: rotate(40deg);
}

.frame2f2e9-check p { font-size: 13.5px; }

/* ---------- extended footer: two-column directory ---------- */
.frame2f2e9-xfoot {
  margin: 30px -12px 0;
  padding: 18px 14px 6px;
  background: var(--frame2f2e9-bg-deep);
  border-top: 2px solid var(--frame2f2e9-royal);
}

.frame2f2e9-xfoot-h {
  font-family: var(--frame2f2e9-font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--frame2f2e9-punch);
  margin: 12px 0 8px;
}

.frame2f2e9-xfoot-h:first-child { margin-top: 0; }

.frame2f2e9-promo-cols {
  columns: 2;
  column-gap: 14px;
}

.frame2f2e9-promo-link {
  display: block;
  width: 100%;
  text-align: left;
  padding: 8px 10px;
  margin: 0 0 6px;
  background: rgba(255, 20, 147, 0.1);
  border: 1px solid rgba(255, 20, 147, 0.4);
  border-radius: 0;
  color: var(--frame2f2e9-white);
  font-size: 12.5px;
  font-weight: 600;
  -webkit-column-break-inside: avoid;
  break-inside: avoid;
}

.frame2f2e9-promo-link:active { transform: scale(0.96); background: rgba(255, 20, 147, 0.24); }

.frame2f2e9-xfoot-brand { font-size: 13px; color: var(--frame2f2e9-text); margin: 2px 0 6px; }

.frame2f2e9-dir-cols {
  columns: 2;
  column-gap: 14px;
}

.frame2f2e9-dir-cols a {
  display: block;
  padding: 6px 2px;
  font-size: 12.5px;
  color: var(--frame2f2e9-pink);
  border-bottom: 1px solid var(--frame2f2e9-line-soft);
  -webkit-column-break-inside: avoid;
  break-inside: avoid;
}

.frame2f2e9-note {
  font-size: 11.5px;
  line-height: 1.55;
  color: var(--frame2f2e9-pink);
  opacity: 0.85;
  padding: 10px 0 12px;
  border-top: 1px solid var(--frame2f2e9-line-soft);
  margin-top: 12px;
}

/* ---------- common footer ---------- */
.frame2f2e9-footer {
  padding: 10px 14px calc(var(--frame2f2e9-bnav-h) + 16px);
  text-align: center;
  font-size: 11.5px;
  color: var(--frame2f2e9-pink);
  background: var(--frame2f2e9-bg-well);
}

/* ---------- mobile bottom nav: layered strip ---------- */
.frame2f2e9-bnav {
  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));
  background: linear-gradient(0deg, var(--frame2f2e9-bg-well) 0%, rgba(42, 59, 77, 0.97) 100%);
  border-top: 1px solid var(--frame2f2e9-line);
  padding-bottom: env(safe-area-inset-bottom, 0);
}

.frame2f2e9-bnav a,
.frame2f2e9-bnav button {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  min-height: var(--frame2f2e9-bnav-h);
  color: var(--frame2f2e9-pink);
  font-size: 10px;
  letter-spacing: 0.02em;
  border-top: 3px solid transparent; /* active indicator line */
}

.frame2f2e9-bnav svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.frame2f2e9-bnav .frame2f2e9-is-active {
  border-top-color: var(--frame2f2e9-punch);
  color: var(--frame2f2e9-white);
}

.frame2f2e9-bnav .frame2f2e9-is-active svg { stroke: var(--frame2f2e9-punch); }

.frame2f2e9-bnav a:active,
.frame2f2e9-bnav button:active { transform: scale(0.92); }

.frame2f2e9-bnav-tag {
  position: absolute;
  top: 5px;
  right: 14%;
  font-size: 8px;
  font-weight: 700;
  padding: 1px 4px;
  color: var(--frame2f2e9-white);
  background: var(--frame2f2e9-punch);
  border-radius: 2px;
}

/* ---------- responsive notes ---------- */
@media (min-width: 375px) {
  .frame2f2e9-h1 { font-size: 27px; }
  .frame2f2e9-tile-name { font-size: 11px; }
}

/* 390px and up: five tiles per row keeps the 430px canvas full */
@media (min-width: 390px) {
  .frame2f2e9-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 9px 7px; }
  .frame2f2e9-h2 { font-size: 20px; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
  .frame2f2e9-cta:active,
  .frame2f2e9-tile:active,
  .frame2f2e9-bnav a:active,
  .frame2f2e9-bnav button:active { transform: none; }
}

/* long shared names inside ledger rows must never push the canvas wide */
.frame2f2e9-win-row, .frame2f2e9-dir-cols a, .frame2f2e9-promo-link { overflow-wrap: anywhere; }
