.preference-controls{display:flex;align-items:center;gap:6px;margin-left:auto}.preference-button{width:34px;height:34px;border:1px solid #315566;border-radius:50%;display:grid;place-items:center;background:#071923;color:#eaf8fd;font-size:11px;font-weight:800;line-height:1;transition:.15s}.preference-button:hover{border-color:var(--lime);color:var(--lime);transform:translateY(-1px)}.theme-toggle{font-size:16px}.legal-links{display:flex;justify-content:center;align-items:center;gap:10px;padding:17px 20px 22px;color:var(--muted);font-size:11px;background:var(--bg);border-top:1px solid var(--line-soft)}.legal-links a:hover{color:var(--lime)}
[data-theme="light"]{color-scheme:light;--bg:#eef4f5;--panel:#fff;--line:#c8d8dc;--line-soft:#dce7e9;--ink:#10242d;--muted:#5f7480;--lime:#5d9f00;--cyan:#007f9b;--green:#008b61;--red:#bb314a}
[data-theme="light"] body{background:radial-gradient(ellipse at 55% 4%,#cdebf055,transparent 60%),var(--bg);color:var(--ink)}[data-theme="light"] .topbar{background:#fffffff2;border-color:#c6d9de;box-shadow:0 5px 20px #24404a0c}[data-theme="light"] .brand>svg{color:#6aa900}[data-theme="light"] .topnav{color:#506975}[data-theme="light"] .global-search,[data-theme="light"] .directory-search,[data-theme="light"] .directory-tools select,[data-theme="light"] .compare-selectors select,[data-theme="light"] .field input,[data-theme="light"] .field select,[data-theme="light"] .field textarea,[data-theme="light"] .review-controls select,[data-theme="light"] .review-controls input{background:#fff;color:#18313b;border-color:#bdd1d6}[data-theme="light"] .app-nav{background:linear-gradient(160deg,#fff,#e7eff1)}[data-theme="light"] .app-nav>a,[data-theme="light"] .app-nav>button{color:#49616d}[data-theme="light"] .app-nav .active{background:linear-gradient(90deg,#78b91f25,#dbecef);color:#4d8700}[data-theme="light"] .app-nav>a:hover,[data-theme="light"] .app-nav>button:hover{background:#dce9ec;color:#122832}
[data-theme="light"] .panel,[data-theme="light"] .contribute-intro,[data-theme="light"] .contribute-form,[data-theme="light"] .contribution-card,[data-theme="light"] .player-card,[data-theme="light"] .team-card,[data-theme="light"] .event-card,[data-theme="light"] .section-panel,[data-theme="light"] .affiliation-card,[data-theme="light"] .h2h-card{background:linear-gradient(145deg,#fff,#f4f8f9);border-color:#c7d8dc;box-shadow:0 8px 26px #34515e0a}[data-theme="light"] .player-visual,[data-theme="light"] .portrait-small,[data-theme="light"] .leader-photo,[data-theme="light"] .compare-portrait{background:#d7e5e8}[data-theme="light"] .player-bottom,[data-theme="light"] .prospect-row,[data-theme="light"] .upcoming-row,[data-theme="light"] .scouting-note,[data-theme="light"] .contribution-meta span{background:#f7fafb;border-color:#d0dee2;color:#233c47}[data-theme="light"] .btn.outline{background:#fff;color:#17323d;border-color:#4f9eaa}[data-theme="light"] .preference-button{background:#fff;color:#17323d;border-color:#aec8ce}[data-theme="light"] .source-link,[data-theme="light"] .directory-footnote,[data-theme="light"] .scope-help{color:#647b86}[data-theme="light"] table,[data-theme="light"] th,[data-theme="light"] td{border-color:#d4e0e3}[data-theme="light"] th{background:#e9f1f3;color:#28424d}[data-theme="light"] dialog{background:#fff;color:#17303a}[data-theme="light"] .legal-links{background:#e9f0f2}
@media(max-width:900px){.preference-controls{margin-left:auto}.preference-button{width:31px;height:31px}.legal-links{padding-bottom:72px}}
