:root{
  --bg:#050505;
  --bg2:#0c0c0c;
  --panel:#101010;
  --panel2:#171717;
  --line:rgba(255,255,255,.08);
  --text:#f5f5f5;
  --muted:#bdbdbd;
  --soft:#8e8e8e;
  --shadow:0 18px 60px rgba(0,0,0,.38);
  --radius:22px;
  --max:1220px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family:Arial,Helvetica,sans-serif;
  color:var(--text);
  background:
    radial-gradient(circle at top, rgba(255,255,255,.05), transparent 28%),
    linear-gradient(180deg,#040404 0%,#0a0a0a 100%);
}
a{color:inherit;text-decoration:none}
img{display:block;max-width:100%}
.wrap{width:min(var(--max), calc(100% - 48px)); margin:0 auto}
.topbar{position:sticky;top:0;z-index:40;backdrop-filter:blur(10px);background:rgba(7,7,7,.82);border-bottom:1px solid rgba(255,255,255,.06)}
.topbar-inner{min-height:68px;display:flex;align-items:center;justify-content:space-between;gap:20px}
.brand{font-size:15px;letter-spacing:.12em;text-transform:uppercase;color:#efefef}
.nav{display:flex;align-items:center;gap:12px;flex-wrap:wrap}
.nav a{display:inline-flex;align-items:center;justify-content:center;padding:12px 18px;border-radius:999px;border:1px solid rgba(255,255,255,.08);background:rgba(255,255,255,.03);font-size:13px;color:#f2f2f2;text-transform:uppercase;letter-spacing:.11em;font-weight:500;text-decoration:none}
.nav a:hover{background:rgba(255,255,255,.08);border-color:rgba(255,255,255,.16)}
.hero{padding:64px 0 30px}
.kicker{color:var(--muted);text-transform:uppercase;letter-spacing:.17em;font-size:12px;margin-bottom:14px}
h1{margin:0 0 14px;font-size:clamp(28px,3.9vw,44px);line-height:1.06;max-width:100%;letter-spacing:-.02em}
@media (min-width:1100px){
  h1.single-line{white-space:nowrap;font-size:clamp(26px,3.25vw,38px)}
}
.hero p{margin:0;max-width:920px;color:var(--muted);font-size:18px;line-height:1.72}
.badges{display:flex;flex-wrap:wrap;gap:12px;margin-top:24px}
.badge{display:inline-flex;align-items:center;justify-content:center;padding:10px 15px;border-radius:999px;background:rgba(255,255,255,.04);border:1px solid rgba(255,255,255,.08);color:#ebebeb;font-size:14px}
.home-grid{display:grid;grid-template-columns:minmax(0,1fr) 260px;gap:24px;align-items:start;padding:4px 0 40px;overflow:visible}.home-grid>*{min-width:0}
@media (max-width:1240px){.home-grid{grid-template-columns:1fr}}
.section-title{font-size:28px;margin:0 0 8px}
.section-sub{margin:0 0 20px;color:var(--muted);line-height:1.72}
.grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;margin-top:0}
.card{display:block;background:linear-gradient(180deg,rgba(255,255,255,.03),rgba(255,255,255,.015));border:1px solid rgba(255,255,255,.07);border-radius:var(--radius);overflow:hidden;box-shadow:var(--shadow);transition:transform .18s ease,border-color .18s ease,background .18s ease}
.card:hover{transform:translateY(-4px);border-color:rgba(255,255,255,.16);background:linear-gradient(180deg,rgba(255,255,255,.06),rgba(255,255,255,.025))}
.thumb{position:relative;aspect-ratio:16/9;overflow:hidden;background:#000}
.thumb img{width:100%;height:100%;object-fit:cover}
.card-body{padding:18px 18px 20px}
.card h2{margin:0 0 10px;font-size:21px;line-height:1.22}
.meta{color:var(--muted);font-size:14px;line-height:1.68}
.card-actions{margin-top:16px;display:flex;flex-wrap:wrap;gap:10px}
.btn{display:inline-flex;align-items:center;justify-content:center;border-radius:999px;padding:11px 16px;border:1px solid rgba(255,255,255,.10);background:rgba(255,255,255,.04);color:#f1f1f1;font-size:14px;cursor:pointer}
.btn:hover{background:rgba(255,255,255,.08);border-color:rgba(255,255,255,.18)}
.vote-btn.active{background:#fff;color:#111;border-color:#fff}
.sidepanel{position:sticky;top:84px;background:linear-gradient(180deg,rgba(255,255,255,.04),rgba(255,255,255,.015));border:1px solid rgba(255,255,255,.08);border-radius:24px;padding:18px 16px;box-shadow:var(--shadow);width:100%;max-width:260px;justify-self:end;align-self:start;overflow:visible;height:fit-content}
.sidepanel h3{margin:0 0 12px;font-size:24px}
.sidepanel p{margin:0 0 14px;color:var(--muted);line-height:1.72}
.rank-list{display:grid;gap:10px;margin-top:14px}
.rank-item{display:flex;gap:12px;align-items:center;justify-content:space-between;padding:12px 14px;background:rgba(255,255,255,.035);border:1px solid rgba(255,255,255,.07);border-radius:16px}
.rank-left{display:flex;gap:10px;align-items:center;min-width:0}
.rank-num{width:30px;height:30px;border-radius:999px;background:rgba(255,255,255,.08);display:flex;align-items:center;justify-content:center;font-size:13px;flex:0 0 auto}
.rank-title{font-size:14px;color:#f1f1f1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:150px}
.rank-score{font-size:13px;color:#ffffff;flex:0 0 auto}
.admin-panel{display:none;margin-top:16px;padding:16px;background:rgba(255,255,255,.035);border:1px solid rgba(255,255,255,.07);border-radius:18px}
.admin-panel.visible{display:block}
.admin-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.admin-box{padding:12px;background:rgba(255,255,255,.03);border-radius:14px;border:1px solid rgba(255,255,255,.06)}
.page{padding:38px 0 68px}
.breadcrumb{color:var(--muted);font-size:14px;margin-bottom:18px}
.video-shell{display:grid;grid-template-columns:1.22fr .78fr;gap:28px;align-items:start}
@media (max-width:980px){.video-shell{grid-template-columns:1fr}}
.player{background:var(--panel);border:1px solid rgba(255,255,255,.08);border-radius:var(--radius);overflow:hidden;box-shadow:var(--shadow)}
.embed{position:relative;width:100%;aspect-ratio:16/9;background:#000}
.embed iframe{position:absolute;inset:0;width:100%;height:100%;border:0}
.side{background:linear-gradient(180deg,rgba(255,255,255,.04),rgba(255,255,255,.015));border:1px solid rgba(255,255,255,.08);border-radius:24px;padding:24px;box-shadow:var(--shadow)}
.side h2{margin:0 0 14px;font-size:31px;line-height:1.12}
.side p{margin:0 0 14px;color:var(--muted);line-height:1.75}
.vote-box{margin-top:18px;padding:16px;background:rgba(255,255,255,.035);border:1px solid rgba(255,255,255,.07);border-radius:18px}
.vote-box-title{font-size:16px;margin-bottom:10px}
.video-meta-line{margin:0 0 12px;color:rgba(255,255,255,.78);font-size:14px;line-height:1.5;letter-spacing:.01em}
.video-meta-line strong,.video-meta-line span{color:#fff}
.vote-score{font-size:14px;color:#fff}
.related{margin-top:38px}
.related-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}
.small-card{display:block;background:var(--panel2);border:1px solid rgba(255,255,255,.07);border-radius:18px;overflow:hidden}
.small-body{padding:14px 15px 16px}
.small-card h3{margin:0 0 8px;font-size:17px;line-height:1.26}
.footer{margin-top:42px;border-top:1px solid rgba(255,255,255,.08);padding:28px 0 40px;color:var(--muted);font-size:14px}
.footer-links{display:flex;gap:12px;flex-wrap:wrap;margin-top:12px}
.footer-links a{display:inline-flex;align-items:center;justify-content:center;padding:10px 14px;border-radius:999px;background:rgba(255,255,255,.04);border:1px solid rgba(255,255,255,.07)}
.footer-links a:hover{background:rgba(255,255,255,.08)}
.notice{color:var(--soft);font-size:13px;line-height:1.6}
.badges-actions{align-items:center;margin-bottom:12px}
.badge-btn{font:inherit;appearance:none;-webkit-appearance:none;cursor:pointer !important}
.badge-btn,.badge-btn *,.pulse-pill,.pulse-pill *{cursor:pointer !important}
.badge-btn:hover{background:rgba(255,255,255,.08);border-color:rgba(255,255,255,.18)}
.badge-btn:focus-visible{outline:2px solid rgba(255,255,255,.35);outline-offset:2px}
.pulse-strip{display:flex;flex-wrap:wrap;gap:14px;margin:6px 0 34px;align-items:flex-start;padding-top:8px}
.pulse-pill{display:inline-flex;align-items:center;gap:9px;padding:12px 16px;border-radius:999px;background:rgba(255,255,255,.035);border:1px solid rgba(255,255,255,.08);color:#f1f1f1;font-size:13px;line-height:1.15;cursor:pointer !important;transition:background .18s ease,border-color .18s ease,transform .18s ease,box-shadow .18s ease}
.heat-chip{position:absolute;top:12px;left:12px;display:none;align-items:center;justify-content:center;padding:8px 11px;border-radius:999px;background:rgba(0,0,0,.68);border:1px solid rgba(255,255,255,.18);font-size:11px;font-weight:800;letter-spacing:.08em;color:#fff;z-index:3;box-shadow:0 8px 24px rgba(0,0,0,.28)}
.card.heat-hot{border-color:rgba(255,153,51,.52);box-shadow:0 18px 60px rgba(0,0,0,.38),0 0 0 1px rgba(255,153,51,.20) inset,0 0 34px rgba(255,120,30,.14)}
.card.heat-hot .thumb::after,.card.heat-warm .thumb::after,.card.heat-moving .thumb::after{content:'';position:absolute;inset:0;pointer-events:none}
.card.heat-hot .thumb::before{display:none;content:""}
.card.heat-hot .thumb .heat-flames{display:none !important}
.card.heat-hot .thumb::after{background:none}
.card.heat-hot .heat-chip{display:inline-flex;background:rgba(255,102,0,.84);border-color:rgba(255,199,112,.55)}
.card.heat-warm{border-color:rgba(255,214,92,.32);box-shadow:0 18px 60px rgba(0,0,0,.38),0 0 0 1px rgba(255,214,92,.12) inset,0 0 28px rgba(255,214,92,.10)}
.card.heat-warm .thumb::after{background:linear-gradient(180deg,rgba(255,214,92,.18),transparent 44%)}
.card.heat-warm .heat-chip{display:inline-flex;background:rgba(255,214,92,.22);border-color:rgba(255,225,145,.40)}
@media (max-width:720px){
  .pulse-strip{gap:10px;margin:10px 0 28px}
  .pulse-pill{font-size:12px;padding:9px 12px}
}

.pulse-pill:hover{background:rgba(255,255,255,.08);border-color:rgba(255,255,255,.18);transform:translateY(-1px);box-shadow:0 10px 28px rgba(0,0,0,.18)}
.pulse-pill strong{font-weight:700;color:#fff}
.card.heat-moving{border-color:rgba(102,214,255,.34);box-shadow:0 18px 60px rgba(0,0,0,.38),0 0 0 1px rgba(102,214,255,.10) inset,0 0 28px rgba(81,170,255,.10)}
.card.heat-moving .thumb::after{background:linear-gradient(180deg,rgba(81,170,255,.18),transparent 44%)}
.card.heat-moving .heat-chip{display:inline-flex;background:rgba(81,170,255,.22);border-color:rgba(128,205,255,.34)}

.live-activity-bar{display:flex;flex-wrap:wrap;gap:12px;margin:2px 0 34px;padding-top:4px}
.live-pill{display:inline-flex;align-items:center;gap:7px;min-height:38px;padding:0 14px;border-radius:999px;background:rgba(255,255,255,.035);border:1px solid rgba(255,255,255,.08);color:rgba(255,255,255,.9);font-size:14px;line-height:1;text-decoration:none}
.live-pill strong{color:#fff}
.live-pill-highlight{background:rgba(255,255,255,.06);border-color:rgba(255,255,255,.16);box-shadow:none;color:#f3f3f6}.live-pill-highlight strong{color:#ffffff}
.live-link{cursor:pointer !important}
.live-link:hover{background:rgba(255,255,255,.06);border-color:rgba(255,255,255,.14)}
.smart-recommend{margin:2px 0 14px;padding:16px 18px 18px;border-radius:24px;background:linear-gradient(180deg,rgba(255,255,255,.028),rgba(255,255,255,.018));border:1px solid rgba(255,255,255,.08);box-shadow:0 22px 70px rgba(0,0,0,.30)}
.smart-recommend-head{display:flex;align-items:end;justify-content:space-between;gap:20px;margin-bottom:10px}
.smart-recommend-head h2{margin:0;font-size:24px}
.smart-recommend-head p{margin:0;color:var(--muted);font-size:14px}
.smart-recommend-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.smart-card{display:grid;grid-template-columns:108px 1fr;gap:12px;align-items:center;padding:10px;border-radius:18px;background:rgba(255,255,255,.03);border:1px solid rgba(255,255,255,.08);text-decoration:none;transition:transform .18s ease,border-color .18s ease,background .18s ease}
.smart-card:hover{transform:translateY(-2px);border-color:rgba(255,255,255,.16);background:rgba(255,255,255,.045)}
.smart-card-thumb{position:relative;overflow:hidden;border-radius:14px;aspect-ratio:16/10;background:#111}
.smart-card-thumb img{width:100%;height:100%;object-fit:cover;display:block}
.smart-card-copy{display:grid;gap:6px;min-width:0}
.smart-card-copy strong{font-size:16px;line-height:1.28;color:#fff;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.smart-card-copy span{font-size:13px;color:var(--muted)}
.smart-card-kicker{text-transform:uppercase;letter-spacing:.08em;color:#8de5b5 !important;font-size:11px !important}
@media (max-width:1120px){.smart-recommend-grid{grid-template-columns:1fr}.smart-card{grid-template-columns:120px 1fr}}
@media (max-width:720px){.live-activity-bar{gap:10px;margin-bottom:28px}.live-pill{font-size:13px;padding:0 12px;min-height:36px}.smart-recommend{padding:16px}.smart-recommend-head{display:grid;gap:6px}.smart-card{grid-template-columns:92px 1fr}}


.streak-badge{display:inline-flex;align-items:center;gap:8px}
.streak-badge strong{font-weight:800;color:#fff}
.streak-badge span{color:var(--muted)}
.streak-pill{margin:14px 0 0;display:inline-flex;align-items:center;gap:10px;padding:10px 14px;border-radius:999px;background:rgba(255,255,255,.04);border:1px solid rgba(255,255,255,.08);font-size:13px;color:rgba(255,255,255,.78)}
.streak-pill strong{color:#fff;font-size:14px}
.autoplay-dock{position:fixed;right:24px;bottom:24px;width:min(380px,calc(100vw - 28px));padding:16px;border-radius:22px;background:linear-gradient(180deg,rgba(15,15,15,.98),rgba(8,8,8,.96));border:1px solid rgba(255,255,255,.10);box-shadow:0 28px 80px rgba(0,0,0,.48);z-index:9999;transform:translateY(22px);opacity:0;pointer-events:none;transition:opacity .25s ease,transform .25s ease}
.autoplay-dock.visible{opacity:1;transform:translateY(0);pointer-events:auto}
.autoplay-kicker{display:flex;align-items:center;gap:8px;margin:0 0 10px;font-size:12px;letter-spacing:.08em;text-transform:uppercase;color:rgba(255,255,255,.6)}
.autoplay-card{display:grid;grid-template-columns:120px 1fr;gap:14px;align-items:start}
.autoplay-thumb img{display:block;width:100%;aspect-ratio:16/9;object-fit:cover;border-radius:14px;border:1px solid rgba(255,255,255,.08)}
.autoplay-copy h3{margin:0 0 8px;font-size:18px;line-height:1.2}
.autoplay-copy p{margin:0 0 12px;color:rgba(255,255,255,.68);font-size:13px;line-height:1.45}
.autoplay-actions{display:flex;gap:10px;flex-wrap:wrap}
.autoplay-btn{appearance:none;-webkit-appearance:none;border:1px solid rgba(255,255,255,.12);background:rgba(255,255,255,.04);color:#fff;border-radius:999px;padding:10px 15px;font:inherit;font-size:13px;font-weight:700;cursor:pointer !important;text-decoration:none}
.autoplay-btn.primary{background:rgba(0,255,140,.12);border-color:rgba(0,255,140,.34);color:#a9ffd0}
.autoplay-btn:hover{background:rgba(255,255,255,.08)}
@media (max-width:720px){.autoplay-dock{right:14px;left:14px;bottom:14px;width:auto;padding:14px}.autoplay-card{grid-template-columns:96px 1fr}.autoplay-copy h3{font-size:16px}.streak-pill{display:flex;width:100%;justify-content:center}}

.featured-moment-btn{background:linear-gradient(180deg,rgba(255,128,64,.10),rgba(255,128,64,.03));border-color:rgba(255,166,119,.24)}
.featured-moment-btn:hover{background:linear-gradient(180deg,rgba(255,128,64,.16),rgba(255,128,64,.05));border-color:rgba(255,185,145,.34);box-shadow:0 12px 30px rgba(255,110,60,.12)}
.pulse-strip{margin:16px 0 40px;padding-top:10px}
.live-activity-bar{margin:4px 0 40px;padding-top:2px}
.pulse-pill{position:relative;overflow:hidden}
.pulse-pill::after{content:"";position:absolute;inset:auto auto 0 16px;width:24px;height:2px;border-radius:999px;background:rgba(255,255,255,.22)}





/* layout cleanup for clip pages */
.page-top-actions{align-items:center;gap:10px;flex-wrap:nowrap}
.page-top-actions .btn{flex:0 0 auto}
.page-top-actions .streak-pill{margin:0;flex:0 0 auto}
.vote-score{display:none !important}
.card{position:relative}
.related-grid,.section-grid,.cards-grid{overflow:visible}
.card.heat-hot{overflow:visible;isolation:isolate}
.card.heat-hot .thumb{overflow:visible}
.card.heat-hot .thumb::before,
.card.heat-hot .thumb::after{
  content:'';
  position:absolute;
  left:50%;
  pointer-events:none;
  z-index:2;
  transform:translateX(-50%);
}
.card.heat-hot .thumb::before{
  bottom:-12px;
  width:126%;
  height:76%;
  opacity:1;
  filter:blur(28px) saturate(1.18);
  mix-blend-mode:screen;
  background:
    radial-gradient(circle at 18% 88%, rgba(255,255,255,.98) 0 8%, rgba(255,232,200,.72) 12%, rgba(255,172,84,.46) 20%, rgba(255,126,32,.26) 30%, rgba(255,120,0,0) 58%),
    radial-gradient(circle at 45% 84%, rgba(255,255,255,.92) 0 9%, rgba(255,235,205,.66) 14%, rgba(255,185,96,.40) 22%, rgba(255,126,32,.22) 32%, rgba(255,120,0,0) 60%),
    radial-gradient(circle at 72% 88%, rgba(255,255,255,.94) 0 8%, rgba(255,230,198,.68) 13%, rgba(255,176,88,.42) 21%, rgba(255,126,32,.24) 30%, rgba(255,120,0,0) 58%);
  animation:hotSmokeRiseStrong 3.8s ease-in-out infinite;
}
.card.heat-hot .thumb::after{
  bottom:-18px;
  width:136%;
  height:86%;
  opacity:.88;
  filter:blur(42px);
  mix-blend-mode:screen;
  background:
    radial-gradient(circle at 24% 88%, rgba(255,220,188,.40) 0 9%, rgba(255,145,56,.24) 17%, rgba(255,120,0,0) 48%),
    radial-gradient(circle at 55% 82%, rgba(255,226,196,.36) 0 8%, rgba(255,138,48,.20) 15%, rgba(255,120,0,0) 44%),
    radial-gradient(circle at 82% 86%, rgba(255,220,188,.34) 0 7%, rgba(255,132,44,.18) 14%, rgba(255,120,0,0) 42%);
  animation:hotSmokeDriftStrong 4.4s ease-in-out infinite;
}
@keyframes hotSmokeRiseStrong{
  0%{transform:translateX(-50%) translateY(16px) scale(.92);opacity:.72}
  45%{transform:translateX(-50%) translateY(-2px) scale(1.04);opacity:1}
  100%{transform:translateX(-50%) translateY(-22px) scale(1.14);opacity:.34}
}
@keyframes hotSmokeDriftStrong{
  0%{transform:translateX(-50%) translateY(18px) scale(.94);opacity:.52}
  50%{transform:translateX(-44%) translateY(-4px) scale(1.06);opacity:.78}
  100%{transform:translateX(-56%) translateY(-18px) scale(1.13);opacity:.22}
}
@media (max-width: 900px){
  .page-top-actions{gap:8px}
  .page-top-actions .btn{padding:10px 14px;font-size:13px}
  .page-top-actions .streak-pill{padding:10px 13px;font-size:12px}
}


/* ===== Playlist Pro Expansion ===== */
.panel-soft{
  margin:0 0 22px;
  background:linear-gradient(180deg,rgba(255,255,255,.038),rgba(255,255,255,.018));
  border:1px solid rgba(255,255,255,.08);
  border-radius:24px;
  padding:22px;
  box-shadow:var(--shadow);
}
.eyebrow{
  color:rgba(255,255,255,.58);
  text-transform:uppercase;
  letter-spacing:.18em;
  font-size:11px;
  margin-bottom:10px;
}
.playlist-enhancements{margin:0 0 24px}
.playlist-switcher{
  display:grid;
  grid-template-columns:1.2fr .9fr;
  gap:18px;
  align-items:center;
}
.playlist-switcher-copy h2,.playlist-progress h3,.playlist-toolbar-pro h3,.row-head h3,.keep-exploring-copy h2{
  margin:0 0 8px;
  font-size:clamp(24px,3vw,34px);
  line-height:1.08;
}
.playlist-switcher-copy p,.progress-note,.toolbar-copy p,.keep-exploring-copy p{
  margin:0;
  color:var(--muted);
  line-height:1.7;
}
.playlist-switcher-actions{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  justify-content:flex-end;
  align-items:center;
}
.active-btn{
  background:rgba(255,255,255,.11) !important;
  border-color:rgba(255,255,255,.22) !important;
}
.ghost-btn,.playlist2-waiting{
  opacity:.72;
  cursor:default;
  pointer-events:none;
}
.playlist-progress-head{
  display:flex;
  justify-content:space-between;
  gap:16px;
  align-items:flex-end;
  margin-bottom:14px;
  flex-wrap:wrap;
}
.playlist-progress-stats{
  display:flex;
  align-items:baseline;
  gap:6px;
  color:#f0f0f4;
}
.playlist-progress-stats strong{font-size:28px;line-height:1}
.progress-track{
  width:100%;
  height:14px;
  border-radius:999px;
  background:rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.08);
  overflow:hidden;
}
.progress-fill{
  height:100%;
  width:0%;
  border-radius:999px;
  background:linear-gradient(90deg,rgba(130,38,64,.88),rgba(218,70,104,.96));
  box-shadow:0 0 24px rgba(193,54,83,.34);
  transition:width .28s ease;
}
.progress-note{margin-top:12px}
.playlist-toolbar-pro{
  display:grid;
  grid-template-columns:.85fr 1.15fr;
  gap:18px;
  align-items:end;
}
.playlist-filters{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-bottom:12px;
}
.filter-chip{
  appearance:none;
  border:1px solid rgba(255,255,255,.10);
  background:rgba(255,255,255,.04);
  color:#f1f1f1;
  border-radius:999px;
  padding:11px 15px;
  font-size:13px;
  cursor:pointer;
  transition:all .18s ease;
}
.filter-chip:hover,.filter-chip.active{
  background:rgba(255,255,255,.10);
  border-color:rgba(255,255,255,.18);
  transform:translateY(-1px);
}
.playlist-search{
  display:block;
}
.playlist-search input{
  width:100%;
  padding:14px 18px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.10);
  background:rgba(255,255,255,.04);
  color:#fff;
  outline:none;
  font-size:14px;
}
.playlist-search input::placeholder{color:rgba(255,255,255,.42)}
.playlist-rows{display:grid;gap:22px;margin-bottom:22px}
.row-head{display:flex;justify-content:space-between;align-items:end;gap:16px;margin-bottom:14px}
.row-scroller{
  display:grid;
  grid-auto-flow:column;
  grid-auto-columns:minmax(280px, 320px);
  gap:16px;
  overflow-x:auto;
  padding-bottom:6px;
  scrollbar-width:thin;
}
.row-scroller .card{
  min-width:0;
}
.row-scroller .card h2{font-size:18px}
.playlist-master-grid .card,
.row-scroller .card{
  position:relative;
}
.playlist-master-grid .card .thumb::after,
.row-scroller .card .thumb::after{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(180deg,rgba(0,0,0,.0),rgba(0,0,0,.0) 55%,rgba(0,0,0,.38));
  opacity:0;
  transition:opacity .24s ease;
}
.playlist-master-grid .card:hover .thumb::after,
.row-scroller .card:hover .thumb::after{
  opacity:1;
}
.playlist-master-grid .thumb img,
.row-scroller .thumb img{
  transition:transform .35s ease;
}
.playlist-master-grid .card:hover .thumb img,
.row-scroller .card:hover .thumb img{
  transform:scale(1.05);
}
.playlist-thumb-overlay{
  position:absolute;
  inset:auto 14px 14px 14px;
  display:flex;
  justify-content:flex-start;
  pointer-events:none;
}
.playlist-thumb-button{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:9px 14px;
  border-radius:999px;
  background:rgba(12,12,14,.86);
  border:1px solid rgba(255,255,255,.14);
  color:#fff;
  font-size:12px;
  letter-spacing:.08em;
  text-transform:uppercase;
  opacity:0;
  transform:translateY(8px);
  transition:all .22s ease;
  backdrop-filter:blur(6px);
}
.playlist-master-grid .card:hover .playlist-thumb-button,
.row-scroller .card:hover .playlist-thumb-button{
  opacity:1;
  transform:translateY(0);
}
.playlist-card-badges{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin-bottom:10px;
}
.playlist-card-badge{
  display:inline-flex;
  align-items:center;
  gap:6px;
  padding:6px 10px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.08);
  background:rgba(255,255,255,.04);
  color:#f0f0f4;
  font-size:11px;
  letter-spacing:.08em;
  text-transform:uppercase;
}
.badge-trending{
  background:rgba(124,24,44,.20);
  border-color:rgba(201,71,101,.28);
}
.badge-studio,.badge-group,.badge-solo,.badge-workout{
  background:rgba(255,255,255,.05);
}
.keep-exploring{
  margin-top:28px;
}
.keep-exploring-grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:16px;
  margin-top:18px;
}
.keep-card{
  display:flex;
  flex-direction:column;
  gap:10px;
  min-height:190px;
  padding:20px;
  border-radius:22px;
  background:linear-gradient(180deg,rgba(255,255,255,.04),rgba(255,255,255,.018));
  border:1px solid rgba(255,255,255,.08);
  transition:transform .18s ease,border-color .18s ease,background .18s ease;
}
.keep-card:hover{
  transform:translateY(-4px);
  border-color:rgba(255,255,255,.16);
  background:linear-gradient(180deg,rgba(255,255,255,.06),rgba(255,255,255,.022));
}
.keep-card strong{
  font-size:20px;
  line-height:1.2;
}
.keep-card span:last-child{
  color:var(--muted);
  line-height:1.7;
}
.keep-kicker{
  color:rgba(255,255,255,.58);
  text-transform:uppercase;
  letter-spacing:.16em;
  font-size:11px;
}
.keep-card-disabled{
  opacity:.82;
}
@media (max-width:1100px){
  .playlist-switcher,.playlist-toolbar-pro{grid-template-columns:1fr}
  .playlist-switcher-actions{justify-content:flex-start}
  .keep-exploring-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width:760px){
  .panel-soft{padding:18px}
  .row-scroller{grid-auto-columns:minmax(240px, 280px)}
  .keep-exploring-grid{grid-template-columns:1fr}
}


/* --- playlist final visual alignment patch --- */
.playlist-kicker{
  color:rgba(255,255,255,.72)!important;
  text-transform:uppercase;
  letter-spacing:.18em;
  font-size:13px!important;
  margin-bottom:18px!important;
}
.playlist-hero-title{
  margin:0 0 16px!important;
  font-size:clamp(54px,6.1vw,72px)!important;
  line-height:.98!important;
  letter-spacing:-.03em!important;
  font-weight:800!important;
  max-width:1200px;
}
.playlist-hero-subtitle{
  margin:0!important;
  max-width:1040px!important;
  color:rgba(255,255,255,.82)!important;
  font-size:clamp(20px,2.1vw,28px)!important;
  line-height:1.46!important;
}
.hero{
  padding:72px 0 26px!important;
}
.progress-shell{
  display:grid!important;
  gap:12px!important;
}
.progress-shell-hero{
  margin:18px 0 8px!important;
  padding:18px 18px 16px!important;
  background:linear-gradient(180deg,rgba(255,255,255,.05),rgba(255,255,255,.022))!important;
  border:1px solid rgba(255,255,255,.09)!important;
  box-shadow:0 20px 60px rgba(0,0,0,.22)!important;
}
.progress-shell-hero .progress-line{
  height:16px!important;
  background:rgba(255,255,255,.06)!important;
}
.progress-shell-hero .progress-meta{
  font-size:13px!important;
}
.progress-shell-hero .progress-meta strong{
  font-size:16px!important;
}
.progress-fill{
  min-width:0!important;
}
.home-grid{
  grid-template-columns:minmax(0,1fr) 286px!important;
  gap:18px!important;
}
.sidepanel{
  width:100%!important;
  max-width:286px!important;
  justify-self:end!important;
}
.wrap{
  width:min(var(--max), calc(100% - 44px))!important;
}
.playlist-row,
.playlist-pro-panel,
.keep-exploring,
.sidepanel{
  box-sizing:border-box!important;
}
@media (max-width:1280px){
  .home-grid{
    grid-template-columns:minmax(0,1fr) 270px!important;
    gap:16px!important;
  }
  .sidepanel{max-width:270px!important;}
}
@media (max-width:1120px){
  .sidepanel{
    max-width:none!important;
    width:100%!important;
    justify-self:stretch!important;
  }
}
@media (max-width:720px){
  .playlist-hero-title{
    font-size:clamp(36px,10vw,48px)!important;
  }
  .playlist-hero-subtitle{
    font-size:18px!important;
    line-height:1.55!important;
  }
  .wrap{
    width:min(var(--max), calc(100% - 24px))!important;
  }
}


/* === Definitive playlist pro upgrade === */
body{overflow-x:hidden!important;}
.wrap{width:min(1500px, calc(100% - 72px))!important;}
.topbar-inner{min-height:74px!important;}
.nav a,.filter-chip,.playlist-tab{
  font-size:13px!important;
  letter-spacing:.12em!important;
  font-weight:500!important;
  border-radius:999px!important;
  padding:13px 20px!important;
  background:rgba(255,255,255,.035)!important;
  border:1px solid rgba(255,255,255,.10)!important;
}
.nav a:hover,.filter-chip:hover,.playlist-tab:hover{background:rgba(255,255,255,.08)!important;border-color:rgba(255,255,255,.16)!important;}
.nav a.is-current,.filter-chip.active,.playlist-tab.active{background:rgba(255,255,255,.12)!important;border-color:rgba(255,255,255,.22)!important;box-shadow:0 12px 30px rgba(0,0,0,.18)!important;}
.hero{
  padding:44px 40px 30px!important;
  border-radius:34px!important;
  border:1px solid rgba(255,255,255,.08)!important;
  background:
    radial-gradient(circle at 0% 18%, rgba(128,0,20,.20), transparent 34%),
    radial-gradient(circle at 100% 0%, rgba(90,90,150,.12), transparent 24%),
    linear-gradient(180deg,rgba(255,255,255,.025),rgba(255,255,255,.012))!important;
  box-shadow:0 26px 80px rgba(0,0,0,.24)!important;
  overflow:hidden!important;
  position:relative!important;
}
.hero::after{
  content:'';
  position:absolute;
  inset:0;
  pointer-events:none;
  background:linear-gradient(180deg,rgba(255,255,255,.03),transparent 22%);
  opacity:.55;
}
.hero > *{position:relative;z-index:1;}
.playlist-kicker{
  color:rgba(255,255,255,.74)!important;
  text-transform:uppercase!important;
  letter-spacing:.18em!important;
  font-size:13px!important;
  margin-bottom:18px!important;
}
.playlist-hero-title{
  margin:0 0 16px!important;
  font-size:clamp(56px,4.7vw,78px)!important;
  line-height:.94!important;
  letter-spacing:-.045em!important;
  font-weight:800!important;
  max-width:none!important;
  text-wrap:balance;
}
@media (min-width:1200px){
  .playlist-hero-title.single-line{white-space:nowrap!important; font-size:clamp(56px,4.25vw,74px)!important;}
}
.playlist-hero-subtitle{
  margin:0 0 8px!important;
  max-width:1120px!important;
  color:rgba(255,255,255,.84)!important;
  font-size:clamp(20px,1.9vw,26px)!important;
  line-height:1.52!important;
}
.progress-shell-hero{
  margin:22px 0 14px!important;
  padding:18px 20px 16px!important;
  background:linear-gradient(180deg,rgba(255,255,255,.06),rgba(255,255,255,.028))!important;
  border:1px solid rgba(255,255,255,.10)!important;
  box-shadow:0 18px 42px rgba(0,0,0,.22)!important;
}
.progress-kicker{
  font-size:11px!important;
  letter-spacing:.18em!important;
  color:rgba(255,255,255,.62)!important;
  text-transform:uppercase!important;
  margin-bottom:8px!important;
}
.progress-shell-hero .progress-line{
  height:18px!important;
  background:rgba(255,255,255,.06)!important;
  border-color:rgba(255,255,255,.09)!important;
}
.progress-shell-hero .progress-fill{
  background:linear-gradient(90deg,#ffffff 0%,#ececec 36%,#a4a4a4 100%)!important;
  box-shadow:0 0 28px rgba(255,255,255,.18)!important;
}
.progress-shell-hero .progress-meta{
  color:rgba(255,255,255,.80)!important;
  font-size:14px!important;
}
.progress-shell-hero .progress-meta strong{
  color:#fff!important;
  font-size:17px!important;
  letter-spacing:.01em!important;
}
.badges-actions{margin-top:8px!important;}
.home-grid{
  grid-template-columns:minmax(0,1fr) 272px!important;
  gap:24px!important;
  align-items:start!important;
  padding:8px 0 42px!important;
}
.home-grid > div{min-width:0!important;}
.sidepanel{
  width:100%!important;
  max-width:272px!important;
  justify-self:end!important;
  margin-right:4px!important;
  border-radius:28px!important;
}
.rank-title{max-width:170px!important;}
.playlist-row,
.playlist-pro-panel,
.keep-exploring,
.sidepanel{box-sizing:border-box!important;}
.playlist-row-top h3,.playlist-pro-head h2{font-size:26px!important;line-height:1.08!important;}
.playlist-row-top p,.playlist-pro-head p{font-size:15px!important;line-height:1.62!important;}
.mini-rail{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:18px!important;overflow:hidden!important;}
.mini-card{border-radius:22px!important;}
.mini-card h4{font-size:17px!important;line-height:1.24!important;}
.mini-card p{font-size:14px!important;line-height:1.56!important;}
.yt-fallback-thumb{object-fit:cover!important;background:#0b0b0b!important;}
#playlist-progress-hero{display:grid!important;}
#playlist-progress-hero .progress-meta span:last-child{font-weight:600!important;color:#f0f0f0!important;}
@media (max-width:1400px){
  .wrap{width:min(1460px, calc(100% - 56px))!important;}
  .home-grid{grid-template-columns:minmax(0,1fr) 258px!important;gap:20px!important;}
  .sidepanel{max-width:258px!important;}
  .rank-title{max-width:158px!important;}
}
@media (max-width:1180px){
  .hero{padding:34px 26px 24px!important;}
  .playlist-hero-title.single-line{white-space:normal!important;}
  .home-grid{grid-template-columns:1fr!important;}
  .sidepanel{max-width:none!important;width:100%!important;justify-self:stretch!important;margin-right:0!important;}
  .rank-title{max-width:none!important;}
}
@media (max-width:760px){
  .wrap{width:min(1460px, calc(100% - 24px))!important;}
  .playlist-hero-title{font-size:clamp(38px,10vw,52px)!important;line-height:1.02!important;}
  .playlist-hero-subtitle{font-size:18px!important;line-height:1.58!important;}
  .mini-rail{grid-template-columns:1fr!important;}
}



/* === FINAL PLAYLIST PRO FIXES === */
body{overflow-x:hidden!important;}
.wrap{
  width:min(1600px, calc(100% - 64px))!important;
  margin:0 auto!important;
}
.hero{
  padding:72px 0 28px!important;
  overflow:visible!important;
}
.playlist-kicker{
  color:rgba(255,255,255,.74)!important;
  text-transform:uppercase!important;
  letter-spacing:.18em!important;
  font-size:13px!important;
  margin-bottom:18px!important;
}
.playlist-hero-title{
  margin:0 0 16px!important;
  max-width:none!important;
  font-size:clamp(52px,4.2vw,72px)!important;
  line-height:.96!important;
  letter-spacing:-.045em!important;
  font-weight:800!important;
  text-wrap:balance!important;
}
@media (min-width:1380px){
  .playlist-hero-title.single-line{
    white-space:nowrap!important;
    font-size:clamp(50px,3.72vw,68px)!important;
  }
}
.playlist-hero-subtitle{
  margin:0 0 10px!important;
  max-width:1180px!important;
  color:rgba(255,255,255,.84)!important;
  font-size:clamp(21px,1.85vw,27px)!important;
  line-height:1.52!important;
}
.progress-shell-hero{
  display:grid!important;
  gap:12px!important;
  margin:24px 0 14px!important;
  padding:18px 22px 16px!important;
  background:linear-gradient(180deg,rgba(255,255,255,.06),rgba(255,255,255,.028))!important;
  border:1px solid rgba(255,255,255,.10)!important;
  box-shadow:0 18px 42px rgba(0,0,0,.22)!important;
}
.progress-shell-hero .progress-line{
  height:14px!important;
  background:rgba(255,255,255,.06)!important;
  border-radius:999px!important;
  overflow:hidden!important;
}
.progress-shell-hero .progress-fill{
  background:linear-gradient(90deg,#ff9866,#ff4d4d)!important;
}
.progress-shell-hero .progress-meta{
  display:flex!important;
  justify-content:space-between!important;
  gap:16px!important;
  flex-wrap:wrap!important;
  font-size:14px!important;
  color:#f1f1f1!important;
}
.progress-shell-hero .progress-meta strong{font-size:16px!important;}
.home-grid{
  grid-template-columns:minmax(0,1fr) 372px!important;
  gap:26px!important;
  align-items:start!important;
}
.sidepanel{
  width:100%!important;
  max-width:372px!important;
  min-width:372px!important;
  justify-self:end!important;
  position:sticky!important;
  top:88px!important;
  padding:24px!important;
  border-radius:26px!important;
}
.rank-title{
  max-width:248px!important;
}
.rank-item{
  padding:14px 16px!important;
}
.playlist-row,
.keep-exploring,
.playlist-pro-panel,
.sidepanel{
  box-sizing:border-box!important;
}
.playlist-row-top h3,.playlist-pro-head h2,.keep-exploring h2{
  font-size:26px!important;
  line-height:1.08!important;
}
.playlist-row-top p,.playlist-pro-head p,.keep-exploring p{
  font-size:15px!important;
  line-height:1.62!important;
}
.mini-rail{
  display:grid!important;
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  gap:18px!important;
  overflow:hidden!important;
}
.mini-card{
  min-width:0!important;
  border-radius:22px!important;
}
.mini-card img{
  aspect-ratio:16/9!important;
  object-fit:cover!important;
}
.mini-card h4{font-size:17px!important;line-height:1.24!important;}
.mini-card p{font-size:14px!important;line-height:1.56!important;}
.thumb{position:relative!important;}
.play-badge{
  left:auto!important;
  right:12px!important;
  top:12px!important;
}
@media (max-width:1600px){
  .wrap{width:min(1540px, calc(100% - 52px))!important;}
  .home-grid{grid-template-columns:minmax(0,1fr) 350px!important;gap:22px!important;}
  .sidepanel{max-width:350px!important;min-width:350px!important;}
  .rank-title{max-width:228px!important;}
}
@media (max-width:1450px){
  .playlist-hero-title.single-line{
    white-space:normal!important;
    font-size:clamp(46px,4.6vw,62px)!important;
  }
  .home-grid{grid-template-columns:minmax(0,1fr) 320px!important;}
  .sidepanel{max-width:320px!important;min-width:320px!important;}
  .rank-title{max-width:200px!important;}
}
@media (max-width:1220px){
  .home-grid{grid-template-columns:1fr!important;}
  .sidepanel{max-width:none!important;min-width:0!important;width:100%!important;justify-self:stretch!important;}
}
@media (max-width:760px){
  .wrap{width:min(1460px, calc(100% - 24px))!important;}
  .playlist-hero-title{font-size:clamp(38px,10vw,52px)!important;line-height:1.02!important;white-space:normal!important;}
  .playlist-hero-subtitle{font-size:18px!important;line-height:1.58!important;}
  .mini-rail{grid-template-columns:1fr!important;}
  .progress-shell-hero .progress-meta{font-size:13px!important;}
}
/* === END FINAL PLAYLIST PRO FIXES === */


/* === v3 layout polish === */
body{overflow-x:hidden!important;}
.wrap{width:min(1560px, calc(100% - 96px))!important; margin:0 auto!important;}
.hero{
  padding:44px 42px 26px!important;
  border-radius:34px!important;
  overflow:hidden!important;
}
.playlist-kicker{
  font-size:11px!important;
  letter-spacing:.24em!important;
  margin-bottom:16px!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
}
.playlist-hero-title{
  margin:0 0 14px!important;
  font-size:clamp(44px,3.95vw,62px)!important;
  line-height:1.02!important;
  letter-spacing:-.035em!important;
  white-space:nowrap!important;
  text-wrap:normal!important;
  max-width:none!important;
  overflow:hidden!important;
}
.playlist-hero-subtitle{
  margin:0!important;
  font-size:clamp(16px,1.55vw,22px)!important;
  line-height:1.35!important;
  white-space:nowrap!important;
  max-width:none!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
}
.progress-shell-hero{
  margin:22px 0 8px!important;
  padding:22px 22px 18px!important;
  gap:16px!important;
}
.progress-shell-hero .progress-line{
  height:18px!important;
  margin-bottom:2px!important;
}
.progress-meta-hero{
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:22px!important;
  padding:2px 2px 0!important;
  font-size:15px!important;
  line-height:1.35!important;
}
.progress-meta-hero strong{font-size:17px!important;}
#playlist-hero-badges{
  margin:0!important;
  padding-top:4px!important;
  display:flex!important;
  flex-wrap:wrap!important;
  gap:14px!important;
  align-items:center!important;
}
#playlist-hero-badges .badge,
#playlist-hero-badges .badge-btn{
  padding:12px 18px!important;
  min-height:50px!important;
  font-size:14px!important;
}
.pulse-strip{
  margin:0!important;
  padding:2px 2px 2px!important;
  display:flex!important;
  flex-wrap:wrap!important;
  gap:16px!important;
  align-items:flex-start!important;
}
.pulse-pill{
  padding:14px 18px!important;
  min-height:52px!important;
  font-size:14px!important;
  line-height:1.2!important;
}
.live-activity-bar{
  margin-top:2px!important;
}
.home-grid{
  grid-template-columns:minmax(0,1fr) 320px!important;
  gap:24px!important;
  align-items:start!important;
}
.playlist-rows,
.playlist-row,
.playlist-row-top,
.mini-rail,
.mini-card,
.mini-card-body{min-width:0!important;}
.mini-rail{
  display:grid!important;
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  gap:14px!important;
  overflow:hidden!important;
}
.mini-card{border-radius:22px!important;}
.mini-card h4{
  font-size:16px!important;
  line-height:1.2!important;
}
.mini-card p{
  font-size:13px!important;
  line-height:1.5!important;
}
.sidepanel{
  position:sticky!important;
  top:86px!important;
  width:100%!important;
  max-width:320px!important;
  margin:0!important;
  justify-self:stretch!important;
  border-radius:28px!important;
}
.rank-list{gap:12px!important;}
.rank-item{padding:13px 15px!important;}
.rank-title{max-width:188px!important;}
@media (max-width:1440px){
  .wrap{width:min(1520px, calc(100% - 80px))!important;}
  .playlist-hero-title{font-size:clamp(42px,3.7vw,58px)!important;}
  .playlist-hero-subtitle{font-size:clamp(15px,1.38vw,20px)!important;}
}
@media (max-width:1280px){
  .wrap{width:min(1460px, calc(100% - 56px))!important;}
  .hero{padding:38px 30px 24px!important;}
  .playlist-hero-title{white-space:normal!important;}
  .playlist-hero-subtitle{white-space:normal!important;}
  .home-grid{grid-template-columns:minmax(0,1fr) 290px!important;gap:20px!important;}
  .sidepanel{max-width:290px!important;}
  .mini-rail{gap:12px!important;}
}
@media (max-width:1120px){
  .home-grid{grid-template-columns:1fr!important;}
  .sidepanel{max-width:none!important;justify-self:stretch!important;}
  .playlist-hero-title,.playlist-hero-subtitle{white-space:normal!important;overflow:visible!important;text-overflow:clip!important;}
}
@media (max-width:760px){
  .wrap{width:min(1460px, calc(100% - 24px))!important;}
  .hero{padding:28px 18px 20px!important;}
  .progress-meta-hero{flex-direction:column!important;align-items:flex-start!important;gap:8px!important;}
  #playlist-hero-badges,.pulse-strip{gap:10px!important;}
  .mini-rail{grid-template-columns:1fr!important;}
}


/* --- FINAL MICRO POLISH OVERRIDES --- */
html,body{overflow-x:hidden!important;}
.wrap{width:min(var(--max), calc(100% - 72px))!important; max-width:1840px!important;}
.hero{padding:56px 0 26px!important;}
.playlist-kicker{font-size:12px!important; letter-spacing:.16em!important; margin-bottom:16px!important; white-space:nowrap!important;}
.playlist-hero-title{font-size:clamp(42px,4.65vw,64px)!important; line-height:1.02!important; letter-spacing:-.028em!important; max-width:none!important; white-space:nowrap!important; overflow:visible!important; margin:0 0 14px!important;}
.playlist-hero-subtitle{font-size:clamp(17px,1.42vw,23px)!important; line-height:1.42!important; max-width:none!important; white-space:nowrap!important; overflow:visible!important; margin:0!important;}
.progress-shell-hero{margin:20px 0 12px!important; padding:22px 26px 22px!important; border-radius:28px!important;}
.progress-shell-hero .progress-line{height:16px!important; margin:0 0 14px!important;}
.progress-meta-hero{display:flex!important; align-items:center!important; justify-content:space-between!important; gap:20px!important; margin:0 0 16px!important; padding:0!important; flex-wrap:wrap!important;}
.progress-meta-hero > span{display:inline-flex!important; align-items:center!important; gap:6px!important;}
#playlist-hero-badges{display:flex!important; flex-wrap:wrap!important; gap:14px!important; align-items:center!important; margin:0 0 18px!important; padding-top:0!important;}
#playlist-hero-badges .badge,#playlist-hero-badges .badge-btn{padding:12px 18px!important; min-height:48px!important; border-radius:999px!important;}
.pulse-strip{display:flex!important; flex-wrap:wrap!important; gap:16px!important; margin:0 0 10px!important; padding:0 6px 0 0!important;}
.pulse-pill{padding:12px 18px!important; min-height:48px!important; font-size:14px!important;}
.live-activity-bar{display:flex!important; flex-wrap:wrap!important; gap:14px!important; margin:0!important; padding:0 6px 0 0!important;}
.live-pill{min-height:44px!important; padding:0 16px!important; font-size:14px!important; border-radius:999px!important;}
.home-grid{grid-template-columns:minmax(0,1fr) 320px!important; gap:28px!important; align-items:start!important;}
.sidepanel{position:sticky!important; top:88px!important; width:100%!important; max-width:320px!important; justify-self:end!important; padding:24px!important; border-radius:28px!important;}
.rank-list{gap:12px!important;}
.rank-item{padding:14px 16px!important;}
.playlist-rows{gap:28px!important; min-width:0!important;}
.row-scroller{grid-auto-columns:minmax(255px, 1fr)!important; gap:14px!important; overflow:hidden!important; padding-right:6px!important;}
.row-scroller .card{height:100%!important;}
@media (min-width:1300px){
  .row-scroller{grid-template-columns:repeat(4,minmax(0,1fr))!important; grid-auto-flow:unset!important; overflow:visible!important;}
}
@media (max-width:1700px){
  .playlist-hero-title{font-size:clamp(40px,4.2vw,58px)!important;}
  .playlist-hero-subtitle{font-size:clamp(16px,1.26vw,21px)!important;}
}
@media (max-width:1500px){
  .wrap{width:min(var(--max), calc(100% - 56px))!important;}
  .home-grid{grid-template-columns:minmax(0,1fr) 300px!important; gap:24px!important;}
  .sidepanel{max-width:300px!important;}
  .playlist-hero-title{font-size:clamp(38px,3.9vw,54px)!important;}
  .playlist-hero-subtitle{white-space:normal!important; max-width:1000px!important;}
}
@media (max-width:1280px){
  .home-grid{grid-template-columns:1fr!important;}
  .sidepanel{position:relative!important; top:auto!important; max-width:none!important; justify-self:stretch!important;}
  .playlist-hero-title{white-space:normal!important;}
}


/* === Final user polish: tighter hero, tighter pills, sticky narrower ranking === */
.playlist-kicker{
  margin-left:4px !important;
  margin-bottom:16px !important;
}
.playlist-hero-title{
  font-size:clamp(38px,4.35vw,52px) !important;
  line-height:1.02 !important;
  letter-spacing:-.028em !important;
  max-width:100% !important;
  white-space:nowrap !important;
}
.playlist-hero-subtitle{
  font-size:clamp(15px,1.5vw,18px) !important;
  line-height:1.38 !important;
  margin-top:12px !important;
  max-width:none !important;
  white-space:nowrap !important;
}
.hero{
  padding:56px 0 18px !important;
}
.wrap{
  width:min(1520px, calc(100% - 52px)) !important;
}
.progress-shell-hero{
  margin-top:22px !important;
  padding:14px 16px 14px !important;
}
.progress-kicker{
  margin-bottom:10px !important;
}
.progress-line{
  margin-bottom:12px !important;
}
.progress-meta-hero{
  margin:0 0 10px 0 !important;
}
#playlist-hero-badges{
  gap:8px !important;
  row-gap:8px !important;
  margin-top:0 !important;
}
#playlist-hero-badges .badge,
#playlist-hero-badges .badge-btn{
  padding:10px 14px !important;
  min-height:42px !important;
  font-size:12px !important;
}
#pulse-strip{
  gap:8px !important;
  row-gap:8px !important;
  margin-top:10px !important;
}
.pulse-pill{
  padding:9px 12px !important;
  min-height:40px !important;
  font-size:12px !important;
  gap:6px !important;
}
.home-grid{
  grid-template-columns:minmax(0,1fr) 244px !important;
  gap:12px !important;
}
.sidepanel{
  position:sticky !important;
  top:18px !important;
  width:244px !important;
  max-width:244px !important;
  padding:14px 10px !important;
  margin-left:0 !important;
  justify-self:end !important;
  overflow:hidden !important;
}
.sidepanel h3{
  font-size:25px !important;
  margin-bottom:14px !important;
}
.sidepanel p{
  font-size:14px !important;
  line-height:1.48 !important;
  margin-bottom:12px !important;
}
.rank-list{
  gap:8px !important;
  margin-top:12px !important;
}
.rank-item{
  padding:10px 10px !important;
  gap:8px !important;
  border-radius:14px !important;
}
.rank-left{
  gap:8px !important;
}
.rank-num{
  width:28px !important;
  height:28px !important;
  font-size:12px !important;
}
.rank-title{
  max-width:116px !important;
  font-size:13px !important;
}
.rank-score{
  font-size:12px !important;
}
.notice{
  font-size:11px !important;
  line-height:1.45 !important;
}
@media (max-width: 1500px){
  .playlist-hero-title{
    font-size:clamp(34px,4vw,46px) !important;
  }
  .playlist-hero-subtitle{
    font-size:15px !important;
  }
  .home-grid{
    grid-template-columns:minmax(0,1fr) 232px !important;
    gap:10px !important;
  }
  .sidepanel{
    width:232px !important;
    max-width:232px !important;
    padding:12px 8px !important;
  }
  .rank-title{
    max-width:104px !important;
  }
}
@media (max-width: 1280px){
  .playlist-hero-title,
  .playlist-hero-subtitle{
    white-space:normal !important;
  }
}

/* FINAL OVERRIDES: playlist grid max 4 + tighter layout */
.related-grid{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:16px!important;}
@media (max-width:1400px){.related-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important;}}
@media (max-width:980px){.related-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;}}
@media (max-width:640px){.related-grid{grid-template-columns:1fr!important;}}
.grid{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:18px!important;}
@media (max-width:1400px){.grid{grid-template-columns:repeat(3,minmax(0,1fr))!important;}}
@media (max-width:1024px){.grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;}}
@media (max-width:640px){.grid{grid-template-columns:1fr!important;}}


/* v10 real polish */
.grid,.related-grid{overflow:visible}
@media (max-width:1400px){.grid,.related-grid{grid-template-columns:repeat(3,minmax(0,1fr));}}
@media (max-width:980px){.grid,.related-grid{grid-template-columns:repeat(2,minmax(0,1fr));}}
@media (max-width:640px){.grid,.related-grid{grid-template-columns:1fr;}}
.card,.relatedItem,.small-card{min-width:0}
.hero{padding:54px 0 26px}
.hero p{max-width:980px}
.section-title{font-size:30px;margin:0 0 10px}
.section-sub{margin:0 0 18px;color:var(--muted);line-height:1.68}
.card h2{font-size:18px;line-height:1.22}
.meta{font-size:13px;line-height:1.58}
.card-actions{margin-top:14px}
.btn{padding:10px 14px;font-size:13px}
.nav{gap:10px}
.nav a{padding:11px 16px;font-size:12px}
.wrap,.topbar,.home-grid,.sidepanel{overflow:visible !important;}


/* SEO elite upgrade */
.seo-intro{margin:18px 0 20px;padding:18px 20px;border:1px solid rgba(255,255,255,.08);border-radius:22px;background:linear-gradient(180deg,rgba(255,255,255,.04),rgba(255,255,255,.02));box-shadow:0 18px 50px rgba(0,0,0,.22)}
.seo-intro h2{margin:0 0 10px;font-size:22px;line-height:1.14;letter-spacing:-.02em}
.seo-intro p{margin:0;color:var(--muted);font-size:15px;line-height:1.72;max-width:1000px}
.seo-intro .seo-pills{display:flex;flex-wrap:wrap;gap:10px;margin-top:14px}
.seo-intro .seo-pill{display:inline-flex;align-items:center;justify-content:center;padding:9px 13px;border-radius:999px;background:rgba(255,255,255,.04);border:1px solid rgba(255,255,255,.08);font-size:12px;letter-spacing:.08em;text-transform:uppercase;color:#f0f0f0}
.seo-block{margin-top:18px;padding:18px 20px;border-radius:22px;border:1px solid rgba(255,255,255,.07);background:rgba(255,255,255,.025)}
.seo-block h2{margin:0 0 10px;font-size:24px}
.seo-block p{margin:0;color:var(--muted);line-height:1.75}
.seo-links{display:flex;flex-wrap:wrap;gap:10px;margin-top:14px}
.seo-links a{display:inline-flex;align-items:center;justify-content:center;padding:10px 14px;border-radius:999px;border:1px solid rgba(255,255,255,.1);background:rgba(255,255,255,.03);font-size:12px;letter-spacing:.09em;text-transform:uppercase}
.seo-links a:hover{background:rgba(255,255,255,.07);border-color:rgba(255,255,255,.18)}
.page-faq{margin-top:22px;padding:22px;border-radius:22px;border:1px solid rgba(255,255,255,.08);background:linear-gradient(180deg,rgba(255,255,255,.04),rgba(255,255,255,.02))}
.page-faq h2{margin:0 0 12px;font-size:26px}
.page-faq details{border-top:1px solid rgba(255,255,255,.08);padding:14px 0}
.page-faq details:first-of-type{border-top:0;padding-top:0}
.page-faq summary{cursor:pointer;font-weight:700;color:#fff;list-style:none}
.page-faq summary::-webkit-details-marker{display:none}
.page-faq p{margin:10px 0 0;color:var(--muted);line-height:1.7}
@media (max-width: 768px){.seo-intro,.seo-block,.page-faq{padding:16px}.seo-intro h2,.page-faq h2{font-size:22px}}


/* === Netflix Pro polish: visual only, no link/video logic touched === */
:root{
  --bg:#040507;
  --bg2:#0a0b10;
  --panel:#0d1016;
  --panel2:#11151d;
  --line:rgba(255,255,255,.08);
  --muted:#c7ccd6;
  --soft:#9aa2b0;
  --shadow:0 24px 64px rgba(0,0,0,.42);
  --shadow-soft:0 18px 42px rgba(0,0,0,.28);
}

body{
  background:
    radial-gradient(1200px 520px at 50% -8%, rgba(54,86,170,.12), transparent 58%),
    radial-gradient(900px 420px at 0% 22%, rgba(132,24,39,.12), transparent 48%),
    linear-gradient(180deg, #020306 0%, #07090e 52%, #06070b 100%);
  color:var(--text);
}

.wrap{
  width:min(var(--max), calc(100% - 56px));
}

.topbar{
  background:linear-gradient(180deg, rgba(5,7,12,.92), rgba(5,7,12,.82));
  border-bottom:1px solid rgba(255,255,255,.05);
  box-shadow:0 12px 36px rgba(0,0,0,.22);
}
.topbar-inner{
  min-height:76px;
}
.brand{
  color:#f6f7fb;
  font-weight:800;
  letter-spacing:.14em;
}
.nav{
  gap:14px;
}
.nav a{
  min-height:48px;
  padding:0 20px;
  border-color:rgba(255,255,255,.10);
  background:linear-gradient(180deg, rgba(255,255,255,.055), rgba(255,255,255,.028));
  font-weight:800;
  box-shadow:0 10px 24px rgba(0,0,0,.22), inset 0 1px 0 rgba(255,255,255,.04);
  transition:transform .18s ease, border-color .18s ease, background .18s ease, box-shadow .18s ease;
}
.nav a:hover{
  transform:translateY(-1px);
  background:linear-gradient(180deg, rgba(255,255,255,.09), rgba(255,255,255,.04));
  border-color:rgba(255,255,255,.18);
  box-shadow:0 16px 34px rgba(0,0,0,.30), inset 0 1px 0 rgba(255,255,255,.05);
}

.hero{
  padding:72px 0 34px;
}
.kicker{
  color:rgba(255,255,255,.70);
}
h1{
  text-wrap:balance;
  text-shadow:0 2px 18px rgba(0,0,0,.22);
}
.hero p{
  color:rgba(255,255,255,.80);
}

.badge,
.footer-links a,
.small-card,
.side,
.sidepanel,
.player,
.card,
.panel-soft{
  box-shadow:var(--shadow);
}

.panel-soft,
.player,
.side,
.sidepanel,
.card,
.small-card{
  background:
    linear-gradient(180deg, rgba(255,255,255,.050), rgba(255,255,255,.022));
  border-color:rgba(255,255,255,.075);
}

.panel-soft{
  border-radius:26px;
  padding:24px;
}

.card,
.small-card{
  transition:transform .20s ease, border-color .20s ease, background .20s ease, box-shadow .20s ease;
}
.card:hover,
.small-card:hover{
  transform:translateY(-5px);
  border-color:rgba(255,255,255,.16);
  background:linear-gradient(180deg, rgba(255,255,255,.075), rgba(255,255,255,.028));
  box-shadow:0 28px 70px rgba(0,0,0,.46);
}

.thumb{
  background:#020305;
}
.thumb::after{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(180deg, rgba(0,0,0,0) 48%, rgba(0,0,0,.26) 100%);
  pointer-events:none;
}
.thumb img{
  transition:transform .35s ease, filter .35s ease;
}
.card:hover .thumb img,
.small-card:hover img{
  transform:scale(1.03);
  filter:saturate(1.05) contrast(1.02);
}

.card-body{
  padding:19px 19px 22px;
}
.card h2{
  font-size:22px;
  letter-spacing:-.015em;
}
.meta,
.section-sub,
.side p,
.sidepanel p,
.footer{
  color:var(--muted);
}

.player{
  overflow:clip;
}
.embed{
  background:#000;
}
.side{
  border-radius:26px;
  padding:26px;
}
.side h2{
  text-wrap:balance;
  font-size:32px;
}
.vote-box{
  background:linear-gradient(180deg, rgba(255,255,255,.045), rgba(255,255,255,.02));
  border-color:rgba(255,255,255,.08);
  border-radius:20px;
}
.vote-btn{
  box-shadow:inset 0 1px 0 rgba(255,255,255,.05);
  transition:transform .16s ease, border-color .16s ease, background .16s ease;
}
.vote-btn:hover{
  transform:translateY(-1px);
}

.sidepanel{
  top:92px;
  border-radius:26px;
  padding:20px 18px;
}
.rank-item{
  background:linear-gradient(180deg, rgba(255,255,255,.045), rgba(255,255,255,.02));
  border-color:rgba(255,255,255,.08);
}

.section-title{
  letter-spacing:-.02em;
}
.related{
  margin-top:42px;
}
.related-grid,
.grid{
  gap:20px;
}

@media (max-width: 1240px){
  .wrap{
    width:min(var(--max), calc(100% - 44px));
  }
}
@media (max-width: 760px){
  .wrap{
    width:min(var(--max), calc(100% - 26px));
  }
  .hero{
    padding:58px 0 28px;
  }
  .topbar-inner{
    min-height:70px;
  }
}


/* === Final surgical width + header normalization === */
body{overflow-x:hidden!important;}
.wrap{
  width:min(1220px, calc(100% - 48px))!important;
  max-width:1220px!important;
  margin-left:auto!important;
  margin-right:auto!important;
}
.hero,
.home-grid,
.playlist-row,
.playlist-pro-panel,
.keep-exploring,
.sidepanel{
  width:100%!important;
  max-width:100%!important;
  box-sizing:border-box!important;
}
.topbar-inner{
  min-height:76px!important;
  gap:16px!important;
}
.nav{
  gap:14px!important;
  flex-wrap:wrap!important;
}
.topbar .nav a,
.nav a{
  min-height:48px!important;
  padding:0 20px!important;
  border-radius:999px!important;
  border:1px solid rgba(255,255,255,.10)!important;
  background:linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.028))!important;
  box-shadow:0 10px 24px rgba(0,0,0,.22), inset 0 1px 0 rgba(255,255,255,.04)!important;
  font-size:13px!important;
  font-weight:800!important;
  letter-spacing:.11em!important;
  text-transform:uppercase!important;
}
.topbar .nav a:hover,
.nav a:hover{
  transform:translateY(-1px)!important;
  border-color:rgba(255,255,255,.18)!important;
  background:linear-gradient(180deg, rgba(255,255,255,.09), rgba(255,255,255,.04))!important;
  box-shadow:0 16px 34px rgba(0,0,0,.30), inset 0 1px 0 rgba(255,255,255,.05)!important;
}
@media (max-width:1240px){
  .wrap{
    width:min(1220px, calc(100% - 44px))!important;
    max-width:1220px!important;
  }
}
@media (max-width:760px){
  .wrap{
    width:min(1220px, calc(100% - 26px))!important;
    max-width:1220px!important;
  }
  .topbar-inner{min-height:70px!important;}
}
