/* 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 .bz-theme-option1{overflow:visible}
.bz-theme-toggle .bz-theme-sun,.bz-theme-toggle .bz-theme-sun-rays{stroke:#16f2b2;fill:none}
.bz-theme-toggle .bz-theme-divider{stroke:rgba(230,247,255,.8)}
.bz-theme-toggle .bz-theme-moon{stroke:#f5fbff;fill:none}
html[data-theme="light"] .bz-theme-toggle .bz-theme-divider{stroke:#0c643e}
html[data-theme="light"] .bz-theme-toggle .bz-theme-moon{stroke:#0c643e}
.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}
}


/* ===== Breakzi v170: approved premium neon header ===== */
@media (min-width: 901px){
  body .topbar{
    position:sticky!important;
    top:0!important;
    z-index:120!important;
    min-height:112px!important;
    display:grid!important;
    grid-template-columns:minmax(250px,360px) minmax(420px,1fr) auto!important;
    align-items:center!important;
    gap:18px!important;
    padding:18px 28px!important;
    background:linear-gradient(180deg,rgba(4,12,16,.94),rgba(2,10,14,.9))!important;
    border:0!important;
    border-top:0!important;
    box-shadow:0 22px 60px rgba(0,0,0,.36)!important;
    backdrop-filter:blur(10px)!important;
    overflow:hidden!important;
  }
  body .topbar::before,
  body .topbar::after{
    content:"";
    position:absolute;
    left:0;
    right:0;
    height:2px;
    pointer-events:none;
    background:linear-gradient(90deg,rgba(0,0,0,0) 0%,rgba(59,255,201,.9) 8%,rgba(112,255,219,.35) 23%,rgba(114,255,214,.3) 77%,rgba(59,255,201,.92) 92%,rgba(0,0,0,0) 100%);
    box-shadow:0 0 18px rgba(44,255,194,.55),0 0 34px rgba(44,255,194,.18);
  }
  body .topbar::before{top:18px;}
  body .topbar::after{bottom:10px;}

  body .topbar .brand.exact-brand{
    position:relative!important;
    min-width:0!important;
    height:72px!important;
    display:flex!important;
    align-items:center!important;
    padding:0 28px 0 12px!important;
    background:linear-gradient(135deg,rgba(13,29,36,.92),rgba(5,15,20,.78))!important;
    border:1px solid rgba(67,255,208,.22)!important;
    clip-path:polygon(0 0,89% 0,100% 50%,89% 100%,0 100%,4% 50%)!important;
    box-shadow:inset 0 0 0 1px rgba(255,255,255,.03),0 0 0 1px rgba(10,255,182,.06),0 14px 28px rgba(0,0,0,.28)!important;
  }
  body .topbar .brand.exact-brand::before,
  body .topbar .brand.exact-brand::after{
    content:"";
    position:absolute;
    top:50%;
    transform:translateY(-50%);
    width:1px;
    height:54px;
    background:linear-gradient(180deg,rgba(13,255,186,0),rgba(13,255,186,.55),rgba(13,255,186,0));
    opacity:.55;
  }
  body .topbar .brand.exact-brand::before{left:18px;}
  body .topbar .brand.exact-brand::after{right:18px;opacity:.35;}
  body .topbar .exact-brand-logo{
    width:280px!important;
    max-width:100%!important;
    height:auto!important;
    filter:drop-shadow(0 0 12px rgba(27,255,182,.14));
  }

  body .topbar .nav-links{
    position:relative!important;
    flex:0 1 auto!important;
    height:84px!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    gap:22px!important;
    padding:0 34px!important;
    background:linear-gradient(180deg,rgba(9,19,24,.98),rgba(4,12,16,.92))!important;
    border:1px solid rgba(67,255,208,.22)!important;
    border-radius:0!important;
    clip-path:polygon(6% 0,100% 0,95% 100%,6% 100%,0 50%)!important;
    box-shadow:inset 0 0 0 1px rgba(255,255,255,.03),0 14px 28px rgba(0,0,0,.22)!important;
  }
  body .topbar .nav-links::before,
  body .topbar .nav-links::after{
    content:"";
    position:absolute;
    width:1px;
    top:14px;
    bottom:14px;
    background:linear-gradient(180deg,rgba(13,255,186,0),rgba(13,255,186,.35),rgba(13,255,186,0));
    opacity:.5;
  }
  body .topbar .nav-links::before{left:26px;}
  body .topbar .nav-links::after{right:26px;}
  body .topbar .nav-links a{
    height:auto!important;
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
    padding:0 6px 14px!important;
    color:rgba(245,250,252,.88)!important;
    font-size:18px!important;
    line-height:1!important;
    font-weight:800!important;
    letter-spacing:.04em!important;
    text-transform:uppercase!important;
  }
  body .topbar .nav-links a::after{
    content:"";
    position:absolute;
    left:14px;
    right:14px;
    bottom:10px;
    height:4px;
    border-radius:999px;
    background:linear-gradient(90deg,#28ffbf,#5dffd3)!important;
    transform:scaleX(0);
    transform-origin:center;
    opacity:0;
    transition:transform .22s ease,opacity .22s ease;
    box-shadow:0 0 12px rgba(40,255,191,.62);
  }
  body .topbar .nav-links a.active,
  body .topbar .nav-links a:hover{color:#44ffd0!important;text-shadow:0 0 18px rgba(34,255,189,.18)!important;}
  body .topbar .nav-links a.active::after,
  body .topbar .nav-links a:hover::after{transform:scaleX(1)!important;opacity:1!important;}

  body .topbar .topbar-actions{
    display:flex!important;
    align-items:center!important;
    justify-content:flex-end!important;
    gap:14px!important;
    width:auto!important;
    min-width:0!important;
  }
  body .topbar .exact-search-box{
    width:300px!important;
    height:52px!important;
    min-width:300px!important;
    padding:0 18px!important;
    justify-content:flex-start!important;
    gap:12px!important;
    border-radius:20px!important;
    border:1px solid rgba(129,227,255,.28)!important;
    background:linear-gradient(180deg,rgba(13,24,32,.96),rgba(8,18,24,.9))!important;
    box-shadow:inset 0 0 0 1px rgba(255,255,255,.03),0 12px 24px rgba(0,0,0,.18)!important;
  }
  body .topbar .exact-search-box span{
    font-size:22px!important;
    line-height:1!important;
    color:#ffffff!important;
    opacity:.92!important;
  }
  body .topbar .exact-search-box strong{
    display:block!important;
    font-size:15px!important;
    font-weight:500!important;
    color:rgba(229,240,246,.72)!important;
    white-space:nowrap!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
  }
  body .topbar .exact-search-box:hover,
  body .topbar .exact-search-box:focus-visible{
    border-color:rgba(80,255,207,.55)!important;
    box-shadow:0 0 0 1px rgba(80,255,207,.18),0 0 22px rgba(80,255,207,.1)!important;
  }
  body .topbar .bz-theme-toggle,
  body .topbar .icon-btn.exact-lang-btn,
  body .topbar .exact-profile-btn{
    height:52px!important;
    min-height:52px!important;
    border:1px solid rgba(80,255,207,.3)!important;
    background:linear-gradient(180deg,rgba(7,20,22,.92),rgba(4,13,16,.92))!important;
    box-shadow:inset 0 0 0 1px rgba(255,255,255,.03),0 10px 22px rgba(0,0,0,.18)!important;
  }
  body .topbar .bz-theme-toggle,
  body .topbar .exact-profile-btn{
    width:52px!important;
    min-width:52px!important;
    border-radius:50%!important;
  }
  body .topbar .icon-btn.exact-lang-btn{
    width:auto!important;
    min-width:136px!important;
    border-radius:20px!important;
    padding:0 18px!important;
    gap:10px!important;
    color:#f5f7f8!important;
    font-weight:800!important;
    letter-spacing:.04em!important;
  }
  body .topbar .icon-btn.exact-lang-btn .lang-flag{font-size:20px!important;}
  body .topbar .icon-btn.exact-lang-btn .lang-arrow{opacity:.8!important;}
  body .topbar .bz-theme-toggle:hover,
  body .topbar .icon-btn.exact-lang-btn:hover,
  body .topbar .exact-profile-btn:hover{
    border-color:rgba(80,255,207,.62)!important;
    box-shadow:0 0 0 1px rgba(80,255,207,.18),0 0 24px rgba(80,255,207,.12)!important;
  }
}

@media (max-width: 900px){
  body .topbar{
    min-height:unset!important;
    padding:14px 14px 12px!important;
    background:linear-gradient(180deg,rgba(4,12,16,.96),rgba(2,10,14,.94))!important;
    border:0!important;
    box-shadow:0 18px 40px rgba(0,0,0,.32)!important;
  }
  body .topbar::before,
  body .topbar::after{
    content:"";
    position:absolute;
    left:10px;
    right:10px;
    height:2px;
    background:linear-gradient(90deg,rgba(0,0,0,0),rgba(59,255,201,.84),rgba(0,0,0,0));
    box-shadow:0 0 16px rgba(44,255,194,.42);
  }
  body .topbar::before{top:10px;}
  body .topbar::after{bottom:4px;}
  body .topbar .brand.exact-brand,
  body .topbar .nav-links,
  body .topbar .topbar-actions{
    background:linear-gradient(180deg,rgba(7,20,22,.94),rgba(4,13,16,.94))!important;
    border:1px solid rgba(80,255,207,.18)!important;
    border-radius:20px!important;
    clip-path:none!important;
  }
  body .topbar .brand.exact-brand{padding:10px 16px!important;min-width:0!important;justify-content:center!important;}
  body .topbar .exact-brand-logo{width:180px!important;max-width:100%!important;height:auto!important;}
  body .topbar .nav-links{padding:0 12px!important;gap:18px!important;overflow:auto!important;scrollbar-width:none!important;}
  body .topbar .nav-links::before,
  body .topbar .nav-links::after{display:none!important;}
  body .topbar .nav-links a{
    padding:14px 4px 12px!important;
    font-size:13px!important;
    text-transform:uppercase!important;
    letter-spacing:.06em!important;
    color:rgba(244,248,249,.88)!important;
  }
  body .topbar .nav-links a::after{
    left:8px!important;
    right:8px!important;
    bottom:8px!important;
    height:3px!important;
    border-radius:999px!important;
    background:linear-gradient(90deg,#28ffbf,#5dffd3)!important;
  }
  body .topbar .topbar-actions{padding:8px 10px!important;gap:8px!important;}
  body .topbar .exact-search-box{background:rgba(8,18,24,.88)!important;border-color:rgba(129,227,255,.2)!important;}
  body .topbar .icon-btn.exact-lang-btn,
  body .topbar .exact-profile-btn,
  body .topbar .bz-theme-toggle{background:rgba(8,18,24,.88)!important;border-color:rgba(80,255,207,.24)!important;}
}

html[data-theme="light"] body .topbar{
  background:linear-gradient(180deg,rgba(245,252,248,.97),rgba(232,244,237,.95))!important;
  box-shadow:0 18px 40px rgba(7,53,31,.08)!important;
}
html[data-theme="light"] body .topbar .brand.exact-brand,
html[data-theme="light"] body .topbar .nav-links,
html[data-theme="light"] body .topbar .exact-search-box,
html[data-theme="light"] body .topbar .icon-btn.exact-lang-btn,
html[data-theme="light"] body .topbar .bz-theme-toggle,
html[data-theme="light"] body .topbar .exact-profile-btn{
  background:linear-gradient(180deg,rgba(255,255,255,.98),rgba(242,248,244,.96))!important;
  border-color:rgba(0,133,86,.16)!important;
  box-shadow:0 8px 26px rgba(11,73,43,.06)!important;
}
html[data-theme="light"] body .topbar .nav-links a{color:#315345!important;}
html[data-theme="light"] body .topbar .nav-links a.active,
html[data-theme="light"] body .topbar .nav-links a:hover{color:#0a8a55!important;}
html[data-theme="light"] body .topbar .exact-search-box strong{color:#4f6c60!important;}
