/* TALKCHAT_R20A40R30R2_WHATS_NEW_CHAT_SCOPE_REFRESH_OWNER */
@keyframes announcementIconIn{0%{opacity:0;transform:translateY(-12px) scale(.72)}65%{opacity:1;transform:translateY(1px) scale(1.04)}to{opacity:1;transform:translateY(0) scale(1)}}
.animate-announcement-icon-in{animation:announcementIconIn .8s cubic-bezier(.22,1,.36,1) both}
@keyframes announcementRing{0%{transform:scale(1);opacity:.55}to{transform:scale(1.55);opacity:0}}
.animate-announcement-ring{animation:announcementRing 1.8s ease-out infinite}
@keyframes announcementTipIn{0%{opacity:0;transform:translateX(26px) scaleX(.84)}55%{opacity:1}to{opacity:1;transform:translateX(0) scaleX(1)}}
.animate-announcement-tip-in{animation:announcementTipIn .85s cubic-bezier(.22,1,.36,1) both}
@keyframes announcementTipOut{0%{opacity:1;transform:translateX(0) scaleX(1)}to{opacity:0;transform:translateX(22px) scaleX(.9)}}
.animate-announcement-tip-out{animation:announcementTipOut .45s cubic-bezier(.55,0,.55,.2) both}
@keyframes legacyBottomSheetIn{0%{transform:translate3d(0,100%,0)}to{transform:none}}
@keyframes legacyModalPopIn{0%{opacity:0;transform:scale(.5)}to{opacity:1;transform:none}}

.talkchat-announcement-anchor{position:absolute;right:0;bottom:calc(7rem + env(safe-area-inset-bottom,0px));z-index:18;pointer-events:none;font-family:Arial,sans-serif}
.talkchat-announcement-teaser-inner{position:relative;display:flex;align-items:center;gap:.375rem;pointer-events:auto}
.talkchat-announcement-tip{position:relative;transform-origin:right center;white-space:nowrap;border:1px solid rgba(0,0,0,.08);border-radius:.4rem;background:#fff;color:#555;padding:.375rem .75rem;text-align:left;font-size:.8rem;font-weight:600;line-height:1;box-shadow:0 4px 16px rgba(0,0,0,.14);cursor:pointer;will-change:transform,opacity;backface-visibility:hidden}
.talkchat-announcement-tip.is-hidden{visibility:hidden;opacity:0}
.talkchat-announcement-tip.is-idle{opacity:1}
.talkchat-announcement-tip-arrow{position:absolute;right:-5px;top:50%;width:10px;height:10px;transform:translateY(-50%) rotate(45deg);border-right:1px solid rgba(0,0,0,.08);border-bottom:1px solid rgba(0,0,0,.08);background:#fff}
.talkchat-announcement-icon{position:relative;display:flex;width:36px;height:48px;flex:0 0 auto;align-items:center;justify-content:center;border:0;border-radius:.5rem 0 0 .5rem;background:#e8f3fc;color:#3d8fd4;box-shadow:0 -1px 8px 0 rgba(0,0,0,.2),0 0 0 1px rgba(61,143,212,.2);cursor:pointer;padding:0}
.talkchat-announcement-ring{position:absolute;inset:0;border:2px solid rgba(61,143,212,.45);border-radius:.5rem 0 0 .5rem;pointer-events:none;animation-delay:.85s}
.talkchat-announcement-icon-svg{position:relative;width:18px;height:18px;display:block}

.talkchat-announcement-layer{position:absolute;inset:0;z-index:24;display:flex;flex-direction:column;justify-content:flex-end;background:#000000ba;font-family:Arial,sans-serif}
.talkchat-announcement-modal{display:flex;width:100%;max-height:92vh;max-width:none;flex-direction:column;overflow:hidden;border-top:1px solid #e0e0e0;border-right:1px solid #e0e0e0;border-left:1px solid #e0e0e0;border-radius:.25rem .25rem 0 0;background:#fff;color:#616161;padding-bottom:env(safe-area-inset-bottom);box-shadow:0 2px 5px 0 rgba(0,0,0,.3);animation:legacyBottomSheetIn .48s cubic-bezier(.22,1,.36,1) both;will-change:transform}
.talkchat-announcement-header{display:flex;height:50px;flex:0 0 50px;align-items:center;border-bottom:1px solid #e0e0e0;padding:0 15px}
.talkchat-announcement-title{flex:1;text-align:left;font-size:16px;font-weight:700;color:#313131}
.talkchat-announcement-close{display:flex;width:36px;height:36px;align-items:center;justify-content:center;margin-right:-8px;border:0;border-radius:9999px;background:transparent;color:#777;cursor:pointer;transition:background-color .15s ease,color .15s ease}
.talkchat-announcement-close:hover{background:#f5f5f5;color:#333}
.talkchat-announcement-close svg{width:16px;height:16px}
.talkchat-announcement-body{min-height:0;flex:1;overflow-y:auto;overscroll-behavior:contain;padding:12px 15px}
.talkchat-announcement-intro{margin:0 0 10px;font-size:.75rem;line-height:1.375;color:#616161}
.talkchat-announcement-list{display:flex;flex-direction:column;gap:7px;list-style:none;margin:0;padding:0}
.talkchat-announcement-item{display:flex;gap:8px;align-items:flex-start}
.talkchat-announcement-number{display:flex;width:18px;height:18px;flex:0 0 18px;align-items:center;justify-content:center;margin-top:1px;border:1px solid;border-radius:9999px;font-size:10px;font-weight:900;line-height:1}
.talkchat-announcement-number.is-warning{border-color:#ffb74d55;background:#fff8e1;color:#c77700}
.talkchat-announcement-number.is-info{border-color:#2196f355;background:#e3f2fd;color:#1976d2}
.talkchat-announcement-item p{min-width:0;flex:1;margin:0;overflow-wrap:anywhere;font-size:.75rem;line-height:1.35;color:#616161}
.talkchat-announcement-item-heading,.talkchat-announcement-item p strong{font-weight:700;color:#313131}
.talkchat-announcement-footer{display:flex;height:52px;flex:0 0 52px;align-items:center;justify-content:flex-end;border-top:1px solid #e0e0e0;padding:0 8px}
.talkchat-announcement-confirm{display:inline-flex;height:35px;align-items:center;justify-content:center;border:1px solid #2196f3;border-radius:.25rem;background:#2196f3;color:#fff;padding:0 25px;font-size:.8rem;font-weight:700;line-height:1;cursor:pointer;transition:background-color .15s ease}
.talkchat-announcement-confirm:hover{background:#1976d2}

html[data-legacy-theme="dark"] .talkchat-announcement-tip,html.dark .talkchat-announcement-tip,body.dark .talkchat-announcement-tip{border-color:#ffffff21;background:#151f2b;color:#ffffffcc}
html[data-legacy-theme="dark"] .talkchat-announcement-tip-arrow,html.dark .talkchat-announcement-tip-arrow,body.dark .talkchat-announcement-tip-arrow{border-color:#ffffff21;background:#151f2b}
html[data-legacy-theme="dark"] .talkchat-announcement-modal,html.dark .talkchat-announcement-modal,body.dark .talkchat-announcement-modal{border-color:#ffffff21;background:#151f2b;color:#ffffffab}
html[data-legacy-theme="dark"] .talkchat-announcement-header,html.dark .talkchat-announcement-header,body.dark .talkchat-announcement-header,html[data-legacy-theme="dark"] .talkchat-announcement-footer,html.dark .talkchat-announcement-footer,body.dark .talkchat-announcement-footer{border-color:#ffffff21}
html[data-legacy-theme="dark"] .talkchat-announcement-title,html.dark .talkchat-announcement-title,body.dark .talkchat-announcement-title{color:#fff}
html[data-legacy-theme="dark"] .talkchat-announcement-close,html.dark .talkchat-announcement-close,body.dark .talkchat-announcement-close{color:#ffffffab}
html[data-legacy-theme="dark"] .talkchat-announcement-close:hover,html.dark .talkchat-announcement-close:hover,body.dark .talkchat-announcement-close:hover{background:#ffffff0a;color:#fff}
html[data-legacy-theme="dark"] .talkchat-announcement-intro,html.dark .talkchat-announcement-intro,body.dark .talkchat-announcement-intro,html[data-legacy-theme="dark"] .talkchat-announcement-item p,html.dark .talkchat-announcement-item p,body.dark .talkchat-announcement-item p{color:#ffffffab}
html[data-legacy-theme="dark"] .talkchat-announcement-item-heading,html[data-legacy-theme="dark"] .talkchat-announcement-item p strong,html.dark .talkchat-announcement-item-heading,html.dark .talkchat-announcement-item p strong,body.dark .talkchat-announcement-item-heading,body.dark .talkchat-announcement-item p strong{color:#fff}
html[data-legacy-theme="dark"] .talkchat-announcement-number.is-warning,html.dark .talkchat-announcement-number.is-warning,body.dark .talkchat-announcement-number.is-warning{border-color:#ffb74d55;background:#ffb74d14;color:#ffb74d}
html[data-legacy-theme="dark"] .talkchat-announcement-number.is-info,html.dark .talkchat-announcement-number.is-info,body.dark .talkchat-announcement-number.is-info{border-color:#2196f355;background:#2196f314;color:#64b5f6}

@media(min-width:768px){
  .talkchat-announcement-anchor{right:.75rem;top:.75rem;bottom:auto}
  .talkchat-announcement-teaser-inner{gap:.5rem}
  .talkchat-announcement-icon{width:44px;height:44px;border-radius:9999px}
  .talkchat-announcement-ring{border-radius:9999px}
  .talkchat-announcement-icon-svg{width:22px;height:22px}
  .talkchat-announcement-layer{align-items:center;justify-content:center;padding:1rem}
  .talkchat-announcement-modal{width:fit-content;min-width:420px;max-width:540px;max-height:88vh;border:1px solid #e0e0e0;border-radius:.25rem;padding-bottom:0;animation:legacyModalPopIn .3s ease-out both;will-change:transform,opacity}
}
/* R30: Yenilikler yalnız sohbet yüzeyinin stacking context'i içinde yaşar.
   Oda penceresi (z76), mobil sağ panel (z40) ve menü (z50) bunun üstünde kalır. */
.ref-shell .chat > .talkchat-announcement-anchor{pointer-events:none}
.ref-shell .chat > .talkchat-announcement-layer{overflow:hidden}

/* TALKCHAT_R20A40R30R3_WHATS_NEW_LAYOUT_OWNER */
.ref-shell .chat > .talkchat-announcement-anchor{
  position:absolute!important;
  right:0!important;
  left:auto!important;
  top:auto!important;
  bottom:calc(7rem + env(safe-area-inset-bottom,0px))!important;
  z-index:18!important;
  flex:none!important;
  width:auto!important;
  height:auto!important;
  min-width:0!important;
  min-height:0!important;
  margin:0!important;
  padding:0!important;
  pointer-events:none!important;
}

.ref-shell .chat > .talkchat-announcement-layer{
  position:absolute!important;
  inset:0!important;
  z-index:24!important;
  flex:none!important;
  width:auto!important;
  height:auto!important;
  min-width:0!important;
  min-height:0!important;
  margin:0!important;
}

@media (min-width:768px){
  .ref-shell .chat > .talkchat-announcement-anchor{
    right:.75rem!important;
    left:auto!important;
    top:.75rem!important;
    bottom:auto!important;
  }
}

@media (max-width:767px){
  .ref-shell .chat > .talkchat-announcement-anchor{
    right:0!important;
    left:auto!important;
    top:auto!important;
    bottom:calc(7rem + env(safe-area-inset-bottom,0px))!important;
  }
}
