:root{--paper:#f8fbff;--line:#cbd8e4;--muted:#526578}
header{height:auto;min-height:68px;gap:14px;padding-top:10px;padding-bottom:10px}
.header-right{gap:10px;flex-wrap:wrap;justify-content:flex-end}
.header-shortcuts{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:6px}
.header-shortcuts button{border:1px solid #8da9bf;background:#213f56;color:#fff;padding:9px 12px;border-radius:6px;font-size:14px;font-weight:800;cursor:pointer;white-space:nowrap}
.header-shortcuts button.active{background:#ffd376;color:#182e42;border-color:#ffd376}
.panel{background:#f8fbff}.club-strip{background:#fff}
.club-logo{display:inline-grid;place-items:center;flex-shrink:0;width:32px;height:36px;background:var(--club);color:white;border:2px solid #fff;outline:1px solid var(--club);border-radius:8px 8px 13px 13px;font:bold 18px serif;line-height:1}
.club-label{display:inline-flex;align-items:center;gap:9px;vertical-align:middle;white-space:normal}
.team-link{color:#143c60;background:transparent;border:0;padding:5px 0;text-align:left;font-weight:800;cursor:pointer;font-size:14px}
.table-wrap th{background:#183d59;color:#fff;font-size:14px}
.table-wrap tbody tr:nth-child(odd) td{background:#fff;color:#153349}
.table-wrap tbody tr:nth-child(even) td{background:#edf4fa;color:#153349}
.table-wrap tbody tr:nth-child(even) .player-link,.table-wrap tbody tr:nth-child(odd) .player-link{color:#075284}
.table-wrap td{border-bottom:1px solid #d8e3ed}
.roster-surface .table-wrap td:first-child,.roster-surface .table-wrap th:first-child{position:sticky;left:0;z-index:1;min-width:200px;border-right:2px solid #c8d8e6}
.roster-surface .table-wrap th:first-child{z-index:2}
.roster-views{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:16px}
.roster-views button{font-size:14px}
.roster-filters{display:flex;gap:18px;flex-wrap:wrap;align-items:end}
.roster-filters label{display:grid;gap:6px;font-size:14px}
.roster-filters select{padding:8px;background:white;border:1px solid #aabed0;border-radius:5px}
.ability-value{display:inline-flex;gap:6px;align-items:center;min-width:64px;justify-content:space-between}
.ability-value>b{color:#183d59;font-size:15px;font-variant-numeric:tabular-nums}
.order-columns section .swap-card:nth-of-type(even),.swap-card{background:#fff;color:#153349;border-color:#c7d8e6;border-left:4px solid #6289a7;border-radius:6px;padding:11px 9px}
.order-columns section .swap-card:nth-of-type(even) .player-link{color:#075284}
.swap-card .player-link{max-width:none;font-size:15px;font-weight:800;color:#075284}
.swap-card small{font-size:13px;color:#435e74}
.order-identity{display:flex;align-items:center;gap:8px 16px;flex-wrap:wrap}
.order-abilities{font-size:14px;line-height:1.9;color:#214965;display:block;background:#eaf3fa;padding:4px 8px;border-radius:5px}
.order-abilities b{color:#102c42;font-variant-numeric:tabular-nums}
.order-row select{min-width:0;width:100%;white-space:normal;text-overflow:ellipsis;background:white;color:#14344d;padding:10px 7px;border:1px solid #b5cada}
.roster-surface .player-link>span:last-child{min-width:100px}
.stadium-card{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;background:#e8f1f9;border:1px solid #c0d4e3;border-radius:6px;margin-top:18px;padding:12px 16px}
.stadium-card h4,.stadium-card p{margin:3px 0;font-size:14px}
.challenge-card{padding:18px;background:#fff;border:1px solid #bfd1df;border-top:4px solid #557caf;border-radius:7px;margin:20px 0}
.challenge-card h3{margin-top:0}.challenge-card>p{font-size:14px;line-height:1.8}
.challenge-select{display:grid;gap:10px}.challenge-select label{display:grid;gap:5px;font-size:14px}
.challenge-select select{width:100%;min-width:0;border:1px solid #b5cada;border-radius:4px;padding:9px;background:#f7fbff;color:#153349}
.challenge-options{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:10px;margin-top:15px}
.challenge-options>div{border:1px solid #d4e0ea;border-radius:5px;padding:12px;background:#f3f7fc}
.challenge-options h4{font-size:15px;margin:0 0 8px}.challenge-options p{font-size:14px;line-height:1.8;margin:5px 0}
.challenge-options button{width:100%;font-size:14px;padding:10px}
.debt-caption{display:block;color:#9b3142;font-size:12px;font-weight:600}
.debt-card{padding:16px;background:#fff;border:1px solid #c4d4e2;margin:18px 0}
.debt-card input{max-width:170px;border:1px solid #acbfd0;border-radius:4px;padding:8px;margin:5px}
.debt-card label{display:block}.debt-card p{font-size:14px;line-height:1.8}
.calendar-day>b{display:flex;gap:4px;flex-wrap:wrap;justify-content:space-between;align-items:center}
.calendar-day .calendar-result{font-size:17px;line-height:1.3}.calendar-score{font-size:13px;color:#284b68}
.calendar-day{background:#fff;min-height:105px}.calendar-day span{font-size:13px}
.result-digest{list-style:none;padding:0;margin:0}
.result-digest li{display:flex;align-items:center;gap:10px;flex-wrap:wrap;padding:11px 0;border-bottom:1px solid #d1deea;font-size:14px}
.result-digest strong{font-size:17px;font-variant-numeric:tabular-nums;min-width:84px}
.result-date{min-width:100px;color:#526578}.result-digest .club-logo{width:25px;height:29px;font-size:14px}
.digest-finance{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.digest-finance>div{background:#eaf2f9;padding:12px;border-radius:5px;font-size:14px;color:#3b5870}
.digest-finance strong{display:block;margin-top:5px;color:#153349;font-size:16px;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}
.digest-finance .news-bad{color:#a02838}.digest-finance .news-good{color:#126044}
.daily-notices{padding-left:20px;line-height:1.8}.daily-notices li{margin:9px 0;font-size:15px}
.news-digest h3{font-size:18px;margin:20px 0 10px}.news-digest>p{font-size:14px;line-height:1.8}
#newsDialog{max-height:88dvh;overflow:auto;background:#f8fbff}#newsDialog .dialog-top{position:sticky;top:0;background:#f8fbff;z-index:3;padding-bottom:12px;border-bottom:1px solid #ccdae6}
#newsDialog .dialog-top h2{font-size:20px;margin:0}#newsDialog .dialog-top button{font-size:14px}
.training-results{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:5px 14px;background:#fff;padding:14px;border:1px solid #d4e0e9}
.training-results p{margin:4px 0;font-size:14px}
.news-item{font-size:14px;line-height:1.7}.news-item span{overflow-wrap:anywhere}.news{max-height:580px;overflow:auto}
button:focus-visible,select:focus-visible,input:focus-visible{outline:3px solid #df9c21;outline-offset:3px}
@media(min-width:1000px){.content-grid{grid-template-columns:minmax(0,1fr) 280px}.order-columns{grid-template-columns:1fr}}
@media(max-width:700px){header{padding:10px 12px;align-items:flex-start;flex-wrap:wrap}.header-right{margin-left:auto}.header-shortcuts button{padding:8px;font-size:14px}.header-right .audio-button{font-size:12px}.season-label{display:none}.logo{font-size:16px}.calendar-day{padding:5px 3px;min-height:96px;gap:4px}.calendar-day span{font-size:12px}.calendar-day .calendar-result{font-size:15px}.calendar-grid{gap:3px}.digest-finance{grid-template-columns:1fr}.digest-finance>div{display:flex;justify-content:space-between;align-items:center;gap:10px}.digest-finance strong{margin:0;font-size:16px}.order-abilities{font-size:14px}.dialog-top{gap:8px}#newsDialog .dialog-top h2{font-size:18px}.roster-surface .table-wrap td:first-child,.roster-surface .table-wrap th:first-child{min-width:175px;max-width:190px}.swap-card .player-link{font-size:14px}}
