@charset "UTF-8";
/* ============== TOKENS ============== */
:root {
  --bg: #ffffff;
  --bg-sub: #f6f8fb;
  --bg-elev: #ffffff;
  --ink: #0d1a33;
  --ink-2: #1f2a44;
  --ink-3: #5c6a85;
  --ink-4: #97a1b6;
  --line: #e8ebf2;
  --line-strong: #d3d8e3;
  --primary: #0b3d91;
  --primary-2: #1453d4;
  --primary-soft: #ecf1fb;
  --accent: #c9911a;
  --accent-soft: #fcf2dc;
  --danger: #c93636;
  --ok: #1f8a5b;
}

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  height: 100%;
}

body {
  font-family: "Pretendard", -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  background: var(--bg);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-size: 14px;
  line-height: 1.5;
  overflow-x: hidden;
  overflow-y: auto;
  word-break: keep-all;
  overflow-wrap: break-word;
}

button {
  font-family: inherit;
  cursor: pointer;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

body[data-theme=navy] {
  --primary:#0b3d91;
  --primary-2:#1453d4;
  --primary-soft:#ecf1fb;
  --accent:#c9911a;
  --accent-soft:#fcf2dc;
}

body[data-theme=white] {
  --primary:#15171c;
  --primary-2:#2960e8;
  --primary-soft:#eef3ff;
  --accent:#2960e8;
  --accent-soft:#eef3ff;
}

body[data-theme=green] {
  --primary:#0e3a26;
  --primary-2:#1f7a4d;
  --primary-soft:#e9f2ec;
  --accent:#a87f24;
  --accent-soft:#f8efd9;
}

.app {
  display: grid;
  grid-template-rows: 1fr;
  min-height: 720px;
  max-height: 100vh;
}

/* ============== UTILITY ============== */
.util {
  background: #0d1a33;
  color: rgba(255, 255, 255, 0.72);
  display: flex;
  align-items: center;
  padding: 9px 36px;
  font-size: 12px;
  gap: 14px;
}

.util-left {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 12px;
  font-weight: 500;
}

.util-left .util-link {
  opacity: 0.85;
  transition: opacity 0.15s;
}

.util-left .util-link:hover {
  opacity: 1;
  color: #fff;
}

.util-spacer {
  flex: 1;
}

.util-right {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  font-weight: 500;
}

.util-link {
  cursor: pointer;
  opacity: 0.85;
  transition: opacity 0.15s;
}

.util-link:hover {
  opacity: 1;
  color: #fff;
}

.util-dot {
  width: 2px;
  height: 2px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  display: inline-block;
}

.util-lang {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 3px 9px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 100px;
  cursor: pointer;
  font-weight: 500;
  font-size: 11.5px;
}

/* ============== HEADER ============== */
.hdr {
  position: relative;
  display: flex;
  align-items: center;
  padding: 0 36px;
  background: #fff;
  gap: 32px;
  border-bottom: 1px solid var(--line);
  height: 76px;
}

.hdr-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  cursor: pointer;
}

.hdr-mark {
  width: 56px;
  height: 56px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hdr-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.hdr-name {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.hdr-eyebrow {
  font-family: "Inter", sans-serif;
  font-size: 9.5px;
  letter-spacing: 1.6px;
  color: var(--ink-4);
  font-weight: 600;
}

.hdr-title {
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--ink);
  margin-top: 4px;
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.hdr-title .sep {
  display: none;
}

.nav {
  display: flex;
  flex: 1;
  justify-content: center;
  gap: 2px;
  align-items: stretch;
}

.nav-item {
  padding: 0 22px;
  display: flex;
  align-items: center;
  font-size: 17px;
  font-weight: 600;
  color: var(--ink-2);
  cursor: pointer;
  position: relative;
  letter-spacing: -0.02em;
  white-space: nowrap;
  background: none;
  border: none;
  transition: color 0.15s;
}

.nav-item:hover, .nav-item.active {
  color: var(--primary);
}

.nav-item.active::after {
  content: "";
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: -1px;
  height: 3px;
  background: var(--primary);
  border-radius: 2px 2px 0 0;
}

.hdr-tools {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
}

.hdr-en {
  font-family: "Inter", sans-serif;
  font-weight: 700;
  font-size: 13px;
  color: var(--ink-3);
  padding: 8px 12px;
  cursor: pointer;
  letter-spacing: 0.4px;
  transition: color 0.15s;
}

.hdr-en:hover {
  color: var(--primary);
}

.hdr-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: transparent;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--ink-2);
  transition: all 0.15s;
}

.hdr-icon:hover {
  background: var(--bg-sub);
  color: var(--primary);
}

.hdr-drawer-btn {
  display: none;
}

.hdr-cta {
  background: var(--primary);
  color: #fff;
  border: none;
  font-weight: 700;
  font-size: 13.5px;
  padding: 10px 18px 10px 16px;
  border-radius: 100px;
  letter-spacing: -0.01em;
  margin-left: 6px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.15s;
}

.hdr-cta:hover {
  background: var(--primary-2);
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(11, 61, 145, 0.3);
}

.hdr-cta .arr {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 700;
}

/* ============== MAIN 3-COL ============== */
.main {
  display: grid;
  grid-template-columns: minmax(420px, 1.1fr) minmax(440px, 1.4fr) minmax(300px, 0.9fr);
  min-height: 0;
  overflow: hidden;
}

.col {
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  position: relative;
}

/* === LEFT : Hero with image-slot === */
.col-left {
  background: #0a1730;
  position: relative;
  overflow: hidden;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.8s ease;
  pointer-events: none;
}

.hero-slide.active {
  opacity: 1;
  pointer-events: auto;
}

.hero-image {
  position: absolute;
  inset: 0;
}

.hero-image image-slot {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}

.hero-image image-slot::part(placeholder) {
  background: linear-gradient(160deg, #1d4a96 0%, #0d3375 50%, #061a3d 100%);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 23, 48, 0.05) 30%, rgba(10, 23, 48, 0.55) 65%, rgba(10, 23, 48, 0.92) 100%), linear-gradient(90deg, rgba(10, 23, 48, 0.55) 0%, transparent 50%);
  pointer-events: none;
  z-index: 2;
}

.hero-content {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 32px 44px 84px;
  color: #fff;
  z-index: 3;
  pointer-events: none;
}

/* === HERO TOP STATS (left) === */
.hero-stats {
  position: absolute;
  top: 24px;
  left: 32px;
  z-index: 4;
  display: grid;
  grid-template-columns: repeat(3, auto);
  background: rgba(10, 23, 48, 0.55);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  padding: 12px 6px;
  gap: 0;
}

.hero-stat {
  display: flex;
  flex-direction: column;
  padding: 0 16px;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
  min-width: 92px;
}

.hero-stat:last-child {
  border-right: none;
}

.hero-stat-label {
  font-size: 10.5px;
  color: rgba(255, 255, 255, 0.65);
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 4px;
}

.hero-stat-value {
  font-family: "Inter", sans-serif;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #fff;
  line-height: 1;
  display: inline-flex;
  align-items: baseline;
  gap: 3px;
}

.hero-stat-unit {
  font-family: "Pretendard", sans-serif;
  font-size: 11px;
  font-weight: 500;
  color: var(--accent);
  letter-spacing: -0.01em;
}

/* === HERO CERT BADGES (right) === */
.hero-badges {
  position: absolute;
  top: 24px;
  right: 32px;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px 8px 14px;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 100px;
  box-shadow: 0 8px 24px rgba(10, 23, 48, 0.25);
}

.hero-badges-label {
  font-size: 11px;
  color: var(--ink-3);
  font-weight: 600;
  letter-spacing: -0.01em;
  padding-right: 8px;
  border-right: 1px solid var(--line);
  margin-right: 2px;
  white-space: nowrap;
}

.hero-badge {
  font-family: "Inter", sans-serif;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.3px;
  color: var(--primary);
  padding: 3px 8px;
  background: var(--primary-soft);
  border-radius: 4px;
}

.hero-content > * {
  pointer-events: auto;
}

.hero-num {
  font-family: "Inter", sans-serif;
  font-size: 11px;
  letter-spacing: 2.5px;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.hero-num::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--accent);
}

.hero-en {
  font-family: "Inter", sans-serif;
  font-size: 13px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.65);
  letter-spacing: 0.01em;
  margin-bottom: 8px;
}

.hero-title {
  font-size: 44px;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.05;
  color: #fff;
  margin: 0 0 16px;
  text-wrap: balance;
}

.hero-title .ac {
  color: var(--accent);
}

.hero-meta {
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.55;
  max-width: 380px;
  margin: 0 0 22px;
}

.hero-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  padding: 10px 18px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 100px;
  cursor: pointer;
  transition: all 0.15s;
}

.hero-link:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #0d1a33;
}

.hero-link svg {
  color: var(--accent);
  transition: color 0.15s;
}

.hero-link:hover svg {
  color: #0d1a33;
}

.hero-ctrl {
  position: absolute;
  left: 44px;
  bottom: 32px;
  display: flex;
  align-items: center;
  gap: 14px;
  color: #fff;
  z-index: 4;
}

.hero-pages {
  font-family: "Inter", sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.hero-pages .now {
  color: #fff;
}

.hero-pages .tot {
  color: rgba(255, 255, 255, 0.4);
}

.hero-track {
  width: 80px;
  height: 2px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 2px;
  overflow: hidden;
}

.hero-track-fill {
  height: 100%;
  background: var(--accent);
  transition: width 0.3s ease;
}

.hero-ctrl-btns {
  display: flex;
  gap: 4px;
}

.hero-ctrl-btns button {
  width: 30px;
  height: 30px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  color: rgba(255, 255, 255, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s;
}

.hero-ctrl-btns button:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.35);
  color: #fff;
}

/* === MID : Notice === */
.col-mid {
  padding: 30px 36px 24px;
  background: #fff;
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  min-height: 0;
  overflow: hidden;
}

.mid-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 22px;
}

.mid-title-en {
  font-family: "Inter", sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2.5px;
  color: var(--accent);
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.mid-title-en::before {
  content: "";
  width: 24px;
  height: 1px;
  background: var(--accent);
}

.mid-title-kr {
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--ink);
  line-height: 1.1;
}

.mid-title-sub {
  font-size: 13px;
  color: var(--ink-3);
  margin-top: 6px;
  font-weight: 400;
}

.mid-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  color: var(--ink-3);
  background: none;
  border: 1px solid var(--line);
  border-radius: 100px;
  padding: 8px 14px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.15s;
  margin-top: 4px;
}

.mid-more:hover {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}

.tabs {
  display: flex;
  gap: 0;
  border-bottom: 1px solid var(--line);
  margin-bottom: 6px;
}

.tab {
  padding: 14px 0;
  margin-right: 28px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--ink-4);
  cursor: pointer;
  position: relative;
  background: none;
  border: none;
  letter-spacing: -0.015em;
  transition: color 0.15s;
}

.tab:hover {
  color: var(--ink-2);
}

.tab.active {
  color: var(--ink);
}

.tab.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  background: var(--ink);
}

.feat {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
  margin-top: 18px;
  gap: 14px;
  overflow: hidden;
}

.feat-card {
  background: var(--bg-sub);
  color: var(--ink);
  border-radius: 12px;
  padding: 22px 22px 18px;
  display: flex;
  flex-direction: column;
  position: relative;
  cursor: pointer;
  transition: all 0.2s;
  border: 1px solid transparent;
}

.feat-card:hover {
  background: #fff;
  border-color: var(--primary);
  box-shadow: 0 10px 30px rgba(11, 61, 145, 0.12);
  transform: translateY(-2px);
}

.feat-tag {
  display: inline-flex;
  align-self: flex-start;
  padding: 4px 10px;
  background: var(--primary);
  color: #fff;
  border-radius: 100px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.4px;
  margin-bottom: 12px;
}

.feat-title {
  font-size: 17px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: -0.02em;
  margin: 0 0 14px;
  color: var(--ink);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.feat-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  color: var(--ink-3);
  font-family: "JetBrains Mono", monospace;
}

.feat-meta .go {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  transition: all 0.15s;
}

.feat-card:hover .go {
  background: var(--primary);
  transform: translate(2px, -2px);
}

.list {
  display: flex;
  flex-direction: column;
  position: relative;
  min-height: 220px;
  flex: 1;
  overflow-y: hidden;
}

.list::-webkit-scrollbar {
  width: 4px;
}

.list::-webkit-scrollbar-thumb {
  background: var(--line-strong);
  border-radius: 2px;
}

.list::-webkit-scrollbar-track {
  background: transparent;
}

.list-row {
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  transition: all 0.12s;
}

.list-row:last-child {
  border-bottom: none;
}

.list-row:hover .list-title {
  color: var(--primary);
}

.list-row.is-empty {
  cursor: default;
  pointer-events: none;
  opacity: 0;
  border-bottom: none;
}

.list-row.is-empty:hover .list-title {
  color: inherit;
}

.list-empty-msg {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 28px 0 16px;
  font-size: 13px;
  color: #bbb;
  text-align: center;
}

.list-empty-msg svg {
  color: #d0d5dd;
}

.list-tag {
  display: inline-block;
  font-size: 10.5px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
  letter-spacing: 0.3px;
}

.list-tag.notice {
  background: var(--accent-soft);
  color: #8c6212;
}

.list-tag.press {
  background: var(--primary-soft);
  color: var(--primary);
}

.list-tag.doc {
  background: #e8f4ec;
  color: var(--ok);
}

.list-title {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-2);
  line-height: 1.4;
  letter-spacing: -0.015em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: color 0.15s;
}

.list-title .new {
  display: inline-block;
  margin-left: 6px;
  background: var(--danger);
  color: #fff;
  font-size: 9px;
  font-family: "Inter", sans-serif;
  font-weight: 700;
  padding: 1px 5px;
  border-radius: 3px;
  vertical-align: middle;
}

.list-date {
  font-family: "JetBrains Mono", monospace;
  font-size: 11.5px;
  color: var(--ink-4);
  white-space: nowrap;
}

/* === RIGHT : Popup + Equipment === */
.col-right {
  background: var(--bg-sub);
  padding: 28px 24px 24px;
  display: grid;
  grid-template-rows: 4fr 6fr; /* popup 40% / equip 60% */
  gap: 16px;
  min-height: 0;
  overflow: hidden;
}

.popup {
  background: #0a1730;
  border-radius: 12px;
  overflow: hidden;
  min-height: 0; /* grid row(280px)가 높이 제어 */
  display: flex;
  flex-direction: column;
  position: relative;
  cursor: pointer;
  border: 1px solid var(--line);
}

.popup-image {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, #1d3a6e 0%, #0d1a33 100%);
  z-index: 0;
}

.popup-image image-slot {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}

.popup-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(10, 23, 48, 0.25) 0%, transparent 20%, transparent 40%, rgba(10, 23, 48, 0.7) 70%, rgba(10, 23, 48, 0.94) 100%);
  pointer-events: none;
}

.popup-head {
  padding: 14px 18px 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}

.popup-head-l {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: "Inter", sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: var(--primary);
}

.popup-head-l::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

.popup-head-r {
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  color: var(--ink-4);
}

.popup-body {
  padding: 16px 18px 14px;
  position: relative;
}

.popup-eyebrow {
  font-family: "Inter", sans-serif;
  font-size: 10.5px;
  letter-spacing: 1.2px;
  font-weight: 700;
  color: var(--accent);
}

.popup-title {
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--ink);
  margin: 6px 0 8px;
  line-height: 1.3;
}

.popup-sub {
  font-size: 12.5px;
  color: var(--ink-3);
  line-height: 1.5;
  margin: 0 0 12px;
}

.popup-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  color: var(--primary);
  cursor: pointer;
  padding: 6px 0;
}

.popup-cta .arr {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
}

.popup-pager {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 18px;
  border-top: 1px solid var(--line);
  background: var(--bg-sub);
}

.popup-pager .dots {
  display: flex;
  gap: 5px;
}

.popup-pager .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--line-strong);
  cursor: pointer;
  border: none;
  padding: 0;
  transition: all 0.15s;
}

.popup-pager .dot.active {
  background: var(--primary);
  width: 18px;
  border-radius: 3px;
}

.popup-pager .btns {
  display: flex;
  gap: 4px;
}

.popup-pager .btns button {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-2);
  cursor: pointer;
  transition: all 0.15s;
}

.popup-pager .btns button:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

/* Live seismic mini */
.live {
  background: #0d1a33;
  color: #fff;
  border-radius: 12px;
  padding: 16px 18px 14px;
  flex: 1;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.live::before {
  content: "";
  position: absolute;
  right: -50px;
  top: -50px;
  width: 160px;
  height: 160px;
  background: radial-gradient(circle, rgba(201, 145, 26, 0.18), transparent 70%);
  pointer-events: none;
}

.live-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
  position: relative;
  z-index: 1;
}

.live-head-l {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.live-dot {
  width: 7px;
  height: 7px;
  background: #ff5252;
  border-radius: 50%;
  animation: pulse 1.6s infinite;
  box-shadow: 0 0 8px #ff5252;
}

.live-time {
  font-family: "JetBrains Mono", monospace;
  font-size: 10.5px;
  opacity: 0.6;
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.4;
    transform: scale(1.4);
  }
}
.live-row {
  display: grid;
  grid-template-columns: 50px 1fr;
  gap: 10px;
  align-items: center;
  padding: 8px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 12px;
  position: relative;
  z-index: 1;
}

.live-row:first-of-type {
  border-top: none;
  padding-top: 4px;
}

.live-mag {
  font-family: "JetBrains Mono", monospace;
  font-weight: 700;
  font-size: 12.5px;
  padding: 3px 0;
  border-radius: 4px;
  text-align: center;
  letter-spacing: -0.02em;
}

.live-mag.low {
  background: rgba(94, 230, 154, 0.12);
  color: #5ee69a;
}

.live-mag.mid {
  background: rgba(255, 200, 87, 0.14);
  color: #ffc857;
}

.live-mag.high {
  background: rgba(255, 117, 117, 0.16);
  color: #ff7575;
}

.live-info {
  line-height: 1.35;
  min-width: 0;
}

.live-info .loc {
  font-weight: 500;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: rgba(255, 255, 255, 0.92);
}

.live-info .when {
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  opacity: 0.5;
  margin-top: 1px;
}

.live-foot {
  margin-top: auto;
  padding-top: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.5);
  position: relative;
  z-index: 1;
}

.live-foot a {
  color: var(--accent);
  font-weight: 600;
  cursor: pointer;
}

/* === BOTTOM : Quick Bar Carousel === */
.bottom-section {
  background: var(--bg-sub);
  border-top: 1px solid var(--line);
  padding: 28px 36px 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.bottom-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
}

.bottom-head-l {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.bottom-eyebrow {
  font-family: "Inter", sans-serif;
  font-size: 10px;
  letter-spacing: 1.8px;
  color: var(--accent);
  font-weight: 700;
}

.bottom-title {
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--ink);
  margin: 0;
}

.bottom-nav {
  display: flex;
  align-items: center;
  gap: 14px;
}

.bottom-counter {
  font-family: "Inter", sans-serif;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.4px;
  color: var(--ink-3);
}

.bottom-counter .now {
  color: var(--primary);
}

.bottom-counter .tot {
  color: var(--ink-4);
}

.bottom-dots {
  display: flex;
  gap: 4px;
}

.bottom-dots .d {
  width: 18px;
  height: 3px;
  background: var(--line-strong);
  border: none;
  border-radius: 2px;
  cursor: pointer;
  padding: 0;
  transition: all 0.2s;
}

.bottom-dots .d.active {
  background: var(--primary);
}

.bottom-btns {
  display: flex;
  gap: 4px;
}

.bottom-btns button {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--ink-2);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.15s;
}

.bottom-btns button:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

.bottom-track {
  display: grid;
  grid-template-columns: repeat(var(--per-page, 6), 1fr);
  gap: 10px;
  flex: 1;
  min-height: 0;
}

.qb {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  cursor: pointer;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  transition: all 0.18s;
  min-width: 0;
  position: relative;
  text-align: left;
  font-family: inherit;
}

.qb:hover {
  background: var(--primary);
  border-color: var(--primary);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(11, 61, 145, 0.15);
}

.qb:hover .qb-icon {
  background: var(--accent);
  color: var(--primary);
}

.qb:hover .qb-label .kr {
  color: #fff;
}

.qb:hover .qb-label .en {
  color: var(--accent);
}

.qb:hover .qb-label .desc {
  color: rgba(255, 255, 255, 0.7);
}

.qb:hover .qb-arr {
  color: var(--accent);
  transform: translate(3px, -3px);
}

.qb-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--primary-soft);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.18s;
}

.qb-label {
  line-height: 1.2;
  min-width: 0;
  flex: 1;
}

.qb-label .kr {
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: -0.02em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: block;
  color: var(--ink);
  transition: color 0.15s;
}

.qb-label .en {
  font-family: "Inter", sans-serif;
  font-size: 9.5px;
  letter-spacing: 1px;
  color: var(--ink-4);
  font-weight: 600;
  margin-top: 1px;
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: color 0.15s;
}

.qb-label .desc {
  font-size: 11px;
  color: var(--ink-3);
  margin-top: 4px;
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  letter-spacing: -0.01em;
  transition: color 0.15s;
}

.qb-arr {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-4);
  transition: all 0.18s;
}

/* ============== RESPONSIVE ============== */
@media (max-width: 1320px) {
  .nav-item {
    padding: 0 18px;
    font-size: 16px;
  }
  .hdr {
    padding: 0 24px;
  }
  .hero-title {
    font-size: 38px;
  }
  .hero-content {
    padding: 36px 32px 84px;
  }
  .hero-ctrl {
    left: 32px;
  }
  .col-mid {
    padding: 28px 28px 22px;
  }
}
@media (max-width: 1180px) {
  .main {
    grid-template-columns: minmax(360px, 1fr) minmax(380px, 1.2fr) minmax(280px, 0.85fr);
  }
  .hero-title {
    font-size: 32px;
  }
  .mid-title-kr {
    font-size: 22px;
  }
}
@media (max-width: 1050px) {
  .app {
    grid-template-rows: 1fr 70px;
  }
  .main {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 280px 1fr;
  }
  .col-left {
    grid-column: 1/-1;
    grid-row: 1;
  }
  .col-mid {
    grid-column: 1/2;
    grid-row: 2;
    border-right: 1px solid var(--line);
    padding: 22px 22px 16px;
  }
  .col-right {
    grid-column: 2/3;
    grid-row: 2;
    padding: 22px 18px 16px;
    gap: 12px;
  }
  .hero-content {
    padding: 24px 28px 56px;
  }
  .hero-title {
    font-size: 28px;
  }
  .feat {
    display: none;
  }
  .list-row {
    padding: 9px 0;
  }
  .bottom-section {
    padding: 14px 22px 16px;
  }
  .bottom-title {
    font-size: 15px;
  }
  .qb {
    padding: 10px 12px;
    gap: 10px;
  }
  .qb-icon {
    width: 36px;
    height: 36px;
  }
  .qb-label .desc {
    display: none;
  }
  .nav {
    display: none;
  }
  .hdr-drawer-btn {
    display: flex;
  }
}
@media (max-width: 760px) {
  body {
    font-size: 14px;
  }
  .app {
    display: block;
    height: auto;
    min-height: 100vh;
  }
  .util {
    padding: 8px 16px;
    gap: 8px;
    overflow-x: auto;
    white-space: nowrap;
  }
  .util-pills {
    display: none;
  }
  .hdr {
    padding: 0 16px;
    height: 60px;
    gap: 12px;
  }
  .hdr-eyebrow {
    display: none;
  }
  .hdr-title {
    font-size: 15px;
    gap: 6px;
  }
  .hdr-title .sub {
    display: none;
  }
  .hdr-mark {
    width: 36px;
    height: 36px;
  }
  .nav {
    display: none;
  }
  .hdr-en, .hdr-cta {
    display: none;
  }
  .main {
    display: block;
  }
  .col-left {
    height: 280px;
  }
  .col-mid, .col-right {
    padding: 24px 18px;
    border-right: none;
    border-bottom: 1px solid var(--line);
  }
  .hero-title {
    font-size: 24px;
  }
  .hero-content {
    padding: 22px 22px 60px;
  }
  .feat {
    display: none;
  }
  .bottom-section {
    padding: 16px;
  }
  .bottom-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  .bottom-nav {
    width: 100%;
    justify-content: space-between;
  }
  .qb {
    padding: 12px;
  }
  .qb-label .desc {
    display: none;
  }
  .qb-label .en {
    display: block;
  }
}
/* ============== EQUIPMENT WIDGET (right col) — full-bleed image ============== */
.equip {
  background: #0a1730;
  border-radius: 12px;
  overflow: hidden;
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
  position: relative;
  cursor: pointer;
  border: 1px solid var(--line);
}

.equip-photo {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, #1d3a6e 0%, #0a1730 100%);
  z-index: 0;
}

.equip-photo image-slot {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}

.equip-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(10, 23, 48, 0.3) 0%, transparent 22%, transparent 45%, rgba(10, 23, 48, 0.7) 70%, rgba(10, 23, 48, 0.96) 100%);
  pointer-events: none;
}

.equip-head {
  position: relative;
  z-index: 2;
  padding: 14px 18px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.equip-head-l {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: "Inter", sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: #fff;
}

.equip-head-l::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 6px var(--accent);
}

.equip-head-all {
  font-size: 11.5px;
  color: rgba(255, 255, 255, 0.85);
  font-weight: 600;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 100px;
  padding: 4px 10px 4px 12px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.15s;
  backdrop-filter: blur(4px);
}

.equip-head-all:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--ink);
}

.equip-head-all .cnt {
  background: var(--accent);
  color: var(--ink);
  padding: 1px 7px;
  border-radius: 100px;
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  font-weight: 700;
}

.equip-head-all:hover .cnt {
  background: rgba(13, 26, 51, 0.2);
  color: var(--ink);
}

.equip-card {
  position: relative;
  z-index: 2;
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
  justify-content: flex-end;
}

.equip-cat-tag {
  position: absolute;
  top: 14px;
  left: 18px;
  z-index: 3;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-family: "Inter", sans-serif;
  font-size: 9.5px;
  letter-spacing: 1px;
  font-weight: 700;
  padding: 4px 9px;
  border-radius: 100px;
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.equip-cat-tag .accent {
  color: var(--accent);
  font-size: 10px;
  line-height: 1;
}

.equip-num {
  position: absolute;
  top: 14px;
  right: 18px;
  z-index: 3;
  font-family: "JetBrains Mono", monospace;
  font-size: 10.5px;
  color: rgba(255, 255, 255, 0.75);
  font-weight: 600;
}

.equip-info {
  padding: 16px 18px 14px;
  display: flex;
  flex-direction: column;
  color: #fff;
  position: relative;
  z-index: 2;
}

.equip-name {
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -0.025em;
  color: #fff;
  line-height: 1.2;
  margin: 0;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.3);
}

.equip-en {
  font-family: "Inter", sans-serif;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.6);
  font-weight: 500;
  letter-spacing: 0.01em;
  margin-top: 3px;
  margin-bottom: 10px;
}

.equip-targets {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-bottom: 12px;
  align-items: center;
}

.equip-targets-label {
  font-family: "Inter", sans-serif;
  font-size: 9.5px;
  color: rgba(255, 255, 255, 0.5);
  font-weight: 700;
  letter-spacing: 1.2px;
  margin-right: 2px;
}

.equip-target {
  font-size: 10.5px;
  padding: 3px 8px;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border-radius: 100px;
  font-weight: 600;
  letter-spacing: -0.01em;
  white-space: nowrap;
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.equip-target.more {
  background: rgba(201, 145, 26, 0.18);
  color: var(--accent);
  border-color: rgba(201, 145, 26, 0.3);
}

.equip-pager {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.equip-dots {
  display: flex;
  gap: 3px;
  flex: 1;
  overflow: hidden;
}

.equip-dots .d {
  width: 6px;
  height: 3px;
  background: rgba(255, 255, 255, 0.18);
  border-radius: 2px;
  flex-shrink: 0;
  transition: all 0.2s;
}

.equip-dots .d.active {
  background: var(--accent);
  width: 16px;
}

.equip-pager-btns {
  display: flex;
  gap: 4px;
}

.equip-pager-btns button {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.15s;
}

.equip-pager-btns button:hover {
  background: var(--accent);
  color: var(--ink);
  border-color: var(--accent);
}

/* ============== EQUIPMENT MODAL ============== */
.eq-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(13, 26, 51, 0.55);
  backdrop-filter: blur(6px);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px;
  animation: fadeIn 0.2s ease;
}

.eq-modal {
  background: #fff;
  border-radius: 16px;
  width: 100%;
  max-width: 1200px;
  max-height: calc(100vh - 64px);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
  animation: rise 0.25s ease;
}

.eq-modal-head {
  padding: 20px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  flex-shrink: 0;
}

.eq-modal-head-l {
  display: flex;
  align-items: baseline;
  gap: 12px;
}

.eq-modal-head h2 {
  margin: 0;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--ink);
}

.eq-modal-head .total {
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  color: var(--ink-3);
  padding: 4px 10px;
  background: var(--bg-sub);
  border-radius: 100px;
}

.eq-modal-close {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--bg-sub);
  border: none;
  color: var(--ink-2);
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s;
}

.eq-modal-close:hover {
  background: var(--ink);
  color: #fff;
}

.eq-modal-body {
  display: grid;
  grid-template-columns: 200px 1fr;
  flex: 1;
  min-height: 0;
}

.eq-cats {
  background: var(--bg-sub);
  padding: 20px 16px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  border-right: 1px solid var(--line);
  overflow-y: auto;
}

.eq-cats h4 {
  font-family: "Inter", sans-serif;
  font-size: 10px;
  letter-spacing: 1.5px;
  color: var(--ink-4);
  font-weight: 700;
  margin: 0 0 10px;
  padding: 0 8px;
}

.eq-cat {
  text-align: left;
  padding: 10px 12px;
  border-radius: 8px;
  background: transparent;
  border: none;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink-2);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  letter-spacing: -0.01em;
  transition: all 0.15s;
}

.eq-cat:hover {
  background: rgba(11, 61, 145, 0.06);
  color: var(--primary);
}

.eq-cat.active {
  background: var(--primary);
  color: #fff;
}

.eq-cat .num {
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  opacity: 0.7;
}

.eq-grid {
  padding: 24px 28px;
  overflow-y: auto;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 16px;
  align-content: start;
}

.eq-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  flex-direction: column;
}

.eq-item:hover {
  border-color: var(--primary);
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(11, 61, 145, 0.12);
}

.eq-item-photo {
  height: 150px;
  background: linear-gradient(160deg, #1d3a6e 0%, #0d1a33 100%);
  position: relative;
  overflow: hidden;
}

.eq-item-photo image-slot {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}

.eq-item-cat {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
  background: rgba(13, 26, 51, 0.8);
  color: #fff;
  font-family: "Inter", sans-serif;
  font-size: 9.5px;
  letter-spacing: 1px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 100px;
}

.eq-item-info {
  padding: 14px 16px 14px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.eq-item-name {
  font-size: 14.5px;
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--ink);
  line-height: 1.3;
  margin: 0 0 4px;
}

.eq-item-en {
  font-family: "Inter", sans-serif;
  font-size: 10.5px;
  color: var(--ink-4);
  font-weight: 500;
  margin-bottom: 10px;
}

.eq-item-short {
  font-size: 12.5px;
  color: var(--ink-3);
  line-height: 1.45;
  margin: 0 0 12px;
}

.eq-item-targets {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-top: auto;
}

.eq-item-targets .t {
  font-size: 10.5px;
  padding: 3px 8px;
  background: var(--primary-soft);
  color: var(--primary);
  border-radius: 100px;
  font-weight: 600;
}

.eq-item-targets .t.more {
  background: var(--bg-sub);
  color: var(--ink-3);
}

/* Detail panel (slides in from right) */
.eq-detail {
  position: fixed;
  top: 32px;
  right: 32px;
  bottom: 32px;
  width: 480px;
  max-width: calc(100vw - 64px);
  background: #fff;
  border-radius: 16px;
  z-index: 101;
  display: flex;
  flex-direction: column;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4);
  animation: slideIn 0.25s ease;
  overflow: hidden;
}

@keyframes slideIn {
  from {
    transform: translateX(40px);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}
.eq-detail-photo {
  height: 240px;
  background: linear-gradient(160deg, #1d3a6e 0%, #0d1a33 100%);
  position: relative;
  flex-shrink: 0;
}

.eq-detail-photo image-slot {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.eq-detail-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(13, 26, 51, 0.7);
  backdrop-filter: blur(6px);
  border: none;
  color: #fff;
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s;
}

.eq-detail-close:hover {
  background: var(--ink);
}

.eq-detail-cat {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 2;
  background: var(--accent);
  color: var(--ink);
  font-family: "Inter", sans-serif;
  font-size: 10px;
  letter-spacing: 1.2px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 100px;
}

.eq-detail-body {
  padding: 22px 26px 26px;
  overflow-y: auto;
  flex: 1;
}

.eq-detail-name {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--ink);
  margin: 0;
  line-height: 1.2;
}

.eq-detail-en {
  font-family: "Inter", sans-serif;
  font-size: 12px;
  color: var(--ink-4);
  font-weight: 500;
  margin: 4px 0 14px;
}

.eq-detail-short {
  font-size: 13.5px;
  color: var(--ink-2);
  line-height: 1.5;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
  margin: 0 0 18px;
}

.eq-section {
  margin-bottom: 20px;
}

.eq-section h5 {
  font-family: "Inter", sans-serif;
  font-size: 10.5px;
  letter-spacing: 1.5px;
  color: var(--ink-4);
  font-weight: 700;
  margin: 0 0 10px;
}

.eq-section h5::before {
  content: "";
  display: inline-block;
  width: 14px;
  height: 1px;
  background: var(--accent);
  vertical-align: middle;
  margin-right: 8px;
}

.eq-spec {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.eq-spec li {
  font-size: 13px;
  color: var(--ink-2);
  padding: 8px 12px;
  background: var(--bg-sub);
  border-radius: 6px;
  font-family: "JetBrains Mono", monospace;
  letter-spacing: -0.01em;
}

.eq-target-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.eq-target-grid .t {
  font-size: 12.5px;
  padding: 6px 12px;
  background: var(--primary-soft);
  color: var(--primary);
  border-radius: 100px;
  font-weight: 600;
}

.eq-standards li {
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  color: var(--ok);
  padding: 6px 10px;
  background: #e8f4ec;
  border-radius: 4px;
  margin-bottom: 4px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.eq-standards li::before {
  content: "✓";
  color: var(--ok);
  font-weight: 700;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes rise {
  from {
    transform: translateY(12px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}
/* ============== WIDE-SCREEN OPTIMIZATION ============== */
@media (min-width: 1600px) {
  .hdr {
    padding: 0 56px;
  }
  .util {
    padding-left: 56px;
    padding-right: 56px;
  }
  .col-mid {
    padding: 36px 44px 28px;
  }
  .col-left .hero-content {
    padding: 48px 56px 96px;
  }
  .col-left .hero-ctrl {
    left: 56px;
  }
  .mid-title-kr {
    font-size: 30px;
  }
  .hero-title {
    font-size: clamp(40px, 3.2vw, 60px);
  }
  .feat-title {
    font-size: 19px;
  }
  .list-title {
    font-size: 14.5px;
  }
  .qb-label .kr {
    font-size: 15px;
  }
  .qb-icon {
    width: 42px;
    height: 42px;
  }
}
@media (min-width: 1920px) {
  .main {
    grid-template-columns: minmax(500px, 1.05fr) minmax(560px, 1.45fr) minmax(380px, 1fr);
  }
  .hdr {
    padding: 0 72px;
  }
  .util {
    padding-left: 72px;
    padding-right: 72px;
  }
  .col-mid {
    padding: 44px 56px 32px;
  }
  .col-left .hero-content {
    padding: 56px 64px 104px;
  }
  .col-left .hero-ctrl {
    left: 64px;
  }
  .col-right {
    padding: 36px 30px 30px;
  }
  .hero-title {
    font-size: clamp(48px, 3.4vw, 68px);
  }
  .hero-meta {
    font-size: 15px;
    max-width: 460px;
  }
  .mid-title-kr {
    font-size: 32px;
  }
  .mid-title-sub {
    font-size: 14px;
  }
  .feat-card {
    padding: 26px 26px 22px;
  }
  .feat-title {
    font-size: 20px;
  }
  .list-row {
    padding: 13px 0;
  }
  .list-title {
    font-size: 15px;
  }
  /* equipment widget grows */
  .equip-name {
    font-size: 16px;
  }
  .popup-title {
    font-size: 19px;
  }
  /* bottom quick bar bigger */
  .qb-label .kr {
    font-size: 15.5px;
  }
  .qb-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
  }
  .app {
    grid-template-rows: 1fr 92px;
  }
}
@media (min-width: 2400px) {
  /* Cap content to prevent over-stretching, but keep header full-bleed */
  .main {
    grid-template-columns: minmax(420px, 1.05fr) minmax(480px, 1.5fr) minmax(320px, 0.95fr);
    max-width: 2400px;
    margin: 0 auto;
    width: 100%;
    border-left: 1px solid var(--line);
    border-right: 1px solid var(--line);
  }
  .bottom {
    max-width: 2400px;
    margin: 0 auto;
    width: 100%;
    border-left: 1px solid var(--line);
    border-right: 1px solid var(--line);
  }
  body {
    background: linear-gradient(90deg, #f0f3f8 0%, #fff 12%, #fff 88%, #f0f3f8 100%);
  }
}
/* ============== MEGA MENU ============== */
.hdr-nav-wrap {
  flex: 1;
  display: flex;
  align-items: stretch;
  justify-content: center;
  align-self: stretch;
  height: 100%;
}

.mega {
  position: absolute;
  top: calc(100% - 1px);
  left: 50%;
  transform: translateX(-50%) translateY(-4px);
  width: 100vw;
  background: #fff;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 18px 36px rgba(13, 26, 51, 0.12);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s ease, transform 0.2s ease;
  z-index: 60;
}

/* Invisible bridge between nav and mega — prevents hover-intent loss in the gap */
.mega::before {
  content: "";
  position: absolute;
  top: -12px;
  left: 0;
  right: 0;
  height: 12px;
}

.mega.open {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.mega-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  padding: 32px 36px 36px;
  gap: 0;
  max-width: 1600px;
  margin: 0 auto;
}

.mega-col {
  padding: 0 14px;
  border-right: 1px solid var(--line);
}

.mega-col:last-child {
  border-right: none;
}

.mega-col h4 {
  font-size: 16.5px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--primary);
  margin: 0 0 14px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--primary);
}

.mega-col ul {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.mega-col li {
  list-style: none;
}

.mega-col li a {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 7px 8px;
  margin: 0 -8px;
  border-radius: 6px;
  font-size: 13px;
  color: var(--ink-2);
  cursor: pointer;
  font-weight: 500;
  letter-spacing: -0.01em;
  transition: color 0.15s, background 0.15s, padding-left 0.15s;
}

.mega-col li a:hover {
  color: var(--primary);
  background: var(--bg-sub);
  padding-left: 12px;
}

.mega-col li a::before {
  content: "";
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--ink-4);
  flex-shrink: 0;
  transition: background 0.15s;
}

.mega-col li a:hover::before {
  background: var(--accent);
}

.mega-col li .new {
  display: inline-block;
  margin-left: 4px;
  background: var(--accent);
  color: var(--ink);
  font-size: 9px;
  font-family: "Inter", sans-serif;
  font-weight: 700;
  padding: 1px 5px;
  border-radius: 3px;
}

.mega-footer {
  border-top: 1px solid var(--line);
  background: var(--bg-sub);
  font-size: 12px;
  color: var(--ink-3);
}

.mega-footer-inner {
  padding: 14px 36px;
  max-width: 1600px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.mega-footer .quick-links {
  display: flex;
  gap: 16px;
}

.mega-footer .quick-links a {
  font-weight: 600;
  cursor: pointer;
  transition: color 0.15s;
}

.mega-footer .quick-links a:hover {
  color: var(--primary);
}

.mega-footer .tel {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: var(--ink);
}

.mega-footer .tel strong {
  font-family: "JetBrains Mono", monospace;
  color: var(--primary);
}

@media (max-width: 860px) {
  .mega {
    display: none;
  }
}
/* equip widget — inline cat tag + counter */
.equip-counter {
  font-family: "JetBrains Mono", monospace;
  font-size: 10.5px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.7);
  letter-spacing: 0;
  margin-left: 8px;
  padding-left: 8px;
  border-left: 1px solid rgba(255, 255, 255, 0.2);
}

.equip-cat-tag-inline {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  align-self: flex-start;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(4px);
  color: #fff;
  font-family: "Inter", "Pretendard", sans-serif;
  font-size: 10px;
  letter-spacing: 0.5px;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 100px;
  margin-bottom: 8px;
}

.equip-cat-tag-inline .accent {
  color: var(--accent);
  font-size: 10px;
  line-height: 1;
}

/* ============== SITE FOOTER ============== */
[x-cloak] {
  display: none !important;
}

.site-footer {
  background: #0a1730;
  color: rgba(255, 255, 255, 0.7);
  padding: 28px 0 0;
  font-size: 13px;
}

.footer-inner {
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 36px 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 48px;
}

.footer-brand-top {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 14px;
}

.footer-brand .ftr-mark {
  width: 64px;
  height: 64px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-brand .ftr-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  filter: brightness(0) invert(1) sepia(0.2) saturate(0.3) hue-rotate(170deg);
  opacity: 0.95;
}

.footer-desc {
  font-size: 13px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.78);
  margin: 0;
  max-width: 360px;
}

.footer-meta {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 26px;
}

/* 관련 사이트 커스텀 드롭다운 */
.footer-related {
  position: relative;
  flex-shrink: 0;
  min-width: 260px;
}

.related-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  padding: 12px 18px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.01em;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s;
}

.related-toggle:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.24);
}

.related-chevron {
  transition: transform 0.2s;
  opacity: 0.7;
}

.related-toggle.open .related-chevron {
  transform: rotate(180deg);
}

.related-menu {
  position: absolute;
  bottom: calc(100% + 8px);
  left: 0;
  right: 0;
  background: #102541;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  padding: 6px;
  box-shadow: 0 -8px 28px rgba(0, 0, 0, 0.4);
  z-index: 50;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.related-menu li {
  list-style: none;
}

.related-menu a {
  display: block;
  padding: 9px 12px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.78);
  letter-spacing: -0.01em;
  transition: background 0.12s, color 0.12s;
}

.related-menu a:hover {
  background: rgba(201, 145, 26, 0.14);
  color: #fff;
}

.footer-meta li {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.4;
}

.footer-meta .ic {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(201, 145, 26, 0.12);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.footer-col h4 {
  font-size: 14.5px;
  font-weight: 800;
  color: #fff;
  margin: 0 0 18px;
  padding-left: 10px;
  border-left: 3px solid var(--accent);
  letter-spacing: -0.02em;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-col li {
  cursor: pointer;
  color: rgba(255, 255, 255, 0.72);
  font-size: 13.5px;
  font-weight: 500;
  letter-spacing: -0.01em;
  transition: color 0.15s;
  display: flex;
  align-items: center;
  gap: 6px;
}

.footer-col li:hover {
  color: #fff;
}

.footer-col.related li::before {
  content: "↗";
  color: var(--accent);
  font-size: 11px;
  font-family: "Inter", sans-serif;
  font-weight: 600;
  opacity: 0.8;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 18px 36px;
  max-width: 1600px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
}

.footer-bottom .legal {
  display: flex;
  gap: 12px;
  align-items: center;
}

.footer-bottom .legal a {
  color: rgba(255, 255, 255, 0.78);
  cursor: pointer;
  transition: color 0.15s;
  font-weight: 500;
}

.footer-bottom .legal a:hover {
  color: #fff;
}

.footer-bottom .legal a.strong {
  color: #fff;
  font-weight: 700;
}

.footer-bottom .legal .dot {
  opacity: 0.3;
}

@media (max-width: 760px) {
  .footer-inner {
    flex-direction: column;
    gap: 28px;
    padding: 0 20px 28px;
  }
  .footer-related {
    width: 100%;
    min-width: 0;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 10px;
    align-items: flex-start;
    padding: 18px 20px;
  }
}
/* popup — full-bleed image */
.popup .popup-head {
  position: relative;
  z-index: 2;
  padding: 14px 18px 12px;
  border-bottom: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.popup .popup-head-l {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: "Inter", sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: #fff;
}

.popup .popup-head-l::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 6px var(--accent);
}

.popup .popup-head-r {
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.6);
}

.popup .popup-body {
  position: relative;
  z-index: 2;
  padding: 16px 18px 8px;
  margin-top: auto;
  color: #fff;
}

.popup .popup-eyebrow {
  font-family: "Inter", sans-serif;
  font-size: 10.5px;
  letter-spacing: 1.2px;
  font-weight: 700;
  color: var(--accent);
}

.popup .popup-title {
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -0.025em;
  color: #fff;
  margin: 6px 0 8px;
  line-height: 1.25;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.4);
}

.popup .popup-sub {
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.5;
  margin: 0 0 12px;
}

.popup .popup-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  cursor: pointer;
  padding: 6px 0;
}

.popup .popup-cta .arr {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
}

.popup .popup-pager {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 18px 12px;
  background: transparent;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.popup .popup-pager .dot {
  background: rgba(255, 255, 255, 0.25);
}

.popup .popup-pager .dot.active {
  background: var(--accent);
}

.popup .popup-pager .btns button {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.9);
}

.popup .popup-pager .btns button:hover {
  background: var(--accent);
  color: var(--ink);
  border-color: var(--accent);
}

/* text-only popup (no image) — keep gradient fallback */
.popup:not(.has-image) .popup-image {
  background: radial-gradient(circle at 80% 20%, rgba(201, 145, 26, 0.18), transparent 55%), linear-gradient(160deg, #1d3a6e 0%, #0a1730 100%);
}

/* === bg-image fixes (replaced image-slot) === */
.hero-image,
.popup-image,
.equip-photo,
.eq-item-photo,
.eq-detail-photo {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-color: #0d1a33;
}

/* ============== ALARM MIDDLE - widgets fill empty space ============== */
.mid-widgets {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin: 0 0 22px;
}

/* Cert verify widget */
.cert-verify {
  background: linear-gradient(135deg, #f4f7fc 0%, #e9eef9 100%);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 16px 18px;
  display: flex;
  align-items: center;
  gap: 14px;
  position: relative;
  overflow: hidden;
}

.cert-verify::before {
  content: "";
  position: absolute;
  right: -30px;
  top: -30px;
  width: 120px;
  height: 120px;
  background: radial-gradient(circle, rgba(201, 145, 26, 0.18), transparent 70%);
  pointer-events: none;
}

.cert-verify-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.cert-verify-text {
  flex-shrink: 0;
}

.cert-verify-eyebrow {
  font-family: "Inter", sans-serif;
  font-size: 10px;
  letter-spacing: 1.2px;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 2px;
}

.cert-verify-title {
  font-size: 14.5px;
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--ink);
  line-height: 1.2;
}

.cert-verify-form {
  display: flex;
  flex: 1;
  background: #fff;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  overflow: hidden;
  margin-left: auto;
  max-width: 380px;
  position: relative;
}

.cert-verify-form input {
  flex: 1;
  padding: 0 14px;
  height: 42px;
  border: none;
  outline: none;
  font-family: "JetBrains Mono", "Inter", sans-serif;
  font-size: 13px;
  letter-spacing: 0.5px;
  color: var(--ink);
  background: transparent;
}

.cert-verify-form input::placeholder {
  color: var(--ink-4);
  letter-spacing: 0;
  font-family: "Pretendard";
}

.cert-verify-form button {
  background: var(--primary);
  color: #fff;
  border: none;
  padding: 0 18px;
  min-width: 84px;
  font-weight: 700;
  font-size: 13.5px;
  letter-spacing: -0.01em;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  white-space: nowrap;
  transition: background 0.15s;
  flex-shrink: 0;
}

.cert-verify-form button:hover {
  background: var(--primary-2);
}

.cert-verify-form button:hover {
  background: var(--primary-2);
}

/* Process steps mini diagram */
.process-block {
  margin-top: 32px;
  padding-top: 28px;
  border-top: 1px dashed var(--line-strong);
}

.process-block .mid-head {
  margin-bottom: 18px;
}

.process {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px 18px;
  position: relative;
}

.process-step {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 4px;
  position: relative;
}

.process-step-num {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--primary-soft);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Inter", sans-serif;
  font-size: 11px;
  font-weight: 800;
  flex-shrink: 0;
  letter-spacing: 0;
}

.process-step:hover .process-step-num {
  background: var(--primary);
  color: #fff;
}

.process-step-label {
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
  line-height: 1.2;
}

.process-step-sub {
  font-family: "Inter", sans-serif;
  font-size: 9px;
  color: var(--ink-4);
  font-weight: 600;
  letter-spacing: 0.5px;
  margin-top: 2px;
}

@media (max-width: 1320px) {
  .cert-verify {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    padding: 14px;
  }
  .cert-verify-text {
    display: flex;
    align-items: center;
    gap: 10px;
  }
  .cert-verify-icon {
    width: 36px;
    height: 36px;
  }
  .cert-verify-form {
    margin-left: 0;
    max-width: none;
  }
  .process {
    padding: 12px 14px;
  }
  .process-step-label {
    font-size: 11.5px;
  }
  .process-step-sub {
    display: none;
  }
  .process-step-num {
    width: 22px;
    height: 22px;
    font-size: 10px;
  }
}
@media (max-width: 1050px) {
  .process {
    display: none;
  }
  .cert-verify-form input {
    height: 38px;
    font-size: 12.5px;
  }
}
@media (max-width: 760px) {
  .mid-widgets {
    display: none;
  }
}
/* ============================================
   v3 OVERRIDES — packed 3-col, no English spam
   ============================================ */
/* Hide redundant English eyebrows from hero/mid/bottom */
.hero-num,
.hero-en,
.mid-title-en,
.bottom-eyebrow {
  display: none !important;
}

/* Hero title slightly smaller because stats now occupy top */
.col-left .hero-title {
  font-size: 40px;
}

@media (min-width: 1600px) {
  .col-left .hero-title {
    font-size: clamp(36px, 2.8vw, 52px);
  }
}
/* ===== MIDDLE COL — denser ===== */
.col-mid {
  padding: 24px 28px 22px;
  gap: 0;
}

.mid-widgets {
  margin: 0 0 18px;
}

.mid-head {
  margin-bottom: 14px;
}

.mid-titles {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.mid-title-kr {
  font-size: 22px;
}

.mid-title-sub {
  font-size: 12.5px;
  margin-top: 4px;
}

.tabs {
  margin-bottom: 0;
}

.tab {
  padding: 12px 0;
  font-size: 14px;
  margin-right: 24px;
}

.list {
  flex: none;
  margin-top: 6px;
  overflow: visible;
}

/* Empty placeholder rows must match real row height so the list block is a
   constant height regardless of post count. Real rows have padding:10px 0 and
   ~22px of content (font-size:14px, line-height:1.4) → natural height ~42px.
   Give every row a min-height equal to that so empty rows fill the same space.
   box-sizing:border-box ensures padding is included in the min-height calc. */
.list-row {
  padding: 10px 0;
}

/* Empty placeholder rows must match real row height exactly. Real rows render
   at ~42.75px (padding 10px top+bottom, 14px text at line-height 1.4, plus
   1px border-bottom). Use min-height to force the same box height on empty
   rows (which have no text content). border-bottom transparent preserves the
   1px border contribution without showing a line. */
.list-row.is-empty {
  padding: 10px 0;
  min-height: 42.75px;
  border-bottom: 1px solid transparent;
}

/* ===== Quake mini ===== */
.quake-mini {
  background: #0d1a33;
  color: #fff;
  border-radius: 10px;
  padding: 12px 14px 12px;
  margin: 16px 0 0;
  position: relative;
}

.quake-mini-head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  font-size: 12px;
}

.quake-mini-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #ff5252;
  box-shadow: 0 0 8px #ff5252;
  animation: pulse 1.6s infinite;
}

.quake-mini-title {
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #fff;
}

.quake-mini-src {
  font-family: "Inter", sans-serif;
  font-size: 9.5px;
  letter-spacing: 1px;
  color: rgba(255, 255, 255, 0.45);
  padding: 1px 6px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 100px;
  font-weight: 600;
}

.quake-mini-more {
  margin-left: auto;
  font-size: 11px;
  color: var(--accent);
  font-weight: 600;
  cursor: pointer;
}

.quake-mini-list {
  display: flex;
  flex-direction: column;
}

.quake-mini-row {
  display: grid;
  grid-template-columns: 44px 1fr auto;
  gap: 10px;
  align-items: center;
  padding: 6px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 12px;
}

.quake-mini-row:first-child {
  border-top: none;
}

.quake-mini-mag {
  font-family: "JetBrains Mono", monospace;
  font-weight: 700;
  font-size: 12px;
  text-align: center;
  padding: 3px 0;
  border-radius: 4px;
  letter-spacing: -0.02em;
}

.quake-mini-mag.low {
  background: rgba(94, 230, 154, 0.12);
  color: #5ee69a;
}

.quake-mini-mag.mid {
  background: rgba(255, 200, 87, 0.14);
  color: #ffc857;
}

.quake-mini-mag.high {
  background: rgba(255, 117, 117, 0.16);
  color: #ff7575;
}

.quake-mini-loc {
  color: rgba(255, 255, 255, 0.88);
  font-weight: 500;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  letter-spacing: -0.01em;
}

.quake-mini-when {
  font-family: "JetBrains Mono", monospace;
  font-size: 10.5px;
  color: rgba(255, 255, 255, 0.5);
}

/* ===== Process block — tighter, no top border ===== */
.process-block {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px dashed var(--line-strong);
}

.process-block .mid-head {
  margin-bottom: 10px;
}

.process-block .mid-title-kr {
  font-size: 16px;
}

.process-head {
  margin-bottom: 10px;
}

.process {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  align-items: center;
  gap: 0;
  padding: 12px 14px;
  background: var(--bg-sub);
  border: 1px solid var(--line);
  border-radius: 10px;
}

.process-step {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 4px 4px;
}

.process-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 6px;
  font-size: 10px;
  color: var(--ink-4);
  line-height: 1;
}

.process-step-num {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--primary-soft);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Inter", sans-serif;
  font-size: 10.5px;
  font-weight: 800;
  flex-shrink: 0;
}

.process-step-label {
  font-size: 12px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.02em;
}

/* ===== RIGHT COL — 4-stack ===== */
.col-right {
  padding: 22px 22px 22px;
  gap: 12px;
  display: grid;
  grid-template-rows: 4fr 6fr;
  min-height: 0;
}

.popup {
  height: auto;
  flex-shrink: 0;
}

/* Equipment — keep functional but slimmer */
.equip {
  min-height: 0;
}

/* ===== SNS row ===== */
.sns-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  flex-shrink: 0;
}

.sns-cell {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 10px 4px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  cursor: pointer;
  font-family: inherit;
  color: var(--ink-2);
  transition: all 0.15s;
  min-width: 0;
}

.sns-cell:hover {
  border-color: var(--primary);
  background: var(--primary);
  color: #fff;
  transform: translateY(-2px);
}

.sns-ic {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-soft);
  color: var(--primary);
  transition: all 0.15s;
}

.sns-cell:hover .sns-ic {
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
}

.sns-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

/* ===== BOTTOM QUICK BAR — single row 8 ===== */
.bottom-section {
  padding: 18px 36px 22px;
  gap: 12px;
}

.bottom-head {
  align-items: center;
}

.bottom-head-l {
  gap: 4px;
  flex-direction: column;
  align-items: flex-start;
}

.bottom-title {
  font-size: 16px;
}

.bottom-sub {
  font-size: 12px;
  color: var(--ink-3);
  letter-spacing: -0.01em;
}

.bottom-counter {
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  font-weight: 600;
  color: var(--ink-3);
  padding: 4px 10px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 100px;
}

.bottom-track {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 8px;
}

.qb {
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 14px 6px;
  text-align: center;
  background: #fff;
}

.qb-kr {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
  transition: color 0.15s;
}

.qb:hover .qb-kr {
  color: #fff;
}

.qb-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
}

/* Hide old qb-label internals & arrow (defensive) */
.qb .qb-label, .qb .qb-arr {
  display: none;
}

/* Hide bottom carousel controls completely */
.bottom-nav,
.bottom-dots,
.bottom-btns {
  display: none !important;
}

/* ===== RESPONSIVE ADJUSTMENTS ===== */
@media (max-width: 1320px) {
  .hero-stats {
    top: 18px;
    left: 24px;
    padding: 10px 4px;
  }
  .hero-stat {
    padding: 0 12px;
    min-width: 80px;
  }
  .hero-stat-value {
    font-size: 19px;
  }
  .hero-badges {
    top: 18px;
    right: 24px;
    padding: 6px 10px 6px 12px;
  }
  .hero-badges-label {
    font-size: 10px;
    padding-right: 6px;
  }
  .hero-badge {
    font-size: 9.5px;
    padding: 2px 6px;
  }
  .col-mid {
    padding: 22px 22px 18px;
  }
  .col-right {
    padding: 18px 16px;
    gap: 10px;
    grid-template-rows: 4fr 6fr;
  }
  .bottom-track {
    gap: 6px;
  }
  .qb {
    padding: 10px 4px;
  }
  .qb-kr {
    font-size: 11px;
  }
  .qb-icon {
    width: 32px;
    height: 32px;
  }
}
@media (max-width: 1180px) {
  .hero-stats {
    padding: 8px 2px;
    top: 14px;
    left: 18px;
  }
  .hero-stat {
    padding: 0 10px;
    min-width: 70px;
  }
  .hero-stat-value {
    font-size: 17px;
  }
  .hero-stat-label {
    font-size: 10px;
  }
  .hero-badges {
    top: 14px;
    right: 18px;
    padding: 5px 9px 5px 11px;
  }
  .hero-badges-label {
    font-size: 9.5px;
    padding-right: 5px;
  }
  .hero-badge {
    font-size: 9px;
    padding: 2px 5px;
  }
  .col-left .hero-title {
    font-size: 30px;
  }
  .bottom-track {
    grid-template-columns: repeat(6, 1fr);
  }
}
@media (max-width: 900px) {
  .hero-stats,
  .hero-badges {
    display: none;
  }
}
@media (max-width: 1050px) {
  .bottom-track {
    grid-template-columns: repeat(4, 1fr);
  }
  .col-right {
    grid-template-rows: auto auto;
  }
  .quake-mini {
    display: none;
  }
  /* Stacked layout: padding is slightly smaller, min-height matches natural
     stacked row height (9px+9px padding + ~22px content = ~40px). */
  .list-row {
    padding: 9px 0;
  }
  .list-row.is-empty {
    padding: 9px 0;
    min-height: 40.8px;
    border-bottom: 1px solid transparent;
  }
}
@media (max-width: 760px) {
  .bottom-track {
    grid-template-columns: repeat(3, 1fr);
  }
  .bottom-section {
    padding: 14px 16px;
  }
}
/* ============================================================
   v3 — MAX-WIDTH CONTAINER (1520px) + MARGIN TREATMENTS
   Activated via <body data-margin="...">
   modes: off (default fullbleed) / neutral / seismo / topo / grid
   ============================================================ */
/* ---- Container cap: applies whenever data-margin is set and != off ----
   Strategy:
   - .util, .hdr, .site-footer stay FULL-BLEED (background extends edge-to-edge)
   - Their INNER content is centered to 1520px via padding-inline max() trick
   - .main and .bottom-section are themselves capped to 1520px
*/
body[data-margin=neutral],
body[data-margin=seismo],
body[data-margin=topo],
body[data-margin=grid] {
  background-color: var(--margin-bg, #fff);
  background-attachment: fixed;
}

/* Main 3-col content + Quick bar: capped block */
body[data-margin=neutral] .main,
body[data-margin=seismo] .main,
body[data-margin=topo] .main,
body[data-margin=grid] .main,
body[data-margin=neutral] .bottom-section,
body[data-margin=seismo] .bottom-section,
body[data-margin=topo] .bottom-section,
body[data-margin=grid] .bottom-section {
  max-width: 1520px;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
  position: relative;
}

/* Util bar + Header: full-bleed bg, but inner content centered via padding-inline */
body[data-margin=neutral] .util,
body[data-margin=seismo] .util,
body[data-margin=topo] .util,
body[data-margin=grid] .util,
body[data-margin=neutral] .hdr,
body[data-margin=seismo] .hdr,
body[data-margin=topo] .hdr,
body[data-margin=grid] .hdr {
  padding-left: max(36px, calc((100% - 1520px) / 2 + 36px));
  padding-right: max(36px, calc((100% - 1520px) / 2 + 36px));
}

/* Footer-inner / footer-bottom already use auto-margins; just tighten their cap to 1520 */
body[data-margin=neutral] .footer-inner,
body[data-margin=seismo] .footer-inner,
body[data-margin=topo] .footer-inner,
body[data-margin=grid] .footer-inner,
body[data-margin=neutral] .footer-bottom,
body[data-margin=seismo] .footer-bottom,
body[data-margin=topo] .footer-bottom,
body[data-margin=grid] .footer-bottom {
  max-width: 1520px;
}

/* ---- Breathing room between sections ----
   Header → Main, Main → Quick Bar, Quick Bar → Footer
   All these gaps reveal the margin background (#eef1f6 etc.)  */
body[data-margin=neutral] .main,
body[data-margin=seismo] .main,
body[data-margin=topo] .main,
body[data-margin=grid] .main {
  margin-top: 20px;
}

body[data-margin=neutral] .bottom-section,
body[data-margin=seismo] .bottom-section,
body[data-margin=topo] .bottom-section,
body[data-margin=grid] .bottom-section {
  margin-top: 20px;
  margin-bottom: 20px;
}

/* On small screens drop the gaps so the page packs cleanly */
@media (max-width: 1050px) {
  body[data-margin=neutral] .main,
  body[data-margin=seismo] .main,
  body[data-margin=topo] .main,
  body[data-margin=grid] .main,
  body[data-margin=neutral] .bottom-section,
  body[data-margin=seismo] .bottom-section,
  body[data-margin=topo] .bottom-section,
  body[data-margin=grid] .bottom-section {
    margin-top: 0;
    margin-bottom: 0;
  }
}
/* Mega menu inner grid: align with capped content */
body[data-margin=neutral] .mega-grid,
body[data-margin=seismo] .mega-grid,
body[data-margin=topo] .mega-grid,
body[data-margin=grid] .mega-grid,
body[data-margin=neutral] .mega-footer-inner,
body[data-margin=seismo] .mega-footer-inner,
body[data-margin=topo] .mega-footer-inner,
body[data-margin=grid] .mega-footer-inner {
  max-width: 1520px;
}

/* Override the legacy 2400px cap on .main — let the new rules handle it */
@media (min-width: 2400px) {
  body[data-margin=neutral],
  body[data-margin=seismo],
  body[data-margin=topo],
  body[data-margin=grid] {
    background: var(--margin-bg, #fff) !important;
  }
  body[data-margin=neutral] .main,
  body[data-margin=seismo] .main,
  body[data-margin=topo] .main,
  body[data-margin=grid] .main {
    border-left: none;
    border-right: none;
  }
}
/* Subtle vertical edge line where the capped block meets the margin */
@media (min-width: 1640px) {
  body[data-margin=neutral] .main,
  body[data-margin=seismo] .main,
  body[data-margin=topo] .main,
  body[data-margin=grid] .main,
  body[data-margin=neutral] .bottom-section,
  body[data-margin=seismo] .bottom-section,
  body[data-margin=topo] .bottom-section,
  body[data-margin=grid] .bottom-section {
    box-shadow: -1px 0 0 var(--container-edge, transparent), 1px 0 0 var(--container-edge, transparent);
  }
}
/* ---------- 1) NEUTRAL — quiet tonal background ---------- */
body[data-margin=neutral] {
  --margin-bg: #eef1f6;
  --container-edge: rgba(13, 26, 51, 0.08);
}

/* ---------- 2) SEISMO — horizontal seismograph trace ---------- */
body[data-margin=seismo] {
  --margin-bg: #f4f6fb;
  --container-edge: rgba(13, 26, 51, 0.07);
  /* Tile: 280×64. A baseline + tick marks + one wave/spike, repeats vertically */
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='280' height='64' viewBox='0 0 280 64'><g stroke='%230a1730' stroke-width='1' fill='none'><line x1='0' y1='32' x2='280' y2='32' stroke-opacity='0.05'/><g stroke-opacity='0.09'><line x1='20' y1='30' x2='20' y2='34'/><line x1='60' y1='30' x2='60' y2='34'/><line x1='100' y1='30' x2='100' y2='34'/><line x1='140' y1='30' x2='140' y2='34'/><line x1='180' y1='30' x2='180' y2='34'/><line x1='220' y1='30' x2='220' y2='34'/><line x1='260' y1='30' x2='260' y2='34'/></g><path d='M 0 32 L 40 32 Q 50 30 60 32 T 88 32 Q 92 24 96 40 Q 100 50 104 18 Q 108 6 112 44 Q 116 28 120 32 L 160 32 Q 168 30 176 34 T 200 32 Q 208 26 216 36 T 240 32 L 280 32' stroke='%230b3d91' stroke-opacity='0.13' stroke-width='1'/></g></svg>");
  background-repeat: repeat;
}

/* ---------- 3) TOPO — contour lines (geological) ---------- */
body[data-margin=topo] {
  --margin-bg: #f1f4f9;
  --container-edge: rgba(13, 26, 51, 0.08);
  /* Tile: 320×280. Wavy horizontal contours, varying spacing */
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='320' height='280' viewBox='0 0 320 280'><g stroke='%230a1730' stroke-width='1' fill='none' stroke-opacity='0.08'><path d='M -20 40 Q 80 24 160 44 T 340 36'/><path d='M -20 72 Q 80 60 160 80 T 340 70'/><path d='M -20 108 Q 80 96 160 116 T 340 104'/><path d='M -20 148 Q 80 132 160 156 T 340 146'/><path d='M -20 192 Q 80 176 160 204 T 340 190'/><path d='M -20 236 Q 80 218 160 244 T 340 232'/><path d='M -20 272 Q 80 254 160 282 T 340 270'/></g><g stroke='%230a1730' stroke-width='1' fill='none' stroke-opacity='0.04'><path d='M -20 56 Q 80 42 160 60 T 340 52'/><path d='M -20 90 Q 80 76 160 98 T 340 86'/><path d='M -20 128 Q 80 114 160 136 T 340 124'/><path d='M -20 170 Q 80 154 160 178 T 340 168'/><path d='M -20 214 Q 80 196 160 224 T 340 210'/><path d='M -20 254 Q 80 236 160 264 T 340 250'/></g></svg>");
  background-repeat: repeat;
}

/* ---------- 4) GRID — engineering blueprint grid ---------- */
body[data-margin=grid] {
  --margin-bg: #f4f6fa;
  --container-edge: rgba(13, 26, 51, 0.1);
  /* Tile: 40×40. Thin grid lines, + marker at corners */
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='40' height='40' viewBox='0 0 40 40'><g stroke='%230a1730' stroke-width='1' fill='none'><line x1='40' y1='0' x2='40' y2='40' stroke-opacity='0.06'/><line x1='0' y1='40' x2='40' y2='40' stroke-opacity='0.06'/><g stroke-opacity='0.22'><line x1='37' y1='40' x2='43' y2='40'/><line x1='40' y1='37' x2='40' y2='43'/></g></g></svg>");
  background-repeat: repeat;
}

/* Grid mode: tiny corner labels in the margin (only on wide viewports) */
body[data-margin=grid]::before,
body[data-margin=grid]::after {
  content: "MAX 1520 · 16:9 GRID 40px";
  position: fixed;
  top: 50%;
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  letter-spacing: 1.5px;
  color: rgba(13, 26, 51, 0.32);
  font-weight: 600;
  white-space: nowrap;
  transform: rotate(-90deg) translateX(50%);
  transform-origin: right center;
  pointer-events: none;
  z-index: 0;
  opacity: 0;
  transition: opacity 0.3s;
}

body[data-margin=grid]::before {
  left: 24px;
  transform: rotate(-90deg);
  transform-origin: left center;
}

body[data-margin=grid]::after {
  right: 24px;
  transform: rotate(90deg);
  transform-origin: right center;
}

@media (min-width: 1700px) {
  body[data-margin=grid]::before,
  body[data-margin=grid]::after {
    opacity: 1;
  }
}
/* Seismo mode: a tiny live ticker label in the left margin */
body[data-margin=seismo]::before {
  content: "▌ SEISMOGRAPH · CONTINUOUS RECORDING";
  position: fixed;
  top: 50%;
  left: 18px;
  transform: rotate(-90deg) translate(50%, 0);
  transform-origin: left center;
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  letter-spacing: 2px;
  color: rgba(11, 61, 145, 0.35);
  font-weight: 700;
  white-space: nowrap;
  pointer-events: none;
  z-index: 0;
  opacity: 0;
  transition: opacity 0.3s;
}

@media (min-width: 1700px) {
  body[data-margin=seismo]::before {
    opacity: 1;
  }
}
/* Topo mode: contour elevation label */
body[data-margin=topo]::before {
  content: "ELEV · CONTOUR INTERVAL 4m";
  position: fixed;
  top: 50%;
  left: 18px;
  transform: rotate(-90deg) translate(50%, 0);
  transform-origin: left center;
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  letter-spacing: 2px;
  color: rgba(13, 26, 51, 0.3);
  font-weight: 600;
  white-space: nowrap;
  pointer-events: none;
  z-index: 0;
  opacity: 0;
  transition: opacity 0.3s;
}

@media (min-width: 1700px) {
  body[data-margin=topo]::before {
    opacity: 1;
  }
}
/* ── Drawer ─────────────────────────────────────────── */
.drawer-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 1100;
}

.drawer-overlay.open {
  display: block;
}

.drawer {
  position: fixed;
  top: 0;
  left: 0;
  width: 280px;
  max-width: 90vw;
  height: 100dvh;
  background: #fff;
  z-index: 1200;
  display: flex;
  flex-direction: column;
  transform: translateX(-100%);
  transition: transform 0.28s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
}

.drawer.open {
  transform: translateX(0);
}

.drawer-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 18px;
  border-bottom: 1px solid #e5e7eb;
  flex-shrink: 0;
}

.drawer-close {
  margin-left: auto;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  color: #374151;
  display: flex;
  align-items: center;
  justify-content: center;
}

.drawer-body {
  flex: 1;
  overflow-y: auto;
  padding: 8px 0;
}

.drawer-section {
  border-bottom: 1px solid #f3f4f6;
}

.drawer-section-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 18px;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  color: #111827;
  text-align: left;
}

.drawer-section-btn .drawer-chevron {
  transition: transform 0.2s;
  flex-shrink: 0;
}

.drawer-section-btn.open .drawer-chevron {
  transform: rotate(180deg);
}

.drawer-sub {
  padding: 4px 0 10px 18px;
  list-style: none;
  margin: 0;
}

.drawer-sub li a {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 9px 10px;
  font-size: 13px;
  color: #374151;
  text-decoration: none;
  border-radius: 6px;
}

.drawer-sub li a:hover {
  background: #f3f4f6;
  color: #1e40af;
}

.drawer-foot {
  display: flex;
  gap: 8px;
  padding: 14px 18px;
  border-top: 1px solid #e5e7eb;
  flex-shrink: 0;
}

.drawer-foot-btn {
  flex: 1;
  text-align: center;
  padding: 10px 0;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 500;
  color: #374151;
  text-decoration: none;
  background: none;
  cursor: pointer;
}

.drawer-foot-btn:hover {
  background: #f3f4f6;
}
