/* AniNexus 10.2 — mobile season refinement */
@media(max-width:720px){
  /* restore two cards per row */
  .nx-season-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:22px 12px!important}
  .nx-season-poster{aspect-ratio:1/1.34!important;border-radius:10px!important}
  .nx-season-card h3{font-size:14.5px!important;line-height:1.24!important;margin-top:8px!important}
  .nx-season-score{left:7px!important;bottom:7px!important;height:25px!important;padding:0 7px!important;border-radius:7px!important}
  .nx-season-score b{font-size:12px!important}.nx-season-score svg{width:13px!important;height:13px!important}
  .nx-season-actions{right:7px!important;bottom:7px!important;gap:6px!important}
  .nx-season-actions button{width:34px!important;height:34px!important}.nx-season-actions svg{width:17px!important;height:17px!important}

  /* make original filters visibly icon-led again */
  .nx-season-filter-line .nx-filter-pill svg:first-child{display:block!important;opacity:.95!important;width:15px!important;height:15px!important}
  .nx-season-filter-line .nx-filter-pill{min-width:104px!important;width:auto!important;padding-inline:12px!important}
  .nx-year-pill{min-width:78px!important}

  /* richer animated fixed season bar */
  .nx-v10-seasonbar{top:54px!important;overflow:visible!important;background:
    radial-gradient(circle at 78% -20%,rgba(var(--glow),.16),transparent 44%),
    linear-gradient(180deg,rgba(17,9,18,.985),rgba(8,6,10,.97))!important;
    border-bottom:1px solid rgba(var(--glow),.20)!important;
    box-shadow:0 12px 34px rgba(0,0,0,.30),0 1px 0 rgba(255,255,255,.025) inset!important;
    transform:translateY(-18px) scale(.985)!important;transform-origin:top center!important;
    opacity:0!important;filter:blur(5px)!important;pointer-events:none!important;
    transition:transform .30s cubic-bezier(.2,.85,.2,1),opacity .22s ease,filter .26s ease!important}
  .nx-v10-seasonbar::after{content:"";position:absolute;left:18%;right:18%;bottom:-1px;height:1px;background:linear-gradient(90deg,transparent,var(--accent),transparent);opacity:.65;box-shadow:0 0 14px rgba(var(--glow),.42);pointer-events:none}
  .nx-v10-seasonbar.show{transform:translateY(0) scale(1)!important;opacity:1!important;filter:blur(0)!important;pointer-events:auto!important}

  .nx-v10-seasonbar__head{width:100%;height:72px;border:0;background:transparent;color:#fff;display:flex;align-items:center;justify-content:center;gap:9px;padding:0 18px;cursor:pointer;position:relative}
  .nx-v10-seasonbar__head:active{transform:scale(.995)}
  .nx-v10-seasonbar__icon{width:34px!important;height:34px!important;display:grid!important;place-items:center!important;color:var(--accent)!important;filter:drop-shadow(0 0 12px rgba(var(--glow),.22));transition:transform .28s cubic-bezier(.2,.8,.2,1)}
  .nx-v10-seasonbar.show .nx-v10-seasonbar__icon{animation:nxV102Icon .42s cubic-bezier(.2,.9,.2,1) both}
  .nx-v10-seasonbar.expanded .nx-v10-seasonbar__icon{transform:rotate(-7deg) scale(1.05)}
  .nx-v10-seasonbar__icon svg{width:100%;height:100%;fill:none;stroke:currentColor}
  .nx-v10-seasonbar__copy{display:grid;justify-items:center;min-width:0}
  .nx-v10-seasonbar__title{font:800 25px/1 var(--nx-display);letter-spacing:-.045em;color:#fff;white-space:nowrap}
  .nx-v10-seasonbar__title em{font-style:normal;color:var(--accent)}
  .nx-v10-seasonbar__sub{margin-top:5px;font:800 8px/1 ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;letter-spacing:.18em;color:var(--accent);white-space:nowrap}
  .nx-v10-seasonbar__toggle{position:absolute;right:17px;top:50%;width:28px;height:28px;margin-top:-14px;border:1px solid rgba(255,255,255,.09);border-radius:50%;display:grid;place-items:center;background:rgba(255,255,255,.035);color:#bdb1c1;transition:transform .24s ease,background .18s ease,color .18s ease}
  .nx-v10-seasonbar__toggle svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;transition:transform .25s ease}
  .nx-v10-seasonbar.expanded .nx-v10-seasonbar__toggle{background:rgba(var(--glow),.10);color:#fff;transform:scale(1.05)}
  .nx-v10-seasonbar.expanded .nx-v10-seasonbar__toggle svg{transform:rotate(180deg)}

  .nx-v10-seasonbar__controls{display:grid!important;grid-template-rows:0fr!important;max-height:none!important;overflow:hidden!important;opacity:0!important;transform:translateY(-7px)!important;transition:grid-template-rows .28s cubic-bezier(.2,.85,.2,1),opacity .18s ease,transform .26s ease!important}
  .nx-v10-seasonbar__controls-inner{min-height:0!important;overflow:hidden!important;width:min(365px,calc(100vw - 26px))!important;margin:0 auto!important;padding:0!important}
  .nx-v10-seasonbar.expanded .nx-v10-seasonbar__controls{grid-template-rows:1fr!important;opacity:1!important;transform:none!important}
  .nx-v10-seasonbar.expanded .nx-v10-seasonbar__controls-inner{padding:0 0 13px!important}
  .nx-v10-seasonbar__row{display:grid!important;grid-template-columns:minmax(0,1fr) 82px!important;gap:7px!important}
  .nx-v10-seasonbar__seasons{height:38px!important;display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:1px!important;padding:2px!important;border:1px solid #3d3141!important;border-radius:999px!important;background:#171219!important}
  .nx-v10-seasonbar__seasons button{border:0;border-radius:999px;background:transparent;color:#aca0af;font:800 10px var(--nx-body);cursor:pointer;transition:background .18s ease,color .18s ease,transform .15s ease}
  .nx-v10-seasonbar__seasons button:active{transform:scale(.96)}
  .nx-v10-seasonbar__seasons button.active{color:#fff;background:linear-gradient(135deg,var(--accent),var(--accent2));box-shadow:0 6px 16px rgba(var(--glow),.18)}

  .nx-v10-seasonbar__btn{height:38px!important;border:1px solid #3d3141!important;border-radius:999px!important;background:#171219!important;color:#d7ced9!important;padding:0 9px!important;display:flex!important;align-items:center!important;justify-content:center!important;gap:5px!important;min-width:0!important;font:800 10px var(--nx-body)!important;cursor:pointer!important;transition:background .18s ease,border-color .18s ease,color .18s ease,transform .15s ease!important}
  .nx-v10-seasonbar__btn:active{transform:scale(.97)}
  .nx-v10-seasonbar__btn>svg:first-child{width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:1.75;stroke-linecap:round;stroke-linejoin:round;flex:0 0 auto}
  .nx-v10-seasonbar__btn .nx-v10-chevron{width:11px;height:11px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round;flex:0 0 auto}
  .nx-v10-seasonbar__btn span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
  .nx-v10-seasonbar__btn.has-filter{border-color:rgba(var(--glow),.48)!important;background:rgba(var(--glow),.10)!important;color:#fff!important}
  .nx-v10-seasonbar__filters{display:flex!important;justify-content:center!important;gap:7px!important;margin-top:8px!important}
  .nx-v10-seasonbar__filters .nx-v10-seasonbar__btn{min-width:108px!important;padding-inline:12px!important}

  /* popover stays compact and clickable */
  .nx-popover-layer{z-index:9999!important;pointer-events:none!important}
  .nx-popover-backdrop{pointer-events:auto!important;background:transparent!important}
  .nx-popover{pointer-events:auto!important;left:var(--v10-left,50%)!important;right:auto!important;top:var(--v10-top,110px)!important;bottom:auto!important;width:var(--v10-width,210px)!important;max-height:min(286px,calc(100dvh - 120px))!important;transform:none!important;border-radius:12px!important;padding:5px!important;box-shadow:0 20px 58px rgba(0,0,0,.68)!important}
  .nx-popover-list button{min-height:39px!important;font-size:13px!important}
}
@media(max-width:380px){
  .nx-season-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:18px 10px!important}
  .nx-season-card h3{font-size:13.5px!important}
  .nx-v10-seasonbar__title{font-size:22px!important}.nx-v10-seasonbar__head{height:68px!important}.nx-v10-seasonbar__controls-inner{width:min(342px,calc(100vw - 20px))!important}
}
@media(prefers-reduced-motion:reduce){.nx-v10-seasonbar,.nx-v10-seasonbar__icon,.nx-v10-seasonbar__toggle,.nx-v10-seasonbar__controls{animation:none!important;transition:none!important}}
@keyframes nxV102Icon{0%{opacity:0;transform:translateY(-6px) rotate(-8deg) scale(.92)}100%{opacity:1;transform:none}}
