/* Alt-mesaj görsel hiyerarşisi — sağa doğru indentasyon, zarif bağlantı çizgileri, renk kodlama */

body[data-oda-view="meclis"][data-oda-shell="chat"] #oda-meclis-shell #oda-common-chat.oda-mirc-mode #conversation #feed article[data-reply-to] {
  margin-left: 0 !important;
  margin-right: 0 !important;
  width: calc(100% - 28px) !important;
  margin-inline-start: auto !important;
  border-left: none !important;
  border-right: none !important;
  position: relative;
  padding-right: 14px !important;
}

body[data-oda-view="meclis"][data-oda-shell="chat"] #oda-meclis-shell #oda-common-chat.oda-mirc-mode #conversation #feed article[data-reply-to]::before {
  content: "";
  position: absolute;
  right: -14px;
  top: 0;
  bottom: 0;
  width: 1.5px;
  background: linear-gradient(to bottom, #a0b4c8 0%, #c8d4e0 60%, transparent 100%);
  border-radius: 1px;
}

body[data-oda-view="meclis"][data-oda-shell="chat"] #oda-meclis-shell #oda-common-chat.oda-mirc-mode #conversation #feed article[data-reply-to]::after {
  content: "";
  position: absolute;
  right: -14px;
  top: 12px;
  width: 14px;
  height: 0;
  border-top: 1px solid #a0b4c8;
}

/* İç içe reply — 2. seviye */
body[data-oda-view="meclis"][data-oda-shell="chat"] #oda-meclis-shell #oda-common-chat.oda-mirc-mode #conversation #feed article[data-reply-depth="2"] {
  width: calc(100% - 52px) !important;
}
/* 3. seviye */
body[data-oda-view="meclis"][data-oda-shell="chat"] #oda-meclis-shell #oda-common-chat.oda-mirc-mode #conversation #feed article[data-reply-depth="3"] {
  width: calc(100% - 76px) !important;
}
/* 4+ seviye — daha fazla iç içe gitme */
body[data-oda-view="meclis"][data-oda-shell="chat"] #oda-meclis-shell #oda-common-chat.oda-mirc-mode #conversation #feed article[data-reply-depth="4"],
body[data-oda-view="meclis"][data-oda-shell="chat"] #oda-meclis-shell #oda-common-chat.oda-mirc-mode #conversation #feed article[data-reply-depth="5"] {
  width: calc(100% - 96px) !important;
}

/* Kaptan mesajı — altın kenarlık */
body[data-oda-view="meclis"][data-oda-shell="chat"] #oda-meclis-shell #oda-common-chat.oda-mirc-mode #conversation #feed article[data-kim-role="kaptan"] {
  border-left: 3px solid #ffcc00 !important;
  background: #fffdf5 !important;
  padding-left: 12px !important;
}

/* GPT alt-mesaj renkleri — Pantone sisteminden */
body[data-oda-view="meclis"][data-oda-shell="chat"] #oda-meclis-shell #oda-common-chat.oda-mirc-mode #conversation #feed article[data-pantone="CL"][data-reply-to] {
  border-left-color: #a391ff !important;
}
body[data-oda-view="meclis"][data-oda-shell="chat"] #oda-meclis-shell #oda-common-chat.oda-mirc-mode #conversation #feed article[data-pantone="CL"][data-reply-to]::before {
  background: linear-gradient(to bottom, #a391ff, #c8bcff) !important;
}
body[data-oda-view="meclis"][data-oda-shell="chat"] #oda-meclis-shell #oda-common-chat.oda-mirc-mode #conversation #feed article[data-pantone="CL"][data-reply-to]::after {
  border-top-color: #a391ff !important;
}

body[data-oda-view="meclis"][data-oda-shell="chat"] #oda-meclis-shell #oda-common-chat.oda-mirc-mode #conversation #feed article[data-pantone="CR"][data-reply-to]::before {
  background: linear-gradient(to bottom, #ff9900, #ffbc4d) !important;
}
body[data-oda-view="meclis"][data-oda-shell="chat"] #oda-meclis-shell #oda-common-chat.oda-mirc-mode #conversation #feed article[data-pantone="CR"][data-reply-to]::after {
  border-top-color: #ff9900 !important;
}

body[data-oda-view="meclis"][data-oda-shell="chat"] #oda-meclis-shell #oda-common-chat.oda-mirc-mode #conversation #feed article[data-pantone="AG"][data-reply-to]::before {
  background: linear-gradient(to bottom, #00d100, #4dff4d) !important;
}
body[data-oda-view="meclis"][data-oda-shell="chat"] #oda-meclis-shell #oda-common-chat.oda-mirc-mode #conversation #feed article[data-pantone="AG"][data-reply-to]::after {
  border-top-color: #00d100 !important;
}

body[data-oda-view="meclis"][data-oda-shell="chat"] #oda-meclis-shell #oda-common-chat.oda-mirc-mode #conversation #feed article[data-pantone="DT"][data-reply-to]::before {
  background: linear-gradient(to bottom, #b8ebff, #d6f3ff) !important;
}
body[data-oda-view="meclis"][data-oda-shell="chat"] #oda-meclis-shell #oda-common-chat.oda-mirc-mode #conversation #feed article[data-pantone="DT"][data-reply-to]::after {
  border-top-color: #b8ebff !important;
}

body[data-oda-view="meclis"][data-oda-shell="chat"] #oda-meclis-shell #oda-common-chat.oda-mirc-mode #conversation #feed article[data-pantone="DR"][data-reply-to]::before {
  background: linear-gradient(to bottom, #b3b3d9, #cccce6) !important;
}
body[data-oda-view="meclis"][data-oda-shell="chat"] #oda-meclis-shell #oda-common-chat.oda-mirc-mode #conversation #feed article[data-pantone="DR"][data-reply-to]::after {
  border-top-color: #b3b3d9 !important;
}

body[data-oda-view="meclis"][data-oda-shell="chat"] #oda-meclis-shell #oda-common-chat.oda-mirc-mode #conversation #feed article[data-pantone="Spark"][data-reply-to]::before {
  background: linear-gradient(to bottom, #ffff4d, #ffff99) !important;
}
body[data-oda-view="meclis"][data-oda-shell="chat"] #oda-meclis-shell #oda-common-chat.oda-mirc-mode #conversation #feed article[data-pantone="Spark"][data-reply-to]::after {
  border-top-color: #ffff4d !important;
}
