*{ box-sizing:border-box; }

.noto-color-emoji-regular {
  font-family: "Noto Color Emoji", sans-serif;
  font-weight: 400;
  font-style: normal;
}

html,body{
  margin:0;
  width:100%;
  height:100%;
  background:#000;
  overflow:hidden;
  color-scheme: dark;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, Noto Color Emoji;
}

#app{
  width:1080px;
  height:1920px;
  position:relative;
}

.count{
  position:absolute;
  left:28px;
  top:28px;
  color:#fff;
  font-size:34px;
  font-weight:700;
  opacity:0.95;
  z-index:50;
}

/* ===========================
   RIGHT GUEST GRID
   =========================== */
.request-grid{
  position:absolute;
  right:-103px;
  top:36px;
  width:320px;
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:0;
  z-index:20;
}

/* ===========================
   CENTER MIC HOST PANEL
   =========================== */
.mic-host-panel{
  position:absolute;
  left:544px;
  top:36px;
  width:320px;
  height:640px;
  z-index:18;
  pointer-events:none;
}

.mic-host-stage{
  position:relative;
  width:100%;
  height:100%;
  overflow:hidden;
  border-radius:0;
  background:
    radial-gradient(circle at top, #151515 0%, #090909 58%, #040404 100%);
  border:1px solid #111;
}

.mic-host-stage::before{
  content:"";
  position:absolute;
  inset:0;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.025), rgba(255,255,255,0) 28%),
    radial-gradient(circle at center, rgba(255,255,255,0.025), rgba(255,255,255,0) 62%);
  pointer-events:none;
  z-index:1;
}

.mic-host-media-layer{
  position:absolute;
  inset:0;
  z-index:0;
  overflow:hidden;
  background:#050505;
}

.mic-host-photo,
.mic-host-video,
.mic-host-screen{
  position:absolute;
  top:50%;
  left:50%;
  width:100%;
  height:100%;
  min-width:100%;
  min-height:100%;
  object-fit:cover;
  display:block;
  opacity:0;
  pointer-events:none;
  transition:opacity .22s ease;
  background:#000;
  transform:translate(-50%, -50%) scale(1);
  transform-origin:center center;
}

.mic-host-webcam{
  position:absolute;
  top:50%;
  left:50%;
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
  opacity:0;
  pointer-events:none;
  transition:opacity .22s ease;
  background:#000;
  transform:translate(-50%, -50%) rotate(0deg) scaleX(1);
  transform-origin:center center;
}

.mic-host-photo.is-on,
.mic-host-video.is-on,
.mic-host-webcam.is-on,
.mic-host-screen.is-on{
  opacity:1;
}

.mic-host-placeholder{
  position:absolute;
  inset:0;
  display:flex;
  align-items:center;
  justify-content:center;
  z-index:2;
  transition:opacity .18s ease;
}

.mic-host-placeholder.is-hidden{
  opacity:0;
}

.mic-host-plus{
  font-size:88px;
  line-height:1;
  color:#8a8a8a;
  font-weight:300;
  opacity:0.9;
}

.mic-reactive-border{
  position:absolute;
  inset:0;
  border:2px solid transparent;
  opacity:0;
  transition:opacity 0.18s ease;
  box-shadow:
    0 0 0 1px rgba(92,167,253,0.08) inset,
    0 0 10px rgba(92,167,253,0.18),
    0 0 22px rgba(92,167,253,0.18);
  z-index:3;
}

.mic-host-panel.active .mic-reactive-border{
  border-color:#5ca7fd;
  opacity:1;
}

/* ===========================
   GIFT VIDEO PANEL
   =========================== */
.gift-video-panel{
    z-index:9999999 !important;
  position:absolute;
  left:620px;
  top:420px;
  width:420px;              /* <- ეს არის საერთო width ყველა ვიდეოსთვის */
  height:700px;             /* <- მხოლოდ სამუშაო არეა, ვიდეოს height არ ვაძალებთ */
  z-index:35;
  opacity:0;
  pointer-events:none;
  transition:opacity .18s ease;
  overflow:visible;

  --gift-scale: 1;
  --gift-x: 0px;
  --gift-y: 0px;
}

.gift-video-panel.active{
  opacity:1;
  pointer-events:none;
}

.gift-video-stage{
  position:relative;
  width:100%;
  height:100%;
  overflow:visible;
  background:transparent;
  border:none;
  box-shadow:none;
}

.gift-video-player{
  position:absolute;
  left:50%;
  bottom:0;
  width:100%;
  height:auto !important;
  max-width:none;
  max-height:none;
  display:block;
  background:transparent;
  pointer-events:none;
  object-fit:contain;
  object-position:center bottom;
  transform:
    translateX(-50%)
    translate(var(--gift-x), var(--gift-y))
    scale(var(--gift-scale));
  transform-origin:center bottom;
  filter: drop-shadow(0 0 12px rgba(0,0,0,0.18));
}

/* ===========================
   REQUEST CARD
   =========================== */
   .gift-video-stop{
    display: none;
   }
.request-card{
  aspect-ratio:1/1;
  position:relative;
  overflow:hidden;
  border-radius:0;
  background: radial-gradient(circle at top, #1a1a1a 0%, #0b0b0b 60%, #050505 100%);
  border:1px solid #111;
  display:flex;
  align-items:center;
  justify-content:center;
  --avatar-bg: none;
}

.request-card.guest-speaking{
border: solid 1px #5ca7fd;
}

.request-card.guest-speaking .mute-fixed{
  opacity:0 !important;
}

.mute-fixed{
  transition: opacity .18s ease;
}

.request-card::before{
  content:"";
  position:absolute;
  inset:-60px;
  background-image: var(--avatar-bg);
  background-size: cover;
  background-position:center;
  filter: blur(40px) saturate(1.3);
  opacity:0.45;
  z-index:0;
}

.request-card::after{
  content:"";
  position:absolute;
  inset:0;
  background: rgba(0,0,0,0.55);
  z-index:0;
}

.request-card > *{
  position:relative;
  z-index:1;
}

/* MUTE */
.mute-fixed{
  position:absolute;
  right:3px;
  bottom:5px;
  width:30px;
  height:30px;
  opacity:0.95;
  z-index:2;
  pointer-events:none;
  display:none;
}
.request-card.is-filled .mute-fixed{
  display:block;
}

/* EMPTY UI */
.empty-ui{
  text-align:center;
  display:flex;
  flex-direction:column;
  gap:10px;
  align-items:center;
  justify-content:center;
}
.empty-ui .plus{
  font-size:65px;
  font-weight:400;
  color:#8a8a8a;
  line-height:1;
}
.empty-ui .label{
  margin:0;
  font-size:20px;
  font-weight:500;
  color:#8a8a8a;
}

/* FILLED UI */
.filled-ui{
  display:none;
  width:100%;
  height:100%;
  padding:10px;
}
.request-card.is-filled .empty-ui{ display:none; }
.request-card.is-filled .filled-ui{ display:block; }

/* top counter bar */
.top{
  display:inline-flex;
  align-items:center;
  gap:8px;
  background:#2c2a27;
  padding:0 10px;
  height:30px;
  border-radius:20px;
}

.coin-img{
  width:22px;
  height:22px;
}

.counter{
  color:#fff;
  font-size:18px;
  font-weight:800;
  height:22px;
  line-height:22px;
  overflow:hidden;
}
.counter-value{
  display:inline-block;
  font-size:18px;
  font-weight:400;
}
.counter.anim-up .counter-value{
  animation: countUp 620ms ease-out;
}
@keyframes countUp{
  from { transform: translateY(110%); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}

/* avatar circle */
.midle{
  margin:4px auto 10px;
  width:75px;
  height:75px;
  border-radius:50%;
  overflow:hidden;
}

.avatar-img{
  width:100%;
  height:100%;
  object-fit:cover;
  border-radius:50%;
  display:block;
  opacity:0;
  transition: opacity 120ms ease;
}
.request-card.avatar-ready .avatar-img{
  opacity:1;
}

/* bottom pill */
.bottom{
  position:absolute;
  left:10px;
  bottom:4px;
  min-width:56px;
  max-width:110px;
  width:auto;
  height:31px;
  background:#2c2a27;
  border-radius:999px;
  padding:3px 6px 3px 10px;
  display:inline-flex;
  align-items:center;
  gap:8px;
  overflow:hidden;
}

.nickname{
  margin:0;
  color:#fff;
  font-size:20px;
  font-weight:350;
  line-height:1.35;
  display:block;
  flex:1 1 auto;
  min-width:0;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}

.plus-bubble{
  position:relative;
  width:24px;
  height:24px;
  border-radius:50%;
  background:#585652;
  display:flex;
  align-items:center;
  justify-content:center;
  color:#fff;
  font-weight:300;
  font-size:30px;
  flex:0 0 auto;
  padding-bottom:5px;
  right:-2px;
}

/* LION POP */
.request-card .lion-pop{
  position:absolute;
  top:8px;
  right:8px;
  width:34px;
  height:34px;
  opacity:0;
  transform:scale(.85);
  pointer-events:none;
  transition: opacity .55s ease, transform .55s ease;
  filter: drop-shadow(0 4px 10px rgba(0,0,0,.35));
  z-index:5;
}
.request-card.lion-visible .lion-pop{
  opacity:1;
  transform:scale(1);
}

/* ===========================
   LEFT CONTROL AREA
   =========================== */
.inputs-wrapper{
  position:absolute;
  left:24px;
  top:84px;
  width:470px;
  max-width:470px;
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:14px 12px;
  align-items:start;
  z-index:40;
}

/* API ROWS */
.api-rows{
  grid-column:1 / -1;
  display:grid;
  grid-template-columns:1fr 1fr;
  column-gap:12px;
  row-gap:12px;
  align-items:start;
}

.api-rows .oneperson{
  display:flex;
  gap:6px;
  align-items:center;
}

.personone{
  width:104px;
  height:34px;
  border-radius:12px;
  border:none;
  outline:none;
  text-align:center;
  font-weight:800;
  color:#fff;
  background:#141414;
}

.btn{
  height:34px;
  border:none;
  border-radius:10px;
  padding:0 10px;
  font-weight:800;
  cursor:pointer;
  flex:0 0 auto;
}
.btn.search{ background:#1f7a2e; color:#fff; }
.btn.clear{ background:#a61b1b; color:#fff; }
.btn:disabled{ opacity:0.6; cursor:not-allowed; }

/* sendlion */
.sendlion{
  position:absolute;
  left:15px;
  top:520px;
  width:350px;
  transform: translateX(-120%);
  opacity:0;
  pointer-events:none;
}
.sendlion.show{ animation: lionIn 350ms ease-out forwards; }
.sendlion.hide{ animation: lionFade 1000ms ease-out forwards; }

@keyframes lionIn{
  from { transform: translateX(-120%); opacity: 0; }
  to   { transform: translateX(0); opacity: 1; }
}
@keyframes lionFade{
  from { opacity: 1; transform: translateX(0) scale(1); }
  to   { opacity: 0; transform: translateX(0) scale(1); }
}

/* Manual Add */
.manual-panel{
  grid-column:1 / -1;
  margin-top:10px;
  padding:10px 12px;
  border-radius:16px;
  background: rgba(16,16,16,0.88);
  border:1px solid #1a1a1a;
  width:360px;
  max-width:360px;
  margin-bottom:6px;
  margin-left: 46px;
}

.manual-title{
  color:#fff;
  font-weight:800;
  margin:0 0 8px 0;
  font-size:14px;
  opacity:0.9;
}

.manual-row{
  display:flex;
  align-items:center;
  gap:8px;
  flex-wrap:wrap;
}

.manual-row label{
  color:#9c9c9c;
  font-size:11px;
  font-weight:800;
  margin-right:2px;
}

.manual-row select,
.manual-row input{
  height:32px;
  border-radius:12px;
  border:none;
  outline:none;
  padding:0 10px;
  background:#141414;
  color:#fff;
  font-weight:800;
  font-size:12px;
}

.manual-slot{ width:64px; }
.manual-name{ width:150px; }
.manual-avatar{ width:216px; }

.btn.manual-add{
  background:#1f7a2e;
  color:#fff;
  height:32px;
  border-radius:12px;
  padding:0 12px;
}

.btn.manual-clear{
  background:#3a3a3a;
  color:#fff;
  height:32px;
  border-radius:12px;
  padding:0 12px;
}

.manual-hint{ display:none; }

.dk-collapsible{
  grid-column:1 / -1;
  width:430px;
  max-width:430px;
  border-radius:16px;
  background: rgba(16,16,16,0.88);
  border:1px solid #1a1a1a;
  overflow:hidden;
}

.dk-collapsible-head{
  width:100%;
  height:42px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:0 12px;
  background:transparent;
  color:#fff;
  border:none;
  cursor:pointer;
  font-size:13px;
  font-weight:800;
}

.dk-caret{
  font-size:40px;
  color:#ffffff;
  transition:transform .18s ease;
}

.dk-collapsible.is-open .dk-caret{
  transform:rotate(180deg);
}

.dk-collapsible-body{
  display:none;
  padding:0 12px 12px;
}

.dk-collapsible.is-open .dk-collapsible-body{
  display:block;
}

/* AUTO TOGGLE */
.auto-toggle-wrap{
  width:100%;
  min-height:46px;

  display:flex;
  align-items:center;
  justify-content:space-between;

  padding:7px 10px;

  border-radius:12px;

  background:rgba(255,255,255,0.035);
  border:1px solid rgba(255,255,255,0.05);

  margin-top:6px;

  gap:10px;
}

.gift-video-control-panel{
  width:100%;
  padding:8px 10px;
  margin-top:8px;
  border-radius:12px;
  background: rgba(255,255,255,0.04);
  border:1px solid rgba(255,255,255,0.05);
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:8px;
  flex-wrap:wrap;
}

.gift-video-control-title{
  display:none;
}

.gift-video-control-row{
  display:flex;
  align-items:center;
  gap:6px;
}

.btn.gift-video-move-btn,
.btn.gift-video-reset-btn{
  width:28px;
  height:28px;
  padding:0;
  border-radius:8px;
  font-size:12px;
  background:#1a1a1a;
  color:#fff;
  border:1px solid rgba(255,255,255,0.08);
}

.btn.gift-video-move-btn:active,
.btn.gift-video-reset-btn:active{
  transform:scale(0.92);
}

.gift-video-pos-text{
  font-size:10px;
  color:#777;
  min-width:80px;
  text-align:right;
}

.auto-toggle-title{
  color:#d8d8d8;

  font-size:11px;
  font-weight:700;

  line-height:1;

  white-space:nowrap;

  opacity:.9;

  user-select:none;
}

.auto-toggle-btn{
  position:relative;

  width:48px;
  height:26px;

  min-width:48px;

  padding:0 !important;

  border:none;
  border-radius:999px;

  background:#1687ff;

  cursor:pointer;

  color:transparent !important;
  font-size:0 !important;

  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,.12),
    0 3px 8px rgba(0,0,0,.25);

  transition:
    background .2s ease,
    box-shadow .2s ease;

  flex:0 0 auto;
}

.auto-toggle-btn::after{
  content:"";

  position:absolute;

  width:20px;
  height:20px;

  top:3px;
  left:25px;

  border-radius:50%;

  background:#fff;

  box-shadow:
    0 2px 6px rgba(0,0,0,.35);

  transition:
    left .2s ease,
    transform .15s ease;
}

.auto-toggle-btn.off{
  background:#343434;
}

.auto-toggle-btn.off::after{
  left:3px;
}

.auto-toggle-btn:active::after{
  transform:scale(.88);
}

/* ===========================
   CENTER MEDIA PANEL
   =========================== */
.center-media-panel{
  width:100%;
  max-width:100%;
  padding:0;
  border-radius:0;
  background:transparent;
  border:none;
}

.center-media-title{
  color:#fff;
  font-weight:800;
  margin:0 0 10px 0;
  font-size:14px;
  opacity:0.95;
}

.center-media-row{
  display:flex;
  align-items:center;
  gap:8px;
  flex-wrap:wrap;
}

.center-media-file-btn{
  position:relative;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  height:34px;
  padding:0 14px;
  border-radius:12px;
  background:#232323;
  color:#fff;
  font-weight:800;
  font-size:12px;
  cursor:pointer;
  overflow:hidden;
}

.center-media-file-btn input[type="file"]{
  position:absolute;
  inset:0;
  opacity:0;
  cursor:pointer;
}

.btn.center-webcam-btn{
  background:#0f6fd8;
  color:#fff;
  height:34px;
  border-radius:12px;
  padding:0 14px;
}

.btn.center-screen-btn{
  background:#15803d;
  color:#fff;
  height:34px;
  border-radius:12px;
  padding:0 14px;
}

.btn.center-mirror-btn{
  background:#7a3cff;
  color:#fff;
  height:34px;
  border-radius:12px;
  padding:0 14px;
}

.btn.center-rotate-btn{
  background:#e08a00;
  color:#fff;
  height:34px;
  border-radius:12px;
  padding:0 14px;
}

.btn.center-clear-btn{
  background:#4a4a4a;
  color:#fff;
  height:34px;
  border-radius:12px;
  padding:0 14px;
}

.btn.center-stopfx-btn{
  background:#d53b3b;
  color:#fff;
  height:34px;
  border-radius:12px;
  padding:0 14px;
}

.center-media-status{
  margin-top:8px;
  font-size:12px;
  color:#b7b7b7;
  min-height:16px;
}

.center-media-transform-row{
  margin-top:10px;
  display:flex;
  align-items:center;
  gap:6px;
  flex-wrap:wrap;
}

.btn.center-move-btn,
.btn.center-reset-view-btn{
  width:28px;
  height:28px;
  padding:0;
  border-radius:8px;
  font-size:12px;
  background:#1a1a1a;
  color:#fff;
  border:1px solid rgba(255,255,255,0.08);
}

.btn.center-move-btn:active,
.btn.center-reset-view-btn:active{
  transform:scale(0.92);
}

.center-transform-text{
  font-size:10px;
  color:#777;
  margin-left:-65px !important;
  margin-top: 100px;
  white-space:nowrap;
}

.center-media-status.err{
  color:#ff6e6e;
}

/* CUSTOM GIFT PANEL */
.custom-gift-panel{
  width:100%;
  max-width:100%;
  padding:0;
  border-radius:0;
  background:transparent;
  border:none;
}

.custom-gift-title{
  color:#fff;
  font-weight:800;
  margin:0 0 10px 0;
  font-size:14px;
  opacity:0.95;
}

.custom-gift-row{
  display:flex;
  align-items:center;
  gap:8px;
  flex-wrap:wrap;
}

.custom-file-btn{
  position:relative;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  height:34px;
  padding:0 14px;
  border-radius:12px;
  background:#232323;
  color:#fff;
  font-weight:800;
  font-size:12px;
  cursor:pointer;
  overflow:hidden;
}

.custom-file-btn input[type="file"]{
  position:absolute;
  inset:0;
  opacity:0;
  cursor:pointer;
}

.custom-video-file-btn{
  background:#2b1f3c;
}

.custom-gift-coins{
  width:110px;
  height:34px;
  border-radius:12px;
  border:none;
  outline:none;
  padding:0 10px;
  background:#141414;
  color:#fff;
  font-weight:800;
  font-size:12px;
}

.btn.custom-gift-add{
  background:#0f8f4b;
  color:#fff;
  height:34px;
  border-radius:12px;
  padding:0 14px;
}

.custom-gift-status{
  margin-top:8px;
  font-size:12px;
  color:#b7b7b7;
  min-height:16px;
}

.custom-gift-status.err{
  color:#ff6e6e;
}

/* GIFT BAR */
.giftbar{
  grid-column:1 / -1;
  width:360px;
  max-width:360px;
  height:253px;
  padding:12px;
  margin-top:8px;
margin-left: 46px;
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  justify-content:flex-start;
  align-content:flex-start;
  align-items:flex-start;

  overflow-y:auto;
  overflow-x:hidden;

  border-radius:14px;
  background: rgba(255,255,255,0.06);
  box-shadow: 0 0 0 1px rgba(255,255,255,0.06) inset;

  -webkit-overflow-scrolling: touch;
}

.giftbar::-webkit-scrollbar{
  width:8px;
}

.giftbar::-webkit-scrollbar-track{
  background:rgba(255,255,255,0.04);
  border-radius:999px;
}

.giftbar::-webkit-scrollbar-thumb{
  background:rgba(255,255,255,0.18);
  border-radius:999px;
}

.giftbar::-webkit-scrollbar-thumb:hover{
  background:rgba(255,255,255,0.28);
}

.giftbtn{
  position:relative;
  width:72px;
  height:72px;
  padding:8px;
  border-radius:14px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border:1px solid rgba(255,255,255,0.08);
  background: rgba(0,0,0,0.35);
  cursor:pointer;
  transition: transform .12s ease, box-shadow .12s ease, border-color .12s ease;
}

.giftbtn:hover{
  transform: scale(1.03);
}

.giftbtn.active{
  border-color: rgba(0,255,120,0.55);
  box-shadow: 0 0 0 2px rgba(0,255,120,0.18), 0 0 28px rgba(0,255,120,0.18);
}

.giftbtn img{
  width:100%;
  height:100%;
  max-width:56px;
  max-height:56px;
  object-fit:contain;
  pointer-events:none;
  image-rendering:auto;
}

.giftbtn-coins{
  position:absolute;
  left:5px;
  right:5px;
  bottom:4px;
  text-align:center;
  font-size:10px;
  font-weight:900;
  color:#fff;
  line-height:1;
  text-shadow: 0 1px 3px rgba(0,0,0,.85);
  pointer-events:none;
}

.giftbtn-custom{
  border-color: rgba(80,180,255,.22);
  box-shadow: inset 0 0 0 1px rgba(80,180,255,.08);
}

.giftbtn-delete{
  position:absolute;
  top:-6px;
  right:-6px;
  width:20px;
  height:20px;
  border-radius:50%;
  background:#e23b3b;
  color:#fff;
  font-size:14px;
  font-weight:900;
  line-height:20px;
  text-align:center;
  box-shadow: 0 2px 8px rgba(0,0,0,.35);
  cursor:pointer;
  pointer-events:auto;
  user-select:none;
}

.giftbtn-delete:hover{
  transform:scale(1.08);
}

@media (max-width: 900px){
  .giftbar{ max-width:100%; min-height:110px; }
  .giftbtn{ width:66px; height:66px; }
  .giftbtn img{ max-width:50px; max-height:50px; }
}

.rose-toggle-btn{
  cursor:pointer;
  border:none;
  border-radius:12px;
  padding:8px 12px;
  font-weight:900;
  font-size:12px;
  letter-spacing:.4px;
  color:#fff;
  background: rgba(60,180,80,.95);
  box-shadow: 0 6px 16px rgba(0,0,0,.25);
  user-select:none;
}
.rose-toggle-btn.off{
  background: rgba(200,60,60,.95);
}

.personone.dk-input-error{
  box-shadow: 0 0 0 2px rgba(255,60,60,.85), 0 0 18px rgba(255,60,60,.25);
}

.gift-video-pos-text,
.center-transform-text{
  margin-left:auto;
}

.center-media-transform-row{
  padding-top:8px;
}

.center-media-status,
.custom-gift-status{
  margin-top:10px;
}


.top-icon-panel{
  width:100%;
  max-width:100%;
  padding:0;
  border-radius:0;
  background:transparent;
  border:none;
}

.top-icon-row{
  display:flex;
  align-items:center;
  gap:8px;
  flex-wrap:wrap;
}

.top-icon-file-btn{
  position:relative;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  height:34px;
  padding:0 14px;
  border-radius:12px;
  background:#232323;
  color:#fff;
  font-weight:800;
  font-size:12px;
  cursor:pointer;
  overflow:hidden;
}

.top-icon-file-btn input[type="file"]{
  position:absolute;
  inset:0;
  opacity:0;
  cursor:pointer;
}

.btn.top-icon-apply-btn{
  background:#0f8f4b;
  color:#fff;
  height:34px;
  border-radius:12px;
  padding:0 14px;
}

.btn.top-icon-default-btn{
  background:#4a4a4a;
  color:#fff;
  height:34px;
  border-radius:12px;
  padding:0 14px;
}

.top-icon-status{
  margin-top:8px;
  font-size:12px;
  color:#b7b7b7;
  min-height:16px;
}

.top-icon-status.err{
  color:#ff6e6e;
}

.layout-switch-btn{
  background:#0f6fd8 !important;
  color:#fff;
  min-width:150px;
  font-weight:900;
}

body.layout-classic .request-card[data-slot="9"],
body.layout-classic .oneperson[data-slot="9"]{
  display:none !important;
}

body.layout-tiktok .mic-host-panel{
  left:544px !important;
  top:36px !important;
  width:320px !important;
  height:320px !important;
}

body.layout-tiktok .request-grid{
  left:544px !important;
  top:36px !important;
  width:648px !important;
  grid-template-columns:repeat(4, 156px) !important;
  grid-auto-rows:156px !important;
  gap:6px !important;
}

body.layout-tiktok .request-card{
  aspect-ratio:auto;
  width:100%;
  height:100%;
  border-radius:14px;
}

body.layout-tiktok .request-card[data-slot="1"]{
  grid-column:3 / span 2 !important;
  grid-row:1 / span 2 !important;
  width:320px !important;
  height:320px !important;
}

body.layout-tiktok .request-card[data-slot="2"]{ grid-column:1 !important; grid-row:3 !important; }
body.layout-tiktok .request-card[data-slot="3"]{ grid-column:2 !important; grid-row:3 !important; }
body.layout-tiktok .request-card[data-slot="4"]{ grid-column:3 !important; grid-row:3 !important; }
body.layout-tiktok .request-card[data-slot="5"]{ grid-column:4 !important; grid-row:3 !important; }

body.layout-tiktok .request-card[data-slot="6"]{ grid-column:1 !important; grid-row:4 !important; }
body.layout-tiktok .request-card[data-slot="7"]{ grid-column:2 !important; grid-row:4 !important; }
body.layout-tiktok .request-card[data-slot="8"]{ grid-column:3 !important; grid-row:4 !important; }
body.layout-tiktok .request-card[data-slot="9"]{ grid-column:4 !important; grid-row:4 !important; }
body.layout-classic .mic-host-panel,
body.layout-classic .mic-host-stage,
body.layout-classic .mic-host-photo,
body.layout-classic .mic-host-video,
body.layout-classic .mic-host-webcam,
body.layout-classic .mic-host-screen{
  border-radius:0 !important;
}
body.layout-tiktok .mic-host-panel{
  border-radius:20px;
  overflow:hidden;
}

body.layout-tiktok .mic-host-stage{
  border-radius:20px;
  overflow:hidden;
}

body.layout-tiktok .mic-host-photo,
body.layout-tiktok .mic-host-video,
body.layout-tiktok .mic-host-webcam,
body.layout-tiktok .mic-host-screen{
  border-radius:20px;
}

body.layout-tiktok .request-card[data-slot="1"] .midle{
  width:150px;
  height:150px;
  margin:70px auto 0 !important;
}

body.layout-tiktok .request-card[data-slot="2"] .midle{
  margin:0px auto 0 !important;
}
body.layout-tiktok .request-card[data-slot="3"] .midle{
  margin:0px auto 0 !important;
}
body.layout-tiktok .request-card[data-slot="4"] .midle{
  margin:0px auto 0 !important;
}
body.layout-tiktok .request-card[data-slot="5"] .midle{
  margin:0px auto 0 !important;
}
body.layout-tiktok .request-card[data-slot="6"] .midle{
  margin:0px auto 0 !important;
}
body.layout-tiktok .request-card[data-slot="7"] .midle{
  margin:0px auto 0 !important;
}
body.layout-tiktok .request-card[data-slot="8"] .midle{
  margin:0px auto 0 !important;
}
body.layout-tiktok .request-card[data-slot="9"] .midle{
  margin:0px auto 0 !important;
}

body.layout-tiktok .request-card[data-slot="1"] .avatar-img{
  width:100%;
  height:100%;
  object-fit:cover;
}

body.layout-tiktok .request-card[data-slot="1"] .top{
  position:absolute;
  left:14px;
  top:12px;
}

body.layout-tiktok .request-card[data-slot="1"] .bottom{
  left:14px;
  bottom:12px;

}



body.layout-tiktok .mic-host-panel,
body.layout-tiktok .mic-host-stage,
body.layout-tiktok .mic-host-media-layer,
body.layout-tiktok .mic-reactive-border{
  border-radius:20px;
  overflow:hidden;
}

body.layout-tiktok .mic-reactive-border{
  inset:0;
  box-sizing:border-box;
}

body.layout-classic .mic-host-panel,
body.layout-classic .mic-host-stage,
body.layout-classic .mic-host-media-layer,
body.layout-classic .mic-reactive-border{
  border-radius:0 !important;
}

body.layout-tiktok .request-card[data-slot="1"] .mute-fixed{
  bottom:12px !important;
}


.guest-bg-video{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  opacity:0;
  z-index:1;
  pointer-events:none;
}

.request-card.has-guest-video .guest-bg-video{
  opacity:1;
}

.request-card.has-guest-video .midle{
  display:none !important;
}

.request-card.has-guest-video::before{
  display:none !important;
}

.request-card.has-guest-video::after{
  background:rgba(0,0,0,.15) !important;
}

.request-card.has-guest-video .top,
.request-card.has-guest-video .bottom,
.request-card.has-guest-video .mute-fixed,
.request-card.has-guest-video .lion-pop{
  z-index:6;
}

.guest-video-slot{
  height:32px;
  border-radius:10px;
  border:none;
  background:#141414;
  color:#fff;
  font-weight:800;
  padding:0 8px;
}

.guest-video-file-btn{
  position:relative;
  height:32px;
  padding:0 10px;
  border-radius:10px;
  background:#232323;
  color:#fff;
  font-weight:800;
  display:inline-flex;
  align-items:center;
  cursor:pointer;
  overflow:hidden;
}

.guest-video-file-btn input{
  position:absolute;
  inset:0;
  opacity:0;
  cursor:pointer;
}

.request-card.has-guest-video .guest-bg-video{
  z-index:0 !important;
}

.request-card.has-guest-video .filled-ui{
  position:relative;
  z-index:5 !important;
}

.request-card.has-guest-video .top{
  position:absolute;
  left:10px;
  top:8px;
  z-index:20 !important;
}

.request-card.has-guest-video .bottom{
  z-index:20 !important;
}

.request-card.has-guest-video .mute-fixed{
  z-index:21 !important;
}

body.layout-classic .bottom{
  max-width:110px !important;
}

.ui-style-switch-btn{
  background:#4a4a4a !important;
  color:#fff;
  min-width:135px;
  font-weight:900;
}

body.ui-modern .ui-style-switch-btn{
  background:#23b35a !important;
}

/* MODERN VISUAL ONLY — ფუნქციებს არ ეხება */
body.ui-modern .request-card{
  border-radius:18px !important;
  border:1px solid rgba(255,255,255,.08) !important;
  background:
    radial-gradient(circle at 35% 10%, rgba(255,255,255,.08), transparent 35%),
    linear-gradient(145deg, #242424 0%, #121212 60%, #090909 100%) !important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.06),
    0 10px 28px rgba(0,0,0,.30);
}

body.ui-modern .request-card::after{
  background:rgba(0,0,0,.42) !important;
}

body.ui-modern .mic-host-stage,
body.ui-modern .mic-host-panel,
body.ui-modern .mic-host-media-layer,
body.ui-modern .mic-reactive-border{
  border-radius:22px !important;
  overflow:hidden;
}

body.ui-modern .top{
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
    padding: 0 !important;
}

body.ui-modern .midle{
  border-radius:0 !important;
  clip-path: polygon(25% 6%, 75% 6%, 100% 50%, 75% 94%, 25% 94%, 0% 50%);
  overflow:hidden;
}

body.ui-modern .avatar-img{
  border-radius:0 !important;
}

body.ui-modern .bottom{
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
    padding: 0 !important;
}

body.ui-modern .plus-bubble{
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

body.ui-modern .mute-fixed{
  opacity:.78;
}

body.ui-modern .dk-collapsible{
  background:rgba(12,12,12,.94);
  border:1px solid rgba(255,255,255,.08);
  border-radius:18px;
}

body.ui-modern .auto-toggle-wrap,
body.ui-modern .gift-video-control-panel{
  background:rgba(255,255,255,.045);
  border:1px solid rgba(255,255,255,.07);
  border-radius:14px;
}

body.card-gift-icon-off .request-card .lion-pop{
  display:none !important;
}

body.card-gift-icon-off .request-card.lion-visible .lion-pop{
  display:none !important;
}


/* =========================================================
   GREEN SCREEN MODE
   ========================================================= */

.green-screen-stage{
  position:absolute;

  /* შენი წითლად მონიშნული მარჯვენა ტერიტორია */
  left:522px;
  top:24px;

  width:676px;
  height:1128px;

  background:#00ff00;

  display:none;

  pointer-events:none;

  z-index:10;
}


/* Green Screen ON */
body.green-screen-mode .green-screen-stage{
  display:block;
}


/* =====================================
   REQUEST BOXES TRANSPARENT
   ===================================== */
/* =====================================
   GREEN SCREEN REQUEST BOXES
   ===================================== */

/* =====================================
   GREEN SCREEN REQUEST BOXES
   ===================================== */


/* -------------------------------------
   EMPTY REQUEST BOX
   ------------------------------------- */

body.green-screen-mode .request-card:not(.is-filled){
  background:rgba(35, 35, 35, 0.959) !important;
  border:1px solid rgba(167, 167, 167, 0.795) !important;
  box-shadow:none !important;
}


/* ცარიელ ბოქსზე avatar background არ გვინდა */
body.green-screen-mode .request-card:not(.is-filled)::before{
  background:none !important;
  background-image:none !important;
  opacity:0 !important;
}


body.green-screen-mode .request-card:not(.is-filled)::after{
  background:transparent !important;
  opacity:0 !important;
}

/* Request PLUS გახდეს თეთრი */
body.green-screen-mode .request-card:not(.is-filled) .empty-ui .plus{
  color:#ffffff !important;
  opacity:1 !important;
font-weight: 600 !important;
  text-shadow:
    0 2px 4px #000,
    0 0 5px #000 !important;
}


/* Request ტექსტი გახდეს თეთრი */
body.green-screen-mode .request-card:not(.is-filled) .empty-ui .label{
  color:#ffffff !important;
  opacity:1 !important;
  font-weight:600 !important;

  text-shadow:
    0 2px 4px #000,
    0 0 5px #000 !important;
}



/* =====================================
   FILLED BOX — USER
   ===================================== */

/* მთავარი filled card იყოს მუქი და აღარ ატარებდეს მწვანეს */
body.green-screen-mode .request-card.is-filled{
  background:
    radial-gradient(
      circle at top,
      #1a1a1a 0%,
      #0b0b0b 58%,
      #050505 100%
    ) !important;

  border:1px solid #111 !important;
  box-shadow:none !important;
}


/* Avatar-ის ფერები ისევ გავრცელდეს card-ზე */
body.green-screen-mode .request-card.is-filled::before{
  content:"" !important;
  display:block !important;

  background-image:var(--avatar-bg) !important;
  background-size:cover !important;
  background-position:center !important;

  filter:blur(40px) saturate(1.35) !important;

  opacity:0.48 !important;
}


/* ძლიერი dark layer — მწვანე აღარ უნდა ჩანდეს */
body.green-screen-mode .request-card.is-filled::after{
  content:"" !important;
  display:block !important;

  background:rgba(0,0,0,0.62) !important;
  opacity:1 !important;
}


/* =====================================
   CENTER PANEL TRANSPARENT
   ===================================== */

body.green-screen-mode .mic-host-panel{
  background:transparent !important;
}

body.green-screen-mode .mic-host-stage{
  background:transparent !important;
}

body.green-screen-mode .mic-host-media-layer{
  background:transparent !important;
}


/* center panel overlay */
body.green-screen-mode .mic-host-stage::before{
  background:none !important;
  opacity:0 !important;
}


/* =====================================
   MEDIA BACKGROUND
   ===================================== */

body.green-screen-mode .mic-host-photo,
body.green-screen-mode .mic-host-video,
body.green-screen-mode .mic-host-webcam,
body.green-screen-mode .mic-host-screen,
body.green-screen-mode .guest-bg-video{
  background:transparent !important;
}


/* =====================================
   CONTROL PANEL
   ===================================== */

.green-screen-control-section .green-screen-toggle-btn{
  min-width:48px;
}

.green-screen-hint{
  margin-top:8px;
  color:#8f8f8f;
  font-size:11px;
  line-height:1.35;
}

  
/* =====================================
   TIKTOK DISPLAY NAME
   ===================================== */

.tiktok-display-name{
  position:absolute;

  left:495px;
  top:629px;

  width:320px;
  height:44px;

  display:none;
  align-items:center;
  justify-content:center;

  color:#fff;
  font-size:28px;
  font-weight:400;

  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;

  text-align:center;

  text-shadow:
    0 2px 4px rgba(0,0,0,0.95),
    0 0 6px rgba(0,0,0,0.85);

  z-index:999999;
  pointer-events:none;
}

.tiktok-display-name.show{
  display:flex;
}


/* DISPLAY NAME CONTROL PANEL */

.display-name-panel{
  grid-column:1 / -1;
  width:430px;
  padding:10px 12px;
  margin-top:4px;

  border-radius:16px;
  background:rgba(16,16,16,0.88);
  border:1px solid #1a1a1a;
}

.display-name-title{
  color:#fff;
  font-size:14px;
  font-weight:800;
  margin-bottom:8px;
}

.display-name-row{
  display:flex;
  align-items:center;
  gap:7px;
}

.display-name-input{
  width:210px;
  height:34px;

  border:none;
  box-shadow: 0px 0px 2px 2px rgba(66, 197, 248, 0.658);
  outline:none;
  border-radius:12px;

  background:#141414;
  color:#fff;

  padding:0 12px;

  font-size:12px;
  font-weight:800;
}

.btn.display-name-search{
  background:#1f7a2e;
  color:#fff;
}

.btn.display-name-clear{
  background:#a61b1b;
  color:#fff;
}

.display-name-status{
  min-height:15px;
  margin-top:6px;

  font-size:11px;
  color:#888;
}


.display-name-controls{
  display:flex;
  align-items:center;
  gap:5px;
  margin-top:10px;
}

.display-name-control{
  width:31px;
  height:30px;

  border:none;
  border-radius:8px;

  background:#1c1c1c;
  color:#fff;

  font-size:14px;
  font-weight:800;

  cursor:pointer;
}

.display-name-control:hover{
  background:#2a2a2a;
}

.display-name-save{
  height:30px;
  padding:0 12px;

  border:none;
  border-radius:8px;

  background:#16883c;
  color:#fff;

  font-size:11px;
  font-weight:900;

  cursor:pointer;
}

.display-name-position-info{
  margin-top:7px;

  color:#777;
  font-size:10px;
}


/* =====================================
   HOST BADGE
   ===================================== */

.host-badge{
  position:absolute;

  left:560px;
  top:55px;

  width:90px;
  height:auto;

  display:none;

  object-fit:contain;

  z-index:999999;
  pointer-events:none;
}

.host-badge.show{
  display:block;
}


/* HOST BADGE CONTROL PANEL */

.host-badge-panel{
  grid-column:1 / -1;
  width:430px;

  padding:10px 12px;
  margin-top:4px;

  border-radius:16px;
  background:rgba(16,16,16,0.88);
  border:1px solid #1a1a1a;
}

.host-badge-title{
  color:#fff;
  font-size:14px;
  font-weight:800;
  margin-bottom:8px;
}

.host-badge-row{
  display:flex;
  align-items:center;
  gap:7px;
}

.host-badge-file{
  display:none;
}

.host-badge-file-label{
  height:34px;
  padding:0 12px;

  display:flex;
  align-items:center;

  background:#232323;
  color:#fff;

  border-radius:10px;

  font-size:12px;
  font-weight:800;

  cursor:pointer;
}

.host-badge-clear{
  background:#a61b1b;
  color:#fff;
}

.host-badge-controls{
  display:flex;
  align-items:center;
  gap:5px;
  margin-top:10px;
}

.host-badge-control{
  width:31px;
  height:30px;

  border:none;
  border-radius:8px;

  background:#1c1c1c;
  color:#fff;

  font-weight:800;
  cursor:pointer;
}

.host-badge-save{
  height:30px;
  padding:0 12px;

  border:none;
  border-radius:8px;

  background:#16883c;
  color:#fff;

  font-size:11px;
  font-weight:900;

  cursor:pointer;
}

.host-badge-info{
  margin-top:7px;
  color:#777;
  font-size:10px;
}


/* =====================================================
   MINIMAL TOOLS SIDEBAR
   ===================================================== */

.dk-tools-menu{
  position:absolute;

  left:6px;      /* უფრო მარცხნივ */
  top:280px;

  width:52px;

  display:flex;
  flex-direction:column;
  align-items:center;
  gap:7px;

  padding:7px;

  border-radius:16px;

  background:rgba(15,15,15,.96);
  border:1px solid rgba(255,255,255,.07);

  box-shadow:0 12px 30px rgba(0,0,0,.35);

  z-index:5000;
}


/* BUTTON */

.dk-tool-btn{
  width:38px;
  height:38px;

  padding:0;

  border:none;
  outline:none;

  border-radius:11px;

  display:flex;
  align-items:center;
  justify-content:center;

  background:transparent;

  color:#8d8d8d;

  font-size:16px;

  cursor:pointer;

  transition:
    background .18s ease,
    color .18s ease,
    transform .18s ease;
}


.dk-tool-btn:hover{
  background:rgba(255,255,255,.07);
  color:#fff;
}


.dk-tool-btn:active{
  transform:scale(.92);
}


.dk-tool-btn.active{
  background:#1f7a2e;
  color:#fff;

  box-shadow:
    0 6px 16px rgba(0,0,0,.25);
}

/* =====================================================
   TOOLS DRAWER
   ===================================================== */

.dk-tools-drawer{
  position:absolute;

  left:66px;     /* toolbar-ის გვერდით */


  width:360px;
  max-height:500px;

  border-radius:18px;

  background:rgba(16,16,16,.98);
  border:1px solid rgba(255,255,255,.08);

  box-shadow:0 18px 50px rgba(0,0,0,.55);

  overflow:hidden;

  z-index:6000;

  opacity:0;
  visibility:hidden;
  pointer-events:none;

  transform:translateX(-12px) scale(.98);

  transition:
    opacity .18s ease,
    transform .18s ease,
    visibility .18s ease;
}


.dk-tools-drawer.is-open{
  opacity:1;

  visibility:visible;

  pointer-events:auto;

  transform:
    translateX(0)
    scale(1);
}

.dk-tools-drawer-header{
  height:46px;

  padding:0 12px 0 15px;

  display:flex;
  align-items:center;
  justify-content:space-between;

  border-bottom:
    1px solid rgba(255,255,255,.06);

  background:
    rgba(255,255,255,.025);
}


.dk-tools-drawer-title{
  color:#fff;

  font-size:13px;
  font-weight:800;
}


.dk-tools-drawer-close{
  width:30px;
  height:30px;

  padding:0;

  border:none;

  border-radius:9px;

  display:flex;
  align-items:center;
  justify-content:center;

  background:rgba(255,255,255,.05);

  color:#aaa;

  cursor:pointer;

  font-size:13px;
}


.dk-tools-drawer-close:hover{
  background:rgba(255,255,255,.1);
  color:#fff;
}


.dk-tools-drawer-content{
  padding:12px;

  max-height:474px;

  overflow-y:auto;
  overflow-x:hidden;
}

/* =====================================================
   PANELS INSIDE DRAWER
   ===================================================== */

.dk-tools-drawer .dk-collapsible{
  width:100% !important;
  max-width:none !important;

  background:transparent !important;

  border:none !important;

  border-radius:0 !important;

  overflow:visible !important;
}


/* old header აღარ გვჭირდება */

.dk-tools-drawer .dk-collapsible-head{
  display:none !important;
}


/* body ყოველთვის ღია იყოს drawer-ში */

.dk-tools-drawer .dk-collapsible-body{
  display:block !important;

  padding:0 !important;
}


.dk-tools-parking{
  display:none !important;
}

/* =========================================
   FIX TOOL DRAWER POSITION + PANEL WIDTH
   ========================================= */

.dk-tools-drawer{
  width:360px !important;
  max-height:500px;
  z-index:6000;
}


/* Host Name drawer-ში */

.dk-tools-drawer .display-name-panel{
  width:100% !important;
  max-width:100% !important;

  margin:0 !important;
  padding:0 !important;

  background:transparent !important;
  border:none !important;
  border-radius:0 !important;
}


/* Host Badge drawer-ში */

.dk-tools-drawer .host-badge-panel{
  width:100% !important;
  max-width:100% !important;

  margin:0 !important;
  padding:0 !important;

  background:transparent !important;
  border:none !important;
  border-radius:0 !important;
}


/* ==========================================
   TV REMOTE D-PAD
   ========================================== */

.remote-pad{
  position:relative;

  width:190px;
  height:210px;

  margin:14px auto 4px !important;

  display:block !important;

  padding:0;

  background:transparent;
}


/* საერთო სტილი მიმართულებებისთვის */

.remote-pad .pad-up,
.remote-pad .pad-down,
.remote-pad .pad-left,
.remote-pad .pad-right{
  position:absolute;

  width:54px;
  height:54px;

  padding:0;

  border:none;

  display:flex;
  align-items:center;
  justify-content:center;

  background:
    linear-gradient(
      145deg,
      #2a2a2a,
      #111
    );

  color:#fff;

  font-size:19px;
  font-weight:900;

  cursor:pointer;

  box-shadow:
    inset 0 2px 2px rgba(255,255,255,.08),
    inset 0 -3px 6px rgba(0,0,0,.55),
    0 5px 12px rgba(0,0,0,.45);

  transition:
    transform .1s ease,
    filter .1s ease;
}


.remote-pad .pad-up:active,
.remote-pad .pad-down:active,
.remote-pad .pad-left:active,
.remote-pad .pad-right:active{
  filter:brightness(1.35);
}


/* ↑ */

.remote-pad .pad-up{
  left:68px;
  top:0;

  clip-path:polygon(
    50% 5%,
    95% 90%,
    5% 90%
  );
}


/* ↓ */

.remote-pad .pad-down{
  left:68px;
  top:112px;

  clip-path:polygon(
    5% 10%,
    95% 10%,
    50% 95%
  );
}


/* ← */

.remote-pad .pad-left{
  left:5px;
  top:56px;

  clip-path:polygon(
    5% 50%,
    90% 5%,
    90% 95%
  );
}


/* → */

.remote-pad .pad-right{
  right:5px;
  top:56px;

  clip-path:polygon(
    10% 5%,
    95% 50%,
    10% 95%
  );
}


/* CENTER SAVE / OK */

.remote-pad .pad-ok{
  position:absolute;

  left:59px;
  top:47px;

  width:72px !important;
  height:72px !important;

  padding:0 !important;

  border:none !important;
  border-radius:50% !important;

  display:flex;
  align-items:center;
  justify-content:center;

  background:
    radial-gradient(
      circle at 35% 25%,
      #35d66c,
      #16883c 55%,
      #096528
    ) !important;

  color:#fff !important;

  font-size:11px !important;
  font-weight:900 !important;

  box-shadow:
    0 0 0 7px #242424,
    0 0 0 8px rgba(255,255,255,.08),
    0 8px 18px rgba(0,0,0,.5),
    inset 0 3px 4px rgba(255,255,255,.2),
    inset 0 -5px 8px rgba(0,0,0,.35);

  cursor:pointer;

  z-index:5;
}


.remote-pad .pad-ok:active{
  transform:scale(.94);
}


/* BOTTOM − R + */

.pad-bottom-actions{
  position:absolute;

  left:27px;
  bottom:0;

  display:flex;

  gap:9px;
}


.pad-bottom-actions button{
  width:38px !important;
  height:32px !important;

  border-radius:10px !important;

  background:#1b1b1b !important;
  color:#fff !important;

  border:1px solid rgba(255,255,255,.07) !important;

  box-shadow:
    inset 0 1px 2px rgba(255,255,255,.06),
    0 3px 8px rgba(0,0,0,.3);
}



/* ==========================================
   REMOTE BOTTOM ACTION BUTTONS
   ========================================== */

.pad-bottom-actions{
  position:absolute;

  left:50%;
  bottom:0;

  transform:translateX(-50%);

  display:flex;
  align-items:center;
  justify-content:center;

  gap:10px;
}


.pad-action-btn{
  width:42px !important;
  height:38px !important;

  padding:0 !important;

  border-radius:12px !important;

  display:flex !important;
  align-items:center;
  justify-content:center;

  background:
    linear-gradient(
      145deg,
      #252525,
      #111
    ) !important;

  color:#fff !important;

  border:
    1px solid rgba(255,255,255,.08) !important;

  box-shadow:
    inset 0 1px 2px rgba(255,255,255,.08),
    inset 0 -3px 5px rgba(0,0,0,.35),
    0 4px 10px rgba(0,0,0,.35);

  cursor:pointer;

  transition:
    transform .1s ease,
    background .15s ease,
    filter .15s ease;
}


.pad-action-btn i{
  font-size:15px;

  pointer-events:none;
}


.pad-action-btn:hover{
  filter:brightness(1.2);
}


.pad-action-btn:active{
  transform:scale(.90);
}


/* Reset ოდნავ გამორჩეული */

.pad-reset-btn{
  width:46px !important;
  height:42px !important;

  border-radius:50% !important;

  background:
    radial-gradient(
      circle at 35% 25%,
      #393939,
      #1b1b1b 65%,
      #0c0c0c
    ) !important;
}


.pad-reset-btn i{
  font-size:17px;
}


/* Automation drawer-ს ქვემოთ თავისუფალი ადგილი */
.dk-tools-drawer .dk-tools-drawer-content{
  padding-bottom:24px !important;
}

/* Automation section drawer-ში */
.dk-tools-drawer .automation-content{
  padding-bottom:20px !important;
}

/* scrollbar-საც ცოტა ლამაზი დაშორება */
.dk-tools-drawer{
  max-height:620px !important;
  overflow-y:auto !important;
}

/* ==========================================
   SPECIAL AUTOMATION BUTTONS
   ========================================== */

/* Layout Mode */
.layout-switch-btn{
  width:auto !important;
  min-width:120px !important;
  height:30px !important;

  padding:0 12px !important;

  border-radius:10px !important;

  background:linear-gradient(
    145deg,
    #218cff,
    #126bd0
  ) !important;

  color:#fff !important;

  font-size:11px !important;
  font-weight:800 !important;

  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.15),
    0 4px 10px rgba(0,0,0,.25);

  cursor:pointer;
}


/* Visual Style */
.ui-style-switch-btn{
  width:auto !important;
  min-width:120px !important;
  height:30px !important;

  padding:0 12px !important;

  border-radius:10px !important;

  background:linear-gradient(
    145deg,
    #4b4b4b,
    #2d2d2d
  ) !important;

  color:#fff !important;

  font-size:11px !important;
  font-weight:800 !important;

  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.08),
    0 4px 10px rgba(0,0,0,.22);

  cursor:pointer;
}


/* ესენი slider არ უნდა გახდნენ */
.layout-switch-btn::after,
.ui-style-switch-btn::after{
  display:none !important;
}


/* Guest Video OFF button */
.guest-video-clear{
  width:auto !important;
  min-width:52px !important;
  height:30px !important;

  padding:0 10px !important;

  border-radius:10px !important;

  background:#df0000 !important;
  color:#fff !important;

  font-size:11px !important;
  font-weight:800 !important;
}

.guest-video-clear::after{
  display:none !important;
}

/* ==========================================
   DRAWER SMOOTH ANIMATIONS
   ========================================== */

.dk-tools-drawer{
  transform-origin:left center;

  transition:
    opacity .22s ease,
    transform .22s cubic-bezier(.22,.8,.25,1),
    visibility .22s ease;
}


/* მთავარი გახსნა */

.dk-tools-drawer.is-open{
  opacity:1;
  visibility:visible;
  pointer-events:auto;

  transform:
    translateX(0)
    scale(1);
}


/* დახურვა */

.dk-tools-drawer.is-closing{
  opacity:0 !important;

  transform:
    translateX(-18px)
    scale(.97) !important;

  pointer-events:none;
}


/* შიდა კონტენტი */

.dk-tools-drawer-content{
  transition:
    opacity .16s ease,
    transform .16s ease,
    filter .16s ease;
}


/* ძველი section გარეთ გადის */

.dk-tools-drawer-content.tool-leave{
  opacity:0;

  transform:translateX(-18px);

  filter:blur(2px);
}


/* ახალი section შემოსვლის საწყისი */

.dk-tools-drawer-content.tool-enter{
  opacity:0;

  transform:translateX(18px);

  filter:blur(2px);
}


/* ახალი section საბოლოო */

.dk-tools-drawer-content.tool-enter-active{
  opacity:1;

  transform:translateX(0);

  filter:blur(0);
}


/* სათაურიც რბილად */

.dk-tools-drawer-title{
  transition:
    opacity .15s ease,
    transform .15s ease;
}

.dk-tools-drawer-title.title-switch{
  opacity:0;
  transform:translateX(-8px);
}

.dk-tool-btn{
  transition:
    background .2s ease,
    color .2s ease,
    transform .2s cubic-bezier(.22,.8,.25,1),
    box-shadow .2s ease;
}

.dk-tool-btn.active{
  transform:scale(1.08);

  box-shadow:
    0 0 0 1px rgba(255,255,255,.08),
    0 6px 18px rgba(0,0,0,.35);
}

/* =========================================================
   PHONE CONTROL
   ========================================================= */

.phone-control-section{
  width:100%;
}

.phone-control-card{
  width:100%;
  padding:10px;
  border-radius:12px;
  background:rgba(255,255,255,.035);
  border:1px solid rgba(255,255,255,.06);
}

.phone-control-main-row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
}

.phone-control-title{
  color:#fff;
  font-size:13px;
  font-weight:800;
}

.phone-control-description{
  margin-top:4px;
  color:#777;
  font-size:10px;
}

.phone-control-status-box{
  margin-top:12px;
  padding:8px 10px;
  border-radius:10px;
  background:#0d0d0d;
  border:1px solid rgba(255,255,255,.04);
}

.phone-control-status-row{
  min-height:28px;

  display:flex;
  align-items:center;
  justify-content:space-between;

  color:#777;
  font-size:11px;
}

.phone-control-status-row strong{
  color:#fff;
  font-size:11px;
}

body.phone-mode .phone-control-card{
  border-color:rgba(22,135,255,.55);
  box-shadow:
    0 0 0 1px rgba(22,135,255,.10) inset,
    0 0 14px rgba(22,135,255,.08);
}


/* =========================================================
   PHONE VIEW
   ========================================================= */

body.phone-view{
  margin:0;
  width:100vw;
  height:100dvh;
  overflow:hidden;
  background:#000;
}

/* ტელეფონში სამართავი საერთოდ არ გვინდა */
body.phone-view .inputs-wrapper,
body.phone-view .dk-tools-menu,
body.phone-view .dk-tools-drawer,
body.phone-view .dk-tools-parking,
body.phone-view .count{
  display:none !important;
}

/* 1080x1920 ვიზუალური canvas */
body.phone-view #app{
  position:absolute;

  width:1080px;
  height:1920px;

  left:50%;
  top:50%;

  transform-origin:center center;
}


/* =========================================================
   PHONE FRONT
   ========================================================= */

body.phone-view{
  margin:0;
  width:100vw;
  height:100dvh;
  overflow:hidden;
  background:#000;
}

body.phone-view #app{
  display:none !important;
}

body.control-view #phone-app{
  display:none !important;
}

body.phone-view #phone-app{
  display:block !important;
}

#phone-app{
  position:absolute;

  width:390px;
  height:844px;

  left:50%;
  top:50%;

  transform-origin:center center;

  background:#000;
  overflow:hidden;
}

.phone-stage{
  position:relative;
  width:100%;
  height:100%;
  background:#090909;
}

.phone-camera-layer{
  position:absolute;
  inset:0;

  background:
    linear-gradient(
      180deg,
      #181818,
      #050505
    );
}

.phone-host{
  position:absolute;

  top:45px;
  left:50%;

  transform:translateX(-50%);

  color:#fff;
  font-size:20px;
  font-weight:700;

  z-index:10;
}

.phone-guests{
  position:absolute;
  inset:0;

  z-index:20;
  pointer-events:none;
}

.phone-gift-layer{
  position:absolute;
  inset:0;

  z-index:100;
  pointer-events:none;
}

/* =========================================================
   PHONE ROOM LINK
   ========================================================= */

.phone-link-box{
  margin-top:10px;
  padding-top:10px;
  border-top:1px solid rgba(255,255,255,.06);
}

.phone-link-title{
  margin-bottom:6px;
  color:#777;
  font-size:10px;
  font-weight:700;
}

.phone-link-row{
  display:flex;
  align-items:center;
  gap:6px;
}

.phone-link-input{
  width:100%;
  min-width:0;
  height:32px;

  padding:0 9px;

  border:none;
  outline:none;
  border-radius:8px;

  background:#090909;
  color:#fff;

  font-size:10px;
}

.phone-copy-btn{
  height:32px;
  padding:0 10px;

  border:none;
  border-radius:8px;

  background:#1687ff;
  color:#fff;

  font-size:10px;
  font-weight:800;

  cursor:pointer;
}

.phone-copy-btn:active{
  transform:scale(.95);
}

/* ===========================
   PHONE STATUS COLORS
   =========================== */

.phone-status-value,
.phone-realtime-value{
  transition:
    color .2s ease,
    text-shadow .2s ease;
}

.phone-status-value.is-online,
.phone-realtime-value.is-online{
  color:#38d96b !important;
  text-shadow:
    0 0 8px rgba(56,217,107,.35);
}

.phone-status-value.is-offline,
.phone-realtime-value.is-offline{
  color:#ff3b3b !important;
  text-shadow:0 0 8px rgba(255,59,59,.35);
}

/* ===========================
   PHONE MODE - HIDE PC STAGE
   =========================== */

/* ===========================
   PHONE MODE - PC LAYOUT
   =========================== */

/* Phone Mode-ზე სტუმრების grid ქრება */
body.phone-mode.control-view .request-grid{
  display:none !important;
}

/* მაგრამ Center / Host panel აუცილებლად რჩება */
body.phone-mode.control-view .mic-host-panel{
  display:block !important;
}

/* ჯერ Host name და badge-იც დავტოვოთ */
body.phone-mode.control-view .tiktok-display-name,
body.phone-mode.control-view .host-badge{
  display:flex;
}

.phone-camera-layer{
  position:absolute;
  inset:0;
  overflow:hidden;
  background:#000;
}

.phone-remote-video{
  position:absolute;
  inset:0;

  width:100%;
  height:100%;

  object-fit:cover;

  background:#000;
}

/* PHONE MODE:
   სტუმრების grid დაიმალოს,
   მაგრამ Center/Host stage დარჩეს */



   /* ==========================================
   PHONE MODE - CENTER STAGE MATCH GIFT WIDTH
   ========================================== */

body.phone-mode.control-view .mic-host-panel{
  display:block !important;

  left:545px !important;
  top:36px !important;

  width:635px !important;
  height:1135px !important;
}

body.phone-mode.control-view .mic-host-stage,
body.phone-mode.control-view .mic-host-media-layer{
  width:100% !important;
  height:100% !important;
}