/* Etkinlik detay V4 — yorumlar (_CommentsV4). Kaynak: tasarım prototipi comments-v2.css */
#filmin_yorumlari.comments-v2 {
  max-width: 1280px;
  box-sizing: border-box;
  margin: 72px auto;
  padding: 0 16px;
  color: #17170d;
  font-family: Inter, Arial, sans-serif;
}

.comments-v2 [hidden] {
  display: none !important;
}

.comments-v2__sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Başlık */
.comments-v2__heading {
  margin-bottom: 24px;
}

.comments-v2__heading h2 {
  margin: 0;
  font-size: clamp(28px, 3vw, 38px);
  line-height: 1.15;
  font-weight: 800;
}

/* Genel puan özeti */
.comments-v2__overview {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 1fr;
  align-items: center;
  padding: 22px 26px;
  border: 1px solid #e5e2d8;
  border-radius: 22px;
  background: #fff;
}

.comments-v2__overview > * + * {
  padding-left: 24px;
  border-left: 1px solid #e5e2d8;
}

.comments-v2__score {
  display: flex;
  align-items: center;
  gap: 18px;
}

.comments-v2__score-number {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.comments-v2__score-number strong {
  font-size: 42px;
  line-height: 1;
  letter-spacing: -.05em;
}

.comments-v2__score-number span {
  color: #666;
  font-size: 15px;
}

.comments-v2__score-detail {
  display: grid;
  gap: 4px;
}

.comments-v2__score-detail strong {
  font-size: 13px;
  font-weight: 700;
}

.comments-v2__score-detail > span:not(.comments-v2__stars) {
  color: #666;
  font-size: 13px;
}

.comments-v2__stars {
  position: relative;
  display: inline-block;
  color: #e3dfd2;
  font-size: 16px;
  letter-spacing: 2px;
  white-space: nowrap;
}

.comments-v2__stars-fill {
  position: absolute;
  top: 0;
  left: 0;
  overflow: hidden;
  color: #b58d00;
}

.comments-v2__overview-count {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
}

.comments-v2__overview-count strong {
  font-size: 34px;
  line-height: 1.15;
  letter-spacing: -.03em;
}

.comments-v2__overview-count span {
  color: #666;
  font-size: 13px;
}

/* Puan dağılımı */
.comments-v2__distribution {
  margin-top: 16px;
  padding: 22px 26px;
  border: 1px solid #e5e2d8;
  border-radius: 22px;
  background: #fbfaf7;
}

.comments-v2__distribution h3 {
  margin: 0 0 14px;
  font-size: 15px;
  font-weight: 800;
}

.comments-v2__distribution ul {
  display: grid;
  gap: 10px;
  max-width: 640px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.comments-v2__distribution li {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) 56px;
  align-items: center;
  gap: 12px;
  font-size: 13px;
}

.comments-v2__distribution-label {
  font-weight: 700;
  white-space: nowrap;
}

.comments-v2__distribution-label span[aria-hidden] {
  color: #b58d00;
}

.comments-v2__track {
  height: 8px;
  overflow: hidden;
  border-radius: 4px;
  background: #e9e7df;
}

.comments-v2__track i {
  display: block;
  height: 100%;
  border-radius: 4px;
  background: #d3ad16;
}

.comments-v2__distribution-value {
  white-space: nowrap;
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.comments-v2__distribution-value strong {
  font-weight: 700;
}

/* Sonuçlar, filtreler */
.comments-v2__results {
  margin-top: 38px;
}

.comments-v2__results-head {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.comments-v2__types {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.comments-v2__type {
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid #d7d5ce;
  border-radius: 999px;
  background: #fff;
  color: #22221c;
  font: 700 13px Inter, Arial, sans-serif;
  cursor: pointer;
}

.comments-v2__type:hover {
  border-color: #a9a69d;
}

.comments-v2__type.is-active {
  border-color: #17170d;
  background: #17170d;
  color: #fff;
}

.comments-v2__filters {
  display: flex;
  align-items: end;
  gap: 10px;
}

.comments-v2__filter-field {
  display: grid;
  flex: 0 1 230px;
  gap: 7px;
  min-width: 0;
  width: 230px;
}

.comments-v2__filter-field label {
  color: #55544d;
  font-size: 12px;
  font-weight: 700;
}

.comments-v2__filter-field select {
  display: block;
  width: 100%;
  height: 46px;
  margin: 0;
  padding: 0 38px 0 15px;
  appearance: none;
  -webkit-appearance: none;
  border: 1px solid #d7d5ce;
  border-radius: 11px;
  background-color: #fff;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%233b3b35' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  color: #22221c;
  font: 700 14px Inter, Arial, sans-serif;
  text-overflow: ellipsis;
  box-shadow: none;
  cursor: pointer;
}

.comments-v2__filter-field select:hover {
  border-color: #a9a69d;
}

.comments-v2__type:focus-visible,
.comments-v2__filter-field select:focus-visible,
.comments-v2__more:focus-visible,
.comments-v2__reaction:focus-visible,
.comments-v2__spoiler:focus-visible,
.comments-v2__expand:focus-visible {
  outline: 2px solid #746000;
  outline-offset: 2px;
}

/* AI özeti (userType 12) */
.comments-v2__ai { display: flex; gap: 18px; margin-bottom: 24px; padding: 28px 30px; border: 1px solid #e5dfbf; border-radius: 22px; background: #fffef9; box-shadow: inset 3px 0 0 #c9bb35, 0 8px 24px rgba(48,45,20,.06); }
.comments-v2__ai-icon { display: flex; flex: 0 0 48px; height: 48px; align-items: flex-start; justify-content: center; }
.comments-v2__ai-icon img { display: block; width: 44px; height: 44px; object-fit: contain; }
.comments-v2__ai-content { min-width: 0; flex: 1; }
.comments-v2__ai-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.comments-v2__ai-kicker { color: #71682c; font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.comments-v2__ai h3 { margin: 6px 0 0; font-size: clamp(19px, 2vw, 23px); line-height: 1.3; }
.comments-v2__ai p { max-width: 90ch; margin: 16px 0 0; color: #333329; font-size: 15px; line-height: 1.65; white-space: pre-line; }

/* Yorum kartları */
.comments-v2__list {
  display: grid;
  gap: 16px;
}

.comments-v2__review { display: flex; gap: 16px; padding: 24px; border: 1px solid #e5e2d9; border-radius: 18px; background: #fff; box-shadow: 0 3px 12px rgba(23,23,13,.04); }
.comments-v2__avatar { position: relative; display: grid; flex: 0 0 44px; height: 44px; place-items: center; border-radius: 50%; background: #efede5; color: #343125; font-size: 18px; font-weight: 800; }
.comments-v2__avatar > img:first-child { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.comments-v2__editor-icon { position: absolute; right: -4px; bottom: -4px; width: 20px !important; height: 20px !important; border-radius: 0 !important; }
.comments-v2__review-content { min-width: 0; flex: 1; }
.comments-v2__review-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.comments-v2__person { display: grid; gap: 3px; }
.comments-v2__person strong { font-size: 15px; }
.comments-v2__person span { color: #777; font-size: 12px; }
.comments-v2__rating { flex: none; padding: 6px 9px; border-radius: 8px; background: #fff3c4; font-size: 13px; font-weight: 800; }
.comments-v2__review-text { margin: 15px 0 0; font-size: 14px; line-height: 1.65; white-space: pre-line; overflow-wrap: anywhere; }
.comments-v2__review-text.comments-v2__clamped { display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 5; }

.comments-v2__expand,
.comments-v2__spoiler {
  margin-top: 8px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #665500;
  font: 700 13px Inter, Arial, sans-serif;
  text-align: left;
  cursor: pointer;
}

.comments-v2__spoiler {
  display: block;
  width: 100%;
  margin-top: 15px;
  padding: 12px 14px;
  border: 1px dashed #d8d5cc;
  border-radius: 10px;
  background: #f7f6f2;
  color: #53534d;
  font-weight: 600;
}

.comments-v2__spoiler b { color: #17170d; text-decoration: underline; text-underline-offset: 3px; }

.comments-v2__review-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 9px 16px; margin-top: 17px; padding-top: 14px; border-top: 1px solid #f0eee8; color: #62625a; font-size: 12px; }
.comments-v2__review-meta svg { width: 15px; height: 15px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.comments-v2__verified, .comments-v2__unverified, .comments-v2__meta-detail { display: inline-flex; align-items: center; gap: 6px; }
.comments-v2__verified { padding: 6px 10px; border: 1px solid #cce8d4; border-radius: 999px; background: #edf8f0; color: #267349; font-weight: 800; white-space: nowrap; }
.comments-v2__unverified { padding: 6px 10px; border: 1px solid #e4e0d4; border-radius: 999px; background: #f7f6f2; color: #666; font-weight: 800; white-space: nowrap; }
.comments-v2__unverified img { width: 14px; height: 14px; }
.comments-v2__meta-detail { display: inline; color: #62625a; }

/* Beğen / beğenme */
.comments-v2__like { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 10px; margin-top: 14px; color: #62625a; font-size: 12px; }
.comments-v2__reaction { display: inline-grid; width: 36px; height: 36px; place-items: center; padding: 0; border: 1px solid #e4e0d4; border-radius: 50%; background: #fff; cursor: pointer; }
.comments-v2__reaction img { width: 16px; height: 16px; filter: none; transition: filter .2s ease; }
.comments-v2__like-status { font-weight: 700; color: #17170d; }
.comments-v2 .yds-like-active { filter: invert(46%) sepia(94%) saturate(748%) hue-rotate(93deg) brightness(92%) contrast(92%) !important; }
.comments-v2 .yds-dislike-active { filter: invert(25%) sepia(86%) saturate(4724%) hue-rotate(350deg) brightness(97%) contrast(101%) !important; }

.comments-v2__empty {
  padding: 28px;
  border: 1px dashed #d8d5cc;
  border-radius: 14px;
  color: #666;
  text-align: center;
}

.comments-v2__more {
  display: block;
  min-height: 46px;
  margin: 24px auto 0;
  padding: 10px 24px;
  border: 1px solid #d8d5cc;
  border-radius: 999px;
  background: #fff;
  color: #17170d;
  font: 700 14px Inter, Arial, sans-serif;
  cursor: pointer;
}

.comments-v2__more[disabled] {
  opacity: .6;
  cursor: progress;
}

@media (max-width: 720px) {
  #filmin_yorumlari.comments-v2 { margin: 48px auto; }

  .comments-v2__overview { padding: 16px; }
  .comments-v2__overview > * + * { padding-left: 12px; }
  .comments-v2__score { gap: 8px; }
  .comments-v2__score-number strong { font-size: 32px; }
  .comments-v2__score-number span { font-size: 12px; }
  .comments-v2__score-detail strong,
  .comments-v2__score-detail > span:not(.comments-v2__stars) { font-size: 11px; }
  .comments-v2__stars { font-size: 11px; letter-spacing: 0; }
  .comments-v2__overview-count { display: grid; gap: 0; }
  .comments-v2__overview-count strong { font-size: 24px; }
  .comments-v2__overview-count span { font-size: 11px; }

  .comments-v2__distribution { padding: 16px; }
  .comments-v2__distribution li { grid-template-columns: 36px minmax(0, 1fr) 48px; gap: 8px; font-size: 12px; }

  .comments-v2__results-head { display: block; }
  .comments-v2__types { margin-bottom: 12px; }
  .comments-v2__filters { flex-wrap: nowrap; }
  .comments-v2__filter-field { flex: 1 1 0; width: auto; }
  .comments-v2__filter-field select { min-width: 0; font-size: 12px; padding-left: 10px; padding-right: 28px; background-position: right 8px center; }

  .comments-v2__ai { gap: 12px; padding: 19px; }
  .comments-v2__ai-icon { flex-basis: 38px; height: 38px; }
  .comments-v2__ai-icon img { width: 36px; height: 36px; }
  .comments-v2__ai p { font-size: 14px; }

  .comments-v2__review { padding: 17px; gap: 11px; }
  .comments-v2__avatar { flex-basis: 38px; height: 38px; }
}

@media (max-width: 420px) {
  .comments-v2__overview > * + * { margin: 14px 0 0; padding: 14px 0 0; border-left: 0; border-top: 1px solid #e5e2d8; }
  .comments-v2__overview { display: block; }
}
