@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&display=swap');
/* STUDIO56 FIX 3 — compact desktop layout and admin-selected background */
*{box-sizing:border-box}
:root{--cyan:#08d9ff;--blue:#087fff;--navy:#031126;--line:#17608d}
body{margin:0;background:#030a18;color:#edf6ff;font:15px/1.45 Manrope,Arial,Helvetica,sans-serif}
a{color:#08d9ff;text-decoration:none}button{cursor:pointer;font:inherit}
input,textarea,select{width:100%;padding:11px;margin:6px 0 12px;background:#030d1d;color:#fff;border:1px solid #214a72;border-radius:8px}
button{background:#087fff;color:white;border:0;border-radius:8px;padding:11px 15px}
h1,h2{color:#45d8ff}.box{max-width:950px;margin:6vh auto;padding:28px;background:#08172c;border:1px solid #164c7b;border-radius:18px}
.box>h1{text-align:center;font-size:38px}.box>p{text-align:center;color:#8ab9db}.cols{display:grid;grid-template-columns:1fr 1fr;gap:20px}.cols form,.panel{padding:16px;background:#07162b;border:1px solid #153f65;border-radius:12px}.err{color:#ff9cae}
.auth-page{min-height:100vh;background-color:#010611;background-repeat:no-repeat;background-position:center center;background-size:cover;background-attachment:fixed;background-image:radial-gradient(ellipse at 15% 10%,#092b55 0%,#030b1b 42%,#010611 100%);display:flex;align-items:center;justify-content:center;padding:20px;position:relative}
.auth-page:before{content:"";position:fixed;inset:0;background:rgba(1,7,20,.42);pointer-events:none}
.auth-layout{position:relative;z-index:1;width:100%;display:grid;grid-template-columns:minmax(260px,1fr) minmax(360px,460px);gap:28px;align-items:center;max-width:1080px}
.auth-layout{width:100%;display:grid;grid-template-columns:minmax(300px,1fr) minmax(430px,540px);gap:3vw;align-items:center;max-width:1360px}
@media(min-width:1200px){.auth-card{padding:24px 28px 20px}.auth-tabs{margin-bottom:22px}.form-heading{margin-bottom:14px}.field{min-height:50px}.field input{padding:12px 0}.hint{margin-bottom:5px}.submit-btn{padding:13px 15px}.switch-copy{margin-top:20px}.features{gap:13px}}
.auth-brand{align-self:stretch;display:flex;flex-direction:column;justify-content:flex-start;padding-top:2vh;text-shadow:0 2px 10px #000}
.brand-logo{display:flex;align-items:center;gap:12px;color:white;font-weight:900;font-size:clamp(30px,4vw,65px);letter-spacing:-2px;line-height:.9}
.brand-logo .mic{color:#03caff;font-size:1.1em;text-shadow:0 0 20px #078fff}
.brand-logo strong{color:#087fff}.brand-logo small{display:block;text-align:center;font-size:.28em;letter-spacing:5px;margin-top:12px;color:#a6e8ff;font-weight:600}
.tagline{font-size:clamp(14px,1.7vw,26px);font-style:italic;margin:22px 0 0}
.features{margin-top:auto;margin-bottom:1vh;display:grid;gap:17px;max-width:360px}.features>div{display:flex;align-items:center;gap:18px}.features b{color:#00cfff;font-size:38px;min-width:48px;text-align:center;text-shadow:0 0 12px #008cff}.features strong,.features small{display:block}.features strong{font-size:18px}.features small{font-size:15px;color:#d1e5ff;margin-top:2px}
.auth-card{width:100%;padding:30px 36px 25px;background:rgba(1,12,29,.95);border:1px solid #08bfff;border-radius:34px;box-shadow:0 0 0 1px rgba(0,120,255,.12),0 0 30px rgba(0,115,255,.28);min-width:0}
.auth-tabs{display:grid;grid-template-columns:1fr 1fr;padding:0;border:1px solid #0872bd;border-radius:18px;overflow:hidden;margin-bottom:30px;background:#03152c}
.tab{border-radius:14px;background:transparent;color:#b7c9e8;padding:15px 10px;font-weight:700;font-size:21px}.tab.active{background:linear-gradient(110deg,#0877ff,#0062e9);box-shadow:0 0 18px #087fff;color:white;border:1px solid #09c9ff}
.form-heading{display:flex;gap:17px;align-items:center;margin:0 0 20px}.form-heading>span{font-size:43px;color:#00cfff}.form-heading h1{color:#fff;font-size:21px;margin:0 0 5px}.form-heading p{color:#c4d6f2;margin:0;font-size:15px}
.field{display:flex;align-items:center;gap:12px;border:1px solid #396b98;background:linear-gradient(100deg,rgba(5,30,54,.96),rgba(3,20,40,.98));border-radius:16px;padding:0 15px;margin:11px 0 0;min-height:57px}
.field>span{font-size:25px;color:#e4f0ff;width:28px;text-align:center;flex-shrink:0}.field input{margin:0;padding:15px 0;background:transparent;border:0;outline:none;min-width:0;font-size:16px}.field input::placeholder{color:#c1d1e9;opacity:1}.field:focus-within{border-color:#00caff;box-shadow:0 0 12px #087fff55}
.hint{display:block;color:#a9bfdc;font-size:12px;margin:4px 0 8px 80px}.eye{padding:4px;background:transparent;color:#eaf6ff;font-size:22px;flex-shrink:0}
.terms{display:flex;align-items:flex-start;gap:10px;margin:14px 8px 15px;line-height:1.6}.terms input{width:22px;height:22px;margin:2px 0 0;accent-color:#087fff;flex-shrink:0}.terms span{font-size:15px}.submit-btn{width:100%;padding:17px 15px;border-radius:16px;background:linear-gradient(100deg,#087cff,#0071f5,#079dff);border:1px solid #08d9ff;box-shadow:0 0 18px #007bff66;font-weight:800;font-size:23px}.submit-btn span{margin-left:12px;font-size:27px}.or{display:flex;align-items:center;gap:18px;margin:17px 0 12px;justify-content:center}.or span{height:1px;background:#14547e;flex:1}.social-buttons{display:grid;grid-template-columns:1fr 1fr;gap:12px}.social-buttons button{background:transparent;border:1px solid #16537f;padding:13px 8px;font-size:14px;color:#f0f6ff}.social-buttons button:disabled{opacity:1;cursor:not-allowed}.switch-copy{text-align:center;color:#c6d7ed;margin:30px 0 4px}.switch-copy button{padding:0 0 0 8px;background:transparent;color:#00d8ff;font-weight:700}
.auth-error{padding:10px 12px;background:#351421;border:1px solid #9d3853;border-radius:10px;margin-bottom:15px}
[hidden]{display:none!important}
.app{height:100vh;min-height:600px;padding:8px;display:grid;grid-template-columns:250px minmax(300px,1fr) 280px;gap:8px}.left,.right{display:flex;flex-direction:column;gap:8px;min-height:0}.left nav{display:flex;flex-direction:column;gap:5px}.left nav a{display:block;padding:10px;border-radius:8px;background:#061a30}.chat{display:flex;flex-direction:column;min-height:0}.chat header{display:flex;justify-content:space-between;gap:10px;align-items:center}.chat h1{font-size:22px}#messages,#pmsgs{flex:1;overflow:auto;min-height:100px;padding:8px}#send,#psend{display:flex;gap:8px}#send input,#psend input{margin:0}.list{overflow:auto;min-height:70px;max-height:35vh}.list p{margin:4px 0}audio{width:100%;margin-top:8px}iframe{width:100%;min-height:150px;border:0}.hidden{display:none!important}
@media(max-width:1000px){.auth-page{padding:22px;background-position:center;background-size:cover;background-repeat:no-repeat;background-attachment:scroll}.auth-layout{grid-template-columns:1fr;max-width:620px;gap:18px}.auth-brand{display:none}.auth-card{padding:24px;border-radius:25px}.app{height:auto;min-height:100vh;grid-template-columns:1fr}.left nav{display:grid;grid-template-columns:1fr 1fr}.right{display:grid;grid-template-columns:1fr 1fr}.chat{min-height:55vh}}
@media(max-width:520px){.auth-page{padding:12px}.auth-card{padding:17px 15px;border-radius:20px}.auth-tabs{margin-bottom:22px}.tab{font-size:17px;padding:13px 5px}.form-heading h1{font-size:18px}.form-heading p{font-size:13px}.form-heading>span{font-size:34px}.field{min-height:52px;padding:0 10px}.field input{font-size:14px}.hint{margin-left:48px;font-size:11px}.terms span{font-size:13px}.submit-btn{font-size:20px}.social-buttons{grid-template-columns:1fr}.switch-copy{margin-top:22px;font-size:13px}.right{grid-template-columns:1fr}.left nav{grid-template-columns:1fr 1fr}}

/* Studio56 compact desktop registration */
@media(min-width:1001px){
 .auth-page{padding:18px}
 .auth-layout{max-width:1080px;grid-template-columns:minmax(250px,1fr) minmax(350px,430px);gap:26px}
 .auth-card{padding:20px 24px 16px;border-radius:24px}
 .auth-tabs{margin-bottom:17px}
 .tab{font-size:17px;padding:10px 8px}
 .form-heading{gap:12px;margin-bottom:12px}
 .form-heading>span{font-size:32px}
 .form-heading h1{font-size:18px}
 .form-heading p{font-size:12px}
 .field{min-height:43px;margin-top:8px;padding:0 11px;border-radius:12px}
 .field>span{font-size:19px;width:22px}
 .field input{padding:9px 0;font-size:14px}
 .hint{font-size:10px;margin:3px 0 5px 45px}
 .terms{margin:10px 4px 11px;gap:8px}
 .terms span{font-size:12px}
 .terms input{width:17px;height:17px}
 .submit-btn{font-size:18px;padding:11px;border-radius:12px}
 .submit-btn span{font-size:20px}
 .or{margin:12px 0 9px}
 .social-buttons{gap:8px}
 .social-buttons button{font-size:11px;padding:10px 5px}
 .switch-copy{font-size:12px;margin-top:17px}
 .features{gap:12px;max-width:300px}
 .features b{font-size:30px;min-width:38px}
 .features strong{font-size:15px}
 .features small{font-size:12px}
 .brand-logo{font-size:clamp(28px,3vw,46px)}
 .tagline{font-size:18px;margin-top:16px}
}

/* Studio56 admin refresh */
.admin-page{background:radial-gradient(ellipse at top left,#0a2850,#030914 55%);min-height:100vh;padding:20px}
.admin-box{max-width:1120px;margin:0 auto;background:#071326;border:1px solid #163d65;border-radius:18px;padding:24px;box-shadow:0 18px 60px #0008}
.admin-box>h1{text-align:left;font-size:28px;margin:18px 0 22px}
.admin-box>section.panel{margin:0 0 18px;padding:20px;border-radius:14px;background:#091a30;border-color:#1a426b}
.admin-box section.panel h2{font-size:18px;margin-top:0;color:#42d8ff}
.admin-box input,.admin-box select{max-width:100%;border-color:#254a70}
.admin-box button{margin:4px 4px 4px 0}
.admin-help{color:#b3c9e3;font-size:13px;margin-top:-4px}
.current-bg{display:flex;align-items:center;gap:14px;padding:10px;border:1px solid #1c4a72;border-radius:12px;margin:14px 0;background:#051020}
.current-bg img{width:180px;height:86px;object-fit:cover;border-radius:8px}
.current-bg span{color:#9debc2;font-size:13px}
.no-bg{display:flex;align-items:center;gap:12px;padding:16px;border:1px dashed #2a5479;border-radius:12px;margin:14px 0;background:#041022}
.no-bg>span{font-size:26px;color:#3ad8ff}.no-bg b{font-size:14px}.no-bg small{color:#9bb4d2}
.admin-bg-actions{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:18px;align-items:end;margin-top:12px}
.upload-bg-form{padding:14px;border:1px solid #1b4167;border-radius:12px;background:#061225}
.upload-bg-form label{display:block;color:#e2efff;font-weight:600;font-size:13px}
.upload-bg-form input[type=file]{display:block;width:100%;margin:8px 0;padding:8px}
.upload-bg-form small{display:block;color:#9bb4d2;margin:4px 0 10px}
.remove-bg-btn{background:#4b1e2a;border:1px solid #a64458;color:#ffdce2}
@media(max-width:650px){.admin-page{padding:8px}.admin-box{padding:14px}.admin-bg-actions{grid-template-columns:1fr}.current-bg{align-items:flex-start;flex-direction:column}.current-bg img{width:100%;height:140px}}

/* Studio56 organized admin navigation */
.admin-page{margin:0;padding:0;background:#050b17;color:#e8f2ff;min-height:100vh}
.admin-shell{display:grid;grid-template-columns:248px minmax(0,1fr);min-height:100vh}
.admin-sidebar{position:sticky;top:0;height:100vh;background:#071326;border-right:1px solid #19314d;padding:25px 15px;display:flex;flex-direction:column}
.admin-brand{display:flex;align-items:center;gap:11px;padding:5px 10px 28px;color:#fff;text-decoration:none;border-bottom:1px solid #18304a}
.admin-brand-icon{font-size:30px;color:#22d8ff}.admin-brand b{display:block;font-size:22px;letter-spacing:1px}.admin-brand b span{color:#16aaff}.admin-brand small{display:block;font-size:9px;letter-spacing:3px;color:#83b9dc;margin-top:4px}
.admin-nav-label{font-size:10px;letter-spacing:1.5px;color:#6384a5;font-weight:700;margin:28px 10px 12px}
.admin-nav{display:flex;flex-direction:column;gap:6px}.admin-nav a{display:flex;align-items:center;gap:12px;padding:12px 13px;border-radius:9px;color:#a8bfd9;text-decoration:none;font-size:13px;border:1px solid transparent}.admin-nav a span{width:20px;text-align:center;font-size:18px;color:#63bfe9}.admin-nav a:hover,.admin-nav a.active{background:#0b2744;border-color:#154b74;color:#fff}.admin-nav a.active{box-shadow:inset 3px 0 #00caff}
.admin-sidebar-bottom{margin-top:auto;display:flex;flex-direction:column;gap:13px;padding:18px 10px 4px;border-top:1px solid #18304a}.admin-sidebar-bottom a{color:#76cfff;text-decoration:none;font-size:12px}.admin-sidebar-bottom small{color:#5e7b9a;font-size:10px}
.admin-main{min-width:0;max-width:1450px;width:100%;margin:0 auto;padding:30px clamp(18px,3vw,46px) 20px}
.admin-topbar{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:27px}.admin-topbar h1{font-size:30px;color:#f4f8ff;margin:5px 0 7px}.admin-eyebrow,.section-kicker{font-size:10px;letter-spacing:1.5px;color:#28cfff;font-weight:700;margin:0}.admin-subtitle{font-size:13px;color:#8fa8c5;margin:0}.admin-user{display:flex;align-items:center;gap:10px;padding:9px 12px;background:#0a1a2e;border:1px solid #1b3857;border-radius:11px}.admin-avatar{display:grid;place-items:center;width:34px;height:34px;background:#0c3d60;color:#7ee6ff;border-radius:10px;font-size:18px}.admin-user b,.admin-user small{display:block}.admin-user b{font-size:12px}.admin-user small{font-size:10px;color:#8ba6c4;margin-top:3px}
.admin-notice{background:#0b352f;border:1px solid #1d7a67;color:#a9ffe6;padding:12px 15px;border-radius:10px;margin-bottom:18px;font-size:13px}
.admin-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-bottom:36px}.admin-stat{display:flex;align-items:center;gap:14px;padding:18px;background:linear-gradient(130deg,#0b1d33,#081427);border:1px solid #183452;border-radius:13px;min-width:0}.stat-icon{display:grid;place-items:center;width:42px;height:42px;flex-shrink:0;border-radius:11px;background:#0b3450;color:#36d5ff;font-size:23px}.admin-stat small,.admin-stat b,.admin-stat span{display:block}.admin-stat small{font-size:9px;letter-spacing:1px;color:#6e8aa8}.admin-stat b{font-size:16px;color:#f1f7ff;margin:4px 0;overflow-wrap:anywhere}.admin-stat div>span{font-size:10px;color:#829cb8}
.admin-section{scroll-margin-top:22px;margin-bottom:34px}.section-heading{display:flex;align-items:end;justify-content:space-between;gap:16px;margin-bottom:13px}.section-heading h2{font-size:21px;color:#f0f7ff;margin:5px 0}.section-heading p{font-size:12px;color:#8ba5c2;margin:0}.admin-card{background:#09182b;border:1px solid #193755;border-radius:13px;padding:20px;min-width:0}.admin-form{display:flex;flex-direction:column;gap:16px}.admin-field{display:flex;flex-direction:column;gap:7px;min-width:0}.admin-field label,.upload-bg-form label{font-size:12px;font-weight:700;color:#cfe2f6}.admin-field input:not([type=color]),.admin-field select{width:100%;max-width:none;margin:0;padding:12px 13px;background:#061020;border:1px solid #244564;border-radius:8px;color:#eff7ff;font-size:13px}.admin-field input:focus{outline:1px solid #00bfff;border-color:#00bfff}.admin-field small{font-size:10px;color:#7591af}.admin-grid-two{display:grid;grid-template-columns:1fr 1fr;gap:16px}.color-field{display:flex;align-items:center;gap:12px;padding:7px 10px;border:1px solid #244564;border-radius:8px;background:#061020}.color-field input[type=color]{width:40px;height:32px;border:0;padding:0;margin:0;background:transparent}.color-field span{font-size:12px;color:#a8bfd7}.admin-card-footer{display:flex;align-items:center;justify-content:space-between;gap:15px;padding-top:14px;border-top:1px solid #19314c}.admin-card-footer small{color:#7794b2;font-size:10px}.admin-card button,.upload-bg-form button{padding:10px 14px;background:linear-gradient(110deg,#087bff,#079edc);border:1px solid #13bfff;border-radius:8px;color:#fff;font-size:12px;font-weight:700}.admin-background .current-bg{margin:0 0 16px}.current-bg div b,.current-bg div small{display:block}.current-bg div b{font-size:13px}.current-bg div small{font-size:11px;color:#8da9c6;margin-top:4px}.no-bg{margin:0 0 16px}.admin-bg-actions{grid-template-columns:minmax(0,1fr) auto;align-items:stretch}.upload-bg-form{background:#061326}.upload-bg-form input[type=file]{color:#b5c8dd;font-size:12px}.admin-bg-actions>form:last-child{display:flex;align-items:end}.remove-bg-btn{background:#451d2a!important;border-color:#8d3a51!important;color:#ffdce3!important;white-space:nowrap}.user-count{font-size:11px;color:#a6c8e8;background:#0c2943;padding:7px 10px;border-radius:20px}.user-table-wrap{padding:0;overflow-x:auto}.admin-users{width:100%;border-collapse:collapse;font-size:12px}.admin-users th{text-align:left;background:#0b2037;color:#85a6c8;font-size:10px;text-transform:uppercase;letter-spacing:.6px;padding:13px 14px;white-space:nowrap}.admin-users td{padding:13px 14px;border-top:1px solid #18324e;color:#b9cce0;vertical-align:middle}.admin-users td b{color:#f0f7ff}.role-pill{display:inline-block;padding:4px 7px;border-radius:5px;background:#122c48;color:#8edaff;font-size:10px}.status-active,.status-banned{font-size:10px;white-space:nowrap}.status-active{color:#75e7ad}.status-banned{color:#ff9eae}.user-actions{display:flex;align-items:center;gap:5px;flex-wrap:wrap}.user-actions select{max-width:110px;padding:6px;margin:0;background:#061020;color:#e7f2ff;border:1px solid #244564;border-radius:6px;font-size:10px}.user-actions button{font-size:10px;padding:7px 8px;margin:0}.user-actions .mini-danger{background:#4a1e2a;border-color:#854052}.muted{color:#536f8d}.admin-footer{padding:18px 0;border-top:1px solid #172e48;color:#607d9b;font-size:10px}.admin-footer span{color:#24cfff;padding:0 5px}
@media(max-width:950px){.admin-shell{grid-template-columns:205px minmax(0,1fr)}.admin-main{padding:22px 18px}.admin-stats{grid-template-columns:1fr}.admin-stat{padding:13px}.admin-topbar h1{font-size:25px}.admin-users th,.admin-users td{padding:10px}}
@media(max-width:700px){.admin-shell{display:block}.admin-sidebar{position:relative;height:auto;padding:13px;border-right:0;border-bottom:1px solid #19314d}.admin-brand{padding:4px 6px 13px}.admin-nav-label{margin:15px 6px 7px}.admin-nav{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:5px}.admin-nav a{font-size:11px;padding:10px 8px}.admin-nav a span{font-size:15px}.admin-sidebar-bottom{margin-top:12px;padding:10px 6px 0;flex-direction:row;justify-content:space-between}.admin-main{padding:20px 12px}.admin-topbar{align-items:flex-start}.admin-user{padding:7px}.admin-user small{display:none}.admin-topbar h1{font-size:23px}.admin-subtitle{max-width:280px}.admin-grid-two{grid-template-columns:1fr}.admin-card{padding:14px}.admin-card-footer{align-items:flex-start;flex-direction:column}.admin-bg-actions{grid-template-columns:1fr}.admin-bg-actions>form:last-child{align-items:stretch}.remove-bg-btn{width:100%}.section-heading h2{font-size:19px}}

/* FIX: desktop login layout — prevent narrow/uneven columns on PC */
@media (min-width: 1001px) {
  .auth-page { min-height: 100vh; padding: 36px clamp(28px, 5vw, 90px); }
  .auth-layout {
    width: min(100%, 1240px);
    max-width: 1240px;
    grid-template-columns: minmax(0, 1fr) minmax(420px, 480px);
    gap: clamp(48px, 6vw, 100px);
    align-items: center;
    margin: 0 auto;
  }
  .auth-brand { align-self: center; padding-top: 0; min-width: 0; }
  .brand-logo { font-size: clamp(42px, 3.2vw, 58px); }
  .tagline { font-size: clamp(17px, 1.25vw, 21px); margin-top: 24px; }
  .features { margin-top: 26px; margin-bottom: 0; max-width: 420px; gap: 15px; }
  .features b { min-width: 44px; font-size: 32px; }
  .features strong { font-size: 16px; }
  .features small { font-size: 13px; }
  .auth-card { padding: 24px 26px 20px; border-radius: 26px; }
}
@media (min-width: 1001px) and (max-height: 760px) {
  .auth-page { padding-top: 20px; padding-bottom: 20px; }
  .auth-card { padding-top: 18px; padding-bottom: 15px; }
  .auth-tabs { margin-bottom: 14px; }
  .field { min-height: 44px; }
  .field input { padding-top: 8px; padding-bottom: 8px; }
  .switch-copy { margin-top: 14px; }
}

/* Uploaded Studio56 logo */
.brand-logo-image{display:flex;align-items:center;min-height:76px;max-width:100%;}
.brand-logo-image img{display:block;width:auto;height:auto;max-width:min(100%,420px);max-height:100px;object-fit:contain;object-position:left center;}
@media(max-width:700px){.brand-logo-image img{max-width:100%;max-height:76px;}}

/* Studio56 registration card polish */
.auth-card:has(#registerForm:not([hidden])){
  background:linear-gradient(155deg,rgba(5,22,45,.98),rgba(1,10,25,.98));
  border:1px solid rgba(0,207,255,.9);
  border-radius:26px;
  box-shadow:0 18px 55px rgba(0,0,0,.32),0 0 0 1px rgba(0,133,255,.12),0 0 32px rgba(0,151,255,.18);
}
#registerForm .form-heading{padding:2px 0 14px;border-bottom:1px solid rgba(34,111,165,.38);margin-bottom:16px;}
#registerForm .form-heading>span{display:grid;place-items:center;width:46px;height:46px;flex:0 0 46px;border:1px solid rgba(0,207,255,.35);border-radius:14px;background:linear-gradient(145deg,rgba(0,191,255,.16),rgba(0,95,255,.08));text-shadow:0 0 16px rgba(0,207,255,.55);font-size:27px;}
#registerForm .form-heading h1{font-size:clamp(18px,1.35vw,22px);line-height:1.25;}
#registerForm .form-heading p{line-height:1.5;color:#a9c7e8;}
#registerForm .field{border-radius:12px;min-height:49px;margin-top:9px;padding:0 13px;background:rgba(4,23,44,.92);border-color:#28577d;transition:border-color .18s,box-shadow .18s;}
#registerForm .field>span{font-size:20px;width:24px;color:#9edfff;}
#registerForm .field input{font-size:14px;padding:11px 0;color:#f3f8ff;}
#registerForm .field input::placeholder{color:#91a9c5;}
#registerForm .hint{margin:4px 0 7px 39px;font-size:11px;line-height:1.4;color:#8daac9;}
#registerForm .terms{margin:16px 2px;gap:10px;padding:12px 13px;border:1px solid rgba(39,89,128,.65);border-radius:11px;background:rgba(5,24,45,.72);}
#registerForm .terms input{width:18px;height:18px;margin-top:3px;}
#registerForm .terms span{font-size:12px;line-height:1.7;color:#c6d8ee;}
#registerForm .terms a{color:#22d9ff;font-weight:700;text-decoration:underline;text-underline-offset:2px;}
#registerForm .submit-btn{border-radius:12px;min-height:50px;padding:12px 16px;font-size:19px;letter-spacing:.2px;}
.auth-card:has(#registerForm:not([hidden])) .switch-copy{margin-top:17px;font-size:12px;color:#a9bfd9;}
.auth-card:has(#registerForm:not([hidden])) .switch-copy button{font-size:12px;}
@media(max-width:1000px){#registerForm .form-heading{padding-bottom:12px;margin-bottom:13px}}
@media(max-width:520px){#registerForm .form-heading{align-items:flex-start}#registerForm .form-heading h1{font-size:17px}#registerForm .field{min-height:48px}#registerForm .terms{padding:10px}#registerForm .terms span{font-size:11px}}


/* Registration form — explicit class so styling works without :has() support */
.auth-card.register-mode{
  width:100%; max-width:500px; padding:27px 30px 24px;
  background:linear-gradient(145deg,rgba(5,24,48,.99),rgba(1,9,23,.99));
  border:1px solid #00cfff; border-radius:28px;
  box-shadow:0 0 0 1px rgba(0,207,255,.10),0 18px 50px rgba(0,0,0,.38),0 0 34px rgba(0,153,255,.22);
}
.auth-card.register-mode .auth-tabs{margin-bottom:22px;border-radius:15px;padding:3px;background:#04162c;border-color:#1269a4}
.auth-card.register-mode .tab{font-size:17px;padding:12px 8px;border-radius:12px}
.auth-card.register-mode #registerForm .form-heading{display:flex;align-items:center;gap:13px;padding:0 0 16px;margin-bottom:17px;border-bottom:1px solid rgba(0,207,255,.22)}
.auth-card.register-mode #registerForm .form-heading>span{display:grid;place-items:center;flex:0 0 44px;width:44px;height:44px;border:1px solid rgba(0,207,255,.45);border-radius:13px;background:linear-gradient(145deg,rgba(0,207,255,.17),rgba(0,95,255,.08));font-size:26px;color:#00d7ff;text-shadow:0 0 14px rgba(0,207,255,.65)}
.auth-card.register-mode #registerForm .form-heading h1{font-size:20px;line-height:1.3;margin:0 0 5px}
.auth-card.register-mode #registerForm .form-heading p{font-size:12px;line-height:1.5;color:#a9c7e8}
.auth-card.register-mode #registerForm .field{min-height:48px;margin-top:8px;padding:0 12px;border-radius:11px;border:1px solid #2a5c83;background:linear-gradient(100deg,#071b32,#04152a);transition:border-color .18s,box-shadow .18s}
.auth-card.register-mode #registerForm .field:focus-within{border-color:#00d7ff;box-shadow:0 0 0 3px rgba(0,207,255,.09),0 0 15px rgba(0,132,255,.15)}
.auth-card.register-mode #registerForm .field>span{font-size:19px;width:22px;color:#9de8ff}
.auth-card.register-mode #registerForm .field input{font-size:14px;padding:10px 0;color:#f4f8ff}
.auth-card.register-mode #registerForm .hint{margin:4px 0 7px 36px;font-size:10px;line-height:1.45;color:#91aecb}
.auth-card.register-mode #registerForm .terms{display:flex;gap:10px;align-items:flex-start;margin:13px 0 15px;padding:11px 12px;border:1px solid #1c4568;border-radius:10px;background:rgba(5,25,46,.8)}
.auth-card.register-mode #registerForm .terms input{flex:0 0 17px;width:17px;height:17px;margin:2px 0 0;accent-color:#087fff}
.auth-card.register-mode #registerForm .terms span{font-size:11px;line-height:1.65;color:#c8d9ed}
.auth-card.register-mode #registerForm .terms a{color:#25ddff;text-decoration:none;font-weight:700}
.auth-card.register-mode #registerForm .submit-btn{min-height:51px;border-radius:12px;font-size:19px;padding:12px 15px;box-shadow:0 7px 20px rgba(0,115,255,.22)}
.auth-card.register-mode .switch-copy{margin:16px 0 2px;font-size:12px;color:#a9bfd9}
.auth-card.register-mode .switch-copy button{font-size:12px}
@media(max-width:1000px){.auth-card.register-mode{max-width:620px;padding:23px 24px 20px}}
@media(max-width:520px){.auth-card.register-mode{padding:18px 15px;border-radius:21px}.auth-card.register-mode #registerForm .form-heading{align-items:flex-start}.auth-card.register-mode #registerForm .form-heading h1{font-size:17px}.auth-card.register-mode #registerForm .terms{padding:9px}.auth-card.register-mode #registerForm .terms span{font-size:11px}}

/* Studio56 login panel refinement — darker inputs, clearer hierarchy, premium frame */
.auth-card:not(.register-mode){
  position:relative;
  padding:30px 30px 25px;
  border:1px solid rgba(0,207,255,.9);
  border-radius:26px;
  background:linear-gradient(155deg,rgba(4,22,43,.98),rgba(1,9,23,.98) 65%);
  box-shadow:0 18px 55px rgba(0,0,0,.35),0 0 0 1px rgba(0,125,255,.12),0 0 34px rgba(0,160,255,.16),inset 0 1px 0 rgba(255,255,255,.035);
  overflow:hidden;
}
.auth-card:not(.register-mode)::before{
  content:var(--site-brand-label, "ONLINE RADIO");
  display:block;
  color:#8bdfff;
  text-align:center;
  font-size:11px;
  font-weight:800;
  letter-spacing:3px;
  margin:0 0 18px;
  text-shadow:0 0 15px rgba(0,191,255,.25);
}
.auth-card:not(.register-mode) .auth-tabs{
  margin-bottom:24px;
  padding:3px;
  border:1px solid #155780;
  border-radius:14px;
  background:#031329;
}
.auth-card:not(.register-mode) .tab{
  padding:12px 10px;
  font-size:16px;
  border-radius:11px;
  transition:background .18s ease,box-shadow .18s ease;
}
.auth-card:not(.register-mode) .tab.active{
  background:linear-gradient(110deg,#087cff,#0065e8);
  border:1px solid rgba(0,211,255,.8);
  box-shadow:0 4px 16px rgba(0,113,255,.28);
}
.auth-card:not(.register-mode) .form-heading{gap:13px;margin:0 0 19px;}
.auth-card:not(.register-mode) .form-heading>span{
  display:grid;place-items:center;flex:0 0 42px;width:42px;height:42px;
  border:1px solid rgba(0,207,255,.38);border-radius:13px;
  background:linear-gradient(145deg,rgba(0,207,255,.15),rgba(0,95,255,.06));
  font-size:25px;text-shadow:0 0 13px rgba(0,207,255,.45);
}
.auth-card:not(.register-mode) .form-heading h1{font-size:20px;line-height:1.3;}
.auth-card:not(.register-mode) .form-heading p{font-size:12px;line-height:1.5;color:#a9c7e8;}
.auth-card:not(.register-mode) .field{
  min-height:50px;margin-top:10px;padding:0 13px;gap:11px;border-radius:12px;
  border:1px solid #28577d;background:linear-gradient(100deg,#071b32,#041326);
  transition:border-color .18s ease,box-shadow .18s ease;
}
.auth-card:not(.register-mode) .field:focus-within{border-color:#00d7ff;box-shadow:0 0 0 3px rgba(0,207,255,.08),0 0 18px rgba(0,132,255,.13);}
.auth-card:not(.register-mode) .field>span{font-size:20px;width:23px;color:#9de8ff;}
.auth-card:not(.register-mode) .field input{color:#eef7ff;font-size:14px;padding:11px 0;}
.auth-card:not(.register-mode) .field input::placeholder{color:#8fa9c6;}
.auth-card:not(.register-mode) input:-webkit-autofill,
.auth-card:not(.register-mode) input:-webkit-autofill:hover,
.auth-card:not(.register-mode) input:-webkit-autofill:focus{
  -webkit-text-fill-color:#eef7ff;
  -webkit-box-shadow:0 0 0 1000px #071b32 inset;
  caret-color:#eef7ff;
  transition:background-color 99999s ease-in-out 0s;
}
.auth-card:not(.register-mode) .eye{color:#9de8ff;font-size:19px;}
.auth-card:not(.register-mode) .submit-btn{
  min-height:52px;margin-top:12px;padding:13px 16px;border-radius:12px;
  background:linear-gradient(105deg,#087bff 0%,#087fff 48%,#05a6f5 100%);
  border:1px solid #00cfff;font-size:19px;letter-spacing:.2px;
  box-shadow:0 8px 24px rgba(0,111,255,.22);
  transition:transform .18s ease,box-shadow .18s ease;
}
.auth-card:not(.register-mode) .submit-btn:hover{transform:translateY(-1px);box-shadow:0 10px 27px rgba(0,145,255,.3);}
.auth-card:not(.register-mode) .switch-copy{margin:19px 0 2px;font-size:12px;color:#9fb7d3;}
.auth-card:not(.register-mode) .switch-copy button{color:#20dcff;font-size:12px;}
@media(max-width:520px){
 .auth-card:not(.register-mode){padding:23px 17px 20px;border-radius:22px;}
 .auth-card:not(.register-mode)::before{margin-bottom:15px;font-size:10px;letter-spacing:2.4px;}
 .auth-card:not(.register-mode) .auth-tabs{margin-bottom:20px;}
 .auth-card:not(.register-mode) .form-heading h1{font-size:18px;}
}

/* Studio56 typography: Manrope across all elements and controls */
html,body,button,input,textarea,select,option{font-family:Manrope,Arial,Helvetica,sans-serif!important}

/* Studio56: enforce Manrope throughout the entire app, including live chat,
   private messages, usernames, timestamps, user lists, forms and admin panels. */
html, body, body *, body *::before, body *::after,
button, input, textarea, select, option, label,
#messages, #messages *, #pmsgs, #pmsgs *, #on, #on *, #off, #off *, #pmusers, #pmusers * {
  font-family: 'Manrope', Arial, Helvetica, sans-serif !important;
}
#messages p, #pmsgs p, #on p, #off p, #pmusers p { font-family: 'Manrope', Arial, Helvetica, sans-serif !important; }

/* FIX: actually load Manrope and enforce it on chat content */
html, body, body *, button, input, textarea, select, option {
  font-family: 'Manrope', Arial, Helvetica, sans-serif !important;
}
#messages, #messages *, #pmsgs, #pmsgs *, #on, #on *, #off, #off *, #pmusers, #pmusers *,
#send, #send *, #psend, #psend *, .chat, .chat * {
  font-family: 'Manrope', Arial, Helvetica, sans-serif !important;
}

/* Studio56 interior chat redesign: navy glass panels, cyan neon, Manrope */
body:not(.auth-page){background:radial-gradient(ellipse at 50% 0%,#0b2a4d 0%,#061426 46%,#020812 100%);color:#eaf5ff;font-family:'Manrope',sans-serif}
.app{height:100vh;min-height:620px;padding:14px;grid-template-columns:245px minmax(360px,1fr) 260px;gap:14px;max-width:1900px;margin:0 auto}
.panel,.left,.right{min-width:0}
.panel{background:linear-gradient(155deg,rgba(9,28,51,.96),rgba(3,14,29,.98));border:1px solid rgba(40,151,218,.25);border-radius:17px;box-shadow:0 10px 32px rgba(0,0,0,.22),inset 0 1px 0 rgba(142,219,255,.035)}
.left h2{padding:15px 16px;margin:0;background:linear-gradient(110deg,rgba(0,198,255,.08),transparent);border:1px solid rgba(0,207,255,.19);border-radius:15px;font-weight:800;letter-spacing:.7px}
.left h2 span{color:#13d8ff;text-shadow:0 0 18px rgba(0,207,255,.4)}
.left nav{padding:10px;background:rgba(3,13,27,.65);border:1px solid rgba(47,135,194,.18);border-radius:15px}
.left nav a{padding:12px 13px;color:#c5ddf4;background:rgba(11,36,62,.68);border:1px solid transparent;border-radius:10px;transition:.18s ease;font-weight:650;font-size:13px;text-decoration:none}
.left nav a:hover,.left nav a:focus{color:#fff;border-color:rgba(0,211,255,.45);background:rgba(0,135,210,.16);box-shadow:0 0 18px rgba(0,178,255,.08)}
.left .panel,.right .panel{padding:14px}
.left .panel h3,.right .panel h3{margin:0 0 12px;font-size:14px;color:#e7f6ff;letter-spacing:.1px}
.chat{position:relative;padding:18px;gap:14px;border-color:rgba(0,197,255,.32);box-shadow:0 0 34px rgba(0,124,255,.07),0 16px 40px rgba(0,0,0,.2)}
.chat header{padding:0 0 14px;border-bottom:1px solid rgba(90,160,208,.18)}
.chat h1{font-size:20px;margin:0;font-weight:800;letter-spacing:-.35px}
.chat header span{font-size:12px;color:#9ebbd7;background:#071b30;padding:8px 11px;border-radius:99px;border:1px solid rgba(78,153,203,.2)}
#messages{display:flex;flex-direction:column;gap:10px;padding:12px 5px;scrollbar-color:#155d86 #061426}
#messages p{position:relative;margin:0;padding:12px 14px;border:1px solid rgba(64,140,192,.18);border-radius:12px;background:linear-gradient(100deg,rgba(10,34,59,.9),rgba(5,23,42,.86));color:#d9eaff;line-height:1.65;overflow-wrap:anywhere;font-size:13px}
#messages p b{font-weight:800;margin-right:4px}
#messages small,#pmsgs small{font-size:10px;color:#7899b8;white-space:nowrap}
#send,#psend{position:relative;align-items:center;gap:9px;padding:8px;border:1px solid rgba(0,198,255,.3);background:#041426;border-radius:14px;box-shadow:inset 0 0 0 1px rgba(0,0,0,.15)}
#send input,#psend input{min-width:0;flex:1;background:transparent!important;border:0!important;box-shadow:none!important;color:#f2f8ff!important;padding:12px 8px;font-size:13px;outline:none}
#send input::placeholder,#psend input::placeholder{color:#7795b2}
#send>button,#psend>button{flex:0 0 42px;height:42px;border-radius:11px;border:1px solid rgba(0,216,255,.4);background:linear-gradient(135deg,#087bff,#00a9db);color:white;font-weight:800;box-shadow:0 4px 16px rgba(0,145,255,.2);cursor:pointer}
#send>button.emoji-toggle{background:#0a2740;color:#8feaff;font-size:23px;border-color:rgba(0,206,255,.22);box-shadow:none}
.emoji-picker{display:flex;flex-wrap:wrap;gap:4px;padding:10px;background:#06182b;border:1px solid rgba(0,207,255,.35);border-radius:12px;box-shadow:0 12px 28px #0008}
.emoji-choice{border:0;background:transparent;border-radius:7px;font-size:21px;padding:5px;cursor:pointer}.emoji-choice:hover{background:#123858}
.list{max-height:30vh;scrollbar-color:#155d86 #061426}
.list p{display:flex;gap:6px;margin:5px 0}
.list p button{width:100%;text-align:left;padding:9px 10px;border-radius:9px;background:#071b30;border:1px solid rgba(65,144,195,.16);color:#cce7ff;font-family:Manrope,sans-serif;font-size:12px;cursor:pointer}
.list p button:hover{border-color:rgba(0,211,255,.4);background:#0a2944}
#private{max-height:40%;padding:12px;border-color:rgba(0,211,255,.28)}
#private h3{font-size:13px;color:#bcefff;margin:0 0 8px}
#pmsgs{max-height:180px;min-height:70px}
#pmsgs p{padding:9px 11px;background:#071d32;border:1px solid rgba(65,144,195,.17);border-radius:10px;font-size:12px;overflow-wrap:anywhere}
.left iframe{border-radius:10px;background:#020812}
a,button,input{font-family:'Manrope',sans-serif}
@media(max-width:1100px){.app{height:auto;min-height:100vh;grid-template-columns:1fr;padding:10px;gap:10px}.left nav{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.chat{min-height:65vh}.right{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.list{max-height:230px}}
@media(max-width:600px){.app{padding:7px;gap:8px}.chat{padding:12px;min-height:65vh}.chat header{align-items:flex-start;flex-direction:column}.chat h1{font-size:18px}.left nav{grid-template-columns:1fr 1fr}.right{grid-template-columns:1fr}.left .panel,.right .panel{padding:11px}#send,#psend{gap:5px;padding:5px}#send>button,#psend>button{flex-basis:38px;height:38px}.chat header span{font-size:11px}}


/* Studio56 camera panel improvements */
.camera-panel{overflow:hidden}
.camera-panel h3{display:flex;align-items:center;gap:8px}
.camera-frame{width:100%;aspect-ratio:16/9;min-height:150px;overflow:hidden;border:1px solid rgba(22,205,255,.35);border-radius:12px;background:#020812;box-shadow:0 0 20px rgba(0,174,255,.10)}
.camera-frame iframe{display:block;width:100%;height:100%;min-height:150px;border:0}
.left nav a:first-child{order:-1;border-color:rgba(0,211,255,.28);background:linear-gradient(100deg,rgba(0,174,255,.18),rgba(8,31,55,.85));color:#e9fbff}


/* Studio56 compact horizontal radio player */
.radio-bottom-bar{position:fixed;z-index:1000;left:0;right:0;bottom:0;min-height:66px;display:flex;align-items:center;gap:22px;padding:9px 22px;background:linear-gradient(90deg,rgba(2,12,25,.98),rgba(4,29,52,.98));border-top:1px solid rgba(0,204,255,.48);box-shadow:0 -8px 30px rgba(0,0,0,.32),0 0 22px rgba(0,155,255,.09);backdrop-filter:blur(14px)}
.radio-bottom-brand{display:flex;align-items:center;gap:10px;min-width:190px;color:#eaf8ff}.radio-bottom-brand b{display:block;font-size:13px;font-weight:800}.radio-bottom-brand small{display:block;margin-top:2px;font-size:9px;letter-spacing:2px;color:#59dfff}.radio-live-dot{width:9px;height:9px;border-radius:50%;background:#16e4ff;box-shadow:0 0 12px #00cfff}.radio-bottom-bar audio{width:min(620px,calc(100% - 220px));height:38px;margin:0;accent-color:#00cfff;filter:invert(.92) hue-rotate(155deg) saturate(1.3)}body:not(.auth-page){padding-bottom:76px}.radio-bottom-bar audio::-webkit-media-controls-panel{background:#eaf4ff}
@media(max-width:600px){.radio-bottom-bar{min-height:58px;padding:7px 10px;gap:10px}.radio-bottom-brand{min-width:112px;gap:7px}.radio-bottom-brand b{font-size:11px}.radio-bottom-brand small{font-size:8px}.radio-bottom-bar audio{width:calc(100% - 125px);height:34px}body:not(.auth-page){padding-bottom:66px}}

/* FIX: keep the chat composer fully above the fixed radio bar */
body:not(.auth-page){padding-bottom:0!important;overflow:hidden}
.app{height:calc(100dvh - 76px)!important;min-height:0!important;box-sizing:border-box}
.chat{min-height:0!important;height:100%;overflow:hidden}
#messages{min-height:0;flex:1 1 auto;overscroll-behavior:contain}
#send{flex:0 0 auto;position:relative;z-index:2;margin-bottom:0}
.radio-bottom-bar{height:68px;min-height:68px;box-sizing:border-box;gap:clamp(10px,2vw,26px);padding:8px clamp(10px,2vw,24px);display:flex;align-items:center}
.radio-bottom-brand{min-width:180px;max-width:240px;flex:0 0 auto}
.radio-bottom-brand b{font-size:13px;white-space:nowrap}
.radio-bottom-bar audio{display:block;flex:1 1 420px;width:auto;min-width:0;max-width:680px;height:38px;margin:0;border-radius:22px;filter:none;accent-color:#00cfff}
.radio-bottom-bar audio::-webkit-media-controls-panel{background:#dceefa;border-radius:22px}
.radio-bottom-bar audio::-webkit-media-controls-play-button,
.radio-bottom-bar audio::-webkit-media-controls-mute-button{cursor:pointer}
@media(max-width:800px){
 .app{height:calc(100dvh - 64px)!important;grid-template-columns:minmax(0,1fr)!important;overflow:auto}
 .chat{height:auto;min-height:55vh!important}
 #messages{min-height:220px}
 .radio-bottom-bar{height:60px;min-height:60px;padding:6px 9px;gap:9px}
 .radio-bottom-brand{min-width:100px;max-width:135px;gap:6px}
 .radio-bottom-brand b{font-size:10px;white-space:normal;line-height:1.2}
 .radio-bottom-brand small{font-size:7px;letter-spacing:1px}
 .radio-bottom-bar audio{flex:1 1 auto;width:calc(100% - 140px);height:34px}
}
@media(max-width:420px){.radio-bottom-brand{min-width:78px;max-width:90px}.radio-bottom-brand b{font-size:9px}.radio-bottom-bar{gap:6px;padding:5px 7px}}

/* Studio56 premium minimal radio bar — custom controls instead of browser audio skin */
.radio-bottom-bar{height:70px;min-height:70px;padding:8px clamp(12px,2.2vw,30px);gap:clamp(14px,2vw,32px);background:linear-gradient(100deg,#03101f 0%,#061d34 55%,#031222 100%);border-top:1px solid rgba(0,210,255,.55);box-shadow:0 -5px 24px rgba(0,0,0,.35),0 -1px 14px rgba(0,190,255,.08)}
.radio-bottom-brand{min-width:190px;max-width:260px;gap:11px}
.radio-bottom-brand b{font-family:Manrope, sans-serif;font-size:13px;letter-spacing:.1px}
.radio-controls{display:flex;align-items:center;gap:14px;flex:1;min-width:0;max-width:900px;padding:7px 12px;background:rgba(8,31,53,.78);border:1px solid rgba(39,171,220,.2);border-radius:16px}
.radio-play,.radio-volume{display:grid;place-items:center;flex:0 0 auto;border:1px solid rgba(0,214,255,.42);color:#e8fbff;background:linear-gradient(145deg,#087cf5,#06b8e8);cursor:pointer;transition:transform .15s ease,box-shadow .15s ease}
.radio-play{width:40px;height:40px;border-radius:50%;font-size:15px;padding-left:2px;box-shadow:0 0 14px rgba(0,155,255,.22)}
.radio-play:hover,.radio-volume:hover{transform:translateY(-1px);box-shadow:0 0 18px rgba(0,200,255,.28)}
.radio-track-info{flex:1;min-width:0;display:flex;flex-direction:column;gap:5px}
.radio-track-line{display:flex;align-items:center;gap:9px;min-width:0}
.radio-live-label{font-size:9px;font-weight:800;letter-spacing:1.2px;color:#071525;background:#35e6fa;padding:3px 6px;border-radius:5px}
.radio-track-name{font-family:Manrope,sans-serif;color:#d8eaf7;font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.radio-equalizer{height:12px;display:flex;align-items:center;gap:3px;opacity:.55}
.radio-equalizer i{display:block;width:3px;height:4px;border-radius:3px;background:#19dafa}
.radio-equalizer.playing{opacity:1}
.radio-equalizer.playing i{animation:studioEq .72s ease-in-out infinite alternate}
.radio-equalizer.playing i:nth-child(3n){animation-delay:-.4s}.radio-equalizer.playing i:nth-child(2n){animation-delay:-.2s}.radio-equalizer.playing i:nth-child(4n){animation-delay:-.55s}
@keyframes studioEq{from{height:3px}to{height:12px}}
.radio-volume{width:34px;height:34px;border-radius:10px;background:rgba(9,36,60,.9);font-size:14px;box-shadow:none}
.radio-controls audio{display:none!important}
@media(max-width:800px){.radio-bottom-bar{height:62px;min-height:62px;gap:8px;padding:6px 9px}.radio-bottom-brand{min-width:100px;max-width:125px;gap:6px}.radio-bottom-brand b{font-size:10px}.radio-controls{gap:8px;padding:5px 7px;border-radius:13px}.radio-play{width:34px;height:34px;font-size:13px}.radio-volume{width:29px;height:29px;font-size:12px}.radio-track-name{font-size:10px}.radio-live-label{font-size:8px;padding:2px 4px}.radio-equalizer{height:9px}.radio-equalizer.playing i{animation-duration:.65s}}
@media(max-width:420px){.radio-bottom-brand{min-width:76px;max-width:84px}.radio-bottom-brand b{font-size:9px}.radio-bottom-brand small{font-size:6px;letter-spacing:.6px}.radio-controls{gap:6px;padding:4px 5px}.radio-play{width:30px;height:30px}.radio-track-name{font-size:9px}.radio-volume{width:26px;height:26px}}

/* Studio56 radio player layout + real volume control fix */
.radio-bottom-bar{left:0;right:0;width:100%;box-sizing:border-box;display:flex;flex-wrap:nowrap;gap:clamp(10px,1.5vw,24px);padding:8px clamp(12px,2vw,26px);overflow:hidden}
.radio-bottom-brand{flex:0 0 205px;min-width:0;max-width:240px}
.radio-controls{flex:1 1 auto;width:auto;max-width:none;min-width:0;box-sizing:border-box;gap:clamp(8px,1.2vw,16px)}
.radio-track-info{flex:1 1 auto;min-width:80px}
.radio-volume-slider{appearance:none;-webkit-appearance:none;flex:0 1 112px;width:112px;min-width:58px;max-width:130px;height:4px;border-radius:999px;background:linear-gradient(90deg,#12dafa,#087cf5);outline:none;cursor:pointer;accent-color:#19dafa}
.radio-volume-slider::-webkit-slider-thumb{-webkit-appearance:none;appearance:none;width:12px;height:12px;border-radius:50%;background:#e9fbff;border:2px solid #08c8ef;box-shadow:0 0 8px rgba(0,210,255,.55)}
.radio-volume-slider::-moz-range-thumb{width:10px;height:10px;border-radius:50%;background:#e9fbff;border:2px solid #08c8ef;box-shadow:0 0 8px rgba(0,210,255,.55)}
@media(max-width:800px){.radio-bottom-bar{gap:7px;padding:6px 8px}.radio-bottom-brand{flex:0 0 96px;max-width:110px}.radio-controls{gap:7px;padding:5px 7px}.radio-volume-slider{flex:0 1 66px;width:66px;min-width:42px}.radio-track-info{min-width:55px}}
@media(max-width:420px){.radio-bottom-brand{flex-basis:76px;max-width:82px}.radio-bottom-brand b{font-size:8px}.radio-bottom-brand small{letter-spacing:.4px}.radio-controls{gap:5px;padding:4px 5px}.radio-volume-slider{min-width:34px;width:44px}.radio-volume{width:25px;height:25px}}

/* Studio56 final player refinement: centered glyphs, seamless bar, no inner frames */
.radio-bottom-bar{
  border-top:0!important;
  box-shadow:none!important;
  background:linear-gradient(90deg,rgba(3,16,31,.96),rgba(5,25,44,.96),rgba(3,16,31,.96))!important;
}
.radio-controls{
  background:transparent!important;
  border:0!important;
  border-radius:0!important;
  box-shadow:none!important;
  padding:4px 0!important;
}
.radio-play,.radio-volume{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  padding:0!important;
  line-height:1!important;
  text-align:center!important;
  box-sizing:border-box!important;
  vertical-align:middle!important;
}
.radio-play{border:0!important;box-shadow:0 0 12px rgba(0,155,255,.2)!important}
.radio-play span{display:block;line-height:1;font-size:15px;margin:0;padding:0;transform:none!important}
.radio-volume{
  border:0!important;
  background:transparent!important;
  box-shadow:none!important;
  font-family:Arial,sans-serif!important;
  font-size:19px!important;
  width:34px!important;height:34px!important;
  line-height:1!important;
  border-radius:50%!important;
  margin:0!important;
}
.radio-volume:hover{background:rgba(25,218,250,.09)!important;transform:none!important;box-shadow:none!important}
.radio-volume-slider{align-self:center;margin:0 2px!important;vertical-align:middle}
.radio-bottom-brand{border:0!important;box-shadow:none!important;background:transparent!important}
@media(max-width:800px){.radio-volume{width:28px!important;height:28px!important;font-size:17px!important}.radio-play span{font-size:13px}}

/* Mobile: compact radio bar — hide station name and volume controls */
@media (max-width: 600px) {
  .radio-bottom-bar { justify-content: center; gap: 0; padding: 5px 10px; }
  .radio-bottom-brand { display: none !important; }
  .radio-controls { width: 100%; max-width: 520px; min-width: 0; justify-content: flex-start; gap: 12px; padding: 5px 10px; }
  .radio-volume-slider { display: none !important; }
  .radio-volume { display: grid !important; place-items: center !important; flex: 0 0 32px !important; width: 32px !important; height: 32px !important; margin-left: auto !important; padding: 0 !important; line-height: 1 !important; }
  .radio-track-info { flex: 1 1 auto; min-width: 0; }
  .radio-track-name { display: none !important; }
  .radio-play { flex: 0 0 34px; width: 34px; height: 34px; }
  .radio-live-label { margin-right: 6px; }
  .radio-equalizer { max-width: 100%; }
}

/* Studio56 admin: restore normal page scrolling for long settings pages */
html:has(body.admin-page){height:auto!important;min-height:100%;overflow-y:auto!important;overflow-x:hidden!important}
body.admin-page{height:auto!important;min-height:100vh!important;overflow-y:auto!important;overflow-x:hidden!important;position:static!important}
body.admin-page .admin-shell{height:auto!important;min-height:100vh!important;overflow:visible!important;align-items:start}
body.admin-page .admin-main{height:auto!important;min-height:100vh!important;overflow:visible!important;overscroll-behavior:contain;padding-bottom:48px}
body.admin-page .admin-sidebar{align-self:start;position:sticky;top:0;max-height:100vh;overflow-y:auto}
@supports not selector(html:has(body.admin-page)){html,body.admin-page{height:auto!important;overflow-y:auto!important}}


/* Studio56 admin final: fixed navigation + independently scrolling dashboard */
@media (min-width: 701px) {
  html:has(body.admin-page), body.admin-page { height:100%; min-height:100%; overflow:hidden!important; }
  body.admin-page .admin-shell { display:block!important; height:100vh!important; min-height:0!important; overflow:hidden!important; }
  body.admin-page .admin-sidebar { position:fixed!important; left:0; top:0; bottom:0; width:248px; height:100vh!important; max-height:100vh!important; overflow-y:auto!important; overflow-x:hidden!important; box-sizing:border-box; z-index:50; }
  body.admin-page .admin-main { margin-left:248px!important; width:calc(100% - 248px)!important; max-width:none!important; height:100vh!important; min-height:0!important; overflow-y:auto!important; overflow-x:hidden!important; box-sizing:border-box; padding-bottom:56px!important; overscroll-behavior:contain; }
  body.admin-page .admin-sidebar::-webkit-scrollbar, body.admin-page .admin-main::-webkit-scrollbar { width:8px; }
  body.admin-page .admin-sidebar::-webkit-scrollbar-thumb, body.admin-page .admin-main::-webkit-scrollbar-thumb { background:#174363; border-radius:8px; }
}
.admin-nav a span { display:inline-flex; align-items:center; justify-content:center; flex:0 0 22px; width:22px; min-width:22px; height:22px; line-height:1; font-family:Manrope, sans-serif; font-size:16px!important; font-weight:600; text-align:center; overflow:visible; }
.stat-icon { display:flex!important; align-items:center!important; justify-content:center!important; line-height:1!important; font-family:Manrope, sans-serif; font-size:20px!important; }
.admin-brand-icon { display:flex; align-items:center; justify-content:center; flex:0 0 30px; line-height:1; }
@media (max-width:700px) {
  html:has(body.admin-page), body.admin-page { height:auto!important; min-height:100%; overflow-y:auto!important; overflow-x:hidden!important; }
  body.admin-page .admin-shell { display:block!important; height:auto!important; min-height:100vh!important; overflow:visible!important; }
  body.admin-page .admin-sidebar { position:relative!important; left:auto; top:auto; bottom:auto; width:auto; height:auto!important; max-height:none!important; overflow:visible!important; }
  body.admin-page .admin-main { margin:0!important; width:100%!important; height:auto!important; min-height:0!important; overflow:visible!important; }
}

/* Live online count in the General Discussion sidebar link */
.left nav a .online-nav-count{display:inline-flex;align-items:center;float:right;margin-left:6px;padding:3px 7px;border-radius:999px;background:rgba(0,210,125,.12);border:1px solid rgba(0,220,130,.28);color:#8dffd0;font-size:10px;font-weight:800;white-space:nowrap}

/* Studio56 sidebar polish: clearer navigation, stronger active channel and live count */
.left nav{gap:8px!important;padding:10px!important;background:rgba(3,13,27,.78)!important;border:1px solid rgba(35,125,190,.28)!important;border-radius:17px!important;box-shadow:0 12px 30px rgba(0,0,0,.22),inset 0 1px 0 rgba(255,255,255,.025)!important}
.left nav a{display:flex!important;align-items:center;justify-content:space-between;gap:8px;min-height:44px;box-sizing:border-box;padding:12px 13px!important;border:1px solid rgba(62,133,190,.07)!important;border-radius:11px!important;background:linear-gradient(110deg,rgba(12,37,64,.9),rgba(8,27,48,.92))!important;color:#c6dff6!important;font-size:13px!important;font-weight:750!important;line-height:1.35;box-shadow:inset 0 1px 0 rgba(255,255,255,.018);transition:background .18s ease,border-color .18s ease,transform .18s ease,box-shadow .18s ease}
.left nav a:hover,.left nav a:focus-visible{transform:translateY(-1px);background:linear-gradient(110deg,rgba(0,112,255,.22),rgba(5,40,69,.96))!important;border-color:rgba(0,201,255,.48)!important;color:#fff!important;box-shadow:0 0 16px rgba(0,175,255,.12)!important;outline:none}
.left nav a:first-child{min-height:54px;padding:12px 13px!important;background:linear-gradient(110deg,rgba(0,111,255,.34),rgba(0,191,255,.13))!important;border:1px solid rgba(0,205,255,.7)!important;color:#f2fcff!important;box-shadow:0 0 0 1px rgba(0,150,255,.08),0 0 17px rgba(0,190,255,.13),inset 0 0 18px rgba(0,171,255,.06)!important}
.left nav a:first-child:hover{box-shadow:0 0 0 1px rgba(0,190,255,.18),0 0 23px rgba(0,190,255,.2)!important}
.left nav a .online-nav-count{float:none!important;flex-shrink:0;margin-left:auto!important;padding:5px 9px!important;border-radius:999px!important;background:rgba(0,220,135,.12)!important;border:1px solid rgba(0,235,151,.42)!important;color:#8fffd3!important;font-size:10px!important;font-weight:850!important;box-shadow:0 0 12px rgba(0,220,135,.08);letter-spacing:.1px}
.left nav form{margin:0!important;padding:0!important;background:transparent!important;border:0!important}
.left nav form button,.left nav>form button{width:100%;min-height:44px;border:1px solid rgba(0,157,255,.2)!important;border-radius:10px!important;background:linear-gradient(110deg,#0878ff,#078cff)!important;color:white!important;font-weight:800!important;box-shadow:0 6px 18px rgba(0,112,255,.18);transition:filter .18s ease,transform .18s ease}
.left nav form button:hover{filter:brightness(1.12);transform:translateY(-1px)}
@media(max-width:1100px){.left nav{gap:7px!important}.left nav a{min-height:42px}}
@media(max-width:600px){.left nav{gap:6px!important;padding:8px!important}.left nav a{padding:10px!important;font-size:12px!important}.left nav a:first-child{min-height:48px}.left nav a .online-nav-count{font-size:9px!important;padding:4px 6px!important}}

/* Studio56 popup panels for blocked users and profile settings */
.studio-modal-backdrop{position:fixed;inset:0;z-index:9999;display:none;align-items:center;justify-content:center;padding:18px;background:rgba(1,7,18,.78);backdrop-filter:blur(7px)}
.studio-modal-backdrop.open{display:flex}
.studio-modal-window{width:min(620px,96vw);height:min(700px,88vh);display:flex;flex-direction:column;overflow:hidden;border:1px solid rgba(0,210,255,.8);border-radius:20px;background:#061326;box-shadow:0 0 34px rgba(0,180,255,.22),0 22px 80px rgba(0,0,0,.6)}
.studio-modal-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:13px 17px;background:linear-gradient(110deg,#08264b,#071629);border-bottom:1px solid #164366;color:#eaf7ff;font-weight:800}
.studio-modal-close{display:flex;align-items:center;justify-content:center;flex:0 0 38px;width:38px;height:38px;padding:0;margin:0;line-height:1;text-align:center;appearance:none;border:1px solid #1a557b;background:#0b2742;color:#8deaff;border-radius:10px;font-size:22px;font-family:Arial,sans-serif;font-weight:600;cursor:pointer}
.studio-modal-frame{border:0;display:block;width:100%;height:100%;flex:1;background:#061326}
/* Profile avatars in member lists and public chat messages */
#messages p{display:flex;align-items:flex-start;gap:10px}
.chat-message-avatar{flex:0 0 36px;width:36px;height:36px;border-radius:50%;overflow:hidden;border:1px solid rgba(31,211,255,.7);background:#0b2a45;display:grid;place-items:center}
.chat-message-avatar img,.user-list-avatar{display:block;width:100%;height:100%;object-fit:cover;border-radius:50%}
.chat-avatar-fallback{font-size:19px;line-height:1}
.chat-message-content{min-width:0;flex:1;overflow-wrap:anywhere}
.user-list-button{display:flex!important;align-items:center;gap:9px}
.user-list-avatar{flex:0 0 30px;width:30px;height:30px;border:1px solid rgba(31,211,255,.5);background:#0b2a45}
.user-avatar-fallback{display:grid;place-items:center;font-size:16px}
.user-list-row{display:flex;align-items:center;gap:9px;padding:5px 8px;border-radius:9px;background:#071b30;color:#cce7ff;font-size:12px}
.user-list-row>span:last-child{min-width:0;overflow-wrap:anywhere}

/* Studio56 message layout: avatar, online indicator, header row, body below */
#messages .chat-message{position:relative;display:flex;align-items:flex-start;gap:12px;margin:0 0 10px;padding:13px 42px 13px 14px;border:1px solid rgba(64,140,192,.25);border-radius:13px;background:linear-gradient(100deg,rgba(10,34,59,.92),rgba(5,23,42,.9));color:#d9eaff;line-height:1.5;overflow-wrap:anywhere;font-size:13px}
#messages .chat-message-avatar{position:relative;flex:0 0 36px;width:36px;height:36px;border-radius:50%;overflow:visible;border:1px solid rgba(31,211,255,.7);background:#0b2a45;display:grid;place-items:center}
#messages .chat-message-avatar img{width:100%;height:100%;object-fit:cover;border-radius:50%;display:block}
#messages .avatar-online-dot{position:absolute;right:-2px;bottom:-1px;width:10px;height:10px;border:2px solid #07172a;border-radius:50%;background:#28e58b;box-shadow:0 0 7px rgba(40,229,139,.65)}
#messages .chat-message-main{min-width:0;flex:1}
#messages .chat-message-meta{display:flex;align-items:center;flex-wrap:wrap;gap:7px;margin:0 0 5px}
#messages .chat-message-meta b{font-weight:800;margin:0}
#messages .chat-message-meta small{color:#7898b8;font-size:10px}
#messages .chat-message-body{white-space:pre-wrap;overflow-wrap:anywhere;color:#e0edfb;font-size:13px}
#messages .message-delete{position:absolute;right:9px;top:9px;width:27px;height:27px;display:flex;align-items:center;justify-content:center;padding:0;margin:0;border:1px solid rgba(255,90,110,.35);border-radius:8px;background:rgba(110,22,42,.28);color:#ff8d9d;font-size:20px;line-height:1;cursor:pointer}
#messages .message-delete:hover{background:#b4233e;color:#fff;border-color:#ff667f}


/* Studio56 private-message unread badges */
.pm-unread-total{display:inline-flex;align-items:center;justify-content:center;margin-left:7px;padding:3px 8px;border-radius:999px;background:rgba(0,220,135,.13);border:1px solid rgba(0,235,151,.42);color:#8fffd3;font-size:10px;font-weight:850;white-space:nowrap}
.pm-user-button{display:flex!important;align-items:center;gap:8px;width:100%;text-align:left}
.pm-user-button>span:nth-child(2){min-width:0;overflow:hidden;text-overflow:ellipsis}
.pm-unread-badge{margin-left:auto;flex:0 0 auto;display:inline-flex;align-items:center;justify-content:center;min-width:22px;height:22px;padding:0 6px;border-radius:999px;background:#ff3d75;color:#fff;font-size:11px;font-weight:900;box-shadow:0 0 12px rgba(255,61,117,.3)}
#messages .chat-message-meta{gap:8px}
#messages .chat-message-meta small{font-variant-numeric:tabular-nums}


/* Studio56: private conversations are opened from the left navigation only */
.pm-nav-unread{display:inline-flex;align-items:center;justify-content:center;min-width:21px;height:21px;padding:0 6px;margin-left:6px;border-radius:999px;background:linear-gradient(135deg,#ff3d69,#d80c45);border:1px solid rgba(255,255,255,.3);color:#fff;font-size:11px;font-weight:900;line-height:1;box-shadow:0 0 14px rgba(255,35,88,.32)}
.pm-nav-unread[hidden]{display:none!important}
.pm-list-window{max-width:520px;height:min(640px,84vh)}
.pm-modal-users{display:flex;flex-direction:column;gap:8px;padding:14px;overflow:auto;min-height:0;flex:1}
.pm-modal-user{display:flex;align-items:center;gap:11px;width:100%;padding:12px;border:1px solid rgba(52,144,202,.25);border-radius:13px;background:linear-gradient(115deg,rgba(9,39,68,.96),rgba(5,22,42,.98));color:#eaf7ff;text-align:left;cursor:pointer;transition:border-color .16s,transform .16s,background .16s}
.pm-modal-user:hover,.pm-modal-user:focus-visible{border-color:rgba(0,214,255,.75);background:linear-gradient(115deg,rgba(0,102,175,.3),rgba(5,29,52,.98));transform:translateY(-1px);outline:none}
.pm-modal-user .user-list-avatar{flex:0 0 40px;width:40px;height:40px}
.pm-modal-user-text{display:flex;flex-direction:column;gap:4px;flex:1;min-width:0}
.pm-modal-user-text b{font-size:13px;overflow-wrap:anywhere}
.pm-modal-user-text small{font-size:11px;color:#9ab8d4}
.pm-unread-badge{display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;min-width:23px;height:23px;padding:0 6px;border-radius:999px;background:#ff315f;color:white;font-size:11px;font-weight:900;box-shadow:0 0 12px rgba(255,49,95,.24)}
.pm-empty{margin:auto;padding:24px;color:#a9c5df;text-align:center;font-size:13px}
@media(max-width:600px){.pm-list-backdrop{padding:10px}.pm-list-window{width:100%;height:min(78vh,640px);border-radius:16px}.pm-modal-users{padding:10px}.pm-modal-user{padding:10px}}

/* Studio56: private conversations open in a dedicated modal, never inside the main chat */
.pm-chat-window{width:min(440px,calc(100vw - 28px));height:min(520px,78vh);max-height:78vh}
.pm-chat-messages{flex:1;min-height:0;overflow:auto;padding:16px;color:#eaf5ff;overflow-wrap:anywhere}
.pm-chat-messages p{margin:0 0 10px;padding:10px 12px;border:1px solid rgba(49,151,205,.25);border-radius:12px;background:rgba(9,38,66,.75);white-space:pre-wrap}
.pm-chat-messages small{display:block;margin-top:5px;color:#83b8d8;font-size:11px;text-align:right}
.pm-chat-compose{display:flex;gap:9px;padding:12px;border-top:1px solid #164366;background:#071629}
.pm-chat-compose input{flex:1;min-width:0;margin:0}
.pm-chat-compose .send-btn{flex:0 0 44px}

/* Studio56 RIGHT SIDEBAR — stronger, explicit styling for the actual #on/#off markup */
.app > .right{gap:12px;align-self:start;min-width:0}
.app > .right > .panel{padding:14px!important;overflow:hidden;background:linear-gradient(155deg,rgba(8,29,52,.98),rgba(3,14,29,.98))!important;border:1px solid rgba(0,190,255,.34)!important;border-radius:18px!important;box-shadow:0 12px 30px rgba(0,0,0,.28),inset 0 1px 0 rgba(160,225,255,.05)!important}
.app > .right > .panel > h3{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:0 0 12px!important;padding:0 0 11px;border-bottom:1px solid rgba(66,157,211,.22);font-size:13px!important;font-weight:800;color:#eaf7ff!important}
.app > .right > .panel > h3 span{display:inline-flex;align-items:center;justify-content:center;min-width:28px;padding:4px 9px;border:1px solid rgba(0,220,140,.38);border-radius:999px;background:rgba(0,220,140,.12);color:#8fffd0;font-size:11px;font-weight:900;white-space:nowrap}
.app > .right .list{display:flex;flex-direction:column;gap:7px;max-height:34vh;min-height:55px;padding:1px 3px 3px 1px;overflow:auto;scrollbar-width:thin;scrollbar-color:#17658c #061426}
.app > .right .list p{display:flex;align-items:center;gap:0;margin:0!important;padding:0!important;border:0!important;background:transparent!important}
.app > .right #on.list p button,.app > .right #pmusers.list p button{display:flex!important;align-items:center!important;gap:10px!important;width:100%!important;min-height:48px!important;padding:9px 11px!important;text-align:left!important;border:1px solid rgba(70,150,202,.22)!important;border-radius:12px!important;background:linear-gradient(110deg,rgba(10,39,66,.98),rgba(5,24,43,.98))!important;color:#d9edff!important;font-size:12px!important;font-weight:700!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.025)!important;transition:background .18s,border-color .18s,transform .18s,box-shadow .18s!important}
.app > .right #on.list p button:hover,.app > .right #pmusers.list p button:hover{transform:translateY(-1px);border-color:rgba(0,211,255,.65)!important;background:linear-gradient(110deg,rgba(0,99,160,.38),rgba(7,31,54,.98))!important;box-shadow:0 5px 15px rgba(0,120,200,.12)!important}
.app > .right #on.list p button:focus-visible,.app > .right #pmusers.list p button:focus-visible{outline:2px solid #08d9ff;outline-offset:2px}
.app > .right #off.list p{display:flex;align-items:center;gap:8px;min-height:42px;padding:9px 11px!important;border:1px solid rgba(100,133,163,.16)!important;border-radius:11px;background:linear-gradient(110deg,rgba(10,29,48,.8),rgba(5,18,33,.85))!important;color:#9eb5cb;font-size:12px}
.app > .right #off.list p small{margin-left:auto;color:#6987a3;font-size:10px;white-space:nowrap}
.app > .right .list:empty:after{content:'Δεν υπάρχουν χρήστες';display:block;padding:13px 8px;color:#718da9;text-align:center;font-size:11px}
@media(max-width:1100px){.app > .right{align-items:stretch}.app > .right .list{max-height:230px}}
@media(max-width:600px){.app > .right > .panel{padding:12px!important;border-radius:15px!important}.app > .right > .panel > h3{font-size:12px!important}.app > .right #on.list p button,.app > .right #pmusers.list p button{min-height:45px!important}}


/* Studio56: selected username color stays solid; only a narrow shine sweeps right-to-left */
.username-rainbow{position:relative;display:inline-block!important;color:var(--username-base-color,#35d9ff)!important;-webkit-text-fill-color:var(--username-base-color,#35d9ff)!important;background:none!important;text-shadow:none!important;isolation:isolate}
.username-rainbow::after{content:attr(data-username);position:absolute;inset:0;pointer-events:none;white-space:inherit;color:transparent!important;-webkit-text-fill-color:transparent!important;background-image:linear-gradient(110deg,transparent 0%,transparent 39%,var(--username-shine-color,#ffffff) 47%,#ffffff 50%,var(--username-shine-color,#ffffff) 53%,transparent 61%,transparent 100%);background-size:260% 100%;background-position:100% 0;background-clip:text;-webkit-background-clip:text;animation:studio56-shine-sweep 2.2s linear infinite}
@keyframes studio56-shine-sweep{0%{background-position:100% 0}100%{background-position:-160% 0}}
@media(prefers-reduced-motion:reduce){.username-rainbow::after{animation-duration:6s}}


/* Apply the same right-to-left shine sweep to user status text in the sidebar. */
.user-list-status.status-shine{position:relative;display:block;isolation:isolate;color:var(--username-base-color,#9ebbd4)!important}
.user-list-status.status-shine::after{content:attr(data-username-shine);position:absolute;inset:0;pointer-events:none;white-space:inherit;color:transparent!important;-webkit-text-fill-color:transparent!important;background-image:linear-gradient(110deg,transparent 0%,transparent 39%,var(--username-shine-color,#ffffff) 47%,#ffffff 50%,var(--username-shine-color,#ffffff) 53%,transparent 61%,transparent 100%);background-size:260% 100%;background-position:100% 0;background-clip:text;-webkit-background-clip:text;animation:studio56-shine-sweep 2.2s linear infinite}
@media(prefers-reduced-motion:reduce){.user-list-status.status-shine::after{animation-duration:6s}}


/* Studio56 compact user profile card and profile privacy */
.user-profile-window{width:min(340px,calc(100vw - 28px));max-width:340px}
.user-profile-body{padding:18px}
.user-card-main{display:flex;align-items:center;gap:13px}
.user-card-avatar{width:62px;height:62px;flex:0 0 62px;object-fit:cover;border-radius:50%;border:2px solid rgba(53,217,255,.45);display:flex;align-items:center;justify-content:center;font-size:25px;background:#1b2a40}
.user-card-main>div{display:flex;flex-direction:column;gap:4px;min-width:0}
.user-card-name{font-size:17px;font-weight:800;overflow-wrap:anywhere}
.user-card-main small{font-size:11px;color:#91a6bf}
.user-card-main .is-online{color:#4ade80}
.user-card-main .is-offline{color:#94a3b8}
.user-card-status{margin:15px 0 0;padding:10px 12px;border-radius:10px;background:rgba(80,110,150,.12);font-size:13px;overflow-wrap:anywhere}
.user-card-age{margin:10px 0 0;color:var(--text-muted,#9ebbd4);font-size:12px}
.user-card-actions{display:flex;gap:8px;margin-top:16px}
.user-card-actions button{border:0;border-radius:10px;padding:10px 12px;font:inherit;font-size:12px;font-weight:800;cursor:pointer;flex:1}
.user-card-message{background:#087eaa;color:#fff}
.user-card-kick{background:#8b252d;color:#fff}
.user-list-age{display:block;font-size:10px;opacity:.72;margin-top:2px}
.chat-author{cursor:pointer}
.chat-author:hover,.user-list-name:hover{text-decoration:underline}
.profile-checkbox-label{display:flex;align-items:center;gap:9px;cursor:pointer;font-size:13px}
.profile-checkbox-label input{accent-color:#13b8dc;width:17px;height:17px}
.pm-chat-compose{position:relative}
.pm-emoji-toggle{border:0;background:transparent;color:inherit;font-size:20px;cursor:pointer;padding:4px 7px}
.pm-emoji-picker{display:flex;flex-wrap:wrap;gap:4px;padding:9px;background:var(--panel-bg,#142136);border-top:1px solid rgba(148,163,184,.15)}
.pm-emoji-picker.hidden{display:none}
.pm-emoji-picker .emoji-choice{width:32px;height:32px;border:0;border-radius:7px;background:transparent;cursor:pointer;font-size:19px}
.pm-emoji-picker .emoji-choice:hover{background:rgba(148,163,184,.18)}
.pm-bubble{max-width:82%;width:fit-content;padding:9px 12px;border-radius:13px;margin:8px 0;overflow-wrap:anywhere;white-space:pre-wrap}
.pm-bubble.sent{margin-left:auto;background:#087eaa;color:#fff;border-bottom-right-radius:4px}
.pm-bubble.received{margin-right:auto;background:#26364d;color:#fff;border-bottom-left-radius:4px}
.pm-bubble small{display:block;font-size:9px;opacity:.7;margin-top:4px;text-align:right}

/* Studio56 profile moderation actions */
.profile-card-flag{margin:10px 0 0;padding:9px 11px;border:1px solid rgba(248,113,113,.24);border-radius:10px;background:rgba(127,29,29,.13);color:#fecaca;font-size:11px;line-height:1.5}
.moderation-panel{flex:1 0 100%;display:grid;gap:8px;margin-top:4px;padding:12px;border:1px solid rgba(91,157,198,.22);border-radius:12px;background:rgba(5,17,31,.78)}
.moderation-panel>label{color:#9ebbd4;font-size:10px;font-weight:800;letter-spacing:.5px}
.moderation-panel>select{width:100%;min-height:38px;padding:0 10px;border:1px solid #284963;border-radius:9px;background:#091a2c;color:#edf7ff;font:600 11px Manrope,system-ui,sans-serif}
.moderation-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}
.moderation-grid button{min-width:0;min-height:38px;padding:7px 9px;border:1px solid rgba(248,113,113,.27);border-radius:9px;background:rgba(127,29,29,.16);color:#fecaca;font:700 10px/1.35 Manrope,system-ui,sans-serif;cursor:pointer;white-space:normal}
.moderation-grid button:hover{border-color:rgba(248,113,113,.58);background:rgba(127,29,29,.28)}
.profile-card-actions{flex-wrap:wrap}
@media(max-width:420px){.moderation-grid{grid-template-columns:1fr}.moderation-grid button{min-height:40px}}

/* Indicator for users currently muted */
.user-muted-indicator{display:inline-flex;align-items:center;gap:3px;margin-left:6px;padding:2px 6px;border:1px solid rgba(248,113,113,.35);border-radius:999px;background:rgba(153,27,27,.18);color:#fca5a5;font-size:10px;font-weight:800;vertical-align:middle;white-space:nowrap}

/* Studio56 — professional modal and user-profile visual system */
.studio-modal-backdrop{
  padding:20px;
  background:rgba(2,8,18,.76);
  -webkit-backdrop-filter:blur(10px);
  backdrop-filter:blur(10px);
}
.studio-modal-window{
  border:1px solid rgba(139,174,204,.22);
  border-radius:18px;
  background:linear-gradient(160deg,#101d2c 0%,#0b1522 55%,#09121e 100%);
  box-shadow:0 30px 90px rgba(0,0,0,.58),0 2px 10px rgba(0,0,0,.25);
}
.studio-modal-head{
  min-height:58px;
  padding:13px 18px;
  border-bottom:1px solid rgba(148,177,203,.14);
  background:rgba(17,31,47,.94);
  color:#f1f6fb;
  font-size:13px;
  letter-spacing:.15px;
}
.studio-modal-close{
  display:grid;
  place-items:center;
  width:34px;
  height:34px;
  flex:0 0 34px;
  border:1px solid rgba(174,197,218,.16);
  border-radius:10px;
  background:rgba(255,255,255,.045);
  color:#b8c8d8;
  font-size:22px;
  line-height:1;
  transition:background .16s ease,color .16s ease,border-color .16s ease;
}
.studio-modal-close:hover{background:rgba(255,255,255,.1);border-color:rgba(174,197,218,.32);color:#fff}
#userCardModal{z-index:10010}
.user-card-window{
  width:min(410px,calc(100vw - 28px));
  max-width:410px;
  height:auto;
  max-height:min(84vh,690px);
  min-height:0;
  border:1px solid rgba(132,166,198,.25);
  border-radius:20px;
  background:linear-gradient(155deg,#111f30 0%,#0b1624 72%,#0a1420 100%);
  box-shadow:0 28px 90px rgba(0,0,0,.62);
}
.user-card-window .studio-modal-head{
  min-height:56px;
  padding:12px 16px;
  background:rgba(17,31,47,.96);
}
.user-card-window #userCardTitle{display:flex;align-items:center;gap:9px}
.user-card-window #userCardTitle:before{
  content:"";display:block;width:7px;height:7px;border-radius:50%;
  background:#54d5a4;box-shadow:0 0 0 4px rgba(84,213,164,.1)
}
.user-card-body{padding:18px;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#334b62 transparent}
.profile-card-top{display:flex;align-items:center;gap:15px;padding:3px 0 17px;border-bottom:1px solid rgba(148,177,203,.14)}
.profile-card-avatar{
  width:70px;height:70px;flex:0 0 70px;object-fit:cover;border-radius:18px;
  border:1px solid rgba(160,190,218,.28);background:#1a2a3d;
  box-shadow:0 8px 24px rgba(0,0,0,.2)
}
.profile-card-fallback{display:grid;place-items:center;font-size:27px;color:#d8e5f0}
.profile-card-copy{display:grid;gap:8px;min-width:0}
.profile-card-copy>b{font-size:19px;line-height:1.25;letter-spacing:-.35px;font-weight:800;overflow-wrap:anywhere}
.profile-card-copy>small{display:flex;align-items:center;flex-wrap:wrap;gap:7px;color:#a5b6c7;font-size:11px;line-height:1.5}
.profile-card-dot{width:7px;height:7px;flex:0 0 7px;border-radius:50%;background:#7f91a4}
.profile-card-dot.is-online{background:#42d6a0;box-shadow:0 0 0 3px rgba(66,214,160,.1)}
.profile-card-status{
  margin:15px 0 0;padding:12px 13px;border:1px solid rgba(148,177,203,.13);
  border-radius:12px;background:rgba(255,255,255,.035);color:#c4d3e0;
  font-size:12px;line-height:1.65;overflow-wrap:anywhere
}
.profile-card-age{display:flex;align-items:center;gap:7px;margin:12px 0 0;color:#aabccc;font-size:11px}
.profile-card-flag{margin:10px 0 0;padding:10px 12px;border:1px solid rgba(248,113,113,.22);border-radius:11px;background:rgba(127,29,29,.12);color:#ffc5c5;font-size:11px;line-height:1.55}
.profile-card-actions{display:flex;flex-direction:column;gap:10px;margin-top:16px}
.profile-card-actions button{
  display:flex;align-items:center;justify-content:center;gap:8px;min-width:0;min-height:43px;
  padding:10px 13px;border:1px solid rgba(153,178,201,.17);border-radius:11px;
  font:700 12px/1.35 Manrope,system-ui,sans-serif;cursor:pointer;transition:transform .15s ease,background .15s ease,border-color .15s ease,filter .15s ease
}
.profile-card-actions button:hover{transform:translateY(-1px);filter:brightness(1.08)}
.profile-card-actions button:focus-visible,.moderation-grid button:focus-visible,.moderation-panel select:focus-visible{outline:2px solid #8bc9f5;outline-offset:2px}
.profile-card-message{width:100%;background:#e6f2fc;color:#132b40;border-color:#e6f2fc;box-shadow:0 4px 12px rgba(0,0,0,.12)}
.moderation-panel{display:grid;gap:10px;margin:0;padding:14px;border:1px solid rgba(148,177,203,.15);border-radius:14px;background:rgba(3,10,18,.22)}
.moderation-panel>label{color:#aebfd0;font-size:10px;font-weight:800;letter-spacing:.8px;text-transform:uppercase}
.moderation-panel>select{width:100%;min-height:42px;padding:0 12px;border:1px solid #34485b;border-radius:10px;background:#101d2b;color:#edf4fa;font:600 12px Manrope,system-ui,sans-serif;outline:none}
.moderation-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.moderation-grid button{min-width:0;min-height:41px;padding:9px 10px;border:1px solid rgba(199,143,143,.2);border-radius:10px;background:rgba(127,29,29,.1);color:#e8c7c7;font:700 10px/1.4 Manrope,system-ui,sans-serif;white-space:normal}
.moderation-grid button:hover{border-color:rgba(229,150,150,.45);background:rgba(127,29,29,.22)}
.moderation-grid button:nth-child(2),.moderation-grid button:nth-child(5),.moderation-grid button:nth-child(6){border-color:rgba(134,170,148,.22);background:rgba(27,91,63,.13);color:#c4e4d2}
.moderation-grid button:nth-child(2):hover,.moderation-grid button:nth-child(5):hover,.moderation-grid button:nth-child(6):hover{background:rgba(27,91,63,.24)}
.pm-chat-window,.pm-list-window{border-radius:18px}
.pm-chat-window .pm-chat-messages,.pm-modal-users{scrollbar-width:thin;scrollbar-color:#334b62 transparent}
.pm-chat-compose{padding:12px;border-top:1px solid rgba(148,177,203,.13);background:rgba(5,12,20,.45)}
.pm-chat-compose input{border:1px solid rgba(148,177,203,.2);border-radius:11px;background:#101d2b;color:#eef5fb}
#studioModal .studio-modal-window{width:min(700px,96vw);height:min(760px,90vh);max-height:90vh}
#studioModal .studio-modal-frame{flex:1;min-height:0;width:100%;border:0;background:#0b1522}
@media(max-width:520px){
  .studio-modal-backdrop{padding:10px}
  .user-card-window{width:calc(100vw - 20px);max-height:88vh;border-radius:16px}
  .user-card-body{padding:15px}
  .profile-card-avatar{width:60px;height:60px;flex-basis:60px;border-radius:16px}
  .profile-card-copy>b{font-size:17px}
  .moderation-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  #studioModal .studio-modal-window{width:100%;height:90vh;max-height:90vh;border-radius:15px}
}
@media(max-width:360px){.moderation-grid{grid-template-columns:1fr}}

/* Studio56 private messages: compact dialog and voice notes */
@media(max-width:520px){.pm-chat-window{width:calc(100vw - 20px);height:min(480px,72vh);max-height:72vh}}
.pm-chat-compose .pm-voice-btn{flex:0 0 38px;width:38px;height:38px;padding:0;border:1px solid rgba(70,190,230,.25);border-radius:10px;background:#102b40;color:#eaf8ff;font-size:17px;cursor:pointer}
.pm-chat-compose .pm-voice-btn:hover{background:#16435b}
.pm-chat-compose .pm-voice-btn.recording{background:#b42335;border-color:#ef6674;color:#fff;animation:pmVoicePulse 1s ease-in-out infinite alternate}
@keyframes pmVoicePulse{from{box-shadow:0 0 0 0 rgba(239,68,68,.15)}to{box-shadow:0 0 0 5px rgba(239,68,68,.24)}}
.pm-voice-status{display:none;margin:0 12px;padding:7px 10px;border:1px solid rgba(53,190,239,.18);border-radius:8px;background:rgba(7,28,44,.96);color:#9edff4;font-size:11px;line-height:1.4}
.pm-voice-status.visible{display:block}
.pm-voice-status.error{border-color:rgba(248,113,113,.35);color:#fca5a5}
.pm-voice-audio{display:block;width:min(270px,70vw);max-width:100%;height:38px}


/* Studio56 layout refinement: keep the room artwork inside the center chat only. */
body:not(.auth-page) {background-color:#020916!important;background-image:none!important;background-attachment:scroll!important;}
body:not(.auth-page) > .app > .left,
body:not(.auth-page) > .app > .right {background:#031326!important;background-image:none!important;isolation:isolate;}
body:not(.auth-page) > .app > .left {border:1px solid rgba(0,190,255,.25);border-radius:16px;padding:12px;}
body:not(.auth-page) > .app > .right {border:1px solid rgba(0,190,255,.25);border-radius:16px;padding:12px;}
body:not(.auth-page) > .app > .chat {min-width:0;min-height:0;background-color:#061326!important;background-repeat:no-repeat!important;background-position:center center!important;background-size:cover!important;overflow:hidden;}
body:not(.auth-page) > .app > .chat #messages {min-width:0;min-height:0;}
body:not(.auth-page) .user-list-last-seen {display:none!important;}
@media (max-width:1100px) {
  body:not(.auth-page) > .app > .left,
  body:not(.auth-page) > .app > .right {padding:10px;}
  body:not(.auth-page) > .app > .chat {background-position:center center!important;background-size:cover!important;}
}

/* Studio56: let the central room artwork remain visible behind chat messages. */
body:not(.auth-page) > .app > .chat #messages p,
body:not(.auth-page) > .app > .chat #messages .chat-message {
  background: linear-gradient(110deg, rgba(5, 20, 38, .58), rgba(4, 15, 30, .48)) !important;
  border-color: rgba(42, 190, 240, .24) !important;
  box-shadow: 0 5px 18px rgba(0, 0, 0, .12) !important;
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
}
body:not(.auth-page) > .app > .chat #messages .chat-message-body,
body:not(.auth-page) > .app > .chat #messages .chat-message-meta {
  text-shadow: 0 1px 3px rgba(0, 0, 0, .8);
}

/* Studio56 navigation icons and centered composer controls */
.left nav a{display:flex;align-items:center;gap:9px;min-height:44px;text-align:left;line-height:1.25}
.left nav a .nav-icon{width:20px;min-width:20px;display:inline-flex;align-items:center;justify-content:center;text-align:center;font-size:15px;line-height:1;flex-shrink:0}
.left nav a .nav-label{min-width:0;flex:1;display:block}
.left nav a .online-nav-count,.left nav a .pm-nav-unread{margin-left:auto;flex-shrink:0}
.left nav form button{width:100%;display:flex;align-items:center;justify-content:center;text-align:center}
#send>button,#psend>button{display:inline-flex;align-items:center;justify-content:center;align-self:center;line-height:1;padding:0;text-align:center}
#send>button.emoji-toggle{font-size:22px}
#send .send-btn,#psend .send-btn{font-size:22px}
#send,#psend{width:100%;min-width:0}
@media(max-width:1100px){.left nav a{min-width:0;padding:10px 9px;gap:7px}.left nav a .nav-label{overflow-wrap:anywhere}}


/* Studio56 header design v1 — global, edge-to-edge, logo uses admin-uploaded setting */
.studio56-header{
  position:relative!important;
  z-index:30!important;
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:18px!important;
  width:100%!important;
  max-width:none!important;
  min-height:112px!important;
  margin:0!important;
  padding:14px clamp(18px,3.2vw,52px)!important;
  box-sizing:border-box!important;
  overflow:hidden!important;
  color:#f4fbff!important;
  background:
    radial-gradient(ellipse at 52% 120%,rgba(0,160,255,.25),transparent 48%),
    linear-gradient(105deg,#041426 0%,#06294b 48%,#07132b 100%)!important;
  border-bottom:1px solid rgba(0,203,255,.7)!important;
  box-shadow:0 7px 25px rgba(0,0,0,.34),inset 0 -2px 0 rgba(0,190,255,.08)!important;
}
.studio56-header:before{
  content:"";position:absolute;inset:0;pointer-events:none;opacity:.85;
  background:
    linear-gradient(130deg,transparent 0 37%,rgba(0,183,255,.12) 37.2%,transparent 38%),
    linear-gradient(145deg,transparent 0 70%,rgba(255,0,100,.14) 70.2%,transparent 71%),
    repeating-linear-gradient(90deg,transparent 0 42px,rgba(24,164,255,.06) 43px 45px,transparent 46px 78px);
}
.studio56-header:after{
  content:"";position:absolute;left:0;right:0;bottom:0;height:3px;pointer-events:none;
  background:linear-gradient(90deg,transparent,#00bfff 22%,#087bff 48%,#ff176b 78%,transparent);
  opacity:.9;
}
.studio56-header-brand,.studio56-header-user{position:relative;z-index:1;display:flex;align-items:center;min-width:0}
.studio56-header-brand{gap:15px}
.studio56-header-mark{
  width:66px;height:66px;flex:0 0 66px;border-radius:50%;
  display:grid;place-items:center;font-size:34px;
  color:#e9fbff;background:linear-gradient(145deg,rgba(0,190,255,.25),rgba(255,0,95,.17));
  border:2px solid #08caff;box-shadow:0 0 18px rgba(0,190,255,.26),inset 0 0 16px rgba(0,190,255,.13);
}
.studio56-header-wordmark{display:flex;flex-direction:column;gap:4px}
.studio56-header-wordmark strong{font-size:clamp(25px,2.2vw,39px);font-weight:900;line-height:1;letter-spacing:.8px;color:#f4fbff}
.studio56-header-wordmark strong span{color:#ff176b}
.studio56-header-wordmark small{font-size:12px;font-weight:800;letter-spacing:3px;color:#20d8ff}
.studio56-header-logo{display:block;max-width:min(380px,55vw);max-height:78px;width:auto;height:auto;object-fit:contain;object-position:left center;filter:drop-shadow(0 0 10px rgba(0,180,255,.15))}
.studio56-header-user{gap:12px;flex:0 0 auto}
.studio56-header-avatar{display:grid;place-items:center;width:54px;height:54px;border-radius:50%;font-size:26px;color:#c8f7ff;background:linear-gradient(145deg,#087dff,#153b9e);border:1px solid rgba(80,214,255,.75);box-shadow:0 0 20px rgba(0,140,255,.2)}
.studio56-header-username{display:flex;align-items:center;gap:10px;font-weight:800;font-size:16px;color:#f4fbff}
.studio56-header-username i{display:inline-block;width:9px;height:9px;border-radius:50%;background:#00e69a;box-shadow:0 0 10px rgba(0,230,154,.7)}
@media(max-width:700px){
 .studio56-header{min-height:82px;padding:10px 13px!important;gap:10px}
 .studio56-header-mark{width:44px;height:44px;flex-basis:44px;font-size:25px}
 .studio56-header-brand{gap:9px}
 .studio56-header-wordmark strong{font-size:22px}
 .studio56-header-wordmark small{font-size:8px;letter-spacing:1.4px}
 .studio56-header-logo{max-width:56vw;max-height:54px}
 .studio56-header-avatar{width:36px;height:36px;font-size:19px}
 .studio56-header-username{font-size:12px;gap:6px}
}
@media(max-width:420px){
 .studio56-header-user{gap:6px}
 .studio56-header-avatar{display:none}
 .studio56-header-wordmark small{letter-spacing:.8px}
}


/* Compact, discreet Studio56 header refinement */
.studio56-header{
  min-height:68px!important;
  padding:8px clamp(14px,2vw,28px)!important;
  background:linear-gradient(100deg,#061426 0%,#071d33 52%,#061326 100%)!important;
  box-shadow:0 3px 12px rgba(0,0,0,.22)!important;
}
.studio56-header:before{opacity:.35!important}
.studio56-header:after{height:1px!important;opacity:.7!important}
.studio56-header-mark{
  width:42px!important;height:42px!important;flex-basis:42px!important;
  font-size:23px!important;border-width:1px!important;box-shadow:0 0 9px rgba(0,190,255,.14)!important;
}
.studio56-header-wordmark{gap:2px!important}
.studio56-header-wordmark strong{font-size:clamp(20px,1.6vw,27px)!important;letter-spacing:.4px!important}
.studio56-header-wordmark small{font-size:9px!important;letter-spacing:2px!important}
.studio56-header-logo{max-height:48px!important;max-width:min(300px,52vw)!important}
.studio56-header-user{gap:9px!important}
.studio56-header-avatar{width:36px!important;height:36px!important;font-size:19px!important;box-shadow:none!important}
.studio56-header-username{font-size:13px!important;gap:7px!important}
.studio56-header-username i{width:7px!important;height:7px!important}
@media(max-width:700px){
 .studio56-header{min-height:56px!important;padding:7px 12px!important}
 .studio56-header-mark{width:34px!important;height:34px!important;flex-basis:34px!important;font-size:19px!important}
 .studio56-header-wordmark strong{font-size:19px!important}
 .studio56-header-wordmark small{font-size:7px!important;letter-spacing:1.1px!important}
 .studio56-header-logo{max-height:38px!important;max-width:54vw!important}
 .studio56-header-avatar{width:30px!important;height:30px!important;font-size:16px!important}
 .studio56-header-username{font-size:11px!important}
}


/* Sidebar cleanup requested: no duplicate STUDIO56 card, camera first, edge-to-edge blocks */
.app > .left{padding:0!important;gap:0!important;border-radius:0!important;overflow-y:auto!important}
.app > .left > h2{display:none!important}
.app > .left > #camera,
.app > .left > .camera-panel{
  display:block!important;
  width:100%!important;max-width:none!important;
  margin:0!important;padding:0!important;
  border:0!important;border-radius:0!important;
  background:transparent!important;box-shadow:none!important;
}
.app > .left .camera-panel h3{display:none!important}
.app > .left .camera-frame{
  display:block!important;width:100%!important;max-width:none!important;
  aspect-ratio:16/9!important;min-height:150px!important;
  margin:0!important;padding:0!important;
  border:0!important;border-radius:0!important;
  box-shadow:none!important;background:#020812!important;
}
.app > .left .camera-frame iframe{
  display:block!important;width:100%!important;height:100%!important;
  min-height:150px!important;border:0!important;border-radius:0!important;
}
.app > .left .camera-panel > small{display:block;padding:8px 12px;color:#9dbbd4}
.app > .left nav{
  display:flex!important;flex-direction:column!important;gap:0!important;
  width:100%!important;max-width:none!important;
  margin:0!important;padding:0!important;
  border:0!important;border-radius:0!important;
  background:transparent!important;box-shadow:none!important;
}
.app > .left nav > a,
.app > .left nav > form{
  width:100%!important;max-width:none!important;
  box-sizing:border-box!important;margin:0!important;
  border-left:0!important;border-right:0!important;
  border-radius:0!important;
}
.app > .left nav > a{padding:13px 16px!important;border-top:1px solid rgba(42,115,158,.12)!important}
.app > .left nav > form{padding:0!important;border:0!important}
.app > .left nav > form button{width:100%!important;border-radius:0!important;border-left:0!important;border-right:0!important}
.app > .left .radio-player-panel{
  width:100%!important;margin:0!important;padding:10px 12px!important;
  border:0!important;border-radius:0!important;box-shadow:none!important;
  border-bottom:1px solid rgba(42,115,158,.12)!important;
}
@media(max-width:1000px){
 .app > .left{padding:0!important}
 .app > .left nav{padding:0!important}
}


/* Final layout: keep chat composer visible above the fixed radio player */
body:not(.auth-page){padding-top:0!important;padding-bottom:66px!important;overflow:hidden!important}
.studio56-header{height:54px!important;min-height:54px!important;padding:6px 16px!important}
body:not(.auth-page) > .app{
  height:calc(100dvh - 120px)!important;
  min-height:0!important;
  max-height:calc(100dvh - 120px)!important;
  margin-top:0!important;
  padding:8px 10px!important;
  box-sizing:border-box!important;
  overflow:hidden!important;
}
body:not(.auth-page) > .app > .chat{
  display:flex!important;flex-direction:column!important;
  height:100%!important;min-height:0!important;overflow:hidden!important;
}
body:not(.auth-page) > .app > .chat #messages{
  flex:1 1 0%!important;min-height:0!important;overflow-y:auto!important;
}
body:not(.auth-page) > .app > .chat #send{
  display:flex!important;flex:0 0 auto!important;position:relative!important;
  z-index:20!important;margin:0!important;
}
body:not(.auth-page) > .app > .chat #send #body{
  flex:1 1 0%!important;min-width:0!important;pointer-events:auto!important;
}
.radio-bottom-bar{height:66px!important;min-height:66px!important}
@media(max-width:1000px){
 body:not(.auth-page) > .app{height:calc(100dvh - 120px)!important;max-height:calc(100dvh - 120px)!important;overflow-y:auto!important}
}
@media(max-width:600px){
 body:not(.auth-page) > .app{height:calc(100dvh - 112px)!important;max-height:calc(100dvh - 112px)!important;padding:6px!important}
}

/* More symmetrical camera presentation: restrained frame and subtle LIVE marker, no heading */
.app > .left .camera-panel{position:relative!important}
.app > .left .camera-frame{
  position:relative!important;
  aspect-ratio:16/10!important;
  min-height:150px!important;
  border:1px solid rgba(0,195,255,.42)!important;
  border-radius:0 0 8px 8px!important;
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.025),0 5px 16px rgba(0,0,0,.22)!important;
  overflow:hidden!important;
}
.app > .left .camera-panel:before{
  content:"● LIVE";position:absolute;z-index:3;top:8px;left:10px;
  padding:4px 7px;border-radius:5px;
  font:700 9px/1.2 system-ui,sans-serif;letter-spacing:1px;
  color:#e5e7eb;background:rgba(45,50,58,.9);
  border:1px solid rgba(156,163,175,.45);
  pointer-events:none;transition:color .2s,background .2s,border-color .2s,box-shadow .2s;
}
.app > .left .camera-panel[data-live="true"]:before{
  color:#fff;background:#dc2626;border-color:#f87171;
  box-shadow:0 0 12px rgba(220,38,38,.35);
}
.app > .left .camera-panel[data-live="false"]:before{
  color:#e5e7eb;background:rgba(75,80,88,.9);border-color:rgba(156,163,175,.45);box-shadow:none;
}
.app > .left .camera-frame iframe{min-height:150px!important}


/* Header refinement per user: slightly taller, avatar uses account photo,
   remove duplicate chat title and connected-user pill inside conversation */
.studio56-header{
  height:64px!important;
  min-height:64px!important;
  padding:7px clamp(14px,2vw,26px)!important;
}
.studio56-header .studio56-header-user{
  margin-right:10px!important;
  gap:9px!important;
}
.studio56-header .studio56-header-avatar{
  display:block!important;
  width:40px!important;height:40px!important;
  flex:0 0 40px!important;
  object-fit:cover!important;
  border-radius:50%!important;
  border:1px solid rgba(0,205,255,.75)!important;
  background:#0a2944!important;
  box-shadow:0 0 10px rgba(0,180,255,.14)!important;
}
.studio56-header .studio56-header-avatar-fallback{
  display:grid!important;place-items:center!important;
}
.chat > header.chat-titlebar-hidden{display:none!important}
@media(max-width:700px){
 .studio56-header{height:58px!important;min-height:58px!important;padding:6px 12px!important}
 .studio56-header .studio56-header-avatar{width:34px!important;height:34px!important;flex-basis:34px!important}
}


/* Studio56 sidebar refresh — visual-only. Keep camera and radio player positions unchanged. */
@media (min-width: 1101px) {
  body:not(.auth-page) > .app {
    grid-template-columns: 245px minmax(0, 1fr) 270px !important;
    gap: 12px !important;
  }
}
body:not(.auth-page) > .app > .left,
body:not(.auth-page) > .app > .right {
  background: linear-gradient(165deg, rgba(5, 23, 42, .98), rgba(2, 13, 27, .98)) !important;
  border: 1px solid rgba(0, 190, 255, .32) !important;
  border-radius: 16px !important;
  box-shadow: 0 10px 28px rgba(0,0,0,.20), inset 0 1px 0 rgba(255,255,255,.025) !important;
  min-width: 0 !important;
}
body:not(.auth-page) > .app > .left {
  padding: 0 !important;
  overflow-x: hidden !important;
}
body:not(.auth-page) > .app > .right {
  display: flex !important;
  flex-direction: column !important;
  gap: 10px !important;
  padding: 10px !important;
  overflow: hidden !important;
}
.app > .left nav {
  padding: 10px !important;
  gap: 5px !important;
}
.app > .left nav > a {
  min-height: 43px !important;
  margin: 0 !important;
  padding: 10px 12px !important;
  border: 1px solid transparent !important;
  border-radius: 10px !important;
  background: rgba(8, 31, 53, .72) !important;
  color: #d9edff !important;
  transition: background .18s ease, border-color .18s ease, transform .18s ease !important;
}
.app > .left nav > a:hover {
  background: linear-gradient(100deg, rgba(0, 128, 220, .22), rgba(7, 29, 50, .96)) !important;
  border-color: rgba(0, 198, 255, .32) !important;
  transform: translateX(2px);
}
.app > .left nav > a[href="#chat"] {
  background: linear-gradient(105deg, rgba(0, 117, 255, .30), rgba(0, 190, 255, .10)) !important;
  border-color: rgba(0, 195, 255, .48) !important;
  box-shadow: inset 3px 0 0 #08caff, 0 4px 14px rgba(0, 120, 255, .10) !important;
}
.app > .left nav > a .nav-icon {
  width: 22px !important;
  min-width: 22px !important;
  font-size: 16px !important;
}
.app > .left nav > form {
  margin-top: 5px !important;
  padding-top: 9px !important;
  border-top: 1px solid rgba(70, 150, 200, .18) !important;
}
.app > .left nav > form button {
  min-height: 42px !important;
  border: 1px solid rgba(255, 35, 105, .38) !important;
  border-radius: 10px !important;
  background: linear-gradient(105deg, rgba(119, 15, 54, .28), rgba(36, 13, 35, .55)) !important;
  color: #ff9bbd !important;
  font-weight: 800 !important;
}
.app > .left nav > form button:hover {
  background: linear-gradient(105deg, rgba(150, 18, 67, .42), rgba(36, 13, 35, .65)) !important;
  border-color: rgba(255, 35, 105, .65) !important;
}
/* Right column: two compact, aligned panels with less dead space. */
.app > .right > .panel {
  padding: 12px !important;
  min-width: 0 !important;
  border: 1px solid rgba(0, 190, 255, .26) !important;
  border-radius: 14px !important;
  background: linear-gradient(155deg, rgba(7, 29, 50, .98), rgba(3, 17, 32, .98)) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.025) !important;
}
.app > .right > .panel > h3 {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 8px !important;
  margin: 0 0 9px !important;
  padding: 0 0 9px !important;
  border-bottom: 1px solid rgba(80, 155, 200, .18) !important;
  font-size: 12px !important;
  line-height: 1.35 !important;
}
.app > .right > .panel > h3 span {
  flex: 0 0 auto !important;
  min-width: 28px !important;
  padding: 4px 7px !important;
  border-radius: 99px !important;
  border: 1px solid rgba(0, 220, 170, .35) !important;
  background: rgba(0, 190, 145, .10) !important;
  color: #6fffd3 !important;
  text-align: center !important;
  font-size: 10px !important;
}
.app > .right #on.list,
.app > .right #off.list {
  display: flex !important;
  flex-direction: column !important;
  gap: 4px !important;
  min-height: 0 !important;
  max-height: min(48vh, 420px) !important;
  padding: 0 2px 1px 0 !important;
  overflow-y: auto !important;
  overflow-x: hidden !important;
  scrollbar-width: thin !important;
  scrollbar-color: rgba(0, 190, 235, .55) transparent !important;
}
.app > .right #on.list p,
.app > .right #pmusers.list p {
  margin: 0 !important;
}
.app > .right #on.list p button,
.app > .right #pmusers.list p button {
  min-height: 43px !important;
  padding: 6px 8px !important;
  gap: 8px !important;
  border-radius: 10px !important;
  background: linear-gradient(105deg, rgba(9, 35, 58, .98), rgba(5, 22, 40, .98)) !important;
}
.app > .right #on.list p button img,
.app > .right #pmusers.list p button img {
  width: 32px !important;
  height: 32px !important;
  flex: 0 0 32px !important;
  object-fit: cover !important;
  border-radius: 50% !important;
}
.app > .right #off.list p {
  min-height: 38px !important;
  box-sizing: border-box !important;
  margin: 0 !important;
  padding: 5px 8px !important;
  gap: 7px !important;
  border-radius: 9px !important;
  background: rgba(7, 27, 46, .74) !important;
  line-height: 1.2 !important;
}
.app > .right #off.list p img {
  width: 30px !important;
  height: 30px !important;
  flex: 0 0 30px !important;
  object-fit: cover !important;
  border-radius: 50% !important;
}
.app > .right #off.list p small {
  font-size: 9px !important;
}
@media (max-width: 1100px) {
  body:not(.auth-page) > .app > .right {
    gap: 8px !important;
    padding: 9px !important;
  }
  .app > .right #on.list,
  .app > .right #off.list {
    max-height: 250px !important;
  }
}
@media (max-width: 600px) {
  body:not(.auth-page) > .app > .left,
  body:not(.auth-page) > .app > .right {
    border-radius: 12px !important;
  }
  .app > .left nav { padding: 8px !important; }
  .app > .left nav > a { padding: 9px 10px !important; }
  .app > .right > .panel { padding: 10px !important; }
}

/* Studio56 FIX: disconnected-user rows must contain one full-width card each */
body:not(.auth-page) > .app > .right #off.list {
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
  gap: 5px !important;
  padding: 2px 7px 4px 0 !important;
  overflow-y: auto !important;
  overflow-x: hidden !important;
  box-sizing: border-box !important;
}
body:not(.auth-page) > .app > .right #off.list > p.user-list-row {
  display: block !important;
  position: relative !important;
  width: 100% !important;
  min-width: 0 !important;
  min-height: 0 !important;
  height: auto !important;
  flex: 0 0 auto !important;
  margin: 0 !important;
  padding: 0 !important;
  box-sizing: border-box !important;
  overflow: visible !important;
  border: 0 !important;
  background: transparent !important;
}
body:not(.auth-page) > .app > .right #off.list > p.user-list-row > button.user-list-button {
  display: flex !important;
  position: relative !important;
  width: 100% !important;
  min-width: 0 !important;
  min-height: 48px !important;
  height: auto !important;
  margin: 0 !important;
  padding: 7px 10px !important;
  box-sizing: border-box !important;
  align-items: center !important;
  gap: 9px !important;
  overflow: hidden !important;
  border: 1px solid rgba(70,150,202,.22) !important;
  border-radius: 12px !important;
  background: linear-gradient(110deg,rgba(10,39,66,.98),rgba(5,24,43,.98)) !important;
  text-align: left !important;
}
body:not(.auth-page) > .app > .right #off.list > p.user-list-row > button.user-list-button img {
  display: block !important;
  position: relative !important;
  width: 34px !important;
  height: 34px !important;
  min-width: 34px !important;
  flex: 0 0 34px !important;
  object-fit: cover !important;
  border-radius: 50% !important;
}
body:not(.auth-page) > .app > .right #off.list > p.user-list-row > small.user-list-last-seen {
  display: none !important;
}


/* Studio56: headphone icons in the online/offline list headings */
.right .panel h3 .user-list-heading-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  margin-right: 5px;
  border: 1px solid rgba(53, 217, 255, .55);
  border-radius: 50%;
  background: linear-gradient(145deg, #153e5b, #091a2c);
  font-size: 13px;
  line-height: 1;
  vertical-align: middle;
  box-sizing: border-box;
}
.right .panel h3 .user-list-heading-icon.is-online {
  color: #27e879;
  border-color: rgba(39, 232, 121, .55);
  box-shadow: 0 0 8px rgba(39, 232, 121, .12);
}
.right .panel h3 .user-list-heading-icon.is-offline {
  color: #9aa8b8;
  border-color: rgba(154, 168, 184, .45);
  filter: grayscale(1);
}


/* Studio56: compact online/offline count pills in the right sidebar; left menu unchanged */
body:not(.auth-page) > .app > .right .panel > h3.user-list-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 32px;
}
body:not(.auth-page) > .app > .right .panel > h3.offline-heading {
  justify-content: flex-end !important;
  text-align: right;
}
body:not(.auth-page) > .app > .right .panel > h3.offline-heading > .offline-count-pill {
  margin-left: auto;
}
body:not(.auth-page) > .app > .right .panel > h3 .user-count-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  flex: 0 0 auto;
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 11px;
  line-height: 1.2;
  font-weight: 800;
  white-space: nowrap;
  letter-spacing: 0;
}
body:not(.auth-page) > .app > .right .panel > h3 .online-count-pill {
  color: #8fffd3;
  background: rgba(0,220,135,.12);
  border: 1px solid rgba(0,235,151,.42);
  box-shadow: 0 0 12px rgba(0,220,135,.08);
}
body:not(.auth-page) > .app > .right .panel > h3 .offline-count-pill {
  color: #d1d9e4;
  background: rgba(130,148,170,.12);
  border: 1px solid rgba(150,170,192,.4);
}


/* Studio56 player color harmony — navy glass with controlled cyan accents */
.radio-bottom-bar{
  background:linear-gradient(100deg,var(--studio-player-bg,#041222) 0%,var(--studio-player-bg,#061a2d) 48%,var(--studio-player-bg,#041323) 100%)!important;
  border-top:1px solid rgba(38,190,225,.32)!important;
  box-shadow:0 -8px 26px rgba(0,0,0,.28),0 -1px 10px rgba(0,160,210,.06)!important;
}
.radio-bottom-brand .radio-live-dot{
  background:#35e6b0!important;
  box-shadow:0 0 10px rgba(53,230,176,.42)!important;
}
.radio-bottom-brand b{color:#e5f4ff!important}
.radio-bottom-brand small{color:#6fabc8!important}
.radio-controls{
  background:rgba(5,23,40,.48)!important;
  border:1px solid rgba(45,142,184,.16)!important;
  border-radius:14px!important;
}
.radio-play{
  background:linear-gradient(145deg,var(--studio-player-button,#0786d8),var(--studio-player-eq,#06b7d4))!important;
  border:1px solid rgba(111,229,255,.48)!important;
  box-shadow:0 0 13px rgba(0,174,220,.18)!important;
}
.radio-play:hover{
  background:linear-gradient(145deg,var(--studio-player-button,#0999e9),var(--studio-player-eq,#13c9df))!important;
  box-shadow:0 0 17px rgba(0,190,230,.28)!important;
}
.radio-live-label{
  color:#dffcff!important;
  background:linear-gradient(100deg,var(--studio-player-live,#087f9c),var(--studio-player-live,#079db7))!important;
  border:1px solid rgba(95,232,246,.2)!important;
}
.radio-track-name{color:#b8d1e3!important}
.radio-equalizer i{background:#20c8e5!important}
.radio-volume{color:#b8d8e9!important}
.radio-volume:hover{color:#e5fbff!important;background:rgba(22,163,190,.12)!important}
.radio-volume-slider{background:linear-gradient(90deg,#20c8e5,#1687d3)!important}
.radio-volume-slider::-webkit-slider-thumb{border-color:var(--studio-player-volume,#20c8e5)!important;box-shadow:0 0 7px rgba(32,200,229,.35)!important}
.radio-volume-slider::-moz-range-thumb{border-color:var(--studio-player-volume,#20c8e5)!important;box-shadow:0 0 7px rgba(32,200,229,.35)!important}
@media(max-width:600px){.radio-bottom-bar{background:linear-gradient(100deg,var(--studio-player-bg,#041222),var(--studio-player-bg,#061a2d),var(--studio-player-bg,#041323))!important}}


/* Studio56 player palette: subtle pink accents, matching the site identity */
.radio-player,.bottom-player,.studio-player,.chat-radio-player{
  border-top:1px solid color-mix(in srgb,var(--studio-player-pink,#ff4f87) 52%,transparent);
}
.radio-player button:hover,.bottom-player button:hover,.studio-player button:hover,.chat-radio-player button:hover{
  box-shadow:0 0 0 1px color-mix(in srgb,var(--studio-player-pink,#ff4f87) 55%,transparent),0 0 12px color-mix(in srgb,var(--studio-player-pink,#ff4f87) 18%,transparent);
}


/* Studio56: clock badge for users whose browser tab is inactive. */
.user-list-presence.away{display:flex!important;align-items:center!important;justify-content:center!important;width:15px!important;height:15px!important;right:-3px!important;bottom:-3px!important;border:2px solid #08172a!important;border-radius:50%!important;background:#f5b942!important;color:#17202a!important;font:900 11px/1 Arial,sans-serif!important;box-sizing:border-box!important}

/* Studio56 PM ignore status and self-service unignore */
.pm-ignore-notice{margin:10px 12px 0;padding:12px 14px;border:1px solid rgba(248,113,113,.32);border-radius:12px;background:linear-gradient(135deg,rgba(92,28,43,.45),rgba(15,29,48,.95));color:#ffe4e8;font-size:12px;line-height:1.5}.pm-ignore-notice[hidden]{display:none}.pm-ignore-notice p{margin:4px 0 9px;color:#c3d2e2}.pm-unignore-btn{border:1px solid rgba(56,189,248,.55);border-radius:9px;background:linear-gradient(135deg,#087eaa,#075985);color:#fff;padding:8px 12px;font:700 12px Manrope,system-ui,sans-serif;cursor:pointer}.pm-unignore-btn:hover{filter:brightness(1.12)}.pm-unignore-btn:disabled{opacity:.6;cursor:wait}

/* Studio56: actions menu for each private conversation */
.pm-modal-user-row{position:relative;display:flex;align-items:stretch;gap:6px;min-width:0}
.pm-modal-user-row>.pm-modal-user{flex:1;min-width:0;width:auto}
.pm-user-actions-toggle{flex:0 0 42px;align-self:stretch;display:flex;align-items:center;justify-content:center;border:1px solid rgba(52,144,202,.3);border-radius:12px;background:rgba(8,29,50,.98);color:#dff5ff;font-size:25px;font-weight:800;line-height:1;cursor:pointer;transition:background .15s,border-color .15s}
.pm-user-actions-toggle:hover,.pm-user-actions-toggle:focus-visible,.pm-user-actions-toggle[aria-expanded="true"]{background:rgba(0,119,180,.35);border-color:rgba(0,214,255,.75);outline:none}
.pm-actions-menu{position:absolute;z-index:30;right:4px;top:calc(100% - 2px);width:min(230px,calc(100% - 12px));padding:6px;border:1px solid rgba(73,157,205,.45);border-radius:12px;background:#07182a;box-shadow:0 12px 32px rgba(0,0,0,.48);display:flex;flex-direction:column;gap:4px}
.pm-actions-menu[hidden]{display:none!important}
.pm-actions-menu button{width:100%;padding:11px 12px;border:0;border-radius:8px;background:transparent;color:#e8f6ff;text-align:left;font-family:inherit;font-size:12px;font-weight:600;line-height:1.4;cursor:pointer}
.pm-actions-menu button:hover,.pm-actions-menu button:focus-visible{background:rgba(0,156,220,.2);outline:none}
.pm-actions-menu .pm-delete-action{color:#ffb5c0}
.pm-actions-menu .pm-delete-action:hover,.pm-actions-menu .pm-delete-action:focus-visible{background:rgba(220,40,75,.16)}
.pm-actions-menu button:disabled{opacity:.55;cursor:wait}
@media(max-width:600px){.pm-modal-user-row{gap:5px}.pm-user-actions-toggle{flex-basis:38px}.pm-modal-user-row>.pm-modal-user{gap:8px}.pm-actions-menu{right:2px;width:min(230px,calc(100% - 8px))}}

/* Studio56 private chat: compact professional 500x400 modal, anchored composer */
#pmChatModal{padding:12px;align-items:center;justify-content:center}
#pmChatModal .pm-chat-window{box-sizing:border-box;width:min(500px,calc(100vw - 24px));height:min(400px,calc(100dvh - 24px));min-height:0;max-height:400px;display:flex;flex-direction:column;position:relative;overflow:hidden;border:1px solid rgba(0,174,255,.72);border-radius:17px;background:linear-gradient(150deg,#0b1d30 0%,#061321 58%,#07101c 100%);box-shadow:0 18px 52px rgba(0,0,0,.48),0 0 24px rgba(0,145,255,.10)}
#pmChatModal .pm-chat-head{flex:0 0 58px;min-height:58px;box-sizing:border-box;padding:8px 11px 8px 13px;gap:10px;background:linear-gradient(110deg,rgba(15,34,53,.99),rgba(9,25,42,.99));border-bottom:1px solid rgba(82,151,193,.24)}
#pmChatModal .pm-chat-identity{display:flex;align-items:center;gap:10px;min-width:0;flex:1}
#pmChatModal .pm-chat-avatar{width:38px;height:38px;flex:0 0 38px;display:grid;place-items:center;overflow:hidden;border-radius:50%;border:1px solid rgba(0,205,255,.78);background:linear-gradient(145deg,#087cff,#0064d8);color:#fff;font-size:16px;font-weight:850;box-shadow:0 0 12px rgba(0,132,255,.18)}
#pmChatModal .pm-chat-avatar img{width:100%;height:100%;object-fit:cover;display:block;border-radius:50%}
#pmChatModal .pm-chat-identity-copy{display:flex;flex-direction:column;gap:3px;min-width:0}
#pmChatModal #ptitle{display:block;max-width:245px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#f0f7ff;font-size:13px;font-weight:800;line-height:1.2}
#pmChatModal #pmChatPresence{display:flex;align-items:center;gap:6px;color:#91abc3;font-size:10px;font-weight:600;line-height:1.2}
#pmChatModal #pmChatPresence i{width:7px;height:7px;flex:0 0 7px;border-radius:50%;background:#718096;display:inline-block}
#pmChatModal #pmChatPresence i.is-online{background:#2ee58b;box-shadow:0 0 8px rgba(46,229,139,.65)}
#pmChatModal .pm-chat-head-actions{display:flex;align-items:center;gap:6px;flex:0 0 auto}
#pmChatModal .pm-chat-profile-action,#pmChatModal #pmChatClose{width:34px;height:34px;min-width:34px;display:grid;place-items:center;padding:0;border:1px solid rgba(118,158,191,.23);border-radius:10px;background:rgba(23,43,63,.86);color:#dcecff;font-size:19px;font-weight:800;cursor:pointer;box-shadow:none}
#pmChatModal .pm-chat-profile-action:hover,#pmChatModal #pmChatClose:hover{border-color:rgba(0,205,255,.55);background:#12324c;color:#fff}
#pmChatModal .pm-chat-messages{display:flex;flex-direction:column;gap:7px;flex:1 1 auto;min-height:0;height:auto;max-height:none;overflow-y:auto;overscroll-behavior:contain;padding:12px 11px 10px;scrollbar-width:thin;scrollbar-color:#315875 transparent}
#pmChatModal .pm-chat-messages .pm-empty{align-self:center;margin:auto;padding:12px;color:#8ba7c0;font-size:11px}
#pmChatModal .pm-bubble-row{display:flex;width:100%;flex:0 0 auto;margin:0;padding:0}
#pmChatModal .pm-bubble-row.mine{justify-content:flex-end}
#pmChatModal .pm-bubble-row.theirs{justify-content:flex-start;gap:7px}
#pmChatModal .pm-bubble{box-sizing:border-box;max-width:min(82%,360px);min-width:45px;width:fit-content;margin:0;padding:8px 10px;border:1px solid rgba(66,150,204,.25);border-radius:13px;background:linear-gradient(145deg,rgba(24,48,72,.98),rgba(16,35,55,.98));color:#e8f3ff;font-size:12px;line-height:1.45;overflow-wrap:anywhere;box-shadow:0 3px 9px rgba(0,0,0,.10)}
#pmChatModal .pm-bubble-row.mine .pm-bubble{border-color:rgba(0,188,255,.65);border-bottom-right-radius:4px;background:linear-gradient(135deg,#087cff,#0072ce);color:#fff}
#pmChatModal .pm-bubble-row.theirs .pm-bubble{border-bottom-left-radius:4px}
#pmChatModal .pm-bubble small{display:block;margin-top:4px;color:#9fc3df;font-size:9px;line-height:1.2;text-align:right;font-variant-numeric:tabular-nums}
#pmChatModal .pm-voice-audio{display:block;width:min(100%,300px);height:34px;max-width:100%}
#pmChatModal .pm-ignore-notice{flex:0 0 auto;margin:7px 9px 0;padding:8px 10px;font-size:10px;line-height:1.35}
#pmChatModal #pmVoiceStatus{flex:0 0 auto;max-height:0;overflow:hidden;margin:0;padding:0;font-size:10px}
#pmChatModal #pmVoiceStatus.visible{max-height:42px;padding:5px 10px}
#pmChatModal #pmEmojiPicker{position:absolute;z-index:5;left:10px;bottom:58px;width:min(250px,calc(100% - 20px));max-height:120px;overflow:auto;box-shadow:0 12px 30px rgba(0,0,0,.42)}
#pmChatModal #psend{position:relative;z-index:2;display:flex;align-items:center;gap:7px;flex:0 0 auto;min-height:58px;margin:0;padding:8px 9px;box-sizing:border-box;border:0;border-top:1px solid rgba(0,183,255,.42);border-radius:0;background:rgba(4,18,32,.98);box-shadow:0 -5px 18px rgba(0,0,0,.12)}
#pmChatModal #psend>button{box-sizing:border-box;flex:0 0 34px;width:34px;height:34px;min-width:34px;margin:0;padding:0;display:grid;place-items:center;border:1px solid rgba(70,154,202,.27);border-radius:10px;background:linear-gradient(145deg,#102b43,#0a2035);color:#eaf7ff;font-size:16px;box-shadow:none;cursor:pointer}
#pmChatModal #psend>button:hover{border-color:rgba(0,208,255,.65);background:#123b59}
#pmChatModal #psend>button.send-btn{flex-basis:36px;width:36px;height:36px;min-width:36px;border-color:#08caff;background:linear-gradient(135deg,#078cff,#00a9e9);color:#fff;font-size:22px;box-shadow:0 3px 12px rgba(0,137,255,.2)}
#pmChatModal #psend>input{box-sizing:border-box;flex:1 1 auto;width:0;min-width:0;height:36px;margin:0;padding:0 11px;border:1px solid rgba(90,145,183,.32);border-radius:11px;outline:none;background:#0b1b2d;color:#eff8ff;font-size:11px;box-shadow:none}
#pmChatModal #psend>input::placeholder{color:#819db7;opacity:1}
#pmChatModal #psend>input:focus{border-color:rgba(0,196,255,.75);box-shadow:0 0 0 2px rgba(0,166,255,.08)}
@media(max-width:520px){#pmChatModal{padding:8px}#pmChatModal .pm-chat-window{width:calc(100vw - 16px);height:min(400px,calc(100dvh - 16px));max-height:400px;border-radius:15px}#pmChatModal .pm-chat-head{padding-left:10px}#pmChatModal .pm-chat-avatar{width:34px;height:34px;flex-basis:34px}#pmChatModal #ptitle{max-width:calc(100vw - 190px)}#pmChatModal #psend{gap:5px;padding:7px}#pmChatModal #psend>button{flex-basis:31px;width:31px;min-width:31px;height:33px}#pmChatModal #psend>button.send-btn{flex-basis:34px;width:34px;min-width:34px}#pmChatModal #psend>input{padding:0 8px;font-size:10px}}

/* Studio56 private chat — consolidated final styles (legacy player overrides removed) */
#pmChatModal .pm-bubble{
  box-sizing:border-box;
  max-width:min(84%,380px);
  padding:10px 12px;
  border-radius:14px;
  font-size:14px;
  line-height:1.55;
  overflow-wrap:anywhere;
}
#pmChatModal .pm-bubble small{
  display:block;
  margin-top:6px;
  color:#b6d7ef;
  font-size:10px;
  line-height:1.35;
}
#pmChatModal .pm-chat-messages{
  gap:9px;
  padding:12px;
}
#pmChatModal #psend{
  box-sizing:border-box;
  gap:8px;
  min-height:62px;
  padding:9px 10px;
}
#pmChatModal #psend>button{
  flex:0 0 40px;
  width:40px;
  min-width:40px;
  height:40px;
  border-radius:12px;
  font-size:20px;
}
#pmChatModal #psend>button.send-btn{
  flex-basis:42px;
  width:42px;
  min-width:42px;
  height:42px;
  font-size:23px;
}
#pmChatModal #psend>input{
  box-sizing:border-box;
  height:42px;
  min-width:0;
  padding:0 12px;
  font-size:12px;
}

/* Custom voice player: one clean, borderless style; no nested colored frame */
#pmChatModal .pm-audio-player{
  box-sizing:border-box;
  display:flex;
  align-items:center;
  gap:10px;
  width:min(270px,calc(100vw - 118px));
  min-width:170px;
  max-width:100%;
  margin:0;
  padding:3px 0;
  border:0;
  border-radius:0;
  background:transparent;
  box-shadow:none;
}
#pmChatModal .pm-audio-player audio{display:none}
#pmChatModal .pm-audio-play{
  appearance:none;
  -webkit-appearance:none;
  box-sizing:border-box;
  display:grid;
  place-items:center;
  flex:0 0 34px;
  width:34px;
  min-width:34px;
  height:34px;
  margin:0;
  padding:0 0 1px 2px;
  border:1px solid rgba(183,218,244,.38);
  border-radius:50%;
  background:rgba(5,25,44,.9);
  color:#f1f8ff;
  font:700 15px/1 Arial,sans-serif;
  text-align:center;
  text-indent:0;
  box-shadow:none;
  cursor:pointer;
}
#pmChatModal .pm-audio-play:hover{
  background:#123752;
  border-color:rgba(150,220,255,.72);
}
#pmChatModal .pm-audio-play:focus-visible{
  outline:2px solid #56caff;
  outline-offset:2px;
}
#pmChatModal .pm-audio-main{flex:1 1 auto;min-width:0}
#pmChatModal .pm-audio-track{
  position:relative;
  display:flex;
  align-items:center;
  height:18px;
}
#pmChatModal .pm-audio-trackline{
  position:absolute;
  left:0;
  right:0;
  height:4px;
  border-radius:999px;
  background:rgba(198,220,238,.28);
  pointer-events:none;
}
#pmChatModal .pm-audio-seek{
  position:relative;
  z-index:1;
  width:100%;
  height:18px;
  margin:0;
  padding:0;
  appearance:none;
  -webkit-appearance:none;
  background:transparent;
  cursor:pointer;
}
#pmChatModal .pm-audio-seek::-webkit-slider-runnable-track{
  height:4px;
  border-radius:999px;
  background:linear-gradient(90deg,#38c9f5 var(--pm-progress,0%),rgba(198,220,238,.28) var(--pm-progress,0%));
}
#pmChatModal .pm-audio-seek::-moz-range-track{
  height:4px;
  border-radius:999px;
  background:rgba(198,220,238,.28);
}
#pmChatModal .pm-audio-seek::-moz-range-progress{
  height:4px;
  border-radius:999px;
  background:#38c9f5;
}
#pmChatModal .pm-audio-seek::-webkit-slider-thumb{
  appearance:none;
  -webkit-appearance:none;
  width:10px;
  height:10px;
  margin-top:-3px;
  border:1px solid #dff8ff;
  border-radius:50%;
  background:#38c9f5;
  box-shadow:0 0 0 2px rgba(56,191,233,.12);
}
#pmChatModal .pm-audio-seek::-moz-range-thumb{
  width:9px;
  height:9px;
  border:1px solid #dff8ff;
  border-radius:50%;
  background:#38c9f5;
}
#pmChatModal .pm-audio-meta{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:8px;
  margin-top:3px;
  color:rgba(235,246,255,.84);
  font-size:10px;
  line-height:1.3;
  font-variant-numeric:tabular-nums;
}
#pmChatModal .pm-audio-time{
  color:#dcecf8;
  font-size:10px;
  white-space:nowrap;
}
#pmChatModal .pm-audio-label{
  overflow:hidden;
  color:rgba(237,247,255,.72);
  font-size:9px;
  text-overflow:ellipsis;
  white-space:nowrap;
}
#pmChatModal .pm-bubble-row .pm-audio-player{
  border:0;
  background:transparent;
  box-shadow:none;
}
@media(max-width:520px){
  #pmChatModal .pm-bubble{font-size:13px;padding:9px 10px}
  #pmChatModal #psend{gap:5px;padding:7px}
  #pmChatModal #psend>button{flex-basis:34px;width:34px;min-width:34px;height:35px;font-size:18px}
  #pmChatModal #psend>button.send-btn{flex-basis:36px;width:36px;min-width:36px;height:36px}
  #pmChatModal #psend>input{height:36px;padding:0 8px;font-size:11px}
  #pmChatModal .pm-audio-player{width:min(245px,calc(100vw - 108px));min-width:150px;gap:8px}
  #pmChatModal .pm-audio-play{flex-basis:30px;width:30px;min-width:30px;height:30px;font-size:14px}
}

/* Studio56 private chat — consolidated styles; old duplicate player overrides removed */
#pmChatModal .pm-bubble-row{
  display:flex;align-items:flex-end;gap:8px;width:100%;
}
#pmChatModal .pm-bubble-row.mine{justify-content:flex-end}
#pmChatModal .pm-bubble-row.theirs{justify-content:flex-start}
#pmChatModal .pm-message-avatar{
  display:grid;place-items:center;flex:0 0 28px;width:28px;height:28px;
  overflow:hidden;border:1px solid rgba(118,137,157,.55);border-radius:50%;
  background:#27313d;color:#fff;font-size:12px;font-weight:800;line-height:1;
  box-shadow:0 2px 8px rgba(0,0,0,.18);
}
#pmChatModal .pm-message-avatar img{display:block;width:100%;height:100%;object-fit:cover;border-radius:50%}
#pmChatModal .pm-bubble-row.mine .pm-message-avatar{order:2}
#pmChatModal .pm-bubble-row.mine .pm-bubble{order:1}

/* Both users' regular text bubbles use the same neutral grey palette */
#pmChatModal .pm-bubble-row .pm-bubble:not(.pm-bubble-voice){
  background:linear-gradient(145deg,#27313d,#1d2631)!important;
  border:1px solid rgba(148,163,184,.32)!important;
  color:#f2f5f9!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.025)!important;
}
#pmChatModal .pm-bubble-row .pm-bubble:not(.pm-bubble-voice) small{display:none!important}

/* One unified pink voice-note style for sent and received audio */
#pmChatModal .pm-bubble-row .pm-bubble.pm-bubble-voice{
  background:linear-gradient(145deg,#211521,#17121d)!important;
  border:1px solid #ed2388!important;
  border-radius:15px!important;
  color:#fff!important;
  box-shadow:inset 0 0 0 1px rgba(255,64,153,.04)!important;
}
#pmChatModal .pm-bubble-voice .pm-audio-player{
  display:flex;align-items:center;gap:10px;width:min(270px,calc(100vw - 118px));
  min-width:170px;max-width:100%;margin:0;padding:3px 0;
  border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;
}
#pmChatModal .pm-bubble-voice audio{display:none}
#pmChatModal .pm-bubble-voice .pm-audio-play{
  appearance:none;-webkit-appearance:none;display:grid;place-items:center;
  flex:0 0 34px;width:34px;min-width:34px;height:34px;margin:0;padding:0 0 1px 2px;
  border:1px solid #ff4f9f!important;border-radius:50%;
  background:#241321!important;color:#fff!important;font:700 15px/1 Arial,sans-serif;
  text-align:center;box-shadow:0 0 10px rgba(255,40,140,.14)!important;cursor:pointer;
}
#pmChatModal .pm-bubble-voice .pm-audio-play:hover{background:#3b1830!important;border-color:#ff8ac1!important}
#pmChatModal .pm-bubble-voice .pm-audio-track{position:relative;display:flex;align-items:center;height:18px}
#pmChatModal .pm-bubble-voice .pm-audio-trackline{position:absolute;left:0;right:0;height:4px;border-radius:999px;background:rgba(255,79,159,.25)!important;pointer-events:none}
#pmChatModal .pm-bubble-voice .pm-audio-seek{position:relative;z-index:1;width:100%;height:18px;margin:0;padding:0;appearance:none;-webkit-appearance:none;background:transparent;cursor:pointer}
#pmChatModal .pm-bubble-voice .pm-audio-seek::-webkit-slider-runnable-track{height:4px;border-radius:999px;background:linear-gradient(90deg,#ff3e98 var(--pm-progress,0%),rgba(255,79,159,.25) var(--pm-progress,0%))!important}
#pmChatModal .pm-bubble-voice .pm-audio-seek::-moz-range-track{height:4px;border-radius:999px;background:rgba(255,79,159,.25)!important}
#pmChatModal .pm-bubble-voice .pm-audio-seek::-moz-range-progress{height:4px;background:#ff3e98!important}
#pmChatModal .pm-bubble-voice .pm-audio-seek::-webkit-slider-thumb{appearance:none;-webkit-appearance:none;width:10px;height:10px;margin-top:-3px;border:2px solid #ff4f9f;border-radius:50%;background:#fff}
#pmChatModal .pm-bubble-voice .pm-audio-seek::-moz-range-thumb{width:8px;height:8px;border:2px solid #ff4f9f;border-radius:50%;background:#fff}
#pmChatModal .pm-bubble-voice .pm-audio-meta{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:3px;color:#ffe3f0;font-size:10px;line-height:1.3;font-variant-numeric:tabular-nums}
#pmChatModal .pm-bubble-voice .pm-audio-time{color:#ffe3f0;font-size:10px;white-space:nowrap}
#pmChatModal .pm-bubble-voice .pm-audio-label{overflow:hidden;color:#e9c5d7;font-size:9px;text-overflow:ellipsis;white-space:nowrap}
#pmChatModal .pm-bubble-voice small{display:none!important}
@media(max-width:520px){
 #pmChatModal .pm-message-avatar{flex-basis:24px;width:24px;height:24px;font-size:10px}
 #pmChatModal .pm-bubble-row{gap:6px}
 #pmChatModal .pm-bubble-voice .pm-audio-player{width:min(245px,calc(100vw - 108px));min-width:150px;gap:8px}
 #pmChatModal .pm-bubble-voice .pm-audio-play{flex-basis:30px;width:30px;min-width:30px;height:30px;font-size:14px}
}


/* Studio56: soften voice-player border for a cleaner, quieter finish */
#pmChatModal .pm-bubble-voice{
  border-color:rgba(255,79,147,.32)!important;
  box-shadow:inset 0 0 0 1px rgba(255,79,147,.025)!important;
}
#pmChatModal .pm-bubble-voice .pm-audio-play{
  border-color:rgba(255,79,147,.38)!important;
}
#pmChatModal .pm-bubble-voice .pm-audio-play:hover{
  border-color:rgba(255,79,147,.68)!important;
}
#pmChatModal .pm-bubble-voice .pm-audio-trackline{
  background:rgba(255,79,147,.18)!important;
}
#pmChatModal .pm-bubble-voice .pm-audio-seek::-webkit-slider-runnable-track{
  background:linear-gradient(90deg,#ff4f93 var(--pm-progress,0%),rgba(255,79,147,.18) var(--pm-progress,0%))!important;
}
#pmChatModal .pm-bubble-voice .pm-audio-seek::-moz-range-track{
  background:rgba(255,79,147,.18)!important;
}

/* Studio56 — unified cyan neon style for all in-app popup windows */
:root{--s56-neon:#00bfff;--s56-neon-bright:#08caff;--s56-neon-soft:rgba(0,191,255,.24);--s56-popup-bg:#041426;--s56-popup-panel:#081b2d;--s56-popup-line:rgba(0,191,255,.52)}
.studio-modal-backdrop,.pm-list-backdrop,#pmChatModal,#userCardModal{background:rgba(1,7,17,.82);-webkit-backdrop-filter:blur(9px);backdrop-filter:blur(9px)}
.studio-modal-window,.pm-chat-window,.pm-list-window,.user-card-window,
#studioModal .studio-modal-window,#pmChatModal .pm-chat-window,#pmListModal .pm-list-window,#userCardModal .user-card-window{
  border:1px solid var(--s56-neon)!important;border-radius:18px!important;
  background:linear-gradient(155deg,#071b2e 0%,#041426 58%,#03101e 100%)!important;
  box-shadow:0 0 0 1px rgba(0,191,255,.10),0 0 13px rgba(0,191,255,.35),0 0 32px rgba(0,145,255,.20),0 24px 72px rgba(0,0,0,.65)!important;
}
.studio-modal-head,.pm-chat-head,.user-card-window .studio-modal-head{
  background:linear-gradient(100deg,rgba(5,34,57,.99),rgba(6,24,42,.99))!important;
  border-bottom:1px solid rgba(0,191,255,.35)!important;color:#f2faff!important;
}
.studio-modal-close,.pm-chat-profile-action,#pmChatModal #pmChatClose{
  border:1px solid rgba(0,191,255,.35)!important;background:linear-gradient(145deg,#0b2942,#071a2d)!important;color:#bfeeff!important;
  box-shadow:inset 0 0 10px rgba(0,191,255,.04)!important;transition:border-color .16s,box-shadow .16s,background .16s!important;
}
.studio-modal-close:hover,.pm-chat-profile-action:hover,#pmChatModal #pmChatClose:hover{
  border-color:var(--s56-neon-bright)!important;background:#0a3452!important;color:#fff!important;box-shadow:0 0 12px rgba(0,191,255,.24)!important;
}
.pm-modal-user,.pm-modal-user-row>.pm-modal-user{
  border-color:rgba(0,191,255,.23)!important;background:linear-gradient(110deg,rgba(7,39,65,.97),rgba(4,20,36,.99))!important;color:#edf9ff!important;
}
.pm-modal-user:hover,.pm-modal-user:focus-visible,.pm-modal-user-row>.pm-modal-user:hover{
  border-color:rgba(0,202,255,.85)!important;background:linear-gradient(110deg,rgba(0,117,190,.35),rgba(5,28,48,.99))!important;box-shadow:0 0 14px rgba(0,191,255,.16)!important;
}
.pm-modal-user-text small,.profile-card-copy>small,.profile-card-age{color:#91b9d6!important}
.user-card-body,.pm-modal-users{scrollbar-color:#087db1 transparent!important}
.profile-card-avatar,.profile-card-fallback{border-color:rgba(0,191,255,.62)!important;box-shadow:0 0 14px rgba(0,191,255,.16)!important}
.profile-card-status,.moderation-panel{border-color:rgba(0,191,255,.22)!important;background:rgba(3,19,34,.72)!important}
.moderation-panel>select,.pm-chat-compose input,#pmChatModal #psend>input{border-color:rgba(0,191,255,.30)!important;background:#061a2c!important;color:#effaff!important}
.moderation-panel>select:focus,.pm-chat-compose input:focus,#pmChatModal #psend>input:focus{border-color:var(--s56-neon)!important;box-shadow:0 0 0 2px rgba(0,191,255,.13)!important}
.profile-card-message,.profile-card-actions button:not(.danger),#pmChatModal #psend>button.send-btn{
  border-color:#00bfff!important;background:linear-gradient(135deg,#087cff,#00a9e9)!important;color:#fff!important;box-shadow:0 0 13px rgba(0,145,255,.20)!important;
}
.profile-card-message:hover,.profile-card-actions button:not(.danger):hover,#pmChatModal #psend>button.send-btn:hover{filter:brightness(1.12);box-shadow:0 0 18px rgba(0,191,255,.30)!important}
.pm-chat-compose,#pmChatModal #psend{border-top-color:rgba(0,191,255,.40)!important;background:rgba(3,16,29,.98)!important}
#pmChatModal .pm-chat-window{border-color:var(--s56-neon)!important;box-shadow:0 0 0 1px rgba(0,191,255,.10),0 0 13px rgba(0,191,255,.35),0 0 32px rgba(0,145,255,.20),0 24px 72px rgba(0,0,0,.65)!important}
#pmChatModal .pm-bubble-row.mine .pm-bubble{box-shadow:0 0 12px rgba(0,145,255,.12)!important}
#pmChatModal .pm-chat-messages,#pmChatModal #psend{background-color:transparent}
.pm-actions-menu,.studio56-admin-menu{
  border:1px solid var(--s56-neon)!important;border-radius:13px!important;background:linear-gradient(155deg,#071b2e,#041426)!important;
  box-shadow:0 0 12px rgba(0,191,255,.25),0 18px 42px rgba(0,0,0,.6)!important;color:#eaf8ff!important;
}
.pm-actions-menu button,.studio56-admin-menu-item,.studio56-menu-logout{color:#dff5ff!important;border-color:rgba(0,191,255,.14)!important}
.pm-actions-menu button:hover,.studio56-admin-menu-item:hover,.studio56-menu-logout:hover{background:rgba(0,153,225,.16)!important;color:#fff!important}
.pm-user-actions-toggle{border-color:rgba(0,191,255,.28)!important;background:#09243a!important;color:#c9f1ff!important}
.pm-user-actions-toggle:hover{border-color:var(--s56-neon)!important;box-shadow:0 0 10px rgba(0,191,255,.18)!important}
@media(max-width:600px){.studio-modal-window,.pm-chat-window,.pm-list-window,.user-card-window,#studioModal .studio-modal-window{border-radius:15px!important}}


/* STUDIO56 BUTTON POLISH — profile popup actions */
.profile-card-message,
.profile-card-actions button:not(.danger),
.profile-card-actions .user-card-message,
.profile-card-actions .user-card-kick,
.profile-card-actions button {
  box-sizing: border-box !important;
  min-height: 40px !important;
  padding: 10px 14px !important;
  border: 1px solid rgba(0, 191, 255, .52) !important;
  border-radius: 10px !important;
  background: linear-gradient(180deg, #087fc0 0%, #075d98 100%) !important;
  color: #f2faff !important;
  font-family: inherit !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  line-height: 1.25 !important;
  letter-spacing: .05px !important;
  text-shadow: 0 1px 1px rgba(0,0,0,.16) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.10), 0 3px 9px rgba(0,105,170,.16) !important;
  transition: background .16s ease, border-color .16s ease, box-shadow .16s ease, transform .16s ease !important;
  cursor: pointer !important;
}
.profile-card-message:hover,
.profile-card-actions button:hover {
  background: linear-gradient(180deg, #0797dc 0%, #0871b5 100%) !important;
  border-color: rgba(62, 211, 255, .92) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.13), 0 0 0 2px rgba(0,191,255,.09), 0 5px 14px rgba(0,145,220,.22) !important;
  transform: translateY(-1px) !important;
  filter: none !important;
}
.profile-card-message:active,
.profile-card-actions button:active {
  transform: translateY(0) !important;
  box-shadow: inset 0 2px 4px rgba(0,0,0,.18) !important;
}
.profile-card-actions button.danger,
.profile-card-actions .user-card-kick,
.profile-card-actions button[class*="ban"],
.profile-card-actions button[class*="kick"] {
  background: linear-gradient(180deg, #a93445 0%, #7d2635 100%) !important;
  border-color: rgba(255,120,140,.55) !important;
  color: #fff5f6 !important;
}
.profile-card-actions button.danger:hover,
.profile-card-actions .user-card-kick:hover,
.profile-card-actions button[class*="ban"]:hover,
.profile-card-actions button[class*="kick"]:hover {
  background: linear-gradient(180deg, #c34255 0%, #982d3e 100%) !important;
  border-color: rgba(255,150,165,.85) !important;
}
.profile-card-actions select,
.moderation-panel select {
  min-height: 40px !important;
  border-radius: 9px !important;
  border: 1px solid rgba(0,191,255,.30) !important;
  background-color: #071b2b !important;
  color: #e6f6ff !important;
  padding: 9px 12px !important;
  font: inherit !important;
  font-size: 12px !important;
}
.profile-card-actions button:focus-visible,
.profile-card-message:focus-visible {
  outline: 2px solid #4bd8ff !important;
  outline-offset: 2px !important;
}
@media (max-width: 480px) {
  .profile-card-actions button,
  .profile-card-message {
    min-height: 42px !important;
    padding: 10px 11px !important;
    font-size: 12px !important;
  }
}


/* STUDIO56 FIX — balanced dimensions for Blocked Users and Profile Settings popups */
#studioModal .studio-modal-window{
  box-sizing:border-box!important;
  width:min(560px,calc(100vw - 32px))!important;
  height:min(690px,86vh)!important;
  max-width:560px!important;
  max-height:86vh!important;
  min-height:0!important;
  border-radius:18px!important;
}
#studioModal .studio-modal-frame{
  display:block!important;
  width:100%!important;
  height:100%!important;
  min-height:0!important;
  flex:1 1 auto!important;
  overflow:auto!important;
}
/* These pages are rendered inside the modal iframe; keep their content compact too. */
.blocked-wrap{width:min(100%,520px)!important;max-width:520px!important}
.blocked-intro{padding:14px 16px!important;margin-bottom:12px!important;border-radius:15px!important}
.blocked-user{padding:11px 12px!important;gap:10px!important;border-radius:12px!important}
.blocked-list{gap:8px!important}
.profile-wrap{width:min(100%,520px)!important;max-width:520px!important}
.profile-head{padding:15px 17px!important;margin-bottom:11px!important;border-radius:16px!important;gap:12px!important}
.profile-preview-card,.profile-section,.profile-form-card{border-radius:14px!important}
@media(max-width:600px){
  #studioModal .studio-modal-window{width:calc(100vw - 20px)!important;height:90vh!important;max-height:90vh!important;border-radius:15px!important}
  .blocked-wrap,.profile-wrap{width:100%!important;max-width:none!important}
  .blocked-intro{padding:12px!important;gap:9px!important}
  .blocked-user{padding:10px!important;gap:8px!important}
  .profile-head{padding:13px!important;gap:9px!important}
}
/* Separate desktop and mobile logo placements for Studio56 */
.studio56-header-brand-desktop{display:flex;align-items:center;gap:15px;min-width:0}
.studio56-header-brand-mobile{display:none;align-items:center;gap:9px;min-width:0}
.studio56-header-brand-mobile .studio56-header-logo{object-fit:contain;max-height:60px}
.admin-brand-image{display:block;flex:0 1 auto;object-fit:contain;object-position:left center;max-height:90px}
@media(max-width:700px){.studio56-header-brand-desktop{display:none}.studio56-header-brand-mobile{display:flex}.studio56-header-brand-mobile .studio56-header-wordmark strong{font-size:clamp(18px,4vw,23px)}.admin-brand-image{max-height:70px;max-width:100%}}


/* Logo size fix: allow configured dimensions to take effect while staying responsive */
.brand-logo-image{max-width:100%;min-width:0;}
.brand-logo-image img{
  max-width:min(90vw,900px)!important;
  max-height:min(60vh,500px)!important;
  width:inherit;
  height:inherit;
}
@media(max-width:700px){
  .brand-logo-image img{
    max-width:calc(100vw - 36px)!important;
    max-height:min(40vh,300px)!important;
  }
}
.studio56-header-brand-desktop,.studio56-header-brand-mobile{min-width:0;flex:1 1 auto;}
.studio56-header-logo{
  max-width:min(65vw,900px)!important;
  max-height:min(50vh,500px)!important;
  flex:0 1 auto;
}
@media(max-width:700px){
  .studio56-header-logo{
    max-width:calc(100vw - 110px)!important;
    max-height:min(35vh,260px)!important;
  }
}
.admin-brand-image{max-height:min(50vh,500px)!important;max-width:min(65vw,900px)!important;}
@media(max-width:700px){.admin-brand-image{max-height:min(35vh,260px)!important;max-width:calc(100vw - 36px)!important;}}


/* Align homepage logo with the tagline and feature descriptions without changing its configured size. */
.auth-brand .brand-logo-home-image{
  align-self:flex-start;
  transform:translateX(-28px);
}
@media(max-width:1000px){
  .auth-brand .brand-logo-home-image{transform:translateX(0);}
}

/* Studio56 CMS admin refresh: true single-section workspace, refined sidebar and mobile drawer */
.admin-page{background:#f3f6fb;color:#1d2939}
.admin-shell{grid-template-columns:264px minmax(0,1fr);background:#f3f6fb}
.admin-sidebar{z-index:20;background:#101b2d;border-right:1px solid #22314a;padding:22px 14px 16px;box-shadow:5px 0 24px rgba(15,23,42,.04)}
.admin-brand{min-height:64px;padding:5px 10px 20px;border-bottom-color:#29374d}
.admin-brand b{font-size:20px;letter-spacing:.2px}
.admin-brand small{letter-spacing:2px}
.admin-nav-label{margin:24px 10px 10px;color:#93a4bb}
.admin-nav{overflow-y:auto;min-height:0;scrollbar-width:thin;scrollbar-color:#34445c transparent}
.admin-nav a{min-height:43px;padding:10px 12px;border-radius:10px;color:#c1ccdc;font-size:12px;transition:background .15s ease,border-color .15s ease,transform .15s ease}
.admin-nav a span{font-size:17px;color:#9fb5d4}
.admin-nav a:hover{background:#1b2a40;border-color:#2c405c;transform:translateX(1px)}
.admin-nav a.active{background:linear-gradient(100deg,#2156a6,#17447e);border-color:#2c68bd;box-shadow:inset 3px 0 #7db6ff;color:#fff}
.admin-nav a.active span{color:#fff}
.admin-nav-search{display:flex;align-items:center;gap:8px;margin:0 2px 12px;padding:0 10px;border:1px solid #34445c;background:#0b1423;border-radius:9px;color:#9fb2cc}
.admin-nav-search span{font-size:20px;line-height:1}
.admin-nav-search input{width:100%;min-width:0;padding:10px 0;border:0!important;outline:0!important;background:transparent!important;color:#f1f5f9!important;font:inherit;font-size:12px!important;box-shadow:none!important}
.admin-nav-search input::placeholder{color:#7f91aa}
.admin-mobile-tools{display:flex;align-items:center;justify-content:space-between;gap:10px}
.admin-menu-toggle{display:none;border:1px solid #3c4d66;background:#1a2940;color:#fff;border-radius:9px;padding:9px 12px;font-weight:700;cursor:pointer}
.admin-sidebar-bottom{border-top-color:#29374d}
.admin-sidebar-bottom a{color:#b7d6ff}
.admin-sidebar-bottom small{color:#8798b1}
.admin-main{max-width:1600px;padding:30px clamp(20px,3vw,48px) 36px;color:#243247}
.admin-topbar{padding:22px 24px;margin-bottom:22px;background:#fff;border:1px solid #e1e7f0;border-radius:16px;box-shadow:0 5px 20px rgba(22,34,51,.04)}
.admin-eyebrow,.section-kicker{color:#316bc0}
.admin-topbar h1{font-size:27px;color:#17243a}
.admin-subtitle{color:#718096}
.admin-user{background:#f7f9fc;border-color:#e1e7f0;color:#26364c}
.admin-user b{color:#1c2b40}
.admin-user small{color:#718096}
.admin-avatar{background:#e4efff;color:#2559a5}
.admin-notice{margin-bottom:20px;background:#ecfdf5;border-color:#a7f3d0;color:#047857}
.admin-stats{gap:16px;margin-bottom:22px}
.admin-stat{background:#fff;border-color:#e1e7f0;box-shadow:0 5px 20px rgba(22,34,51,.035)}
.admin-stat small{color:#74839a}
.admin-stat b{color:#1d2b40}
.admin-stat div>span{color:#7b8799}
.admin-section{margin:0 0 24px;scroll-margin-top:16px;animation:adminSectionIn .18s ease-out}
.admin-section[hidden],#overview[hidden]{display:none!important}
@keyframes adminSectionIn{from{opacity:.65;transform:translateY(3px)}to{opacity:1;transform:translateY(0)}}
.section-heading h2{color:#1b2b42;font-size:23px}
.section-heading p{color:#728198;font-size:13px}
.admin-card{background:#fff;border-color:#e2e8f0;box-shadow:0 6px 22px rgba(22,34,51,.035);border-radius:14px;color:#26364b}
.admin-field label,.upload-bg-form label{color:#34445a}
.admin-field input:not([type=color]),.admin-field select,.admin-field textarea{background:#f8fafc;border-color:#d7e0eb;color:#26364b;border-radius:9px}
.admin-field input:focus,.admin-field textarea:focus,.admin-field select:focus{outline:2px solid #bfdbfe;border-color:#6095df}
.admin-field small,.admin-card-footer small{color:#718198}
.admin-card-footer{border-top-color:#e8edf4}
.admin-card button,.upload-bg-form button{background:#245db4;border-color:#245db4;border-radius:9px;box-shadow:none}
.admin-card button:hover,.upload-bg-form button:hover{filter:brightness(1.07)}
.admin-page .admin-field label:has(input[type=checkbox]){color:#34445a}
.admin-page input[type=checkbox]:not(.admin-ball-choice input){background:#f8fafc;border-color:#a8b6c8;box-shadow:none}
.admin-page input[type=checkbox]:not(.admin-ball-choice input):checked{background:#2563eb;border-color:#2563eb;box-shadow:0 0 0 2px #dbeafe}
.admin-page input[type=checkbox]:not(.admin-ball-choice input)::before{border-color:#fff}
.admin-users th{background:#f1f5f9;color:#66758b}
.admin-users td{border-top-color:#e7edf4;color:#4b5b70}
.admin-users td b{color:#1d2b40}
.admin-footer{border-top-color:#e1e7f0;color:#7b8799}
@media(max-width:950px){.admin-shell{grid-template-columns:230px minmax(0,1fr)}.admin-sidebar{padding-left:11px;padding-right:11px}}
@media(max-width:700px){
 .admin-shell{display:block}
 .admin-sidebar{position:sticky;top:0;height:auto;max-height:100vh;overflow:visible;padding:10px 12px;background:#101b2d;border-right:0;border-bottom:1px solid #2b3a52;box-shadow:0 5px 18px rgba(15,23,42,.12)}
 .admin-brand{min-height:0;padding:4px 5px 10px;border-bottom:0}
 .admin-brand b{font-size:18px}
 .admin-mobile-tools{padding:8px 3px 0}
 .admin-nav-label{margin:7px 0;color:#a8b8ce}
 .admin-menu-toggle{display:block}
 .admin-nav{display:none;max-height:65vh;overflow-y:auto;padding:10px 0 4px}
 .admin-nav.is-open{display:grid;grid-template-columns:1fr 1fr;gap:5px}
 .admin-nav-search{grid-column:1/-1;margin-bottom:5px}
 .admin-nav a{font-size:11px;min-height:40px;padding:9px 8px;gap:7px}
 .admin-nav a span{font-size:14px;width:18px;min-width:18px}
 .admin-sidebar-bottom{margin-top:0;padding:10px 4px 2px;flex-direction:row;justify-content:space-between}
 .admin-sidebar-bottom small{display:none}
 .admin-main{padding:14px 12px 28px}
 .admin-topbar{padding:17px 15px;gap:10px;border-radius:13px}
 .admin-topbar h1{font-size:22px}
 .admin-user{max-width:135px;overflow:hidden}
 .admin-user b{overflow-wrap:anywhere}
 .admin-stats{grid-template-columns:1fr}
}

/* LIVE badge is visible only while the radio stream is actually playing. */
.radio-track-line .radio-live-label{display:none}
.radio-track-line.is-live .radio-live-label{display:inline-flex;align-items:center}
