/* integrated-modes-20261108
   Shared presentation boundary. Game controls, state and rules are untouched.
   Navigation always stays in normal document flow. */
html body.ff-mode-integrated {
  --game-page:#f2f0ea; --game-card:#fffefa; --game-soft:#eae7df;
  --game-ink:#202428; --game-muted:#596168; --game-line:#d8d5cd;
  --game-dark:#23272b; --game-gold-hi:#f2d083; --game-shadow:none;
  --game-radius:18px; --game-radius-sm:10px; --mode-accent:#775515;
  background:var(--game-page); color:var(--game-ink);
  font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  -webkit-font-smoothing:antialiased;
}
html[data-ff-theme="dark"] body.ff-mode-integrated {
  --game-page:#111518; --game-card:#1b2025; --game-soft:#242a30;
  --game-ink:#f3f1ea; --game-muted:#b5bdc5; --game-line:#3b4249;
  --game-dark:#252b31; --mode-accent:#f2d083;
  background:var(--game-page); color:var(--game-ink);
}
html body.ff-mode-integrated :is(h1,h2,h3,h4,button,input,select,summary){font-family:inherit}
html body.ff-mode-integrated :is(h1,h2,h3){letter-spacing:-.035em}
html body.ff-mode-integrated :is(.shell,.tw-shell,.site-header,.preview-shell){width:min(1240px,calc(100% - 48px));max-width:none;margin-inline:auto}
html body.ff-mode-integrated :is(.shell,.tw-shell){padding-top:10px}
html body.ff-mode-integrated .preview-shell{padding:0 0 30px}
html body.ff-mode-integrated :is(.topbar,.tw-topbar,.site-header){display:flex;align-items:center;gap:12px;min-height:76px;padding:0 0 12px;margin-bottom:0;border-bottom:1px solid var(--game-line);background:transparent}
html body.ff-mode-integrated .site-header{padding-top:10px}
html body.ff-mode-integrated :is(.brand,.tw-brand,.brand-lockup){display:flex;align-items:center;gap:10px;flex:0 1 auto;min-width:0;text-decoration:none;color:var(--game-ink)}
html body.ff-mode-integrated :is(.brand,.tw-brand,.brand-lockup) img{width:44px;height:44px;object-fit:contain;border-radius:11px;flex-shrink:0}
html body.ff-mode-integrated :is(.brand strong,.tw-brand strong,.brand-name){display:block;margin:0;color:var(--game-ink);font-size:.9rem;line-height:1.25;font-weight:850;letter-spacing:.06em;text-transform:uppercase}
html body.ff-mode-integrated :is(.brand span,.tw-brand small,.mode-name){display:block;margin:3px 0 0;color:var(--game-muted);font-size:.59rem;line-height:1.2;letter-spacing:.1em}
html body.ff-mode-integrated .ff-global-menu-button{width:44px;height:44px;min-width:44px;margin:0;border:0;border-radius:12px;background:#23272b;color:#fff;flex-shrink:0}
html body.ff-mode-integrated .ff-site-links{display:flex;align-items:center;gap:5px;margin-left:auto}
html body.ff-mode-integrated :is(.top-actions,.tw-top-actions,.header-actions).ff-site-links>a{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:9px 12px;border:0;border-radius:10px;background:transparent;box-shadow:none;color:var(--game-ink);font-size:.79rem;font-weight:750;line-height:1.2;text-decoration:none}
html body.ff-mode-integrated :is(.top-actions,.tw-top-actions,.header-actions).ff-site-links>a.ff-account-link{background:#23272b;color:#fff}
html body.ff-mode-integrated .ff-site-links>a:hover{background:var(--game-soft);color:var(--game-ink)}
html body.ff-mode-integrated .ff-theme-toggle{min-height:44px;background:transparent;color:var(--game-ink);border-color:var(--game-line)}
html body.ff-mode-integrated :is(a,button,summary,input,select):focus-visible{outline:3px solid var(--mode-accent);outline-offset:3px}
html body.ff-mode-integrated .mode-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;max-width:none;margin:0;padding:30px 0 24px;border:0;background:transparent}
html body.ff-mode-integrated .mode-heading h1{margin:5px 0 8px;color:var(--game-ink);font-size:clamp(2rem,4vw,3.25rem);line-height:1.05;font-weight:850;letter-spacing:-.055em}
html body.ff-mode-integrated .mode-kicker{margin:0;color:var(--mode-accent);font-size:.65rem;letter-spacing:.14em;text-transform:uppercase;font-weight:850}
html body.ff-mode-integrated .mode-description{margin:0;color:var(--game-muted);font-size:.92rem;line-height:1.5}
html body.ff-mode-integrated .mode-board-link{display:flex;align-items:center;gap:24px;min-height:44px;color:var(--game-ink);font-size:.8rem;font-weight:750;text-decoration:none;white-space:nowrap}
html body.ff-mode-integrated .mode-board-link span{color:var(--mode-accent);font-size:1.2rem}
html body.ff-mode-integrated:is(.mode-is-playing,.forge-five-active,[data-mode-screen]:not([data-mode-screen="entry"])) .mode-heading{padding:18px 0}
html body.ff-mode-integrated:is(.mode-is-playing,.forge-five-active,[data-mode-screen]:not([data-mode-screen="entry"])) .mode-heading h1{font-size:2rem}
html body.ff-mode-integrated :is(.eyebrow,.section-kicker,.tw-eyebrow){color:var(--mode-accent);font-size:.65rem;font-weight:850;letter-spacing:.1em}
html body.ff-mode-integrated :is(.muted,.tw-muted,.season-caption){color:var(--game-muted)}
html body.ff-mode-integrated :is(.btn,.tw-button,.primary-button,.secondary-button,.wide-button,.quiet-button){border-radius:10px;box-shadow:none;min-height:44px}
html body.ff-mode-integrated :is(.btn-primary,.tw-button-primary,.primary-button,.wide-button){border:1px solid #d5b265;background:#f2d083;color:#262013}
html body.ff-mode-integrated :is(.account-gate,.tw-account-gate,.dynasty-account-note){border:1px solid var(--game-line);border-left:3px solid #bd922f;border-radius:10px;background:var(--game-card);color:var(--game-ink);padding:16px 20px;box-shadow:none}
html body.ff-mode-integrated :is(.account-gate,.tw-account-gate,.dynasty-account-note) :is(p,small,span){color:var(--game-muted)}
html body.ff-mode-integrated :is(.account-gate,.tw-account-gate,.dynasty-account-note) a{color:var(--mode-accent)}
html body.ff-mode-integrated .dynasty-account-note[hidden]{display:none}

/* Auction: one decision surface and a supporting squad column */
html body.ff-mode-integrated.ff-forge-five .quick-how{margin:0 0 18px;border:0;border-top:1px solid var(--game-line);border-bottom:1px solid var(--game-line);border-radius:0;background:transparent}
html body.ff-mode-integrated.ff-forge-five .quick-how>summary{min-height:44px;padding:0;font-size:.82rem}
html body.ff-mode-integrated.ff-forge-five .quick-how>div{padding:0 0 18px;line-height:1.6}
html body.ff-mode-integrated.ff-forge-five .game{gap:16px}
html body.ff-mode-integrated.ff-forge-five .scorebar{display:grid;grid-template-columns:1fr auto 1fr;gap:22px;padding:16px 0;border:0;border-top:1px solid var(--game-line);border-bottom:1px solid var(--game-line);border-radius:0;background:transparent;color:var(--game-ink)}
html body.ff-mode-integrated.ff-forge-five .scorebar .budget{padding:0;border:0;background:transparent;border-radius:0;display:flex;align-items:center;gap:12px;flex-wrap:wrap;min-width:0}
html body.ff-mode-integrated.ff-forge-five .scorebar .budget.ai{justify-content:flex-end;text-align:right}
html body.ff-mode-integrated.ff-forge-five .scorebar .budget strong{color:var(--game-ink);font-size:1.8rem}
html body.ff-mode-integrated.ff-forge-five .scorebar .budget :is(.label,span){color:var(--game-muted);font-size:.72rem;letter-spacing:0}
html body.ff-mode-integrated.ff-forge-five .auction-phasebar{border:0;border-radius:0;padding:0;background:transparent;gap:5px}
html body.ff-mode-integrated.ff-forge-five .phase-chip{min-height:44px;border:0;border-bottom:3px solid var(--game-line);border-radius:0;background:transparent;color:var(--game-muted)}
html body.ff-mode-integrated.ff-forge-five .phase-chip.current{background:var(--game-soft);color:var(--game-ink);border-bottom-color:#ab7d20}
html body.ff-mode-integrated.ff-forge-five .phase-chip.complete{background:var(--game-soft);color:var(--game-ink);border-bottom-color:#317850}
html body.ff-mode-integrated.ff-forge-five .stage{grid-template-columns:minmax(0,1.65fr) minmax(280px,1fr);gap:28px}
html body.ff-mode-integrated.ff-forge-five .stage>.panel{padding:0;border:0;border-radius:0;background:transparent;box-shadow:none}
html body.ff-mode-integrated.ff-forge-five .panel-head{margin-bottom:10px}
html body.ff-mode-integrated.ff-forge-five .panel-head h2{font-size:1.35rem}
html body.ff-mode-integrated.ff-forge-five .round-chip{padding:5px 9px;border:0;border-radius:5px;background:var(--game-soft)}
html body.ff-mode-integrated.ff-forge-five .player-card{border:0;border-radius:16px;padding:18px;background:#23272b;color:#fff}
html body.ff-mode-integrated.ff-forge-five .player-art{border:0;border-radius:9px;overflow:hidden}
html body.ff-mode-integrated.ff-forge-five .attributes .attribute{border:0;background:rgba(255,255,255,.065);border-radius:4px}
html body.ff-mode-integrated.ff-forge-five .bid-status{padding:16px 0;margin:0;border-bottom:1px solid var(--game-line);gap:12px}
html body.ff-mode-integrated.ff-forge-five .bid-stat{padding:0 12px 0 0;border:0;border-right:1px solid var(--game-line);border-radius:0;background:transparent}
html body.ff-mode-integrated.ff-forge-five .bid-stat:last-child{border-right:0}
html body.ff-mode-integrated.ff-forge-five .bid-actions{margin-top:14px;gap:8px;grid-template-columns:repeat(4,minmax(0,1fr))}
html body.ff-mode-integrated.ff-forge-five .bid-actions .btn{min-height:48px;border-radius:10px}
html body.ff-mode-integrated.ff-forge-five .exclusive-user-selection .bid-actions{grid-template-columns:1fr 1fr}
html body.ff-mode-integrated.ff-forge-five :is(.roster,.auction-log-panel){padding:16px;border:1px solid var(--game-line);border-radius:14px;background:var(--game-card);box-shadow:none}
html body.ff-mode-integrated.ff-forge-five .roster-group{border:0;background:transparent;padding:8px 0}
html body.ff-mode-integrated.ff-forge-five .slot{border:0;border-top:1px solid var(--game-line);border-radius:0;background:transparent;padding:10px 0}
html body.ff-mode-integrated.ff-forge-five :is(.need-side,.ai-strategy){border:0;border-radius:0;background:transparent;padding:8px 0}
html body.ff-mode-integrated.ff-forge-five .public-leaderboard-panel{border:0;border-top:1px solid var(--game-line);border-radius:0;padding:20px 0;background:transparent;box-shadow:none}
html body.ff-mode-integrated.ff-forge-five .season-panel{border:0;border-radius:0;padding:20px 0;background:transparent;box-shadow:none}

/* Trade desk: flat navigation and consistent recruitment/offer surfaces */
html body.ff-mode-integrated.ff-trade-week{--tw-cream:var(--game-ink);--tw-copy:var(--game-ink);--tw-muted:var(--game-muted);--tw-line:var(--game-line)}
html body.ff-mode-integrated.ff-trade-week .tw-setup{grid-template-columns:minmax(240px,.75fr) minmax(0,1.5fr);gap:40px;padding:24px 0;margin:0 0 30px;border:0;border-top:1px solid var(--game-line);border-radius:0;background:transparent;box-shadow:none}
html body.ff-mode-integrated.ff-trade-week .tw-setup-copy{padding:0}
html body.ff-mode-integrated.ff-trade-week #tradeWeekTitle{margin:10px 0;font-size:2rem;color:var(--game-ink)}
html body.ff-mode-integrated.ff-trade-week .tw-setup-copy>p:not(.tw-eyebrow){font-size:.9rem;line-height:1.6}
html body.ff-mode-integrated.ff-trade-week .tw-setup-copy>.tw-muted{font-size:.78rem!important;background:transparent;padding:0;border:0}
html body.ff-mode-integrated.ff-trade-week .tw-setup-options{display:grid;grid-template-columns:1fr 1fr;gap:16px}
html body.ff-mode-integrated.ff-trade-week .tw-account-gate{grid-column:1/-1}
html body.ff-mode-integrated.ff-trade-week .tw-setup-card{display:flex;flex-direction:column;gap:12px;border:1px solid var(--game-line);border-radius:14px;padding:22px;background:var(--game-card);min-width:0}
html body.ff-mode-integrated.ff-trade-week .tw-setup-card>.tw-button{margin-top:auto;width:100%}
html body.ff-mode-integrated.ff-trade-week .tw-daily-card{border-top:4px solid #bc9338}
html body.ff-mode-integrated.ff-trade-week .tw-how{border:0;border-top:1px solid var(--game-line);border-radius:0;background:transparent}
html body.ff-mode-integrated.ff-trade-week .tw-how summary{min-height:44px;padding:0}
html body.ff-mode-integrated.ff-trade-week .tw-scenario-preview{border:0;border-radius:0;padding:12px 0;background:transparent}
html body.ff-mode-integrated.ff-trade-week .tw-game{gap:18px}
html body.ff-mode-integrated.ff-trade-week .tw-scoring-note{margin:0;color:var(--game-muted);font-size:.74rem}
html body.ff-mode-integrated.ff-trade-week .tw-run-metrics strong{white-space:normal;overflow:visible;line-height:1.4}
html body.ff-mode-integrated.ff-trade-week .tw-game>.tw-runbar{display:grid;grid-template-columns:minmax(160px,.8fr) minmax(0,2fr);gap:20px;padding:18px 0;border:0;border-top:1px solid var(--game-line);border-bottom:1px solid var(--game-line);border-radius:0;background:transparent;overflow:visible;color:var(--game-ink)}
html body.ff-mode-integrated.ff-trade-week .tw-game>.tw-runbar :is(h1,strong){color:var(--game-ink)}
html body.ff-mode-integrated.ff-trade-week .tw-game>.tw-runbar :is(.tw-eyebrow,.tw-run-metrics span,.tw-save-status){color:var(--game-muted)}
html body.ff-mode-integrated.ff-trade-week .tw-run-metrics>div{border-color:var(--game-line)!important}
html body.ff-mode-integrated.ff-trade-week .tw-run-actions{grid-column:1/-1;display:flex;flex-wrap:wrap;align-items:center;gap:10px;padding:0;border:0}
html body.ff-mode-integrated.ff-trade-week .tw-run-actions .tw-save-status{margin-right:auto}
html body.ff-mode-integrated.ff-trade-week #finishRun{background:#f2d083;color:#262013}
html body.ff-mode-integrated.ff-trade-week .tw-nav{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));padding:0;gap:0;border:0;border-bottom:1px solid var(--game-line);border-radius:0;background:transparent}
html body.ff-mode-integrated.ff-trade-week .tw-nav button{min-height:48px;border:0;border-bottom:3px solid transparent;border-radius:0;background:transparent;color:var(--game-muted);font-size:.85rem}
html body.ff-mode-integrated.ff-trade-week .tw-nav button[aria-current="page"]{background:transparent;color:var(--game-ink);border-bottom-color:#ab7d20}
html body.ff-mode-integrated.ff-trade-week :is(.tw-panel,.tw-target-panel,.tw-builder-panel){padding:20px;border:1px solid var(--game-line);border-radius:14px;background:var(--game-card);box-shadow:none}
html body.ff-mode-integrated.ff-trade-week .tw-section-heading h2{font-size:1.2rem}
html body.ff-mode-integrated.ff-trade-week .tw-coach-panel{padding:10px 0;border:0;border-radius:0;background:transparent}
html body.ff-mode-integrated.ff-trade-week .tw-objectives-panel{padding:16px 0;border:0;border-top:1px solid var(--game-line);border-bottom:1px solid var(--game-line);border-radius:0;background:transparent}
html body.ff-mode-integrated.ff-trade-week .tw-objective{padding:10px 0;border:0;border-radius:0;border-top:1px solid var(--game-line);background:transparent}
html body.ff-mode-integrated.ff-trade-week .tw-player-row{border:0;border-bottom:1px solid var(--game-line);border-radius:0;padding:12px 0;background:transparent}
html body.ff-mode-integrated.ff-trade-week .tw-hub-shortcuts{padding:0;border:0;border-radius:0;background:transparent}
html body.ff-mode-integrated.ff-trade-week .tw-hub-shortcuts button{background:var(--game-soft);color:var(--game-ink);border:0;border-radius:8px}
html body.ff-mode-integrated.ff-trade-week :is(.tw-offer-value,.tw-rival-response,.tw-score-impact,.tw-builder-sides section,.tw-asset-drawer){border:0;border-top:1px solid var(--game-line);border-radius:0;background:transparent;color:var(--game-ink)}
html body.ff-mode-integrated.ff-trade-week .tw-builder-sides section{padding:12px 0}
html body.ff-mode-integrated.ff-trade-week .tw-deal-progress{border-radius:6px;background:var(--game-soft);color:var(--game-ink)}
html body.ff-mode-integrated.ff-trade-week :is(.tw-player-info strong,.tw-player-info span,.tw-player-salary,.tw-objective small){color:var(--game-ink)}
html body.ff-mode-integrated.ff-trade-week .tw-builder-actions{flex-wrap:wrap;gap:8px}
html body.ff-mode-integrated.ff-trade-week .tw-agent-dialogue{background:var(--game-card);color:var(--game-ink);border-color:var(--game-line);border-radius:18px;padding:24px}
html body.ff-mode-integrated.ff-trade-week .tw-agent-character{display:none}
html body.ff-mode-integrated.ff-trade-week .tw-agent-scene{grid-template-columns:1fr}
html body.ff-mode-integrated.ff-trade-week .tw-agent-promise{background:var(--game-soft);border-color:var(--game-line);border-radius:10px;padding:16px}
html body.ff-mode-integrated.ff-trade-week .tw-agent-promise strong{color:var(--game-ink);font-size:.9rem}
html body.ff-mode-integrated.ff-trade-week .tw-agent-dialogue :is(.tw-muted,.tw-fineprint,.tw-speech span,.tw-agent-promise span){color:var(--game-muted)}
html body.ff-mode-integrated.ff-trade-week .tw-agent-heading>div>p:last-child{color:var(--mode-accent);font-size:.8rem}
html body.ff-mode-integrated.ff-trade-week .tw-speech p{background:var(--game-soft);color:var(--game-ink);border-color:var(--game-line);font-size:.9rem;line-height:1.6}
html body.ff-mode-integrated.ff-trade-week .tw-agent-response{background:var(--game-soft);color:var(--game-ink);border-color:var(--game-line);font-size:.85rem;border-radius:10px}
@media(min-width:1050px){
  html body.ff-mode-integrated.ff-trade-week .tw-game>.tw-runbar{grid-template-columns:minmax(160px,.8fr) minmax(0,2fr) auto;gap:20px;align-items:center}
  html body.ff-mode-integrated.ff-trade-week .tw-run-actions{grid-column:auto;max-width:260px;gap:8px;justify-content:flex-end}
  html body.ff-mode-integrated.ff-trade-week .tw-run-actions .tw-save-status{width:100%;text-align:right;margin:0}
  html body.ff-mode-integrated.ff-trade-week .tw-run-actions .tw-button{font-size:.74rem;padding:10px 12px}
  html body.ff-mode-integrated.ff-trade-week #hubView{grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);align-items:start;gap:24px}
  html body.ff-mode-integrated.ff-trade-week #hubView>.tw-main-column,
  html body.ff-mode-integrated.ff-trade-week #hubView>.tw-side-column{display:grid;min-width:0;gap:18px}
  html body.ff-mode-integrated.ff-trade-week #hubView .tw-hub-return{display:none!important}
  html body.ff-mode-integrated.ff-trade-week .tw-filterbar{grid-template-columns:1fr 1fr}
  html body.ff-mode-integrated.ff-trade-week .tw-filterbar label:first-child{grid-column:1/-1}
}

/* Dynasty: the game is the page, not a dark window inside the page */
html body.ff-mode-integrated.ff-dynasty .screen-frame{margin:0;padding:0;border:0;border-radius:0;background:transparent;box-shadow:none;overflow:visible}
html body.ff-mode-integrated.ff-dynasty .prototype-screen{padding:24px 0;min-height:0}
html body.ff-mode-integrated.ff-dynasty .game-bar{display:flex;justify-content:flex-end;padding:0;min-height:0;border:0;background:transparent;color:var(--game-muted)}
html body.ff-mode-integrated.ff-dynasty .game-bar-title{display:none}
html body.ff-mode-integrated.ff-dynasty .game-bar-meta{font-size:.72rem;gap:12px;color:var(--game-muted)}
html body.ff-mode-integrated.ff-dynasty .game-bar-meta>span{display:none}
html body.ff-mode-integrated.ff-dynasty .prototype-tools{padding:0;margin:0;border:0}
html body.ff-mode-integrated.ff-dynasty .prototype-tools>summary{padding:0;min-height:44px;align-content:center;color:var(--game-muted);font-size:.8rem}
html body.ff-mode-integrated.ff-dynasty .screen-switcher{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:0;padding:0;margin:0;border:0;border-bottom:1px solid var(--game-line);border-radius:0;background:transparent;overflow:visible}
html body.ff-mode-integrated.ff-dynasty .screen-tab{min-width:0;min-height:48px;padding:10px 5px;border:0;border-bottom:3px solid transparent;border-radius:0;color:var(--game-muted);font-size:.82rem;background:transparent}
html body.ff-mode-integrated.ff-dynasty .screen-tab.is-active{background:transparent;color:var(--game-ink);border-bottom-color:#ab7d20}
html body.ff-mode-integrated.ff-dynasty .screen-tab:disabled{opacity:.48}
html body.ff-mode-integrated.ff-dynasty .entry-hero{min-height:0;padding:34px;border:0;border-radius:18px;background:#23272b;color:#fff}
html body.ff-mode-integrated.ff-dynasty .entry-copy h2{font-size:clamp(2rem,4.5vw,3.6rem);line-height:1.04;max-width:750px;color:#fff}
html body.ff-mode-integrated.ff-dynasty .entry-copy .section-kicker{color:#f2d083}
html body.ff-mode-integrated.ff-dynasty .entry-copy>p:not(.section-kicker){font-size:.96rem;color:#cbd1d5}
html body.ff-mode-integrated.ff-dynasty .era-graphic{border:0;background:transparent}
html body.ff-mode-integrated.ff-dynasty :is(.page-title-row h2,.season-notice,.season-last-result,.season-metrics,.season-list-details>summary){color:var(--game-ink)}
html body.ff-mode-integrated.ff-dynasty :is(.season-metrics span,.season-notice,.season-list-details>summary,.hq-metrics span,.hq-metrics small){color:var(--game-muted)}
html body.ff-mode-integrated.ff-dynasty :is(.season-metrics,.season-metrics>div){border-color:var(--game-line)}
html body.ff-mode-integrated.ff-dynasty :is(.panel,.draft-status,.needs-card,.pick-clock,.record-chip,.selection-state,.next-action-card){border:1px solid var(--game-line);border-radius:14px;background:var(--game-card);color:var(--game-ink);box-shadow:none}
html body.ff-mode-integrated.ff-dynasty .next-action-card{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:24px 28px;border-left:4px solid #bd922f}
html body.ff-mode-integrated.ff-dynasty .next-action-card h3{font-size:1.8rem;color:var(--game-ink)}
html body.ff-mode-integrated.ff-dynasty .season-actions{display:flex;flex-wrap:wrap;gap:8px;align-items:center}
html body.ff-mode-integrated.ff-dynasty .season-actions .text-button{min-height:44px;padding:10px 15px;border:1px solid var(--game-line);border-radius:10px;background:transparent;color:var(--game-ink)}
html body.ff-mode-integrated.ff-dynasty .season-board{padding:0;border:0;border-radius:0;background:transparent}
html body.ff-mode-integrated.ff-dynasty .season-board-tabs{border-bottom:1px solid var(--game-line)}
html body.ff-mode-integrated.ff-dynasty .season-table :is(th,td){border-color:var(--game-line)}
html body.ff-mode-integrated.ff-dynasty :is(.player-row,.squad-player-row){border:0;border-bottom:1px solid var(--game-line);border-radius:0;background:transparent;color:var(--game-ink)}
html body.ff-mode-integrated.ff-dynasty .season-list-details{margin-top:24px;border-top:1px solid var(--game-line)}
html body.ff-mode-integrated.ff-dynasty .season-list-details>summary{min-height:44px;align-content:center}
html body.ff-mode-integrated.ff-dynasty .page-title-row{margin-bottom:20px}
html body.ff-mode-integrated.ff-dynasty .page-title-row h2{font-size:clamp(1.8rem,4vw,3rem);letter-spacing:-.05em}
html body.ff-mode-integrated.ff-dynasty .record-chip{padding:10px 14px;min-width:100px}
html body.ff-mode-integrated.ff-dynasty .season-metrics{padding:18px 0;margin:18px 0 24px}
html body.ff-mode-integrated.ff-dynasty .season-table{background:var(--game-card)}
html body.ff-mode-integrated.ff-dynasty .season-table tbody tr:nth-child(even){background:var(--game-soft)}
html body.ff-mode-integrated.ff-dynasty .prototype-intro .secondary-button{display:none}
html body.ff-mode-integrated.ff-dynasty .match-grid{gap:24px}
html body.ff-mode-integrated.ff-dynasty .live-commentary{border-radius:12px}
html body.ff-mode-integrated.ff-dynasty .match-stage{padding:16px;background:var(--game-card);color:var(--game-ink);border:1px solid var(--game-line);border-radius:14px}
html body.ff-mode-integrated.ff-dynasty .match-stage .scoreboard{padding:18px 12px;background:#23272b;border:0;border-radius:10px}
html body.ff-mode-integrated.ff-dynasty .match-stage .scoreboard :is(span,strong){color:#f3f1ea}
html body.ff-mode-integrated.ff-dynasty .match-stage .scoreboard b{color:#f2d083}
html body.ff-mode-integrated.ff-dynasty .match-stage .commentary-card{background:var(--game-soft);border-color:var(--game-line);border-left-color:#bd922f;box-shadow:none}
html body.ff-mode-integrated.ff-dynasty .match-stage .commentary-card h3{color:var(--game-ink)}
html body.ff-mode-integrated.ff-dynasty .match-stage :is(.match-event-feed li,.commentary-card p:not(.section-kicker)){color:var(--game-muted)}
html body.ff-mode-integrated.ff-dynasty .match-stage :is(.section-kicker,.event-time){color:var(--mode-accent)}
html body.ff-mode-integrated.ff-dynasty .stat-card :is(strong,b){color:var(--game-ink)}
html body.ff-mode-integrated.ff-dynasty .match-controls button{background:var(--game-soft);color:var(--game-ink);border-color:var(--game-line)}
html body.ff-mode-integrated.ff-dynasty .quarter-progress span{background:var(--game-soft);color:var(--game-muted)}
html body.ff-mode-integrated.ff-dynasty .quarter-progress span.is-current{background:#f2d083;color:#262013}
@media(min-width:761px){html body.ff-mode-integrated.ff-dynasty .prototype-tools[open]>summary{display:none}}

/* Narrow screens use the same hierarchy, no fixed navigation or forced height */
@media(max-width:1049px){
  html body.ff-mode-integrated.ff-trade-week .tw-setup{grid-template-columns:1fr;gap:20px}
  html body.ff-mode-integrated.ff-trade-week .tw-setup-copy{max-width:720px}
  html body.ff-mode-integrated.ff-forge-five .stage{grid-template-columns:1fr}
}
@media(max-width:760px){
  html body.ff-mode-integrated :is(.shell,.tw-shell,.site-header,.preview-shell){width:calc(100% - 28px)}
  html body.ff-mode-integrated :is(.topbar,.tw-topbar,.site-header){min-height:66px;padding-bottom:10px;gap:8px}
  html body.ff-mode-integrated :is(.top-actions,.tw-top-actions,.header-actions).ff-site-links>a{display:none}
  html body.ff-mode-integrated :is(.brand strong,.tw-brand strong,.brand-name){font-size:.78rem;letter-spacing:.035em}
  html body.ff-mode-integrated :is(.brand span,.tw-brand small,.mode-name){font-size:.49rem}
  html body.ff-mode-integrated :is(.brand,.tw-brand,.brand-lockup){gap:7px}
  html body.ff-mode-integrated :is(.brand,.tw-brand,.brand-lockup) img{width:38px;height:38px}
  html body.ff-mode-integrated .ff-theme-toggle-label{display:none}
  html body.ff-mode-integrated .mode-heading{padding:22px 0 18px;gap:12px}
  html body.ff-mode-integrated .mode-heading h1{font-size:1.9rem;margin-bottom:4px}
  html body.ff-mode-integrated .mode-kicker{font-size:.58rem;letter-spacing:.09em}
  html body.ff-mode-integrated .mode-description{font-size:.8rem;max-width:260px}
  html body.ff-mode-integrated .mode-board-link{gap:7px;font-size:.72rem}
  html body.ff-mode-integrated.forge-five-active .mode-heading{padding:12px 0}
  html body.ff-mode-integrated.forge-five-active .mode-heading h1{font-size:1.4rem;margin:0}
  html body.ff-mode-integrated.forge-five-active .mode-heading :is(.mode-kicker,.mode-description){display:none}
  html body.ff-mode-integrated.ff-forge-five .quick-how{margin-bottom:10px}
  html body.ff-mode-integrated.ff-forge-five .game{gap:10px}
  html body.ff-mode-integrated.ff-forge-five .scorebar{grid-template-columns:1fr 1fr;gap:10px;padding:10px 0}
  html body.ff-mode-integrated.ff-forge-five .scorebar .versus{display:none}
  html body.ff-mode-integrated.ff-forge-five .scorebar .budget{display:grid;grid-template-columns:1fr auto;gap:3px 5px;padding:0}
  html body.ff-mode-integrated.ff-forge-five .scorebar .budget strong{font-size:1.3rem;grid-row:1/3;grid-column:2}
  html body.ff-mode-integrated.ff-forge-five .scorebar .budget :is(.label,span){font-size:.62rem;white-space:normal;text-align:left}
  html body.ff-mode-integrated.ff-forge-five .stage>.panel{padding:0}
  html body.ff-mode-integrated.ff-forge-five .player-card{padding:10px}
  html body.ff-mode-integrated.ff-forge-five .player-art{min-height:170px;max-height:210px}
  html body.ff-mode-integrated.ff-forge-five .bid-status{padding:10px 0;margin:0;gap:8px}
  html body.ff-mode-integrated.ff-forge-five .bid-stat{padding:0 5px 0 0}
  html body.ff-mode-integrated.ff-forge-five .bid-actions{margin-top:10px;gap:6px}
  html body.ff-mode-integrated.ff-forge-five .bid-actions .btn{padding:8px 3px;font-size:.76rem;min-height:46px}
  html body.ff-mode-integrated.ff-trade-week .tw-setup-options{grid-template-columns:1fr}
  html body.ff-mode-integrated.ff-trade-week .tw-game>.tw-runbar{grid-template-columns:1fr;gap:16px;padding:16px 0}
  html body.ff-mode-integrated.ff-trade-week .tw-run-metrics{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
  html body.ff-mode-integrated.ff-trade-week .tw-run-actions .tw-save-status{flex-basis:100%;font-size:.7rem}
  html body.ff-mode-integrated.ff-trade-week .tw-run-actions>.tw-button{flex:1;padding:10px;font-size:.78rem}
  html body.ff-mode-integrated.ff-trade-week .tw-nav button{padding:8px 3px;font-size:.72rem}
  html body.ff-mode-integrated.ff-trade-week :is(.tw-panel,.tw-target-panel,.tw-builder-panel){padding:16px}
  html body.ff-mode-integrated.ff-trade-week .tw-coach-panel{padding:5px 0}
  html body.ff-mode-integrated.ff-trade-week .tw-objectives-panel{padding:12px 0}
  html body.ff-mode-integrated.ff-dynasty .prototype-tools{padding:0 0 6px}
  html body.ff-mode-integrated.ff-dynasty .screen-switcher{grid-template-columns:repeat(4,minmax(0,1fr))}
  html body.ff-mode-integrated.ff-dynasty .screen-tab{font-size:.73rem;min-height:44px;padding:7px 3px}
  html body.ff-mode-integrated.ff-dynasty .prototype-screen{padding:18px 0}
  html body.ff-mode-integrated.ff-dynasty .entry-hero{padding:24px 20px}
  html body.ff-mode-integrated.ff-dynasty .entry-copy h2{font-size:2.15rem}
  html body.ff-mode-integrated.ff-dynasty .era-graphic{display:none}
  html body.ff-mode-integrated.ff-dynasty .entry-grid>.panel{padding:18px}
  html body.ff-mode-integrated.ff-dynasty .next-action-card{display:block;padding:20px}
  html body.ff-mode-integrated.ff-dynasty .next-action-card h3{font-size:1.5rem;margin:5px 0}
  html body.ff-mode-integrated.ff-dynasty .season-actions{margin-top:16px}
  html body.ff-mode-integrated.ff-dynasty .season-actions>button{flex:1;font-size:.8rem;white-space:normal}
  html body.ff-mode-integrated.ff-dynasty .page-title-row{gap:12px;margin-bottom:16px}
  html body.ff-mode-integrated.ff-dynasty .record-chip{min-width:85px;padding:8px 10px}
  html body.ff-mode-integrated.ff-dynasty .page-title-row h2{font-size:1.9rem}
  html body.ff-mode-integrated.ff-dynasty .season-metrics{padding:14px 0;margin:14px 0 20px}
}
@media(max-width:359px){
  html body.ff-mode-integrated .mode-heading{align-items:flex-start}
  html body.ff-mode-integrated .mode-heading h1{font-size:1.7rem}
  html body.ff-mode-integrated .mode-board-link{gap:4px}
  html body.ff-mode-integrated.ff-forge-five .bid-actions{grid-template-columns:1fr 1fr}
}
@media(prefers-reduced-motion:reduce){html body.ff-mode-integrated *{scroll-behavior:auto!important}}

/* mode-guidance-20261108: contextual help, receipts and real delivery status */
html body.ff-mode-integrated [hidden]{display:none!important}
html body.ff-mode-integrated :is(.mode-helper,.mode-budget-guide){color:var(--game-muted);font-size:.78rem;line-height:1.5;margin:8px 0 12px}
html body.ff-mode-integrated :is(.mode-guidance,.mode-result-status,.mode-trade-receipt,.mode-recap){padding:18px 20px;margin:18px 0;border:1px solid var(--game-line);border-radius:12px;background:var(--game-card);color:var(--game-ink);overflow-wrap:anywhere}
html body.ff-mode-integrated .mode-guidance{border-left:3px solid #bd922f;font-size:.8rem;line-height:1.5;margin:10px 0}
html body.ff-mode-integrated :is(.mode-result-status,.mode-trade-receipt,.mode-recap) :is(h2,h3,p){margin:0 0 10px;color:var(--game-ink)}
html body.ff-mode-integrated :is(.mode-result-status,.mode-trade-receipt,.mode-recap) :is(p,small){color:var(--game-muted);font-size:.8rem;line-height:1.5}
html body.ff-mode-integrated .mode-result-status>strong{display:block;color:var(--mode-accent);font-size:1rem;margin-bottom:6px}
html body.ff-mode-integrated .mode-result-status a{color:var(--mode-accent);display:inline-flex;align-items:center;min-height:44px;margin-right:12px;font-weight:750;font-size:.8rem}
html body.ff-mode-integrated .mode-result-status button{margin-right:12px}
html body.ff-mode-integrated .mode-recap-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:15px 0}
html body.ff-mode-integrated .mode-recap-grid>div{min-width:0}
html body.ff-mode-integrated .mode-recap-grid :is(span,strong,small){display:block}
html body.ff-mode-integrated .mode-recap-grid span{color:var(--game-muted);font-size:.72rem;margin-bottom:5px}
html body.ff-mode-integrated .mode-recap-grid strong{font-size:1rem;color:var(--game-ink)}
html body.ff-mode-integrated .mode-recap summary{min-height:44px;align-content:center;cursor:pointer}
html body.ff-mode-integrated .mode-signings{list-style:none;padding:0;margin:0}
html body.ff-mode-integrated .mode-signings li{display:flex;justify-content:space-between;gap:12px;padding:10px 0;border-top:1px solid var(--game-line);font-size:.85rem}
html body.ff-mode-integrated .mode-signings small{display:block}
html body.ff-mode-integrated .mode-segments{display:flex;gap:8px;flex-wrap:wrap}
html body.ff-mode-integrated .mode-segments [aria-pressed="true"]{background:#f2d083;color:#262013;border-color:#d5b265}
html body.ff-mode-integrated .mode-target-reason{color:var(--mode-accent);font-size:.69rem;line-height:1.4;white-space:normal;margin-top:4px}
html body.ff-mode-integrated .tw-objective .mode-objective-progress{color:var(--mode-accent);font-variant-numeric:tabular-nums}
html body.ff-mode-integrated .mode-deal-stages{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:5px;list-style:none;padding:0;margin:14px 0}
html body.ff-mode-integrated .mode-deal-stages li{font-size:.68rem;color:var(--game-muted);line-height:1.35;padding:8px 3px;border-bottom:2px solid var(--game-line);overflow-wrap:anywhere}
html body.ff-mode-integrated .mode-deal-stages li>span{display:block;font-weight:850;margin-bottom:4px}
html body.ff-mode-integrated .mode-deal-stages [aria-current="step"]{color:var(--mode-accent);border-color:#bd922f;font-weight:800}
html body.ff-mode-integrated .mode-deal-stages .is-done{color:var(--game-ink);border-color:#6f987a}
html body.ff-mode-integrated .mode-receipt-heading{display:flex;justify-content:space-between;align-items:center;gap:10px}
html body.ff-mode-integrated .mode-match-context p{font-size:.78rem;margin:8px 0;color:var(--game-muted)}
html body.ff-mode-integrated .mode-form{display:flex;align-items:center;flex-wrap:wrap;gap:5px;margin:12px 0 6px}
html body.ff-mode-integrated .mode-form>span:first-child{margin-right:4px;font-size:.72rem;color:var(--game-muted)}
html body.ff-mode-integrated .mode-form>span:not(:first-child){display:grid;place-items:center;min-width:26px;height:26px;border-radius:5px;font-size:.72rem;font-weight:850;background:var(--game-soft);color:var(--game-ink)}
html body.ff-mode-integrated .mode-form>span.mode-form-w{background:#d8ecdf;color:#174d2d}
html body.ff-mode-integrated .mode-form>span.mode-form-l{background:#f3dddd;color:#792626}
html body.ff-mode-integrated .mode-form small{font-size:.65rem;color:var(--game-muted)}
html body.ff-mode-integrated .mode-career-timeline{margin:22px 0;padding:20px 0;border-block:1px solid var(--game-line);color:var(--game-ink)}
html body.ff-mode-integrated .mode-career-timeline h3{color:var(--game-ink);font-size:1rem;margin:0 0 12px}
html body.ff-mode-integrated .mode-career-timeline ol{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:10px;list-style:none;padding:0;margin:0}
html body.ff-mode-integrated .mode-career-timeline li{border-left:3px solid var(--game-line);padding:8px 12px;background:var(--game-card);border-radius:0 6px 6px 0}
html body.ff-mode-integrated .mode-career-timeline li:is(.is-premier,[aria-current]){border-left-color:#bd922f}
html body.ff-mode-integrated .mode-career-timeline :is(strong,span,b){display:block;overflow-wrap:anywhere}
html body.ff-mode-integrated .mode-career-timeline strong{font-size:1.1rem;color:var(--game-ink)}
html body.ff-mode-integrated .mode-career-timeline span{font-size:.7rem;color:var(--game-muted);margin:5px 0}
html body.ff-mode-integrated .mode-career-timeline b{font-size:.75rem;color:var(--mode-accent)}
html body.ff-mode-integrated.ff-dynasty .screen-switcher{display:flex;flex-wrap:wrap;align-items:start;gap:5px}
html body.ff-mode-integrated.ff-dynasty .screen-tab{flex:0 1 auto;min-width:70px}
html body.ff-mode-integrated .mode-career-more{margin-left:auto;min-width:70px;font-size:.8rem}
html body.ff-mode-integrated .mode-career-more>summary{min-height:44px;padding:12px;cursor:pointer;color:var(--game-muted)}
html body.ff-mode-integrated .mode-career-more .screen-tab{display:block;margin:0}
@media(max-width:760px){
  html body.ff-mode-integrated.ff-forge-five.forge-five-active .mode-heading{padding:7px 0}
  html body.ff-mode-integrated.ff-forge-five.forge-five-active .mode-heading h1{font-size:1.2rem}
  html body.ff-mode-integrated.ff-forge-five .scorebar{padding:6px 0}
  html body.ff-mode-integrated.ff-forge-five .auction-phasebar{gap:3px;margin:0}
  html body.ff-mode-integrated.ff-forge-five .phase-chip{padding:5px 2px;font-size:.65rem}
  html body.ff-mode-integrated.ff-forge-five .phase-chip small{font-size:.55rem}
  html body.ff-mode-integrated.ff-forge-five .panel-head{margin:0 0 5px}
  html body.ff-mode-integrated.ff-forge-five .panel-head h2{font-size:1rem}
  html body.ff-mode-integrated.ff-forge-five .reveal-preference{margin:0 0 4px;padding:0;font-size:.7rem}
  html body.ff-mode-integrated.ff-forge-five .player-card-layout{display:grid;grid-template-columns:82px minmax(0,1fr);gap:10px}
  html body.ff-mode-integrated.ff-forge-five .player-art{height:125px;min-height:0;max-height:125px}
  html body.ff-mode-integrated.ff-forge-five .player-art figcaption{display:none}
  html body.ff-mode-integrated.ff-forge-five .player-card h2{font-size:1.05rem;line-height:1.15}
  html body.ff-mode-integrated.ff-forge-five .player-top{display:block}
  html body.ff-mode-integrated.ff-forge-five .player-card-badges{margin-top:5px}
  html body.ff-mode-integrated.ff-forge-five :is(.position-badge,.overall-badge){min-height:28px;min-width:40px;padding:3px 6px}
  html body.ff-mode-integrated.ff-forge-five .overall-badge{display:flex;gap:5px;align-items:center}
  html body.ff-mode-integrated.ff-forge-five .overall-badge strong{font-size:1rem}
  html body.ff-mode-integrated.ff-forge-five .attributes{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:3px;margin-top:7px}
  html body.ff-mode-integrated.ff-forge-five .attribute{display:block;text-align:center;padding:4px 2px}
  html body.ff-mode-integrated.ff-forge-five .attribute i{display:none}
  html body.ff-mode-integrated.ff-forge-five .attribute span{font-size:.56rem}
  html body.ff-mode-integrated.ff-forge-five .attribute strong{font-size:.8rem}
  html body.ff-mode-integrated .mode-budget-guide{font-size:.7rem;margin:5px 0 8px}
  html body.ff-mode-integrated .mode-recap-grid{grid-template-columns:1fr;gap:12px}
  html body.ff-mode-integrated :is(.mode-recap,.mode-trade-receipt,.mode-result-status){padding:15px}
  html body.ff-mode-integrated.ff-dynasty .screen-tab{min-width:60px;padding:9px 8px}
}
