/* Minification failed. Returning unminified contents.
(132,15): run-time error CSS1039: Token not allowed after unary operator: '-dh-ai-progress'
(275,53): run-time error CSS1039: Token not allowed after unary operator: '-dh-ai-orbit'
(276,35): run-time error CSS1039: Token not allowed after unary operator: '-dh-ai-orbit'
(282,35): run-time error CSS1039: Token not allowed after unary operator: '-dh-ai-orbit'
(282,56): run-time error CSS1019: Unexpected token, found ' '
(282,56): run-time error CSS1019: Unexpected token, found ' '
(282,56): run-time error CSS1063: Expected calculation unit, found ' '
(282,56): run-time error CSS1064: Expected calculation product, found ' '
(282,56): run-time error CSS1065: Expected calculation sum, found ' '
(282,56): run-time error CSS1034: Expected closing parenthesis, found ' '
(282,56): run-time error CSS1042: Expected function, found ' '
(282,56): run-time error CSS1019: Unexpected token, found ' '
(282,56): run-time error CSS1042: Expected function, found ' '
(282,56): run-time error CSS1062: Expected semicolon or closing curly-brace, found ' '
(313,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
 */
/* dh-ai-summary — seslendirme barı (Zeplin forum: 327×24, haberin konu yansımasındaki ilk mesajın sağ üstünde) */

.dh-ai-summary-toolbar {
  float: right;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 5px 0 0;
}

.dh-ai-bar {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  width: 327px;
  height: 24px;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  background-color: #f1f1f1;
  border: 1px solid rgba(153, 153, 153, 0.2);
  border-radius: 5px;
  font-family: Arial, Helvetica, sans-serif;
}

.dh-ai-bar__item,
.dh-ai-bar__toggle {
  position: relative;
  display: inline-flex;
  align-items: center;
  height: 22px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 4px;
  background: transparent;
  color: #666;
  font: inherit;
  cursor: pointer;
}

.dh-ai-bar__item {
  flex: 1 1 auto;
  justify-content: center;
  gap: 5px;
  min-width: 0;
  padding: 0 6px 0 9px;
}

/* Ayırıcılar: 1×12 */
.dh-ai-bar__item + .dh-ai-bar__item::before,
.dh-ai-bar__toggle::before {
  content: "";
  position: absolute;
  left: 0;
  top: 5px;
  width: 1px;
  height: 12px;
  background-color: #ccc;
}

.dh-ai-bar__icon {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 16px;
  height: 16px;
}

/* Test raporu #2: ikonla alttaki ilerleme çizgisi arasında tasarımdaki 3px boşluk */
.dh-ai-bar__icon {
  top: -1.5px;
}

.dh-ai-bar__icon img {
  display: block;
}

/* Podcast ikonu 14px; etiketle arası tasarımdaki 5px kalsın */
.dh-ai-bar__item[data-target="podcast"] .dh-ai-bar__icon {
  width: 14px;
}

.dh-ai-bar__icon-playing {
  display: none !important;
}

.dh-ai-bar__label {
  position: relative;
  min-width: 0;
  overflow: hidden;
  font-size: 11px;
  line-height: 13px;
  color: #666;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.dh-ai-bar__toggle {
  flex: 0 0 auto;
  justify-content: center;
  width: 30px;
  padding: 0 0 0 1px;
}

.dh-ai-bar__toggle img {
  display: block;
}

.dh-ai-bar__close {
  display: none !important;
}

/* Seekbar — bölümün altında, oynatma ilerlemesi */
.dh-ai-bar__seekbar {
  display: none;
  position: absolute;
  left: 2px;
  right: 3px;
  bottom: 2px;
  height: 1px;
  border-radius: 5px;
  background-color: rgba(0, 0, 0, 0.3);
  overflow: hidden;
  pointer-events: none;
}

.dh-ai-bar__seekbar-fill {
  display: block;
  width: var(--dh-ai-progress, 0%);
  height: 100%;
  border-radius: 3px;
  background-color: #fff;
}

/* Panel kapalı + çalıyor: degrade zemin + mor parlama, beyaz ikon/yazı (Zeplin: dinlenirken).
   "arkadaki silik bg" Zeplin'de bitmap; her genişlikte keskin kalsın diye katmanlı gradyanla kuruldu:
   taban altta mavi→mor, ::after sağ ortada pembe, ::before üstte turuncu→kırmızı. */
.dh-ai-bar:not(.is-open) .dh-ai-bar__item.is-playing {
  isolation: isolate;
  z-index: 1;
  box-shadow: 0 0 10px rgba(92, 0, 255, 0.4);
  background:
    radial-gradient(
      ellipse 45% 70% at 0% 45%,
      rgba(253, 205, 150, 0.95),
      rgba(253, 205, 150, 0)
    ),
    linear-gradient(
      90deg,
      #a6d4f6 0%,
      #53b0fa 22%,
      #2697f6 48%,
      #5c84f5 70%,
      #8d66f9 100%
    );
}

.dh-ai-bar:not(.is-open) .dh-ai-bar__item.is-playing::before,
.dh-ai-bar:not(.is-open) .dh-ai-bar__item.is-playing::after {
  content: "";
  display: block;
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: auto;
  height: auto;
  border-radius: inherit;
  z-index: -1;
  pointer-events: none;
}

.dh-ai-bar:not(.is-open) .dh-ai-bar__item.is-playing::before {
  background: linear-gradient(
    90deg,
    #fca000 0%,
    #fb8c00 18%,
    #f87137 45%,
    #fb5142 70%,
    #fd2a46 88%,
    #fd1349 100%
  );
  -webkit-mask-image: linear-gradient(
    180deg,
    #000 10%,
    rgba(0, 0, 0, 0.75) 35%,
    rgba(0, 0, 0, 0) 68%
  );
  mask-image: linear-gradient(
    180deg,
    #000 10%,
    rgba(0, 0, 0, 0.75) 35%,
    rgba(0, 0, 0, 0) 68%
  );
}

.dh-ai-bar:not(.is-open) .dh-ai-bar__item.is-playing::after {
  background: linear-gradient(
    90deg,
    rgba(190, 140, 200, 0) 15%,
    rgba(185, 125, 195, 0.75) 38%,
    rgba(222, 92, 150, 0.95) 65%,
    rgba(225, 88, 170, 0.95) 100%
  );
  -webkit-mask-image: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0) 20%,
    #000 50%,
    rgba(0, 0, 0, 0.7) 70%,
    rgba(0, 0, 0, 0) 92%
  );
  mask-image: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0) 20%,
    #000 50%,
    rgba(0, 0, 0, 0.7) 70%,
    rgba(0, 0, 0, 0) 92%
  );
}

.dh-ai-bar:not(.is-open) .dh-ai-bar__item.is-playing .dh-ai-bar__label {
  color: #fff;
}

.dh-ai-bar:not(.is-open) .dh-ai-bar__item.is-playing .dh-ai-bar__icon-default {
  display: none !important;
}

.dh-ai-bar:not(.is-open) .dh-ai-bar__item.is-playing .dh-ai-bar__icon-playing {
  display: block !important;
}

.dh-ai-bar:not(.is-open) .dh-ai-bar__item.is-playing .dh-ai-bar__seekbar {
  display: block;
}

.dh-ai-bar:not(.is-open) .dh-ai-bar__item.is-playing + .dh-ai-bar__item::before,
.dh-ai-bar:not(.is-open)
  .dh-ai-bar__item.is-playing
  + .dh-ai-bar__toggle::before {
  display: none;
}

/* Test raporu #1: çalarken renkli zemin hareketli — turuncu, pembe, mor ve mavi lekeler kenar boyunca
   köşeden köşeye dolaşır (referans video). Dört radyal leke, @property ile döndürülen açıya göre
   cos()/sin() ile butonun kenarına yakın bir yörüngede, aralarında 90° fark olacak şekilde konumlanır.
   @property ya da trigonometri desteklemeyen tarayıcı ilk background tanımında (sabit degrade) kalır. */
@property --dh-ai-orbit {
  syntax: "<angle>";
  inherits: false;
  initial-value: 0deg;
}

.dh-ai-bar:not(.is-open) .dh-ai-bar__item.is-playing {
  background:
    radial-gradient(
      ellipse 45% 70% at 0% 45%,
      rgba(253, 205, 150, 0.95),
      rgba(253, 205, 150, 0)
    ),
    linear-gradient(
      90deg,
      #a6d4f6 0%,
      #53b0fa 22%,
      #2697f6 48%,
      #5c84f5 70%,
      #8d66f9 100%
    );
  background:
    radial-gradient(
      ellipse 70% 150% at calc(50% + 55% * cos(var(--dh-ai-orbit, 0deg)))
        calc(50% + 75% * sin(var(--dh-ai-orbit, 0deg))),
      #fb8c00 0%,
      rgba(251, 140, 0, 0) 100%
    ),
    radial-gradient(
      ellipse 70% 150% at
        calc(50% + 55% * cos(var(--dh-ai-orbit, 0deg) + 90deg))
        calc(50% + 75% * sin(var(--dh-ai-orbit, 0deg) + 90deg)),
      #fd2a5c 0%,
      rgba(253, 42, 92, 0) 100%
    ),
    radial-gradient(
      ellipse 70% 150% at
        calc(50% + 55% * cos(var(--dh-ai-orbit, 0deg) + 180deg))
        calc(50% + 75% * sin(var(--dh-ai-orbit, 0deg) + 180deg)),
      #a756f7 0%,
      rgba(167, 86, 247, 0) 100%
    ),
    radial-gradient(
      ellipse 70% 150% at
        calc(50% + 55% * cos(var(--dh-ai-orbit, 0deg) + 270deg))
        calc(50% + 75% * sin(var(--dh-ai-orbit, 0deg) + 270deg)),
      #2697f6 0%,
      rgba(38, 151, 246, 0) 100%
    ),
    linear-gradient(90deg, #8d66f9, #e158aa);
  animation: dh-ai-bar-orbit 4s linear infinite;
}

/* Sabit turuncu/pembe katmanlar dönen lekelerle çakışmasın */
.dh-ai-bar:not(.is-open) .dh-ai-bar__item.is-playing::before,
.dh-ai-bar:not(.is-open) .dh-ai-bar__item.is-playing::after {
  display: none;
}

@keyframes dh-ai-bar-orbit {
  to {
    --dh-ai-orbit: 360deg;
  }
}

@media (prefers-reduced-motion: reduce) {
  .dh-ai-bar:not(.is-open) .dh-ai-bar__item.is-playing {
    animation: none;
  }
}

/* Panel açık (Zeplin: modül açıksa) */
.dh-ai-bar.is-open {
  border-radius: 3px;
  background: linear-gradient(90deg, #f6e6c4, #f6dbcb);
}

.dh-ai-bar.is-open .dh-ai-bar__item + .dh-ai-bar__item::before,
.dh-ai-bar.is-open .dh-ai-bar__toggle::before {
  background-color: rgba(0, 0, 0, 0.1);
}

.dh-ai-bar.is-open .dh-ai-bar__chevron {
  display: none !important;
}

.dh-ai-bar.is-open .dh-ai-bar__close {
  display: block !important;
}

/* Panel açık + bar butonu olan ses çalıyor: sadece degrade seekbar */
.dh-ai-bar.is-open .dh-ai-bar__item.is-active .dh-ai-bar__seekbar {
  display: block;
  background-color: rgba(0, 0, 0, 0.1);
}

.dh-ai-bar.is-open .dh-ai-bar__item.is-active .dh-ai-bar__seekbar-fill {
  background-image: linear-gradient(90deg, #e15f84, #a756f7);
}

/* --- Panel (arkadaki silik bg) --- */
.dh-ai-summary-panel {
  position: relative;
  width: 100%;
  max-width: 720px;
  border-radius: 6px;
  margin: 0 0 24px;
  padding: 14px 15px 14px;
  box-sizing: border-box;
  font-family: Arial, Helvetica, sans-serif;
  color: #333;
  overflow: hidden;
}

.dh-ai-summary-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("/static/forum/img/dh-ai-summary/bg.jpg") center / 100% 100%
    no-repeat;
  pointer-events: none;
  z-index: 0;
}

.dh-ai-summary-panel > * {
  position: relative;
  z-index: 1;
}

.dh-ai-summary-panel__close {
  position: absolute;
  top: 5px;
  right: 5px;
  height: 20px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

.dh-ai-summary-panel__close img {
  display: block;
  width: 12px;
  height: 12px;
}

.dh-ai-summary-panel__section {
  margin: 0;
}

.dh-ai-summary-panel__section + .dh-ai-summary-panel__section {
  margin-top: 14px;
}

.dh-ai-summary-panel__heading {
  margin: 0 0 12px;
  padding: 0;
  font-family: Verdana, Geneva, sans-serif;
  font-size: 13px !important;
  font-weight: 700;
  line-height: 16px;
  color: #333;
}

.dh-ai-summary-panel__controls {
  display: flex !important;
  align-items: center;
  gap: 0;
  padding-right: 15px;
}

.dh-ai-summary-panel__controls + .dh-ai-summary-panel__controls {
  margin-top: 10px;
}

/* Otomatik oynat kutusu olmayan satırlar panel genişliğinde (690px) */
.dh-ai-summary-panel__controls--wide {
  padding-right: 0;
}

.dh-ai-summary-panel__controls--wide .dh-ai-player--idle,
.dh-ai-summary-panel__controls--wide .dh-ai-player--active {
  max-width: none;
}

.dh-ai-summary-panel__text {
  margin: 10px 0 0;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.45;
  color: #333;
}

.dh-ai-summary-panel__text ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.dh-ai-summary-panel__text li {
  margin: 0 0 1em;
  padding: 0;
  list-style: none;
  font-size: 15px;
  line-height: 1.45;
  color: #333;
}

.dh-ai-summary-panel__text li:last-child {
  margin-bottom: 0;
}

.dh-ai-summary-panel__note {
  margin: 14px 0 0;
  font-size: 12px;
  font-style: italic;
  font-weight: 400;
  line-height: 14px;
  color: #999;
}

/* --- Autoplay checkbox --- */
.dh-ai-autoplay {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-left: 14px;
  flex-shrink: 0;
  cursor: pointer;
  user-select: none;
}

.dh-ai-autoplay input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  pointer-events: none;
}

.dh-ai-autoplay__box {
  display: block;
  width: 12px;
  height: 12px;
  flex-shrink: 0;
  box-sizing: border-box;
  border: 1.33px solid #666;
  border-radius: 1.67px;
  background: transparent;
}

.dh-ai-autoplay input:checked + .dh-ai-autoplay__box {
  background: #666
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 6.2l2.2 2.2 4.8-4.8' fill='none' stroke='%23fff' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")
    center / 10px 10px no-repeat;
  border-color: #666;
}

.dh-ai-autoplay__text {
  font-family: Verdana, Geneva, sans-serif;
  font-size: 9px;
  font-weight: 400;
  line-height: 12px;
  color: #666;
}

/* --- Idle player: ikon, başlık, sayaçlar, süre --- */
.dh-ai-player--idle {
  display: inline-flex;
  align-items: center;
  flex: 1;
  min-width: 0;
  max-width: 590px;
  width: 100%;
  height: 30px;
  padding: 0 17px 0 11px;
  box-sizing: border-box;
  border: 1px solid transparent;
  border-radius: 25px;
  background:
    linear-gradient(#fff, #fff) padding-box,
    linear-gradient(
        90deg,
        #fca500 0%,
        #f76942 22%,
        #b98dbc 46%,
        #0fa0fd 66%,
        #fb1452 83%,
        #9a5afc 100%
      )
      border-box;
  cursor: pointer;
  color: #666;
  font: inherit;
  position: relative;
  text-align: left;
}

.dh-ai-player__icon {
  display: block;
  flex-shrink: 0;
}

.dh-ai-player__label {
  min-width: 0;
  overflow: hidden;
  margin-left: 5px;
  font-size: 15px;
  font-weight: 700;
  line-height: 18px;
  color: #666;
  white-space: nowrap;
  text-overflow: ellipsis;
}

/* Sayaçlar: ▷ dinlenme sayısı, 💬 özetin dayandığı yorum sayısı */
.dh-ai-player__stats {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  gap: 5px;
  margin: 0 10px 0 5px;
}

.dh-ai-player__stat {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  font-size: 10px;
  font-weight: 400;
  line-height: 12px;
  color: #999;
}

.dh-ai-player__stat img {
  display: block;
  flex-shrink: 0;
}

.dh-ai-player__stat img[src$="count-comment.svg"] {
  margin-right: 1px;
}

.dh-ai-player__duration {
  flex-shrink: 0;
  margin-left: auto;
  font-size: 15px;
  font-weight: 400;
  line-height: 18px;
  color: #666;
  white-space: nowrap;
}

/* --- Active / playing player --- */
.dh-ai-player--active {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 1;
  min-width: 0;
  max-width: 590px;
  height: 30px;
  padding: 0 34px 0 28px;
  box-sizing: border-box;
  border-radius: 25px;
  border: 3px solid transparent;
  background-image:
    linear-gradient(#444, #444),
    linear-gradient(90deg, #abf67a 0%, #3ae6f8 100%);
  background-origin: border-box;
  background-clip: padding-box, border-box;
  box-shadow: 0 0 10px rgba(92, 0, 255, 0.4);
  color: #fff;
  overflow: hidden;
  cursor: pointer;
}

.dh-ai-player__progress {
  position: absolute;
  top: 1px;
  left: 0px;
  bottom: 1px;
  width: 0;
  max-width: calc(100% - 2px);
  border-radius: 22px 0 0 22px;
  background: rgba(255, 255, 255, 0.3);
  pointer-events: none;
  z-index: 0;
}

.dh-ai-player--active > *:not(.dh-ai-player__progress) {
  position: relative;
  z-index: 1;
}

.dh-ai-player__pause {
  position: absolute !important;
  left: 4px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.dh-ai-player__pause img {
  display: block;
  width: 18px;
  height: 18px;
}

.dh-ai-player__time {
  font-family: Verdana, Geneva, sans-serif;
  font-size: 11px;
  font-weight: 400;
  line-height: 18px;
  color: #fff;
  white-space: nowrap;
  text-align: center;
  margin-top: 1px;
}

.dh-ai-player__skip {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  margin: -1px 20px 0 20px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  flex-shrink: 0;
}

.dh-ai-player__skip img {
  display: block;
  width: 15px;
  height: 18px;
}

.dh-ai-player__skip span {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 6px;
  font-weight: 500;
  letter-spacing: -0.05em;
  color: #fff;
  line-height: 1;
  padding-top: 2px;
}

.dh-ai-player__skip.dh-ai-player__skip--back span {
  margin-right: 2px;
}

.dh-ai-player__skip.dh-ai-player__skip--fwd span {
  margin-right: 1px;
}

.dh-ai-player__speed {
  position: absolute !important;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  padding: 0;
  border: 0;
  border-radius: 25px;
  background: #fff;
  color: #444;
  font-family: Verdana, Geneva, sans-serif;
  font-size: 9px;
  font-weight: 400;
  line-height: 18px;
  text-align: center;
  cursor: pointer;
}

.dh-ai-player__speed[data-speed="1.5"] {
  letter-spacing: -1.2px;
}

/* Oynatıcı satırı play-state */
[data-section].is-playing .dh-ai-player--idle {
  display: none !important;
}

[data-section].is-playing .dh-ai-player--active {
  display: inline-flex !important;
}

[data-section]:not(.is-playing) .dh-ai-player--active {
  display: none !important;
}

[data-section]:not(.is-playing) .dh-ai-player--idle {
  display: inline-flex !important;
}

.dh-ai-summary-panel[hidden] {
  display: none !important;
}

/* Forum .icerik overrides */
.icerik .dh-ai-summary-panel,
.icerik .dh-ai-summary-panel div {
  margin-bottom: 0;
}

.icerik .dh-ai-summary-panel {
  margin: 7px 0 16px;
  width: 100%;
  max-width: 720px;
  text-align: left;
}

.icerik .dh-ai-summary-panel p {
  margin-top: 12px !important;
  font-family: Verdana, Geneva, sans-serif;
  font-size: 10px;
  line-height: 1.45;
  color: #999;
  font-style: italic;
  margin-bottom: 0;
}

.icerik .dh-ai-summary-panel .dh-ai-summary-panel__text ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.icerik .dh-ai-summary-panel .dh-ai-summary-panel__text li {
  margin: 0 0 1em;
  padding: 0;
  list-style: none;
  color: #333;
  font-family: Verdana, Geneva, sans-serif;
  font-size: 14px;
  font-style: normal;
  line-height: 18px;
}

.icerik .dh-ai-summary-panel .dh-ai-summary-panel__text li:last-child {
  margin-bottom: 0;
}

.icerik .dh-ai-summary-panel__heading {
  margin: 0 0 12px;
  font-size: 13px !important;
  line-height: 16px;
}

