/* ===== Glass (iOS-style translucent material): header, language switch, phone tab bar, menu sheet, buttons and cards =====
   Loaded after mobile.css on every page. The material = a translucent tint + backdrop blur/saturation + a hairline rim
   + an inner top highlight; the phone tab bar floats as a capsule with a lighter glass lozenge behind the current tab. */
:root{
  --gl-bg:rgba(22,22,26,.52);--gl-bg-2:rgba(255,255,255,.07);
  --gl-rim:rgba(255,255,255,.14);--gl-hi:rgba(255,255,255,.22);
  --gl-blur:saturate(180%) blur(22px);
  --gl-shadow:0 10px 30px rgba(0,0,0,.35),0 1px 2px rgba(0,0,0,.3);
}
/* header */
header{background:rgba(10,10,12,.58);-webkit-backdrop-filter:var(--gl-blur);backdrop-filter:var(--gl-blur);
  border-bottom:1px solid rgba(255,255,255,.07);box-shadow:inset 0 -1px 0 rgba(0,0,0,.35)}
.lang{background:var(--gl-bg-2);border:1px solid var(--gl-rim);box-shadow:inset 0 1px 0 rgba(255,255,255,.1);
  -webkit-backdrop-filter:var(--gl-blur);backdrop-filter:var(--gl-blur)}
.lang a[aria-current]{background:rgba(255,255,255,.92);color:#0b0b0c;box-shadow:0 1px 3px rgba(0,0,0,.35)}
/* small buttons */
.pill{background:rgba(255,255,255,.06);border-color:rgba(255,255,255,.18);-webkit-backdrop-filter:var(--gl-blur);backdrop-filter:var(--gl-blur);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.1)}
.pill:hover{background:rgba(255,255,255,.92);color:#0b0b0c}
/* cards sitting on pictures or video */
.nbar{background:rgba(14,14,16,.6);-webkit-backdrop-filter:var(--gl-blur);backdrop-filter:var(--gl-blur);border-bottom-color:rgba(255,255,255,.07)}
.ev-mini,.cal-box,.cal-none{background:rgba(18,18,22,.5);-webkit-backdrop-filter:var(--gl-blur);backdrop-filter:var(--gl-blur);
  border:1px solid rgba(255,255,255,.1);box-shadow:inset 0 1px 0 rgba(255,255,255,.08),var(--gl-shadow)}
.cta{background:rgba(255,255,255,.05);border-color:rgba(255,255,255,.2);-webkit-backdrop-filter:var(--gl-blur);backdrop-filter:var(--gl-blur);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.1)}

@media(max-width:860px){
  :root{--tb:calc(64px + 12px + env(safe-area-inset-bottom,0px))}
  header{background:rgba(10,10,12,.5)}
  /* floating glass tab bar */
  .tabbar{left:max(12px,env(safe-area-inset-left));right:max(12px,env(safe-area-inset-right));bottom:calc(10px + env(safe-area-inset-bottom,0px));
    height:64px;padding:0 6px;border-radius:32px;border:1px solid var(--gl-rim);border-top-color:rgba(255,255,255,.2);
    background:linear-gradient(180deg,rgba(255,255,255,.1),rgba(255,255,255,.02) 55%,rgba(255,255,255,.05)),var(--gl-bg);
    -webkit-backdrop-filter:saturate(190%) blur(26px);backdrop-filter:saturate(190%) blur(26px);
    box-shadow:inset 0 1px 0 var(--gl-hi),inset 0 -1px 0 rgba(0,0,0,.25),0 14px 34px rgba(0,0,0,.45),0 2px 6px rgba(0,0,0,.3)}
  .tb{height:56px;margin:4px 0;gap:4px;border-radius:28px;color:rgba(242,240,237,.62);font-size:9.5px;font-weight:500;letter-spacing:.06em;
    transition:color .25s,background .25s,transform .2s cubic-bezier(.2,.8,.2,1)}
  .tb::before{display:none}
  .tb i{width:24px;height:24px}
  .tb[aria-current],.tb.on,.tb[aria-expanded=true]{color:#fff}
  /* the lozenge of lighter glass behind the current tab */
  .tb[aria-current],.tb.on{background:linear-gradient(180deg,rgba(255,255,255,.16),rgba(255,255,255,.07));
    box-shadow:inset 0 1px 0 rgba(255,255,255,.22),inset 0 0 0 1px rgba(255,255,255,.07)}
  .tb[aria-current] i,.tb.on i{background:#fff}
  .tb:active{transform:scale(.92);background:rgba(255,255,255,.12)}
  .tb[data-k=home]{--m:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4.5 10.4 12 4.2l7.5 6.2v8.1c0 .83-.67 1.5-1.5 1.5h-3.6v-5.4H9.6V20H6a1.5 1.5 0 0 1-1.5-1.5z'/%3E%3C/svg%3E")}
  .tb[data-k=news]{--m:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='4.75' y='4.25' width='14.5' height='15.5' rx='2.4'/%3E%3Cpath d='M8.5 8.6h7M8.5 12h7M8.5 15.4h4.2'/%3E%3C/svg%3E")}
  .tb[data-k=artist]{--m:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='8.4' r='3.6'/%3E%3Cpath d='M5 19.6c.9-3.5 3.7-5.3 7-5.3s6.1 1.8 7 5.3'/%3E%3C/svg%3E")}
  .tb[data-k=live]{--m:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4.25 8a1.75 1.75 0 0 1 1.75-1.75h12A1.75 1.75 0 0 1 19.75 8v1.6a2.4 2.4 0 0 0 0 4.8V16a1.75 1.75 0 0 1-1.75 1.75H6A1.75 1.75 0 0 1 4.25 16v-1.6a2.4 2.4 0 0 0 0-4.8z'/%3E%3Cpath d='M14.6 6.6v1.6M14.6 11.2v1.6M14.6 15.8v1.6'/%3E%3C/svg%3E")}
  .tb[data-k=menu]{--m:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='4.75' y='4.75' width='5.6' height='5.6' rx='1.6'/%3E%3Crect x='13.65' y='4.75' width='5.6' height='5.6' rx='1.6'/%3E%3Crect x='4.75' y='13.65' width='5.6' height='5.6' rx='1.6'/%3E%3Crect x='13.65' y='13.65' width='5.6' height='5.6' rx='1.6'/%3E%3C/svg%3E")}
  .tb[data-k=menu][aria-expanded=true]{--m:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 7l10 10M17 7 7 17'/%3E%3C/svg%3E")}
  /* menu sheet: a floating glass card above the bar */
  .ms-bd{background:rgba(0,0,0,.38);-webkit-backdrop-filter:blur(6px) saturate(120%);backdrop-filter:blur(6px) saturate(120%)}
  .ms-panel{left:max(10px,env(safe-area-inset-left));right:max(10px,env(safe-area-inset-right));bottom:calc(var(--tb) + 8px);
    max-height:calc(100dvh - var(--tb) - 70px);border-radius:28px;padding:6px 18px 14px;
    border:1px solid var(--gl-rim);border-top-color:rgba(255,255,255,.2);
    background:linear-gradient(180deg,rgba(255,255,255,.09),rgba(255,255,255,.02) 40%),rgba(20,20,24,.62);
    -webkit-backdrop-filter:saturate(190%) blur(30px);backdrop-filter:saturate(190%) blur(30px);
    box-shadow:inset 0 1px 0 var(--gl-hi),0 24px 60px rgba(0,0,0,.55);
    transform:translateY(24px) scale(.96);opacity:0;transform-origin:85% 100%;
    transition:transform .42s cubic-bezier(.32,.72,0,1),opacity .25s}
  .msheet.on .ms-panel{transform:none;opacity:1}
  .ms-grab{background:rgba(255,255,255,.28)}
  .ms-list a{min-height:52px;border-bottom-color:rgba(255,255,255,.08);font-size:14px;font-weight:500;letter-spacing:.1em}
  .ms-list li:last-child a{border-bottom:0}
  .ms-list a .ico{width:12px;height:12px;color:rgba(255,255,255,.4)}
  .ms-foot{margin:6px -8px 0;padding:12px 0 2px;border-top:1px solid rgba(255,255,255,.08)}
  /* chat button: same glass rim, keeps its red */
  .prc-fab{box-shadow:inset 0 1px 0 rgba(255,255,255,.35),0 10px 26px rgba(230,51,56,.4),0 3px 8px rgba(0,0,0,.4)}
}
@media (prefers-reduced-transparency:reduce){
  header,.tabbar,.ms-panel,.nbar{background:#111214;-webkit-backdrop-filter:none;backdrop-filter:none}
}
@supports not ((-webkit-backdrop-filter:blur(1px)) or (backdrop-filter:blur(1px))){
  header{background:rgba(8,8,10,.94)}
  .tabbar,.ms-panel{background:rgba(22,22,26,.96)}
}