:root{--red:#ff1022;--red2:#b90012;--blue:#0a9bff;--bg:#02070b;--panel:#061018;--line:rgba(170,190,210,.18);--muted:#cfd3d8}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;min-height:100vh;background:radial-gradient(circle at 45% 0,#15181e 0,#050b10 34%,#010305 100%);color:#fff;font-family:Arial,Helvetica,sans-serif;overflow-x:hidden}.wrap{width:min(1910px,calc(100vw - 32px));margin:16px auto 28px}.panel,.card{background:linear-gradient(145deg,rgba(8,17,25,.88),rgba(2,7,11,.94));border:1px solid var(--line);border-radius:12px;box-shadow:inset 0 0 32px rgba(255,255,255,.018),0 25px 80px rgba(0,0,0,.22)}.hero{height:300px;display:grid;grid-template-columns:300px minmax(320px,460px) minmax(320px,1fr) 270px 230px;align-items:center;gap:28px;padding:28px 26px 28px 48px;position:relative;overflow:hidden}.hero:before{content:"";position:absolute;inset:-80px auto auto 0;width:520px;height:360px;background:radial-gradient(circle,#d40016 0,transparent 65%);opacity:.12}.brand-block{position:relative;text-align:center}.brand-block p,.footer-brand p{font-size:22px;margin:18px 0 0;color:#fff}.rm-logo{display:inline-flex;flex-direction:column;align-items:center;line-height:1}.rm-logo b{font-size:45px;letter-spacing:-2.6px;color:#fff;text-shadow:0 0 20px rgba(255,255,255,.08)}.rm-logo b span{color:#ff1424}.rm-logo.big b{font-size:58px}.bars-logo{height:78px;display:flex;align-items:flex-end;gap:8px;margin-bottom:-2px}.bars-logo i{display:block;width:16px;border-radius:6px 6px 2px 2px;background:linear-gradient(#ffd2d2,#ff1b2d 58%,#c40013);box-shadow:0 0 13px rgba(255,20,36,.45)}.bars-logo i:nth-child(1),.bars-logo i:nth-child(6){height:39px}.bars-logo i:nth-child(2),.bars-logo i:nth-child(5){height:58px}.bars-logo i:nth-child(3){height:77px}.bars-logo i:nth-child(4){height:51px}.now{min-width:0;position:relative}.live-dot{color:var(--red);font-weight:800;font-size:18px;margin-bottom:22px}.live-dot i{display:inline-block;width:17px;height:17px;background:var(--red);border-radius:50%;vertical-align:-2px;margin-right:8px;box-shadow:0 0 15px rgba(255,16,34,.55)}.now h1{margin:0 0 10px;font-size:46px;line-height:1.04;font-weight:800;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;text-overflow:ellipsis;max-width:100%}.now h2{margin:0;color:#d9dce0;font-size:30px;line-height:1.14;font-weight:400;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.visual{height:118px;display:flex;align-items:center;justify-content:center;gap:8px;min-width:0}.visual i{width:9px;border-radius:4px 4px 1px 1px;background:currentColor;box-shadow:0 0 12px currentColor;animation:vis 1.05s ease-in-out infinite}.visual i:nth-child(3n){animation-duration:.72s}.visual i:nth-child(4n){animation-duration:1.32s}@keyframes vis{50%{transform:scaleY(.45);opacity:.75}}.player-controls{display:flex;gap:26px;align-items:center;justify-content:center;border-right:1px solid rgba(255,255,255,.12);padding-right:32px}.round{border:1px solid rgba(255,255,255,.22);background:rgba(0,0,0,.25);color:#fff;border-radius:50%;display:grid;place-items:center;cursor:pointer}.round.sm{width:62px;height:62px;font-size:23px}.round.play{width:88px;height:88px;border:2px solid var(--red);font-size:35px;box-shadow:0 0 22px rgba(255,16,34,.25)}.sound{display:grid;grid-template-columns:38px 1fr 58px;align-items:center;gap:18px;font-size:20px}.sound button{background:transparent;border:0;color:#fff;font-size:34px;cursor:pointer}.sound input{accent-color:var(--red);width:100%}.top-icons{position:absolute;right:22px;top:22px;display:flex;gap:14px;align-items:center}.top-icons button{width:54px;height:54px;border:1px solid rgba(255,255,255,.24);background:rgba(0,0,0,.16);color:#fff;border-radius:50%;font-size:28px}.top-icons b{border:1px solid var(--red);border-radius:8px;color:var(--red);padding:12px 16px;font-size:17px}.main-grid{display:grid;grid-template-columns:1fr 1.2fr 1.11fr;gap:20px;margin-top:16px}.card{height:680px;padding:26px 30px}.card-head{height:53px;display:flex;align-items:start;justify-content:space-between;border-bottom:1px solid rgba(255,255,255,.07);margin-bottom:16px}.card h2,.request h2{margin:0;font-size:25px;display:flex;gap:14px;align-items:center}.card h2 span,.request h2 span{color:var(--red);font-size:40px;line-height:.8}.card-head button{height:42px;padding:0 18px;background:rgba(255,255,255,.02);border:1px solid rgba(255,255,255,.18);border-radius:7px;color:#fff;font-size:15px}.card-head em{font-style:normal;font-size:18px;color:#fff;margin-top:8px}.card-head em i{display:inline-block;width:15px;height:15px;background:#10df68;border-radius:50%;margin-right:10px;vertical-align:-2px}.song-row{height:75px;display:grid;grid-template-columns:62px 64px 1fr;align-items:center;gap:18px;border-bottom:1px solid rgba(255,255,255,.065)}.song-row time{font-size:20px;color:#e8e8e8}.song-row img{width:56px;height:56px;border-radius:6px;object-fit:cover}.song-row p{margin:0;color:#dce1e6;font-size:18px;line-height:1.25;min-width:0}.song-row strong{display:block;color:var(--red);font-size:19px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.chat-list{height:500px;overflow:hidden;padding-right:8px}.chat-list::-webkit-scrollbar{width:6px}.chat-list::-webkit-scrollbar-thumb{background:var(--red);border-radius:10px}.chat article{display:grid;grid-template-columns:54px 1fr 54px;gap:14px;margin-bottom:19px;align-items:start}.chat img{width:54px;height:54px;border-radius:50%}.chat b{font-size:20px}.chat small{font-size:13px;background:#8645ff;color:#fff;border-radius:5px;padding:2px 8px;margin-left:6px}.chat p{margin:4px 0 0;font-size:18px;line-height:1.25}.chat time{font-size:16px;color:#ddd}.blue{color:#009eff}.red{color:#ff2434}.purple{color:#a44cff}.green{color:#00d873}.chat-input{height:64px;display:grid;grid-template-columns:1fr 50px 70px;gap:12px;margin-top:14px}.chat-input input,.search input{background:linear-gradient(145deg,rgba(255,255,255,.07),rgba(255,255,255,.025));border:1px solid rgba(255,255,255,.15);border-radius:8px;color:#fff;padding:0 20px;font-size:18px;outline:none}.chat-input button{border:0;border-radius:8px;color:#fff;cursor:pointer}.chat-input .emoji{background:transparent;font-size:28px;color:#cfd5dd}.chat-input button[type=submit]{background:linear-gradient(#f01b2d,#bb0012);font-size:31px}.request-title{height:82px}.request-title h2{font-size:26px}.request-title p{margin:3px 0 0 58px;font-size:17px}.search{height:58px;display:grid;grid-template-columns:1fr 92px;margin-bottom:22px}.search input{border-radius:8px 0 0 8px}.search button{border:0;border-radius:0 8px 8px 0;background:linear-gradient(#f01b2d,#bc0011);color:#fff;font-size:46px;cursor:pointer}.request-list{min-height:382px}.req-row{height:75px;display:grid;grid-template-columns:58px 1fr 110px;gap:16px;align-items:center;border-bottom:1px solid rgba(255,255,255,.07)}.play-mini{width:48px;height:48px;border-radius:50%;border:1.5px solid var(--red);background:transparent;color:#fff;font-size:21px}.req-title{margin:0;color:#fff;font-size:20px;font-weight:800;line-height:1.13;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.req-artist{margin:4px 0 0;color:#d7dde4;font-size:17px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ask{height:52px;border:1px solid var(--red);border-radius:7px;background:rgba(0,0,0,.12);color:var(--red);font-weight:800;font-size:17px;cursor:pointer}.more{width:100%;height:62px;margin-top:18px;background:transparent;border:1px solid var(--red);border-radius:8px;color:#fff;font-weight:800;font-size:17px;cursor:pointer}.more span{border:1px solid rgba(255,255,255,.25);border-radius:50%;padding:2px 6px;margin-left:10px}.footer{height:230px;margin-top:16px;display:grid;grid-template-columns:1fr minmax(540px,1.35fr) 1fr;align-items:center;position:relative;padding:24px 44px 58px;overflow:hidden}.footer-brand{text-align:center;border-right:1px solid rgba(255,255,255,.11);height:142px;display:grid;place-content:center}.footer-brand .rm-logo b{font-size:40px}.footer-brand .bars-logo{height:56px;gap:6px}.footer-brand .bars-logo i{width:11px}.footer-brand p{font-size:16px;margin-top:8px}.social{display:flex;justify-content:center;gap:18px;margin-top:14px}.social b{width:42px;height:42px;border:1px solid rgba(255,255,255,.22);border-radius:50%;display:grid;place-items:center;font-size:23px}.download{text-align:center;border-right:1px solid rgba(255,255,255,.11);height:142px;display:flex;flex-direction:column;justify-content:center;min-width:0;overflow:hidden}.download h3,.contact h3{font-size:22px;margin:0 0 18px}.download div{display:flex;gap:22px;justify-content:center;align-items:center;flex-wrap:nowrap;max-width:100%;overflow:hidden}.download img{width:245px;height:74px;object-fit:contain;display:block;flex:0 0 245px;max-width:245px}.contact{padding-left:62px;min-width:0}.contact h3{font-size:23px}.contact p{font-size:22px;margin:0;white-space:nowrap}.contact span{color:var(--red);font-size:34px;margin-right:14px;vertical-align:-5px}.copy{position:absolute;bottom:18px;left:0;right:0;text-align:center;color:#bfc5cc;font-size:17px;margin:0;border-top:1px solid rgba(255,255,255,.08);padding-top:16px}.loading:before{content:"Se incarca datele...";color:#9ea7b2}dialog{width:min(930px,94vw);height:min(850px,92vh);padding:0;border:1px solid var(--line);border-radius:12px;background:#02060b}dialog::backdrop{background:rgba(0,0,0,.72);backdrop-filter:blur(4px)}dialog iframe{width:100%;height:100%;border:0}.close{position:absolute;right:10px;top:8px;z-index:2;width:40px;height:40px;border:0;border-radius:50%;background:var(--red);color:white;font-size:28px}@media(max-width:1450px){.hero{grid-template-columns:260px minmax(280px,390px) minmax(260px,1fr) 230px 190px;height:250px;padding-left:34px;gap:22px}.rm-logo.big b{font-size:48px}.brand-block p{font-size:19px}.now h1{font-size:36px}.now h2{font-size:25px}.visual{height:96px}.round.sm{width:54px;height:54px}.round.play{width:76px;height:76px}.card{height:610px}.req-row{height:68px}.request-list{min-height:342px}.download img{width:230px;height:70px;flex-basis:230px;max-width:230px}}@media(max-width:1180px){.hero{height:auto;grid-template-columns:1fr;grid-template-areas:"brand" "now" "visual" "controls" "sound";justify-items:center;text-align:center}.brand-block{grid-area:brand}.now{grid-area:now}.visual{grid-area:visual;width:100%;max-width:520px}.player-controls{grid-area:controls;border-right:0;padding-right:0}.sound{grid-area:sound;width:100%;max-width:360px}.top-icons{display:none}.main-grid{grid-template-columns:1fr}.card{height:auto;min-height:430px}.chat-list{height:auto;max-height:460px}.footer{grid-template-columns:1fr;height:auto;gap:18px;padding:24px 20px 64px;overflow:visible}.footer-brand,.download{border-right:0;border-bottom:1px solid rgba(255,255,255,.1);padding-bottom:22px}.contact{padding-left:0;text-align:center}}@media(max-width:760px){.wrap{width:calc(100vw - 18px);margin:9px auto}.hero{padding:22px 16px}.rm-logo.big b{font-size:38px}.bars-logo{height:56px;gap:6px}.bars-logo i{width:12px}.now h1{font-size:29px}.now h2{font-size:21px}.live-dot{font-size:15px;margin-bottom:14px}.visual{height:72px;gap:5px}.visual i{width:6px}.round.sm{width:50px;height:50px}.round.play{width:72px;height:72px}.player-controls{gap:18px}.card{padding:18px}.card h2,.request h2{font-size:20px}.card h2 span,.request h2 span{font-size:32px}.card-head button{height:36px;padding:0 12px}.song-row{grid-template-columns:50px 48px 1fr;height:62px}.song-row img{width:44px;height:44px}.song-row p,.song-row strong{font-size:15px}.chat article{grid-template-columns:42px 1fr 42px;gap:10px}.chat img{width:42px;height:42px}.chat p,.chat b{font-size:15px}.chat-input{grid-template-columns:1fr 62px}.chat-input .emoji{display:none}.request-title{height:auto;margin-bottom:12px}.request-title p{margin-left:46px}.search{grid-template-columns:1fr 66px}.req-row{grid-template-columns:44px 1fr 84px;height:72px}.play-mini{width:40px;height:40px}.req-title{font-size:16px}.req-artist{font-size:14px}.ask{font-size:14px;height:46px}.more{font-size:14px}.download div{flex-direction:column;gap:10px}.download img{width:min(300px,92vw)}.contact p{font-size:19px}.copy{font-size:14px}}

/* Chat real integrat in modelul paginii principale */
.chat-list{overflow-y:auto}
.home-chat-login{height:558px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:20px}
.home-chat-logo{width:72px;height:72px;display:grid;place-items:center;border-radius:22px;background:linear-gradient(145deg,#ff2434,#7b000b);font-size:24px;font-weight:900;box-shadow:0 15px 40px rgba(255,16,34,.22)}
.home-chat-login h3{font-size:25px;margin:16px 0 5px}.home-chat-login>p{color:#bfc7d0;margin:0 0 15px}
.home-chat-login form{width:min(380px,100%);display:grid;gap:10px}.home-chat-login input{height:52px;border:1px solid rgba(255,255,255,.15);border-radius:8px;background:rgba(255,255,255,.05);color:#fff;padding:0 16px;font-size:17px;outline:none}
.home-chat-login form>button{height:52px;border:0;border-radius:8px;background:linear-gradient(#f01b2d,#bb0012);color:#fff;font-weight:800;cursor:pointer}
.home-chat-identity{display:flex;justify-content:space-between;align-items:center;margin:-6px 0 12px;padding:8px 10px;border-radius:7px;background:rgba(255,255,255,.035);color:#bfc7d0;font-size:14px}.home-chat-identity b{color:#fff;font-size:14px}.home-chat-identity button{border:0;background:transparent;color:#ff6170;cursor:pointer}
.home-chat-error{min-height:18px;margin:5px 0 0;color:#ff6e79;font-size:13px;text-align:center}
.home-admin-message{border-left:3px solid var(--red);padding-left:9px}.home-admin-actions{display:flex;gap:6px;margin-top:6px}.home-admin-actions button{border:1px solid rgba(255,36,52,.35);border-radius:5px;background:rgba(255,16,34,.08);color:#ff7d88;font-size:11px;padding:3px 7px;cursor:pointer}
.home-emoji-menu{position:absolute;right:92px;bottom:88px;z-index:5;padding:8px;border:1px solid rgba(255,255,255,.16);border-radius:9px;background:#071018;box-shadow:0 14px 35px rgba(0,0,0,.45)}.home-emoji-menu button{border:0;background:transparent;font-size:20px;cursor:pointer}.chat{position:relative}
@media(max-width:1180px){.home-chat-login{height:430px}.chat-list{height:460px}}
@media(max-width:760px){.home-chat-login{height:390px}.home-chat-login h3{font-size:21px}.home-chat-login input,.home-chat-login form>button{height:48px}.home-emoji-menu{right:18px;bottom:84px}}

/* Corectie layout chat + footer — v2 */
.main-grid{align-items:stretch}
.card{overflow:hidden}
.chat{display:flex;flex-direction:column;min-width:0}
.chat .card-head{flex:0 0 53px}
.chat .home-chat-identity{flex:0 0 auto}
.chat .chat-list{flex:1 1 auto;min-height:0;height:auto;overflow-y:auto;overflow-x:hidden}
.chat .chat-input{flex:0 0 64px;width:100%;min-width:0;margin-top:12px}
.chat .chat-input input{min-width:0;width:100%}
.chat .home-chat-error{flex:0 0 18px;margin:3px 0 0}
.home-chat-login{flex:1 1 auto;height:auto;min-height:0}

/* Logo mai compact in footer */
.footer-brand .rm-logo b{font-size:27px;letter-spacing:-1.7px}
.footer-brand .bars-logo{height:36px;gap:4px;margin-bottom:0}
.footer-brand .bars-logo i{width:7px;border-radius:4px 4px 1px 1px}
.footer-brand .bars-logo i:nth-child(1),.footer-brand .bars-logo i:nth-child(6){height:18px}
.footer-brand .bars-logo i:nth-child(2),.footer-brand .bars-logo i:nth-child(5){height:27px}
.footer-brand .bars-logo i:nth-child(3){height:36px}
.footer-brand .bars-logo i:nth-child(4){height:24px}
.footer-brand p{font-size:15px;margin-top:7px}
.footer-brand .social{margin-top:10px}

@media(max-width:1450px){
  .chat .card-head{flex-basis:53px}
  .chat .chat-input{flex-basis:60px;height:60px}
}
@media(max-width:1180px){
  .card{overflow:hidden}
  .chat{height:610px;min-height:610px}
  .chat .chat-list{max-height:none;height:auto}
  .home-chat-login{height:auto}
}
@media(max-width:760px){
  .chat{height:560px;min-height:560px}
  .chat .chat-input{grid-template-columns:minmax(0,1fr) 62px}
  .footer-brand .rm-logo b{font-size:24px}
  .footer-brand .bars-logo{height:31px}
}

/* Header compact si piesa urmatoare — v3 */
.hero{
  height:214px;
  grid-template-columns:210px minmax(350px,520px) minmax(260px,1fr) 220px 185px;
  gap:20px;
  padding:20px 22px 20px 30px;
}
.hero:before{width:390px;height:270px;inset:-65px auto auto -20px}
.brand-block p{font-size:15px;margin-top:8px;color:#dce2e7}
.rm-logo.big b{font-size:40px;letter-spacing:-2px}
.rm-logo.big .bars-logo{height:50px;gap:5px;margin-bottom:0}
.rm-logo.big .bars-logo i{width:10px;border-radius:5px 5px 1px 1px}
.rm-logo.big .bars-logo i:nth-child(1),.rm-logo.big .bars-logo i:nth-child(6){height:25px}
.rm-logo.big .bars-logo i:nth-child(2),.rm-logo.big .bars-logo i:nth-child(5){height:38px}
.rm-logo.big .bars-logo i:nth-child(3){height:50px}
.rm-logo.big .bars-logo i:nth-child(4){height:34px}
.now{align-self:center}
.live-status-row{display:flex;align-items:center;gap:18px;margin-bottom:12px;min-width:0}
.live-dot{flex:0 0 auto;margin:0;font-size:14px;padding:7px 11px;border:1px solid rgba(255,16,34,.38);border-radius:999px;background:rgba(255,16,34,.08)}
.live-dot i{width:10px;height:10px;margin-right:6px;vertical-align:0}
.next-song{display:flex;align-items:center;gap:8px;min-width:0;color:#cfd6dd;font-size:13px}
.next-song span{flex:0 0 auto;color:#ff4252;font-size:11px;font-weight:900;letter-spacing:.8px}
.next-song b{min-width:0;max-width:310px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#fff;font-size:13px;font-weight:600}
.now h1{font-size:34px;line-height:1.05;margin-bottom:6px;-webkit-line-clamp:1;white-space:nowrap}
.now h2{font-size:22px;line-height:1.1;-webkit-line-clamp:1;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}
.visual{height:78px;gap:6px}
.visual i{width:7px}
.player-controls{gap:16px;padding-right:20px}
.round.sm{width:46px;height:46px;font-size:17px}
.round.play{width:66px;height:66px;font-size:27px}
.sound{grid-template-columns:30px 1fr 46px;gap:10px;font-size:15px}
.sound button{font-size:27px}
.top-icons{right:16px;top:14px;gap:8px}
.top-icons button{width:38px;height:38px;font-size:20px}
.top-icons b{padding:8px 10px;font-size:12px}
.main-grid{margin-top:12px}

@media(max-width:1450px){
  .hero{height:194px;grid-template-columns:180px minmax(300px,440px) minmax(220px,1fr) 195px 155px;gap:16px;padding:16px 18px 16px 24px}
  .rm-logo.big b{font-size:34px}.rm-logo.big .bars-logo{height:43px}
  .now h1{font-size:29px}.now h2{font-size:19px}
  .next-song b{max-width:230px}.visual{height:68px}.round.play{width:60px;height:60px}.round.sm{width:42px;height:42px}
}
@media(max-width:1180px){
  .hero{height:auto;padding:24px 20px;gap:14px}
  .live-status-row{justify-content:center;flex-wrap:wrap}
  .next-song b{max-width:min(420px,70vw)}
  .now h1,.now h2{white-space:normal}
}
@media(max-width:760px){
  .hero{padding:18px 14px}
  .rm-logo.big b{font-size:31px}.rm-logo.big .bars-logo{height:38px}
  .brand-block p{font-size:14px}
  .live-status-row{gap:9px;margin-bottom:9px}
  .next-song{width:100%;justify-content:center}
  .next-song b{max-width:72vw}
  .now h1{font-size:25px}.now h2{font-size:18px}
  .visual{height:54px}
}

/* Header simplificat: logo mic, urmatoarea piesa sub logo, fara iconitele din dreapta */
.hero{
  height:190px;
  grid-template-columns:190px minmax(330px,500px) minmax(250px,1fr) 220px 185px;
  gap:18px;
  padding:16px 24px;
}
.brand-block{display:flex;flex-direction:column;align-items:center;justify-content:center;min-width:0}
.rm-logo.big b{font-size:31px;letter-spacing:-1.5px}
.rm-logo.big .bars-logo{height:36px;gap:4px;margin-bottom:0}
.rm-logo.big .bars-logo i{width:7px;border-radius:4px 4px 1px 1px}
.rm-logo.big .bars-logo i:nth-child(1),.rm-logo.big .bars-logo i:nth-child(6){height:18px}
.rm-logo.big .bars-logo i:nth-child(2),.rm-logo.big .bars-logo i:nth-child(5){height:27px}
.rm-logo.big .bars-logo i:nth-child(3){height:36px}
.rm-logo.big .bars-logo i:nth-child(4){height:24px}
.brand-block p{font-size:13px;margin:6px 0 0;color:#dce2e7}
.brand-next-song{width:100%;min-width:0;margin-top:13px;padding-top:10px;border-top:1px solid rgba(255,255,255,.10);text-align:center}
.brand-next-song span{display:block;margin-bottom:4px;color:#ff4252;font-size:10px;font-weight:900;letter-spacing:1px}
.brand-next-song b{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#fff;font-size:12px;line-height:1.25;font-weight:600}
.now h1{font-size:32px}
.now h2{font-size:21px}
.top-icons,.live-status-row{display:none!important}

@media(max-width:1450px){
  .hero{height:178px;grid-template-columns:165px minmax(290px,430px) minmax(210px,1fr) 190px 150px;gap:14px;padding:14px 18px}
  .rm-logo.big b{font-size:28px}
  .rm-logo.big .bars-logo{height:32px}
  .brand-next-song{margin-top:9px;padding-top:8px}
  .brand-next-song b{font-size:11px}
  .now h1{font-size:28px}.now h2{font-size:18px}
}
@media(max-width:1180px){
  .hero{height:auto;grid-template-columns:1fr;text-align:center;padding:20px;gap:15px}
  .brand-block{max-width:360px;margin:auto;width:100%}
  .brand-next-song b{white-space:normal}
  .player-controls{padding-right:0}
  .sound{width:min(360px,100%);margin:auto}
}
@media(max-width:760px){
  .hero{padding:16px 14px}
  .rm-logo.big b{font-size:26px}
  .rm-logo.big .bars-logo{height:30px}
  .brand-block p{font-size:12px}
  .brand-next-song{margin-top:8px}
  .now h1{font-size:24px}.now h2{font-size:17px}
}


/* Chat integrat direct in pagina principala — fara iframe */
.chat {
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
}

.chat .card-head {
  flex: 0 0 53px;
}

.home-chat-identity {
  flex: 0 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin: -6px 0 12px;
  padding: 8px 10px;
  border-radius: 7px;
  background: rgba(255,255,255,.035);
  color: #bfc7d0;
  font-size: 14px;
}

.home-chat-identity b {
  color: #fff;
}

.home-chat-actions {
  display: flex;
  gap: 10px;
}

.home-chat-actions button {
  border: 0;
  background: transparent;
  color: #ff6170;
  cursor: pointer;
  padding: 0;
}

.chat .chat-list {
  flex: 1 1 auto;
  min-height: 0;
  height: auto;
  overflow-y: auto;
  overflow-x: hidden;
  padding-right: 8px;
}

.chat .chat-input {
  flex: 0 0 64px;
  width: 100%;
  min-width: 0;
  margin-top: 12px;
}

.chat .chat-input input {
  min-width: 0;
  width: 100%;
}

.home-chat-message {
  display: grid;
  grid-template-columns: 42px 1fr 48px;
  gap: 10px;
  align-items: start;
  margin-bottom: 16px;
}

.home-chat-avatar {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(145deg,#ff2434,#71000a);
  color: #fff;
  font-weight: 800;
  font-size: 13px;
}

.home-chat-content b {
  color: #fff;
  font-size: 15px;
}

.home-chat-content p {
  margin: 4px 0 0;
  color: #eef2f5;
  font-size: 15px;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.home-chat-message time {
  color: #aeb7bf;
  font-size: 12px;
  text-align: right;
}

.home-chat-admin {
  border-left: 3px solid var(--red);
  padding-left: 9px;
}

.home-chat-role {
  display: inline-block;
  margin-left: 6px;
  padding: 2px 6px;
  border-radius: 5px;
  background: #a90821;
  color: #fff;
  font-size: 9px;
  font-weight: 800;
  vertical-align: 2px;
}

.home-chat-error {
  flex: 0 0 18px;
  min-height: 18px;
  margin: 3px 0 0;
  color: #ff6e79;
  font-size: 13px;
  text-align: center;
}

@media (max-width: 1180px) {
  .chat {
    height: 610px;
    min-height: 610px;
  }
}

@media (max-width: 760px) {
  .chat {
    height: 560px;
    min-height: 560px;
  }

  .home-chat-identity {
    align-items: flex-start;
  }

  .home-chat-actions {
    flex-direction: column;
    gap: 4px;
    align-items: flex-end;
  }

  .home-chat-message {
    grid-template-columns: 38px 1fr 42px;
  }

  .home-chat-avatar {
    width: 38px;
    height: 38px;
  }
}


.home-chat-name-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.home-delete-message {
  flex: 0 0 auto;
  border: 1px solid rgba(255, 36, 52, .38);
  border-radius: 5px;
  background: rgba(255, 16, 34, .08);
  color: #ff7d88;
  padding: 3px 7px;
  font-size: 10px;
  cursor: pointer;
  opacity: .7;
}

.home-delete-message:hover {
  opacity: 1;
  background: rgba(255, 16, 34, .18);
}

#homeLogoutButton {
  color: #c7d0d7;
}

@media (max-width: 760px) {
  .home-delete-message {
    padding: 3px 5px;
    font-size: 9px;
  }
}

/* Corectie buton „Vezi mai multe rezultate” */
.more{
  position:relative;
  display:flex;
  align-items:center;
  justify-content:center;
  width:100%;
  height:62px;
  padding:0 58px 0 24px;
  margin-top:18px;
  background:transparent;
  border:1px solid var(--red);
  border-radius:8px;
  color:#fff;
  font-weight:800;
  font-size:17px;
  line-height:1;
  text-align:center;
  cursor:pointer;
}
.more span{
  position:absolute;
  right:18px;
  top:50%;
  transform:translateY(-50%);
  display:flex;
  align-items:center;
  justify-content:center;
  width:30px;
  height:30px;
  margin:0;
  padding:0 0 4px;
  border:1px solid rgba(255,255,255,.28);
  border-radius:50%;
  font-size:18px;
  line-height:1;
}
.more:hover{background:rgba(255,16,34,.06)}
.more:focus-visible{outline:2px solid #fff;outline-offset:3px}
@media(max-width:760px){
  .more{height:58px;padding:0 50px 0 16px;font-size:14px}
  .more span{right:14px;width:28px;height:28px;font-size:17px}
}

/* Player principal rearanjat — update final */
@media (min-width:1181px){
  .hero{
    height:142px;
    grid-template-columns:140px minmax(285px,370px) minmax(300px,1fr) auto 170px;
    align-items:center;
    column-gap:26px;
    padding:14px 26px 14px 34px;
  }

  .hero:before{
    width:320px;
    height:220px;
    inset:-55px auto auto -35px;
  }

  .brand-block{
    width:140px;
    align-self:stretch;
    justify-content:center;
  }

  .rm-logo.big b{
    font-size:25px;
    letter-spacing:-1.2px;
  }

  .rm-logo.big .bars-logo{
    height:31px;
    gap:3px;
  }

  .rm-logo.big .bars-logo i{width:6px}
  .rm-logo.big .bars-logo i:nth-child(1),
  .rm-logo.big .bars-logo i:nth-child(6){height:16px}
  .rm-logo.big .bars-logo i:nth-child(2),
  .rm-logo.big .bars-logo i:nth-child(5){height:23px}
  .rm-logo.big .bars-logo i:nth-child(3){height:31px}
  .rm-logo.big .bars-logo i:nth-child(4){height:21px}

  .brand-block > p{
    margin-top:4px;
    font-size:10px;
  }

  .brand-next-song{
    margin-top:9px;
    padding-top:7px;
  }

  .brand-next-song span{
    margin-bottom:3px;
    font-size:8px;
  }

  .brand-next-song b{
    font-size:10px;
  }

  .now{
    padding-left:0;
  }

  .now h1{
    margin:0 0 3px;
    font-size:29px;
    line-height:1.05;
  }

  .now h2{
    font-size:18px;
    line-height:1.1;
  }

  .visual{
    width:100%;
    max-width:390px;
    height:72px;
    gap:6px;
    justify-self:center;
  }

  .visual i{
    width:7px;
  }

  .player-controls{
    gap:12px;
    padding-right:20px;
    border-right:1px solid rgba(255,255,255,.10);
  }

  .round.sm{
    width:40px;
    height:40px;
    font-size:15px;
  }

  .round.play{
    width:56px;
    height:56px;
    font-size:23px;
  }

  .sound{
    width:170px;
    grid-template-columns:24px minmax(70px,1fr) 38px;
    gap:8px;
    font-size:13px;
  }

  .sound button{
    padding:0;
    font-size:22px;
  }
}

@media (min-width:1181px) and (max-width:1450px){
  .hero{
    height:136px;
    grid-template-columns:125px minmax(245px,320px) minmax(250px,1fr) auto 145px;
    column-gap:18px;
    padding:12px 18px 12px 24px;
  }

  .brand-block{width:125px}
  .now h1{font-size:25px}
  .now h2{font-size:16px}
  .visual{max-width:330px;height:64px;gap:5px}
  .visual i{width:6px}
  .player-controls{gap:10px;padding-right:14px}
  .round.sm{width:36px;height:36px;font-size:13px}
  .round.play{width:52px;height:52px;font-size:21px}
  .sound{width:145px;grid-template-columns:22px 1fr 34px;gap:6px;font-size:12px}
}


/* Varianta 1 — player centrat, waveform mic, urmatoarea piesa in dreapta */
@media (min-width:1181px){
  .hero{
    height:142px;
    grid-template-columns:150px minmax(250px,330px) minmax(190px,260px) auto 165px minmax(205px,260px);
    column-gap:22px;
    padding:14px 28px;
  }
  .brand-block{
    width:150px;
    padding-right:20px;
    border-right:1px solid rgba(255,255,255,.12);
  }
  .brand-next-song{
    width:100%;
    margin:0;
    padding:4px 0 4px 22px;
    border-top:0;
    border-left:1px solid rgba(255,255,255,.12);
    text-align:left;
    align-self:stretch;
    display:flex;
    flex-direction:column;
    justify-content:center;
  }
  .brand-next-song span{font-size:10px;margin-bottom:6px}
  .brand-next-song b{font-size:13px;max-width:230px}
  .visual{max-width:255px;height:58px;gap:4px}
  .visual i{width:5px}
  .player-controls{justify-self:center}
  .sound{width:165px}
}
@media (min-width:1181px) and (max-width:1450px){
  .hero{
    height:136px;
    grid-template-columns:130px minmax(215px,280px) minmax(160px,215px) auto 140px minmax(175px,220px);
    column-gap:15px;
    padding:12px 18px;
  }
  .brand-block{width:130px;padding-right:14px}
  .visual{max-width:210px;height:52px;gap:3px}
  .visual i{width:4px}
  .brand-next-song{padding-left:15px}
  .brand-next-song b{font-size:11px;max-width:195px}
  .sound{width:140px}
}
@media (max-width:1180px){
  .brand-next-song{
    width:min(420px,100%);
    margin:0 auto;
    padding:12px 0 0;
    border-top:1px solid rgba(255,255,255,.10);
    border-left:0;
    text-align:center;
  }
}


/* Player profesional Radio Mafia — v14 */
.hero,
.hero button,
.hero input{
  font-family:inherit;
}

.now-label{
  display:flex;
  align-items:center;
  gap:8px;
  margin:0 0 8px;
  color:var(--red);
  font-size:11px;
  line-height:1;
  font-weight:900;
  letter-spacing:1.15px;
  text-transform:uppercase;
}
.now-label i{
  width:7px;
  height:7px;
  flex:0 0 7px;
  border-radius:50%;
  background:var(--red);
  box-shadow:0 0 0 5px rgba(255,16,34,.10),0 0 14px rgba(255,16,34,.85);
  animation:livePulse 1.8s ease-in-out infinite;
}
@keyframes livePulse{
  50%{opacity:.55;transform:scale(.82)}
}

@media (min-width:1181px){
  .hero{
    height:148px;
    grid-template-columns:150px minmax(255px,335px) minmax(165px,235px) auto 170px minmax(205px,270px);
    column-gap:22px;
    padding:15px 28px;
    background:
      radial-gradient(circle at 52% 50%,rgba(121,46,255,.055),transparent 28%),
      linear-gradient(145deg,rgba(8,17,25,.92),rgba(2,7,11,.97));
  }
  .hero:after{
    content:"";
    position:absolute;
    inset:auto 5% 0;
    height:1px;
    background:linear-gradient(90deg,transparent,rgba(255,16,34,.38),transparent);
    opacity:.8;
  }
  .now h1{
    margin-bottom:5px;
    font-size:28px;
    font-weight:800;
    letter-spacing:-.45px;
  }
  .now h2{
    color:#cbd1d8;
    font-size:16px;
    font-weight:500;
  }
  .visual{
    max-width:225px;
    height:52px;
    gap:4px;
    opacity:.92;
    filter:saturate(1.12);
  }
  .visual i{width:4px;box-shadow:0 0 8px currentColor}
  .player-controls{
    gap:11px;
    padding:0 20px 0 0;
    border-right:1px solid rgba(255,255,255,.10);
  }
  .round{
    transition:transform .18s ease,border-color .18s ease,background .18s ease,box-shadow .18s ease;
    backdrop-filter:blur(8px);
  }
  .round:hover{
    transform:translateY(-2px);
    border-color:rgba(255,255,255,.5);
    background:rgba(255,255,255,.06);
  }
  .round.sm{
    width:40px;
    height:40px;
    font-size:14px;
  }
  .round.play{
    width:62px;
    height:62px;
    font-size:24px;
    background:radial-gradient(circle at 50% 38%,rgba(255,255,255,.08),rgba(255,16,34,.035) 60%,rgba(0,0,0,.25));
    box-shadow:0 0 0 5px rgba(255,16,34,.045),0 0 24px rgba(255,16,34,.22);
  }
  .round.play:hover{
    border-color:#ff3545;
    box-shadow:0 0 0 6px rgba(255,16,34,.07),0 0 30px rgba(255,16,34,.36);
  }
  .sound{
    width:170px;
    grid-template-columns:24px minmax(76px,1fr) 38px;
    gap:9px;
    font-size:12px;
  }
  .sound button{
    font-size:21px;
    opacity:.95;
  }
  .sound input{
    height:4px;
    cursor:pointer;
  }
  .brand-next-song{
    padding-left:22px;
  }
  .brand-next-song span{
    color:var(--red);
    font-size:10px;
    letter-spacing:1.05px;
  }
  .brand-next-song b{
    max-width:245px;
    color:#f5f6f8;
    font-size:13px;
    line-height:1.35;
    font-weight:600;
  }
}

@media (min-width:1181px) and (max-width:1450px){
  .hero{
    height:140px;
    grid-template-columns:125px minmax(210px,270px) minmax(145px,195px) auto 145px minmax(175px,220px);
    column-gap:15px;
    padding:12px 18px;
  }
  .now-label{font-size:9px;margin-bottom:6px}
  .now h1{font-size:24px}
  .now h2{font-size:15px}
  .visual{max-width:190px;height:48px;gap:3px}
  .round.sm{width:36px;height:36px}
  .round.play{width:54px;height:54px;font-size:21px}
  .player-controls{gap:9px;padding-right:14px}
  .sound{width:145px;grid-template-columns:21px 1fr 32px;gap:6px}
  .brand-next-song{padding-left:15px}
}

@media (max-width:1180px){
  .now-label{justify-content:center;margin-bottom:7px}
  .hero{
    background:
      radial-gradient(circle at 50% 38%,rgba(121,46,255,.055),transparent 31%),
      linear-gradient(145deg,rgba(8,17,25,.92),rgba(2,7,11,.97));
  }
  .player-controls .round{transition:transform .18s ease}
  .player-controls .round:active{transform:scale(.95)}
}

@media (max-width:760px){
  .now-label{font-size:9px;letter-spacing:.9px}
  .now-label i{width:6px;height:6px;flex-basis:6px}
}

/* Lizibilitate imbunatatita pentru piesa curenta si urmatoarea — v15 */
@media (min-width:1451px){
  .now-label{font-size:12px;margin-bottom:9px}
  .now h1{font-size:34px;line-height:1.06;margin-bottom:6px}
  .now h2{font-size:19px;line-height:1.15}
  .brand-next-song span{font-size:11px;margin-bottom:7px}
  .brand-next-song b{font-size:16px;line-height:1.35;max-width:270px}
}

@media (min-width:1181px) and (max-width:1450px){
  .now-label{font-size:10px}
  .now h1{font-size:28px}
  .now h2{font-size:17px}
  .brand-next-song span{font-size:10px;margin-bottom:6px}
  .brand-next-song b{font-size:15px;max-width:220px}
}

@media (max-width:1180px){
  .now-label{font-size:11px}
  .now h1{font-size:30px}
  .now h2{font-size:19px}
  .brand-next-song span{font-size:11px}
  .brand-next-song b{font-size:16px;line-height:1.35}
}

@media (max-width:760px){
  .now-label{font-size:10px}
  .now h1{font-size:27px}
  .now h2{font-size:17px}
  .brand-next-song span{font-size:10px}
  .brand-next-song b{font-size:15px}
}

/* =========================================================
   RADIO MAFIA — PLAYER BROADCAST PRO v16
   ========================================================= */
@media (min-width:1181px){
  .hero{
    position:relative;
    isolation:isolate;
    height:164px;
    grid-template-columns:145px minmax(300px,1.35fr) minmax(150px,.72fr) 228px 160px minmax(230px,.95fr);
    gap:24px;
    padding:18px 28px;
    overflow:hidden;
    border:1px solid rgba(255,255,255,.09);
    background:
      radial-gradient(circle at 47% 46%,rgba(74,112,255,.10),transparent 25%),
      radial-gradient(circle at 70% 50%,rgba(255,16,34,.07),transparent 25%),
      linear-gradient(135deg,#071019 0%,#040a10 50%,#02070b 100%);
    box-shadow:inset 0 1px rgba(255,255,255,.035),0 18px 50px rgba(0,0,0,.28);
  }
  .hero:before{
    content:"";
    position:absolute;
    inset:0;
    z-index:-1;
    width:auto;height:auto;
    background:repeating-linear-gradient(90deg,transparent 0 79px,rgba(255,255,255,.012) 80px);
    opacity:.55;
  }
  .hero:after{
    content:"LIVE STREAM";
    position:absolute;
    top:12px;
    right:18px;
    height:auto;
    padding:5px 9px 5px 20px;
    color:#f7f8fa;
    font-size:9px;
    font-weight:800;
    letter-spacing:1.1px;
    border:1px solid rgba(255,255,255,.10);
    border-radius:999px;
    background:rgba(0,0,0,.22);
    opacity:.8;
  }
  .brand-block{
    height:100%;
    padding-right:20px;
    border-right:1px solid rgba(255,255,255,.08);
  }
  .brand-block .rm-logo.big{transform:scale(.94)}
  .brand-block p{font-size:12px;opacity:.78;white-space:nowrap}

  .now{min-width:0;padding-right:6px}
  .now-label{
    margin-bottom:10px;
    font-size:11px;
    letter-spacing:1.35px;
  }
  .now h1{
    max-width:100%;
    margin:0 0 7px;
    font-size:34px;
    line-height:1.04;
    font-weight:850;
    letter-spacing:-.65px;
    text-shadow:0 2px 18px rgba(0,0,0,.32);
  }
  .now h2{
    font-size:18px;
    line-height:1.2;
    font-weight:550;
    color:#b9c2cc;
  }

  .visual{
    position:relative;
    width:100%;
    max-width:190px;
    height:58px;
    gap:4px;
    padding:9px 10px;
    border:1px solid rgba(255,255,255,.065);
    border-radius:14px;
    background:rgba(255,255,255,.018);
    box-shadow:inset 0 0 22px rgba(0,0,0,.22);
    overflow:hidden;
  }
  .visual:after{
    content:"";
    position:absolute;
    left:10px;right:10px;top:50%;
    height:1px;
    background:rgba(255,255,255,.07);
  }
  .visual i{width:4px;border-radius:99px;box-shadow:0 0 7px currentColor}

  .player-controls{
    position:relative;
    height:112px;
    justify-content:center;
    gap:12px;
    padding:24px 22px 0;
    border:1px solid rgba(255,255,255,.075);
    border-radius:18px;
    background:linear-gradient(180deg,rgba(255,255,255,.035),rgba(255,255,255,.012));
    box-shadow:inset 0 1px rgba(255,255,255,.035),0 10px 25px rgba(0,0,0,.20);
  }
  .player-controls:before{
    content:"RADIO LIVE";
    position:absolute;
    top:11px;left:0;right:0;
    text-align:center;
    color:#ff3a49;
    font-size:9px;
    font-weight:900;
    letter-spacing:1.45px;
  }
  .round{
    display:grid;
    place-items:center;
    color:#eef2f6;
    background:#09121b;
    border:1px solid rgba(255,255,255,.16);
    box-shadow:inset 0 1px rgba(255,255,255,.055),0 8px 18px rgba(0,0,0,.25);
  }
  .round.sm{width:42px;height:42px;font-size:14px;opacity:.88}
  .round.play{
    width:68px;height:68px;
    color:#fff;
    border:2px solid #ff2437;
    background:radial-gradient(circle at 46% 36%,#ff4352 0,#e70d23 48%,#8c0614 100%);
    box-shadow:0 0 0 6px rgba(255,16,34,.09),0 0 28px rgba(255,16,34,.38),inset 0 1px rgba(255,255,255,.28);
  }
  .round.play:hover{
    transform:translateY(-2px) scale(1.035);
    box-shadow:0 0 0 7px rgba(255,16,34,.12),0 0 36px rgba(255,16,34,.52),inset 0 1px rgba(255,255,255,.3);
  }

  .sound{
    position:relative;
    width:160px;
    padding:27px 0 0;
    grid-template-columns:25px minmax(70px,1fr) 36px;
    gap:8px;
  }
  .sound:before{
    content:"VOLUM";
    position:absolute;
    top:3px;left:0;
    color:#7f8b97;
    font-size:9px;
    font-weight:800;
    letter-spacing:1.25px;
  }
  .sound input{height:5px;accent-color:#ff1d31}
  .sound button{color:#dce3e9;font-size:21px}
  .sound span{font-size:12px;font-variant-numeric:tabular-nums;color:#aeb8c2}

  .brand-next-song{
    position:relative;
    min-height:91px;
    margin:0;
    padding:20px 18px 16px 22px;
    border:1px solid rgba(255,255,255,.075);
    border-left:3px solid #ff182c;
    border-radius:14px;
    text-align:left;
    background:linear-gradient(135deg,rgba(255,16,34,.055),rgba(255,255,255,.018));
    box-shadow:inset 0 1px rgba(255,255,255,.025);
  }
  .brand-next-song span{
    display:block;
    margin-bottom:9px;
    color:#ff4050;
    font-size:10px;
    font-weight:900;
    letter-spacing:1.4px;
  }
  .brand-next-song b{
    display:-webkit-box;
    max-width:100%;
    overflow:hidden;
    color:#f4f6f8;
    font-size:16px;
    line-height:1.25;
    font-weight:700;
    white-space:normal;
    -webkit-line-clamp:2;
    -webkit-box-orient:vertical;
  }
}

@media (min-width:1181px) and (max-width:1450px){
  .hero{
    height:154px;
    grid-template-columns:125px minmax(235px,1.25fr) 150px 205px 140px minmax(190px,.85fr);
    gap:14px;
    padding:14px 18px;
  }
  .brand-block{padding-right:12px}
  .now h1{font-size:28px}
  .now h2{font-size:16px}
  .visual{max-width:150px;height:52px;padding:8px}
  .player-controls{height:106px;padding-left:14px;padding-right:14px;gap:9px}
  .round.sm{width:37px;height:37px}
  .round.play{width:60px;height:60px}
  .sound{width:140px;grid-template-columns:22px 1fr 32px;gap:5px}
  .brand-next-song{padding:18px 13px 13px 16px}
  .brand-next-song b{font-size:14px}
}

@media (max-width:1180px){
  .player-controls{
    padding:13px 16px;
    border:1px solid rgba(255,255,255,.075);
    border-radius:17px;
    background:rgba(255,255,255,.018);
  }
  .round.play{
    border:2px solid #ff2437;
    background:radial-gradient(circle at 46% 36%,#ff4352 0,#e70d23 48%,#8c0614 100%);
    box-shadow:0 0 0 5px rgba(255,16,34,.09),0 0 24px rgba(255,16,34,.32);
  }
  .brand-next-song{
    border-left:3px solid #ff182c;
    border-radius:12px;
    background:linear-gradient(135deg,rgba(255,16,34,.055),rgba(255,255,255,.018));
  }
}


/* Radio Mafia — corectii player v17 */
@media (min-width:1181px){
  /* Elimina eticheta decorativa LIVE STREAM din colt. */
  .hero:after{content:none!important;display:none!important}

  /* Logo putin mai mare, fara schimbarea proportiilor. */
  .brand-block .rm-logo.big{transform:scale(1.08);transform-origin:center}
  .brand-block{padding-left:8px;padding-right:18px}
  .brand-block p{margin-top:13px}

  /* Feedback vizual cand radioul ruleaza. */
  .round.play.is-playing{
    box-shadow:0 0 0 7px rgba(255,16,34,.12),0 0 38px rgba(255,16,34,.5),inset 0 1px rgba(255,255,255,.3);
  }
}
@media (min-width:1181px) and (max-width:1450px){
  .brand-block .rm-logo.big{transform:scale(1.04)}
}
@media (max-width:1180px){
  .hero:after{content:none!important;display:none!important}
  .brand-block .rm-logo.big{transform:scale(1.06);transform-origin:center}
}
@media (max-width:760px){
  .brand-block .rm-logo.big{transform:scale(1.03)}
}

/* =========================================================
   Radio Mafia — rafinare tipografie si spatiere v18
   Pastreaza structura si designul existente.
   ========================================================= */
body{
  font-family:Arial,Helvetica,sans-serif;
  font-size:15px;
  line-height:1.42;
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
}

@media (min-width:1181px){
  /* Modulele playerului sunt apropiate si folosesc mai bine latimea. */
  .hero{
    grid-template-columns:150px minmax(285px,1.28fr) minmax(180px,.78fr) 210px 150px minmax(215px,.9fr);
    gap:14px;
    padding:16px 22px;
  }
  .brand-block{padding-left:4px;padding-right:14px}
  .brand-block .rm-logo.big{transform:scale(1.04)}
  .brand-block p{font-size:11px;margin-top:10px}

  .now-label{font-size:10px;margin-bottom:8px;letter-spacing:1.2px}
  .now h1{font-size:30px;letter-spacing:-.45px;margin-bottom:5px}
  .now h2{font-size:16px}

  .visual{max-width:220px}
  .player-controls{height:104px;padding:22px 14px 0;gap:10px}
  .player-controls:before{font-size:8px;top:10px}
  .sound{width:150px}
  .brand-next-song{min-height:86px;padding:17px 15px 14px 18px}
  .brand-next-song span{font-size:9px;margin-bottom:7px}
  .brand-next-song b{font-size:14px}
}

/* Tipografie uniforma in cardurile existente. */
.card h2,.request h2{font-size:22px;letter-spacing:-.2px}
.request-title p{font-size:15px}
.chat b{font-size:17px}
.chat p{font-size:16px}
.chat time{font-size:14px}
.song-row p{font-size:16px}
.song-row strong{font-size:17px}
.req-title{font-size:18px}
.req-artist{font-size:15px}
.ask{font-size:15px}
.search input,.chat-input input{font-size:16px}

/* Butonul ramane complet, fara cercul mic din dreapta. */
.more{
  position:relative;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:0 18px;
  font-size:15px;
  letter-spacing:.15px;
}
.more span{display:none!important}

@media (max-width:1450px) and (min-width:1181px){
  .hero{gap:10px;padding-left:16px;padding-right:16px}
  .now h1{font-size:27px}
  .now h2{font-size:15px}
  .visual{max-width:175px}
  .brand-next-song b{font-size:13px}
}


/* =========================================================
   Radio Mafia v23 — corectie reala waveform + centrare player
   ========================================================= */
@media (min-width:1181px){
  .hero{
    grid-template-columns:155px 300px minmax(250px,1fr) 220px 150px 260px!important;
    column-gap:16px!important;
    padding:16px 22px!important;
  }

  .visual{
    justify-self:stretch!important;
    align-self:center!important;
    width:100%!important;
    max-width:none!important;
    height:54px!important;
    padding:0 12px!important;
    gap:3px!important;
    border:0!important;
    border-radius:0!important;
    background:transparent!important;
    box-shadow:none!important;
    overflow:visible!important;
  }
  .visual:before{
    content:"";
    position:absolute;
    left:8px;
    right:8px;
    top:50%;
    height:1px;
    background:linear-gradient(90deg,rgba(255,16,34,.55),rgba(255,255,255,.13) 28%,rgba(255,255,255,.13) 72%,rgba(255,16,34,.20));
    transform:translateY(-50%);
  }
  .visual:after{
    content:""!important;
    left:8px!important;
    right:auto!important;
    top:50%!important;
    width:7px!important;
    height:7px!important;
    border-radius:50%!important;
    background:#ff1022!important;
    box-shadow:0 0 10px rgba(255,16,34,.9)!important;
    transform:translate(-1px,-50%)!important;
  }
  .visual i{
    position:relative;
    z-index:1;
    width:2px!important;
    min-height:3px;
    max-height:20px;
    border-radius:999px!important;
    box-shadow:none!important;
    transform-origin:center;
    animation:visMinimal 1.35s ease-in-out infinite!important;
  }
  @keyframes visMinimal{
    0%,100%{transform:scaleY(.72);opacity:.62}
    50%{transform:scaleY(1);opacity:1}
  }

  .player-controls{
    justify-self:center!important;
    width:220px!important;
    height:104px!important;
    padding:22px 14px 0!important;
    gap:11px!important;
  }
  .player-controls:before{
    content:"RADIO LIVE"!important;
    font-size:8px!important;
    letter-spacing:1.2px!important;
  }

  .now h1{font-size:28px!important}
  .now h2{font-size:15px!important}
  .now-label{font-size:9px!important}
  .brand-next-song b{font-size:14px!important}
}

@media (min-width:1181px) and (max-width:1450px){
  .hero{
    grid-template-columns:130px 245px minmax(170px,1fr) 190px 135px 205px!important;
    column-gap:10px!important;
  }
  .player-controls{width:190px!important}
  .visual{height:48px!important;padding-inline:8px!important}
}


/* =========================================================
   Player Radio Mafia — layout curat final v42
   Logo | Asculti acum | Player central | Urmeaza
   ========================================================= */
@media (min-width:1181px){
  .hero{
    height:230px!important;
    display:grid!important;
    grid-template-columns:minmax(150px,210px) minmax(230px,1fr) minmax(390px,1.55fr) minmax(230px,1fr)!important;
    grid-template-rows:auto 58px auto!important;
    grid-template-areas:
      "brand now controls next"
      "brand now waveform next"
      "brand now volume next"!important;
    align-items:center!important;
    column-gap:30px!important;
    row-gap:8px!important;
    padding:24px 42px!important;
  }

  .brand-block{
    grid-area:brand!important;
    align-self:center!important;
    width:100%!important;
    max-width:210px!important;
    margin:0!important;
    padding:0!important;
  }
  .rm-logo.big b{font-size:42px!important}
  .rm-logo.big .bars-logo{height:54px!important;gap:6px!important}
  .rm-logo.big .bars-logo i{width:11px!important}
  .brand-block p{font-size:15px!important;margin-top:10px!important}

  .now{
    grid-area:now!important;
    align-self:center!important;
    text-align:left!important;
    padding:0!important;
    min-width:0!important;
  }
  .now-label,
  .brand-next-song span{
    color:var(--red)!important;
    font-size:11px!important;
    font-weight:900!important;
    letter-spacing:1.25px!important;
    line-height:1.2!important;
    margin:0 0 11px!important;
  }
  .now-label{display:flex!important;align-items:center!important;justify-content:flex-start!important}
  .now-label i{width:8px!important;height:8px!important;flex:0 0 8px!important;margin-right:8px!important}
  .now h1{
    margin:0 0 6px!important;
    font-size:27px!important;
    line-height:1.08!important;
    white-space:nowrap!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
  }
  .now h2{
    margin:0!important;
    font-size:16px!important;
    line-height:1.2!important;
    white-space:nowrap!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
  }

  .player-controls{
    grid-area:controls!important;
    justify-self:center!important;
    align-self:end!important;
    width:auto!important;
    height:auto!important;
    min-height:0!important;
    padding:0!important;
    border:0!important;
    gap:13px!important;
    background:transparent!important;
    box-shadow:none!important;
  }
  .player-controls:before{content:none!important;display:none!important}
  .round.sm{width:42px!important;height:42px!important;font-size:16px!important}
  .round.play{width:60px!important;height:60px!important;font-size:24px!important}

  .visual{
    grid-area:waveform!important;
    position:relative!important;
    align-self:center!important;
    justify-self:stretch!important;
    width:100%!important;
    max-width:none!important;
    height:48px!important;
    padding:0 8px!important;
    margin:0!important;
    gap:4px!important;
    overflow:hidden!important;
  }
  .visual i{width:3px!important;max-height:24px!important}

  .sound{
    grid-area:volume!important;
    justify-self:center!important;
    align-self:start!important;
    width:min(360px,100%)!important;
    display:grid!important;
    grid-template-columns:32px minmax(130px,1fr) 48px!important;
    gap:12px!important;
    margin:0!important;
    padding:0!important;
    font-size:13px!important;
  }
  .sound button{font-size:22px!important}
  .sound input{height:28px!important;touch-action:pan-x!important}

  .brand-next-song{
    grid-area:next!important;
    align-self:center!important;
    width:100%!important;
    min-width:0!important;
    min-height:0!important;
    margin:0!important;
    padding:0!important;
    border:0!important;
    background:transparent!important;
    box-shadow:none!important;
    text-align:right!important;
  }
  .brand-next-song span{display:block!important}
  .brand-next-song b{
    display:block!important;
    max-width:100%!important;
    color:#fff!important;
    font-size:16px!important;
    line-height:1.35!important;
    font-weight:600!important;
    white-space:normal!important;
    overflow-wrap:anywhere!important;
  }
}

@media (min-width:1181px) and (max-width:1450px){
  .hero{
    height:210px!important;
    grid-template-columns:145px minmax(190px,.85fr) minmax(330px,1.35fr) minmax(190px,.85fr)!important;
    column-gap:20px!important;
    padding:22px 28px!important;
  }
  .rm-logo.big b{font-size:34px!important}
  .rm-logo.big .bars-logo{height:44px!important}
  .now h1{font-size:23px!important}
  .now h2,.brand-next-song b{font-size:14px!important}
}

@media (max-width:1180px){
  .hero{
    height:auto!important;
    display:grid!important;
    grid-template-columns:1fr 1fr!important;
    grid-template-areas:
      "brand brand"
      "now next"
      "controls controls"
      "waveform waveform"
      "volume volume"!important;
    align-items:center!important;
    gap:18px 22px!important;
    padding:24px!important;
  }
  .brand-block{grid-area:brand!important;margin:auto!important}
  .now{grid-area:now!important;text-align:left!important;padding:0!important}
  .brand-next-song{
    grid-area:next!important;
    text-align:right!important;
    margin:0!important;
    padding:0!important;
    border:0!important;
    background:transparent!important;
    box-shadow:none!important;
  }
  .player-controls{
    grid-area:controls!important;
    justify-self:center!important;
    width:auto!important;
    height:auto!important;
    padding:0!important;
    border:0!important;
    background:transparent!important;
  }
  .player-controls:before{content:none!important;display:none!important}
  .visual{grid-area:waveform!important;width:min(620px,100%)!important;justify-self:center!important;height:50px!important}
  .sound{grid-area:volume!important;width:min(420px,100%)!important;justify-self:center!important;margin:0!important}
  .now-label,.brand-next-song span{font-size:10px!important;letter-spacing:1px!important}
  .now h1{font-size:24px!important}
  .now h2,.brand-next-song b{font-size:15px!important}
}

@media (max-width:620px){
  .hero{
    grid-template-columns:1fr!important;
    grid-template-areas:
      "brand"
      "now"
      "controls"
      "waveform"
      "volume"
      "next"!important;
    gap:15px!important;
    padding:20px 16px!important;
  }
  .now,.brand-next-song{text-align:center!important}
  .now-label{justify-content:center!important}
  .brand-next-song{padding-top:14px!important;border-top:1px solid rgba(255,255,255,.08)!important}
  .now h1{font-size:22px!important}
  .now h2,.brand-next-song b{font-size:14px!important}
  .visual{height:44px!important;padding-inline:4px!important;gap:3px!important}
  .sound{grid-template-columns:30px minmax(0,1fr) 44px!important;gap:8px!important;width:100%!important}
  .sound input{height:34px!important}
  .round.sm{width:40px!important;height:40px!important}
  .round.play{width:58px!important;height:58px!important}
}


/* =========================================================
   Ajustari fine player v43
   - spatiu intre logo si Asculti acum
   - indicator identic pentru Asculti acum / Urmeaza
   - icon volum aliniat cu sliderul
   ========================================================= */
@media (min-width:1181px){
  .hero{
    column-gap:34px!important;
  }
  .brand-block{
    padding-right:18px!important;
  }
}

.now-label,
.brand-next-song > span{
  display:flex!important;
  align-items:center!important;
  gap:8px!important;
}

.brand-next-song > span{
  justify-content:flex-end!important;
}

.now-label i,
.brand-next-song > span i{
  display:inline-block!important;
  width:8px!important;
  height:8px!important;
  min-width:8px!important;
  border-radius:50%!important;
  background:var(--red)!important;
  box-shadow:0 0 10px color-mix(in srgb, var(--red) 75%, transparent)!important;
  margin:0!important;
}

.sound{
  align-items:center!important;
}

.sound button{
  width:32px!important;
  height:32px!important;
  min-width:32px!important;
  padding:0!important;
  margin:0!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  line-height:1!important;
  font-size:18px!important;
  transform:none!important;
  vertical-align:middle!important;
}

.sound input[type="range"]{
  margin:0!important;
  align-self:center!important;
}

.sound #volText{
  align-self:center!important;
  line-height:32px!important;
}

@media (max-width:620px){
  .brand-block{
    padding-right:0!important;
    margin-bottom:6px!important;
  }
  .brand-next-song > span{
    justify-content:center!important;
  }
  .sound button{
    width:30px!important;
    height:30px!important;
    min-width:30px!important;
    font-size:17px!important;
  }
}

/* =========================================================
   Player v44 — pictograme stabile pe mobil
   Elimina randarea emoji iOS pentru controalele playerului.
   ========================================================= */
.player-controls .round{
  -webkit-appearance:none!important;
  appearance:none!important;
  position:relative!important;
  font-size:0!important;
  line-height:1!important;
  -webkit-tap-highlight-color:transparent!important;
  touch-action:manipulation!important;
  overflow:hidden!important;
}

.player-controls .round::before,
.player-controls .round::after{
  content:"";
  position:absolute;
  display:block;
  pointer-events:none;
}

/* Anterior: bara + triunghi */
#prevBtn::before{
  width:4px;
  height:18px;
  left:20px;
  top:50%;
  transform:translateY(-50%);
  border-radius:2px;
  background:#fff;
}
#prevBtn::after{
  left:25px;
  top:50%;
  transform:translateY(-50%);
  width:0;
  height:0;
  border-top:9px solid transparent;
  border-bottom:9px solid transparent;
  border-right:13px solid #fff;
}

/* Urmator: triunghi + bara */
#nextBtn::before{
  right:20px;
  top:50%;
  transform:translateY(-50%);
  width:4px;
  height:18px;
  border-radius:2px;
  background:#fff;
}
#nextBtn::after{
  right:25px;
  top:50%;
  transform:translateY(-50%);
  width:0;
  height:0;
  border-top:9px solid transparent;
  border-bottom:9px solid transparent;
  border-left:13px solid #fff;
}

/* Play / pauza desenate numai din CSS */
#playBtn::before{
  left:50%;
  top:50%;
  transform:translate(-42%,-50%);
  width:0;
  height:0;
  border-top:14px solid transparent;
  border-bottom:14px solid transparent;
  border-left:21px solid #fff;
}
#playBtn::after{display:none}
#playBtn.is-playing::before{
  width:7px;
  height:28px;
  border:0;
  background:#fff;
  transform:translate(-11px,-50%);
  box-shadow:15px 0 0 #fff;
}

@media (max-width:760px){
  .player-controls{
    gap:22px!important;
    padding:14px 12px!important;
  }
  .player-controls .round.sm{
    width:52px!important;
    height:52px!important;
  }
  .player-controls .round.play{
    width:78px!important;
    height:78px!important;
  }
  #prevBtn::before{left:17px;height:16px}
  #prevBtn::after{left:22px;border-top-width:8px;border-bottom-width:8px;border-right-width:12px}
  #nextBtn::before{right:17px;height:16px}
  #nextBtn::after{right:22px;border-top-width:8px;border-bottom-width:8px;border-left-width:12px}
  #playBtn::before{border-top-width:13px;border-bottom-width:13px;border-left-width:20px}
  #playBtn.is-playing::before{height:26px;transform:translate(-10px,-50%);box-shadow:14px 0 0 #fff}
}

/* =========================================================
   Player v45 — reglaje mobile si simetrie indicatoare
   ========================================================= */
.sound::before,
.sound:before{
  content:none!important;
  display:none!important;
}

.now-label i,
.brand-next-song > span i{
  width:8px!important;
  height:8px!important;
  min-width:8px!important;
  flex:0 0 8px!important;
  margin:0!important;
  border-radius:50%!important;
  background:var(--red)!important;
  box-shadow:0 0 0 5px rgba(255,16,34,.10),0 0 14px rgba(255,16,34,.85)!important;
  animation:livePulse 1.8s ease-in-out infinite!important;
  transform-origin:center!important;
}

.player-controls{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  margin-left:auto!important;
  margin-right:auto!important;
  box-sizing:border-box!important;
}

@media (max-width:1180px){
  .player-controls{
    width:min(420px,100%)!important;
    justify-self:center!important;
    padding-left:0!important;
    padding-right:0!important;
  }
}

@media (max-width:620px){
  .player-controls{
    width:100%!important;
    max-width:420px!important;
    gap:20px!important;
    padding:14px 10px!important;
  }
}

/* =========================================================
   Player v46 — etichete egale + controale centrate simetric
   ========================================================= */
.now-label,
.brand-next-song > span{
  font-size:10px!important;
  line-height:1.2!important;
  font-weight:800!important;
  letter-spacing:1.15px!important;
  text-transform:uppercase!important;
}

.player-controls{
  display:grid!important;
  grid-template-columns:52px 78px 52px!important;
  align-items:center!important;
  justify-content:center!important;
  column-gap:22px!important;
  width:100%!important;
  max-width:300px!important;
  margin-inline:auto!important;
  padding-left:0!important;
  padding-right:0!important;
}

.player-controls .round{
  margin:0!important;
  justify-self:center!important;
  align-self:center!important;
}

.player-controls .round.sm{
  width:52px!important;
  height:52px!important;
}

.player-controls .round.play{
  width:78px!important;
  height:78px!important;
}

@media (min-width:761px){
  .player-controls{
    grid-template-columns:48px 72px 48px!important;
    column-gap:18px!important;
    max-width:270px!important;
  }
  .player-controls .round.sm{
    width:48px!important;
    height:48px!important;
  }
  .player-controls .round.play{
    width:72px!important;
    height:72px!important;
  }
}

@media (max-width:620px){
  .now-label,
  .brand-next-song > span{
    font-size:10px!important;
    line-height:1.2!important;
    letter-spacing:1px!important;
  }
  .player-controls{
    grid-template-columns:52px 78px 52px!important;
    column-gap:20px!important;
    max-width:270px!important;
    padding:14px 0!important;
  }
}


/* =========================================================
   v47 — logo header identic cu logo footer
   Se modifica doar dimensiunea si proportiile logo-ului de sus.
   ========================================================= */
.brand-block .rm-logo b{
  font-size:27px!important;
  letter-spacing:-1.7px!important;
}
.brand-block .rm-logo .bars-logo{
  height:36px!important;
  gap:4px!important;
  margin-bottom:0!important;
}
.brand-block .rm-logo .bars-logo i{
  width:7px!important;
  border-radius:4px 4px 1px 1px!important;
}
.brand-block .rm-logo .bars-logo i:nth-child(1),
.brand-block .rm-logo .bars-logo i:nth-child(6){height:18px!important}
.brand-block .rm-logo .bars-logo i:nth-child(2),
.brand-block .rm-logo .bars-logo i:nth-child(5){height:27px!important}
.brand-block .rm-logo .bars-logo i:nth-child(3){height:36px!important}
.brand-block .rm-logo .bars-logo i:nth-child(4){height:24px!important}

@media(max-width:760px){
  .brand-block .rm-logo b{font-size:24px!important}
  .brand-block .rm-logo .bars-logo{height:31px!important}
}


/* v48 - rezultate Request: aspect compact si responsive */
.request-list.search-results-active{
  min-height:0;
  max-height:430px;
  overflow-y:auto;
  padding:8px 8px 8px 0;
  margin-right:-4px;
  scrollbar-width:thin;
  scrollbar-color:var(--red) rgba(255,255,255,.06);
}
.request-list.search-results-active::-webkit-scrollbar{width:6px}
.request-list.search-results-active::-webkit-scrollbar-track{background:rgba(255,255,255,.04);border-radius:10px}
.request-list.search-results-active::-webkit-scrollbar-thumb{background:linear-gradient(var(--red),var(--red2));border-radius:10px}
.request-results-head{
  position:sticky;
  top:0;
  z-index:2;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding:7px 10px 11px;
  background:linear-gradient(180deg,rgba(4,10,15,.98) 72%,rgba(4,10,15,.86));
  color:#fff;
  font-size:13px;
  font-weight:800;
  letter-spacing:.4px;
  text-transform:uppercase;
}
.request-results-head small{color:#9fa8b3;font-size:11px;font-weight:600;text-transform:none;letter-spacing:0}
.request-list.search-results-active .req-row{
  min-height:72px;
  height:auto;
  grid-template-columns:48px minmax(0,1fr) 92px;
  gap:13px;
  padding:10px 10px;
  margin:0 0 8px;
  border:1px solid rgba(255,255,255,.085);
  border-radius:10px;
  background:linear-gradient(145deg,rgba(255,255,255,.045),rgba(255,255,255,.015));
  transition:border-color .18s ease,transform .18s ease,background .18s ease;
}
.request-list.search-results-active .req-row:hover{
  border-color:rgba(255,16,34,.42);
  background:linear-gradient(145deg,rgba(255,16,34,.07),rgba(255,255,255,.018));
  transform:translateY(-1px);
}
.request-list.search-results-active .play-mini{
  width:42px;
  height:42px;
  font-size:0;
  position:relative;
  flex:none;
}
.request-list.search-results-active .play-mini::before{
  content:"";
  width:0;height:0;
  border-top:7px solid transparent;
  border-bottom:7px solid transparent;
  border-left:11px solid #fff;
  margin-left:3px;
}
.request-list.search-results-active .req-title{
  font-size:16px;
  line-height:1.22;
  -webkit-line-clamp:1;
  white-space:nowrap;
  text-overflow:ellipsis;
}
.request-list.search-results-active .req-artist{
  margin-top:5px;
  font-size:13px;
  color:#aeb7c2;
}
.request-list.search-results-active .ask{
  width:92px;
  height:42px;
  border-radius:8px;
  font-size:13px;
  letter-spacing:.5px;
  background:linear-gradient(180deg,rgba(255,16,34,.12),rgba(255,16,34,.035));
}
.request-list.search-results-active .ask:hover{background:linear-gradient(#f01b2d,#bc0011);color:#fff}
.request-empty{
  padding:24px 14px;
  color:#b8c0ca;
  text-align:center;
  border:1px dashed rgba(255,255,255,.12);
  border-radius:10px;
}
.request-empty strong{color:#fff}
@media(max-width:760px){
  .request-list.search-results-active{max-height:420px;padding-right:3px}
  .request-results-head{padding:6px 6px 10px;font-size:12px}
  .request-results-head small{display:none}
  .request-list.search-results-active .req-row{
    grid-template-columns:40px minmax(0,1fr) 72px;
    gap:10px;
    min-height:64px;
    padding:9px 8px;
  }
  .request-list.search-results-active .play-mini{width:38px;height:38px}
  .request-list.search-results-active .req-title{font-size:14px}
  .request-list.search-results-active .req-artist{font-size:12px}
  .request-list.search-results-active .ask{width:72px;height:38px;font-size:12px}
}

/* Mesaje private in chatul de pe pagina principala — v50 */
.home-online-toggle{position:relative;border:0;background:transparent;color:#dfe5ec;font-style:normal;font-weight:700;cursor:pointer;display:inline-flex;align-items:center;gap:7px;padding:7px 10px;border-radius:8px}.home-online-toggle i{width:9px;height:9px;border-radius:50%;background:#00d873;box-shadow:0 0 10px rgba(0,216,115,.65)}.home-online-toggle b{color:#fff}.home-online-toggle.has-unread:after{content:attr(data-unread);position:absolute;right:-7px;top:-7px;min-width:20px;height:20px;padding:0 5px;border-radius:10px;background:#ff1022;color:#fff;font-size:11px;line-height:20px;text-align:center;box-shadow:0 0 14px rgba(255,16,34,.65)}
.home-online-panel{position:absolute;z-index:30;top:74px;right:18px;width:min(330px,calc(100% - 36px));max-height:430px;border:1px solid rgba(255,255,255,.14);border-radius:12px;background:linear-gradient(150deg,#0a141d,#03080d);box-shadow:0 20px 60px rgba(0,0,0,.55);overflow:hidden}.home-online-panel[hidden]{display:none}.home-online-panel-head{height:52px;display:flex;align-items:center;justify-content:space-between;padding:0 14px;border-bottom:1px solid rgba(255,255,255,.09)}.home-online-panel-head strong{font-size:15px}.home-online-panel-head button{width:34px;height:34px;border:0;border-radius:50%;background:rgba(255,255,255,.06);color:#fff;font-size:24px;cursor:pointer}.home-online-users{max-height:370px;overflow:auto;padding:8px}.home-online-user{width:100%;display:grid;grid-template-columns:42px minmax(0,1fr) auto;align-items:center;gap:10px;border:0;border-radius:9px;background:transparent;color:#fff;text-align:left;padding:9px;cursor:pointer}.home-online-user:hover{background:rgba(255,255,255,.06)}.home-online-user.is-me{opacity:.58;cursor:default}.home-online-avatar{width:40px;height:40px;border-radius:50%;display:grid;place-items:center;background:linear-gradient(145deg,#ff2434,#72000b);font-weight:900}.home-online-info{min-width:0;display:flex;flex-direction:column}.home-online-info b{font-size:14px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.home-online-info small{color:#aeb8c3;font-size:12px;margin-top:2px}.home-unread-badge{min-width:24px;height:24px;padding:0 6px;border-radius:12px;background:#ff1022;display:grid;place-items:center;font-size:11px;font-weight:900}.home-online-empty{padding:18px;text-align:center;color:#aeb8c3}
.home-private-chat{position:absolute;z-index:40;inset:64px 16px 16px;display:grid;grid-template-rows:auto minmax(0,1fr) auto auto;border:1px solid rgba(255,16,34,.45);border-radius:12px;background:linear-gradient(155deg,rgba(8,18,27,.98),rgba(2,6,10,.99));box-shadow:0 22px 70px rgba(0,0,0,.68),0 0 25px rgba(255,16,34,.1);overflow:hidden}.home-private-chat[hidden]{display:none}.home-private-head{min-height:58px;display:flex;align-items:center;justify-content:space-between;padding:10px 14px;border-bottom:1px solid rgba(255,255,255,.09)}.home-private-head div{display:flex;flex-direction:column;gap:2px}.home-private-head small{color:#ff5260;font-size:10px;letter-spacing:1.5px;font-weight:900}.home-private-head strong{font-size:16px}.home-private-head button{width:38px;height:38px;border:0;border-radius:50%;background:rgba(255,255,255,.06);color:#fff;font-size:26px;cursor:pointer}.home-private-messages{min-height:0;overflow-y:auto;padding:14px;display:flex;flex-direction:column;gap:10px}.home-private-empty{margin:auto;color:#9ca7b2;text-align:center}.home-private-message{align-self:flex-start;max-width:82%;padding:9px 11px;border:1px solid rgba(255,255,255,.1);border-radius:4px 12px 12px 12px;background:rgba(255,255,255,.055)}.home-private-message.is-mine{align-self:flex-end;border-color:rgba(255,16,34,.36);border-radius:12px 4px 12px 12px;background:linear-gradient(145deg,rgba(255,16,34,.28),rgba(140,0,15,.28))}.home-private-meta{display:flex;gap:12px;align-items:center;margin-bottom:4px;font-size:11px}.home-private-meta b{font-size:11px;color:#fff}.home-private-meta time{color:#aeb8c3}.home-private-message p{margin:0;font-size:14px;line-height:1.4;overflow-wrap:anywhere}.home-private-form{display:grid;grid-template-columns:minmax(0,1fr) 92px;gap:9px;padding:10px 12px;border-top:1px solid rgba(255,255,255,.09)}.home-private-form textarea{min-width:0;height:54px;resize:none;border:1px solid rgba(255,255,255,.14);border-radius:8px;background:rgba(255,255,255,.05);color:#fff;padding:9px 11px;font:inherit;outline:none}.home-private-form button{border:0;border-radius:8px;background:linear-gradient(#f01b2d,#b90012);color:#fff;font-weight:800;cursor:pointer}.home-private-error{min-height:18px;margin:0;padding:0 12px 7px;color:#ff6e79;font-size:12px;text-align:center}
@media(max-width:760px){.home-online-toggle{padding:6px}.home-online-panel{top:66px;right:10px;width:calc(100% - 20px)}.home-private-chat{inset:58px 8px 8px}.home-private-form{grid-template-columns:minmax(0,1fr) 76px;padding:8px}.home-private-message{max-width:90%}}

/* Private chat bubble cleanup — v52 */
.home-private-messages{gap:12px}
.home-private-message{width:max-content;min-width:118px;max-width:min(78%,560px);padding:10px 13px}
.home-private-meta{display:block;margin:0 0 6px;font-size:11px;line-height:1.15}
.home-private-meta b{display:block;font-size:11px;line-height:1.15;color:#fff}
.home-private-meta time{display:none!important}
.home-private-message p{display:block;margin:0!important;line-height:1.42;white-space:normal;overflow-wrap:anywhere;word-break:break-word}
.home-private-message.is-mine .home-private-meta{text-align:left}
@media(max-width:760px){.home-private-message{max-width:84%;min-width:105px;padding:10px 12px}}


/* Lista utilizatorilor online vizibila in chatul principal — v53 */
.home-online-panel{
  position:relative!important;
  z-index:2!important;
  top:auto!important;
  right:auto!important;
  width:100%!important;
  max-height:none!important;
  margin:0 0 12px!important;
  border-color:rgba(255,255,255,.10)!important;
  border-radius:10px!important;
  background:rgba(4,11,17,.58)!important;
  box-shadow:none!important;
  overflow:hidden!important;
}
.home-online-panel[hidden]{display:none!important}
.home-online-panel-head{
  height:38px!important;
  padding:0 11px!important;
  background:rgba(255,255,255,.025)!important;
}
.home-online-panel-head strong{
  font-size:12px!important;
  letter-spacing:.5px!important;
  text-transform:uppercase!important;
  color:#dce3ea!important;
}
.home-online-panel-head button{display:none!important}
.home-online-users{
  display:flex!important;
  gap:7px!important;
  max-height:none!important;
  overflow-x:auto!important;
  overflow-y:hidden!important;
  padding:8px!important;
  scrollbar-width:thin!important;
  scrollbar-color:#d81124 transparent!important;
}
.home-online-user{
  flex:0 0 min(190px,70vw)!important;
  width:auto!important;
  grid-template-columns:34px minmax(0,1fr) auto!important;
  gap:8px!important;
  padding:7px 9px!important;
  border:1px solid rgba(255,255,255,.08)!important;
  background:rgba(255,255,255,.025)!important;
}
.home-online-user:hover{background:rgba(255,16,34,.08)!important;border-color:rgba(255,16,34,.28)!important}
.home-online-avatar{width:32px!important;height:32px!important;font-size:12px!important}
.home-online-info b{font-size:12px!important}
.home-online-info small{font-size:10px!important}
.home-unread-badge{min-width:20px!important;height:20px!important;font-size:10px!important}
.home-online-empty{width:100%;padding:9px!important;font-size:12px!important}
@media(max-width:760px){
  .home-online-panel{top:auto!important;right:auto!important;width:100%!important;margin-bottom:10px!important}
  .home-online-user{flex-basis:min(172px,72vw)!important}
}


/* Utilizatori online in coloana laterala — v54 */
.home-chat-body{
  flex:1 1 auto;
  min-height:0;
  display:grid;
  grid-template-columns:minmax(0,1fr) clamp(150px,30%,205px);
  gap:12px;
  overflow:hidden;
}
.home-chat-body>.chat-list{
  min-width:0;
  height:auto!important;
  max-height:none!important;
  overflow-y:auto!important;
}
.home-chat-body>.home-online-panel{
  position:relative!important;
  top:auto!important;
  right:auto!important;
  width:100%!important;
  height:100%!important;
  max-height:none!important;
  margin:0!important;
  border:1px solid rgba(255,255,255,.10)!important;
  border-radius:10px!important;
  background:rgba(4,11,17,.58)!important;
  overflow:hidden!important;
  display:flex!important;
  flex-direction:column!important;
}
.home-chat-body>.home-online-panel[hidden]{display:none!important}
.home-chat-body .home-online-panel-head{flex:0 0 38px!important}
.home-chat-body .home-online-users{
  flex:1 1 auto!important;
  min-height:0!important;
  display:flex!important;
  flex-direction:column!important;
  gap:6px!important;
  overflow-x:hidden!important;
  overflow-y:auto!important;
  padding:7px!important;
}
.home-chat-body .home-online-user{
  flex:0 0 auto!important;
  width:100%!important;
  grid-template-columns:30px minmax(0,1fr) auto!important;
  gap:7px!important;
  padding:7px!important;
}
.home-chat-body .home-online-avatar{width:30px!important;height:30px!important}
.home-chat-body .home-online-info b{font-size:11px!important}
.home-chat-body .home-online-info small{font-size:9px!important}
@media(max-width:760px){
  .home-chat-body{grid-template-columns:minmax(0,1fr) 122px;gap:8px}
  .home-chat-body .home-online-panel-head{padding:0 7px!important}
  .home-chat-body .home-online-panel-head strong{font-size:9px!important;letter-spacing:.2px!important}
  .home-chat-body .home-online-users{padding:5px!important;gap:5px!important}
  .home-chat-body .home-online-user{grid-template-columns:26px minmax(0,1fr)!important;padding:6px!important}
  .home-chat-body .home-online-avatar{width:26px!important;height:26px!important;font-size:10px!important}
  .home-chat-body .home-online-info small,.home-chat-body .home-unread-badge{display:none!important}
  .home-chat-body .home-online-info b{font-size:10px!important}
}
@media(max-width:430px){
  .home-chat-body{grid-template-columns:minmax(0,1fr) 108px;gap:6px}
}
