/* The 1994 denim edition. Pitch geometry and existing drafts stay intact. */
body.hall-of-fame{--bg:#e9eef4;--panel:#fffdf6;--raised:#dbe5ef;--text:#162e4c;--muted:#526780;--line:#b5c7d9;--red:#bd2438;background:var(--bg)}
body.hall-of-fame[data-theme="dark"]{--bg:#102338;--panel:#19334e;--raised:#254867;--text:#fffaf0;--muted:#c0d0e0;--line:#486681;--red:#ff6c7e}
.hall-of-fame #builderIntro{background-color:#285484;background-image:repeating-linear-gradient(115deg,transparent 0 2px,#ffffff06 2px 3px);color:#fffaf0;border-bottom:8px solid #c52b40;position:relative;overflow:hidden;padding:28px;border-radius:4px}
.hall-of-fame #builderIntro:after{content:'★ ★ ★';position:absolute;right:20px;top:-38px;font-size:clamp(100px,14vw,210px);letter-spacing:5px;transform:skew(-13deg) rotate(-14deg);color:#fffaf022;pointer-events:none}
.hall-of-fame #builderIntro>*{position:relative;z-index:1}.hall-of-fame #headline,.hall-of-fame #headline span{color:#fffaf0}.hall-of-fame #heroSub{color:#e3edf6}
.hall-of-fame #builderSetup{border-top:3px solid #f8f3e7}.hall-of-fame #builderCoach{color:var(--text)}
.hall-of-fame [data-kit-style]:not([data-kit-style="faces"]),.hall-of-fame .kit-controls:has([data-goalkeeper-kit]){display:none}
.hall-of-fame .kit-controls:has([data-kit-style]):after{content:'Legend jerseys coming soon';font-size:12px;color:var(--muted)}
.hall-of-fame .avatar{background:#dae4ee;border:1px solid #a7bbd1}.hall-of-fame #legendsBuilder.active{background:#285484;color:#fffaf0;border-color:#285484}
.hall-of-fame #dataFreshness{display:none}.hall-of-fame #planOpponent,.hall-of-fame #saveForMatch,.hall-of-fame #matchPlanNote{display:none}
/* One complete USA '94 palette, independent of the visitor's usual theme. */
body.hall-of-fame{color-scheme:light;--bg:#244f7d;--panel:#f5f0e2;--raised:#e2dfd2;--text:#172f4c;--muted:#475c72;--line:#8296a7;--red:#b7253c;--action:#b7253c;--motif:url('legend-stars.svg');--motif-size:1200px 36px;background-color:var(--bg);background-image:repeating-linear-gradient(112deg,#ffffff04 0 1px,transparent 1px 4px),repeating-linear-gradient(22deg,#00000006 0 1px,transparent 1px 5px);color:var(--text)}
body.hall-of-fame #themeToggle{display:none!important}
body.hall-of-fame #siteHeader{background-color:var(--panel);border-bottom:5px solid var(--red);border-top-width:36px;background-position:center -36px;height:auto;min-height:110px}
body.hall-of-fame #builderIntro{border:2px solid #f5f0e2;border-bottom:8px solid var(--red);box-shadow:6px 6px 0 #102b49;border-radius:0}
body.hall-of-fame #headline{font-style:italic;letter-spacing:-.02em;text-shadow:3px 3px 0 #133657}
body.hall-of-fame :is(#builderSetup,#poolPanel,#squadPanel,#matchCentre,#sharedPage,#communityPage){background:var(--panel);color:var(--text);border:2px solid #102b49;border-radius:0;box-shadow:5px 5px 0 #102b49}
body.hall-of-fame :is(.section-title,.panel-heading,.group-title,.list-head){border-radius:0;border-bottom:2px solid var(--red)}
body.hall-of-fame :is(h2,h3,.group-title,.builder-switch button){font-family:var(--heading);letter-spacing:.025em}
body.hall-of-fame :is(.eyebrow,.panel-step,.kit-label,.player-meta,.position-tag,.pool-bottom,.squadHint){font-family:'Courier New',monospace;font-weight:700}
body.hall-of-fame :is(button,.button-link){border-radius:0;box-shadow:2px 2px 0 #172f4c}
body.hall-of-fame button:active{box-shadow:none}
body.hall-of-fame :is(input,select,textarea){background:#fffdf5;color:#172f4c;border:1px solid #8296a7;border-radius:0}
body.hall-of-fame :is(.player,.player-card,.squad-player,.bench-player,.shared-player,.depth-row){background:var(--panel);color:var(--text);border-color:var(--line)}
body.hall-of-fame :is(dialog,.presentation-shell,.presentation-header,.presentation-body,.presentation-controls,.player-board-group){background:var(--panel);color:var(--text);border-color:var(--line)}
body.hall-of-fame dialog{border:3px solid #172f4c;border-top:8px solid var(--red);border-radius:0;box-shadow:8px 8px 0 #102b49}
body.hall-of-fame :is(.slot,.shared-slot,.presentation-slot,.bench-pick,.text-button){box-shadow:none}
body.hall-of-fame #siteFooter{background:#142e4d;color:#fffaf0;border-top:6px solid #b7253c;padding:24px}
body.hall-of-fame #siteFooter :is(a,button,span,small){color:#fffaf0}
body.hall-of-fame .mobile-dock{background:var(--panel);border-top:4px solid var(--red)}
@media(max-width:640px){body.hall-of-fame #builderIntro{padding:20px}body.hall-of-fame :is(#builderSetup,#poolPanel,#squadPanel){box-shadow:3px 3px 0 #102b49}body.hall-of-fame #headline{text-shadow:2px 2px 0 #133657}}

/* Both 1994 editions use readable light surfaces, with kit artwork as trim. */
#legendThemeSwitch{display:none}
body.hall-of-fame #legendThemeSwitch{display:flex;gap:6px;align-items:center;flex-wrap:wrap}
body.hall-of-fame #legendThemeSwitch button{font-size:12px;padding:8px 10px;background:#fffdf6;color:#172f4c;border:1px solid #172f4c}
body.hall-of-fame #legendThemeSwitch button[aria-pressed="true"]{background:#172f4c;color:#fffdf6;border-color:#172f4c}
body.hall-of-fame #siteHeader::before{top:-36px;height:36px;background-size:1200px 36px;background-image:var(--motif)}
body.hall-of-fame :is(.list-head,.local-note,.view-tabs,.panel-heading,.group-title){background:var(--raised);color:var(--text)}
body.hall-of-fame :is(.player-meta,.kit-label,.pool-bottom,.squadHint,.empty,.squad-empty){color:var(--muted)}
body.hall-of-fame #legendsBuilder.active,body.hall-of-fame #legendsBuilder.active span{color:#fffdf6}
body.hall-of-fame #siteFooter strong{color:#fffdf6}
body.hall-of-fame :is(button,input,select,textarea):focus-visible{outline:3px solid #c51e36;outline-offset:3px}
body.hall-of-fame[data-legend-theme="home"]{--bg:#eeeae3;--panel:#fffdf6;--raised:#e9e6de;--text:#17243f;--muted:#49556a;--red:#b51e33;--action:#b51e33;--motif:url('legend-home.svg?v=208');background-image:none}
body.hall-of-fame[data-legend-theme="home"] #siteHeader::before{background-size:200px 150px;background-position:center 45%}
body.hall-of-fame[data-legend-theme="home"] #builderIntro{background-color:#fffdf6;background-image:linear-gradient(90deg,#fffdf6 55%,#fffdf600 90%),url('legend-home.svg?v=208');background-repeat:no-repeat;background-size:100% 100%,42% 100%;background-position:center,right center;border-color:#17243f;border-bottom-color:#b51e33;color:#17243f}
body.hall-of-fame[data-legend-theme="home"] #builderIntro:after{display:none}
body.hall-of-fame[data-legend-theme="home"] :is(#headline,#headline span){color:#17243f;text-shadow:none}
body.hall-of-fame[data-legend-theme="home"] #heroSub{color:#35445c;max-width:65%}
body.hall-of-fame[data-legend-theme="home"] #legendsBuilder.active{background:#b51e33;border-color:#b51e33}
@media(max-width:640px){body.hall-of-fame #legendThemeSwitch{width:100%}body.hall-of-fame[data-legend-theme="home"] #heroSub{max-width:85%}body.hall-of-fame[data-legend-theme="home"] #builderIntro{background-size:100% 100%,35% 100%;background-image:linear-gradient(90deg,#fffdf6 65%,#fffdf688),url('legend-home.svg?v=208')}}

/* Repeat the small vertical jersey ribbons across the complete header. */
body.hall-of-fame[data-legend-theme="home"] #siteHeader::before{background-image:url("legend-home.svg?v=208");background-size:200px 150px;background-position:center 45%;background-repeat:repeat-x}

/* Show a whole wave in each small header ribbon, at every viewport width. */
body.hall-of-fame[data-legend-theme="home"] #siteHeader::before{background-size:160px 36px;background-position:center top}

/* Original gentle ribbon silhouette, repeated with generous spacing. */
body.hall-of-fame[data-legend-theme="home"] #siteHeader::before{background-image:url("legend-header-ribbon.svg?v=210");background-size:80px 36px;background-position:center top;background-repeat:repeat-x}

/* Keep the light edition header trim blank. */
body.hall-of-fame[data-legend-theme="home"] #siteHeader::before{background-image:none;background-color:var(--panel)}

#legendsBuilder .hof-beta{display:inline-block;vertical-align:middle;margin-left:7px;padding:3px 6px;border:1px solid currentColor;border-radius:2px;font:700 10px/1.2 Arial,sans-serif;letter-spacing:.08em;text-transform:uppercase;color:inherit;background:transparent}
