/* 글 변환 비서 — 에디토리얼 톤 (딥 플럼 · 웜 샌드 배경 · 아이보리 카드 · 라벤더/골드 포인트)
   2026-11-20 색 개편: 페이지 배경 #FAF8F5 → #E7D8BD, 카드/입력칸 #FFFFFF → #FAF8F5 */
/* HAROO STUDIO 공식 로고 타이틀용 서체 (공식 홈페이지와 동일한 haroo-serif.woff) */
@font-face {
  font-family: "HarooSerif";
  src: url("assets/haroo-serif.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
:root {
  --plum: #2A1F3D;
  --plum-2: #3A2C53;
  --ink: #241C33;
  --ink-2: #4A4159;
  /* 2026-11-20 톤 개편 — 페이지 배경은 아이보리에서 한 톤 진한 웜 샌드로,
     기존 아이보리(#FAF8F5)는 카드·입력칸 배경으로 이동 */
  --paper: #E7D8BD;
  --card: #FAF8F5;
  --card-2: #F3EBDB;
  --sheet-soft: #F5EEE0;
  --line: #DFD1B6;
  --line-2: #EFE7D8;
  --muted: #665E72;
  --muted-2: #7E7589;
  --lav: #B9A7D6;
  --lav-2: #8C79B0;
  --lav-soft: #F1ECF9;
  --gold: #C9A227;
  --gold-soft: #FBF3DC;
  --green: #2F7A5B;
  --red: #B42318;
  --nav-h: 62px;
  --radius: 16px;
  --shadow: 0 12px 28px rgba(74, 54, 32, 0.13);
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; padding: 0; }
body {
  background: #DECDAE;
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Pretendard", "Noto Sans KR", "Malgun Gothic", sans-serif;
  font-size: 15px;
  line-height: 1.55;
  letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;
}
body.locked { overflow: hidden; }
button, input, textarea, select { font: inherit; color: inherit; }
a { color: var(--plum); }
img { max-width: 100%; }

#app { max-width: 480px; margin: 0 auto; min-height: 100vh; background: var(--paper); position: relative; padding-bottom: calc(var(--nav-h) + env(safe-area-inset-bottom) + 16px); }
#app.no-nav { padding-bottom: calc(24px + env(safe-area-inset-bottom)); }
.serif { font-family: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", "Nanum Myeongjo", Georgia, serif; }

/* ───────── 상단 헤더 ───────── */
.topbar {
  position: sticky; top: 0; z-index: 30;
  background: rgba(231, 216, 189, 0.94);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
  padding: calc(10px + env(safe-area-inset-top)) 16px 10px;
}
.tb-row { display: flex; align-items: center; gap: 10px; }
.tb-logo { width: 34px; height: 34px; flex: none; object-fit: contain; }
.tb-title { font-size: 16.5px; font-weight: 800; letter-spacing: -0.03em; color: var(--plum); line-height: 1.2; }
.tb-title.serif { font-weight: 700; font-size: 17px; }
.tb-sub { font-size: 11px; color: var(--muted); margin-top: 2px; letter-spacing: 0.01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tb-chip {
  flex: none; border: 1px solid var(--line); background: var(--card);
  color: var(--ink-2); font-size: 11px; font-weight: 800; letter-spacing: 0.02em;
  padding: 6px 10px; border-radius: 999px; cursor: pointer; white-space: nowrap;
}
.tb-chip.pro { background: var(--plum); color: #F6F1E9; border-color: var(--plum); }
.tb-refresh {
  flex: none; width: 34px; height: 34px; display: grid; place-items: center;
  border: 1px solid var(--line); background: var(--card); border-radius: 50%;
  color: var(--ink-2); cursor: pointer;
}
.tb-refresh svg { width: 17px; height: 17px; stroke-width: 2; }
.tb-refresh:active { background: var(--card-2); }
.grow { flex: 1 1 auto; min-width: 0; }

/* hero stats */
.hero-stat { display: flex; gap: 0; margin-top: 12px; border-top: 1px solid var(--line-2); padding-top: 10px; }
.hero-stat > div { flex: 1 1 0; min-width: 0; padding: 0 4px 0 0; }
.hero-stat > div + div { border-left: 1px solid var(--line-2); padding-left: 10px; }
.hero-stat b { display: block; font-size: 14px; letter-spacing: -0.02em; color: var(--plum); }
.hero-stat span { font-size: 10.5px; color: var(--muted); }

/* ───────── 레이아웃 ───────── */
.wrap { padding: 16px 16px 28px; }
.wrap-tight { padding: 14px 16px 28px; }
.section-title {
  display: flex; align-items: baseline; gap: 8px;
  font-size: 11.5px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--muted); margin: 20px 0 8px;
}
.section-title .small { font-weight: 600; letter-spacing: 0; text-transform: none; font-size: 11px; color: var(--muted-2); }
.section-title:first-child { margin-top: 4px; }

.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 15px; margin-bottom: 12px; box-shadow: 0 1px 2px rgba(74, 54, 32, 0.05);
}
.card.flat { background: transparent; border-style: dashed; box-shadow: none; }
.card h2 { font-size: 15px; margin: 0 0 6px; letter-spacing: -0.02em; }
hr.hr { border: 0; border-top: 1px solid var(--line-2); margin: 10px 0; }

.row { display: flex; align-items: center; gap: 10px; }
.row.between { justify-content: space-between; }
.row.wrap { flex-wrap: wrap; }
.center { text-align: center; }
.small { font-size: 12.5px; }
.tiny { font-size: 11px; }
.muted { color: var(--muted); }
.danger-t { color: var(--red); }
.mono { font-variant-numeric: tabular-nums; }

/* ───────── 버튼 ───────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  border: 1px solid var(--line); background: var(--card); color: var(--ink);
  padding: 11px 14px; border-radius: 12px; font-size: 13.5px; font-weight: 700;
  cursor: pointer; transition: transform 0.06s ease, background 0.15s ease;
  min-height: 44px; letter-spacing: -0.01em;
}
.btn:active { transform: scale(0.985); }
.btn.primary { background: var(--plum); color: #F8F4EE; border-color: var(--plum); }
.btn.pro { background: linear-gradient(135deg, #33264A, #2A1F3D 60%, #43315F); color: #FBF6EC; border-color: #2A1F3D; }
.btn.ghost { background: transparent; }
.btn.line { background: transparent; border-color: var(--plum); color: var(--plum); }
.btn.sm { min-height: 36px; padding: 7px 11px; font-size: 12.5px; border-radius: 10px; }
.btn.xs { min-height: 30px; padding: 4px 9px; font-size: 11.5px; border-radius: 9px; }
.btn.block { display: flex; width: 100%; }
.btn.grow { flex: 1 1 0; min-width: 0; }
.btn.danger { color: var(--red); border-color: #EBC9C5; background: #FDF3F1; }
.btn.on { background: var(--plum); color: #F8F4EE; border-color: var(--plum); }
.btn:disabled { opacity: 0.55; cursor: default; }
.btn.link { border: 0; background: none; color: var(--plum); text-decoration: underline; padding: 4px; min-height: 0; }

.icon-btn {
  width: 34px; height: 34px; display: grid; place-items: center;
  border: 1px solid var(--line); border-radius: 50%; background: var(--card); cursor: pointer;
}

/* ───────── 폼 ───────── */
.field { margin-bottom: 11px; }
.field label { display: block; font-size: 12px; font-weight: 700; color: var(--ink-2); margin-bottom: 6px; }
.field .hint { font-weight: 500; color: var(--muted-2); font-size: 11px; margin-left: 4px; }
.input, .textarea, .select {
  width: 100%; border: 1px solid var(--line); border-radius: 12px; background: var(--card);
  padding: 12px 13px; font-size: 14px; outline: none; color: var(--ink);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.input:focus, .textarea:focus, .select:focus { border-color: var(--lav-2); box-shadow: 0 0 0 3px rgba(185, 167, 214, 0.22); }
.textarea { min-height: 138px; resize: vertical; line-height: 1.65; }
.counter { display: flex; justify-content: space-between; font-size: 11px; color: var(--muted-2); margin-top: 6px; }
.form-error { color: var(--red); font-size: 12.5px; min-height: 0; }
.form-error:not(:empty) { margin: 4px 0 8px; }
.form-note { font-size: 11.5px; color: var(--muted); line-height: 1.6; }

/* 칩 */
.chip {
  border: 1px solid var(--line); background: var(--card); color: var(--ink-2);
  padding: 7px 11px; border-radius: 999px; font-size: 12.5px; font-weight: 600; cursor: pointer;
}
.chip.on { background: var(--plum); border-color: var(--plum); color: #F8F4EE; }
.chip-scroll { display: flex; gap: 6px; overflow-x: auto; padding-bottom: 2px; scrollbar-width: none; }
.chip-scroll::-webkit-scrollbar { display: none; }
.chip-scroll .chip { flex: none; }

/* 세그먼트 */
.seg { display: flex; background: var(--card-2); border-radius: 12px; padding: 3px; gap: 3px; }
.seg button {
  flex: 1 1 0; min-width: 0; border: 0; background: transparent; padding: 9px 4px;
  border-radius: 9px; font-size: 12.5px; font-weight: 700; color: var(--muted); cursor: pointer;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.seg button.on { background: var(--card); color: var(--plum); box-shadow: 0 1px 3px rgba(74, 54, 32, 0.16); }

/* 스위치 */
.switch {
  width: 46px; height: 28px; border-radius: 999px; background: #D8CEBA; position: relative;
  transition: background 0.18s; flex: none; border: 0; cursor: pointer; padding: 0;
}
.switch::after {
  content: ""; position: absolute; width: 22px; height: 22px; border-radius: 50%; background: #fff;
  top: 3px; left: 3px; transition: transform 0.18s; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.24);
}
.switch.on { background: var(--green); }
.switch.on::after { transform: translateX(18px); }
.switch:disabled { opacity: 0.5; }

/* 배지 */
.pill {
  display: inline-flex; align-items: center; gap: 4px; padding: 3px 8px; border-radius: 999px;
  font-size: 10.5px; font-weight: 800; letter-spacing: 0.01em; white-space: nowrap;
}
.pill.pro { background: var(--plum); color: #F8F4EE; }
.pill.line { background: var(--card); border: 1px solid var(--line); color: var(--muted); }
.pill.amber { background: var(--gold-soft); color: #8A6B05; }
.pill.lav { background: var(--lav-soft); color: var(--lav-2); }
.pill.green { background: #E9F5EF; color: var(--green); }
.pill.red { background: #FDECEA; color: var(--red); }

/* ───────── 랜딩 ───────── */
.hero { padding: 26px 20px 8px; }
.hero .kicker { font-size: 10.5px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--lav-2); font-weight: 800; }
.hero h1 { font-size: 29px; line-height: 1.24; margin: 10px 0 10px; letter-spacing: -0.045em; color: var(--plum); }
.hero h1 em { font-style: normal; background: linear-gradient(180deg, transparent 62%, #E9E1F6 62%); }
.hero p { font-size: 13.5px; color: var(--ink-2); margin: 0 0 16px; line-height: 1.7; word-break: keep-all; }
.hero-art { margin: 6px 0 18px; border-radius: 18px; overflow: hidden; border: 1px solid var(--line); background: var(--card); }
.hero-art img { display: block; width: 100%; }

.compare { display: grid; gap: 10px; }
.compare .box { border: 1px solid var(--line); border-radius: 14px; background: var(--card); padding: 12px 14px; }
.compare .box.before { background: var(--card-2); }
.compare .lbl { font-size: 10px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted-2); margin-bottom: 6px; }
.compare pre { margin: 0; white-space: pre-wrap; word-break: keep-all; font-family: inherit; font-size: 12.5px; line-height: 1.7; color: var(--ink-2); }

.chan-grid { display: grid; gap: 9px; }
.chan { border: 1px solid var(--line); border-radius: 14px; padding: 13px 14px; background: var(--card); }
.chan b { font-size: 13.5px; color: var(--plum); }
.chan .tag { font-size: 10px; font-weight: 800; color: var(--lav-2); letter-spacing: 0.06em; }
.chan p { margin: 4px 0 0; font-size: 12px; color: var(--muted); line-height: 1.65; }

.price-card {
  background: linear-gradient(160deg, #2A1F3D, #3B2C55 65%, #4A3568);
  color: #F6F1E9; border-radius: 18px; padding: 18px; border: 1px solid #2A1F3D;
  box-shadow: var(--shadow);
}
.price-card .pr { display: flex; align-items: baseline; gap: 7px; margin: 6px 0 10px; flex-wrap: wrap; }
.price-card .pr b { font-size: 24px; letter-spacing: -0.03em; }
.price-card .pr s { color: #C8BDD6; font-size: 12.5px; }
.price-card ul { margin: 0; padding-left: 17px; font-size: 12.5px; line-height: 1.85; color: #EDE6F5; }
.price-card .small { color: #CFC5DC; }

/* ───────── 스튜디오 ───────── */
.chan-pick { display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; }
.chan-pick button {
  border: 1px solid var(--line); background: var(--card); border-radius: 13px; padding: 11px 6px;
  display: flex; flex-direction: column; align-items: center; gap: 5px; cursor: pointer;
  font-size: 11.5px; font-weight: 700; color: var(--muted); min-height: 74px; justify-content: center;
}
.chan-pick button .ico { font-size: 17px; line-height: 1; }
.chan-pick button.on { border-color: var(--plum); background: var(--lav-soft); color: var(--plum); box-shadow: inset 0 0 0 1px var(--plum); }
.chan-pick button .sub { font-size: 9.5px; font-weight: 600; color: var(--muted-2); }
.chan-pick button.on .sub { color: var(--lav-2); }

.quote {
  background: var(--lav-soft); border: 1px solid #E3D8F3; border-radius: 12px;
  padding: 10px 12px; font-size: 12px; color: #4B3A66; line-height: 1.6;
}
.quotebar { display: flex; gap: 6px; align-items: center; }

.res-head { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; }
.res-tabs { display: flex; gap: 5px; overflow-x: auto; scrollbar-width: none; }
.res-tabs::-webkit-scrollbar { display: none; }
.res-tabs button {
  flex: none; border: 1px solid var(--line); background: var(--card); color: var(--muted);
  border-radius: 999px; padding: 6px 11px; font-size: 11.5px; font-weight: 800; cursor: pointer;
}
.res-tabs button.on { background: var(--plum); border-color: var(--plum); color: #F8F4EE; }

.output-title {
  font-family: "Iowan Old Style", "Palatino Linotype", "Nanum Myeongjo", Georgia, serif;
  font-size: 18px; font-weight: 700; letter-spacing: -0.03em; color: var(--plum);
  margin: 2px 0 10px; line-height: 1.42; word-break: keep-all;
}
.output {
  white-space: pre-wrap; word-break: keep-all; font-family: inherit; font-size: 13.5px;
  line-height: 1.85; color: var(--ink); margin: 0; background: var(--sheet-soft);
  border: 1px solid var(--line-2); border-radius: 13px; padding: 14px;
}
.tags { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 10px; }
.tags span { font-size: 11.5px; color: var(--lav-2); background: var(--lav-soft); border-radius: 999px; padding: 3px 9px; }
.res-acts { display: flex; gap: 7px; margin-top: 11px; }

.source-note { font-size: 10.5px; color: var(--muted-2); margin-top: 8px; }

/* 기록 */
.log-item {
  display: flex; gap: 10px; align-items: flex-start; padding: 13px 14px; background: var(--card);
  border: 1px solid var(--line); border-radius: 14px; margin-bottom: 8px; cursor: pointer;
}
.log-item .when { font-size: 10.5px; color: var(--muted-2); }
.log-item .ttl { font-size: 13px; font-weight: 700; margin-top: 1px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.log-item .prev { font-size: 11.5px; color: var(--muted); margin-top: 3px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* 프리셋 */
.preset-card { border: 1px solid var(--line); background: var(--card); border-radius: 14px; padding: 13px 14px; margin-bottom: 8px; }
.preset-card .nm { font-size: 13.5px; font-weight: 800; color: var(--plum); }
.preset-card .cl { font-size: 12px; color: var(--muted); margin-top: 4px; line-height: 1.6; }

/* 리포트 */
.kpi-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; margin-bottom: 12px; }
.kpi { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 13px 14px; }
.kpi b { display: block; font-size: 21px; letter-spacing: -0.03em; color: var(--plum); }
.kpi span { font-size: 11px; color: var(--muted); }
.bars { display: grid; gap: 8px; }
.bar-row { display: flex; align-items: center; gap: 8px; font-size: 11.5px; }
.bar-row .lb { width: 62px; flex: none; color: var(--muted); }
.bar-row .tr { flex: 1 1 auto; height: 8px; background: var(--card-2); border-radius: 999px; overflow: hidden; }
.bar-row .fl { display: block; height: 100%; min-width: 0; background: linear-gradient(90deg, var(--lav-2), var(--plum)); border-radius: 999px; }
.bar-row .vv { width: 38px; text-align: right; flex: none; font-variant-numeric: tabular-nums; color: var(--ink-2); font-weight: 700; }

/* 내 정보 */
.avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--lav-soft); display: grid; place-items: center; flex: none; }
.avatar img { width: 26px; height: 26px; object-fit: contain; }
.item { display: flex; align-items: center; gap: 12px; padding: 13px 0; border-bottom: 1px solid var(--line-2); }
.item:last-child { border-bottom: 0; }
.item .nm { font-size: 13.5px; font-weight: 700; }
.item .meta { font-size: 11px; color: var(--muted); margin-top: 2px; }
/* 같은 개발자의 다른 앱 — 맨 위 HAROO STUDIO 공식 홈 대표 카드 (시안 B · 웜 크림·코랄) */
.studio-card {
  display: flex; align-items: center; gap: 12px; margin: 0 0 9px;
  padding: 13px 14px; border-radius: var(--radius); text-decoration: none;
  background: #FFF7F2; border: 1.5px solid #FDBA74; box-shadow: 0 1px 2px rgba(234, 88, 12, 0.06);
}
.studio-card .sc-ic {
  width: 42px; height: 42px; flex: none; border-radius: 10px;
  border: 1px solid rgba(42, 28, 22, 0.12); background: #FCF6EA;
  object-fit: cover; display: block;
}
.studio-card .sc-tx { flex: 1; min-width: 0; }
.studio-card .sc-tx b {
  display: block; font-family: "HarooSerif", Georgia, serif; font-weight: 400;
  font-size: 15px; color: #1F2937; letter-spacing: -0.025em; line-height: 1.35;
}
.studio-card .sc-sub {
  display: block; margin-top: 2px; font-size: 11px; font-weight: 600;
  color: #6B7280; line-height: 1.5; word-break: keep-all;
}
.studio-card .sc-url { display: block; margin-top: 3px; font-size: 10.5px; font-weight: 700; color: #EA580C; word-break: break-all; }
.studio-card .sc-go { flex: none; color: #EA580C; font-size: 15px; line-height: 1; font-weight: 700; }
.studio-card:active { background: #FFEFE6; }
.footer-note { font-size: 10.5px; color: var(--muted-2); text-align: center; line-height: 1.8; margin: 18px 0 8px; }

/* 광고 슬롯 */
.adslot { margin: 14px 0 4px; }
.adslot:empty { display: none; }
.ad {
  display: flex; align-items: center; gap: 10px; width: 100%; text-align: left;
  border: 1px dashed #D5C7DE; background: var(--card); border-radius: 13px; padding: 11px 13px;
  cursor: pointer; color: var(--ink-2);
}
.ad .adbadge {
  font-size: 9px; font-weight: 900; letter-spacing: 0.1em; color: var(--lav-2);
  border: 1px solid #DCD3E6; border-radius: 5px; padding: 2px 4px; flex: none;
}
.ad .adtxt { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.ad .adtxt b { font-size: 12px; font-weight: 700; }
.ad .adtxt span { font-size: 10.5px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ad .adarrow { margin-left: auto; color: var(--muted-2); font-size: 14px; }
.ad.hasimg { padding: 0; border-style: solid; overflow: hidden; }
.ad.hasimg img { width: 100%; display: block; }

/* 탭바 */
.tabbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
  display: flex; max-width: 480px; margin: 0 auto;
  background: rgba(250, 248, 245, 0.96); backdrop-filter: blur(12px);
  border-top: 1px solid var(--line); padding-bottom: env(safe-area-inset-bottom);
}
.tabbar button {
  flex: 1 1 0; border: 0; background: none; padding: 9px 0 8px; display: flex;
  flex-direction: column; align-items: center; gap: 3px; color: var(--muted-2);
  font-size: 10px; font-weight: 700; cursor: pointer;
}
.tabbar button svg { width: 21px; height: 21px; stroke-width: 1.7; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; }
.tabbar button.on { color: var(--plum); }
.tabbar button.on svg { stroke-width: 2.1; }

/* 모달 시트 */
.overlay {
  position: fixed; inset: 0; background: rgba(28, 20, 42, 0.42); z-index: 70;
  display: flex; align-items: flex-end; justify-content: center;
  animation: fadein 0.16s ease;
}
@keyframes fadein { from { opacity: 0; } to { opacity: 1; } }
.sheet {
  width: 100%; max-width: 480px; max-height: 88vh; overflow-y: auto; background: var(--paper);
  border-radius: 22px 22px 0 0; padding: 18px 16px calc(20px + env(safe-area-inset-bottom));
  box-shadow: 0 -14px 36px rgba(58, 41, 20, 0.22);
  animation: slideup 0.22s cubic-bezier(0.2, 0.8, 0.2, 1);
}
@keyframes slideup { from { transform: translateY(28px); opacity: 0.6; } to { transform: none; opacity: 1; } }
.sheet-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.sheet-head h2 { font-size: 16.5px; margin: 0; letter-spacing: -0.03em; color: var(--plum); }
.sheet-body { font-size: 13.5px; }

/* 토스트 */
.toast {
  position: fixed; left: 50%; bottom: calc(var(--nav-h) + 24px); transform: translate(-50%, 14px);
  background: rgba(36, 28, 51, 0.95); color: #fff; padding: 11px 16px; border-radius: 12px;
  font-size: 12.5px; font-weight: 700; z-index: 90; opacity: 0; pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease; max-width: calc(100% - 40px); text-align: center;
}
.toast.on { opacity: 1; transform: translate(-50%, 0); }
.toast.err { background: #9F1D15; }

/* 안내 박스 */
.banned-box { background: #FDECEA; border: 1px solid #F3CFCA; border-radius: 14px; padding: 13px; margin: 12px 16px; }
.banned-box b { color: var(--red); font-size: 13.5px; }
.banned-box p { margin: 5px 0 0; font-size: 12px; color: #7C2A22; line-height: 1.6; }

.web-notice { border: 1px solid var(--line); background: var(--card); border-radius: 14px; padding: 14px; }
.web-notice.compact { padding: 11px 12px; }
.web-notice .wn-t { font-size: 12.5px; font-weight: 800; color: var(--plum); }
.web-notice .wn-p { margin: 6px 0 8px; font-size: 11.5px; color: var(--muted); line-height: 1.65; }
.web-notice .wn-url { color: var(--lav-2); }

.demo-banner {
  display: flex; align-items: center; gap: 8px; margin: 0 16px; padding: 8px 10px 8px 12px;
  background: var(--gold-soft); border: 1px solid #F0E3BC; border-radius: 12px;
  font-size: 11.5px; color: #7A5E08; font-weight: 700; line-height: 1.4;
}
.demo-banner > span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.demo-banner > span:nth-child(2) { flex: 1 1 auto; min-width: 0; }
.demo-banner .btn { margin-left: auto; flex: none; min-height: 30px; padding: 4px 10px; font-size: 11.5px; white-space: nowrap; }

/* ───────── 가입 유도 강화 (2026-11-22) — 랜딩 히어로 · 체험 모드 상단 배너 ───────── */
.su-trust { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 14px; }
.su-trust span {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 11px; font-weight: 800; color: var(--plum);
  background: var(--lav-soft); border: 1px solid #E4DBF3; border-radius: 999px; padding: 4px 10px;
}
.su-actions { display: grid; gap: 4px; margin-bottom: 4px; }
.btn.primary.su-cta {
  flex-direction: column; gap: 1px; min-height: 58px; padding: 9px 16px;
  background: linear-gradient(135deg, #3A2C53, #2A1F3D 62%, #43315F);
  border-color: var(--plum); box-shadow: 0 12px 24px rgba(42, 31, 61, 0.22);
}
.su-cta-main { font-size: 16px; font-weight: 850; letter-spacing: -0.03em; }
.su-cta-sub { font-size: 11px; font-weight: 700; color: rgba(248, 244, 238, 0.82); letter-spacing: -0.01em; }
.btn.su-demo {
  min-height: 40px; border: none; background: none; color: var(--muted);
  font-size: 12.5px; font-weight: 700; text-decoration: underline; text-underline-offset: 3px;
  text-decoration-color: var(--muted-2); justify-content: center;
}
.su-perks {
  margin-top: 16px; padding: 13px 14px 12px;
  background: var(--card); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-sm);
}
.su-perks-h {
  display: flex; align-items: center; gap: 7px;
  font-family: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", "Nanum Myeongjo", Georgia, serif;
  font-size: 14px; font-weight: 700; color: var(--plum); letter-spacing: -0.01em;
}
.su-free {
  font-family: inherit; font-size: 10px; font-weight: 800; color: #5C4A0A;
  background: var(--gold-soft); border: 1px solid #F0E3BC; border-radius: 999px; padding: 2px 8px;
}
.su-perk { display: flex; gap: 10px; padding: 9px 0; border-top: 1px solid var(--line-2); }
.su-perk:first-of-type { margin-top: 8px; }
.su-n {
  width: 20px; height: 20px; flex: none; margin-top: 1px; border-radius: 50%;
  display: grid; place-items: center; font-size: 10.5px; font-weight: 800;
  color: var(--lav-2); background: var(--lav-soft);
}
.su-perk b { display: block; font-size: 12.5px; font-weight: 800; color: var(--ink); line-height: 1.45; letter-spacing: -0.01em; }
.su-perk p { margin: 2px 0 0; font-size: 11.5px; color: var(--muted); line-height: 1.55; }
.su-perk-pro {
  margin: 3px 0 0; padding-top: 10px; border-top: 1px dashed var(--line);
  font-size: 11px; color: var(--muted); line-height: 1.6; word-break: keep-all;
}
.su-perk-pro b { color: var(--lav-2); }

.su-demo-banner {
  display: flex; align-items: center; gap: 10px; margin: 0 16px 6px; padding: 10px 11px;
  background: var(--gold-soft); border: 1px solid #EDDCAE; border-radius: 13px;
  box-shadow: 0 4px 14px rgba(154, 122, 40, 0.12);
}
.su-demo-ico { flex: none; font-size: 15px; }
.su-demo-txt { flex: 1 1 auto; min-width: 0; }
.su-demo-txt b { display: block; font-size: 11.5px; font-weight: 850; color: #6B5208; line-height: 1.4; }
.su-demo-txt span { display: block; margin-top: 2px; font-size: 10.5px; color: #7A5E08; line-height: 1.45; word-break: keep-all; }
.su-demo-cta {
  flex: none; white-space: nowrap; min-height: 32px; padding: 0 11px; border-radius: 9px;
  background: var(--plum); color: #F8F4EE; font-size: 11.5px; font-weight: 800;
  box-shadow: 0 3px 10px rgba(42, 31, 61, 0.22);
}
.su-demo-cta:active { transform: scale(0.97); }
@media (max-width: 350px) {
  .su-demo-banner { gap: 8px; padding: 9px; margin-left: 13px; margin-right: 13px; }
  .su-demo-txt b { font-size: 11px; }
  .su-demo-txt span { font-size: 10px; }
  .su-demo-cta { padding: 0 8px; font-size: 11px; }
  .su-cta-main { font-size: 15px; }
}

.empty { text-align: center; color: var(--muted); font-size: 12.5px; padding: 30px 16px; line-height: 1.8; }

/* ───────── 관리자 ───────── */
.adm-kpi { display: grid; grid-template-columns: repeat(4, 1fr); gap: 7px; margin-bottom: 12px; }
.adm-kpi > div { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 10px 6px; text-align: center; }
.adm-kpi b { display: block; font-size: 17px; color: var(--plum); letter-spacing: -0.03em; }
.adm-kpi span { font-size: 10px; color: var(--muted); }
.adm-tabs { display: flex; gap: 5px; margin-bottom: 10px; }
.adm-tabs button {
  flex: 1 1 0; min-width: 0; border: 1px solid var(--line); background: var(--card); color: var(--muted);
  padding: 9px 4px; border-radius: 11px; font-size: 11.5px; font-weight: 800; cursor: pointer;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.adm-tabs button.on { background: var(--plum); border-color: var(--plum); color: #F8F4EE; }
.adm-search { display: flex; gap: 6px; margin-bottom: 9px; }
.adm-search input {
  flex: 1 1 auto; min-width: 0; border: 1px solid var(--line); border-radius: 11px; background: var(--card);
  padding: 10px 12px; font-size: 12.5px; outline: none;
}
.adm-search input:focus { border-color: var(--lav-2); }
.adm-user { border: 1px solid var(--line); background: var(--card); border-radius: 13px; padding: 11px 12px; margin-bottom: 7px; }
.adm-user .mail { font-size: 12.5px; font-weight: 800; word-break: break-all; color: var(--ink); }
.adm-user.banned { border-color: #EBC6C1; background: #FCF4F2; }
.adm-user .meta { font-size: 10.5px; color: var(--muted); margin-top: 2px; }
.adm-acts { display: flex; gap: 7px; align-items: stretch; margin-top: 9px; }
.adm-acts .btn { flex: 1 1 0; min-width: 0; white-space: nowrap; padding: 8px 6px; }
.adm-req { border: 1px solid var(--line); background: var(--card); border-radius: 13px; padding: 12px 13px; margin-bottom: 8px; }

/* 320px */
@media (max-width: 360px) {
  .hero h1 { font-size: 25px; }
  .hero { padding: 20px 16px 6px; }
  .wrap, .wrap-tight { padding-left: 13px; padding-right: 13px; }
  .tb-title { font-size: 15px; }
  .tb-sub { font-size: 10.5px; }
  .adm-acts .btn { font-size: 11px; padding: 8px 4px; }
  .adm-tabs button { font-size: 10.5px; }
  .chan-pick button { font-size: 11px; }
}

/* ───────── 입금 안내 ───────── */
.pay-box { border: 1px solid #E0D4F1; background: #F7F1FB; border-radius: 14px; padding: 12px 13px; }
.pay-box-t { font-size: 12px; font-weight: 800; color: var(--plum); margin-bottom: 8px; }
.pay-line { display: flex; align-items: center; gap: 8px; font-size: 12px; padding: 4px 0; flex-wrap: wrap; }
.pay-k { width: 58px; flex: none; color: var(--muted); font-size: 11.5px; }
.pay-v { font-weight: 700; color: var(--ink-2); }
.pay-num { font-size: 14px; letter-spacing: 0.02em; color: var(--plum); font-variant-numeric: tabular-nums; }
.pay-holder { font-size: 11px; color: var(--muted); }
.pay-copy { margin-left: auto; border: 1px solid #D8CBE0; background: var(--card); color: var(--lav-2); border-radius: 8px; padding: 5px 8px; font-size: 10.5px; font-weight: 800; cursor: pointer; }
.pay-copy:active { background: var(--lav-soft); }
.chk { display: flex; align-items: center; }
.chk input { width: 16px; height: 16px; accent-color: #2A1F3D; }

/* 약관 동의 체크 — 가입·유료 신청 화면 (2026-11-22) */
.agree {
  margin: 10px 0 6px; padding: 10px 12px;
  background: var(--card-2, #F7F1FB); border: 1px solid var(--line, #E0D4F1); border-radius: 12px;
}
.agree .chk { align-items: flex-start; gap: 8px; margin: 0; font-size: 12.5px; line-height: 1.45; color: var(--ink-2); }
.agree .chk input { flex: none; margin-top: 1px; }
.agree-links { margin: 6px 0 0 24px; font-size: 11.5px; color: var(--muted); line-height: 1.7; }
.agree-links a { color: var(--lav-2, #6B4FA0); font-weight: 800; text-decoration: none; }
.item .switch { flex: none; }

/* ── ALL-IN-ONE 올인원 (2026-11-20) ───────────────────────── */
.pill.aio {
  background: linear-gradient(135deg, #F4C169, #C9A227); color: #3A2A05; border: 1px solid #E3BC63;
  font-weight: 800; letter-spacing: -0.01em;
}
.aio-note {
  margin: 9px 0 0; padding: 8px 10px; border-radius: 10px;
  background: #FBF3DC; border: 1px solid #EBD9A8; color: #6B5104;
  font-size: 11.5px; line-height: 1.65; font-weight: 600;
}
.price-card.aio-card { background: linear-gradient(150deg, #2A1F3D, #4A3560); }

/* 체험단 비서에서 넘어온 안내 */
.aio-banner {
  margin-bottom: 12px; padding: 13px 14px; border-radius: 15px;
  background: linear-gradient(150deg, #FBF3DC, #F6E8C6); border: 1px solid #E7D3A0;
  box-shadow: 0 2px 10px rgba(120, 94, 30, 0.08);
}
.aio-banner .ab-t { font-size: 12px; font-weight: 800; color: #6B5104; letter-spacing: -0.01em; }
.aio-banner .ab-store { margin-top: 4px; font-size: 15px; font-weight: 800; color: var(--plum); letter-spacing: -0.02em; }
.aio-banner .ab-meta { margin-top: 3px; font-size: 11.5px; color: #7A6335; }
.aio-banner .ab-p { margin: 7px 0 0; font-size: 11.5px; line-height: 1.65; color: #6B5C3C; }
.aio-banner .btn { margin-top: 9px; }

/* 사진 */
.ph-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.ph-item { position: relative; aspect-ratio: 1 / 1; border-radius: 10px; overflow: hidden; background: var(--card-2); }
.ph-item img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ph-del {
  position: absolute; top: 3px; right: 3px; width: 22px; height: 22px; border-radius: 50%;
  background: rgba(36, 28, 51, 0.72); color: #fff; font-size: 11px; line-height: 1; display: grid; place-items: center;
}
.aio-lock { padding: 4px 2px; }
.aio-lock .al-t { font-size: 13px; font-weight: 800; color: var(--plum); }
.aio-lock p { margin: 6px 0 10px; font-size: 11.5px; line-height: 1.7; color: var(--muted); }

/* ── 필수 키워드 · 자동 검수 (2026-11-20) ───────────────────── */
.kw-area { min-height: 62px; }
.kw-chips { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 8px; }
.kw-chips:empty { display: none; }
.kw-chip {
  display: inline-block; padding: 4px 9px; border-radius: 999px;
  background: var(--lav-soft); color: var(--lav-2); border: 1px solid #DFD2F2;
  font-size: 11px; font-weight: 700; letter-spacing: -0.01em;
}
.audit {
  margin-top: 11px; padding: 11px 12px; border-radius: 14px;
  background: #F7F2E7; border: 1px solid #E6D8BC;
}
.pv-audit { flex: none; padding: 8px 11px 0; background: var(--sheet-soft); border-top: 1px solid var(--line); max-height: 28dvh; overflow-y: auto; }
.pv-audit .audit { margin: 0 0 9px; background: var(--card); }
.au-head { display: flex; align-items: center; gap: 6px; margin-bottom: 7px; }
.au-head b { font-size: 12px; font-weight: 800; color: var(--plum); letter-spacing: -0.02em; }
.au-tag {
  margin-left: auto; font-size: 9px; font-weight: 800; letter-spacing: 0.03em;
  color: #6B5104; background: #FBF3DC; border: 1px solid #E7D3A0; border-radius: 999px; padding: 2px 7px;
}
.au-row { margin-top: 8px; }
.au-row:first-of-type { margin-top: 0; }
.au-k { display: flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 700; color: var(--muted); }
.au-c { font-size: 10.5px; font-weight: 800; }
.au-c.ok { color: var(--green); }
.au-c.no { color: var(--red); }
.au-badges { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 5px; }
.au-b {
  display: inline-flex; align-items: center; gap: 3px; padding: 4px 9px; border-radius: 999px;
  font-size: 11px; font-weight: 700; letter-spacing: -0.01em; border: 1px solid transparent;
}
.au-b.ok { background: #E9F5EF; color: #22684C; border-color: #BFE2D3; }
.au-b.no { background: #FDECEA; color: var(--red); border-color: #F3C6C0; }
.au-b i { font-style: normal; font-weight: 600; opacity: 0.85; }
.au-empty { margin-top: 4px; font-size: 10.5px; line-height: 1.6; color: var(--muted-2); }
.au-bar { margin-top: 6px; height: 7px; border-radius: 999px; background: #E8DFCD; overflow: hidden; }
.au-bar i { display: block; height: 100%; border-radius: 999px; background: var(--gold); transition: width 0.2s ease; }
.au-bar i.ok { background: var(--green); }
.au-sub { margin-top: 4px; font-size: 10px; color: var(--muted-2); }
.au-chips { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 6px; }
.au-chip {
  border: 1px solid var(--line); background: var(--card); color: var(--muted);
  font-size: 10px; font-weight: 700; border-radius: 999px; padding: 3px 8px;
}
.au-chip.on { background: var(--plum); border-color: var(--plum); color: #F8F4EE; }

/* 요금제 카드 */
.tier-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.tier-card {
  text-align: left; padding: 11px; border-radius: 14px; background: var(--card);
  border: 1.5px solid var(--line); color: var(--ink);
}
.tier-card.on { border-color: var(--lav-2); background: var(--lav-soft); box-shadow: 0 0 0 3px var(--lav-soft); }
.tc-top { display: flex; align-items: center; gap: 6px; }
.tc-top b { font-size: 13px; font-weight: 800; color: var(--plum); letter-spacing: -0.02em; }
.tc-check { margin-left: auto; width: 17px; height: 17px; border-radius: 50%; background: var(--plum); color: #fff; font-size: 10px; display: grid; place-items: center; }
.tc-price { margin-top: 4px; font-size: 10.5px; color: var(--muted); }
.tc-price s { color: #A99C86; }
.tc-price b { font-size: 13px; color: var(--plum); }
.tc-lines { margin-top: 5px; font-size: 10px; line-height: 1.6; color: var(--muted); }
.pro-terms { padding: 12px; border-radius: 13px; background: var(--card-2); border: 1px solid var(--line); }
.pro-terms-t { font-size: 11.5px; font-weight: 800; color: var(--plum); margin-bottom: 5px; }
.pro-terms ul { margin: 0; padding-left: 16px; font-size: 11.5px; line-height: 1.85; color: var(--ink-2); }

/* 미리보기 */
.pv-overlay { position: fixed; inset: 0; z-index: 70; background: rgba(36, 28, 51, 0.55); display: grid; place-items: center; padding: 0; }
.pv-modal {
  width: min(520px, 100%); height: 100%; max-height: 100dvh; background: var(--paper);
  display: flex; flex-direction: column; border-radius: 0;
}
@media (min-width: 560px) { .pv-overlay { padding: 18px; } .pv-modal { height: 94dvh; border-radius: 20px; overflow: hidden; } }
.pv-head { display: flex; align-items: center; justify-content: space-between; padding: 12px 14px; background: var(--plum); color: #F8F4EE; }
.pv-head b { font-size: 14px; letter-spacing: -0.02em; }
.pv-head .tiny { color: #CFC5DC; }
.pv-head .icon-btn { color: #F8F4EE; }
.pv-scroll { flex: 1 1 auto; overflow-y: auto; padding: 10px 10px 14px; -webkit-overflow-scrolling: touch; }
.pv-phone { background: #fff; border-radius: 14px; overflow: hidden; border: 1px solid #E7E1D5; }
.pv-bar { display: flex; align-items: center; gap: 6px; padding: 8px 11px; background: #F3F5F7; border-bottom: 1px solid #E7E9EC; font-size: 10.5px; color: #6A7179; font-weight: 600; }
.pv-dot { width: 14px; height: 14px; border-radius: 4px; background: #03C75A; display: inline-block; }
.pv-page { padding: 16px 16px 24px; }
.pv-cat { font-size: 10.5px; color: #8B949E; font-weight: 700; letter-spacing: 0.02em; }
.pv-title { margin: 6px 0 4px; font-size: 19px; line-height: 1.4; letter-spacing: -0.03em; color: #1B1D21; font-weight: 800; outline: none; border-radius: 6px; }
.pv-byline { font-size: 10.5px; color: #8B949E; margin-bottom: 14px; }
.pv-p { margin: 0 0 13px; font-size: 13.5px; line-height: 1.85; color: #2B2F36; white-space: pre-wrap; word-break: keep-all; outline: none; border-radius: 6px; }
.pv-p.pv-h { font-weight: 800; font-size: 15px; margin-top: 18px; color: #1B1D21; }
.pv-title:focus, .pv-p:focus { background: #F5F9FF; box-shadow: 0 0 0 2px #D6E6FF; }
.pv-photo { margin: 0 0 14px; border-radius: 8px; overflow: hidden; background: #F2F3F5; }
.pv-photo img { width: 100%; display: block; }
.pv-note { margin: 16px 0 8px; padding-top: 10px; border-top: 1px solid #EDEFF2; font-size: 10.5px; color: #8B949E; line-height: 1.7; }
.pv-tags { font-size: 11px; color: #4C7CC9; line-height: 1.9; word-break: break-all; }
.pv-tools { flex: none; padding: 10px 12px; background: var(--sheet-soft); border-top: 1px solid var(--line); max-height: 26dvh; overflow-y: auto; }
.pv-tools-h { font-size: 11.5px; font-weight: 800; color: var(--plum); margin-bottom: 6px; }
.pv-tool-list { display: flex; flex-direction: column; gap: 5px; margin-bottom: 7px; }
.pv-tool-row { display: flex; align-items: center; gap: 6px; background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: 4px 6px; }
.pv-tool-row img { width: 34px; height: 34px; border-radius: 6px; object-fit: cover; flex: none; }
.pv-tool-t { flex: 1; font-size: 10.5px; color: var(--muted); font-weight: 600; }
.pv-acts { flex: none; display: flex; gap: 7px; padding: 9px 11px calc(9px + env(safe-area-inset-bottom)); background: var(--card); border-top: 1px solid var(--line); }
.pv-acts .btn { min-height: 42px; font-size: 12px; }
.pv-acts .btn.primary { background: var(--plum); color: #F8F4EE; }
.btn.danger { color: var(--red); border-color: #E4B9AE; }
.btn.aio { background: linear-gradient(135deg, #F4C169, #C9A227); color: #3A2A05; border-color: transparent; font-weight: 800; }
.btn.sm.on { background: var(--lav-soft); color: var(--plum); border-color: var(--lav-2); }

.tb-chip.aio { background: linear-gradient(135deg, #F4C169, #C9A227); color: #3A2A05; border-color: transparent; font-weight: 800; }

.pv-head .icon-btn { background: rgba(255, 255, 255, 0.14); border: 1px solid rgba(255,255,255,0.22); color: #F8F4EE; }

/* ── 관리자 모드 켜짐/꺼짐 칩 (2026-11-20 · 3개 앱 공통 규칙) ─────────────
   켜짐(사용 중)  : 모드 색으로 꽉 채운 배경 + 흰 글씨
   꺼짐(미사용)   : 배경 없이 연회색 테두리 + 회색 글씨 */
.btn.mode {
  background: transparent; border: 1px solid var(--line); color: var(--muted-2);
  box-shadow: none; font-weight: 700;
}
.btn.mode.is-on { color: #FBF6EC; border-color: transparent; }
.btn.mode.mode-pro.is-on {
  background: linear-gradient(135deg, #3A2C53, #2A1F3D);
  box-shadow: 0 4px 12px rgba(42, 31, 61, 0.24);
}
.btn.mode.mode-aio.is-on {
  background: linear-gradient(135deg, #E0A32E, #B87A10);
  color: #FFF9EC;
  box-shadow: 0 4px 12px rgba(184, 122, 16, 0.24);
}
@media (max-width: 360px) {
  .adm-acts .btn.mode { font-size: 11px; padding: 8px 4px; }
}

/* ── 제휴(토스 쉐어링크) 특가 카드 — 변환 탭 맨 아래 · 웹 FREE 전용 ── */
.aff { margin: 18px 0 4px; border: 1px solid var(--line); background: var(--card); border-radius: var(--radius); padding: 12px 13px 10px; box-shadow: 0 1px 2px rgba(74, 54, 32, 0.05); }
.aff .aff-head { margin: 0 1px 4px; }
.aff .aff-head b { display: block; font-size: 13.5px; font-weight: 800; letter-spacing: -0.01em; color: var(--plum); }
.aff .aff-head span { display: block; font-size: 11px; font-weight: 600; color: var(--muted); margin-top: 2px; }
.aff .aff-upd { margin: 7px 0 4px; font-size: 10.8px; font-weight: 700; line-height: 1.5; color: var(--plum-2); background: var(--lav-soft); border-radius: 8px; padding: 6px 9px; word-break: keep-all; }
.aff .aff-row { display: flex; align-items: center; gap: 10px; padding: 9px 1px; border-top: 1px solid var(--line-2); color: inherit; text-decoration: none; }
.aff .aff-row:first-of-type { border-top: 0; }
.aff .aff-row:active { background: var(--card-2); }
.aff .aff-e { width: 30px; height: 30px; flex: 0 0 auto; border-radius: 9px; background: var(--lav-soft); display: grid; place-items: center; font-size: 15px; }
.aff .aff-t { flex: 1; min-width: 0; }
.aff .aff-t b { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: 12.8px; font-weight: 720; line-height: 1.35; color: var(--ink); word-break: keep-all; }
.aff .aff-t span { display: block; font-size: 10.8px; font-weight: 600; color: var(--muted); margin-top: 2px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.aff .aff-p { flex: 0 0 auto; font-size: 13px; font-weight: 800; color: var(--plum); white-space: nowrap; letter-spacing: -0.01em; }
.aff .aff-p i { font-style: normal; font-size: 10.5px; font-weight: 700; margin-left: 1px; }
.aff .aff-note { margin: 9px 1px 0; font-size: 10.5px; line-height: 1.55; color: var(--muted-2); word-break: keep-all; }

/* ── 🔔 가입자 쪽지함 (2026-11-23) — 3개 앱 공통 ───────────────── */
.icon-btn.bell { position: relative; }
.bell-badge {
  position: absolute; top: -4px; right: -4px; min-width: 17px; height: 17px; padding: 0 4px;
  border-radius: 9px; background: #e5484d; color: #fff; font-size: 10.5px; font-weight: 800;
  line-height: 17px; text-align: center; box-shadow: 0 0 0 2px var(--card);
}
.msg-list { max-height: 56vh; overflow-y: auto; -webkit-overflow-scrolling: touch; }
.msg-item {
  border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; margin-bottom: 8px;
  background: var(--card);
}
.msg-item.unread { box-shadow: inset 3px 0 0 #e5484d; }
.msg-top { display: flex; gap: 8px; align-items: baseline; }
.msg-title { font-weight: 800; font-size: 13.5px; flex: 1; min-width: 0; }
.msg-dot { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: #e5484d; margin-right: 5px; vertical-align: middle; }
.msg-date { font-size: 11px; color: var(--muted); flex: none; }
.msg-body { font-size: 12.8px; margin-top: 5px; line-height: 1.6; white-space: pre-wrap; word-break: break-word; }
.msg-item .msg-link { margin-top: 8px; display: inline-block; text-decoration: none; }
.msg-tpl { display: flex; gap: 6px; flex-wrap: wrap; margin: 2px 0 10px; }
.msg-sel-list { max-height: 220px; overflow-y: auto; border: 1px solid var(--line); border-radius: 10px; padding: 2px 6px; }
.msg-sel-row { display: flex; align-items: center; gap: 8px; padding: 7px 4px; font-size: 12.5px; cursor: pointer; }
.msg-sel-row + .msg-sel-row { border-top: 1px solid var(--line); }
.msg-sel-row input { flex: none; width: 16px; height: 16px; accent-color: #e5484d; }
.msg-sel-row .em { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.msg-hist { border: 1px solid var(--line); border-radius: 10px; padding: 9px 11px; margin-bottom: 8px; font-size: 12.5px; background: var(--card); }
.msg-hist .t { font-weight: 750; }
.msg-hist .m { color: var(--muted); font-size: 11.5px; margin-top: 2px; }

/* ── Google 간편 로그인 버튼 (Google Identity Services) ─────────────── */
.google-login{display:flex;flex-direction:column;align-items:center;gap:8px;margin:0 0 2px}
.google-login-title{margin:0;font-size:14px;font-weight:800;color:var(--ink);text-align:center}
.google-btn{width:100%;max-width:360px;min-height:44px;display:flex;justify-content:center}
.google-btn>div{width:100%!important}
.google-login-note{margin:0;font-size:11.5px;line-height:1.55;color:var(--muted);text-align:center}
.google-login-note a{color:inherit;text-decoration:underline}
.auth-divider{display:flex;align-items:center;gap:10px;margin:14px 0 10px;color:var(--muted);font-size:11.5px}
.auth-divider::before,.auth-divider::after{content:'';flex:1 1 auto;height:1px;background:currentColor;opacity:.22}

/* ── ⚡ 비로그인 3초 체험 → 무료 가입 동선 (2026-11-25) ─────────────
   카드 배경은 밝은 크림/화이트로 고정이므로, 그 위 글씨도 진한 색으로 명시 고정한다.
   (테마 변수를 쓰면 나중에 다크 테마가 붙거나 기기 다크모드일 때 흰 배경 위 흰 글씨가 될 수 있음) */
.gt-quick {
  margin-top: 12px; padding: 14px 14px 13px; border-radius: var(--radius);
  background: linear-gradient(158deg, #FBF3DC 0%, #FAF8F5 58%, #F1ECF9 100%);
  border: 1px solid #E6D6AC; box-shadow: 0 10px 24px rgba(154, 122, 40, 0.14);
}
.gt-quick.sm { margin: 0 0 12px; padding: 12px 12px 11px; }
.gt-quick-badge {
  display: inline-flex; align-items: center; gap: 5px; padding: 3px 9px; border-radius: 999px;
  background: #fff; border: 1px solid #E3CE97; color: #6B5208;
  font-size: 10.5px; font-weight: 900; letter-spacing: 0.01em;
}
.gt-quick-t { margin-top: 8px; font-size: 14px; font-weight: 850; color: #1C1917; letter-spacing: -0.02em; line-height: 1.45; word-break: keep-all; }
/* 카드는 .hero 안에 들어 있어 .hero p(한 단계 높은 선택자)가 글씨색을 덮어쓴다.
   그래서 부제목·안내문 색은 두 단계 선택자로 진한 다크그레이를 명시 고정한다. */
.gt-quick .gt-quick-p { color: #57534E; }
.gt-quick .btn.primary { margin-top: 10px; min-height: 46px; font-size: 13px; font-weight: 850; }
.gt-quick .gt-quick-note { color: #57534E; text-align: center; }

.gt-ctacard {
  margin-top: 12px; padding: 13px 13px 12px; border-radius: var(--radius);
  background: linear-gradient(160deg, #F1ECF9 0%, #FAF8F5 70%);
  border: 1px solid #DACFE9; box-shadow: 0 8px 20px rgba(74, 54, 32, 0.1);
}
.gt-ctacard-t { font-size: 11.5px; font-weight: 850; color: #6E5C8E; letter-spacing: 0.01em; }
.gt-cta {
  display: block; width: 100%; min-height: 48px; margin-top: 8px; padding: 9px 10px; border: 0;
  border-radius: 13px; color: #F8F4EE; font-size: 12.5px; font-weight: 900; line-height: 1.4; letter-spacing: -0.01em;
  background: linear-gradient(135deg, var(--plum-2), var(--plum));
  box-shadow: 0 8px 18px rgba(42, 31, 61, 0.26);
}
.gt-cta:active { transform: scale(0.985); }
.gt-note { margin: 7px 2px 0; font-size: 10.5px; color: #57534E; line-height: 1.55; text-align: center; word-break: keep-all; }
@media (max-width: 350px) {
  .gt-quick-t { font-size: 13px; }
  .gt-cta { font-size: 11.5px; }
}
