/* Content pages (advertise, press, legal, sponsor stats, admin). */
:root {
  --ink: #141833;
  --ink-soft: #545a7a;
  --paper: #ffffff;
  --paper-2: #f4f6fb;
  --line: #e3e7f2;
  --hot-1: #ff8a3d;
  --hot-2: #ff3d6e;
  --good: #12925a;
  --warn: #b7791f;
  --bad: #c53030;
  --font: ui-rounded, "SF Pro Rounded", "Segoe UI", system-ui, -apple-system, "Apple SD Gothic Neo", "Noto Sans KR", sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--paper-2);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
a { color: #d4336a; }
img, canvas { max-width: 100%; }

.top {
  background: linear-gradient(180deg, #79c6f0, #bfe3f7);
  color: #fff;
  padding: 18px 16px 72px;
}
.top.dark { background: linear-gradient(180deg, #050918, #1a2350); }
.bar { max-width: 960px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.brand { font-weight: 900; font-size: 18px; text-decoration: none; color: #fff; letter-spacing: -0.01em; text-shadow: 0 2px 0 rgba(10, 14, 40, 0.15); }
.bar nav { display: flex; gap: 14px; font-weight: 800; font-size: 14px; }
.bar nav a { color: #fff; text-decoration: none; opacity: 0.9; }
.hero { max-width: 960px; margin: 28px auto 0; }
.hero h1 { margin: 0; font-size: clamp(32px, 6vw, 54px); line-height: 1.05; letter-spacing: -0.02em; font-weight: 900; text-shadow: 0 3px 0 rgba(10, 14, 40, 0.12); }
.hero p { font-size: 18px; font-weight: 700; max-width: 620px; opacity: 0.95; }

main { max-width: 960px; margin: -48px auto 40px; padding: 0 16px; display: grid; gap: 16px; }
.panel {
  background: var(--paper);
  border-radius: 20px;
  padding: 22px;
  box-shadow: 0 10px 30px rgba(20, 24, 51, 0.06);
  border: 1px solid var(--line);
}
.panel h2 { margin: 0 0 10px; font-size: 22px; font-weight: 900; letter-spacing: -0.01em; }
.panel h3 { margin: 18px 0 6px; font-size: 16px; font-weight: 900; }
.panel p, .panel li { color: var(--ink-soft); }
.muted { color: var(--ink-soft); font-size: 14px; }

.grid2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; }
.grid3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px; }

.stat { background: var(--paper-2); border-radius: 16px; padding: 14px 16px; }
.stat b { display: block; font-size: 28px; font-weight: 900; font-variant-numeric: tabular-nums; }
.stat span { font-size: 13px; color: var(--ink-soft); font-weight: 700; }

.price-card {
  border: 2px solid var(--line);
  border-radius: 18px;
  padding: 16px;
  cursor: pointer;
  display: grid;
  gap: 4px;
  background: #fff;
}
.price-card input { position: absolute; opacity: 0; pointer-events: none; }
.price-card:has(input:checked) { border-color: var(--hot-1); box-shadow: 0 0 0 4px rgba(255, 138, 61, 0.15); }
.price-card b { font-size: 18px; }
.price-card .amt { font-size: 24px; font-weight: 900; }

.field { display: grid; gap: 6px; margin: 12px 0; }
.field label { font-weight: 800; font-size: 14px; }
.field small { color: var(--ink-soft); }
.field input, .field textarea, .field select {
  font: inherit;
  padding: 12px 14px;
  border-radius: 12px;
  border: 2px solid var(--line);
  background: #fff;
  color: var(--ink);
  width: 100%;
}
.field input:focus { outline: none; border-color: var(--hot-1); }
.field input[type="color"] { padding: 4px; height: 48px; }
.inline { display: flex; gap: 10px; align-items: center; }

.btn {
  appearance: none;
  border: 0;
  border-radius: 999px;
  padding: 13px 20px;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
  background: var(--paper-2);
  color: var(--ink);
  box-shadow: 0 3px 0 rgba(10, 14, 40, 0.12);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.btn.primary { background: linear-gradient(135deg, var(--hot-1), var(--hot-2)); color: #fff; box-shadow: 0 4px 0 #b8264d; }
.btn.dark { background: var(--ink); color: #fff; box-shadow: 0 4px 0 #000; }
.btn.small { padding: 7px 12px; font-size: 13px; }
.btn[disabled] { opacity: 0.5; cursor: default; }
.btn:active { transform: translateY(2px); }
.providers { display: grid; gap: 10px; margin-top: 8px; }

.preview { width: 100%; aspect-ratio: 16 / 9; border-radius: 16px; display: block; background: #79c6f0; }

.notice { border-radius: 14px; padding: 14px 16px; font-weight: 700; }
.notice.ok { background: #e8f8ef; color: var(--good); }
.notice.warn { background: #fff6e5; color: var(--warn); }
.notice.bad { background: #fdecec; color: var(--bad); }

table { width: 100%; border-collapse: collapse; font-size: 14px; }
th, td { text-align: left; padding: 8px 6px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-size: 12px; text-transform: uppercase; letter-spacing: 0.05em; color: var(--ink-soft); }
td.num, th.num { text-align: right; font-variant-numeric: tabular-nums; }
.table-wrap { overflow-x: auto; }
.pill { display: inline-block; border-radius: 999px; padding: 2px 8px; font-size: 12px; font-weight: 800; background: var(--paper-2); }
.pill.live, .pill.paid { background: #e8f8ef; color: var(--good); }
.pill.pending_review, .pill.pending { background: #fff6e5; color: var(--warn); }
.pill.rejected, .pill.failed, .pill.refunded { background: #fdecec; color: var(--bad); }

.lang-ko { display: none; }
html[lang="ko"] .lang-ko { display: revert; }
html[lang="ko"] .lang-en { display: none; }

footer.site { max-width: 960px; margin: 0 auto 40px; padding: 0 16px; font-size: 13px; color: var(--ink-soft); display: grid; gap: 6px; }
footer.site a { color: inherit; }

.hidden { display: none !important; }
