/* =========================================================
   P9 지도 전술 — 부대 이동 · 가도 진지(陣) 전용 스타일 (소유: game-developer)
   main.css/theme.css를 건드리지 않고 여기에만 P9 표현을 둔다.
   ========================================================= */

/* 선택 부대의 진로 예고선 — 기존 fx-route-line 위에 P9 이동 톤을 얹는다 */
.p9-move-route {
  stroke: #c99a3a;
  stroke-width: 2.5;
  fill: none;
  opacity: 0.55;
  stroke-dasharray: 5 6;
  animation: p9-flow 1.1s linear infinite;
  pointer-events: none;
}
@keyframes p9-flow { to { stroke-dashoffset: -22; } }

/* 축진 히트선 — 투명하지만 클릭 가능한 굵은 가도 영역 */
.p9-road-hit {
  stroke: transparent;
  stroke-width: 16;
  cursor: pointer;
}
.p9-road-hit:hover {
  stroke: rgba(201, 154, 58, 0.28);
}

/* 컨텍스트 토큰바 — 취소 버튼 등 */
.p9-ctxbar text { pointer-events: none; }
.p9-ctxbar [data-army-cancel] rect { transition: fill 0.12s; }
.p9-ctxbar [data-army-cancel]:hover rect { fill: #7a2a1e; }

/* 가도 진지 마커(목책) */
.camp-node { transition: transform 0.12s; }
.camp-node:hover { transform: translateY(-1px); }
.camp-node.camp-low text { fill: #d8763a; }
.camp-node.selected text[font-size="10"] { fill: #f0d9c0; }

/* 좌측 장수부 — 진지 무리 배지 */
.badge-camp {
  display: inline-block;
  font-size: 10px;
  padding: 0 4px;
  border-radius: 3px;
  background: #4a3418;
  color: #d8b877;
  border: 1px solid #6b4a24;
}
.roster-row.camp-officer { opacity: 0.9; cursor: pointer; }
.roster-row.camp-officer:hover { background: rgba(201, 154, 58, 0.1); }

/* 우측 진지 패널 — 해체 버튼 */
.camp-disband-btn {
  display: block;
  width: 100%;
  margin-top: 4px;
  padding: 8px 10px;
  border: 1px solid #8c2f23;
  border-radius: 5px;
  background: #3a1c16;
  color: #f0d9c0;
  font-size: 13px;
  cursor: pointer;
  transition: background 0.12s;
}
.camp-disband-btn:hover { background: #5a2018; }
