/* Dark remains the original stylesheet. Light is an explicit, persistent choice. */
.bz-theme-toggle{box-sizing:border-box!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;flex:0 0 44px!important;width:44px!important;height:44px!important;min-height:44px!important;padding:10px!important;border:1px solid #345447!important;border-radius:50%!important;background:#0a1d18!important;color:#00ee94!important;cursor:pointer}
.bz-theme-toggle svg{display:block;width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.bz-theme-toggle:focus-visible{outline:3px solid #00c77d!important;outline-offset:4px}.bz-theme-toggle:hover{border-color:#00eb92!important}.nv-header .bz-theme-toggle{margin-inline-start:auto}
/* Make room for one new control without hiding language or account access. */
@media(min-width:901px){body .topbar{grid-template-columns:minmax(180px,280px) minmax(310px,1fr) auto!important}body .topbar-actions{width:auto!important;gap:14px!important}.topbar .exact-search-box{width:150px!important}}
@media(max-width:900px){body .topbar-actions{gap:8px!important}.topbar .bz-theme-toggle{width:38px!important;height:38px!important;min-height:38px!important;flex-basis:38px!important;padding:8px!important}}
@media(max-width:500px){body .topbar{padding-left:12px!important;padding-right:12px!important;gap:10px!important}.topbar .exact-brand-logo{width:110px!important;max-width:110px!important}.topbar .exact-lang-btn{min-width:58px!important;width:auto!important;padding:8px!important;font-size:12px!important}.topbar .exact-profile-btn{width:38px!important;height:38px!important;min-width:38px!important}.topbar .exact-search-box{display:none!important}.topbar .lang-arrow{display:none}.nv-header{gap:8px}.nv-header .nv-brand img{width:94px}.nv-header .bz-theme-toggle{flex-basis:36px!important;width:36px!important;height:36px!important;min-height:36px!important}.nv-header #adminAccess{padding:10px 8px!important;font-size:10px!important}}
/* Layered important declarations take precedence over legacy page-specific overrides. */
@layer breakzi-light {
html[data-theme="light"]{color-scheme:light;--bz-text:#16372b;--bz-green:#008a53;--bz-cyan:#008a53;--bz-line:#cee0d5;--exact-green:#008a53;--nv-bg:#f6faf7;--nv-line:#cfdfd3;--nv-muted:#567064;--nv-green:#087f42}
html[data-theme="light"] body{background:#f5f9f6!important;color:#173b2b!important}
html[data-theme="light"] body .topbar{background:#fff!important;border-color:#d6e4db!important;box-shadow:0 4px 24px #163c2410!important}
html[data-theme="light"] body .nav-links{background:transparent!important}
html[data-theme="light"] body .nav-links a{color:#537063!important}
html[data-theme="light"] body .nav-links a.active,html[data-theme="light"] body .nav-links a:hover{color:#006b3e!important}
html[data-theme="light"] body .nav-links a:after{background:#00bf73!important;box-shadow:none!important}
html[data-theme="light"] body .exact-brand,html[data-theme="light"] body .nv-brand{background:#061a14!important;border-radius:12px!important;padding:5px 12px!important;display:inline-flex;align-items:center}
html[data-theme="light"] body .exact-brand-logo{filter:none!important}
html[data-theme="light"] body .exact-search-box,html[data-theme="light"] body .icon-btn.exact-lang-btn,html[data-theme="light"] body .exact-profile-btn,html[data-theme="light"] body .bz-theme-toggle{background:#f1f8f3!important;color:#0c643e!important;border-color:#c9ddce!important;box-shadow:none!important}
html[data-theme="light"] body .exact-search-box strong{color:#275640!important}
html[data-theme="light"] body .exact-profile-btn svg{stroke:#008751!important}
html[data-theme="light"] body .language-menu,html[data-theme="light"] body #adminMenu,html[data-theme="light"] body #playerMenu{background:#fff!important;color:#173b2b!important;border-color:#c9ddce!important;box-shadow:0 16px 45px #173b2b22!important}
html[data-theme="light"] body :is(.language-menu,#adminMenu,#playerMenu) button{background:#fff!important;color:#21543b!important}
html[data-theme="light"] body :is(.language-menu,#adminMenu,#playerMenu) button:hover{background:#e6f5eb!important}
html[data-theme="light"] body #home{background:radial-gradient(ellipse at 85% 8%,#dff8e9,transparent 60%),#f5f9f6!important}
html[data-theme="light"] body #home:before{opacity:.06!important}
html[data-theme="light"] body #home .home-v385-glow{opacity:.04!important}
html[data-theme="light"] body #home :is(.home-v385-hero-card,.home-v386-broadcast-section){background:#fff!important;border-color:#d2e3d9!important;box-shadow:0 20px 50px #16452d0c!important}
html[data-theme="light"] body #home :is(.home-v385-left h1,.home-v386-broadcast-copy h2){color:#123e2d!important;text-shadow:none!important}
html[data-theme="light"] body #home :is(.home-v385-left p,.home-v386-broadcast-copy p){color:#536f61!important}
html[data-theme="light"] body #home .home-v385-primary{background:#00d98a!important;color:#043723!important;box-shadow:0 8px 24px #00a8661c!important}
html[data-theme="light"] body #home .home-v385-secondary{background:#f2f8f4!important;color:#185338!important;border-color:#c9dfd2!important}
html[data-theme="light"] body #home .home-v386-live-preview{background:linear-gradient(140deg,#f0faf3,#e5f3eb)!important;border-color:#c5dfcf!important;box-shadow:0 10px 30px #16452d10!important}
html[data-theme="light"] body #home :is(.home-v385-preview-top,.home-v386-live-meta,.home-v386-live-bottom,.home-v386-live-loading){color:#486b56!important}
html[data-theme="light"] body #home :is(.home-v385-preview-top b,.home-v386-live-meta span,.home-v386-live-scoreline span){color:#007e4c!important}
html[data-theme="light"] body #home .home-v387-event-title{background:#d6efdf!important;color:#13492f!important;border-color:#a6d3b7!important}
html[data-theme="light"] body #home .home-v386-live-scoreline strong{background:#fff!important;color:#17402d!important;box-shadow:none!important}
html[data-theme="light"] body #home .home-v386-live-scoreline em{background:#007c48!important;color:#fff!important}
html[data-theme="light"] body #home .home-v386-social-card{background:#f5faf7!important;border-color:#d1e3d8!important;color:#17412e!important;box-shadow:none!important}
html[data-theme="light"] body #home .home-v386-social-card :is(strong,small){color:#305d44!important}
/* The rest of the main site's navigation uses the same white/green surfaces. */
html[data-theme="light"] body .page,html[data-theme="light"] body main.page>.app-section:not(#home){background:#f5f9f6!important;color:#173b2b!important}
html[data-theme="light"] body :is(.page-title,.section-title h2,.stage-header h2,.scoreboard-tournament-selector h2,.public-draw-hero-v310 h1,.join-heading h1,.timer-intro-card h1,.player-history-header h2){color:#123e2d!important;text-shadow:none!important}
html[data-theme="light"] body :is(.scoreboard-tournament-selector,.tournament-select-card,.tournament-card,.ranking-card,.ranking-mobile-card,.group-card,.group-ranking-card,.public-draw-panel-v310,.join-form-card,.timer-intro-card,.timer-main-card,.player-history-stats,.player-history-list,.modal-card,.admin-tools,.player-link-box,.player-view-header){background:#fff!important;color:#183f2c!important;border-color:#d0e2d7!important;box-shadow:0 12px 35px #163c2410!important}
html[data-theme="light"] body :is(.tournament-select-card strong,.tournament-card h2,.public-draw-panel-v310 h2,.modal-card h2,.modal-card h3,.timer-brand-chip strong){color:#145337!important;text-shadow:none!important}
html[data-theme="light"] body :is(.tournament-select-card span,.tournament-select-card em,.tournament-card p,.section-title p,.public-draw-hero-v310 p,.join-heading p,.modal-card p,.modal-card label,.timer-intro-card p,.timer-brand-chip span,.stage-header span,.eyebrow){color:#56705f!important}
html[data-theme="light"] body :is(input,select,textarea){background:#f6faf7!important;color:#173c29!important;border-color:#bfd5c7!important;box-shadow:none!important;accent-color:#008c50}
html[data-theme="light"] body :is(input,textarea)::placeholder{color:#708579!important;opacity:1}
html[data-theme="light"] body :is(input,select,textarea):focus{outline-color:#00a866!important;border-color:#008c50!important}
html[data-theme="light"] body :is(.modal-close,.modal-card .login-switch-btn,.public-draw-secondary-v310){background:#e9f5ed!important;color:#1c5a3a!important;border-color:#c6dfce!important}
html[data-theme="light"] body :is(.admin-submit,.join-submit-btn,.public-draw-primary-v310){background:#008e52!important;color:#fff!important}
html[data-theme="light"] body :is(.join-profile-form label,.join-mini-title,.join-upload-box,.timer-mini-rule,.timer-card-top,.player-history-summary){color:#355e45!important}
html[data-theme="light"] body :is(.join-upload-box,.join-radio,.timer-mini-rule,.ranking-mobile-stat){background:#f0f8f3!important;border-color:#cde1d4!important}
html[data-theme="light"] body :is(.public-draw-winner-v310,.public-draw-order-v310,.timer-status-pill){color:#08733f!important}
html[data-theme="light"] body :is(.ranking-card th,.ranking-card td,.ranking-mobile-name){color:#244e35!important;border-color:#d3e6d9!important}
html[data-theme="light"] body footer,html[data-theme="light"] body footer strong{color:#4a6b59!important}
/* Noves shares the preference, while match broadcast overlays remain untouched. */
html[data-theme="light"] body.noves{--nv-bg:#f5faf7;--nv-line:#cbded0;--nv-muted:#526d5d;--nv-green:#087f42;background:var(--nv-bg)!important;color:#143523!important}
html[data-theme="light"] body.noves :is(.nv-panel,.nv-person,.nv-pending-card,.nv-dialog,.nv-draw-pair,.nv-bracket-match,.nv-bracket-round>header){background:#fff!important;color:#173b2b!important;border-color:#c7ddcf!important}
html[data-theme="light"] body.noves :is(.nv-button,.nv-menu-score button){background:#e7f3eb;color:#16482c;border-color:#b4d3bf}
html[data-theme="light"] body.noves .nv-primary{background:#00cf7d!important;color:#052b18!important;border-color:#00bc70!important}
html[data-theme="light"] body.noves .nv-danger{background:#fff0ec;color:#922d20;border-color:#e5b2a4}
html[data-theme="light"] body.noves :is(.nv-pill,.nv-counter){background:#ddf3e5;color:#126735;border-color:#b4d8c0}
html[data-theme="light"] body.noves :is(.nv-notice,.nv-share-output,.nv-bracket,.nv-champion){background:#e5f4eb;color:#204d33;border-color:#b5d8c2}
html[data-theme="light"] body.noves .nv-notice.error{background:#fff0ec;color:#922d20;border-color:#e5b2a4}
html[data-theme="light"] body.noves .nv-progress{background:#d2e4d7}
html[data-theme="light"] body.noves :is(.nv-event-line span:first-child,.nv-close,.nv-draw-pair i){color:#285a3b!important}
html[data-theme="light"] body.noves .nv-bracket-player.is-winner{background:#daf2e2}
html[data-theme="light"] body.noves .nv-bracket-player b{background:#e8f1eb;color:#17452c}
html[data-theme="light"] body.noves .nv-bracket-player span{color:#173b2b}
html[data-theme="light"] body.noves .nv-draw{background:radial-gradient(ellipse at top,#d7f1df,#fff 65%)!important}
@media(max-width:500px){html[data-theme="light"] body .exact-brand{padding:4px 6px}.nv-header .nv-header-label{display:none}}

}
@layer breakzi-light {
html[data-theme="light"] body #home:before,html[data-theme="light"] body #home:after{display:none!important}
html[data-theme="light"] body #home .home-v385-hero-card:before{background:linear-gradient(120deg,#fff,#f1fbf5)!important}
html[data-theme="light"] body #home .home-v385-hero-card:after{opacity:.05!important}
html[data-theme="light"] body #home :is(.home-v386-live-meta b,.home-v386-live-empty strong){color:#446a54!important}
html[data-theme="light"] body :is(.public-draw-hero-v310,.timer-brand-chip,.timer-side-card,.timer-status-pill,.login-brand-panel,.login-tabs){background:#eaf6ee!important;border-color:#c4dfce!important;color:#245439!important;box-shadow:none!important}
html[data-theme="light"] body .public-draw-hero-v310:before,html[data-theme="light"] body .public-draw-hero-v310:after{opacity:.05!important}
html[data-theme="light"] body :is(.timer-mini-rule strong,.timer-side-card strong,.timer-side-card span){color:#007744!important}
html[data-theme="light"] body :is(.timer-mini-rule span,.timer-side-card small,.timer-subinfo p,.login-brand-panel p,.login-panel p){color:#557562!important}
html[data-theme="light"] body :is(.timer-enable-sound-btn,.timer-sound-status){background:#e1f6e9!important;color:#006e3f!important;border-color:#a9d8bc!important;box-shadow:none!important}
html[data-theme="light"] body :is(.timer-ext-btn,.timer-secondary-btn){background:#eaf5ee!important;color:#21593b!important;border-color:#b9d7c4!important;box-shadow:none!important}
html[data-theme="light"] body .timer-display-ring{background:radial-gradient(circle at 40% 25%,#fff,#e5f6ec)!important;border-color:#00a863!important;box-shadow:0 18px 45px #16503018!important}
html[data-theme="light"] body .timer-display-ring:before{opacity:.12!important}
html[data-theme="light"] body .timer-display-value{color:#085f39!important;text-shadow:none!important}
html[data-theme="light"] body .timer-display-ring small{color:#56745f!important}
html[data-theme="light"] body #adminModal :is(h2,h3){color:#174b31!important}
html[data-theme="light"] body #adminModal .login-tab{color:#476c57!important;background:transparent!important}
html[data-theme="light"] body #adminModal .login-tab.active{background:#00cf7d!important;color:#04391f!important}
html[data-theme="light"] body #adminModal .login-card:before,html[data-theme="light"] body #adminModal .login-card:after{display:none!important}
@media(max-width:500px){html[data-theme="light"] body .exact-brand{padding:4px 6px!important}}
}
@layer breakzi-light {
html[data-theme="light"] body #adminModal .login-brand-panel strong{color:#145337!important}
html[data-theme="light"] body #adminModal .login-brand-panel span,html[data-theme="light"] body #timerExtensionMessage{color:#557562!important}
html[data-theme="light"] body .timer-brand-chip img{background:#061a14!important;border-radius:8px;padding:6px}
html[data-theme="light"] body .timer-status-pill.expired{background:#fff0eb!important;color:#ad321f!important;border-color:#e6aa9c!important}
html[data-theme="light"] body .timer-status-pill.running{background:#d5f3e1!important;color:#006f38!important;border-color:#85cfa4!important}
html[data-theme="light"] body :is(.timer-ext-btn.used,.timer-ext-btn:disabled){background:#e7ece9!important;color:#66766b!important;border-color:#cbd6ce!important}
html[data-theme="light"] body.noves select option{background:#fff!important;color:#173c29!important}
}
@layer breakzi-light {
html[data-theme="light"] body .tournament-public-url-v418t1{color:#087647!important}
html[data-theme="light"] body .tournament-facts-v418t1>div{background:#e9f5ee!important;border-color:#c4dfcd!important}
html[data-theme="light"] body .tournament-facts-v418t1 :is(small,strong){color:#315e42!important}
html[data-theme="light"] body #knockoutBoard .ko-row,html[data-theme="light"] body.noves .nv-match-board .ko-row{background:#f3faf6!important;border-color:#c9dfd0!important;color:#174b30!important;box-shadow:none!important}
html[data-theme="light"] body #knockoutBoard .ko-row:nth-child(even),html[data-theme="light"] body.noves .nv-match-board .ko-row:nth-child(even){background:#e5f3ea!important}
html[data-theme="light"] body #knockoutBoard :is(.ko-player,.ko-player-name,.ko-player-main,.ko-time,.ko-table,.ko-id,.ko-id-number),html[data-theme="light"] body.noves .nv-match-board :is(.ko-player,.ko-player-name,.ko-time,.ko-table,.ko-id,.ko-id-number){color:#24563a!important}
html[data-theme="light"] body #knockoutBoard .ko-score,html[data-theme="light"] body.noves .nv-match-board .ko-score{background:#d4eddf!important;color:#095633!important}
html[data-theme="light"] body #knockoutBoard .winner-score,html[data-theme="light"] body.noves .nv-match-board .winner-score{background:#00884e!important;color:#fff!important}
html[data-theme="light"] body .tournament-details{box-shadow:none!important}
}
@layer breakzi-light {
html[data-theme="light"] body .tournament-facts-v418t1 span{color:#526f5b!important}
}
