/* Görüşme yerleşimi: ortak kontroller, sohbete ve ekrana göre ayrı kompozisyon. */
#dcRoot #dcPanel.dc-private-audio:not(.dc-mini,.dc-watching) .dc-stage { min-height:0; justify-content:center; overflow:hidden; }
#dcRoot #dcPanel.dc-private-audio:not(.dc-mini,.dc-watching) .dc-grid { display:none!important; }
#dcRoot #dcPanel.dc-private-audio:not(.dc-mini,.dc-watching) .dc-voice-strip {
  flex:1 1 auto; width:100%; min-height:0; max-height:none; align-items:center; justify-content:center; overflow:auto; padding:20px;
}
#dcRoot #dcPanel.dc-private-audio:not(.dc-mini,.dc-watching) .dc-voice-strip .dc-voice-tile {
  flex:0 1 240px; width:min(70vw,260px)!important; height:auto!important; max-height:none!important; gap:14px;
}
#dcRoot #dcPanel.dc-private-audio:not(.dc-mini,.dc-watching) .dc-voice-strip .dc-avatar {
  width:clamp(112px,25vw,176px); height:auto; aspect-ratio:1; flex:0 0 auto; font-size:clamp(40px,9vw,68px);
}
#dcRoot #dcPanel.dc-private-audio:not(.dc-mini,.dc-watching) .dc-voice-strip .dc-person { font-size:14px; line-height:1.4; }
#dcRoot #dcPanel.dc-private-call:not(.dc-mini,.dc-watching) .dc-footer .dc-controls {
  width:min(520px,100%); margin-inline:auto; justify-content:center; gap:clamp(6px,2vw,14px);
}
#dcRoot #dcPanel.dc-private-call:not(.dc-mini,.dc-watching) .dc-footer .dc-controls .dc-button {
  min-width:48px; min-height:48px; flex:0 1 72px; justify-content:center;
}
#dcRoot #dcPanel .dc-grid.dc-gallery>.dc-tile,#dcRoot #dcPanel .dc-grid.dc-has-pin>.dc-pinned { min-width:0; min-height:0; }

/* Dikey telefon: ana görüntü üstte, katılımcılar aynı alt sırada. */
@media(max-width:700px) and (orientation:portrait) {
  #dcRoot #dcPanel:not(.dc-mini,.dc-watching) .dc-stage { gap:8px; }
  #dcRoot #dcPanel:not(.dc-mini,.dc-watching) .dc-grid.dc-has-pin {
    grid-template-columns:repeat(var(--dc-side-count,1),minmax(0,1fr))!important;
    grid-template-rows:minmax(0,1fr) clamp(72px,11dvh,96px)!important; align-content:stretch; gap:8px;
  }
  #dcRoot #dcPanel:not(.dc-mini,.dc-watching) .dc-grid.dc-has-pin>.dc-pinned {
    grid-column:1/-1!important; grid-row:1!important; width:100%!important; height:100%!important; max-height:none!important; min-height:0!important;
  }
  #dcRoot #dcPanel:not(.dc-mini,.dc-watching) .dc-grid.dc-has-pin>.dc-tile:not(.dc-pinned,.dc-self-compact) {
    grid-row:2!important; width:100%!important; height:100%!important; max-height:96px!important; min-height:0!important;
  }
  #dcRoot #dcPanel:not(.dc-mini,.dc-watching) .dc-grid.dc-has-pin[data-visible-count="1"] {
    grid-template-columns:minmax(0,1fr)!important; grid-template-rows:minmax(0,1fr)!important;
  }
  #dcRoot #dcPanel:not(.dc-mini,.dc-watching) .dc-grid.dc-has-pin[data-visible-count="1"]>.dc-pinned { grid-column:1!important; grid-row:1!important; }
  #dcRoot #dcPanel.dc-media-focus:not(.dc-mini,.dc-watching) .dc-media-featured { min-width:0!important; min-height:0!important; overflow:hidden; }
  #dcRoot #dcPanel.dc-media-focus:not(.dc-mini,.dc-watching) .dc-media-featured .dc-watch-media { min-height:0!important; }
  #dcRoot #dcPanel.dc-private-call:not(.dc-mini,.dc-watching) .dc-footer {
    padding:8px max(12px,env(safe-area-inset-right)) max(8px,env(safe-area-inset-bottom));
  }
}

/* Yatay telefon: odaklanan görüntü solda, katılımcılar sağda. */
@media(max-width:900px) and (orientation:landscape) {
  #dcRoot #dcPanel:not(.dc-mini,.dc-watching) .dc-grid.dc-has-pin {
    grid-template-columns:minmax(0,1fr) clamp(88px,14vw,136px)!important;
    grid-template-rows:repeat(var(--dc-side-count,1),minmax(0,1fr))!important; align-content:stretch; gap:8px;
  }
  #dcRoot #dcPanel:not(.dc-mini,.dc-watching) .dc-grid.dc-has-pin>.dc-pinned {
    grid-column:1!important; grid-row:1/-1!important; width:100%!important; height:100%!important; max-height:none!important; min-height:0!important;
  }
  #dcRoot #dcPanel:not(.dc-mini,.dc-watching) .dc-grid.dc-has-pin>.dc-tile:not(.dc-pinned,.dc-self-compact) {
    grid-column:2!important; grid-row:auto!important; width:100%!important; height:100%!important; max-height:none!important; min-height:0!important;
  }
  #dcRoot #dcPanel:not(.dc-mini,.dc-watching) .dc-grid.dc-has-pin[data-visible-count="1"] {
    grid-template-columns:minmax(0,1fr)!important; grid-template-rows:minmax(0,1fr)!important;
  }
  #dcRoot #dcPanel:not(.dc-mini,.dc-watching) .dc-grid.dc-has-pin[data-visible-count="1"]>.dc-pinned { grid-column:1!important; }
  #dcRoot #dcPanel.dc-media-focus:not(.dc-mini,.dc-watching) .dc-media-featured .dc-watch-media { min-height:0!important; }
  #dcRoot #dcPanel:not(.dc-mini,.dc-watching) .dc-footer { padding-block:4px max(6px,env(safe-area-inset-bottom)); }
}

/* Mobil özel görüşme: kameranın tamamını 9:16 kadrajda göster. */
@media(max-width:700px) and (orientation:portrait){
 #dcRoot #dcPanel.dc-duo:not(.dc-mini,.dc-watching) .dc-stage{position:absolute;inset:0;padding:0;overflow:hidden;display:block}
 #dcRoot #dcPanel.dc-duo:not(.dc-mini,.dc-watching) .dc-grid{position:absolute;inset:0;width:100%;height:100%;max-width:none;max-height:none}
 #dcRoot #dcPanel.dc-duo:not(.dc-mini,.dc-watching) .dc-main{inset:50% auto auto 50%;width:min(100vw,47dvh);height:auto;max-width:100vw;aspect-ratio:9/16;transform:translate(-50%,-50%);border-radius:18px;overflow:hidden;background:#080808}
 #dcRoot #dcPanel.dc-duo:not(.dc-mini,.dc-watching) .dc-main video{width:100%;height:100%;object-fit:contain;background:#080808}
 #dcRoot #dcPanel.dc-duo:not(.dc-mini,.dc-watching) .dc-floating{width:clamp(104px,29vw,144px);height:auto;aspect-ratio:9/16;max-height:30dvh;object-fit:cover;border-radius:16px}
 #dcRoot #dcPanel.dc-duo:not(.dc-mini,.dc-watching) .dc-floating video{width:100%;height:100%;object-fit:contain;background:#080808}
}

/* Eş zamanlı yayın ve ortak video için tek, mobil erişilebilir odak seçici. */
#dcRoot .dc-mobile-focus{position:absolute;z-index:16;left:50%;bottom:calc(72px + env(safe-area-inset-bottom));transform:translateX(-50%);display:flex;gap:4px;padding:4px;border:1px solid #ffffff24;border-radius:999px;background:#111d;backdrop-filter:blur(14px)}
#dcRoot .dc-mobile-focus[hidden]{display:none}
#dcRoot .dc-mobile-focus button,#dcRoot .dc-audio-background{display:grid;place-items:center;width:46px;height:46px;min-width:46px;min-height:46px;padding:10px;border:1px solid transparent;border-radius:50%;background:transparent;color:#eee;cursor:pointer;touch-action:manipulation}
#dcRoot .dc-mobile-focus button[aria-pressed=true]{background:#ffffff1c;border-color:#ffffff24;color:#fff}
#dcRoot .dc-mobile-focus svg,#dcRoot .dc-audio-background svg{width:22px;height:22px}
#dcRoot .dc-audio-background{position:absolute;z-index:17;right:16px;bottom:calc(72px + env(safe-area-inset-bottom));border-color:#ffffff24;background:#171717e8;backdrop-filter:blur(14px)}
#dcRoot .dc-audio-background[hidden]{display:none}
@media(max-height:500px) and (orientation:landscape){#dcRoot .dc-mobile-focus,#dcRoot .dc-audio-background{bottom:calc(54px + env(safe-area-inset-bottom))}}

/* Yeniden bağlanma kartında ad ve durum ayrı satırlarda kalsın. */
#dcRoot #dcPanel .dc-voice-strip .dc-reconnecting-person{flex:0 0 128px!important;width:128px!important;height:auto!important;min-height:72px!important;max-height:none!important;flex-direction:row;justify-content:flex-start;gap:8px;padding:7px;border:1px solid #ffffff12;background:#ffffff06}
#dcRoot .dc-reconnecting-person .dc-reconnecting-label{display:flex;flex:1;min-width:0;flex-direction:column;gap:3px;text-align:left;line-height:1.25}
#dcRoot .dc-reconnecting-person .dc-reconnecting-label strong{font-size:11px;font-weight:650;white-space:normal;overflow-wrap:anywhere;color:var(--dc-text)}
#dcRoot .dc-reconnecting-person .dc-reconnecting-label small{font-size:9px;white-space:normal;color:var(--dc-muted)}
#dcRoot #dcPanel.dc-mini .dc-voice-strip .dc-reconnecting-person{width:100%!important;min-height:62px!important;max-height:none!important;flex-direction:column;gap:3px}
#dcRoot #dcPanel.dc-mini .dc-reconnecting-label{text-align:center}

/* Arama hareketleri: zaman ve eylem listesini okunur tut. */
.chat-call-history .chat-call-time-range{display:block;margin:0 0 5px}
.chat-call-events ol{display:grid;gap:0;padding:0;margin:0 0 8px;list-style:none;max-height:180px;overflow:auto}
.chat-call-events li{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;padding:6px 0;border-top:1px solid var(--t-border,#ffffff12);font-size:11px;line-height:1.45}
.chat-call-events li>span{min-width:0;overflow-wrap:anywhere}
.chat-call-events li strong{font-size:11px}
.chat-call-events li time{flex:0 0 auto;font-size:10px;color:var(--text-3,#aaa)}


/* Call chrome: the title and elapsed time live together, away from the people control. */
#dcRoot #dcPanel:not(.dc-mini) .dc-header{inset:max(10px,env(safe-area-inset-top)) max(12px,env(safe-area-inset-right)) auto max(12px,env(safe-area-inset-left));width:auto;min-height:44px;justify-content:space-between;align-items:flex-start;gap:10px;padding:0;border:0;background:linear-gradient(#0008,transparent);pointer-events:none;box-shadow:none}
#dcRoot #dcPanel:not(.dc-mini) .dc-heading{display:flex;flex:1 1 0;min-width:0;max-width:none;flex-direction:column;gap:2px;padding:4px 0;text-align:left;pointer-events:none}
#dcRoot #dcPanel:not(.dc-mini) .dc-heading h2{max-width:100%;margin:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:14px;line-height:1.35;font-weight:600;letter-spacing:0}
#dcRoot #dcPanel:not(.dc-mini) .dc-heading p{font-size:11px;line-height:1.3;font-variant-numeric:tabular-nums}
#dcRoot #dcPanel:not(.dc-mini) .dc-header-actions{flex:0 0 auto;gap:2px;pointer-events:auto}
#dcRoot #dcPanel:not(.dc-mini) .dc-header-actions [data-call-action=people]{width:44px;min-width:44px;height:44px;min-height:44px;padding:0}
#dcRoot #dcPanel:not(.dc-mini) .dc-header-actions [data-call-action=people] .dc-call-summary{display:none!important}
#dcRoot #dcPanel:not(.dc-mini) .dc-header-actions .dc-button{width:42px;min-width:42px;height:44px;min-height:44px}
#dcRoot .dc-call-more{position:relative;flex:0 0 44px;width:44px;height:44px;align-self:center}
#dcRoot .dc-call-more>summary{display:grid;place-items:center;width:44px;height:44px;list-style:none;border-radius:50%;color:var(--dc-text);cursor:pointer;touch-action:manipulation}
#dcRoot .dc-call-more>summary::-webkit-details-marker{display:none}
#dcRoot .dc-call-more>summary svg{width:22px;height:22px}
#dcRoot .dc-call-more[open]>summary{background:#ffffff18}
#dcRoot .dc-call-more-list{position:absolute;right:0;bottom:calc(100% + 10px);z-index:32;display:grid;gap:4px;min-width:204px;padding:6px;border:1px solid var(--dc-line);border-radius:14px;background:#111214;box-shadow:0 12px 32px #0008}
#dcRoot .dc-call-more-list .dc-button{width:100%;min-height:44px;justify-content:flex-start;padding:10px 12px;border:0;background:transparent;text-align:left}
@media(max-width:700px){#dcRoot #dcPanel:not(.dc-mini) .dc-header-actions{gap:0}}

/* Chat call cards keep their content inside narrow message columns. */
.chat-call-history{width:min(440px,calc(100% - 24px));max-width:100%;min-width:0;flex-wrap:nowrap;box-sizing:border-box}
.chat-call-history-body{flex:1 1 0;min-width:0;overflow-wrap:anywhere}
.chat-call-history>time{flex:0 0 auto;white-space:nowrap}
.chat-call-history details,.chat-call-history summary{min-width:0;overflow-wrap:anywhere}
.chat-call-events li>span{flex:1 1 0;min-width:0;overflow-wrap:anywhere}
@media(max-width:600px){
 .chat-call-history{width:calc(100% - 20px);max-width:440px;margin:12px auto;padding:12px;gap:9px;border-radius:16px}
 .chat-call-history-icon{width:34px;height:34px;flex:0 0 34px}
 .chat-call-history-body{min-width:0}
 .chat-call-history p{font-size:11px;line-height:1.45;overflow-wrap:anywhere}
 .chat-call-history summary{padding:8px 0;line-height:1.35}
 .chat-call-history ul,.chat-call-events ol{max-width:100%;overflow-x:hidden}
 .chat-call-history li,.chat-call-events li{gap:8px;align-items:flex-start}
 .chat-call-events li time{flex:0 0 auto}
}
@media(max-width:360px){.chat-call-history{width:calc(100% - 16px);padding:10px;gap:8px}.chat-call-history-icon{width:30px;height:30px;flex-basis:30px}}

/* Kamera üzerinde başlık bandı yok; okunurluk yalnızca yazı gölgesiyle sağlanır. */
#dcRoot #dcPanel:not(.dc-mini) .dc-header{background:transparent!important}
#dcRoot .dc-heading h2,#dcRoot .dc-heading p{text-shadow:0 1px 4px #000b}
#dcRoot .dc-muted-mic-badge{position:absolute;top:12px;left:12px;z-index:4;display:grid;place-items:center;width:24px;height:24px;padding:0;border:0;border-radius:0;background:transparent;color:#fff;filter:drop-shadow(0 1px 2px #000);pointer-events:none}
#dcRoot .dc-muted-mic-badge svg{display:block;width:18px;height:18px}
#dcRoot .dc-muted-mic-badge[hidden]{display:none!important}
#dcRoot .dc-voice-tile .dc-muted-mic-badge{top:auto;bottom:36px;left:calc(50% + 18px);width:24px;height:24px;padding:0}

/* Yayın sahnesi başlık ve alt kontroller arasında kalır; raf sahneyi yukarı itmez. */
#dcRoot #dcPanel:not(.dc-mini,.dc-watching,.dc-duo,.dc-private-audio)>.dc-stage{
 position:absolute;inset:64px 16px calc(80px + env(safe-area-inset-bottom));
 padding:0!important;gap:8px;overflow:hidden;min-height:0;
}
#dcRoot #dcPanel:not(.dc-mini,.dc-watching,.dc-duo,.dc-private-audio):has(>.dc-media-shelf:not([hidden]))>.dc-stage{
 bottom:calc(var(--dc-shelf-height,100px) + 92px + env(safe-area-inset-bottom))!important;
 padding:0!important;
}
#dcRoot #dcPanel:not(.dc-mini,.dc-watching,.dc-duo,.dc-private-audio) .dc-grid{min-height:0;overflow:hidden}
#dcRoot #dcPanel:not(.dc-mini,.dc-watching) .dc-grid.dc-has-rail>.dc-side-rail{justify-content:safe center;gap:10px;padding:2px}
#dcRoot #dcPanel:not(.dc-mini,.dc-watching,.dc-private-audio) .dc-voice-strip{flex:0 0 auto;min-height:0;padding:4px;max-height:80px}
@media(max-width:700px) and (orientation:portrait){
 #dcRoot #dcPanel:not(.dc-mini,.dc-watching,.dc-duo,.dc-private-audio)>.dc-stage{inset:max(62px,calc(env(safe-area-inset-top) + 54px)) 8px calc(76px + env(safe-area-inset-bottom))}
}
@media(max-height:500px) and (orientation:landscape){
 #dcRoot #dcPanel:not(.dc-mini,.dc-watching,.dc-duo,.dc-private-audio)>.dc-stage{inset:max(54px,calc(env(safe-area-inset-top) + 44px)) max(8px,env(safe-area-inset-right)) calc(56px + env(safe-area-inset-bottom)) max(8px,env(safe-area-inset-left))}
 #dcRoot #dcPanel:not(.dc-mini,.dc-watching,.dc-duo,.dc-private-audio):has(>.dc-media-shelf:not([hidden]))>.dc-stage{bottom:calc(var(--dc-shelf-height,100px) + 66px + env(safe-area-inset-bottom))!important}
 #dcRoot #dcPanel:not(.dc-mini,.dc-watching,.dc-private-audio) .dc-voice-strip{max-height:58px;padding:2px}
}

/* Ses kartında avatar ve isim birbirini sıkıştıramaz. */
#dcRoot #dcPanel:not(.dc-mini,.dc-private-audio,.dc-audio-only) .dc-voice-strip{height:84px;min-height:84px;max-height:84px;flex:0 0 84px;padding:4px}
#dcRoot #dcPanel:not(.dc-mini,.dc-private-audio,.dc-audio-only) .dc-voice-strip .dc-voice-tile{height:76px!important;min-height:76px!important;max-height:76px!important;padding:6px 4px;gap:6px;overflow:visible;justify-content:center}
#dcRoot #dcPanel:not(.dc-mini,.dc-private-audio,.dc-audio-only) .dc-voice-strip .dc-avatar{width:40px;height:40px;min-height:40px;flex:0 0 40px}
#dcRoot #dcPanel .dc-voice-strip .dc-voice-tile>.dc-person{position:static;display:block;flex:0 0 auto;height:auto;min-height:16px;max-height:none;margin:0;padding:0;line-height:16px;font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;background:none;transform:none}
@media(max-height:500px) and (orientation:landscape){
 #dcRoot #dcPanel:not(.dc-mini,.dc-private-audio,.dc-audio-only) .dc-voice-strip{height:64px;min-height:64px;max-height:64px;flex-basis:64px;padding:2px}
 #dcRoot #dcPanel:not(.dc-mini,.dc-private-audio,.dc-audio-only) .dc-voice-strip .dc-voice-tile{height:60px!important;min-height:60px!important;max-height:60px!important;padding:3px;gap:4px}
 #dcRoot #dcPanel:not(.dc-mini,.dc-private-audio,.dc-audio-only) .dc-voice-strip .dc-avatar{width:32px;height:32px;min-height:32px;flex-basis:32px}
}

/* Alt menü, ana araç çubuğunun dar ikon kutularını devralmaz. */
#dcRoot #dcPanel .dc-footer .dc-call-more-list{width:min(240px,calc(100vw - 24px));min-width:0;max-height:calc(var(--dc-visible-height,100dvh) - 100px);overflow:auto;overscroll-behavior:contain}
#dcRoot #dcPanel .dc-footer .dc-call-more-list .dc-button{width:100%;height:auto;min-height:44px;flex:0 0 auto;flex-direction:row;justify-content:flex-start;gap:10px;padding:10px 12px}
#dcRoot #dcPanel .dc-footer .dc-call-more-list .dc-button span{display:none}
#dcRoot #dcPanel .dc-footer .dc-call-more-list .dc-button:after{content:attr(aria-label);position:static;width:auto;height:auto;background:none;font-size:12px;line-height:1.4;white-space:normal;text-align:left}
#dcRoot #dcPanel .dc-footer .dc-call-more-list .dc-button svg{flex:0 0 22px}
#dcRoot #dcPanel .dc-side-rail>.dc-tile{flex-shrink:0}
#dcRoot #dcPanel.dc-private-audio .dc-voice-strip .dc-voice-tile>.dc-person{font-size:14px;line-height:20px;min-height:20px;white-space:normal;overflow-wrap:anywhere}
#dcRoot #dcPanel.dc-mini .dc-voice-strip .dc-voice-tile>.dc-person{line-height:16px;min-height:16px}
@media(max-width:700px) and (orientation:portrait){
 #dcRoot #dcPanel.dc-duo:not(.dc-mini,.dc-watching) .dc-main.dc-camera-portrait{inset:50% auto auto 50%;width:min(100%,47dvh);height:auto;max-height:100%;aspect-ratio:var(--dc-media-ratio,9/16);transform:translate(-50%,-50%)}
 #dcRoot #dcPanel:not(.dc-mini,.dc-watching) .dc-grid.dc-has-pin>.dc-camera-portrait:not(.dc-pinned,.dc-self-compact){max-width:100%;min-width:0;object-fit:contain}
}
@media(max-width:380px){
 #dcRoot #dcPanel:not(.dc-mini) .dc-header{gap:4px}
 #dcRoot #dcPanel:not(.dc-mini) .dc-header-actions .dc-button{width:40px;min-width:40px}
 #dcRoot #dcPanel:not(.dc-mini) .dc-header-actions [data-call-action=fullscreen]{display:none}
}

/* Yetki veya cihaz engeli bir çıkmaz değil, tek sonraki adım sunar. */
#dcRoot .dc-watch-next-step{display:flex;align-items:center;gap:12px;flex:0 0 auto;padding:10px 12px;border:1px solid var(--dc-line);border-radius:12px;background:var(--dc-card);color:var(--dc-text)}
#dcRoot .dc-watch-next-step[hidden]{display:none!important}
#dcRoot .dc-watch-next-step p{flex:1;min-width:0;margin:0;font-size:12px;line-height:1.5;overflow-wrap:anywhere;color:var(--dc-muted)}
#dcRoot .dc-watch-next-step button{display:grid;place-items:center;flex:0 0 44px;width:44px;height:44px;padding:11px;border:1px solid var(--dc-line);border-radius:12px;background:var(--dc-hover);color:var(--dc-text)}
#dcRoot .dc-watch-next-step svg{width:22px;height:22px}
#dcRoot .dc-media-thumbnail .dc-watch-next-step,#dcRoot .dc-side-rail .dc-watch-next-step{display:none}
