/* HKS statistics typography — Oxanium, readable controls and data.
   Reuse the first existing cascade layer so important legacy/widget styles
   cannot replace typography. Scoped to pages containing the statistics centre.
   Icon glyphs retain their icon font; all actual text uses Oxanium. */
@layer hks-connected-subnav.hks-typography {
body:has(#spil_w_h) :is(#page,#sffm-flymenu-panel-44,.hks-r-dialog,.hks-archive-modal),
body:has(#spil_w_h) :is(#page,#sffm-flymenu-panel-44,.hks-r-dialog,.hks-archive-modal) *:not(:is(.fa,.fas,.far,.fab,.fal,.fad,.fai,.dashicons,.material-icons,[class*="eicon-"],[class*="dl-icon"],[class*="sffm-icon"],[class*="sffm-close-icon-"],[class*="essentialicon-"],[class*="icofont-"],.mdi,.hks-archive-trigger__icon)) {
  font-family:"Oxanium",sans-serif!important;
}
#spil_w_h {font-size:16px!important;line-height:1.5!important;}
:is(#statistika-glavni,.statistika-glavni) :is(a,button),
#spil_w_h :is(.hs-page-nav a,.generic-list-menu a,.menuoption,button,input,select,option),
body:has(#spil_w_h) :is(.hks-r-picker,.hks-r-nav,.hks-r-option,.hks-archive-modal__link) {
  font-size:16px!important;line-height:1.4!important;
}
#spil_w_h :is(button,.menuoption) :is(span,font):not(.fa):not(.hks-archive-trigger__year),
body:has(#spil_w_h) :is(.hks-r-picker,.hks-r-nav,.hks-r-option) :is(span,font) {
  font-size:inherit!important;
}
#spil_w_h :is(button,input,select) {min-height:44px!important;}
#spil_w_h :is(.hks-stat-mode,.hks-field-group,.menuoption) {height:auto!important;white-space:normal!important;}
#spil_w_h :is(td,td a,td span,td font,.ld-person a,.ld-name a,.hks-preview-person a,.team-leader-feature-name,.team-link a,.sched-teams .team-name a) {
  font-size:16px!important;line-height:1.5!important;
}
#spil_w_h :is(th,th a,th span,th font,td::before) {
  font-size:14px!important;line-height:1.45!important;letter-spacing:.02em!important;
}
#spil_w_h :is(td.hks-meta-cell a,td.hks-r-identity a) {white-space:normal!important;overflow:visible!important;text-overflow:clip!important;overflow-wrap:anywhere!important;}
#spil_w_h :is(td,th) {font-variant-numeric:tabular-nums;}
#spil_w_h :is(.leader-header,.team-leaders-detail>h4,.summary-boxscore-detail>h4,.hks-player-search__title,.team-last5>h4) {
  font-size:18px!important;line-height:1.45!important;
}
#spil_w_h :is(.hks-player-search__count,.hks-player-search__alphabet-label,.hks-archive-trigger__year,.ld-team,.ld-team a,.ld-statname,.hks-preview-team,.hks-preview-team a,.hks-schedule-explorer__eyebrow,.team-leader-feature-title,.hks-club-filter__label,.hks-schedule-group,.venuename,.filter-name,.fieldName,.hks-p-eyebrow,.hks-p-complete,.hks-p-round-label span,.hks-p-winner,.hks-p-source a,.hks-p-source span,.match-header .status,.match-header .details font,.hks-leader-dialog h2,.match-header .details>div,small),
body:has(#spil_w_h) :is(.hks-r-kicker,.hks-r-nav small,.hks-archive-modal__name,.hks-archive-modal__eyebrow) {
  font-size:14px!important;line-height:1.5!important;
}
#spil_w_h .hks-player-search__alphabet {flex-wrap:wrap!important;}
#spil_w_h .hks-player-search__letter {min-width:36px!important;min-height:40px!important;height:auto!important;font-size:14px!important;}
#spil_w_h .hks-player-search__input {font-size:16px!important;}
#spil_w_h .hks-archive-trigger__year {white-space:nowrap!important;}
#spil_w_h .hks-archive-trigger {min-width:64px!important;}
#spil_w_h .hks-leader-dialog .leader-header {font-size:24px!important;}
#spil_w_h .hks-leader-dialog .ld-name a {font-size:18px!important;}
#spil_w_h .hks-leader-dialog td:last-child {font-size:18px!important;}
#spil_w_h :is(.ld-statname,td)::before {font-family:"Oxanium",sans-serif!important;}
body:has(#spil_w_h) .hks-r-nav :is(a,button) {font-size:16px!important;line-height:1.4!important;min-height:88px!important;height:auto!important;white-space:normal!important;}
body:has(#spil_w_h) .hks-r-picker .hks-r-picker-label {font-size:14px!important;}
@media(max-width:600px){
  #spil_w_h .hks-field-groups {display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important;}
  #spil_w_h .hks-field-group {width:100%!important;min-width:0!important;}
}
@media(max-width:1180px){
  #spil_w_h .match-header .name-wrapper :is(a,span,font) {font-size:16px!important;line-height:1.5!important;}
  #spil_w_h .hks-field-group {padding:10px 8px!important;}
  #spil_w_h .selection-scroll a.menuoption {padding:12px 8px!important;}
  #spil_w_h .hks-r-table td::before {font-size:14px!important;line-height:1.45!important;}
  #spil_w_h .STANDINGS_last5>span {min-width:28px!important;min-height:28px!important;font-size:14px!important;}
}
}
/* Center the archive icon and year together in the desktop navigation. */
@layer hks-connected-subnav.hks-typography {
@media(min-width:1181px){
#spil_w_h .hs-page-nav .hks-archive-trigger {flex-direction:column!important;justify-content:center!important;align-items:center!important;gap:4px!important;}
#spil_w_h .hs-page-nav .hks-archive-trigger>.hks-archive-trigger__icon {position:static!important;inset:auto!important;transform:none!important;height:20px!important;flex:0 0 20px!important;line-height:20px!important;margin:0!important;}
#spil_w_h .hs-page-nav .hks-archive-trigger>.hks-archive-trigger__year {position:static!important;inset:auto!important;transform:none!important;height:18px!important;min-height:18px!important;flex:0 0 18px!important;line-height:18px!important;margin:0!important;}
}
}
/* Larger, readable match details in every schedule fixture. */
@layer hks-connected-subnav.hks-typography {
#spil_w_h .fixture-wrap .match-time>span[data-hks-date-time]::before,
#spil_w_h .fixture-wrap .match-time>span:not([data-hks-date-time]),
#spil_w_h .fixture-wrap :is(.venuename,.venuename font) {
  font-family:"Oxanium",sans-serif!important;font-size:18px!important;line-height:1.5!important;font-weight:600!important;white-space:normal!important;overflow-wrap:anywhere!important;
}
#spil_w_h .fixture-wrap .sched-teams :is(.team-name,.team-name a,.team-name span,.team-name font) {
  font-family:"Oxanium",sans-serif!important;font-size:20px!important;line-height:1.45!important;font-weight:650!important;white-space:normal!important;overflow:visible!important;text-overflow:clip!important;overflow-wrap:anywhere!important;max-height:none!important;height:auto!important;
}
#spil_w_h .fixture-wrap :is(.match-wrap,.sched-teams) {height:auto!important;}
#spil_w_h .fixture-wrap .match-details-wrap {height:auto!important;align-self:stretch!important;}
#spil_w_h .fixture-wrap .match-details {height:auto!important;gap:10px!important;}
#spil_w_h .fixture-wrap :is(.match-time,.match-venue) {height:auto!important;min-height:27px!important;overflow:visible!important;}
#spil_w_h .fixture-wrap :is(.home-team,.away-team) {height:auto!important;min-height:54px!important;}
}
/* Remove the decorative rule below the player alphabet filter. */
@layer hks-connected-subnav.hks-typography {
#spil_w_h .hks-player-search:has(.hks-player-search__alphabet-scroll)::after {content:none!important;display:none!important;}
}
/* Club hover changes colour without moving or enlarging the card outline. */
@layer hks-connected-subnav.hks-typography {
#spil_w_h .teams-list-page .team-link {transition:border-color .18s ease,background-color .18s ease,color .18s ease!important;}
#spil_w_h .teams-list-page .team-link:hover {transform:none!important;scale:none!important;translate:none!important;border-width:1px!important;box-shadow:inset 0 1px 0 rgba(185,222,255,.05),0 10px 28px rgba(0,8,20,.12)!important;}
}


/* HKS statistics — desktop and mobile navigation share the same visual language. */
@layer hks-connected-subnav.hks-typography {
#spil_w_h :is(.hks-r-nav>a,.hks-r-nav>button) {
  font-family:"Oxanium",sans-serif!important;
  font-size:16px!important;font-weight:750!important;
  line-height:1.4!important;letter-spacing:.035em!important;
  text-transform:uppercase!important;text-align:center!important;
}
@media(max-width:1180px){
  body #spil_w_h .hks-r-nav {
    grid-template-columns:repeat(6,minmax(0,1fr))!important;
    grid-auto-rows:1fr!important;gap:0!important;padding:0!important;
    overflow:hidden!important;border-radius:14px!important;
    border:1px solid #294861!important;
    background:radial-gradient(circle at 12% 0%,rgba(43,183,255,.16),transparent 33%),radial-gradient(circle at 86% 0%,rgba(45,122,220,.13),transparent 34%),linear-gradient(rgba(8,36,67,.98),rgba(3,19,38,.97))!important;
    box-shadow:inset 0 1px 0 rgba(185,222,255,.045)!important;
  }
  body #spil_w_h .hks-r-nav>:is(a,button) {
    box-sizing:border-box!important;position:relative!important;
    display:grid!important;grid-template-columns:minmax(0,1fr)!important;grid-template-rows:22px 22.4px!important;align-items:center!important;justify-items:center!important;justify-content:center!important;
    width:100%!important;min-width:0!important;max-width:100%!important;
    height:100%!important;min-height:88px!important;padding:12px 6px!important;margin:0!important;gap:8px!important;
    border:0!important;border-radius:0!important;box-shadow:none!important;
    background:transparent!important;color:#b9cee1!important;-webkit-text-fill-color:currentColor!important;
    white-space:normal!important;word-break:normal!important;overflow-wrap:normal!important;
    transform:none!important;transition:color .18s ease,background-color .18s ease!important;
  }
  body #spil_w_h .hks-r-nav>:is(a,button)::before {
    content:""!important;display:block!important;position:static!important;
    flex:0 0 22px!important;width:22px!important;height:22px!important;margin:0!important;
    background:currentColor!important;
    -webkit-mask:var(--hks-shared-nav-icon) center/contain no-repeat!important;
    mask:var(--hks-shared-nav-icon) center/contain no-repeat!important;
    opacity:1!important;filter:none!important;transform:none!important;
  }
  body #spil_w_h .hks-r-nav>a[aria-current="page"] {
    color:#39bfff!important;background:radial-gradient(ellipse at 50% 0,rgba(41,186,255,.13),transparent 75%)!important;
    box-shadow:inset 0 -2px #39bfff!important;
  }
  body #spil_w_h .hks-r-nav>:is(a,button):hover {color:#fff!important;background:rgba(255,255,255,.04)!important;}
  body #spil_w_h .hks-r-nav>:is(a,button):focus-visible {outline:2px solid #39bfff!important;outline-offset:-3px!important;}
  body #spil_w_h .hks-r-nav>:is(a,button)::after {content:none!important;display:none!important;}
  body #spil_w_h .hks-r-nav>button {--hks-shared-nav-icon:var(--hks-r-icon);}
  body #spil_w_h .hks-r-nav small {font-size:14px!important;line-height:1.4!important;color:inherit!important;}
}
@media(max-width:1180px){
  body #spil_w_h:has(.main-container :is(.stats-list,.leaders,.hks-p-stage-nav,.hks-schedule-explorer)) .hks-r-nav {border-radius:14px 14px 0 0!important;}
}
@media(max-width:760px){
  body #spil_w_h .hks-r-nav {grid-template-columns:repeat(3,minmax(0,1fr))!important;}
}
@media(max-width:379px){
  body #spil_w_h .hks-r-nav {grid-template-columns:repeat(2,minmax(0,1fr))!important;}
}
body #spil_w_h .hks-r-nav>a[href*="standings"] {--hks-shared-nav-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239eb8d3' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 20V10M12 20V4M19 20v-7'/%3E%3Cpath d='M4 20h16'/%3E%3C/svg%3E");}
body #spil_w_h .hks-r-nav>a[href*="schedule"] {--hks-shared-nav-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239eb8d3' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3.5' y='4.5' width='17' height='16' rx='2.4'/%3E%3Cpath d='M7.5 2.8v4M16.5 2.8v4M3.5 9h17M8 13h2M12 13h2M16 13h1M8 17h2M12 17h2'/%3E%3C/svg%3E");}
body #spil_w_h .hks-r-nav>a[href*="leaders"] {--hks-shared-nav-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239eb8d3' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8 4l4 4 4-4'/%3E%3Cpath d='M9 8h6l-1 5.2a4 4 0 1 1-4 0L9 8z'/%3E%3Cpath d='M12 14.2l.8 1.6 1.8.2-1.3 1.2.3 1.8-1.6-.9-1.6.9.3-1.8L9.4 16l1.8-.2.8-1.6z'/%3E%3C/svg%3E");}
body #spil_w_h .hks-r-nav>a[href*="statistics"] {--hks-shared-nav-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239eb8d3' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 19h16'/%3E%3Cpath d='M5 16l4-4 3 3 6-8'/%3E%3Cpath d='M18 7h-4M18 7v4'/%3E%3C/svg%3E");}
body #spil_w_h .hks-r-nav>a[href*="teams"] {--hks-shared-nav-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239eb8d3' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M16 19c0-2.2-1.8-4-4-4s-4 1.8-4 4'/%3E%3Ccircle cx='12' cy='9' r='3.2'/%3E%3Cpath d='M4.8 18.5c0-1.7 1.2-3.1 2.8-3.5'/%3E%3Cpath d='M16.4 15c1.6.4 2.8 1.8 2.8 3.5'/%3E%3Cpath d='M6.8 12.3a2.4 2.4 0 1 1 1.1-4.6'/%3E%3Cpath d='M16.1 7.7a2.4 2.4 0 1 1 1.1 4.6'/%3E%3C/svg%3E");}
}

/* Mobile competition menu follows the desktop light/dark palette. */
@layer hks-light {
html:not(.darklup-dark-mode-enabled) body:has(#spil_w_h) .hks-r-dialog {
  background:#fff!important;color:#243d58!important;border-color:#dce4ed!important;
}
html:not(.darklup-dark-mode-enabled) body:has(#spil_w_h) .hks-r-dialog .hks-r-dialog-head {
  background:#f7f9fc!important;color:#102a48!important;border-color:#dce4ed!important;
}
html:not(.darklup-dark-mode-enabled) body:has(#spil_w_h) .hks-r-dialog :is(h2,h3,.hks-r-kicker) {
  color:#102a48!important;-webkit-text-fill-color:currentColor!important;text-shadow:none!important;
}
html:not(.darklup-dark-mode-enabled) body:has(#spil_w_h) .hks-r-dialog .hks-r-options {background:#fff!important;}
html:not(.darklup-dark-mode-enabled) body:has(#spil_w_h) .hks-r-dialog :is(.hks-r-option,.hks-r-close) {
  background:#f7f9fc!important;border-color:#dce4ed!important;color:#243d58!important;
  -webkit-text-fill-color:currentColor!important;box-shadow:none!important;
}
html:not(.darklup-dark-mode-enabled) body:has(#spil_w_h) .hks-r-dialog .hks-r-option :is(span,svg) {
  color:inherit!important;-webkit-text-fill-color:currentColor!important;
}
html:not(.darklup-dark-mode-enabled) body:has(#spil_w_h) .hks-r-dialog .hks-r-option-icon {
  background:#e8f2fb!important;color:#36536e!important;
}
html:not(.darklup-dark-mode-enabled) body:has(#spil_w_h) .hks-r-dialog .hks-r-option:is([aria-current="page"],:hover,:focus-visible) {
  background:#e7f2fc!important;color:#0067b1!important;border-color:#93badb!important;
  box-shadow:inset 3px 0 #0067b1!important;outline-color:#0067b1!important;
}
html:not(.darklup-dark-mode-enabled) body:has(#spil_w_h) .hks-r-dialog .hks-r-close:is(:hover,:focus-visible) {
  background:#e7f2fc!important;color:#0067b1!important;border-color:#93badb!important;outline-color:#0067b1!important;
}
html:not(.darklup-dark-mode-enabled) body #spil_w_h .hks-r-nav>:is(a,button) {
  background:#f7f9fc!important;color:#243d58!important;border-color:#dce4ed!important;
  -webkit-text-fill-color:currentColor!important;box-shadow:none!important;
}
html:not(.darklup-dark-mode-enabled) body #spil_w_h .hks-r-nav>:is(a,button)::before {
  background-color:currentColor!important;
}
html:not(.darklup-dark-mode-enabled) body #spil_w_h .hks-r-nav>:is(a,button):is([aria-current="page"],:hover,:focus-visible) {
  background:#e7f2fc!important;color:#0067b1!important;border-color:#93badb!important;
  box-shadow:inset 0 -2px #0067b1!important;outline-color:#0067b1!important;
}
}

/* Archive keeps a translucent backdrop and the same light surfaces as the desktop controls. */
@layer hks-light {
html:not(.darklup-dark-mode-enabled) body:has(#spil_w_h) .hks-archive-modal {background:rgba(7,26,47,.55)!important;}
html:not(.darklup-dark-mode-enabled) body:has(#spil_w_h) .hks-archive-modal .hks-archive-modal__dialog {
  background:linear-gradient(135deg,#fff,#f7f9fc)!important;color:#243d58!important;border-color:#dce4ed!important;
  box-shadow:0 20px 60px rgba(12,32,55,.2)!important;
}
html:not(.darklup-dark-mode-enabled) body:has(#spil_w_h) .hks-archive-modal :is(.hks-archive-modal__title,.hks-archive-modal__eyebrow) {color:#102a48!important;-webkit-text-fill-color:currentColor!important;text-shadow:none!important;}
html:not(.darklup-dark-mode-enabled) body:has(#spil_w_h) .hks-archive-modal :is(.hks-archive-modal__item,.hks-archive-modal__close) {
  background:#f7f9fc!important;color:#243d58!important;border-color:#dce4ed!important;box-shadow:none!important;
  -webkit-text-fill-color:currentColor!important;text-shadow:none!important;
}
html:not(.darklup-dark-mode-enabled) body:has(#spil_w_h) .hks-archive-modal .hks-archive-modal__item span {color:inherit!important;-webkit-text-fill-color:currentColor!important;}
html:not(.darklup-dark-mode-enabled) body:has(#spil_w_h) .hks-archive-modal :is(.hks-archive-modal__item,.hks-archive-modal__close):is(.is-active,:hover,:focus-visible) {
  background:#e7f2fc!important;color:#0067b1!important;border-color:#93badb!important;
  box-shadow:inset 3px 0 #0067b1!important;outline-color:#0067b1!important;
}
}
/* Preserve the verified desktop switch dimensions on mobile, including its icon and text. */
@layer hks-light {
@media(max-width:1180px){
html body .darklup-mode-switcher,
html body .darklup-mode-switcher :is(.mode-switcher-inner,.darklup-switch-container) {
  box-sizing:border-box!important;width:124px!important;min-width:124px!important;max-width:124px!important;height:40px!important;padding:0!important;margin:0!important;transform:none!important;scale:none!important;zoom:1!important;
}
html body .darklup-mode-switcher .darklup-switch.style6 {
  box-sizing:border-box!important;width:124px!important;height:40px!important;padding:0!important;margin:0!important;
  border:1px solid #b4cce3!important;border-radius:24px!important;
  background:linear-gradient(135deg,#fff,#e5f0fb)!important;
  box-shadow:0 3px 12px rgba(12,36,65,.14),inset 0 1px 0 rgba(255,255,255,.8)!important;
  font-family:Oxanium,Arial,sans-serif!important;transform:none!important;scale:none!important;
}
html body .darklup-mode-switcher .style6 .toggle-btn {width:36px!important;height:36px!important;top:1px!important;left:1px!important;}
html body .darklup-mode-switcher .style6 .toggle-checkbox:checked~.toggle-btn {left:85px!important;}
html body .darklup-mode-switcher .style6 .plate {width:36px!important;height:36px!important;background:#fff!important;border-radius:60px!important;box-shadow:0 2px 6px rgba(16,42,72,.17)!important;}
html body .darklup-mode-switcher .style6 .plate svg {box-sizing:border-box!important;width:23px!important;height:23px!important;left:6.5px!important;top:6.5px!important;padding:6px!important;}
html body .darklup-mode-switcher .style6 .plate svg path {fill:#1c609e!important;}
html body .darklup-mode-switcher .style6 .right-placeholder {left:39px!important;right:3px!important;width:80px!important;height:38px!important;color:#173b60!important;}
html body .darklup-mode-switcher .style6 .toggle-checkbox:checked~.right-placeholder {left:3px!important;right:39px!important;}
html body .darklup-mode-switcher .style6 .right-placeholder span::after {content:"Tamno"!important;font:600 12px/1.2 Oxanium,Arial,sans-serif!important;color:#173b60!important;}
html body .darklup-mode-switcher .style6 .toggle-checkbox:checked~.right-placeholder span::after {content:"Svijetlo"!important;color:#eaf4ff!important;}
html.darklup-dark-mode-enabled body .darklup-mode-switcher .darklup-switch.style6 {background:linear-gradient(135deg,#183d64,#0b233d)!important;border-color:#557da6!important;box-shadow:0 3px 12px rgba(0,9,25,.25),inset 0 1px 0 rgba(205,228,255,.1)!important;}
html body .darklup-mode-switcher:focus-within:not(:has(:focus-visible)),html body .darklup-mode-switcher .style6:focus-within:not(:has(:focus-visible)) {outline:none!important;}
}
}

/* Leader details use the same theme as the statistics page. */
@layer hks-light {
html:not(.darklup-dark-mode-enabled) body #spil_w_h .hks-leader-dialog {background:#fff!important;color:#243d58!important;border-color:#dce4ed!important;box-shadow:0 20px 60px rgba(12,32,55,.2)!important;}
html:not(.darklup-dark-mode-enabled) body #spil_w_h .hks-leader-dialog .hks-dialog-bar {background:#f7f9fc!important;color:#102a48!important;border-color:#dce4ed!important;}
html:not(.darklup-dark-mode-enabled) body #spil_w_h .hks-leader-dialog .hks-dialog-bar h2 {color:#102a48!important;-webkit-text-fill-color:currentColor!important;text-shadow:none!important;}
}

/* Light theme for the desktop competition popups; dark styles remain unchanged. */
@layer hks-light {
html:not(.darklup-dark-mode-enabled) body #hks-competition-popup {
  background:linear-gradient(135deg,#fff,#f7f9fc)!important;color:#243d58!important;border-color:#dce4ed!important;
  box-shadow:0 20px 60px rgba(12,32,55,.2)!important;
}
html:not(.darklup-dark-mode-enabled) body #hks-competition-popup::backdrop {background:rgba(7,26,47,.55)!important;}
html:not(.darklup-dark-mode-enabled) body #hks-competition-popup .hks-popup-kicker {color:#36536e!important;-webkit-text-fill-color:currentColor!important;}
html:not(.darklup-dark-mode-enabled) body #hks-competition-popup h2 {color:#102a48!important;-webkit-text-fill-color:currentColor!important;text-shadow:none!important;}
html:not(.darklup-dark-mode-enabled) body #hks-competition-popup .hks-popup-icon {
  background:#36536e!important;-webkit-mask:var(--hks-popup-icon) center/contain no-repeat!important;mask:var(--hks-popup-icon) center/contain no-repeat!important;
}
html:not(.darklup-dark-mode-enabled) body #hks-competition-popup :is(.hks-popup-link,.hks-popup-close) {
  background:#f7f9fc!important;color:#243d58!important;border-color:#dce4ed!important;
  -webkit-text-fill-color:currentColor!important;text-shadow:none!important;box-shadow:none!important;
}
html:not(.darklup-dark-mode-enabled) body #hks-competition-popup .hks-popup-link span {color:inherit!important;-webkit-text-fill-color:currentColor!important;}
html:not(.darklup-dark-mode-enabled) body #hks-competition-popup .hks-popup-link .hks-popup-arrow {color:#0067b1!important;}
html:not(.darklup-dark-mode-enabled) body #hks-competition-popup :is(.hks-popup-link,.hks-popup-close):is(:hover,:focus-visible) {
  background:#e7f2fc!important;color:#0067b1!important;border-color:#93badb!important;
}
html:not(.darklup-dark-mode-enabled) body #hks-competition-popup :is(a,button):focus-visible {outline:2px solid #0067b1!important;outline-offset:3px!important;}
}

/* Complete light palettes for schedule, news, search and playoff popups. */
@layer hks-light {
html:not(.darklup-dark-mode-enabled) body :is(#hks-schedule-picker,#hks-global-search-dialog,.hks-zr-series,.hks-news-filter-popup__dialog) {
  background:linear-gradient(135deg,#fff,#f7f9fc)!important;color:#243d58!important;border-color:#dce4ed!important;
  box-shadow:0 20px 60px rgba(12,32,55,.2)!important;scrollbar-color:#93badb #edf3f8!important;
}
html:not(.darklup-dark-mode-enabled) body :is(#hks-schedule-picker,#hks-global-search-dialog,.hks-zr-series)::backdrop {background:rgba(7,26,47,.55)!important;}
html:not(.darklup-dark-mode-enabled) body .hks-news-filter-popup {background:rgba(7,26,47,.55)!important;}
html:not(.darklup-dark-mode-enabled) body :is(#hks-schedule-picker,#hks-global-search-dialog,.hks-zr-series,.hks-news-filter-popup) :is(h2,h3) {color:#102a48!important;-webkit-text-fill-color:currentColor!important;text-shadow:none!important;}
html:not(.darklup-dark-mode-enabled) body :is(#hks-schedule-picker,#hks-global-search-dialog,.hks-zr-series,.hks-news-filter-popup) :is(p,.hks-picker-eyebrow,.hks-news-filter-popup__eyebrow) {color:#36536e!important;-webkit-text-fill-color:currentColor!important;}
html:not(.darklup-dark-mode-enabled) body :is(#hks-schedule-picker,#hks-global-search-dialog) input {background:#fff!important;color:#243d58!important;border-color:#c3d3e2!important;caret-color:#0067b1!important;-webkit-text-fill-color:currentColor!important;}
html:not(.darklup-dark-mode-enabled) body :is(#hks-schedule-picker,#hks-global-search-dialog) input::placeholder {color:#60758c!important;-webkit-text-fill-color:currentColor!important;opacity:1!important;}
html:not(.darklup-dark-mode-enabled) body :is(#hks-schedule-picker,#hks-global-search-dialog) input:focus {border-color:#0067b1!important;outline:2px solid #93badb!important;outline-offset:2px!important;}
html:not(.darklup-dark-mode-enabled) body :is(#hks-schedule-picker .hks-picker-option,#hks-schedule-picker .hks-picker-close,#hks-global-search-dialog .hks-global-close,.hks-zr-series button,.hks-zr-series .hks-zr-game,.hks-news-filter-popup .hks-news-filter-popup__item,.hks-news-filter-popup .hks-news-filter-popup__close,.hks-news-filter-popup .hks-news-category-group__toggle) {
  background:#f7f9fc!important;color:#243d58!important;border-color:#dce4ed!important;-webkit-text-fill-color:currentColor!important;text-shadow:none!important;box-shadow:none!important;
}
html:not(.darklup-dark-mode-enabled) body :is(#hks-schedule-picker .hks-picker-option,#hks-schedule-picker .hks-picker-close,#hks-global-search-dialog .hks-global-close,.hks-zr-series button,.hks-zr-series .hks-zr-game,.hks-news-filter-popup .hks-news-filter-popup__item,.hks-news-filter-popup .hks-news-filter-popup__close,.hks-news-filter-popup .hks-news-category-group__toggle):is(:hover,:focus-visible,[aria-pressed="true"],[aria-expanded="true"],.is-active) {
  background:#e7f2fc!important;color:#0067b1!important;border-color:#93badb!important;
}
html:not(.darklup-dark-mode-enabled) body :is(#hks-schedule-picker,#hks-global-search-dialog,.hks-zr-series,.hks-news-filter-popup) :is(a,button):focus-visible {outline:2px solid #0067b1!important;outline-offset:2px!important;}
html:not(.darklup-dark-mode-enabled) body #hks-schedule-picker .hks-picker-option:hover {outline-color:#0067b1!important;}
html:not(.darklup-dark-mode-enabled) body #hks-schedule-picker .hks-picker-option[aria-pressed="true"],
html:not(.darklup-dark-mode-enabled) body .hks-news-filter-popup .hks-news-filter-popup__item.is-active {box-shadow:inset 3px 0 #0067b1!important;}
html:not(.darklup-dark-mode-enabled) body .hks-news-filter-popup .hks-news-filter-popup__list {scrollbar-color:#93badb #edf3f8!important;}
html:not(.darklup-dark-mode-enabled) body .hks-news-filter-popup .hks-news-category-group {background:#fff!important;border-color:#dce4ed!important;box-shadow:none!important;}
html:not(.darklup-dark-mode-enabled) body .hks-news-filter-popup .hks-news-category-group.has-active {border-color:#93badb!important;box-shadow:inset 3px 0 #0067b1!important;}
html:not(.darklup-dark-mode-enabled) body .hks-news-filter-popup .hks-news-category-group__children {background:#fff!important;border-color:#dce4ed!important;}
html:not(.darklup-dark-mode-enabled) body .hks-news-filter-popup :is(.hks-news-filter-popup__label,.hks-news-filter-popup__arrow,.hks-news-category-group__name,.hks-news-category-group__symbol,font) {color:inherit!important;-webkit-text-fill-color:currentColor!important;}
html:not(.darklup-dark-mode-enabled) body .hks-news-filter-popup .hks-news-category-group__count {color:#60758c!important;-webkit-text-fill-color:currentColor!important;}
html:not(.darklup-dark-mode-enabled) body .hks-news-filter-popup :is(.hks-news-filter-popup__arrow,.hks-news-category-group__symbol) {color:#0067b1!important;border-color:#93badb!important;}
html:not(.darklup-dark-mode-enabled) body .hks-news-filter-popup .hks-news-filter-popup__label::before {color:#0067b1!important;-webkit-text-fill-color:currentColor!important;}
html:not(.darklup-dark-mode-enabled) body #hks-global-search-dialog button[type="submit"] {background:#0067b1!important;color:#fff!important;-webkit-text-fill-color:currentColor!important;border-color:#0067b1!important;}
html:not(.darklup-dark-mode-enabled) body #hks-global-search-dialog button[type="submit"]:hover {background:#00538f!important;border-color:#00538f!important;}
html:not(.darklup-dark-mode-enabled) body #hks-global-search-dialog a,
html:not(.darklup-dark-mode-enabled) body .hks-zr-series .hks-zr-dialog-body>a:not(.hks-zr-game) {color:#0067b1!important;-webkit-text-fill-color:currentColor!important;}
html:not(.darklup-dark-mode-enabled) body #hks-global-search-dialog .hks-advanced-search-link {background:#f7f9fc!important;border-color:#dce4ed!important;box-shadow:none!important;}
html:not(.darklup-dark-mode-enabled) body #hks-global-search-dialog .hks-advanced-search-link:is(:hover,:focus-visible) {background:#e7f2fc!important;border-color:#93badb!important;}
html:not(.darklup-dark-mode-enabled) body .hks-zr-series .hks-zr-game :is(span,strong,font) {color:inherit!important;-webkit-text-fill-color:currentColor!important;}
html:not(.darklup-dark-mode-enabled) body .hks-zr-series .hks-zr-game small {color:#60758c!important;-webkit-text-fill-color:currentColor!important;}

/* Calendar triggers retain a visible icon in the light theme, including hover. */
html:not(.darklup-dark-mode-enabled) body #spil_w_h .hs-nav .hks-archive-trigger,
html:not(.darklup-dark-mode-enabled) body #spil_w_h .hks-schedule-picker-trigger,
html:not(.darklup-dark-mode-enabled) body :is(#hks-news-season-toggle,#hks-news-category-toggle) {background:#f7f9fc!important;color:#243d58!important;border-color:#dce4ed!important;-webkit-text-fill-color:currentColor!important;text-shadow:none!important;}
html:not(.darklup-dark-mode-enabled) body #spil_w_h .hs-nav .hks-archive-trigger :is(.hks-archive-trigger__icon,.hks-archive-trigger__year),
html:not(.darklup-dark-mode-enabled) body #spil_w_h .hs-nav .hks-archive-trigger .hks-archive-trigger__icon::before,
html:not(.darklup-dark-mode-enabled) body :is(#hks-news-season-toggle,#hks-news-category-toggle) :is(span,svg) {color:inherit!important;-webkit-text-fill-color:currentColor!important;text-shadow:none!important;}
html:not(.darklup-dark-mode-enabled) body #spil_w_h .hks-schedule-picker-trigger::after {color:#0067b1!important;-webkit-text-fill-color:currentColor!important;}
html:not(.darklup-dark-mode-enabled) body :is(#hks-news-season-toggle,#hks-news-category-toggle) svg,
html:not(.darklup-dark-mode-enabled) body :is(#hks-news-season-toggle,#hks-news-category-toggle) svg * {stroke:currentColor!important;fill:none!important;}
html:not(.darklup-dark-mode-enabled) body #spil_w_h .hs-nav .hks-archive-trigger:is(:hover,:focus-visible),
html:not(.darklup-dark-mode-enabled) body #spil_w_h .hks-schedule-picker-trigger:is(:hover,:focus-visible,[aria-expanded="true"]),
html:not(.darklup-dark-mode-enabled) body :is(#hks-news-season-toggle,#hks-news-category-toggle):is(:hover,:focus-visible,[aria-expanded="true"]) {background:#e7f2fc!important;color:#0067b1!important;border-color:#93badb!important;}
}


/* Club standings use the same table layout as the main standings tab. */
@layer hks-connected-subnav.hks-typography {
@media(min-width:1181px){
html body #spil_w_h .template-wrap.page-team .team-standings table.team-standings-table {table-layout:auto!important;width:100%!important;}
html body #spil_w_h .template-wrap.page-team .team-standings table.team-standings-table :is(th,td) {display:table-cell!important;width:auto!important;min-width:0!important;max-width:none!important;vertical-align:middle!important;text-align:center!important;}
html body #spil_w_h .template-wrap.page-team .team-standings table.team-standings-table th {padding:12px 14px!important;height:48px!important;white-space:nowrap!important;overflow:visible!important;}
html body #spil_w_h .template-wrap.page-team .team-standings table.team-standings-table td {height:69px!important;padding:14px!important;}
html body #spil_w_h .template-wrap.page-team .team-standings table.team-standings-table :is(th,td):first-child {width:96px!important;min-width:96px!important;}
html body #spil_w_h .template-wrap.page-team .team-standings table.team-standings-table :is(th,td).team-logo {width:52px!important;min-width:52px!important;padding-left:8px!important;padding-right:12px!important;}
html body #spil_w_h .template-wrap.page-team .team-standings table.team-standings-table :is(th,td).team-name {min-width:220px!important;text-align:left!important;padding-left:16px!important;padding-right:12px!important;}
html body #spil_w_h .template-wrap.page-team .team-standings table.team-standings-table :is(th,td)[class*="STANDINGS_"] {width:14%!important;min-width:100px!important;}
html body #spil_w_h .template-wrap.page-team .team-standings table.team-standings-table .team-logo img {display:block!important;width:32px!important;height:32px!important;min-width:32px!important;max-width:32px!important;margin:0 auto!important;padding:4px!important;object-fit:contain!important;}
}
}

/* Keep the theme button steady and update its thumb, label and icon together on click. */
@layer hks-light {
html body .darklup-mode-switcher,
html body .darklup-mode-switcher *,
html body .darklup-mode-switcher::before,
html body .darklup-mode-switcher::after,
html body .darklup-mode-switcher *::before,
html body .darklup-mode-switcher *::after {
  transition:none!important;
  animation:none!important;
}
html body .darklup-mode-switcher,
html body .darklup-mode-switcher :is(.mode-switcher-inner,.darklup-switch-container,.darklup-switch.style6,.toggle-checkbox,.toggle-btn,.plate),
html body .darklup-mode-switcher .plate > svg {
  transform:none!important;
  scale:none!important;
  rotate:none!important;
}
}
