/* SWL daylight palette. Paint only: existing sizes, layout and game behaviour stay intact.
   Purple = action / Achieved. Teal = Perfect. Amber = streaks and prizes.
   All colours are chosen for pale surfaces; no inversion/filter is used. */
#themeToggle{display:inline-flex;align-items:center;justify-content:center;flex:0 0 40px;width:40px;height:40px;min-height:40px;padding:9px;border-radius:10px}
#themeToggle svg{display:block;width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
html[data-theme="light"]{
 color-scheme:light;--bg:#f7f6fa;--panel:#fff;--text:#272238;--muted:#706a7d;--line:#dfdae8;
 --purple:#6945a0;--mint:#17695c;--pink:#9c4565;
 --light-purple:#6945a0;--light-mint:#17695c;--light-pink:#9c4565;
 --light-soft:#f1edf6;--light-purple-bg:#eee6f8;--light-teal-bg:#e2f2ec;
 --light-gold:#956118;--light-gold-bg:#fff2d4;--light-blue:#345f9e;--light-rose:#9c4565;
}
html[data-theme="light"] body{background:radial-gradient(ellipse at 90% 0,#eee7f84d,transparent 44%),var(--bg);color:var(--text)}
html[data-theme="light"] :is(button,input,select,summary,a):focus-visible{outline-color:#8154b7}
html[data-theme="light"] ::selection{background:#ddd0ef;color:#272238}
html[data-theme="light"] :is(input,select){color-scheme:light;accent-color:var(--purple)}
html[data-theme="light"] input::placeholder{color:#7b7386;opacity:1}
html[data-theme="light"] .header{background:#f7f6faf5;border-color:var(--line)}
html[data-theme="light"] .logo img{filter:none}
html[data-theme="light"] .nav{background:#ede9f2;border-color:#ded7e7;box-shadow:0 8px 26px #3020460b}
html[data-theme="light"] .nav::before{background:#6945a0;box-shadow:0 2px 7px #6945a029}
html[data-theme="light"] .nav button[aria-pressed=true]{color:#fff}
html[data-theme="light"] :is(.quiet,.chip,.stepper button){background:#fff;border-color:var(--line);color:#5e536f}
html[data-theme="light"] :is(.quiet,.chip,.stepper button):hover{background:#eee6f8;border-color:#c5b1df}
html[data-theme="light"] .chip[aria-pressed=true]{color:#fff;background:#6945a0;border-color:#6945a0}
html[data-theme="light"] .primary{background:#6945a0;color:#fff;box-shadow:0 3px 10px #6945a01c}
html[data-theme="light"] .primary:hover{background:#593889;box-shadow:0 6px 18px #6945a02b}
html[data-theme="light"] .version-tag{background:#eee6f8;color:#6945a0;border-color:#d6c6e9}
html[data-theme="light"] :is(.scoring-lock-button,.scoring-lock-button[data-locked=true]){background:#eee6f8;color:#6945a0;border-color:#d4c4e8}
html[data-theme="light"] .swl-sound-toggle .swl-sound-icon{color:#6945a0}
html[data-theme="light"] .swl-sound-toggle[aria-pressed=false] .swl-sound-icon{color:var(--muted)}
html[data-theme="light"] .menu{background:#fff;border-color:var(--line);box-shadow:0 20px 60px #30204626}
html[data-theme="light"] .menu :is(button,a):hover{background:#f1edf6}
html[data-theme="light"] .warning{background:#fff2d4;color:#815213;border-color:#ddbc7e}
html[data-theme="light"] .live::before{background:#2b8a74;box-shadow:0 0 0 3px #e2f2ec}
html[data-theme="light"] :is(.board,.complex,.roster){background:#fff;border-color:var(--line);box-shadow:0 4px 18px #30204605}
html[data-theme="light"] :is(.empty-note,.choose){background:#f2edf8;border-color:#cdbbe3}
html[data-theme="light"] .league-stamp>div+div{border-color:var(--line)}
html[data-theme="light"] [style*="--accent:#c6a1ff"],html[data-theme="light"] [style*="--accent: #c6a1ff"]{--accent:#6945a0!important}
html[data-theme="light"] [style*="--accent:#a9caff"],html[data-theme="light"] [style*="--accent: #a9caff"]{--accent:#345f9e!important}
html[data-theme="light"] [style*="--accent:#ffadd9"],html[data-theme="light"] [style*="--accent: #ffadd9"]{--accent:#9c4565!important}
html[data-theme="light"] [style*="--accent:#a6e6dc"],html[data-theme="light"] [style*="--accent: #a6e6dc"]{--accent:#17695c!important}
html[data-theme="light"] .board-icon{background:#f1edf6;color:var(--accent,var(--purple))}
html[data-theme="light"] .max b{color:var(--accent,var(--purple))}
html[data-theme="light"] :is(.rank-row,.gymnast){background:#faf9fc;border-color:#e9e4ee}
html[data-theme="light"] :is(.rank-row,.gymnast):hover{background:#f1edf6;border-color:#c5b1df}
html[data-theme="light"] .avatar{color:#6945a0;background:#eee6f8;box-shadow:none}
html[data-theme="light"] .ranking .rank-row.gold{--metal:#956118;--tint:#fbedd2;--podium-rgb:194 145 53;--podium-bright:137 88 19}
html[data-theme="light"] .ranking .rank-row.silver{--metal:#4f637c;--tint:#e9eef6;--podium-rgb:128 151 183;--podium-bright:70 88 114}
html[data-theme="light"] .ranking .rank-row.bronze{--metal:#9a5835;--tint:#f7e8df;--podium-rgb:185 119 81;--podium-bright:142 78 44}
html[data-theme="light"] .medal{background:linear-gradient(105deg,var(--tint),#fff 85%)}
html[data-theme="light"] .medal .place{color:var(--metal)}
html[data-theme="light"] :is(.mystery,.filter-empty){border-color:#d8d0e2}
html[data-theme="light"] :is(.mystery-note,.board-scope,.scoring-lock-status){color:var(--muted)}
html[data-theme="light"] .v3-board-scope{border-color:#e9e4ee}
html[data-theme="light"] .v3-board-scope>span{background:#eee6f8;color:#6945a0;border-color:#d9cbed}
html[data-theme="light"] .v3-board-scope .v3-scope-age{background:#e7eef9;color:#345f9e;border-color:#cedbef}
html[data-theme="light"] :is(.v3-ranking-tail,.v3-category-rows,.roster-list){scrollbar-color:#c9bddb transparent}
html[data-theme="light"] .board-age-filter{color:#62566f}
html[data-theme="light"] .board-age-filter select{background:#fff;color:#272238;border-color:#d5c9e4}
html[data-theme="light"] .squad-family-switch button{background:#fff;border-color:#dfdae8;box-shadow:0 3px 12px #30204604}
html[data-theme="light"] .squad-family-switch button>small{color:#706a7d}
html[data-theme="light"] .squad-family-switch button:hover{border-color:#bfa9d9}
html[data-theme="light"] .squad-family-switch button[aria-pressed=true]{background:linear-gradient(120deg,#eee6f8,#f7f3fc);border-color:#a98acb;box-shadow:inset 0 1px #fff}
html[data-theme="light"] .squad-family-switch button[aria-pressed=true]>span{color:#6945a0}
html[data-theme="light"] .squad-family-switch button[aria-pressed=true]>small{color:#70568b}

/* The overall podium: champagne gold, cool silver and copper on porcelain. */
html[data-theme="light"] .overall.v3-board{background:radial-gradient(ellipse at 50% 18%,#f9edd744,transparent 60%),#fff;border-color:#e4d9c6}
html[data-theme="light"] .overall.v3-board::before{background:linear-gradient(90deg,transparent,#d4ae64,transparent)}
html[data-theme="light"] .overall .board-icon{background:#fff2d4;color:#956118;border-color:#ead6ae}
html[data-theme="light"] .v3-podium-label{color:#706a7d}
html[data-theme="light"] .v3-podium-place-1 .v3-podium-label{color:#956118}
html[data-theme="light"] .v3-podium-place-1 .v3-podium-stack::before{background:radial-gradient(ellipse,#efc16150 10%,#e9ad4428 40%,#f3cc7d0b 59%,transparent 73%)}
html[data-theme="light"] .overall .v3-podium .rank-row.medal{
 background:radial-gradient(ellipse at 50% 0%,rgb(var(--podium-rgb)/.15),transparent 70%),linear-gradient(150deg,#fff,#faf9fc)!important;
 border-color:rgb(var(--podium-rgb)/.46)!important;box-shadow:inset 0 1px #fff,0 8px 22px #3020460c!important;
}
html[data-theme="light"] .overall .v3-podium-place-1 .rank-row.medal{
 background:radial-gradient(ellipse at 40% 0%,#f4ce7a66,transparent 65%),linear-gradient(145deg,#fff8e5,#fffdf7 62%,#fbefd6)!important;
 border-color:#d5a442!important;box-shadow:inset 0 1px #fff,0 12px 32px #b6802320,0 0 28px #edbf5520!important;
}
html[data-theme="light"] .v3-podium-place-1 .podium-edge{background:conic-gradient(from var(--swl-gold-angle),#e6c07926 0deg,#bc801a85 48deg,#f0c668 85deg,#e6c07926 125deg 200deg,#c5861d85 240deg,#e5ad37 275deg,#e6c07926 315deg)}
html[data-theme="light"] .podium-leader{background:#f7e6ba;color:#805211;border-color:#d8b76f}
html[data-theme="light"] .podium-leader svg{filter:drop-shadow(0 1px 3px #d2a24430)}
html[data-theme="light"] .overall .v3-podium .rank-row.medal .place{color:var(--metal);text-shadow:none}
html[data-theme="light"] .overall .v3-podium-place-1 .rank-row.medal .place{color:#956118;text-shadow:none}
html[data-theme="light"] .overall .v3-podium .rank-row.medal .avatar{background:linear-gradient(145deg,var(--tint),#fff);color:var(--metal);border-color:rgb(var(--podium-rgb)/.6);box-shadow:inset 0 1px #fff,0 4px 15px #30204608}
html[data-theme="light"] .overall .v3-podium-place-1 .rank-row.medal .avatar{background:linear-gradient(145deg,#f7e3ad,#fff7df);color:#8a5915;border-color:#d2ac61;box-shadow:inset 0 1px #fff,0 0 24px #e9bf5e20}
html[data-theme="light"] .overall .v3-podium-place-1 .rank-row.medal .avatar::before{border-color:#dfbc77}
html[data-theme="light"] .overall .v3-podium .rank-row.medal .person strong{color:#272238;text-shadow:none}
html[data-theme="light"] .overall .v3-podium-place-1 .rank-row.medal .person strong{color:#5e3c14}
html[data-theme="light"] .overall .v3-podium .rank-row.medal :is(.person small,.score small){color:#706a7d}
html[data-theme="light"] .overall .v3-podium .rank-row.medal .score b{color:var(--metal);text-shadow:none}
html[data-theme="light"] .overall .v3-podium-place-1 .rank-row.medal .score b{color:#895a17;text-shadow:none}
html[data-theme="light"] .overall .v3-podium-place-1 .rank-row.medal .score small{color:#86693a}

/* Directory, profiles and uniform skill cards. */
html[data-theme="light"] :is(.v2-page-head p:not(.eyebrow),.directory-section-head>span,.directory-person small,.directory-points small,.directory-quick-label,.renewal-guide){color:#706a7d}
html[data-theme="light"] .directory-tools{background:#fff;border-color:#dfdae8;box-shadow:0 4px 18px #30204605}
html[data-theme="light"] .directory-search{background:#f7f5fa;border-color:#dfdae8}
html[data-theme="light"] .directory-search>span{color:#6945a0}
html[data-theme="light"] .directory-search input{color:#272238}
html[data-theme="light"] .directory-search:focus-within{outline-color:#a98acb}
html[data-theme="light"] .directory-card{background:#fff;border-color:#dfdae8;color:#272238;box-shadow:0 3px 12px #30204605}
html[data-theme="light"] .directory-card:hover{border-color:#bca4d6}
html[data-theme="light"] .directory-profile:hover{background:#6945a006}
html[data-theme="light"] .directory-avatar{background:#eee6f8;border-color:#d9cbed;color:#6945a0}
html[data-theme="light"] .directory-points b{color:#6945a0}
html[data-theme="light"] .directory-complex-tools{border-color:#e9e4ee}
html[data-theme="light"] .directory-complex-tools label{color:#5e536f}
html[data-theme="light"] .directory-complex-tools label span{color:#6945a0}
html[data-theme="light"] .directory-complex-tools select{background:#fff;color:#272238;border-color:#d5c9e4}
html[data-theme="light"] .directory-complex-tools p{color:#706a7d}
html[data-theme="light"] :is(.directory-quick-cell,.skill-cell){background:#f4f1f7;border-color:#d8d0e2;box-shadow:inset 0 1px #fff}
html[data-theme="light"] .directory-quick-skill{background:transparent;color:#62566f}
html[data-theme="light"] .directory-quick-cell.level-1{background:#eee6f8;border-color:#b69ad5}
html[data-theme="light"] .directory-quick-skill.level-1{color:#6945a0}
html[data-theme="light"] .directory-quick-cell.level-2{background:#e2f2ec;border-color:#8ebfae}
html[data-theme="light"] .directory-quick-skill.level-2{color:#17695c}
html[data-theme="light"] .directory-quick-cell.is-due{background:#f9eae6;border-color:#c78b7c}
html[data-theme="light"] :is(.directory-quick-renew,.skill-cell[data-due=true] .skill-renewal button){background:#f6dfd8;border-color:#ca9383;color:#8a4634}
html[data-theme="light"] :is(.directory-quick-days,.skill-cell[data-due=true] .renewal-date,.due-badge){color:#974c38}
html[data-theme="light"] .v2-empty{color:#706a7d;border-color:#dfdae8}
html[data-theme="light"] :is(.coach-badge.coach-badge,.multi-squad-badge){background:#eee6f8;color:#6945a0;border-color:#d1bce7;text-shadow:none}
html[data-theme="light"] .search{background:#f7f5fa;border-color:#dfdae8}
html[data-theme="light"] .gymnast[aria-pressed=true]{background:#eee6f8;border-color:#bea3da}
html[data-theme="light"] .gymnast[aria-pressed=true] .avatar{background:#6945a0;color:#fff}
html[data-theme="light"] .athlete-summary{background:linear-gradient(115deg,#eee6f8,#fbf9fe);border-color:#d1bce7}
html[data-theme="light"] .mini-stats span{color:#62566f}
html[data-theme="light"] .mini-stats span+span{border-color:#d9cee6}
html[data-theme="light"] .mini-stats b{color:#6945a0}
html[data-theme="light"] .ring circle{stroke:#ddd6e7}
html[data-theme="light"] .ring .ring-fill{stroke:#7a55aa;filter:none}
html[data-theme="light"] .tier-label{color:#6945a0}
html[data-theme="light"] .upgrade .tier-label{color:#345f9e}
html[data-theme="light"] .pro .tier-label{color:#9c4565}
html[data-theme="light"] .tier-status{color:#17695c}
html[data-theme="light"] .skill{background:#f4f1f7;border-color:#d8d0e2}
html[data-theme="light"] .skill:hover{background:#eee7f6;border-color:#b69ad5}
html[data-theme="light"] .skill-cell[data-status="1"]{background:linear-gradient(140deg,#eae0f5,#f4edf9);border-color:#b69ad5;box-shadow:inset 0 1px #fff}
html[data-theme="light"] .skill-cell[data-status="2"]{background:linear-gradient(140deg,#dcefe6,#edf7f2);border-color:#8ebfae;box-shadow:inset 0 1px #fff}
html[data-theme="light"] .skill-cell .skill{background:transparent;border:0;box-shadow:none}
html[data-theme="light"] .skill-cell .skill-name{color:#272238}
html[data-theme="light"] .skill-points{color:#62566f}
html[data-theme="light"] .skill-status{color:#706a7d;background:#e9e3f0;border-color:#d8d0e2}
html[data-theme="light"] .skill[data-status="1"] :is(.skill-points,.skill-bottom){color:#6945a0}
html[data-theme="light"] .skill[data-status="1"] .skill-status{background:#e2d4f1;color:#6945a0;border-color:#bfa3da}
html[data-theme="light"] .skill[data-status="2"] :is(.skill-points,.skill-bottom){color:#17695c}
html[data-theme="light"] .skill[data-status="2"] .skill-status{background:#d0e8de;color:#17695c;border-color:#8ebfae}
html[data-theme="light"] .skill-mark{background:#e9e3f0;color:#706a7d}
html[data-theme="light"] .skill[data-status="1"] .skill-mark{background:#6945a0;color:#fff}
html[data-theme="light"] .skill[data-status="2"] .skill-mark{background:#17695c;color:#fff}
html[data-theme="light"] .skill-renewal button{background:#d0e8de;border-color:#8ebfae;color:#17695c}
html[data-theme="light"] .renewal-date{color:#376e60}
html[data-theme="light"] .skill-cell[data-due=true]{border-color:#c78b7c;box-shadow:inset 0 -18px 28px #da8d6c0c}
html[data-theme="light"] :is(.marking-guide,.marking-guide summary,.scoring){color:#706a7d;border-color:#e1dbe9}
html[data-theme="light"] .scoring summary{color:#62566f}
html[data-theme="light"] .coach-bar{background:#f7f6faf5}
html[data-theme="light"] .chooser:hover{background:#eee6f8}
html[data-theme="light"] :is(.result-filter select,.add-gymnast input){background:#fff;color:#272238;border-color:#d8d0e2}
html[data-theme="light"] .add-gymnast>summary{color:#6945a0}
html[data-theme="light"] .form-error{color:#a33d48}
html[data-theme="light"] :is(.insights-button,.reveal-placement){background:#eee6f8;color:#6945a0;border-color:#d1bce7}
html[data-theme="light"] :is(.insights-button,.reveal-placement):hover{background:#e5d9f2;border-color:#a98acb}
html[data-theme="light"] .footer strong{color:#6945a0}
html[data-theme="light"] .toast{background:#fffdfef5;color:#272238;border-color:#c5b1df;box-shadow:0 15px 60px #30204629}
html[data-theme="light"] .toast button{color:#6945a0;background:#eee6f8}
html[data-theme="light"] .score-pop{color:#17695c;text-shadow:0 1px 10px #fff}
html[data-theme="light"] .scoring-guide-button{color:#62566f;background:#fff;border-color:#dfdae8}
html[data-theme="light"] .scoring-guide-button:hover{color:#6945a0;background:#eee6f8;border-color:#c5b1df}
html[data-theme="light"] .score-guide{background:#fff;color:#272238;border-color:#d5c9e4;box-shadow:0 30px 100px #30204630}
html[data-theme="light"] .score-guide::backdrop{background:#30204659}
html[data-theme="light"] .score-guide-head{background:#fff}
html[data-theme="light"] .score-guide-close{background:#f1edf6;color:#62566f;border-color:#dfdae8}
html[data-theme="light"] :is(.score-guide ul,.score-guide .guide-why){color:#706a7d}
html[data-theme="light"] .score-guide li::marker{color:#6945a0}
html[data-theme="light"] .score-guide strong{color:#272238}

/* Golden fire is independent of scoring status. Moving light stays behind text. */
html[data-theme="light"] :is(.is-hot,.is-on-fire):is(.rank-row,.gymnast,.athlete-summary,.chooser,.directory-card,.swlp-hero,.swlp-row,.analytics-scope,.revisit-grid>button,.skill-map th button){
 border-color:#d6aa58!important;background:linear-gradient(125deg,#fff0ce,#fff9eb 56%,#fffdf7)!important;
 box-shadow:inset 0 1px #fff,0 0 17px #e6aa3d1c!important;
}
html[data-theme="light"] .is-on-fire:is(.rank-row,.gymnast,.athlete-summary,.chooser,.directory-card,.swlp-hero,.swlp-row,.analytics-scope,.revisit-grid>button,.skill-map th button){
 border-color:#cc902e!important;background:linear-gradient(125deg,#ffe4a2,#fff1cd 53%,#fffaec)!important;
 box-shadow:inset 0 1px #fff8db,inset 0 -1px #dfac4c48,0 0 24px #e9ab3b36!important;
}
html[data-theme="light"] .is-on-fire:is(.rank-row,.gymnast,.athlete-summary,.chooser,.directory-card,.swlp-hero,.swlp-row,.analytics-scope,.revisit-grid>button,.skill-map th button)::before{
 background:radial-gradient(ellipse at 12% 91%,#f5b53285,transparent 40%),radial-gradient(ellipse at 82% 100%,#e28e286b,transparent 43%),radial-gradient(ellipse at 49% 107%,#ffe18aa3,transparent 40%),linear-gradient(155deg,transparent 35%,#efb43840 60%,transparent 78%)!important;
}
html[data-theme="light"] :is(.is-hot,.is-on-fire):is(.rank-row,.gymnast,.chooser,.directory-card,.swlp-row,.athlete-summary,.swlp-hero) :is(.person strong,.gymnast-name,.chooser-copy strong,.directory-person strong,.swlp-row-person strong,h2){color:#603b12;text-shadow:none}
html[data-theme="light"] :is(.is-hot,.is-on-fire) :is(.directory-avatar,.avatar,.swlp-row-avatar,.swlp-avatar){color:#855515;background:linear-gradient(145deg,#f6d58a,#fff0cb);border-color:#d8ad5d;box-shadow:inset 0 1px #fff,0 0 15px #e5ac3430}
html[data-theme="light"] :is(.is-hot,.is-on-fire) :is(.directory-person small,.person small,.swlp-row-person small,.athlete-info p){color:#6e4d26}
html[data-theme="light"] :is(.is-hot,.is-on-fire) :is(.directory-points b,.gymnast-score){color:#855515}
html[data-theme="light"] .overall .v3-podium .rank-row.medal :is(.person strong,.avatar,.score b){text-shadow:none}

/* Brief skill-completion feedback. */
html[data-theme="light"] .swl-celebration{--celebration-lime:#17695c;--celebration-gold:#956118}
html[data-theme="light"] .swl-celebration-veil{background:radial-gradient(ellipse at 50% 45%,#f7f6facc,#f7f6fa22 77%)}
html[data-theme="light"] .swl-celebration-banner{background:linear-gradient(140deg,#fffaf0,#fff);color:#272238;border-color:#d8bd82;box-shadow:0 20px 60px #30204626,inset 0 1px #fff}
html[data-theme="light"] .swl-celebration-title span:last-child{color:#956118;background:linear-gradient(130deg,#855515,#b07822,#855515);background-clip:text;-webkit-background-clip:text}
html[data-theme="light"] .swl-celebration-medal{background:linear-gradient(145deg,#f9df9e,#fff2cf);color:#855515;border-color:#d6ad59;box-shadow:0 3px 12px #a57c2520}
html[data-theme="light"] .swl-celebration-name{color:#272238}
html[data-theme="light"] .swl-celebration-detail{color:#706a7d}
html[data-theme="light"] .swl-celebration.is-compact .swl-celebration-banner{background:#f4fcf8f5;border-color:#8ebfae;box-shadow:0 12px 38px #183b2f20,inset 0 1px #fff}
html[data-theme="light"] .swl-celebration.is-prize .swl-celebration-banner{background:radial-gradient(ellipse at 50% 0,#ffe6a8,#fffaf0 60%);border-color:#d4a34b;box-shadow:0 20px 60px #9d731f25,0 0 60px #efba4a30}
html[data-theme="light"] .swl-celebration.is-prize .swl-celebration-detail{color:#855515}
html[data-theme="light"] .swl-confetti--green{background:linear-gradient(115deg,#c8e9db,#328d75,#b8e5d1)}
@media(max-width:380px){.header-inner{column-gap:6px}.header-inner .utilities{gap:3px}.utilities .all-skills-button{padding-inline:6px}.utilities .scoring-lock-button{font-size:10px;padding-inline:7px}}

html[data-theme="light"] .overall.v3-board{--accent:#956118!important}
/* Light-only secondary surfaces: paper, plum ink and clear semantic accents. */

/* Scoring keypad. The focus, pressed and loading states share the plum action colour. */
html[data-theme="light"] .swl-lock{color:#272238;background:#fff; border-color:#c8badc;box-shadow:0 30px 90px #27223824,0 0 0 6px #6945a008;scrollbar-color:#c8badc #fff}
html[data-theme="light"] .swl-lock::backdrop{background:#27223870}
html[data-theme="light"] .swl-lock-icon{color:#6945a0;background:#eee6f8;border-color:#d3c3e6;box-shadow:inset 0 1px #fff}
html[data-theme="light"] .swl-lock-description{color:#706a7d}
html[data-theme="light"] .swl-lock-dot{background:#f0edf5;border-color:#bcb1ca}
html[data-theme="light"] .swl-lock-dot.is-filled,html[data-theme="light"] .swl-lock.is-busy .swl-lock-dot{background:#6945a0;border-color:#6945a0;box-shadow:0 0 14px #6945a026}
html[data-theme="light"] .swl-lock-status{color:#6945a0}
html[data-theme="light"] .swl-lock-status.is-error{color:#a1393c}
html[data-theme="light"] .swl-lock .swl-lock-key{color:#272238;background:#f7f6fa;border-color:#dfdae8;box-shadow:inset 0 1px #fff,0 3px 0 #27223812}
html[data-theme="light"] .swl-lock .swl-lock-key:hover:not(:disabled){color:#6945a0;background:#eee6f8;border-color:#b6a1d0}
html[data-theme="light"] .swl-lock .swl-lock-key:active:not(:disabled){color:#fff;background:#6945a0;border-color:#6945a0}
html[data-theme="light"] .swl-lock .swl-lock-key:focus-visible{outline-color:#6945a0}
html[data-theme="light"] .swl-lock .swl-lock-key--action{color:#706a7d;background:#eeebf3;border-color:#dfdae8}

/* Startup includes inline fallback paint, so these important values are deliberate. */
html[data-theme="light"] .swl-startup{color:#272238!important;background:radial-gradient(ellipse at 24% 18%,#e7dcf5,transparent 56%),radial-gradient(ellipse at 78% 84%,#f9eccc,transparent 48%),#f7f6fa!important}
html[data-theme="light"] .swl-startup::before{background:radial-gradient(circle,#a68ac31a,#a68ac309 42%,transparent 69%)}
html[data-theme="light"] .swl-startup__logo{filter:none!important}
html[data-theme="light"] .swl-startup__eyebrow,html[data-theme="light"] .swl-startup__status,html[data-theme="light"] .swl-startup__hint,html[data-theme="light"] .swl-startup__signature{color:#706a7d}
html[data-theme="light"] .swl-startup__ring--outer{border-color:#6945a018;border-top-color:#6945a0a3;border-right-color:#6945a00c}
html[data-theme="light"] .swl-startup__ring--inner{border-color:#95611818;border-bottom-color:#9561189c;border-left-color:#9561180c}
html[data-theme="light"] .swl-startup__ring--light{background:conic-gradient(from 12deg,transparent 0deg 52deg,#6945a026 95deg,#6945a099 130deg,transparent 168deg 256deg,#bd8c3b75 302deg,transparent 346deg)}
html[data-theme="light"] .swl-startup__satellite::after{background:#a77320;box-shadow:0 0 14px #b9822740}
html[data-theme="light"] .swl-startup__title{color:#272238}
html[data-theme="light"] .swl-startup__title span{color:#6945a0}
html[data-theme="light"] .swl-startup__progress{background:#dfdae8}
html[data-theme="light"] .swl-startup__progress::after{background:linear-gradient(90deg,transparent,#6945a0,#bd8c3b,transparent)}
html[data-theme="light"] .swl-startup__enter{background:#eee6f8;color:#6945a0;border-color:#c8badc}
html[data-theme="light"] .swl-startup__enter:hover{background:#e4d8f2;border-color:#a58bbf}
html[data-theme="light"] .swl-startup__enter:focus-visible{outline-color:#6945a0}

/* Welcome dialog and the older dialog fallback use the same paper treatment. */
html[data-theme="light"] .swl-welcome{color:#272238!important;background:radial-gradient(ellipse at 0 0,#eee6f8,transparent 65%),#fff!important;border-color:#d3c3e6;box-shadow:0 30px 95px #27223830;scrollbar-color:#c8badc #fff}
html[data-theme="light"] .swl-welcome::backdrop,html[data-theme="light"] .swl-welcome-backdrop{background:#27223870!important}
html[data-theme="light"] .swl-welcome-logo{filter:none}
html[data-theme="light"] .swl-welcome-brand{color:#706a7d}
html[data-theme="light"] .swl-welcome-close{color:#706a7d;background:#fff;border-color:#dfdae8}
html[data-theme="light"] .swl-welcome-close:hover{background:#eee6f8;color:#6945a0}
html[data-theme="light"] .swl-welcome-eyebrow{color:#6945a0}
html[data-theme="light"] .swl-welcome h2{color:#272238}
html[data-theme="light"] .swl-welcome-content>p:not(.swl-welcome-eyebrow):not(.swl-welcome-signoff){color:#706a7d}
html[data-theme="light"] .swl-welcome-content>.swl-welcome-intro{color:#463c57!important}
html[data-theme="light"] .swl-welcome-highlights{border-color:#dfdae8}
html[data-theme="light"] .swl-welcome-highlights i{color:#6945a0}
html[data-theme="light"] .swl-welcome-highlights b{color:#463c57}
html[data-theme="light"] .swl-welcome-signoff{color:#6945a0}
html[data-theme="light"] .swl-welcome-enter{color:#fff;background:#6945a0;border-color:#6945a0}
html[data-theme="light"] .swl-welcome-enter:hover{background:#583787;border-color:#583787}
html[data-theme="light"] .swl-welcome button:focus-visible{outline-color:#6945a0}

/* Placement: purple marks the selected gymnast; category hues are deliberate. */
html[data-theme="light"] #placementContent{color:#272238}
html[data-theme="light"] .swlp-back,html[data-theme="light"] .swlp-coach,html[data-theme="light"] .swlp-coach span,html[data-theme="light"] .swlp-overall p,html[data-theme="light"] .swlp-overall>small,html[data-theme="light"] .swlp-facts small,html[data-theme="light"] .swlp-section-head>p,html[data-theme="light"] .swlp-board-head p,html[data-theme="light"] .swlp-board-position small,html[data-theme="light"] .swlp-empty,html[data-theme="light"] .swlp-order-note{color:#706a7d}
html[data-theme="light"] .swlp-back span,html[data-theme="light"] .swlp-back:hover,html[data-theme="light"] .swlp-eyebrow,html[data-theme="light"] .swlp-overall>strong{color:#6945a0}
html[data-theme="light"] .swlp-hero{border-color:#d3c3e6;background:radial-gradient(ellipse at 85% 0,#eee6f8,transparent 65%),#fff}
html[data-theme="light"] .swlp-hero:before{background:linear-gradient(90deg,#6945a080,#b69acb65,transparent)}
html[data-theme="light"] .swlp-avatar{color:#6945a0;border-color:#c8badc;background:#eee6f8;box-shadow:inset 0 1px #fff}
html[data-theme="light"] .swlp-facts{border-color:#dfdae8}
html[data-theme="light"] .swlp-board{background:#fff;border-color:#dfdae8;--placement-accent:#6945a0!important}
html[data-theme="light"] .swlp-board[data-placement-board="overall"]{--placement-accent:#956118!important}
html[data-theme="light"] .swlp-board[data-placement-board="acro"]{--placement-accent:#345f9e!important}
html[data-theme="light"] .swlp-board[data-placement-board="leaps"]{--placement-accent:#9c4565!important}
html[data-theme="light"] .swlp-board[data-placement-board="handstands"]{--placement-accent:#17695c!important}
html[data-theme="light"] .swlp-board-icon{border-color:#dfdae8;background:#f7f6fa;color:var(--placement-accent)}
html[data-theme="light"] .swlp-board-scope{color:#6945a0;border-color:#e7e0ee}
html[data-theme="light"] .swlp-board-scope span{color:#706a7d}
html[data-theme="light"] .swlp-row{border-color:#e7e2ed;background:#faf9fc}
html[data-theme="light"] .swlp-row-position,html[data-theme="light"] .swlp-row-person small,html[data-theme="light"] .swlp-row-score small,html[data-theme="light"] .swlp-peek-label{color:#706a7d}
html[data-theme="light"] .swlp-row-avatar{color:#6945a0;background:#eee6f8;border-color:#d6c8e7}
html[data-theme="light"] .swlp-row.swlp-selected{background:#eee6f8;border-color:#b8a1d2;box-shadow:inset 3px 0 #6945a0,0 7px 25px #27223806}
html[data-theme="light"] .swlp-selected .swlp-row-position,html[data-theme="light"] .swlp-selected .swlp-row-person small,html[data-theme="light"] .swlp-selected .swlp-row-score strong{color:#6945a0}
html[data-theme="light"] .swlp-selected .swlp-row-person small{opacity:1}
html[data-theme="light"] .swlp-selected .swlp-row-avatar{background:#6945a0;color:#fff;border-color:#6945a0}
html[data-theme="light"] .swlp-selected .swlp-row-person strong,html[data-theme="light"] .swlp-outer .swlp-row-person strong{color:#272238}
html[data-theme="light"] .swlp-outer{background:#faf9fc}
html[data-theme="light"] .swlp-scope>span{color:#706a7d}
html[data-theme="light"] .swlp-scope button{background:#fff;color:#706a7d;border-color:#dfdae8}
html[data-theme="light"] .swlp-scope button[aria-pressed=true]{background:#eee6f8;color:#6945a0;border-color:#b8a1d2}

/* Skill collection: quiet labels, plum controls, distinct category icon chips. */
html[data-theme="light"] .catalogue-back>span,html[data-theme="light"] .catalogue-head>p:not(.eyebrow),html[data-theme="light"] .catalogue-complex-head p,html[data-theme="light"] .catalogue-points small,html[data-theme="light"] .catalogue-complex li:before,html[data-theme="light"] .catalogue-bonus,html[data-theme="light"] .catalogue-bonus>span,html[data-theme="light"] .catalogue-note,html[data-theme="light"] #igaSourceNote,html[data-theme="light"] .catalogue-skill-note{color:#706a7d}
html[data-theme="light"] .catalogue-filters button{background:#fff;border-color:#dfdae8;color:#706a7d}
html[data-theme="light"] .catalogue-filters button:hover{background:#f4effa;border-color:#b8a1d2;color:#6945a0}
html[data-theme="light"] .catalogue-filters button[aria-pressed=true]{background:#eee6f8;border-color:#b8a1d2;color:#6945a0}
html[data-theme="light"] .catalogue-complex{border-color:#dfdae8;background:#fff}
html[data-theme="light"] .catalogue-icon{color:#6945a0;background:#eee6f8}
html[data-theme="light"] .catalogue-complex[data-catalogue-group="acro"] .catalogue-icon{color:#345f9e;background:#e7eef9}
html[data-theme="light"] .catalogue-complex[data-catalogue-group="leaps"] .catalogue-icon{color:#9c4565;background:#f9e7ee}
html[data-theme="light"] .catalogue-complex[data-catalogue-group="handstands"] .catalogue-icon{color:#17695c;background:#e2f2ec}
html[data-theme="light"] .catalogue-points,html[data-theme="light"] .catalogue-bonus b{color:#6945a0}
html[data-theme="light"] .catalogue-complex li,html[data-theme="light"] .catalogue-bonus{border-color:#e7e2ed}
html[data-theme="light"] .iga-grade{color:#706a7d;border-color:#dfdae8;background:#f7f6fa}
html[data-theme="light"] #igaSourceNote a{color:#6945a0;text-decoration-color:#6945a070}

/* Analytics: neutral paper charts with saturated, readable data colours. */
html[data-theme="light"] .analytics-filters{background:#fff;border-color:#dfdae8}
html[data-theme="light"] .analytics-filters label,html[data-theme="light"] .analytics-filters>p span,html[data-theme="light"] .analytics-scope span,html[data-theme="light"] .analytics-stat-grid article>span,html[data-theme="light"] .analytics-stat-grid strong small,html[data-theme="light"] .analytics-stat-grid p,html[data-theme="light"] .chart-note,html[data-theme="light"] .analytics-age-note{color:#706a7d}
html[data-theme="light"] .analytics-filters select{background:#faf9fc;color:#272238;border-color:#cfc7da}
html[data-theme="light"] .analytics-filters>p,html[data-theme="light"] .analytics-scope,html[data-theme="light"] .analytics-symbol{color:#6945a0}
html[data-theme="light"] .analytics-stat-grid article,html[data-theme="light"] .analytics-panel,html[data-theme="light"] #analyticsRoot .a31-stats article{background:#fff;border-color:#dfdae8}
html[data-theme="light"] .analytics-stat-grid .stat-renew>strong{color:#a1393c}
html[data-theme="light"] #analyticsRoot .a31-squad-panel{background:radial-gradient(ellipse at 90% 0,#eee6f8a0,transparent 58%),#fff;border-color:#d3c3e6}
html[data-theme="light"] .a31-panel-index,html[data-theme="light"] .a31-comparison-lead strong small,html[data-theme="light"] .a31-comparison-lead p,html[data-theme="light"] .a31-chart-scope,html[data-theme="light"] .a31-chart-rank,html[data-theme="light"] .a31-chart-name small,html[data-theme="light"] .a31-chart-value small,html[data-theme="light"] .a31-selected-scope .eyebrow{color:#706a7d}
html[data-theme="light"] .a31-comparison-lead>div>span,html[data-theme="light"] .a31-comparison-lead strong,html[data-theme="light"] .a31-chart-value{color:#6945a0}
html[data-theme="light"] .a31-segments{background:#f7f6fa;border-color:#dfdae8}
html[data-theme="light"] .a31-segments button{color:#706a7d;background:transparent}
html[data-theme="light"] .a31-segments button:hover{background:#eee6f8;color:#6945a0}
html[data-theme="light"] .a31-segments button[aria-pressed=true]{background:#6945a0;border-color:#6945a0;color:#fff}
html[data-theme="light"] #analyticsRoot .a31-squad-row{color:#272238;background:#faf9fc;border-color:#e7e2ed}
html[data-theme="light"] #analyticsRoot .a31-squad-row:hover,html[data-theme="light"] #analyticsRoot .a31-squad-row.is-selected{background:#f3edf9;border-color:#b8a1d2}
html[data-theme="light"] .a31-comparison-track,html[data-theme="light"] .a31-standing-bar,html[data-theme="light"] .a31-stack{background:#e8e2ee}
html[data-theme="light"] .a31-comparison-track i{background:linear-gradient(90deg,#6945a0,#9970bb);box-shadow:none}
html[data-theme="light"] .a31-squad-row:first-child .a31-comparison-track i{background:linear-gradient(90deg,#956118,#c4923c)}
html[data-theme="light"] .a31-squad-row:first-child .a31-chart-value{color:#956118}
html[data-theme="light"] #analyticsRoot .a31-selected-scope .analytics-scope{color:#272238}
html[data-theme="light"] #analyticsRoot .a31-selected-scope .analytics-scope span{color:#706a7d}
html[data-theme="light"] .a31-key{color:#706a7d}
html[data-theme="light"] .a31-key i{background:#d6cfdf}
html[data-theme="light"] .a31-perfect{background:#278374!important}
html[data-theme="light"] .a31-achieved{background:#8764b2!important}
html[data-theme="light"] .a31-category-chart>button{border-color:#e7e2ed;color:#272238}
html[data-theme="light"] .a31-category-chart>button:hover .a31-category-label strong,html[data-theme="light"] .a31-category-label b,html[data-theme="light"] .a31-category-detail>span{color:#6945a0}
html[data-theme="light"] .a31-category-detail{color:#706a7d}
html[data-theme="light"] .momentum-total>strong,html[data-theme="light"] .momentum-total b{color:#956118}
html[data-theme="light"] .momentum-total>span,html[data-theme="light"] .a31-week>strong,html[data-theme="light"] .a31-week>small{color:#706a7d}
html[data-theme="light"] .a31-delta{color:#17695c}
html[data-theme="light"] .a31-delta.negative{color:#9c4565}
html[data-theme="light"] .a31-week.is-current>strong,html[data-theme="light"] .a31-week.is-current>small{color:#956118}
html[data-theme="light"] .a31-week-track{background:linear-gradient(#f7f6fa,#faf9fc)}
html[data-theme="light"] .a31-week-track:after{background:#b9adc8}
html[data-theme="light"] .a31-week-track>i{background:linear-gradient(#c39144,#956118)}
html[data-theme="light"] .a31-week.is-current .a31-week-track>i{background:linear-gradient(#dbad57,#a16819)}
html[data-theme="light"] .a31-week-track>i.negative,html[data-theme="light"] .a31-week.is-current .a31-week-track>i.negative{background:linear-gradient(#9c4565,#c97c96)}
html[data-theme="light"] #analyticsRoot .a31-age-row{background:#faf9fc;border-color:#e7e2ed;color:#272238}
html[data-theme="light"] #analyticsRoot .a31-age-row:hover,html[data-theme="light"] #analyticsRoot .a31-age-row[aria-pressed=true]{background:#f3edf9;border-color:#b8a1d2}
html[data-theme="light"] .a31-age-bar>small,html[data-theme="light"] .a31-standing-controls>label{color:#706a7d}
html[data-theme="light"] .a31-standing-controls select{background:#faf9fc;color:#272238;border-color:#cfc7da}
html[data-theme="light"] .a31-standing-row{background:#faf9fc;border-color:#e7e2ed}
html[data-theme="light"] .a31-standing-row .a31-standing-rank,html[data-theme="light"] .a31-standing-person small,html[data-theme="light"] .a31-standing-value small{color:#706a7d}
html[data-theme="light"] .a31-standing-row:nth-child(-n+3) .a31-standing-rank{color:#956118}
html[data-theme="light"] .a31-standing-person{color:#272238}
html[data-theme="light"] .a31-standing-person:hover strong,html[data-theme="light"] .a31-standing-value{color:#6945a0}
html[data-theme="light"] .a31-standing-bar i{background:linear-gradient(90deg,#6945a0,#9970bb)}
html[data-theme="light"] .a31-standing-bar i.negative{background:linear-gradient(90deg,#9c4565,#c97c96)}
html[data-theme="light"] .a31-standing-value.negative{color:#9c4565}
html[data-theme="light"] .a31-open-profile{background:#eee6f8;border-color:#d3c3e6;color:#6945a0}
html[data-theme="light"] .a31-open-profile:hover{background:#e4d8f2;border-color:#a58bbf;color:#583787}
html[data-theme="light"] #analyticsRoot .a31-grid button:focus-visible,html[data-theme="light"] #analyticsRoot .a31-grid select:focus-visible{outline-color:#6945a0}

/* Analytics heat keeps the original animation but replaces the muddy red backdrop. */
html[data-theme="light"] .a31-standing-row.is-hot,html[data-theme="light"] .a31-standing-row.is-on-fire{background:linear-gradient(120deg,#fff2d4,#fffaf0 65%,#fff);border-color:#dbaf63;box-shadow:inset 0 1px #fff,0 0 18px #d6a34416}
html[data-theme="light"] .a31-standing-row.is-on-fire{background:linear-gradient(120deg,#ffe8b5,#fff4dc 60%,#fffaf0);border-color:#d39435;box-shadow:inset 0 1px #fff7df,0 0 24px #db9a3433}
html[data-theme="light"] .a31-standing-row.is-on-fire::before{background:radial-gradient(ellipse at 12% 91%,#e5aa3d66,transparent 39%),radial-gradient(ellipse at 82% 100%,#d8843840,transparent 43%),radial-gradient(ellipse at 49% 107%,#ffd36b6b,transparent 38%)}
html[data-theme="light"] .a31-standing-row:is(.is-hot,.is-on-fire) .a31-standing-person,html[data-theme="light"] .a31-standing-row:is(.is-hot,.is-on-fire) .a31-standing-value,html[data-theme="light"] .a31-standing-row:is(.is-hot,.is-on-fire) .a31-standing-rank{color:#7e4d17}
html[data-theme="light"] .a31-standing-row:is(.is-hot,.is-on-fire) .a31-standing-person small,html[data-theme="light"] .a31-standing-row:is(.is-hot,.is-on-fire) .a31-standing-value small{color:#6e4d26}

/* Prize challenge: warm gilding without neon, readable ranks and progress. */
html[data-theme="light"] .challenge-entry-button{color:#956118;border-color:#d9bd83;background:#fff8e8}
html[data-theme="light"] .challenge-entry-button:hover{color:#7d4c13;border-color:#bd8f3d;background:#fff2d4}
html[data-theme="light"] .challenge-entry-button>span{color:#956118}
html[data-theme="light"] .challenge-hero{background:radial-gradient(ellipse at 80% 10%,#f4d68b35,transparent 62%),linear-gradient(135deg,#fff7e5,#fff 70%);border-color:#dfc694}
html[data-theme="light"] .challenge-status{background:#fff2d4;color:#956118;border-color:#d9bd83}
html[data-theme="light"] .challenge-copy h2{color:#80531b}
html[data-theme="light"] .challenge-copy>p{color:#463c57}
html[data-theme="light"] .challenge-copy .challenge-rules,html[data-theme="light"] .challenge-start{color:#706a7d}
html[data-theme="light"] .challenge-target{border-color:#d3ad60;outline-color:#e7d8b8;background:radial-gradient(circle,#ffe9b34d,transparent 75%);box-shadow:0 0 60px #d8b96814}
html[data-theme="light"] .challenge-target>span{color:#88642f}
html[data-theme="light"] .challenge-target>strong{color:#956118}
html[data-theme="light"] .challenge-row-progress{background:#e8e2ee}
html[data-theme="light"] .challenge-row-progress>i{background:linear-gradient(90deg,#6945a0,#a382c3)}
html[data-theme="light"] .challenge-list-head p,html[data-theme="light"] .challenge-list-head>span,html[data-theme="light"] .challenge-rank,html[data-theme="light"] .challenge-person small,html[data-theme="light"] .challenge-points small,html[data-theme="light"] .challenge-footnote{color:#706a7d}
html[data-theme="light"] .challenge-row{background:#fff;border-color:#dfdae8;color:#272238}
html[data-theme="light"] .challenge-row:hover{background:#f4effa;border-color:#b8a1d2}
html[data-theme="light"] .challenge-arrow{color:#6945a0}
html[data-theme="light"] .challenge-winner{border-color:#d1aa61;background:linear-gradient(120deg,#fff2d4,#fffaf0)}
html[data-theme="light"] .challenge-winner .challenge-person strong,html[data-theme="light"] .challenge-winner .challenge-points b{color:#80531b}
html[data-theme="light"] .challenge-row.is-hot{background:linear-gradient(120deg,#fff2d4,#fffaf0 65%,#fff);border-color:#dbaf63;box-shadow:inset 3px 0 #d0a04e66}
html[data-theme="light"] .challenge-row.is-on-fire{background:linear-gradient(120deg,#ffe8b5,#fff4dc 60%,#fffaf0);border-color:#d39435;box-shadow:inset 3px 0 #d3943580,inset 0 0 35px #e6b95220}
html[data-theme="light"] .challenge-row:is(.is-hot,.is-on-fire) .challenge-person strong,html[data-theme="light"] .challenge-row:is(.is-hot,.is-on-fire) .challenge-points b{color:#7e4d17}
html[data-theme="light"] .challenge-row:is(.is-hot,.is-on-fire) .challenge-person small,html[data-theme="light"] .challenge-row:is(.is-hot,.is-on-fire) .challenge-points small{color:#6e4d26}
html[data-theme="light"] .challenge-empty,html[data-theme="light"] .challenge-notice{background:#f4effa;border-color:#d3c3e6;color:#6945a0}
/* Games: an intentional daylight palette, including play states and dialogs.
   This section changes paint only; all game sizing, rules and timing are inherited. */
html[data-theme="light"] {
  --game-ink:#272238;--game-muted:#706a7d;--game-line:#dfdae8;
  --game-purple:#6945a0;--game-lilac:#eee6f8;
  --game-teal:#17695c;--game-mint:#e2f2ec;
  --game-gold:#956118;--game-cream:#fff2d4;
  --game-blue:#345f9e;--game-sky:#e7eef9;
  --game-rose:#9c4565;--game-blush:#f9e7ee;
}
/* Each game retains its team identity, with pigments readable on white. */
html[data-theme="light"] :is([style*="--squad-color"],[style*="--team-color"],[style*="--timing-color"])[style*="#d5fa70"]{--squad-color:#17695c!important;--team-color:#17695c!important;--timing-color:#17695c!important}
html[data-theme="light"] :is([style*="--squad-color"],[style*="--team-color"],[style*="--timing-color"])[style*="#bd9bff"]{--squad-color:#6945a0!important;--team-color:#6945a0!important;--timing-color:#6945a0!important}
html[data-theme="light"] :is([style*="--squad-color"],[style*="--team-color"],[style*="--timing-color"])[style*="#ffd782"]{--squad-color:#956118!important;--team-color:#956118!important;--timing-color:#956118!important}
html[data-theme="light"] :is([style*="--squad-color"],[style*="--team-color"],[style*="--timing-color"])[style*="#83d9ff"]{--squad-color:#345f9e!important;--team-color:#345f9e!important;--timing-color:#345f9e!important}
html[data-theme="light"] :is([style*="--squad-color"],[style*="--team-color"],[style*="--timing-color"])[style*="#ffafcb"]{--squad-color:#9c4565!important;--team-color:#9c4565!important;--timing-color:#9c4565!important}
html[data-theme="light"] :is([style*="--squad-color"],[style*="--team-color"],[style*="--timing-color"])[style*="#ffab9e"]{--squad-color:#a34835!important;--team-color:#a34835!important;--timing-color:#a34835!important}

html[data-theme="light"] :is(.swl-skill-game,.swl-team,.swl-addon,.swl-timing-game,.swlw-game){color:var(--game-ink)}
html[data-theme="light"] .swl-timing-game{--timing-color:var(--game-purple)}
html[data-theme="light"] :is(.game-card,.swl-skill-setup,.swl-skill-rules,.swl-skill-score,.swl-skill-stage,.swl-skill-finish,.swl-team-setup,.swl-team-rules,.swl-team-score,.swl-team-stage,.swl-team-finish,.swl-addon-setup,.swl-addon-guide,.swl-addon-score,.swl-addon-stage,.swl-addon-results,.swlt-panel,.swlt-rules,.swlt-stage,.swlt-score,.swlt-finish){background:#fff;border-color:var(--game-line);box-shadow:0 10px 32px #37284909}
html[data-theme="light"] :is(.swl-skill-rules,.swl-team-rules,.swl-addon-guide,.swlt-rules){background:linear-gradient(145deg,#f2ecfa,#fff 78%)}
html[data-theme="light"] :is(.swl-skill-stage,.swl-team-stage,.swl-addon-stage,.swlt-stage){background:linear-gradient(160deg,#fdfbff,#fff 60%)}
html[data-theme="light"] :is(.swl-skill-game.is-immersive,.swl-timing-game[data-focused=true]){background:#f7f6fa}
html[data-theme="light"] body:is(.swl-shuffle-playing,.swl-handstand-playing) .games-toolbar{background:#f7f6fa;border-color:var(--game-line)}
html[data-theme="light"] :is(.swl-skill-score.is-current,.swl-addon-score.is-current){background:color-mix(in srgb,var(--squad-color) 6%,#fff);border-color:var(--squad-color);box-shadow:inset 0 3px 0 var(--squad-color)}
html[data-theme="light"] .swl-team-score.is-current{background:color-mix(in srgb,var(--team-color) 6%,#fff);border-color:var(--team-color);box-shadow:inset 0 3px 0 var(--team-color)}
html[data-theme="light"] .swlt-score[data-current=true]{background:color-mix(in srgb,var(--timing-color) 6%,#fff);border-color:var(--timing-color)}
html[data-theme="light"] :is(.swl-skill-game,.swl-team,.swl-addon,.swl-timing-game) :is(h2,h3,h4){color:var(--game-ink)}
html[data-theme="light"] :is(.games-kicker,.swl-skill-kicker,.swl-team-kicker,.swl-addon-kicker,.swlt-kicker,.swlw-eyebrow,.swl-skill-rule-icon,.swl-skill-placeholder,.swl-addon-icon,.swl-team-rule-icon,.swlt-rule-mark){color:var(--game-purple)}
html[data-theme="light"] :is(.games-intro,.games-note,.games-session-label,.games-sort-note,.games-live-plays,.game-card-top,.game-card-desc,.game-card-votes,.games-rating-bar,.swl-skill-muted,.swl-skill-score-detail,.swl-skill-fair-note,.swl-skill-progress,.swl-skill-instruction,.swl-skill-reel-caption,.swl-skill-familiar,.swl-skill-live,.swl-skill-rating-guide,.swl-draft-rules,.swl-shuffle-difficulty legend,.swl-shuffle-difficulty-button span,.swl-game-team-picker,.swl-contest-person,.swl-contest-award-help,.swl-contest-game .swl-skill-size,.swl-team-muted,.swl-team-coach-hint,.swl-team-progress,.swl-team-live,.swl-addon-muted,.swl-addon-score-detail,.swl-addon-fair-note,.swl-addon-progress,.swl-addon-live,.swlt-intro,.swlt-muted,.swlt-coach-note,.swlt-rules ol,.swlt-clock-caption,.swlt-clock-label,.swlt-turn-number,.swlt-draft small,.swlt-draft>span,.swlt-average,.swlt-comparison span,.swlt-score>small,.swlt-score-total,.swlt-score strong small,.swlt-penalty span,.swlt-splits h4,.swlt-splits li,.swlt-live,.swlt-history,.swlt-history-row,.swlt-finish-rule,.swlt-session-note){color:var(--game-muted)}
html[data-theme="light"] :is(.swl-skill-game.is-immersive .swl-skill-score-compact,.swl-contest-game.is-immersive .swl-skill-score-compact,.swl-skill-game.is-immersive .swl-skill-score strong:after){color:var(--game-muted)}
html[data-theme="light"] :is(.swl-skill-text-button,.swl-team-text-button,.swl-addon-text-button,.swlt-text,.games-back){color:var(--game-purple)}
html[data-theme="light"] :is(.swl-skill-error,.swl-team-error,.swl-addon-error,.swlt-error){color:#a53449}

/* Setup, step controls and native pickers. */
html[data-theme="light"] :is(.swl-skill-name input,.swl-addon-name input,.swl-team-name input,.swlt-team-input input,.swl-skill-stepper,.swl-addon-stepper,.swl-game-team-picker select,.swl-contest-team select){background:#fff;color:var(--game-ink);border-color:#cbc3d9;color-scheme:light}
html[data-theme="light"] :is(.swl-skill-step,.swl-addon-step,.swlt-team-input .swl-game-stepper .swlt-button){background:#f0ebf6;color:var(--game-purple);border-color:#d8cce9}
html[data-theme="light"] :is(.swl-skill-step:hover,.swl-addon-step:hover){background:#e5d9f2}
html[data-theme="light"] :is(.swl-skill-stepper input,.swl-addon-stepper input){background:transparent;color:var(--game-ink)}
html[data-theme="light"] .swlt-team-input label{color:var(--game-muted)}
html[data-theme="light"] :is(.swl-skill-team-choice,.swl-team-choice,.swl-addon-count-button,.swl-shuffle-difficulty-button,.swlt-button){background:#faf8fd;border-color:var(--game-line);color:var(--game-ink)}
html[data-theme="light"] :is(.swl-skill-team-choice,.swl-team-choice,.swl-addon-count-button,.swlt-button)[aria-pressed=true],
html[data-theme="light"] .swl-shuffle-difficulty-button[aria-pressed=true]{background:var(--game-lilac);border-color:var(--game-purple);color:var(--game-purple);box-shadow:inset 0 0 0 1px #6945a018}
html[data-theme="light"] .swl-shuffle-difficulty-button small{color:var(--game-purple)}
html[data-theme="light"] .swl-shuffle-difficulty-button:hover{border-color:var(--game-purple)}
html[data-theme="light"] :is(.swl-skill-fair-rule,.swl-addon-fair-rule,.swlt-coach-note){background:#f5f0fa!important;border-color:#dfd2ed!important;color:#55416e!important}
html[data-theme="light"] :is(.swl-skill-rules .swl-skill-session-note,.swl-addon-guide .swl-addon-session-note,.swl-team-session-note,.swlt-session-note,.swl-skill-awards-label,.swl-team-awards-label,.swl-skill-hints,.swl-addon-chain,.swlt-review,.swlt-splits,.swlt-history,.swlt-turn-number){border-color:var(--game-line)}

/* A single deep-purple primary action, on every game. */
html[data-theme="light"] :is(.swl-skill-primary,.swl-team-primary,.swl-addon-primary,.swlt-primary,.game-card-play,.rating-primary,.swlw-game .swlw-spin,.swlw-game.is-crazy .swlw-spin,.swlw-game .swlw-inspector-close,.swlw-game .swlw-confirm .swlw-restart){background:var(--game-purple);border-color:var(--game-purple);color:#fff;box-shadow:0 6px 18px #6945a01c}
html[data-theme="light"] :is(.swl-skill-primary,.swl-team-primary,.swl-addon-primary,.swlt-primary,.game-card-play,.rating-primary,.swlw-game .swlw-spin,.swlw-game.is-crazy .swlw-spin):hover:not(:disabled){background:#59358d;border-color:#59358d;color:#fff;filter:none}
html[data-theme="light"] :is(.swl-skill-secondary,.swl-team-secondary,.swl-addon-secondary,.swlt-secondary,.rating-secondary){background:#f2edf8;color:#594472;border-color:#d9cee5}
html[data-theme="light"] :is(.swl-skill-secondary,.swl-team-secondary,.swl-addon-secondary,.swlt-secondary,.rating-secondary):hover:not(:disabled){background:#e9dff4;border-color:#b49acb;color:#443159}
html[data-theme="light"] :is(.swlt-text,.swl-skill-text-button,.swl-team-text-button,.swl-addon-text-button){background:transparent;border-color:transparent;box-shadow:none}
html[data-theme="light"] :is(.games-shell button,.swl-skill-game button,.swl-addon button,.swl-team button,.swl-timing-game button,.swlw-game button,.swlw-options>summary,.swlw-segment,.game-rating-dialog button):focus-visible{outline-color:var(--game-purple)}
html[data-theme="light"] :is(.swl-skill-total-progress,.swl-skill-track,.swl-team-track,.swl-addon-progress-track){background:#e9e2f1}
html[data-theme="light"] :is(.swl-skill-total-progress,.swl-team-track,.swl-addon-progress-track)>span{background:var(--game-purple)}

/* Hub cards: coloured accents, quiet surfaces and legible artwork. */
html[data-theme="light"] .game-card{--game-color:var(--game-purple)}
html[data-theme="light"] :is(.game-card--letters,.game-card--handstand,.game-card--stickit){--game-color:var(--game-teal)}
html[data-theme="light"] :is(.game-card--team,.game-card--relayrace){--game-color:var(--game-gold)}
html[data-theme="light"] .game-card-tag{background:#f8f5fc;border-color:var(--game-line);color:var(--game-color)}
html[data-theme="light"] :is(.game-card-rating,.game-card-rate){color:var(--game-color)}
html[data-theme="light"] .game-card-plays{color:#554b65}
html[data-theme="light"] :is(.games-sort,.games-rating-tools button){background:#fff;border-color:var(--game-line);color:var(--game-muted)}
html[data-theme="light"] .games-sort-button{color:var(--game-muted)}
html[data-theme="light"] .games-sort-button[aria-pressed=true]{background:var(--game-purple);color:#fff}
html[data-theme="light"] :is(.games-live-rating,.games-live-hot,.game-hottest-badge){color:var(--game-gold)}
html[data-theme="light"] :is(.games-pending-ratings,.games-rating-tools .rating-pending){color:var(--game-purple);border-color:#cdb9e3}
html[data-theme="light"] .game-card.is-hottest{background:linear-gradient(145deg,#fff4dc,#fff 65%);border-color:#deb96c}
html[data-theme="light"] .game-card.is-hottest:after{background:radial-gradient(ellipse at 10% 100%,#f3b52b36,transparent 48%),radial-gradient(ellipse at 85% 110%,#e5842730,transparent 55%)}
/* SVG presentation attributes respond to CSS immediately when the theme changes. */
html[data-theme="light"] .game-card-art [fill^="#bd9bff"],html[data-theme="light"] .game-card-art [fill^="#d5fa70"],html[data-theme="light"] .game-card-art [fill^="#f5c87d"],html[data-theme="light"] .game-card-art [fill^="#9ce8cf"]{fill:#e8def4}
html[data-theme="light"] .game-card-art [fill="#bd9bff"]{fill:var(--game-purple)}
html[data-theme="light"] .game-card-art [fill="#d5fa70"],html[data-theme="light"] .game-card-art [fill="#9ce8cf"]{fill:var(--game-teal)}
html[data-theme="light"] .game-card-art [fill="#f5c87d"],html[data-theme="light"] .game-card-art [fill="#f4c97f"],html[data-theme="light"] .game-card-art [fill="#ffd782"]{fill:var(--game-gold)}
html[data-theme="light"] .game-card-art [fill="#272238"]{fill:#ede4f8}
html[data-theme="light"] .game-card-art [fill="#21322e"]{fill:#e2f2ec}
html[data-theme="light"] .game-card-art [stroke^="#bd9bff"]{stroke:#8964b7}
html[data-theme="light"] .game-card-art [stroke^="#d5fa70"],html[data-theme="light"] .game-card-art [stroke^="#9ce8cf"]{stroke:var(--game-teal)}
html[data-theme="light"] .game-card-art [stroke^="#f5c87d"],html[data-theme="light"] .game-card-art [stroke="#ffd782"]{stroke:#ad7b2b}
html[data-theme="light"] .game-card-art [stroke="#f7f5fc"],html[data-theme="light"] .game-card-art [stroke="#f5f0e0"]{stroke:#897b9e}
html[data-theme="light"] .game-card-art [fill="#171e15"]{fill:#f2ecfa}
html[data-theme="light"] .game-card-art [fill="#3d5140"]{fill:#bddbd1}
html[data-theme="light"] .game-card-art [fill="#738d4d"]{fill:#d8c5ed}
html[data-theme="light"] .game-card-art [fill="#66567c"]{fill:#d6b4c4}
html[data-theme="light"] .game-card-art [fill="#151a12"]{fill:#fff}
html[data-theme="light"] .game-card-art [fill="#f7f5fc"]{fill:var(--game-purple)}
html[data-theme="light"] .game-card-art [stroke="#14151b"]{stroke:#fff}
html[data-theme="light"] .game-card-art [stroke="#e0fbb4"]{stroke:#c5b0df}

/* Conditioning wheel: lavender, sea glass, sky and warm gold wedges. */
html[data-theme="light"] .swlw-modes{background:#fff;border-color:var(--game-line);box-shadow:none}
html[data-theme="light"] .swlw-game .swlw-mode{color:var(--game-muted)}
html[data-theme="light"] .swlw-game .swlw-mode[aria-pressed=true]{background:var(--game-lilac);color:var(--game-purple);border-color:#cdb8e4;box-shadow:none}
html[data-theme="light"] .swlw-game .swlw-mode[data-mode=crazy][aria-pressed=true]{background:#f4e5ed;color:var(--game-rose);border-color:#dcb4c7}
html[data-theme="light"] .swlw-game .swlw-mode:hover:not(:disabled){background:#f1eaf8;color:var(--game-purple)}
html[data-theme="light"] .swlw-round-count{background:#f5f0fa;border-color:#ded0ed;color:#695181}
html[data-theme="light"] :is(.swlw-stage:before,.swlw-game.is-crazy .swlw-stage:before){background:radial-gradient(ellipse at 28% 30%,#b18cd13b,transparent 62%),radial-gradient(ellipse at 72% 73%,#e0b95e38,transparent 64%)}
html[data-theme="light"] :is(.swlw-shell,.swlw-game.is-crazy .swlw-shell){background:#ede6f5;box-shadow:0 23px 50px #51406318,0 0 0 5px #fff,0 0 0 7px #d7c9e7,inset 0 0 0 1px #fff}
html[data-theme="light"] .swlw-rotor>svg>circle:first-of-type{fill:#f6f0fb}
html[data-theme="light"] #swlw-rim-metal stop:nth-child(1),html[data-theme="light"] #swlw-rim-metal stop:nth-child(5){stop-color:#fffaf1}
html[data-theme="light"] #swlw-rim-metal stop:nth-child(2){stop-color:#b698cf}
html[data-theme="light"] #swlw-rim-metal stop:nth-child(3){stop-color:#e8d6b4}
html[data-theme="light"] #swlw-rim-metal stop:nth-child(4){stop-color:#a78aba}
html[data-theme="light"] #swlw-gloss stop:last-child{stop-color:#8b72a7;stop-opacity:.07}
html[data-theme="light"] .swlw-segment>:is(path,circle){stroke:#fff;fill:#eee4f8}
html[data-theme="light"] .swlw-segment[data-kind=exercise]:nth-of-type(4n+1)>:is(path,circle){fill:#d7e9e3}
html[data-theme="light"] .swlw-segment[data-kind=exercise]:nth-of-type(4n+2)>:is(path,circle){fill:#e2d4f0}
html[data-theme="light"] .swlw-segment[data-kind=exercise]:nth-of-type(4n+3)>:is(path,circle){fill:#dee8f5}
html[data-theme="light"] .swlw-segment[data-kind=exercise]:nth-of-type(4n)>:is(path,circle){fill:#f4e6cc}
html[data-theme="light"] .swlw-segment[data-kind=coach-next]>:is(path,circle){fill:#b99bd5}
html[data-theme="light"] .swlw-segment[data-kind=coach-jackpot]>:is(path,circle){fill:#e5b450}
html[data-theme="light"] .swlw-segment[data-kind=free-time]>:is(path,circle){fill:#9ecfbd}
html[data-theme="light"] .swlw-game.is-crazy .swlw-segment[data-kind=exercise]:nth-of-type(2n)>:is(path,circle){fill:#ead1e0}
html[data-theme="light"] .swlw-segment>g{fill:#342646}
html[data-theme="light"] .swlw-segment.is-selected>:is(path,circle){stroke:#6945a0}
html[data-theme="light"] .swlw-segment:focus-visible>:is(path,circle){stroke:#6945a0}
html[data-theme="light"] .swlw-rotor>svg>circle[fill="#d5fa70"]{fill:#956118}
html[data-theme="light"] .swlw-rotor>svg>circle[fill="#b6a2d9"]{fill:#6945a0}
html[data-theme="light"] .swlw-pointer{filter:drop-shadow(0 3px 2px #49305728)}
html[data-theme="light"] .swlw-pointer:before{background:linear-gradient(120deg,#a17ac9,#6945a0 62%,#4d2e79)}
html[data-theme="light"] .swlw-pointer:after{background:#f7edff;border-color:#c4a6dc}
html[data-theme="light"] :is(.swlw-hub,.swlw-game.is-crazy .swlw-hub){background:linear-gradient(140deg,#fffdf6,#f8edce 55%,#e6c788);border-color:#fcfaf5;box-shadow:0 7px 20px #5d3a4a25,0 0 0 2px #cbb5df,inset 0 2px 0 #fff,inset 0 -3px 8px #b88e3d18}
html[data-theme="light"] .swlw-hub-caption{color:#6c4c21}
html[data-theme="light"] :is(.swlw-result,.swlw-game.is-crazy .swlw-result){background:#fff;border-color:var(--game-line);box-shadow:0 10px 30px #43295c08}
html[data-theme="light"] .swlw-result:before{background:#a98bc7}
html[data-theme="light"] :is(.swlw-result.has-result,.swlw-game.is-crazy .swlw-result.has-result,.swlw-game.is-complete .swlw-result){background:linear-gradient(135deg,#f4edf9,#fff 75%);border-color:#b99ed3;box-shadow:0 10px 30px #6945a010}
html[data-theme="light"] .swlw-result.has-result:before{background:var(--game-purple)}
html[data-theme="light"] :is(.swlw-result-label,.swlw-result.has-result .swlw-result-label,.swlw-options>summary,.swlw-game .swlw-new-game){color:var(--game-purple)}
html[data-theme="light"] :is(.swlw-result-detail,.swlw-freeplay,.swlw-grade-help,.swlw-options-list,.swlw-inspector-detail){color:var(--game-muted)}
html[data-theme="light"] .swlw-coach-note{background:var(--game-cream);color:#735022;border-color:#ead29d}
html[data-theme="light"] .swlw-options{border-color:var(--game-line)}
html[data-theme="light"] .swlw-game .swlw-option{background:#fff;border-color:var(--game-line);color:#584567}
html[data-theme="light"] .swlw-game .swlw-option:hover,html[data-theme="light"] .swlw-new-game:hover{background:#eee6f8}
html[data-theme="light"] .swlw-game.is-crazy .swlw-title{color:#80506e;text-shadow:none}
html[data-theme="light"] .swlw-result.is-jackpot:after{color:var(--game-gold)}
html[data-theme="light"] .swlw-game .swlw-grade{background:var(--game-mint);border-color:#a9d0c2;color:var(--game-teal)}
html[data-theme="light"] .swlw-game .swlw-grade-okay{background:var(--game-lilac);border-color:#c9b5df;color:var(--game-purple)}
html[data-theme="light"] .swlw-game .swlw-grade-needs{background:var(--game-cream);border-color:#e1c489;color:var(--game-gold)}
html[data-theme="light"] .swlw-grade:hover:not(:disabled){filter:brightness(.98)}
html[data-theme="light"] :is(.swlw-confirm,.swlw-inspector){background:#fff;border-color:#c9b6dd;color:var(--game-ink);box-shadow:0 28px 90px #33263c25}
html[data-theme="light"] .swlw-confirm>p{color:var(--game-muted)}
html[data-theme="light"] .swlw-game .swlw-confirm button{background:#f5f0fa;border-color:#d8c9e6;color:#59446e}
html[data-theme="light"] .swlw-inspector-quantity{background:var(--game-cream);border-color:#e9d8b4;color:#745328}
html[data-theme="light"] .swlw-inspector::backdrop{background:#30233f45}

/* Skill reel, Letter Duel, Stick It and Team Skill Draft. */
html[data-theme="light"] .swl-skill-reel{background:#f0eaf6;border-color:#d9cde6}
html[data-theme="light"] .swl-skill-reel:after{background:linear-gradient(90deg,#f0eaf6ed,transparent 14%,transparent 86%,#f0eaf6ed)}
html[data-theme="light"] .swl-skill-reel-card{background:linear-gradient(160deg,#eee4f8,#fff);border-color:#c9b5df;border-bottom-color:var(--game-purple);color:var(--game-ink)}
html[data-theme="light"] .swl-skill-reel-card[data-tier=base]{background:linear-gradient(160deg,#e2f2ec,#fff);border-color:#b3d5c9;border-bottom-color:var(--game-teal)}
html[data-theme="light"] .swl-skill-reel-card[data-tier=pro]{background:linear-gradient(160deg,#fff2d4,#fff);border-color:#e6c790;border-bottom-color:var(--game-gold)}
html[data-theme="light"] .swl-skill-reel-meta{color:#6e617f}
html[data-theme="light"] .swl-skill-reel-symbol{color:var(--game-purple)}
html[data-theme="light"] .swl-skill-reel-pointer{background:linear-gradient(#6945a0bb,#6945a035 23%,#6945a035 80%,#6945a0bb);box-shadow:0 0 16px #6945a018}
html[data-theme="light"] .swl-skill-reel-pointer:before{border-top-color:var(--game-purple);filter:drop-shadow(0 2px 6px #6945a025)}
html[data-theme="light"] .swl-skill-reel-pointer:after{border-bottom-color:var(--game-purple)}
html[data-theme="light"] .swl-skill-reel-card.is-selected{border-color:var(--game-purple);box-shadow:inset 0 0 28px #6945a00b,0 0 20px #6945a014}
html[data-theme="light"] .swl-skill-reel-frame[data-settled=true] .swl-skill-reel-pointer{background:linear-gradient(#6945a0bb,transparent 22%,transparent 80%,#6945a0bb)}
html[data-theme="light"] :is(.swl-skill-badge,.swlt-tag){background:var(--game-lilac);border-color:#d5c4e7;color:var(--game-purple)}
html[data-theme="light"] :is(.swl-skill-letter,.swl-contest-letter){color:var(--game-purple);text-shadow:0 10px 40px #6945a014}
html[data-theme="light"] .swl-skill-spinning .swl-skill-chosen{color:#7b618d}
html[data-theme="light"] .swl-skill-letter-game .swl-skill-stage{background:linear-gradient(150deg,#f2ecfa,#fff 75%)}
html[data-theme="light"] .swl-skill-game.is-immersive .swl-skill-face:not(.swl-skill-reel-face){background:#faf7fe;border-color:#e2d6ed}
html[data-theme="light"] :is(.swl-skill-rate,.swl-team-award,.swl-addon-grade){background:#fff;border-color:var(--game-line);color:var(--game-ink)}
html[data-theme="light"] :is(.swl-skill-rating-guide b,.swl-skill-rate>span,.swl-team-award>span,.swl-addon-grade>span,.swl-skill-award-result,.swl-team-award-result,.swl-addon-award,.swl-team-review-note,.swl-skill-result-points,.swl-addon-result-average){color:var(--game-gold)}
html[data-theme="light"] :is(.swl-skill-rate,.swl-team-award,.swl-addon-grade):hover:not(:disabled){background:#fff7e7;border-color:#d5ae63}
html[data-theme="light"] .swl-skill-point{background:#fff;color:var(--squad-color);border-color:var(--squad-color)}
html[data-theme="light"] .swl-skill-point:hover{background:color-mix(in srgb,var(--squad-color) 7%,#fff)}
html[data-theme="light"] .swl-contest-team{background:color-mix(in srgb,var(--squad-color) 6%,#fff);border-color:color-mix(in srgb,var(--squad-color) 35%,#fff)}
html[data-theme="light"] .swl-contest-win{background:var(--squad-color);border-color:var(--squad-color);color:#fff}
html[data-theme="light"] .swl-stick-step{background:#fff;border-color:var(--game-line);color:var(--squad-color)}
html[data-theme="light"] :is(.swl-contest-hints,.swl-skill-reset-prompt,.swl-addon-reset-prompt,.swl-team-reset-prompt,.swlt-dialog){background:#fff;border-color:#c9b5df;color:var(--game-ink);box-shadow:0 12px 45px #38254d28}
html[data-theme="light"] .swl-skill-hints{background:#f7f2fc;color:#514264}

/* Team Challenge, timers and Add-on play states. */
html[data-theme="light"] .swl-team-category{color:var(--game-teal);background:#f7fcfa}
html[data-theme="light"] .swl-team-category[data-category=synchronise]{color:var(--game-gold);background:#fff9ec}
html[data-theme="light"] .swl-team-category[data-category=build]{color:var(--game-purple);background:#f7f2fc}
html[data-theme="light"] .swl-team-category[data-category=create]{color:var(--game-rose);background:#fdf3f7}
html[data-theme="light"] .swl-team-category[data-category=sequence]{color:var(--game-blue);background:#f1f6fe}
html[data-theme="light"] .swl-team-category[data-category=cooperate]{color:#a34835;background:#fff5ef}
html[data-theme="light"] .swl-team-clock{color:var(--game-purple);background:radial-gradient(circle,#f0e7f8,transparent 70%);border-color:#cdb8e3;box-shadow:0 0 0 10px #6945a006,inset 0 0 35px #6945a006}
html[data-theme="light"] .swl-team-clock[data-final=true]{color:var(--game-gold);border-color:#c69c4c;background:#fff4df;box-shadow:0 0 0 10px #e6b95e13}
html[data-theme="light"] .swl-team-clock[data-paused=true]{color:var(--game-purple);border-color:#c3a7dc}
html[data-theme="light"] :is(.swlt-clock-digits,.swlt-lap-clock b){color:var(--game-ink)}
html[data-theme="light"] .swlt-lap-clock{color:var(--game-purple)}
html[data-theme="light"] :is(.swlt-target,.swlt-task b){color:var(--game-gold)}
html[data-theme="light"] .swlt-task{background:#fff7e7;border-color:#ead7b0}
html[data-theme="light"] .swlt-task p{color:#796449}
html[data-theme="light"] .swlt-hidden-clock{background:var(--game-lilac);border-color:#cbb6df;color:var(--game-purple)}
html[data-theme="light"] .swlt-draft strong{color:var(--game-purple)}
html[data-theme="light"] .swlt-comparison>div{background:#f5effa;border-color:#dfd2eb}
html[data-theme="light"] .swlt-splits li{background:#f5f1f9}
html[data-theme="light"] .swlt-splits li b{color:var(--game-ink)}
html[data-theme="light"] .swlt-check{color:var(--game-teal)}
html[data-theme="light"] :is(.swlt-group-cue,.swlt-confirmed){background:#f2edf8;border-color:#d9cae7;color:#594472}
html[data-theme="light"] .swlt-group-reminder{color:#594472}
html[data-theme="light"] .swlt-remaining{color:var(--timing-color)}
html[data-theme="light"] :is(.swlt-group-cue strong,.swlt-group-reminder strong,.swlt-remaining strong,.swlt-confirmed strong){color:var(--game-purple)}
html[data-theme="light"] :is(.swlt-group-cue p,.swlt-group-reminder p,.swlt-confirmed p){color:var(--game-muted)}
html[data-theme="light"] .swl-timing-game[data-focused=true] .swlt-history[open]{background:#fff;border-color:#cdb9e0;box-shadow:0 -20px 65px #39224d28}
html[data-theme="light"] .swl-timing-game[data-focused=true] .swlt-dialog{box-shadow:0 0 0 150vmax #35274055}
html[data-theme="light"] .swl-addon-choice{background:linear-gradient(160deg,#f2eafa,#fff);border-color:#d3bfe5;color:var(--game-ink)}
html[data-theme="light"] .swl-addon-choice:hover{background:linear-gradient(160deg,#e8ddf4,#fff);border-color:var(--game-purple)}
html[data-theme="light"] .swl-addon-choice-kicker{color:#7c589e}
html[data-theme="light"] .swl-addon-choice-cta{color:var(--game-purple);border-color:#ded2e9}
html[data-theme="light"] .swl-addon-chain{background:#f8f5fc}
html[data-theme="light"] .swl-addon-chain-list li{background:#fff;border-color:#e7dfed}
html[data-theme="light"] .swl-addon-chain-list li.is-new{background:var(--game-mint);border-color:#adcfc2}
html[data-theme="light"] .swl-addon-chain-number{color:var(--game-purple);border-color:#cfc0df;background:#f2ebfa}
html[data-theme="light"] .swl-addon-new-tag{color:var(--game-teal)}

/* Shared winner reveal: gold, silver-lilac and copper on luminous paper. */
html[data-theme="light"] :is(.swl-skill-finish,.swl-team-finish,.swl-addon-results,.swlt-finish){background:linear-gradient(150deg,#fff5e0,#fff 70%);border-color:#e6d0a3}
html[data-theme="light"] :is(.swl-skill-trophy,.swl-team-trophy,.swl-addon-trophy,.swlt-trophy){color:var(--game-gold)}
html[data-theme="light"] .swl-podium-caption{color:#5b456f}
html[data-theme="light"] .swl-podium-place{--podium-metal:#74548f;background:linear-gradient(165deg,#f2eaf8,#fff);border-color:#d9cce3}
html[data-theme="light"] .swl-podium-place[data-place="1"]{--podium-metal:#956118;background:linear-gradient(155deg,#ffedc2,#fff9ea 65%,#fff)}
html[data-theme="light"] .swl-podium-place[data-place="2"]{--podium-metal:#5f6580;background:linear-gradient(155deg,#e9eaf4,#fbfbff)}
html[data-theme="light"] .swl-podium-place[data-place="3"]{--podium-metal:#9c5938;background:linear-gradient(155deg,#f7e3d6,#fff9f5)}
html[data-theme="light"] .swl-podium-place[data-revealed=false]{background:#f0ebf5}
html[data-theme="light"] .swl-podium-place[data-revealed=true]{border-color:color-mix(in srgb,var(--podium-metal) 45%,#fff);box-shadow:0 0 30px color-mix(in srgb,var(--podium-metal) 9%,transparent),inset 0 1px 0 #fff}
html[data-theme="light"] .swl-podium-place[data-winner=true]{box-shadow:0 0 35px #d9a12d30,inset 0 1px 0 #fff}
html[data-theme="light"] .swl-podium-place[data-winner=true]:before{background:linear-gradient(115deg,transparent 43%,#fffdf0aa 49%,transparent 55%)}
html[data-theme="light"] :is(.swl-podium-name,.swl-skill-game.is-immersive .swl-skill-finish .swl-podium-name){color:var(--game-ink)}
html[data-theme="light"] :is(.swl-podium-unit,.swl-podium-detail,.swl-podium-skip){color:var(--game-muted)}
html[data-theme="light"] .swl-podium-rank{background:#ffffff70;border-color:#cbb8d02b}

/* Ratings stay consistent in the hub and after the winner reveal. */
html[data-theme="light"] .game-rating-dialog{background:#fff;border-color:#d9cce7;color:var(--game-ink);box-shadow:0 28px 90px #37234330}
html[data-theme="light"] .game-rating-dialog::backdrop{background:#30233f55}
html[data-theme="light"] :is(.rating-kicker,.rating-choice,.rating-close){color:var(--game-purple)}
html[data-theme="light"] :is(.rating-intro,.rating-status,.rating-scale,.rating-text,.rating-average>span,.rating-average small,.rating-play-note,.game-rating-badge small,.games-rating-tools){color:var(--game-muted)}
html[data-theme="light"] .rating-vote{background:#faf7fd;border-color:#ded3e8;color:var(--game-ink)}
html[data-theme="light"] .rating-star{color:#a77c30}
html[data-theme="light"] .rating-vote:hover:not(:disabled){background:#f1e8fa;border-color:var(--game-purple)}
html[data-theme="light"] .rating-vote[data-selected=true]{background:#eee3fa;border-color:var(--game-purple);box-shadow:inset 0 0 0 1px #6945a025}
html[data-theme="light"] .rating-vote[data-selected=true] .rating-star{color:var(--game-purple)}
html[data-theme="light"] .rating-average{background:#fff8e9;border-color:#ead9b9}
html[data-theme="light"] :is(.rating-average strong,.game-rating-badge){color:var(--game-gold)}
html[data-theme="light"] .rating-retry{background:#fff6e3;border-color:#e1bf7e}
html[data-theme="light"] .rating-retry .rating-status{color:#85602b}
/* Secondary states found during the second source pass. */
html[data-theme="light"] .swl-team-size-label{color:var(--game-muted)}
html[data-theme="light"] .swl-team-winner-points{color:var(--game-gold)}
html[data-theme="light"] .swlt-round-picker strong{color:var(--game-purple)}
html[data-theme="light"] .swlt-round-picker span{color:var(--game-muted)}
html[data-theme="light"] .swlt-check{background:var(--game-mint);border-color:#adcfc2}
html[data-theme="light"] :is(.swlt-confirmed>p:not(.swlt-kicker),.swlt-history summary,.swlt-history-row small,.swlt-history-row p,.swlt-dialog p){color:var(--game-muted)}
html[data-theme="light"] .swlt-history-row>b{color:var(--game-ink)}
html[data-theme="light"] .swlt-history-row>strong{color:var(--game-purple)}
html[data-theme="light"] .swlt-turn-heading h3{color:var(--timing-color)}
/* Audit corrections: selected navigation, small labels, and selected warm streaks. */
html[data-theme="light"] .nav button:not([aria-pressed=true]){color:#625a70}
html[data-theme="light"] .utilities .all-skills-button[aria-pressed=true]{background:#eee6f8;color:#6945a0;border-color:#bca4d6}
html[data-theme="light"] .challenge-entry-copy>small{color:#80613d}
html[data-theme="light"] .profile-navigation>span{color:#706a7d}
html[data-theme="light"] .games-note span:first-child{color:#6945a0}
html[data-theme="light"] .swlp-row.swlp-selected:is(.is-hot,.is-on-fire) :is(.swlp-row-person strong,.swlp-row-score strong,.swlp-row-position){color:#603b12}
html[data-theme="light"] .swlp-row.swlp-selected:is(.is-hot,.is-on-fire) .swlp-row-person small{color:#6e4d26}
html[data-theme="light"] .swlp-row.swlp-selected:is(.is-hot,.is-on-fire) .swlp-row-avatar{color:#855515;background:#f7dfaa;border-color:#d8ad5d}
html[data-theme="light"] .swl-shuffle-difficulty-button[aria-pressed=true] span{color:#62566f}
