/* Sağ üst "Yeni" rozeti, güncelleme paneli ve sayfa içi köşe etiketleri.
   Koyu temada net görünsün diye parlak mor → camgöbeği, beyaz yazı. */
.site-new-chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 11px; border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .38);
  background: linear-gradient(135deg, #7c5cff, #22d3ee);
  color: #fff; font-size: 11px; font-weight: 800; letter-spacing: .02em;
  cursor: pointer; white-space: nowrap;
  box-shadow: 0 4px 18px rgba(124, 92, 255, .42);
  transition: border-color .18s, transform .18s, box-shadow .18s;
}
.site-new-chip:hover { border-color: #fff; transform: translateY(-1px); box-shadow: 0 6px 22px rgba(124, 92, 255, .55); }
.site-new-chip .wn-dot {
  width: 6px; height: 6px; border-radius: 50%; background: #fff;
  box-shadow: 0 0 0 4px rgba(255, 255, 255, .28);
}
.site-new-chip.seen .wn-dot { background: rgba(255, 255, 255, .72); box-shadow: none; }
.site-new-chip .wn-count {
  display: inline-grid; place-items: center; min-width: 16px; height: 16px;
  padding: 0 3px; border-radius: 999px; background: rgba(0, 0, 0, .26);
  color: #fff; font-size: 10px; font-weight: 800;
}
.site-new-chip .wn-count:empty { display: none; }
.site-new-chip:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.site-new-chip[hidden],
.new-badge[hidden],
.new-badge.expired,
.new-corner[hidden],
.new-corner.expired { display: none !important; }

/* Yeni özelliğin eklendiği bölümün sağ üst köşesine küçük işaret. */
.new-corner {
  position: absolute; top: -9px; right: 12px; z-index: 3;
  display: inline-flex; align-items: center; padding: 3px 8px; border-radius: 999px;
  font-family: 'Inter', sans-serif; font-style: normal;
  font-size: 9px; font-weight: 800; letter-spacing: .09em; line-height: 1;
  color: #fff; text-transform: uppercase; white-space: nowrap; pointer-events: none;
  background: linear-gradient(120deg, #7c5cff, #22d3ee 85%);
  box-shadow: 0 4px 14px rgba(124, 92, 255, .42);
}
.new-corner--inline {
  position: static; top: auto; right: auto; padding: 3px 6px;
  box-shadow: 0 2px 8px rgba(124, 92, 255, .26);
}
.mc-edit-wrap { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; }
.mc-edit-wrap .mc-edit { margin-left: 0; }
#page-ayna { position: relative; }
#page-ayna > .new-corner { top: 8px; right: 12px; }
#mc-card { position: relative; }

.whats-new-panel {
  position: fixed; top: 62px; right: 16px; z-index: 700;
  width: 336px; max-width: calc(100vw - 24px);
  padding: 16px;
  border: 1px solid rgba(124, 92, 255, .30);
  border-radius: 18px;
  background: linear-gradient(160deg, rgba(36, 36, 56, .98), rgba(16, 20, 34, .98));
  box-shadow: 0 24px 60px rgba(0, 0, 0, .45);
  color: var(--text, #e8e9f5);
  animation: wnIn .22s ease-out;
}
.whats-new-panel.hidden { display: none; }
@keyframes wnIn { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
.wn-head { display: flex; align-items: center; gap: 8px; }
.wn-head strong { font-size: 14px; color: #fff; }
.wn-head .wn-close {
  margin-left: auto; border: 0; background: none; color: #9aa2c4;
  font-size: 19px; line-height: 1; cursor: pointer; padding: 2px 5px;
}
.wn-head .wn-close:hover { color: #fff; }
.wn-sub { margin: 5px 0 12px; font-size: 11px; color: #a8afc9; }
.wn-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.wn-list li { display: grid; grid-template-columns: 1fr; }
.wn-list li a {
  display: grid; grid-template-columns: 24px 1fr; gap: 9px; align-items: start;
  text-decoration: none; color: inherit; padding: 4px; margin: -4px; border-radius: 10px;
}
.wn-list li a:hover { background: rgba(124, 92, 255, .10); }
.wn-ico {
  width: 24px; height: 24px; display: grid; place-items: center;
  border-radius: 8px; background: rgba(124, 92, 255, .16); font-size: 13px;
}
.wn-list b { display: block; font-size: 12px; color: #fff; margin-bottom: 2px; }
.wn-list span { display: block; font-size: 11px; line-height: 1.45; color: #b3b9d0; }
.wn-actions { display: flex; gap: 8px; margin-top: 14px; }
.wn-actions button, .wn-actions a {
  flex: 1; text-align: center; text-decoration: none;
  padding: 9px 8px; border-radius: 10px; font-size: 11px; font-weight: 700; cursor: pointer;
}
.wn-actions button { border: 0; background: linear-gradient(135deg, #8b7cf6, #6d5ce0); color: #fff; }
.wn-actions a { border: 1px solid rgba(255, 255, 255, .18); color: #c9cee2; }
.wn-actions a:hover { color: #fff; border-color: rgba(255, 255, 255, .4); }
@media (max-width: 680px) {
  #whats-new-btn-app { font-size: 0; gap: 3px; padding: 6px 6px; }
  #whats-new-btn-app .wn-dot { width: 7px; height: 7px; box-shadow: none; }
  #whats-new-btn-app .wn-count { font-size: 10px; min-width: 14px; height: 14px; }
  .new-corner { top: -7px; right: 8px; font-size: 8px; }
}
@media (max-width: 640px) {
  .whats-new-panel { top: 58px; right: 10px; left: 10px; width: auto; max-width: none; }
  .site-new-chip { padding: 6px 9px; font-size: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  .whats-new-panel { animation: none; }
  .site-new-chip:hover { transform: none; }
}
