:root {
  --accent: #d5002d;
  --accent-dark: #a81e1a;
  --bg: #eef1f5;
  --text: #1a2535;
  --muted: #6b7a8d;
  --line: #d8e0ea;
  --surface: #fff;
  --shadow: 0 8px 24px rgba(26, 37, 53, 0.08);
  --radius: 10px;
  --font: "Nanum Gothic", "Malgun Gothic", "Apple SD Gothic Neo", sans-serif;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body.is-embed .site-nav,
body.is-embed .site-foot { display: none !important; }
body {
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.5;
}
a { color: inherit; }
img { max-width: 100%; display: block; }
button, input, select, textarea {
  font: inherit;
  color: inherit;
}
.muted { color: var(--muted); }
.empty { color: var(--muted); padding: 24px 0; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  border-radius: 8px;
  background: linear-gradient(180deg, #d82d28 0%, #a81e1a 100%);
  color: #fff;
  font-weight: 700;
  padding: 12px 18px;
  cursor: pointer;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(216, 45, 40, 0.28);
}
.btn:hover { opacity: 0.94; }
.btn--lg { padding: 16px 22px; font-size: 16px; }
.btn--sm { padding: 8px 14px; font-size: 13px; }
.btn--block { width: 100%; }
.btn--ghost, .btn.btn--ghost {
  background: #fff;
  color: var(--text);
  border: 1px solid var(--line);
}
.btn--danger, .btn.btn--danger {
  background: #fff2f2;
  color: var(--accent);
  border: 1px solid #ffd4d4;
}

.site-nav {
  position: sticky;
  top: 0;
  z-index: 20;
  background: #fff;
  border-bottom: 1px solid #ddd;
}
.site-nav__inner, .landing, .discover, .legal, .auth {
  width: min(1280px, calc(100% - 32px));
  margin: 0 auto;
}
.site-nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  gap: 16px;
}
.brand { display: flex; align-items: center; text-decoration: none; }
.brand img { height: 42px; width: auto; max-width: 220px; object-fit: contain; }
.site-nav__links { display: flex; gap: 14px; align-items: center; }
.site-nav__links a { text-decoration: none; font-weight: 700; color: #374151; white-space: nowrap; }
.site-nav__links a.is-on { color: var(--accent); }
@media (max-width: 720px) {
  .site-nav__inner { min-height: 56px; gap: 8px; }
  .brand img { height: 32px; max-width: 140px; }
  .site-nav__links { flex-wrap: wrap; justify-content: flex-end; gap: 6px 10px; }
  .site-nav__links a { font-size: 12px; }
  .auth { padding: 24px 0 48px; }
  .auth-card, .legal { margin: 16px auto 40px; }
}

.hero { padding: 56px 0 40px; text-align: left; }
.hero-url {
  display: inline-flex; align-items: center; gap: 4px;
  background: #fff; border: 1px solid var(--line); border-radius: 8px;
  padding: 12px 16px; margin: 8px 0 16px; font-weight: 700;
}
.hero-url span { color: var(--muted); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.eyebrow {
  display: inline-block;
  background: #fff2f2;
  color: var(--accent);
  font-weight: 800;
  font-size: 13px;
  padding: 6px 12px;
  border-radius: 999px;
  margin: 0 0 18px;
}
h1 { font-size: clamp(26px, 4.5vw, 38px); letter-spacing: -0.04em; line-height: 1.25; margin: 0 0 16px; }
.lead { color: var(--muted); font-size: 16px; margin: 0 0 20px; }
.hint { color: var(--muted); font-size: 14px; }
.text-link { color: var(--accent); font-weight: 800; text-decoration: none; }

.features { padding: 8px 0 88px; }
.features h2 { letter-spacing: -0.03em; margin: 0 0 8px; font-size: 22px; }
.feat-lead { color: var(--muted); margin: 0 0 22px; }
.feat-stage {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 28px;
  align-items: start;
}
.feat-kicker {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 12px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: var(--text);
}
.feat-kicker em {
  font-style: normal;
  font-size: 11px;
  font-weight: 700;
  color: var(--accent);
  background: #fff2f2;
  border-radius: 999px;
  padding: 3px 8px;
}

.demo-phone {
  width: 280px;
  margin: 0 auto;
  background: #111318;
  border-radius: 32px;
  padding: 12px 10px 16px;
  box-shadow: 0 24px 48px rgba(20, 27, 45, 0.28);
}
.demo-phone__notch {
  width: 88px; height: 8px; border-radius: 8px;
  background: #2a2f3c; margin: 4px auto 10px;
}
.demo-pub {
  background: #f6f7fb;
  border-radius: 22px;
  overflow: hidden;
  position: relative;
  padding-bottom: 44px;
}
.demo-cover {
  height: 72px;
  background: linear-gradient(135deg, #d82d28, #1a1d26);
}
.demo-card {
  margin: -28px 10px 0;
  background: #fff;
  border-radius: 12px;
  padding: 0 12px 14px;
  box-shadow: var(--shadow);
}
.demo-avatar {
  width: 52px; height: 52px; border-radius: 50%;
  margin: -26px auto 6px; border: 3px solid #fff;
  background: #d82d28; color: #fff;
  display: grid; place-items: center; font-weight: 800; font-size: 20px;
}
.demo-name { text-align: center; font-weight: 800; margin: 0 0 2px; font-size: 15px; }
.demo-bio { text-align: center; color: var(--muted); margin: 0 0 8px; font-size: 11px; }
.demo-announce {
  background: #fff2f2; color: var(--accent); border-radius: 8px;
  padding: 6px 8px; font-weight: 700; font-size: 11px; text-align: center; margin-bottom: 8px;
}
.demo-sns { display: flex; justify-content: center; gap: 4px; margin-bottom: 8px; flex-wrap: wrap; }
.demo-sns span {
  font-size: 10px; font-weight: 800;
  border: 1px solid var(--line); border-radius: 999px; padding: 3px 7px; color: #4b5563;
}
.demo-btn {
  display: flex; align-items: center; gap: 8px;
  padding: 7px 8px; margin-bottom: 6px;
  background: #fff; border: 1px solid var(--line); border-radius: 10px;
}
.demo-btn span { display: grid; }
.demo-btn strong { font-size: 12px; }
.demo-btn em { font-style: normal; color: var(--muted); font-size: 10px; }
.demo-btn__thumb {
  width: 36px; height: 36px; border-radius: 8px; flex-shrink: 0;
}
.demo-btn__thumb--deal { background: linear-gradient(135deg, #ffb347, #d82d28); }
.demo-btn__thumb--live {
  background: #111; position: relative;
}
.demo-btn__thumb--live i {
  position: absolute; inset: 12px; border-radius: 50%; background: #ff3b4a;
  box-shadow: 0 0 0 0 rgba(255, 59, 74, 0.7);
  animation: demoLive 1.6s infinite;
}
@keyframes demoLive {
  0% { box-shadow: 0 0 0 0 rgba(255, 59, 74, 0.55); }
  70% { box-shadow: 0 0 0 7px rgba(255, 59, 74, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 59, 74, 0); }
}
.demo-cal {
  border: 1px solid var(--line); border-radius: 10px; padding: 8px; margin: 4px 0 8px; font-size: 11px;
}
.demo-cal strong { display: block; margin-bottom: 4px; }
.demo-cal div { display: flex; gap: 8px; padding: 4px 0; border-top: 1px solid var(--line); }
.demo-cal time { color: var(--accent); font-weight: 800; min-width: 64px; }
.demo-offer {
  display: block; text-align: center; font-size: 11px; font-weight: 800;
  border: 1px solid var(--line); border-radius: 8px; padding: 6px;
}
.demo-cta {
  position: absolute; left: 0; right: 0; bottom: 0;
  background: #d5002d; color: #fff; font-weight: 800; font-size: 13px;
  text-align: center; padding: 12px 8px;
}

.demo-stats {
  display: grid;
  gap: 12px;
}
.demo-kpis {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.demo-kpis div {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 14px 12px; box-shadow: var(--shadow);
}
.demo-kpis strong { display: block; font-size: 22px; letter-spacing: -0.03em; }
.demo-kpis span { color: var(--muted); font-size: 12px; }
.demo-panel {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 14px 14px 8px; box-shadow: var(--shadow);
}
.demo-panel__head {
  display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 4px;
}
.demo-panel__head h3 { margin: 0; font-size: 15px; }
.demo-panel__head span { color: var(--muted); font-size: 12px; }
.demo-chart { width: 100%; height: auto; display: block; }
.demo-bars { list-style: none; padding: 6px 4px 10px; margin: 0; display: grid; gap: 10px; }
.demo-bars li {
  display: grid;
  grid-template-columns: 88px 1fr 40px;
  gap: 8px;
  align-items: center;
  font-size: 13px;
}
.demo-bars__track {
  height: 10px; background: #f1f4f8; border-radius: 999px; overflow: hidden;
}
.demo-bars__track i {
  display: block; height: 100%; border-radius: 999px;
  background: linear-gradient(90deg, #d82d28, #ff6b81);
}
.demo-bars strong { text-align: right; }

.site-foot {
  margin-top: 8px;
  background: #141b2d;
  color: #9aa6bf;
  font-size: 13px;
}
.site-foot__inner {
  width: min(1280px, calc(100% - 32px));
  margin: 0 auto;
  padding: 28px 0 18px;
  border-top: 3px solid var(--accent);
}
.site-foot__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  align-items: center;
}
.site-foot__nav a {
  color: #d5dced;
  text-decoration: none;
  font-weight: 700;
}
.site-foot__nav a:hover { color: #fff; }
.site-foot__copy {
  width: min(1280px, calc(100% - 32px));
  margin: 0 auto;
  padding: 0 0 28px;
  border-top: 1px solid rgba(255,255,255,.08);
  padding-top: 16px;
  color: #7d89a3;
  font-size: 12px;
}

.auth { padding: 56px 0 80px; }
.auth-card, .legal {
  max-width: 480px;
  margin: 40px auto 80px;
}
.legal { max-width: 720px; }
.stack { display: grid; gap: 12px; }
.auth-error { color: #d82d28; font-size: 13px; font-weight: bold; margin: 0 0 8px; }
.stack input, .stack select, .stack textarea {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px 14px;
  background: #fff;
}
.check { display: flex !important; align-items: center; gap: 8px; font-weight: 700; }
.row-btns { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.row-btns .btn,
.sheet .btn {
  height: 36px;
  min-height: 36px;
  max-height: 36px;
  box-sizing: border-box;
  padding: 0 14px;
  font-size: 13px;
  line-height: 1;
  box-shadow: none;
}

.discover { padding: 40px 0 80px; }
.discover-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
  margin-top: 24px;
}
.discover-card {
  display: block;
  text-decoration: none;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0,0,0,.04);
}
.discover-card__cover { height: 88px; background-size: cover; background-position: center; }
.discover-card__body { padding: 0 16px 16px; }
.discover-card__avatar {
  width: 48px; height: 48px; border-radius: 50%; object-fit: cover;
  margin-top: -24px; border: 3px solid #fff; background: var(--accent); color: #fff;
  display: grid; place-items: center; font-weight: 900;
}
.discover-card__body strong { display: block; margin-top: 8px; }
.discover-card__body span { color: var(--muted); font-size: 12px; }

.pub-page { max-width: 480px; margin: 0 auto; padding-bottom: 96px; }
.pub-wrap { overflow-x: hidden; }
.pub-cover { height: 160px; background-size: cover; background-position: center; }
.pub-card {
  margin: -42px 16px 0;
  background: #fff;
  border-radius: 10px;
  padding: 0 18px 28px;
  box-shadow: var(--shadow);
}
.pub-avatar {
  width: 84px; height: 84px; border-radius: 50%; object-fit: cover;
  margin: -42px auto 10px; border: 4px solid #fff; display: block;
}
.pub-avatar--ph {
  background: var(--accent); color: #fff; display: grid; place-items: center;
  font-size: 32px; font-weight: 900;
}
h1.pub-name, .pub-name { text-align: center; font-size: 22px; letter-spacing: 0; line-height: 1.3; margin: 0 0 4px; font-weight: bold; color: #1f2f40; }
.pub-bio {
  text-align: center;
  color: #8a9bb0;
  margin: 0 0 12px;
  font-size: 12px;
  font-weight: normal;
  line-height: 1.4;
}
.pub-bio--brand {
  font-size: 11px;
  font-weight: normal;
  color: #a8b6c7;
  letter-spacing: 0;
}
.pub-announce {
  background: #fff2f2; color: var(--accent); border-radius: 12px;
  padding: 10px 12px; font-weight: 700; font-size: 13px; text-align: center; margin-bottom: 12px;
}
.pub-sns { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-bottom: 14px; }
.pub-sns a {
  font-size: 12px; font-weight: 800; text-decoration: none;
  border: 1px solid var(--line); border-radius: 999px; padding: 6px 10px;
}
.pub-search {
  width: 100%; border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; margin-bottom: 12px;
}
.pub-blocks { display: grid; gap: 12px; }
.pub-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 12px 12px 12px;
  text-decoration: none;
  color: inherit;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  border: 1px solid #dce5f0;
  box-shadow: 0 4px 12px rgba(26, 55, 94, .05);
  position: relative;
  overflow: hidden;
  min-height: 72px;
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.pub-link::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 4px;
  background: #2f76bd;
}
.pub--round .pub-link { border-radius: 16px; }
.pub--pill .pub-link { border-radius: 20px; }
.pub--square .pub-link { border-radius: 10px; }
.pub-link:hover {
  transform: translateY(-1px);
  border-color: #b7cce4;
  box-shadow: 0 8px 18px rgba(26, 55, 94, .1);
}
.pub-link__ico {
  flex: 0 0 46px;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  color: #fff;
  background: #2f76bd;
  overflow: hidden;
}
.pub-link__ico svg { width: 22px; height: 22px; display: block; }
.pub-link__ico img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pub-link__body { display: grid; gap: 2px; min-width: 0; flex: 1; text-align: left; }
.pub-link__kind {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  height: 18px;
  padding: 0 7px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: bold;
  letter-spacing: .02em;
  background: #edf4fb;
  color: #2a6090;
}
.pub-link__body strong {
  font-size: 15px;
  font-weight: bold;
  color: #1f2f40;
  line-height: 1.3;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.pub-link__body em {
  font-style: normal;
  color: #6885a8;
  font-size: 12px;
  line-height: 1.35;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.pub-link__go {
  flex: 0 0 22px;
  color: #9bb0c8;
  display: grid;
  place-items: center;
}
.pub-link__go svg { width: 18px; height: 18px; }
.pub-link--deal::before { background: #d82d28; }
.pub-link--deal .pub-link__ico { background: linear-gradient(135deg, #ff6b57, #d5002d); }
.pub-link--deal .pub-link__kind { background: #fff1f1; color: #d5002d; }
.pub-link--live::before { background: #d82d28; }
.pub-link--live .pub-link__ico { background: #1a1d26; }
.pub-link--live .pub-link__kind { background: #1a1d26; color: #fff; }
.pub-link--youtube::before,
.pub-link--channel::before { background: #2f76bd; }
.pub-link--youtube .pub-link__ico,
.pub-link--channel .pub-link__ico { background: linear-gradient(135deg, #4c8fd4, #1e4f7a); }
.pub-link--youtube .pub-link__kind,
.pub-link--channel .pub-link__kind { background: #e8f2fb; color: #1e4f7a; }
.pub-link--instagram::before { background: #c13584; }
.pub-link--instagram .pub-link__ico { background: linear-gradient(135deg, #f58529, #dd2a7b 55%, #8134af); }
.pub-link--instagram .pub-link__kind { background: #fdeef6; color: #c13584; }
.pub-link--kakao::before { background: #3c1e1e; }
.pub-link--kakao .pub-link__ico { background: #fee500; color: #3c1e1e; }
.pub-link--kakao .pub-link__kind { background: #fff8c4; color: #6b4e00; }
.pub-link--shop::before { background: #1e9e62; }
.pub-link--shop .pub-link__ico { background: linear-gradient(135deg, #3dcf86, #178a54); }
.pub-link--shop .pub-link__kind { background: #e9f8ef; color: #178a54; }
.pub-link--link .pub-link__ico { background: linear-gradient(135deg, #7a8ea8, #4a617d); }
.pub-link.is-pinned { border-color: #c5d8ee; }
.pub-link.is-hot {
  background: linear-gradient(180deg, #fff7f7 0%, #fff 70%);
  border-color: #f0c8c8;
}
.pub-text {
  background: #f8fbff;
  border: 1px dashed #d6e1ee;
  border-radius: 14px;
  padding: 12px 14px;
  color: #516b8d;
}
.pub-text strong { display: block; font-size: 12px; color: #1e6eb6; margin-bottom: 4px; }
.pub-text p { margin: 0; font-size: 12px; line-height: 1.55; font-weight: normal; }
.pub-cal, .pub-col, .pub-image, .pub-video {
  background: #fff; border: 1px solid #dce5f0; border-radius: 16px; padding: 14px;
}
.pub-div { border: 0; border-top: 1px solid var(--line); margin: 8px 0; }
.pub-image img, .pub-video img { border-radius: 12px; width: 100%; }
.pub-video__frame { position: relative; padding-top: 56.25%; }
.pub-video__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; border-radius: 12px; }
.pub-cal__row { display: flex; gap: 10px; padding: 8px 0; border-top: 1px solid var(--line); }
.pub-cal__row time { color: var(--accent); font-weight: 800; min-width: 72px; }
.pub-col__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.pub-col__item {
  display: grid; gap: 6px; text-decoration: none; font-weight: 700; font-size: 13px;
}
.pub-col__item img { height: 88px; object-fit: cover; border-radius: 12px; width: 100%; }
.pub-actions { display: flex; justify-content: center; gap: 8px; margin-top: 18px; }
.pub-ghost {
  background: #fff; border: 1px solid var(--line); border-radius: 8px;
  padding: 8px 14px; font-weight: 800; cursor: pointer; text-decoration: none;
}
.pub-brand { text-align: center; color: var(--muted); font-size: 12px; margin-top: 18px; }
.pub-brand__logo { height: 28px; width: auto; margin: 0 auto; }
.pub-gate {
  margin-top: 8px;
  padding: 16px 14px;
  border: 1px solid #dce5f0;
  border-radius: 14px;
  background: linear-gradient(180deg, #f8fbff 0%, #fff 100%);
}
.pub-gate__lead {
  margin: 0 0 14px;
  font-size: 13px;
  font-weight: normal;
  color: #5a7391;
  line-height: 1.5;
  text-align: center;
}
.pub-gate .auth-error { text-align: center; margin-bottom: 10px; }
.pub-gate__form { display: grid; gap: 10px; }
.pub-gate__form label {
  display: grid;
  gap: 6px;
  font-size: 12px;
  font-weight: bold;
  color: #5a7391;
  text-align: left;
}
.pub-gate__form input[type="password"] {
  height: 44px;
  border: 1px solid #ccd8e6;
  border-radius: 10px;
  padding: 0 12px;
  font-size: 16px;
  color: #30455f;
  background: #fff;
  width: 100%;
  box-sizing: border-box;
}
.pub-gate__form .btn { height: 44px; min-height: 44px; max-height: 44px; font-size: 14px; }
.pub-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
  display: flex; align-items: center; justify-content: center;
  min-height: 56px; padding: 14px 16px calc(14px + env(safe-area-inset-bottom));
  background: var(--accent); color: #fff; font-weight: 900; text-decoration: none;
}

.sheet {
  position: fixed; inset: 0; z-index: 80;
  background: rgba(15, 23, 42, .45);
  display: grid; place-items: center; padding: 16px;
}
.sheet[hidden] { display: none !important; }
.sheet__card {
  position: relative;
  width: min(440px, 100%);
  background: #fff;
  border-radius: 20px;
  padding: 20px;
  max-height: calc(100vh - 32px);
  overflow: auto;
}
.sheet__card--wide { width: min(560px, 100%); }
.sheet__head {
  position: sticky;
  top: -20px;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: -20px -20px 16px;
  padding: 14px 16px 14px 20px;
  background: linear-gradient(135deg, #d82d28, #a81e1a);
  border-radius: 20px 20px 0 0;
}
.sheet__head h3 { margin: 0; color: #fff; font-size: 17px; font-weight: 800; }
.sheet__close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  min-height: 36px;
  max-height: 36px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  flex-shrink: 0;
  box-sizing: border-box;
}
.sheet__close:hover { background: rgba(255, 255, 255, 0.3); }

@media (max-width: 860px) {
  .feat-stage { grid-template-columns: 1fr; }
  .demo-kpis { grid-template-columns: 1fr 1fr 1fr; }
  .site-foot__inner { padding-top: 28px; }
  .site-foot__nav { gap: 10px 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .demo-btn__thumb--live i { animation: none; }
}
