@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=JetBrains+Mono:wght@500;600;700&display=swap');

/* ═══════════════════════════════════════
   KIT: Dashboard — Data Console (AG TIME)
   Inter 산세리프 · 조밀한 데이터 타일 · 작은 라벨(대문자) · 얇은 보더 · 탭 숫자
   레퍼런스: linear.app / vercel (dark minimal) + timeanddate / epochconverter (기능)
   ※ 색은 _tokens.css(data-theme=slate/daylight)가 관장.
═══════════════════════════════════════ */
:root {
  --bd: 1px;
  --r-1: 8px; --r-2: 10px; --r-3: 12px; --r-4: 14px; --r-5: 16px;
  --sh-1: 0 1px 2px rgba(2,6,23,.06);
  --sh-2: 0 4px 16px rgba(2,6,23,.10);
  --sh-3: 0 12px 34px rgba(2,6,23,.18);
  --ease: cubic-bezier(.4,0,.2,1);
  --ease-out: cubic-bezier(.16,1,.3,1);
  --t1: 140ms; --t2: 260ms;
  --mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  --wrap: 1080px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Pretendard, sans-serif;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  color: var(--text); min-height: 100vh;
  display: flex; flex-direction: column; align-items: center;
  padding: 0 20px 80px; overflow-x: hidden;
  background:
    radial-gradient(1100px 520px at 88% -8%, color-mix(in srgb, var(--primary) 12%, transparent), transparent 60%),
    radial-gradient(900px 460px at 4% 4%, color-mix(in srgb, var(--accent) 8%, transparent), transparent 55%),
    var(--bg);
  background-attachment: fixed;
}

/* ─── HEADER (dashboard topbar) ─── */
.site-header {
  position: sticky; top: 0; z-index: 50; width: 100vw;
  border-bottom: var(--bd) solid var(--border);
  background: color-mix(in srgb, var(--surface) 82%, transparent);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  margin-bottom: 8px;
}
.site-header__inner {
  max-width: var(--wrap); margin: 0 auto; height: 60px; padding: 0 20px;
  display: flex; align-items: center; justify-content: space-between;
}
.site-header__logo { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; }
.logo-badge {
  width: 38px; height: 38px; display: inline-flex; align-items: center; justify-content: center;
  border-radius: var(--r-2); color: #fff; background: var(--grad);
  box-shadow: 0 4px 14px var(--primary-glow);
}
.logo-badge svg { width: 20px; height: 20px; }
.logo-text { display: inline-flex; flex-direction: column; line-height: 1.1; gap: 1px; }
.logo-main { font-size: 1.02rem; font-weight: 800; letter-spacing: -0.02em; color: var(--text-strong); }
.logo-main .accent { color: var(--primary); }
.logo-sub { font-size: 0.56rem; font-weight: 700; letter-spacing: 0.22em; color: var(--text-3); }
.site-header__nav { display: flex; align-items: center; gap: 4px; }
.site-header__nav a {
  font-size: 0.82rem; font-weight: 600; color: var(--text-2); text-decoration: none;
  padding: 8px 12px; border-radius: var(--r-1); transition: all var(--t1) var(--ease);
}
.site-header__nav a:hover { color: var(--primary); background: var(--surface-2); }
.theme-btn {
  display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px;
  margin-left: 4px; border-radius: var(--r-1); border: var(--bd) solid var(--border);
  background: var(--surface-2); color: var(--text-2); cursor: pointer; transition: all var(--t1) var(--ease);
}
.theme-btn:hover { color: var(--primary); border-color: var(--primary); }
.theme-btn svg { width: 17px; height: 17px; }
.lang-select {
  font-family: inherit; font-size: 0.8rem; font-weight: 600; color: var(--text-2);
  background: var(--surface-2); border: var(--bd) solid var(--border); border-radius: var(--r-1);
  padding: 8px 10px; margin-left: 4px; cursor: pointer; outline: none; transition: all var(--t1) var(--ease);
}
.lang-select:hover { color: var(--primary); border-color: var(--primary); }
.lang-select:focus { border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-alpha); }
@media (max-width: 620px) {
  .site-header__nav a { display: none; }
  .lang-select { font-size: 0.74rem; padding: 6px 8px; }
}

/* ─── HERO (compact) ─── */
.hero { width: 100%; max-width: var(--wrap); margin: 34px auto 6px; text-align: left; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 7px; font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase; color: var(--primary);
  background: var(--primary-tint); border: var(--bd) solid var(--primary-alpha);
  padding: 5px 11px; border-radius: 999px; margin-bottom: 16px;
}
.eyebrow svg { width: 13px; height: 13px; }
.hero h1 {
  font-size: clamp(1.9rem, 5vw, 2.85rem); font-weight: 800; color: var(--text-strong);
  letter-spacing: -0.03em; line-height: 1.1; margin-bottom: 14px;
}
.hero h1 .grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p { font-size: 0.98rem; color: var(--text-2); line-height: 1.65; max-width: 640px; word-break: keep-all; }

.tool-container { width: 100%; max-width: var(--wrap); margin: 0 auto; display: flex; flex-direction: column; }

/* ─── 섹션 라벨 ─── */
.sect-label {
  display: flex; align-items: center; gap: 9px; margin: 30px 0 14px;
  font-size: 0.74rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-3);
}
.sect-label svg { width: 15px; height: 15px; color: var(--primary); }
.sect-label .line { flex: 1; height: 1px; background: var(--border); }

/* ─── 세계시계 스트립 ─── */
.wclock-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 12px;
}
.wclock {
  background: var(--surface); border: var(--bd) solid var(--border); border-radius: var(--r-3);
  padding: 14px 16px; box-shadow: var(--sh-1); position: relative; overflow: hidden;
  transition: transform var(--t2) var(--ease-out), border-color var(--t1) var(--ease);
}
.wclock:hover { transform: translateY(-2px); border-color: var(--primary); }
.wclock .wc-city { font-size: 0.82rem; font-weight: 700; color: var(--text-strong); }
.wclock .wc-off { font-size: 0.64rem; font-weight: 700; color: var(--text-3); letter-spacing: 0.04em; }
.wclock .wc-time { font-family: var(--mono); font-size: 1.5rem; font-weight: 700; color: var(--primary); letter-spacing: -0.02em; margin-top: 8px; font-variant-numeric: tabular-nums; }
.wclock .wc-date { font-size: 0.72rem; color: var(--text-2); margin-top: 2px; }

/* ─── 현재 에폭 스탯 ─── */
.epoch-stat {
  background: var(--surface); border: var(--bd) solid var(--border); border-radius: var(--r-4);
  box-shadow: var(--sh-2); padding: 20px 22px; margin: 12px 0 6px;
  display: grid; grid-template-columns: 1fr auto; gap: 8px 18px; align-items: center;
}
.epoch-stat .es-label {
  grid-column: 1 / -1; display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-3);
}
.epoch-stat .es-label .pulse { width: 7px; height: 7px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 8px var(--ok); animation: pulse 1.4s var(--ease) infinite; }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: .25; } }
.epoch-stat .es-value { font-family: var(--mono); font-size: clamp(1.8rem, 6vw, 2.6rem); font-weight: 700; color: var(--primary); letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.epoch-stat .es-unit { font-size: 0.86rem; font-weight: 600; color: var(--text-2); }
.icon-btn {
  display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px;
  border-radius: var(--r-1); background: var(--surface-2); border: var(--bd) solid var(--border);
  color: var(--text-2); cursor: pointer; transition: all var(--t1) var(--ease);
}
.icon-btn:hover { color: var(--primary); border-color: var(--primary); }
.icon-btn.done { color: var(--ok); border-color: var(--ok-border); }
.icon-btn svg { width: 17px; height: 17px; }
.epoch-subs { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px,1fr)); gap: 8px; margin-top: 6px; padding-top: 14px; border-top: var(--bd) solid var(--border); }
.epoch-sub { display: flex; align-items: center; gap: 9px; }
.epoch-sub .k { flex: 0 0 auto; min-width: 78px; font-size: 0.66rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: var(--text-3); }
.epoch-sub .v { flex: 1; min-width: 0; font-family: var(--mono); font-size: 0.82rem; color: var(--text-strong); word-break: break-all; font-variant-numeric: tabular-nums; }
.mini-copy { flex: 0 0 auto; width: 28px; height: 28px; display: inline-flex; align-items: center; justify-content: center; border-radius: 7px; background: transparent; border: var(--bd) solid transparent; color: var(--text-3); cursor: pointer; transition: all var(--t1) var(--ease); }
.mini-copy:hover { color: var(--primary); border-color: var(--border-2); background: var(--surface-2); }
.mini-copy.done { color: var(--ok); }
.mini-copy svg { width: 14px; height: 14px; }

/* ─── 변환 그리드 (2패널) ─── */
.conv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 6px; }
@media (max-width: 780px) { .conv-grid { grid-template-columns: 1fr; } }
.panel {
  background: var(--surface); border: var(--bd) solid var(--border); border-radius: var(--r-4);
  box-shadow: var(--sh-1); overflow: hidden; display: flex; flex-direction: column;
}
.panel__head { display: flex; align-items: center; gap: 10px; padding: 15px 18px; border-bottom: var(--bd) solid var(--border); }
.panel__head .ci { width: 32px; height: 32px; display: inline-flex; align-items: center; justify-content: center; border-radius: var(--r-1); background: var(--primary-tint); color: var(--primary); }
.panel__head .ci svg { width: 17px; height: 17px; }
.panel__head h2 { font-size: 0.92rem; font-weight: 700; color: var(--text-strong); }
.panel__head h2 small { display: block; font-size: 0.66rem; font-weight: 500; color: var(--text-3); margin-top: 1px; }
.panel__body { padding: 18px; display: flex; flex-direction: column; }

.field { margin-bottom: 13px; }
.field-label { display: block; font-size: 0.68rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; color: var(--text-3); margin-bottom: 8px; }
.field-controls { display: flex; gap: 9px; flex-wrap: wrap; }
.ts-input {
  flex: 1 1 170px; min-width: 0; padding: 13px 15px; font-family: var(--mono); font-size: 1.02rem; font-weight: 700;
  background: var(--surface-2); border: var(--bd) solid var(--border-2); border-radius: var(--r-1);
  color: var(--text-strong); outline: none; font-variant-numeric: tabular-nums; transition: all var(--t1) var(--ease); -moz-appearance: textfield;
}
.ts-input::-webkit-outer-spin-button, .ts-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.ts-input::placeholder { color: var(--text-3); font-weight: 400; }
.ts-input:focus { border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-alpha); }
.ts-input.dt { font-family: inherit; font-size: 0.94rem; }
.sel-wrap { position: relative; flex: 0 0 auto; }
.sel-wrap::after { content: '▾'; position: absolute; right: 11px; top: 50%; transform: translateY(-50%); color: var(--text-3); font-size: 0.75rem; pointer-events: none; }
.ts-select {
  height: 100%; min-height: 47px; padding: 0 30px 0 13px; font-family: inherit; font-size: 0.82rem; font-weight: 600;
  color: var(--text-strong); background: var(--surface-2); border: var(--bd) solid var(--border-2); border-radius: var(--r-1);
  outline: none; cursor: pointer; appearance: none; -webkit-appearance: none; -moz-appearance: none; transition: all var(--t1) var(--ease); max-width: 100%;
}
.ts-select:focus { border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-alpha); }
.mini-actions { display: flex; gap: 7px; flex-wrap: wrap; margin: 2px 0 6px; }
.mini-btn { display: inline-flex; align-items: center; gap: 5px; padding: 7px 11px; border-radius: var(--r-1); font-family: inherit; font-size: 0.74rem; font-weight: 700; color: var(--text-2); background: var(--surface-2); border: var(--bd) solid var(--border-2); cursor: pointer; transition: all var(--t1) var(--ease); }
.mini-btn:hover { color: var(--primary); border-color: var(--primary); }
.mini-btn svg { width: 13px; height: 13px; }
.ex-chips { display: flex; gap: 7px; flex-wrap: wrap; margin: 2px 0; }
.ex-chip { padding: 6px 10px; border-radius: 999px; font-family: var(--mono); font-size: 0.72rem; font-weight: 600; color: var(--text-2); background: var(--surface-2); border: var(--bd) solid var(--border-2); cursor: pointer; transition: all var(--t1) var(--ease); }
.ex-chip:hover { color: var(--primary); border-color: var(--primary); }

/* 결과 리스트 */
.fmt-list { margin-top: 8px; }
.fmt-row { display: flex; align-items: center; gap: 10px; padding: 10px 0; border-bottom: var(--bd) solid var(--border-soft); }
.fmt-row:last-child { border-bottom: none; }
.fmt-k { flex: 0 0 auto; min-width: 96px; font-size: 0.64rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: var(--text-3); }
.fmt-v { flex: 1; min-width: 0; font-family: var(--mono); font-size: 0.85rem; font-weight: 600; color: var(--text-strong); word-break: break-all; font-variant-numeric: tabular-nums; }
.fmt-v.accent { color: var(--primary); }
.fmt-v.muted { color: var(--text-3); font-weight: 400; font-style: italic; font-family: inherit; }
.fmt-copy { flex: 0 0 auto; width: 30px; height: 30px; display: inline-flex; align-items: center; justify-content: center; border-radius: 7px; background: transparent; border: var(--bd) solid transparent; color: var(--text-3); cursor: pointer; transition: all var(--t1) var(--ease); }
.fmt-copy:hover { color: var(--primary); border-color: var(--border-2); background: var(--surface-2); }
.fmt-copy.done { color: var(--ok); border-color: var(--ok-border); }
.fmt-copy svg { width: 14px; height: 14px; }
.conv-err { font-size: 0.8rem; color: var(--err); font-weight: 600; padding: 8px 0 2px; display: none; }
.conv-err.show { display: block; }
.conv-err::before { content: '⚠ '; }

/* ─── 허브 카드 (탐색) ─── */
.hub-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px,1fr)); gap: 14px; }
.hub-card {
  display: flex; flex-direction: column; gap: 8px; padding: 20px; text-decoration: none;
  background: var(--surface); border: var(--bd) solid var(--border); border-radius: var(--r-3);
  box-shadow: var(--sh-1); transition: transform var(--t2) var(--ease-out), border-color var(--t1) var(--ease), box-shadow var(--t2) var(--ease-out);
}
.hub-card:hover { transform: translateY(-3px); border-color: var(--primary); box-shadow: var(--sh-2); }
.hub-card .hc-icon { width: 42px; height: 42px; display: inline-flex; align-items: center; justify-content: center; border-radius: var(--r-2); background: var(--primary-tint); color: var(--primary); }
.hub-card .hc-icon svg { width: 21px; height: 21px; }
.hub-card h3 { font-size: 1rem; font-weight: 700; color: var(--text-strong); }
.hub-card p { font-size: 0.82rem; color: var(--text-3); line-height: 1.55; word-break: keep-all; }
.hub-card .hc-go { margin-top: auto; padding-top: 8px; display: inline-flex; align-items: center; gap: 5px; font-size: 0.78rem; font-weight: 700; color: var(--primary); }
.hub-card .hc-go svg { width: 15px; height: 15px; transition: transform var(--t1) var(--ease); }
.hub-card:hover .hc-go svg { transform: translateX(3px); }

/* ─── 타임존 디렉터리 (표형 그리드) ─── */
.tz-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px,1fr)); gap: 10px; }
.tz-item {
  display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 13px 15px;
  background: var(--surface); border: var(--bd) solid var(--border); border-radius: var(--r-2);
  text-decoration: none; transition: all var(--t1) var(--ease);
}
.tz-item:hover { border-color: var(--primary); background: var(--primary-tint); }
.tz-item .tzi-l { min-width: 0; }
.tz-item .tzi-city { font-size: 0.88rem; font-weight: 700; color: var(--text-strong); }
.tz-item .tzi-zone { font-size: 0.68rem; color: var(--text-3); font-family: var(--mono); }
.tz-item .tzi-time { font-family: var(--mono); font-size: 1rem; font-weight: 700; color: var(--primary); font-variant-numeric: tabular-nums; text-align: right; }
.tz-item .tzi-off { font-size: 0.62rem; color: var(--text-3); text-align: right; }

/* ─── TZ 상세 페이지 클럭 ─── */
.tz-hero { width: 100%; max-width: 720px; margin: 8px auto 0; text-align: center; }
.tz-hero .big-clock { font-family: var(--mono); font-size: clamp(2.6rem, 12vw, 4.6rem); font-weight: 700; color: var(--primary); letter-spacing: -0.03em; line-height: 1; font-variant-numeric: tabular-nums; }
.tz-hero .big-date { font-size: 1rem; color: var(--text-2); margin-top: 12px; }
.tz-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px,1fr)); gap: 12px; width: 100%; max-width: 720px; margin: 26px auto 0; }
.stat-tile { background: var(--surface); border: var(--bd) solid var(--border); border-radius: var(--r-3); padding: 16px; box-shadow: var(--sh-1); }
.stat-tile .st-k { font-size: 0.64rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; color: var(--text-3); }
.stat-tile .st-v { font-family: var(--mono); font-size: 1.2rem; font-weight: 700; color: var(--text-strong); margin-top: 6px; font-variant-numeric: tabular-nums; }

/* ─── 아티클(가이드) ─── */
.article { width: 100%; max-width: 720px; margin: 0 auto; }
.article h2 { font-size: 1.25rem; font-weight: 800; color: var(--text-strong); letter-spacing: -0.01em; margin: 28px 0 12px; }
.article h3 { font-size: 1.02rem; font-weight: 700; color: var(--text-strong); margin: 22px 0 10px; }
.article p { font-size: 0.95rem; color: var(--text); line-height: 1.85; margin-bottom: 14px; word-break: keep-all; }
.article ul { margin: 0 0 16px 20px; }
.article li { font-size: 0.94rem; color: var(--text); line-height: 1.8; margin-bottom: 6px; }
.article code { font-family: var(--mono); font-size: 0.85rem; color: var(--primary); background: var(--surface-2); padding: 2px 6px; border-radius: 6px; }
.article table { width: 100%; border-collapse: collapse; margin: 4px 0 18px; font-size: 0.86rem; display: block; overflow-x: auto; }
.article thead th { text-align: left; font-size: 0.66rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: var(--text-3); padding: 10px 12px; border-bottom: var(--bd) solid var(--border-2); white-space: nowrap; }
.article tbody td { padding: 10px 12px; border-bottom: var(--bd) solid var(--border-soft); color: var(--text); vertical-align: top; }
.article tbody tr:last-child td { border-bottom: none; }
.article tbody td:first-child { white-space: nowrap; }
.article pre { background: var(--surface-2); border: var(--bd) solid var(--border); border-radius: var(--r-2); padding: 14px 16px; margin: 0 0 16px; overflow-x: auto; }
.article pre code { background: none; padding: 0; color: var(--text-strong); font-size: 0.82rem; line-height: 1.7; }
.article .cta {
  display: inline-flex; align-items: center; gap: 7px; margin-top: 8px; padding: 12px 20px;
  font-size: 0.88rem; font-weight: 700; color: #fff; background: var(--grad); border-radius: var(--r-1);
  text-decoration: none; box-shadow: 0 6px 18px var(--primary-glow);
}
.article .cta svg { width: 16px; height: 16px; }

/* ─── 정보 카드 / FAQ ─── */
.info-block { width: 100%; max-width: var(--wrap); margin: 30px auto 0; }
.block-title, .faq-title { font-size: 1.15rem; font-weight: 800; color: var(--text-strong); letter-spacing: -0.01em; margin-bottom: 14px; }
.info-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 620px) { .info-grid { grid-template-columns: 1fr; } }
.info-item { background: var(--surface); border: var(--bd) solid var(--border); border-radius: var(--r-3); padding: 18px; box-shadow: var(--sh-1); }
.info-item h4 { font-size: 0.94rem; font-weight: 700; color: var(--text-strong); margin-bottom: 7px; }
.info-item h4.faq-q { color: var(--primary); }
.info-item p { font-size: 0.85rem; color: var(--text-2); line-height: 1.7; word-break: keep-all; }
.info-item code { font-family: var(--mono); font-size: 0.8rem; color: var(--primary); background: var(--surface-2); padding: 1px 5px; border-radius: 5px; }

/* ─── TRUST BAR ─── */
.trust-bar { width: 100%; max-width: var(--wrap); margin: 34px auto 0; padding-top: 24px; border-top: var(--bd) solid var(--border); display: flex; flex-wrap: wrap; gap: 14px 32px; }
.trust-item { display: inline-flex; align-items: center; gap: 8px; font-size: 0.84rem; font-weight: 500; color: var(--text-3); }
.trust-item svg { width: 16px; height: 16px; color: var(--primary); }

/* ─── PAGE (about/contact/hub 헤더) ─── */
.title-bar { width: 100%; max-width: var(--wrap); margin: 0 auto; display: flex; align-items: center; justify-content: space-between; padding: 22px 0 4px; gap: 10px; flex-wrap: wrap; }
.crumb { display: inline-flex; align-items: center; gap: 6px; font-size: 0.8rem; color: var(--text-3); }
.crumb a { color: var(--text-2); text-decoration: none; }
.crumb a:hover { color: var(--primary); }
.title-bar__cat { font-size: 0.64rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--primary); background: var(--primary-tint); border: var(--bd) solid var(--primary-alpha); padding: 5px 11px; border-radius: 999px; }
.page-container { width: 100%; max-width: var(--wrap); margin: 0 auto; display: flex; flex-direction: column; }
.page-header { text-align: left; margin: 14px 0 20px; }
.page-title { font-size: clamp(1.5rem,4vw,2rem); font-weight: 800; color: var(--text-strong); letter-spacing: -0.02em; margin-bottom: 8px; }
.page-sub { font-size: 0.9rem; color: var(--text-2); max-width: 640px; }
.calc-note { font-size: 0.94rem; color: var(--text); line-height: 1.85; background: var(--surface); border: var(--bd) solid var(--border); border-radius: var(--r-3); padding: 20px 22px; margin-bottom: 16px; box-shadow: var(--sh-1); word-break: keep-all; }
.calc-note b { color: var(--text-strong); font-weight: 700; }
.calc-note code { font-family: var(--mono); font-size: 0.84rem; color: var(--primary); background: var(--surface-2); padding: 1px 5px; border-radius: 5px; }

/* ─── AD ─── */
/* 사이즈별 행 분리: .ad-grid=행 세로 스택, .ad-row=같은 사이즈끼리 한 줄(컨테이너 폭이 개수 제한).
   728×90→1개/행, 250×250→2개/행, 320×50→2개/행(4개=2×2). 래퍼에 border-radius/overflow 금지. */
.ad-grid { display: flex; flex-direction: column; align-items: center; gap: 14px; margin: 34px auto 0; width: 100%; }
.ad-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; width: 100%; }
.ad-cell { min-height: 50px; }

/* ─── FOOTER ─── */
.site-footer { width: 100%; max-width: var(--wrap); margin: 40px auto 0; padding: 26px 4px; border-top: var(--bd) solid var(--border); }
.footer-cols { display: flex; flex-wrap: wrap; gap: 26px 46px; margin-bottom: 18px; }
.footer-col h5 { font-size: 0.68rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-3); margin-bottom: 10px; }
.footer-col a { display: block; color: var(--text-2); font-size: 0.84rem; text-decoration: none; padding: 3px 0; transition: color var(--t1) var(--ease); }
.footer-col a:hover { color: var(--primary); }
.footer-base { font-size: 0.78rem; color: var(--text-3); }

/* ─── 토스트 ─── */
.toast { position: fixed; left: 50%; bottom: 28px; transform: translateX(-50%) translateY(20px); background: var(--surface); color: var(--text-strong); border: var(--bd) solid var(--primary); box-shadow: var(--sh-3); padding: 11px 20px; border-radius: var(--r-1); font-size: 0.85rem; font-weight: 700; opacity: 0; pointer-events: none; transition: all 0.25s var(--ease-out); z-index: 100; }
.toast::before { content: '✓ '; color: var(--ok); }
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ─── 애니메이션 ─── */
.animate-fade-in { animation: fadeIn 0.5s var(--ease-out) both; }
.animate-slide-up { animation: slideUp 0.5s var(--ease-out) both; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes slideUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }

/* ─── RTL ─── */
[dir="rtl"] .hero, [dir="rtl"] .page-header { text-align: right; }
[dir="rtl"] .tzi-time, [dir="rtl"] .tzi-off { text-align: left; }

/* ─── RESPONSIVE ─── */
@media (max-width: 480px) {
  body { padding: 0 14px 64px; }
  .hero { margin-top: 26px; }
  .epoch-stat { padding: 16px; }
  .panel__body { padding: 15px; }
  .fmt-k { min-width: 82px; }
}
