:root{
  --bg:#080b10;
  --bg-soft:#0c1118;
  --surface:#101721;
  --surface-2:#141c27;
  --surface-3:#192331;
  --line:rgba(255,255,255,.075);
  --line-strong:rgba(255,255,255,.12);
  --text:#e4e9f2;
  --muted:#8d98a8;
  --muted-2:#667284;
  --orange:#ff7a00;
  --orange-2:#ff9b19;
  --discord:#5865f2;
  --shadow:0 18px 44px rgba(0,0,0,.34);
  --shadow-soft:0 10px 26px rgba(0,0,0,.24);
  --radius:16px;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  min-height:100vh;
  background:
    radial-gradient(circle at 78% 6%,rgba(255,122,0,.12),transparent 28%),
    linear-gradient(180deg,#0a0e14 0%,#080b10 46%,#07090d 100%);
  color:var(--text);
  font-family:"Poppins",sans-serif;
  font-weight:500;
  overflow-x:hidden;
}
body:before{
  content:"";
  position:fixed;
  inset:0;
  z-index:-1;
  background:
    linear-gradient(90deg,rgba(255,255,255,.018) 1px,transparent 1px),
    linear-gradient(rgba(255,255,255,.018) 1px,transparent 1px);
  background-size:42px 42px;
  mask-image:linear-gradient(180deg,#000,transparent 72%);
}

button,input,textarea,select{font-family:"Poppins",sans-serif}
button,a{transition:transform .18s ease,background .18s ease,border-color .18s ease,color .18s ease,box-shadow .18s ease,filter .18s ease}
button{cursor:pointer}
img{max-width:100%}
::placeholder{color:#788496;opacity:1;font-family:"Poppins",sans-serif}

.page-shell{width:min(1180px,calc(100% - 32px));margin:0 auto}

.topbar{
  position:sticky;
  top:0;
  z-index:90;
  background:rgba(9,13,19,.9);
  border-bottom:1px solid var(--line);
  backdrop-filter:blur(18px);
}
.navwrap{height:72px;display:flex;align-items:center;gap:18px}
.brand-official{width:142px;min-width:142px;display:flex;align-items:center;text-decoration:none}
.brand-official img{width:132px;height:48px;object-fit:contain;object-position:left center;filter:drop-shadow(0 8px 16px rgba(0,0,0,.32))}

.navlinks{display:flex;align-items:center;gap:4px;flex:1;min-width:0}
.navlinks a,.nav-dropdown>button{
  height:36px;
  border:0;
  border-radius:10px;
  padding:0 12px;
  display:flex;
  align-items:center;
  gap:7px;
  color:#c5cedb;
  background:transparent;
  text-decoration:none;
  font-size:12px;
  font-weight:600;
  white-space:nowrap;
}
.navlinks a:hover,.navlinks .nav-active,.nav-dropdown:hover>button{background:#151d28;color:#fff}
.nav-dropdown{position:relative}
.submenu{
  position:absolute;
  top:42px;
  left:0;
  min-width:178px;
  padding:8px;
  border:1px solid var(--line);
  border-radius:14px;
  background:rgba(15,21,30,.98);
  box-shadow:var(--shadow);
  opacity:0;
  pointer-events:none;
  transform:translateY(8px);
  z-index:95;
}
.nav-dropdown:hover .submenu,.nav-dropdown.is-open .submenu{opacity:1;pointer-events:auto;transform:none}
.submenu a{height:34px;border-radius:9px;color:#cfd7e4}

.socials{display:flex;align-items:center}
.socials a{
  width:34px;
  height:34px;
  border-radius:12px;
  display:grid;
  place-items:center;
  background:var(--discord);
  color:#fff;
  text-decoration:none;
  box-shadow:0 10px 22px rgba(88,101,242,.22);
}
.socials a:hover{transform:translateY(-2px);filter:brightness(1.08)}
.nav-actions{display:flex;align-items:center;gap:9px}
.presence-top-btn,.login-btn{
  height:36px;
  border:0;
  border-radius:12px;
  padding:0 14px;
  display:inline-flex;
  align-items:center;
  gap:8px;
  color:#fff;
  font-size:12px;
  font-weight:700;
  text-decoration:none;
  white-space:nowrap;
}
.presence-top-btn{background:#151d28;box-shadow:inset 0 -3px rgba(0,0,0,.18)}
.login-btn{background:linear-gradient(180deg,var(--orange-2),#ee6800);box-shadow:inset 0 -3px rgba(0,0,0,.18),0 12px 24px rgba(255,122,0,.22)}
.presence-top-btn:hover,.login-btn:hover{transform:translateY(-2px);filter:brightness(1.08)}
.user-chip{display:flex;align-items:center;gap:8px;padding:4px 8px;border-radius:14px;background:#111923;border:1px solid var(--line)}
.user-chip>span{width:28px;height:28px;border-radius:10px;display:grid;place-items:center;background:#202b39;color:var(--orange-2);font-size:10px;font-weight:800}
.user-chip strong,.user-chip small{display:block}.user-chip strong{font-size:11px}.user-chip small{font-size:9px;color:var(--muted)}

.radio-player{
  position:sticky;
  top:72px;
  z-index:84;
  padding:0 0 10px;
  background:rgba(9,13,19,.9);
  backdrop-filter:blur(18px);
}
.player-wrap{
  height:62px;
  display:flex;
  align-items:center;
  gap:12px;
  padding:0 14px;
  border-radius:0 0 26px 26px;
  background:linear-gradient(180deg,#121b26,#101720);
  box-shadow:inset 0 -3px rgba(0,0,0,.2),0 16px 32px rgba(0,0,0,.28);
}
.play-control{
  width:42px;
  height:42px;
  border:0;
  border-radius:50%;
  display:grid;
  place-items:center;
  flex:0 0 auto;
  background:linear-gradient(180deg,var(--orange-2),#ef6a00);
  color:#fff;
  box-shadow:inset 0 -3px rgba(0,0,0,.18),0 10px 20px rgba(255,122,0,.2);
}
.play-control:hover,.player-action:hover{transform:translateY(-2px);filter:brightness(1.08)}
.player-avatar{width:46px;height:46px;object-fit:contain;flex:0 0 auto}
.player-meta{min-width:0;display:flex;flex-direction:column;gap:2px;flex:1}
.player-meta strong{font-size:14px;font-weight:700;color:#f1f5fa;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.player-meta span{font-size:11px;color:#95a0af;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.listener-chip{display:flex;align-items:baseline;gap:6px;color:#aeb8c6;font-size:11px;white-space:nowrap}
.listener-chip b{font-size:15px;color:#fff;font-weight:800}
.listener-chip span{opacity:.62}
.player-action{
  width:36px;
  height:36px;
  border:0;
  border-radius:13px;
  display:grid;
  place-items:center;
  color:#fff;
  background:#1b2634;
  box-shadow:inset 0 -3px rgba(0,0,0,.18);
}
.player-volume{height:36px;display:flex;align-items:center;gap:9px;padding:0 12px;border-radius:18px;background:#182232;color:#b9c4d2}
.player-volume input{width:108px;accent-color:var(--orange)}
.volume-label{min-width:30px;font-size:10px;color:#7f8a99}

.home-page{padding:18px 0 34px}
.hero-zone{display:grid;grid-template-columns:minmax(0,1fr) 286px;gap:16px;align-items:stretch}
.hero-banner{
  min-height:214px;
  position:relative;
  overflow:hidden;
  border-radius:var(--radius);
  border:1px solid var(--line-strong);
  background:
    linear-gradient(90deg,rgba(9,13,19,.86) 0%,rgba(9,13,19,.54) 45%,rgba(9,13,19,.16) 100%),
    linear-gradient(180deg,rgba(255,122,0,.02),rgba(255,122,0,.22)),
    url("../img/hero-studio.png") right center/cover no-repeat,
    #151c25;
  box-shadow:var(--shadow);
}
.hero-banner:after{
  content:"";
  position:absolute;
  inset:auto 0 0;
  height:60px;
  background:linear-gradient(180deg,transparent,rgba(255,122,0,.18));
}
.hero-content{position:relative;z-index:1;max-width:510px;padding:32px 34px 54px}
.hero-kicker{display:inline-flex;margin-bottom:10px;color:var(--orange-2);font-size:11px;font-weight:800;text-transform:uppercase}
.hero-content h1{margin:0 0 10px;font-size:30px;line-height:1.08;font-weight:800;color:#f4f7fb;letter-spacing:0}
.hero-content p{margin:0;max-width:450px;color:#aeb8c8;font-size:13px;line-height:1.55}
.hero-link{
  margin-top:20px;
  height:36px;
  display:inline-flex;
  align-items:center;
  gap:9px;
  padding:0 16px;
  border-radius:12px;
  background:rgba(255,122,0,.95);
  color:#fff;
  text-decoration:none;
  font-size:12px;
  font-weight:700;
  box-shadow:0 12px 24px rgba(255,122,0,.24);
}
.hero-link:hover{transform:translateY(-2px);filter:brightness(1.08)}
.hero-pager{position:absolute;right:16px;bottom:16px;display:flex;gap:8px;z-index:2}
.hero-pager button,.section-controls button{
  width:32px;
  height:32px;
  border-radius:50%;
  border:1px solid var(--line);
  display:grid;
  place-items:center;
  background:#151d28;
  color:#d7deea;
  box-shadow:inset 0 -3px rgba(0,0,0,.18);
}
.hero-pager button:hover,.section-controls button:hover{transform:translateY(-2px);background:#202b39;color:#fff}

.hero-side{
  border-radius:var(--radius);
  border:1px solid var(--line);
  background:linear-gradient(180deg,#121b26,#0f151d);
  box-shadow:var(--shadow-soft);
  padding:18px;
  display:flex;
  flex-direction:column;
  justify-content:center;
  align-items:flex-start;
  min-width:0;
}
.hero-side span{color:var(--orange-2);font-size:11px;font-weight:800;text-transform:uppercase}
.hero-side img{height:86px;object-fit:contain;align-self:center;margin:4px 0 8px;filter:drop-shadow(0 14px 18px rgba(0,0,0,.24))}
.hero-side strong{font-size:18px;font-weight:800;color:#fff}
.hero-side p{margin:4px 0 14px;color:#98a4b4;font-size:12px}
.hero-side div{height:34px;padding:0 12px;border-radius:12px;background:#172231;display:flex;align-items:center;gap:6px;color:#8d98a8;font-size:11px}
.hero-side b{color:#fff;font-size:16px}

.compact-section{margin-top:22px}
.section-title-row{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:14px;
  margin-bottom:12px;
}
.section-title-row h2{
  margin:0;
  display:flex;
  align-items:center;
  gap:9px;
  color:#edf2f8;
  font-size:22px;
  line-height:1.1;
  font-weight:800;
  letter-spacing:0;
}
.section-title-row h2 i{color:var(--orange-2);font-size:.88em}
.section-title-row p{margin:5px 0 0;color:var(--muted);font-size:12px}
.section-controls{display:flex;align-items:center;gap:8px;flex:0 0 auto}

.badges-strip{
  display:grid;
  grid-template-columns:repeat(auto-fill,52px);
  gap:9px;
  align-items:center;
}
.badge-card{
  width:52px;
  height:52px;
  position:relative;
  border-radius:13px;
  border:1px solid var(--line);
  background:linear-gradient(180deg,#151f2b,#101720);
  box-shadow:inset 0 -3px rgba(0,0,0,.18),0 8px 18px rgba(0,0,0,.16);
  display:grid;
  place-items:center;
}
.badge-card:hover{transform:translateY(-4px);border-color:rgba(255,122,0,.42);box-shadow:0 16px 30px rgba(0,0,0,.28)}
.badge-card img{width:40px;height:40px;object-fit:contain;image-rendering:auto}
.badge-tooltip{
  position:absolute;
  left:50%;
  bottom:calc(100% + 10px);
  width:220px;
  padding:12px;
  border-radius:13px;
  border:1px solid var(--line-strong);
  background:#0d131c;
  box-shadow:var(--shadow);
  opacity:0;
  pointer-events:none;
  transform:translate(-50%,8px);
  z-index:30;
}
.badge-card:hover .badge-tooltip{opacity:1;transform:translate(-50%,0)}
.badge-tooltip b{display:block;color:var(--orange-2);font-size:11px}
.badge-tooltip strong{display:block;margin-top:4px;color:#fff;font-size:13px}
.badge-tooltip p{margin:6px 0 0;color:#95a0af;font-size:11px;line-height:1.35}

.news-filter{
  width:min(360px,100%);
  height:40px;
  margin:0 0 13px auto;
  padding:0 12px;
  display:flex;
  align-items:center;
  gap:9px;
  border-radius:14px;
  border:1px solid var(--line);
  background:#101720;
  color:#7f8a99;
  box-shadow:inset 0 -3px rgba(0,0,0,.14);
}
.news-filter input{width:100%;min-width:0;border:0;outline:0;background:transparent;color:#dce3ed;font-size:12px;font-weight:500}
.featured-news-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.featured-news-card{
  min-width:0;
  overflow:hidden;
  border-radius:var(--radius);
  border:1px solid var(--line);
  background:linear-gradient(180deg,#141d28,#101720);
  color:var(--text);
  text-decoration:none;
  box-shadow:inset 0 -3px rgba(0,0,0,.16),var(--shadow-soft);
}
.featured-news-card:hover{transform:translateY(-5px);border-color:rgba(255,122,0,.28)}
.news-image{height:136px;position:relative;overflow:hidden;background:#111923}
.news-image img{width:100%;height:100%;object-fit:cover;display:block;filter:saturate(.94) brightness(.86);transition:transform .32s ease,filter .32s ease}
.featured-news-card:hover .news-image img{transform:scale(1.055);filter:saturate(1.02) brightness(.96)}
.news-image span{
  position:absolute;
  left:12px;
  top:12px;
  padding:5px 9px;
  border-radius:999px;
  background:rgba(255,122,0,.94);
  color:#fff;
  font-size:10px;
  font-weight:800;
  box-shadow:0 10px 18px rgba(0,0,0,.24);
}
.news-copy{padding:14px}
.news-copy h3{margin:0 0 7px;color:#edf2f8;font-size:15px;line-height:1.25;font-weight:700}
.news-copy p{margin:0;color:#8f9aaa;font-size:12px;line-height:1.45}

.ranking-section{margin-top:24px}
.ranking-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.ranking-card{
  border-radius:var(--radius);
  border:1px solid var(--line);
  background:linear-gradient(180deg,#141d28,#101720);
  box-shadow:inset 0 -3px rgba(0,0,0,.16),var(--shadow-soft);
  padding:16px;
  overflow:hidden;
}
.ranking-card:hover{transform:translateY(-4px);border-color:rgba(255,122,0,.24)}
.ranking-title{display:flex;gap:12px;align-items:flex-start;margin-bottom:14px;padding-bottom:13px;border-bottom:1px solid var(--line)}
.ranking-title span{
  width:40px;
  height:40px;
  border-radius:13px;
  display:grid;
  place-items:center;
  flex:0 0 auto;
  background:linear-gradient(180deg,var(--orange-2),#ef6800);
  color:#fff;
  box-shadow:inset 0 -3px rgba(0,0,0,.18),0 12px 22px rgba(255,122,0,.18);
}
.ranking-title h3{margin:0;color:#edf2f8;font-size:17px;font-weight:800}
.ranking-title p{margin:4px 0 0;color:#8f9aaa;font-size:11px;line-height:1.35}
.ranking-row{
  height:42px;
  display:grid;
  grid-template-columns:26px 30px minmax(0,1fr) auto;
  align-items:center;
  gap:9px;
  margin-top:8px;
  padding:0 10px;
  border-radius:14px;
  background:#121b25;
  border:1px solid rgba(255,255,255,.055);
  color:#dce3ed;
  font-size:12px;
}
.ranking-row img{width:30px;height:30px;object-fit:contain}
.ranking-row b{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-weight:700}
.ranking-row em{font-style:normal;white-space:nowrap;color:#9da8b7;font-size:11px;font-weight:700}
.rank-medal{width:22px;height:22px;border-radius:50%;display:grid;place-items:center;background:#243141;color:#fff;font-size:10px;font-weight:800}
.rank-1{background:#ffb321}.rank-2{background:#808997}.rank-3{background:#c75b19}

.bottom-content-grid{display:grid;grid-template-columns:1.08fr .92fr;gap:18px;margin-top:4px}
.program-panel{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.program-row{
  min-height:88px;
  display:grid;
  grid-template-columns:54px minmax(0,1fr);
  gap:5px 13px;
  align-items:center;
  padding:14px;
  border-radius:var(--radius);
  border:1px solid var(--line);
  background:linear-gradient(180deg,#141d28,#101720);
  box-shadow:inset 0 -3px rgba(0,0,0,.16),var(--shadow-soft);
}
.program-row:hover,.partner-card:hover{transform:translateY(-4px);border-color:rgba(255,122,0,.24)}
.program-row img{grid-row:1/3;width:54px;height:54px;border-radius:14px;object-fit:contain;background:#111923}
.program-time{align-self:end;color:var(--orange-2);font-size:12px;font-weight:800}
.program-row b,.program-row small{display:block;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.program-row b{color:#edf2f8;font-size:14px;font-weight:700}
.program-row small{margin-top:2px;color:#909bab;font-size:11px;font-weight:600}

.rooms-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.partner-card{
  min-width:0;
  overflow:hidden;
  border-radius:var(--radius);
  border:1px solid var(--line);
  background:linear-gradient(180deg,#141d28,#101720);
  color:var(--text);
  text-decoration:none;
  box-shadow:inset 0 -3px rgba(0,0,0,.16),var(--shadow-soft);
}
.partner-card img{width:100%;height:116px;object-fit:cover;display:block;filter:saturate(.92) brightness(.85);transition:transform .32s ease,filter .32s ease}
.partner-card:hover img{transform:scale(1.04);filter:saturate(1.02) brightness(.96)}
.partner-card span{display:block;padding:11px 12px 3px;color:#edf2f8;font-size:13px;font-weight:800;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.partner-card p{margin:0;padding:0 12px 13px;color:#8f9aaa;font-size:11px;line-height:1.35}
.partner-card small{display:block;padding:0 12px 12px;color:#ffb35a;font-size:10px;font-weight:800;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}

.footer-simple{
  margin-top:34px;
  padding:28px 0 18px;
  border-top:1px solid var(--line);
  background:
    radial-gradient(circle at 85% 0%,rgba(255,122,0,.12),transparent 26%),
    linear-gradient(180deg,#101720,#080b10);
  box-shadow:inset 0 1px rgba(255,255,255,.035);
}
.footer-grid{display:grid;grid-template-columns:1.1fr 1fr auto;gap:24px;align-items:start}
.footer-brand img{width:92px;height:auto;display:block;filter:drop-shadow(0 8px 14px rgba(0,0,0,.3))}
.footer-grid p{max-width:360px;margin:12px 0 0;color:#8f9aaa;font-size:12px;line-height:1.55}
.footer-grid nav{display:grid;grid-template-columns:repeat(2,max-content);gap:9px}
.footer-grid nav a,.footer-discord a{
  min-height:34px;
  display:flex;
  align-items:center;
  border-radius:12px;
  padding:0 12px;
  color:#cbd4e2;
  background:#121a24;
  border:1px solid var(--line);
  text-decoration:none;
  font-size:12px;
  font-weight:700;
}
.footer-grid nav a:hover,.footer-discord a:hover{transform:translateY(-2px);background:#192433;color:#fff;border-color:rgba(255,122,0,.22)}
.footer-discord{display:flex;flex-direction:column;gap:9px}
.footer-discord span{color:#7f8a99;font-size:11px;font-weight:700;text-transform:uppercase}
.footer-bottom{margin-top:18px;padding-top:14px;border-top:1px solid var(--line);color:#768293;font-size:11px}

.modal{display:none;position:fixed;inset:0;z-index:2147483647!important;align-items:center;justify-content:center;padding:20px}
.modal.show{display:flex}
.modal-backdrop{position:absolute;inset:0;background:rgba(0,0,0,.76);backdrop-filter:blur(7px)}
.login-card,.request-card{
  position:relative;
  z-index:1;
  border-radius:20px;
  border:1px solid var(--line);
  background:#101720;
  color:var(--text);
  box-shadow:0 34px 90px rgba(0,0,0,.58);
  overflow:hidden;
}
.compact-login{width:min(820px,94vw);display:grid;grid-template-columns:1fr .82fr}
.login-pane,.request-card{padding:30px}
.login-brand img{width:118px;height:auto;display:block;margin-bottom:18px}
.eyebrow,.modal-kicker{color:var(--orange-2);font-size:10px;font-weight:800;text-transform:uppercase}
.login-pane h2,.request-card h2{margin:10px 0 7px;color:#fff;font-size:24px;line-height:1.1}
.login-pane p,.request-card p{margin:0 0 16px;color:#8f9aaa;font-size:12px;line-height:1.5}
.login-pane label,.request-card label{display:block;margin:13px 0 6px;color:#9aa5b4;font-size:11px;font-weight:600}
.login-pane input,.request-card input,.request-card textarea{
  width:100%;
  border:1px solid var(--line);
  border-radius:12px;
  background:#0b1119;
  color:#e4e9f2;
  padding:12px;
  outline:0;
  font-size:12px;
}
.request-card textarea{min-height:90px;resize:vertical}
.login-pane input:focus,.request-card input:focus,.request-card textarea:focus{border-color:rgba(255,122,0,.45);box-shadow:0 0 0 3px rgba(255,122,0,.1)}
.btn,.presence-btn{
  height:40px;
  border:0;
  border-radius:12px;
  background:linear-gradient(180deg,var(--orange-2),#ef6800);
  color:#fff;
  font-size:12px;
  font-weight:800;
  box-shadow:inset 0 -3px rgba(0,0,0,.18),0 12px 22px rgba(255,122,0,.18);
}
.btn-full,.presence-btn.full{width:100%;margin-top:14px}
.login-links{display:flex;justify-content:space-between;gap:12px;margin-top:13px}
.login-links a{color:#8793a4;text-decoration:none;font-size:11px}
.login-links a:hover{color:#fff}
.login-preview{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:24px;background:#121b26;border-left:1px solid var(--line)}
.login-preview img{height:190px;object-fit:contain;filter:drop-shadow(0 18px 20px rgba(0,0,0,.32))}
.login-preview b{color:#fff;font-size:17px}
.login-preview span{margin-top:4px;color:#7f8a99;font-size:10px;text-transform:uppercase;font-weight:700}
.request-card{width:min(460px,94vw)}
.modal-close{
  position:absolute;
  right:13px;
  top:13px;
  z-index:5;
  width:34px;
  height:34px;
  border:0;
  border-radius:50%;
  background:#1a2533;
  color:#fff;
  font-size:20px;
}
.modal-close:hover{transform:translateY(-2px);background:#243246}
.form-msg{min-height:16px;margin-top:7px;color:#ff9b9b;font-size:11px}
#toast{
  position:fixed;
  right:22px;
  bottom:22px;
  z-index:250;
  padding:12px 16px;
  border:1px solid var(--line);
  border-radius:13px;
  background:#111923;
  color:#fff;
  box-shadow:var(--shadow);
  font-size:12px;
  opacity:0;
  transform:translateY(70px);
  transition:.24s ease;
}
#toast.show{opacity:1;transform:none}

.inner-hero,.section{padding:32px 0}.container{width:min(1180px,calc(100% - 32px));margin:0 auto}
.role-tabs{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:16px}
.role-tabs button{height:36px;border:1px solid var(--line);border-radius:12px;background:#141d28;color:#cbd4e2;font-weight:700;font-size:12px;padding:0 14px}
.role-tabs .active{background:var(--orange);border-color:transparent;color:#fff}
.team-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.team-card{border:1px solid var(--line);border-radius:var(--radius);background:#111923;padding:16px;text-align:center;box-shadow:var(--shadow-soft)}
.team-card img{height:112px;object-fit:contain}.team-card .tag{display:inline-block;margin-top:8px;color:var(--orange-2);font-size:10px;font-weight:800}.team-card h3{margin:8px 0 4px;color:#fff;font-size:15px}.team-card p{margin:0 0 10px;color:#8f9aaa;font-size:12px}
.social-mini{display:flex;justify-content:center;gap:8px}.social-mini span{font-size:10px;color:#fff;background:#1a2533;border-radius:9px;padding:7px 10px}

@media(max-width:1100px){
  .navwrap{gap:12px}.brand-official{width:126px;min-width:126px}.brand-official img{width:118px}
  .hero-zone{grid-template-columns:1fr 250px}
  .badges-strip{grid-template-columns:repeat(auto-fill,52px)}
  .bottom-content-grid{grid-template-columns:1fr}
  .program-panel,.rooms-row{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:900px){
  .socials{display:none}
  .navwrap{height:auto;min-height:72px;flex-wrap:wrap;padding:10px 0}
  .navlinks{order:5;width:100%;overflow:auto;padding-bottom:2px}
  .nav-actions{margin-left:auto}
  .radio-player{top:92px}
  .hero-zone,.ranking-cards,.featured-news-grid{grid-template-columns:1fr}
  .hero-side{display:grid;grid-template-columns:90px 1fr auto;align-items:center;gap:8px}
  .hero-side span{grid-column:1/-1}.hero-side img{grid-row:2/4;margin:0}.hero-side p{margin:2px 0}.hero-side div{justify-self:end}
  .footer-grid{grid-template-columns:1fr}
}
@media(max-width:640px){
  html,body{max-width:100%;overflow-x:hidden}
  .page-shell,.container{width:min(100% - 22px,1180px)}
  .brand-official{width:112px;min-width:112px}.brand-official img{width:106px}
  .navwrap{display:grid;grid-template-columns:auto minmax(0,1fr);gap:8px;align-items:center}
  .socials{display:none}
  .nav-actions{grid-column:2;justify-self:end;min-width:0}
  .navlinks{display:none}
  .topbar{min-height:72px}
  .navwrap{min-height:72px}
  .presence-top-btn,.login-btn{height:34px;padding:0 10px;font-size:11px}
  .radio-player{top:72px}.player-wrap{height:auto;min-height:76px;flex-wrap:wrap;border-radius:20px;padding:10px}
  .player-avatar,.player-action{display:none}
  .player-meta{flex:1 1 160px}
  .listener-chip{margin-left:0;flex:0 0 auto}
  .listener-chip span{display:none}
  .player-volume{width:100%;min-width:0}.player-volume input{flex:1;width:100%;min-width:0}
  .home-page{padding-top:14px}
  .hero-banner{min-height:246px;background-position:center bottom}
  .hero-content{padding:24px 20px 58px;max-width:310px}.hero-content h1{font-size:21px}.hero-content p{font-size:12px}
  .hero-side{display:flex;align-items:flex-start}.hero-side img{height:76px;align-self:center}.hero-side div{align-self:stretch;justify-content:center}
  .section-title-row{align-items:flex-start}.section-title-row h2{font-size:20px}.section-title-row p{font-size:11px}
  .badges-strip{grid-template-columns:repeat(6,48px);justify-content:space-between;gap:6px}.badge-card{width:48px;height:48px}.badge-card img{width:38px;height:38px}.badge-tooltip{left:0;transform:translate(0,8px)}.badge-card:hover .badge-tooltip{transform:translate(0,0)}
  .news-filter{margin-left:0;width:100%}
  .program-panel,.rooms-row{grid-template-columns:1fr}
  .ranking-row{grid-template-columns:24px 30px minmax(0,1fr);height:auto;min-height:46px;padding:8px 10px}.ranking-row em{grid-column:3}
  .footer-grid nav{grid-template-columns:1fr}
  .compact-login{grid-template-columns:1fr}.login-preview{display:none}.login-pane,.request-card{padding:24px}
}
@media(max-width:420px){
  .nav-actions{width:auto;margin-left:0;justify-content:flex-end}
  .hero-content h1{font-size:21px}
  .section-controls button,.hero-pager button{width:30px;height:30px}
}

@media(max-width:900px){
  .topbar{position:sticky}
  .navwrap{display:grid;grid-template-columns:auto auto minmax(0,1fr);gap:8px;align-items:center;justify-content:start;min-height:72px}
  .navlinks,.socials{display:none}
  .nav-actions{position:absolute;left:142px;top:18px;grid-column:auto;justify-self:start;margin-left:0;min-width:0}
  .presence-top-btn,.login-btn{width:36px;padding:0;justify-content:center;font-size:0}
  .presence-top-btn i,.login-btn i{font-size:13px}
  .radio-player{top:72px}
  .player-wrap{height:auto;min-height:76px;flex-wrap:wrap;border-radius:20px;padding:10px}
  .player-avatar,.player-action{display:none}
  .player-meta{flex:1 1 150px}
  .listener-chip{margin-left:0;flex:0 0 auto}
  .listener-chip span{display:none}
  .player-volume{width:100%;min-width:0}
  .player-volume input{flex:1;min-width:0;width:100%}
  .hero-content{max-width:300px}
  .hero-content h1{font-size:21px;line-height:1.12}
  .badges-strip{grid-template-columns:repeat(6,48px);justify-content:start;gap:10px;max-width:100%;overflow:hidden}
  .badge-card{width:48px;height:48px}
}

@media(max-width:520px){
  .brand-official{width:74px;min-width:74px}
  .brand-official img{width:66px}
}

/* Interaction polish requested after v9.4 */
.navlinks a:hover,.nav-dropdown:hover>button,.submenu a:hover,
.presence-top-btn:hover,.player-action:hover,.footer-grid nav a:hover,.footer-discord a:hover{
  color:#fff;
  border-color:rgba(255,122,0,.32);
  box-shadow:inset 0 -3px rgba(0,0,0,.18),0 10px 22px rgba(255,122,0,.12);
}

.radio-player{
  transition:opacity .22s ease,transform .22s ease,visibility .22s ease;
}
body.show-floating-player .radio-player{
  opacity:0;
  transform:translateY(-12px);
  visibility:hidden;
  pointer-events:none;
}
.player-wrap{
  height:78px;
  border-radius:0 0 30px 30px;
  background:
    linear-gradient(180deg,rgba(255,255,255,.035),transparent),
    linear-gradient(180deg,#152030,#101822);
  border:1px solid rgba(255,255,255,.055);
  border-top:0;
  box-shadow:inset 0 -4px rgba(0,0,0,.22),0 18px 38px rgba(0,0,0,.34);
}
.player-avatar{
  width:66px;
  height:66px;
  margin-top:-8px;
  filter:drop-shadow(0 14px 16px rgba(0,0,0,.36));
}
.play-control{
  width:48px;
  height:48px;
  box-shadow:inset 0 -4px rgba(0,0,0,.2),0 14px 28px rgba(255,122,0,.24);
}
.player-title-line{display:flex;align-items:center;gap:14px;min-width:0}
.player-title-line .listener-chip{
  height:30px;
  padding:0 11px;
  border-radius:999px;
  background:#192536;
  box-shadow:inset 0 -3px rgba(0,0,0,.14);
}
.player-meta-wide strong{font-size:16px}
.player-meta-wide>span{font-size:12px}
.player-action{
  width:42px;
  height:42px;
  border-radius:16px;
}
.player-volume{
  height:42px;
  border-radius:21px;
  background:#192536;
  box-shadow:inset 0 -3px rgba(0,0,0,.16);
}
.player-volume input{width:132px}

.floating-player{
  position:fixed;
  left:50%;
  bottom:22px;
  z-index:120;
  width:min(560px,calc(100% - 28px));
  min-height:62px;
  display:flex;
  align-items:center;
  gap:12px;
  padding:10px 14px;
  border-radius:999px;
  border:1px solid rgba(255,122,0,.2);
  background:rgba(16,24,35,.94);
  box-shadow:0 26px 70px rgba(0,0,0,.5),inset 0 -4px rgba(0,0,0,.2);
  backdrop-filter:blur(18px);
  opacity:0;
  pointer-events:none;
  transform:translate(-50%,28px) scale(.98);
  transition:opacity .22s ease,transform .22s ease;
}
body.show-floating-player .floating-player{
  opacity:1;
  pointer-events:auto;
  transform:translate(-50%,0) scale(1);
}
.float-play{
  width:44px;
  height:44px;
  border:0;
  border-radius:50%;
  display:grid;
  place-items:center;
  color:#fff;
  background:linear-gradient(180deg,var(--orange-2),#ef6800);
  box-shadow:inset 0 -4px rgba(0,0,0,.2),0 12px 24px rgba(255,122,0,.22);
}
.float-play:hover{transform:translateY(-2px);filter:brightness(1.08)}
.floating-meta{min-width:0;display:flex;flex-direction:column;gap:2px;flex:1}
.floating-meta strong{color:#fff;font-size:13px;font-weight:800;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.floating-meta span{color:#8f9aaa;font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.floating-listeners{display:flex;align-items:baseline;gap:5px;color:#8f9aaa;font-size:10px;white-space:nowrap}
.floating-listeners b{color:#fff;font-size:14px}
.floating-volume{display:flex;align-items:center;gap:8px;color:#aeb8c6}
.floating-volume input{width:94px;accent-color:var(--orange)}

.hero-side.featured-users{
  gap:10px;
  justify-content:flex-start;
}
.hero-side.featured-users>span{margin-bottom:2px}
.featured-user-card{
  width:100%;
  min-height:86px;
  display:grid;
  grid-template-columns:70px minmax(0,1fr);
  grid-template-areas:"avatar info" "avatar points";
  gap:2px 12px;
  align-items:center;
  padding:10px;
  border-radius:15px;
  border:1px solid var(--line);
  background:#111a25;
  box-shadow:inset 0 -3px rgba(0,0,0,.16);
}
.featured-user-card:hover{
  transform:translateY(-3px);
  border-color:rgba(255,122,0,.35);
  box-shadow:0 16px 30px rgba(0,0,0,.28),inset 0 -3px rgba(0,0,0,.16);
  z-index:999998;
}
.featured-user-card img{
  grid-area:avatar;
  height:88px;
  width:70px;
  margin:0;
  align-self:end;
}
.featured-user-card>div{
  grid-area:info;
  min-width:0;
  width:100%;
  height:auto;
  padding:0;
  border-radius:0;
  background:transparent;
  box-shadow:none;
  display:block;
  color:inherit;
  justify-self:stretch;
}
.featured-user-card strong{font-size:15px}
.featured-user-card p{margin:3px 0 0}
.featured-user-card b{
  grid-area:points;
  width:max-content;
  height:26px;
  display:flex;
  align-items:center;
  padding:0 9px;
  border-radius:999px;
  background:#192536;
  color:var(--orange-2);
  font-size:11px;
}

.ranking-section>.section-title-row>.section-controls{display:none}
.ranking-card{position:relative}
.ranking-list{display:grid;gap:8px}
.ranking-row{margin-top:0}
.ranking-row.is-hidden{display:none}
.ranking-row:hover{
  border-color:rgba(255,122,0,.28);
  background:#172231;
  transform:translateX(3px);
}
.ranking-card-controls{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:9px;
  margin-top:12px;
}
.ranking-card-controls button{
  width:31px;
  height:31px;
  border:0;
  border-radius:50%;
  display:grid;
  place-items:center;
  color:#fff;
  background:#1a2533;
  box-shadow:inset 0 -3px rgba(0,0,0,.18);
}
.ranking-card-controls button:hover{
  transform:translateY(-2px);
  background:linear-gradient(180deg,var(--orange-2),#ef6800);
}
.ranking-card-controls button:disabled{
  opacity:.38;
  cursor:not-allowed;
  transform:none;
  background:#1a2533;
}
.ranking-card-controls span{
  min-width:42px;
  height:28px;
  display:grid;
  place-items:center;
  border-radius:999px;
  color:var(--orange-2);
  background:#192536;
  font-size:11px;
  font-weight:800;
}

.bottom-content-grid{
  grid-template-columns:repeat(2,minmax(0,1fr));
  align-items:start;
}
.program-panel,.rooms-row{
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:12px;
}
.program-row{
  min-height:96px;
}
.partner-card{
  min-height:156px;
}
.partner-card img{
  height:82px;
}
.partner-card span{padding-top:10px}

@media(max-width:900px){
  body.show-floating-player .radio-player{display:none}
  .floating-player{bottom:14px;border-radius:24px}
  .floating-volume{display:none}
  .player-wrap{min-height:86px}
  .player-avatar{display:block;width:58px;height:58px}
  .player-title-line{align-items:flex-start;flex-direction:column;gap:5px}
  .hero-side.featured-users{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:stretch}
  .hero-side.featured-users>span{grid-column:1/-1}
  .featured-user-card{grid-template-columns:58px minmax(0,1fr);min-height:82px}
  .featured-user-card img{height:78px;width:58px}
  .bottom-content-grid{grid-template-columns:1fr}
}

@media(max-width:640px){
  .radio-player{padding:0 0 12px}
  .player-wrap{
    display:grid;
    grid-template-columns:46px 58px minmax(0,1fr);
    gap:8px 10px;
    align-items:center;
    min-height:124px;
    overflow:hidden;
  }
  .play-control{width:46px;height:46px}
  .player-avatar{display:block;width:58px;height:58px;margin:0}
  .player-meta{grid-column:3;min-width:0}
  .player-title-line{gap:6px;align-items:flex-start}
  .player-title-line .listener-chip{height:28px;width:max-content}
  .player-volume{grid-column:1/-1;margin-top:0;position:static}
  .floating-player{width:calc(100% - 22px);padding:9px 11px}
  .floating-listeners span{display:none}
  .hero-side.featured-users{grid-template-columns:1fr}
  .program-panel,.rooms-row{grid-template-columns:1fr}
}

/* Final requested refinements */
.player-wrap{
  background:#131a24!important;
}
.player-volume input,.floating-volume input{
  appearance:none;
  height:8px;
  border-radius:999px;
  background:linear-gradient(90deg,var(--orange) var(--volume-fill,70%),#3b4656 var(--volume-fill,70%));
  outline:0;
}
.player-volume input::-webkit-slider-thumb,.floating-volume input::-webkit-slider-thumb{
  appearance:none;
  width:18px;
  height:18px;
  border-radius:50%;
  border:3px solid #ffd0a0;
  background:var(--orange);
  box-shadow:0 6px 14px rgba(255,122,0,.34);
}
.player-volume input::-moz-range-thumb,.floating-volume input::-moz-range-thumb{
  width:14px;
  height:14px;
  border-radius:50%;
  border:3px solid #ffd0a0;
  background:var(--orange);
  box-shadow:0 6px 14px rgba(255,122,0,.34);
}
.player-volume:hover,.floating-volume:hover{
  box-shadow:inset 0 -3px rgba(0,0,0,.16),0 0 0 3px rgba(255,122,0,.08);
}

.hero-side.featured-users>span{
  display:flex;
  align-items:center;
  gap:7px;
}
.hero-side.featured-users>span i{
  color:var(--orange-2);
  filter:drop-shadow(0 6px 10px rgba(255,122,0,.22));
}

.news-board .section-title-row{
  align-items:center;
}
.news-actions{
  display:flex;
  align-items:center;
  gap:10px;
  margin-left:auto;
}
.news-actions .news-filter{
  margin:0;
  width:300px;
}

.ranking-card-controls span{
  display:none!important;
}
.ranking-card-controls{
  gap:10px;
}

.program-panel{
  gap:8px;
}
.program-row{
  min-height:74px;
  padding:10px;
  gap:3px 10px;
}
.program-row img{
  width:44px;
  height:44px;
  border-radius:12px;
}
.program-time{font-size:11px}
.program-row b{font-size:13px}
.program-row small{font-size:10px}

.rooms-row{
  gap:8px;
}
.partner-card{
  min-height:86px;
  display:grid;
  grid-template-columns:96px minmax(0,1fr);
  grid-template-rows:auto 1fr;
  align-items:center;
}
.partner-card img{
  grid-row:1/3;
  width:96px;
  height:100%;
  min-height:86px;
}
.partner-card span{
  padding:12px 12px 1px;
  font-size:12px;
}
.partner-card p{
  padding:0 12px 12px;
  font-size:10px;
}

.profile-hover{
  position:relative;
  display:inline-flex;
  align-items:center;
  max-width:100%;
  color:#fff;
  cursor:pointer;
  overflow:visible!important;
}
.profile-hover:hover{
  color:var(--orange-2);
}
.profile-popover{
  position:absolute;
  left:50%;
  bottom:calc(100% + 12px);
  width:210px;
  min-height:116px;
  display:grid;
  grid-template-columns:72px minmax(0,1fr);
  align-items:center;
  gap:12px;
  padding:12px;
  border-radius:16px;
  border:1px solid rgba(255,122,0,.22);
  background:#0d131c;
  box-shadow:0 24px 60px rgba(0,0,0,.48);
  opacity:0;
  pointer-events:none;
  transform:translate(-50%,8px);
  z-index:80;
}
.profile-hover:hover .profile-popover{
  opacity:1;
  transform:translate(-50%,0);
}
.profile-popover img{
  width:72px!important;
  height:92px!important;
  object-fit:contain!important;
  grid-row:auto!important;
  margin:0!important;
  filter:drop-shadow(0 14px 18px rgba(0,0,0,.32));
}
.profile-popover span{
  display:flex;
  flex-direction:column;
  min-width:0;
}
.profile-popover b{
  color:#fff!important;
  font-size:14px!important;
  line-height:1.15;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.profile-popover small{
  color:var(--orange-2)!important;
  font-size:11px!important;
  font-weight:800;
  margin-top:5px;
}

.footer-simple{
  margin-top:30px;
  padding:22px 0;
  background:#080b10;
  border-top:1px solid var(--line);
  box-shadow:none;
}
.footer-legal{
  display:flex;
  flex-direction:column;
  gap:8px;
  color:#7f8a99;
  font-size:11px;
  line-height:1.5;
}
.footer-legal strong{
  color:#d9e0ea;
  font-size:12px;
}
.footer-legal p{
  max-width:980px;
  margin:0;
}
.footer-legal small{
  color:var(--orange-2);
  font-size:11px;
  font-weight:700;
}

.ranking-card{
  overflow:visible!important;
}
.program-row{
  grid-template-columns:34px minmax(0,1fr)!important;
  min-height:64px!important;
  padding:9px 10px!important;
}
.program-row img{
  width:34px!important;
  height:46px!important;
  border-radius:10px!important;
  background:transparent!important;
  object-fit:contain!important;
  align-self:center;
}
.footer-simple{
  padding-bottom:104px;
}

.mobile-menu-toggle{display:none}
.presence-top-btn.is-marked{
  background:#1f8f4d!important;
  color:#fff!important;
  box-shadow:inset 0 -3px rgba(0,0,0,.18),0 12px 24px rgba(31,143,77,.2)!important;
}
.presence-top-btn:disabled{cursor:default}
.discord-link{position:relative}
.discord-link span{
  position:absolute;
  left:50%;
  top:calc(100% + 10px);
  width:max-content;
  padding:7px 10px;
  border-radius:10px;
  background:#0d131c;
  border:1px solid var(--line);
  color:#fff;
  font-size:11px;
  font-weight:700;
  opacity:0;
  pointer-events:none;
  transform:translate(-50%,-4px);
  box-shadow:var(--shadow-soft);
  z-index:300;
}
.discord-link:hover span{
  opacity:1;
  transform:translate(-50%,0);
}
.profile-popover{z-index:320!important}
.hero-side{position:relative;z-index:20}
.radio-player{z-index:70}
.ranking-cards{
  grid-template-columns:minmax(0,1fr)!important;
}
.ranking-card{
  max-width:none;
}
.ranking-list{
  grid-template-columns:repeat(3,minmax(0,1fr));
}
.ranking-card-controls{
  display:none!important;
}
.ranking-row{
  min-width:0;
}
.login-tabs{
  display:flex;
  gap:8px;
  margin-bottom:18px;
}
.login-tabs button{
  height:34px;
  border:1px solid var(--line);
  border-radius:12px;
  background:#121a24;
  color:#9aa5b4;
  padding:0 13px;
  font-size:12px;
  font-weight:800;
}
.login-tabs button.active{
  background:linear-gradient(180deg,var(--orange-2),#ef6800);
  color:#fff;
  border-color:transparent;
}
.auth-panel{display:none}
.auth-panel.active{display:block}
.logo-preview img{
  width:190px;
  height:auto;
  filter:drop-shadow(0 16px 24px rgba(0,0,0,.34));
}
.request-card button:disabled,.request-card input:disabled,.request-card textarea:disabled{
  opacity:.55;
  cursor:not-allowed;
}

@media(max-width:900px){
  .mobile-menu-toggle{
    display:grid;
    width:36px;
    height:36px;
    place-items:center;
    border:0;
    border-radius:12px;
    background:#151d28;
    color:#fff;
    box-shadow:inset 0 -3px rgba(0,0,0,.18);
  }
  .navlinks{
    position:absolute!important;
    left:11px;
    right:11px;
    top:72px;
    width:auto!important;
    display:none!important;
    flex-direction:column;
    align-items:stretch;
    padding:10px!important;
    border:1px solid var(--line);
    border-radius:16px;
    background:#0d131c;
    box-shadow:var(--shadow);
    overflow:visible!important;
    z-index:200;
  }
  body.menu-open .navlinks{display:flex!important}
  .navlinks a,.nav-dropdown>button{width:100%;justify-content:flex-start}
  .nav-dropdown .submenu{
    position:static;
    display:none;
    opacity:1;
    pointer-events:auto;
    transform:none;
    min-width:0;
    margin:4px 0 8px 10px;
    box-shadow:none;
    background:#101720;
  }
  .nav-dropdown.is-open .submenu{display:block}
  .ranking-list{grid-template-columns:1fr}
}

/* Slide, tooltip and ranking period refinements */
.hero-zone{
  grid-auto-rows:322px;
}
.hero-banner,.hero-side{
  height:322px;
}
.hero-banner{
  min-height:0!important;
}
.hero-content{
  transition:opacity .22s ease,transform .22s ease;
}
.hero-banner.is-changing .hero-content{
  opacity:0;
  transform:translateY(8px);
}
.hero-content h1{
  min-height:98px;
}
.hero-content p{
  min-height:42px;
}
.radio-player,.player-wrap,.hero-side,.featured-user-card,.ranking-row,.program-row{
  overflow:visible!important;
}
.profile-popover{
  top:calc(100% + 12px)!important;
  bottom:auto!important;
  transform:translate(-50%,-6px)!important;
}
.profile-hover:hover .profile-popover{
  transform:translate(-50%,0)!important;
}
.player-wrap .profile-popover{
  top:calc(100% + 10px)!important;
}
.featured-user-card .profile-popover{
  left:0!important;
  transform:translate(0,-6px)!important;
}
.featured-user-card .profile-hover:hover .profile-popover{
  transform:translate(0,0)!important;
}
.program-row{
  grid-template-columns:34px minmax(0,1fr)!important;
  min-height:64px!important;
  padding:23px 10px!important;
}
.ranking-title{
  align-items:center;
}
.ranking-title>div:first-of-type{
  min-width:0;
  flex:1;
}
.ranking-periods{
  margin-left:auto;
  display:flex;
  align-items:center;
  gap:6px;
  padding:4px;
  border-radius:999px;
  background:#101720;
  border:1px solid var(--line);
}
.ranking-periods button{
  height:28px;
  border:0;
  border-radius:999px;
  padding:0 11px;
  background:transparent;
  color:#8f9aaa;
  font-size:11px;
  font-weight:800;
}
.ranking-periods button:hover{
  color:#fff;
  background:#192536;
}
.ranking-periods button.active{
  color:#fff;
  background:linear-gradient(180deg,var(--orange-2),#ef6800);
  box-shadow:0 8px 18px rgba(255,122,0,.18);
}

@media(max-width:900px){
  .hero-zone{grid-auto-rows:auto}
  .hero-banner,.hero-side{height:auto}
  .hero-banner{height:310px}
  .hero-content h1{min-height:74px}
  .ranking-title{align-items:flex-start;flex-wrap:wrap}
  .ranking-periods{width:100%;justify-content:space-between}
  .ranking-periods button{flex:1}
}
@media(max-width:640px){
  .hero-banner{height:308px}
  .hero-content h1{min-height:72px}
  .hero-content p{min-height:58px}
  .profile-popover{
    left:0!important;
    transform:translate(0,-6px)!important;
  }
  .profile-hover:hover .profile-popover{
    transform:translate(0,0)!important;
  }
}

@media(max-width:900px){
  .news-board .section-title-row{
    align-items:flex-start;
  }
  .news-actions{
    width:100%;
    margin-left:0;
  }
  .news-actions .news-filter{
    flex:1;
    width:auto;
  }
}
@media(max-width:640px){
  .news-actions{
    align-items:stretch;
  }
  .partner-card{
    grid-template-columns:92px minmax(0,1fr);
  }
  .partner-card img{
    width:92px;
  }
  .profile-popover{
    left:0;
    transform:translate(0,8px);
  }
  .profile-hover:hover .profile-popover{
    transform:translate(0,0);
  }
}

/* Final stacking and ranking layout fixes */
.topbar{z-index:900!important}
.radio-player{z-index:800!important}
.floating-player{z-index:850!important;overflow:visible!important}
.home-page,.hero-zone,.hero-side,.featured-users,.featured-user-card,.ranking-section,.ranking-card,.ranking-list,.ranking-row,.program-panel,.program-row{
  overflow:visible!important;
}
.profile-hover{
  isolation:isolate;
  z-index:20;
}
.profile-hover:hover{
  z-index:999999!important;
}
.profile-popover{
  width:228px!important;
  min-height:132px!important;
  grid-template-columns:86px minmax(0,1fr)!important;
  z-index:2147483647!important;
  transform:translate(-50%,-6px) translateZ(0)!important;
  will-change:opacity,transform;
}
.profile-hover:hover .profile-popover{
  z-index:2147483647!important;
  opacity:1!important;
  transform:translate(-50%,0) translateZ(0)!important;
}
.profile-popover img{
  width:86px!important;
  height:110px!important;
}
.featured-user-card .profile-popover{
  left:0!important;
  top:calc(100% + 10px)!important;
  transform:translate(0,-6px) translateZ(0)!important;
}
.featured-user-card .profile-hover:hover .profile-popover{
  transform:translate(0,0) translateZ(0)!important;
}
.floating-player .profile-popover{
  top:auto!important;
  bottom:calc(100% + 12px)!important;
  transform:translate(-50%,8px) translateZ(0)!important;
}
.floating-player .profile-hover:hover .profile-popover{
  transform:translate(-50%,0) translateZ(0)!important;
}
.ranking-list{
  display:grid!important;
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  grid-auto-flow:column!important;
  grid-template-rows:repeat(3,auto)!important;
  gap:8px 12px!important;
}
.ranking-row{
  width:100%;
  z-index:auto;
}
.ranking-row:hover{
  z-index:50;
}
@media(max-width:760px){
  .ranking-list{
    grid-template-columns:1fr!important;
    grid-auto-flow:row!important;
    grid-template-rows:none!important;
  }
}

/* Unified profile tooltip */
.profile-popover{
  display:none!important;
}
.profile-tooltip-layer{
  --tooltip-x:-9999px;
  --tooltip-y:-9999px;
  position:fixed;
  left:0;
  top:0;
  width:228px;
  min-height:132px;
  display:grid;
  grid-template-columns:86px minmax(0,1fr);
  align-items:center;
  gap:12px;
  padding:12px;
  border-radius:16px;
  border:1px solid rgba(255,122,0,.28);
  background:#0d131c;
  box-shadow:0 24px 70px rgba(0,0,0,.6),0 0 0 1px rgba(255,255,255,.03) inset;
  opacity:0;
  pointer-events:none;
  transform:translate3d(var(--tooltip-x),calc(var(--tooltip-y) - 6px),0) scale(.98);
  transition:opacity .16s ease,transform .16s ease;
  z-index:2147483647!important;
  isolation:isolate;
}
.profile-tooltip-layer.is-visible{
  opacity:1;
  transform:translate3d(var(--tooltip-x),var(--tooltip-y),0) scale(1);
}
.profile-tooltip-layer.is-positioning{
  transition:none!important;
}
.profile-tooltip-layer img{
  width:86px!important;
  height:110px!important;
  object-fit:contain!important;
  grid-row:auto!important;
  margin:0!important;
  border-radius:0!important;
  background:transparent!important;
  filter:drop-shadow(0 14px 18px rgba(0,0,0,.34));
}
.profile-tooltip-layer span{
  display:flex;
  flex-direction:column;
  min-width:0;
}
.profile-tooltip-layer b{
  color:#fff!important;
  font-size:14px!important;
  line-height:1.15;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.profile-tooltip-layer small{
  color:var(--orange-2)!important;
  font-size:11px!important;
  font-weight:800;
  margin-top:5px;
}

/* Home refresh: wide hero background area + vertical ranking beside news */
body:has(.home-page) .topbar{
  display:none;
}
body:has(.home-page) .radio-player{
  top:0!important;
  padding:10px 0 0;
  background:rgba(9,13,19,.96);
}
body:has(.home-page) .player-wrap{
  height:54px;
  border-radius:0;
  background:#0f151d;
  box-shadow:0 1px 0 var(--line),0 12px 28px rgba(0,0,0,.24);
}
.hero-showcase{
  position:relative;
  grid-template-columns:1fr!important;
  grid-auto-rows:auto!important;
  padding-bottom:36px;
}
.hero-showcase .hero-side{
  display:none!important;
}
.hero-showcase .hero-banner{
  height:286px!important;
  min-height:286px!important;
  display:grid;
  grid-template-columns:minmax(280px,430px) minmax(0,1fr);
  align-items:center;
  border-radius:0 0 8px 8px;
  background:
    linear-gradient(90deg,rgba(9,13,19,.94) 0%,rgba(9,13,19,.74) 37%,rgba(9,13,19,.22) 72%,rgba(9,13,19,.08) 100%),
    linear-gradient(180deg,rgba(18,161,215,.2),rgba(255,122,0,.14)),
    url("../img/hero-studio.png") center right/cover no-repeat,
    #121c27;
}
.hero-showcase .hero-banner:before{
  content:"";
  position:absolute;
  inset:18px 22px 22px min(430px,42%);
  border-radius:18px;
  border:1px solid rgba(255,255,255,.08);
  background:
    linear-gradient(180deg,rgba(255,255,255,.08),rgba(255,255,255,.025)),
    rgba(9,13,19,.18);
  box-shadow:inset 0 -3px rgba(0,0,0,.14);
}
.hero-showcase .hero-background-slot{
  position:relative;
  z-index:1;
  min-height:210px;
  margin:26px 32px 50px 0;
  border-radius:16px;
  background:transparent;
}
.hero-showcase .hero-content{
  max-width:430px;
  padding:36px 0 60px 36px;
}
.hero-showcase .hero-content h1{
  min-height:0!important;
}
.hero-showcase .hero-content p{
  min-height:0!important;
  max-width:380px;
}
.hero-nav-dock{
  position:absolute;
  left:50%;
  bottom:6px;
  z-index:5;
  width:min(620px,calc(100% - 48px));
  min-height:68px;
  padding:10px 18px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.1);
  background:rgba(13,19,28,.96);
  box-shadow:0 18px 34px rgba(0,0,0,.34),inset 0 -3px rgba(0,0,0,.18);
  backdrop-filter:blur(14px);
  transform:translateX(-50%);
  display:grid;
  grid-template-columns:repeat(5,minmax(0,1fr));
  gap:8px;
}
.hero-nav-dock a{
  min-width:0;
  height:48px;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:9px;
  border-radius:999px;
  color:#8f9aaa;
  text-decoration:none;
  font-size:11px;
  font-weight:700;
}
.hero-nav-dock a i{
  width:22px;
  height:22px;
  display:grid;
  place-items:center;
  border-radius:50%;
  background:#293342;
  color:#c4cfdd;
  font-size:10px;
}
.hero-nav-dock a.active,
.hero-nav-dock a:hover{
  color:#fff;
  background:#151f2b;
}
.hero-nav-dock a.active i,
.hero-nav-dock a:hover i{
  background:linear-gradient(180deg,var(--orange-2),#ef6800);
  color:#fff;
}

.news-ranking-layout{
  display:grid;
  grid-template-columns:minmax(0,1fr) 340px;
  gap:18px;
  align-items:start;
  margin-top:22px;
}
.news-ranking-layout .compact-section{
  margin-top:0;
}
.news-ranking-layout .featured-news-grid{
  grid-template-columns:repeat(2,minmax(0,1fr));
}
.news-ranking-layout .featured-news-card:first-child{
  grid-column:1/-1;
}
.news-ranking-layout .featured-news-card:first-child .news-image{
  height:178px;
}
.news-ranking-layout .ranking-section>.section-title-row>.section-controls{
  display:none!important;
}
.news-ranking-layout .ranking-cards{
  grid-template-columns:1fr!important;
}
.news-ranking-layout .ranking-card{
  padding:14px;
}
.news-ranking-layout .ranking-section .section-title-row{
  margin-bottom:10px;
}
.news-ranking-layout .ranking-title{
  align-items:flex-start!important;
  flex-wrap:wrap;
  margin-bottom:10px;
  padding-bottom:10px;
}
.news-ranking-layout .ranking-title>div:first-of-type{
  flex:1 1 calc(100% - 54px);
}
.news-ranking-layout .ranking-periods{
  width:100%;
  margin:4px 0 0;
  justify-content:space-between;
}
.news-ranking-layout .ranking-periods button{
  flex:1;
  padding:0 8px;
}
.news-ranking-layout .ranking-list{
  display:grid!important;
  grid-template-columns:1fr!important;
  grid-auto-flow:row!important;
  grid-template-rows:none!important;
  gap:8px!important;
}
.news-ranking-layout .ranking-row{
  height:45px;
  margin-top:0;
  grid-template-columns:26px 32px minmax(0,1fr) auto;
}

@media(max-width:960px){
  body:has(.home-page) .topbar{
    display:block;
  }
  .news-ranking-layout{
    grid-template-columns:1fr;
  }
  .news-ranking-layout .featured-news-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
}
@media(max-width:760px){
  .hero-showcase .hero-banner{
    height:286px!important;
    min-height:286px!important;
    grid-template-columns:1fr;
    background-position:center bottom;
  }
  .hero-showcase .hero-banner:before,
  .hero-showcase .hero-background-slot{
    display:none;
  }
  .hero-showcase .hero-content{
    max-width:330px;
    padding:26px 20px 58px;
  }
  .hero-nav-dock{
    width:calc(100% - 24px);
    min-height:60px;
    padding:8px;
    gap:4px;
  }
  .hero-nav-dock a{
    height:44px;
    gap:0;
  }
  .hero-nav-dock a span{
    display:none;
  }
  .hero-nav-dock a i{
    width:30px;
    height:30px;
    font-size:12px;
  }
  .news-ranking-layout .featured-news-grid{
    grid-template-columns:1fr;
  }
  .news-ranking-layout .featured-news-card:first-child .news-image{
    height:150px;
  }
}

/* Corrected home structure: real header image + late slide */
body:has(.home-page) .page-shell{
  width:min(1540px,calc(100% - 52px));
}
body:has(.home-page) .topbar{
  display:block!important;
}
body:has(.home-page) .radio-player{
  top:72px!important;
  padding:0 0 10px!important;
  background:rgba(9,13,19,.9)!important;
}
body:has(.home-page) .player-wrap{
  height:68px!important;
  border-radius:0 0 26px 26px!important;
  padding:0 16px!important;
  background:linear-gradient(180deg,#121b26,#101720)!important;
}
.home-header-visual{
  position:relative;
  min-height:236px;
  overflow:hidden;
  border-radius:0 0 var(--radius) var(--radius);
  border:1px solid var(--line-strong);
  border-top:0;
  background:
    linear-gradient(90deg,rgba(9,13,19,.74),rgba(9,13,19,.24) 52%,rgba(9,13,19,.58)),
    linear-gradient(180deg,rgba(255,122,0,.12),rgba(8,11,16,.18)),
    url("../img/hero-studio.png") center/cover no-repeat,
    #121c27;
  box-shadow:var(--shadow);
}
.home-header-visual:after{
  content:"";
  position:absolute;
  inset:auto 0 0;
  height:76px;
  background:linear-gradient(180deg,transparent,rgba(8,11,16,.62));
}
.home-header-content{
  position:relative;
  z-index:1;
  min-height:236px;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:28px 38px;
  text-align:center;
}
.home-header-content img{
  width:min(360px,70vw);
  height:auto;
  filter:drop-shadow(0 18px 28px rgba(0,0,0,.48));
}
.hero-showcase{
  display:none!important;
}
.hero-nav-dock{
  display:none!important;
}
.late-slide-section{
  display:block!important;
  margin-top:24px;
}
.late-slide-section .hero-banner{
  height:236px!important;
  min-height:236px!important;
  border-radius:var(--radius)!important;
}
.late-slide-section .hero-content{
  max-width:520px;
  padding:30px 34px 54px;
}
.late-slide-section .hero-content h1,
.late-slide-section .hero-content p{
  min-height:0!important;
}

@media(max-width:900px){
  body:has(.home-page) .radio-player{
    top:72px!important;
  }
  .home-header-visual,
  .home-header-content{
    min-height:204px;
  }
}
@media(max-width:640px){
  body:has(.home-page) .page-shell{
    width:min(100% - 22px,1180px);
  }
  body:has(.home-page) .player-wrap{
    height:auto!important;
    min-height:76px!important;
    padding:10px!important;
  }
  .home-header-visual,
  .home-header-content{
    min-height:178px;
  }
  .home-header-content{
    padding:22px;
  }
  .late-slide-section .hero-banner{
    height:260px!important;
    min-height:260px!important;
  }
}

/* Full-bleed home on wide/zoomed-out screens */
body:has(.home-page) .page-shell{
  width:100%!important;
  max-width:none!important;
}
body:has(.home-page) .home-page{
  width:100%!important;
  max-width:none!important;
  padding-top:0!important;
  padding-left:0!important;
  padding-right:0!important;
}
body:has(.home-page) .topbar .page-shell{
  width:min(1540px,calc(100% - 52px))!important;
}
body:has(.home-page) .radio-player{
  padding-bottom:0!important;
}
body:has(.home-page) .player-wrap{
  border-radius:0!important;
}
.home-header-visual{
  border-left:0!important;
  border-right:0!important;
  border-radius:0!important;
}
.news-ranking-layout,
.bottom-content-grid,
.late-slide-section{
  width:calc(100% - 52px);
  margin-left:auto;
  margin-right:auto;
}

@media(max-width:640px){
  .news-ranking-layout,
  .bottom-content-grid,
  .late-slide-section{
    width:calc(100% - 22px);
  }
}

/* Remove header seams and give the lower slide breathing room */
body:has(.home-page) .radio-player{
  border:0!important;
}
body:has(.home-page) .player-wrap{
  box-shadow:none!important;
}
.home-header-visual{
  margin-top:0!important;
  border:0!important;
  box-shadow:none!important;
}
.late-slide-section{
  margin-top:42px!important;
  margin-bottom:18px!important;
}
.late-slide-section .hero-banner{
  height:340px!important;
  min-height:340px!important;
  border-color:rgba(255,255,255,.06)!important;
}
.late-slide-section .hero-content{
  max-width:620px!important;
  padding:48px 56px 68px!important;
}
.late-slide-section .hero-content h1{
  max-width:560px;
  font-size:38px!important;
  line-height:1.08!important;
}
.late-slide-section .hero-content p{
  max-width:640px!important;
  font-size:15px!important;
}

@media(max-width:640px){
  .late-slide-section .hero-banner{
    height:310px!important;
    min-height:310px!important;
  }
  .late-slide-section .hero-content{
    padding:30px 22px 62px!important;
  }
  .late-slide-section .hero-content h1{
    font-size:26px!important;
  }
}

/* Final home vertical alignment */
body:has(.home-page) .home-page{
  padding-top:0!important;
}

body:has(.home-page) .footer-simple .page-shell{
  width:calc(100% - 52px)!important;
  max-width:none!important;
}

@media(max-width:640px){
  body:has(.home-page) .footer-simple .page-shell{
    width:calc(100% - 22px)!important;
  }
}

/* Home layout pass: news alone, ranking + featured users below */
body:has(.home-page) .topbar{
  background:rgba(7,11,16,.98)!important;
  border-bottom:1px solid rgba(255,122,0,.08)!important;
  box-shadow:0 10px 30px rgba(0,0,0,.18);
}
body:has(.home-page) .navwrap{
  height:78px!important;
}
body:has(.home-page) .brand-official img{
  width:118px;
}
body:has(.home-page) .navlinks a,
body:has(.home-page) .nav-dropdown>button{
  height:40px;
  border-radius:13px;
}
body:has(.home-page) .navlinks a:hover,
body:has(.home-page) .navlinks .nav-active,
body:has(.home-page) .nav-dropdown:hover>button{
  background:#141d28;
  box-shadow:inset 0 -2px rgba(0,0,0,.18);
}
body:has(.home-page) .radio-player{
  top:78px!important;
  background:#0b1017!important;
}
body:has(.home-page) .player-wrap{
  height:82px!important;
  padding:0 20px!important;
  background:linear-gradient(180deg,#141d28,#101720)!important;
  border-bottom:1px solid rgba(255,122,0,.1);
}
.home-header-visual{
  height:300px!important;
  min-height:300px!important;
}
.home-header-content{
  height:300px!important;
  min-height:300px!important;
}

.news-ranking-layout{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) 360px!important;
  gap:22px!important;
  align-items:start!important;
}
.news-ranking-layout .news-board{
  grid-column:1/-1;
}
.news-ranking-layout .featured-news-grid{
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
}
.news-ranking-layout .featured-news-card:first-child{
  grid-column:auto!important;
}
.news-ranking-layout .featured-news-card:first-child .news-image,
.news-ranking-layout .news-image{
  height:150px!important;
}
.news-ranking-layout .ranking-section{
  grid-column:1;
  margin-top:2px!important;
}
.featured-users-panel{
  grid-column:2;
  margin-top:2px!important;
}
.news-ranking-layout .ranking-list{
  display:grid!important;
  grid-template-columns:1fr!important;
  grid-auto-flow:row!important;
  grid-template-rows:none!important;
  gap:8px!important;
}
.news-ranking-layout .ranking-row{
  height:48px!important;
}
.featured-users-list{
  display:grid;
  gap:10px;
}
.featured-users-panel .featured-user-card{
  min-height:88px;
  display:grid;
  grid-template-columns:58px minmax(0,1fr) auto;
  align-items:center;
  gap:12px;
  padding:12px;
  border-radius:var(--radius);
  border:1px solid var(--line);
  background:linear-gradient(180deg,#141d28,#101720);
  box-shadow:inset 0 -3px rgba(0,0,0,.16),var(--shadow-soft);
}
.featured-users-panel .featured-user-card img{
  width:58px!important;
  height:72px!important;
  object-fit:contain;
  margin:0!important;
  filter:drop-shadow(0 12px 18px rgba(0,0,0,.28));
}
.featured-users-panel .featured-user-card div{
  min-width:0;
  height:auto!important;
  padding:0!important;
  border-radius:0!important;
  background:transparent!important;
  display:block!important;
}
.featured-users-panel .featured-user-card strong{
  display:block;
  color:#fff;
  font-size:14px!important;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.featured-users-panel .featured-user-card p{
  margin:3px 0 0!important;
  color:#8f9aaa;
  font-size:11px;
}
.featured-users-panel .featured-user-card>b{
  color:var(--orange-2);
  font-size:12px!important;
  white-space:nowrap;
}

.news-ranking-layout .ranking-card,
.featured-users-panel{
  height:auto!important;
  align-self:start;
}
.featured-users-panel .section-title-row,
.news-ranking-layout .ranking-section .section-title-row{
  min-height:48px;
}

@media(max-width:980px){
  body:has(.home-page) .radio-player{
    top:72px!important;
  }
  .news-ranking-layout{
    grid-template-columns:1fr!important;
  }
  .featured-users-panel,
  .news-ranking-layout .ranking-section{
    grid-column:1;
  }
  .news-ranking-layout .featured-news-grid,
  .news-ranking-layout .ranking-list{
    grid-template-columns:1fr!important;
  }
}
@media(max-width:640px){
  .home-header-visual,
  .home-header-content{
    height:220px!important;
    min-height:220px!important;
  }
}

.news-ranking-layout .ranking-list{
  grid-template-columns:1fr!important;
}

/* Tighten ranking/featured alignment */
.news-ranking-layout{
  align-items:start!important;
}
.news-ranking-layout .ranking-card{
  padding-bottom:14px!important;
}
.news-ranking-layout .ranking-row:last-child{
  margin-bottom:0!important;
}
.featured-users-panel{
  padding:0!important;
}

/* Mockup alignment: fixed logo header, player, hero+featured, news, lower sections */
body:has(.home-page) .page-shell{
  width:min(1180px,calc(100% - 32px))!important;
  max-width:1180px!important;
}
body:has(.home-page) .topbar{
  position:sticky!important;
  top:0!important;
  background:rgba(7,11,16,.96)!important;
  border-bottom:1px solid rgba(255,255,255,.045)!important;
  box-shadow:none!important;
}
body:has(.home-page) .topbar .page-shell{
  width:min(1180px,calc(100% - 32px))!important;
}
body:has(.home-page) .navwrap{
  height:66px!important;
}
body:has(.home-page) .brand-official{
  width:116px!important;
  min-width:116px!important;
}
body:has(.home-page) .brand-official img{
  width:76px!important;
  height:40px!important;
}
body:has(.home-page) .navlinks{
  gap:6px!important;
}
body:has(.home-page) .navlinks a,
body:has(.home-page) .nav-dropdown>button{
  height:36px!important;
  border-radius:10px!important;
  padding:0 12px!important;
}
body:has(.home-page) .presence-top-btn,
body:has(.home-page) .login-btn{
  height:36px!important;
  border-radius:11px!important;
}
body:has(.home-page) .radio-player{
  position:sticky!important;
  top:66px!important;
  width:min(1180px,calc(100% - 32px))!important;
  margin:0 auto!important;
  padding:0!important;
  background:transparent!important;
}
body:has(.home-page) .player-wrap{
  width:100%!important;
  height:76px!important;
  padding:0 18px!important;
  border-radius:0 0 26px 26px!important;
  background:linear-gradient(180deg,#141d28,#101720)!important;
  border:1px solid rgba(255,255,255,.055)!important;
  border-top:0!important;
  box-shadow:0 18px 42px rgba(0,0,0,.34)!important;
}
body:has(.home-page) .home-page{
  width:min(1180px,calc(100% - 32px))!important;
  max-width:1180px!important;
  margin:0 auto!important;
}
.home-header-visual,
.late-slide-section,
.featured-users-panel,
.hero-nav-dock{
  display:none!important;
}
.hero-showcase{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) 286px!important;
  gap:16px!important;
  align-items:stretch!important;
  padding-bottom:0!important;
  margin-top:0!important;
}
.hero-showcase .hero-banner{
  display:block!important;
  height:322px!important;
  min-height:322px!important;
  border-radius:var(--radius)!important;
  border:1px solid rgba(255,122,0,.18)!important;
  background:
    linear-gradient(90deg,rgba(9,13,19,.86) 0%,rgba(9,13,19,.55) 46%,rgba(9,13,19,.16) 100%),
    linear-gradient(180deg,rgba(255,122,0,.02),rgba(255,122,0,.18)),
    url("../img/hero-studio.png") center right/cover no-repeat,
    #151c25!important;
  box-shadow:var(--shadow)!important;
}
.hero-showcase .hero-banner:before,
.hero-showcase .hero-background-slot{
  display:none!important;
}
.hero-showcase .hero-content{
  max-width:560px!important;
  padding:42px 36px 64px!important;
}
.hero-showcase .hero-content h1{
  max-width:460px!important;
  min-height:0!important;
  font-size:30px!important;
}
.hero-showcase .hero-content p{
  max-width:500px!important;
  min-height:0!important;
}
.hero-showcase .hero-side{
  display:flex!important;
  height:322px!important;
  border-color:rgba(255,255,255,.07)!important;
  background:linear-gradient(180deg,#141d28,#101720)!important;
}
.hero-showcase .hero-side.featured-users{
  padding:18px!important;
  gap:10px!important;
}
.hero-showcase .featured-user-card{
  width:100%;
  min-height:92px;
  display:grid;
  grid-template-columns:58px minmax(0,1fr);
  gap:10px;
  align-items:center;
  padding:10px 12px;
  border-radius:14px;
  border:1px solid var(--line);
  background:#111923;
}
.hero-showcase .featured-user-card>img{
  width:58px!important;
  height:74px!important;
  margin:0!important;
  object-fit:contain;
}
.hero-showcase .featured-user-card div{
  height:auto!important;
  padding:0!important;
  background:transparent!important;
  display:block!important;
}
.hero-showcase .featured-user-card strong{
  font-size:15px!important;
}
.hero-showcase .featured-user-card p{
  margin:3px 0 7px!important;
}
.hero-showcase .featured-user-card>b{
  grid-column:2;
  justify-self:start;
  font-size:11px!important;
  padding:5px 8px;
  border-radius:999px;
  background:#172231;
  color:var(--orange-2);
}
.news-ranking-layout{
  width:100%!important;
  display:grid!important;
  grid-template-columns:1fr!important;
  gap:22px!important;
  margin-top:22px!important;
}
.news-ranking-layout .news-board,
.news-ranking-layout .ranking-section{
  grid-column:1!important;
}
.news-ranking-layout .featured-news-grid{
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
}
.news-ranking-layout .news-image{
  height:136px!important;
}
.bottom-content-grid{
  width:100%!important;
  grid-template-columns:minmax(0,1fr) 360px!important;
  gap:18px!important;
}
body:has(.home-page) .footer-simple .page-shell{
  width:min(1180px,calc(100% - 32px))!important;
  max-width:1180px!important;
}

@media(max-width:900px){
  body:has(.home-page) .radio-player{
    top:72px!important;
    width:min(100% - 22px,1180px)!important;
  }
  body:has(.home-page) .home-page{
    width:min(100% - 22px,1180px)!important;
  }
  .hero-showcase,
  .bottom-content-grid{
    grid-template-columns:1fr!important;
  }
  .hero-showcase .hero-side{
    height:auto!important;
  }
  .news-ranking-layout .featured-news-grid{
    grid-template-columns:1fr!important;
  }
}

/* Lower mockup layout: Programacao + Quartos left, Top pontos right */
.home-header-visual{
  display:block!important;
  height:300px!important;
  min-height:300px!important;
  margin-top:0!important;
}
.home-header-content{
  height:300px!important;
  min-height:300px!important;
}
.news-ranking-layout{
  display:block!important;
  width:100%!important;
  margin-top:22px!important;
}
.news-ranking-layout .news-board{
  width:100%!important;
}
.news-ranking-layout .featured-news-grid{
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
}
.lower-content-layout{
  width:100%!important;
  display:grid!important;
  grid-template-columns:minmax(0,1fr) 360px!important;
  gap:18px!important;
  align-items:stretch!important;
  margin-top:24px!important;
}
.lower-content-layout .bottom-content-grid{
  grid-column:1!important;
  grid-row:1!important;
  width:100%!important;
  display:grid!important;
  grid-template-columns:1fr!important;
  gap:14px!important;
  margin:0!important;
}
.lower-content-layout .ranking-section{
  grid-column:2!important;
  grid-row:1!important;
  margin:0!important;
  align-self:stretch!important;
}
.lower-content-layout .ranking-section>.section-title-row{
  display:none!important;
}
.lower-content-layout .ranking-card{
  height:100%!important;
  min-height:420px!important;
  display:flex!important;
  flex-direction:column!important;
  justify-content:center!important;
  padding:20px!important;
}
.lower-content-layout .ranking-title{
  border:0!important;
  padding:0!important;
  margin:0 0 20px!important;
  justify-content:center!important;
}
.lower-content-layout .ranking-title span,
.lower-content-layout .ranking-title p,
.lower-content-layout .ranking-periods{
  display:none!important;
}
.lower-content-layout .ranking-title h3{
  font-size:22px!important;
  letter-spacing:14px!important;
  text-transform:uppercase!important;
  font-weight:500!important;
  color:#fff!important;
}
.lower-content-layout .ranking-list{
  grid-template-columns:1fr!important;
}
.lower-content-layout .ranking-row{
  height:48px!important;
}
.lower-content-layout .featured-users-panel{
  display:none!important;
}
.lower-content-layout .live-section,
.lower-content-layout .rooms-section{
  margin:0!important;
}
.lower-content-layout .live-section .section-title-row,
.lower-content-layout .rooms-section .section-title-row{
  min-height:0!important;
  display:flex!important;
  place-items:initial!important;
  margin:0 0 12px!important;
  border:0!important;
  background:transparent!important;
}
.lower-content-layout .live-section .section-title-row h2,
.lower-content-layout .rooms-section .section-title-row h2{
  font-size:22px!important;
  letter-spacing:0!important;
  text-transform:none!important;
  font-weight:800!important;
}
.lower-content-layout .live-section .section-title-row h2 i,
.lower-content-layout .rooms-section .section-title-row h2 i,
.lower-content-layout .live-section .section-title-row p,
.lower-content-layout .rooms-section .section-title-row p,
.lower-content-layout .live-section .section-controls,
.lower-content-layout .rooms-section .section-controls{
  display:flex!important;
}
.lower-content-layout .live-section .section-title-row p,
.lower-content-layout .rooms-section .section-title-row p{
  display:block!important;
}

@media(max-width:900px){
  .lower-content-layout{
    grid-template-columns:1fr!important;
  }
  .lower-content-layout .ranking-section{
    grid-column:1!important;
    grid-row:auto!important;
  }
  .lower-content-layout .ranking-card{
    min-height:0!important;
  }
  .home-header-visual,
  .home-header-content{
    height:220px!important;
    min-height:220px!important;
  }
}

/* Final polish: normal Top pontos heading + clean 300px header image */
.home-header-visual{
  height:300px!important;
  min-height:300px!important;
  border:0!important;
  border-radius:0!important;
  box-shadow:none!important;
  margin:0!important;
}
.home-header-content{
  height:300px!important;
  min-height:300px!important;
}
.lower-content-layout .ranking-section>.section-title-row{
  display:flex!important;
  margin-bottom:12px!important;
}
.lower-content-layout .ranking-card{
  height:100%!important;
  min-height:0!important;
  justify-content:flex-start!important;
  padding:16px!important;
}
.lower-content-layout .ranking-title{
  border-bottom:1px solid var(--line)!important;
  padding-bottom:13px!important;
  margin:0 0 14px!important;
  justify-content:flex-start!important;
}
.lower-content-layout .ranking-title span,
.lower-content-layout .ranking-title p,
.lower-content-layout .ranking-periods{
  display:flex!important;
}
.lower-content-layout .ranking-title p{
  display:block!important;
}
.lower-content-layout .ranking-periods{
  display:flex!important;
}
.lower-content-layout .ranking-title h3{
  font-size:17px!important;
  letter-spacing:0!important;
  text-transform:none!important;
  font-weight:800!important;
  color:#edf2f8!important;
}
.lower-content-layout .ranking-row{
  height:42px!important;
}

@media(max-width:900px){
  .home-header-visual,
  .home-header-content{
    height:296px!important;
    min-height:296px!important;
  }
}

/* Final header image full-bleed + vertical ranking rows */
.home-header-visual{
  width:100vw!important;
  max-width:none!important;
  margin-left:calc(50% - 50vw)!important;
  margin-right:calc(50% - 50vw)!important;
  margin-top:-76px!important;
  padding-top:76px!important;
  height:376px!important;
  min-height:376px!important;
  background-size:cover!important;
  background-position:center!important;
}
.lower-content-layout .ranking-list{
  display:grid!important;
  grid-template-columns:1fr!important;
  grid-auto-flow:row!important;
  grid-template-rows:none!important;
}
.lower-content-layout .ranking-row{
  width:100%!important;
  grid-column:auto!important;
}
.lower-content-layout .ranking-title{
  display:flex!important;
  align-items:flex-start!important;
  gap:12px!important;
}
.lower-content-layout .ranking-title span{
  display:grid!important;
  width:40px!important;
  height:40px!important;
  flex:0 0 40px!important;
}
.lower-content-layout .ranking-title>div:first-of-type{
  min-width:0!important;
  flex:1!important;
}
.lower-content-layout .ranking-title h3{
  margin:0!important;
  line-height:1.1!important;
}
.lower-content-layout .ranking-title p{
  display:block!important;
  margin:4px 0 0!important;
  line-height:1.35!important;
}

/* 2026-08 alignment pass: narrower left column */
@media (min-width:901px){
  .lower-content-layout{
    grid-template-columns:minmax(0,1fr) minmax(410px,430px)!important;
    gap:20px!important;
    align-items:stretch!important;
  }
  .lower-content-layout .bottom-content-grid{
    gap:12px!important;
  }
  .lower-content-layout .live-section .section-title-row,
  .lower-content-layout .rooms-section .section-title-row{
    margin-bottom:9px!important;
  }
  .lower-content-layout .live-section .section-title-row h2,
  .lower-content-layout .rooms-section .section-title-row h2{
    font-size:20px!important;
    line-height:1.15!important;
    white-space:nowrap!important;
  }
  .lower-content-layout .ranking-title{
    flex-wrap:nowrap!important;
  }
  .lower-content-layout .ranking-periods{
    flex:0 0 auto!important;
    margin-left:auto!important;
  }
}
@media(max-width:900px){
  .lower-content-layout{
    display:grid!important;
    grid-template-columns:1fr!important;
    gap:18px!important;
  }
  .lower-content-layout .bottom-content-grid,
  .lower-content-layout .ranking-section{
    grid-column:1!important;
    width:100%!important;
  }
  .lower-content-layout .ranking-section{
    grid-row:auto!important;
  }
  .lower-content-layout .live-section .section-title-row h2,
  .lower-content-layout .rooms-section .section-title-row h2{
    white-space:normal!important;
    font-size:19px!important;
  }
.lower-content-layout .ranking-title{
    flex-wrap:wrap!important;
  }
}

@media(max-width:560px){
  .lower-content-layout .live-section .section-title-row,
  .lower-content-layout .rooms-section .section-title-row,
  .lower-content-layout .ranking-section>.section-title-row{
    gap:10px!important;
  }
  .lower-content-layout .section-controls{
    flex:0 0 auto!important;
  }
.ranking-periods{
    width:100%!important;
  }
}

/* 2026-08-17: final lower layout alignment - 4 room cards, no extra banner */
@media (min-width:901px){
  .lower-content-layout{
    grid-template-columns:minmax(0,1fr) minmax(410px,430px)!important;
    gap:20px!important;
    align-items:stretch!important;
  }

  /* The left column always uses the exact same height as the ranking column. */
  .lower-content-layout .bottom-content-grid{
    grid-column:1!important;
    grid-row:1!important;
    display:grid!important;
    grid-template-columns:1fr!important;
    grid-template-rows:repeat(2,minmax(0,1fr))!important;
    gap:14px!important;
    width:100%!important;
    height:100%!important;
    min-height:0!important;
    margin:0!important;
    align-self:stretch!important;
  }

  .lower-content-layout .ranking-section{
    grid-column:2!important;
    grid-row:1!important;
    height:100%!important;
    min-height:0!important;
    margin:0!important;
    align-self:stretch!important;
    display:flex!important;
    flex-direction:column!important;
  }
  .lower-content-layout .ranking-section>.section-title-row{
    flex:0 0 auto!important;
  }
  .lower-content-layout .ranking-card{
    flex:1 1 auto!important;
    min-height:0!important;
  }

  .lower-content-layout .live-section,
  .lower-content-layout .rooms-section{
    display:flex!important;
    flex-direction:column!important;
    width:100%!important;
    min-width:0!important;
    min-height:0!important;
    height:100%!important;
    margin:0!important;
  }
  .lower-content-layout .live-section .section-title-row,
  .lower-content-layout .rooms-section .section-title-row{
    flex:0 0 auto!important;
    margin:0 0 10px!important;
  }

  /* Fill the available section height instead of leaving empty strips. */
  .lower-content-layout .program-panel,
  .lower-content-layout .rooms-row{
    flex:1 1 auto!important;
    min-height:0!important;
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    grid-template-rows:repeat(2,minmax(0,1fr))!important;
    gap:8px!important;
    align-items:stretch!important;
  }

  .lower-content-layout .program-row{
    height:100%!important;
    min-height:96px!important;
    padding:13px 14px!important;
  }

  .lower-content-layout .partner-card{
    height:100%!important;
    min-height:96px!important;
    display:grid!important;
    grid-template-columns:112px minmax(0,1fr)!important;
    grid-template-rows:auto 1fr!important;
    align-items:center!important;
  }
  .lower-content-layout .partner-card img{
    grid-row:1/3!important;
    width:112px!important;
    height:100%!important;
    min-height:96px!important;
    object-fit:cover!important;
  }
  .lower-content-layout .partner-card span{
    padding:13px 12px 2px!important;
  }
  .lower-content-layout .partner-card p{
    padding:0 12px 13px!important;
  }
}

@media (max-width:900px){
  .lower-content-layout{
    grid-template-columns:1fr!important;
    gap:18px!important;
    align-items:start!important;
  }
  .lower-content-layout .bottom-content-grid{
    display:grid!important;
    grid-template-columns:1fr!important;
    grid-template-rows:auto!important;
    gap:16px!important;
    width:100%!important;
    height:auto!important;
  }
  .lower-content-layout .live-section,
  .lower-content-layout .rooms-section,
  .lower-content-layout .ranking-section{
    height:auto!important;
    min-height:0!important;
  }
  .lower-content-layout .program-panel,
  .lower-content-layout .rooms-row{
    height:auto!important;
    grid-template-rows:none!important;
  }
}


/* 2026-08-17: layout refinement - larger room thumbs and bigger programming avatars */
@media (min-width:901px){
  .lower-content-layout{
    grid-template-columns:minmax(0,1fr) minmax(410px,428px)!important;
    gap:20px!important;
  }

  .lower-content-layout .bottom-content-grid{
    gap:12px!important;
  }

  .lower-content-layout .live-section .section-title-row,
  .lower-content-layout .rooms-section .section-title-row{
    margin:0 0 8px!important;
  }

  .lower-content-layout .program-panel,
  .lower-content-layout .rooms-row{
    gap:10px!important;
  }

  .lower-content-layout .program-row{
    grid-template-columns:72px minmax(0,1fr)!important;
    gap:8px 16px!important;
    min-height:110px!important;
    padding:16px 16px!important;
    align-items:center!important;
  }

  .lower-content-layout .program-row img{
    width:72px!important;
    height:72px!important;
    border-radius:16px!important;
    align-self:center!important;
  }

  .lower-content-layout .program-time{
    font-size:13px!important;
    line-height:1.1!important;
    align-self:end!important;
  }

  .lower-content-layout .program-row b{
    font-size:15px!important;
    line-height:1.15!important;
  }

  .lower-content-layout .program-row small{
    margin-top:4px!important;
    font-size:12px!important;
    line-height:1.35!important;
    white-space:normal!important;
    overflow:visible!important;
    text-overflow:clip!important;
  }

  .lower-content-layout .partner-card{
    min-height:110px!important;
    grid-template-columns:138px minmax(0,1fr)!important;
    grid-template-rows:auto 1fr!important;
    column-gap:0!important;
  }

  .lower-content-layout .partner-card img{
    width:138px!important;
    min-width:138px!important;
    height:100%!important;
    min-height:110px!important;
  }

  .lower-content-layout .partner-card span{
    padding:14px 14px 4px!important;
    font-size:14px!important;
    line-height:1.2!important;
  }

  .lower-content-layout .partner-card p{
    padding:0 14px 14px!important;
    font-size:12px!important;
    line-height:1.45!important;
    display:-webkit-box!important;
    -webkit-line-clamp:2!important;
    -webkit-box-orient:vertical!important;
    overflow:hidden!important;
  }
}

@media (max-width:900px){
  .lower-content-layout .program-row img{
    width:64px!important;
    height:64px!important;
  }
  .lower-content-layout .partner-card{
    grid-template-columns:128px minmax(0,1fr)!important;
    min-height:108px!important;
  }
  .lower-content-layout .partner-card img{
    width:128px!important;
    min-width:128px!important;
    height:100%!important;
    min-height:108px!important;
  }
  .lower-content-layout .partner-card span{
    font-size:14px!important;
  }
  .lower-content-layout .partner-card p{
    font-size:12px!important;
    line-height:1.4!important;
  }
}

@media (max-width:640px){
  .lower-content-layout .partner-card{
    grid-template-columns:116px minmax(0,1fr)!important;
    min-height:100px!important;
  }
  .lower-content-layout .partner-card img{
    width:116px!important;
    min-width:116px!important;
    min-height:100px!important;
  }
  .lower-content-layout .program-row{
    grid-template-columns:62px minmax(0,1fr)!important;
    padding:14px!important;
  }
  .lower-content-layout .program-row img{
    width:62px!important;
    height:62px!important;
  }
}
/* Runtime data polish */
.featured-news-grid,
.program-panel,
.rooms-row{
  transition:opacity .18s ease, transform .18s ease;
}
.featured-news-grid.is-page-loading,
.program-panel.is-page-loading,
.rooms-row.is-page-loading{
  opacity:.35;
  transform:translateY(4px);
}
.floating-room-action{
  width:36px;
  height:36px;
  flex:0 0 36px;
}
.modal,
.modal.show,
.profile-tooltip-layer{
  z-index:2147483647!important;
}

html{
  scrollbar-width:thin;
  scrollbar-color:var(--orange) #0c1118;
}
::-webkit-scrollbar{width:10px;height:10px}
::-webkit-scrollbar-track{background:#0c1118}
::-webkit-scrollbar-thumb{
  background:linear-gradient(180deg,var(--orange),#ffb13b);
  border:2px solid #0c1118;
  border-radius:999px;
}
::-webkit-scrollbar-thumb:hover{background:#ffb13b}

.home-header-visual{

}
.hero-banner{
  background:
    linear-gradient(90deg,rgba(9,13,19,.9) 0%,rgba(9,13,19,.58) 44%,rgba(9,13,19,.12) 100%),
    linear-gradient(180deg,rgba(255,122,0,.03),rgba(255,122,0,.22)),
    var(--slide-image, url("../img/hero-studio.png")) right center/cover no-repeat,
    #151c25!important;
}
.hero-banner.is-changing{
  filter:saturate(.95);
}

.content-panel{
  position:relative;
  padding:28px;
  border:1px solid var(--line-strong);
  border-radius:8px;
  background:linear-gradient(180deg,rgba(18,26,37,.98),rgba(13,19,28,.98));
  box-shadow:var(--shadow-soft);
  overflow:hidden;
}
.content-panel:before{
  content:"";
  position:absolute;
  inset:0 0 auto;
  height:3px;
  background:linear-gradient(90deg,var(--orange),#28a6d8);
}
.tinymce-content img{max-width:100%;height:auto}
.tinymce-content p:first-child{margin-top:0}
.tinymce-content p:last-child{margin-bottom:0}

.team-role-list{
  display:grid;
  gap:22px;
}
.team-role-section{
  padding:18px;
  border:1px solid var(--line);
  border-radius:8px;
  background:rgba(13,19,28,.64);
  box-shadow:var(--shadow-soft);
}
.team-role-section .section-title-row{
  margin-bottom:14px;
}

.is-booting .featured-news-card,
.is-booting .ranking-card,
.is-booting .program-row,
.is-booting .partner-card,
.is-booting .featured-user-card{
  position:relative;
  overflow:hidden;
}
.is-booting .featured-news-card:after,
.is-booting .ranking-card:after,
.is-booting .program-row:after,
.is-booting .partner-card:after,
.is-booting .featured-user-card:after{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(90deg,transparent,rgba(255,255,255,.08),transparent);
  transform:translateX(-100%);
  animation:dbLoading .9s ease forwards;
  pointer-events:none;
}
@keyframes dbLoading{
  to{transform:translateX(100%)}
}


/* Ajustes HabboFM 03/09/2026 */
.hero-pager[hidden]{display:none!important;}
.partner-card .partner-owner{
  display:block!important;
  margin:0!important;
  padding:0 12px 12px!important;
  color:var(--orange-2,#ff9b32)!important;
  font-size:11px!important;
  line-height:1.35!important;
  font-weight:800!important;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.team-role-section{
  background:transparent;
}
.team-card{
  display:flex;
  flex-direction:column;
  align-items:center;
}
.team-card .team-role-badge{
  display:block;
  width:fit-content;
  max-width:100%;
  margin:0 auto 8px;
  color:var(--orange-2);
  font-size:10px;
  line-height:1.2;
  font-weight:800;
  text-transform:uppercase;
  text-align:center;
}
.team-card > img{
  display:block;
  margin:0 auto;
}


/* Quartos parceiros - conteúdo textual agrupado */
.partner-card .partner-card-content{
  min-width:0;
  display:flex;
  flex-direction:column;
  justify-content:center;
  align-self:stretch;
}
.partner-card .partner-card-content > span{
  padding-bottom:3px!important;
}
.partner-card .partner-card-content > p{
  padding-bottom:0!important;
}
.partner-card .partner-card-content > .partner-owner{
  display:block!important;
  margin-top:4px!important;
  padding:0 12px 12px!important;
  color:var(--orange-2,#ff9b32)!important;
  font-size:11px!important;
  line-height:1.25!important;
  font-weight:800!important;
}
@media (min-width:901px){
  .partner-card{
    grid-template-rows:1fr!important;
  }
  .partner-card > img{
    grid-row:1!important;
  }
  .partner-card > .partner-card-content{
    grid-column:2!important;
    grid-row:1!important;
  }
  .lower-content-layout .partner-card{
    grid-template-rows:1fr!important;
  }
  .lower-content-layout .partner-card > img{
    grid-row:1!important;
  }
}
