/* 체험단 비서 — 모바일 퍼스트 스타일 (390×844 기준) */
/* 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 {
  --bg: #f4f5f7;
  --card: #ffffff;
  --card-2: #fafbfc;
  --ink: #14161b;
  --muted: #6b7280;
  --muted-2: #9aa1ac;
  --line: #e6e8ec;
  --line-2: #f0f2f5;
  --accent: #e2580c;
  --accent-2: #ff7a33;
  --accent-soft: #fff1e7;
  /* 채워진 버튼·배지(흰 글씨) 전용 그라데이션 — 다크모드에서 흰 글씨가 묻히지 않도록
     글씨가 올라가는 면은 테마와 무관하게 같은 진하기로 고정한다. */
  --grad-1: #ff7a33;
  --grad-2: #e2580c;
  --pro: #6d28d9;
  --pro-soft: #f3eeff;
  --blue: #1d4ed8;
  --blue-soft: #e8efff;
  --green: #067647;
  --green-soft: #dcfae6;
  --teal: #0e7490;
  --teal-soft: #dff5f9;
  --gray-soft: #eef0f3;
  --red: #d92d20;
  --red-soft: #fee4e2;
  --shadow-sm: 0 1px 2px rgba(16, 24, 40, 0.05);
  --shadow: 0 2px 10px rgba(16, 24, 40, 0.07), 0 1px 2px rgba(16, 24, 40, 0.05);
  --shadow-lg: 0 18px 40px rgba(16, 24, 40, 0.18);
  --r-sm: 10px;
  --r: 16px;
  --r-lg: 22px;
  --nav-h: 62px;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0f1114;
    --card: #191c21;
    --card-2: #1f232a;
    --ink: #eef1f5;
    --muted: #9aa3af;
    --muted-2: #7b8492;
    --line: #2a2f37;
    --line-2: #23282f;
    --accent: #ff8a4c;
    --accent-2: #ffa76e;
    --accent-soft: #3a2318;
    --grad-1: #e2580c;
    --grad-2: #b8420a;
    --pro: #b79bff;
    --pro-soft: #271d3d;
    --blue: #7cb8ff;
    --blue-soft: #16273c;
    --green: #4ade80;
    --green-soft: #16301f;
    --teal: #67e8f9;
    --teal-soft: #10303a;
    --gray-soft: #262b31;
    --red: #ff7b72;
    --red-soft: #3b1d1d;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.5);
    --shadow: 0 2px 10px rgba(0, 0, 0, 0.45);
    --shadow-lg: 0 18px 40px rgba(0, 0, 0, 0.55);
  }
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Pretendard", "Noto Sans KR",
    "Malgun Gothic", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  -webkit-text-size-adjust: 100%;
  word-break: keep-all;
  overflow-wrap: anywhere;
}
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; border: none; background: none; }
a { color: var(--accent); text-decoration: none; }
h1, h2, h3, h4, p { margin: 0; }
.hidden { display: none !important; }

.app {
  max-width: 480px;
  margin: 0 auto;
  min-height: 100vh;
  min-height: 100dvh;
  background: var(--bg);
  position: relative;
  padding-bottom: calc(var(--nav-h) + env(safe-area-inset-bottom));
}
.app.no-nav { padding-bottom: env(safe-area-inset-bottom); }

/* ───────── 상단 바 ───────── */
.topbar {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; gap: 10px;
  padding: calc(10px + env(safe-area-inset-top)) 16px 10px;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid transparent;
}
.topbar.scrolled { border-bottom-color: var(--line); }
.brand { display: flex; align-items: center; gap: 8px; min-width: 0; }
.brand-mark {
  width: 28px; height: 28px; border-radius: 9px; flex: none;
  background: linear-gradient(135deg, var(--accent-2), var(--accent));
  display: grid; place-items: center; color: #fff; font-size: 15px;
  box-shadow: 0 2px 6px rgba(226, 88, 12, 0.35);
}
.brand-name { font-size: 1.02rem; font-weight: 800; letter-spacing: -0.02em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.brand-name em { font-style: normal; color: var(--accent); }
.topbar .spacer { flex: 1; min-width: 0; }
.icon-btn {
  width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center;
  flex: none;
  background: var(--card); color: var(--muted); box-shadow: var(--shadow-sm);
  border: 1px solid var(--line);
}
.icon-btn:active { transform: scale(0.95); }

/* 상단 ↻ 새로고침 — 누르면 잠깐 돌고 현재 화면을 다시 읽는다 */
.icon-btn.refresh { color: var(--accent); }
.icon-btn.refresh .refresh-ico {
  display: block; line-height: 1; font-size: 1.12rem; font-weight: 700;
  transform-origin: 50% 50%; transition: transform 0.18s ease;
}
.icon-btn.refresh:active .refresh-ico { transform: rotate(-40deg); }
.icon-btn.refresh.spinning .refresh-ico { animation: rm-refresh-spin 0.62s linear infinite; }
@keyframes rm-refresh-spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) {
  .icon-btn.refresh.spinning .refresh-ico { animation-duration: 1.6s; }
}
.plan-chip {
  font-size: 0.72rem; font-weight: 800; letter-spacing: 0.02em;
  padding: 5px 9px; border-radius: 999px; background: var(--gray-soft); color: var(--muted);
  border: 1px solid var(--line);
}
.plan-chip.pro { background: var(--pro-soft); color: var(--pro); border-color: transparent; }

/* 좁은 폭(320px)에서도 제목·플랜 배지·↻·⚙️ 가 한 줄에 들어오도록 압축 (가로 넘침 방지) */
@media (max-width: 360px) {
  .topbar { gap: 6px; padding-left: 12px; padding-right: 12px; }
  .brand { gap: 6px; }
  .brand-mark { width: 26px; height: 26px; border-radius: 8px; font-size: 14px; }
  .brand-name { font-size: 0.92rem; }
  .plan-chip { font-size: 0.64rem; padding: 4px 7px; }
  .icon-btn { width: 34px; height: 34px; border-radius: 10px; }
  .icon-btn.refresh .refresh-ico { font-size: 1.02rem; }
  .topbar .btn.sm { padding: 0 10px; min-height: 32px; font-size: 0.8rem; }
}

/* ───────── 화면 ───────── */
.screen { padding: 4px 16px 24px; animation: fade 0.18s ease; }
@keyframes fade { from { opacity: 0.4; transform: translateY(4px); } to { opacity: 1; transform: none; } }
.section-title {
  display: flex; align-items: baseline; gap: 8px; margin: 22px 2px 10px;
  font-size: 0.96rem; font-weight: 800; letter-spacing: -0.01em;
}
.section-title .sub { font-size: 0.76rem; font-weight: 600; color: var(--muted); }

/* ───────── 랜딩 ───────── */
.hero { padding: 18px 2px 8px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 0.74rem; font-weight: 700; color: var(--accent);
  background: var(--accent-soft); padding: 5px 10px; border-radius: 999px;
}
.hero h1 { margin-top: 14px; font-size: 1.86rem; line-height: 1.28; letter-spacing: -0.035em; font-weight: 850; }
.hero h1 span { color: var(--accent); }
.hero p.lede { margin-top: 12px; color: var(--muted); font-size: 0.95rem; line-height: 1.62; }
.hero-actions { display: grid; gap: 9px; margin-top: 20px; }
.feature-grid { display: grid; gap: 10px; margin-top: 24px; }
.feature {
  display: flex; gap: 12px; align-items: flex-start;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r);
  padding: 14px; box-shadow: var(--shadow-sm);
}
.feature .fi {
  width: 36px; height: 36px; flex: none; border-radius: 11px; display: grid; place-items: center;
  background: var(--accent-soft); font-size: 17px;
}
.feature h3 { font-size: 0.92rem; font-weight: 800; }
.feature p { font-size: 0.8rem; color: var(--muted); margin-top: 2px; line-height: 1.5; }
.hero-shot { margin-top: 22px; }
.demo-note {
  margin-top: 14px; font-size: 0.78rem; color: var(--muted); text-align: center; line-height: 1.6;
}

/* ───────── 버튼 ───────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  min-height: 50px; padding: 0 18px; border-radius: 14px;
  font-size: 0.97rem; font-weight: 800; letter-spacing: -0.01em;
  background: var(--card); color: var(--ink); border: 1px solid var(--line);
  transition: transform 0.06s ease, opacity 0.15s ease;
}
.btn:active { transform: scale(0.985); }
.btn.primary {
  background: linear-gradient(135deg, var(--grad-1), var(--grad-2));
  color: #fff; border-color: transparent; box-shadow: 0 6px 16px rgba(226, 88, 12, 0.28);
}
.btn.pro {
  background: linear-gradient(135deg, #8b5cf6, var(--pro)); color: #fff; border-color: transparent;
  box-shadow: 0 6px 16px rgba(109, 40, 217, 0.28);
}
.btn.ghost { background: transparent; border-color: var(--line); color: var(--muted); }
.btn.danger { color: var(--red); border-color: var(--red-soft); background: var(--red-soft); }
.btn.sm { min-height: 40px; padding: 0 13px; font-size: 0.85rem; border-radius: 11px; }
.btn.block { width: 100%; }
.btn:disabled { opacity: 0.55; }
.btn-row { display: flex; gap: 8px; }
.btn-row > .btn { flex: 1; }

/* ───────── 카드/요약 ───────── */
.summary { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margintop: 0; }
.stat {
  background: var(--card); border: 1px solid var(--line); border-radius: 14px;
  padding: 11px 8px 10px; text-align: center; box-shadow: var(--shadow-sm);
  transition: transform 0.08s ease, border-color 0.15s ease;
}
.stat:active { transform: scale(0.97); }
.stat.on { border-color: var(--accent); box-shadow: 0 0 0 2px var(--accent-soft); }
.stat .n { font-size: 1.28rem; font-weight: 850; letter-spacing: -0.03em; line-height: 1.1; }
.stat .l { font-size: 0.7rem; font-weight: 700; color: var(--muted); margin-top: 3px; }
.stat.warn .n { color: var(--red); }
.stat.ok .n { color: var(--green); }
.stat.info .n { color: var(--blue); }

.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r);
  padding: 15px; box-shadow: var(--shadow-sm);
}
.card + .card { margin-top: 10px; }

/* ───────── 검색/필터 ───────── */
.searchbar {
  display: flex; align-items: center; gap: 8px; margin-top: 14px;
  background: var(--card); border: 1px solid var(--line); border-radius: 13px; padding: 0 12px;
  height: 44px;
}
.searchbar input { flex: 1; min-width: 0; border: none; outline: none; background: transparent; font-size: 0.92rem; }
.searchbar input::placeholder { color: var(--muted-2); }
.filters { display: flex; gap: 6px; overflow-x: auto; padding: 12px 0 2px; scrollbar-width: none; }
.filters::-webkit-scrollbar { display: none; }
.chip {
  flex: none; height: 34px; padding: 0 13px; border-radius: 999px;
  font-size: 0.8rem; font-weight: 700; color: var(--muted);
  background: var(--card); border: 1px solid var(--line);
}
.chip.on { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.chip.pro-lock::after { content: " PRO"; font-size: 0.62rem; color: var(--pro); font-weight: 800; }

/* ───────── 체험단 목록 ───────── */
.list { display: grid; gap: 9px; margin-top: 12px; }
.item {
  position: relative; display: block; width: 100%; text-align: left;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r);
  padding: 13px 14px 12px; box-shadow: var(--shadow-sm);
  transition: transform 0.08s ease;
}
.item:active { transform: scale(0.99); }
.item .row1 { display: flex; align-items: flex-start; gap: 8px; }
.item .name { flex: 1; font-size: 1rem; font-weight: 800; letter-spacing: -0.02em; line-height: 1.35; min-width: 0; }
.item .meta { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 6px; align-items: center; }
.item .facts { display: flex; gap: 10px; margin-top: 9px; font-size: 0.78rem; color: var(--muted); flex-wrap: wrap; }
.item .facts b { color: var(--ink); font-weight: 700; }
.item .link-hint { color: var(--accent); font-size: 0.75rem; font-weight: 700; }

.pill {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 3px 8px; border-radius: 7px; font-size: 0.7rem; font-weight: 800; letter-spacing: -0.01em;
  background: var(--gray-soft); color: var(--muted);
}
.pill.waiting { background: var(--blue-soft); color: var(--blue); }
.pill.won { background: var(--green-soft); color: var(--green); }
.pill.visited { background: var(--teal-soft); color: var(--teal); }
.pill.done { background: var(--gray-soft); color: var(--muted); }
.pill.lost { background: var(--red-soft); color: var(--red); }
.pill.platform { background: var(--accent-soft); color: var(--accent); }
.pill.plain { background: var(--card-2); color: var(--muted); border: 1px solid var(--line); }

.dday {
  flex: none; min-width: 44px; text-align: center; border-radius: 10px; padding: 5px 7px;
  font-size: 0.76rem; font-weight: 850; letter-spacing: -0.02em;
  background: var(--gray-soft); color: var(--muted);
}
.dday.soon { background: var(--accent-soft); color: var(--accent); }
.dday.today { background: var(--red); color: #fff; }
.dday.past { background: var(--line-2); color: var(--muted-2); font-weight: 700; }

.empty { text-align: center; padding: 40px 12px; color: var(--muted); }
.empty .em { font-size: 34px; margin-bottom: 8px; }
.empty p { font-size: 0.88rem; line-height: 1.6; }

/* ───────── FAB / 하단 내비 ───────── */
.fab {
  position: fixed; right: max(18px, calc(50% - 240px + 18px)); bottom: calc(var(--nav-h) + 18px + env(safe-area-inset-bottom));
  width: 56px; height: 56px; border-radius: 18px; z-index: 30;
  background: linear-gradient(135deg, var(--grad-1), var(--grad-2)); color: #fff;
  display: grid; place-items: center; font-size: 27px; font-weight: 300;
  box-shadow: 0 10px 22px rgba(226, 88, 12, 0.38);
}
.fab:active { transform: scale(0.94); }

.navbar {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 25;
  display: flex; max-width: 480px; margin: 0 auto;
  background: color-mix(in srgb, var(--card) 92%, transparent);
  backdrop-filter: saturate(180%) blur(14px);
  border-top: 1px solid var(--line);
  padding-bottom: env(safe-area-inset-bottom);
}
.navbar button {
  flex: 1; height: var(--nav-h); display: grid; place-items: center; gap: 3px;
  font-size: 0.66rem; font-weight: 700; color: var(--muted-2);
}
.navbar button .ni { font-size: 19px; line-height: 1; filter: grayscale(1); opacity: 0.7; }
.navbar button.on { color: var(--accent); }
.navbar button.on .ni { filter: none; opacity: 1; }

/* ───────── 홈 화면 추가(앱 설치) 안내 카드 ───────── */
:root { --install-card-h: 0px; }
.install-card {
  position: fixed; left: 50%; transform: translateX(-50%);
  bottom: calc(var(--nav-h) + 10px + env(safe-area-inset-bottom));
  width: calc(100% - 24px); max-width: 456px; z-index: 28;
  background: var(--card); border: 1px solid var(--line); border-radius: 18px;
  box-shadow: var(--shadow-lg); padding: 12px 14px 10px;
}
.install-card.at-bottom { bottom: calc(12px + env(safe-area-inset-bottom)); }
.install-card.ic-animate { animation: ic-in 0.3s cubic-bezier(0.2, 0.8, 0.2, 1); }
@keyframes ic-in {
  from { opacity: 0; transform: translate(-50%, 12px); }
  to { opacity: 1; transform: translate(-50%, 0); }
}
.ic-x {
  position: absolute; top: 5px; right: 6px; width: 30px; height: 30px;
  border-radius: 10px; color: var(--muted-2); font-size: 0.82rem;
  display: grid; place-items: center;
}
.ic-head { display: flex; align-items: flex-start; gap: 10px; padding-right: 26px; }
.ic-badge {
  width: 34px; height: 34px; border-radius: 11px; flex: none;
  background: var(--accent-soft); display: grid; place-items: center; font-size: 17px;
}
.ic-head-txt { min-width: 0; display: flex; flex-direction: column; }
.ic-head-txt b { font-size: 0.92rem; font-weight: 850; letter-spacing: -0.01em; }
.ic-head-txt span { font-size: 0.76rem; color: var(--muted); line-height: 1.45; margin-top: 1px; }
.ic-actions { display: flex; gap: 8px; margin-top: 10px; }
.ic-actions .ic-add { flex: 1; min-height: 40px; padding: 0 12px; font-size: 0.86rem; border-radius: 12px; }
.ic-actions .ic-later { flex: none; min-height: 40px; padding: 0 14px; font-size: 0.84rem; border-radius: 12px; }
.ic-never {
  display: block; width: 100%; margin-top: 4px; padding: 5px 0 2px;
  font-size: 0.72rem; font-weight: 700; color: var(--muted-2);
  text-decoration: underline; text-underline-offset: 2px;
}

/* 카드가 떠 있는 동안 ＋ FAB 와 본문 마지막 줄이 카드에 가리지 않게 */
.has-install-card .fab { bottom: calc(var(--nav-h) + 18px + var(--install-card-h) + env(safe-area-inset-bottom)); }
.app.has-install-card { padding-bottom: calc(var(--nav-h) + var(--install-card-h) + 30px + env(safe-area-inset-bottom)); }
.app.no-nav.has-install-card { padding-bottom: calc(var(--install-card-h) + 30px + env(safe-area-inset-bottom)); }
@media (prefers-reduced-motion: reduce) {
  .install-card.ic-animate { animation: none; }
}

/* ───────── 시트/모달 ───────── */
.backdrop {
  position: fixed; inset: 0; background: rgba(10, 12, 16, 0.45); z-index: 40;
  opacity: 0; pointer-events: none; transition: opacity 0.2s ease;
  backdrop-filter: blur(1px);
}
.backdrop.show { opacity: 1; pointer-events: auto; }
.sheet {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 41;
  max-width: 480px; margin: 0 auto; max-height: 92vh; overflow-y: auto;
  background: var(--card); border-radius: 22px 22px 0 0;
  transform: translateY(102%); transition: transform 0.26s cubic-bezier(0.2, 0.8, 0.2, 1);
  box-shadow: var(--shadow-lg); padding-bottom: calc(18px + env(safe-area-inset-bottom));
}
.sheet.show { transform: translateY(0); }
.sheet-head {
  position: sticky; top: 0; background: var(--card); z-index: 2;
  display: flex; align-items: center; gap: 10px; padding: 14px 18px 10px;
  border-bottom: 1px solid var(--line-2);
}
.sheet-head h2 { flex: 1; font-size: 1.05rem; font-weight: 850; letter-spacing: -0.02em; }
.sheet-body { padding: 14px 18px 18px; }
.sheet-cta {
  position: sticky; bottom: -1px; z-index: 3; margin: 6px -18px -18px; padding: 12px 18px calc(14px + env(safe-area-inset-bottom));
  background: color-mix(in srgb, var(--card) 96%, transparent); backdrop-filter: blur(8px);
  border-top: 1px solid var(--line-2);
}
.grabber { width: 38px; height: 4px; border-radius: 2px; background: var(--line); margin: 8px auto 0; }

.modal {
  position: fixed; inset: 0; z-index: 42; display: grid; place-items: center; padding: 20px;
  opacity: 0; pointer-events: none; transition: opacity 0.18s ease;
}
.modal.show { opacity: 1; pointer-events: auto; }
.modal-card {
  width: 100%; max-width: 420px; max-height: 88vh; overflow-y: auto;
  background: var(--card); border-radius: 22px; box-shadow: var(--shadow-lg);
  padding: 20px 20px 26px; transform: translateY(10px) scale(0.98); transition: transform 0.2s ease;
}
.modal.show .modal-card { transform: none; }

/* ───────── 폼 ───────── */
.field { margin-bottom: 13px; }
.field > label { display: block; font-size: 0.78rem; font-weight: 800; color: var(--muted); margin-bottom: 6px; }
.field .hint { font-size: 0.72rem; color: var(--muted-2); font-weight: 600; margin-left: 4px; }
.input, .select, .textarea {
  width: 100%; min-height: 46px; padding: 11px 13px; border-radius: 12px;
  background: var(--card-2); border: 1px solid var(--line); outline: none;
  font-size: 0.94rem; color: var(--ink);
}
.textarea { min-height: 74px; resize: vertical; line-height: 1.5; }
.input:focus, .select:focus, .textarea:focus { border-color: var(--accent); background: var(--card); box-shadow: 0 0 0 3px var(--accent-soft); }
.input.err { border-color: var(--red); background: var(--red-soft); }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.form-error {
  display: none; margin: -4px 0 10px; font-size: 0.8rem; font-weight: 700; color: var(--red);
  background: var(--red-soft); padding: 9px 12px; border-radius: 10px;
}
.form-error.show { display: block; }
.form-note { font-size: 0.74rem; color: var(--muted-2); line-height: 1.55; }

/* 플랫폼 검색 콤보박스 (2026-11-19) — 검색어로 거른 가나다순 목록에서 원터치 선택 */
.combo { position: relative; }
.combo-input { padding-right: 38px; }
.combo-btn {
  position: absolute; right: 6px; top: 23px; transform: translateY(-50%);
  width: 30px; height: 30px; border-radius: 9px; border: 0; background: transparent;
  color: var(--muted); font-size: 15px; line-height: 1;
}
.combo-btn:active { background: var(--accent-soft); color: var(--accent); }
.combo-list {
  display: none; margin-top: 6px; max-height: 240px; overflow-y: auto;
  -webkit-overflow-scrolling: touch; overscroll-behavior: contain;
  background: var(--card); border: 1px solid var(--line); border-radius: 12px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.10); padding: 4px;
}
.combo-list.open { display: block; }
.combo-item {
  display: flex; align-items: center; gap: 8px; width: 100%; text-align: left;
  padding: 9px 10px; border: 0; border-radius: 9px; background: transparent; color: var(--ink);
  font-size: 0.86rem; font-weight: 700; line-height: 1.25;
}
.combo-item .ci-n { flex: 0 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.combo-item .ci-s { margin-left: auto; flex: none; font-size: 0.64rem; font-weight: 700; color: var(--muted-2); }
.combo-item.on { background: var(--accent-soft); color: var(--accent); }
.combo-item.custom { color: var(--pro); }
.combo-item:active { background: var(--accent-soft); }
.combo-empty { padding: 10px; font-size: 0.76rem; color: var(--muted-2); }
/* 플랫폼 목록이 열린 동안에는 하단 저장 버튼을 잠시 숨겨 목록이 가려지지 않게 한다 */
body.plat-open .sheet-cta { display: none; }

/* 가입·로그인 화면 신뢰(보안·탈퇴) 한 줄 */
.trust-line {
  display: flex; gap: 6px; align-items: flex-start;
  margin: 10px 2px 0; font-size: 0.74rem; line-height: 1.55;
  color: var(--muted); font-weight: 600;
}

/* 알림 켜기 → 설치 안내 모달로 이어질 때의 안내 */
.install-push-note {
  margin-top: 10px; padding: 10px 12px; border-radius: 12px;
  background: var(--accent-soft); color: var(--accent);
  font-size: 0.8rem; line-height: 1.6; font-weight: 600;
}

/* 로그인 옵션 (이메일 기억하기 · 자동 로그인 유지) */
.auth-options {
  margin: 2px 0 8px; padding: 4px 12px;
  background: var(--card-2); border: 1px solid var(--line); border-radius: 12px;
}
.auth-options .check {
  display: flex; align-items: center; gap: 10px; min-height: 42px;
  font-size: 0.88rem; font-weight: 700; color: var(--ink); cursor: pointer;
  -webkit-tap-highlight-color: transparent; user-select: none;
}
.auth-options .check + .check { border-top: 1px solid var(--line); }
.auth-options .check input[type="checkbox"] {
  width: 20px; height: 20px; margin: 0; flex: none;
  accent-color: var(--accent); cursor: pointer;
}
.auth-options .check:active { opacity: 0.75; }

/* 약관 동의 체크 — 가입·유료 신청 화면 (2026-11-22) */
.agree {
  margin: 10px 0 6px; padding: 10px 12px;
  background: var(--card-2); border: 1px solid var(--line); border-radius: 12px;
}
.agree .check {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 0.86rem; font-weight: 700; color: var(--ink); line-height: 1.45;
  cursor: pointer; -webkit-tap-highlight-color: transparent; user-select: none;
}
.agree .check input[type="checkbox"] {
  width: 20px; height: 20px; margin: 1px 0 0; flex: none;
  accent-color: var(--accent); cursor: pointer;
}
.agree .check:active { opacity: 0.75; }
.agree-links { margin: 6px 0 0 30px; font-size: 0.78rem; color: var(--muted); line-height: 1.7; }
.agree-links a { color: var(--accent); font-weight: 700; text-decoration: none; }

/* ───────── PRO / 리포트 ───────── */
.pro-hero {
  border-radius: var(--r-lg); padding: 18px;
  background: linear-gradient(140deg, #241b45, #3b2a70 55%, #5b21b6);
  color: #fff; box-shadow: 0 12px 26px rgba(76, 29, 149, 0.3); position: relative; overflow: hidden;
}
.pro-hero::after {
  content: ""; position: absolute; width: 180px; height: 180px; right: -60px; top: -70px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.22), transparent 65%);
}
.pro-hero .tag { font-size: 0.7rem; font-weight: 800; letter-spacing: 0.08em; opacity: 0.85; }
.pro-hero h2 { margin-top: 6px; font-size: 1.22rem; font-weight: 850; letter-spacing: -0.02em; line-height: 1.35; }
.pro-hero p { margin-top: 7px; font-size: 0.82rem; opacity: 0.86; line-height: 1.55; }
.pro-hero .btn { margin-top: 14px; background: #fff; color: #3b2a70; border: none; box-shadow: none; }

.report-top { display: flex; align-items: center; gap: 16px; }
.big-money { font-size: 2rem; font-weight: 850; letter-spacing: -0.045em; line-height: 1.1; }
.big-money small { font-size: 0.9rem; font-weight: 700; color: var(--muted); margin-left: 3px; }
.ring {
  --p: 0; width: 86px; height: 86px; flex: none; border-radius: 50%;
  background: conic-gradient(var(--accent) calc(var(--p) * 1%), var(--line-2) 0);
  display: grid; place-items: center; position: relative;
}
.ring::before { content: ""; position: absolute; inset: 9px; border-radius: 50%; background: var(--card); }
.ring span { position: relative; font-size: 0.86rem; font-weight: 850; }
.ring span small { display: block; font-size: 0.58rem; color: var(--muted); font-weight: 700; text-align: center; }
.bars { display: flex; align-items: flex-end; gap: 9px; height: 104px; margin-top: 14px; }
.mini-select {
  flex: none; width: 96px; border: 1px solid var(--line); background: var(--card-2); color: var(--muted);
  border-radius: 9px; height: 30px; padding: 0 4px; font-size: 0.74rem; font-weight: 700;
  text-overflow: ellipsis; appearance: none; text-align: center;
}
.bar { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 5px; justify-content: flex-end; height: 100%; }
.bar .col {
  width: 100%; border-radius: 8px 8px 4px 4px; background: var(--accent-soft);
  min-height: 6px; transition: height 0.4s cubic-bezier(0.2, 0.8, 0.2, 1); position: relative;
}
.bar.on .col { background: linear-gradient(180deg, var(--accent-2), var(--accent)); }
.bar .v { font-size: 0.62rem; font-weight: 800; color: var(--muted); }
.bar .m { font-size: 0.66rem; color: var(--muted-2); font-weight: 700; }
.plat-row { display: flex; align-items: center; gap: 10px; padding: 9px 0; border-bottom: 1px solid var(--line-2); }
.plat-row:last-child { border-bottom: none; }
.plat-row .pn { flex: 1; font-size: 0.86rem; font-weight: 700; }
.plat-row .pv { font-size: 0.84rem; font-weight: 800; }
.plat-bar { height: 5px; border-radius: 3px; background: var(--accent-soft); margin-top: 5px; }
.plat-bar i { display: block; height: 100%; border-radius: 3px; background: var(--accent); }

.locked {
  text-align: center; padding: 30px 16px; border: 1px dashed var(--line);
  border-radius: var(--r); background: var(--card);
}
.locked .lk { font-size: 28px; }
.locked h3 { margin-top: 8px; font-size: 1rem; font-weight: 850; }
.locked p { margin-top: 5px; font-size: 0.83rem; color: var(--muted); line-height: 1.6; }
.locked .btn { margin-top: 14px; }
.locked .web-notice { margin-top: 14px; text-align: left; }

/* ───────── 앱(TWA) 전용 PRO 안내 ───────── */
.web-notice { border: 1px solid var(--line); border-radius: var(--r); background: var(--card); padding: 14px; }
.web-notice.compact { padding: 12px 13px; }
.web-notice .wn-t { font-size: 0.9rem; font-weight: 850; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.web-notice .wn-p { margin-top: 7px; font-size: 0.83rem; color: var(--muted); line-height: 1.7; word-break: keep-all; }
.web-notice .wn-url { color: var(--ink); word-break: break-all; }
.web-notice .web-copy { margin-top: 11px; min-height: 36px; padding: 0 12px; font-size: 0.8rem; }

/* ───────── 설정 ───────── */
.rows { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.row {
  display: flex; align-items: center; gap: 12px; padding: 14px 15px; width: 100%; text-align: left;
  border-bottom: 1px solid var(--line-2); font-size: 0.9rem; font-weight: 600;
}
.row:last-child { border-bottom: none; }
.row .ri { width: 24px; text-align: center; font-size: 16px; }
.row .rl { flex: 1; min-width: 0; }
.row .rv { color: var(--muted); font-size: 0.82rem; font-weight: 700; }
/* 설정 > 업그레이드 줄의 가격 — 320px·큰 글씨에서도 '정가 / 할인가 / 30일'이 겹치지 않게 줄바꿈 허용 */
.row-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 7px; margin-top: 3px; }
.row-price .rp-chip {
  display: inline-block; flex: none; padding: 1px 6px; border-radius: 6px;
  background: var(--pro-soft); color: var(--pro); border: 1px solid var(--line);
  font-size: 0.62rem; font-weight: 850; letter-spacing: -0.01em; white-space: nowrap;
}
.row-price .rp-now { display: inline-flex; align-items: baseline; gap: 3px; white-space: nowrap; }
.row-price .rp-now b { color: var(--pro); font-size: 0.9rem; font-weight: 850; }
.row-price .rp-per { font-size: 0.74rem; font-weight: 700; color: var(--muted); }
.row-price .rp-list { font-size: 0.72rem; color: var(--muted-2); white-space: nowrap; }
.row .chev { color: var(--muted-2); font-size: 1.05rem; }
.row:active { background: var(--card-2); }
/* 같은 개발자의 다른 앱 — 맨 위 HAROO STUDIO 공식 홈 대표 카드 (시안 B · 웜 크림·코랄) */
.studio-card {
  display: flex; align-items: center; gap: 12px; margin: 0 0 10px;
  padding: 13px 14px; border-radius: var(--r); text-decoration: none;
  background: #fff7f2; border: 1.5px solid #fdba74; box-shadow: var(--shadow-sm);
}
.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: 1.02rem; color: #1f2937; letter-spacing: -0.025em; line-height: 1.35;
}
.studio-card .sc-sub {
  display: block; margin-top: 2px; font-size: 0.76rem; font-weight: 600;
  color: #6b7280; line-height: 1.5; word-break: keep-all;
}
.studio-card .sc-url { display: block; margin-top: 3px; font-size: 0.72rem; font-weight: 700; color: #ea580c; word-break: break-all; }
.studio-card .sc-go { flex: none; color: #ea580c; font-size: 1.15rem; line-height: 1; font-weight: 700; }
.studio-card:active { background: #ffefe6; }
.switch { width: 46px; height: 28px; border-radius: 999px; background: var(--line); position: relative; transition: background 0.18s; flex: none; }
.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.25);
}
.switch.on { background: var(--green); }
.switch.on::after { transform: translateX(18px); }

/* ───────── 기타 ───────── */
.toast {
  position: fixed; left: 50%; bottom: calc(var(--nav-h) + 26px); transform: translate(-50%, 16px);
  background: rgba(20, 22, 27, 0.94); color: #fff; padding: 11px 16px; border-radius: 12px;
  font-size: 0.84rem; font-weight: 700; z-index: 60; opacity: 0; pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease; max-width: calc(100% - 40px); text-align: center;
  line-height: 1.45;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.toast.ok { background: #0f7a45; }
.toast.err { background: #b42318; }

.kv { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; font-size: 0.85rem; border-bottom: 1px solid var(--line-2); }
.kv:last-child { border-bottom: none; }
.kv .k { color: var(--muted); font-weight: 700; flex: none; }
.kv .v { text-align: right; font-weight: 650; }
.divider { height: 1px; background: var(--line); margin: 16px 0; }
.muted { color: var(--muted); }
.center { text-align: center; }
.small { font-size: 0.78rem; }
.mono { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }
.pill-free { background: var(--gray-soft); color: var(--muted); }
.badge-pro { display: inline-flex; align-items: center; gap: 4px; background: var(--pro-soft); color: var(--pro); font-size: 0.7rem; font-weight: 850; padding: 3px 8px; border-radius: 7px; }

/* PRO 가격 표시 (정가 취소선 + 오픈 이벤트가) */
.pro-price { border-color: var(--pro); background: var(--pro-soft); }
.pro-price-top { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.pro-price-top b { font-size: 0.95rem; color: var(--pro); }
.price-badge { background: var(--bg); color: var(--pro); border: 1px solid var(--pro); font-weight: 850; font-size: 0.68rem; padding: 2px 8px; }
.pro-price-line { display: flex; align-items: baseline; flex-wrap: wrap; gap: 7px; margin-top: 8px; }
.price-old { color: var(--muted-2); font-size: 0.8rem; font-weight: 650; }
.price-now { color: var(--pro); font-size: 1.32rem; font-weight: 850; letter-spacing: -0.03em; line-height: 1.2; }
.price-per { color: var(--muted); font-size: 0.76rem; font-weight: 700; }
.pro-price-note { margin-top: 3px; font-size: 0.75rem; font-weight: 750; color: var(--pro); }
.pro-terms { margin-top: 8px; padding: 11px 13px; border: 1px solid var(--line); border-radius: var(--r); background: var(--card-2); }
.pro-terms-t { font-size: 0.82rem; font-weight: 850; color: var(--ink); }
.pro-terms ul { margin: 7px 0 0; padding-left: 15px; }
.pro-terms li { font-size: 0.76rem; color: var(--muted); line-height: 1.62; margin-top: 4px; word-break: keep-all; }
.pro-terms li b { color: var(--ink); }
/* 입금 안내 */
.pay-box { margin-top: 10px; padding: 12px 13px; border: 1px solid var(--line); border-radius: var(--r); background: var(--card-2); }
.pay-box-t { font-size: 0.82rem; font-weight: 850; color: var(--ink); }
.pay-line { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 6px 8px; padding: 8px 0; border-bottom: 1px solid var(--line-2); }
.pay-line:last-child { border-bottom: none; padding-bottom: 0; }
.pay-line-block { flex-direction: column; align-items: stretch; gap: 3px; }
.pay-k { flex: none; font-size: 0.76rem; font-weight: 700; color: var(--muted); }
.pay-v { font-size: 0.84rem; font-weight: 800; color: var(--ink); text-align: right; word-break: keep-all; }
.pay-acct { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.pay-bank { font-size: 0.74rem; font-weight: 700; color: var(--muted); }
.pay-acct-row { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; }
.pay-acct .pay-num { font-size: 0.88rem; font-weight: 850; letter-spacing: 0.01em; cursor: text; user-select: all; -webkit-user-select: all; }
.pay-acct .pay-holder { font-size: 0.74rem; font-weight: 700; color: var(--muted); }
.pay-copy { flex: none; min-height: 30px; padding: 0 9px; border-radius: 9px; border: 1px solid var(--accent-soft); background: var(--accent-soft); color: var(--accent); font-size: 0.74rem; font-weight: 850; letter-spacing: -0.01em; transition: transform 0.06s ease, background 0.15s ease, color 0.15s ease; }
.pay-copy:active { transform: scale(0.96); }
.pay-copy.copied { background: var(--green-soft); border-color: var(--green-soft); color: var(--green); }
.copy-box {
  background: var(--card-2); border: 1px dashed var(--line); border-radius: 12px; padding: 12px;
  font-size: 0.8rem; color: var(--muted); line-height: 1.6; word-break: break-all;
}
.ios-tip {
  display: flex; gap: 10px; align-items: flex-start; background: var(--blue-soft); border-radius: 12px;
  padding: 11px 13px; font-size: 0.78rem; color: var(--blue); line-height: 1.55; font-weight: 600;
}
/* 체험 모드 배너: 안내 문구가 여러 줄이 되어도 오른쪽 '가입' 버튼은 한 줄로 유지 */
.ios-tip.demo-tip { align-items: center; }
.ios-tip .demo-tip-btn { white-space: nowrap; flex-shrink: 0; }
.spinner {
  width: 16px; height: 16px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, 0.35);
  border-top-color: #fff; animation: spin 0.7s linear infinite; display: inline-block;
}
.spinner.dark { border-color: var(--line); border-top-color: var(--accent); }
@keyframes spin { to { transform: rotate(360deg); } }

/* 개인정보처리방침 링크 (랜딩·설정 하단) */
.privacy-link{margin:14px 0 0;text-align:center;font-size:13px;color:var(--muted);line-height:1.9}
.privacy-link a{color:var(--muted);text-decoration:underline;text-underline-offset:2px}
.privacy-link a:hover,.privacy-link a:active{color:var(--accent)}

/* ═════════════ PRO+ : 지도 · 길찾기 · 촬영 체크리스트 (2026-11-19) ═════════════ */
.plan-chip.pro-plus { background: linear-gradient(135deg, #8b5cf6, var(--pro)); color: #fff; border-color: transparent; }

/* 하단 탭 PRO+ 배지 */
.navbar button { position: relative; }
.navbar button .nb {
  position: absolute; top: 2px; left: 50%; transform: translateX(6px);
  font-size: 0.5rem; font-weight: 850; letter-spacing: -0.01em;
  background: var(--pro-soft); color: var(--pro); border-radius: 5px; padding: 1px 4px;
  line-height: 1.35;
}

/* 지도 */
.map-wrap { position: relative; margin-top: 10px; border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.map-canvas { width: 100%; height: min(56vh, 420px); min-height: 300px; background: var(--card-2); z-index: 0; }
.map-canvas.pick { height: min(46vh, 340px); }
.map-empty {
  position: absolute; inset: 0; display: grid; place-items: center; text-align: center; padding: 18px 16px;
  font-size: 0.84rem; color: var(--muted); line-height: 1.6; pointer-events: none;
  word-break: keep-all; overflow-wrap: break-word;
  background: var(--card);
  background: color-mix(in srgb, var(--card) 92%, transparent);
}
.rm-pin-wrap { background: none; border: none; }
.rm-pin {
  width: 34px; height: 34px; border-radius: 50%;
  display: grid; place-items: center; font-size: 16px; line-height: 1;
  background: linear-gradient(135deg, var(--accent-2), var(--accent));
  border: 2px solid #fff; box-shadow: 0 3px 8px rgba(16, 24, 40, 0.35);
}
.rm-pin.won { background: linear-gradient(135deg, #34d399, var(--green)); }
.rm-pin.visited { background: linear-gradient(135deg, #67e8f9, var(--teal)); }
.rm-pin.waiting { background: linear-gradient(135deg, #93c5fd, var(--blue)); }
.leaflet-container { font: inherit; background: var(--card-2); }
.leaflet-control-attribution { font-size: 9px !important; }

/* 길찾기 버튼 */
.nav-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 12px; }
.nav-btn { min-height: 46px; font-size: 0.86rem; font-weight: 850; border-radius: 12px; letter-spacing: -0.01em; }
.nav-btn.naver { background: #03c75a; color: #fff; border-color: transparent; box-shadow: 0 4px 12px rgba(3, 199, 90, 0.28); }
.nav-btn.kakao { background: #fee500; color: #191919; border-color: transparent; box-shadow: 0 4px 12px rgba(254, 229, 0, 0.35); }

/* PRO+ 잠금 화면 히어로 */
.plus-hero {
  border-radius: var(--r-lg); padding: 18px; color: #fff; position: relative; overflow: hidden;
  background: linear-gradient(140deg, #241b45, #3b2a70 55%, #6d28d9);
  box-shadow: 0 12px 26px rgba(76, 29, 149, 0.3);
}
.plus-hero .tag { font-size: 0.7rem; font-weight: 850; letter-spacing: 0.08em; opacity: 0.85; }
.plus-hero h2 { margin-top: 6px; font-size: 1.2rem; font-weight: 850; letter-spacing: -0.02em; line-height: 1.35; }
.plus-hero p { margin-top: 7px; font-size: 0.82rem; opacity: 0.88; line-height: 1.55; }
.plus-feats { display: grid; gap: 8px; margin-top: 12px; }
.plus-feats .pf {
  display: flex; gap: 10px; align-items: flex-start; padding: 12px 13px;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow-sm);
}
.plus-feats .pf-i { font-size: 16px; flex: none; line-height: 1.3; }
.plus-feats .pf b { font-size: 0.88rem; font-weight: 850; }
.plus-feats .pf p { font-size: 0.78rem; color: var(--muted); margin-top: 2px; line-height: 1.5; }

/* 요금제 2단 선택 */
.tier-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.tier-card {
  text-align: left; padding: 12px; border-radius: 14px; background: var(--card-2);
  border: 1.5px solid var(--line); color: var(--ink); transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.tier-card.on { border-color: var(--pro); background: var(--pro-soft); box-shadow: 0 0 0 3px var(--pro-soft); }
.tc-top { display: flex; align-items: center; gap: 6px; }
.tc-top b { font-size: 0.95rem; font-weight: 850; color: var(--pro); }
.tc-check { margin-left: auto; width: 18px; height: 18px; border-radius: 50%; background: var(--pro); color: #fff; font-size: 11px; display: grid; place-items: center; }
.tc-price { margin-top: 4px; font-size: 0.72rem; color: var(--muted); line-height: 1.5; }
.tc-price s { color: var(--muted-2); }
.tc-price b { font-size: 0.95rem; color: var(--pro); }
.tc-lines { margin-top: 6px; font-size: 0.7rem; line-height: 1.6; color: var(--muted); }

/* 촬영 체크리스트 */
.ck-head { margin-bottom: 2px; }
.ck-list { margin-top: 6px; border-top: 1px solid var(--line-2); }
.ck-row { display: flex; align-items: center; gap: 10px; padding: 11px 2px; border-bottom: 1px solid var(--line-2); }
.ck-box {
  width: 26px; height: 26px; flex: none; border-radius: 8px; border: 1.5px solid var(--line);
  background: var(--card-2); color: #fff; font-size: 14px; font-weight: 900; display: grid; place-items: center;
}
.ck-box.on { background: var(--accent); border-color: var(--accent); }
.ck-label { flex: 1; min-width: 0; text-align: left; font-size: 0.9rem; font-weight: 700; color: var(--ink); }
.ck-label.done { color: var(--muted-2); text-decoration: line-through; }
.ck-del { flex: none; width: 30px; height: 30px; border-radius: 9px; color: var(--muted-2); font-size: 0.8rem; }
.ck-del:active { background: var(--line-2); }
.ck-add { display: flex; gap: 8px; margin-top: 12px; }
.ck-add .input { flex: 1; }
.ck-open { margin-top: 2px; }
.small-lock { padding: 16px 14px; }
.small-lock p { font-size: 0.82rem; color: var(--muted); line-height: 1.6; }

/* 위치 찾기 결과 */
.loc-results { margin-top: 8px; }
.loc-item {
  display: block; width: 100%; text-align: left; padding: 10px 12px; margin-top: 6px;
  background: var(--card-2); border: 1px solid var(--line); border-radius: 12px;
}
.loc-item .loc-n { display: block; font-size: 0.9rem; font-weight: 800; }
.loc-item .loc-a { display: block; font-size: 0.74rem; color: var(--muted); margin-top: 2px; }
/* 검색 결과 출처 배지: 거제(내 매장 목록) / 카카오맵 · OSM · Photon (전국) */
.loc-item .loc-src {
  display: inline-block; margin-left: 2px; padding: 1px 6px; border-radius: 999px;
  font-size: 0.62rem; font-weight: 800; letter-spacing: 0.01em; vertical-align: 1px;
  color: var(--muted); background: var(--card); border: 1px solid var(--line);
}
.loc-item:active { background: var(--accent-soft); border-color: var(--accent); }
/* 후보 순번·지역 일치 배지 — 지역명이 맞는 후보를 한눈에 */
.loc-item .loc-rank {
  display: inline-block; min-width: 16px; margin-right: 6px; text-align: center;
  font-size: 0.7rem; font-weight: 900; color: var(--muted-2);
}
.loc-item .loc-match {
  display: inline-block; padding: 1px 6px; border-radius: 999px; vertical-align: 1px;
  font-size: 0.62rem; font-weight: 800; color: var(--green);
  background: rgba(22, 163, 74, 0.12); border: 1px solid rgba(22, 163, 74, 0.28);
}
.loc-item.match { border-color: rgba(22, 163, 74, 0.45); }

/* 현재 핀 카드 — 위치 수정/초기화 시트·상세 공통 */
.pin-cur {
  display: flex; gap: 8px; align-items: flex-start; margin-top: 4px; padding: 10px 12px;
  background: var(--card-2); border: 1px dashed var(--line-2); border-radius: 12px;
}
.pin-cur.on { border-style: solid; border-color: rgba(29, 78, 216, 0.35); background: var(--accent-soft); }
.pin-cur .pin-cur-i { font-size: 1rem; line-height: 1.3; }
.pin-cur .pin-cur-t { flex: 1; min-width: 0; font-size: 0.82rem; font-weight: 700; line-height: 1.45; }
.pin-acts { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 8px 0 12px; }
.pin-acts .btn:only-child { grid-column: 1 / -1; }
@media (max-width: 380px) { .pin-acts { grid-template-columns: 1fr; } }
.rm-pin.pin-edit { background: #1d4ed8; color: #fff; }

.pick-wrap { position: relative; margin-top: 4px; }
/* 위치 찾기·지도 안내 (기본 위치가 어디인지 헷갈리지 않게) */
.loc-guide {
  display: block; margin: 0 0 10px; padding: 11px 12px; border-radius: 12px;
  background: var(--pro-soft); border: 1px solid var(--line); color: var(--ink);
  font-size: 0.76rem; line-height: 1.6; word-break: keep-all; overflow-wrap: break-word;
}
.loc-guide .lg-t { display: block; margin-bottom: 2px; font-size: 0.82rem; font-weight: 850; color: var(--pro); }
.loc-guide.pick { margin: 0 0 8px; }
.map-hint { margin-top: 8px; word-break: keep-all; overflow-wrap: break-word; }
.pick-read { margin-top: 8px; font-size: 0.78rem; color: var(--muted); line-height: 1.5; }
.pick-read #pick-coord { font-weight: 800; color: var(--ink); }
.pick-read .pick-addr { margin-top: 2px; }
.pick-read .pick-addr b { color: var(--ink); }

/* ───────── 광고/제휴 자리 (하단 탭 바 바로 위 · 작은 배너) ─────────
   광고가 없으면 얇은 '문의' 안내 카드, 실제 배너가 생기면 ads.js 만 고치면 된다. */
.adslot { margin: 14px 0 4px; }
.adslot.has-fab .ad.noimg { padding-right: 56px; }
.ad {
  display: block; position: relative; width: 100%;
  text-align: left; text-decoration: none; color: inherit;
  background: linear-gradient(135deg, var(--accent-soft), var(--card));
  border: 1px dashed var(--line-2);
  border-radius: 14px;
  padding: 9px 12px;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.ad:active { filter: brightness(0.97); }
.ad .adbadge {
  display: inline-block; font-size: 0.58rem; font-weight: 800; letter-spacing: 0.02em;
  color: var(--muted); background: var(--card);
  border: 1px solid var(--line); border-radius: 6px;
  padding: 3px 6px; white-space: nowrap;
}
.ad .adtxt { display: block; margin-top: 6px; padding-right: 18px; }
.ad .adtxt b { display: block; font-size: 0.78rem; font-weight: 800; color: var(--ink); line-height: 1.4; word-break: keep-all; }
.ad .adtxt span { display: block; margin-top: 2px; font-size: 0.7rem; color: var(--muted); line-height: 1.5; word-break: keep-all; overflow-wrap: break-word; }
.ad .adarrow { position: absolute; right: 11px; top: 10px; font-size: 0.72rem; line-height: 1; color: var(--muted-2); font-weight: 700; }
.ad.compact { padding: 8px 11px; }
.ad.compact .adtxt { margin-top: 5px; }
.ad.compact .adtxt b { font-size: 0.76rem; }
.ad.compact .adtxt span { font-size: 0.68rem; }
.ad.hasimg {
  display: block; padding: 0; border-style: solid; border-color: var(--line);
  overflow: hidden; background: var(--card);
}
.ad.hasimg img { display: block; width: 100%; height: auto; max-height: 120px; object-fit: cover; border-radius: 13px; }
.ad.hasimg .adbadge { position: absolute; left: 8px; top: 8px; }
.ad-html img { max-width: 100%; height: auto; display: block; }
.pick-cross {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -60%);
  font-size: 30px; font-weight: 900; color: var(--accent); text-shadow: 0 1px 3px rgba(0, 0, 0, 0.35);
  pointer-events: none; z-index: 500; line-height: 1;
}

/* ── ALL-IN-ONE 올인원 (2026-11-20) ───────────────────────── */
.plan-chip.aio { background: linear-gradient(135deg, #f59e0b, #e2580c); color: #fff; border-color: transparent; }
.badge-aio {
  display: inline-flex; align-items: center; gap: 4px; padding: 3px 8px; border-radius: 7px;
  background: linear-gradient(135deg, #fff3d6, #ffe7c2); color: #8a4b05;
  font-size: 0.68rem; font-weight: 900; letter-spacing: -0.01em; border: 1px solid #f6d79b;
}
.btn.aio {
  background: linear-gradient(135deg, #f59e0b, #e2580c); color: #fff; border-color: transparent;
  font-weight: 850; box-shadow: 0 2px 8px rgba(226, 88, 12, 0.22);
}
.btn.aio.on { background: var(--accent-soft); color: var(--accent); border-color: var(--accent); box-shadow: none; }

/* 상승 플랜 줄 */
.row.aio-row { background: linear-gradient(135deg, rgba(245,158,11,0.10), rgba(226,88,12,0.06)); }
.row.aio-row.on { background: var(--accent-soft); }
.aio-note-inline {
  display: inline-block; margin-top: 4px; padding: 3px 8px; border-radius: 8px;
  background: #fff7e8; border: 1px solid #f6dfb4; color: #8a4b05;
  font-size: 0.7rem; font-weight: 800; line-height: 1.5;
}
@media (prefers-color-scheme: dark) {
  .aio-note-inline { background: #2a2318; border-color: #4a3a1c; color: #f6c877; }
  .badge-aio { background: #3a2c14; border-color: #5b4420; color: #f8cf87; }
}

/* 3단 요금제(PRO · PRO+ · ALL-IN-ONE) — 320px·큰 글씨에서도 가격이 겹치지 않도록 세로 1열 */
.tier-grid.tier-grid-3 { grid-template-columns: 1fr; gap: 8px; }
.tier-grid.tier-grid-3 .tier-card { padding: 13px 14px; }
.tier-grid.tier-grid-3 .tc-top { flex-wrap: wrap; gap: 6px; }
.tier-grid.tier-grid-3 .tc-top b { font-size: 1rem; }
.tier-grid.tier-grid-3 .tc-check { flex: none; }
.tier-grid.tier-grid-3 .tc-off {
  display: inline-flex; align-items: center; flex: none; padding: 2px 7px; border-radius: 7px;
  background: var(--pro-soft); color: var(--pro); border: 1px solid var(--line);
  font-size: 0.62rem; font-weight: 850; letter-spacing: -0.01em; white-space: nowrap;
}
.tier-grid.tier-grid-3 .tc-price {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 8px;
  margin-top: 6px; font-size: 0.74rem; line-height: 1.5;
}
.tier-grid.tier-grid-3 .tc-price .tc-list { color: var(--muted-2); white-space: nowrap; }
.tier-grid.tier-grid-3 .tc-price .tc-now { display: inline-flex; align-items: baseline; gap: 4px; white-space: nowrap; }
.tier-grid.tier-grid-3 .tc-price b { font-size: 1.06rem; font-weight: 850; color: var(--pro); }
.tier-grid.tier-grid-3 .tc-price .tc-per { font-size: 0.7rem; font-weight: 700; color: var(--muted); }
.tier-grid.tier-grid-3 .tc-lines {
  margin-top: 8px; padding-top: 8px; border-top: 1px dashed var(--line-2);
  font-size: 0.76rem; line-height: 1.6; word-break: keep-all; overflow-wrap: break-word;
}
.aio-terms { border-color: #f6d79b; background: linear-gradient(135deg, #fffaf0, #fff4e2); }
.aio-terms .pro-terms-t { color: #8a4b05; }
@media (prefers-color-scheme: dark) {
  .aio-terms { background: #241d13; border-color: #4a3a1c; }
  .aio-terms .pro-terms-t { color: #f6c877; }
}

/* 카드 안의 리뷰 쓰기 버튼 */
.item-wrap { display: flex; flex-direction: column; gap: 0; }
.item-wrap .item { border-radius: 16px 16px 0 0; }
.item-acts { display: flex; padding: 0 10px 10px; background: var(--card); border: 1px solid var(--line); border-top: 0; border-radius: 0 0 16px 16px; }
.item-acts .review-write { flex: 1; min-height: 36px; font-size: 0.78rem; font-weight: 800; color: #8a4b05; background: #fff8ec; border-color: #f3dcb5; }
.item-acts .review-write:active { background: #fff1d8; }
.aio-tag { display: inline-block; padding: 1px 5px; margin-left: 3px; border-radius: 5px; background: #f59e0b; color: #fff; font-size: 0.6rem; font-weight: 900; vertical-align: 1px; }
.aio-write { background: linear-gradient(135deg, #f59e0b, #e2580c); border-color: transparent; color: #fff; }
@media (prefers-color-scheme: dark) {
  .item-acts .review-write { background: #2a2318; border-color: #4a3a1c; color: #f6c877; }
}

/* 관리자 탭 (회원 / 영구정지) */
.adm-tabs { display: flex; gap: 6px; margin: 2px 0 12px; }
.adm-tabs button {
  flex: 1; padding: 9px 8px; border-radius: 11px; border: 1px solid var(--line);
  background: var(--card); color: var(--muted); font-size: 0.8rem; font-weight: 800;
}
.adm-tabs button.on { background: var(--ink); border-color: var(--ink); color: #fff; }
@media (prefers-color-scheme: dark) {
  .adm-tabs button.on { background: var(--accent); border-color: var(--accent); }
}



.summary .stat:nth-child(4) .l { font-size: 0.6rem; letter-spacing: -0.02em; white-space: nowrap; }

/* 관리자 대기 신청 카드 — 승인·반려 버튼을 카드 아래 한 줄에 나란히 (320px 에서도 누르기 쉽게) */
.adm-req-main { display: flex; align-items: center; gap: 8px; }
.adm-req-actions { display: flex; gap: 6px; margin-top: 8px; }
.adm-req-actions .btn { flex: 1 1 0; min-width: 0; white-space: nowrap; }

/* ── 관리자 모드 켜짐/꺼짐 칩 (2026-11-20 · 3개 앱 공통 규칙) ─────────────
   켜짐(사용 중)  : 모드 색으로 꽉 채운 배경 + 흰 글씨
   꺼짐(미사용)   : 배경 없이 연회색 테두리 + 회색 글씨
   색만 보고 "지금 켜진 모드"가 한눈에 보이게 하고, 켜짐/꺼짐 규칙은 앱마다 같게 둔다. */
.btn.mode {
  background: transparent; border: 1px solid var(--line); color: var(--muted-2);
  box-shadow: none; font-weight: 800;
}
.btn.mode.is-on { color: #fff; border-color: transparent; }
.btn.mode.mode-pro.is-on {
  background: linear-gradient(135deg, #8b5cf6, #6d28d9);
  box-shadow: 0 4px 12px rgba(109, 40, 217, 0.26);
}
.btn.mode.mode-plus.is-on {
  background: linear-gradient(135deg, #6366f1, #4338ca);
  box-shadow: 0 4px 12px rgba(67, 56, 202, 0.26);
}
.btn.mode.mode-aio.is-on {
  background: linear-gradient(135deg, #f59e0b, #e2580c);
  box-shadow: 0 4px 12px rgba(226, 88, 12, 0.24);
}
/* 회원 카드 모드 버튼 3개 — 320px 에서도 한 줄에 들어오게 */
@media (max-width: 360px) {
  .adm-plan-row .btn.mode { font-size: 0.68rem; padding: 8px 2px; }
}

/* ── 제휴(토스 쉐어링크) 특가 배너 — 첫 화면 요약 카드 아래 · 웹 FREE 전용 ── */
.aff-banner { margin: 0 0 12px; border: 1px solid var(--line); background: var(--card); border-radius: 14px; padding: 10px 12px 8px; box-shadow: var(--shadow-sm); }
.aff-banner .aff-head b { display: block; font-size: 0.8rem; font-weight: 800; color: var(--accent); letter-spacing: -0.01em; }
.aff-banner .aff-head span { display: block; font-size: 0.68rem; font-weight: 600; color: var(--muted); margin-top: 1px; }
.aff-banner .aff-upd { margin: 6px 0 4px; font-size: 0.65rem; font-weight: 700; line-height: 1.45; color: var(--accent); background: var(--accent-soft); border-radius: 7px; padding: 5px 8px; word-break: keep-all; }
.aff-banner .aff-rows { display: block; }
.aff-banner .aff-row { display: flex; align-items: center; gap: 9px; padding: 7px 0; border-top: 1px solid var(--line-2); color: inherit; text-decoration: none; }
.aff-banner .aff-row:first-of-type { border-top: 0; }
.aff-banner .aff-row:active { background: var(--card-2); }
.aff-banner .aff-e { width: 26px; height: 26px; flex: 0 0 auto; border-radius: 8px; background: var(--accent-soft); display: grid; place-items: center; font-size: 0.8rem; }
.aff-banner .aff-t { flex: 1; min-width: 0; }
.aff-banner .aff-t b { display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; font-size: 0.76rem; font-weight: 750; line-height: 1.35; color: var(--ink); word-break: keep-all; }
.aff-banner .aff-t span { display: block; font-size: 0.65rem; font-weight: 600; color: var(--muted); margin-top: 1px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.aff-banner .aff-p { flex: 0 0 auto; font-size: 0.76rem; font-weight: 800; color: var(--accent); white-space: nowrap; }
.aff-banner .aff-p i { font-style: normal; font-size: 0.6rem; font-weight: 700; margin-left: 1px; }
.aff-banner .aff-note { margin: 6px 0 0; font-size: 0.62rem; line-height: 1.45; color: var(--muted-2); word-break: keep-all; }

/* ───────── 가입 유도 강화 (2026-11-22) — 랜딩 히어로 · 체험 모드 상단 배너 ───────── */
.su-trust { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.su-trust span {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 0.74rem; font-weight: 800; color: var(--accent);
  background: var(--accent-soft); border-radius: 999px; padding: 4px 10px;
}
.hero-actions .btn.su-cta { flex-direction: column; gap: 1px; min-height: 58px; padding: 9px 18px; }
.su-cta-main { font-size: 1.04rem; font-weight: 850; letter-spacing: -0.02em; }
.su-cta-sub { font-size: 0.72rem; font-weight: 700; color: rgba(255, 255, 255, 0.9); letter-spacing: -0.01em; }
.hero-actions .btn.su-demo {
  min-height: 40px; padding: 0; border: none; background: none;
  color: var(--muted); font-size: 0.85rem; font-weight: 700;
  text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--muted-2);
}
.su-perks {
  margin-top: 20px; padding: 13px 14px 12px; text-align: left;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r);
  box-shadow: var(--shadow-sm);
}
.su-perks-h { display: flex; align-items: center; gap: 7px; font-size: 0.84rem; font-weight: 850; }
.su-free {
  font-size: 0.64rem; font-weight: 850; color: #fff; border-radius: 999px; padding: 3px 8px;
  background: linear-gradient(135deg, var(--grad-1), var(--grad-2));
}
.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: 21px; height: 21px; flex: none; margin-top: 1px; border-radius: 50%;
  display: grid; place-items: center; font-size: 11px; font-weight: 850;
  color: var(--accent); background: var(--accent-soft);
}
.su-perk b { display: block; font-size: 0.82rem; font-weight: 800; line-height: 1.45; letter-spacing: -0.01em; }
.su-perk p { margin-top: 2px; font-size: 0.74rem; color: var(--muted); line-height: 1.5; }
.su-perk-pro {
  margin-top: 3px; padding-top: 10px; border-top: 1px dashed var(--line);
  font-size: 0.72rem; color: var(--muted); line-height: 1.55;
}
.su-perk-pro b { color: var(--pro); }

.su-demo-banner {
  display: flex; align-items: center; gap: 10px; margin: 4px 0 12px; padding: 11px 12px;
  border-radius: 14px; background: var(--accent-soft);
  border: 1px solid color-mix(in srgb, var(--accent) 30%, transparent);
  box-shadow: 0 4px 14px color-mix(in srgb, var(--accent) 12%, transparent);
}
.su-demo-ico { flex: none; font-size: 1.05rem; }
.su-demo-txt { flex: 1 1 auto; min-width: 0; }
.su-demo-txt b { display: block; font-size: 0.78rem; font-weight: 850; color: var(--accent); line-height: 1.4; }
.su-demo-txt span { display: block; margin-top: 2px; font-size: 0.71rem; color: var(--muted); line-height: 1.45; word-break: keep-all; }
.su-demo-cta {
  flex: none; white-space: nowrap; min-height: 34px; padding: 0 12px; border-radius: 10px;
  background: linear-gradient(135deg, var(--grad-1), var(--grad-2)); color: #fff;
  font-size: 0.78rem; font-weight: 850; box-shadow: 0 3px 10px rgba(226, 88, 12, 0.28);
}
.su-demo-cta:active { transform: scale(0.97); }
@media (max-width: 350px) {
  .su-demo-banner { gap: 8px; padding: 10px; }
  .su-demo-txt b { font-size: 0.74rem; }
  .su-demo-txt span { font-size: 0.68rem; }
  .su-demo-cta { padding: 0 9px; font-size: 0.72rem; }
  .su-perk b { font-size: 0.79rem; }
}

/* ── 🔔 가입자 쪽지함 (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: 2px 0 0; }
.google-login-title { margin: 0; font-size: 0.92rem; font-weight: 700; 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: 0.72rem; 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 4px; color: var(--muted); font-size: 0.76rem; }
.auth-divider::before, .auth-divider::after { content: ''; flex: 1 1 auto; height: 1px; background: currentColor; opacity: 0.22; }

/* ── ⚡ 비로그인 3초 체험 → 무료 가입 동선 (2026-11-25) ─────────────
   카드 배경은 항상 밝은 크림/화이트로 고정이므로, 그 위에 올라가는 글씨도
   테마 변수(var(--ink) 등)를 쓰지 않고 진한 색으로 명시 고정한다.
   (다크모드에서 var(--ink)가 밝은 색으로 바뀌어 흰 배경 위 흰 글씨가 되던 문제 수정) */
.gt-hero {
  margin: 8px 0 12px; padding: 16px 15px 15px; border-radius: 18px;
  background: linear-gradient(155deg, #fff3e7 0%, #fffdfb 62%, #f6f7fb 100%);
  border: 1px solid rgba(226, 88, 12, 0.24);
  box-shadow: 0 8px 24px rgba(226, 88, 12, 0.11);
}
.gt-hero-k {
  display: inline-flex; align-items: center; gap: 5px; padding: 3px 9px; border-radius: 999px;
  background: #fff; border: 1px solid rgba(226, 88, 12, 0.32);
  font-size: 0.68rem; font-weight: 900; letter-spacing: 0.01em; color: #a8410a;
}
.gt-hero-t { margin-top: 9px; font-size: 0.95rem; font-weight: 850; line-height: 1.5; color: #1c1917; letter-spacing: -0.01em; word-break: keep-all; }
.gt-hero-p { margin: 5px 0 0; font-size: 0.73rem; color: #57534e; line-height: 1.55; word-break: keep-all; }
.gt-hero-btn {
  display: block; width: 100%; min-height: 48px; margin-top: 12px; padding: 8px 10px; border: 0;
  border-radius: 13px; color: #fff; font-size: 0.84rem; font-weight: 900; line-height: 1.35; letter-spacing: -0.01em;
  background: linear-gradient(135deg, var(--grad-1), var(--grad-2));
  box-shadow: 0 8px 18px rgba(226, 88, 12, 0.26);
}
.gt-hero-btn:active { transform: scale(0.985); }

.gt-res {
  margin: 8px 0 14px; padding: 14px 14px 13px; border-radius: 18px;
  background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow);
  animation: gtIn 0.3s ease-out both;
}
@keyframes gtIn { from { opacity: 0; transform: translateY(7px); } to { opacity: 1; transform: none; } }
.gt-res-top { display: flex; align-items: center; gap: 8px; }
.gt-badge {
  display: inline-flex; align-items: center; gap: 4px; padding: 3px 8px; border-radius: 999px;
  background: var(--green-soft); color: var(--green); font-size: 0.68rem; font-weight: 900;
}
.gt-res-plat { margin-left: auto; font-size: 0.71rem; font-weight: 800; color: var(--muted); }
.gt-res-name { margin-top: 9px; font-size: 1.06rem; font-weight: 900; letter-spacing: -0.02em; color: var(--ink); }
.gt-res-sub { margin-top: 2px; font-size: 0.74rem; color: var(--muted); }
.gt-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-top: 12px; }
.gt-fact {
  padding: 9px 6px 8px; border-radius: 12px; background: var(--card-2); border: 1px solid var(--line-2);
  text-align: center; min-width: 0;
}
.gt-fact span { display: block; font-size: 0.66rem; font-weight: 700; color: var(--muted); }
.gt-fact b { display: block; margin-top: 3px; font-size: 0.9rem; font-weight: 900; color: var(--ink); letter-spacing: -0.02em; }
.gt-fact b.gt-hot { color: var(--accent); }
.gt-fact em { display: block; margin-top: 2px; font-size: 0.63rem; font-style: normal; color: var(--muted-2); }
.gt-todo-h { margin: 13px 0 6px; font-size: 0.78rem; font-weight: 900; color: var(--ink); }
.gt-todo { margin: 0; padding: 0; list-style: none; }
.gt-todo li {
  position: relative; margin-top: 5px; padding: 8px 10px 8px 30px; border-radius: 10px;
  background: var(--card-2); font-size: 0.76rem; color: var(--ink); line-height: 1.45;
}
.gt-todo li::before {
  content: ''; position: absolute; left: 10px; top: 50%; width: 12px; height: 12px; margin-top: -6px;
  border-radius: 4px; border: 1.5px solid color-mix(in srgb, var(--accent) 45%, transparent);
}
.gt-reward {
  margin-top: 10px; padding: 9px 11px; border-radius: 11px; font-size: 0.75rem; font-weight: 800;
  color: #8a5a1d; background: #fff1e7; border: 1px dashed rgba(226, 88, 12, 0.30);
}
@media (prefers-color-scheme: dark) {
  .gt-reward { background: #2a2318; border-color: #4a3a1c; color: #f6c877; }
}
.gt-cta {
  display: block; width: 100%; min-height: 50px; margin-top: 13px; padding: 9px 10px; border: 0;
  border-radius: 14px; color: #fff; font-size: 0.84rem; font-weight: 900; line-height: 1.35; letter-spacing: -0.015em;
  background: linear-gradient(135deg, var(--grad-1), var(--grad-2));
  box-shadow: 0 8px 20px rgba(226, 88, 12, 0.28);
}
.gt-cta:active { transform: scale(0.985); }
.gt-note { margin: 7px 2px 0; font-size: 0.69rem; color: var(--muted); line-height: 1.5; text-align: center; word-break: keep-all; }
@media (max-width: 350px) {
  .gt-hero { padding: 14px 12px 13px; }
  .gt-hero-t { font-size: 0.9rem; }
  .gt-hero-btn, .gt-cta { font-size: 0.78rem; }
  .gt-fact b { font-size: 0.84rem; }
}
