*{ 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-guests{
  position:absolute;
  inset:0;

  z-index:20;
  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;
}


/* ==========================================
   PHONE MODE EXTRA TOOLS
   ========================================== */

.dk-tool-btn.phone-only-tool{
  display:none;
}

body.phone-mode.control-view
.dk-tool-btn.phone-only-tool{
  display:flex;
}


/* Phone media info */

.phone-media-hint{
  margin-top:10px;
  color:#777;
  font-size:10px;
}


/* Phone media buttons */

.phone-media-webcam{
  background:#1687ff !important;
  color:#fff !important;
}

.phone-media-screen{
  background:#119447 !important;
  color:#fff !important;
}

.phone-media-stop{
  background:#cf3030 !important;
  color:#fff !important;
}

/* ==========================================
   PHONE TOOLS - SEPARATE VISUAL STYLE
   ========================================== */

/* Phone-ის დამატებითი ფუნქციები OFF-ზე საერთოდ არ ჩანს */
.dk-tool-btn.phone-only-tool{
  display:none;
}


/* Phone Mode ON → დამატებითი ღილაკები ჩნდება */
body.phone-mode.control-view
.dk-tool-btn.phone-only-tool{
  display:flex;

  background:#15233d;
  color:#62b0ff;

  border:1px solid rgba(98,176,255,.40);

  box-shadow:
    0 0 0 1px rgba(98,176,255,.06) inset,
    0 0 10px rgba(37,128,255,.14);
}


/* Hover */
body.phone-mode.control-view
.dk-tool-btn.phone-only-tool:hover{
  background:#1b3158;

  color:#8ec8ff;

  transform:scale(1.05);
}


/* გახსნილი Phone tool */
body.phone-mode.control-view
.dk-tool-btn.phone-only-tool.active{
  background:#1687ff !important;
  color:#fff !important;

  border-color:#49a3ff;

  box-shadow:
    0 0 0 1px rgba(255,255,255,.12) inset,
    0 0 14px rgba(22,135,255,.55);
}

/* მთავარი Phone Control */
.dk-tool-btn.phone-main-tool{
  color:#7ea9d8;
}


/* Phone Mode ჩართულია */
body.phone-mode.control-view
.dk-tool-btn.phone-main-tool{
  background:#132c49;
  color:#66b8ff;

  border:1px solid rgba(78,164,255,.35);
}


/* თუ Phone Control თვითონაა გახსნილი */
body.phone-mode.control-view
.dk-tool-btn.phone-main-tool.active{
  background:#1687ff !important;
  color:#fff !important;
}


/* =============================
   ADMIN LOCK
   ============================= */

/* Login-მდე Phone Control არ ჩანს */
body:not(.admin-authenticated)
.dk-tool-btn[data-tool="phone"]{
  display:none !important;
}

/* Login-მდე ყველა Phone-only ფუნქციაც იმალება */
body:not(.admin-authenticated)
.dk-tool-btn.phone-only-tool{
  display:none !important;
}


/* ავტორიზაციის შემდეგ მთავარი Phone ღილაკი */
body.admin-authenticated
.dk-tool-btn[data-tool="phone"]{
  display:flex;
}


/* დამატებითი Phone ფუნქციები მაინც
   მხოლოდ Phone Mode ON-ზე გამოჩნდეს */
body.admin-authenticated.phone-mode.control-view
.dk-tool-btn.phone-only-tool{
  display:flex;
}


/* ==========================================
   ADMIN ACCESS BUTTON
   ========================================== */

.admin-access{
  position:absolute;
  left:18px;
  top:18px;

  display:flex;
  align-items:center;
  gap:8px;

  z-index:9999;
}

.admin-login-open{
  height:34px;
  padding:0 12px;

  display:flex;
  align-items:center;
  gap:7px;

  border:1px solid #2b2b2b;
  border-radius:10px;

  background:#141414;
  color:#b8b8b8;

  font-size:11px;
  font-weight:800;

  cursor:pointer;
}

.admin-login-open:hover{
  background:#1c1c1c;
  color:#fff;
}

.admin-access-state{
  width:30px;
  height:30px;

  display:flex;
  align-items:center;
  justify-content:center;

  border-radius:9px;

  background:rgba(239,68,68,.12);
  border:1px solid rgba(239,68,68,.35);

  color:#ef4444;
  font-size:14px;

  transition:.2s ease;
}

/* ავტორიზაციის შემდეგ */

body.admin-authenticated
.admin-access-state{
  background:rgba(34,197,94,.12);
  border-color:rgba(34,197,94,.35);

  color:#22c55e;
}

body.admin-authenticated
.admin-access-state{
  background:rgba(34,197,94,.12);
  border-color:rgba(34,197,94,.35);

  color:#22c55e;
}


/* ==========================================
   ADMIN LOGIN MODAL
   ========================================== */

/* ==========================================
   ADMIN LOGIN - MINI FLOATING PANEL
   ========================================== */

.admin-login-modal{
  position:absolute;

  left:60px;
  top:18px;

  width:auto;
  height:auto;

  display:none;

  background:transparent;
  backdrop-filter:none;

  z-index:999999;
}

.admin-login-modal.is-open{
  display:block;
}

.admin-login-card{
  position:relative;

  width:230px;
  padding:18px 16px 16px;

  border:1px solid #252525;
  border-radius:14px;

  background:rgba(16,16,16,.97);

  box-shadow:
    0 12px 30px rgba(0,0,0,.45),
    0 0 0 1px rgba(255,255,255,.025) inset;
}

.admin-login-close{
  position:absolute;
  right:12px;
  top:12px;

  width:30px;
  height:30px;

  border:0;
  border-radius:9px;

  background:#1d1d1d;
  color:#888;

  cursor:pointer;
}

.admin-login-icon{
  width:36px;
  height:36px;

  margin:0 auto 9px;

  display:flex;
  align-items:center;
  justify-content:center;

  border-radius:10px;

  background:#102a47;
  color:#55aaff;

  font-size:15px;
}

.admin-login-title{
  text-align:center;
  color:#fff;
margin-bottom: 10px;
  font-size:12px;
  font-weight:900;
}

.admin-login-subtitle{
  margin-top:3px;
  margin-bottom:12px;
display: none;
  text-align:center;

  color:#777;
  font-size:8px;
}

.admin-login-input{
  box-sizing:border-box;

  width:100%;
  height:34px;

  margin-bottom:8px;
  padding:0 10px;

  border:1px solid #292929;
  border-radius:8px;

  outline:none;

  background:#171717;
  color:#fff;

  font-size:11px;
}

.admin-login-submit{
  width:100%;
  height:34px;

  margin-top:3px;

  border:0;
  border-radius:8px;

  background:#1687ff;
  color:#fff;

  font-size:11px;
  font-weight:900;

  cursor:pointer;
}

.admin-login-input:focus{
  border-color:#258eff;
  box-shadow:0 0 0 2px rgba(37,142,255,.12);
}



.admin-login-submit:hover{
  background:#2895ff;
}

.admin-login-status{
  min-height:16px;

  margin-top:10px;

  text-align:center;
  color:#ef4444;

  font-size:10px;
  font-weight:700;
}


/* Login წარმატების შემდეგ */

body.admin-authenticated .admin-access-state{
  color:#22c55e;
}

body.admin-authenticated .admin-login-open{
  border-color:#195b37;
  background:#10261b;
  color:#4ade80;
}

/* ===========================
   PASSWORD
   =========================== */

.admin-password-wrap{
  position:relative;
}

.admin-password-wrap .admin-login-input{
  padding-right:38px;
}

.admin-password-toggle{
  position:absolute;
  right:7px;
  top:4px;

  width:28px;
  height:28px;

  border:0;
  border-radius:7px;

  background:transparent;
  color:#777;

  cursor:pointer;
}

.admin-password-toggle:hover{
  color:#fff;
  background:#222;
}


/* ===========================
   REMEMBER ME
   =========================== */

.admin-remember-row{
  display:flex;
  align-items:center;
  gap:7px;

  margin:2px 0 10px;

  color:#888;
  font-size:9px;

  cursor:pointer;
}

.admin-remember-row input{
  accent-color:#1687ff;
}


/* ===========================
   PROFILE VIEW
   =========================== */

.admin-profile-view{
  text-align:center;
}

.admin-profile-avatar{
  width:42px;
  height:42px;

  margin:4px auto 8px;

  display:flex;
  align-items:center;
  justify-content:center;

  border-radius:12px;

  background:rgba(34,197,94,.12);
  color:#22c55e;

  font-size:17px;
}

.admin-profile-name{
  color:#fff;
  font-size:13px;
  font-weight:900;
}

.admin-profile-role{
  margin-top:2px;

  color:#22c55e;
  font-size:8px;
  font-weight:800;
}

.admin-profile-permissions{
  margin-top:13px;

  padding:10px;

  border:1px solid #252525;
  border-radius:10px;

  background:#151515;

  text-align:left;
}

.admin-profile-permissions div{
  display:flex;
  align-items:center;
  gap:8px;

  padding:5px 2px;

  color:#999;
  font-size:9px;
}

.admin-profile-permissions i{
  width:14px;
  color:#5baaff;
}

.admin-profile-logout{
  width:100%;
  height:34px;

  margin-top:11px;

  border:1px solid rgba(239,68,68,.30);
  border-radius:8px;

  background:rgba(239,68,68,.10);
  color:#ef4444;

  font-size:10px;
  font-weight:900;

  cursor:pointer;
}

.admin-profile-logout:hover{
  background:#ef4444;
  color:#fff;
}


/* ===========================
   QUICK LOGOUT
   =========================== */

.admin-quick-logout{
  width:30px;
  height:30px;

  display:flex;
  align-items:center;
  justify-content:center;

  border:1px solid rgba(239,68,68,.30);
  border-radius:9px;

  background:rgba(239,68,68,.10);
  color:#ef4444;

  cursor:pointer;
}

.admin-quick-logout:hover{
  background:#ef4444;
  color:#fff;
}

/* ==========================================
   ADMIN VIEW VISIBILITY FIX
   ========================================== */

#admin-login-view[hidden],
#admin-profile-view[hidden],
#admin-quick-logout[hidden] {
  display: none !important;
}

#admin-login-view:not([hidden]) {
  display: block;
}

#admin-profile-view:not([hidden]) {
  display: block;
}


/* ==========================================
   ADMIN AUTH - FORCE CORRECT VIEW
   ========================================== */

/* ავტორიზაციის შემდეგ Login ფორმა სრულად დამალე */
body.admin-authenticated #admin-login-view {
  display: none !important;
}

/* ავტორიზაციის შემდეგ მხოლოდ Profile */
body.admin-authenticated #admin-profile-view {
  display: block !important;
}

/* ავტორიზაციამდე Profile არ გამოჩნდეს */
body:not(.admin-authenticated) #admin-profile-view {
  display: none !important;
}

/* ავტორიზაციამდე Login გამოჩნდეს */
body:not(.admin-authenticated) #admin-login-view {
  display: block !important;
}


/* =====================================================
   UNIFIED GIFTS PANEL
   ===================================================== */

.gifts-unified-panel{
  width:100%;
  min-width:0;

  display:flex;
  flex-direction:column;

  gap:10px;
}


/* ===========================
   GIFT LIST
   =========================== */

.gifts-unified-list{
  width:100%;
  min-width:0;
}


/* ძველი giftbar Drawer-ს მოვარგოთ */

.gifts-unified-panel .giftbar{
  width:100%;
  max-width:none;

  height:310px;

  margin:0 !important;
  padding:10px;

  gap:8px;

  border-radius:12px;

  background:rgba(255,255,255,.035);

  box-shadow:
    inset 0 0 0 1px
    rgba(255,255,255,.055);
}


/* Gift buttons ცოტა კომპაქტური */

.gifts-unified-panel .giftbtn{
  width:68px;
  height:68px;

  border-radius:12px;
}


/* ===========================
   DIVIDER
   =========================== */

.gifts-unified-divider{
  width:100%;
  height:1px;

  margin:2px 0;

  background:
    rgba(255,255,255,.07);
}


/* ===========================
   ADD NEW GIFT AREA
   =========================== */

.gifts-unified-add{
  width:100%;
}


/* ძველი collapsible drawer-ს მოვარგოთ */

.gifts-unified-panel
.gifts-unified-add
.dk-collapsible{
  width:100%;
  max-width:none;

  margin:0;

  background:
    rgba(255,255,255,.025);

  border:
    1px solid rgba(255,255,255,.06);

  border-radius:12px;
}


/* Header */

.gifts-unified-panel
.gifts-unified-add
.dk-collapsible-head{
  height:38px;

  padding:0 10px;

  font-size:11px;
}


/* შიგნით ფორმა */

.gifts-unified-panel
.custom-gift-panel{
  width:100%;
}


/* Upload buttons */

.gifts-unified-panel
.custom-gift-row{
  gap:6px;
}


/* Coins */

.gifts-unified-panel
.custom-gift-coins{
  width:90px;
}


.gifts-unified-controls{
  width:100%;
  display:flex;
  justify-content:center;
  padding:6px 0 10px;
}

.gifts-unified-controls .gift-video-control-panel{
  width:100%;
  margin:0;
}


.gifts-unified-panel .giftbar{
  width:100%;
  max-width:none;

  height:310px;

  margin:0 !important;
  padding:10px;

  gap:8px;

  border-radius:12px;

  background:rgba(255,255,255,.035);

  box-shadow:
    inset 0 0 0 1px
    rgba(255,255,255,.055);
}

/* =====================================================
   GIFTS — FINAL CLEAN CONTROLLER
   ===================================================== */


/* გარეთა Gifts drawer არ დასქროლდეს */

.dk-tools-drawer:has(.gifts-unified-panel){
  max-height:none !important;
  overflow:visible !important;
}

.dk-tools-drawer:has(.gifts-unified-panel)
.dk-tools-drawer-content{
  max-height:none !important;
  overflow:visible !important;
}


/* მხოლოდ საჩუქრების ბადე დასქროლდეს */

.gifts-unified-panel .giftbar{
  width:100% !important;

  height:185px !important;
  max-height:185px !important;

  margin:0 !important;

  overflow-y:auto !important;
  overflow-x:hidden !important;
}


/* =====================================================
   CONTROLLER BOX
   ===================================================== */

.gifts-unified-controls{
  width:100%;
  padding:4px 0 !important;
}


.gifts-unified-controls .gift-video-control-panel{
  width:100% !important;

  min-height:0 !important;

  padding:10px 12px !important;
  margin:0 !important;

  display:flex !important;
  align-items:center !important;
  justify-content:center !important;

  border-radius:12px !important;

  background:
    rgba(255,255,255,.025) !important;

  border:
    1px solid rgba(255,255,255,.055) !important;
}


/* =====================================================
   REMOTE
   ===================================================== */

.gifts-unified-controls .remote-pad{
  position:relative !important;

  width:270px !important;
  height:118px !important;

  margin:0 auto !important;
  padding:0 !important;

  display:block !important;

  background:transparent !important;
}


/* =====================================================
   D-PAD ARROW BASE
   ===================================================== */

.gifts-unified-controls .remote-pad .pad-up,
.gifts-unified-controls .remote-pad .pad-down,
.gifts-unified-controls .remote-pad .pad-left,
.gifts-unified-controls .remote-pad .pad-right{

  position:absolute !important;

  width:38px !important;
  height:38px !important;

  min-width:38px !important;
  min-height:38px !important;

  padding:0 !important;

  display:flex !important;
  align-items:center !important;
  justify-content:center !important;

  border:none !important;

  color:#fff !important;

  font-size:12px !important;
  font-weight:900 !important;

  background:
    linear-gradient(
      145deg,
      #292929,
      #111
    ) !important;

  box-shadow:
    inset 0 1px 2px rgba(255,255,255,.08),
    inset 0 -3px 5px rgba(0,0,0,.45),
    0 3px 7px rgba(0,0,0,.35) !important;
}


/* ▲ */

.gifts-unified-controls .remote-pad .pad-up{
  left:43px !important;
  top:-3px !important;

  clip-path:polygon(
    50% 0%,
    92% 82%,
    8% 82%
  ) !important;
}


/* ▼ */

.gifts-unified-controls .remote-pad .pad-down{
  left:43px !important;
  top:82px !important;

  clip-path:polygon(
    8% 18%,
    92% 18%,
    50% 100%
  ) !important;
}


/* ◀ */

.gifts-unified-controls .remote-pad .pad-left{
  left:0 !important;
  top:40px !important;

  clip-path:polygon(
    0% 50%,
    82% 8%,
    82% 92%
  ) !important;
}


/* ▶ */

.gifts-unified-controls .remote-pad .pad-right{
  left:86px !important;
  top:40px !important;

  clip-path:polygon(
    18% 8%,
    100% 50%,
    18% 92%
  ) !important;
}


/* =====================================================
   SAVE
   ===================================================== */

.gifts-unified-controls .remote-pad .pad-ok{
  position:absolute !important;

  left:36px !important;
  top:32px !important;

  width:52px !important;
  height:52px !important;

  min-width:52px !important;
  min-height:52px !important;

  margin:0 !important;
  padding:0 !important;

  border-radius:50% !important;

  font-size:10px !important;

  z-index:5;
}


/* =====================================================
   ZOOM / RESET
   ===================================================== */

.gifts-unified-controls .pad-bottom-actions{
  position:absolute !important;

  left:150px !important;
  top:42px !important;

  bottom:auto !important;

  transform:none !important;

  display:flex !important;
  align-items:center !important;
  justify-content:center !important;

  gap:9px !important;

  margin:0 !important;
  padding:0 !important;
}


.gifts-unified-controls .pad-action-btn{
  width:30px !important;
  height:30px !important;

  min-width:30px !important;
  min-height:30px !important;

  padding:0 !important;

  border-radius:9px !important;
}


/* Reset მრგვალი */

.gifts-unified-controls .pad-reset-btn{
  width:34px !important;
  height:34px !important;

  min-width:34px !important;
  min-height:34px !important;

  border-radius:50% !important;
}


/* Position ტექსტი Gifts-ში არ გვინდა */

.gifts-unified-controls .gift-video-pos-text{
  display:none !important;
}

/* ==========================================
   SLOT GIFT ACTION BUTTON
   ========================================== */

.slot-gift-action-btn{
  width:34px;
  height:34px;

  min-width:34px;
  min-height:34px;

  padding:3px;

  display:none; /* ცარიელ slot-ზე არ გამოჩნდეს */

  align-items:center;
  justify-content:center;

  border-radius:9px;

  border:1px solid rgba(255,255,255,.08);

  background:#151515;

  cursor:pointer;

  overflow:hidden;

  transition:
    transform .12s ease,
    border-color .12s ease,
    background .12s ease;
}

.slot-gift-action-btn img{
  width:27px;
  height:27px;

  max-width:27px;
  max-height:27px;

  display:block;

  object-fit:contain;

  pointer-events:none;
}

.slot-gift-action-btn:hover{
  transform:scale(1.06);

  background:#1d1d1d;

  border-color:rgba(0,255,128,.35);
}

.slot-gift-action-btn:active{
  transform:scale(.94);
}

.slot-gift-action-btn.is-visible{
  display:flex;
}

.btn.search.is-hidden-after-search{
  display:none !important;
}

.btn.search{
  width: 42px;
  min-width: 42px;
  height: 34px;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn.search svg{
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
}

.search-spinner{
  width:16px;
  height:16px;

  display:block;

  border:2px solid rgba(255,255,255,.28);
  border-top-color:#fff;

  border-radius:50%;

  animation:searchSpin .65s linear infinite;
}

@keyframes searchSpin{
  to{
    transform:rotate(360deg);
  }
}


/* ==========================================
   GIFTS BOTTOM AREA — FINAL
   ========================================== */

.gifts-bottom-row{
  position:relative;

  width:100%;

  display:block;

  padding:0;
  margin:0;
}


/* Add Gift-ის ჩვეულებრივი ბლოკი */
.gifts-bottom-row .gifts-unified-add{
  width:100%;
  min-width:0;
}


/* Stop Animation — Add Gift-ის გვერდით */
.gifts-stop-videos-btn{
  position:absolute;

  right:10px;
  bottom:26px;

  height:34px;
  padding:0 11px;

  display:flex;
  align-items:center;
  justify-content:center;
  gap:6px;

  border:
    1px solid rgba(255,65,65,.38);

  border-radius:9px;

  background:
    rgba(180,25,25,.14);

  color:#ff5252;

  font-size:10px;
  font-weight:800;

  cursor:pointer;
  white-space:nowrap;

  transition:
    background .15s ease,
    border-color .15s ease,
    transform .1s ease;
}


.gifts-stop-videos-btn i{
  font-size:9px;
}


.gifts-stop-videos-btn:hover{
  background:
    rgba(220,35,35,.25);

  border-color:
    rgba(255,80,80,.55);
}


.gifts-stop-videos-btn:active{
  transform:scale(.96);
}

/* =========================================================
   PHONE VIEW
   ========================================================= */

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;

  user-select:none;
  -webkit-user-select:none;
  -webkit-touch-callout:none;
}

.phone-stage{
  position:relative;
  width:100%;
  height:100%;
  overflow:hidden;
  background:#000;
}

.phone-camera-layer{
  position:absolute;
  inset:0;
  overflow:hidden;
  background:#000;
}

.phone-remote-video{
  position:absolute;
  inset:0;

  width:100%;
  height:100%;

  display:block;

  object-fit:cover;
  object-position:center;

  background:#000;

  pointer-events:none;
}

.phone-guests{
  position:absolute;
  inset:0;

  z-index:20;
  pointer-events:none;
}



body.phone-view{
  margin:0;
  padding:0;

  width:100%;
  min-height:100dvh;

  overflow:hidden;
  background:#000;
}

body.phone-view #phone-app{
  display:block !important;

  position:fixed;
  inset:0;

  width:100vw;
  height:100dvh;

  transform:none !important;

  background:#000;
  overflow:hidden;
}

.phone-stage{
  position:absolute;
  inset:0;

  width:100%;
  height:100%;

  background:#000;
  overflow:hidden;
}

.phone-camera-layer{
  position:absolute;
  inset:0;

  width:100%;
  height:100%;

  background:#000;
  overflow:hidden;
}

.phone-remote-video{
  position:absolute;
  inset:0;

  width:100%;
  height:100%;

  object-fit:cover;
  object-position:center;

  display:block;
}

/* =========================================================
   PHONE GIFT TOUCH ZONE
   ========================================================= */

.phone-gift-touch{
  position:absolute;

  right:8%;
  bottom:1.5%;

  width:13%;
  height:8%;

  z-index:1000;

  background:transparent;

  cursor:pointer;
  touch-action:manipulation;
}


/* =========================================================
   PHONE GIFT PANEL
   ========================================================= */







/* ==========================================
   PHONE GIFT TOUCH
   ========================================== */

.phone-gift-touch{
  position:absolute;

  right:7%;
  bottom:1%;

  width:14%;
  height:8%;

  z-index:2000;

  background:transparent;
  cursor:pointer;
}


/* ==========================================
   PHONE GIFT MENU
   ========================================== */

.phone-gift-menu{
  position:absolute;

  left:0;
  bottom:0;

  width:100%;
  height:430px;

  display:none;
  flex-direction:column;

  background:#2e2e2e;

  border-radius:15px 15px 0 0;

  overflow:visible;

  z-index:3000;
}

.phone-gift-menu.gift-open{
  animation:giftmenu .3s forwards;
}

.phone-gift-menu.gift-close{
  animation:closeGiftMenu .3s forwards;
}

@keyframes giftmenu{
  from{
    transform:translateY(100%);
  }

  to{
    transform:translateY(0%);
  }
}

@keyframes closeGiftMenu{
  from{
    transform:translateY(0%);
  }

  to{
    transform:translateY(100%);
  }
}

.phone-gifts-wrapper{
  flex:1;
  overflow-y:auto;
  overflow-x:hidden;

  padding:10px;

  background:#2e2e2e;
}

.phone-gifts-section{
  display:grid;

  grid-template-columns:
    repeat(4, 1fr);

  gap:10px 8px;

  padding-bottom:20px;

  background:#2e2e2e;
}

/* =========================================================
   PHONE GIFT MENU — ORIGINAL DESIGN
   ========================================================= */

.phone-gift-menu{
  position:absolute;

  left:0;
  bottom:0;

  width:100%;
  height:430px;

  background:#2e2e2e !important;

  border-radius:15px 15px 0 0;

  display:none;
  flex-direction:column;

  z-index:3000;

  overflow:hidden;
}


/* OPEN / CLOSE */

.phone-gift-menu.gift-open{
  animation:phoneGiftOpen .3s forwards;
}

.phone-gift-menu.gift-close{
  animation:phoneGiftClose .3s forwards;
}

@keyframes phoneGiftOpen{
  from{
    transform:translateY(100%);
  }

  to{
    transform:translateY(0);
  }
}

@keyframes phoneGiftClose{
  from{
    transform:translateY(0);
  }

  to{
    transform:translateY(100%);
  }
}


/* =========================================================
   HEADER — ORIGINAL
   ========================================================= */

.phone-gift-header{
  flex:0 0 auto;

  padding:10px;

  height:60px;

  background:#2e2e2e !important;

  border-radius:10px 10px 0 0;

  border-bottom:
    1px solid
    rgb(118 114 114 / 39%);

  overflow:hidden;
}


.phone-gift-level{
  display:block;

  margin-top:0;
  margin-left:10px;

  width:94%;

  border-radius:8px;
}


/* =========================================================
   GIFTS WRAPPER — ORIGINAL
   ========================================================= */

.phone-gifts-wrapper{
  flex:1 1 auto;

  overflow-y:auto;
  overflow-x:hidden;

  padding:10px;

  -webkit-overflow-scrolling:touch;

  scrollbar-width:none;

  background:#2e2e2e !important;
}


.phone-gifts-wrapper::-webkit-scrollbar{
  display:none;
}


/* 4 GIFTS */

.phone-gifts-section{
  display:grid;

  grid-template-columns:
    repeat(4,1fr);

  gap:10px 8px;

  padding-bottom:20px;

  box-sizing:border-box;

  background:#2e2e2e !important;
}


/* =========================================================
   GIFT ITEM — ORIGINAL
   ========================================================= */

.gift-item{
  position:relative;

  height:95px;

  color:white;

  text-align:center;

  padding-top:90px;

  overflow:visible;
}


.gift-card{
  display:flex;
  flex-direction:column;

  align-items:center;

  text-align:center;

  position:absolute;

  left:50%;
  top:8px;

  width:78px;
  height:92px;

  transform:
    translateX(-50%);

  border-radius:10px;

  padding:0 4px 8px;

  overflow:visible;

  transition:
    background .15s ease;
}


/* ICON */

.gift-icon-box{
  height:68px;

  display:flex;

  align-items:flex-end;
  justify-content:center;

  overflow:visible;
}


.gift-icon{
  max-width:52px !important;
  max-height:52px !important;

  width:auto !important;
  height:auto !important;

  position:relative;

  top:-17px;

  object-fit:contain;
}


/* NAME */

.gift-name{
  height:14px;

  line-height:14px;

  font-size:10px;

  color:#aaa;

  margin-top:-13px;

  white-space:nowrap;
}


/* PRICE */

.gift-price{
  display:flex;

  align-items:center;
  justify-content:center;

  gap:3px;

  margin-top:2px;

  font-size:10px;

  color:white;
}


.gift-coin{
  width:14px !important;
  height:14px !important;

  max-width:14px !important;
  max-height:14px !important;

  object-fit:contain;
}


/* SEND */

.gift-send-btn{
  position:absolute;

  left:0;
  right:0;
  bottom:0;

  height:30px;

  border:0;

  border-radius:
    0 0 10px 10px;

  background:#ff0050;

  color:white;

  font-size:13px;

  opacity:0;

  display:none;
}


/* =========================================================
   SELECTED — ORIGINAL
   ========================================================= */

.gift-item.selected .gift-card{
  background:
    rgba(0,0,0,.42);

  animation:
    phoneGiftSelectPop
    .18s ease-out;

  transform:
    translateX(-50%)
    scale(1.08);
}


.gift-item.selected .gift-icon{
  transform:
    translateY(-10px)
    scale(1.05);
}


.gift-item.selected .gift-name{
  display:none;
}


.gift-item.selected .gift-price{
  position:absolute;

  left:0;
  right:0;

  bottom:34px;

  margin-top:0;

  font-size:10px;
}


.gift-item.selected .gift-send-btn{
  display:block;
  opacity:1;
}


@keyframes phoneGiftSelectPop{

  0%{
    transform:
      translateX(-50%)
      scale(1);
  }

  55%{
    transform:
      translateX(-50%)
      scale(1.14);
  }

  100%{
    transform:
      translateX(-50%)
      scale(1.08);
  }
}


/* =========================================================
   BOTTOM — ORIGINAL STYLE
   ========================================================= */

.phone-gift-bottom{
  position:relative;

  flex:0 0 auto;

  width:100%;

  background:#2e2e2e;

  overflow:hidden;
}


.phone-gift-bottom-image{
  display:block;

  width:100%;
  height:auto;

  background:#2e2e2e;
}


/* BALANCE */

.phone-dynamic-coins{
  position:absolute;

  right:22px;
  bottom:35px;

  height:30px;

  display:flex;

  align-items:center;

  gap:4px;

  background:#1f1f1f;

  border-radius:10px;

  padding:6px 10px;

  color:#fff;

  font-size:14px;

  font-weight:400;

  font-family:
    Arial,
    Helvetica,
    sans-serif;

  z-index:20;
}


.phone-coin-img{
  display:block;

  margin-top:0;

  width:16px !important;
  height:16px !important;

  object-fit:contain;

  transform:translateY(-2px);
}


.phone-coin-dot{
  font-size:12px;
}


.phone-coin-arrow{
  color:#fff;

  font-size:23px;

  margin-left:-1px;
  margin-top:-3px;
}

/* =========================================================
   PHONE GIFT TOP BAR
   ========================================================= */

.phone-gift-topbar{
  flex:0 0 auto;

  height:58px;

  display:flex;
  align-items:center;

  padding:0 18px;

  background:#2e2e2e;

  border-bottom:
    1px solid
    rgba(255,255,255,.06);
}


.phone-gift-title{
  color:#e6e6e6;

  font-size:17px;
  font-weight:600;

  letter-spacing:-.2px;
}


/* =========================================================
   PHONE GIFT BOTTOM BAR
   ========================================================= */

.phone-gift-bottom-bar{
  position:relative;

  flex:0 0 auto;

  height:62px;

  display:flex;
  align-items:center;
  justify-content:space-between;

  padding:0 16px;

  background:#2e2e2e;

  border-top:
    1px solid
    rgba(255,255,255,.035);
}


/* TABS */

.phone-gift-tabs{
  display:flex;

  align-items:center;

  gap:24px;

  height:100%;
}


.phone-gift-tab{
  position:relative;

  height:100%;

  display:flex;
  align-items:center;

  gap:3px;

  border:0;

  background:transparent;

  color:#8f8f8f;

  font-size:14px;
  font-weight:500;

  padding:0;

  cursor:pointer;
}


.phone-gift-tab.active{
  color:#fff;
}


.phone-gift-tab.active::after{
  content:"";

  position:absolute;

  left:0;
  right:0;

  bottom:0;

  height:2px;

  background:#fff;

  border-radius:999px;
}


.phone-gift-tab-arrow{
  font-size:7px;

  transform:rotate(45deg);

  opacity:.8;
}


/* =========================================================
   BALANCE PILL
   ========================================================= */

.phone-dynamic-coins{
  position:static;

  height:32px;

  display:flex;

  align-items:center;

  gap:4px;

  background:#1f1f1f;

  border-radius:9px;

  padding:0 10px;

  color:#fff;

  font-size:13px;
  font-weight:500;

  z-index:20;
}


.phone-coin-img{
  width:15px !important;
  height:15px !important;

  object-fit:contain;

  margin:0;
}


.phone-coin-balance{
  white-space:nowrap;
}


.phone-coin-arrow{
  font-size:20px;

  line-height:1;

  margin-left:1px;

  opacity:.9;
}


/* =========================================================
   PHONE GIFT PANEL IMAGES
   ========================================================= */

.phone-gift-header-img-wrap{
  flex:0 0 auto;

  width:100%;

  background:#2e2e2e;

  overflow:hidden;
}

.phone-gift-header-img{
  display:block;

  width:100%;
  height:auto;

  object-fit:contain;
}


/* GIFTS MIDDLE AREA */

.phone-gifts-wrapper{
  flex:1 1 auto;

  min-height:0;

  overflow-y:auto;
  overflow-x:hidden;

  background:#2e2e2e;

  -webkit-overflow-scrolling:touch;
  scrollbar-width:none;
}

.phone-gifts-wrapper::-webkit-scrollbar{
  display:none;
}


/* BOTTOM IMAGE */





.phone-gift-header{
  flex:0 0 auto;

  height:60px;
  padding:10px;

  background:#2e2e2e !important;

  border-radius:10px 10px 0 0;

  border-bottom:
    1px solid rgb(118 114 114 / 39%);

  overflow:hidden;
}

.phone-gift-level{
  display:block;

  width:94%;
  height:auto;

  margin-top:0;
  margin-left:10px;

  border-radius:8px;
}


/* =========================================================
   PHONE COIN BALANCE
   ========================================================= */




/* LIVE BALANCE OVER THE IMAGE */





.phone-gift-bottom-img{
  display:block;
  width:100%;
  height:auto;
}

/* მხოლოდ ციფრები — დანარჩენი დიზაინი ფოტოშია */
.phone-balance-overlay{
  position:absolute;

  right:17px;
  top:50%;

  transform:translateY(-50%);

  display:flex;
  align-items:center;

  gap:3px;

  z-index:5;

  pointer-events:none;
}

.phone-coin-balance-overlay{
  color:#fff;

  font-family:
    Arial,
    Helvetica,
    sans-serif;

  font-size:12px;
  font-weight:600;

  line-height:1;

  white-space:nowrap;
}

.phone-balance-arrow{
  position:relative;

  top:-1px;

  color:#fff;

  font-family:
    Arial,
    Helvetica,
    sans-serif;

  font-size:19px;
  font-weight:400;

  line-height:12px;

  opacity:.95;
}


/* =========================================================
   PHONE GIFT BOTTOM — ORIGINAL IMAGE + LIVE BALANCE
   ========================================================= */






/* =========================================================
   LIVE BALANCE OVER ORIGINAL IMAGE
   ========================================================= */







/* =========================================================
   PHONE GIFT BOTTOM
   ========================================================= */

.phone-gift-bottom{
  width:100%;

  flex:0 0 auto;

  background:#2e2e2e !important;
}


.phone-gift-bottom-image{
  display:block;

  width:100%;
  height:auto;
}


/* =========================================================
   PHONE COIN BALANCE — EXACT OLD STYLE
   ========================================================= */

.phone-dynamic-coins{
  position:absolute;

  right:22px;
  bottom:35px;

  height:30px;

  display:flex;
  align-items:center;

  gap:4px;

  background:#1f1f1f;

  border-radius:10px;

  padding:6px 10px;

  color:#ffffff;

  font-size:14px;
  font-weight:400;

  font-family:
    Arial,
    Helvetica,
    sans-serif;

  z-index:20;
}


.phone-coin-dot{
  font-size:12px;
}


.phone-coin-img{
  display:block;

  margin-top:3px;

  width:16px !important;
  height:16px !important;

  object-fit:contain;
}


#phoneCoinBalance{
  color:#fff;

  font-size:14px;
  font-weight:400;

  line-height:1;

  white-space:nowrap;
}


.phone-coin-arrow{
  color:#ffffff;

  font-size:23px;

  margin-left:-1px;
  margin-top:-3px;

  line-height:1;
}


/* =========================================================
   PHONE CONTROL — BALANCE
   ========================================================= */

.phone-balance-control{
  margin-top:12px;

  padding-top:10px;

  border-top:
    1px solid
    rgba(255,255,255,.06);
}


.phone-balance-control-title{
  margin-bottom:7px;

  color:#a8a8a8;

  font-size:11px;
  font-weight:700;
}


.phone-balance-control-row{
  display:flex;

  align-items:center;

  gap:7px;
}


.phone-balance-input{
  flex:1;

  min-width:0;

  height:32px;

  padding:0 10px;

  border:none;
  outline:none;

  border-radius:9px;

  background:#141414;

  color:#fff;

  font-size:12px;
  font-weight:700;
}


.phone-balance-apply{
  height:32px;

  padding:0 11px;

  border:0;

  border-radius:9px;

  background:#1687ff;

  color:#fff;

  font-size:10px;
  font-weight:900;

  cursor:pointer;
}


/* =========================================================
   PHONE COMBO — OLD DESIGN
   ========================================================= */

.phone-combo-container{
  position:absolute;

  bottom:100px;
  right:10%;

  display:none;

  z-index:9999;
}


.phone-gift-button-wrapper{
  position:relative;

  width:90px;
  height:90px;

  transform: translateX(34px) translateY(25px) scale(.75);
  transform-origin:center center;
}


.phone-combo-button{
  position:absolute;

  width:90px;
  height:90px;

  border-radius:50%;

  background:#ff3056;

  border:none;

  cursor:pointer;

  z-index:2;

  transition:transform .1s ease;

  overflow:hidden;
}


.phone-combo-button:active{
  transform:scale(.93);
}


.phone-combo-label{
  position:absolute;

  top:50%;
  left:50%;

  transform:
    translate(-50%, -50%);

  font-style:italic;
  font-weight:bold;

  color:white;

  font-size:18px;

  pointer-events:none;
}


.phone-combo-count{
  position:absolute;

  top:-50px;
  left:35%;

  width:38px;
  height:38px;

  display:flex;

  align-items:center;
  justify-content:center;

  background:#ff3056;

  border-radius:50%;

  color:white;

  font-size:18px;
  font-weight:bold;
  font-style:italic;

  opacity:1;

  transition:
    transform .3s ease,
    opacity .3s ease;

  z-index:5;

  pointer-events:none;
}


.phone-combo-count.hide{
  opacity:0;

  transform:
    translate(-50%, 10px)
    scale(.5);
}


.phone-progress-ring{
  position:absolute;

  top:-10px;
  left:-10px;

  z-index:1;

  transform:rotate(-90deg);

  transform-origin:center;
}


.phone-progress-ring-bg{
  stroke:#ff007f;

  stroke-width:4;

  fill:transparent;
}


.phone-progress-ring-progress{
  stroke:black;

  stroke-width:4;

  fill:transparent;

  transform-origin:center;
}


.phone-combo-button.pulse{
  animation:
    phoneComboPulse
    .4s ease;
}


@keyframes phoneComboPulse{

  0%{
    transform:scale(1);
  }

  50%{
    transform:scale(1.08);
  }

  100%{
    transform:scale(1);
  }

}

/* =========================================================
   PHONE TRANSPARENT GIFT ANIMATION
   ========================================================= */

.phone-gift-layer{
  position:absolute;

  inset:0;

  width:100%;
  height:100%;

  overflow:hidden;

  pointer-events:none;

  z-index:2500;
}


.phone-gift-canvas{
  position:absolute;

  left:50%;
  bottom:0;

  width:100%;
  height:auto;

  aspect-ratio:9 / 16;

  transform:translateX(-50%);

  display:none;

  pointer-events:none;

  background:transparent;
}


/* ==========================================
   PHONE - DISABLE TAP / PINCH ZOOM
   ========================================== */

body.phone-view,
body.phone-view #phone-app,
body.phone-view .phone-stage {
  touch-action: manipulation;
  overscroll-behavior: none;

  -webkit-user-select: none;
  user-select: none;

  -webkit-touch-callout: none;
  -webkit-tap-highlight-color: transparent;
}


/* ==========================================
   PHONE MEDIA LAYOUT CONTROLLER
   ========================================== */

.phone-media-layout-controls{
  margin-top:14px;
  padding-top:12px;

  border-top:
    1px solid rgba(255,255,255,.08);
}


.phone-media-layout-title{
  margin-bottom:12px;

  font-size:12px;
  font-weight:800;

  color:#fff;
}


.phone-media-layout-divider{
  margin-top:12px;
  margin-bottom:8px;

  font-size:10px;
  font-weight:800;

  letter-spacing:.8px;

  color:rgba(255,255,255,.5);

  text-transform:uppercase;
}


.phone-media-layout-row{
  display:grid;

  grid-template-columns:
    58px 1fr 48px;

  align-items:center;

  gap:8px;

  min-height:30px;
}


.phone-media-layout-row > span{
  font-size:10px;

  color:
    rgba(255,255,255,.72);
}


.phone-media-layout-row > strong{
  font-size:10px;

  color:#fff;

  text-align:right;

  font-variant-numeric:
    tabular-nums;
}


.phone-media-layout-row input[type="range"]{
  width:100%;

  cursor:pointer;
}


.phone-media-layout-reset{
  width:100%;

  margin-top:12px;
}

.desktop-phone-guests{
  display:none;
}

body.phone-mode.control-view .desktop-phone-guests{
  display:block;
}

/* ==========================================
   PHONE MODE — ONLY 6 SEARCH SLOTS
   ========================================== */

body.phone-mode.control-view
.api-rows .oneperson[data-slot="7"],

body.phone-mode.control-view
.api-rows .oneperson[data-slot="8"],

body.phone-mode.control-view
.api-rows .oneperson[data-slot="9"]{
  display:none !important;
}





/* ==========================================
   CONTROLLER / PC POSITION
   ========================================== */

body.phone-mode.control-view
.desktop-phone-guests{
  position:absolute;

  /* მთავარ frame-ის შიგნით, მარჯვენა მხარეს */
  left:1000px;
  bottom:820px;

  width:160px;

  height:auto;

  z-index:50;

  pointer-events:none;
}


body.phone-mode.control-view
.desktop-phone-guests
.phone-request-stack{
  position:absolute;

  right:0;
  bottom:0;

  left:auto;
  top:auto;

  display:flex;

  flex-direction:column-reverse;

  gap:6px;

  align-items:flex-end;
}

/* =========================================================
   PHONE VIEW — GUEST STACK FINAL
   ========================================================= */

body.phone-view
.phone-guests{
  position:absolute;
  inset:0;

  z-index:20;

  pointer-events:none;
}


/* მთელი stack */
body.phone-view
.phone-guests
.phone-request-stack{
  position:absolute;

  right:8px;
  bottom:95px;

  left:auto;
  top:auto;

  display:flex;
  flex-direction:column-reverse;

  gap:4px;

  align-items:flex-end;

  transform:none !important;
}


/* ==========================================
   REQUEST
   ========================================== */

body.phone-view
.phone-request-header{
  width:112px;
}


body.phone-view
.phone-request-btn{
  width:112px;
  height:40px;

  border-radius:8px;

  font-size:16px;
  font-weight:300;
}


/* ==========================================
   ROW + CARD
   ========================================== */

body.phone-view
.phone-stack-row{
  width:112px;
  height:112px;

  flex:0 0 112px;
}


body.phone-view
.phone-request-card{
  width:112px;
  height:112px;
}


/* ==========================================
   AVATAR
   ========================================== */

body.phone-view
.phone-guest-avatar-wrap{
  top:33px;

  width:48px;
  height:48px;
}


/* ==========================================
   COIN PILL
   ========================================== */

body.phone-view
.phone-guest-counter{
  left:7px;
  top:7px;

  height:22px;

  min-width:0;
  max-width:76px;

  padding:0 6px;

  gap:4px;

  border-radius:11px;

  font-size:13px;
  line-height:1;

  overflow:hidden;
}


body.phone-view
.phone-guest-counter img{
  width:14px;
  height:14px;

  flex:0 0 14px;
}


body.phone-view
.phone-guest-counter span{
  font-size:13px;
  line-height:1;

  white-space:nowrap;
}


/* ==========================================
   NAME PILL
   ========================================== */

body.phone-view
.phone-guest-bottom{
  left:7px;
  bottom:5px;

  height:22px;

  min-width:0;
  max-width:80px;

  padding:0 4px 0 7px;

  gap:4px;

  border-radius:11px;

  overflow:hidden;
}


body.phone-view
.phone-guest-name{
  max-width:52px;

  font-size:13px;
  line-height:1;

  white-space:nowrap;

  overflow:hidden;
  text-overflow:ellipsis;
}


/* ==========================================
   PLUS
   ========================================== */

body.phone-view
.phone-guest-plus{
  width:17px;
  height:17px;

  flex:0 0 17px;

  padding:0 !important;
  margin:0 !important;

  border-radius:50%;

  font-size:0 !important;
  line-height:0 !important;

  background:
    linear-gradient(#fff,#fff)
      center / 8px 2px no-repeat,

    linear-gradient(#fff,#fff)
      center / 2px 8px no-repeat,

    #585652;

  transform:none !important;
}


/* ==========================================
   MUTE
   ========================================== */

body.phone-view
.phone-guest-mute{
  right:3px !important;
  bottom:4px !important;

  width:20px !important;
  height:20px !important;

  display:block !important;
  visibility:visible !important;

  opacity:.95 !important;

  object-fit:contain;

  z-index:20 !important;
}


/* ==========================================
   GIFT ICON
   ========================================== */

body.phone-view
.phone-guest-gift-pop{
  position:absolute;

  right:4px;
  top:6px;

  width:21px;
  height:21px;

  object-fit:contain;

  opacity:0;

  transform:scale(.85);

  pointer-events:none;

  z-index:30;

  filter:
    drop-shadow(
      0 3px 7px
      rgba(0,0,0,.35)
    );

  transition:
    opacity .55s ease,
    transform .55s ease;
}


body.phone-view
.phone-guest-gift-pop.is-visible{
  opacity:1;

  transform:scale(1);
}


body.phone-view
.phone-guest-plus{
  width:18px;
  height:18px;

  flex-basis:18px;

  font-size:19px;
}





/* ==========================================
   REQUEST HEADER
   ========================================== */

.phone-request-header{
  width:160px;

  display:flex;

  justify-content:center;
  align-items:center;

  flex:0 0 auto;
}


.phone-request-btn{
  width:160px;
  height:55px;

  border:none;

  border-radius:10px;

  background:
    rgba(66,66,66,.89);

  color:#fff;

  font-size:22px;
  font-weight:300;

  box-shadow:
    0 10px 20px
    rgba(0,0,0,.25);

  pointer-events:none;

  user-select:none;
}

/* =========================================================
   PHONE GUEST STACK — OLD DESIGN PORT
   ========================================================= */

.phone-request-stack{
  position:absolute;

  display:flex;
  flex-direction:column-reverse;
  gap:6px;

  align-items:flex-end;

  overflow:visible;

  pointer-events:none;
}


/* =========================================================
   REQUEST HEADER
   ========================================================= */

.phone-request-header{
  display:flex;
  justify-content:center;
  align-items:center;

  width:160px;

  flex:0 0 auto;
}


.phone-request-btn{
  width:162px;
  height:55px;

  border:none;
  border-radius:10px;

  background:
    rgba(66,66,66,.89);

  color:#fff;

  font-size:22px;
  font-weight:200;

  box-shadow:
    0 10px 20px
    rgba(0,0,0,.25);

  user-select:none;
  pointer-events:none;
}


/* =========================================================
   ROW
   ========================================================= */

.phone-stack-row{
  position:relative;

  display:flex;
  align-items:center;
  justify-content:flex-end;

  width:160px;
  height:160px;

  flex:0 0 160px;
}


/* =========================================================
   CARD
   ========================================================= */

.phone-request-card{
  position:relative;

  width:160px;
  height:160px;

  overflow:hidden;

  border-radius:0;

  background:
    radial-gradient(
      circle at top,
      #1a1a1a 0%,
      #0b0b0b 60%,
      #050505 100%
    );

  border:1px solid #111;

  display:block;

  --phone-avatar-bg:none;
}


/* blurred avatar background */

.phone-request-card::before{
  content:"";

  position:absolute;

  inset:-60px;

  background-image:
    var(--phone-avatar-bg);

  background-size:cover;
  background-position:center;

  filter:
    blur(40px)
    saturate(1.3);

  opacity:.45;

  z-index:0;
}


/* dark overlay */

.phone-request-card::after{
  content:"";

  position:absolute;
  inset:0;

  background:
    rgba(0,0,0,.55);

  z-index:0;
}


.phone-request-card > *{
  position:relative;
  z-index:1;
}


/* =========================================================
   COUNTER
   ========================================================= */

.phone-guest-counter{
  position:absolute;

  left:10px;
  top:10px;

  height:30px;

  display:inline-flex;
  align-items:center;

  gap:8px;

  background:#2c2a27;

  padding:
    0 10px;

  border-radius:999px;

  z-index:6;

  color:#fff;

  font-size:18px;
}


.phone-guest-counter img{
  width:18px;
  height:18px;
  flex:0 0 auto;
  object-fit:contain;
}


.phone-guest-counter span{
  display:inline-block;

  color:#fff;

  font-size:18px;
  font-weight:400;

  line-height:22px;

  white-space:nowrap;
}


/* =========================================================
   AVATAR
   ========================================================= */

.phone-guest-avatar-wrap{
  position:absolute;

  left:50%;
  top:45px;

  transform:
    translateX(-50%);

  width:72px;
  height:72px;

  border-radius:50%;

  overflow:hidden;
}


.phone-guest-avatar{
  width:100%;
  height:100%;

  object-fit:cover;

  border-radius:50%;

  display:block;
}


/* =========================================================
   BOTTOM PILL
   ========================================================= */

.phone-guest-bottom{
  position:absolute;

  left:10px;
  bottom:6px;

  width:fit-content;

  max-width:
    calc(100% - 46px);

  height:30px;

  background:#2c2a27;

  border-radius:999px;

  padding:
    4px 10px;

  display:flex;
  align-items:center;

  gap:8px;

  z-index:6;
}


.phone-guest-name{
  margin:0;

  color:#fff;

  font-size:18px;
  font-weight:350;

  line-height:1;

  max-width:92px;

  white-space:nowrap;

  overflow:hidden;

  text-overflow:ellipsis;
}


/* PLUS */

.phone-guest-plus{
  width:22px;
  height:22px;

  border-radius:50%;

  background:#585652;

  display:flex;
  align-items:center;
  justify-content:center;

  color:#fff;

  font-weight:400;
  font-size:26px;

  padding-bottom:6px;

  flex:0 0 auto;

  margin-right:-6px;
}


/* =========================================================
   MUTE
   ========================================================= */

.phone-guest-mute{
  position:absolute !important;

  right:3px !important;
  bottom:5px !important;

  width:30px !important;
  height:30px !important;

  display:block !important;
  visibility:visible !important;
  opacity:.95 !important;

  object-fit:contain;

  z-index:20 !important;

  pointer-events:none;
}











/* ==========================================
   PC PHONE MODE GUEST SIZE
   ========================================== */

body.phone-mode.control-view
.desktop-phone-guests
.phone-stack-row{
  width:145px;
  height:145px;

  flex:0 0 145px;
}


body.phone-mode.control-view
.desktop-phone-guests
.phone-request-card{
  width:145px;
  height:145px;
}


body.phone-mode.control-view
.desktop-phone-guests
.phone-request-header{
  width:145px;
}


body.phone-mode.control-view
.desktop-phone-guests
.phone-request-btn{
  width:145px;
  height:50px;

  font-size:20px;
}


body.phone-mode.control-view
.desktop-phone-guests
.phone-guest-avatar-wrap{
  width:67px;
  height:67px;

  top:41px;
}


/* ==========================================
   PHONE GUEST CARD — CLEAN PILLS
   ========================================== */

/* COINS */
body.phone-mode.control-view
.desktop-phone-guests
.phone-guest-counter{
  left:10px;
  top:9px;

  height:26px;
  min-width:0;
  max-width:96px;

  padding:0 8px;

  gap:5px;

  border-radius:13px;

  font-size:16px;
  line-height:1;

  overflow:hidden;
}

body.phone-mode.control-view
.desktop-phone-guests
.phone-guest-counter img{
  width:17px;
  height:17px;

  flex:0 0 17px;
}

body.phone-mode.control-view
.desktop-phone-guests
.phone-guest-counter span{
  font-size:16px;
  line-height:1;

  white-space:nowrap;
}


/* NAME + PLUS */
body.phone-mode.control-view
.desktop-phone-guests
.phone-guest-bottom{
  left:10px;
  bottom:7px;

  height:26px;
  min-width:0;
  max-width:100px;

  padding:0 5px 0 9px;

  gap:5px;

  border-radius:13px;

  overflow:hidden;
}

body.phone-mode.control-view
.desktop-phone-guests
.phone-guest-name{
  max-width:64px;

  font-size:16px;
  line-height:1;

  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}

body.phone-mode.control-view
.desktop-phone-guests
.phone-guest-plus{
  width:20px;
  height:20px;

  flex:0 0 20px;

  padding:0 !important;
  margin:0 !important;

  border-radius:50%;

  /* ტექსტური + აღარ გვჭირდება */
  font-size:0 !important;
  line-height:0 !important;

  /* + ზუსტად ცენტრში იხატება */
  background:
    linear-gradient(#fff,#fff)
      center / 10px 2px no-repeat,

    linear-gradient(#fff,#fff)
      center / 2px 10px no-repeat,

    #585652;

  transform:none !important;
}


body.phone-mode.control-view
.desktop-phone-guests
.phone-guest-mute{
  right:4px !important;
  bottom:5px !important;

  width:27px !important;
  height:27px !important;
}


.phone-guest-counter{
  overflow:hidden;
}


.phone-guest-counter.phone-counter-anim span{
  animation:
    phoneGuestCountUp
    620ms
    ease-out;
}


@keyframes phoneGuestCountUp{

  from{
    transform:
      translateY(110%);

    opacity:0;
  }

  to{
    transform:
      translateY(0);

    opacity:1;
  }

}


body.phone-mode.control-view
.desktop-phone-guests
.phone-guest-gift-pop{

  position:absolute;

  top:7px;
  right:5px;

  width:28px;
  height:28px;

  object-fit:contain;

  opacity:0;

  transform:scale(.85);

  pointer-events:none;

  z-index:30;

  filter:
    drop-shadow(
      0 4px 10px
      rgba(0,0,0,.35)
    );

  transition:
    opacity .55s ease,
    transform .55s ease;
}


body.phone-mode.control-view
.desktop-phone-guests
.phone-guest-gift-pop.is-visible{

  opacity:1;

  transform:scale(1);
}



body.phone-view
.phone-request-card{
  pointer-events:auto;

  cursor:pointer;

  -webkit-tap-highlight-color:
    transparent;

  touch-action:manipulation;
}



/* =========================================================
   PHONE GUEST ACTION MENU
   ========================================================= */

.phone-guest-action-menu{
  position:absolute;

  left:0;
  bottom:0;

  width:100%;

  height:350px;

  display:none;

  padding:
    16px 18px
    18px;

  background:#202020;

  border-radius:
    22px 22px
    0 0;

  overflow:hidden;

  z-index:5000;

  color:#fff;

  box-shadow:
    0 -8px 30px
    rgba(0,0,0,.28);

  transform:
    translateY(100%);
}


/* OPEN */

.phone-guest-action-menu.guest-menu-open{
  animation:
    phoneGuestMenuOpen
    .3s
    forwards;
}


/* CLOSE */

.phone-guest-action-menu.guest-menu-close{
  animation:
    phoneGuestMenuClose
    .3s
    forwards;
}


@keyframes phoneGuestMenuOpen{

  from{
    transform:
      translateY(100%);
  }

  to{
    transform:
      translateY(0);
  }

}


@keyframes phoneGuestMenuClose{

  from{
    transform:
      translateY(0);
  }

  to{
    transform:
      translateY(100%);
  }

}


/* =========================================================
   HEADER
   ========================================================= */

.phone-guest-action-header{
  height:48px;

  display:flex;

  align-items:center;
  justify-content:space-between;

  margin-bottom:12px;
}


.phone-guest-action-user{
  min-width:0;

  display:flex;

  align-items:center;

  gap:11px;
}


.phone-guest-action-avatar-wrap{
  width:43px;
  height:43px;

  flex:0 0 43px;

  border-radius:50%;

  overflow:hidden;

  background:#333;
}


.phone-guest-action-avatar{
  width:100%;
  height:100%;

  display:block;

  object-fit:cover;

  border-radius:50%;
}


.phone-guest-action-name{
  max-width:220px;

  overflow:hidden;

  white-space:nowrap;

  text-overflow:ellipsis;

  color:#fff;

  font-size:17px;
  font-weight:700;
}


.phone-guest-action-more{
  width:36px;
  height:36px;

  flex:0 0 36px;

  display:flex;
  align-items:center;
  justify-content:center;

  border:0;

  border-radius:50%;

  background:#303030;

  color:#fff;

  font-size:17px;

  cursor:pointer;

  -webkit-tap-highlight-color:
    transparent;
}


/* =========================================================
   ACTION GRID
   ========================================================= */

.phone-guest-action-grid{
  display:grid;

  grid-template-columns:
    repeat(4, 1fr);

  gap:
    10px 9px;
}


.phone-guest-action-btn{
  height:88px;

  padding:10px 3px 8px;

  border:0;

  border-radius:14px;

  background:#303030;

  color:#fff;

  display:flex;

  flex-direction:column;

  align-items:center;
  justify-content:center;

  gap:9px;

  cursor:pointer;

  -webkit-tap-highlight-color:
    transparent;

  transition:
    transform .12s ease,
    background .12s ease;
}


.phone-guest-action-btn:active{
  transform:
    scale(.94);

  background:#393939;
}


.phone-guest-action-btn i{
  font-size:27px;

  line-height:1;

  color:#fff;
}


.phone-guest-action-btn span{
  max-width:100%;

  color:#fff;

  font-size:11px;
  font-weight:500;

  line-height:1.1;

  white-space:nowrap;
}


/*
 * მეორე ხაზზე მხოლოდ 3 ღილაკია.
 * Screenshot-ის მსგავსად
 * მარცხნიდან დაიწყება.
 */

.phone-guest-action-btn[
  data-action="expand-both"
]{
  grid-column:1;
}


.phone-guest-action-btn[
  data-action="switch"
]{
  grid-column:2;
}


.phone-guest-action-btn[
  data-action="countdown"
]{
  grid-column:3;
}


/* =========================================================
   DISCONNECT
   ========================================================= */

.phone-guest-action-disconnect{
  width:100%;

  height:52px;

  margin-top:12px;

  border:0;

  background:transparent;

  color:#fff;

  font-size:16px;
  font-weight:500;

  cursor:pointer;

  -webkit-tap-highlight-color:
    transparent;
}


.phone-guest-action-disconnect:active{
  opacity:.65;
}


/* =========================================================
   PHONE DISCONNECT CONFIRM
   ========================================================= */

.phone-disconnect-overlay{
  position:absolute;

  inset:0;

  display:none;

  align-items:center;
  justify-content:center;

  padding:18px;

  background:
    rgba(0,0,0,.58);

  z-index:9000;

  opacity:0;

  -webkit-tap-highlight-color:
    transparent;
}


/* OPEN */

.phone-disconnect-overlay.is-open{
  animation:
    phoneDisconnectOverlayIn
    .18s
    ease-out
    forwards;
}


/* CLOSE */

.phone-disconnect-overlay.is-closing{
  animation:
    phoneDisconnectOverlayOut
    .18s
    ease-in
    forwards;
}


@keyframes phoneDisconnectOverlayIn{

  from{
    opacity:0;
  }

  to{
    opacity:1;
  }

}


@keyframes phoneDisconnectOverlayOut{

  from{
    opacity:1;
  }

  to{
    opacity:0;
  }

}


/* =========================================================
   WHITE DIALOG
   ========================================================= */

.phone-disconnect-dialog{
  width:336px;

  background:#fff;

  border-radius:9px;

  overflow:hidden;

  color:#111;

  text-align:center;

  box-shadow:
    0 6px 25px
    rgba(0,0,0,.28);

  transform:
    scale(.94);

  opacity:0;
}


.phone-disconnect-overlay.is-open
.phone-disconnect-dialog{
  animation:
    phoneDisconnectDialogIn
    .18s
    ease-out
    forwards;
}


@keyframes phoneDisconnectDialogIn{

  from{
    transform:
      scale(.94);

    opacity:0;
  }

  to{
    transform:
      scale(1);

    opacity:1;
  }

}


/* TITLE */

.phone-disconnect-title{
  padding:
    24px 22px
    7px;

  color:#111;

  font-size:21px;
  font-weight:700;

  line-height:1.2;
}


/* MESSAGE */

.phone-disconnect-text{
  padding:
    0 22px
    22px;

  color:#666;

  font-size:16px;
  font-weight:400;

  line-height:1.25;
}


/* BUTTON ROW */

.phone-disconnect-actions{
  height:52px;

  display:grid;

  grid-template-columns:
    1fr 1fr;

  border-top:
    1px solid #eeeeee;
}


.phone-disconnect-actions button{
  border:0;

  background:#fff;

  color:#222;

  font-size:16px;

  cursor:pointer;

  -webkit-tap-highlight-color:
    transparent;
}


.phone-disconnect-cancel{
  border-right:
    1px solid #eeeeee !important;

  color:#666 !important;

  font-weight:400;
}


.phone-disconnect-confirm{
  font-weight:600;
}


.phone-disconnect-actions button:active{
  background:#f2f2f2;
}


/* =========================================================
   PHONE VIEW — SELECTED GIFT RECIPIENT
   ========================================================= */

body.phone-view
.phone-gift-recipient{
  position:absolute;

  left:16px;
  top:-48px;

  width:166px;
  height:48px;

  display:none;
  align-items:center;

  gap:7px;

  padding:
    5px 6px
    5px 6px;

  background:#252525;

  border-radius:999px;

  color:#fff;

  z-index:3100;

  box-shadow:
    0 4px 14px
    rgba(0,0,0,.28);

  pointer-events:none;
}


/* OPEN */




/* CLOSE */







/* AVATAR */

body.phone-view
.phone-gift-recipient-avatar{

  width:36px;
  height:36px;

  flex:0 0 36px;

  display:block;

  border-radius:50%;

  object-fit:cover;
}


/* NAME */

body.phone-view
.phone-gift-recipient-name{
  width:72px;
  max-width:72px;
  min-width:72px;

  overflow:hidden;
  white-space:nowrap;
  text-overflow:ellipsis;

  color:#fff;

  font-size:14px;
  font-weight:600;
  line-height:1;

  flex:0 0 72px;
}


/* SWITCH SPOT LOOK */



body.phone-view
.phone-gift-recipient-switch{
  width:42px;
  height:34px;

  flex:0 0 42px;

  display:flex;
  align-items:center;
  justify-content:center;

  margin-left:3px;

  border-radius:999px;

  background:#4b4b4b;

  color:#fff;

  overflow:hidden;
}

body.phone-view
.phone-gift-recipient-switch i{
  font-size:17px;
  line-height:1;

  color:#fff;

  transform:none;
}



/* ==========================================
   PHONE GIFT RECIPIENT - CUSTOM SWITCH ICON
   ========================================== */

.phone-gift-recipient-switch{
  width:40px;
  height:34px;

  min-width:40px;
  flex:0 0 40px;

  display:flex;
  align-items:center;
  justify-content:center;

  border-radius:999px;

  background:#4a4a4a;

  padding:0;

  overflow:hidden;

  margin-left:4px;
}

.phone-gift-recipient-switch-img{
  width:17px;
  height:17px;

  display:block;

  object-fit:contain;

  pointer-events:none;
  user-select:none;
}



/* =========================================================
   FINAL FIX — GIFT RECIPIENT MUST STAY ATTACHED TO PANEL
   ========================================================= */

body.phone-view .phone-gift-menu{
  overflow:visible !important;
}

body.phone-view .phone-gift-recipient{
  position:absolute;

  left:16px;
  top:-48px;

  width:166px;
  height:48px;

  display:none;
  align-items:center;

  gap:7px;

  padding:5px 6px;

  background:#252525;
  border-radius:999px;

  color:#fff;

  z-index:9999;

  pointer-events:none;
}


/* FINAL POSITION TUNING */

body.phone-view
.phone-gift-recipient{
  left:8px;      /* უფრო მარცხნივ */
  top:-54px;     /* უფრო მაღლა */

  width:166px;
  height:46px;

  padding:5px 6px;
  gap:6px;
}


/* SWITCH OUTER PILL */

body.phone-view
.phone-gift-recipient-switch{
  width:42px;
  height:34px;

  min-width:42px;
  flex:0 0 42px;

  margin-left:2px;

  display:flex;
  align-items:center;
  justify-content:center;

  padding:0;

  border-radius:999px;

  background:#4a4a4a;

  overflow:hidden;
}


/* OUR PNG ARROWS */

body.phone-view
.phone-gift-recipient-switch-img{
  width:15px;
  height:15px;

  display:block;

  object-fit:contain;

  margin:0;

  transform:translateY(0);

  pointer-events:none;
}


/* =========================================================
   FINAL RECIPIENT SIZE + SWITCH FIX
   ========================================================= */

body.phone-view
.phone-gift-recipient{
  width:max-content;
  min-width:0;
  max-width:180px;

  height:46px;

  padding:5px 6px;
  gap:6px;
}


/* NAME — მოკლე სახელი მოკლე ადგილს იკავებს */

body.phone-view
.phone-gift-recipient-name{
  width:auto;
  min-width:0;
  max-width:120px;

  flex:0 1 auto;

  display:block;

  overflow:hidden;
  white-space:nowrap;
  text-overflow:ellipsis;

  font-size:14px;
  font-weight:500;
  line-height:1;
}


/* SWITCH PILL */

body.phone-view
.phone-gift-recipient-switch{
  width:40px;
  height:34px;

  min-width:40px;
  flex:0 0 40px;

  margin-left:0;

  display:flex;
  align-items:center;
  justify-content:center;

  padding:0;

  border-radius:999px;

  background:#4a4a4a;

  overflow:hidden;
}


/* PNG აუცილებლად ზუსტად ცენტრში */

body.phone-view
.phone-gift-recipient-switch-img{
  width:19px;
  height:19px;

  display:block;

  object-fit:contain;

  margin:0;
  padding:0;

  transform:none;

  position:static;

  pointer-events:none;
}








body.phone-view
.phone-gift-recipient{
  padding-left:6px;
  padding-right:4px;   /* მარჯვნივ პატარა შავი ზოლი */
  gap:6px;
}

body.phone-view
.phone-gift-recipient-switch{
  width:43px !important;
  height:40px !important;

  min-width:55px !important;
  flex:0 0 43px !important;

  margin-left:2px !important;
  margin-right:0 !important;

 border-radius:40px !important;
}

/* =========================================================
   PHONE VIEW — FINAL SMALL 6 GUEST STACK
   ========================================================= */

body.phone-view
.phone-guests
.phone-request-stack{
  right:8px;
  bottom:92px;

  gap:4px;
}


/* თითო guest-ის ადგილი */

body.phone-view
.phone-stack-row{
  width:94px;
  height:94px;

  flex:0 0 94px;

  position:relative;
}


/* ორიგინალი card უცვლელი დიზაინით,
   უბრალოდ მთლიანად დაპატარავებული */

body.phone-view
.phone-request-card{
  width:112px;
  height:112px;

  position:absolute;

  right:0;
  bottom:0;

  transform:scale(0.84);
  transform-origin:right bottom;
}


/* ==========================================
   REQUEST HEADER
   ========================================== */

body.phone-view
.phone-request-header{
  width:94px;
  height:34px;
  display:block;
}


/* Request-ს აღარ ვაძლევთ ცალკე უცნაურ ზომას */

body.phone-view
.phone-request-btn{
  width:94px !important;
  height:34px !important;

  transform:none !important;

  margin:0 !important;
  padding:0 !important;

  display:flex;
  align-items:center;
  justify-content:center;

  border-radius:8px;
  font-size:12px;
  line-height:1;

  box-sizing:border-box;
}


/* =========================================================
   DESKTOP PHONE-MODE — SMALLER GUEST STACK
   მხოლოდ კომპიუტერის მხარე
   ========================================================= */

body.phone-mode.control-view
.desktop-phone-guests
.phone-request-stack{
  gap:4px;
}


/* თითო guest-ის ადგილი */
body.phone-mode.control-view
.desktop-phone-guests
.phone-stack-row{
  width:132px;
  height:132px;
  flex:0 0 132px;
  position:relative;
}


/* არსებული 145x145 დიზაინი მთლიანად პროპორციულად პატარავდება */
body.phone-mode.control-view
.desktop-phone-guests
.phone-request-card{
  width:145px;
  height:145px;

  position:absolute;
  right:0;
  bottom:0;

  transform:scale(0.91);
  transform-origin:right bottom;
}


/* REQUEST ზუსტად იგივე სიგანეზე */
body.phone-mode.control-view
.desktop-phone-guests
.phone-request-header{
  width:132px;
  height:46px;
}


/* Request-ს scale აღარ სჭირდება */
body.phone-mode.control-view
.desktop-phone-guests
.phone-request-btn{
  width:132px !important;
  height:46px !important;

  transform:none !important;
  margin:0 !important;
  padding:0 !important;

  display:flex;
  align-items:center;
  justify-content:center;

  box-sizing:border-box;
}

/* =========================================================
   PHONE MODE — DISABLE MIC REACTIVE BLUE BORDER
   ========================================================= */

body.phone-mode.control-view
.mic-host-panel.active
.mic-reactive-border{
  opacity:0 !important;
  border-color:transparent !important;
  box-shadow:none !important;
}