:root {
  --fantasy-ink: #17201b;
  --fantasy-paper: #f2efe8;
  --fantasy-card: #fbfaf6;
  --fantasy-orange: #f0643b;
  --fantasy-lime: #c8ef83;
  --fantasy-blue: #2855d9;
  --fantasy-line: #cbc7bc;
  --fantasy-muted: #5f6861;
}

body.pp-fantasy-page { background: var(--fantasy-paper); color: var(--fantasy-ink); }
.fp-wrap { width: min(1180px, calc(100vw - 48px)); margin-inline: auto; }
.fp-skip { position: fixed; top: 8px; left: 8px; z-index: 3000; transform: translateY(-150%); padding: 10px 14px; background: #fff; color: #111; }
.fp-skip:focus { transform: none; }
.fp-kicker { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 20px; color: var(--fantasy-orange); font: 650 11px/1.3 var(--pp-mono); letter-spacing: .1em; text-transform: uppercase; }
.fp-kicker::before { width: 28px; height: 2px; background: currentColor; content: ""; }
.fp-hero { position: relative; overflow: hidden; padding: clamp(70px, 10vw, 132px) 0 68px; border-bottom: 1px solid var(--fantasy-line); }
.fp-hero::after { position: absolute; right: -5vw; bottom: -130px; width: min(42vw, 520px); aspect-ratio: 1; border: 1px solid var(--fantasy-line); border-radius: 50%; box-shadow: 0 0 0 42px rgba(240,100,59,.07), 0 0 0 84px rgba(40,85,217,.04); content: ""; }
.fp-hero__grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(280px, .65fr); gap: clamp(36px, 7vw, 92px); align-items: end; }
.fp-hero h1 { max-width: 850px; margin: 0; font-size: clamp(52px, 8.8vw, 112px); line-height: .89; letter-spacing: -.066em; }
.fp-hero h1 em { color: var(--fantasy-blue); font-style: normal; }
.fp-deck { max-width: 720px; margin: 28px 0 0; color: #39423c; font-size: clamp(18px, 2vw, 24px); line-height: 1.55; }
.fp-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.fp-button { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; padding: 0 20px; border: 1px solid var(--fantasy-ink); border-radius: 2px; background: var(--fantasy-ink); color: #fff; font-weight: 650; text-decoration: none; box-shadow: 5px 5px 0 var(--fantasy-orange); transition: transform .15s ease, box-shadow .15s ease; }
.fp-button:hover { transform: translate(2px,2px); box-shadow: 3px 3px 0 var(--fantasy-orange); }
.fp-button--ghost { background: transparent; color: var(--fantasy-ink); box-shadow: none; }
.fp-meta { display: flex; flex-wrap: wrap; gap: 10px 20px; margin-top: 32px; color: var(--fantasy-muted); font: 500 11px/1.55 var(--pp-mono); }
.fp-range-card { padding: 24px; border: 1px solid var(--fantasy-ink); background: var(--fantasy-card); box-shadow: 8px 8px 0 var(--fantasy-lime); }
.fp-range-card__label { color: var(--fantasy-muted); font: 650 10px var(--pp-mono); letter-spacing: .08em; text-transform: uppercase; }
.fp-range-card__player { margin: 12px 0 4px; font: 650 30px/1 var(--pp-display); letter-spacing: -.035em; }
.fp-range-card__team { color: var(--fantasy-muted); font: 500 12px var(--pp-mono); }
.fp-spine { position: relative; height: 5px; margin: 34px 8px 24px; border-radius: 99px; background: #c9cbc6; }
.fp-spine::before { position: absolute; inset: 0 18% 0 12%; border-radius: inherit; background: var(--fantasy-orange); content: ""; }
.fp-spine i { position: absolute; top: 50%; left: 48%; width: 15px; height: 15px; transform: translate(-50%,-50%) rotate(45deg); border: 2px solid var(--fantasy-ink); background: var(--fantasy-lime); }
.fp-range-values { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; }
.fp-range-values span { color: var(--fantasy-muted); font: 550 10px var(--pp-mono); text-transform: uppercase; }
.fp-range-values b { display: block; margin-top: 5px; color: var(--fantasy-ink); font: 650 24px var(--pp-display); }
.fp-range-values span:nth-child(2) { text-align: center; }
.fp-range-values span:last-child { text-align: right; }
.fp-section { padding: clamp(64px, 8vw, 106px) 0; border-bottom: 1px solid var(--fantasy-line); }
.fp-section--ink { background: var(--fantasy-ink); color: #eff1ec; }
.fp-section--blue { background: var(--fantasy-blue); color: #fff; }
.fp-section-head { display: grid; grid-template-columns: minmax(170px,.55fr) minmax(0,1.45fr); gap: 40px; margin-bottom: 42px; }
.fp-label { color: var(--fantasy-orange); font: 650 11px/1.4 var(--pp-mono); letter-spacing: .09em; text-transform: uppercase; }
.fp-section--ink .fp-label, .fp-section--blue .fp-label { color: var(--fantasy-lime); }
.fp-section h2 { max-width: 820px; margin: 0; color: inherit; font-size: clamp(36px, 5.7vw, 70px); line-height: .96; letter-spacing: -.05em; }
body.pp-site-system.pp-fantasy-page main .fp-section--ink h2 { color: #eff1ec !important; }
body.pp-site-system.pp-fantasy-page main .fp-section--blue h2 { color: #fff !important; }
.fp-direct { max-width: 850px; margin-left: auto; font-size: clamp(19px, 2.2vw, 26px); line-height: 1.55; }
.fp-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 14px; }
.fp-grid--2 { grid-template-columns: repeat(2,minmax(0,1fr)); }
.fp-card { min-width: 0; padding: 26px; border: 1px solid var(--fantasy-ink); background: var(--fantasy-card); box-shadow: 5px 5px 0 rgba(240,100,59,.18); }
.fp-card h3 { margin: 10px 0 12px; color: var(--fantasy-ink); font-size: 25px; line-height: 1.05; letter-spacing: -.03em; }
.fp-card p, .fp-card li { color: #4d5650; font-size: 14px; line-height: 1.68; }
.fp-card p { margin: 0; }
.fp-number { display: inline-grid; width: 34px; height: 34px; place-items: center; border: 1px solid var(--fantasy-ink); border-radius: 50%; color: var(--fantasy-blue); font: 650 11px var(--pp-mono); }
.fp-board-head { display: flex; flex-wrap: wrap; gap: 16px; align-items: end; justify-content: space-between; margin-bottom: 22px; }
.fp-status { max-width: 760px; color: var(--fantasy-muted); font-size: 14px; line-height: 1.6; }
.fp-status[data-state="live"] { color: #245b3a; }
.fp-status[data-state="stale"], .fp-status[data-state="error"] { color: #8b3b26; }
.fp-controls { display: flex; flex-wrap: wrap; gap: 10px; }
.fp-control { min-height: 44px; padding: 0 13px; border: 1px solid #717872; background: #fff; color: var(--fantasy-ink); font: 600 12px var(--pp-mono); }
.fp-board { overflow-x: auto; border: 1px solid var(--fantasy-ink); background: var(--fantasy-card); }
.fp-scroll-cue { display: none; margin: 0 0 10px; color: var(--fantasy-muted); font: 600 11px/1.4 var(--pp-mono); }
.fp-table { width: 100%; min-width: 790px; border-collapse: collapse; }
.fp-table th, .fp-table td { padding: 17px 15px; border-bottom: 1px solid var(--fantasy-line); text-align: left; vertical-align: middle; }
.fp-table th { background: #e6e2d8; font: 650 10px var(--pp-mono); letter-spacing: .07em; text-transform: uppercase; }
.fp-table tbody tr:last-child td { border-bottom: 0; }
.fp-player { font-weight: 700; }
.fp-team { display: block; margin-top: 3px; color: var(--fantasy-muted); font: 500 10px var(--pp-mono); }
.fp-points { font: 650 22px var(--pp-display); }
.fp-range-mini { display: grid; grid-template-columns: auto minmax(110px,1fr) auto; gap: 9px; align-items: center; min-width: 230px; }
.fp-range-mini small { font: 550 10px var(--pp-mono); }
.fp-range-mini__line { position: relative; height: 4px; border-radius: 9px; background: var(--fantasy-orange); }
.fp-range-mini__line::after { position: absolute; top: 50%; left: var(--point,50%); width: 10px; height: 10px; transform: translate(-50%,-50%) rotate(45deg); border: 1px solid var(--fantasy-ink); background: var(--fantasy-lime); content: ""; }
.fp-compare { display: inline-flex; gap: 7px; align-items: center; font: 550 11px var(--pp-mono); }
.fp-note { padding: 20px; border-left: 4px solid var(--fantasy-orange); background: #f9dfd5; color: #53352d; font-size: 14px; line-height: 1.68; }
.fp-section--ink .fp-note { border-color: var(--fantasy-lime); background: rgba(255,255,255,.08); color: #eef0eb; }
.fp-table-wrap { overflow-x: auto; border: 1px solid var(--fantasy-line); background: var(--fantasy-card); }
.fp-plain-table { width: 100%; min-width: 680px; border-collapse: collapse; }
.fp-plain-table th, .fp-plain-table td { padding: 16px; border-bottom: 1px solid var(--fantasy-line); text-align: left; vertical-align: top; }
.fp-plain-table th { background: #e6e2d8; font: 650 10px var(--pp-mono); letter-spacing: .07em; text-transform: uppercase; }
.fp-plain-table td { font-size: 14px; line-height: 1.6; }
.fp-faq details { border-top: 1px solid var(--fantasy-line); }
.fp-faq details:last-child { border-bottom: 1px solid var(--fantasy-line); }
.fp-faq summary { padding: 22px 40px 22px 0; color: var(--fantasy-ink); font: 650 21px var(--pp-display); cursor: pointer; }
.fp-faq p { max-width: 780px; margin: 0 0 24px; color: var(--fantasy-muted); line-height: 1.7; }
.fp-callout { display: grid; grid-template-columns: minmax(0,1.4fr) minmax(250px,.6fr); gap: 16px; }
.fp-callout__main { min-height: 290px; padding: clamp(28px,5vw,58px); background: var(--fantasy-lime); color: var(--fantasy-ink); }
.fp-callout__main strong { display: block; max-width: 780px; font: 650 clamp(34px,5vw,66px)/.98 var(--pp-display); letter-spacing: -.05em; }
.fp-callout__side { display: flex; flex-direction: column; justify-content: space-between; padding: 28px; border: 1px solid rgba(255,255,255,.28); }
body.pp-site-system.pp-fantasy-page main .fp-callout__side p { margin: 0 0 26px; color: #fff !important; line-height: 1.65; }
.fp-source { margin-top: 18px; color: var(--fantasy-muted); font: 500 11px/1.65 var(--pp-mono); }
.fp-source a { color: inherit; }
body.pp-site-system.pp-fantasy-page main .fp-section--blue .fp-source { color: #e7e9ff !important; font-size: 12px; }

@media (max-width: 900px) {
  .fp-hero__grid, .fp-section-head, .fp-callout { grid-template-columns: 1fr; }
  .fp-range-card { max-width: 500px; }
  .fp-grid, .fp-grid--2 { grid-template-columns: 1fr; }
  .fp-scroll-cue { display: block; }
  .fp-table th:first-child, .fp-table td:first-child { position: sticky; left: 0; z-index: 1; background: var(--fantasy-card); box-shadow: 8px 0 12px -12px var(--fantasy-ink); }
  .fp-table th:first-child { background: #e6e2d8; }
}
@media (max-width: 600px) {
  .fp-wrap { width: min(1180px, calc(100vw - 30px)); }
  .fp-hero { padding-top: 58px; }
  .fp-hero h1 { font-size: clamp(48px, 16vw, 72px); }
  .fp-actions, .fp-button { width: 100%; }
  .fp-button { text-align: center; }
}
@media (prefers-reduced-motion: reduce) {
  .fp-button { transition: none; }
}
