/* WARCHIEF RAVEN R01.HF12 — hierarchical conversation visual authority.
   Applies to the thread route only. Every bend and node is linked to a real reply ID.
   Keep ordinary feed cards, brand pages, and the HF11 single composer unchanged. */
.rt-v2{--rt-branch-glow:#18c9f1;--rt-branch-ink:#164962;--rt-row-ink:#123c54}
.rt-v2 .rt-conversation{padding-inline:19px}
.rt-v2 .rt-conversation-head{margin-bottom:12px}
.rt-v2 .rt-reply-tree{position:relative;isolation:isolate;padding-left:23px;gap:12px;min-width:0}
.rt-v2 .rt-thread-wires{display:block;position:absolute;top:0;left:0;z-index:0;overflow:visible;pointer-events:none;max-width:none}
.rt-v2 .rt-wire{fill:none;stroke:#1bc0e8;stroke-width:1.85;stroke-linejoin:round;stroke-linecap:round;vector-effect:non-scaling-stroke;opacity:.92}
.rt-v2 .rt-wire-root{stroke:#13c6ef;stroke-width:1.85;opacity:.86}
.rt-v2 .rt-wire-root-edge{stroke:#12d4fa;opacity:.95}
.rt-v2 .rt-wire-reply{stroke:#10c5eb;stroke-width:1.9}
.rt-v2 .rt-wire-highlight{stroke:#36ddff;opacity:1;filter:drop-shadow(0 0 3px #1acffe55)}
.rt-v2 .rt-wire-dot{stroke:#051b28;stroke-width:1.45;fill:#24d2f8;opacity:1}
.rt-v2 .rt-wire-dot.rt-wire-highlight{fill:#6aecff}
.rt-v2 .rt-thread-wires.rt-wire-inspecting .rt-wire:not(.rt-wire-emphasis){opacity:.12;stroke:#175b76}
.rt-v2 .rt-thread-wires.rt-wire-inspecting .rt-wire-dot:not(.rt-wire-emphasis){opacity:.16;fill:#166784}
.rt-v2 .rt-thread-wires .rt-wire.rt-wire-emphasis{stroke:#72edff;stroke-width:2.4;opacity:1;filter:drop-shadow(0 0 4px #17cfff88)}
.rt-v2 .rt-thread-wires .rt-wire-dot.rt-wire-emphasis{fill:#8cf4ff;opacity:1;filter:drop-shadow(0 0 4px #21dfff)}
.rt-v2 .rt-reply-tree>.rt-tree-node{margin-bottom:0}
.rt-v2 .rt-tree-node{position:relative;min-width:0}
.rt-v2 .rt-childgroup,.rt-v2 .rt-childgroup.rt-childgroup-capped{
  display:flex;flex-direction:column;gap:9px;margin:9px 0 0 38px;padding:0;
  border:0!important;background:none!important;min-width:0;
}
.rt-v2 .rt-childgroup.rt-childgroup-capped{margin-left:0}
.rt-v2 .rt-childgroup:before,.rt-v2 .rt-childgroup:after,
.rt-v2 .rt-childgroup>.rt-tree-node:before,.rt-v2 .rt-childgroup>.rt-tree-node:after,
.rt-v2 .rt-childgroup.rt-childgroup-capped>.rt-tree-node:before,
.rt-v2 .rt-childgroup.rt-childgroup-capped>.rt-tree-node:after{content:none!important;display:none!important}
.rt-v2 .rt-tree-node>[hidden]{display:none!important}
.rt-v2 .rt-reply.rt-node-card{
  z-index:1;position:relative;min-width:0;display:flex;align-items:flex-start;gap:12px;
  padding:12px 14px 11px;border-radius:11px;
  border:1px solid #1c506b!important;background:linear-gradient(105deg,#092338,#071b2b 75%,#071b29)!important;
  box-shadow:inset 0 1px 0 #85d5ff08,0 4px 17px #00000030;
  transition:border-color .16s,background .16s,box-shadow .16s;
}
.rt-v2 .rt-reply.rt-node-card:hover{border-color:#148db7!important;background:linear-gradient(105deg,#0a2b42,#081e30)!important}
.rt-v2 .rt-reply.rt-node-card:focus-visible{outline:2px solid #2ccefa;outline-offset:3px}
.rt-v2 .rt-reply.rt-node-card.rt-target{border-color:#1bcbf4!important;background:linear-gradient(106deg,#0c344c,#072236 88%)!important;box-shadow:0 0 0 1px #08c9fa37,0 0 20px #08c9fa18}
.rt-v2 .rt-reply.rt-node-card.rt-target:before{display:block;inset:9px auto 9px 0;width:3px;background:#20d4ff;box-shadow:0 0 14px #20d4ff7c}
.rt-v2 .rt-ancestry-active>.rt-reply:not(.rt-target){border-color:#237d9f!important}
.rt-v2 .rt-node-avatar{padding-top:0;flex:none}
.rt-v2 .rt-node-avatar .avatar{width:40px;height:40px;box-shadow:0 0 0 3px #061a2b,0 0 11px #1cbef227}
.rt-v2 .rt-reply-meta{display:flex;align-items:baseline;gap:4px 9px;flex-wrap:wrap;margin:1px 0 4px}
.rt-v2 .rt-reply-meta strong{font-size:13px;letter-spacing:.01em}
.rt-v2 .rt-reply-meta>span{font-size:11px;color:#88adc2}
.rt-v2 .rt-node-context{display:flex;align-items:center;gap:7px;flex-wrap:wrap;margin:0 0 6px}
.rt-v2 .rt-parent-ref{display:inline-flex;align-items:center;gap:5px;margin:0;padding:3px 8px 3px 6px;
  font-size:10px;line-height:1.2;border-radius:999px;border:1px solid #164b66;
  background:#062137;color:#81cbea;max-width:100%;min-height:24px;min-width:0}
.rt-v2 .rt-parent-ref span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.rt-v2 .rt-parent-ref b{font-weight:800;color:#50d7ff}
.rt-v2 .rt-parent-ref svg{flex:none}
.rt-v2 .rt-parent-ref:hover{border-color:#12c3ef;color:#f4fbff;background:#0a3550;text-decoration:none}
.rt-v2 .rt-node-level{display:inline-flex;color:#719fb5;background:#051b29;border:1px solid #16455d;
  font-size:9px;font-weight:700;letter-spacing:.06em;line-height:1;border-radius:5px;padding:5px 6px}
.rt-v2 .rt-selected-label{font-size:10px;margin-left:auto;line-height:1.4}
.rt-v2 .rt-reply-text{font-size:13.2px;line-height:1.5;color:#e3eef9;margin:0 0 2px}
.rt-v2 .rt-reply-tools{display:flex;align-items:center;flex-wrap:wrap;gap:5px 10px;margin-top:6px}
.rt-v2 .rt-reply-tools button{padding:5px 7px;font-size:11px;color:#94bbd1}
.rt-v2 .rt-reply-tools button:hover{color:#f2faff;background:#0e344a}
.rt-v2 .rt-reply-tools button.rt-children-toggle{margin-left:auto;border:1px solid #147aa2;border-radius:100px;color:#56dafa;padding:5px 10px;background:#062238}
.rt-v2 .rt-reply-tools button.rt-children-toggle:hover{background:#0c3f58;border-color:#31cefb}
.rt-v2 .rt-depth-capped>.rt-node-card{border-left:1px solid #1c506b!important}
.rt-v2 .rt-continue{width:fit-content;max-width:100%;min-height:32px;margin:3px 0 5px 0;padding:5px 11px;
  border:1px dashed #1c8bab;border-radius:99px;font-size:11px;background:#041725;color:#72cce9}
.rt-v2 .rt-continue:hover{border-color:#2bd4ff;background:#0b3045}
.rt-v2 .rt-ancestor-path{background:#061c2b;border-color:#185572}
/* As nesting deepens, card width and font size remain readable: the rail is shared, not repeatedly indented. */
@media(max-width:1050px){
  .rt-v2 .rt-conversation{padding-inline:12px}
  .rt-v2 .rt-reply-tree{padding-left:20px}
  .rt-v2 .rt-childgroup,.rt-v2 .rt-childgroup.rt-childgroup-capped{margin-left:29px;padding:0}
  .rt-v2 .rt-childgroup.rt-childgroup-capped{margin-left:0}
}
@media(max-width:590px){
  .rt-v2 .rt-conversation{padding-inline:8px}
  .rt-v2 .rt-reply-tree{padding-left:16px;gap:9px}
  .rt-v2 .rt-childgroup,.rt-v2 .rt-childgroup.rt-childgroup-capped{margin:8px 0 0 22px;padding:0;gap:8px;border:0!important}
  .rt-v2 .rt-tree-node[data-depth="2"]>.rt-childgroup,
  .rt-v2 .rt-childgroup.rt-childgroup-capped{margin-left:0}
  .rt-v2 .rt-reply.rt-node-card{padding:10px 9px 10px 10px;gap:9px;border-radius:10px}
  .rt-v2 .rt-node-avatar .avatar{width:32px;height:32px}
  .rt-v2 .rt-reply-meta{gap:2px 6px;margin:0 0 4px}
  .rt-v2 .rt-reply-meta strong{font-size:12px}
  .rt-v2 .rt-reply-meta>span{font-size:10px}
  .rt-v2 .rt-node-context{gap:4px;margin:0 0 5px}
  .rt-v2 .rt-parent-ref{max-width:100%;min-height:22px;font-size:10px;padding:3px 7px}
  .rt-v2 .rt-node-level{font-size:9px;padding:4px 5px}
  .rt-v2 .rt-reply-text{font-size:12.7px;line-height:1.47}
  .rt-v2 .rt-reply-tools{gap:3px 4px;margin-top:6px}
  .rt-v2 .rt-reply-tools button{font-size:10px;padding:6px 4px}
  .rt-v2 .rt-reply-tools button.rt-children-toggle{margin-left:0;font-size:10px;padding:5px 8px;max-width:100%}
  .rt-v2 .rt-continue{font-size:10px;margin-left:0}
}
@media(max-width:385px){
  .rt-v2 .rt-childgroup{margin-left:17px}
  .rt-v2 .rt-tree-node[data-depth="2"]>.rt-childgroup,
  .rt-v2 .rt-childgroup.rt-childgroup-capped{margin-left:0}
  .rt-v2 .rt-node-avatar .avatar{width:29px;height:29px}
  .rt-v2 .rt-reply.rt-node-card{gap:7px;padding:9px 7px}
  .rt-v2 .rt-parent-ref{font-size:9px}
  .rt-v2 .rt-reply-meta strong{font-size:11px}
  .rt-v2 .rt-reply-text{font-size:12px}
}
@media(prefers-reduced-motion:reduce){.rt-v2 .rt-reply.rt-node-card{transition:none}}
