/* 지부 네트워크 페이지 색 변수·머리말 (2026-11-07). 다크 값 = 2026-11-07 이전의 고정 디자인 값 그대로 */
html.kt-dark {
	color-scheme: dark;
	--bg-a:#0a1628; --bg-b:#1a2d4a; --modal-a:#1a2d4a; --modal-b:#0a1628; --ink:255,255,255;
	--text:#fff; --text-2:#ccc; --text-3:#aaa; --text-4:#888; --text-5:#666; --text-6:#ddd; --muted:#8899aa; --soft:#aabbcc;
	--live:#00d4ff; --live-2:#0099ff; --live-rgb:0,212,255; --coming:#4ade80; --coming-2:#22c55e; --coming-rgb:74,222,128;
	--gold:#ffd700; --gold-rgb:255,215,0; --gold-2:#ffaa00; --red:#ff6b6b; --red-rgb:255,107,107;
	--on-accent:#0a1628; --pin:#a0c4ff; --foot-bg:#1f2024; --foot-text:#888888; --foot-link:#FFD700; --foot-sep:#666;
	--map-a:#c8e6f5; --map-b:#a8d4e8; --tab-wrap-a:#1a2d4a; --tab-wrap-b:#0a1628;
	--hdr-bg:#0b1213; --hdr-fg:rgba(255,255,255,.9); --hdr-cur:#FFD700; --hdr-line:rgba(255,255,255,.12);
}
html:not(.kt-dark) {
	color-scheme: light;
	--bg-a:#f4f7fb; --bg-b:#e6eef7; --modal-a:#ffffff; --modal-b:#f4f7fb; --ink:15,35,60;
	--text:#0f2338; --text-2:#33475b; --text-3:#445566; --text-4:#51606f; --text-5:#51606f; --text-6:#2b3b4b; --muted:#4b5b6b; --soft:#3f5060;
	--live:#0369a1; --live-2:#0284c7; --live-rgb:3,105,161; --coming:#116530; --coming-2:#14532d; --coming-rgb:17,101,48;
	--gold:#755200; --gold-rgb:176,130,0; --gold-2:#a16207; --red:#b71c1c; --red-rgb:198,40,40;
	--on-accent:#fff; --pin:#3446a8; --foot-bg:#eef2f7; --foot-text:#4b5563; --foot-link:#755200; --foot-sep:#6b7280;
	--map-a:#eef6fb; --map-b:#dcebf5; --tab-wrap-a:#e6eef7; --tab-wrap-b:#f4f7fb;
	--hdr-bg:#ffffff; --hdr-fg:#0f2338; --hdr-cur:#0369a1; --hdr-line:#dfe6ee;
}
body { background: linear-gradient(135deg, var(--bg-a) 0%, var(--bg-b) 50%, var(--bg-a) 100%); }

.kt-br-hdr { display: flex; align-items: center; justify-content: space-between; gap: 12px 20px; padding: 12px 30px; background: var(--hdr-bg); border-bottom: 1px solid var(--hdr-line); box-shadow: 0 2px 10px rgba(0,0,0,.12); }
.kt-br-logo { display: inline-flex; align-items: center; flex: none; }
.kt-br-logo img { display: block; height: 46px; width: auto; max-width: 62vw; }
.kt-br-nav { display: flex; flex-wrap: wrap; gap: 6px 22px; align-items: center; margin-inline-start: auto; min-width: 0; }
.kt-br-nav a { color: var(--hdr-fg); text-decoration: none; font-size: .95rem; font-weight: 500; transition: color .3s; }
.kt-br-nav a:hover { color: var(--hdr-cur); }
.kt-br-nav a[aria-current] { color: var(--hdr-cur); font-weight: 600; }
.kt-br-ctrl { display: flex; align-items: center; gap: 8px; flex: none; }
.kt-br-lang { display: inline-flex; align-items: center; gap: 5px; height: 32px; padding: 0 12px; border: 1px solid var(--ktm-bd, #bfe0e6); border-radius: 999px; background: var(--ktm-bg, #eef6f8); color: var(--ktm-fg, #0b2a3a); font: inherit; font-size: .85rem; font-weight: 600; cursor: pointer; white-space: nowrap; }
.kt-br-lang:hover { background: var(--ktm-bg-h, #dceff2); }
.kt-br-lang:focus-visible, .kt-br-nav a:focus-visible, .kt-br-logo:focus-visible { outline: 2px solid var(--ktm-focus, #0C7673); outline-offset: 2px; }
.kt-unified-toggle-wrap { display: flex; justify-content: center; padding: 20px 15px; background: linear-gradient(135deg, var(--tab-wrap-a) 0%, var(--tab-wrap-b) 100%); margin: 0; }
.kt-unified-toggle { display: flex; flex-wrap: wrap; justify-content: center; background: rgba(var(--ink),.08); border-radius: 50px; padding: 6px; gap: 6px; border: 1px solid rgba(var(--ink),.15); box-shadow: 0 4px 20px rgba(0,0,0,.18); max-width: 100%; }
.kt-unified-toggle a { padding: 12px 20px; border-radius: 45px; text-decoration: none; font-weight: 600; font-size: .9rem; color: var(--muted); transition: all .3s; display: flex; align-items: center; gap: 6px; min-height: 44px; }
.kt-unified-toggle a.is-cur { background: linear-gradient(135deg, #FFD700, #FFA500); color: #1a1a1a; box-shadow: 0 4px 15px rgba(255,215,0,.4); }
.kt-unified-sep { width: 1px; background: rgba(var(--ink),.2); margin: 8px 4px; }
.network-logo img.kt-brand-logo { height: 120px; width: auto; max-width: 95%; }
.kt-hist-h { color: var(--gold); margin: 0 0 14px; font-size: 1.3rem; }
.kt-hist-body { color: var(--text); line-height: 1.8; }
.kt-hist-sub { font-weight: 800; color: var(--gold); font-size: 1.05rem; margin: 0 0 6px; }
.kt-hist-note { margin: 14px 0 0; opacity: .75; font-size: .85rem; }
.kt-proper { unicode-bidi: isolate; }
#mapContainer { direction: ltr; }
.dokdo-info .label { padding-inline-end: 12px; }
h1, h2, h3, p, .cta-btn, .card-btn, .kt-unified-toggle a, .tab-btn { overflow-wrap: anywhere; }
html[dir=rtl] .region-count { margin-left: 0; margin-right: auto; }
html[dir=rtl] .dokdo-history .timeline { padding-left: 0; padding-right: 20px; }
html[dir=rtl] .dokdo-history .timeline::before { left: auto; right: 0; }
html[dir=rtl] .dokdo-history .event { padding: 10px 15px 10px 0; }
html[dir=rtl] .dokdo-history .event::before { left: auto; right: -8px; }
html[dir=rtl] .modal-close { right: auto; left: 14px; }
html[dir=rtl] .branch-pincode, .kt-ltr { direction: ltr; unicode-bidi: isolate; }
@media (max-width: 768px) {
	.kt-br-hdr { flex-wrap: wrap; padding: 10px 14px; }
	.kt-br-logo img { height: 40px; }
	.kt-br-nav { order: 3; flex-basis: 100%; margin: 0; justify-content: center; gap: 2px 14px; }
	.kt-br-nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 2px; font-size: .85rem; }
	.kt-br-lang { height: 44px; min-width: 44px; justify-content: center; }
	.network-logo img.kt-brand-logo { height: 84px; }
	.kt-unified-toggle { border-radius: 24px; }
	.kt-unified-toggle a { padding: 10px 14px; font-size: .85rem; }
	.kt-unified-sep { display: none; }
	.cta-section { padding: 40px 18px; }
	.cta-btn { padding: 16px 28px; font-size: 1.05rem; }
	.counter-box { padding: 14px 18px; max-width: 100%; }
}
@media (max-width: 420px) { .kt-br-langlbl { display: none; } .kt-br-logo img { height: 34px; max-width: 52vw; } }
@media print { .kt-br-ctrl { display: none; } }
