/* Retro Wave pentru LG webOS — compatibil cu motoare Chromium vechi (fără grid/gap/aspect-ratio) */
:root {
  --bg1: #0d0b1f;
  --bg2: #04040a;
  --steel1: #5b6272;
  --steel2: #2a2e3a;
  --neon: #39ff14;
  --gold: #ffcf4a;
  --red: #ff3b3b;
  --violet: #b58cff;
  --text: #eef0f6;
  --dim: #98a0b4;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html, body {
  width: 100%; height: 100%; overflow: hidden;
  background: #04040a;
  color: var(--text);
  font-family: "LG Smart UI", "LG Smart UI Latin", Roboto, "Segoe UI", Arial, sans-serif;
  font-size: 28px;
  cursor: default;
}
body {
  position: relative;
  background: radial-gradient(ellipse at 50% 0%, #1d1840 0%, #0d0b1f 45%, #04040a 100%);
}

/* ---------- bara de sus ---------- */
#top {
  position: absolute; left: 0; top: 0; width: 100%; height: 112px;
  background: linear-gradient(#3b4050, #232733 55%, #14161e);
  border-bottom: 4px solid #0a0a10;
  box-shadow: 0 6px 24px rgba(0,0,0,.6), inset 0 2px 0 rgba(255,255,255,.18);
  z-index: 5;
}
#logo { position: absolute; left: 36px; top: 10px; width: 92px; height: 92px; }
#brand { position: absolute; left: 148px; top: 18px; width: 330px; }
#brand b {
  display: block; font-size: 40px; letter-spacing: 5px; color: var(--neon);
  text-shadow: 0 0 14px rgba(57,255,20,.65);
}
#brand i { display: block; font-style: normal; font-size: 22px; color: var(--gold); letter-spacing: 3px; margin-top: 2px; }
#tabs { position: absolute; left: 500px; top: 22px; height: 70px; white-space: nowrap; }
.tb {
  display: inline-block; vertical-align: top; height: 68px; line-height: 62px;
  padding: 0 30px; margin-right: 14px; border-radius: 12px; font-size: 30px; font-weight: bold;
  color: #cfd3df; background: linear-gradient(#444a5a, #2b2f3b);
  border: 3px solid #14161e;
  box-shadow: inset 0 2px 0 rgba(255,255,255,.2), 0 3px 6px rgba(0,0,0,.5);
  transition: transform .12s;
}
.tb.sep { margin-left: 30px; }
#t_cc { max-width: 330px; padding: 0 22px; font-size: 27px; overflow: hidden; text-overflow: ellipsis; }
#t_search { padding: 0 26px; }
.tb.act { color: #06140a; background: linear-gradient(#7dff5f, #2fc30f); border-color: #0d3a05; text-shadow: 0 1px 0 rgba(255,255,255,.4); }
#clock {
  position: absolute; right: 40px; top: 24px; font-size: 52px; font-weight: bold; letter-spacing: 3px;
  color: var(--neon); text-shadow: 0 0 12px rgba(57,255,20,.6);
  background: #02150a; border: 3px solid #0a0a10; border-radius: 10px; padding: 0 18px; height: 66px; line-height: 60px;
  box-shadow: inset 0 3px 8px rgba(0,0,0,.8);
}

/* două puncte care clipesc o dată pe secundă, ca la un ceas digital adevărat */
#ck_c { -webkit-animation: ckblink 1s steps(1, end) infinite; animation: ckblink 1s steps(1, end) infinite; }
@-webkit-keyframes ckblink { 0% { opacity: 1; } 50% { opacity: .1; } }
@keyframes ckblink { 0% { opacity: 1; } 50% { opacity: .1; } }

/* ---------- subtitlu ---------- */
#sub { position: absolute; left: 0; top: 112px; width: 100%; height: 56px; padding: 0 56px; line-height: 56px; font-size: 26px; color: var(--dim); }
#subL { float: left; color: var(--gold); }
#subR { float: right; }

/* ---------- lista ---------- */
#grid {
  position: absolute; left: 0; top: 168px; width: 100%; bottom: 74px;
  padding: 10px 48px 40px 48px; overflow-y: auto; overflow-x: hidden;
}
body.np #grid { bottom: 214px; }
#grid::-webkit-scrollbar { display: none; }

.card {
  float: left; width: 280px; height: 248px; margin: 12px; position: relative;
  border-radius: 14px; background: linear-gradient(#2f3442, #1b1e28);
  border: 3px solid #0b0c12; overflow: hidden;
  box-shadow: 0 6px 14px rgba(0,0,0,.55), inset 0 2px 0 rgba(255,255,255,.12);
  transition: transform .12s;
}
.plate {
  position: relative; height: 120px; margin: 10px 10px 0 10px; border-radius: 9px; overflow: hidden;
  background: linear-gradient(#f1f3f8, #b9bfcc 55%, #d7dbe4);
  box-shadow: inset 0 3px 8px rgba(0,0,0,.45);
  text-align: center;
}
.plate img {
  position: absolute; left: 50%; top: 50%; max-width: 86%; max-height: 82%;
  -webkit-transform: translate(-50%, -50%); transform: translate(-50%, -50%);
}
.ph { display: block; line-height: 120px; font-size: 64px; font-weight: bold; color: #7b8396; }
.cn { margin: 8px 14px 0 14px; font-size: 26px; font-weight: bold; line-height: 31px; height: 62px; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.cs { margin: 0 14px; font-size: 21px; line-height: 28px; color: var(--dim); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.star {
  display: none; position: absolute; right: 12px; top: 12px; width: 36px; height: 36px; background: #ffd24a;
  -webkit-clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
  clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
  filter: drop-shadow(0 0 4px #000);
}
.card.fav .star { display: block; }
.kind { position: absolute; left: 12px; top: 12px; font-size: 18px; font-weight: bold; padding: 2px 9px; border-radius: 6px; background: #1b1e28; color: var(--violet); border: 2px solid #5a4a8f; }
.led { display: none; position: absolute; right: 14px; bottom: 14px; width: 18px; height: 18px; border-radius: 50%; background: var(--neon); box-shadow: 0 0 14px 4px rgba(57,255,20,.8); }
.card.now .led { display: block; }
.card.now { border-color: #1f6b10; }

.on {
  outline: 6px solid var(--violet); outline-offset: 2px;
  box-shadow: 0 0 34px 6px rgba(181,140,255,.75);
  position: relative; z-index: 2;
}
.card.on { -webkit-transform: scale(1.05); transform: scale(1.05); }
.tb.on { -webkit-transform: scale(1.06); transform: scale(1.06); outline-offset: 1px; }

#empty { display: none; position: absolute; left: 0; top: 300px; width: 100%; text-align: center; font-size: 34px; color: var(--dim); padding: 0 200px; line-height: 50px; }

/* ---------- bara „Acum se aude" ---------- */
#nowbar {
  display: none; position: absolute; left: 0; bottom: 74px; width: 100%; height: 140px;
  background: linear-gradient(#2b2f3b, #14161e); border-top: 4px solid #0a0a10;
  box-shadow: 0 -6px 24px rgba(0,0,0,.6), inset 0 2px 0 rgba(255,255,255,.14);
  z-index: 4;
}
body.np #nowbar { display: block; }
#nplate { position: absolute; left: 48px; top: 14px; width: 150px; height: 104px; border-radius: 9px; overflow: hidden; background: linear-gradient(#f1f3f8, #b9bfcc); box-shadow: inset 0 3px 8px rgba(0,0,0,.45); }
#nlogo { position: absolute; left: 50%; top: 50%; max-width: 88%; max-height: 84%; -webkit-transform: translate(-50%, -50%); transform: translate(-50%, -50%); }
#ninfo { position: absolute; left: 226px; top: 10px; width: 980px; }
#nname { font-size: 38px; font-weight: bold; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#nmeta { font-size: 24px; color: var(--dim); margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#nstat { font-size: 26px; margin-top: 6px; color: var(--gold); }
.leds { position: absolute; right: 56px; top: 18px; width: 560px; height: 100px; background: #02150a; border: 3px solid #0a0a10; border-radius: 10px; box-shadow: inset 0 3px 8px rgba(0,0,0,.8); padding: 8px 12px; overflow: hidden; }
.leds i {
  display: block; float: left; width: 16px; height: 80px; margin-right: 6px;
  background: linear-gradient(#ff3b3b 0%, #ffcf4a 30%, #39ff14 65%, #129a00 100%);
  -webkit-transform-origin: 50% 100%; transform-origin: 50% 100%;
  -webkit-transform: scaleY(.06); transform: scaleY(.06);
}
body.playing .leds i {
  -webkit-animation: bounce 1s ease-in-out infinite alternate; animation: bounce 1s ease-in-out infinite alternate;
}
@-webkit-keyframes bounce { from { -webkit-transform: scaleY(.1); } to { -webkit-transform: scaleY(1); } }
@keyframes bounce { from { transform: scaleY(.1); } to { transform: scaleY(1); } }

/* ---------- legendă ---------- */
#legend {
  position: absolute; left: 0; bottom: 0; width: 100%; height: 74px; line-height: 74px; padding: 0 48px;
  background: #0a0a12; border-top: 3px solid #23283a; font-size: 24px; color: #c9cedc; white-space: nowrap; z-index: 5;
}
#legend span { margin-right: 34px; }
#legend .gr { color: var(--dim); }
.c { display: inline-block; width: 22px; height: 22px; border-radius: 50%; margin-right: 10px; vertical-align: -3px; box-shadow: 0 0 8px rgba(255,255,255,.3); }
.c.r { background: #ff3b3b; } .c.g { background: #39d31a; } .c.y { background: #ffd21f; } .c.b { background: #3b8bff; }

/* ---------- player TV ---------- */
#player { display: none; position: absolute; left: 0; top: 0; width: 100%; height: 100%; background: #000; z-index: 1; }
body.pl #player { display: block; }
#v { position: absolute; left: 0; top: 0; width: 100%; height: 100%; background: #000; }
#osd {
  position: absolute; left: 0; bottom: 0; width: 100%; height: 260px; padding: 0 60px;
  background: linear-gradient(rgba(0,0,0,0), rgba(0,0,0,.88) 45%);
  opacity: 0; transition: opacity .35s;
}
#osd.show { opacity: 1; }
#oplate { position: absolute; left: 60px; top: 66px; width: 170px; height: 110px; border-radius: 9px; overflow: hidden; background: linear-gradient(#f1f3f8, #b9bfcc); box-shadow: inset 0 3px 8px rgba(0,0,0,.45); }
#ologo { position: absolute; left: 50%; top: 50%; max-width: 88%; max-height: 84%; -webkit-transform: translate(-50%, -50%); transform: translate(-50%, -50%); }
#oinfo { position: absolute; left: 260px; top: 52px; width: 1500px; }
#oname { font-size: 50px; font-weight: bold; text-shadow: 0 2px 8px #000; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#ometa { font-size: 26px; color: #c4c9d8; margin-top: 2px; }
#ostat { font-size: 30px; margin-top: 6px; color: var(--gold); }
#ohint { position: absolute; left: 60px; bottom: 12px; font-size: 22px; color: #9aa1b5; }

/* ---------- fereastră (țări / căutare) ---------- */
#modal { display: none; position: absolute; left: 0; top: 0; width: 100%; height: 100%; background: rgba(0,0,0,.78); z-index: 30; }
body.md #modal { display: block; }
#panel {
  position: absolute; left: 560px; top: 70px; width: 800px; height: 940px; border-radius: 18px; padding: 30px 40px;
  background: linear-gradient(#323746, #1a1d27); border: 4px solid #0a0a10;
  box-shadow: 0 10px 50px rgba(0,0,0,.8), inset 0 2px 0 rgba(255,255,255,.16);
}
#mt { font-size: 42px; color: var(--gold); margin-bottom: 14px; letter-spacing: 2px; }
#mbody { position: absolute; left: 40px; right: 40px; top: 100px; bottom: 74px; overflow-y: auto; overflow-x: hidden; }
#mbody::-webkit-scrollbar { display: none; }
#mhint { position: absolute; left: 40px; bottom: 22px; font-size: 22px; color: var(--dim); }
.mi {
  height: 70px; line-height: 64px; padding: 0 24px; margin: 6px 4px; border-radius: 10px; font-size: 32px;
  background: linear-gradient(#3d4352, #272b37); border: 3px solid #14161e; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.mi small { float: right; font-size: 24px; color: var(--dim); }
.mi.cur { border-color: #1f8a0d; }
.mi.btn { text-align: center; font-weight: bold; }
.mi input {
  width: 100%; height: 56px; margin-top: 3px; font-size: 32px; padding: 0 12px; color: #fff; background: #0a0c12;
  border: 2px solid #4b5163; border-radius: 6px; outline: none; font-family: inherit;
}

#toast { display: none; position: absolute; left: 50%; bottom: 240px; -webkit-transform: translateX(-50%); transform: translateX(-50%); padding: 14px 34px; font-size: 30px; border-radius: 12px; background: rgba(15,17,25,.95); border: 3px solid var(--violet); z-index: 40; white-space: nowrap; }


/* =====================================================================
   v1.2 — LISTA 3D (stânga, mai îngustă), zonă video fixă, rotița 3D
   ===================================================================== */

#lv, #stage { display: none; }
body.lv #lv { display: block; }
body.lv #stage { display: block; }
body.lv #grid { visibility: hidden; }
body.lv #empty { display: none !important; }
body.lv #nowbar { display: none !important; }
body.lv #sub { z-index: 5; background: rgba(8,8,20,.9); }

/* ---------- rotița din bara de sus ---------- */
#t_wheel { display: none; width: 80px; padding: 0; margin-right: 0; border-radius: 40px; position: relative; }
body.np #t_wheel, body.lv #t_wheel { display: inline-block; }
.wk { position: absolute; left: 0; top: 0; width: 74px; height: 62px; display: block; -webkit-transition: -webkit-transform .55s cubic-bezier(.3,.8,.3,1.1); transition: transform .55s cubic-bezier(.3,.8,.3,1.1); }
.wd { position: absolute; display: block; width: 17px; height: 17px; border-radius: 50%; box-shadow: 0 0 8px rgba(255,255,255,.35), inset 0 -2px 3px rgba(0,0,0,.35); }
.wd.d1 { left: 28px; top: 7px; background: #f4f6ff; }
.wd.d2 { left: 44px; top: 34px; background: #ffd24a; }
.wd.d3 { left: 12px; top: 34px; background: #ff5a5a; }
.wk em { position: absolute; left: 27px; top: 23px; width: 19px; height: 19px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #9aa3ba, #3a4052 70%); box-shadow: 0 2px 4px rgba(0,0,0,.6); }
body.fan #t_wheel .wk { -webkit-transform: rotate(240deg); transform: rotate(240deg); }
body.fan #t_wheel { background: linear-gradient(#7dff5f, #2fc30f); border-color: #0d3a05; }

/* ---------- evantaiul de 3 butoane (se desfășoară 3D) ---------- */
#wfan { position: absolute; left: 1290px; top: 112px; width: 300px; z-index: 12; visibility: hidden; -webkit-transition: visibility 0s linear .65s; transition: visibility 0s linear .65s; -webkit-perspective: 900px; perspective: 900px; -webkit-perspective-origin: 50% 0; perspective-origin: 50% 0; }
body.fan #wfan { visibility: visible; -webkit-transition-delay: 0s; transition-delay: 0s; }
.fb {
  position: relative; width: 290px; height: 92px; margin: 0 0 16px 0; padding-left: 92px; line-height: 86px;
  font-size: 34px; font-weight: bold; border-radius: 18px; color: #eef0f6; white-space: nowrap;
  background: linear-gradient(#4f576b, #2f3441 60%, #232632); border: 3px solid #0b0c12;
  box-shadow: 0 7px 0 #07080d, 0 14px 26px rgba(0,0,0,.7), inset 0 2px 0 rgba(255,255,255,.22);
  -webkit-transform-origin: 50% 0; transform-origin: 50% 0;
  -webkit-transform: rotateX(-100deg); transform: rotateX(-100deg); opacity: 0; pointer-events: none;
  -webkit-transition: -webkit-transform .5s cubic-bezier(.25,.9,.3,1.15), opacity .25s; transition: transform .5s cubic-bezier(.25,.9,.3,1.15), opacity .25s;
}
body.fan .fb { -webkit-transform: rotateX(0deg); transform: rotateX(0deg); opacity: 1; pointer-events: auto; }
body.fan #b_fav { -webkit-transition-delay: .09s; transition-delay: .09s; }
body.fan #b_stop { -webkit-transition-delay: .18s; transition-delay: .18s; }
.fb.on { outline: none; border-color: #e1d3ff; background: linear-gradient(#9a78ff, #5b3fe6 55%, #4b32c8); box-shadow: 0 0 38px 8px rgba(181,140,255,.8), 0 7px 0 #2a1a78, inset 0 2px 0 rgba(255,255,255,.4); }
body.fan .fb.on { -webkit-transform: scale(1.05); transform: scale(1.05); }
.ico { position: absolute; display: block; text-decoration: none; }
.i-grid { left: 30px; top: 25px; width: 16px; height: 16px; background: #fff; box-shadow: 24px 0 0 #fff, 0 24px 0 #fff, 24px 24px 0 #fff; }
.i-list { left: 28px; top: 20px; width: 40px; height: 9px; background: #fff; box-shadow: 0 17px 0 #fff, 0 34px 0 #fff; border-radius: 3px; }
.i-star {
  left: 24px; top: 20px; width: 48px; height: 48px; background: #ffd24a;
  -webkit-clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
  clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
}
.fb.nofav .i-star { background: #aab0c2; }
.i-stop { left: 30px; top: 25px; width: 36px; height: 36px; background: #ff5a5a; border-radius: 5px; }

/* ---------- panoul listei (mai îngust) ---------- */
#lv {
  position: absolute; left: 0; top: 168px; width: 744px; height: 838px; z-index: 6;
  background: -webkit-linear-gradient(left, rgba(5,5,16,.97), rgba(9,8,26,.93) 80%, rgba(9,8,26,.7));
  background: linear-gradient(90deg, rgba(5,5,16,.97), rgba(9,8,26,.93) 80%, rgba(9,8,26,.7));
  border-right: 3px solid rgba(181,140,255,.45);
  box-shadow: 14px 0 46px rgba(0,0,0,.65);
}
#lvbar { position: absolute; left: 20px; top: 16px; width: 52px; height: 758px; }
.lva {
  position: absolute; left: 0; width: 52px; height: 58px; border-radius: 10px;
  background: linear-gradient(#6b7388, #3a4052 60%, #2a2e3b); border: 3px solid #0b0c12;
  box-shadow: 0 5px 0 #07080d, inset 0 2px 0 rgba(255,255,255,.28);
}
#lvup { top: 0; } #lvdn { bottom: 0; }
.lva i { position: absolute; left: 9px; width: 0; height: 0; border-left: 14px solid transparent; border-right: 14px solid transparent; }
#lvup i { top: 11px; border-bottom: 22px solid #fff; }
#lvdn i { top: 15px; border-top: 22px solid #fff; }
.lva.on { outline: none; background: linear-gradient(#9a78ff, #5b3fe6); border-color: #e1d3ff; box-shadow: 0 0 26px 6px rgba(181,140,255,.8); }
#lvtrack { position: absolute; left: 22px; top: 80px; width: 6px; bottom: 80px; border-radius: 3px; background: rgba(160,175,215,.35); }
#lvthumb { position: absolute; left: -4px; width: 14px; top: 0; height: 80px; border-radius: 7px; background: linear-gradient(90deg, #cfd8ff, #8f9be0); box-shadow: 0 0 12px rgba(160,175,255,.8); }

#lvview {
  position: absolute; left: 84px; top: 12px; width: 652px; height: 790px; overflow: hidden;
  -webkit-perspective: 1500px; perspective: 1500px;
  -webkit-perspective-origin: 660px 50%; perspective-origin: 660px 50%;
  -webkit-mask-image: -webkit-linear-gradient(top, rgba(0,0,0,0) 0, #000 36px, #000 754px, rgba(0,0,0,0) 790px);
}
#lvtilt {
  position: absolute; left: 0; top: 0; width: 100%; height: 100%;
  -webkit-transform-style: preserve-3d; transform-style: preserve-3d;
  -webkit-transform-origin: 0 50%; transform-origin: 0 50%;
  -webkit-transform: rotateY(13deg); transform: rotateY(13deg);
}
#lvin {
  position: absolute; left: 0; top: 0; width: 100%; height: 100%;
  -webkit-transform-style: preserve-3d; transform-style: preserve-3d;
  -webkit-transition: -webkit-transform .26s ease-out; transition: transform .26s ease-out;
}
#lvtilt, #lvin { pointer-events: none; }
.lr { pointer-events: auto; }
#lvin.nt, #lvin.nt .lr { -webkit-transition: none !important; transition: none !important; }

.lr {
  position: absolute; left: 44px; width: 584px; height: 80px; border-radius: 14px; overflow: hidden;
  background: linear-gradient(#3b4254, #262b38 58%, #1c202b); border: 3px solid #0b0c12;
  box-shadow: 0 6px 0 #07080d, 0 11px 20px rgba(0,0,0,.65), inset 0 2px 0 rgba(255,255,255,.16);
  -webkit-transition: -webkit-transform .26s ease-out, opacity .26s; transition: transform .26s ease-out, opacity .26s;
  -webkit-backface-visibility: hidden; backface-visibility: hidden;
}
.lr .nm { position: absolute; left: 2px; top: 0; width: 46px; line-height: 74px; text-align: right; font-size: 22px; font-weight: bold; color: #8e96ab; }
.lr .pl {
  position: absolute; left: 58px; top: 7px; width: 104px; height: 60px; border-radius: 8px; overflow: hidden;
  background: linear-gradient(#f1f3f8, #b9bfcc 55%, #d7dbe4); box-shadow: inset 0 3px 8px rgba(0,0,0,.45);
}
.lr .pl img { position: absolute; left: 50%; top: 50%; max-width: 88%; max-height: 84%; -webkit-transform: translate(-50%, -50%); transform: translate(-50%, -50%); }
.lr .pl .ph { line-height: 60px; font-size: 36px; }
.lr .tx { position: absolute; left: 176px; top: 6px; width: 306px; }
.lr .tn { font-size: 29px; line-height: 35px; font-weight: bold; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; border-bottom: 2px solid rgba(120,185,255,.55); }
.lr .ts { font-size: 20px; line-height: 25px; margin-top: 2px; color: var(--dim); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lr .st {
  position: absolute; right: 54px; top: 16px; width: 40px; height: 40px; background: rgba(255,255,255,.16);
  -webkit-clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
  clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
}
.lr.fav .st { background: #ffd24a; }
.lr .ld { display: none; position: absolute; right: 20px; top: 27px; width: 20px; height: 20px; border-radius: 50%; background: var(--neon); box-shadow: 0 0 14px 4px rgba(57,255,20,.8); }
.lr.now .ld { display: block; }
.lr.now { border-color: #1f8a0d; }
.lr.on {
  position: absolute; outline: none; z-index: 3; border-color: #e1d3ff;
  background: linear-gradient(#a584ff, #6444ee 52%, #4d34cc);
  box-shadow: 0 0 40px 8px rgba(181,140,255,.8), 0 7px 0 #2a1a78, inset 0 2px 0 rgba(255,255,255,.42);
}
.lr.on .nm, .lr.on .ts { color: #efe9ff; }
.lr.on .tn { border-bottom-color: rgba(255,255,255,.75); text-shadow: 0 2px 0 rgba(0,0,0,.35); }
.lr.on .st { background: rgba(255,255,255,.3); }
.lr.on.fav .st { background: #ffd24a; }

#lvempty { display: none; position: absolute; left: 100px; top: 280px; width: 600px; font-size: 32px; line-height: 46px; color: var(--dim); text-align: center; }
#lvhint { position: absolute; left: 92px; top: 802px; width: 640px; font-size: 20px; line-height: 30px; color: #8d95aa; white-space: nowrap; overflow: hidden; }

/* ---------- zona din dreapta: video (TV) sau scena radio ---------- */
#stage { position: absolute; left: 764px; top: 168px; width: 1128px; height: 838px; z-index: 3; }
#splate {
  position: absolute; left: 40px; top: 34px; width: 400px; height: 280px; border-radius: 22px; overflow: hidden;
  background: linear-gradient(#f4f6fb, #b9bfcc 55%, #d7dbe4); border: 4px solid #0b0c12;
  box-shadow: 0 0 60px rgba(181,140,255,.35), 0 26px 40px rgba(0,0,0,.7), inset 0 4px 12px rgba(0,0,0,.4);
  -webkit-transform: perspective(1100px) rotateY(9deg); transform: perspective(1100px) rotateY(9deg);
}
#slogo { position: absolute; left: 50%; top: 50%; max-width: 84%; max-height: 80%; -webkit-transform: translate(-50%, -50%); transform: translate(-50%, -50%); }
#sname { position: absolute; left: 490px; top: 30px; width: 610px; height: 112px; font-size: 48px; line-height: 56px; font-weight: bold; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; text-shadow: 0 3px 10px #000; }
#smeta { position: absolute; left: 490px; top: 156px; width: 610px; font-size: 28px; color: var(--dim); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#sstat { position: absolute; left: 490px; top: 206px; width: 610px; font-size: 34px; color: var(--gold); }
#sleds { left: 40px; right: auto; top: 380px; width: 1048px; height: 330px; padding: 12px 14px; }
#sleds i { width: 34px; height: 300px; margin-right: 8px; }

/* TV: caseta video fixă, informațiile dedesubt */
#player { z-index: 1; }
body.pl #player {
  display: block; left: 780px; top: 184px; width: 1100px; height: 619px; z-index: 6;
  border: 3px solid #0a0a10; box-shadow: 0 0 30px rgba(0,0,0,.8), 0 0 0 1px rgba(181,140,255,.35);
}
body.pl #player.on { position: absolute; z-index: 6; outline: 6px solid var(--violet); outline-offset: 3px; box-shadow: 0 0 34px 8px rgba(181,140,255,.75); }
body.pl #osd { display: none; }
#fsb { display: none; position: absolute; right: 16px; bottom: 14px; padding: 6px 16px; font-size: 22px; border-radius: 8px; background: rgba(8,8,20,.75); color: #e2e6f3; border: 2px solid rgba(181,140,255,.55); z-index: 3; }
body.pl #fsb, body.mini #fsb { display: block; }
body.mini #fsb { display: none; }
body.pl #splate { left: 0; top: 664px; width: 190px; height: 118px; border-radius: 12px; border-width: 3px; -webkit-transform: none; transform: none; }
body.pl #sname { left: 216px; top: 654px; width: 880px; height: 56px; font-size: 42px; line-height: 52px; -webkit-line-clamp: 1; }
body.pl #smeta { left: 216px; top: 714px; width: 880px; font-size: 26px; }
body.pl #sstat { left: 216px; top: 754px; width: 880px; font-size: 30px; }
body.pl #sleds { display: none; }

/* ecran complet: doar imaginea + bara de informații */
body.fs #player { display: block; left: 0; top: 0; width: 100%; height: 100%; z-index: 15; border: 0; box-shadow: none; }
body.fs #osd { display: block; bottom: 0; }
body.fs #fsb { display: none; }
body.fs #top, body.fs #sub, body.fs #legend, body.fs #lv, body.fs #stage, body.fs #wfan { opacity: 0; pointer-events: none; }
#top, #sub, #legend, #lv, #stage { -webkit-transition: opacity .3s; transition: opacity .3s; }

/* ---------- TV în modul „Dale": imagine mică în bara de jos ---------- */
body.mini #player { display: block; left: 48px; top: 884px; width: 184px; height: 104px; z-index: 6; border: 3px solid #0a0a10; box-shadow: 0 0 18px rgba(0,0,0,.8); }
body.mini #osd { display: none; }
body.mini #nplate { display: none; }
body.mini #ninfo { left: 262px; width: 900px; }
body.mini #leds { display: none; }


/* =====================================================================
   v1.3 — vizualizator canvas 3D ARGB (real sau simulat), egalizator
   ===================================================================== */

/* scena radio: caseta cu vizualizatorul */
#sleds { display: none; }
#vbox, #vlbl { display: none; }
body.rad #vbox, body.rad #vlbl { display: block; }
#vbox {
  position: absolute; left: 40px; top: 372px; width: 1048px; height: 410px; border-radius: 16px; overflow: hidden; cursor: pointer;
  border: 3px solid #0a0a10;
  background: -webkit-radial-gradient(50% 100%, ellipse, #1b1642 0%, #0a0920 55%, #04040c 100%);
  background: radial-gradient(ellipse at 50% 100%, #1b1642 0%, #0a0920 55%, #04040c 100%);
  box-shadow: inset 0 4px 14px rgba(0,0,0,.85), 0 0 40px rgba(120,90,255,.2);
}
#viz { display: block; width: 100%; height: 100%; }
#vlbl { position: absolute; left: 46px; top: 792px; width: 1036px; font-size: 22px; line-height: 30px; color: var(--dim); white-space: nowrap; overflow: hidden; }
#vlbl b { margin-right: 18px; }
#vlbl b.real { color: var(--neon); }
#vlbl b.sim { color: var(--gold); }
#vlbl span { margin-right: 18px; }
#vlbl i { float: right; font-style: normal; color: #6f7690; }

/* bara de jos („Dale"): același vizualizator, în variantă mică */
#leds { padding: 0; background: #05061a; }
#leds canvas { display: block; width: 100%; height: 100%; }

/* evantai: Vizual + EQ apar doar la radio */
.rd { display: none; }
body.isrd .rd { display: block; }
body.isrd.fan #b_viz { -webkit-transition-delay: .09s; transition-delay: .09s; }
body.isrd.fan #b_eq { -webkit-transition-delay: .18s; transition-delay: .18s; }
body.isrd.fan #b_fav { -webkit-transition-delay: .27s; transition-delay: .27s; }
body.isrd.fan #b_stop { -webkit-transition-delay: .36s; transition-delay: .36s; }
.i-viz {
  left: 26px; top: 22px; width: 48px; height: 46px;
  background: -webkit-linear-gradient(#62e1ff, #62e1ff) 0 100% / 10px 58% no-repeat, -webkit-linear-gradient(#b58cff, #b58cff) 19px 100% / 10px 100% no-repeat, -webkit-linear-gradient(#6dff5f, #6dff5f) 38px 100% / 10px 38% no-repeat;
  background: linear-gradient(#62e1ff, #62e1ff) 0 100% / 10px 58% no-repeat, linear-gradient(#b58cff, #b58cff) 19px 100% / 10px 100% no-repeat, linear-gradient(#6dff5f, #6dff5f) 38px 100% / 10px 38% no-repeat;
}
.i-eq {
  left: 26px; top: 22px; width: 48px; height: 46px;
  background:
    linear-gradient(#cfd5e6, #cfd5e6) 6px 0 / 4px 100% no-repeat, linear-gradient(#cfd5e6, #cfd5e6) 22px 0 / 4px 100% no-repeat, linear-gradient(#cfd5e6, #cfd5e6) 38px 0 / 4px 100% no-repeat,
    linear-gradient(#ffd24a, #ffd24a) 1px 62% / 14px 9px no-repeat, linear-gradient(#ffd24a, #ffd24a) 17px 18% / 14px 9px no-repeat, linear-gradient(#ffd24a, #ffd24a) 33px 44% / 14px 9px no-repeat;
}

/* panoul egalizatorului */
#eqp { display: none; position: absolute; left: 0; top: 0; width: 100%; height: 100%; background: rgba(0,0,0,.8); z-index: 32; }
body.eqo #eqp { display: block; }
#eqbox {
  position: absolute; left: 450px; top: 60px; width: 1020px; height: 960px; border-radius: 20px; padding: 26px 48px;
  background: linear-gradient(#323746, #1a1d27); border: 4px solid #0a0a10;
  box-shadow: 0 10px 50px rgba(0,0,0,.8), inset 0 2px 0 rgba(255,255,255,.16);
}
#eqbox h2 { font-size: 42px; color: var(--gold); letter-spacing: 2px; }
#eqnote { margin-top: 4px; height: 36px; font-size: 23px; line-height: 36px; color: var(--dim); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#eqnote.ok { color: var(--neon); }
#eqnote.bad { color: #ffb347; }
#eqvz { margin: 12px 0 20px; height: 126px; border-radius: 12px; overflow: hidden; background: #05061a; border: 3px solid #0a0a10; box-shadow: inset 0 3px 8px rgba(0,0,0,.8); }
#eqviz { display: block; width: 100%; height: 100%; }
.er {
  position: relative; height: 92px; margin: 0 0 14px 0; border-radius: 16px;
  background: linear-gradient(#3d4352, #272b37); border: 3px solid #14161e;
  box-shadow: 0 6px 0 #07080d, inset 0 2px 0 rgba(255,255,255,.14);
}
.er b { position: absolute; left: 26px; top: 0; line-height: 86px; font-size: 34px; }
.et { position: absolute; left: 230px; top: 32px; width: 520px; height: 20px; border-radius: 10px; background: #0a0c14; box-shadow: inset 0 3px 6px rgba(0,0,0,.8); cursor: pointer; }
.et:after { content: ''; position: absolute; left: 50%; top: -8px; width: 3px; height: 36px; margin-left: -1px; background: rgba(255,255,255,.35); }
.ef { position: absolute; top: 0; height: 20px; border-radius: 10px; background: linear-gradient(90deg, #39ff14, #ffe14a); }
.ef.neg { background: linear-gradient(90deg, #ff5a5a, #ff9d3a); }
.ek { position: absolute; top: -9px; width: 38px; height: 38px; margin-left: -19px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #fff, #b9c2dd 55%, #7d879f); box-shadow: 0 4px 8px rgba(0,0,0,.7); }
.er em { position: absolute; right: 26px; top: 0; width: 150px; line-height: 86px; font-size: 34px; font-style: normal; text-align: right; color: var(--gold); }
.ec { position: absolute; left: 230px; top: 0; width: 650px; height: 86px; line-height: 86px; font-size: 34px; }
.ec strong { display: inline-block; min-width: 330px; text-align: center; color: #fff; }
.ea { display: inline-block; width: 66px; height: 58px; line-height: 50px; text-align: center; border-radius: 12px; font-size: 50px; vertical-align: middle; cursor: pointer; background: linear-gradient(#4f576b, #2f3441); border: 3px solid #0b0c12; box-shadow: 0 4px 0 #07080d; }
.er.on { border-color: #e1d3ff; background: linear-gradient(#a584ff, #6444ee 52%, #4d34cc); box-shadow: 0 0 34px 6px rgba(181,140,255,.75), 0 6px 0 #2a1a78, inset 0 2px 0 rgba(255,255,255,.4); }
.er.on em { color: #fff; }
#ehint { position: absolute; left: 48px; bottom: 22px; font-size: 22px; color: var(--dim); }


/* =====================================================================
   v1.4 — ghid TV (EPG) sub numele posturilor, „Acum cântă”, buton dedicat de identificare
   ===================================================================== */

/* ---- carduri TV: titlul emisiunii + ora + cât mai durează + bară de progres ---- */
.ce, .cd, .cp, .te, .td, .tp { display: none; }
.card.ep .cn { height: 31px; -webkit-line-clamp: 1; }
.card.ep .cs { display: none; }
.card.ep .led { bottom: auto; top: 20px; right: 60px; }
.card.ep .ce { display: block; margin: 0 14px; font-size: 22px; line-height: 27px; color: #9dff8a; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.card.ep .cd { display: block; margin: 0 14px; font-size: 19px; line-height: 24px; color: var(--dim); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.card.ep .cp { display: block; position: absolute; left: 0; bottom: 0; width: 100%; height: 6px; background: rgba(0,0,0,.55); }
.cp i, .tp i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, #39ff14, #ffe14a); }

/* ---- rânduri din lista 3D ---- */
.lr.ep .tn { font-size: 23px; line-height: 26px; }
.lr.ep .ts { display: none; }
.lr.ep .te { display: block; font-size: 18px; line-height: 20px; color: #9dff8a; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lr.ep .td { display: block; font-size: 15px; line-height: 17px; color: var(--dim); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lr.ep .tx { top: 1px; }
.lr.ep .tp { display: block; position: absolute; left: 0; bottom: 0; width: 100%; height: 5px; background: rgba(0,0,0,.55); }
.lr.on .te { color: #d9ffd0; }
.lr.on .td { color: #efe9ff; }

/* ---- scena: Acum cântă (radio) / Urmează (TV) ---- */
#ssong, #snext { display: none; }
#ssong { position: absolute; left: 490px; top: 254px; width: 610px; height: 100px; }
#ssong b { display: block; font-size: 33px; line-height: 40px; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; text-shadow: 0 2px 8px #000; }
#ssong i { display: block; font-style: normal; font-size: 26px; line-height: 32px; color: var(--gold); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#ssong u { display: block; text-decoration: none; font-size: 19px; line-height: 24px; color: #7e86a0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
body.rad #ssong.has { display: block; }
body.pl #snext { display: block; position: absolute; left: 216px; top: 792px; width: 880px; font-size: 25px; line-height: 32px; color: var(--dim); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
body.pl #snext:empty { display: none; }

/* ---- butonul dedicat „Identifică melodia” ---- */
#sbtn, #nsg { display: none; }
.sbtn {
  position: absolute; height: 72px; border-radius: 36px; cursor: pointer; white-space: nowrap; color: #fff; font-weight: bold;
  background: linear-gradient(#ff7a59, #e23a2b 55%, #b8231a); border: 3px solid #5b0f0a;
  box-shadow: 0 6px 0 #4a0c07, 0 12px 22px rgba(0,0,0,.65), inset 0 2px 0 rgba(255,255,255,.4);
  text-shadow: 0 2px 0 rgba(0,0,0,.35);
}
.sbtn b { position: absolute; left: 86px; right: 18px; top: 0; line-height: 66px; font-size: 29px; overflow: hidden; text-overflow: ellipsis; }
.sbtn .sbi { position: absolute; left: 20px; top: 14px; width: 46px; height: 40px; }
.sbtn .sbi i { position: absolute; bottom: 0; width: 7px; border-radius: 3px; background: #fff; }
.sbtn .sbi i:nth-child(1) { left: 2px; height: 14px; }
.sbtn .sbi i:nth-child(2) { left: 13px; height: 30px; }
.sbtn .sbi i:nth-child(3) { left: 24px; height: 22px; }
.sbtn .sbi i:nth-child(4) { left: 35px; height: 36px; }
.sbtn.on { outline: 6px solid #e1d3ff; outline-offset: 3px; box-shadow: 0 0 38px 8px rgba(255,120,90,.85), 0 6px 0 #4a0c07, inset 0 2px 0 rgba(255,255,255,.4); }
.sbtn.lis { background: linear-gradient(#ffb02e, #f08410 55%, #c9650a); border-color: #6b3504; }
.sbtn.lis .sbi i { -webkit-animation: sbw .7s ease-in-out infinite alternate; animation: sbw .7s ease-in-out infinite alternate; }
.sbtn.lis .sbi i:nth-child(2) { -webkit-animation-delay: .15s; animation-delay: .15s; }
.sbtn.lis .sbi i:nth-child(3) { -webkit-animation-delay: .3s; animation-delay: .3s; }
.sbtn.lis .sbi i:nth-child(4) { -webkit-animation-delay: .45s; animation-delay: .45s; }
@-webkit-keyframes sbw { from { -webkit-transform: scaleY(.3); } to { -webkit-transform: scaleY(1); } }
@keyframes sbw { from { transform: scaleY(.3); } to { transform: scaleY(1); } }
.sbtn .sbi i { -webkit-transform-origin: 50% 100%; transform-origin: 50% 100%; }
/* pe scena radio: plutește în colțul din dreapta-sus al vizualizatorului */
body.rad #sbtn { display: block; left: 668px; top: 386px; width: 404px; z-index: 5; }
/* în modul „Dale”: în bara de jos, lângă vizualizator */
body.np.isrd #nsg { display: block; left: 940px; top: 34px; width: 296px; height: 72px; }
body.np.isrd #ninfo { width: 700px; }
#nsg b { font-size: 27px; }

/* ---- evantai: butoane noi ---- */
.tvo { display: none; }
body.istv .tvo { display: block; }
body.isrd.fan #b_song { -webkit-transition-delay: .27s; transition-delay: .27s; }
body.isrd.fan #b_fav { -webkit-transition-delay: .36s; transition-delay: .36s; }
body.isrd.fan #b_stop { -webkit-transition-delay: .45s; transition-delay: .45s; }
body.istv.fan #b_epg { -webkit-transition-delay: .09s; transition-delay: .09s; }
body.istv.fan #b_fav { -webkit-transition-delay: .18s; transition-delay: .18s; }
body.istv.fan #b_stop { -webkit-transition-delay: .27s; transition-delay: .27s; }
.i-song { left: 28px; top: 20px; width: 40px; height: 48px; }
.i-song:before { content: ''; position: absolute; left: 0; bottom: 0; width: 20px; height: 16px; border-radius: 50%; background: #ff8a6a; -webkit-transform: rotate(-20deg); transform: rotate(-20deg); }
.i-song:after { content: ''; position: absolute; left: 17px; top: 0; width: 6px; height: 40px; background: #ff8a6a; box-shadow: 15px 6px 0 -1px #ff8a6a; border-radius: 2px; }
.i-epg { left: 24px; top: 22px; width: 48px; height: 44px; border: 4px solid #cfd5e6; border-radius: 6px; background: -webkit-linear-gradient(#cfd5e6, #cfd5e6) 6px 8px / 28px 5px no-repeat, -webkit-linear-gradient(#9dff8a, #9dff8a) 6px 18px / 20px 5px no-repeat, -webkit-linear-gradient(#cfd5e6, #cfd5e6) 6px 28px / 30px 5px no-repeat; background: linear-gradient(#cfd5e6, #cfd5e6) 6px 8px / 28px 5px no-repeat, linear-gradient(#9dff8a, #9dff8a) 6px 18px / 20px 5px no-repeat, linear-gradient(#cfd5e6, #cfd5e6) 6px 28px / 30px 5px no-repeat; }

/* ---- panouri: ghid TV și melodii ---- */
#epp, #sgp { display: none; position: absolute; left: 0; top: 0; width: 100%; height: 100%; background: rgba(0,0,0,.82); z-index: 33; }
body.epo #epp, body.sgo #sgp { display: block; }
#epbox, #sgbox {
  position: absolute; left: 400px; top: 60px; width: 1120px; height: 960px; border-radius: 20px; padding: 26px 48px;
  background: linear-gradient(#323746, #1a1d27); border: 4px solid #0a0a10;
  box-shadow: 0 10px 50px rgba(0,0,0,.8), inset 0 2px 0 rgba(255,255,255,.16);
}
#epbox h2, #sgbox h2 { font-size: 42px; color: var(--gold); letter-spacing: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#epnote { margin-top: 4px; height: 36px; font-size: 23px; line-height: 36px; color: var(--dim); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#epnote.bad { color: #ffb347; }
#epnote.ok { color: var(--neon); }
#eplist { margin-top: 12px; }
.ep-r { position: relative; height: 92px; margin: 0 0 12px 0; border-radius: 14px; background: linear-gradient(#3d4352, #272b37); border: 3px solid #14161e; box-shadow: 0 5px 0 #07080d, inset 0 2px 0 rgba(255,255,255,.12); overflow: hidden; }
.ep-r .t { position: absolute; left: 22px; top: 8px; width: 210px; font-size: 30px; line-height: 36px; color: var(--gold); }
.ep-r .t small { display: block; font-size: 20px; line-height: 24px; color: var(--dim); }
.ep-r .n { position: absolute; left: 250px; top: 8px; width: 770px; font-size: 30px; line-height: 36px; font-weight: bold; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ep-r .d { position: absolute; left: 250px; top: 46px; width: 770px; font-size: 20px; line-height: 26px; color: var(--dim); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ep-r.cur { border-color: #1f8a0d; background: linear-gradient(#2f5a2a, #1c3a1a); }
.ep-r.cur .n { color: #d9ffd0; }
.ep-r .p { position: absolute; left: 0; bottom: 0; width: 100%; height: 6px; background: rgba(0,0,0,.55); }
.ep-r .p i { display: block; height: 100%; background: linear-gradient(90deg, #39ff14, #ffe14a); }
#ephint, #sghint { position: absolute; left: 48px; bottom: 22px; font-size: 22px; color: var(--dim); }

#sgnow { height: 132px; margin: 10px 0 12px; padding: 12px 22px; border-radius: 14px; background: #05061a; border: 3px solid #0a0a10; box-shadow: inset 0 3px 8px rgba(0,0,0,.8); }
#sgnow b { display: block; font-size: 38px; line-height: 46px; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#sgnow i { display: block; font-style: normal; font-size: 28px; line-height: 34px; color: var(--gold); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#sgnow u { display: block; text-decoration: none; font-size: 20px; line-height: 24px; color: #7e86a0; }
.sr { position: relative; height: 80px; margin: 0 0 12px 0; border-radius: 16px; background: linear-gradient(#3d4352, #272b37); border: 3px solid #14161e; box-shadow: 0 6px 0 #07080d, inset 0 2px 0 rgba(255,255,255,.14); cursor: pointer; }
.sr b { position: absolute; left: 26px; top: 0; line-height: 74px; font-size: 32px; }
.sr em { position: absolute; right: 26px; top: 0; line-height: 74px; font-size: 26px; font-style: normal; color: var(--gold); }
.sr input { position: absolute; left: 270px; top: 12px; width: 740px; height: 50px; padding: 0 16px; font-size: 26px; color: #fff; background: #0a0c14; border: 2px solid #3b4156; border-radius: 10px; outline: none; }
.sr.on { border-color: #e1d3ff; background: linear-gradient(#a584ff, #6444ee 52%, #4d34cc); box-shadow: 0 0 34px 6px rgba(181,140,255,.75), 0 6px 0 #2a1a78, inset 0 2px 0 rgba(255,255,255,.4); }
.sr.on em { color: #fff; }
#sgmsg { min-height: 34px; margin: 4px 0 6px; font-size: 23px; line-height: 34px; color: var(--dim); }
#sgmsg.bad { color: #ffb347; }
#sgmsg.ok { color: var(--neon); }
#sghist { height: 300px; overflow: hidden; }
#sghist div { height: 36px; line-height: 36px; font-size: 22px; color: #c4c9d8; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#sghist div span { color: #7e86a0; margin-right: 14px; }
#sghist div em { font-style: normal; color: #7e86a0; margin-left: 12px; font-size: 18px; }
#sghist h3 { font-size: 24px; color: var(--gold); margin: 0 0 6px; }

/* ---------- v1.9: setări ⚙ + limbă ---------- */
#t_set { padding: 0 18px; margin-left: 0; }
#t_set svg { display: block; margin-top: 11px; }
#ck_c2, #ck_s { display: none; }
body.cks #ck_c2, body.cks #ck_s { display: inline; }
#ck_ap { font-size: 26px; margin-left: 6px; }
body.noanim *, body.noanim *:before, body.noanim *:after { -webkit-animation: none !important; animation: none !important; -webkit-transition: none !important; transition: none !important; }
body.novz #viz, body.novz #nviz, body.novz #eqviz { visibility: hidden; }
body.noepg #b_epg { display: none !important; }
body.noicy #ssong { display: none !important; }
#v { object-fit: contain; }
body.asp1 #v { object-fit: cover; }
body.asp2 #v { object-fit: cover; -webkit-transform: scale(1.18); transform: scale(1.18); }
body.asp3 #v { object-fit: fill; }

#stp { display: none; position: absolute; left: 0; top: 0; width: 100%; height: 100%; background: rgba(0,0,0,.55); z-index: 40; }
body.sto #stp { display: block; }
#stbox {
  position: absolute; right: 24px; top: 120px; width: 760px; max-height: 900px;
  background: linear-gradient(#2d3242, #171a24); border: 4px solid #0a0a10; border-radius: 16px;
  box-shadow: 0 14px 50px rgba(0,0,0,.8), inset 0 2px 0 rgba(255,255,255,.15);
  padding: 22px 26px 18px; -webkit-transform-origin: 90% 0; transform-origin: 90% 0;
  -webkit-animation: stopen .22s ease-out; animation: stopen .22s ease-out;
}
@-webkit-keyframes stopen { from { opacity: 0; -webkit-transform: scale(.7, .2); } to { opacity: 1; -webkit-transform: scale(1); } }
@keyframes stopen { from { opacity: 0; transform: scale(.7, .2); } to { opacity: 1; transform: scale(1); } }
#stbox h2 { margin: 0 0 12px; font-size: 38px; color: var(--neon); letter-spacing: 3px; text-shadow: 0 0 12px rgba(57,255,20,.4); }
#stlist { height: 690px; overflow-y: auto; overflow-x: hidden; position: relative; }
.stsec { margin: 14px 0 6px; font-size: 22px; letter-spacing: 3px; color: var(--gold); text-transform: uppercase; border-bottom: 2px solid #3b4050; padding-bottom: 4px; }
.strow { position: relative; height: 62px; line-height: 62px; padding: 0 20px; margin: 5px 0; font-size: 28px; color: #d9dcea; background: #1d202b; border: 3px solid #14161e; border-radius: 10px; white-space: nowrap; overflow: hidden; }
.strow b { font-weight: normal; display: inline-block; max-width: 470px; overflow: hidden; text-overflow: ellipsis; vertical-align: top; }
.strow > span { position: absolute; right: 18px; top: 0; }
.strow.on { background: linear-gradient(#444a5a, #2b2f3b); border-color: var(--neon); box-shadow: 0 0 14px rgba(57,255,20,.45); color: #fff; }
.stsw { font-size: 24px; color: #8a90a6; font-weight: bold; padding: 0 16px; line-height: 40px !important; margin-top: 11px; border-radius: 20px; background: #101219; }
.stsw.y { color: #06140a; background: var(--neon); }
.stch u { text-decoration: none; color: var(--neon); font-size: 40px; padding: 0 12px; cursor: pointer; }
.stch em { font-style: normal; display: inline-block; min-width: 150px; text-align: center; color: var(--gold); vertical-align: top; }
.stv { color: var(--gold); font-size: 25px; }
.strow.cur b { color: var(--neon); }
.stinf { color: #8a90a6; }
#sthint { margin-top: 10px; font-size: 21px; color: #7e86a0; text-align: center; }
body.cks #clock { font-size: 40px; letter-spacing: 1px; padding: 0 12px; }
body.cks #ck_ap { font-size: 20px; }
.strow b { max-width: 560px; }
.strow:has(.stch) b { max-width: 470px; }
#sthint { font-size: 19px; line-height: 24px; }
/* identificare melodie și la TV: butonul din evantai */
body.istv #b_song { display: block; }
body.istv.fan #b_song { -webkit-transition-delay: .18s; transition-delay: .18s; }
body.istv.fan #b_fav { -webkit-transition-delay: .27s; transition-delay: .27s; }
body.istv.fan #b_stop { -webkit-transition-delay: .36s; transition-delay: .36s; }
/* identificare melodie și la TV: butonul din evantai */
body.istv #b_song { display: block; }
body.istv.fan #b_song { -webkit-transition-delay: .18s; transition-delay: .18s; }
body.istv.fan #b_fav { -webkit-transition-delay: .27s; transition-delay: .27s; }
body.istv.fan #b_stop { -webkit-transition-delay: .36s; transition-delay: .36s; }
