/* Audio Kotha — premium light glass header (Gaana-inspired structure)
   Loaded after site-v4.css + page styles so it owns the navigation bar.
   Palette: blue + white + silver. No dark theme. */

/* ------------------------------------------------------------------ ticker */
.ticker {
    background: linear-gradient(90deg, #EFF5FF 0%, #F8FBFF 55%, #FFF5FA 100%);
    color: #566A8D;
    border-bottom: 1px solid rgba(15, 35, 95, .07);
    font-size: 11.5px;
}
.ticker-in { height: 32px; }
.ticker-dot { background: #3B82F6; box-shadow: 0 0 0 4px rgba(59, 130, 246, .13); }
.ticker a { color: #1D4ED8; }
.ticker a:hover { color: #0F2C6B; }
.ticker-x { color: #8494B0; }
.ticker-x:hover { color: #1D4ED8; }

/* ------------------------------------------------------------------ shell */
.site-head {
    background:
        radial-gradient(880px 190px at 8% -80%, rgba(59, 130, 246, .16), transparent 62%),
        radial-gradient(720px 170px at 92% -110%, rgba(236, 72, 153, .10), transparent 68%),
        rgba(255, 255, 255, .86);
    border-bottom: 1px solid rgba(15, 35, 95, .08);
    box-shadow: 0 10px 34px rgba(15, 35, 95, .08);
    -webkit-backdrop-filter: blur(24px) saturate(160%);
    backdrop-filter: blur(24px) saturate(160%);
}
.site-head::after {
    content: "";
    position: absolute;
    left: 0; right: 0; bottom: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(37, 99, 235, .22), transparent);
    pointer-events: none;
}
.head-in {
    height: 84px;
    gap: 15px;
    position: relative;
    z-index: 1;
}

/* hamburger */
.nav-toggle {
    width: 38px;
    height: 38px;
    flex: none;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 0;
    background: transparent;
    border: 0;
    border-radius: 11px;
    cursor: pointer;
    transition: background .2s;
}
.nav-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    border-radius: 99px;
    background: #2B3A5C;
    transition: width .2s var(--ease), background .2s;
}
.nav-toggle span:nth-child(2) { width: 16px; margin-right: 6px; }
.nav-toggle:hover { background: var(--blue-50); }
.nav-toggle:hover span { background: var(--blue-700); }

/* brand */
.site-head .brand { gap: 10px; }
.site-head .brand-mark {
    width: 40px;
    height: 40px;
    border-radius: 13px;
    background: #fff;
    border: 1px solid rgba(15, 35, 95, .08);
    box-shadow: 0 8px 20px rgba(15, 35, 95, .12);
}
.site-head .brand-word {
    color: var(--ink);
    font-size: 20px;
    letter-spacing: -.045em;
}
.site-head .brand-word b { color: var(--blue-700); }
.site-head .brand-word small {
    color: var(--muted);
    letter-spacing: .09em;
    font-size: 8.5px;
}
.head-note {
    display: inline-flex;
    align-items: center;
    align-self: stretch;
    margin-left: 7px;
    padding: 0 0 0 17px;
    border-left: 1px solid rgba(15, 35, 95, .10);
    color: #7B8AA8;
    font-size: 9.5px;
    font-weight: 600;
    letter-spacing: .02em;
    white-space: nowrap;
}

/* primary nav */
.site-head .main-nav { margin-left: 4px; gap: 2px; }
.site-head .main-nav a {
    color: var(--ink-2);
    border: 1px solid transparent;
    padding: 9px 12px;
    font-size: 12.5px;
    font-weight: 600;
}
.site-head .main-nav a:hover {
    color: var(--blue-700);
    background: var(--blue-50);
}
.site-head .main-nav a.is-active {
    color: var(--blue-700);
    background: var(--blue-50);
    border-color: rgba(37, 99, 235, .12);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .8);
}

/* actions */
.site-head .head-actions { gap: 8px; }
.get-app-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 40px;
    padding: 0 20px;
    border-radius: 999px;
    background: var(--grad-blue);
    color: #fff;
    font-size: 12.5px;
    font-weight: 800;
    letter-spacing: -.01em;
    box-shadow: 0 10px 22px rgba(29, 78, 216, .24), inset 0 1px 0 rgba(255, 255, 255, .25);
    border: 1px solid rgba(255, 255, 255, .2);
    transition: transform .2s var(--ease), box-shadow .2s, background .2s;
}
.get-app-btn:hover {
    transform: translateY(-1px);
    background: linear-gradient(135deg, #2563EB, #60A5FA);
    box-shadow: 0 14px 28px rgba(29, 78, 216, .30);
}
.site-head .head-search-btn {
    display: inline-flex;
    width: 41px;
    height: 41px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: var(--blue-700);
    background: rgba(255, 255, 255, .72);
    border: 1px solid rgba(15, 35, 95, .11);
    padding: 0;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(15, 35, 95, .05);
    transition: background .2s, border-color .2s, transform .2s;
}
.site-head .head-search-btn:hover {
    background: #fff;
    border-color: rgba(37, 99, 235, .30);
    transform: translateY(-1px);
}
.site-head .lang-switch {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    height: 41px;
    padding: 0 12px;
    border-radius: 999px;
    border: 1px solid rgba(15, 35, 95, .11);
    background: rgba(255, 255, 255, .74);
    color: var(--ink-2);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .02em;
    box-shadow: 0 4px 12px rgba(15, 35, 95, .04);
}
.site-head .lang-switch:hover { background: #fff; border-color: rgba(37, 99, 235, .28); color: var(--blue-700); }
.lang-code {
    display: inline-grid;
    place-items: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--blue-50);
    color: var(--blue-700);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0;
}
.site-head .head-login {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1px;
    min-width: 44px;
    color: var(--ink-2);
    font-size: 8.5px;
    font-weight: 700;
    line-height: 1.1;
}
.head-login-ico {
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1px solid rgba(37, 99, 235, .24);
    color: var(--blue-700);
    background: rgba(255, 255, 255, .72);
    transition: background .2s, border-color .2s;
}
.site-head .head-login:hover .head-login-ico { background: var(--blue-50); border-color: var(--blue-600); }
.site-head .head-login:hover { color: var(--blue-700); }

/* user menu */
.site-head .user-menu summary { color: var(--ink); padding: 3px 6px 3px 3px; }
.site-head .user-menu summary:hover { background: var(--blue-50); }
.site-head .um-name { color: var(--ink-2); font-size: 11.5px; }
.site-head .um-caret { color: var(--muted); }
.site-head .avatar { border: 1px solid rgba(255, 255, 255, .9); box-shadow: 0 0 0 2px rgba(37, 99, 235, .08); }
.site-head .admin-pill { background: var(--grad-blue); border: 1px solid rgba(255,255,255,.24); font-size: 10.5px; }
.site-head .admin-pill:hover { background: var(--blue-700); }
.site-head .admin-pill .pip { border-color: #fff; }

/* search drawer */
.head-search-drawer {
    position: relative;
    z-index: 2;
    background:
        radial-gradient(700px 120px at 80% 0%, rgba(59, 130, 246, .10), transparent 65%),
        rgba(255, 255, 255, .94);
    border-top: 1px solid rgba(15, 35, 95, .07);
    border-bottom: 1px solid rgba(15, 35, 95, .09);
    box-shadow: 0 18px 40px rgba(15, 35, 95, .10);
    padding: 12px 0;
}
.head-search-drawer[hidden] { display: none; }
.head-search-form {
    max-width: var(--max);
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--blue-700);
}
.head-search-form input {
    flex: 1;
    height: 42px;
    min-width: 0;
    border-radius: 12px;
    border: 1px solid rgba(15, 35, 95, .12);
    background: #fff;
    color: var(--ink);
    padding: 0 13px;
    font: inherit;
    font-size: 13px;
    outline: 0;
    box-shadow: inset 0 1px 2px rgba(15, 35, 95, .03);
}
.head-search-form input::placeholder { color: #93A0BA; }
.head-search-form input:focus { border-color: rgba(37, 99, 235, .5); box-shadow: 0 0 0 3px rgba(59, 130, 246, .10); }
.head-search-submit {
    height: 42px;
    padding: 0 19px;
    border: 0;
    border-radius: 11px;
    background: var(--grad-blue);
    color: #fff;
    font-size: 11.5px;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 8px 18px rgba(29, 78, 216, .20);
}
.head-search-close {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(15, 35, 95, .12);
    border-radius: 50%;
    background: #fff;
    color: var(--ink-2);
    cursor: pointer;
}

/* menu drawer */
body.head-overlay-open { overflow: hidden; }
body.head-overlay-open::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 180;
    background: rgba(15, 35, 95, .18);
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
}
.site-drawer {
    position: fixed;
    z-index: 200;
    left: 0;
    top: 0;
    bottom: 0;
    width: min(340px, 88vw);
    background:
        radial-gradient(420px 200px at 0% 0%, rgba(59, 130, 246, .16), transparent 65%),
        radial-gradient(360px 180px at 100% 100%, rgba(236, 72, 153, .08), transparent 70%),
        #F8FBFF;
    color: var(--ink);
    border-right: 1px solid rgba(15, 35, 95, .10);
    box-shadow: 24px 0 80px rgba(15, 35, 95, .16);
    padding: 22px 18px;
    overflow-y: auto;
    animation: drawerIn .25s var(--ease);
}
.site-drawer[hidden] { display: none; }
@keyframes drawerIn { from { opacity: 0; transform: translateX(-16px); } }
.site-drawer-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 4px 20px;
    border-bottom: 1px solid rgba(15, 35, 95, .09);
    margin-bottom: 10px;
}
.site-drawer-head .brand-word { font-size: 19px; }
.drawer-close {
    width: 32px;
    height: 32px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    border: 1px solid rgba(15, 35, 95, .12);
    background: #fff;
    color: var(--ink-2);
    cursor: pointer;
}
.site-drawer nav { display: grid; gap: 3px; }
.site-drawer nav a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 11px;
    border-radius: 11px;
    color: var(--ink-2);
    font-size: 12.5px;
    font-weight: 600;
}
.site-drawer nav a:hover { background: var(--blue-50); color: var(--blue-700); }
.site-drawer nav .ico { color: var(--blue-600); }

/* compact screens */
@media (max-width: 900px) {
    .site-head .admin-pill { display: none; }
    .site-head .um-name,
    .site-head .um-caret { display: none; }
    .site-head .user-menu summary { padding: 0; }
}

@media (max-width: 1180px) {
    .head-note { display: none; }
    .site-head .main-nav { display: none; }
}
@media (max-width: 820px) {
    .get-app-btn { display: none; }
    .head-in { height: 70px; gap: 8px; }
    .site-head .brand-mark { width: 36px; height: 36px; border-radius: 12px; }
    .site-head .brand-word { font-size: 18px; }
    .site-head .brand-word small { display: none; }
    .site-head .head-actions { gap: 6px; }
    .site-head .lang-switch { height: 38px; padding: 0 8px; }
    .lang-code { width: 22px; height: 22px; font-size: 8.5px; }
    .site-head .head-search-btn { width: 38px; height: 38px; }
    .site-head .head-login { font-size: 7.5px; }
    .head-login-ico { width: 29px; height: 29px; }
}
@media (max-width: 460px) {
    .head-search-form { padding: 0 14px; gap: 7px; }
    .head-search-form input { height: 39px; font-size: 12px; }
    .head-search-submit { height: 39px; padding: 0 13px; font-size: 10px; }
    .head-search-close { width: 34px; height: 34px; }
    .ticker-in { font-size: 10px; }
    .ticker a { display: none; }
}
