/* Requested repairs only. Every rule is light-mode and route/component scoped. */
@layer ys-launch304 {
:root[data-ys-theme=light] #root .league-workspace input[type=search] {
 background-color:#d4e1ce!important;color:#242a26!important;border-color:#9caf98!important;
}
:root[data-ys-theme=light] #root .league-workspace input[type=search]::placeholder {color:#52604f!important;opacity:1}
:root[data-ys-theme=light] #root :is(.member-shell,.app-layout)[data-page=games] .league-workspace :is(button,select),
:root[data-ys-theme=light] #root :is(.member-shell,.app-layout)[data-page=roster] .roster-screen :is(button,select),
:root[data-ys-theme=light] #root :is(.member-shell,.app-layout)[data-page=standings] main select,
:root[data-ys-theme=light] #root :is(.member-shell,.app-layout)[data-page=standings] main option,
:root[data-ys-theme=light] #root :is(.member-shell,.app-layout)[data-page=calendar] .native-calendar :is(button,select),
:root[data-ys-theme=light] #root :is(.member-shell,.app-layout)[data-page=notifications] main>section button,
:root[data-ys-theme=light] #root :is(.member-shell,.app-layout)[data-page=help] main>section button {
 background-color:#d4e1ce!important;color:#242a26!important;border-color:#9caf98!important;
}
:root[data-ys-theme=light] #root :is(.member-shell,.app-layout)[data-page=games] .league-tabs {display:flex!important;gap:8px!important;flex-wrap:wrap!important}
:root[data-ys-theme=light] #root :is(.member-shell,.app-layout)[data-page=games] .league-tabs button {display:inline-flex!important;min-height:40px!important;padding:8px 16px!important}
:root[data-ys-theme=light] #root :is(.member-shell,.app-layout)[data-page=games] .league-tabs button[aria-selected=true] {border:2px solid #21703c!important;font-weight:700!important}
:root[data-ys-theme=light] #root :is(.member-shell,.app-layout)[data-page=roster] .native-player-grid {display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important}
:root[data-ys-theme=light] #root :is(.member-shell,.app-layout)[data-page=roster] .native-player-card {min-width:0!important;background:#e3ddd5!important;color:#242a26!important;padding:12px!important}
:root[data-ys-theme=light] #root :is(.member-shell,.app-layout)[data-page=view-stats] main :is(.native-season-summary,.native-team-performance,.native-season-stats,.stat-card,.stat-tile,.team-performance,.summary-card) {background:#e3ddd5!important;color:#242a26!important}
:root[data-ys-theme=light] #root :is(.member-shell,.app-layout)[data-page=view-stats] main :is(h1,h2,h3,p,th,td,label,small,strong) {color:#242a26!important}
:root[data-ys-theme=light] #root :is(.member-shell,.app-layout)[data-page=view-stats] .native-season-stats :is(button,select,thead,th) {background:#d4e1ce!important;color:#242a26!important}
:root[data-ys-theme=light] #root :is(.member-shell,.app-layout)[data-page=calendar] .native-calendar,
:root[data-ys-theme=light] #root :is(.member-shell,.app-layout)[data-page=calendar] .native-calendar :is(.native-month,.native-week,.native-day-cell,.native-weekday,.native-segment) {background:#e3ddd5!important;color:#242a26!important}
:root[data-ys-theme=light] #root :is(.member-shell,.app-layout)[data-page=calendar] .native-calendar :is(h1,h2,h3,label,b,.native-date) {color:#242a26!important}
/* Retain event/team color encoding; only the calendar canvas is cream. */
:root[data-ys-theme=light] #root :is(.member-shell,.app-layout)[data-page=calendar] .native-calendar .native-event {background:revert-layer!important;color:revert-layer!important}
:root[data-ys-theme=light] #root .roster-light378 .roster-player-open378 {display:flex!important;flex-direction:column!important;align-items:flex-start!important;text-align:left!important;width:100%!important;gap:6px!important;padding:12px!important}
:root[data-ys-theme=light] #root .roster-light378 .roster-details378 {position:fixed!important;inset:0!important;z-index:2000!important;background:#0008!important;display:flex!important;align-items:center!important;justify-content:center!important;padding:20px!important}
:root[data-ys-theme=light] #root .roster-details378>div {background:#e3ddd5!important;color:#242a26!important;width:min(620px,100%)!important;max-height:85dvh!important;overflow:auto!important;padding:24px!important;border:1px solid #9caf98!important}
:root[data-ys-theme=light] #root .roster-details378 header {display:flex!important;align-items:center!important;justify-content:space-between!important}
:root[data-ys-theme=light] #root .roster-contact378 {display:grid!important;gap:6px!important;padding:12px 0!important;border-bottom:1px solid #9caf98!important}
}

@layer ys-launch304 {
:root[data-ys-theme=light] #root .roster-screen.roster-light378 .native-player-grid {display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important;align-items:start!important}
:root[data-ys-theme=light] #root .roster-screen.roster-light378 .native-player-card {margin:0!important;border:0!important;padding:0!important;min-width:0!important}
:root[data-ys-theme=light] #root .roster-light378 .roster-card-content380 {display:flex!important;align-items:center!important;gap:12px!important;width:100%!important}
:root[data-ys-theme=light] #root .roster-card-content380>span:last-child {display:flex!important;flex-direction:column!important;gap:6px!important;min-width:0!important;text-align:left!important}
:root[data-ys-theme=light] #root .player-photo380 {width:52px!important;height:52px!important;flex:0 0 52px!important;object-fit:cover!important;border-radius:12px!important}
:root[data-ys-theme=light] #root .photo-placeholder380 {display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;background:#e3ddd5!important;border:1px solid #21703c!important;color:#21703c!important;font-weight:800!important}
:root[data-ys-theme=light] #root .photo-placeholder380 small {font-size:8px!important}
:root[data-ys-theme=light] #root .detail-photo380 {margin:12px 0!important}
:root[data-ys-theme=light] #root .detail-photo380>button {padding:0!important;background:transparent!important;border:0!important}
:root[data-ys-theme=light] #root .detail-photo380 .player-photo380 {width:80px!important;height:80px!important}
:root[data-ys-theme=light] #root .photo-upload380 {display:block!important;margin:10px 0!important}
}

@layer ys-launch304 {
:root[data-ys-theme=light] #root .app-layout.native-web>.sidebar,
:root[data-ys-theme=light] #root .app-layout.native-web>.workspace>.topbar {background:#182b1e!important;background-image:none!important;color:#eef5ef!important}
:root[data-ys-theme=light] #root .app-layout.native-web>.sidebar :is(nav button,nav a,nav span,nav svg,.profile strong,details>summary,.nav-label) {color:#eef5ef!important}
:root[data-ys-theme=light] #root .app-layout.native-web>.sidebar nav :is(button,a):hover {background:#2c4734!important;color:#fff!important}
:root[data-ys-theme=light] #root .app-layout.native-web>.sidebar nav [aria-current=page] {background:#2c573a!important;color:#eef5ef!important;border-color:#39cc49!important}
:root[data-ys-theme=light] #root .app-layout.native-web>.sidebar :is(select,option) {background:#d4e1ce!important;color:#242a26!important;border-color:#9caf98!important}
:root[data-ys-theme=light] #root .app-layout.native-web>.workspace {padding:0!important;min-width:0!important}
:root[data-ys-theme=light] #root .app-layout.native-web>.workspace>.topbar {box-sizing:border-box!important;width:100%!important;max-width:none!important;margin:0!important;border:0!important;border-radius:0!important;box-shadow:none!important;align-items:center!important;gap:12px!important;padding:12px 16px!important}
:root[data-ys-theme=light] #root .app-layout.native-web>.workspace>.topbar :is(span,b,label) {color:#eef5ef!important}
:root[data-ys-theme=light] #root .app-layout.native-web>.workspace>.topbar :is(button,a.account-shortcut) {box-sizing:border-box!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;align-self:center!important;height:40px!important;min-height:40px!important;margin:0!important;padding:0 14px!important;background:transparent!important;background-image:none!important;color:#eef5ef!important;border:1px solid #607866!important;border-radius:4px!important;box-shadow:none!important;text-decoration:none!important;font-size:14px!important;line-height:20px!important}
:root[data-ys-theme=light] #root .app-layout.native-web>.workspace>.topbar :is(button,a.account-shortcut):hover {background:#2c4734!important;color:#fff!important}
:root[data-ys-theme=light] #root .app-layout.native-web>.workspace>.topbar :is(.app-back-button,a.account-shortcut) {min-width:90px!important}
:root[data-ys-theme=light] #root .app-layout.native-web>.workspace>.topbar button.workspace-refresh384 {width:40px!important;min-width:40px!important;padding:0!important;font-size:0!important}
:root[data-ys-theme=light] #root .app-layout.native-web>.workspace>.topbar button.workspace-refresh384:after {content:'⟳';font-size:24px;line-height:1}
:root[data-ys-theme=light] #root .app-layout.native-web>.workspace>.topbar label:has(select[aria-label="Sport"]),
:root[data-ys-theme=light] #root .app-layout.native-web>.workspace>.topbar label:has(select[aria-label="View layout"]) {display:none!important}
@media(min-width:901px){:root[data-ys-theme=light] #root .app-layout.native-web>.workspace>.topbar button.menu-button {display:none!important}}
:root[data-ys-theme=light] #root .app-layout.native-web .workspace-context :is(select,option) {background:#d4e1ce!important;color:#242a26!important;border-color:#9caf98!important}
}
