/* Tunivo V5.3 production CSS */
:root{
  --bg:#080a0d;--panel:#0f1318;--panel2:#141922;--panel3:#0c1015;--line:#242c37;
  --text:#f6f8fb;--muted:#909aa8;--accent:#c8ff59;--accent-rgb:200,255,89;
  --accent2:#72d8ff;--accent2-rgb:114,216,255;--accent3:#b481ff;--hot:#ff6d91;
  --hero-a:#151b24;--hero-b:#10141a;--card-a:#12171f;--card-b:#0d1117;
  --ad-a:#11161c;--ad-b:#151b22;--side-a:#2e2251;--side-b:#153d4d;
  --shadow:0 18px 60px rgba(0,0,0,.30);--ease:.35s cubic-bezier(.2,.8,.2,1)
}
*{box-sizing:border-box} html{scroll-behavior:smooth}
body{margin:0;color:var(--text);font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
background:radial-gradient(circle at 12% -5%,rgba(var(--accent-rgb),.07),transparent 23%),radial-gradient(circle at 90% 0%,rgba(var(--accent2-rgb),.07),transparent 23%),var(--bg);transition:background var(--ease),color var(--ease)}
a{color:inherit;text-decoration:none}button,input{font:inherit}button{cursor:pointer}.app{padding-bottom:86px}
.topbar{position:sticky;top:0;z-index:80;height:66px;display:grid;grid-template-columns:226px minmax(300px,1fr) auto;gap:18px;align-items:center;padding:0 18px;background:rgba(8,10,13,.90);backdrop-filter:blur(18px);border-bottom:1px solid rgba(255,255,255,.05)}
.brand{display:flex;align-items:center;gap:10px;font-weight:950;letter-spacing:.12em}.logo{width:36px;height:36px;border-radius:11px;display:grid;place-items:center;color:#0a1105;background:linear-gradient(135deg,var(--accent),var(--accent2))}
.search{position:relative}.search input{width:100%;height:42px;border:1px solid var(--line);border-radius:13px;background:var(--panel3);color:var(--text);outline:none;padding:0 44px 0 14px}.search span{position:absolute;right:9px;top:8px;color:var(--muted);font-size:10px;border:1px solid var(--line);border-radius:7px;padding:4px 6px}
.top-right{display:flex;align-items:center;justify-content:flex-end;gap:10px}.theme-switcher{display:flex;align-items:center;gap:7px;padding:6px 8px;border:1px solid var(--line);border-radius:999px;background:rgba(15,19,24,.88)}
.theme-dot{width:22px;height:22px;border-radius:50%;border:2px solid transparent;padding:0;box-shadow:0 0 0 1px rgba(255,255,255,.08)}.theme-dot.active{border-color:#fff;box-shadow:0 0 0 3px rgba(255,255,255,.09),0 0 18px rgba(var(--accent-rgb),.35)}
.theme-dot[data-theme=lime]{background:#c8ff59}.theme-dot[data-theme=cyan]{background:#59e7ff}.theme-dot[data-theme=violet]{background:#a879ff}.theme-dot[data-theme=rose]{background:#ff6fa3}.theme-dot[data-theme=amber]{background:#ffbd59}
.top-actions{display:flex;gap:8px}.top-actions button{height:36px;border:1px solid var(--line);border-radius:10px;background:var(--panel2);color:#d6dde6;padding:0 11px}
.layout{display:grid;grid-template-columns:226px minmax(0,1fr) 310px;gap:18px;padding:18px}.left,.right{position:sticky;top:84px;align-self:start;max-height:calc(100vh - 174px);overflow:auto}
.nav-block{margin-bottom:22px}.nav-title{font-size:9px;letter-spacing:.14em;color:#626d7b;font-weight:900;margin:0 0 7px 10px}.nav-link{display:flex;align-items:center;justify-content:space-between;padding:9px 10px;border-radius:11px;color:#acb6c3;font-size:12px;font-weight:700;margin-bottom:2px}.nav-link:hover,.nav-link.active{background:rgba(var(--accent-rgb),.07);color:#fff}.nav-link.active{box-shadow:inset 3px 0 var(--accent)}.count{font-size:9px;color:#737f8d}.create{width:100%;height:40px;border-radius:12px;border:1px dashed rgba(var(--accent-rgb),.28);background:var(--panel3);color:#d8dfe7;font-weight:800}
.main{min-width:0}.hero{min-height:285px;border:1px solid var(--line);border-radius:26px;padding:28px;background:radial-gradient(circle at 80% 28%,rgba(var(--accent2-rgb),.20),transparent 22%),radial-gradient(circle at 74% 74%,rgba(var(--accent-rgb),.12),transparent 21%),linear-gradient(135deg,var(--hero-a),var(--hero-b) 60%,var(--panel3));position:relative;overflow:hidden;box-shadow:var(--shadow)}
.live{display:inline-flex;align-items:center;gap:7px;padding:6px 9px;border-radius:999px;background:rgba(255,109,145,.09);border:1px solid rgba(255,109,145,.23);color:#ff98b0;font-size:10px;font-weight:900}.live i{width:6px;height:6px;border-radius:50%;background:var(--hot)}.hero-copy{position:relative;z-index:3;max-width:590px;margin-top:20px}.hero .eyebrow{font-size:10px;color:var(--accent);font-weight:900;letter-spacing:.13em}.hero h1{font-size:clamp(34px,4.3vw,58px);line-height:.95;letter-spacing:-.05em;margin:10px 0 12px}.hero p{max-width:530px;color:#b4bdc8;line-height:1.58;margin:0;font-size:14px}.hero-actions{display:flex;gap:9px;flex-wrap:wrap;margin-top:20px}.btn{height:41px;border:1px solid var(--line);border-radius:12px;background:var(--panel2);color:#fff;padding:0 14px;font-weight:850;font-size:12px;display:inline-flex;align-items:center;justify-content:center;line-height:1;white-space:nowrap;text-align:center;vertical-align:middle}.btn.primary{background:linear-gradient(135deg,var(--accent),var(--accent2));border-color:transparent;color:#0b1105}
.vinyl{position:absolute;right:4%;top:8%;width:180px;height:180px;border-radius:50%;background:repeating-radial-gradient(circle,#11161d 0 5px,#181f28 6px 8px),conic-gradient(from 40deg,var(--accent),var(--accent2),var(--accent3),var(--accent));opacity:.9}.vinyl:after{content:"";position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:58px;height:58px;border-radius:50%;background:var(--panel3);border:12px solid rgba(255,255,255,.05)}
.quick{display:grid;grid-template-columns:repeat(5,1fr);gap:10px;margin-top:12px}.quick a{min-height:78px;border:1px solid var(--line);border-radius:16px;padding:13px;background:linear-gradient(135deg,var(--card-a),var(--card-b));position:relative;overflow:hidden}.quick b{font-size:13px}.quick span{display:block;font-size:9px;color:var(--muted);margin-top:4px}.quick i{position:absolute;right:8px;bottom:-18px;font-style:normal;font-size:54px;color:var(--accent);opacity:.11}
.section{margin-top:28px}.section-head{display:flex;align-items:end;justify-content:space-between;gap:12px;margin-bottom:12px}.section-head h2{margin:0;font-size:20px}.section-head p{margin:4px 0 0;color:var(--muted);font-size:11px}.section-head a{font-size:11px;color:var(--accent2)}
.card-row{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:11px}.track{border:1px solid var(--line);border-radius:17px;padding:8px;background:linear-gradient(180deg,var(--card-a),var(--card-b));min-width:0}.cover{aspect-ratio:1;border-radius:13px;background:var(--cover);position:relative;overflow:hidden}.cover-title{position:absolute;left:10px;bottom:10px;font-weight:950;font-size:16px;text-transform:uppercase}.track h3{font-size:12px;margin:9px 3px 2px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.track p{font-size:10px;color:var(--muted);margin:0 3px 7px}.tags{display:flex;gap:5px;flex-wrap:wrap;margin:0 3px}.tag{font-size:8px;padding:3px 6px;border:1px solid rgba(var(--accent-rgb),.18);border-radius:999px;color:#aab4c1}
.personal-row{display:grid;grid-template-columns:1.05fr .95fr;gap:12px}.panel{border:1px solid var(--line);border-radius:20px;background:var(--panel);overflow:hidden}.panel-head{padding:14px 14px 8px}.panel-head h3{font-size:14px;margin:0}.panel-head span{font-size:9px;color:var(--muted)}.personal-feature{min-height:210px;margin:12px;border-radius:15px;padding:18px;display:flex;align-items:end;background:linear-gradient(180deg,transparent,rgba(0,0,0,.83)),radial-gradient(circle at 30% 25%,rgba(var(--accent-rgb),.30),transparent 20%),linear-gradient(135deg,var(--hero-a),var(--side-b) 58%,var(--hero-b))}.personal-feature h3{font-size:21px;margin:0 0 5px}.personal-feature p{font-size:11px;color:#d2d9e0;margin:0 0 12px}.rising-row{display:grid;grid-template-columns:34px 42px minmax(0,1fr) auto;gap:9px;align-items:center;padding:10px 13px;border-top:1px solid var(--line)}.rank{font-weight:900;font-size:12px}.delta{font-size:8px;color:var(--accent)}.thumb{width:42px;height:42px;border-radius:10px;background:linear-gradient(135deg,var(--accent3),var(--accent2))}.info b{display:block;font-size:11px}.info span{font-size:9px;color:var(--muted)}
.ad-label{font-size:8px;letter-spacing:.16em;color:#7b8796;font-weight:900;text-transform:uppercase}.native-ad{margin-top:18px;border:1px solid rgba(var(--accent-rgb),.22);border-radius:18px;padding:16px;background:radial-gradient(circle at 84% 25%,rgba(var(--accent-rgb),.12),transparent 20%),linear-gradient(135deg,var(--ad-a),var(--ad-b));display:grid;grid-template-columns:1fr auto;gap:18px;align-items:center}.native-ad h3{margin:6px 0 5px;font-size:17px}.native-ad p{margin:0;color:#aab4c1;font-size:11px}.native-ad .cta{height:39px;border:0;border-radius:11px;background:linear-gradient(135deg,var(--accent),var(--accent2));color:#0a1105;padding:0 14px;font-weight:900;font-size:11px}.native-ad .ad-brand{color:var(--accent2);font-weight:900}
.banner-ad{margin-top:28px;border:1px solid rgba(var(--accent2-rgb),.22);border-radius:17px;background:linear-gradient(90deg,var(--ad-a),var(--ad-b));min-height:92px;padding:14px 18px;display:grid;grid-template-columns:auto 1fr auto;gap:16px;align-items:center}.banner-art{width:64px;height:64px;border-radius:14px;background:linear-gradient(135deg,var(--accent3),var(--accent2));display:grid;place-items:center;font-weight:950;font-size:22px}.banner-ad h4{margin:4px 0;font-size:15px}.banner-ad p{margin:0;color:#a7b2bf;font-size:10px}.banner-ad button{height:36px;border:1px solid rgba(var(--accent-rgb),.24);border-radius:10px;background:rgba(var(--accent-rgb),.06);color:#fff;padding:0 12px;font-size:10px;font-weight:800}
.right-card{border:1px solid var(--line);border-radius:18px;background:var(--panel);padding:14px;margin-bottom:11px}.right-card h3{font-size:11px;margin:0 0 10px}.now-card{text-align:center}.now-cover{aspect-ratio:1;border-radius:15px;background:linear-gradient(135deg,var(--accent3),var(--accent2));margin-bottom:10px}.now-card b{display:block;font-size:13px}.now-card span{font-size:10px;color:var(--muted)}.queue-item,.trend-item{display:grid;grid-template-columns:32px minmax(0,1fr) auto;gap:8px;align-items:center;padding:8px 0;border-top:1px solid var(--line)}.qthumb{width:32px;height:32px;border-radius:8px;background:linear-gradient(135deg,var(--accent3),var(--accent2))}.queue-item b,.trend-item b{display:block;font-size:10px}.queue-item span,.trend-item span{font-size:8px;color:var(--muted)}.time{font-size:8px;color:#788390}
.sidebar-ad{border:1px solid rgba(var(--accent2-rgb),.20);border-radius:18px;overflow:hidden;background:var(--panel2);margin-bottom:11px}.sidebar-ad-visual{min-height:185px;padding:18px;display:flex;align-items:flex-end;position:relative;background:linear-gradient(180deg,transparent,rgba(0,0,0,.78)),radial-gradient(circle at 68% 25%,rgba(var(--accent2-rgb),.42),transparent 22%),linear-gradient(135deg,var(--side-a),var(--side-b))}.sidebar-ad-visual h3{margin:4px 0 5px;font-size:19px}.sidebar-ad-visual p{margin:0 0 11px;color:#dde3e9;font-size:10px}.sidebar-ad-visual button{height:34px;border:0;border-radius:10px;background:#fff;color:#101318;padding:0 11px;font-size:10px;font-weight:900}
.player{position:fixed;left:0;right:0;bottom:0;z-index:90;height:76px;background:rgba(7,9,12,.96);backdrop-filter:blur(20px);border-top:1px solid var(--line);display:grid;grid-template-columns:1fr 1.25fr 1fr;align-items:center;gap:18px;padding:0 18px}.player-now{display:flex;align-items:center;gap:10px;min-width:0}.mini-cover{width:46px;height:46px;border-radius:10px;background:linear-gradient(135deg,var(--accent3),var(--accent2));flex:0 0 auto}.player-now b,.player-now span{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.player-now b{font-size:11px}.player-now span{font-size:9px;color:var(--muted);margin-top:3px}.controls{text-align:center}.control-row{display:flex;justify-content:center;align-items:center;gap:14px;margin-bottom:6px}.ctrl{border:0;background:none;color:#c5cdd6}.main-play{width:36px;height:36px;border-radius:50%;border:0;background:linear-gradient(135deg,var(--accent),var(--accent2));color:#0a0d11;font-weight:900}.progress{height:3px;border-radius:999px;background:#29313d;overflow:hidden}.progress i{display:block;height:100%;width:31%;background:linear-gradient(90deg,var(--accent),var(--accent2))}.player-actions{display:flex;justify-content:flex-end;gap:11px;color:#9ba5b1;font-size:10px}
@media(max-width:1200px){.topbar,.layout{grid-template-columns:200px minmax(0,1fr)}.right{display:none}.top-actions{display:none}.card-row{grid-template-columns:repeat(3,1fr)}}
@media(max-width:900px){.topbar{grid-template-columns:auto 1fr auto}.brand span{display:none}.layout{display:block;padding:14px}.left{display:none}.quick{grid-template-columns:repeat(2,1fr)}.card-row{grid-template-columns:repeat(2,1fr)}.personal-row{grid-template-columns:1fr}.native-ad{grid-template-columns:1fr}.banner-ad{grid-template-columns:1fr}.hero{min-height:300px;padding:24px}}
@media(max-width:600px){.topbar{padding:0 10px;gap:8px}.search span{display:none}.theme-dot{width:17px;height:17px}.card-row{display:flex;overflow-x:auto}.track{min-width:74%}.player{grid-template-columns:1fr auto;height:70px}.controls,.player-actions{display:none}}

.youtube-player-shell{
  margin-top:14px;border:1px solid var(--line);border-radius:16px;overflow:hidden;
  background:#05070a;box-shadow:0 10px 32px rgba(0,0,0,.22)
}
.youtube-player-shell .player-label{
  display:flex;justify-content:space-between;gap:8px;align-items:center;
  padding:8px 10px;background:var(--panel3);border-bottom:1px solid var(--line);
  font-size:9px;color:var(--muted)
}
.youtube-player-shell .player-label strong{color:var(--accent);letter-spacing:.08em}
.youtube-frame{aspect-ratio:16/9;min-height:160px;background:#05070a}
#youtube-player,#youtube-player iframe{width:100%!important;height:100%!important;min-height:160px}
.radio-mini-controls{display:grid;grid-template-columns:1fr auto auto;gap:6px;margin-top:8px}
.radio-mini-controls button{
  min-height:34px;border-radius:10px;border:1px solid var(--line);
  background:var(--panel2);color:var(--text);font-size:10px;font-weight:800
}
.radio-mini-controls button:first-child{
  background:linear-gradient(135deg,var(--accent),var(--accent2));color:#091005;border:0
}
#radioStatus{font-size:9px;color:var(--muted);margin-top:7px}
.cover{background-image:var(--cover);background-size:cover;background-position:center}

/* Tunivo 4.3 — real YouTube player controls */
.control-row{gap:10px}
.ctrl,.main-play{cursor:pointer}
.ctrl{min-width:34px;height:34px;border-radius:9px;transition:.15s ease}
.ctrl:hover{background:var(--panel2);color:var(--text)}
.seek-btn{font-size:10px;font-weight:900}
.restart-btn{font-size:16px}
.main-play{width:40px;height:40px;font-size:15px;cursor:pointer}
.seek-row{display:grid;grid-template-columns:38px minmax(120px,1fr) 38px;gap:9px;align-items:center}
.seek-row span{font-size:9px;color:var(--muted);font-variant-numeric:tabular-nums}
.seek-row span:first-child{text-align:right}.seek-row span:last-child{text-align:left}
.seek-range{
  --seek-progress:0%;
  width:100%;height:16px;margin:0;padding:0;appearance:none;-webkit-appearance:none;background:transparent;cursor:pointer
}
.seek-range::-webkit-slider-runnable-track{
  height:4px;border-radius:999px;
  background:linear-gradient(90deg,var(--accent) 0%,var(--accent2) var(--seek-progress),#29313d var(--seek-progress),#29313d 100%)
}
.seek-range::-webkit-slider-thumb{
  -webkit-appearance:none;width:13px;height:13px;border-radius:50%;background:var(--accent);
  margin-top:-4.5px;border:2px solid #0a0d11
}
.seek-range::-moz-range-track{height:4px;border-radius:999px;background:#29313d}
.seek-range::-moz-range-progress{height:4px;border-radius:999px;background:linear-gradient(90deg,var(--accent),var(--accent2))}
.seek-range::-moz-range-thumb{width:13px;height:13px;border-radius:50%;background:var(--accent);border:2px solid #0a0d11}
.radio-mini-controls{grid-template-columns:1fr auto auto auto}
.youtube-frame{min-height:200px}
#youtube-player,#youtube-player iframe{min-height:200px}
@media(max-width:760px){
  .player{height:76px}
}

/* Tunivo 4.4 — professional now playing + library */
.top-action-link{display:inline-flex;align-items:center;justify-content:center;text-decoration:none;color:var(--text);border:1px solid var(--line);background:var(--panel);padding:8px 12px;border-radius:10px;font-size:12px;font-weight:800}
.create-link{text-decoration:none;display:flex;align-items:center;justify-content:center}
.pro-now-card{padding:14px;background:linear-gradient(180deg,rgba(17,22,30,.98),rgba(10,14,19,.98));border-color:#25303d}
.now-card-head{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;margin-bottom:12px}
.now-card-head>div{display:grid;gap:3px}.now-eyebrow{font-size:9px;letter-spacing:.14em;color:var(--muted);font-weight:900}.now-card-head b{font-size:12px}
.source-pill{font-size:9px;font-weight:900;padding:5px 8px;border:1px solid #304153;border-radius:999px;color:#bcd6ef;background:#0b1118}
.pro-youtube-frame{border:1px solid #263444;border-radius:13px;overflow:hidden;background:#05080c;aspect-ratio:16/9;min-height:0}
.pro-youtube-frame iframe,#youtube-player{width:100%!important;height:100%!important}
.pro-now-meta{padding:11px 2px 8px;display:grid;gap:3px}.pro-now-meta b{font-size:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.pro-now-meta span{font-size:11px;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.now-status-row{display:flex;align-items:center;gap:7px;border-top:1px solid var(--line);padding-top:9px;color:var(--muted);font-size:9px}.status-dot{width:6px;height:6px;border-radius:50%;background:var(--accent);box-shadow:0 0 0 3px color-mix(in srgb,var(--accent) 16%,transparent)}.official-note{margin-left:auto;color:#6f7b8c}
.track{position:relative}.track-actions{display:flex;gap:6px;margin-left:auto}.track-action{width:30px;height:30px;border-radius:9px;border:1px solid var(--line);background:#10161f;color:#dbe3ef;font-size:16px;cursor:pointer;display:grid;place-items:center}.track-action:hover,.track-action.active{border-color:var(--accent);color:var(--accent);background:color-mix(in srgb,var(--accent) 10%,#10161f)}
.track-bottom{display:flex;align-items:center;gap:8px;justify-content:space-between}.track-play-cover{border:0;padding:0;text-align:left;cursor:pointer;width:100%;position:relative}.cover-play{position:absolute;right:12px;bottom:12px;width:40px;height:40px;border-radius:50%;display:grid;place-items:center;background:rgba(6,10,14,.82);color:#fff;border:1px solid rgba(255,255,255,.18);opacity:0;transform:translateY(5px);transition:.16s}.track:hover .cover-play{opacity:1;transform:none}
.player-actions{display:flex;align-items:center;justify-content:flex-end;gap:8px}.player-actions button{background:transparent;border:0;color:var(--muted);cursor:pointer;font-size:13px;padding:6px;border-radius:8px}.player-actions button:hover,.player-actions button.active{color:var(--accent);background:var(--panel2)}
.volume-range{width:72px;accent-color:var(--accent)}
.playlist-modal{position:fixed;inset:0;background:rgba(0,0,0,.64);display:none;place-items:center;z-index:9999;padding:18px}.playlist-modal.open{display:grid}.playlist-dialog{width:min(420px,100%);background:#0f151d;border:1px solid var(--line);border-radius:16px;padding:15px}.playlist-dialog-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px}.playlist-dialog-head button{border:0;background:transparent;color:#fff;font-size:22px;cursor:pointer}.playlist-choice{width:100%;display:flex;justify-content:space-between;gap:10px;align-items:center;background:#121a24;border:1px solid var(--line);color:#fff;padding:11px;border-radius:10px;margin-bottom:7px;cursor:pointer}.playlist-choice small{color:var(--muted)}.playlist-create{display:grid;grid-template-columns:1fr auto;gap:8px;margin-top:10px}.playlist-create input{min-width:0}
.library-app{padding-bottom:88px}.library-head-title{font-size:13px;font-weight:900;color:#d7deea}.library-layout{display:grid;grid-template-columns:minmax(0,1fr) 310px;gap:16px;padding:18px}.library-main{min-width:0}.library-player-side{position:sticky;top:90px;height:max-content}.library-hero{display:flex;justify-content:space-between;gap:18px;align-items:flex-end;padding:26px;background:linear-gradient(135deg,#121923,#0e151d);border:1px solid var(--line);border-radius:18px;margin-bottom:16px}.library-hero h1{font-size:34px;margin:5px 0 4px}.library-hero p{margin:0;color:var(--muted)}.library-kicker{font-size:10px;letter-spacing:.14em;color:var(--accent);font-weight:900}.library-track-list{display:grid;gap:8px}.library-track-row{display:grid;grid-template-columns:42px 56px minmax(0,1fr) auto auto;gap:10px;align-items:center;background:#10161f;border:1px solid var(--line);border-radius:13px;padding:8px}.library-row-play,.library-icon-btn{width:38px;height:38px;border-radius:10px;border:1px solid var(--line);background:#131b25;color:#fff;cursor:pointer}.library-icon-btn.active{color:var(--accent);border-color:var(--accent)}.library-row-cover{width:56px;height:56px;border-radius:9px;overflow:hidden;background:#1a2430}.library-row-cover img{width:100%;height:100%;object-fit:cover}.library-row-info{min-width:0;display:grid;gap:3px}.library-row-info b,.library-row-info span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.library-row-info span{font-size:11px;color:var(--muted)}.library-empty{padding:30px;border:1px dashed var(--line);border-radius:14px;color:var(--muted);text-align:center}.playlist-new{display:flex;gap:8px}.playlist-new input{min-width:220px}.playlist-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-bottom:16px}.playlist-tile{display:grid;gap:7px;text-align:left;background:#10161f;border:1px solid var(--line);color:#fff;padding:14px;border-radius:14px;cursor:pointer}.playlist-tile.active{border-color:var(--accent)}.playlist-art{width:46px;height:46px;border-radius:12px;display:grid;place-items:center;background:linear-gradient(135deg,var(--accent),var(--accent2));color:#10150b;font-weight:900}.playlist-tile small{color:var(--muted)}.playlist-detail{background:#0d131a;border:1px solid var(--line);border-radius:16px;padding:15px}.playlist-detail-head{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:12px}.playlist-detail-head h2,.playlist-detail-head p{margin:0}.playlist-detail-head p{color:var(--muted);font-size:11px}.danger-lite{border-color:#5b3038!important;color:#ffb9c2!important}
@media(max-width:1000px){.library-layout{grid-template-columns:1fr}.library-player-side{position:relative;top:auto}.playlist-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:650px){.library-hero{align-items:flex-start;flex-direction:column}.playlist-new{width:100%;display:grid;grid-template-columns:1fr}.playlist-new input{min-width:0}.playlist-grid{grid-template-columns:1fr}.library-track-row{grid-template-columns:38px 48px 1fr auto}.library-row-cover{width:48px;height:48px}.library-track-row .library-icon-btn:last-child{grid-column:auto}.player-actions .volume-range{display:none}.official-note{display:none}}

/* Tunivo 4.5 — polished playlist page */
.playlist-page{padding-bottom:84px}
.playlist-topbar{grid-template-columns:auto minmax(260px,560px) auto}
.playlist-search-wrap{min-width:0}
.playlist-filter{width:100%;border:1px solid var(--line);background:#0d1219;color:var(--text);height:38px;border-radius:12px;padding:0 14px;outline:none}
.playlist-filter:focus{border-color:color-mix(in srgb,var(--accent) 65%,var(--line))}
.top-action-link.active{border-color:var(--accent);color:var(--accent)}
.playlist-shell{display:grid;grid-template-columns:270px minmax(0,1fr) 300px;gap:14px;padding:16px 18px 18px;max-width:1680px;margin:0 auto}
.playlist-sidebar,.playlist-now-card,.playlist-detail-card,.playlist-tips{background:#0e141c;border:1px solid var(--line);border-radius:16px}
.playlist-sidebar{padding:14px;height:calc(100vh - 185px);min-height:520px;position:sticky;top:86px;overflow:auto}
.playlist-side-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px}.playlist-side-head h1{font-size:25px;margin:3px 0 0}.playlist-kicker{font-size:9px;letter-spacing:.14em;font-weight:900;color:var(--accent)}
.playlist-new-btn{width:38px;height:38px;border-radius:12px;border:1px solid var(--line);background:var(--accent);color:#10150b;font-size:20px;cursor:pointer}
.playlist-create-box{display:none;grid-template-columns:1fr auto;gap:7px;padding:9px;background:#111923;border:1px solid var(--line);border-radius:12px;margin-bottom:10px}.playlist-create-box.open{display:grid}.playlist-create-box input{min-width:0;background:#0a0f15;border:1px solid var(--line);color:#fff;padding:9px;border-radius:9px}.playlist-create-box button{border:0;border-radius:9px;background:var(--accent);font-weight:900;cursor:pointer}
.playlist-count-line{display:flex;justify-content:space-between;color:var(--muted);font-size:10px;padding:7px 2px 10px;border-bottom:1px solid var(--line);margin-bottom:8px}
.playlist-nav-list{display:grid;gap:6px}.playlist-nav-item{display:grid;grid-template-columns:42px minmax(0,1fr) auto;align-items:center;gap:9px;width:100%;padding:8px;border-radius:11px;border:1px solid transparent;background:transparent;color:#fff;text-align:left;cursor:pointer}.playlist-nav-item:hover{background:#121a24}.playlist-nav-item.active{background:#172018;border-color:#32442a}.playlist-nav-art{width:42px;height:42px;border-radius:9px;background:linear-gradient(135deg,var(--accent),var(--accent2));overflow:hidden;display:grid;place-items:center;color:#10150b}.playlist-nav-art img{width:100%;height:100%;object-fit:cover}.playlist-nav-copy{display:grid;min-width:0}.playlist-nav-copy b,.playlist-nav-copy small{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.playlist-nav-copy small{color:var(--muted);font-size:10px}.playlist-nav-arrow{color:var(--muted);font-size:22px}.playlist-side-empty{padding:22px 8px;text-align:center;color:var(--muted);font-size:12px}.playlist-side-empty small{font-size:10px}
.playlist-content{min-width:0}.playlist-detail-area{min-width:0}
.playlist-empty-hero{min-height:520px;border:1px dashed var(--line);border-radius:18px;display:grid;place-items:center;align-content:center;text-align:center;padding:32px;background:linear-gradient(145deg,#101720,#0b1016)}.playlist-empty-icon{width:72px;height:72px;border-radius:20px;display:grid;place-items:center;background:linear-gradient(135deg,var(--accent),var(--accent2));color:#10150b;font-size:28px;margin-bottom:14px}.playlist-empty-hero h2{font-size:30px;max-width:620px;margin:8px 0}.playlist-empty-hero p{max-width:600px;color:var(--muted);margin:0 0 18px}
.playlist-detail-card{overflow:hidden}.playlist-detail-hero{display:grid;grid-template-columns:180px minmax(0,1fr);gap:18px;align-items:end;padding:22px;background:linear-gradient(135deg,#182018,#111821 58%,#0e141c)}.playlist-detail-art{width:180px;height:180px;border-radius:16px;overflow:hidden;display:grid;place-items:center;background:linear-gradient(135deg,var(--accent),var(--accent2));color:#10150b;font-size:46px;font-weight:900}.playlist-detail-art img{width:100%;height:100%;object-fit:cover}.playlist-detail-copy h2{font-size:38px;margin:5px 0 6px;line-height:1}.playlist-detail-copy p{margin:0;color:var(--muted)}.playlist-detail-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:15px}
.playlist-table-head{display:grid;grid-template-columns:44px minmax(0,1fr) 110px 160px;gap:10px;color:var(--muted);font-size:9px;letter-spacing:.1em;text-transform:uppercase;padding:12px 14px 8px;border-bottom:1px solid var(--line)}
.playlist-pro-list{padding:8px}.playlist-pro-row{display:grid;grid-template-columns:44px minmax(0,1fr) 110px 160px;gap:10px;align-items:center;padding:8px;border-radius:11px}.playlist-pro-row:hover{background:#131a23}.playlist-row-index{border:0;background:transparent;color:var(--muted);font-weight:800;cursor:pointer}.playlist-pro-row:hover .playlist-row-index{color:var(--accent)}.playlist-row-main{display:grid;grid-template-columns:48px minmax(0,1fr);gap:10px;align-items:center}.playlist-row-cover{width:48px;height:48px;border-radius:9px;overflow:hidden;background:#19222e;display:grid;place-items:center}.playlist-row-cover img{width:100%;height:100%;object-fit:cover}.playlist-row-copy{display:grid;min-width:0}.playlist-row-copy b,.playlist-row-copy span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.playlist-row-copy span{font-size:10px;color:var(--muted)}.playlist-row-genre{font-size:10px;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.playlist-row-actions{display:flex;gap:5px;justify-content:flex-end}.playlist-row-actions button{width:32px;height:32px;border-radius:9px;border:1px solid var(--line);background:#121922;color:#dce4ef;cursor:pointer}.playlist-row-actions button:hover{color:var(--accent);border-color:var(--accent)}.playlist-detail-empty{padding:36px;text-align:center;color:var(--muted)}
.playlist-now{position:sticky;top:86px;height:max-content}.playlist-now-card{padding:13px}.playlist-youtube-frame{display:none;min-height:0;aspect-ratio:16/9}.playlist-youtube-frame.visible{display:block}.playlist-player-placeholder{aspect-ratio:16/9;border-radius:13px;border:1px solid #263444;background:radial-gradient(circle at 50% 35%,#172231,#080c11 70%);display:grid;place-items:center;align-content:center;text-align:center;padding:18px}.playlist-player-placeholder .placeholder-disc{width:56px;height:56px;border-radius:50%;display:grid;place-items:center;background:#151e29;border:1px solid #2b3949;margin-bottom:10px;font-size:20px;color:var(--accent)}.playlist-player-placeholder b{font-size:13px}.playlist-player-placeholder span{font-size:10px;color:var(--muted);max-width:210px;margin-top:4px}.playlist-tips{margin-top:10px;padding:13px}.playlist-tips>span{font-size:8px;letter-spacing:.14em;color:var(--accent);font-weight:900}.playlist-tips p{font-size:10px;color:var(--muted);margin:5px 0 0}
.playlist-rename-modal{position:fixed;inset:0;background:rgba(0,0,0,.68);display:none;place-items:center;z-index:9999;padding:18px}.playlist-rename-modal.open{display:grid}.playlist-rename-dialog{width:min(420px,100%);background:#101720;border:1px solid var(--line);border-radius:16px;padding:15px}.playlist-rename-dialog input{width:100%;background:#0b1016;border:1px solid var(--line);color:#fff;padding:11px;border-radius:10px;margin:8px 0 12px}
@media(max-width:1150px){.playlist-shell{grid-template-columns:230px minmax(0,1fr)}.playlist-now{display:none}}
@media(max-width:780px){.playlist-topbar{grid-template-columns:auto 1fr}.playlist-search-wrap{grid-column:1/-1;grid-row:2}.playlist-shell{grid-template-columns:1fr;padding:10px}.playlist-sidebar{position:relative;top:auto;height:auto;min-height:0}.playlist-detail-hero{grid-template-columns:110px 1fr}.playlist-detail-art{width:110px;height:110px}.playlist-detail-copy h2{font-size:28px}.playlist-table-head{display:none}.playlist-pro-row{grid-template-columns:38px minmax(0,1fr) auto}.playlist-row-genre{display:none}.playlist-row-actions{grid-column:2/-1;justify-content:flex-start}.playlist-nav-list{max-height:260px;overflow:auto}}

/* Tunivo 4.6 — clickable catalog + artist pages */
.track-clickable{overflow:hidden}.track-title-button{display:block;width:100%;border:0;background:transparent;color:var(--text);font:inherit;font-size:12px;font-weight:800;text-align:left;padding:0;margin:9px 3px 2px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;cursor:pointer}.track-title-button:hover{color:var(--accent)}
.track-copy{min-width:0}.artist-link{display:inline-block;color:var(--muted);font-size:10px;text-decoration:none;margin:0 3px 7px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%}.artist-link:hover{color:var(--accent);text-decoration:underline}.artist-link.disabled{pointer-events:none}.artist-link.compact{margin:0;font-size:9px;display:inline}
.track-actions{align-items:center}.track-more{font-size:10px;font-weight:900}
.track-menu-popover{position:fixed;display:none;width:190px;padding:7px;background:#0e151e;border:1px solid var(--line);border-radius:12px;box-shadow:0 18px 55px rgba(0,0,0,.45);z-index:10000}.track-menu-popover.open{display:grid}.track-menu-popover button,.track-menu-popover a{border:0;background:transparent;color:#e9eef5;text-align:left;text-decoration:none;padding:9px 10px;border-radius:8px;cursor:pointer;font:inherit;font-size:11px}.track-menu-popover button:hover,.track-menu-popover a:hover{background:#17212d;color:var(--accent)}
.rising-row{padding:0;grid-template-columns:1fr auto}.rising-play-area{display:grid;grid-template-columns:34px 42px minmax(0,1fr);gap:9px;align-items:center;padding:10px 8px 10px 13px;border:0;background:transparent;color:var(--text);text-align:left;cursor:pointer;min-width:0}.rising-play-area:hover{background:#121923}.rising-more{width:38px;height:38px;margin-right:7px;border:0;border-radius:9px;background:transparent;color:#dfe6ef;cursor:pointer;font-weight:900}.rising-more:hover{background:#18212c;color:var(--accent)}.rising-row .thumb{background-size:cover;background-position:center}
.queue-item{width:100%;border:0;background:transparent;color:var(--text);font:inherit;text-align:left}.queue-clickable{cursor:pointer}.queue-clickable:hover{background:#151d27}.queue-clickable:focus-visible{outline:1px solid var(--accent);outline-offset:-1px}
.now-artist-link{display:block;color:var(--muted);text-decoration:none;font-size:10px;margin-top:3px}.now-artist-link:hover{color:var(--accent);text-decoration:underline}

/* Artist page */
.artist-page{padding-bottom:84px}.artist-breadcrumb{display:flex;align-items:center;gap:7px;color:var(--muted);font-size:11px}.artist-breadcrumb a{color:var(--muted);text-decoration:none}.artist-breadcrumb a:hover{color:var(--accent)}
.artist-shell{max-width:1500px;margin:0 auto;display:grid;grid-template-columns:minmax(0,1fr) 310px;gap:16px;padding:18px}.artist-main{min-width:0}.artist-now{position:sticky;top:90px;height:max-content}
.artist-hero{min-height:280px;border:1px solid var(--line);border-radius:20px;padding:28px;display:grid;grid-template-columns:190px minmax(0,1fr);gap:24px;align-items:end;background:radial-gradient(circle at 12% 20%,rgba(var(--accent-rgb),.18),transparent 27%),linear-gradient(135deg,#161d26,#0d131b 68%)}.artist-monogram{width:190px;height:190px;border-radius:28px;display:grid;place-items:center;background:linear-gradient(135deg,var(--accent),var(--accent2));color:#0a0f13;font-size:86px;font-weight:950;box-shadow:0 18px 50px rgba(0,0,0,.3)}.artist-eyebrow{font-size:9px;letter-spacing:.14em;font-weight:900;color:var(--accent)}.artist-hero-copy h1{font-size:52px;line-height:.95;margin:9px 0 10px}.artist-hero-copy p{margin:0;color:var(--muted)}.artist-hero-actions{display:flex;gap:8px;margin-top:17px;flex-wrap:wrap}.artist-disclaimer{max-width:720px;color:#6f7b8b;font-size:9px;margin-top:15px}
.artist-track-section{margin-top:16px;border:1px solid var(--line);border-radius:18px;background:#0e141c;overflow:hidden}.artist-track-section .section-head{padding:17px}.artist-track-list{padding:0 9px 10px}.artist-track-row{display:grid;grid-template-columns:38px 54px minmax(0,1fr) 34px 34px 38px;gap:9px;align-items:center;padding:8px;border-radius:11px}.artist-track-row:hover{background:#141c26}.artist-track-play,.artist-track-action{border:1px solid var(--line);background:#111923;color:#e8eef6;border-radius:9px;cursor:pointer}.artist-track-play{width:36px;height:36px}.artist-track-action{width:32px;height:32px}.artist-track-play:hover,.artist-track-action:hover{color:var(--accent);border-color:var(--accent)}.artist-track-cover{width:54px;height:54px;border-radius:10px;overflow:hidden;background:#17212c;display:grid;place-items:center}.artist-track-cover img{width:100%;height:100%;object-fit:cover}.artist-track-main{border:0;background:transparent;color:var(--text);text-align:left;display:grid;min-width:0;cursor:pointer}.artist-track-main b,.artist-track-main span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.artist-track-main span{font-size:10px;color:var(--muted);margin-top:3px}.artist-track-main:hover b{color:var(--accent)}.artist-not-found{min-height:100vh;display:grid;place-items:center;align-content:center;gap:14px;background:#080c11;color:#fff}
@media(max-width:1050px){.artist-shell{grid-template-columns:1fr}.artist-now{position:relative;top:auto}.artist-hero{grid-template-columns:140px 1fr}.artist-monogram{width:140px;height:140px;font-size:64px}.artist-hero-copy h1{font-size:42px}}
@media(max-width:650px){.artist-shell{padding:10px}.artist-hero{grid-template-columns:1fr;align-items:start}.artist-monogram{width:110px;height:110px;border-radius:22px;font-size:50px}.artist-hero-copy h1{font-size:34px}.artist-track-row{grid-template-columns:36px 48px minmax(0,1fr) 34px}.artist-track-action:nth-last-child(2),.artist-track-action:last-child{display:none}}

/* Tunivo 4.6.1 — right Now Playing is display-only */
.right .now-card .radio-mini-controls{display:none!important}
.right .now-card #radioStatus{font-size:9px;color:var(--muted)}
.right .now-card .now-status-row{margin-top:8px}

/* Tunivo 4.7 — public English, legal pages, catalog, privacy */
.site-footer{margin:28px 0 82px;padding:24px 26px;border-top:1px solid var(--line);display:flex;justify-content:space-between;gap:18px;align-items:center;color:var(--muted);background:#080c11}
.site-footer>div{display:grid;gap:4px}.site-footer>div b{color:var(--text);letter-spacing:.1em}.site-footer>div span{font-size:10px}
.site-footer nav{display:flex;gap:13px;align-items:center;flex-wrap:wrap}.site-footer a,.footer-link-button{color:var(--muted);text-decoration:none;font-size:10px;background:transparent;border:0;padding:0;cursor:pointer}.site-footer a:hover,.footer-link-button:hover{color:var(--accent)}
.ad-button,.native-ad .cta{display:inline-flex;align-items:center;justify-content:center;text-decoration:none}

.consent-banner{position:fixed;left:18px;right:18px;bottom:94px;z-index:20000;display:none;grid-template-columns:minmax(0,1fr) auto;gap:18px;align-items:center;background:#111923;border:1px solid #344253;border-radius:16px;padding:15px 17px;box-shadow:0 20px 70px rgba(0,0,0,.48)}
.consent-banner.open{display:grid}.consent-copy{display:grid;gap:5px}.consent-copy b{font-size:13px}.consent-copy>span{font-size:10px;color:var(--muted);max-width:850px}
.consent-links{display:flex;gap:10px;flex-wrap:wrap}.consent-links a{font-size:9px;color:#a8b5c7;text-decoration:none}.consent-links a:hover{color:var(--accent)}
.consent-actions{display:flex;gap:8px;align-items:center}.consent-actions button{border:1px solid var(--line);background:#151e29;color:#fff;padding:9px 12px;border-radius:9px;cursor:pointer;font-weight:800}.consent-actions .primary{background:var(--accent);border-color:var(--accent);color:#10150b}
.consent-modal{position:fixed;inset:0;z-index:21000;display:none;place-items:center;background:rgba(0,0,0,.7);padding:18px}.consent-modal.open{display:grid}.consent-dialog{width:min(520px,100%);background:#101720;border:1px solid var(--line);border-radius:16px;padding:16px}.consent-dialog-head{display:flex;justify-content:space-between;align-items:center}.consent-dialog-head button{border:0;background:transparent;color:#fff;font-size:22px;cursor:pointer}.consent-dialog p{font-size:11px;color:var(--muted);line-height:1.65}

.legal-page{min-height:100vh;background:#080c11;color:var(--text)}.legal-topbar{height:68px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 24px;position:sticky;top:0;background:rgba(8,12,17,.96);backdrop-filter:blur(12px);z-index:20}.legal-topbar nav{display:flex;gap:16px}.legal-topbar nav a{font-size:11px;color:var(--muted);text-decoration:none}.legal-topbar nav a:hover{color:var(--accent)}
.legal-main{max-width:980px;margin:0 auto;padding:44px 24px 80px}.legal-article{background:#0e141c;border:1px solid var(--line);border-radius:20px;padding:34px}.legal-kicker{font-size:9px;letter-spacing:.16em;color:var(--accent);font-weight:900}.legal-article h1{font-size:42px;line-height:1.02;margin:8px 0 8px}.legal-article h2{font-size:18px;margin:30px 0 9px}.legal-article p,.legal-article li{font-size:12px;line-height:1.8;color:#b7c0ce}.legal-article a{color:var(--accent)}.legal-updated{font-size:10px!important;color:#788494!important}.legal-inline-button{border:0;background:transparent;color:var(--accent);padding:0;text-decoration:underline;cursor:pointer;font:inherit}
.about-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:24px 0}.about-grid>div{border:1px solid var(--line);border-radius:14px;padding:16px;background:#111923}.about-grid b{display:block;margin-bottom:5px}.about-grid p{margin:0}

.contact-layout{display:grid;grid-template-columns:.8fr 1.2fr;gap:18px}.contact-copy{height:max-content}.contact-card{background:#0e141c;border:1px solid var(--line);border-radius:20px;padding:22px}.contact-card label{display:block;font-size:10px;color:var(--muted);margin:11px 0 5px}.contact-card input,.contact-card select,.contact-card textarea{width:100%;background:#0a0f15;border:1px solid var(--line);color:#fff;border-radius:10px;padding:11px;resize:vertical}.contact-row{display:grid;grid-template-columns:1fr 1fr;gap:10px}.contact-note{display:grid;gap:5px;border:1px solid var(--line);border-radius:12px;padding:13px;background:#111923}.contact-note span{font-size:10px;color:var(--muted);line-height:1.55}.form-success,.form-error{padding:11px 12px;border-radius:10px;margin-bottom:10px}.form-success{background:#102416;color:#c7ffc0}.form-error{background:#2a1218;color:#ffc1c9}.form-privacy{font-size:9px;color:var(--muted);line-height:1.5}.hp-field{position:absolute!important;left:-99999px!important}

.browse-page{padding-bottom:82px}.browse-shell{max-width:1680px;margin:0 auto;display:grid;grid-template-columns:210px minmax(0,1fr) 300px;gap:14px;padding:16px}.browse-side{background:#0d131b;border:1px solid var(--line);border-radius:15px;padding:13px;height:max-content;position:sticky;top:86px;display:grid;gap:4px}.browse-side a{color:#aeb9c8;text-decoration:none;font-size:11px;padding:8px 9px;border-radius:8px}.browse-side a:hover,.browse-side a.active{background:#172018;color:var(--accent)}.browse-genre-title{margin-top:12px}.browse-main{min-width:0}.browse-now{position:sticky;top:86px;height:max-content}.browse-hero{padding:24px 4px 20px}.browse-hero h1{font-size:38px;margin:5px 0}.browse-hero p{color:var(--muted);font-size:11px}.browse-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.browse-track-card{background:#0f151d;border:1px solid var(--line);border-radius:14px;overflow:hidden}.browse-cover{position:relative;width:100%;aspect-ratio:1/1;border:0;background:#19222c;padding:0;cursor:pointer;overflow:hidden}.browse-cover img{width:100%;height:100%;object-fit:cover}.browse-cover-fallback{font-size:34px;color:var(--muted)}.browse-cover-play{position:absolute;right:11px;bottom:11px;width:42px;height:42px;border-radius:50%;display:grid;place-items:center;background:#080c11dd;color:#fff;opacity:0;transition:.16s}.browse-cover:hover .browse-cover-play{opacity:1}.browse-track-copy{padding:11px}.browse-track-title{border:0;background:transparent;color:#fff;padding:0;font-weight:850;cursor:pointer;text-align:left;max-width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.browse-track-title:hover{color:var(--accent)}.browse-track-foot{display:flex;justify-content:space-between;align-items:center;gap:7px}.browse-track-foot>div{display:flex;gap:5px}.browse-pagination{display:flex;justify-content:center;align-items:center;gap:10px;margin:20px 0}.browse-pagination span{font-size:10px;color:var(--muted)}
.search-shell{grid-template-columns:180px minmax(0,1fr) 300px}.search-artist-section{margin-bottom:22px}.search-artists{display:grid;grid-template-columns:repeat(4,1fr);gap:8px}.search-artists a{display:grid;grid-template-columns:42px 1fr;gap:9px;align-items:center;border:1px solid var(--line);background:#0f151d;border-radius:12px;padding:9px;text-decoration:none;color:#fff}.search-artists a>span{width:42px;height:42px;border-radius:12px;display:grid;place-items:center;background:linear-gradient(135deg,var(--accent),var(--accent2));color:#10150b;font-weight:950}.search-artists a div{display:grid}.search-artists small{color:var(--muted);font-size:9px}

@media(max-width:1150px){.browse-shell,.search-shell{grid-template-columns:190px 1fr}.browse-now{display:none}.browse-grid{grid-template-columns:repeat(3,1fr)}}
@media(max-width:800px){.site-footer{align-items:flex-start;flex-direction:column}.consent-banner{grid-template-columns:1fr;bottom:88px}.consent-actions{justify-content:flex-start}.legal-article{padding:22px}.legal-article h1{font-size:34px}.about-grid,.contact-layout,.contact-row{grid-template-columns:1fr}.browse-shell,.search-shell{grid-template-columns:1fr;padding:10px}.browse-side{position:relative;top:auto;display:flex;overflow:auto}.browse-side .nav-title{display:none}.browse-side a{white-space:nowrap}.browse-grid{grid-template-columns:repeat(2,1fr)}.search-artists{grid-template-columns:repeat(2,1fr)}}
@media(max-width:520px){.browse-grid,.search-artists{grid-template-columns:1fr}.legal-main{padding:24px 12px 70px}.legal-topbar nav{display:none}}

/* First-visit acknowledgement gates API-client features until a choice is made. */
.consent-banner{inset:0!important;left:0!important;right:0!important;bottom:0!important;border:0!important;border-radius:0!important;background:rgba(3,6,10,.78)!important;backdrop-filter:blur(7px);padding:18px!important;place-items:center!important;grid-template-columns:1fr!important}
.consent-banner.open{display:grid!important}
.consent-panel{width:min(760px,100%);display:grid;grid-template-columns:minmax(0,1fr) auto;gap:18px;align-items:center;background:#111923;border:1px solid #344253;border-radius:16px;padding:18px;box-shadow:0 24px 90px rgba(0,0,0,.55)}
@media(max-width:720px){.consent-panel{grid-template-columns:1fr}.consent-actions{flex-wrap:wrap}}

/* Consent choices use equal visual weight; no preselected optional media. */
.consent-panel .consent-actions button,.consent-dialog .consent-actions button{background:#151e29!important;color:#fff!important;border-color:#344253!important;min-height:40px}
.consent-panel .consent-actions button:hover,.consent-dialog .consent-actions button:hover{border-color:var(--accent)!important;color:var(--accent)!important}

/* Tunivo 4.8.1 — wider desktop right rail */
@media (min-width: 1250px){
  .layout{
    grid-template-columns: 210px minmax(0,1fr) 340px;
    gap:16px;
  }

  .right{
    width:340px;
    min-width:340px;
  }

  .right-card{
    padding:14px;
  }

  .right .youtube-frame{
    aspect-ratio:16/9;
    min-height:190px;
  }

  .right .youtube-frame iframe,
  .right #youtube-player{
    width:100%!important;
    height:100%!important;
  }

  .right .queue-item{
    grid-template-columns:42px minmax(0,1fr) 34px;
    gap:10px;
    padding:10px 8px;
  }

  .right .queue-item .qthumb{
    width:42px;
    height:42px;
    border-radius:10px;
  }

  .right .queue-item b{
    font-size:10px;
    line-height:1.25;
  }

  .right .queue-item span{
    font-size:9px;
  }
}

@media (min-width: 1500px){
  .layout{
    grid-template-columns: 210px minmax(0,1fr) 380px;
  }

  .right{
    width:380px;
    min-width:380px;
  }

  .right .youtube-frame{
    min-height:210px;
  }

  .right-card{
    border-radius:16px;
  }
}

@media (min-width: 1780px){
  .layout{
    grid-template-columns: 210px minmax(0,1fr) 410px;
  }

  .right{
    width:410px;
    min-width:410px;
  }

  .right .youtube-frame{
    min-height:225px;
  }
}

/* keep the center column from becoming cramped on medium screens */
@media (max-width: 1249px) and (min-width: 1001px){
  .layout{
    grid-template-columns: 190px minmax(0,1fr) 300px;
  }

  .right{
    width:300px;
    min-width:300px;
  }
}

/* Tunivo 4.9 — native-style mobile experience */
.mobile-bottom-nav,.mobile-mini-player,.mobile-now-sheet{display:none}

@media(max-width:700px){
  html,body{overscroll-behavior-y:none}
  body{padding-bottom:132px}
  .app{padding-bottom:0!important}

  .topbar{
    height:auto!important;
    min-height:62px;
    padding:9px 10px!important;
    grid-template-columns:auto minmax(0,1fr)!important;
    gap:8px!important;
  }
  .brand{min-width:42px}
  .brand span{display:none!important}
  .top-right,.theme-switcher,.top-actions{display:none!important}
  .search{width:100%;min-width:0}
  .search input{font-size:12px}

  .layout{display:block!important;padding:10px!important}
  .left,.right{display:none!important}
  .main{width:100%;min-width:0}

  .hero{
    min-height:250px!important;
    padding:20px!important;
    border-radius:19px!important;
  }
  .hero h1{font-size:36px!important;max-width:310px}
  .hero p{font-size:12px!important;max-width:315px}
  .vinyl{width:120px!important;height:120px!important;right:-18px!important;top:24px!important;opacity:.42}
  .hero-actions .btn{height:42px}
  .quick{display:flex!important;overflow-x:auto;gap:8px;scroll-snap-type:x mandatory;padding-bottom:4px}
  .quick>a{min-width:160px;scroll-snap-align:start}

  .card-row{display:flex!important;overflow-x:auto!important;gap:10px!important;scroll-snap-type:x mandatory;padding-bottom:5px}
  .track{min-width:78%!important;scroll-snap-align:start}
  .personal-row{grid-template-columns:1fr!important}
  .native-ad,.banner-ad{grid-template-columns:1fr!important}

  /* Desktop fixed player is replaced by the mobile mini player. */
  footer.player{display:none!important}

  .mobile-bottom-nav{
    position:fixed;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));
    left:0;right:0;bottom:0;height:62px;z-index:6000;
    background:rgba(8,12,17,.97);backdrop-filter:blur(20px);
    border-top:1px solid var(--line);padding:4px max(6px,env(safe-area-inset-right)) calc(4px + env(safe-area-inset-bottom)) max(6px,env(safe-area-inset-left));
  }
  .mobile-bottom-nav a{
    text-decoration:none;color:#7f8b9b;display:grid;place-items:center;align-content:center;gap:2px;
    border-radius:10px;font-size:9px;font-weight:800
  }
  .mobile-bottom-nav a b{font-size:18px;line-height:1}
  .mobile-bottom-nav a.active{color:var(--accent)}
  .mobile-bottom-nav a:active{background:#141c25}

  .mobile-mini-player{
    position:fixed;display:grid;grid-template-columns:minmax(0,1fr) 42px 42px;
    left:8px;right:8px;bottom:68px;height:60px;z-index:5900;
    background:rgba(16,23,32,.98);backdrop-filter:blur(20px);
    border:1px solid #2a3543;border-radius:14px;overflow:hidden;
    box-shadow:0 14px 42px rgba(0,0,0,.42)
  }
  .mobile-mini-main{
    min-width:0;border:0;background:transparent;color:#fff;
    display:grid;grid-template-columns:42px minmax(0,1fr);align-items:center;gap:9px;text-align:left;padding:8px
  }
  .mobile-mini-art{
    width:42px;height:42px;border-radius:9px;display:grid;place-items:center;
    background:linear-gradient(135deg,var(--accent),var(--accent2));color:#0b1007;font-weight:950
  }
  .mobile-mini-copy{display:grid;min-width:0}
  .mobile-mini-copy b,.mobile-mini-copy small{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  .mobile-mini-copy b{font-size:11px}
  .mobile-mini-copy small{font-size:9px;color:var(--muted);margin-top:2px}
  .mobile-mini-play,.mobile-mini-next{
    border:0;background:transparent;color:#fff;font-size:17px;cursor:pointer
  }
  .mobile-mini-play{color:var(--accent)}
  .mobile-mini-progress{position:absolute;left:0;right:0;bottom:0;height:2px;background:#26303c}
  .mobile-mini-progress i{display:block;width:0;height:100%;background:linear-gradient(90deg,var(--accent),var(--accent2));transition:width .25s linear}

  .mobile-now-sheet{
    position:fixed;display:flex;flex-direction:column;
    inset:0;z-index:10000;background:#080d13;color:#fff;
    padding:calc(12px + env(safe-area-inset-top)) 14px calc(18px + env(safe-area-inset-bottom));
    transform:translateY(103%);opacity:0;pointer-events:none;
    transition:transform .24s ease,opacity .2s ease;overflow-y:auto
  }
  .mobile-now-sheet.open{transform:translateY(0);opacity:1;pointer-events:auto}
  html.mobile-player-open,body.mobile-player-open{overflow:hidden}

  .mobile-now-head{
    min-height:46px;display:grid;grid-template-columns:42px minmax(0,1fr) auto;
    align-items:center;gap:8px;margin-bottom:12px
  }
  .mobile-now-head>div{display:grid;text-align:center}
  .mobile-now-head>div span{font-size:8px;letter-spacing:.14em;color:var(--muted);font-weight:900}
  .mobile-now-head>div b{font-size:11px;margin-top:2px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  .mobile-sheet-close{width:40px;height:40px;border:0;background:#111923;color:#fff;border-radius:50%;font-size:22px}
  .mobile-source-pill{font-size:8px;border:1px solid #334052;border-radius:999px;padding:5px 7px;color:#aebbd0}

  .mobile-youtube-host{
    width:100%;aspect-ratio:16/9;min-height:200px;max-height:42vh;
    background:#030507;border:1px solid #263443;border-radius:16px;overflow:hidden;
    box-shadow:0 20px 60px rgba(0,0,0,.36)
  }
  .mobile-youtube-host #youtube-player,
  .mobile-youtube-host iframe{width:100%!important;height:100%!important;min-height:200px!important}

  .mobile-now-copy{text-align:center;padding:20px 8px 12px}
  .mobile-now-copy h2{font-size:22px;line-height:1.1;margin:0 0 6px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  .mobile-now-copy a{color:var(--muted);font-size:12px;text-decoration:none}

  .mobile-now-seek{display:grid;grid-template-columns:38px minmax(0,1fr) 38px;align-items:center;gap:8px}
  .mobile-now-seek span{font-size:9px;color:var(--muted);font-variant-numeric:tabular-nums}
  .mobile-now-seek input,.mobile-volume-row input{width:100%;accent-color:var(--accent)}

  .mobile-main-controls{
    display:grid;grid-template-columns:repeat(5,1fr);align-items:center;gap:5px;
    margin:15px auto 12px;width:min(100%,390px)
  }
  .mobile-main-controls button{
    height:52px;border:0;background:transparent;color:#e9eef5;font-size:15px;border-radius:50%
  }
  .mobile-main-controls .mobile-big-play{
    width:58px;height:58px;justify-self:center;background:linear-gradient(135deg,var(--accent),var(--accent2));
    color:#081006;font-size:19px;font-weight:950
  }

  .mobile-secondary-controls{display:grid;grid-template-columns:repeat(4,1fr);gap:7px;margin-top:4px}
  .mobile-secondary-controls button{
    border:1px solid var(--line);background:#101720;color:#b9c3d0;border-radius:12px;
    min-height:52px;display:grid;place-items:center;align-content:center;gap:2px;font-size:16px
  }
  .mobile-secondary-controls button span{font-size:8px}
  .mobile-secondary-controls button.active{color:var(--accent);border-color:var(--accent)}

  .mobile-volume-row{display:grid;grid-template-columns:36px 1fr;gap:8px;align-items:center;margin:15px 4px 0}
  .mobile-volume-row button{border:0;background:transparent;color:#fff}
  .mobile-official-note{text-align:center;color:#667486;font-size:8px;margin-top:11px}

  /* Library / playlist / artist pages */
  .library-layout,.artist-shell,.browse-shell,.search-shell{display:block!important;padding:10px!important}
  .library-player-side,.artist-now,.browse-now{display:none!important}
  .library-hero{padding:18px!important;border-radius:16px!important}
  .library-hero h1{font-size:28px!important}
  .playlist-shell{display:block!important;padding:10px!important}
  .playlist-sidebar{position:relative!important;top:auto!important;height:auto!important;min-height:0!important;margin-bottom:10px}
  .playlist-now{display:none!important}
  .playlist-detail-hero{grid-template-columns:86px minmax(0,1fr)!important;padding:14px!important}
  .playlist-detail-art{width:86px!important;height:86px!important}
  .playlist-detail-copy h2{font-size:25px!important}
  .artist-hero{grid-template-columns:90px minmax(0,1fr)!important;padding:18px!important}
  .artist-monogram{width:90px!important;height:90px!important;font-size:42px!important}
  .artist-hero-copy h1{font-size:32px!important}
  .browse-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .browse-side{position:relative!important;top:auto!important;display:flex!important;overflow-x:auto!important;margin-bottom:10px}
  .browse-side a{white-space:nowrap}
  .site-footer{margin-bottom:126px!important}
}

@media(max-width:390px){
  .track{min-width:84%!important}
  .browse-grid{grid-template-columns:1fr 1fr!important;gap:8px!important}
  .browse-track-copy{padding:9px!important}
  .mobile-now-copy h2{font-size:20px}
}

/* Tunivo 4.9.1 — mobile repair: visible official video + reliable direct playback */
@media(max-width:700px){
  .mobile-now-sheet{visibility:hidden}
  .mobile-now-sheet.open{visibility:visible}

  .mobile-youtube-host{
    display:block!important;
    position:relative!important;
    width:100%!important;
    aspect-ratio:16/9!important;
    min-height:200px!important;
    background:#000!important;
    overflow:hidden!important;
    pointer-events:auto!important;
  }
  .mobile-youtube-host #youtube-player,
  .mobile-youtube-host iframe#youtube-player{
    display:block!important;
    visibility:visible!important;
    opacity:1!important;
    position:relative!important;
    z-index:2!important;
    width:100%!important;
    height:100%!important;
    min-height:200px!important;
    border:0!important;
    pointer-events:auto!important;
  }

  .mobile-now-sheet.open .mobile-youtube-host{
    opacity:1!important;
    visibility:visible!important;
  }

  .track-play-cover,
  .track-title-button,
  .rising-play-area{
    touch-action:manipulation;
    pointer-events:auto!important;
  }

  /* Mobile sheet owns playback UI; stale desktop player must not cover taps. */
  footer.player{display:none!important}
}

/* Tunivo 4.9.2 — mobile controls, repeat state, in-player playlist picker, Up Next */
.playlist-modal{z-index:12050!important}

@media(max-width:700px){
  .mobile-now-sheet{
    padding-bottom:calc(28px + env(safe-area-inset-bottom))!important;
  }

  .mobile-main-controls button,
  .mobile-secondary-controls button,
  .mobile-volume-row button,
  .mobile-mini-player button{
    touch-action:manipulation;
    -webkit-tap-highlight-color:rgba(200,255,89,.14);
  }

  .mobile-secondary-controls button.active{
    color:var(--accent)!important;
    border-color:rgba(var(--accent-rgb),.78)!important;
    background:rgba(var(--accent-rgb),.10)!important;
    box-shadow:0 0 0 1px rgba(var(--accent-rgb),.08),0 0 22px rgba(var(--accent-rgb),.16);
  }

  #mobileRepeat.active{
    color:var(--accent)!important;
    border-color:var(--accent)!important;
    box-shadow:0 0 24px rgba(var(--accent-rgb),.24);
  }

  #mobileMute.active{color:var(--accent)}

  .mobile-up-next{
    margin-top:20px;padding:16px 0 4px;border-top:1px solid var(--line)
  }
  .mobile-up-next-head{
    display:flex;align-items:flex-end;justify-content:space-between;gap:10px;margin-bottom:10px
  }
  .mobile-up-next-head span{font-size:8px;letter-spacing:.14em;color:var(--accent);font-weight:900}
  .mobile-up-next-head h3{font-size:18px;margin:3px 0 0}
  .mobile-up-next-head small{font-size:9px;color:var(--muted)}
  .mobile-up-next-list{display:grid;gap:7px}
  .mobile-up-next-row{
    width:100%;display:grid;grid-template-columns:30px minmax(0,1fr) 38px;
    gap:8px;align-items:center;text-align:left;border:1px solid var(--line);
    background:#0d141d;color:#fff;border-radius:12px;padding:9px
  }
  .mobile-up-next-row:active{border-color:var(--accent);background:#121c25}
  .mobile-up-next-num{font-size:9px;color:#687586;text-align:center}
  .mobile-up-next-copy{display:grid;min-width:0}
  .mobile-up-next-copy b,.mobile-up-next-copy small{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  .mobile-up-next-copy b{font-size:11px}
  .mobile-up-next-copy small{font-size:9px;color:var(--muted);margin-top:2px}
  .mobile-up-next-play{color:var(--accent);text-align:center}
  .mobile-up-next-empty{
    padding:16px;border:1px dashed var(--line);border-radius:12px;color:var(--muted);font-size:10px;text-align:center
  }
  .mobile-more-links{display:flex;gap:8px;flex-wrap:wrap;margin-top:10px}
  .mobile-more-links a{
    display:inline-flex;align-items:center;min-height:36px;padding:0 11px;
    border:1px solid var(--line);border-radius:10px;color:#dce5ef;font-size:9px;background:#0e151e
  }

  /* Playlist picker appears on top of Now Playing instead of behind the home page. */
  .playlist-modal.from-mobile-player{
    z-index:12050!important;
    align-items:flex-end!important;
    padding:0!important;
    background:rgba(0,0,0,.66)!important;
  }
  .playlist-modal.from-mobile-player .playlist-dialog{
    width:100%!important;max-width:none!important;
    border-radius:22px 22px 0 0!important;
    border-left:0!important;border-right:0!important;border-bottom:0!important;
    padding:10px 14px calc(18px + env(safe-area-inset-bottom))!important;
    max-height:72vh;overflow:auto;background:#0d141d!important;
    box-shadow:0 -20px 60px rgba(0,0,0,.45)
  }
  .playlist-dialog-grip{
    width:42px;height:4px;border-radius:999px;background:#394451;margin:0 auto 10px
  }
  .playlist-choice{min-height:48px}
  .playlist-create{grid-template-columns:minmax(0,1fr) auto!important}
  .playlist-create input{min-width:0!important}
}

/* Tunivo 5.0 — Community & Membership */
.auth-shell{min-height:70vh;display:grid;place-items:center;padding:34px 16px}.auth-card{width:min(520px,100%);border:1px solid var(--line);border-radius:24px;background:var(--panel);padding:28px;box-shadow:var(--shadow)}.auth-brand-mark{width:48px;height:48px;border-radius:14px;display:grid;place-items:center;background:linear-gradient(135deg,var(--accent),var(--accent2));color:#081006;font-weight:950;margin-bottom:20px}.auth-card h1{font-size:36px;margin:7px 0}.auth-card>p{color:var(--muted);line-height:1.6}.auth-form{display:grid;gap:12px;margin-top:20px}.auth-form label{display:grid;gap:6px;color:#cbd4df;font-size:11px;font-weight:800}.auth-form input{height:46px;border:1px solid var(--line);border-radius:12px;background:#0b1118;color:#fff;padding:0 12px;outline:none}.auth-check{grid-template-columns:20px 1fr!important;align-items:start!important;font-weight:500!important;line-height:1.5}.auth-check input{width:16px;height:16px}.auth-check a,.auth-switch a{color:var(--accent)}.auth-submit{width:100%}.auth-switch{text-align:center;font-size:11px}

.community-page{min-height:100vh;background:var(--bg)}.community-topbar{height:66px;display:grid;grid-template-columns:220px 1fr auto;align-items:center;gap:18px;padding:0 18px;border-bottom:1px solid var(--line);background:rgba(8,10,13,.94);position:sticky;top:0;z-index:100}.community-topbar nav{display:flex;gap:6px}.community-topbar nav a,.community-account>a{padding:9px 11px;border-radius:10px;color:#aab5c2;font-size:11px;font-weight:800}.community-topbar nav a.active,.community-topbar nav a:hover{background:#141c25;color:#fff}.community-account{display:flex;align-items:center;gap:6px}.community-account .btn{display:inline-flex;align-items:center}.ghost-link{color:#778494!important}
.community-shell{display:grid;grid-template-columns:270px minmax(0,1fr) 270px;gap:14px;padding:14px;max-width:1600px;margin:0 auto;height:calc(100vh - 66px)}
.community-rooms,.community-people,.community-chat{border:1px solid var(--line);border-radius:18px;background:var(--panel);min-height:0}.community-rooms,.community-people{padding:12px;overflow:auto}.community-chat{display:flex;flex-direction:column;overflow:hidden}.community-side-title,.people-head{padding:8px 8px 12px}.community-side-title span,.people-head span{font-size:8px;letter-spacing:.14em;color:var(--accent);font-weight:900}.community-side-title h2,.people-head h3{margin:4px 0 0}.community-room{display:grid;grid-template-columns:38px minmax(0,1fr) auto;gap:9px;align-items:center;padding:10px;border-radius:12px;margin-bottom:4px}.community-room:hover,.community-room.active{background:#151e28}.community-room.active{box-shadow:inset 3px 0 var(--accent)}.community-room-emoji{width:38px;height:38px;border-radius:10px;display:grid;place-items:center;background:#0c1219}.community-room div:nth-child(2){min-width:0}.community-room b,.community-room small{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.community-room b{font-size:11px}.community-room small{font-size:8px;color:var(--muted);margin-top:2px}.room-activity{font-size:8px;color:#758191}
.community-chat-head{display:flex;justify-content:space-between;gap:14px;align-items:flex-start;padding:18px;border-bottom:1px solid var(--line)}.community-chat-head span{font-size:8px;color:var(--accent);letter-spacing:.12em;font-weight:900}.community-chat-head h1{font-size:25px;margin:5px 0}.community-chat-head p{font-size:10px;color:var(--muted);margin:0}.community-room-status{display:flex;align-items:center;gap:6px;color:#9da9b7;font-size:9px}.community-room-status i{width:7px;height:7px;border-radius:50%;background:#5cff89;box-shadow:0 0 12px #5cff89}
.community-messages{flex:1;overflow-y:auto;padding:15px;scroll-behavior:smooth}.community-loading,.community-empty-chat{color:var(--muted);text-align:center;padding:30px;font-size:10px}.community-message{display:grid;grid-template-columns:38px minmax(0,1fr) 34px;gap:9px;align-items:start;padding:9px;border-radius:12px}.community-message:hover{background:#101720}.community-message.mine{background:rgba(var(--accent-rgb),.035)}.community-msg-avatar{width:38px;height:38px;border-radius:50%;display:grid;place-items:center;font-size:12px;font-weight:950;color:#fff}.community-msg-body{min-width:0}.community-msg-meta{display:flex;gap:8px;align-items:center}.community-msg-meta a{font-size:10px;font-weight:900}.community-msg-meta time{font-size:8px;color:#697584}.community-msg-body p{margin:4px 0 0;color:#dbe2ea;font-size:12px;line-height:1.45;overflow-wrap:anywhere}.community-msg-more{border:0;background:transparent;color:#728091;border-radius:8px;height:30px}.community-msg-more:hover{background:#18212c;color:#fff}
.community-composer{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;padding:12px;border-top:1px solid var(--line);background:#0c1117}.community-composer textarea{resize:none;max-height:120px;border:1px solid var(--line);border-radius:13px;background:#101720;color:#fff;padding:12px;outline:none}.community-composer button{border:0;border-radius:12px;background:linear-gradient(135deg,var(--accent),var(--accent2));color:#071006;padding:0 18px;font-weight:900}.community-composer-note{font-size:8px;color:#657180;padding:0 13px 10px;background:#0c1117}.community-composer-note a{color:#9eabb8}.community-join-box{border-top:1px solid var(--line);padding:16px;display:grid;gap:7px;background:#0d131a}.community-join-box b{font-size:13px}.community-join-box span{font-size:9px;color:var(--muted)}.community-join-box>div{display:flex;gap:7px;margin-top:5px}
.person-card{display:grid;grid-template-columns:38px minmax(0,1fr) auto;gap:8px;align-items:center;padding:9px;border-radius:11px}.person-card:hover{background:#151e28}.person-card i{width:38px;height:38px;border-radius:50%;display:grid;place-items:center;font-style:normal;font-weight:950}.person-card div{min-width:0}.person-card b,.person-card small{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.person-card b{font-size:10px}.person-card small{font-size:8px;color:var(--muted);margin-top:2px}.person-card>span{color:#5cff89;font-size:8px}.community-safety{border:1px solid var(--line);border-radius:12px;background:#0d141c;padding:12px;margin-top:12px}.community-safety b{font-size:10px}.community-safety p{font-size:8px;line-height:1.5;color:var(--muted);margin:5px 0 0}
.community-action-menu{display:none;position:fixed;width:190px;padding:6px;background:#0d141d;border:1px solid var(--line);border-radius:11px;z-index:15000;box-shadow:var(--shadow)}.community-action-menu.open{display:grid}.community-action-menu button{border:0;background:transparent;color:#e4eaf2;text-align:left;padding:9px;border-radius:7px}.community-action-menu button:hover{background:#17212d}
.profile-page,.account-shell{max-width:1000px;margin:0 auto;padding:30px 18px}.profile-hero{display:flex;align-items:center;gap:18px;padding:24px;border:1px solid var(--line);border-radius:22px;background:var(--panel)}.profile-avatar{width:96px;height:96px;border-radius:28px;display:grid;place-items:center;font-size:38px;font-weight:950}.profile-hero h1{font-size:34px;margin:5px 0}.profile-hero p{color:var(--muted)}.profile-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-top:14px}.profile-card{border:1px solid var(--line);border-radius:18px;background:var(--panel);padding:18px}.profile-card h2{font-size:15px}.profile-card p{color:#b7c0ca;line-height:1.6}.profile-card a{color:var(--accent);font-size:10px}.account-shell{display:grid;grid-template-columns:.9fr 1.1fr;gap:20px}.account-divider{border:0;border-top:1px solid var(--line);margin:24px 0}.danger-btn{border-color:#713747!important;color:#ff9aae!important;background:#27131a!important}
@media(max-width:1050px){.community-shell{grid-template-columns:220px minmax(0,1fr)}.community-people{display:none}}
@media(max-width:700px){
 .community-topbar{height:58px;grid-template-columns:auto 1fr auto;padding:0 10px}.community-topbar .brand span,.community-topbar nav{display:none}.community-account>a:first-child{max-width:105px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.community-account .ghost-link{display:none}
 .community-shell{display:block;height:calc(100vh - 58px);padding:0}.community-rooms{display:flex;border:0;border-radius:0;padding:8px;overflow-x:auto;height:auto;background:#0a0f15}.community-side-title{display:none}.community-room{min-width:155px;grid-template-columns:28px minmax(0,1fr);border:1px solid var(--line);margin:0 6px 0 0;padding:8px}.community-room-emoji{width:28px;height:28px}.community-room small,.room-activity{display:none}.community-chat{height:calc(100vh - 126px);border-radius:0;border-left:0;border-right:0;border-bottom:0}.community-chat-head{padding:12px}.community-chat-head h1{font-size:20px}.community-chat-head p{display:none}.community-messages{padding:9px}.community-message{grid-template-columns:34px minmax(0,1fr) 30px;padding:8px 5px}.community-msg-avatar{width:34px;height:34px}.community-msg-body p{font-size:12px}.community-composer{padding:8px}.community-composer button{padding:0 13px}.community-composer-note{display:none}
 .auth-card{padding:20px;border-radius:18px}.auth-card h1{font-size:30px}.profile-grid,.account-shell{grid-template-columns:1fr}.profile-hero{align-items:flex-start}.profile-avatar{width:76px;height:76px;border-radius:22px}
}

/* Tunivo 5.0.2 — unified public navigation */
.global-nav-actions{display:flex;align-items:center;justify-content:flex-end;gap:8px;min-width:0}
.global-primary-actions,.global-account-actions{display:flex;align-items:center;gap:5px}
.global-primary-actions{padding-right:7px;border-right:1px solid var(--line)}
.global-nav-link.active{color:var(--accent)!important;background:rgba(var(--accent-rgb),.08)!important}
.global-nav-icon{display:none}
.global-account-actions .account-profile-link{max-width:150px}
.global-account-actions .account-profile-link span:last-child{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.account-dot{display:inline-block;width:7px;height:7px;border-radius:50%;background:#62ff91;box-shadow:0 0 10px rgba(98,255,145,.5);margin-right:5px}
.join-link{background:linear-gradient(135deg,var(--accent),var(--accent2))!important;color:#081006!important;border-color:transparent!important}
.signout-link{color:#8793a1!important}

.global-legal-topbar{display:grid!important;grid-template-columns:auto minmax(0,1fr) auto!important;gap:18px!important;align-items:center!important}
.legal-global-nav{display:flex!important;justify-content:center!important;gap:5px!important;min-width:0}
.legal-global-nav .top-action-link{font-size:10px!important;padding:8px 10px!important}
.legal-account-nav{display:flex;justify-content:flex-end}
.legal-account-nav .global-account-actions{display:flex}

.community-global-nav{display:flex!important;gap:5px!important;align-items:center}
.community-global-nav .top-action-link{font-size:10px;padding:8px 10px}
.community-account .global-account-actions{display:flex;align-items:center;gap:5px}

@media(max-width:1450px){
  .topbar{grid-template-columns:190px minmax(240px,1fr) auto}
  .global-primary-actions .top-action-link{padding-left:7px;padding-right:7px;font-size:10px}
  .global-account-actions .top-action-link{padding-left:7px;padding-right:7px;font-size:10px}
  .theme-switcher{display:none}
}
@media(max-width:1180px){
  .global-primary-actions .top-action-link:nth-child(4),
  .global-primary-actions .top-action-link:nth-child(5){display:none}
  .global-account-actions .account-profile-link{max-width:110px}
}
@media(max-width:900px){
  .top-right .global-nav-actions{display:none}
  .global-legal-topbar{grid-template-columns:auto minmax(0,1fr) auto!important;padding:8px 10px!important}
  .legal-global-nav{justify-content:flex-start!important;overflow-x:auto}
  .legal-global-nav .top-action-link:nth-child(4),
  .legal-global-nav .top-action-link:nth-child(5){display:none}
  .legal-account-nav .global-account-actions .top-action-link:not(.account-profile-link):not(.join-link){display:none}
  .community-global-nav{overflow-x:auto}
  .community-global-nav .top-action-link:nth-child(4),
  .community-global-nav .top-action-link:nth-child(5){display:none}
  .community-account .global-account-actions .top-action-link:not(.account-profile-link):not(.join-link){display:none}
}
@media(max-width:700px){
  .global-legal-topbar{grid-template-columns:auto minmax(0,1fr)!important}
  .legal-account-nav{display:none!important}
  .legal-global-nav{justify-content:flex-end!important}
  .legal-global-nav .top-action-link{padding:7px 8px!important;font-size:9px!important}
  .legal-global-nav .top-action-link:nth-child(1){display:inline-flex!important}
  .community-topbar{grid-template-columns:auto minmax(0,1fr) auto!important}
  .community-global-nav{display:flex!important;justify-content:center}
  .community-global-nav .top-action-link:nth-child(1),
  .community-global-nav .top-action-link:nth-child(2),
  .community-global-nav .top-action-link:nth-child(4),
  .community-global-nav .top-action-link:nth-child(5){display:none}
  .community-account .global-account-actions .account-profile-link span:last-child{display:none}
}

/* Tunivo 5.0.3 — integrated Community: chat stays inside the music app */
.community-integrated-app{padding-bottom:86px}
.community-integrated-layout{
  grid-template-columns:226px minmax(460px,1fr) 380px!important;
  min-height:calc(100vh - 66px);
  align-items:start
}
.community-left{max-height:calc(100vh - 102px)!important}
.community-room-nav{padding-bottom:8px;border-bottom:1px solid var(--line)}
.community-left-room{gap:7px}
.community-left-room>span:first-child{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}

.community-center{min-width:0}
.community-center-card{
  height:calc(100vh - 102px);
  min-height:620px;
  display:flex;flex-direction:column;
  border:1px solid var(--line);border-radius:20px;background:var(--panel);overflow:hidden
}
.community-chat-head.integrated{flex:0 0 auto;padding:18px 20px}
.community-chat-head.integrated h1{font-size:25px}
.community-head-actions{display:flex;gap:8px;align-items:center}
.community-mobile-music-btn{display:none}
.community-messages.integrated{min-height:0;flex:1;padding:14px 18px}
.community-composer.integrated{flex:0 0 auto}
.community-composer-note.integrated{flex:0 0 auto}
.community-join-box.integrated{flex:0 0 auto}

.community-music-hub{
  position:sticky!important;top:84px!important;
  max-height:calc(100vh - 174px)!important;
  overflow:auto!important;
  display:block!important;
  padding-bottom:12px
}
.community-hub-head{
  display:flex;align-items:flex-start;justify-content:space-between;gap:10px;padding:3px 2px 9px
}
.community-hub-head span{font-size:8px;letter-spacing:.14em;color:var(--accent);font-weight:900}
.community-hub-head h3{font-size:13px;margin:4px 0 0}
.community-hub-head>button{display:none;border:0;background:#17202a;color:#fff;border-radius:50%;width:34px;height:34px}
.community-music-search-card{padding:12px}
.community-music-search-card label{display:block;font-size:9px;font-weight:900;margin-bottom:7px;color:#b9c3cf}
.community-search-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:6px}
.community-search-row input{
  min-width:0;height:38px;border:1px solid var(--line);border-radius:10px;background:#0a1016;color:#fff;padding:0 10px;outline:none
}
.community-search-row button{
  border:0;border-radius:10px;padding:0 10px;background:linear-gradient(135deg,var(--accent),var(--accent2));color:#081006;font-weight:900;font-size:9px
}
.community-music-results{display:grid;gap:5px;margin-top:9px;max-height:250px;overflow:auto}
.community-hub-empty{font-size:9px;color:var(--muted);padding:12px;text-align:center;border:1px dashed var(--line);border-radius:10px}
.community-music-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:4px;align-items:center}
.community-music-row-main{
  min-width:0;border:0;background:#0d141c;color:#fff;border-radius:10px;
  display:grid;grid-template-columns:38px minmax(0,1fr) 24px;gap:8px;align-items:center;padding:6px;text-align:left
}
.community-music-row-main:hover{background:#151f2a}
.community-music-row-main i{width:38px;height:38px;border-radius:8px;background:#18222e;display:grid;place-items:center;overflow:hidden;font-style:normal}
.community-music-row-main i img{width:100%;height:100%;object-fit:cover}
.community-music-row-main>span{min-width:0}
.community-music-row-main b,.community-music-row-main small{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.community-music-row-main b{font-size:10px}.community-music-row-main small{font-size:8px;color:var(--muted);margin-top:2px}
.community-music-row-main em{font-style:normal;color:var(--accent);font-size:10px}
.community-music-row-actions{display:flex;flex-wrap:nowrap;gap:4px;align-items:center;justify-content:flex-end}
.community-music-row-actions button{width:29px;height:29px;border:1px solid var(--line);background:#101720;color:#fff;border-radius:8px}
.community-music-row-actions button:hover{color:var(--accent);border-color:var(--accent)}

@media(max-width:380px){
  .community-music-row{grid-template-columns:1fr}
  .community-music-row-actions{justify-content:flex-end;padding:0 4px 2px}
}


.community-now-card{padding:12px}
.community-hub-card-head{display:flex;justify-content:space-between;gap:8px;align-items:center;margin-bottom:8px}
.community-hub-card-head span{font-size:8px;letter-spacing:.12em;color:var(--accent);font-weight:900}
.community-hub-card-head b{font-size:9px;color:#8995a3;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.community-now-card .youtube-player-shell{margin-top:0}
.community-now-card .youtube-frame{min-height:170px}
.community-mini-controls{display:grid;grid-template-columns:repeat(5,1fr);gap:5px;margin:9px 0}
.community-mini-controls button{
  height:34px;border:1px solid var(--line);background:#101720;color:#dfe6ee;border-radius:9px
}
.community-mini-controls button:nth-child(2){color:#081006;background:linear-gradient(135deg,var(--accent),var(--accent2));border:0}
.community-mini-controls button:hover{border-color:var(--accent);color:var(--accent)}
.community-mini-controls button:nth-child(2):hover{color:#081006}

.community-library-card{padding:10px}
.community-hub-tabs{display:grid;grid-template-columns:repeat(3,1fr);gap:4px;margin-bottom:8px}
.community-hub-tabs button{border:1px solid var(--line);background:#0d141c;color:#84909e;border-radius:9px;height:34px;font-size:8px;font-weight:900}
.community-hub-tabs button.active{color:var(--accent);border-color:rgba(var(--accent-rgb),.5);background:rgba(var(--accent-rgb),.07)}
.community-hub-tab{display:none}.community-hub-tab.active{display:block}
.community-library-list{display:grid;gap:5px;max-height:220px;overflow:auto}
.community-playlist-row{
  width:100%;display:grid;grid-template-columns:32px minmax(0,1fr) 24px;gap:8px;align-items:center;
  border:0;background:#0d141c;color:#fff;border-radius:10px;padding:7px;text-align:left
}
.community-playlist-row>span{width:32px;height:32px;border-radius:8px;background:#17212c;display:grid;place-items:center;color:var(--accent)}
.community-playlist-row div{min-width:0}.community-playlist-row b,.community-playlist-row small{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.community-playlist-row b{font-size:10px}.community-playlist-row small{font-size:8px;color:var(--muted);margin-top:2px}
.community-playlist-row em{font-style:normal;color:var(--accent)}
.community-hub-more{display:block;color:var(--accent);font-size:8px;padding:9px 4px 2px}
.community-people-compact{display:grid;gap:3px}
.person-card.compact{padding:6px}.person-card.compact i{width:32px;height:32px}.person-card.compact{grid-template-columns:32px minmax(0,1fr) auto}

.playlist-modal.from-community{z-index:16000!important}
.community-global-player{z-index:7000}

@media(max-width:1320px){
  .community-integrated-layout{grid-template-columns:190px minmax(430px,1fr) 330px!important}
}
@media(max-width:1080px){
  .community-integrated-layout{grid-template-columns:180px minmax(0,1fr)!important}
  .community-music-hub{
    display:none!important;position:fixed!important;inset:66px 0 0 auto!important;
    width:min(390px,94vw)!important;max-height:none!important;z-index:9000!important;
    background:#080d13;padding:12px;border-left:1px solid var(--line);overflow:auto!important
  }
  .community-music-hub.mobile-open{display:block!important}
  .community-hub-head>button{display:block}
  .community-mobile-music-btn{display:inline-flex}
}
@media(max-width:700px){
  .community-integrated-app{padding-bottom:132px}
  .community-integrated-layout{display:block!important;padding:0!important}
  .community-left{display:flex!important;position:relative!important;top:auto!important;max-height:none!important;overflow-x:auto!important;padding:7px!important;border-bottom:1px solid var(--line)}
  .community-left .nav-block:not(.community-room-nav){display:none}
  .community-left .community-room-nav{display:flex;margin:0;border:0;padding:0}
  .community-left .nav-title{display:none}
  .community-left-room{min-width:max-content;margin:0 5px 0 0!important;border:1px solid var(--line)}
  .community-left-room .count{display:none}
  .community-center-card{height:calc(100vh - 197px);min-height:440px;border-radius:0;border-left:0;border-right:0}
  .community-chat-head.integrated{padding:10px 12px}
  .community-chat-head.integrated h1{font-size:19px;margin:2px 0}
  .community-chat-head.integrated p{display:none}
  .community-messages.integrated{padding:8px 9px}
  .community-music-hub{inset:58px 0 62px auto!important}
}

/* Tunivo 5.0.5 — Community composer visibility + emoji picker */
.community-integrated-layout{
  height:calc(100vh - 152px)!important;
  height:calc(100dvh - 152px)!important;
  min-height:520px!important;
  align-items:stretch!important;
  padding-bottom:0!important;
}
.community-center{
  min-height:0!important;
  height:100%!important;
}
.community-center-card{
  height:100%!important;
  min-height:0!important;
  max-height:100%!important;
}
.community-messages.integrated{
  min-height:0!important;
  overflow-y:auto!important;
  overscroll-behavior:contain;
}
.community-composer.integrated{
  position:relative!important;
  z-index:30!important;
  flex:0 0 auto!important;
  display:grid!important;
  grid-template-columns:40px minmax(0,1fr) 88px!important;
  gap:8px!important;
  align-items:end!important;
  padding:10px 12px!important;
  border-top:1px solid var(--line)!important;
  background:#0b1118!important;
  box-shadow:0 -10px 24px rgba(0,0,0,.16);
}
.community-composer.integrated textarea{
  min-height:42px!important;
  max-height:108px!important;
  width:100%!important;
  min-width:0!important;
  resize:none!important;
  overflow-y:auto!important;
  line-height:1.45!important;
}
.community-send-btn{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  min-width:88px!important;
  height:42px!important;
  align-self:end!important;
  position:relative!important;
  z-index:2!important;
  visibility:visible!important;
  opacity:1!important;
  white-space:nowrap!important;
}
.community-emoji-wrap{
  position:relative;
  align-self:end;
}
.community-emoji-btn{
  width:40px!important;
  height:42px!important;
  border:1px solid var(--line)!important;
  border-radius:11px!important;
  background:#101720!important;
  color:#f6c75b!important;
  font-size:20px!important;
  line-height:1!important;
  cursor:pointer;
}
.community-emoji-btn:hover,
.community-emoji-btn[aria-expanded="true"]{
  border-color:var(--accent)!important;
  background:rgba(var(--accent-rgb),.08)!important;
}
.community-emoji-panel{
  display:none;
  position:absolute;
  left:0;
  bottom:50px;
  width:260px;
  grid-template-columns:repeat(6,1fr);
  gap:5px;
  padding:10px;
  border:1px solid var(--line);
  border-radius:14px;
  background:#0d141d;
  box-shadow:0 18px 48px rgba(0,0,0,.48);
  z-index:16000;
}
.community-emoji-panel.open{display:grid}
.community-emoji-panel button{
  width:34px;
  height:34px;
  border:0;
  border-radius:8px;
  background:transparent;
  font-size:19px;
  cursor:pointer;
}
.community-emoji-panel button:hover{
  background:#17212d;
  transform:scale(1.07);
}
.community-composer-note.integrated{
  position:relative!important;
  z-index:29!important;
  flex:0 0 auto!important;
  padding-bottom:8px!important;
}

/* Keep right Music Hub and left rail inside the visible area above the fixed player. */
.community-left{
  max-height:100%!important;
}
.community-music-hub{
  top:0!important;
  max-height:100%!important;
  height:100%!important;
}

@media(max-width:1320px){
  .community-integrated-layout{
    height:calc(100vh - 152px)!important;
    height:calc(100dvh - 152px)!important;
  }
}
@media(max-width:1080px){
  .community-integrated-layout{
    height:calc(100vh - 146px)!important;
    height:calc(100dvh - 146px)!important;
  }
}
@media(max-width:700px){
  .community-integrated-layout{
    height:auto!important;
    min-height:0!important;
  }
  .community-center-card{
    height:calc(100vh - 206px)!important;
    height:calc(100dvh - 206px)!important;
    min-height:420px!important;
  }
  .community-composer.integrated{
    grid-template-columns:38px minmax(0,1fr) 72px!important;
    gap:6px!important;
    padding:8px!important;
  }
  .community-send-btn{
    min-width:72px!important;
    height:40px!important;
  }
  .community-emoji-btn{
    width:38px!important;
    height:40px!important;
  }
  .community-emoji-panel{
    position:fixed!important;
    left:10px!important;
    right:10px!important;
    bottom:132px!important;
    width:auto!important;
    grid-template-columns:repeat(8,1fr)!important;
  }
  .community-emoji-panel button{
    width:100%!important;
  }
}
@media(max-width:430px){
  .community-emoji-panel{
    grid-template-columns:repeat(6,1fr)!important;
  }
}

/* Tunivo 5.1 — Google AdSense placements */
.google-ad-shell{
  width:100%;
  min-width:0;
  overflow:hidden;
  border:1px solid var(--line);
  border-radius:14px;
  background:#0b1118;
  padding:8px;
  margin:16px 0;
}
.google-ad-label{
  display:block;
  font-size:7px;
  letter-spacing:.12em;
  text-transform:uppercase;
  color:#687483;
  margin:0 0 6px 2px;
}
.google-ad-shell .adsbygoogle{min-height:90px}
.google-ad-home-inline{margin:18px 0}
.google-ad-browse-inline,.google-ad-search-inline{margin:12px 0 18px}
.google-ad-community-rail{margin:24px 0 20px}
.google-ad-community-rail .adsbygoogle{min-height:250px}
@media(max-width:700px){
  .google-ad-shell{border-radius:10px;margin:10px 0;padding:6px}
  .google-ad-shell .adsbygoogle{min-height:100px}
  .google-ad-community-rail .adsbygoogle{min-height:180px}
}

/* Tunivo 5.2.1 — one immutable right-side music player across the public app */
.tunivo-fixed-now-card{position:relative}
.tunivo-fixed-youtube-shell{margin-top:8px}
.tunivo-fixed-now-meta{margin-top:9px}
.tunivo-right-mini-controls{
  display:grid;grid-template-columns:repeat(5,1fr);gap:6px;margin:10px 0 6px
}
.tunivo-right-mini-controls button{
  height:34px;border:1px solid var(--line);border-radius:9px;background:#101720;color:#dce5ee;cursor:pointer
}
.tunivo-right-mini-controls button:hover{border-color:var(--accent);color:var(--accent)}
.tunivo-right-mini-controls #rightPlayBtn{background:linear-gradient(135deg,var(--accent),var(--accent2));color:#081006;border:0}
.tunivo-right-mini-controls #rightLikeBtn.active,
#playerLike.active,
#communityLikeCurrent.active,
[data-like-track].active,
[data-tunivo-like].active,
.track-action.active,
.artist-track-action.active,
.library-icon-btn.active{
  color:#ff4778!important;
  border-color:#ff4778!important;
  background:rgba(255,71,120,.10)!important;
  text-shadow:0 0 14px rgba(255,71,120,.38);
}
.google-ad-right-rail{margin-top:10px}
.browse-now .tunivo-fixed-now-card,
.artist-now .tunivo-fixed-now-card,
.library-player-side .tunivo-fixed-now-card,
.playlist-now .tunivo-fixed-now-card,
.community-music-hub .tunivo-fixed-now-card{
  width:100%;
}

/* Tunivo 5.2.2 — password recovery */
.auth-password-help{
  display:flex;
  justify-content:flex-end;
  margin:-5px 0 4px;
}
.auth-password-help a,
.auth-help-note a{
  color:var(--accent);
  font-size:10px;
}
.auth-help-note{
  color:var(--muted);
  font-size:10px;
  line-height:1.55;
  margin:14px 0 0;
}


/* Tunivo 5.2.5 — stable desktop rail; real page navigation remains intact for ad page-load requests */
:root{
  --tunivo-right-rail:380px;
  --tunivo-page-gap:16px;
}
@media (min-width:1500px){
  .layout{
    grid-template-columns:210px minmax(0,1fr) var(--tunivo-right-rail)!important;
    gap:var(--tunivo-page-gap)!important;
    width:100%!important;
    max-width:none!important;
  }
  .browse-shell,.search-shell{
    grid-template-columns:210px minmax(0,1fr) var(--tunivo-right-rail)!important;
    gap:var(--tunivo-page-gap)!important;
    width:100%!important;max-width:none!important;
  }
  .artist-shell,.library-layout{
    grid-template-columns:minmax(0,1fr) var(--tunivo-right-rail)!important;
    gap:var(--tunivo-page-gap)!important;
    width:100%!important;max-width:none!important;
  }
  .playlist-shell{
    grid-template-columns:270px minmax(0,1fr) var(--tunivo-right-rail)!important;
    gap:var(--tunivo-page-gap)!important;
    width:100%!important;max-width:none!important;
  }
  .community-integrated-layout{
    grid-template-columns:226px minmax(460px,1fr) var(--tunivo-right-rail)!important;
    gap:var(--tunivo-page-gap)!important;
  }
}
@media (min-width:1250px) and (max-width:1499px){
  :root{--tunivo-right-rail:340px}
  .layout{grid-template-columns:210px minmax(0,1fr) var(--tunivo-right-rail)!important}
  .browse-shell,.search-shell{grid-template-columns:200px minmax(0,1fr) var(--tunivo-right-rail)!important;max-width:none!important}
  .artist-shell,.library-layout{grid-template-columns:minmax(0,1fr) var(--tunivo-right-rail)!important;max-width:none!important}
  .playlist-shell{grid-template-columns:240px minmax(0,1fr) var(--tunivo-right-rail)!important;max-width:none!important}
  .community-integrated-layout{grid-template-columns:200px minmax(430px,1fr) var(--tunivo-right-rail)!important}
}

/* Exactly the same music card dimensions on every desktop page. */
@media (min-width:1001px){
  .right,.browse-now,.artist-now,.library-player-side,.playlist-now,.community-music-hub{
    width:100%!important;
    min-width:0!important;
  }
  .tunivo-fixed-now-card{
    box-sizing:border-box!important;
    width:100%!important;
    height:390px!important;
    min-height:390px!important;
    max-height:390px!important;
    padding:12px!important;
    display:flex!important;
    flex-direction:column!important;
    overflow:hidden!important;
    border:1px solid #263746!important;
    border-radius:16px!important;
    background:linear-gradient(180deg,#101720,#0b1118)!important;
    box-shadow:0 14px 36px rgba(0,0,0,.18)!important;
  }
  .tunivo-fixed-now-card .now-card-head{flex:0 0 auto}
  .tunivo-fixed-youtube-shell{
    flex:0 0 auto!important;
    margin-top:8px!important;
    padding:6px!important;
    border:1px solid #31465a!important;
    border-radius:14px!important;
    background:#080d12!important;
    overflow:hidden!important;
  }
  .tunivo-fixed-youtube-shell .player-label{
    padding:0 2px 6px!important;
  }
  .tunivo-fixed-youtube-shell .youtube-frame,
  .tunivo-fixed-youtube-shell .pro-youtube-frame{
    display:block!important;
    width:100%!important;
    height:auto!important;
    min-height:0!important;
    aspect-ratio:16/9!important;
    border:1px solid #223647!important;
    border-radius:10px!important;
    overflow:hidden!important;
    background:#05080b!important;
  }
  .tunivo-fixed-youtube-shell #youtube-player,
  .tunivo-fixed-youtube-shell #youtube-player iframe{
    display:block!important;
    width:100%!important;
    height:100%!important;
    min-height:0!important;
    border:0!important;
  }
  .tunivo-fixed-now-meta{
    flex:0 0 auto!important;
    min-height:40px!important;
    display:grid!important;
    align-content:center!important;
    gap:2px!important;
    margin:8px 0 0!important;
  }
  .tunivo-fixed-now-meta b,
  .tunivo-fixed-now-meta a{
    white-space:nowrap!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
  }
  .tunivo-right-mini-controls{flex:0 0 34px!important;margin:7px 0 6px!important}
  .tunivo-fixed-now-card .now-status-row{margin-top:auto!important;flex:0 0 auto!important}
  .google-ad-right-rail{
    width:100%!important;
    min-height:120px!important;
    margin:10px 0 0!important;
  }
}

/* We deliberately do NOT auto-refresh Google ads when track/queue state changes. */
.google-ad-right-rail .adsbygoogle{min-height:100px}


/* Tunivo 5.2.6 — mobile artist / “Sanatçıdan daha fazla” repair */
@media (max-width:700px){
  body.artist-page,
  .artist-page{overflow-x:hidden!important}

  .artist-shell{
    display:block!important;
    width:100%!important;
    max-width:none!important;
    padding:10px!important;
    margin:0!important;
  }

  .artist-main{
    width:100%!important;
    min-width:0!important;
    overflow:hidden!important;
  }

  /* Desktop right rail is intentionally hidden on mobile; player lives in mobile Now Playing sheet. */
  .artist-now{display:none!important}

  .artist-hero{
    min-height:0!important;
    display:grid!important;
    grid-template-columns:1fr!important;
    gap:14px!important;
    align-items:start!important;
    padding:16px!important;
    border-radius:18px!important;
    overflow:hidden!important;
  }

  .artist-monogram{
    width:86px!important;
    height:86px!important;
    min-width:86px!important;
    border-radius:22px!important;
    font-size:40px!important;
    box-shadow:none!important;
  }

  .artist-hero-copy{
    min-width:0!important;
    width:100%!important;
  }

  .artist-eyebrow{
    font-size:8px!important;
    line-height:1.2!important;
  }

  .artist-hero-copy h1{
    width:100%!important;
    max-width:100%!important;
    font-size:34px!important;
    line-height:1.02!important;
    margin:7px 0 8px!important;
    overflow-wrap:anywhere!important;
    word-break:break-word!important;
  }

  .artist-hero-copy>p{
    font-size:11px!important;
    line-height:1.5!important;
    overflow-wrap:anywhere!important;
  }

  .artist-hero-actions{
    display:grid!important;
    grid-template-columns:1fr 1fr!important;
    gap:8px!important;
    width:100%!important;
    margin-top:13px!important;
  }

  .artist-hero-actions .btn,
  .artist-hero-actions button,
  .artist-hero-actions a{
    width:100%!important;
    min-width:0!important;
    min-height:42px!important;
    justify-content:center!important;
    text-align:center!important;
    padding:0 10px!important;
  }

  .artist-disclaimer{
    max-width:100%!important;
    font-size:9px!important;
    line-height:1.45!important;
    margin-top:12px!important;
  }

  .artist-track-section{
    width:100%!important;
    margin-top:12px!important;
    border-radius:16px!important;
    overflow:hidden!important;
  }

  .artist-track-section .section-head{
    padding:14px!important;
  }

  .artist-track-section .section-head h2,
  .artist-track-section .section-head h3{
    font-size:18px!important;
    line-height:1.15!important;
  }

  .artist-track-list{
    width:100%!important;
    padding:0 7px 9px!important;
    overflow:hidden!important;
  }

  .artist-track-row{
    display:grid!important;
    grid-template-columns:38px 48px minmax(0,1fr) 36px 36px!important;
    gap:7px!important;
    width:100%!important;
    min-width:0!important;
    align-items:center!important;
    padding:8px 5px!important;
  }

  .artist-track-index{
    width:38px!important;
    height:38px!important;
  }

  .artist-track-cover{
    width:48px!important;
    height:48px!important;
    min-width:48px!important;
    border-radius:9px!important;
    overflow:hidden!important;
  }

  .artist-track-main,
  .artist-track-copy,
  .artist-track-play{
    min-width:0!important;
  }

  .artist-track-main b,
  .artist-track-main span,
  .artist-track-copy b,
  .artist-track-copy span,
  .artist-track-play b,
  .artist-track-play span{
    display:block!important;
    max-width:100%!important;
    white-space:nowrap!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
  }

  .artist-track-main b,
  .artist-track-copy b,
  .artist-track-play b{
    font-size:11px!important;
  }

  .artist-track-main span,
  .artist-track-copy span,
  .artist-track-play span{
    font-size:9px!important;
  }

  .artist-track-action{
    width:36px!important;
    height:36px!important;
    min-width:36px!important;
    padding:0!important;
    border-radius:10px!important;
  }

  /* Keep like + playlist, hide only the overflow menu on very small screens. */
  .artist-track-action:last-child{display:none!important}

  .artist-empty{
    padding:22px 14px!important;
    text-align:center!important;
  }
}

@media (max-width:420px){
  .artist-hero-actions{grid-template-columns:1fr!important}
  .artist-hero-copy h1{font-size:30px!important}
  .artist-track-row{
    grid-template-columns:34px 44px minmax(0,1fr) 34px 34px!important;
    gap:5px!important;
  }
  .artist-track-index{width:34px!important;height:34px!important}
  .artist-track-cover{width:44px!important;height:44px!important;min-width:44px!important}
  .artist-track-action{width:34px!important;height:34px!important;min-width:34px!important}
}

/* Tunivo 5.2.7 — mobile volume control */
#mobileVolume{
  --mobile-volume:100%;
  width:100%;
  min-width:0;
  height:28px;
  margin:0;
  touch-action:pan-x;
  cursor:pointer;
  -webkit-tap-highlight-color:transparent;
  accent-color:var(--accent);
}
#mobileVolume::-webkit-slider-runnable-track{
  height:5px;
  border-radius:999px;
  background:linear-gradient(to right,var(--accent) 0 var(--mobile-volume),#2a3543 var(--mobile-volume) 100%);
}
#mobileVolume::-webkit-slider-thumb{
  -webkit-appearance:none;
  appearance:none;
  width:18px;height:18px;
  margin-top:-6.5px;
  border-radius:50%;
  border:2px solid #fff;
  background:var(--accent);
  box-shadow:0 2px 8px rgba(0,0,0,.35);
}
#mobileVolume::-moz-range-track{
  height:5px;border-radius:999px;background:#2a3543;
}
#mobileVolume::-moz-range-progress{
  height:5px;border-radius:999px;background:var(--accent);
}
#mobileVolume::-moz-range-thumb{
  width:18px;height:18px;border-radius:50%;border:2px solid #fff;background:var(--accent);
}
.mobile-volume-row{
  grid-template-columns:42px minmax(0,1fr)!important;
  align-items:center!important;
  gap:10px!important;
}


/* Phase 5.4.1 — compact 14-color global theme selector */
.theme-switcher-14{
  display:grid;
  grid-template-columns:repeat(7,14px);
  grid-template-rows:repeat(2,14px);
  gap:4px 5px;
  padding:5px 7px;
  border-radius:14px;
}
.theme-switcher-14 .theme-dot{
  width:14px;
  height:14px;
  border-width:1px;
  box-shadow:0 0 0 1px rgba(255,255,255,.07);
}
.theme-switcher-14 .theme-dot.active{
  border-color:#fff;
  box-shadow:0 0 0 2px rgba(255,255,255,.11),0 0 11px rgba(var(--accent-rgb),.32);
}
.theme-dot[data-theme=lime]{background:linear-gradient(135deg,#b9ff58,#62def7)}
.theme-dot[data-theme=sunset]{background:linear-gradient(135deg,#ff5f6d,#ffc371)}
.theme-dot[data-theme=violet]{background:linear-gradient(135deg,#a77bff,#62def7)}
.theme-dot[data-theme=mono]{background:linear-gradient(135deg,#f5f7fa,#8b98a6)}
.theme-dot[data-theme=ocean]{background:linear-gradient(135deg,#35d0ba,#2d9cff)}
.theme-dot[data-theme=aurora]{background:linear-gradient(135deg,#72ffb6,#7a7cff)}
.theme-dot[data-theme=ember]{background:linear-gradient(135deg,#ff7a18,#ff3d81)}
.theme-dot[data-theme=sakura]{background:linear-gradient(135deg,#ff88b7,#ffd1dc)}
.theme-dot[data-theme=electric]{background:linear-gradient(135deg,#00e5ff,#4b6cff)}
.theme-dot[data-theme=mint]{background:linear-gradient(135deg,#7cf6c8,#d7ff74)}
.theme-dot[data-theme=gold]{background:linear-gradient(135deg,#ffd166,#ff9f43)}
.theme-dot[data-theme=ruby]{background:linear-gradient(135deg,#ff3b5c,#9b1cff)}
.theme-dot[data-theme=arctic]{background:linear-gradient(135deg,#d9f7ff,#7ad7f0)}
.theme-dot[data-theme=midnight]{background:linear-gradient(135deg,#7cff00,#9d4edd)}


/* Tunivo 5.4.6 — one global like state across every public surface */
button[onclick*="tunivoLikeElement"].active,
.artist-track-action.active,
.track-action.active,
[data-like-track].active,
[data-tunivo-like].active,
#playerLike.active,
#rightLikeBtn.active,
#communityLikeCurrent.active{
  color:#ff4778!important;
  border-color:#ff4778!important;
  background:rgba(255,71,120,.12)!important;
  box-shadow:inset 0 0 0 1px rgba(255,71,120,.08);
}

/* Tunivo 5.4.7 — bulk shuffle play */
.bulk-play-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.shuffle-play-btn{
  border-color:rgba(var(--accent2-rgb),.34)!important;
  color:#eaf8fb!important;
  background:linear-gradient(135deg,rgba(var(--accent2-rgb),.09),rgba(var(--accent-rgb),.05))!important;
}
.shuffle-play-btn:hover{
  border-color:var(--accent2)!important;
  color:var(--accent2)!important;
}
@media(max-width:700px){
  .bulk-play-actions{width:100%;display:grid;grid-template-columns:1fr 1fr}
  .bulk-play-actions .btn{width:100%}
  .artist-hero-actions{grid-template-columns:1fr 1fr!important}
}


/* Tunivo 5.6 — SEO track detail */
.track-title-button,.browse-track-title,.artist-track-title{text-decoration:none;color:inherit}
a.track-title-button:hover,a.browse-track-title:hover,a.artist-track-title:hover{color:var(--accent)}
.track-detail-page{min-height:100vh}
.track-detail-shell{width:min(1180px,100%);margin:0 auto;padding:28px 20px 120px}
.track-detail-hero{display:grid;grid-template-columns:280px minmax(0,1fr);gap:32px;align-items:center;border:1px solid var(--line);background:linear-gradient(145deg,#101720,#0b1016);border-radius:26px;padding:28px;overflow:hidden}
.track-detail-cover{aspect-ratio:1;border-radius:24px;overflow:hidden;background:linear-gradient(135deg,var(--accent),var(--accent2));display:grid;place-items:center;font-size:72px;font-weight:950;color:#081009}
.track-detail-cover img{width:100%;height:100%;object-fit:cover}
.track-detail-copy h1{font-size:clamp(38px,6vw,72px);line-height:.95;letter-spacing:-.05em;margin:10px 0 12px}
.track-detail-artist{display:inline-block;font-size:20px;font-weight:900;color:#dfe7ef;margin-bottom:8px}
.track-detail-copy>p{color:var(--muted);font-size:11px}
.track-detail-info{display:grid;grid-template-columns:repeat(4,1fr);gap:9px;margin:14px 0 26px}
.track-detail-info>div{border:1px solid var(--line);border-radius:14px;background:var(--panel);padding:14px;display:grid;gap:5px}
.track-detail-info small{font-size:8px;color:var(--muted);letter-spacing:.12em}.track-detail-info b,.track-detail-info a{font-size:11px;font-weight:850}
.track-related{margin-top:24px}
@media(max-width:760px){
 .track-detail-shell{padding:12px 10px 120px}.track-detail-hero{grid-template-columns:1fr;padding:16px;border-radius:20px;gap:18px}
 .track-detail-cover{width:min(78vw,300px);margin:0 auto}.track-detail-copy h1{font-size:42px}
 .track-detail-info{grid-template-columns:1fr 1fr}
}

.artist-track-main a{color:inherit;text-decoration:none;min-width:0}.artist-track-main a:hover{color:var(--accent)}

/* Tunivo 5.7 — language switcher */
.language-switcher{display:inline-flex;align-items:center;gap:3px;padding:3px;border:1px solid var(--line);border-radius:10px;background:#0c1218}
.language-switch{min-width:29px;height:27px;padding:0 7px;border-radius:7px;display:grid;place-items:center;color:#8593a2;text-decoration:none;font-size:8px;font-weight:950;letter-spacing:.08em}
.language-switch:hover{color:#fff;background:#151e27}.language-switch.active{background:color-mix(in srgb,var(--accent) 12%,#111820);color:var(--accent)}
@media(max-width:700px){.language-switcher{padding:2px}.language-switch{min-width:27px;height:25px}}

/* Tunivo 5.7.5 — track-detail handoff to artist player */
.artist-track-row.artist-track-autoplay{outline:1px solid color-mix(in srgb,var(--accent) 70%,transparent);box-shadow:0 0 0 3px color-mix(in srgb,var(--accent) 9%,transparent)}

/* Tunivo 5.7.6 — internal-link & library interaction pass */
.playlist-row-cover.playlist-row-play-target{border:0;padding:0;cursor:pointer;color:inherit}
.playlist-track-link,.playlist-artist-link,.library-track-title-link,.library-artist-link{text-decoration:none;color:inherit}
.playlist-track-link{font-weight:800;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.playlist-track-link:hover,.library-track-title-link:hover{color:var(--accent)}
.playlist-title-play,.library-track-title-link.library-title-play{border:0;background:transparent;padding:0;text-align:left;font:inherit;font-weight:800;cursor:pointer}
.playlist-artist-link,.library-artist-link{font-size:10px;color:var(--muted)}
.playlist-artist-link:hover,.library-artist-link:hover{color:var(--accent);text-decoration:underline}
.library-row-cover.library-cover-play{border:0;padding:0;cursor:pointer;background:transparent}
.library-track-title-link{font-weight:800;display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}


/* Tunivo 5.7.9 — sidebar geometry unified to the homepage reference grid.
   All desktop pages that expose left/right rails now share the same responsive widths. */
:root{
  --tunivo-left-rail:210px;
  --tunivo-right-rail:380px;
  --tunivo-page-gap:16px;
}

@media (min-width:1500px){
  :root{--tunivo-left-rail:210px;--tunivo-right-rail:380px}
  .layout,
  .browse-shell,
  .search-shell,
  .community-integrated-layout{
    grid-template-columns:var(--tunivo-left-rail) minmax(0,1fr) var(--tunivo-right-rail)!important;
    gap:var(--tunivo-page-gap)!important;
    width:100%!important;
    max-width:none!important;
  }
}

@media (min-width:1250px) and (max-width:1499px){
  :root{--tunivo-left-rail:210px;--tunivo-right-rail:340px}
  .layout,
  .browse-shell,
  .search-shell,
  .community-integrated-layout{
    grid-template-columns:var(--tunivo-left-rail) minmax(0,1fr) var(--tunivo-right-rail)!important;
    gap:var(--tunivo-page-gap)!important;
    width:100%!important;
    max-width:none!important;
  }
}

@media (min-width:1201px) and (max-width:1249px){
  :root{--tunivo-left-rail:190px;--tunivo-right-rail:300px}
  .layout,
  .browse-shell,
  .search-shell,
  .community-integrated-layout{
    grid-template-columns:var(--tunivo-left-rail) minmax(0,1fr) var(--tunivo-right-rail)!important;
    gap:14px!important;
    width:100%!important;
    max-width:none!important;
  }
}

@media (min-width:901px) and (max-width:1200px){
  :root{--tunivo-left-rail:190px}
  .layout,
  .browse-shell,
  .search-shell,
  .community-integrated-layout{
    grid-template-columns:var(--tunivo-left-rail) minmax(0,1fr)!important;
    gap:14px!important;
    width:100%!important;
    max-width:none!important;
  }
  .right,
  .browse-now,
  .artist-now,
  .library-player-side,
  .playlist-now,
  .community-music-hub{
    display:none!important;
  }
}

/* Left navigation panels use the homepage rail footprint instead of page-specific widths. */
@media (min-width:901px){
  .left,
  .browse-side,
  .community-left{
    width:100%!important;
    min-width:0!important;
    max-width:none!important;
  }
  .browse-side{
    padding:0!important;
    border:0!important;
    background:transparent!important;
    border-radius:0!important;
  }
  .browse-side .nav-title{margin-left:10px}
  .browse-side a{
    display:flex;
    align-items:center;
    min-height:36px;
    padding:9px 10px!important;
    border-radius:11px!important;
    font-size:12px!important;
    font-weight:700;
  }
  .browse-side a:hover,
  .browse-side a.active{
    background:rgba(var(--accent-rgb),.07)!important;
    color:#fff!important;
  }
  .browse-side a.active{box-shadow:inset 3px 0 var(--accent)}
}

/* Right-side cards inherit the same footprint on every desktop page. */
@media (min-width:1201px){
  .right,
  .browse-now,
  .artist-now,
  .library-player-side,
  .playlist-now,
  .community-music-hub{
    width:var(--tunivo-right-rail)!important;
    min-width:var(--tunivo-right-rail)!important;
    max-width:var(--tunivo-right-rail)!important;
  }
}


/* Tunivo 5.7.9 final rail matrix — covers pages with one-sided and two-sided rails too. */
@media (min-width:1500px){
  .playlist-shell{
    grid-template-columns:var(--tunivo-left-rail) minmax(0,1fr) var(--tunivo-right-rail)!important;
    gap:var(--tunivo-page-gap)!important;width:100%!important;max-width:none!important;
  }
  .artist-shell,.library-layout{
    grid-template-columns:minmax(0,1fr) var(--tunivo-right-rail)!important;
    gap:var(--tunivo-page-gap)!important;width:100%!important;max-width:none!important;
  }
}
@media (min-width:1250px) and (max-width:1499px){
  .playlist-shell{
    grid-template-columns:var(--tunivo-left-rail) minmax(0,1fr) var(--tunivo-right-rail)!important;
    gap:var(--tunivo-page-gap)!important;width:100%!important;max-width:none!important;
  }
  .artist-shell,.library-layout{
    grid-template-columns:minmax(0,1fr) var(--tunivo-right-rail)!important;
    gap:var(--tunivo-page-gap)!important;width:100%!important;max-width:none!important;
  }
}
@media (min-width:1201px) and (max-width:1249px){
  .playlist-shell{
    grid-template-columns:var(--tunivo-left-rail) minmax(0,1fr) var(--tunivo-right-rail)!important;
    gap:14px!important;width:100%!important;max-width:none!important;
  }
  .artist-shell,.library-layout{
    grid-template-columns:minmax(0,1fr) var(--tunivo-right-rail)!important;
    gap:14px!important;width:100%!important;max-width:none!important;
  }
}
@media (min-width:901px) and (max-width:1200px){
  .playlist-shell{
    grid-template-columns:var(--tunivo-left-rail) minmax(0,1fr)!important;
    gap:14px!important;width:100%!important;max-width:none!important;
  }
  .artist-shell,.library-layout{
    grid-template-columns:minmax(0,1fr)!important;
    width:100%!important;max-width:none!important;
  }
}
@media (min-width:901px){
  .playlist-sidebar{width:100%!important;min-width:0!important;max-width:none!important}
}


/* Tunivo 5.7.9.1 — genre-aware "Beni Şaşırt" */
.surprise-pref-btn{color:var(--accent);border-color:rgba(var(--accent-rgb),.35)}
.surprise-modal{position:fixed;inset:0;z-index:18000;display:none;place-items:center;padding:18px;background:rgba(0,0,0,.72);backdrop-filter:blur(7px)}
.surprise-modal.open{display:grid}
body.surprise-modal-open{overflow:hidden}
.surprise-dialog{width:min(680px,100%);max-height:min(760px,90vh);overflow:auto;background:#0d141c;border:1px solid var(--line);border-radius:22px;padding:20px;box-shadow:0 28px 90px rgba(0,0,0,.55)}
.surprise-dialog-head{display:flex;align-items:flex-start;justify-content:space-between;gap:18px}
.surprise-kicker{display:block;color:var(--accent);font-size:9px;line-height:1;font-weight:950;letter-spacing:.16em;margin-bottom:8px}
.surprise-dialog h3{margin:0;font-size:24px;line-height:1.12}
.surprise-close{border:0;background:transparent;color:#fff;font-size:28px;line-height:1;cursor:pointer;padding:2px 6px;border-radius:8px}
.surprise-close:hover{background:var(--panel2);color:var(--accent)}
.surprise-help{margin:10px 0 14px;color:var(--muted);font-size:11px;line-height:1.6}
.surprise-tools{display:flex;gap:8px;margin-bottom:12px}
.surprise-tools button{border:1px solid var(--line);background:var(--panel2);color:#dfe7ef;border-radius:9px;padding:7px 10px;font-size:10px;font-weight:800;cursor:pointer}
.surprise-tools button:hover{border-color:rgba(var(--accent-rgb),.55);color:var(--accent)}
.surprise-genre-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.surprise-genre-choice{position:relative;cursor:pointer}
.surprise-genre-choice input{position:absolute;opacity:0;pointer-events:none}
.surprise-genre-choice span{display:flex;align-items:center;min-height:42px;padding:0 12px;border:1px solid var(--line);border-radius:11px;background:#101923;color:#cdd6df;font-size:11px;font-weight:850;transition:.16s ease}
.surprise-genre-choice input:checked+span{border-color:var(--accent);background:rgba(var(--accent-rgb),.11);color:var(--accent);box-shadow:inset 0 0 0 1px rgba(var(--accent-rgb),.18)}
.surprise-genre-choice input:focus-visible+span{outline:2px solid var(--accent);outline-offset:2px}
.surprise-dialog-foot{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:16px;padding-top:14px;border-top:1px solid var(--line)}
#surpriseGenreStatus{color:var(--muted);font-size:10px}
#surpriseGenreStatus.error{color:#ff8093}
@media(max-width:700px){
  .surprise-modal{align-items:end;padding:0}
  .surprise-dialog{width:100%;max-height:82vh;border-radius:22px 22px 0 0;border-left:0;border-right:0;border-bottom:0;padding:18px 14px calc(18px + env(safe-area-inset-bottom))}
  .surprise-genre-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .surprise-dialog-foot{align-items:stretch;flex-direction:column}
  .surprise-dialog-foot .btn{width:100%}
}


/* Tunivo 5.7.10 — category radios */
.genre-radio-section{overflow:hidden}
.genre-radio-row{
  display:grid;
  grid-auto-flow:column;
  grid-auto-columns:minmax(188px,1fr);
  gap:10px;
  overflow-x:auto;
  padding:2px 2px 8px;
  scroll-snap-type:x proximity;
  scrollbar-width:thin;
}
.genre-radio-card{
  --genre-radio-hue:100;
  position:relative;
  min-height:148px;
  scroll-snap-align:start;
  text-align:left;
  border:1px solid color-mix(in srgb,hsl(var(--genre-radio-hue) 86% 62%) 24%,var(--line));
  border-radius:16px;
  padding:15px;
  overflow:hidden;
  cursor:pointer;
  color:#f4f8fb;
  background:
    radial-gradient(circle at 100% 0%,hsl(var(--genre-radio-hue) 88% 58% / .16),transparent 48%),
    linear-gradient(155deg,#111a23,#0b1017 72%);
  transition:transform .16s ease,border-color .16s ease,box-shadow .16s ease;
}
.genre-radio-card::after{
  content:'';
  position:absolute;
  width:82px;height:82px;
  border:14px solid hsl(var(--genre-radio-hue) 78% 58% / .08);
  border-radius:50%;
  right:-18px;bottom:-22px;
  box-shadow:0 0 0 9px hsl(var(--genre-radio-hue) 78% 58% / .035);
}
.genre-radio-card:hover,.genre-radio-card:focus-visible{
  transform:translateY(-2px);
  border-color:hsl(var(--genre-radio-hue) 80% 62% / .55);
  box-shadow:0 14px 34px rgba(0,0,0,.25);
  outline:none;
}
.genre-radio-live{
  position:relative;z-index:1;
  display:flex;align-items:center;gap:6px;
  color:hsl(var(--genre-radio-hue) 86% 68%);
  font-size:8px;font-weight:950;letter-spacing:.13em;
}
.genre-radio-live i{
  width:6px;height:6px;border-radius:50%;
  background:hsl(var(--genre-radio-hue) 86% 62%);
  box-shadow:0 0 10px hsl(var(--genre-radio-hue) 86% 62% / .75);
}
.genre-radio-card strong{
  position:relative;z-index:1;display:block;
  margin-top:17px;font-size:18px;line-height:1.1;
}
.genre-radio-copy,.genre-radio-meta{
  position:relative;z-index:1;display:block;
}
.genre-radio-copy{margin-top:6px;color:#aeb9c5;font-size:10px;font-weight:700}
.genre-radio-meta{margin-top:12px;color:#6f7f8d;font-size:9px}
.genre-radio-play{
  position:absolute;z-index:2;right:13px;top:13px;
  width:31px;height:31px;display:grid;place-items:center;
  border-radius:50%;
  background:hsl(var(--genre-radio-hue) 82% 60% / .13);
  border:1px solid hsl(var(--genre-radio-hue) 82% 60% / .28);
  color:hsl(var(--genre-radio-hue) 86% 72%);
  font-size:11px;padding-left:2px;
}
.browse-genre-radio-btn{margin-top:14px}
@media(max-width:700px){
  .genre-radio-row{grid-auto-columns:minmax(72vw,1fr)}
  .genre-radio-card{min-height:136px}
}


/* Tunivo 5.7.10.1 — compact fixed right player header/control protection */
@media (min-width:1001px){
  .tunivo-fixed-now-card .now-card-head{
    min-height:30px!important;
    max-height:30px!important;
    margin-bottom:0!important;
    align-items:flex-start!important;
    overflow:hidden!important;
  }
  .tunivo-fixed-now-card .now-card-head>div{
    min-width:0!important;
    flex:1 1 auto!important;
    overflow:hidden!important;
  }
  .tunivo-fixed-now-card #nowQueueName{
    display:block!important;
    width:100%!important;
    max-width:100%!important;
    white-space:nowrap!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
    line-height:1.2!important;
    font-size:11px!important;
  }
  .tunivo-fixed-now-card .source-pill{
    flex:0 0 auto!important;
    margin-left:6px!important;
  }
  .tunivo-fixed-youtube-shell{
    margin-top:6px!important;
  }
  .tunivo-fixed-now-meta{
    min-height:34px!important;
    margin-top:6px!important;
  }
  .tunivo-right-mini-controls{
    flex:0 0 36px!important;
    min-height:36px!important;
    margin:5px 0 4px!important;
    gap:6px!important;
  }
  .tunivo-right-mini-controls button{
    height:36px!important;
    min-height:36px!important;
    padding:0!important;
  }
  .tunivo-fixed-now-card .now-status-row{
    min-height:14px!important;
    max-height:16px!important;
    margin-top:2px!important;
    overflow:hidden!important;
  }
}


/* Tunivo 5.7.10.2 — right player vertical compaction
   Keep status visible inside the YouTube label instead of consuming a separate row. */
.tunivo-inline-player-status{
  display:inline-flex;
  align-items:center;
  justify-content:flex-end;
  gap:6px;
  min-width:0;
  color:var(--muted);
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.tunivo-inline-player-status .status-dot{
  flex:0 0 6px;
}
.tunivo-inline-player-status #radioStatus{
  margin:0!important;
  font-size:9px!important;
  line-height:1!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
}
@media (min-width:1001px){
  .tunivo-fixed-now-card .now-status-row{display:none!important}
  .tunivo-fixed-youtube-shell .player-label{
    min-height:18px!important;
    max-height:18px!important;
    padding:0 2px 5px!important;
  }
  .tunivo-fixed-now-meta{
    min-height:32px!important;
    margin-top:5px!important;
  }
  .tunivo-right-mini-controls{
    margin:4px 0 0!important;
  }
}


/* Tunivo 5.7.10.3 — YouTube / AdSense compliance + mobile/tablet hardening */
@media (min-width:1001px){
  .tunivo-fixed-youtube-shell .youtube-frame,
  .right .youtube-frame,
  .browse-now .youtube-frame{
    min-height:200px!important;
  }
  .tunivo-fixed-youtube-shell #youtube-player,
  .tunivo-fixed-youtube-shell iframe#youtube-player{
    min-height:200px!important;
  }
}
.google-ad-right-rail{
  margin-top:28px!important;
}
@media(max-width:700px){
  .mobile-bottom-nav{
    grid-template-columns:repeat(5,minmax(0,1fr))!important;
  }
  .mobile-youtube-host,
  .mobile-youtube-host #youtube-player,
  .mobile-youtube-host iframe#youtube-player{
    min-height:200px!important;
  }
  .mobile-main-controls{
    grid-template-columns:repeat(5,minmax(0,1fr))!important;
    gap:7px!important;
  }
  .mobile-main-controls button{
    min-width:0!important;
  }
  .google-ad-shell{
    margin-block:18px!important;
  }
}

/* 701–1200px: desktop right rail is hidden, so provide the same visible official
   YouTube "Now Playing" surface used on phones. */
@media (min-width:701px) and (max-width:1200px){
  body{padding-bottom:92px}
  footer.player{display:none!important}

  .mobile-mini-player{
    position:fixed!important;
    left:50%!important;
    right:auto!important;
    bottom:18px!important;
    transform:translateX(-50%)!important;
    z-index:5900!important;
    display:grid!important;
    grid-template-columns:52px minmax(0,1fr) auto!important;
    align-items:center!important;
    gap:10px!important;
    width:min(560px,calc(100vw - 36px))!important;
    min-height:66px!important;
    padding:8px 10px!important;
    border:1px solid var(--line)!important;
    border-radius:16px!important;
    background:rgba(10,15,21,.97)!important;
    box-shadow:0 18px 52px rgba(0,0,0,.42)!important;
    backdrop-filter:blur(16px)!important;
  }
  .mobile-mini-player img{
    width:50px!important;height:50px!important;object-fit:cover!important;border-radius:10px!important;background:#111!important
  }
  .mobile-mini-copy{min-width:0!important}
  .mobile-mini-copy b,.mobile-mini-copy span{
    display:block!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important
  }
  .mobile-mini-copy b{font-size:12px!important}
  .mobile-mini-copy span{font-size:9px!important;color:var(--muted)!important;margin-top:4px!important}
  .mobile-mini-actions{display:flex!important;gap:7px!important}
  .mobile-mini-actions button{
    width:40px!important;height:40px!important;border:1px solid var(--line)!important;
    border-radius:11px!important;background:#111923!important;color:#eef4f8!important
  }

  .mobile-now-sheet{
    position:fixed!important;
    inset:0!important;
    z-index:12000!important;
    display:flex!important;
    flex-direction:column!important;
    overflow-y:auto!important;
    background:#080d13!important;
    padding:18px max(24px,calc((100vw - 720px)/2)) calc(30px + env(safe-area-inset-bottom))!important;
    transform:translateY(105%)!important;
    transition:transform .22s ease!important;
    visibility:hidden!important;
    pointer-events:none!important;
  }
  .mobile-now-sheet.open{
    transform:translateY(0)!important;
    visibility:visible!important;
    pointer-events:auto!important;
  }
  .mobile-now-head{
    display:flex!important;align-items:center!important;justify-content:space-between!important;gap:12px!important;margin-bottom:14px!important
  }
  .mobile-now-head button{
    width:42px!important;height:42px!important;border:1px solid var(--line)!important;border-radius:12px!important;background:#101720!important;color:#fff!important
  }
  .mobile-youtube-host{
    display:block!important;position:relative!important;width:100%!important;
    aspect-ratio:16/9!important;min-height:200px!important;max-height:405px!important;
    background:#000!important;overflow:hidden!important;border-radius:14px!important
  }
  .mobile-youtube-host #youtube-player,
  .mobile-youtube-host iframe#youtube-player{
    display:block!important;visibility:visible!important;opacity:1!important;
    width:100%!important;height:100%!important;min-height:200px!important;border:0!important;pointer-events:auto!important
  }
  .mobile-now-copy{padding:16px 0 6px!important}
  .mobile-now-copy h2{font-size:24px!important;margin:0 0 4px!important}
  .mobile-now-copy p{margin:0!important;color:var(--muted)!important}
  .mobile-seek{width:100%!important;margin:10px 0 4px!important}
  .mobile-time-row{display:flex!important;justify-content:space-between!important;color:var(--muted)!important;font-size:9px!important}
  .mobile-main-controls{
    display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:8px!important;margin-top:12px!important
  }
  .mobile-main-controls button{
    min-width:0!important;height:48px!important;border:1px solid var(--line)!important;border-radius:13px!important;background:#101720!important;color:#eef4f8!important
  }
  .mobile-secondary-controls{
    display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:8px!important;margin-top:10px!important
  }
  .mobile-secondary-controls button{
    min-width:0!important;height:42px!important;border:1px solid var(--line)!important;border-radius:12px!important;background:#101720!important;color:#eef4f8!important
  }
  .mobile-volume-row{display:flex!important;align-items:center!important;gap:10px!important;margin-top:12px!important}
  .mobile-volume-row input{flex:1!important}
  .mobile-up-next{margin-top:18px!important;padding-top:15px!important;border-top:1px solid var(--line)!important}
  .mobile-bottom-nav{display:none!important}
  .google-ad-shell{margin-block:20px!important}
}


/* Tunivo 5.7.10.3 tablet player surface — match actual mobile player DOM */
@media (min-width:701px) and (max-width:1200px){
  html.mobile-player-open,body.mobile-player-open{overflow:hidden!important}

  .mobile-mini-player{
    grid-template-columns:minmax(0,1fr) 42px 42px!important;
    gap:0!important;
    height:64px!important;
    padding:0!important;
    overflow:hidden!important;
  }
  .mobile-mini-main{
    min-width:0!important;border:0!important;background:transparent!important;color:#fff!important;
    display:grid!important;grid-template-columns:42px minmax(0,1fr)!important;
    align-items:center!important;gap:9px!important;text-align:left!important;padding:8px!important
  }
  .mobile-mini-art{
    width:42px!important;height:42px!important;border-radius:9px!important;display:grid!important;place-items:center!important;
    background:linear-gradient(135deg,var(--accent),var(--accent2))!important;color:#0b1007!important;font-weight:950!important
  }
  .mobile-mini-copy{display:grid!important;min-width:0!important}
  .mobile-mini-copy b,.mobile-mini-copy small{
    display:block!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important
  }
  .mobile-mini-copy b{font-size:11px!important}
  .mobile-mini-copy small{font-size:9px!important;color:var(--muted)!important;margin-top:2px!important}
  .mobile-mini-play,.mobile-mini-next{
    width:42px!important;height:64px!important;border:0!important;border-radius:0!important;
    background:transparent!important;color:#fff!important;font-size:17px!important;cursor:pointer!important
  }
  .mobile-mini-play{color:var(--accent)!important}
  .mobile-mini-progress{
    position:absolute!important;left:0!important;right:0!important;bottom:0!important;height:2px!important;background:#26303c!important
  }
  .mobile-mini-progress i{
    display:block!important;width:0;height:100%!important;background:linear-gradient(90deg,var(--accent),var(--accent2))!important
  }

  .mobile-now-head{
    min-height:46px!important;display:grid!important;grid-template-columns:42px minmax(0,1fr) auto!important;
    align-items:center!important;gap:8px!important;margin-bottom:12px!important
  }
  .mobile-now-head>div{display:grid!important;text-align:center!important;min-width:0!important}
  .mobile-now-head>div span{font-size:8px!important;letter-spacing:.14em!important;color:var(--muted)!important;font-weight:900!important}
  .mobile-now-head>div b{font-size:11px!important;margin-top:2px!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
  .mobile-sheet-close{
    width:40px!important;height:40px!important;border:0!important;background:#111923!important;color:#fff!important;border-radius:50%!important;font-size:22px!important
  }
  .mobile-source-pill{font-size:8px!important;border:1px solid #334052!important;border-radius:999px!important;padding:5px 7px!important;color:#aebbd0!important}

  .mobile-now-copy{text-align:center!important;padding:18px 8px 12px!important}
  .mobile-now-copy h2{font-size:23px!important;line-height:1.1!important;margin:0 0 6px!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
  .mobile-now-copy a{color:var(--muted)!important;font-size:12px!important;text-decoration:none!important}

  .mobile-now-seek{
    display:grid!important;grid-template-columns:38px minmax(0,1fr) 38px!important;align-items:center!important;gap:8px!important
  }
  .mobile-now-seek span{font-size:9px!important;color:var(--muted)!important;font-variant-numeric:tabular-nums!important}
  .mobile-now-seek input,.mobile-volume-row input{width:100%!important;accent-color:var(--accent)!important}

  .mobile-secondary-controls{
    grid-template-columns:repeat(4,minmax(0,1fr))!important;
  }
  .mobile-secondary-controls button span{font-size:8px!important}
  .mobile-official-note{text-align:center!important;color:#667486!important;font-size:8px!important;margin-top:11px!important}

  .mobile-up-next-head{
    display:flex!important;align-items:flex-end!important;justify-content:space-between!important;gap:10px!important;margin-bottom:10px!important
  }
  .mobile-up-next-head span{font-size:8px!important;letter-spacing:.14em!important;color:var(--accent)!important;font-weight:900!important}
  .mobile-up-next-head h3{font-size:18px!important;margin:3px 0 0!important}
  .mobile-up-next-head small{font-size:9px!important;color:var(--muted)!important}
  .mobile-up-next-list{display:grid!important;gap:7px!important}
  .mobile-up-next-row{
    width:100%!important;display:grid!important;grid-template-columns:30px minmax(0,1fr) 38px!important;
    gap:8px!important;align-items:center!important;text-align:left!important;border:1px solid var(--line)!important;
    background:#0d141d!important;color:#fff!important;border-radius:12px!important;padding:9px!important
  }
  .mobile-up-next-num{font-size:9px!important;color:#687586!important;text-align:center!important}
  .mobile-up-next-copy{display:grid!important;min-width:0!important}
  .mobile-up-next-copy b,.mobile-up-next-copy small{white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
  .mobile-up-next-copy b{font-size:11px!important}
  .mobile-up-next-copy small{font-size:9px!important;color:var(--muted)!important;margin-top:2px!important}
  .mobile-up-next-play{color:var(--accent)!important;text-align:center!important}
  .mobile-up-next-empty{
    padding:16px!important;border:1px dashed var(--line)!important;border-radius:12px!important;color:var(--muted)!important;font-size:10px!important;text-align:center!important
  }
  .mobile-more-links{display:flex!important;gap:8px!important;flex-wrap:wrap!important;margin-top:10px!important}
  .mobile-more-links a{
    display:inline-flex!important;align-items:center!important;min-height:36px!important;padding:0 11px!important;
    border:1px solid var(--line)!important;border-radius:10px!important;color:#dce5ef!important;font-size:9px!important;background:#0e151e!important
  }
}


/* Tunivo 5.7.10.4 — mobile account access + iPhone/Safari safe-area hardening */
.mobile-account-trigger,.mobile-account-backdrop,.mobile-account-sheet{display:none}

@media(max-width:700px){
  body{
    padding-bottom:calc(146px + env(safe-area-inset-bottom))!important;
  }
  .topbar{
    grid-template-columns:44px minmax(0,1fr) 44px!important;
    min-height:64px!important;
    padding:
      calc(8px + env(safe-area-inset-top))
      max(10px,env(safe-area-inset-right))
      8px
      max(10px,env(safe-area-inset-left))!important;
  }
  .topbar .brand{
    width:44px!important;
    min-width:44px!important;
    justify-content:flex-start!important;
  }
  .topbar .logo{
    width:38px!important;
    height:38px!important;
    border-radius:12px!important;
  }
  .topbar .search{
    min-width:0!important;
    width:100%!important;
  }
  .topbar .search input{
    height:40px!important;
    padding:0 12px!important;
    font-size:12px!important;
  }
  .topbar .search>span{
    display:none!important;
  }
  .topbar .library-head-title,
  .topbar .artist-breadcrumb,
  .topbar .playlist-search-wrap{
    min-width:0!important;
    overflow:hidden!important;
  }

  .mobile-account-trigger{
    display:grid!important;
    place-items:center!important;
    align-content:center!important;
    gap:1px!important;
    width:42px!important;
    height:42px!important;
    padding:0!important;
    justify-self:end!important;
    border:1px solid var(--line)!important;
    border-radius:13px!important;
    background:#101720!important;
    color:#dce5ee!important;
    position:relative!important;
    z-index:2!important;
  }
  .mobile-account-trigger .mobile-account-glyph{
    font-size:16px!important;
    line-height:1!important;
  }
  .mobile-account-trigger .mobile-account-label{
    font-size:7px!important;
    line-height:1!important;
    font-weight:850!important;
    color:#8f9aaa!important;
  }
  .mobile-account-trigger.is-authenticated:after{
    content:""!important;
    position:absolute!important;
    right:5px!important;
    top:5px!important;
    width:7px!important;
    height:7px!important;
    border-radius:50%!important;
    background:var(--accent)!important;
    box-shadow:0 0 0 2px #101720!important;
  }

  .mobile-account-backdrop{
    display:block!important;
    position:fixed!important;
    inset:0!important;
    z-index:11980!important;
    border:0!important;
    background:rgba(0,0,0,.56)!important;
    opacity:0!important;
    visibility:hidden!important;
    pointer-events:none!important;
    transition:opacity .18s ease,visibility .18s ease!important;
  }
  .mobile-account-backdrop.open{
    opacity:1!important;
    visibility:visible!important;
    pointer-events:auto!important;
  }
  .mobile-account-sheet{
    display:block!important;
    position:fixed!important;
    left:8px!important;
    right:8px!important;
    bottom:calc(8px + env(safe-area-inset-bottom))!important;
    z-index:11990!important;
    max-height:min(72dvh,560px)!important;
    overflow:auto!important;
    padding:14px!important;
    border:1px solid #2b3745!important;
    border-radius:20px!important;
    background:rgba(12,18,25,.985)!important;
    box-shadow:0 26px 80px rgba(0,0,0,.58)!important;
    transform:translateY(calc(100% + 40px))!important;
    opacity:0!important;
    visibility:hidden!important;
    pointer-events:none!important;
    transition:transform .22s ease,opacity .18s ease,visibility .18s ease!important;
  }
  .mobile-account-sheet.open{
    transform:translateY(0)!important;
    opacity:1!important;
    visibility:visible!important;
    pointer-events:auto!important;
  }
  body.mobile-account-open{
    overflow:hidden!important;
  }
  .mobile-account-sheet-head{
    display:flex!important;
    align-items:center!important;
    justify-content:space-between!important;
    gap:12px!important;
    margin-bottom:12px!important;
  }
  .mobile-account-sheet-head>div{
    display:grid!important;
  }
  .mobile-account-sheet-head span{
    color:var(--accent)!important;
    font-size:8px!important;
    letter-spacing:.16em!important;
    font-weight:950!important;
  }
  .mobile-account-sheet-head b{
    font-size:18px!important;
    margin-top:2px!important;
  }
  .mobile-account-sheet-head button{
    width:38px!important;
    height:38px!important;
    border:1px solid var(--line)!important;
    border-radius:12px!important;
    background:#111923!important;
    color:#fff!important;
    font-size:22px!important;
  }
  .mobile-account-identity{
    display:grid!important;
    grid-template-columns:52px minmax(0,1fr)!important;
    align-items:center!important;
    gap:12px!important;
    padding:12px!important;
    border:1px solid var(--line)!important;
    border-radius:15px!important;
    background:#0d141d!important;
  }
  .mobile-account-avatar{
    width:52px!important;
    height:52px!important;
    display:grid!important;
    place-items:center!important;
    border-radius:15px!important;
    background:linear-gradient(135deg,var(--accent),var(--accent2))!important;
    color:#071007!important;
    font-size:20px!important;
    font-weight:950!important;
  }
  .mobile-account-identity>div{
    display:grid!important;
    min-width:0!important;
  }
  .mobile-account-identity b{
    white-space:nowrap!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
    font-size:15px!important;
  }
  .mobile-account-identity small{
    color:var(--muted)!important;
    font-size:10px!important;
    line-height:1.35!important;
    margin-top:4px!important;
  }
  .mobile-account-links{
    display:grid!important;
    gap:7px!important;
    margin-top:10px!important;
  }
  .mobile-account-links a{
    min-height:46px!important;
    display:flex!important;
    align-items:center!important;
    gap:10px!important;
    padding:0 13px!important;
    border:1px solid var(--line)!important;
    border-radius:13px!important;
    background:#101720!important;
    color:#eef3f8!important;
    font-size:12px!important;
    font-weight:800!important;
  }
  .mobile-account-links .mobile-account-signout{
    color:#ff9aaf!important;
  }
  .mobile-account-guest-actions{
    display:grid!important;
    grid-template-columns:1fr 1fr!important;
    gap:9px!important;
    margin-top:10px!important;
  }
  .mobile-account-guest-actions a{
    min-height:46px!important;
    display:grid!important;
    place-items:center!important;
    border:1px solid var(--line)!important;
    border-radius:13px!important;
    font-size:12px!important;
    font-weight:900!important;
  }
  .mobile-account-join{
    color:#081006!important;
    border-color:transparent!important;
    background:linear-gradient(135deg,var(--accent),var(--accent2))!important;
  }

  .mobile-bottom-nav{
    grid-template-columns:repeat(5,minmax(0,1fr))!important;
    height:calc(68px + env(safe-area-inset-bottom))!important;
    padding:
      5px
      max(5px,env(safe-area-inset-right))
      calc(7px + env(safe-area-inset-bottom))
      max(5px,env(safe-area-inset-left))!important;
  }
  .mobile-bottom-nav a{
    min-width:0!important;
    overflow:hidden!important;
  }
  .mobile-bottom-nav a span{
    max-width:100%!important;
    white-space:nowrap!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
  }
  .mobile-mini-player{
    left:max(8px,env(safe-area-inset-left))!important;
    right:max(8px,env(safe-area-inset-right))!important;
    bottom:calc(74px + env(safe-area-inset-bottom))!important;
    height:62px!important;
  }
  .site-footer{
    margin-bottom:calc(142px + env(safe-area-inset-bottom))!important;
  }
  .mobile-now-sheet{
    min-height:100dvh!important;
    padding:
      calc(12px + env(safe-area-inset-top))
      max(14px,env(safe-area-inset-right))
      calc(18px + env(safe-area-inset-bottom))
      max(14px,env(safe-area-inset-left))!important;
  }
}

@media(max-width:430px){
  .topbar{
    gap:7px!important;
  }
  .topbar .search input{
    font-size:11.5px!important;
  }
  .mobile-bottom-nav a{
    font-size:8px!important;
  }
  .mobile-bottom-nav a b{
    font-size:17px!important;
  }
}
@media(max-width:350px){
  .topbar{
    grid-template-columns:40px minmax(0,1fr) 40px!important;
    padding-left:7px!important;
    padding-right:7px!important;
  }
  .topbar .brand{width:40px!important;min-width:40px!important}
  .topbar .logo{width:36px!important;height:36px!important}
  .mobile-account-trigger{width:38px!important;height:38px!important}
  .topbar .search input{font-size:11px!important}
  .mobile-account-label{display:none!important}
  .mobile-bottom-nav a span{font-size:7.5px!important}
}

/* Landscape phones: keep header compact and preserve player/control clearance. */
@media(max-width:900px) and (orientation:landscape){
  .topbar{
    min-height:54px!important;
    padding-top:max(5px,env(safe-area-inset-top))!important;
    padding-bottom:5px!important;
  }
  .topbar .logo{width:34px!important;height:34px!important}
  .topbar .search input{height:36px!important}
  .mobile-account-trigger{width:36px!important;height:36px!important}
  .mobile-bottom-nav{
    height:calc(58px + env(safe-area-inset-bottom))!important;
  }
  .mobile-mini-player{
    bottom:calc(64px + env(safe-area-inset-bottom))!important;
  }
}


/* Account access also remains available on landscape phones / small tablets where desktop account links are hidden. */
@media(min-width:701px) and (max-width:900px){
  .topbar{
    grid-template-columns:auto minmax(0,1fr) 44px!important;
  }
  .top-right{display:none!important}
  .mobile-account-trigger{
    display:grid!important;place-items:center!important;align-content:center!important;gap:1px!important;
    width:42px!important;height:42px!important;padding:0!important;justify-self:end!important;
    border:1px solid var(--line)!important;border-radius:13px!important;background:#101720!important;color:#dce5ee!important;
    position:relative!important;z-index:2!important
  }
  .mobile-account-trigger .mobile-account-glyph{font-size:16px!important;line-height:1!important}
  .mobile-account-trigger .mobile-account-label{font-size:7px!important;line-height:1!important;font-weight:850!important;color:#8f9aaa!important}
  .mobile-account-trigger.is-authenticated:after{
    content:""!important;position:absolute!important;right:5px!important;top:5px!important;width:7px!important;height:7px!important;
    border-radius:50%!important;background:var(--accent)!important;box-shadow:0 0 0 2px #101720!important
  }
  .mobile-account-backdrop{
    display:block!important;position:fixed!important;inset:0!important;z-index:11980!important;border:0!important;
    background:rgba(0,0,0,.56)!important;opacity:0!important;visibility:hidden!important;pointer-events:none!important
  }
  .mobile-account-backdrop.open{opacity:1!important;visibility:visible!important;pointer-events:auto!important}
  .mobile-account-sheet{
    display:block!important;position:fixed!important;left:50%!important;right:auto!important;bottom:18px!important;
    width:min(460px,calc(100vw - 36px))!important;max-height:min(72dvh,560px)!important;overflow:auto!important;
    padding:14px!important;border:1px solid #2b3745!important;border-radius:20px!important;background:rgba(12,18,25,.985)!important;
    box-shadow:0 26px 80px rgba(0,0,0,.58)!important;transform:translate(-50%,calc(100% + 40px))!important;
    opacity:0!important;visibility:hidden!important;pointer-events:none!important;transition:transform .22s ease,opacity .18s ease!important;
    z-index:11990!important
  }
  .mobile-account-sheet.open{transform:translate(-50%,0)!important;opacity:1!important;visibility:visible!important;pointer-events:auto!important}
  .mobile-account-sheet-head{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:12px!important;margin-bottom:12px!important}
  .mobile-account-sheet-head>div{display:grid!important}
  .mobile-account-sheet-head span{color:var(--accent)!important;font-size:8px!important;letter-spacing:.16em!important;font-weight:950!important}
  .mobile-account-sheet-head b{font-size:18px!important;margin-top:2px!important}
  .mobile-account-sheet-head button{width:38px!important;height:38px!important;border:1px solid var(--line)!important;border-radius:12px!important;background:#111923!important;color:#fff!important;font-size:22px!important}
  .mobile-account-identity{display:grid!important;grid-template-columns:52px minmax(0,1fr)!important;align-items:center!important;gap:12px!important;padding:12px!important;border:1px solid var(--line)!important;border-radius:15px!important;background:#0d141d!important}
  .mobile-account-avatar{width:52px!important;height:52px!important;display:grid!important;place-items:center!important;border-radius:15px!important;background:linear-gradient(135deg,var(--accent),var(--accent2))!important;color:#071007!important;font-size:20px!important;font-weight:950!important}
  .mobile-account-identity>div{display:grid!important;min-width:0!important}
  .mobile-account-identity b{white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;font-size:15px!important}
  .mobile-account-identity small{color:var(--muted)!important;font-size:10px!important;line-height:1.35!important;margin-top:4px!important}
  .mobile-account-links{display:grid!important;gap:7px!important;margin-top:10px!important}
  .mobile-account-links a{min-height:46px!important;display:flex!important;align-items:center!important;gap:10px!important;padding:0 13px!important;border:1px solid var(--line)!important;border-radius:13px!important;background:#101720!important;color:#eef3f8!important;font-size:12px!important;font-weight:800!important}
  .mobile-account-links .mobile-account-signout{color:#ff9aaf!important}
  .mobile-account-guest-actions{display:grid!important;grid-template-columns:1fr 1fr!important;gap:9px!important;margin-top:10px!important}
  .mobile-account-guest-actions a{min-height:46px!important;display:grid!important;place-items:center!important;border:1px solid var(--line)!important;border-radius:13px!important;font-size:12px!important;font-weight:900!important}
  .mobile-account-join{color:#081006!important;border-color:transparent!important;background:linear-gradient(135deg,var(--accent),var(--accent2))!important}
}


/* Tunivo 5.7.10.5 — mobile volume capability fallback */
.mobile-volume-row{position:relative}
.mobile-volume-row .mobile-volume-hint{
  grid-column:1/-1;
  display:block;
  color:#8390a0;
  font-size:10px;
  line-height:1.35;
  margin-top:2px;
}
.mobile-volume-row .mobile-volume-hint[hidden]{display:none!important}
#mobileVolume.is-ios-locked{
  opacity:.35;
  pointer-events:none;
}


/* Tunivo 5.7.10.5 — visible fallback YouTube player for pages without a right rail */
.tunivo-fallback-youtube-dock{
  position:fixed;
  right:18px;
  bottom:96px;
  width:min(340px,calc(100vw - 36px));
  z-index:88;
  padding:10px;
  border:1px solid var(--line);
  border-radius:16px;
  background:#0d131b;
  box-shadow:0 18px 60px rgba(0,0,0,.45);
}
.tunivo-fallback-youtube-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  margin-bottom:8px;
  font-size:9px;
  letter-spacing:.08em;
  color:var(--muted);
}
.tunivo-fallback-youtube-frame{
  width:100%;
  min-height:200px;
  aspect-ratio:16/9;
  overflow:hidden;
  border-radius:11px;
  background:#000;
}
.tunivo-fallback-youtube-frame iframe,
.tunivo-fallback-youtube-frame #youtube-player{
  width:100%!important;
  height:100%!important;
  min-height:200px!important;
  border:0;
}
@media(max-width:1200px){
  .tunivo-fallback-youtube-dock{
    position:fixed;
    left:-9999px;
    right:auto;
    width:1px;
    height:1px;
    padding:0;
    border:0;
    overflow:hidden;
  }
}


/* Tunivo 5.7.10.6 — portrait mobile discovery fit */
@media (max-width:700px) and (orientation:portrait){
  /* Four discovery shortcuts must fit the viewport without horizontal scrolling. */
  .quick{
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:8px!important;
    overflow:visible!important;
    scroll-snap-type:none!important;
    padding-bottom:0!important;
  }
  .quick>a{
    min-width:0!important;
    width:100%!important;
    min-height:70px!important;
    padding:11px 12px!important;
    scroll-snap-align:none!important;
  }
  .quick b{font-size:12px!important;line-height:1.2}
  .quick span{font-size:8px!important;line-height:1.25}
  .quick i{font-size:44px!important;right:7px!important;bottom:-14px!important}

  /* Home trend/new rows: no partially clipped cards on portrait phones. */
  #trending .card-row,
  #new .card-row{
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:9px!important;
    overflow:visible!important;
    scroll-snap-type:none!important;
    padding-bottom:0!important;
  }
  #trending .track,
  #new .track{
    min-width:0!important;
    width:100%!important;
    max-width:100%!important;
    scroll-snap-align:none!important;
  }
  #trending .track h3,
  #new .track h3{font-size:11px!important}
  #trending .track p,
  #new .track p{font-size:9px!important}
  #trending .tags,
  #new .tags{gap:4px!important}
  #trending .tag,
  #new .tag{font-size:7px!important;padding:3px 5px!important}
}
@media (max-width:350px) and (orientation:portrait){
  #trending .card-row,
  #new .card-row{
    grid-template-columns:minmax(0,1fr)!important;
  }
  .quick{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }
}

/* Tunivo 5.7.10.7 — Community continuous playback on mobile/tablet.
   The official YouTube iframe stays visibly mounted above the chat instead of
   being moved into the hidden full-screen mobile player sheet. */
.community-persistent-player{display:none}

@media(max-width:1200px){
  .community-page .community-persistent-player{
    display:block!important;
    flex:0 0 auto!important;
    padding:8px 10px 10px!important;
    border-bottom:1px solid var(--line)!important;
    background:linear-gradient(180deg,#0c1219,#0a0f15)!important;
  }
  .community-persistent-player-head{
    min-height:28px!important;
    display:flex!important;
    align-items:center!important;
    justify-content:space-between!important;
    gap:10px!important;
    padding:0 2px 7px!important;
  }
  .community-persistent-player-head>div{display:grid!important;min-width:0!important}
  .community-persistent-player-head span:first-child{
    font-size:8px!important;
    letter-spacing:.14em!important;
    color:var(--accent)!important;
    font-weight:950!important;
  }
  .community-persistent-player-head b{
    margin-top:2px!important;
    font-size:10px!important;
    white-space:nowrap!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
  }
  .community-persistent-source{
    flex:0 0 auto!important;
    font-size:8px!important;
    color:#b8c2cf!important;
    border:1px solid #334052!important;
    border-radius:999px!important;
    padding:5px 7px!important;
  }
  .community-persistent-youtube-host{
    width:100%!important;
    height:clamp(200px,28vw,280px)!important;
    min-height:200px!important;
    background:#000!important;
    border-radius:14px!important;
    overflow:hidden!important;
  }
  .community-persistent-youtube-host #youtube-player,
  .community-persistent-youtube-host iframe#youtube-player{
    display:block!important;
    width:100%!important;
    height:100%!important;
    min-width:200px!important;
    min-height:200px!important;
    border:0!important;
    visibility:visible!important;
    opacity:1!important;
  }
  .community-persistent-controls{
    min-height:44px!important;
    display:grid!important;
    grid-template-columns:38px 44px 38px minmax(0,1fr)!important;
    gap:6px!important;
    align-items:center!important;
    padding:8px 0 0!important;
  }
  .community-persistent-controls>button{
    width:38px!important;
    height:38px!important;
    border:1px solid var(--line)!important;
    border-radius:11px!important;
    background:#111923!important;
    color:#fff!important;
  }
  .community-persistent-controls>#communityPersistentPlayBtn{
    width:44px!important;
    background:linear-gradient(135deg,var(--accent),var(--accent2))!important;
    border-color:transparent!important;
    color:#081006!important;
    font-weight:950!important;
  }
  .community-persistent-meta{display:grid!important;min-width:0!important;padding-left:4px!important}
  .community-persistent-meta b,
  .community-persistent-meta span{
    white-space:nowrap!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
  }
  .community-persistent-meta b{font-size:11px!important}
  .community-persistent-meta span{font-size:9px!important;color:var(--muted)!important;margin-top:2px!important}

  /* The community page already owns a visible player, so the generic mobile
     mini/full-screen player must not duplicate or hide the iframe. */
  .community-page .mobile-mini-player,
  .community-page .mobile-now-sheet{display:none!important}

  /* Music Hub remains for search/library/controls; do not reserve an empty
     second YouTube viewport after the iframe has been mounted above chat. */
  .community-page .community-music-hub .tunivo-fixed-now-card .youtube-player-shell{
    display:none!important;
  }

  .community-persistent-player.focus-pulse{
    box-shadow:inset 0 0 0 1px rgba(var(--accent-rgb),.58),0 0 24px rgba(var(--accent-rgb),.10)!important;
  }
}

@media(max-width:700px){
  body.community-page{
    padding-bottom:calc(70px + env(safe-area-inset-bottom))!important;
  }
  .community-page .community-integrated-app{
    padding-bottom:calc(68px + env(safe-area-inset-bottom))!important;
  }
  .community-page .community-center-card{
    height:calc(100vh - 144px)!important;
    height:calc(100dvh - 144px)!important;
    min-height:0!important;
  }
  .community-page .community-persistent-player{
    padding:7px 8px 8px!important;
  }
  .community-page .community-persistent-youtube-host{
    height:200px!important;
    min-height:200px!important;
    border-radius:12px!important;
  }
  .community-page .community-messages.integrated{
    min-height:76px!important;
  }

  /* Music controls/search open as a compact bottom sheet and leave the
     persistent YouTube viewport visible above it. */
  .community-page .community-music-hub{
    position:fixed!important;
    inset:auto max(8px,env(safe-area-inset-right))
      calc(64px + env(safe-area-inset-bottom))
      max(8px,env(safe-area-inset-left))!important;
    width:auto!important;
    height:auto!important;
    max-height:min(42dvh,360px)!important;
    border:1px solid var(--line)!important;
    border-radius:18px!important;
    padding:10px!important;
    box-shadow:0 24px 70px rgba(0,0,0,.58)!important;
    overflow:auto!important;
  }
  .community-page .community-hub-head{
    position:sticky!important;
    top:-10px!important;
    z-index:3!important;
    background:#080d13!important;
    padding:10px 2px 8px!important;
  }
}



/* ==========================================================================
   Tunivo 5.7.10.8 — Personal Rooms, Room Radio & listening-source selector
   ========================================================================== */
.community-room-empty{
  display:block;padding:7px 10px;color:var(--muted);font-size:9px
}
.community-my-room{
  margin-top:7px!important;border:1px dashed rgba(185,255,88,.28)!important;
  color:var(--accent)!important;background:rgba(185,255,88,.04)!important
}
.community-flash{
  margin:0 0 10px;padding:10px 12px;border:1px solid var(--line);border-radius:12px;
  font-size:10px;font-weight:800;background:#0c131b;color:#dce7ef
}
.community-flash.ok{border-color:rgba(185,255,88,.28);color:#dfffad;background:rgba(185,255,88,.06)}
.community-flash.error{border-color:rgba(255,95,109,.32);color:#ffc2c8;background:rgba(255,95,109,.07)}
.community-room-owner{display:block;margin-top:6px;color:#8796a7;font-size:9px;font-weight:750}

.community-room-manager{
  margin:0 0 12px;padding:14px;border:1px solid var(--line);border-radius:18px;
  background:linear-gradient(180deg,#0c1219,#090e14);box-shadow:0 16px 45px rgba(0,0,0,.18)
}
.community-manager-head{
  display:flex;align-items:flex-start;justify-content:space-between;gap:14px;margin-bottom:12px
}
.community-manager-head>div>span{
  display:block;color:var(--accent);font-size:8px;font-weight:950;letter-spacing:.15em
}
.community-manager-head h2{margin:4px 0 3px;font-size:18px}
.community-manager-head p{margin:0;color:var(--muted);font-size:10px;line-height:1.55}
.community-manager-close{
  flex:0 0 34px;width:34px;height:34px;display:grid;place-items:center;border:1px solid var(--line);
  border-radius:10px;background:#101720;color:#fff;text-decoration:none;font-size:20px
}
.community-manager-form{
  display:grid;grid-template-columns:minmax(0,1fr) 110px;gap:10px
}
.community-manager-form label,.community-manager-panel label{display:grid;gap:6px}
.community-manager-form label>span,.community-manager-panel label>span{
  color:#9aa9b8;font-size:9px;font-weight:850
}
.community-manager-form .full{grid-column:1/-1}
.community-manager-form input,.community-manager-form textarea,.community-manager-form select,
.community-manager-panel input,.community-manager-panel textarea,.community-manager-panel select{
  width:100%;min-height:40px;border:1px solid var(--line);border-radius:10px;background:#080d13;
  color:#eef4f8;padding:9px 10px;outline:none
}
.community-manager-form textarea,.community-manager-panel textarea{resize:vertical}
.community-manager-form small,.community-manager-panel small{color:var(--muted);font-size:8px;line-height:1.45}
.community-manager-actions{display:flex;justify-content:flex-end}
.community-manager-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-bottom:10px}
.community-manager-panel{
  padding:12px;border:1px solid var(--line);border-radius:14px;background:#090f16;margin-top:10px
}
.community-manager-grid .community-manager-panel{margin-top:0}
.community-manager-panel h3{margin:0 0 10px;font-size:12px}
.community-manager-panel h3 .count{margin-left:5px}
.community-manager-panel p{margin:0 0 10px;color:var(--muted);font-size:9px;line-height:1.5}
.community-manager-panel select{margin-bottom:9px}
.community-manage-list{display:grid;gap:7px}
.community-manage-person{
  display:flex;align-items:center;justify-content:space-between;gap:10px;padding:9px 10px;
  border:1px solid #202b37;border-radius:11px;background:#0b1118
}
.community-manage-person>div:first-child{display:grid;min-width:0}
.community-manage-person b,.community-manage-person small{
  white-space:nowrap;overflow:hidden;text-overflow:ellipsis
}
.community-manage-person b{font-size:10px}
.community-manage-person small{margin-top:3px;color:var(--muted);font-size:8px}
.community-manage-actions{display:flex;gap:6px;flex-wrap:wrap;justify-content:flex-end}
.community-manage-actions form{margin:0}
.btn.danger{border-color:rgba(255,95,109,.35)!important;color:#ff9aa5!important;background:rgba(255,95,109,.07)!important}
.community-manager-empty{padding:10px;color:var(--muted);font-size:9px}

.community-center-card.is-locked{min-height:440px}
.community-room-gate{
  flex:1;min-height:340px;display:flex;flex-direction:column;align-items:center;justify-content:center;
  text-align:center;padding:28px 20px
}
.community-room-gate-icon{
  width:64px;height:64px;display:grid;place-items:center;border-radius:20px;
  background:linear-gradient(135deg,rgba(185,255,88,.12),rgba(98,222,247,.08));
  border:1px solid rgba(185,255,88,.22);font-size:28px;margin-bottom:14px
}
.community-room-gate>span{font-size:8px;letter-spacing:.16em;color:var(--accent);font-weight:950}
.community-room-gate h2{max-width:520px;margin:7px 0 5px;font-size:19px}
.community-room-gate p{max-width:520px;margin:0;color:var(--muted);font-size:10px;line-height:1.55}
.community-room-gate-actions{display:flex;gap:8px;flex-wrap:wrap;justify-content:center;margin-top:16px}
.community-room-request-state{
  margin-top:14px;padding:9px 12px;border:1px solid var(--line);border-radius:10px;
  background:#0c131b;color:#cbd6df;font-size:9px;font-weight:800
}
.community-room-request-state.error{border-color:rgba(255,95,109,.3);color:#ffadb5}

.community-persistent-head-actions{display:flex!important;align-items:center!important;gap:6px!important}
#communitySourceToggle,.community-source-card-head button{
  min-height:30px;border:1px solid #334052;border-radius:999px;background:#101720;color:#dce7ef;
  padding:0 10px;font-size:8px;font-weight:900;cursor:pointer
}
.community-listen-source-bar{
  display:flex;align-items:center;justify-content:space-between;gap:10px;
  padding:8px 12px;border-bottom:1px solid var(--line);background:#091019
}
.community-listen-source-bar>div{display:grid;min-width:0}
.community-listen-source-bar span{font-size:7px;letter-spacing:.13em;color:#728294;font-weight:950}
.community-listen-source-bar b{
  margin-top:3px;font-size:9px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis
}
.community-listen-source-bar button{flex:0 0 auto;font-size:8px;padding:7px 9px}
.community-source-card{padding:11px!important}
.community-source-card-head{display:flex;align-items:center;justify-content:space-between;gap:8px}
.community-source-card-head>div{display:grid}
.community-source-card-head span{font-size:7px;letter-spacing:.14em;color:var(--accent);font-weight:950}
.community-source-card-head b{margin-top:3px;font-size:11px}
.community-source-card p{margin:8px 0 0;color:var(--muted);font-size:8px;line-height:1.5}

.community-source-backdrop{
  position:fixed;inset:0;z-index:14980;background:rgba(0,0,0,.58);backdrop-filter:blur(4px);
  opacity:0;visibility:hidden;pointer-events:none;transition:.18s ease
}
.community-source-backdrop.open{opacity:1;visibility:visible;pointer-events:auto}
.community-source-sheet{
  position:fixed;z-index:14990;left:50%;top:50%;transform:translate(-50%,-46%) scale(.98);
  width:min(480px,calc(100vw - 28px));max-height:min(680px,calc(100dvh - 32px));overflow:auto;
  padding:14px;border:1px solid #293747;border-radius:20px;background:#080d13;
  box-shadow:0 32px 100px rgba(0,0,0,.68);opacity:0;visibility:hidden;pointer-events:none;
  transition:.18s ease
}
.community-source-sheet.open{opacity:1;visibility:visible;pointer-events:auto;transform:translate(-50%,-50%) scale(1)}
body.community-source-open{overflow:hidden}
.community-source-sheet-head{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;margin-bottom:11px}
.community-source-sheet-head span{font-size:8px;letter-spacing:.15em;color:var(--accent);font-weight:950}
.community-source-sheet-head h3{margin:4px 0 0;font-size:17px}
.community-source-sheet-head button{
  width:36px;height:36px;border:1px solid var(--line);border-radius:11px;background:#101720;color:#fff;font-size:20px
}
.community-source-option,.community-source-playlist{
  width:100%;display:grid;grid-template-columns:38px minmax(0,1fr) 28px;align-items:center;gap:9px;
  text-align:left;border:1px solid var(--line);border-radius:13px;background:#0d141d;color:#eef4f8;
  padding:9px;margin-top:7px;cursor:pointer
}
.community-source-option.primary{border-color:rgba(185,255,88,.24);background:rgba(185,255,88,.05)}
.community-source-option.user-radio{border-color:rgba(var(--accent-rgb),.20)}
.community-source-option:not(:disabled):hover,.community-source-playlist:hover{
  border-color:rgba(var(--accent-rgb),.55);
  background:rgba(var(--accent-rgb),.08);
  box-shadow:0 0 0 1px rgba(var(--accent-rgb),.08),0 10px 28px rgba(0,0,0,.22);
  transform:translateY(-1px)
}
.community-source-option,.community-source-playlist{transition:border-color .15s ease,background .15s ease,box-shadow .15s ease,transform .15s ease}
.community-source-option.shuffle{border-style:dashed}
.community-source-option i,.community-source-playlist i{
  width:38px;height:38px;display:grid;place-items:center;border-radius:10px;background:#151f2a;font-style:normal
}
.community-source-option span,.community-source-playlist span{display:grid;min-width:0}
.community-source-option b,.community-source-playlist b{
  font-size:10px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis
}
.community-source-option small,.community-source-playlist small{
  margin-top:3px;color:var(--muted);font-size:8px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis
}
.community-source-option em,.community-source-playlist em{font-style:normal;color:var(--accent);text-align:center}
.community-source-playlists{margin-top:12px;padding-top:10px;border-top:1px solid var(--line)}
.community-source-section-title{font-size:8px;letter-spacing:.12em;color:#95a4b3;font-weight:900;margin-bottom:4px}
.community-source-status{
  min-height:20px;margin-top:10px;padding:0 2px;color:#a9b8c5;font-size:8px;font-weight:800
}
.community-source-status.error{color:#ff9ba7}

@media(max-width:1200px){
  .community-listen-source-bar{padding:7px 10px}
  #communitySourceToggle{display:inline-flex!important;align-items:center!important;justify-content:center!important}
}
@media(max-width:700px){
  .community-room-manager{margin:0 8px 10px;padding:11px;border-radius:15px}
  .community-manager-head h2{font-size:16px}
  .community-manager-form{grid-template-columns:minmax(0,1fr) 82px}
  .community-manager-grid{grid-template-columns:1fr}
  .community-manage-person{align-items:flex-start;flex-direction:column}
  .community-manage-actions{width:100%;justify-content:flex-start}
  .community-room-gate{padding:22px 14px}
  .community-room-gate h2{font-size:17px}
  .community-listen-source-bar{
    display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;
    position:sticky;top:0;z-index:4
  }
  .community-listen-source-bar button{max-width:145px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  .community-persistent-head-actions{gap:4px!important}
  #communitySourceToggle{padding:0 8px!important;font-size:7px!important}
  .community-source-sheet{
    left:max(8px,env(safe-area-inset-left));right:max(8px,env(safe-area-inset-right));top:auto;bottom:calc(64px + env(safe-area-inset-bottom));
    width:auto;max-height:min(64dvh,560px);transform:translateY(24px);border-radius:18px;
    padding:12px 12px calc(12px + env(safe-area-inset-bottom))
  }
  .community-source-sheet.open{transform:translateY(0)}
}

.community-source-option:disabled{
  opacity:.46;cursor:not-allowed;filter:saturate(.55)
}

/* ==========================================================================
   Tunivo 5.7.10.9 — Room UX polish: emoji palette + roomy mobile chat
   ========================================================================== */
.community-emoji-field{
  display:grid;
  gap:7px;
  min-width:0;
}
.community-emoji-field>span{
  color:#9aa9b8;
  font-size:9px;
  font-weight:850;
}
.community-room-emoji-picker{
  display:flex;
  flex-wrap:wrap;
  gap:7px;
  padding:9px;
  border:1px solid var(--line);
  border-radius:12px;
  background:#080d13;
}
.community-room-emoji-option{
  position:relative;
  width:38px;
  height:38px;
  display:grid!important;
  place-items:center;
  gap:0!important;
  cursor:pointer;
}
.community-room-emoji-option input{
  position:absolute!important;
  opacity:0!important;
  pointer-events:none!important;
  width:1px!important;
  min-height:1px!important;
  padding:0!important;
}
.community-room-emoji-option>span{
  width:38px;
  height:38px;
  display:grid;
  place-items:center;
  border:1px solid #263442;
  border-radius:11px;
  background:#101720;
  font-size:19px!important;
  line-height:1;
  transition:.15s ease;
}
.community-room-emoji-option:hover>span{
  border-color:#526477;
  transform:translateY(-1px);
}
.community-room-emoji-option input:checked+span{
  border-color:var(--accent);
  background:rgba(var(--accent-rgb),.11);
  box-shadow:0 0 0 2px rgba(var(--accent-rgb),.12),0 8px 22px rgba(0,0,0,.22);
}

.community-music-visibility-toggle{
  min-height:30px;
  border:1px solid #334052;
  border-radius:999px;
  background:#101720;
  color:#dce7ef;
  padding:0 10px;
  font-size:8px;
  font-weight:900;
  cursor:pointer;
  white-space:nowrap;
}

@media(max-width:1200px){
  .community-persistent-player.music-collapsed{
    padding-bottom:7px!important;
  }
  .community-persistent-player.music-collapsed .community-persistent-youtube-host,
  .community-persistent-player.music-collapsed .community-persistent-controls{
    display:none!important;
  }
  .community-persistent-player.music-collapsed .community-persistent-player-head{
    padding-bottom:0!important;
  }
}

@media(max-width:700px){
  /* Give chat noticeably more room while keeping the official player >= 200px. */
  .community-page .community-center-card{
    height:calc(100vh - 178px)!important;
    height:calc(100dvh - 178px - env(safe-area-inset-bottom))!important;
    min-height:430px!important;
  }
  .community-page .community-persistent-player{
    padding:6px 8px 6px!important;
  }
  .community-page .community-persistent-player-head{
    min-height:34px!important;
    gap:6px!important;
    padding:0 0 6px!important;
  }
  .community-page .community-persistent-head-actions{
    gap:4px!important;
  }
  .community-page .community-persistent-source{
    display:none!important;
  }
  .community-page #communitySourceToggle,
  .community-page .community-music-visibility-toggle{
    min-height:28px!important;
    padding:0 8px!important;
    font-size:7px!important;
  }
  .community-page .community-persistent-youtube-host{
    height:clamp(200px,48vw,222px)!important;
    min-height:200px!important;
  }
  .community-page .community-persistent-controls{
    min-height:40px!important;
    grid-template-columns:36px 42px 36px minmax(0,1fr)!important;
    gap:5px!important;
    padding-top:6px!important;
  }
  .community-page .community-persistent-controls>button{
    width:36px!important;
    height:36px!important;
    border-radius:10px!important;
  }
  .community-page .community-persistent-controls>#communityPersistentPlayBtn{
    width:42px!important;
  }
  .community-page .community-persistent-meta b{font-size:10px!important}
  .community-page .community-persistent-meta span{font-size:8px!important}

  /* Source is already shown in the player header; remove the duplicate bar on phone. */
  .community-page .community-listen-source-bar{
    display:none!important;
  }
  .community-page .community-messages.integrated{
    min-height:128px!important;
    padding:10px 9px!important;
  }

  /* Collapsed mode becomes chat-first: only a slim restore/source bar remains. */
  .community-page .community-persistent-player.music-collapsed{
    padding:5px 8px!important;
  }
  .community-page .community-persistent-player.music-collapsed .community-persistent-player-head{
    min-height:38px!important;
    padding:0!important;
  }
  .community-page.community-music-collapsed .community-messages.integrated,
  body.community-music-collapsed .community-messages.integrated{
    min-height:260px!important;
  }

  .community-room-emoji-picker{
    display:grid;
    grid-template-columns:repeat(8,minmax(0,1fr));
    gap:6px;
    padding:8px;
  }
  .community-room-emoji-option{
    width:100%;
    height:36px;
  }
  .community-room-emoji-option>span{
    width:100%;
    height:36px;
    font-size:18px!important;
  }
}

@media(max-width:430px){
  .community-room-emoji-picker{
    grid-template-columns:repeat(6,minmax(0,1fr));
  }
}

@media(max-width:350px){
  .community-room-emoji-picker{
    grid-template-columns:repeat(5,minmax(0,1fr));
  }
  .community-page .community-center-card{
    height:calc(100dvh - 166px - env(safe-area-inset-bottom))!important;
  }
}



/* Tunivo 5.7.10.11 — independent desktop ad column + player-side discovery */
.tunivo-ad-column{display:none;min-width:0}
.tunivo-ad-column-sticky{position:sticky;top:82px;align-self:start}
.google-ad-right-column{
  margin:0!important;
  width:100%!important;
  min-height:420px;
  border-radius:14px!important;
}
.google-ad-right-column .adsbygoogle{min-height:420px!important}

.tunivo-newest-rail{margin-top:14px}
.tunivo-newest-head{display:flex;align-items:end;justify-content:space-between;gap:10px;margin-bottom:8px}
.tunivo-newest-head>div{display:grid;gap:2px;min-width:0}
.tunivo-newest-head span{font-size:8px;letter-spacing:.14em;color:var(--muted);font-weight:850}
.tunivo-newest-head b{font-size:13px;color:#fff}
.tunivo-newest-head>a{font-size:9px;color:var(--accent);text-decoration:none;white-space:nowrap}
.tunivo-newest-list{display:grid;gap:5px}
.tunivo-newest-item{
  width:100%;min-width:0;border:1px solid transparent;background:#0b1118;color:#fff;
  border-radius:10px;padding:6px;display:grid;grid-template-columns:44px minmax(0,1fr) 28px;
  gap:8px;align-items:center;text-align:left;cursor:pointer;
}
.tunivo-newest-item:hover{border-color:#2d3b49;background:#101821}
.tunivo-newest-item[hidden]{display:none!important}
.tunivo-newest-cover{
  width:44px;height:44px;border-radius:8px;overflow:hidden;display:grid;place-items:center;
  background:#18212b;color:var(--muted);font-weight:900;
}
.tunivo-newest-cover img{width:100%;height:100%;object-fit:cover;display:block}
.tunivo-newest-copy{display:grid;gap:2px;min-width:0}
.tunivo-newest-copy b,.tunivo-newest-copy small{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.tunivo-newest-copy b{font-size:10px}
.tunivo-newest-copy small{font-size:8px;color:var(--muted)}
.tunivo-newest-play{
  width:28px;height:28px;border-radius:50%;display:grid;place-items:center;
  background:#151f29;color:var(--accent);font-size:10px;
}

@media (min-width:1350px) and (max-width:1499px){
  .tunivo-ad-column{display:block}
  .layout.tunivo-has-ad-column{
    grid-template-columns:190px minmax(0,1fr) 300px 230px!important;
    gap:14px!important;
  }
  .browse-shell.tunivo-has-ad-column,
  .search-shell.tunivo-has-ad-column{
    grid-template-columns:180px minmax(0,1fr) 290px 220px!important;
    gap:14px!important;max-width:none!important;width:100%!important;
  }
  .artist-shell.tunivo-has-ad-column,
  .library-layout.tunivo-has-ad-column{
    grid-template-columns:minmax(0,1fr) 290px 230px!important;
    gap:14px!important;max-width:none!important;width:100%!important;
  }
  .playlist-shell.tunivo-has-ad-column{
    grid-template-columns:220px minmax(0,1fr) 290px 220px!important;
    gap:14px!important;max-width:none!important;width:100%!important;
  }
}

@media (min-width:1500px){
  .tunivo-ad-column{display:block}
  .layout.tunivo-has-ad-column{
    grid-template-columns:210px minmax(0,1fr) 340px 290px!important;
    gap:16px!important;
  }
  .browse-shell.tunivo-has-ad-column,
  .search-shell.tunivo-has-ad-column{
    grid-template-columns:200px minmax(0,1fr) 320px 270px!important;
    gap:16px!important;max-width:none!important;width:100%!important;
  }
  .artist-shell.tunivo-has-ad-column,
  .library-layout.tunivo-has-ad-column{
    grid-template-columns:minmax(0,1fr) 320px 280px!important;
    gap:16px!important;max-width:none!important;width:100%!important;
  }
  .playlist-shell.tunivo-has-ad-column{
    grid-template-columns:240px minmax(0,1fr) 320px 270px!important;
    gap:16px!important;max-width:none!important;width:100%!important;
  }
  .google-ad-right-column{min-height:600px}
  .google-ad-right-column .adsbygoogle{min-height:600px!important}
}

@media (max-width:1349px){
  .tunivo-ad-column{display:none!important}
}


/* ==========================================================================
   Tunivo 5.7.10.11 — Mobile form focus stability / iOS auto-zoom guard
   Keep editable controls at 16px+ on touch-sized layouts. Do not disable
   browser pinch zoom; this prevents Safari's automatic focus zoom instead.
   ========================================================================== */
@media (max-width:1200px){
  input:not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="color"]),
  textarea,
  select,
  [contenteditable="true"]{
    font-size:16px!important;
    max-width:100%!important;
    min-width:0;
    box-sizing:border-box;
    touch-action:manipulation;
  }

  .topbar .search input{
    font-size:16px!important;
  }

  .community-composer.integrated{
    min-width:0!important;
  }
  .community-composer.integrated textarea{
    font-size:16px!important;
    min-width:0!important;
  }
  .community-composer.integrated .community-send-btn{
    flex-shrink:0!important;
  }

  /* While a text field is focused, free the bottom of the visual viewport
     for the software keyboard and the active form/composer. */
  html.mobile-keyboard-open .mobile-bottom-nav,
  html.mobile-keyboard-open .mobile-mini-player,
  body.mobile-keyboard-open .mobile-bottom-nav,
  body.mobile-keyboard-open .mobile-mini-player{
    display:none!important;
  }

  html.mobile-keyboard-open body,
  body.mobile-keyboard-open{
    padding-bottom:0!important;
  }

  html.mobile-keyboard-open .site-footer,
  body.mobile-keyboard-open .site-footer{
    margin-bottom:0!important;
  }

  html.mobile-keyboard-open .community-center-card,
  body.mobile-keyboard-open .community-center-card{
    min-height:0!important;
  }
}


/* ==========================================================================
   Tunivo 5.7.10.12 — Mobile Community compact control bar + keyboard-safe chat
   ========================================================================== */
.community-mobile-compactbar{display:none}

@media(max-width:700px){
  /* One slim control bar replaces the old horizontal room rail and the
     separate "Canlı Oda / room name" header on phones. */
  .community-page .community-left{display:none!important}
  .community-page .community-chat-head.integrated{display:none!important}

  .community-page .community-mobile-compactbar{
    display:grid!important;
    grid-template-columns:minmax(58px,.78fr) minmax(88px,1.35fr) minmax(72px,.92fr) minmax(70px,.95fr);
    flex:0 0 46px!important;
    min-height:46px!important;
    width:100%!important;
    position:relative!important;
    z-index:90!important;
    align-items:stretch!important;
    border-bottom:1px solid var(--line)!important;
    background:#0a1016!important;
  }
  .community-page .community-mobile-compactbar>*{
    min-width:0!important;
    border-left:1px solid #202a35!important;
  }
  .community-page .community-mobile-compactbar>*:first-child{border-left:0!important}

  .community-mobile-rooms-menu{
    position:relative!important;
    min-width:0!important;
  }
  .community-mobile-rooms-menu>summary{
    list-style:none!important;
    height:100%!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    gap:4px!important;
    padding:0 7px!important;
    color:#eef4f8!important;
    font-size:9px!important;
    font-weight:900!important;
    cursor:pointer!important;
    user-select:none!important;
    -webkit-tap-highlight-color:transparent!important;
  }
  .community-mobile-rooms-menu>summary::-webkit-details-marker{display:none!important}
  .community-mobile-rooms-menu>summary i{
    color:var(--accent)!important;
    font-size:10px!important;
    font-style:normal!important;
    transition:transform .16s ease!important;
  }
  .community-mobile-rooms-menu[open]>summary{
    color:var(--accent)!important;
    background:rgba(var(--accent-rgb),.055)!important;
  }
  .community-mobile-rooms-menu[open]>summary i{transform:rotate(180deg)!important}

  .community-mobile-rooms-popover{
    position:absolute!important;
    top:calc(100% + 6px)!important;
    left:6px!important;
    width:min(292px,calc(100vw - 18px))!important;
    max-height:min(62dvh,520px)!important;
    overflow:auto!important;
    padding:8px!important;
    border:1px solid #2b3846!important;
    border-radius:14px!important;
    background:rgba(9,14,20,.985)!important;
    box-shadow:0 24px 70px rgba(0,0,0,.58)!important;
    z-index:180!important;
  }
  .community-mobile-rooms-title{
    display:block!important;
    padding:7px 8px 5px!important;
    color:#7d8b9b!important;
    font-size:7px!important;
    line-height:1!important;
    letter-spacing:.14em!important;
    font-weight:950!important;
  }
  .community-mobile-rooms-popover>a,
  .community-mobile-room-create>a{
    min-height:39px!important;
    display:flex!important;
    align-items:center!important;
    min-width:0!important;
    padding:0 9px!important;
    border-radius:10px!important;
    color:#e9eff5!important;
    font-size:10px!important;
    font-weight:800!important;
    text-decoration:none!important;
  }
  .community-mobile-rooms-popover>a span{
    min-width:0!important;
    white-space:nowrap!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
  }
  .community-mobile-rooms-popover>a.active{
    background:rgba(var(--accent-rgb),.08)!important;
    color:var(--accent)!important;
    box-shadow:inset 2px 0 var(--accent)!important;
  }
  .community-mobile-rooms-empty{
    display:block!important;
    padding:7px 9px!important;
    color:var(--muted)!important;
    font-size:9px!important;
  }
  .community-mobile-room-create{
    margin-top:6px!important;
    padding-top:6px!important;
    border-top:1px solid var(--line)!important;
  }
  .community-mobile-room-create>a{
    color:var(--accent)!important;
    background:rgba(var(--accent-rgb),.055)!important;
  }

  .community-mobile-current-room{
    min-width:0!important;
    display:grid!important;
    grid-template-columns:7px minmax(0,1fr) auto!important;
    align-items:center!important;
    gap:5px!important;
    padding:0 6px!important;
  }
  .community-mobile-room-dot{
    width:7px!important;
    height:7px!important;
    border-radius:50%!important;
    background:#5cff89!important;
    box-shadow:0 0 9px rgba(92,255,137,.58)!important;
  }
  .community-mobile-current-room b{
    min-width:0!important;
    white-space:nowrap!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
    font-size:9px!important;
    line-height:1.1!important;
    font-weight:900!important;
    color:#eef4f8!important;
  }
  .community-mobile-current-room small{
    min-width:19px!important;
    height:19px!important;
    display:grid!important;
    place-items:center!important;
    padding:0 4px!important;
    border-radius:999px!important;
    background:rgba(var(--accent-rgb),.09)!important;
    color:var(--accent)!important;
    font-size:7px!important;
    font-weight:950!important;
    line-height:1!important;
  }

  .community-mobile-compact-action{
    min-width:0!important;
    border:0!important;
    border-radius:0!important;
    background:transparent!important;
    color:#edf3f8!important;
    padding:0 5px!important;
    font-size:8px!important;
    line-height:1.15!important;
    font-weight:900!important;
    text-align:center!important;
    white-space:normal!important;
    cursor:pointer!important;
    -webkit-tap-highlight-color:rgba(var(--accent-rgb),.08)!important;
  }
  .community-mobile-compact-action:active,
  .community-mobile-compact-action.is-collapsed{
    color:var(--accent)!important;
    background:rgba(var(--accent-rgb),.055)!important;
  }
  .community-mobile-compact-action:disabled{
    opacity:.42!important;
    cursor:default!important;
  }

  /* The compact bar now owns music/source controls, so the duplicate player
     header disappears on phone. The official YouTube viewport remains >=200px
     whenever music is shown. */
  .community-page .community-persistent-player-head{display:none!important}
  .community-page .community-persistent-player{
    padding:7px 8px 7px!important;
  }
  .community-page .community-persistent-player.music-collapsed{
    display:none!important;
  }
  .community-page .community-persistent-youtube-host{
    height:clamp(200px,48vw,222px)!important;
    min-height:200px!important;
  }
  .community-page .community-persistent-controls{
    padding-top:6px!important;
  }

  /* Reclaim the space used by the old mobile room strip/header. */
  .community-page .community-center-card{
    height:calc(100dvh - 126px - env(safe-area-inset-bottom))!important;
    min-height:430px!important;
  }
  .community-page .community-messages.integrated{
    min-height:150px!important;
    padding:9px 9px 10px!important;
  }
  body.community-page.community-music-collapsed .community-messages.integrated{
    min-height:280px!important;
  }

  /* Keyboard-safe composer. On iOS the layout viewport can remain taller than
     the visual viewport while the keyboard is open. JS writes the obscured
     height to --tunivo-keyboard-offset; pin the composer above that region. */
  body.community-page.mobile-keyboard-open .community-composer.integrated{
    position:fixed!important;
    left:max(6px,env(safe-area-inset-left))!important;
    right:max(6px,env(safe-area-inset-right))!important;
    bottom:calc(var(--tunivo-keyboard-offset,0px) + 6px)!important;
    width:auto!important;
    z-index:16060!important;
    grid-template-columns:40px minmax(0,1fr) 78px!important;
    padding:7px!important;
    border:1px solid #2a3744!important;
    border-radius:14px!important;
    background:rgba(10,16,22,.985)!important;
    box-shadow:0 16px 44px rgba(0,0,0,.52)!important;
  }
  body.community-page.mobile-keyboard-open .community-composer.integrated textarea{
    min-height:42px!important;
    max-height:92px!important;
    font-size:16px!important;
  }
  body.community-page.mobile-keyboard-open .community-composer.integrated .community-send-btn{
    min-width:78px!important;
    width:78px!important;
    height:42px!important;
  }
  body.community-page.mobile-keyboard-open .community-composer-note.integrated{
    display:none!important;
  }
  body.community-page.mobile-keyboard-open .community-messages.integrated{
    padding-bottom:76px!important;
  }
}

@media(max-width:360px){
  .community-page .community-mobile-compactbar{
    grid-template-columns:54px minmax(82px,1.35fr) 70px 68px!important;
  }
  .community-mobile-rooms-menu>summary{padding:0 4px!important;font-size:8px!important}
  .community-mobile-current-room{padding:0 4px!important;gap:4px!important}
  .community-mobile-current-room b{font-size:8px!important}
  .community-mobile-current-room small{min-width:17px!important;height:17px!important;font-size:6px!important}
  .community-mobile-compact-action{font-size:7px!important;padding:0 3px!important}
}



/* ==========================================================================
   Tunivo 5.7.10.13 — Personal Radio, Room Presence & Discover Playlists
   ========================================================================== */
.user-radio-nav,
.community-user-radio-link{
  border-color:rgba(185,255,88,.16);
}
.owned-room-nav,
.community-owned-room-shortcut{
  background:linear-gradient(135deg,rgba(185,255,88,.08),rgba(98,222,247,.06));
}
.community-room-status.is-offline{
  color:#ffd27a;
  border-color:rgba(255,190,90,.28);
  background:rgba(255,170,55,.08);
}
.community-room-status.is-offline i{
  background:#ffb347;
  box-shadow:0 0 0 4px rgba(255,179,71,.12);
}
.community-danger-zone{
  border-color:rgba(255,95,109,.25)!important;
  background:linear-gradient(180deg,rgba(255,95,109,.06),rgba(255,95,109,.02));
}
.community-danger-zone p{
  color:var(--muted,#9ba5ae);
  margin:0 0 14px;
}
.account-radio-form{
  display:grid;
  gap:10px;
}
.account-radio-form select:disabled{
  opacity:.5;
}
.account-room-card{
  display:grid;
  gap:14px;
}
.account-room-summary{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  padding:16px;
  border:1px solid rgba(255,255,255,.08);
  border-radius:16px;
  background:rgba(255,255,255,.025);
}
.account-room-summary>div:first-child{
  display:flex;
  align-items:center;
  gap:12px;
  min-width:0;
}
.account-room-summary>div:first-child>span{
  display:grid;
  place-items:center;
  width:48px;
  height:48px;
  flex:0 0 48px;
  border-radius:15px;
  background:rgba(185,255,88,.09);
  font-size:24px;
}
.account-room-summary b,
.account-room-summary small{
  display:block;
}
.account-room-summary small{
  color:var(--muted,#9ba5ae);
  margin-top:3px;
}
.discover-playlists-section{
  margin:0 0 26px;
}
.discover-playlist-grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:14px;
}
.discover-playlist-card{
  min-width:0;
  padding:10px;
  border:1px solid rgba(255,255,255,.08);
  border-radius:18px;
  background:rgba(255,255,255,.025);
}
.discover-playlist-art{
  position:relative;
  display:block;
  aspect-ratio:1/1;
  overflow:hidden;
  border-radius:14px;
  background:linear-gradient(135deg,rgba(185,255,88,.18),rgba(98,222,247,.12));
}
.discover-playlist-art img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}
.discover-playlist-art>span{
  position:absolute;
  inset:0;
  display:grid;
  place-items:center;
  font-size:42px;
}
.discover-playlist-art>i{
  position:absolute;
  right:10px;
  bottom:10px;
  display:grid;
  place-items:center;
  width:38px;
  height:38px;
  border-radius:50%;
  background:#b9ff58;
  color:#0a0d0f;
  font-style:normal;
  box-shadow:0 8px 24px rgba(0,0,0,.3);
}
.discover-playlist-copy{
  display:grid;
  gap:4px;
  padding:11px 3px 4px;
}
.discover-playlist-copy>span{
  color:#b9ff58;
  font-size:10px;
  font-weight:800;
  letter-spacing:.08em;
}
.discover-playlist-name{
  color:inherit;
  font-weight:800;
  text-decoration:none;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.discover-playlist-owner{
  color:var(--muted,#9ba5ae);
  text-decoration:none;
  font-size:13px;
}
.discover-playlist-copy small{
  color:var(--muted,#9ba5ae);
}
@media(max-width:1100px){
  .discover-playlist-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:640px){
  .discover-playlist-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
  .discover-playlist-card{padding:7px;border-radius:14px}
  .account-room-summary{align-items:flex-start;flex-direction:column}
}


/* ==========================================================================
   Tunivo 5.7.10.14 — Multi-source Personal Radio
   ========================================================================== */
.account-radio-sources{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:10px;
}
.account-radio-source{
  display:flex;
  align-items:flex-start;
  gap:10px;
  padding:12px 13px;
  border:1px solid rgba(255,255,255,.08);
  border-radius:14px;
  background:rgba(255,255,255,.025);
  cursor:pointer;
}
.account-radio-source:has(input:checked){
  border-color:rgba(185,255,88,.32);
  background:rgba(185,255,88,.06);
}
.account-radio-source input{
  margin-top:3px;
  accent-color:#b9ff58;
}
.account-radio-source span,
.account-radio-source b,
.account-radio-source small{
  display:block;
}
.account-radio-source small{
  margin-top:3px;
  color:var(--muted,#9ba5ae);
}
@media(max-width:640px){
  .account-radio-sources{grid-template-columns:1fr}
}

/* 5.7.10.16 password reveal + anti-bot */
.password-field{position:relative;display:flex;align-items:center}
.password-field>input{width:100%;padding-right:46px}
.password-toggle{position:absolute;right:8px;top:50%;transform:translateY(-50%);width:34px;height:34px;border:0;background:transparent;color:inherit;cursor:pointer;border-radius:8px;font-size:17px;line-height:1}
.password-toggle:hover,.password-toggle:focus-visible{background:rgba(255,255,255,.08);outline:none}
.anti-bot-field{position:absolute!important;left:-10000px!important;width:1px!important;height:1px!important;overflow:hidden!important}
.verification-card{max-width:720px;margin:40px auto}
.verification-status{padding:14px 16px;border-radius:14px;margin:16px 0;background:rgba(255,255,255,.06)}


/* Tunivo 5.7.10.17 — unified "Radyoma Ekle" actions + library row alignment */
.track-action,
.artist-track-action,
.library-icon-btn,
.tunivo-right-mini-controls button,
.player-actions button{
  transition:border-color .16s ease,color .16s ease,background-color .16s ease,box-shadow .16s ease,transform .16s ease;
}
.track-action:hover,
.artist-track-action:hover,
.library-icon-btn:hover,
.tunivo-right-mini-controls button:hover,
.player-actions button:hover{
  transform:translateY(-1px);
}
.radio-track-action:hover,
[data-radio-track]:hover,
#playerRadio:hover,
#rightRadioBtn:hover{
  border-color:var(--accent)!important;
  color:var(--accent)!important;
  background:color-mix(in srgb,var(--accent) 11%,#10161f)!important;
  box-shadow:0 0 0 1px color-mix(in srgb,var(--accent) 22%,transparent),0 0 16px color-mix(in srgb,var(--accent) 16%,transparent);
}
.radio-track-action.active,
[data-radio-track].active,
#playerRadio.active,
#rightRadioBtn.active{
  color:var(--accent)!important;
  border-color:var(--accent)!important;
  background:color-mix(in srgb,var(--accent) 13%,#10161f)!important;
  box-shadow:0 0 0 1px color-mix(in srgb,var(--accent) 26%,transparent),0 0 18px color-mix(in srgb,var(--accent) 18%,transparent);
  text-shadow:none!important;
}
.library-track-row{
  grid-template-columns:42px 56px minmax(0,1fr) auto!important;
}
.library-track-actions{
  display:flex;align-items:center;justify-content:flex-end;gap:8px;min-width:max-content;
}
.library-row-play,.library-icon-btn{
  display:grid;place-items:center;line-height:1;
}
.library-icon-btn:hover{
  border-color:var(--accent);color:var(--accent);background:color-mix(in srgb,var(--accent) 9%,#131b25);
}
.artist-track-row{
  grid-template-columns:38px 54px minmax(0,1fr) 34px 34px 34px 38px;
}
.tunivo-right-mini-controls{
  grid-template-columns:repeat(6,1fr);
}

/* Right rail: the whole row remains playable while radio gets its own hover action. */
.tunivo-newest-item{
  grid-template-columns:minmax(0,1fr) 30px;
  padding:5px 6px;
}
.tunivo-newest-main{
  min-width:0;border:0;background:transparent;color:#fff;padding:1px 0;
  display:grid;grid-template-columns:44px minmax(0,1fr) 28px;gap:8px;align-items:center;
  text-align:left;cursor:pointer;
}
.tunivo-newest-main:focus-visible,
.tunivo-newest-radio:focus-visible,
.track-action:focus-visible,
.artist-track-action:focus-visible,
.library-icon-btn:focus-visible{
  outline:2px solid var(--accent);outline-offset:2px;
}
.tunivo-newest-radio{
  width:30px;height:30px;border-radius:9px;border:1px solid var(--line);
  background:#131b25;color:#dbe3ef;display:grid;place-items:center;cursor:pointer;
  opacity:.62;transform:translateX(2px);
  transition:opacity .16s ease,transform .16s ease,border-color .16s ease,color .16s ease,background-color .16s ease,box-shadow .16s ease;
}
.tunivo-newest-item:hover .tunivo-newest-radio,
.tunivo-newest-radio:focus-visible,
.tunivo-newest-radio.active{
  opacity:1;transform:none;
}
@media(max-width:650px){
  .library-track-row{
    grid-template-columns:38px 48px minmax(0,1fr) auto!important;
  }
  .library-track-actions{gap:6px}
  .library-icon-btn{width:34px;height:34px}
  .artist-track-row{
    grid-template-columns:36px 48px minmax(0,1fr) 34px 34px;
  }
  .artist-track-action:nth-last-child(2),
  .artist-track-action:last-child{display:none}
}

/* 5.7.10.17 mobile player radio action */
@media(max-width:900px){
  .mobile-secondary-controls{grid-template-columns:repeat(5,1fr)}
  .mobile-secondary-controls #mobileRadio.active{
    color:var(--accent);border-color:var(--accent);
    background:color-mix(in srgb,var(--accent) 12%,#101720);
  }
}


/* ==========================================================================
   Tunivo 5.7.10.21 — Daily room promotion cards
   ========================================================================== */
.community-room-share-promo{
  grid-column:1/-1;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  margin:-2px 0 1px;
}
.community-room-share-promo>span{
  color:#778594;
  font-size:8px;
  font-weight:800;
  letter-spacing:.05em;
  white-space:nowrap;
}
.community-room-share-btn{
  min-width:0!important;
  height:30px!important;
  padding:0 11px!important;
  border:1px solid rgba(var(--accent-rgb),.28)!important;
  border-radius:9px!important;
  background:rgba(var(--accent-rgb),.07)!important;
  color:#dfffb1!important;
  font-size:9px!important;
  font-weight:900!important;
  line-height:1!important;
  cursor:pointer;
  box-shadow:none!important;
  transition:border-color .18s ease,background .18s ease,transform .18s ease,color .18s ease;
}
.community-room-share-btn:hover:not(:disabled){
  border-color:var(--accent)!important;
  background:rgba(var(--accent-rgb),.14)!important;
  color:#fff!important;
  transform:translateY(-1px);
}
.community-room-share-btn:disabled{
  cursor:default;
  opacity:.58;
  color:#9aa7b3!important;
  border-color:var(--line)!important;
  background:#10161d!important;
}
.community-message.room-share-message .community-msg-body{
  min-width:0;
}
.community-room-share-card{
  margin-top:7px;
  width:min(520px,100%);
  display:grid;
  grid-template-columns:46px minmax(0,1fr) auto;
  gap:11px;
  align-items:center;
  padding:11px 12px;
  border:1px solid rgba(var(--accent-rgb),.22);
  border-radius:14px;
  background:
    radial-gradient(circle at 92% 10%,rgba(var(--accent-rgb),.12),transparent 34%),
    linear-gradient(135deg,#101a15,#0f151c 58%,#131421);
  color:#fff;
  text-decoration:none;
  box-shadow:0 8px 24px rgba(0,0,0,.18);
  transition:border-color .18s ease,transform .18s ease,box-shadow .18s ease;
}
.community-room-share-card:hover{
  border-color:rgba(var(--accent-rgb),.62);
  transform:translateY(-1px);
  box-shadow:0 12px 30px rgba(0,0,0,.24);
}
.community-room-share-icon{
  width:46px;
  height:46px;
  display:grid;
  place-items:center;
  border-radius:13px;
  background:linear-gradient(135deg,rgba(var(--accent-rgb),.22),rgba(152,91,255,.20));
  border:1px solid rgba(255,255,255,.08);
  font-style:normal;
  font-size:22px;
}
.community-room-share-info{
  min-width:0;
  display:grid;
  gap:3px;
}
.community-room-share-info small{
  color:var(--accent);
  font-size:7px;
  font-weight:950;
  letter-spacing:.13em;
}
.community-room-share-info b{
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  font-size:13px;
}
.community-room-share-info em{
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  color:#91a0ad;
  font-size:9px;
  font-style:normal;
}
.community-room-share-join{
  align-self:center;
  padding:8px 10px;
  border:1px solid rgba(var(--accent-rgb),.26);
  border-radius:10px;
  background:rgba(var(--accent-rgb),.08);
  color:#dfffb1;
  font-size:8px;
  white-space:nowrap;
}
.community-room-share-join.is-offline{
  border-color:rgba(255,189,89,.22);
  background:rgba(255,177,70,.07);
  color:#ffc879;
}

@media(max-width:640px){
  .community-room-share-promo{
    gap:6px;
  }
  .community-room-share-promo>span{
    font-size:7px;
  }
  .community-room-share-btn{
    height:28px!important;
    padding:0 9px!important;
    font-size:8px!important;
  }
  .community-room-share-card{
    grid-template-columns:38px minmax(0,1fr);
    gap:9px;
    padding:9px 10px;
  }
  .community-room-share-icon{
    width:38px;
    height:38px;
    border-radius:11px;
    font-size:19px;
  }
  .community-room-share-join{
    grid-column:1/-1;
    justify-self:start;
    margin-left:47px;
    margin-top:-3px;
    padding:6px 8px;
  }
}


/* Tunivo 5.7.10.23 — Oda yönetimi / kişisel radyo kaynağı */
.community-personal-radio-source{
  margin-top:12px;
  border:1px solid var(--line,#263342);
  background:linear-gradient(135deg,rgba(21,32,42,.96),rgba(14,22,29,.96));
  border-radius:14px;
  padding:12px;
  transition:border-color .18s ease,box-shadow .18s ease,transform .18s ease;
}
.community-personal-radio-source:not(.is-empty):hover{
  border-color:rgba(155,255,76,.52);
  box-shadow:0 0 0 1px rgba(155,255,76,.08),0 10px 28px rgba(0,0,0,.16);
}
.community-personal-radio-source.is-selected{
  border-color:rgba(155,255,76,.72);
  box-shadow:0 0 0 1px rgba(155,255,76,.12),0 0 28px rgba(155,255,76,.08);
}
.community-personal-radio-source-head{display:flex;align-items:center;gap:11px;min-width:0}
.community-personal-radio-source-icon{
  width:42px;height:42px;flex:0 0 42px;border-radius:12px;
  display:grid;place-items:center;font-size:20px;
  background:linear-gradient(135deg,rgba(144,255,75,.18),rgba(111,85,255,.18));
  border:1px solid rgba(144,255,75,.22);
}
.community-personal-radio-source-head>div{min-width:0;display:grid;gap:2px;flex:1}
.community-personal-radio-source-head span:not(.community-personal-radio-source-icon){
  color:var(--accent,#a6ff4d);font-size:10px;font-weight:800;letter-spacing:.08em
}
.community-personal-radio-source-head b{font-size:14px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.community-personal-radio-source-head small{opacity:.68;font-size:11px}
.community-personal-radio-preview{display:flex;gap:6px;flex-wrap:wrap;margin-top:10px;padding-top:10px;border-top:1px solid rgba(255,255,255,.06)}
.community-personal-radio-preview span,.community-personal-radio-preview em{
  max-width:210px;padding:5px 8px;border-radius:999px;background:rgba(255,255,255,.045);
  font-size:10px;font-style:normal;white-space:nowrap;overflow:hidden;text-overflow:ellipsis
}
.community-personal-radio-preview em{color:var(--accent,#a6ff4d)}
.community-personal-radio-empty{margin-top:10px;padding-top:10px;border-top:1px solid rgba(255,255,255,.06);font-size:11px;opacity:.68}
@media(max-width:700px){
  .community-personal-radio-source-head{align-items:flex-start;flex-wrap:wrap}
  .community-personal-radio-source-head .btn{width:100%;margin-top:2px}
  .community-personal-radio-preview span{max-width:100%;width:100%}
}


/* Tunivo 5.7.10.24 — room song requests */
.community-song-request-btn{
  border:1px solid rgba(124,92,255,.38);background:rgba(124,92,255,.12);color:#f1edff;
  border-radius:12px;padding:9px 12px;font-weight:800;cursor:pointer;white-space:nowrap
}
.community-song-request-btn:hover{background:rgba(124,92,255,.22);border-color:rgba(124,92,255,.68)}
.community-song-request-backdrop{position:fixed;inset:0;background:rgba(5,7,12,.72);backdrop-filter:blur(5px);z-index:190;opacity:0;pointer-events:none;transition:.18s}
.community-song-request-backdrop.open{opacity:1;pointer-events:auto}
.community-song-request-modal{
  position:fixed;z-index:191;left:50%;top:50%;transform:translate(-50%,-48%) scale(.98);
  width:min(620px,calc(100vw - 28px));max-height:min(720px,calc(100vh - 40px));overflow:auto;
  background:#11131b;border:1px solid rgba(255,255,255,.12);border-radius:20px;padding:18px;
  box-shadow:0 30px 90px rgba(0,0,0,.5);opacity:0;pointer-events:none;transition:.18s
}
.community-song-request-modal.open{opacity:1;pointer-events:auto;transform:translate(-50%,-50%) scale(1)}
.community-song-request-modal-head{display:flex;justify-content:space-between;gap:16px;align-items:flex-start;margin-bottom:14px}
.community-song-request-modal-head span{display:block;font-size:11px;letter-spacing:.12em;color:#9d8cff;font-weight:900}
.community-song-request-modal-head h3{margin:4px 0 0;font-size:22px}
.community-song-request-modal-head>button{border:0;background:rgba(255,255,255,.06);color:#fff;width:34px;height:34px;border-radius:10px;font-size:22px;cursor:pointer}
.community-song-request-search{display:flex;gap:8px}
.community-song-request-search input{flex:1;min-width:0}
.community-song-request-search button,.community-song-request-result button,.community-song-request-actions button{
  border:1px solid rgba(255,255,255,.13);background:rgba(255,255,255,.07);color:#fff;border-radius:10px;padding:9px 12px;font-weight:800;cursor:pointer
}
.community-song-request-status{min-height:24px;padding:8px 1px;color:#9fa8bd;font-size:13px}
.community-song-request-status.error{color:#ff8b9b}
.community-song-request-results{display:grid;gap:8px}
.community-song-request-result{display:grid;grid-template-columns:46px minmax(0,1fr) auto;gap:10px;align-items:center;padding:9px;border:1px solid rgba(255,255,255,.08);border-radius:13px;background:rgba(255,255,255,.025)}
.community-song-request-result-cover{width:46px;height:46px;border-radius:10px;overflow:hidden;background:rgba(255,255,255,.06);display:grid;place-items:center}
.community-song-request-result-cover img{width:100%;height:100%;object-fit:cover}
.community-song-request-result-copy{min-width:0}.community-song-request-result-copy b,.community-song-request-result-copy small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.community-song-request-result-copy small{margin-top:3px;color:#929bb1}
.community-song-request-tray{border:1px solid rgba(124,92,255,.26);background:rgba(124,92,255,.07);border-radius:15px;padding:12px;margin:10px 0}
.community-song-request-tray-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:8px}
.community-song-request-tray-head span{display:block;font-size:10px;letter-spacing:.12em;color:#9d8cff;font-weight:900}.community-song-request-tray-head b{display:block;margin-top:2px}
.community-song-request-tray-head button{border:0;background:transparent;color:#bfc6d8;font-size:18px;cursor:pointer}
.community-song-request-owner-list{display:grid;gap:7px}
.community-song-request-owner-row{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:9px 10px;background:rgba(0,0,0,.18);border-radius:11px}
.community-song-request-owner-row>div:first-child{min-width:0}.community-song-request-owner-row b,.community-song-request-owner-row small{display:block}.community-song-request-owner-row small{color:#929bb1;margin-top:2px}
.community-song-request-owner-row.is-queued{border-left:3px solid #9d8cff}
.community-song-request-actions{display:flex;gap:6px;flex-wrap:wrap;justify-content:flex-end}.community-song-request-actions button{padding:7px 9px;font-size:12px}.community-song-request-actions button.primary{background:#765cff;border-color:#8d79ff}
@media(max-width:700px){
  .community-song-request-modal{top:auto;bottom:0;left:0;width:100%;max-height:82vh;border-radius:22px 22px 0 0;transform:translateY(18px);padding-bottom:max(18px,env(safe-area-inset-bottom))}
  .community-song-request-modal.open{transform:translateY(0)}
  .community-song-request-result{grid-template-columns:42px minmax(0,1fr) auto}
  .community-song-request-result-cover{width:42px;height:42px}
  .community-song-request-result button{padding:8px}
  .community-song-request-owner-row{align-items:flex-start;flex-direction:column}
  .community-song-request-actions{width:100%;justify-content:flex-start}
}


/* ==========================================================================
   Tunivo 5.7.10.25 — Community composer alignment
   Keeps Request + Emoji + Message + Send on one stable row.
   ========================================================================== */
.community-page .community-composer.integrated{
  grid-template-columns:auto 40px minmax(0,1fr) 88px!important;
  align-items:end!important;
  gap:8px!important;
}
.community-page .community-composer.integrated .community-room-share-promo{
  grid-column:1/-1!important;
}
.community-page .community-composer.integrated .community-song-request-btn{
  grid-column:1!important;
  grid-row:auto!important;
  min-width:86px!important;
  height:42px!important;
  padding:0 12px!important;
  align-self:end!important;
}
.community-page .community-composer.integrated .community-emoji-wrap{
  grid-column:2!important;
  grid-row:auto!important;
  align-self:end!important;
}
.community-page .community-composer.integrated textarea{
  grid-column:3!important;
  grid-row:auto!important;
  width:100%!important;
  min-width:0!important;
  min-height:42px!important;
  max-height:120px!important;
  box-sizing:border-box!important;
}
.community-page .community-composer.integrated .community-send-btn{
  grid-column:4!important;
  grid-row:auto!important;
  width:88px!important;
  min-width:88px!important;
  height:42px!important;
  padding:0 12px!important;
  align-self:end!important;
}

/* Rooms without a request button keep the same clean composer without a blank cell. */
.community-page .community-composer.integrated:not(:has(.community-song-request-btn)){
  grid-template-columns:40px minmax(0,1fr) 88px!important;
}
.community-page .community-composer.integrated:not(:has(.community-song-request-btn)) .community-emoji-wrap{
  grid-column:1!important;
}
.community-page .community-composer.integrated:not(:has(.community-song-request-btn)) textarea{
  grid-column:2!important;
}
.community-page .community-composer.integrated:not(:has(.community-song-request-btn)) .community-send-btn{
  grid-column:3!important;
}

@media(max-width:700px){
  .community-page .community-composer.integrated{
    grid-template-columns:56px 38px minmax(0,1fr) 68px!important;
    gap:6px!important;
    padding:8px!important;
    align-items:end!important;
  }
  .community-page .community-composer.integrated .community-song-request-btn{
    width:56px!important;
    min-width:56px!important;
    height:40px!important;
    padding:0 5px!important;
    font-size:8px!important;
    overflow:hidden!important;
  }
  .community-page .community-composer.integrated .community-emoji-btn{
    width:38px!important;
    height:40px!important;
  }
  .community-page .community-composer.integrated textarea{
    min-height:40px!important;
    max-height:92px!important;
  }
  .community-page .community-composer.integrated .community-send-btn{
    width:68px!important;
    min-width:68px!important;
    height:40px!important;
    padding:0 8px!important;
    font-size:10px!important;
  }

  .community-page .community-composer.integrated:not(:has(.community-song-request-btn)){
    grid-template-columns:38px minmax(0,1fr) 68px!important;
  }

  body.community-page.mobile-keyboard-open .community-composer.integrated{
    grid-template-columns:56px 40px minmax(0,1fr) 72px!important;
    align-items:end!important;
  }
  body.community-page.mobile-keyboard-open .community-composer.integrated .community-song-request-btn{
    width:56px!important;
    min-width:56px!important;
    height:42px!important;
  }
  body.community-page.mobile-keyboard-open .community-composer.integrated .community-emoji-wrap{
    grid-column:2!important;
  }
  body.community-page.mobile-keyboard-open .community-composer.integrated textarea{
    grid-column:3!important;
  }
  body.community-page.mobile-keyboard-open .community-composer.integrated .community-send-btn{
    grid-column:4!important;
    width:72px!important;
    min-width:72px!important;
    height:42px!important;
  }
  body.community-page.mobile-keyboard-open .community-composer.integrated:not(:has(.community-song-request-btn)){
    grid-template-columns:40px minmax(0,1fr) 72px!important;
  }
  body.community-page.mobile-keyboard-open .community-composer.integrated:not(:has(.community-song-request-btn)) .community-emoji-wrap{
    grid-column:1!important;
  }
  body.community-page.mobile-keyboard-open .community-composer.integrated:not(:has(.community-song-request-btn)) textarea{
    grid-column:2!important;
  }
  body.community-page.mobile-keyboard-open .community-composer.integrated:not(:has(.community-song-request-btn)) .community-send-btn{
    grid-column:3!important;
  }
}

@media(max-width:380px){
  .community-page .community-composer.integrated{
    grid-template-columns:48px 36px minmax(0,1fr) 62px!important;
    gap:5px!important;
    padding:6px!important;
  }
  .community-page .community-composer.integrated .community-song-request-btn{
    width:48px!important;
    min-width:48px!important;
    font-size:0!important;
  }
  .community-page .community-composer.integrated .community-song-request-btn::after{
    content:"🎵";
    font-size:16px;
  }
  .community-page .community-composer.integrated .community-emoji-btn{
    width:36px!important;
  }
  .community-page .community-composer.integrated .community-send-btn{
    width:62px!important;
    min-width:62px!important;
    font-size:9px!important;
  }
  .community-page .community-composer.integrated:not(:has(.community-song-request-btn)){
    grid-template-columns:36px minmax(0,1fr) 62px!important;
  }
}


/* ==========================================================================
   Tunivo 5.7.10.27 — Room moderation
   ========================================================================== */
.community-manager-span{grid-column:1/-1}
.community-manager-help{margin-top:-3px!important}
.community-manage-person-rich{align-items:flex-start}
.community-manage-person-main{display:grid;min-width:0;gap:2px}
.community-manage-actions-wrap{align-items:flex-start}
.community-manage-pop{position:relative}
.community-manage-pop>summary{list-style:none;cursor:pointer;user-select:none}
.community-manage-pop>summary::-webkit-details-marker{display:none}
.community-manage-pop[open]>summary{border-color:rgba(185,255,88,.35);color:var(--accent)}
.community-mod-permission-form,.community-mute-form{
  display:grid;gap:8px;margin-top:8px;padding:10px;border:1px solid #263342;border-radius:12px;
  background:#080d13;min-width:240px
}
.community-mod-permission-form>b{font-size:9px;color:#dce7ef}
.community-mod-permission-form label{
  display:flex!important;grid-template-columns:none!important;align-items:center;gap:8px;
  color:#c7d1db;font-size:9px
}
.community-mod-permission-form input[type=checkbox]{
  width:15px!important;min-height:15px!important;height:15px!important;padding:0!important;accent-color:var(--accent)
}
.community-mute-form select,.community-mute-form input{margin:0!important}
.community-role-badge{
  display:inline-flex;align-items:center;margin-left:5px;padding:2px 5px;border-radius:999px;
  background:rgba(185,255,88,.11);border:1px solid rgba(185,255,88,.24);color:var(--accent);
  font-size:7px;letter-spacing:.08em;vertical-align:middle
}
.community-moderator-row{align-items:flex-start}
.community-mod-editor{max-width:320px}
.community-mod-editor-actions{display:flex;justify-content:flex-end}
.community-moderation-history{
  display:grid;max-height:330px;overflow:auto;border:1px solid #202b37;border-radius:12px;background:#080d13
}
.community-moderation-log-row{padding:9px 10px;border-bottom:1px solid #18222d;font-size:9px;color:#d8e1e9}
.community-moderation-log-row:last-child{border-bottom:0}
.community-moderation-log-row small{display:block;margin-top:3px;color:var(--muted);font-size:8px}
.community-message.is-moderated{opacity:.72}
.community-message-moderated{font-style:italic;color:#82909f!important}
.community-action-menu{width:220px}
.community-action-menu hr{width:100%;border:0;border-top:1px solid var(--line);margin:4px 0}
.community-action-menu button[hidden]{display:none!important}
.community-composer textarea:disabled,.community-composer button:disabled{opacity:.55;cursor:not-allowed}

@media(max-width:760px){
  .community-manager-grid{grid-template-columns:1fr}
  .community-manager-span{grid-column:auto}
  .community-manage-person,.community-manage-person-rich,.community-moderator-row{
    align-items:stretch;flex-direction:column
  }
  .community-manage-actions-wrap{justify-content:flex-start}
  .community-manage-pop{width:100%}
  .community-manage-pop>summary{width:100%;text-align:center}
  .community-mod-permission-form,.community-mute-form{min-width:0;width:100%}
}



/* ==========================================================================
   Tunivo 5.7.10.28 — Room Experience & Message Tools
   ========================================================================== */

/* Category radio cards follow the active Tunivo theme instead of a fixed green hue. */
.genre-radio-card{
  border-color:rgba(var(--accent-rgb),.28)!important;
  background:
    radial-gradient(circle at 100% 0%,rgba(var(--accent-rgb),.18),transparent 48%),
    linear-gradient(155deg,color-mix(in srgb,var(--accent) 7%,#111a23),#0b1017 72%)!important;
}
.genre-radio-card::after{
  border-color:rgba(var(--accent-rgb),.10)!important;
  box-shadow:0 0 0 9px rgba(var(--accent-rgb),.04)!important;
}
.genre-radio-card:hover,.genre-radio-card:focus-visible{
  border-color:rgba(var(--accent-rgb),.58)!important;
  box-shadow:0 14px 34px rgba(0,0,0,.25),0 0 28px rgba(var(--accent-rgb),.10)!important;
}
.genre-radio-live{color:color-mix(in srgb,var(--accent) 82%,white)!important}
.genre-radio-live i{
  background:var(--accent)!important;
  box-shadow:0 0 10px rgba(var(--accent-rgb),.75)!important;
}
.genre-radio-play{
  background:rgba(var(--accent-rgb),.14)!important;
  border-color:rgba(var(--accent-rgb),.34)!important;
  color:color-mix(in srgb,var(--accent) 76%,white)!important;
}

/* A more intentional room header without changing the established information architecture. */
.community-chat-head.integrated{
  position:relative;
  overflow:hidden;
  background:
    radial-gradient(circle at 78% -35%,rgba(var(--accent-rgb),.16),transparent 38%),
    linear-gradient(135deg,#101722,#0c1118 72%)!important;
  border-bottom:1px solid rgba(var(--accent-rgb),.16)!important;
}
.community-chat-head.integrated::after{
  content:'';
  position:absolute;
  width:240px;height:240px;border-radius:50%;
  right:-120px;top:-160px;
  border:30px solid rgba(var(--accent-rgb),.04);
  pointer-events:none;
}
.community-chat-head.integrated>div{position:relative;z-index:1}

.community-room-tabs{
  display:flex;gap:7px;align-items:center;
  padding:10px 12px 8px;
  border-bottom:1px solid var(--line);
  overflow-x:auto;scrollbar-width:none;
  background:#0b1016;
}
.community-room-tabs::-webkit-scrollbar{display:none}
.community-room-tabs button{
  flex:0 0 auto;border:1px solid var(--line);background:#111820;color:#9eabb9;
  border-radius:999px;padding:8px 13px;font-size:9px;font-weight:850;
}
.community-room-tabs button.active{
  color:#fff;border-color:rgba(var(--accent-rgb),.52);
  background:linear-gradient(135deg,rgba(var(--accent-rgb),.22),rgba(var(--accent2-rgb),.10));
  box-shadow:0 0 20px rgba(var(--accent-rgb),.08);
}

.community-pinned-message{
  margin:9px 12px 3px;
  display:grid;grid-template-columns:34px minmax(0,1fr) 30px;gap:9px;align-items:center;
  border:1px solid rgba(var(--accent-rgb),.35);
  border-radius:13px;padding:9px 10px;
  background:linear-gradient(135deg,rgba(var(--accent-rgb),.10),rgba(var(--accent2-rgb),.045)),#0d141c;
}
.community-pinned-message[hidden]{display:none!important}
.community-pinned-message-icon{width:32px;height:32px;border-radius:10px;display:grid;place-items:center;background:rgba(var(--accent-rgb),.12)}
.community-pinned-message-copy{min-width:0}
.community-pinned-message-copy>span{display:block;font-size:7px;letter-spacing:.12em;color:var(--accent);font-weight:950}
.community-pinned-message-copy>b{font-size:9px}
.community-pinned-message-copy>p{margin:2px 0 0;font-size:10px;color:#cbd4de;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.community-pinned-message>button{border:0;background:transparent;color:#8190a0;font-size:18px;border-radius:8px}
.community-pinned-message>button:hover{background:#17202a;color:#fff}

.community-msg-edited{font-size:7px!important;color:#687585!important}
.community-msg-content{min-width:0}
.community-message-reply-ref{
  display:grid!important;gap:2px!important;width:100%!important;max-width:560px!important;
  margin:4px 0 6px!important;padding:7px 9px!important;
  text-align:left!important;border:0!important;border-left:2px solid var(--accent)!important;
  border-radius:4px 9px 9px 4px!important;background:rgba(var(--accent-rgb),.055)!important;color:#cbd4dd!important;
}
.community-message-reply-ref span{font-size:8px;font-weight:850;color:var(--accent)}
.community-message-reply-ref small{font-size:8px;color:#82909e;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.community-message-image{display:block;margin-top:7px;max-width:min(520px,86%);border-radius:12px;overflow:hidden;border:1px solid var(--line);background:#080d12}
.community-message-image img{display:block;width:100%;max-height:360px;object-fit:cover}

.community-message-reactions{display:flex;align-items:center;gap:4px;flex-wrap:wrap;margin-top:7px;min-height:20px}
.community-reaction-chip,.community-reaction-quick button{
  border:1px solid #26303b!important;background:#111923!important;color:#cbd4de!important;
  border-radius:999px!important;padding:3px 7px!important;min-width:0!important;height:24px!important;
  font-size:10px!important;line-height:1!important;
}
.community-reaction-chip.mine{border-color:rgba(var(--accent-rgb),.48)!important;background:rgba(var(--accent-rgb),.10)!important}
.community-reaction-quick{display:flex;gap:2px;opacity:0;transition:opacity .14s ease}
.community-message:hover .community-reaction-quick,.community-message:focus-within .community-reaction-quick{opacity:1}

.community-action-menu{width:235px!important;max-height:min(360px,70vh);overflow-y:auto}
.community-action-menu hr{width:100%;border:0;border-top:1px solid var(--line);margin:4px 0}
.community-action-menu button[hidden]{display:none!important}

.community-page .community-composer.integrated{
  display:grid!important;
  grid-template-columns:74px 42px 42px minmax(0,1fr) 78px!important;
  gap:7px!important;align-items:end!important;
  padding:9px 10px!important;
}
.community-page .community-composer.integrated:not(:has(.community-song-request-btn)){
  grid-template-columns:42px 42px minmax(0,1fr) 78px!important;
}
.community-page .community-composer.integrated .community-song-request-btn{grid-column:1!important}
.community-page .community-composer.integrated .community-attachment-btn{
  grid-column:2!important;width:42px!important;min-width:42px!important;height:42px!important;padding:0!important;
  border:1px solid var(--line)!important;background:#111820!important;color:#d5dde6!important;font-size:17px!important;
}
.community-page .community-composer.integrated .community-emoji-wrap{grid-column:3!important}
.community-page .community-composer.integrated textarea{grid-column:4!important;min-width:0!important}
.community-page .community-composer.integrated .community-send-btn{grid-column:5!important}
.community-page .community-composer.integrated:not(:has(.community-song-request-btn)) .community-attachment-btn{grid-column:1!important}
.community-page .community-composer.integrated:not(:has(.community-song-request-btn)) .community-emoji-wrap{grid-column:2!important}
.community-page .community-composer.integrated:not(:has(.community-song-request-btn)) textarea{grid-column:3!important}
.community-page .community-composer.integrated:not(:has(.community-song-request-btn)) .community-send-btn{grid-column:4!important}
.community-reply-preview{
  grid-column:1/-1!important;
  min-width:0;display:flex;align-items:center;justify-content:space-between;gap:8px;
  border:1px solid rgba(var(--accent-rgb),.22);border-radius:10px;padding:6px 8px;
  background:rgba(var(--accent-rgb),.055);color:#aeb9c5;font-size:8px;
}
.community-reply-preview[hidden]{display:none!important}
.community-reply-preview span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.community-reply-preview button{width:26px!important;min-width:26px!important;height:26px!important;padding:0!important;background:transparent!important;color:#8b98a6!important;border:0!important}
.community-slow-mode-form{display:flex;gap:8px;align-items:center;flex-wrap:wrap}
.community-slow-mode-form select{min-width:150px}

@media(max-width:620px){
  .community-page .community-composer.integrated{
    grid-template-columns:52px 38px 38px minmax(0,1fr) 64px!important;
    gap:5px!important;padding:7px!important;
  }
  .community-page .community-composer.integrated:not(:has(.community-song-request-btn)){
    grid-template-columns:38px 38px minmax(0,1fr) 64px!important;
  }
  .community-page .community-composer.integrated .community-song-request-btn{
    width:52px!important;min-width:52px!important;font-size:0!important;
  }
  .community-page .community-composer.integrated .community-song-request-btn::after{content:'🎵';font-size:16px}
  .community-page .community-composer.integrated .community-attachment-btn{width:38px!important;min-width:38px!important}
  .community-page .community-composer.integrated .community-emoji-btn{width:38px!important}
  .community-page .community-composer.integrated .community-send-btn{width:64px!important;min-width:64px!important;padding:0 6px!important;font-size:9px!important}
  .community-message{grid-template-columns:34px minmax(0,1fr) 30px!important;padding:8px!important}
  .community-msg-avatar{width:34px!important;height:34px!important}
  .community-message-image{max-width:100%}
  .community-reaction-quick{opacity:1}
  .community-pinned-message-copy>p{max-width:66vw}
}


@media(max-width:760px){
  body.community-page.mobile-keyboard-open .community-composer.integrated{
    grid-template-columns:52px 38px 38px minmax(0,1fr) 64px!important;
    align-items:end!important;
  }
  body.community-page.mobile-keyboard-open .community-composer.integrated:not(:has(.community-song-request-btn)){
    grid-template-columns:38px 38px minmax(0,1fr) 64px!important;
  }
  body.community-page.mobile-keyboard-open .community-composer.integrated .community-song-request-btn{grid-column:1!important}
  body.community-page.mobile-keyboard-open .community-composer.integrated .community-attachment-btn{grid-column:2!important}
  body.community-page.mobile-keyboard-open .community-composer.integrated .community-emoji-wrap{grid-column:3!important}
  body.community-page.mobile-keyboard-open .community-composer.integrated textarea{grid-column:4!important}
  body.community-page.mobile-keyboard-open .community-composer.integrated .community-send-btn{grid-column:5!important}
  body.community-page.mobile-keyboard-open .community-composer.integrated:not(:has(.community-song-request-btn)) .community-attachment-btn{grid-column:1!important}
  body.community-page.mobile-keyboard-open .community-composer.integrated:not(:has(.community-song-request-btn)) .community-emoji-wrap{grid-column:2!important}
  body.community-page.mobile-keyboard-open .community-composer.integrated:not(:has(.community-song-request-btn)) textarea{grid-column:3!important}
  body.community-page.mobile-keyboard-open .community-composer.integrated:not(:has(.community-song-request-btn)) .community-send-btn{grid-column:4!important}
}


/* 5.7.10.28 — room members tab */
.community-room-tabs button span{
  display:inline-grid;place-items:center;min-width:17px;height:17px;margin-left:4px;padding:0 5px;
  border-radius:999px;background:rgba(var(--accent-rgb),.10);color:var(--accent);font-size:7px;font-weight:950;
}
.community-room-tab-panel{
  margin:10px 12px 3px;padding:12px;border:1px solid var(--line);border-radius:14px;
  background:linear-gradient(145deg,rgba(var(--accent-rgb),.035),transparent 45%),#0b1118;
}
.community-room-tab-panel[hidden]{display:none!important}
.community-room-tab-panel-head{display:flex;align-items:flex-end;justify-content:space-between;gap:14px;margin-bottom:10px}
.community-room-tab-panel-head>div{display:grid;gap:2px}
.community-room-tab-panel-head span{font-size:7px;letter-spacing:.13em;color:var(--accent);font-weight:950}
.community-room-tab-panel-head b{font-size:13px}
.community-room-tab-panel-head small{font-size:8px;color:#72808e}
.community-members-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}
.community-member-card{
  display:grid;grid-template-columns:36px minmax(0,1fr) auto;grid-template-areas:"avatar copy role" "avatar copy online";
  align-items:center;gap:2px 9px;min-width:0;padding:8px 9px;border:1px solid #202a35;border-radius:12px;
  background:#0f161f;color:inherit;text-decoration:none;transition:border-color .14s ease,transform .14s ease,background .14s ease;
}
.community-member-card:hover{border-color:rgba(var(--accent-rgb),.36);background:#121b25;transform:translateY(-1px)}
.community-member-card>i{
  grid-area:avatar;width:36px;height:36px;border-radius:50%;display:grid;place-items:center;font-style:normal;font-weight:900;color:#fff;
  background:linear-gradient(135deg,hsl(var(--member-hue) 74% 51%),hsl(calc(var(--member-hue) + 58) 77% 44%));
}
.community-member-card>span{grid-area:copy;min-width:0;display:grid;gap:1px}
.community-member-card>span b,.community-member-card>span small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.community-member-card>span b{font-size:10px}.community-member-card>span small{font-size:8px;color:#748291}
.community-member-card>em{
  grid-area:role;justify-self:end;font-style:normal;font-size:7px;font-weight:900;color:#8492a0;border:1px solid #26313d;border-radius:999px;padding:3px 6px;
}
.community-member-card>em.owner{color:#ffd36b;border-color:rgba(255,211,107,.3);background:rgba(255,211,107,.06)}
.community-member-card>em.moderator{color:var(--accent);border-color:rgba(var(--accent-rgb),.28);background:rgba(var(--accent-rgb),.06)}
.community-member-card>strong{grid-area:online;justify-self:end;font-size:7px;color:#64717e;font-weight:750}
.community-member-card>strong.online{color:#6fe89b}
.community-room-tab-empty{grid-column:1/-1;padding:20px;text-align:center;color:#748291;font-size:9px}
@media(max-width:720px){
  .community-members-grid{grid-template-columns:1fr}
  .community-room-tab-panel{margin:8px 8px 2px;padding:9px}
  .community-room-tab-panel-head{align-items:flex-start;flex-direction:column;gap:3px}
}


/* ==========================================================================
   Tunivo 5.7.10.29 — Room viewport, composer, request list and cover UX
   ========================================================================== */
@media (min-width:1201px){
  body.community-page.community-room-view{overflow:hidden}
  .community-room-view .community-integrated-layout{
    height:calc(100dvh - 150px)!important;
    min-height:0!important;
    max-height:calc(100dvh - 150px)!important;
    overflow:hidden;
    align-items:stretch
  }
  .community-room-view .community-left,
  .community-room-view .community-music-hub{
    height:100%!important;
    max-height:100%!important;
    min-height:0!important;
    overflow-y:auto!important;
    top:auto!important;
    position:relative!important
  }
  .community-room-view .community-center{height:100%;min-height:0;overflow:hidden}
  .community-room-view .community-center-card{
    height:100%!important;
    min-height:0!important;
    max-height:100%!important;
    overflow:hidden!important
  }
  .community-room-view .community-messages.integrated,
  .community-room-view .community-room-tab-panel{
    min-height:0!important;
    flex:1 1 auto!important;
    overflow-y:auto!important
  }
  .community-room-view .community-composer.integrated,
  .community-room-view .community-composer-note.integrated,
  .community-room-view .community-room-tabs,
  .community-room-view .community-pinned-message,
  .community-room-view .community-chat-head.integrated,
  .community-room-view .community-listen-source-bar{
    flex:0 0 auto
  }
}

.community-composer.integrated{
  display:grid!important;
  grid-template-columns:78px 42px 42px minmax(0,1fr) 82px!important;
  grid-template-areas:
    "share share share share share"
    "request image emoji message send"
    "preview preview preview preview preview"!important;
  gap:8px!important;
  align-items:end!important;
  padding:10px 12px!important
}
.community-composer.integrated .community-room-share-promo{grid-area:share}
.community-composer.integrated .community-song-request-btn{grid-area:request}
.community-composer.integrated .community-attachment-btn{grid-area:image}
.community-composer.integrated .community-emoji-wrap{grid-area:emoji}
.community-composer.integrated #communityMessageInput{grid-area:message;min-width:0}
.community-composer.integrated .community-send-btn{grid-area:send}
.community-composer.integrated .community-reply-preview{grid-area:preview}
.community-composer.integrated .community-song-request-btn,
.community-composer.integrated .community-attachment-btn,
.community-composer.integrated .community-emoji-btn,
.community-composer.integrated .community-send-btn{
  position:relative!important;inset:auto!important;margin:0!important;z-index:1!important
}
.community-composer.integrated .community-attachment-btn,
.community-composer.integrated .community-emoji-btn{
  width:42px!important;height:42px!important;min-width:42px!important;
  display:grid!important;place-items:center;font-size:17px!important
}
.community-composer.integrated .community-song-request-btn{height:42px!important;white-space:nowrap}
.community-composer.integrated #communityMessageInput{min-height:42px!important;max-height:112px!important}

.community-room-tab-panel[hidden]{display:none!important}
.community-song-request-tray{
  margin:0!important;border:0!important;border-radius:0!important;padding:12px 14px!important;
  background:transparent!important
}
.community-song-request-owner-list{display:grid;gap:8px}
.community-song-request-owner-row{
  display:grid!important;grid-template-columns:50px minmax(0,1fr) auto!important;
  gap:10px!important;align-items:center!important;padding:9px 10px!important;
  border:1px solid color-mix(in srgb,var(--accent) 20%,var(--line))!important;
  border-radius:13px!important;background:color-mix(in srgb,var(--panel2) 92%,transparent)!important
}
.community-request-cover{
  width:50px;height:50px;border-radius:10px;object-fit:cover;background:#111827;border:1px solid var(--line)
}
.community-request-copy{min-width:0;display:grid;gap:2px}
.community-request-copy b,.community-request-copy span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.community-request-copy span,.community-request-copy small{color:var(--muted);font-size:11px}
.community-request-status{font-size:10px;font-weight:900;color:var(--accent);white-space:nowrap}
.community-song-request-owner-row .community-song-request-actions{display:flex;gap:5px;flex-wrap:wrap;justify-content:flex-end}

.community-chat-head.integrated{position:relative;isolation:isolate;overflow:hidden}
.community-chat-head.integrated.has-room-cover{min-height:150px;align-items:flex-end}
.community-chat-head.integrated.has-room-cover::before{
  content:"";position:absolute;inset:0;z-index:-2;
  background-image:var(--community-room-cover);background-size:cover;background-position:center
}
.community-chat-head.integrated.has-room-cover::after{
  content:"";position:absolute;inset:0;z-index:-1;
  background:linear-gradient(90deg,rgba(5,9,17,.94) 0%,rgba(5,9,17,.72) 48%,rgba(5,9,17,.48) 100%),
             linear-gradient(0deg,rgba(5,9,17,.76),transparent 70%)
}
.community-chat-head.integrated.has-room-cover h1,
.community-chat-head.integrated.has-room-cover p,
.community-chat-head.integrated.has-room-cover .community-room-owner{color:#fff;text-shadow:0 1px 10px rgba(0,0,0,.45)}

.community-cover-manager{grid-column:1/-1}
.community-cover-manager-grid{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(240px,.7fr);gap:14px;margin-top:12px}
.community-cover-manager-grid article{border:1px solid var(--line);border-radius:14px;padding:12px;background:var(--panel2);display:grid;gap:9px}
.community-cover-manager-grid article>div:nth-child(2){display:grid;gap:2px}
.community-cover-manager-grid article>div:nth-child(2) small{color:var(--muted)}
.community-cover-preview{
  min-height:120px;border-radius:12px;border:1px dashed color-mix(in srgb,var(--accent) 50%,var(--line));
  background:linear-gradient(135deg,color-mix(in srgb,var(--accent) 18%,#0a1018),#0b111a);
  background-size:cover;background-position:center;display:grid;place-items:center;text-align:center;color:#cbd5e1;font-weight:900
}
.community-cover-preview.radio{aspect-ratio:1;min-height:0;max-width:220px}
.community-cover-preview.has-image span{opacity:0;background:rgba(0,0,0,.45);padding:7px 10px;border-radius:8px;transition:.18s}
.community-cover-preview.has-image:hover span{opacity:1}
.community-cover-manager-actions{display:flex;gap:7px;flex-wrap:wrap}

body.community-cover-crop-open{overflow:hidden}
.community-cover-crop-modal{
  position:fixed;inset:0;z-index:10020;background:rgba(2,6,12,.82);backdrop-filter:blur(10px);
  display:grid;place-items:center;padding:20px
}
.community-cover-crop-modal[hidden]{display:none!important}
.community-cover-crop-dialog{
  width:min(900px,96vw);max-height:92dvh;overflow:auto;border:1px solid var(--line);border-radius:20px;
  background:#0b111b;box-shadow:0 24px 90px rgba(0,0,0,.55);padding:16px;display:grid;gap:13px
}
.community-cover-crop-head{display:flex;align-items:center;justify-content:space-between;gap:10px}
.community-cover-crop-head div{display:grid;gap:3px}
.community-cover-crop-head span{font-size:9px;letter-spacing:.15em;color:var(--accent);font-weight:900}
.community-cover-crop-head b{font-size:20px}
.community-cover-crop-head button{border:0;background:#17202c;color:#fff;width:34px;height:34px;border-radius:50%;font-size:20px}
.community-cover-crop-stage{display:grid;place-items:center;overflow:hidden;border-radius:14px;background:#05080e;padding:8px}
.community-cover-crop-stage canvas{display:block;max-width:100%;height:auto;touch-action:none;cursor:grab;border-radius:9px}
.community-cover-crop-stage canvas:active{cursor:grabbing}
.community-cover-zoom{display:grid;grid-template-columns:auto minmax(160px,1fr);gap:12px;align-items:center;font-size:12px;color:#dbe5f0}
.community-cover-crop-dialog>p{margin:0;color:var(--muted);font-size:11px}
.community-cover-crop-actions{display:flex;justify-content:flex-end;gap:8px}

.community-personal-radio-source-icon.has-cover{
  background-size:cover!important;background-position:center!important;color:transparent!important;overflow:hidden
}

@media (max-width:1200px){
  .community-composer.integrated{
    grid-template-columns:62px 40px 40px minmax(0,1fr) 68px!important;
    gap:6px!important
  }
}
@media (max-width:700px){
  .community-composer.integrated{
    grid-template-columns:54px 38px 38px minmax(0,1fr) 60px!important;
    padding:8px!important;gap:5px!important
  }
  .community-composer.integrated .community-attachment-btn,
  .community-composer.integrated .community-emoji-btn{width:38px!important;height:38px!important;min-width:38px!important}
  .community-composer.integrated .community-song-request-btn{font-size:10px!important;padding:0 6px!important}
  .community-composer.integrated .community-send-btn{font-size:10px!important;padding:0 6px!important}
  .community-cover-manager-grid{grid-template-columns:1fr}
  .community-cover-preview.radio{max-width:180px}
  .community-cover-crop-dialog{padding:12px}
  .community-song-request-owner-row{grid-template-columns:44px minmax(0,1fr)!important}
  .community-request-cover{width:44px;height:44px}
  .community-song-request-owner-row .community-song-request-actions,.community-request-status{grid-column:1/-1}
}

.community-request-cover{display:grid;place-items:center;overflow:hidden}
.community-request-cover img{width:100%;height:100%;object-fit:cover;display:block}

.library-hero.has-radio-cover{position:relative;isolation:isolate;overflow:hidden;min-height:180px;align-items:end}
.library-hero.has-radio-cover::before{content:"";position:absolute;inset:0;z-index:-2;background-image:var(--radio-cover);background-size:cover;background-position:center}
.library-hero.has-radio-cover::after{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,rgba(5,9,17,.94),rgba(5,9,17,.62) 62%,rgba(5,9,17,.35))}
.library-hero.has-radio-cover h1,.library-hero.has-radio-cover p,.library-hero.has-radio-cover .library-kicker{color:#fff;text-shadow:0 1px 10px rgba(0,0,0,.5)}


/* Tunivo 5.7.10.29 — right discovery rail interaction + hover like */
@media (min-width:1201px){
  .browse-now,
  .artist-now,
  .library-player-side,
  .playlist-now{
    z-index:4;
    isolation:isolate;
    pointer-events:auto;
  }
}
.tunivo-newest-rail{
  position:relative;
  z-index:6;
  pointer-events:auto;
}
.tunivo-newest-list,
.tunivo-newest-item,
.tunivo-newest-main,
.tunivo-newest-like,
.tunivo-newest-radio{
  pointer-events:auto;
}
.tunivo-newest-item{
  grid-template-columns:minmax(0,1fr) 30px 30px;
}
.tunivo-newest-like,
.tunivo-newest-radio{
  width:30px;
  height:30px;
  border-radius:9px;
  border:1px solid var(--line);
  background:#131b25;
  color:#dbe3ef;
  display:grid;
  place-items:center;
  cursor:pointer;
  transition:opacity .16s ease,transform .16s ease,border-color .16s ease,color .16s ease,background-color .16s ease,box-shadow .16s ease;
}
.tunivo-newest-like{
  opacity:0;
  transform:translateX(2px);
  font-size:16px;
}
.tunivo-newest-radio{
  opacity:.62;
  transform:translateX(2px);
}
.tunivo-newest-item:hover .tunivo-newest-like,
.tunivo-newest-like:focus-visible,
.tunivo-newest-like.active,
.tunivo-newest-item:hover .tunivo-newest-radio,
.tunivo-newest-radio:focus-visible,
.tunivo-newest-radio.active{
  opacity:1;
  transform:none;
}
.tunivo-newest-like:hover{
  color:#ff4778;
  border-color:#ff4778;
  background:rgba(255,71,120,.10);
}
.tunivo-newest-main:hover .tunivo-newest-play{
  transform:scale(1.06);
  box-shadow:0 0 0 3px rgba(var(--accent-rgb),.10);
}


/* ==========================================================================
   Tunivo 5.7.10.30 — Discovery Ranking + Room Layout Fix
   Real DOM refactor: compact room banner, source chip, fixed tabs/composer,
   only the active room content scrolls, Music Hub scrolls independently.
   ========================================================================== */

/* --- Room banner --------------------------------------------------------- */
.community-page .community-chat-head.integrated.community-room-banner-v30{
  flex:0 0 auto!important;
  min-height:116px!important;
  max-height:132px!important;
  padding:14px 16px!important;
  align-items:center!important;
  gap:16px!important;
  border-bottom:1px solid rgba(var(--accent-rgb),.20)!important;
  background:
    radial-gradient(circle at 88% 0%,rgba(var(--accent-rgb),.16),transparent 35%),
    linear-gradient(120deg,#101722 0%,#0d151b 58%,color-mix(in srgb,var(--accent) 10%,#0b1412))!important;
}
.community-page .community-chat-head.integrated.community-room-banner-v30.has-room-cover{
  min-height:116px!important;
  max-height:132px!important;
  align-items:center!important;
}
.community-page .community-chat-head.integrated.community-room-banner-v30.has-room-cover::before{
  background-image:var(--community-room-cover)!important;
  background-size:cover!important;
  background-position:center!important;
  filter:saturate(.92)
}
.community-page .community-chat-head.integrated.community-room-banner-v30.has-room-cover::after{
  width:auto!important;height:auto!important;border:0!important;border-radius:0!important;
  inset:0!important;right:0!important;top:0!important;
  background:
    linear-gradient(90deg,rgba(4,8,14,.92) 0%,rgba(4,8,14,.72) 48%,rgba(4,8,14,.58) 100%),
    linear-gradient(0deg,rgba(4,8,14,.56),transparent 75%)!important;
}
.community-room-banner-main{
  position:relative;z-index:2;
  display:flex;align-items:center;gap:13px;min-width:0;flex:1 1 auto
}
.community-room-banner-cover{
  position:relative;z-index:5;
  width:84px;height:84px;min-width:84px;flex:0 0 84px;
  border-radius:17px;overflow:hidden;
  display:grid;place-items:center;
  background:#0b1118;
  border:1px solid rgba(255,255,255,.22);
  box-shadow:0 10px 30px rgba(0,0,0,.42),0 0 0 3px rgba(7,12,18,.50);
  font-size:28px
}
.community-room-banner-cover img{
  position:relative;z-index:1;
  display:block;width:100%;height:100%;object-fit:cover;
}
.community-room-banner-copy{min-width:0;display:grid;gap:3px}
.community-room-banner-copy .community-room-kicker{
  font-size:8px!important;letter-spacing:.13em!important;color:var(--accent)!important;font-weight:950!important
}
.community-room-banner-copy h1{
  margin:1px 0!important;font-size:24px!important;line-height:1.05!important;
  white-space:nowrap;overflow:hidden;text-overflow:ellipsis
}
.community-room-banner-copy>p{
  margin:0!important;max-width:620px;color:#b7c2ce!important;font-size:9px!important;
  white-space:nowrap;overflow:hidden;text-overflow:ellipsis
}
.community-room-banner-meta{
  display:flex;align-items:center;gap:7px;flex-wrap:wrap;min-width:0;margin-top:3px
}
.community-room-banner-meta>span,
.community-room-source-chip{
  min-height:28px;display:inline-flex;align-items:center;gap:5px;
  border:1px solid rgba(255,255,255,.10);border-radius:999px;
  background:rgba(7,12,18,.62);backdrop-filter:blur(9px);
  padding:4px 9px;color:#cbd5df;font-size:8px
}
.community-room-banner-meta .community-room-owner{color:#cbd5df!important;text-shadow:none!important}
.community-room-banner-meta .community-room-owner b{color:#fff}
.community-room-member-chip{white-space:nowrap}
.community-room-source-chip{max-width:290px;padding-right:4px}
.community-room-source-chip>b{
  min-width:0;max-width:180px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;
  color:#fff;font-size:8px
}
.community-room-source-chip>button{
  flex:0 0 auto;min-height:20px;border:0;border-radius:999px;padding:2px 7px;
  background:rgba(var(--accent-rgb),.12);color:var(--accent);font-size:7px;font-weight:900;cursor:pointer
}
.community-page .community-head-actions{
  position:relative;z-index:2;flex:0 0 auto;align-items:center!important;justify-content:flex-end!important;
  gap:7px!important;flex-wrap:wrap;max-width:330px
}
.community-page .community-room-status{
  min-height:32px;padding:0 10px;border:1px solid rgba(255,255,255,.10);border-radius:999px;
  background:rgba(7,12,18,.62);font-weight:900;letter-spacing:.04em;color:#dfffc7
}
.community-page .community-room-status.is-offline{color:#a9b4bf}
.community-page .community-manage-room-btn,
.community-page .community-slow-mode-btn{min-height:34px!important;white-space:nowrap}

/* The old separate "Dinleme Kaynağı" row is removed in community.php. */
.community-page .community-listen-source-bar{display:none!important}

/* --- Fixed room surface ------------------------------------------------- */
@media (min-width:1201px){
  body.community-page.community-room-view{
    height:100dvh!important;min-height:0!important;overflow:hidden!important
  }
  .community-room-view .community-integrated-app{
    height:100dvh!important;min-height:0!important;overflow:hidden!important
  }
  .community-room-view .community-integrated-layout{
    height:calc(100dvh - 150px)!important;
    max-height:calc(100dvh - 150px)!important;
    min-height:0!important;overflow:hidden!important;align-items:stretch!important
  }
  .community-room-view .community-center,
  .community-room-view .community-center-card{min-height:0!important;height:100%!important;overflow:hidden!important}
  .community-room-view .community-center-card{display:flex!important;flex-direction:column!important}
  .community-room-view .community-chat-head.integrated,
  .community-room-view .community-room-tabs,
  .community-room-view .community-pinned-message,
  .community-room-view .community-composer.integrated,
  .community-room-view .community-composer-note.integrated{
    flex:0 0 auto!important
  }
  .community-room-view .community-messages.integrated,
  .community-room-view .community-room-tab-panel{
    min-height:0!important;flex:1 1 0!important;overflow-y:auto!important;overscroll-behavior:contain
  }
  .community-room-view .community-music-hub,
  .community-room-view .community-left{
    height:100%!important;max-height:100%!important;min-height:0!important;
    overflow-y:auto!important;overscroll-behavior:contain!important;
    position:relative!important;top:auto!important
  }
}

/* --- Tabs + pinned strip ------------------------------------------------ */
.community-page .community-room-tabs{
  flex:0 0 auto!important;min-height:48px!important;
  display:flex!important;align-items:center!important;gap:7px!important;
  flex-wrap:nowrap!important;overflow-x:auto!important;overflow-y:hidden!important;
  padding:7px 10px!important;background:#0a1016!important
}
.community-page .community-room-tabs button{
  flex:0 0 auto!important;white-space:nowrap!important;padding:7px 12px!important
}
.community-page .community-pinned-message{
  flex:0 0 auto!important;min-height:40px!important;max-height:46px!important;
  margin:0!important;padding:6px 11px!important;border-radius:0!important;
  border-width:0 0 1px!important;
  background:linear-gradient(90deg,rgba(255,205,64,.075),rgba(var(--accent-rgb),.03))!important
}
.community-page .community-pinned-message-icon{
  width:28px!important;height:28px!important;border-radius:8px!important
}
.community-page .community-pinned-message-copy{
  display:grid!important;grid-template-columns:auto minmax(0,1fr)!important;
  gap:2px 7px!important;align-items:center!important
}
.community-page .community-pinned-message-copy>span{grid-column:1;font-size:6px!important}
.community-page .community-pinned-message-copy>b{grid-column:1;font-size:8px!important}
.community-page .community-pinned-message-copy>p{
  grid-column:2;grid-row:1/3;margin:0!important;max-width:none!important;
  white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important
}

/* --- Composer: exact desktop order = İstek | Emoji | Görsel | Mesaj | Gönder --- */
.community-page .community-composer.integrated.community-composer-v30{
  display:flex!important;flex-direction:column!important;align-items:stretch!important;
  gap:6px!important;padding:9px 10px!important;min-width:0!important;
  background:#0b1118!important
}
.community-page .community-composer-v30 .community-room-share-promo,
.community-page .community-composer-v30 .community-reply-preview{
  width:100%!important;min-width:0!important;margin:0!important
}
.community-page .community-composer-row-v30{
  width:100%;min-width:0;display:flex;align-items:center;gap:7px;flex-wrap:nowrap!important
}
.community-page .community-composer-row-v30 .community-song-request-btn,
.community-page .community-composer-row-v30 .community-emoji-wrap,
.community-page .community-composer-row-v30 .community-attachment-btn,
.community-page .community-composer-row-v30 .community-send-btn{
  flex:0 0 auto!important;position:relative!important;inset:auto!important;margin:0!important
}
.community-page .community-composer-row-v30 .community-song-request-btn{
  height:40px!important;min-width:76px!important;padding:0 11px!important;white-space:nowrap!important
}
.community-page .community-composer-row-v30 .community-emoji-wrap{
  width:40px!important;height:40px!important
}
.community-page .community-composer-row-v30 .community-emoji-btn,
.community-page .community-composer-row-v30 .community-attachment-btn{
  width:40px!important;height:40px!important;min-width:40px!important;padding:0!important;
  display:grid!important;place-items:center!important;font-size:17px!important
}
.community-page .community-composer-row-v30 #communityMessageInput{
  flex:1 1 auto!important;width:0!important;min-width:0!important;max-width:none!important;
  min-height:40px!important;height:40px!important;max-height:96px!important;margin:0!important;
  padding:10px 12px!important
}
.community-page .community-composer-row-v30 .community-send-btn{
  height:40px!important;min-width:78px!important;padding:0 14px!important
}
.community-page .community-composer-note.integrated{
  padding:0 11px 7px!important;min-height:18px!important
}

/* --- Music Hub independent scroll -------------------------------------- */
.community-page .community-music-hub{
  scrollbar-gutter:stable;overscroll-behavior:contain
}

/* --- Mobile: controlled compact row; never browser-random wrap ---------- */
@media (max-width:1200px){
  .community-page .community-chat-head.integrated.community-room-banner-v30{
    min-height:92px!important;max-height:110px!important;padding:10px 11px!important
  }
  .community-page .community-room-banner-cover{
    width:64px;height:64px;min-width:64px;flex-basis:64px;border-radius:13px
  }
  .community-page .community-room-banner-copy h1{font-size:20px!important}
  .community-page .community-room-banner-copy>p{display:none}
  .community-page .community-head-actions{max-width:260px;gap:5px!important}
  .community-page .community-room-source-chip{max-width:210px}
}
@media (max-width:700px){
  /* Existing compact mobile bar remains the primary room heading. */
  .community-page .community-chat-head.integrated.community-room-banner-v30{display:none!important}
  .community-page .community-room-tabs{min-height:43px!important;padding:5px 7px!important;gap:5px!important}
  .community-page .community-room-tabs button{padding:6px 9px!important;font-size:8px!important}
  .community-page .community-composer.integrated.community-composer-v30{padding:7px!important;gap:5px!important}
  .community-page .community-composer-row-v30{gap:5px!important}
  .community-page .community-composer-row-v30 .community-song-request-btn{
    min-width:38px!important;width:38px!important;padding:0!important;font-size:16px!important
  }
  .community-page .community-composer-row-v30 .community-song-request-btn>span{display:none!important}
  .community-page .community-composer-row-v30 .community-emoji-wrap,
  .community-page .community-composer-row-v30 .community-emoji-btn,
  .community-page .community-composer-row-v30 .community-attachment-btn{
    width:36px!important;height:38px!important;min-width:36px!important
  }
  .community-page .community-composer-row-v30 #communityMessageInput{
    min-height:38px!important;height:38px!important;padding:9px 9px!important
  }
  .community-page .community-composer-row-v30 .community-send-btn{
    min-width:58px!important;height:38px!important;padding:0 7px!important;font-size:9px!important
  }
}

/* --- Discovery navigation ---------------------------------------------- */
.discovery-v30-nav{
  display:flex;gap:7px;flex-wrap:wrap;margin:0 0 14px
}
.discovery-v30-nav a{
  display:inline-flex;align-items:center;min-height:34px;padding:7px 11px;
  border:1px solid var(--line);border-radius:999px;background:#0d141c;color:#aeb9c5;
  font-size:9px;font-weight:850;text-decoration:none
}
.discovery-v30-nav a:hover,.discovery-v30-nav a.active{
  color:#fff;border-color:rgba(var(--accent-rgb),.45);background:rgba(var(--accent-rgb),.08)
}
@media(min-width:901px){
  .quick.discovery-v30-quick{grid-template-columns:repeat(3,minmax(0,1fr))!important}
}


/* ==========================================================================
   Tunivo 5.7.10.30.2 — stable room tabs + repeated own-message delete UX
   ========================================================================== */
.community-room-view .community-center-card{
  display:flex!important;
  flex-direction:column!important;
}
.community-room-view .community-room-tab-panel{
  min-height:0!important;
  flex:1 1 0!important;
  overflow-y:auto!important;
  overscroll-behavior:contain;
  margin:0!important;
  border-width:0!important;
  border-radius:0!important;
}
.community-room-view .community-pinned-panel{
  padding:14px 16px!important;
  background:
    radial-gradient(circle at 85% 10%,rgba(var(--accent-rgb),.07),transparent 35%),
    #0b1118!important;
}
.community-pinned-panel-body{
  display:grid;
  align-content:start;
  gap:10px;
  min-height:100%;
}
.community-pinned-panel-card{
  display:grid;
  grid-template-columns:42px minmax(0,1fr) auto;
  align-items:start;
  gap:11px;
  padding:14px;
  border:1px solid rgba(var(--accent-rgb),.22);
  border-radius:14px;
  background:linear-gradient(135deg,rgba(var(--accent-rgb),.08),rgba(var(--accent2-rgb),.035)),#0d141c;
}
.community-pinned-panel-icon{
  width:42px;height:42px;border-radius:12px;
  display:grid;place-items:center;
  background:rgba(var(--accent-rgb),.11);
  font-size:18px;
}
.community-pinned-panel-copy{min-width:0}
.community-pinned-panel-copy>span{
  display:block;color:var(--accent);font-size:7px;letter-spacing:.12em;font-weight:950
}
.community-pinned-panel-copy>b{display:block;margin-top:3px;font-size:10px}
.community-pinned-panel-copy>p{
  margin:7px 0 0;color:#d5dde6;font-size:11px;line-height:1.6;
  white-space:pre-wrap;overflow-wrap:anywhere
}
.community-pinned-panel-card>button{
  align-self:center;border:1px solid var(--line);background:#111820;color:#b8c3ce;
  border-radius:10px;padding:8px 10px;font-size:8px;font-weight:850;white-space:nowrap
}
.community-pinned-panel-card>button:hover{color:#fff;border-color:rgba(var(--accent-rgb),.42)}
.community-center-card[data-active-community-tab="pinned"] .community-pinned-message{display:none!important}

/* Composer is always the fixed final flex row, independent from selected tab. */
.community-room-view .community-composer.integrated{
  flex:0 0 auto!important;
  margin-top:auto!important;
}
.community-room-view .community-messages.integrated[hidden],
.community-room-view .community-room-tab-panel[hidden]{
  display:none!important;
}

@media(max-width:700px){
  .community-pinned-panel-card{grid-template-columns:34px minmax(0,1fr);padding:10px}
  .community-pinned-panel-icon{width:34px;height:34px;border-radius:10px}
  .community-pinned-panel-card>button{grid-column:1/-1;justify-self:start}
}


/* ==========================================================================
   Tunivo 5.7.10.30.2.1 — personal radio artwork inside Community room panel
   ========================================================================== */
.community-room-source-art{
  width:20px;height:20px;min-width:20px;
  display:grid;place-items:center;
  overflow:hidden;border-radius:7px;
  background:rgba(255,255,255,.06);
  font-size:11px;line-height:1;
}
.community-room-source-art.has-cover{
  border:1px solid rgba(255,255,255,.13);
  box-shadow:0 2px 8px rgba(0,0,0,.24);
}
.community-room-source-art img{
  width:100%;height:100%;display:block;object-fit:cover;
}
.community-room-banner-cover.is-radio-cover{
  position:relative;
}
.community-room-banner-cover.is-radio-cover::after{
  content:"RADYO";
  position:absolute;z-index:6;right:5px;bottom:5px;
  padding:2px 5px;border-radius:6px;
  background:rgba(4,8,12,.86);color:#fff;
  font-size:6px;font-weight:950;letter-spacing:.08em;
  border:1px solid rgba(255,255,255,.18);
  box-shadow:0 2px 8px rgba(0,0,0,.30);
  pointer-events:none;
}


/* 5.7.10.30.2.3 — banner artwork is background only; identity tile stays above it. */
.community-page .community-chat-head.integrated.community-room-banner-v30::before,
.community-page .community-chat-head.integrated.community-room-banner-v30::after{
  pointer-events:none!important;
}
.community-page .community-chat-head.integrated.community-room-banner-v30.has-room-cover::before{
  z-index:0!important;
}
.community-page .community-chat-head.integrated.community-room-banner-v30.has-room-cover::after{
  z-index:1!important;
}
.community-page .community-room-banner-main,
.community-page .community-head-actions{
  z-index:3!important;
}
.community-page .community-room-banner-cover{
  z-index:5!important;
}


/* ==========================================================================
   Tunivo 5.7.10.30.2.3.1 — room radio identity cover sizing / banner balance
   - Keep the square radio cover visibly larger on real desktop/tablet DPRs.
   - Do not let the <=1200px compact breakpoint shrink it back to 64px.
   - Keep the wide room banner as a subdued background layer only.
   - Header height remains unchanged.
   ========================================================================== */
@media (min-width:701px){
  .community-page .community-chat-head.integrated.community-room-banner-v30
  .community-room-banner-cover{
    width:84px!important;
    height:84px!important;
    min-width:84px!important;
    min-height:84px!important;
    flex:0 0 84px!important;
    border-radius:17px!important;
  }

  .community-page .community-chat-head.integrated.community-room-banner-v30
  .community-room-banner-cover img{
    width:100%!important;
    height:100%!important;
    max-width:100%!important;
    max-height:100%!important;
    object-fit:cover!important;
    object-position:center!important;
  }
}

/* The room banner is atmosphere, not a foreground artwork. */
.community-page .community-chat-head.integrated.community-room-banner-v30.has-room-cover::before{
  opacity:.42!important;
  background-size:cover!important;
  background-position:center center!important;
  background-repeat:no-repeat!important;
}
.community-page .community-chat-head.integrated.community-room-banner-v30.has-room-cover::after{
  background:
    linear-gradient(90deg,
      rgba(4,8,14,.92) 0%,
      rgba(4,8,14,.82) 24%,
      rgba(4,8,14,.72) 54%,
      rgba(4,8,14,.70) 100%),
    linear-gradient(0deg,rgba(4,8,14,.70),rgba(4,8,14,.18) 72%)!important;
}

/* Ensure all real header content remains above the banner artwork. */
.community-page .community-chat-head.integrated.community-room-banner-v30 .community-room-banner-main,
.community-page .community-chat-head.integrated.community-room-banner-v30 .community-head-actions{
  position:relative!important;
  z-index:4!important;
}
.community-page .community-chat-head.integrated.community-room-banner-v30 .community-room-banner-cover{
  z-index:6!important;
  box-shadow:
    0 10px 28px rgba(0,0,0,.48),
    0 0 0 3px rgba(7,12,18,.72)!important;
}


/* ==========================================================================
   Tunivo 5.7.10.30.2.3.2 — cache-busted final room artwork sizing
   ========================================================================== */
@media (min-width:1201px){
  .community-page .community-chat-head.integrated.community-room-banner-v30 .community-room-banner-cover{
    width:96px!important;height:96px!important;min-width:96px!important;min-height:96px!important;
    flex:0 0 96px!important;border-radius:18px!important;
  }
}
@media (min-width:701px) and (max-width:1200px){
  .community-page .community-chat-head.integrated.community-room-banner-v30 .community-room-banner-cover{
    width:82px!important;height:82px!important;min-width:82px!important;min-height:82px!important;
    flex:0 0 82px!important;border-radius:16px!important;
  }
}
@media (min-width:701px){
  .community-page .community-chat-head.integrated.community-room-banner-v30.has-room-cover::before{
    opacity:.26!important;
    filter:brightness(.62) saturate(.78)!important;
  }
}


/* ==========================================================================
   Tunivo 302 — simplified room identity header
   ========================================================================== */
.community-room-banner-copy{gap:7px!important}
.community-room-banner-copy .community-room-kicker,
.community-room-banner-copy>p,
.community-room-banner-meta .community-room-owner,
.community-room-banner-meta .community-room-member-chip,
.community-room-banner-meta .community-room-source-chip{display:none!important}

.community-room-banner-meta{margin-top:4px!important}
.community-room-online-chip{
  min-height:28px;display:inline-flex!important;align-items:center;gap:6px;
  padding:4px 10px!important;border:1px solid rgba(91,255,104,.22)!important;
  border-radius:999px;background:rgba(7,12,18,.66)!important;color:#d8e4dd!important;
  font-size:8px!important;font-weight:850;white-space:nowrap;backdrop-filter:blur(9px);
}
.community-room-online-chip i{
  width:7px;height:7px;border-radius:50%;background:#42f56c;
  box-shadow:0 0 10px rgba(66,245,108,.72);
}
.community-room-online-chip b{color:#fff;font-weight:950}

.community-room-tabs .community-room-radio-tab{
  display:inline-flex;align-items:center;gap:6px;color:#dfe8ef;
  border-color:rgba(var(--accent-rgb),.28);background:rgba(var(--accent-rgb),.07);
}
.community-room-tabs .community-room-radio-tab:hover{
  color:#fff;border-color:rgba(var(--accent-rgb),.58);background:rgba(var(--accent-rgb),.13);
}
.community-room-tabs .community-room-radio-tab .community-room-source-art{
  width:18px;height:18px;min-width:18px;border-radius:6px;
}
.community-room-tabs .community-room-radio-tab .community-room-source-art img{
  width:100%;height:100%;display:block;object-fit:cover;
}
.community-room-tabs .community-room-radio-tab small{
  max-width:110px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;
  color:#7f8c99;font-size:7px;font-weight:750;
}
@media (max-width:900px){
  .community-room-tabs .community-room-radio-tab small{display:none}
}

@media (min-width:701px){
  .community-page .community-chat-head.integrated.community-room-banner-v30.has-room-cover::before{
    opacity:.72!important;filter:brightness(.92) saturate(.96)!important;
  }
  .community-page .community-chat-head.integrated.community-room-banner-v30.has-room-cover::after{
    background:
      linear-gradient(90deg,rgba(4,8,14,.82) 0%,rgba(4,8,14,.66) 30%,rgba(4,8,14,.48) 64%,rgba(4,8,14,.38) 100%),
      linear-gradient(0deg,rgba(4,8,14,.54),rgba(4,8,14,.08) 76%)!important;
  }
}


/* ==========================================================================
   Tunivo 304 — mobile category radios + room song-request viewport
   ========================================================================== */
@media (max-width:700px){
  /* Category radios: fit the phone width instead of 188px horizontal cards. */
  .genre-radio-section{
    overflow:visible!important;
    min-width:0!important;
  }
  .genre-radio-row{
    display:grid!important;
    grid-auto-flow:row!important;
    grid-auto-columns:auto!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:8px!important;
    width:100%!important;
    max-width:100%!important;
    overflow:visible!important;
    padding:2px 0 6px!important;
    scroll-snap-type:none!important;
  }
  .genre-radio-card{
    width:100%!important;
    min-width:0!important;
    min-height:118px!important;
    padding:11px!important;
    border-radius:14px!important;
  }
  .genre-radio-card strong{
    margin-top:12px!important;
    font-size:14px!important;
    line-height:1.15!important;
  }
  .genre-radio-copy{
    margin-top:5px!important;
    font-size:8px!important;
    line-height:1.3!important;
  }
  .genre-radio-meta{
    margin-top:8px!important;
    gap:5px!important;
    font-size:7px!important;
  }
  .genre-radio-play{
    width:30px!important;height:30px!important;right:9px!important;bottom:9px!important;
  }
  .genre-radio-card::after{
    width:62px!important;height:62px!important;
    border-width:10px!important;
    right:-16px!important;bottom:-18px!important;
  }

  /* Lock page behind the request sheet so the composer/request UI can't drift. */
  body.community-song-request-open{
    overflow:hidden!important;
    touch-action:none;
  }

  /* Song request becomes a keyboard-safe mobile sheet. */
  .community-song-request-modal{
    left:8px!important;
    right:8px!important;
    top:calc(var(--tunivo-visual-top, 0px) + 8px)!important;
    bottom:auto!important;
    width:auto!important;
    height:calc(var(--tunivo-visual-vh, 100dvh) - 16px)!important;
    max-height:calc(var(--tunivo-visual-vh, 100dvh) - 16px)!important;
    transform:translateY(14px) scale(.99)!important;
    padding:14px 12px calc(12px + env(safe-area-inset-bottom))!important;
    border-radius:18px!important;
    display:flex!important;
    flex-direction:column!important;
    overflow:hidden!important;
  }
  .community-song-request-modal.open{
    transform:translateY(0) scale(1)!important;
  }
  .community-song-request-modal-head{
    flex:0 0 auto!important;
    margin-bottom:10px!important;
  }
  .community-song-request-modal-head h3{
    font-size:18px!important;
  }
  .community-song-request-search{
    flex:0 0 auto!important;
    display:grid!important;
    grid-template-columns:minmax(0,1fr) auto!important;
    gap:7px!important;
    position:sticky!important;
    top:0!important;
    z-index:3!important;
    background:#11131b!important;
    padding-bottom:2px!important;
  }
  .community-song-request-search input{
    min-width:0!important;
    width:100%!important;
    height:42px!important;
    font-size:16px!important; /* prevents iOS zoom */
  }
  .community-song-request-search button{
    min-width:72px!important;
    height:42px!important;
    padding:8px 10px!important;
  }
  .community-song-request-status{
    flex:0 0 auto!important;
    min-height:20px!important;
    padding:5px 1px!important;
    font-size:11px!important;
  }
  .community-song-request-results{
    flex:1 1 auto!important;
    min-height:0!important;
    overflow-y:auto!important;
    overscroll-behavior:contain!important;
    -webkit-overflow-scrolling:touch;
    padding:0 1px calc(8px + env(safe-area-inset-bottom))!important;
    scroll-padding-bottom:80px!important;
  }
  .community-song-request-result{
    grid-template-columns:42px minmax(0,1fr)!important;
    gap:8px!important;
    padding:8px!important;
  }
  .community-song-request-result-cover{
    width:42px!important;height:42px!important;
  }
  .community-song-request-result button{
    grid-column:1 / -1!important;
    width:100%!important;
    min-height:40px!important;
    margin-top:1px!important;
  }
}

@media (max-width:360px){
  .genre-radio-row{
    grid-template-columns:1fr!important;
  }
}


/* ==========================================================================
   Tunivo 305 — in-app confirmation dialog
   ========================================================================== */
.tunivo-confirm-backdrop{
  position:fixed;inset:0;z-index:9100;
  background:rgba(2,5,9,.72);
  backdrop-filter:blur(6px);
  opacity:0;pointer-events:none;
  transition:opacity .16s ease;
}
.tunivo-confirm-backdrop.open{opacity:1;pointer-events:auto}

.tunivo-confirm-dialog{
  position:fixed;z-index:9101;
  left:50%;top:50%;
  width:min(420px,calc(100vw - 28px));
  transform:translate(-50%,-46%) scale(.98);
  opacity:0;pointer-events:none;
  display:grid;
  grid-template-columns:42px minmax(0,1fr);
  gap:12px;padding:16px;
  border:1px solid rgba(255,255,255,.13);
  border-radius:18px;
  background:#0f151d;
  box-shadow:0 28px 90px rgba(0,0,0,.58);
  transition:opacity .16s ease,transform .16s ease;
}
.tunivo-confirm-dialog.open{
  opacity:1;pointer-events:auto;
  transform:translate(-50%,-50%) scale(1);
}
.tunivo-confirm-icon{
  width:42px;height:42px;border-radius:13px;
  display:grid;place-items:center;
  background:rgba(255,79,103,.12);
  border:1px solid rgba(255,79,103,.28);
  color:#ff6f85;font-size:20px;font-weight:950;
}
.tunivo-confirm-copy{min-width:0}
.tunivo-confirm-copy b{display:block;color:#fff;font-size:15px}
.tunivo-confirm-copy p{
  margin:5px 0 0;color:#98a5b3;
  font-size:11px;line-height:1.45;
}
.tunivo-confirm-actions{
  grid-column:1 / -1;
  display:grid;grid-template-columns:1fr 1fr;
  gap:8px;margin-top:4px;
}
.tunivo-confirm-actions button{
  min-height:40px;
  border:1px solid rgba(255,255,255,.12);
  border-radius:11px;
  background:rgba(255,255,255,.06);
  color:#e8eef3;font-weight:850;cursor:pointer;
}
.tunivo-confirm-actions button.danger{
  border-color:rgba(255,79,103,.42);
  background:rgba(255,79,103,.14);
  color:#ff9aaa;
}
.tunivo-confirm-actions button:hover{border-color:rgba(255,255,255,.28)}
.tunivo-confirm-actions button.danger:hover{
  border-color:rgba(255,79,103,.72);
  background:rgba(255,79,103,.20);
}
@media(max-width:700px){
  .tunivo-confirm-dialog{
    top:auto;
    bottom:calc(12px + env(safe-area-inset-bottom));
    transform:translate(-50%,18px) scale(.99);
    border-radius:18px;
  }
  .tunivo-confirm-dialog.open{
    transform:translate(-50%,0) scale(1);
  }
}


/* ==========================================================================
   Tunivo 307 — global moderator request / admin badge
   ========================================================================== */
.community-global-mod-request-form{margin:0;display:inline-flex}
.community-global-mod-request{
  min-height:34px;
  border-color:rgba(124,92,255,.34)!important;
  background:rgba(124,92,255,.10)!important;
  color:#e8e2ff!important;
}
.community-global-mod-request:hover:not(:disabled){
  border-color:rgba(124,92,255,.65)!important;
  background:rgba(124,92,255,.17)!important;
}
.community-global-mod-request:disabled{
  opacity:.72;cursor:default;
}
.community-global-role-badge{
  display:inline-flex;align-items:center;justify-content:center;
  min-height:30px;padding:0 10px;border-radius:999px;
  border:1px solid rgba(124,92,255,.30);
  background:rgba(124,92,255,.10);
  color:#cfc3ff;font-size:8px;font-weight:950;letter-spacing:.08em;
}
.community-global-role-badge.admin{
  border-color:rgba(255,196,71,.38);
  background:rgba(255,196,71,.11);
  color:#ffd36f;
}
@media(max-width:700px){
  .community-head-actions .community-global-mod-request-form{width:100%}
  .community-head-actions .community-global-mod-request{width:100%}
}
