:root{color-scheme:light;--page:#f1f4f6;--surface:#fff;--soft:#f6f8fa;--text:#172a38;--muted:#526976;--ink:#102a3b;--green:#126c55;--line:#dce3e7;--field-line:#acbdc7;--hover:#eaf3ee;--badge-bg:#edf4f0;--badge-text:#21614b;--notice-bg:#fff9eb;--notice-text:#66552c;--error-bg:#fff0ee;--error-text:#a12424}
:root[data-theme=dark]{color-scheme:dark;--page:#101a23;--surface:#192732;--soft:#21323e;--text:#e9f0f4;--muted:#afc0ca;--ink:#e9f0f4;--green:#71d7b1;--line:#354854;--field-line:#56717f;--hover:#294438;--badge-bg:#233f36;--badge-text:#9be4c8;--notice-bg:#3b3320;--notice-text:#f0d89a;--error-bg:#452d2d;--error-text:#ffb7ac}
:root,body{background:var(--page);color:var(--text)}button,input,select,dialog,.card,.panel,.topbar{background:var(--surface);color:var(--text)}input,select{border-color:var(--field-line)}button:hover{background:var(--hover)}button.primary{background:#126c55;border-color:#126c55;color:#fff}button.primary:hover{background:#0c5845}button.danger{color:var(--error-text)}.sidebar{background:#102a3b}.muted,.card span,.empty,footer,th{color:var(--muted)}th{background:var(--soft)}td{border-color:var(--line)}.badge{background:var(--badge-bg);color:var(--badge-text)}.notice{background:var(--notice-bg);color:var(--notice-text)}.error{background:var(--error-bg);color:var(--error-text)}.success{background:var(--badge-bg);color:var(--badge-text)}.pill{background:var(--soft)}dialog{color:var(--text)}.theme-control{font-size:11px;gap:4px;min-width:140px}.theme-control select{font-size:13px;padding:7px;width:auto}.content>.theme-control{margin:0 0 28px auto;max-width:185px}.team-label{display:inline-flex;align-items:center;gap:10px;vertical-align:middle;font-weight:600}.logo-tile{display:inline-grid;place-items:center;position:relative;width:44px;height:44px;min-width:44px;border-radius:8px;background:#fff;border:1px solid #dce3e7;vertical-align:middle;overflow:hidden;color:#284452}.logo-tile img{position:absolute;object-fit:contain;width:36px;height:36px}.logo-fallback{font-size:12px;font-weight:700}.logo-tile:has(img) .logo-fallback{visibility:hidden}.logo-edit{display:block;margin-top:8px;font-size:11px;padding:4px 7px}.conference-heading{display:flex;align-items:center;gap:12px;margin-bottom:14px}.conference-heading .logo-tile{width:56px;height:48px}.conference-heading img{width:48px;height:40px}.preset-review{max-height:44vh;overflow:auto;border-block:1px solid var(--line);padding:18px 0}.preset-review h3{font-size:21px}.standings-note{margin:24px 0 0}.rules-panel{margin-top:22px;font-size:14px;line-height:1.7}.rules-panel summary{cursor:pointer;font-weight:600}.rules-panel p:first-of-type{margin-top:16px}.tie-status{font-size:12px;color:var(--notice-text);background:var(--notice-bg);padding:5px 8px;border-radius:4px}.tablewrap input{min-width:85px;max-width:140px}.tablewrap td .team-label{margin-right:5px}dialog{max-height:90vh;overflow:auto}.toolbar label{min-width:145px}@media(max-width:650px){.theme-control{min-width:125px}.logo-tile{width:38px;height:38px;min-width:38px}.logo-tile img{width:32px;height:32px}.topbar .row{width:100%;gap:9px}.team-label{gap:7px}.conference-heading{font-size:24px}}
.conference-heading .logo-tile{background:#334a5b;color:#fff;border-color:#526977}
.playoff-grid{display:grid;grid-template-columns:repeat(4,minmax(240px,1fr));gap:18px;overflow-x:auto;padding:24px 0;align-items:start}.playoff-grid .stack{align-content:start}.bracket-card{padding:18px}.bracket-card .score{margin:18px 0 8px}.bracket-card .team-label{white-space:normal}.movement-pair{padding:18px 0;border-bottom:1px solid var(--line)}
.stack,.stack>.panel{min-width:0}
.team-name-link{padding:0;border:0;background:transparent;color:inherit;font:inherit;text-align:left;cursor:pointer;text-decoration:underline;text-decoration-color:transparent;text-underline-offset:4px}.team-name-link:hover{background:transparent;text-decoration-color:currentColor}.team-name-link:focus-visible{outline:2px solid var(--green);outline-offset:4px}.team-banner{background:linear-gradient(120deg,#173e65,#102a3b 70%);color:white;border:1px solid #41688e;border-radius:18px;padding:32px;display:flex;justify-content:space-between;align-items:center;gap:24px;margin-bottom:28px}.team-identity{display:flex;align-items:center;gap:24px}.team-identity>.logo-tile{width:96px;height:96px;border-radius:50%;flex-shrink:0}.team-identity>.logo-tile img{width:80px;height:80px}.team-banner h1{color:white;margin:6px 0 12px}.team-banner .eyebrow{color:#bdcfdf}.team-ratings{display:flex;gap:12px}.team-ratings>div{border:2px solid #adcbeb;border-radius:50%;width:72px;height:72px;display:flex;flex-direction:column;align-items:center;justify-content:center}.team-ratings strong{font-size:24px}.team-ratings small{font-size:10px;letter-spacing:1px}.team-columns{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.1fr);gap:24px;align-items:start}.team-columns>.panel{min-width:0}.team-fixture{display:flex;align-items:center;gap:16px;padding:20px 0;border-bottom:1px solid var(--line)}.team-fixture>div:not(.team-result){min-width:0;flex:1}.team-fixture p{font-size:12px;margin:8px 0 0}.team-result{white-space:nowrap}.team-win{color:var(--green)}@media(max-width:1000px){.team-columns{grid-template-columns:1fr}.team-banner{flex-wrap:wrap}}@media(max-width:600px){.team-banner{padding:20px}.team-identity{gap:14px}.team-identity>.logo-tile{width:64px;height:64px}.team-identity>.logo-tile img{width:54px;height:54px}.team-banner h1{font-size:30px}.team-fixture{gap:9px;flex-wrap:wrap}.team-fixture .team-result{margin-left:auto}.team-ratings>div{width:60px;height:60px}}
.team-banner .row .logo-tile{background:#334a5b;border-color:#526977;color:white}
.team-tabs{display:flex;gap:6px;overflow-x:auto;margin:-12px 0 28px;border-bottom:1px solid var(--line);padding:0 0 8px}.team-tabs a{padding:12px 16px;white-space:nowrap;text-decoration:none;color:var(--muted);font-weight:700;border-bottom:3px solid transparent}.team-tabs a[aria-current]{color:var(--text);border-color:var(--green)}.team-tabs a:hover{background:var(--soft)}.team-home-extras,.team-stat-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;margin-bottom:24px}.team-home-extras .panel,.team-stat-grid .panel{min-width:0}.team-notes{white-space:pre-wrap}textarea{background:var(--surface);color:var(--text);border:1px solid var(--field-line);border-radius:6px;padding:12px;font:inherit;min-height:100px;width:100%;box-sizing:border-box}.team-banner .row [role=img] .logo-tile{background:#334a5b}.team-name-link{text-decoration:none}.team-name-link:hover{text-decoration:underline}@media(max-width:800px){.team-home-extras,.team-stat-grid{grid-template-columns:1fr}}
.team-banner{background:linear-gradient(115deg,var(--team-lightStart,#173e65),var(--team-lightEnd,#102a3b));border-color:var(--team-primary,#41688e);border-top:4px solid var(--team-secondary,#adcbeb);color:#fff}.team-banner h1,.team-banner .eyebrow{color:#fff}.team-banner .team-ratings>div{border-color:#fff;background:rgba(0,0,0,.12)}:root[data-theme=dark] .team-banner{background:linear-gradient(115deg,var(--team-darkStart,#173e65),var(--team-darkEnd,#102a3b))}
.coach-profile{margin-top:24px}.coach-profile .team-ratings>div{width:auto;min-width:100px;border-radius:0;border:0;border-left:1px solid var(--line);padding:16px}.coach-avatar{display:grid;place-items:center;width:100px;height:100px;background:var(--soft);border-radius:16px;font-weight:700}.career-stop{padding:16px;border:1px solid var(--line);border-radius:10px}.rivalry-card{margin-top:18px}.rivalry-trophy{display:block;max-width:190px;max-height:360px;object-fit:contain;margin:16px 0}progress{width:100%;height:16px;accent-color:var(--green);margin:20px 0}.coach-profile>.row>.row>.logo-tile{width:100px;height:100px}.coach-profile>.row>.row>.logo-tile img{width:96px;height:96px}

.gameday{padding:16px;margin:0 0 20px;border:1px solid currentColor;border-radius:12px}
.gameday-panel{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px;margin:16px 0}
.gameday-panel details{padding:10px;border:1px solid currentColor;border-radius:8px;min-width:0}
.gameday-panel summary{cursor:pointer;text-align:center}
.gameday-panel summary>strong{display:block;margin-bottom:10px;text-transform:uppercase;letter-spacing:.1em}
.gameday-panel .team-label{display:flex;flex-direction:column;white-space:normal}
.gameday-panel p{font-style:italic}.gameday small{display:block;opacity:.65}.gameday caption{text-align:left;font-weight:bold;padding:8px}
@media(max-width:900px){.gameday-panel{grid-template-columns:repeat(2,minmax(0,1fr))}}

.screenshot-dialog{width:min(1200px,95vw);max-height:90vh;overflow:auto}.screenshot-dialog small{display:block}.screenshot-dialog .tablewrap{margin:16px 0}

[hidden]{display:none!important}

.trophy-photo{margin:12px 0}.trophy-photo img{max-width:100%;height:180px;object-fit:contain;background:#fff;border-radius:10px}.trophy-photo figcaption{font-size:.75rem}.competition-history summary{display:flex;align-items:center;gap:12px;cursor:pointer}.competition-history summary img{width:42px;height:42px;object-fit:contain}

/* Shared visual refinement across all dynasty pages. */
:root{--radius:12px;--shadow:0 3px 16px #102a3b08}
body{line-height:1.5}h1{font-size:clamp(34px,3.2vw,46px);line-height:1.1;letter-spacing:-.015em}h2,h3{line-height:1.2}p:last-child{margin-bottom:0}
.shell{grid-template-columns:244px minmax(0,1fr)}.sidebar{padding:30px 18px;gap:28px}.sidebar nav{gap:4px}.sidebar nav button{padding:11px 13px;border-radius:8px;line-height:1.4}.sidebar nav button:hover{background:#ffffff0d;color:#fff}.sidebar nav button.active{border-radius:8px;background:#244454}.sidefoot{border-top:1px solid #ffffff20;padding-top:18px}
.topbar{padding:18px 30px;gap:14px}.content{padding:32px;max-width:1540px}.heading{align-items:flex-start;margin-bottom:24px}.heading>div{min-width:0}.heading .row{gap:8px}.heading .muted{max-width:70ch}.eyebrow{margin-bottom:8px}
.card,.panel{border-radius:var(--radius);box-shadow:var(--shadow);padding:24px;min-width:0}.cards{gap:16px}.card strong{font-variant-numeric:tabular-nums;line-height:1.2}.panel>h2{margin-bottom:20px}.stack{gap:24px}.content>.panel,.content>details{margin-bottom:24px}.content>.panel:last-child{margin-bottom:0}
button,input,select,textarea{border-radius:8px}button{line-height:1.35;min-height:42px}button:disabled{cursor:not-allowed}.smallbtn{min-height:34px}input,select,textarea{min-height:44px}textarea{font:inherit;color:var(--text);background:var(--surface);border:1px solid var(--field-line);padding:12px;max-width:100%}input[type=checkbox],input[type=radio]{min-height:0;accent-color:var(--green)}label{line-height:1.4}.toolbar{gap:12px;padding-bottom:4px}.toolbar select{max-width:100%}
.tablewrap{border:1px solid var(--line);border-radius:10px;max-width:100%;overscroll-behavior-x:contain}th{font-size:11px;letter-spacing:.07em;padding:13px 14px}td{padding:14px;line-height:1.45}tbody tr:hover{background:var(--soft)}table .score{font-size:15px}table button{box-shadow:none}.tablewrap .empty{white-space:normal}.logo-tile{flex-shrink:0}.team-name-link{min-height:0;border-radius:3px}.team-name-link:hover{color:var(--green)}.team-banner .team-name-link:hover{color:inherit}
.notice,.error,.success{border-radius:8px}.empty{background:var(--soft);border-radius:10px;line-height:1.7}.badge{letter-spacing:.055em;border-radius:6px}.muted{overflow-wrap:anywhere}.pair{gap:16px}.pair>span{min-width:0}.pair>span:last-child{text-align:right}
dialog{padding:28px;border-radius:16px;box-shadow:0 24px 80px #0005;overscroll-behavior:contain}dialog::backdrop{background:#081823b3}dialog h2{padding-bottom:16px;border-bottom:1px solid var(--line)}dialog .formgrid{gap:20px}dialog .row{gap:10px}
.team-tabs{gap:4px;padding:0 4px 8px;margin-bottom:24px;scrollbar-width:thin}.team-tabs a{white-space:nowrap;padding:12px 14px}.team-banner{box-shadow:var(--shadow)}.team-fixture:last-child{border-bottom:0}.team-result{font-variant-numeric:tabular-nums}.career-stop{border-radius:10px}.gameday{background:var(--soft);border-color:var(--line);padding:20px}.gameday-panel{gap:10px}.gameday-panel details{background:var(--surface);border-color:var(--line);padding:14px 10px}.gameday-panel details[open]{border-color:var(--green)}.gameday-panel summary>strong{font-size:11px}.gameday small{opacity:1;color:var(--muted)}.gameday-panel p{font-size:13px;line-height:1.65}.trophy-photo img{border:1px solid var(--line)}.trophy-photo figcaption{margin-top:7px;line-height:1.5}
.competition-history summary{padding:4px 0;min-height:52px}.competition-history[open] summary{margin-bottom:20px;padding-bottom:18px;border-bottom:1px solid var(--line)}.rules-panel summary{padding:8px 0}.bracket-card{box-shadow:none}.score{font-variant-numeric:tabular-nums}
@media(min-width:1100px){.sidebar{position:sticky;top:0;height:100dvh;overflow-y:auto;scrollbar-width:thin}}
@media(max-width:1100px){.shell{grid-template-columns:200px minmax(0,1fr)}.content{padding:24px}.heading{flex-wrap:wrap}.heading>.row{justify-content:flex-start}.topbar{padding:18px 24px}.formgrid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){.shell{display:block}.sidebar{padding:18px 16px;gap:18px}.brand{font-size:25px}.sidebar nav{display:flex;overflow-x:auto;gap:6px;padding-bottom:6px;scrollbar-width:thin}.sidebar nav button{flex-shrink:0;white-space:nowrap;min-height:44px}.sidefoot{display:none}.topbar{padding:16px;gap:12px}.topbar select{max-width:100%}.topbar>.row{width:100%;gap:8px}.content{padding:22px 16px}.heading{gap:16px}.heading .row{justify-content:flex-start;width:100%}.heading button{flex-grow:1}.panel,.card{padding:18px}.grid,.formgrid{grid-template-columns:minmax(0,1fr)}.cards{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.stack{gap:18px}.toolbar{align-items:stretch}.toolbar label{flex:1 1 100%;min-width:0}.toolbar select{width:100%;min-width:0}.toolbar button{flex-grow:1}dialog{padding:20px;width:calc(100% - 24px);max-height:92dvh}.team-identity{min-width:0}.team-banner h1{overflow-wrap:anywhere}.team-banner{padding:20px;gap:18px}.team-tabs a{padding:12px}.gameday{padding:14px}.gameday-panel{grid-template-columns:repeat(2,minmax(0,1fr))}.gameday-panel details:last-child:nth-child(odd){grid-column:1/-1}.competition-history summary{flex-wrap:wrap}.tablewrap{scrollbar-width:thin}td,th{padding:12px}.smallbtn{min-height:40px}}
@media(prefers-reduced-motion:no-preference){button,a{transition:background-color .15s,color .15s,border-color .15s}}

/* Review fixes: compact save cards and contrasting conference badges. */
.grid{align-items:start}.competition-history .logo-tile{background:#334a5b;border-color:#526977;color:white}.content>h2{margin-top:28px}.content>#bowl-details{margin-top:14px;margin-bottom:4px}.tablewrap:focus-visible{outline:3px solid #d0a537;outline-offset:3px}
@media(max-width:700px){.topbar>.badge{white-space:normal}.team-identity>div{min-width:0}.team-banner .team-name-link{overflow-wrap:anywhere}}

.coach-profile>h3{margin-top:24px;margin-bottom:12px}
.coach-profile .career-stop>h3{margin-top:12px;margin-bottom:10px}
