/* #5747 · header C, search A, menu A and headings B from header-2. */
.tm-header,.tm-header-mobile{padding:10px;box-sizing:border-box;background:#f4f6fa}
:is(.tm-header,.tm-header-mobile) .uk-navbar-container{background:linear-gradient(180deg,#17296f,#0b1640)!important;border-radius:22px;box-shadow:0 10px 24px rgba(11,22,64,.28);border:0;color:#fff}
:is(.tm-header,.tm-header-mobile) .uk-navbar-container>.uk-container{padding:0}
:is(.tm-header,.tm-header-mobile) .uk-navbar{padding:0 20px 0 28px;gap:30px;min-height:72px}
:is(.tm-header,.tm-header-mobile) .uk-navbar-item,:is(.tm-header,.tm-header-mobile) .uk-navbar-nav>li>a{min-height:72px;color:#fff}
.tm-header .uk-navbar{display:flex;flex-wrap:nowrap}
.tm-header .uk-navbar-left,.tm-header .uk-navbar-right{display:contents}
.tm-header .uk-logo{order:0;padding:0;flex:none}
.tm-header .uk-logo img{height:44px;width:auto}
.tm-header .uk-navbar-nav{order:1;gap:30px}
.tm-header .widget_search{order:2;margin-left:auto;padding:0;flex:0 1 280px;min-width:160px}
.tm-header .uk-navbar-nav>li>a{padding:0;gap:6px;font:400 20px/1 Oswald,Arial,sans-serif;letter-spacing:1.6px}
.tm-header .uk-navbar-dropdown{box-sizing:border-box;width:300px;background:#222!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important;color:#fff;border-radius:0 0 12px 12px!important;padding:14px 18px}
.tm-header .uk-navbar-dropdown a{color:#fff;min-height:46px;gap:12px;font:400 20px/1.2 Oswald,Arial,sans-serif;letter-spacing:1px}
:is(.tm-header,.tm-header-mobile) .uk-search{display:flex;align-items:center;width:100%;height:44px;max-width:100%;border:1px solid rgba(255,255,255,.3);border-radius:22px;background:rgba(255,255,255,.12);box-sizing:border-box}
:is(.tm-header,.tm-header-mobile) .uk-search:has(:focus-visible){background:rgba(255,255,255,.18);border-color:#fff}
:is(.tm-header,.tm-header-mobile) .uk-search-input{width:100%;min-width:0;height:42px;font:400 15px/1 Roboto,Arial,sans-serif;color:#fff;padding:0 44px!important;background:transparent;border:0;outline:0}
:is(.tm-header,.tm-header-mobile) .uk-search-input::placeholder{color:rgba(255,255,255,.72)}
:is(.tm-header,.tm-header-mobile) .uk-search-icon{width:44px;color:#fff}
.cska-open-search{border:0;cursor:pointer}
.cska-menu-icon{display:inline-flex;align-items:center;justify-content:center;width:36px;height:36px;flex:none;color:#b8c3e6}
.cska-menu-icon svg{display:block;width:22px;height:22px}
.uk-navbar-nav>li>a>.cska-menu-icon,#tm-dialog-mobile .uk-nav>li>a>.cska-menu-icon{width:42px;height:42px;color:#fff}
.uk-navbar-nav>li>a>.cska-menu-icon svg,#tm-dialog-mobile .uk-nav>li>a>.cska-menu-icon svg{width:26px;height:26px}
/* #5762: an opaque viewport overlay; only its list scrolls. */
#tm-dialog-mobile.cska-mobile-overlay{position:fixed;inset:0;z-index:1100;height:100vh;height:100dvh;background:radial-gradient(ellipse at 10% 0,rgba(46,61,170,.38),transparent 62%),radial-gradient(ellipse at 100% 100%,rgba(215,25,32,.13),transparent 58%),#0b1640;overflow:hidden}
#tm-dialog-mobile.cska-mobile-overlay[hidden]{display:none!important}
#tm-dialog-mobile .uk-offcanvas-bar{position:absolute;inset:0!important;transform:none!important;transition:none!important;animation:none!important;max-width:none!important;width:100%;height:100%!important;box-sizing:border-box;overflow-x:hidden;overflow-y:auto;overscroll-behavior-y:contain;-webkit-overflow-scrolling:touch;background:transparent!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important;color:#fff;padding:98px 24px calc(64px + env(safe-area-inset-bottom,0px));scroll-padding:98px 0 calc(64px + env(safe-area-inset-bottom,0px))}
#tm-dialog-mobile .uk-offcanvas-bar>.uk-margin-auto-bottom{width:100%;max-width:520px;margin:0 auto!important;flex:none}
#tm-dialog-mobile .uk-nav{margin:0}
#tm-dialog-mobile .uk-nav a{display:flex;align-items:center;gap:12px;color:#fff;min-height:48px;padding:0;box-sizing:border-box;font:400 20px/1.2 Oswald,Arial,sans-serif;letter-spacing:.7px;text-transform:uppercase}
#tm-dialog-mobile .uk-nav>li>a{font-size:23px;letter-spacing:1.2px;min-height:48px}
#tm-dialog-mobile .uk-nav-sub{padding:4px 0 0 16px}
#tm-dialog-mobile .uk-nav-sub li+li{margin-top:4px}
#tm-dialog-mobile .uk-nav>li+li{margin-top:16px;padding-top:16px;border-top:1px solid rgba(184,195,230,.18)}
#tm-dialog-mobile .uk-nav-sub .cska-menu-icon{width:36px;height:36px}
.cska-search-close{display:flex;align-items:center;justify-content:center;width:44px;height:44px;flex:none;border:0;background:transparent;color:#fff;padding:0;border-radius:50%;cursor:pointer}
.cska-menu-toggle{border:0;appearance:none;cursor:pointer}
.cska-burger{position:relative;display:block;width:22px;height:22px}
.cska-burger>span{position:absolute;left:2px;top:10px;width:18px;height:2px;border-radius:2px;background:currentColor;transition:transform .24s ease,opacity .16s ease}
.cska-burger>span:first-child{transform:translateY(-6px)}
.cska-burger>span:last-child{transform:translateY(6px)}
.cska-menu-toggle[aria-expanded=true] .cska-burger>span:first-child{transform:rotate(45deg)}
.cska-menu-toggle[aria-expanded=true] .cska-burger>span:nth-child(2){opacity:0;transform:scaleX(0)}
.cska-menu-toggle[aria-expanded=true] .cska-burger>span:last-child{transform:rotate(-45deg)}
html.cska-menu-locked{overflow:hidden!important}
@media(prefers-reduced-motion:reduce){.cska-burger>span{transition:none}}
.cska-icon-heading .cska-block-icon{display:inline-flex;align-items:center;justify-content:center;flex:none;width:1.14em;height:1.14em;padding:.21em;box-sizing:border-box;border-radius:50%;background:#d71920;color:#fff;vertical-align:middle;margin-right:.28em}
.cska-block-icon svg{display:block;width:100%;height:100%}
.cska-icon-heading{line-height:1.2!important}
.cska-icon-heading .uk-text-middle{vertical-align:middle}
:is(.tm-header,.tm-header-mobile,#tm-dialog-mobile) :is(a,button,input){-webkit-tap-highlight-color:transparent}
:is(.tm-header,.tm-header-mobile,#tm-dialog-mobile) :is(a,button):focus:not(:focus-visible){outline:0}
:is(.tm-header,.tm-header-mobile,#tm-dialog-mobile) :is(a,button,input):focus-visible{outline:3px solid #2663d5;outline-offset:3px}
/* The leaders use the standings' dark section, with their own compact row layout. */
.cska-data-new[data-cska-view=scorers]{background:transparent;margin:24px 0 0;color:#edf3ff}
.cska-leaders{padding:24px;border:1px solid rgba(166,189,230,.16);border-radius:24px;background:linear-gradient(150deg,#1c2a42,#141e30);box-shadow:0 12px 30px rgba(0,0,0,.18);font:400 16px/1.25 CSKADataRoboto,Roboto,Arial,sans-serif}
.cska-leaders-columns{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:32px}
.cska-leaders-column{min-width:0}
.cska-leaders .cska-leaders-column h3{margin:0 0 6px;color:#fff;font:400 24px/1.2 CSKADataOswald,Oswald,Arial,sans-serif}
.cska-leaders-list{list-style:none;margin:0;padding:0}
.cska-leaders-row{display:flex;align-items:center;gap:12px;min-height:66px;padding:10px 0;border-bottom:1px solid rgba(166,189,230,.15);box-sizing:border-box}
.cska-leaders-row:last-child{border:0}
.cska-leaders-rank{display:inline-flex;align-items:center;justify-content:center;width:30px;height:30px;flex:none;border:1px solid transparent;border-radius:50%;background:#344158;color:#edf3ff;font:400 17px/1 CSKADataOswald,Oswald,Arial,sans-serif}
.cska-leaders-row:first-child .cska-leaders-rank{border-color:#8d9db5;font-weight:500}
.cska-leaders-avatar{display:block;width:46px;height:46px;flex:none;border-radius:50%;overflow:hidden;background:#334562 url('/wp-content/plugins/cska-data/assets/player-silhouette.svg') center/cover no-repeat}
.cska-leaders .cska-leaders-avatar img{display:block;width:100%;height:100%;object-fit:cover;opacity:.9;filter:saturate(.85)}
.cska-leaders-name{min-width:0;overflow-wrap:anywhere;color:#edf3ff}
.cska-leaders-value{margin-left:auto;padding-left:8px;color:#a9d8ff;font:400 30px/1 CSKADataOswald,Oswald,Arial,sans-serif}
@media(max-width:959px){
 .tm-header-mobile .uk-navbar{height:64px;min-height:64px;padding:0 10px 0 18px;gap:8px}
 .tm-header-mobile .uk-navbar-left{align-self:center;align-items:center;order:1;margin-left:auto;flex:none}
 .tm-header-mobile .uk-navbar-center{order:0;position:static!important;transform:none!important;left:auto!important;margin:0;flex:0 1 auto;min-width:0}
 .tm-header-mobile .uk-navbar-right{align-self:center;align-items:center;order:2;margin:0;flex:none}
 .tm-header-mobile .uk-logo{padding:0;min-height:64px}
 .tm-header-mobile .uk-logo img{height:36px;width:auto;max-width:100%}
 .tm-header-mobile .uk-navbar-toggle{display:flex;align-items:center;justify-content:center;width:44px;height:44px;min-height:44px;padding:0;border-radius:50%;background:rgba(255,255,255,.12);color:#fff}
 .tm-header-mobile .uk-navbar-right .uk-navbar-toggle{background:#d71920}
 .tm-header-mobile .uk-navbar-toggle svg{width:22px;height:22px}
 .tm-header-mobile .uk-navbar{position:relative;align-items:center}
 .tm-header-mobile.cska-menu-open>[uk-sticky]{position:fixed!important;top:10px!important;left:10px!important;right:10px!important;width:auto!important;z-index:1200;transform:none!important;animation:none!important}
 .tm-header-mobile.cska-menu-open .uk-navbar-container{position:relative;z-index:1200}
 .tm-header-mobile.cska-menu-open .uk-navbar{height:64px}
 .tm-header-mobile.cska-menu-open .uk-sticky-placeholder{visibility:hidden}
 .tm-header-mobile .cska-mobile-search{position:absolute;inset:10px;width:calc(100% - 20px);margin:0}
 .tm-header-mobile .cska-mobile-search[hidden]{display:none}
 .tm-header-mobile .cska-searching>:not(.cska-mobile-search){visibility:hidden}
 .tm-header-mobile .cska-mobile-search .uk-search-input{padding:0!important;flex:1}
 .cska-search-submit{display:flex;align-items:center;justify-content:center;width:44px;height:44px;flex:none;border:0;background:none;color:#fff;padding:0;border-radius:50%;cursor:pointer}
 .cska-leaders-columns{grid-template-columns:1fr;gap:24px}
}
@media(max-width:480px){
 .cska-leaders{padding:18px 14px;border-radius:18px}
 .cska-leaders-row{gap:10px}
}
@media(max-width:359px){
 .tm-header-mobile .uk-navbar{padding-left:14px}
 .cska-leaders-row{gap:8px}
 .cska-leaders-rank{width:26px;height:26px;font-size:15px}
 .cska-leaders-avatar{width:38px;height:38px}
 .cska-leaders-name{font-size:14px}
 .cska-leaders-value{font-size:26px;padding-left:2px}
}
@media(hover:hover) and (pointer:fine){
 :is(.tm-header,.tm-header-mobile) a:hover,#tm-dialog-mobile a:hover{color:#fff}
 .tm-header .uk-navbar-nav>li>a:hover{box-shadow:inset 0 -3px #d71920}
 .cska-search-close:hover{background:rgba(255,255,255,.12)}
}

/* Replace the former glass-input rules in the existing theme's custom LESS. */
.tm-header .uk-search .uk-search-input,.tm-header .uk-search .uk-search-input:focus{width:100%!important;height:42px!important;padding:0 44px!important;background:transparent!important;border:0!important;border-radius:22px!important;box-shadow:none!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important;text-transform:none!important;letter-spacing:normal!important;font:400 15px/1 Roboto,Arial,sans-serif!important;transition:none!important}
.tm-header .uk-search{position:relative}
.cska-desktop-search-submit,.cska-search-clear{position:absolute;left:0;top:-1px;display:flex;align-items:center;justify-content:center;width:44px;height:44px;border:0;background:none;padding:0;color:#fff;cursor:pointer;border-radius:50%}
.cska-search-clear{left:auto;right:0}
.cska-search-clear[hidden]{display:none}

/* #5763: one interaction policy for YOOtheme, article and data-widget links. */
html body :is(a,button,[role="button"],input,select,textarea,summary,label),
html body :is(a,button,[role="button"],summary,label) *{-webkit-tap-highlight-color:transparent!important}
html body a{text-decoration-thickness:1px!important;text-underline-offset:.18em!important;text-decoration-skip-ink:auto}
html body :is(a,button,[role="button"],input,select,textarea,summary):focus:not(:focus-visible){outline:0!important}
html body a:focus:not(:focus-visible){text-decoration-line:none!important}
html body :is(a,button,[role="button"],input,select,textarea,summary):focus-visible{outline:3px solid #2663d5!important;outline-offset:3px}
@media(hover:none){html body a:hover{text-decoration-line:none!important}}
