/* ===== v4: 월드 지도 ===== */
.v4-actions { margin-top: 6px; }
.world-view { position: fixed; inset: 0; z-index: 38; display: flex; flex-direction: column; gap: 4px; color: var(--ink);
  background: radial-gradient(120% 80% at 50% 0%, color-mix(in srgb, var(--season, #345) 28%, #10141d), #090c12);
  padding: calc(var(--safe-top) + 6px) calc(var(--safe-right) + 8px) calc(var(--ad-bar) + 6px) calc(var(--safe-left) + 8px); }
.world-view[hidden] { display: none; }
.wv-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.wv-date { font-size: 13px; }
.wv-date b { color: var(--season, var(--gold)); font-family: "Jua", sans-serif; font-size: 15px; }
.wv-date small { color: var(--muted); }
.wv-x { min-height: 34px; padding: 0 12px; }
.wv-eff { margin: 0; font-size: 11px; color: var(--muted); line-height: 1.3; }
.wv-map { position: relative; flex: 1 1 auto; min-height: 150px; border-radius: 14px; border: 1px solid var(--line); overflow: hidden; touch-action: none; background: rgba(0,0,0,0.28); }
.wv-svg { display: block; width: 100%; height: 100%; user-select: none; -webkit-user-select: none; }
.wv-zoom { position: absolute; right: 6px; top: 6px; display: flex; flex-direction: column; gap: 4px; }
.wv-zoom button { width: 34px; height: 34px; border-radius: 10px; border: 1px solid var(--line); background: rgba(8,10,16,0.8); color: var(--ink); font-size: 16px; }
.wr line { stroke: rgba(232,204,140,0.35); stroke-width: 4; stroke-linecap: round; }
.wr.is-mt line { stroke-dasharray: 3 9; stroke: rgba(200,190,170,0.5); }
.wr.is-path line { stroke: var(--season, #e8c56a); stroke-width: 9; stroke-dasharray: none; opacity: 0.9; }
.wr-d { fill: #e8dcb8; font-size: 18px; text-anchor: middle; display: none; paint-order: stroke; stroke: #0b0e14; stroke-width: 4px; }
.wv-map.is-zoomed .wr-d, .wr.is-path .wr-d { display: block; }
.wn-hit { fill: transparent; }
.wn-dot { stroke: #0b0e14; stroke-width: 4; }
.wn.g1 .wn-dot { stroke: #ff9a6a; stroke-width: 5; }
.wn.g2 .wn-dot { stroke: #ff5a5a; stroke-width: 6; }
.wn.is-clear .wn-dot { stroke: #7be08a; }
.wn.is-sel .wn-dot { stroke: #fff; stroke-width: 7; }
.wn-l { fill: #f1e7c8; font-size: 22px; text-anchor: middle; display: none; paint-order: stroke; stroke: #0b0e14; stroke-width: 5px; pointer-events: none; }
.wv-map.show-labels .wn-l, .wn.is-sel .wn-l { display: block; }
.wn-ev { fill: #ffd34a; font-size: 26px; font-weight: 700; paint-order: stroke; stroke: #000; stroke-width: 4px; }
.wn-star { fill: #ff7a7a; font-size: 20px; text-anchor: middle; paint-order: stroke; stroke: #000; stroke-width: 3px; }
.wm circle { stroke: #fff; stroke-width: 3; }
.wm text { fill: #10141d; font-size: 15px; font-weight: 700; text-anchor: middle; pointer-events: none; }
.wm.is-sel circle { stroke: #ffd34a; stroke-width: 6; }
.wm.is-done circle { opacity: 0.55; }
.wm.is-trip circle { stroke-dasharray: 5 4; }
.wv-chars { display: flex; gap: 5px; overflow-x: auto; padding: 2px 0 4px; -webkit-overflow-scrolling: touch; }
.wc { flex: 0 0 auto; width: 84px; display: flex; flex-direction: column; gap: 1px; text-align: left; padding: 5px 7px; border-radius: 10px; border: 1px solid var(--line); border-left: 4px solid var(--cc, #888); background: rgba(255,255,255,0.05); color: var(--ink); min-height: 50px; }
.wc b { font-size: 12px; } .wc small { font-size: 10px; color: var(--muted); } .wc em { font-size: 10px; font-style: normal; color: var(--cc); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wc.is-sel { outline: 2px solid var(--gold); } .wc.is-decided { opacity: 0.7; }
.wv-panel { flex: 0 1 auto; max-height: 31vh; overflow-y: auto; font-size: 12px; display: flex; flex-direction: column; gap: 5px; }
.wv-sel { font-size: 13px; }
.wv-btns { display: flex; flex-wrap: wrap; gap: 5px; }
.wv-btns .seed-btn { flex: 1 1 auto; min-height: 38px; padding: 0 10px; font-size: 12px; }
.wv-note, .wv-msg { margin: 0; color: var(--muted); font-size: 11px; line-height: 1.4; }
.wv-msg { color: var(--gold); }
.wv-node { display: flex; flex-direction: column; gap: 1px; padding: 6px 8px; border-radius: 10px; border: 1px solid var(--line); border-left: 4px solid var(--cc); background: rgba(255,255,255,0.04); }
.wv-node small { color: var(--muted); font-size: 11px; line-height: 1.35; }
.wv-log { margin: 0; padding-left: 14px; color: var(--muted); font-size: 11px; line-height: 1.4; }
.wv-card { display: flex; flex-direction: column; gap: 6px; padding: 10px; border-radius: 12px; border: 1px solid var(--gold); background: rgba(8,10,16,0.88); }
.wv-card h3 { margin: 0; font-family: "Jua", sans-serif; font-size: 16px; color: var(--gold); }
.wv-card p { margin: 0; font-size: 12px; line-height: 1.5; word-break: keep-all; }
.wv-cand { display: flex; flex-wrap: wrap; gap: 5px; }
.wv-cand .seed-btn { min-height: 36px; font-size: 12px; padding: 0 10px; }
.wv-foot { display: flex; gap: 6px; }
.wv-foot .seed-btn { flex: 1; min-height: 42px; }
.wv-foot .seed-btn:disabled { opacity: 0.45; }
.v4-actions #world-open { width: 100%; }
@media (max-width: 380px) { .wc { width: 78px; } .wv-panel { max-height: 29vh; } }

/* 무기 옵션 · 시너지 */
.af-row { display: flex; flex-wrap: wrap; gap: 5px; margin: 4px 0; }
.af-chip { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 3px 5px; padding: 3px 8px; border-radius: 10px; border: 1px solid var(--ac, #e8c56a); background: rgba(255,255,255,0.05); font-size: 11px; }
.af-chip b { color: var(--ac, #e8c56a); font-size: 12px; }
.af-chip.kind-legend { background: linear-gradient(135deg, rgba(255,190,60,0.18), rgba(255,90,60,0.12)); box-shadow: 0 0 8px rgba(255,190,60,0.35); }
.af-stat { display: inline-block; padding: 1px 6px; margin: 1px 2px; border-radius: 999px; background: rgba(255,255,255,0.08); color: var(--ink); font-size: 10px; }
.af-total { margin: 4px 0 8px; }
.syn-h { margin: 10px 0 4px; font-family: "Jua", sans-serif; font-size: 14px; color: var(--gold); }
.syn-row { display: flex; flex-direction: column; gap: 2px; padding: 7px 9px; margin: 5px 0; border-radius: 10px; border: 1px solid var(--line); background: rgba(255,255,255,0.03); opacity: 0.75; }
.syn-row.is-on { opacity: 1; border-color: var(--gold); box-shadow: 0 0 10px rgba(232,197,106,0.3); }
.syn-row small { color: var(--muted); font-size: 11px; line-height: 1.4; }
.syn-weapon { margin: 4px 0; font-size: 12px; }

.brand-mark { margin: 2px 0 0; font-size: 10px; letter-spacing: 0.28em; color: var(--muted); }
