/* 블로리 브랜드 — 따뜻한 코랄 (흰 글자 대비 4.5:1 이상), 초록은 "좋음·완료" 표시에만 */
:root {
  --bg: #fbf8f6;
  --card: #ffffff;
  --ink: #241b17;
  --sub: #6d615b;
  --line: #eee5e0;
  --brand: #d4432a;
  --brand-dk: #b2341f;
  --brand-soft: #fff0eb;
  --brand-grad: linear-gradient(135deg, #ff8a65 0%, #ffb37c 100%);
  --good: #15803d;
  --good-soft: #e6f4ea;
  --red: #dc2626;
  --red-soft: #fdecec;
  --amber: #b45309;
  --amber-soft: #fdf3e2;
  --gray-soft: #f4eeeb;
  --shadow: 0 1px 2px rgba(60, 30, 20, .04), 0 8px 28px rgba(60, 30, 20, .06);
}
* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Pretendard, -apple-system, 'Malgun Gothic', sans-serif;
  font-size: 15px;
  line-height: 1.55;
  word-break: keep-all;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
.wrap { max-width: 1040px; margin: 0 auto; padding: 0 16px; }
.hidden { display: none !important; }
.muted { color: var(--sub); }

/* 상단 */
.top { background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 10; }
.top-in { display: flex; align-items: center; gap: 24px; height: 60px; }
.logo { display: flex; align-items: center; gap: 8px; font-weight: 800; font-size: 20px; letter-spacing: -.03em; }
/* 말풍선 모양 b 마크 */
.logo-mark { width: 30px; height: 30px; border-radius: 10px 10px 10px 3px; background: var(--brand); color: #fff; display: grid; place-items: center; font-size: 18px; font-weight: 900; font-family: Pretendard, sans-serif; }
.logo-en { font-size: 11px; font-weight: 700; color: var(--sub); letter-spacing: .08em; margin-left: 2px; align-self: flex-end; padding-bottom: 3px; }
.nav { display: flex; gap: 4px; flex: 1; min-width: 0; overflow-x: auto; scrollbar-width: none; }
.nav::-webkit-scrollbar { display: none; }
.nav a { padding: 8px 12px; border-radius: 8px; color: var(--sub); font-weight: 600; white-space: nowrap; }
@media (max-width: 1000px) { .top-in { gap: 12px; } .nav a { padding: 7px 8px; font-size: 14px; } .logo-en { display: none; } }
.nav a.on { color: var(--brand-dk); background: var(--brand-soft); }
.account { display: flex; align-items: center; gap: 8px; font-size: 14px; }
.chip { padding: 4px 10px; border-radius: 99px; background: var(--gray-soft); color: var(--sub); font-weight: 600; font-size: 13px; white-space: nowrap; }
.chip.pro { background: var(--brand-soft); color: var(--brand-dk); }
.btn { border: 1px solid var(--line); background: #fff; padding: 7px 14px; border-radius: 8px; font-weight: 600; white-space: nowrap; }
.btn.primary, button.primary { background: var(--brand); color: #fff; border: 0; }

/* 마감 알림 메일 */
.notify-box { border: 1px solid var(--line); border-radius: 12px; margin-bottom: 14px; background: var(--bg); }
.notify-box summary { cursor: pointer; padding: 12px 14px; font-weight: 700; display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.notify-body { padding: 0 14px 14px; display: flex; flex-direction: column; gap: 10px; }
.notify-body label.check { display: inline-flex; gap: 6px; align-items: center; font-size: 14px; margin-right: 12px; }
.notify-days { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 6px; }
.notify-days .muted { margin-right: 6px; }
.nmail { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; flex-wrap: wrap; }
.nmail input { flex: 1; min-width: 200px; border: 1px solid var(--line); border-radius: 8px; padding: 8px 10px; font: inherit; }

/* 유료 회원 전용 잠금 */
.locked { position: relative; border-radius: 12px; overflow: hidden; margin: 6px 0 10px; min-height: 130px; }
.locked-fake { display: flex; flex-direction: column; gap: 10px; padding: 16px; filter: blur(3px); opacity: .55; }
.locked-fake span { display: block; height: 12px; border-radius: 6px; background: linear-gradient(90deg, #e7dcd6, #f3ebe6); }
.locked-fake span:nth-child(2) { width: 82%; }
.locked-fake span:nth-child(3) { width: 64%; }
.locked-fake span:nth-child(4) { width: 74%; }
.locked-cover { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; text-align: center; background: rgba(255, 248, 245, .7); padding: 12px; }
.locked-cover b { color: var(--brand-dk); }
.locked-cover span { font-size: 13px; color: var(--sub); }
.locked-cover .btn { margin-top: 4px; padding: 6px 14px; font-size: 13px; }

/* 무료 체험 띠 */
.trial-bar { background: var(--brand-soft); border-bottom: 1px solid #fbd9cf; font-size: 13px; }
.trial-in { display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: center; padding-top: 8px; padding-bottom: 8px; }
.trial-in b { color: var(--brand-dk); }
.trial-in .used { color: var(--sub); text-decoration: line-through; }
.trial-in a { margin-left: auto; color: var(--brand-dk); font-weight: 800; }

/* 홈 (블로리 첫 화면) */
.home-hero { text-align: center; padding: 64px 0 36px; position: relative; }
.home-hero::before { content: ''; position: absolute; inset: 20px 10% auto; height: 220px; background: var(--brand-grad); filter: blur(70px); opacity: .22; border-radius: 50%; z-index: -1; }
.pill { display: inline-block; padding: 6px 14px; border-radius: 99px; background: var(--brand-soft); color: var(--brand-dk); font-weight: 700; font-size: 13px; margin-bottom: 16px; }
.home-hero h1 { font-size: 42px; line-height: 1.25; letter-spacing: -.035em; margin: 0 0 14px; }
.brand-word { color: var(--brand); }
.home-hero p { color: var(--sub); font-size: 17px; margin: 0 0 26px; }
.home-cta { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.big-btn { padding: 13px 26px; font-size: 16px; border-radius: 12px; }
.flow-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin: 10px 0 16px; }
.step-card { position: relative; display: flex; flex-direction: column; gap: 6px; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 22px 18px; box-shadow: var(--shadow); transition: transform .15s, border-color .15s; }
.step-card:hover { transform: translateY(-2px); border-color: var(--brand); }
.step-card b { font-size: 17px; }
.step-card > span:last-child { color: var(--sub); font-size: 14px; line-height: 1.5; }
.step-no { position: absolute; top: 14px; right: 16px; font-size: 12px; font-weight: 800; color: var(--brand); background: var(--brand-soft); width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; }
.step-ico { font-size: 26px; }
.home-extra { display: flex; align-items: center; gap: 14px; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 18px 20px; margin-bottom: 8px; }
.home-extra:hover { border-color: var(--brand); }
.home-extra .arrow { margin-left: auto; font-size: 26px; color: var(--sub); }
.foot-in { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.foot-info { text-align: right; max-width: 520px; }

/* 검색 */
.hero { text-align: center; padding: 56px 0 28px; }
.hero h1 { font-size: 30px; margin: 0 0 8px; letter-spacing: -.02em; }
.hero p { color: var(--sub); margin: 0 0 24px; }
.search { display: flex; max-width: 640px; margin: 0 auto; background: #fff; border: 2px solid var(--brand); border-radius: 14px; overflow: hidden; box-shadow: var(--shadow); }
.search input { flex: 1; min-width: 0; border: 0; padding: 16px 18px; font: inherit; font-size: 16px; outline: none; }
.search button { border: 0; background: var(--brand); color: #fff; padding: 0 26px; font-weight: 700; font-size: 16px; }
.search button:disabled { opacity: .6; cursor: wait; }
.quota-line { margin-top: 14px !important; font-size: 14px; }

/* 결과 카드 */
.card { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 24px; box-shadow: var(--shadow); margin-bottom: 16px; }
.card h2 { font-size: 18px; margin: 0 0 16px; }
.profile { display: flex; align-items: center; gap: 16px; }
.profile img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; background: var(--gray-soft); }
.profile .name { font-size: 20px; font-weight: 800; }
.profile .id { color: var(--sub); font-size: 14px; }
.badge { display: inline-block; font-size: 12px; padding: 2px 8px; border-radius: 6px; background: var(--brand-soft); color: var(--brand-dk); font-weight: 700; margin-left: 6px; vertical-align: 2px; }

.score-grid { display: grid; grid-template-columns: 260px 1fr; gap: 16px; }
.grade-box { text-align: center; border-radius: 14px; padding: 24px 16px; background: var(--brand-soft); }
.grade-box.mid { background: #edf5ff; }
.grade-box.low { background: var(--gray-soft); }
.grade-box.bad { background: var(--red-soft); }
.grade-box .label { color: var(--sub); font-size: 13px; font-weight: 600; }
.grade-box .grade .unit { font-size: 20px; margin-left: 2px; }
.grade-box .grade { font-size: 44px; font-weight: 800; margin: 6px 0 2px; letter-spacing: -.02em; }
.grade-box.top .grade { color: var(--brand-dk); }
.grade-box.mid .grade { color: #1d4ed8; }
.grade-box.bad .grade { color: var(--red); }
.grade-box .total { font-size: 15px; color: var(--sub); }
.grade-box .total b { font-size: 22px; color: var(--ink); }

.bars { display: flex; flex-direction: column; gap: 12px; justify-content: center; }
.bar-row { display: grid; grid-template-columns: 120px 1fr 64px; align-items: center; gap: 10px; font-size: 14px; }
.bar { height: 10px; background: var(--gray-soft); border-radius: 99px; overflow: hidden; }
.bar i { display: block; height: 100%; background: var(--brand); border-radius: 99px; }
.bar-row .v { text-align: right; color: var(--sub); font-variant-numeric: tabular-nums; }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.stat { border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; }
.stat .k { color: var(--sub); font-size: 13px; }
.stat .n { font-size: 22px; font-weight: 800; font-variant-numeric: tabular-nums; }

.tips { margin: 0; padding-left: 20px; }
.tips li { margin-bottom: 6px; }

/* 글 목록 표 */
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 14px; }
th, td { padding: 11px 8px; border-bottom: 1px solid var(--line); text-align: left; }
th { color: var(--sub); font-weight: 600; font-size: 13px; white-space: nowrap; }
td.num, th.num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
td.title a:hover { text-decoration: underline; }
td.title { max-width: 460px; }
.st { display: inline-block; padding: 3px 9px; border-radius: 6px; font-weight: 700; font-size: 12px; white-space: nowrap; }
.st.exposed { background: var(--good-soft); color: var(--good); }
.st.missing { background: var(--red-soft); color: var(--red); }
.st.blocked, .st.unknown, .st.pending { background: var(--amber-soft); color: var(--amber); }
.summary-row { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 16px; }

.notice { padding: 16px 18px; border-radius: 12px; background: var(--amber-soft); color: #7c3a06; margin-bottom: 16px; }
.notice.err { background: var(--red-soft); color: #991b1b; }
.notice .btn { margin-top: 10px; }

.loading { text-align: center; padding: 40px 0; color: var(--sub); }
.spinner { width: 34px; height: 34px; border: 3px solid var(--line); border-top-color: var(--brand); border-radius: 50%; margin: 0 auto 12px; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.asof { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; padding: 12px 16px; margin-bottom: 16px; background: #fff; border: 1px solid var(--line); border-radius: 12px; font-size: 14px; }

/* 키워드 상위노출 분석 */
.st.blue { background: #e8f0fe; color: #1d4ed8; }
.kchip { display: inline-block; padding: 3px 9px; border-radius: 6px; font-weight: 700; font-size: 12px; white-space: nowrap; }
.k-blog { background: #dcf5e4; color: #11823b; }
.k-cafe { background: #d9f2f0; color: #0f766e; }
.k-web { background: #e7e9ee; color: #475569; }
.k-inf { background: #f3e8ff; color: #7e22ce; }
.k-kin { background: #fff1d6; color: #b45309; }
.flow { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-bottom: 14px; font-size: 13px; }
.flow-item { padding: 4px 10px; border-radius: 99px; background: var(--gray-soft); color: var(--sub); font-weight: 600; }
.flow-item.on { background: var(--brand-soft); color: var(--brand-dk); }
.flow-arrow { color: var(--sub); }
.slots { display: flex; flex-wrap: wrap; gap: 4px; }
.slot { width: 34px; height: 28px; border-radius: 6px; display: grid; place-items: center; font-size: 12px; font-weight: 700; }
.tabs { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 12px; }
.tab { border: 1px solid var(--line); background: #fff; border-radius: 99px; padding: 6px 14px; font-weight: 600; font-size: 14px; color: var(--sub); }
.tab.on { background: var(--ink); border-color: var(--ink); color: #fff; }
table.rank td.title { min-width: 240px; }
table.rank td.author { max-width: 140px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--sub); }
mark { background: #fff3a3; color: inherit; padding: 0 1px; border-radius: 3px; }
.words { display: flex; flex-wrap: wrap; gap: 8px; }
.word { border: 1px solid var(--line); border-radius: 10px; padding: 6px 10px; font-size: 14px; }
.word .muted { font-size: 12px; }

/* 맞춤 키워드 */
.search.two input + input { border-left: 1px solid var(--line); }
.kw-group { margin-bottom: 18px; }
.kw-group h3 { font-size: 15px; margin: 0 0 2px; }
.kw-group p { margin: 0 0 8px; }
.kw-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.kw-chip { border: 1px solid var(--line); background: #fff; border-radius: 99px; padding: 6px 12px; font-size: 14px; display: inline-flex; align-items: center; gap: 6px; color: var(--ink); }
.kw-chip:hover { border-color: var(--brand); }
.kw-chip.on { background: var(--brand); border-color: var(--brand); color: #fff; }
.kw-chip.on .kw-tag, .kw-chip.on .kw-vol { color: #fff; background: rgba(255,255,255,.2); }
.kw-tag { font-size: 11px; font-weight: 700; padding: 1px 6px; border-radius: 99px; background: #e8f0fe; color: #1d4ed8; }
.kw-tag.hot { background: #fde2e2; color: #b91c1c; }
.kw-vol { font-size: 12px; color: var(--sub); }

/* 자료 수집기 */
.seg { display: inline-flex; background: var(--gray-soft); border-radius: 12px; padding: 4px; margin-bottom: 14px; gap: 4px; }
.seg button { border: 0; background: transparent; padding: 8px 16px; border-radius: 9px; font-weight: 700; color: var(--sub); }
.seg button.on { background: #fff; color: var(--ink); box-shadow: 0 1px 3px rgba(0,0,0,.08); }
.pick.prod { flex-direction: row; align-items: center; gap: 12px; }
.pick.prod img { width: 64px; height: 64px; object-fit: cover; border-radius: 8px; background: var(--gray-soft); flex-shrink: 0; }
.pick.prod .pinfo { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.prod-head { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
.prod-head img { width: 110px; height: 110px; object-fit: cover; border-radius: 12px; background: var(--gray-soft); }
.price-big { font-size: 26px; font-weight: 800; }
.pick-list { display: flex; flex-direction: column; gap: 8px; }
.pick { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; text-align: left; border: 1px solid var(--line); background: #fff; border-radius: 12px; padding: 12px 14px; }
.pick:hover { border-color: var(--brand); background: var(--brand-soft); }
.store-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.report-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.report-grid > .card { margin-bottom: 16px; }
.src { font-size: 12px; font-weight: 600; color: var(--brand-dk); margin-left: 6px; }
.sub-h { font-size: 14px; margin: 14px 0 6px; }
table.hours td { padding: 3px 10px 3px 0; border: 0; vertical-align: top; font-size: 14px; }
table.menu-table td { vertical-align: top; }
.vote { display: grid; grid-template-columns: 140px 1fr 56px; gap: 8px; align-items: center; font-size: 13px; margin-bottom: 6px; }
.vote .bar { height: 8px; }
.reacts { list-style: none; padding: 0; margin: 0; }
.reacts li { padding: 10px 0; border-bottom: 1px solid var(--line); }
.reacts li:last-child { border-bottom: 0; }
.react-head { display: flex; gap: 8px; align-items: baseline; flex-wrap: wrap; margin-bottom: 2px; }
.react-body { font-size: 14px; color: var(--ink); }
details.reviews { margin-top: 14px; }
details.reviews summary { cursor: pointer; font-weight: 700; color: var(--brand-dk); }
.review { border-top: 1px solid var(--line); padding: 10px 0; font-size: 14px; }
.photos { display: grid; grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: 8px; }
.photos img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 10px; background: var(--gray-soft); display: block; }

/* 체험단 캘린더 */
.guide-input { width: 100%; border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; font: inherit; resize: vertical; min-height: 120px; }
.guide-input:focus { outline: 2px solid var(--brand); border-color: transparent; }
.row-btns { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin-top: 10px; }
.btn.danger { color: var(--red); }
.camp-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 16px; }
.cstat { padding: 4px 4px; }
.cstat .k { color: var(--sub); font-size: 13px; }
.cstat .n { font-size: 24px; font-weight: 800; }
.cstat.alert .n { color: var(--red); }
.empty { padding: 24px 0; text-align: center; margin: 0; }
.camp-item { border: 1px solid var(--line); border-radius: 14px; margin-bottom: 10px; background: #fff; }
.camp-head { display: flex; align-items: flex-start; gap: 12px; padding: 16px 18px; cursor: pointer; }
.camp-main { flex: 1; min-width: 0; }
.camp-name { font-weight: 800; font-size: 16px; margin-bottom: 4px; }
.camp-sub { color: var(--sub); font-size: 14px; margin-bottom: 6px; }
.camp-state { font-size: 14px; display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.dot { width: 9px; height: 9px; border-radius: 50%; display: inline-block; background: #9aa5a0; }
.dot.blue { background: #2563eb; }
.dot.amber { background: #d97706; }
.dot.green { background: var(--good); }
.dday { padding: 3px 10px; border-radius: 99px; font-size: 13px; font-weight: 800; white-space: nowrap; background: var(--gray-soft); color: var(--sub); }
.dday.hot { background: #ffe4d6; color: #c2410c; }
.dday.warm { background: var(--amber-soft); color: var(--amber); }
.dday.over { background: var(--red); color: #fff; }
.dday.done { background: var(--good-soft); color: var(--good); }
.camp-body { display: none; padding: 0 18px 16px; border-top: 1px solid var(--line); }
.camp-item.open .camp-body { display: block; }
.steps { display: flex; gap: 6px; margin: 14px 0; flex-wrap: wrap; }
.step { border: 1px solid var(--line); background: #fff; border-radius: 8px; padding: 6px 12px; font-size: 13px; font-weight: 600; color: var(--sub); }
.step.on { background: var(--brand-soft); border-color: transparent; color: var(--brand-dk); }
.camp-dl { display: grid; grid-template-columns: 110px 1fr; gap: 8px 12px; margin: 0; font-size: 14px; }
.camp-dl dt { color: var(--sub); font-weight: 600; }
.camp-dl dd { margin: 0; }
.kw { display: inline-block; background: #fff3a3; border-radius: 6px; padding: 1px 8px; margin: 0 4px 4px 0; font-weight: 600; }
.cautions { margin: 0; padding-left: 18px; }
.guide-raw { white-space: pre-wrap; font-family: inherit; font-size: 13px; background: var(--bg); border-radius: 10px; padding: 12px; margin: 12px 0 0; max-height: 300px; overflow: auto; }
.camp-form { max-height: 86vh; overflow: auto; }
.camp-form label { display: flex; flex-direction: column; gap: 4px; font-size: 13px; font-weight: 600; }
.camp-form textarea, .camp-form select { border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; font: inherit; font-weight: 400; }
dialog#campDlg { width: min(560px, calc(100% - 32px)); }

.cal-legend { display: flex; gap: 8px; margin-bottom: 10px; flex-wrap: wrap; }
.cal { display: grid; grid-template-columns: repeat(7, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.cal-w { text-align: center; font-size: 13px; font-weight: 700; padding: 6px 0; color: var(--sub); border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg); }
.cal-d { min-height: 92px; padding: 4px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.cal-d.empty { background: #fafbfa; }
.cal-n { font-size: 13px; font-weight: 600; color: var(--sub); }
.sun, .sun .cal-n { color: #dc2626; }
.sat, .sat .cal-n { color: #2563eb; }
.cal-d.today { background: var(--brand-soft); }
.cal-d.today .cal-n { color: var(--brand-dk); font-weight: 800; }
.ev { display: block; font-size: 12px; padding: 2px 6px; border-radius: 5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-weight: 600; }
.cal-legend .ev { display: inline-block; }
.ev-dead { background: #fde2e2; color: #b91c1c; }
.ev-vend { background: var(--amber-soft); color: var(--amber); }
.ev-visit { background: #dcf5e4; color: #11823b; }
.ev.done { opacity: .45; text-decoration: line-through; }

/* AI 글쓰기 */
.write-grid { display: grid; grid-template-columns: 400px 1fr; gap: 16px; align-items: start; }
.write-form { display: flex; flex-direction: column; gap: 12px; }
.write-out { position: sticky; top: 76px; }
.src-box { border: 1px dashed var(--line); border-radius: 12px; padding: 12px 14px; background: var(--bg); }
.src-box.loaded { border-style: solid; border-color: var(--brand); background: var(--brand-soft); }
.src-box select { border: 1px solid var(--line); border-radius: 8px; padding: 7px 10px; font: inherit; font-size: 14px; max-width: 100%; }
.form-h { font-size: 15px; margin: 10px 0 0; padding-top: 12px; border-top: 1px solid var(--line); }
.write-form label.check { flex-direction: row; align-items: center; gap: 8px; font-weight: 600; }
.photo-drop { display: flex !important; flex-direction: row !important; align-items: center; justify-content: center; gap: 8px; border: 2px dashed var(--line); border-radius: 12px; padding: 18px; cursor: pointer; background: var(--bg); }
.photo-drop:hover, .photo-drop.over { border-color: var(--brand); background: var(--brand-soft); }
.photo-drop.busy { opacity: .6; pointer-events: none; }
.photo-drop { flex-direction: column !important; padding: 26px 16px; text-align: center; }
.photo-drop.hidden { display: none !important; }
.drop-big { font-size: 16px; font-weight: 800; color: var(--brand-dk); }
.pgrid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; }
.pthumb { position: relative; aspect-ratio: 1; border: 2px solid transparent; border-radius: 8px; background: var(--gray-soft) center/cover no-repeat; padding: 0; cursor: pointer; }
.pthumb.on { border-color: var(--brand); }
.pthumb.add { display: grid; place-items: center; font-size: 24px; color: var(--sub); border: 2px dashed var(--line); background: var(--bg); }
.pthumb .pno { font-size: 11px; padding: 0 4px; top: 2px; left: 2px; }
.pthumb .pwarn { width: 16px; height: 16px; font-size: 11px; top: 2px; right: 2px; }
.pmemo-dot { position: absolute; bottom: 4px; right: 4px; width: 8px; height: 8px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 0 2px #fff; }
.pedit { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 8px; padding: 10px; border: 1px solid var(--line); border-radius: 10px; background: var(--bg); }
.pedit .pmemo { flex: 1; min-width: 140px; border: 1px solid var(--line) !important; border-radius: 8px !important; padding: 7px 10px !important; font-size: 13px !important; }
.pedit .pcap { width: 100%; border: 0; padding: 2px 0 0; font-size: 12px; }
.pslot { border: 1px solid var(--line); border-radius: 10px; overflow: hidden; background: #fff; display: flex; flex-direction: column; }
.pimg { aspect-ratio: 1; background: var(--gray-soft) center/cover no-repeat; position: relative; }
.pno { position: absolute; top: 4px; left: 4px; background: rgba(0,0,0,.6); color: #fff; border-radius: 6px; padding: 0 6px; font-size: 13px; font-weight: 700; }
.pwarn { position: absolute; top: 4px; right: 4px; background: var(--red); color: #fff; border-radius: 50%; width: 20px; height: 20px; display: grid; place-items: center; font-weight: 800; font-size: 13px; }
.pmemo { border: 0 !important; border-top: 1px solid var(--line) !important; border-radius: 0 !important; padding: 6px 8px !important; font-size: 12px !important; width: 100%; }
.pcap { font-size: 11px; color: var(--sub); padding: 4px 8px; line-height: 1.4; border-top: 1px solid var(--line); }
.pcap.warn { color: var(--red); }
.pbtns { display: flex; border-top: 1px solid var(--line); }
.pbtns button { flex: 1; border: 0; background: #fff; padding: 4px 0; font-size: 16px; color: var(--sub); }
.pbtns button:hover:not(:disabled) { background: var(--bg); color: var(--ink); }
.pbtns button:disabled { opacity: .3; }
details.material summary { cursor: pointer; font-weight: 600; font-size: 14px; color: var(--sub); }
details.material textarea { width: 100%; margin-top: 8px; border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; font: inherit; font-size: 13px; }
iframe.preview { width: 100%; height: 70vh; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.write-form label { display: flex; flex-direction: column; gap: 6px; font-weight: 600; font-size: 14px; }
.write-form input, .write-form select, .write-form textarea { border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; font: inherit; font-weight: 400; background: #fff; color: var(--ink); }
.write-form textarea { resize: vertical; min-height: 120px; }
.write-form input:focus, .write-form select:focus, .write-form textarea:focus { outline: 2px solid var(--brand); border-color: transparent; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.req { color: var(--red); }
button.big { padding: 14px; border-radius: 10px; font-weight: 700; font-size: 16px; }
button.big:disabled { opacity: .6; cursor: wait; }
.small { font-size: 13px; margin: 0; }
.out-head { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.out-head h2 { margin: 0; flex: 1; }
.out-text { white-space: pre-wrap; word-break: keep-all; overflow-wrap: anywhere; font-family: inherit; font-size: 15px; line-height: 1.8; margin: 8px 0 0; min-height: 320px; color: var(--ink); }
.out-text.placeholder { color: var(--sub); }

/* 요금제 */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 8px; }
.plan { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 24px 22px; box-shadow: var(--shadow); }
.plan.best { border: 2px solid var(--brand); }
.plan.free { background: var(--bg); box-shadow: none; }
.plan-badge { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: var(--brand); color: #fff; font-size: 12px; font-weight: 800; padding: 4px 12px; border-radius: 99px; }
.per-use { display: flex; align-items: baseline; gap: 8px; margin: 6px 0 2px; }
.per-use .per-label { font-size: 13px; font-weight: 700; color: var(--brand-dk); background: var(--brand-soft); padding: 2px 8px; border-radius: 6px; }
.per-use b { font-size: 34px; font-weight: 900; letter-spacing: -.03em; color: var(--brand); line-height: 1.2; }
.plan ul { flex: 1; }
.plan h3 { margin: 0 0 6px; font-size: 16px; }
.plan .price { font-size: 18px; font-weight: 800; margin-bottom: 2px; }
.plan .per { color: var(--sub); font-size: 13px; margin-bottom: 14px; }
.plan ul { padding-left: 18px; margin: 0 0 16px; font-size: 14px; color: var(--sub); }
.plan .btn { width: 100%; }


/* 로그인 창 */
dialog { border: 0; border-radius: 18px; padding: 0; width: min(400px, calc(100% - 32px)); box-shadow: 0 20px 60px rgba(0,0,0,.2); }
dialog::backdrop { background: rgba(16, 24, 20, .45); }
.auth { padding: 28px; display: flex; flex-direction: column; gap: 10px; position: relative; }
.auth h3 { margin: 0; font-size: 20px; }
.auth p { margin: 0 0 6px; font-size: 14px; }
.auth input { border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; font: inherit; }
.auth input:focus { outline: 2px solid var(--brand); border-color: transparent; }
.auth .primary { padding: 12px; border-radius: 10px; font-weight: 700; }
.auth .link { background: none; border: 0; color: var(--sub); font-size: 14px; }
.auth .close { position: absolute; top: 12px; right: 14px; background: none; border: 0; font-size: 24px; color: var(--sub); }
.err { color: var(--red); font-size: 14px; min-height: 0; margin: 0 !important; }

.foot { color: var(--sub); font-size: 13px; padding: 40px 0; margin-top: 40px; border-top: 1px solid var(--line); }
.foot p { margin: 4px 0; }

@media (max-width: 760px) {
  .top-in { height: auto; flex-wrap: wrap; gap: 6px 12px; padding-top: 10px; padding-bottom: 6px; }
  .logo { flex: 1; }
  .nav { order: 3; flex-basis: 100%; overflow-x: auto; }
  .nav a { padding: 6px 10px; white-space: nowrap; font-size: 14px; }
  .hero { padding: 32px 0 20px; }
  .home-hero { padding: 40px 0 24px; }
  .home-hero h1 { font-size: 29px; }
  .home-hero p { font-size: 15px; }
  .flow-steps { grid-template-columns: 1fr 1fr; gap: 10px; }
  .step-card { padding: 16px 14px; }
  .step-card b { font-size: 15px; }
  .step-card > span:last-child { font-size: 13px; }
  .foot-info { text-align: left; }
  .logo-en { display: none; }
  .hero h1 { font-size: 23px; }
  .search input { padding: 14px; font-size: 15px; }
  .search button { padding: 0 16px; }
  .score-grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .bar-row { grid-template-columns: 96px 1fr 54px; }
  .plans { grid-template-columns: 1fr; }
  .write-grid { grid-template-columns: 1fr; }
  .report-grid { grid-template-columns: 1fr; gap: 0; }
  .search.two { flex-wrap: wrap; }
  .search.two input { flex-basis: 100%; }
  .search.two input + input { border-left: 0; border-top: 1px solid var(--line); }
  .search.two button { flex: 1; padding: 12px; }
  .vote { grid-template-columns: 110px 1fr 46px; }
  .cstat .n { font-size: 20px; }
  .camp-dl { grid-template-columns: 1fr; gap: 2px; }
  .camp-dl dd { margin-bottom: 8px; }
  .cal-d { min-height: 64px; padding: 2px; }
  .ev { font-size: 10px; padding: 1px 3px; }
  .cal-legend .ev { font-size: 12px; }
  .write-out { position: static; }
  iframe.preview { height: 60vh; }
  .card { padding: 18px; }
  .posts th:nth-child(3), .posts td:nth-child(3), .posts th:nth-child(4), .posts td:nth-child(4) { display: none; }
  .posts td.title { min-width: 150px; }
  .posts td:first-child { font-size: 12px; color: var(--sub); }
  th, td { padding: 10px 6px; }
}

/* 구글·카카오 로그인 버튼 */
.social-btn { display: flex; align-items: center; justify-content: center; gap: 10px; padding: 13px 14px; border-radius: 10px; font-weight: 700; font-size: 15px; text-decoration: none; transition: filter .15s; }
.social-btn:hover { filter: brightness(.97); }
.social-btn.google { background: #fff; color: #1f1f1f; border: 1px solid #dadce0; }
.social-btn.kakao { background: #FEE500; color: rgba(0, 0, 0, .85); border: 1px solid #FEE500; }
.social-btn.off { opacity: .5; cursor: not-allowed; }
.auth .small { font-size: 12px; }
.email-login { margin-top: 4px; border-top: 1px solid var(--line); padding-top: 10px; }
.email-login summary { cursor: pointer; font-size: 13px; color: var(--sub); text-align: center; list-style: none; }
.email-login summary::-webkit-details-marker { display: none; }
.email-login form { display: flex; flex-direction: column; gap: 8px; margin-top: 10px; }

/* 마이페이지 */
.my-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.my-grid .card { margin-bottom: 0; }
#my > .card, .my-grid { margin-bottom: 16px; }
.my-row { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.my-row:last-of-type { border-bottom: 0; }
.my-row > span:first-child { color: var(--sub); }
.my-row .ok { color: var(--good); }
.my-mail { display: flex; gap: 8px; margin: 10px 0; }
.my-mail input { flex: 1; min-width: 0; border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; font: inherit; }
.my-leave summary { cursor: pointer; color: var(--sub); font-weight: 600; }
.my-leave[open] summary { margin-bottom: 10px; }
a.chip { text-decoration: none; }
@media (max-width: 720px) { .my-grid { grid-template-columns: 1fr; } }

/* 블로그 분석 — 내 블로그 고정 줄 */
.myblog { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 8px; max-width: 640px; margin: 12px auto 0; padding: 10px 14px; background: #fff; border: 1px solid var(--line); border-radius: 12px; font-size: 14px; }
.myblog .tag { color: var(--brand); font-weight: 700; font-size: 13px; }
.myblog b { font-size: 15px; }
.myblog input { flex: 1; min-width: 160px; border: 1px solid var(--line); border-radius: 8px; padding: 7px 10px; font: inherit; }
.myblog .link { background: none; border: 0; color: var(--sub); text-decoration: underline; cursor: pointer; font: inherit; }
.myblog .err { width: 100%; text-align: center; }
#setMyBlog { margin-left: auto; }

/* 점수 단계 */
.grade-box .stage { display: inline-block; margin-top: 10px; padding: 4px 12px; border-radius: 99px; background: #fff; color: var(--brand-dk); font-weight: 700; font-size: 14px; }
.stage-msg { margin: -6px 0 16px; padding: 12px 16px; border-radius: 12px; background: var(--brand-soft); color: var(--ink); font-size: 15px; }
.stage-msg b { color: var(--brand-dk); }

/* 최근 글 검색 — 1위를 놓친 글은 순위가 낮을수록 진한 빨강 */
.posts .rk1 { color: #e0816d; }
.posts .rk2 { color: #d9634a; }
.posts .rk3 { color: #cc4129; }
.posts .rk4 { color: #b42318; font-weight: 700; }
.posts .rk5 { color: #8f1010; font-weight: 800; }
.rank-legend { margin: -4px 0 12px; display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.rank-legend span { padding: 2px 8px; border-radius: 99px; background: var(--gray-soft); font-weight: 700; }
.rank-legend .rk1 { color: #e0816d; }
.rank-legend .rk2 { color: #d9634a; }
.rank-legend .rk3 { color: #cc4129; }
.rank-legend .rk4 { color: #b42318; }
.rank-legend .rk5 { color: #8f1010; }

/* 마이페이지 — 내 글 스타일 */
.style-view { margin: 6px 0 14px; }
.style-view .my-row > span:last-child { text-align: right; max-width: 70%; }
.style-form { border-top: 1px solid var(--line); padding-top: 14px; display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.style-form > div { width: 100%; }
.style-form textarea { width: 100%; border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; font: inherit; margin-bottom: 6px; resize: vertical; }
.link { background: none; border: 0; color: var(--sub); text-decoration: underline; cursor: pointer; font: inherit; padding: 0; }

/* AI 글쓰기 — 내 글 스타일 스위치 */
.style-bar { display: flex; align-items: center; gap: 12px; padding: 14px 16px; margin-bottom: 16px; border-radius: 14px; border: 1.5px solid var(--line); background: var(--gray-soft); }
.style-bar > div { flex: 1; display: flex; flex-direction: column; gap: 2px; }
.style-bar b { font-size: 15px; }
.style-bar span { font-size: 13px; color: var(--sub); }
.style-bar.on { border-color: var(--brand); background: var(--brand-soft); }
.style-bar.on b { color: var(--brand-dk); }
.style-bar.off { border-style: dashed; background: #fff; }
.switch { position: relative; width: 46px; height: 26px; flex: none; cursor: pointer; }
.switch input { position: absolute; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.switch i { position: absolute; inset: 0; border-radius: 99px; background: #cfc7c3; transition: background .15s; pointer-events: none; }
.switch i::after { content: ''; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 1px 2px rgba(0,0,0,.2); transition: transform .15s; }
.switch input:checked + i { background: var(--brand); }
.switch input:checked + i::after { transform: translateX(20px); }

/* 요금제 — 정가 취소선 + 할인 배지 */
.plan .price s { color: var(--sub); font-weight: 500; font-size: 13px; }
.plan .price .off { display: inline-block; margin-left: 4px; padding: 1px 8px; border-radius: 99px; background: var(--brand); color: #fff; font-size: 12px; font-weight: 800; vertical-align: 1px; }

/* 요금제 — 원고 1회 포함 내용 */
.per-include { margin-top: 14px; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.per-include > div { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; max-width: 900px; }
.per-include > div span { padding: 6px 12px; border-radius: 99px; background: #fff; border: 1px solid var(--line); font-size: 13px; font-weight: 600; color: var(--ink); }
.plan-badge.soft { background: #fff; color: var(--brand); border: 1.5px solid var(--brand); }

/* 마이페이지 탭 */
.my-tabs-wrap { display: flex; justify-content: center; margin-bottom: 18px; overflow-x: auto; }
.my-tabs { margin-bottom: 0; flex-wrap: nowrap; }
.my-tabs button { white-space: nowrap; }
.row-btns { display: flex; gap: 8px; flex-wrap: wrap; margin: 8px 0; }

/* 위쪽 메뉴가 잘리지 않게 — 중간 폭에서는 요금제 칩을 숨기고(마이페이지 버튼이 같은 곳으로 감),
   더 좁으면 메뉴를 아래 줄로 내려 줄바꿈 */
.account .chip { display: none; } /* 남은 횟수는 마이페이지에서 */
@media (max-width: 960px) {
  .top-in { height: auto; flex-wrap: wrap; gap: 6px 12px; padding-top: 10px; padding-bottom: 8px; }
  .logo { flex: 1; }
  .nav { order: 3; flex-basis: 100%; flex-wrap: wrap; justify-content: center; overflow: visible; gap: 2px 4px; }
  .nav a { padding: 6px 10px; font-size: 14px; }
}
@media (max-width: 420px) { .nav a { padding: 5px 8px; font-size: 13px; } .account .btn { padding: 6px 10px; } }

/* 카카오톡 오픈채팅 문의 버튼 */
.btn.kakao-btn { background: #FEE500; border-color: #FEE500; color: rgba(0, 0, 0, .85); }
#contactLine a { color: var(--sub); text-decoration: underline; }

/* 사진 크게 보기 팝업 */
.lightbox { position: fixed; inset: 0; z-index: 1000; background: rgba(20, 16, 14, .88); display: flex; align-items: center; justify-content: center; padding: 56px 16px 64px; }
.lightbox.hidden { display: none; }
.lightbox img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 8px; background: #fff; }
.lightbox button { position: absolute; border: 0; background: rgba(255, 255, 255, .14); color: #fff; cursor: pointer; border-radius: 50%; }
.lb-close { top: 12px; right: 14px; width: 44px; height: 44px; font-size: 28px; line-height: 1; }
.lb-prev, .lb-next { top: 50%; transform: translateY(-50%); width: 46px; height: 46px; font-size: 30px; line-height: 1; }
.lb-prev { left: 12px; } .lb-next { right: 12px; }
.lightbox button:hover { background: rgba(255, 255, 255, .28); }
.lb-bar { position: absolute; bottom: 16px; left: 0; right: 0; display: flex; justify-content: center; gap: 16px; color: #fff; font-size: 14px; }
.lb-bar a { color: #fff; text-decoration: underline; }

/* 자료 수집기 — 추천 상위노출 키워드 강조 */
.kw-group.best { background: var(--brand-soft); border: 1.5px solid var(--brand); border-radius: 14px; padding: 14px 16px; margin-bottom: 14px; }
.kw-group.best h3 { color: var(--brand-dk); }
.kw-group.best p { margin: 0 0 10px; }
.kw-place { margin: -4px 0 12px; }

/* 마이페이지 결제·이용 안내 */
.faq details { border-top: 1px solid var(--line); padding: 12px 0; }
.faq details:first-of-type { border-top: 0; }
.faq summary { cursor: pointer; font-weight: 700; font-size: 15px; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; color: var(--sub); font-weight: 400; font-size: 18px; line-height: 1; }
.faq details[open] summary::after { content: '−'; }
.faq details p { margin: 8px 0 0; color: var(--sub); font-size: 14px; line-height: 1.7; }

/* 푸터 링크·사업자 정보 */
.foot-links a { color: var(--sub); }
.biz-line { font-size: 12px; color: var(--sub); }

/* 이용약관·개인정보처리방침 */
.legal { max-width: 820px; padding: 32px 16px 64px; line-height: 1.8; font-size: 15px; }
.legal h1 { font-size: 28px; margin: 0 0 4px; }
.legal h2 { font-size: 18px; margin: 32px 0 8px; }
.legal table { width: 100%; border-collapse: collapse; font-size: 14px; margin: 8px 0; }
.legal th, .legal td { border: 1px solid var(--line); padding: 8px 10px; text-align: left; vertical-align: top; }
.legal th { background: var(--gray-soft); white-space: nowrap; }
.legal .biz-box { margin-top: 32px; padding: 16px; background: var(--gray-soft); border-radius: 12px; }
.legal .biz-box h2 { margin-top: 0; }
@media (max-width: 600px) { .legal table { display: block; overflow-x: auto; } }

/* ---------- 서비스 소개 ---------- */
.ab-hero { text-align: center; padding: 48px 0 24px; }
.ab-hero h1 { font-size: 40px; line-height: 1.3; margin: 14px 0 12px; letter-spacing: -.03em; }
.ab-hero p { color: var(--sub); font-size: 16px; line-height: 1.7; margin: 0 0 22px; }
.ab-row { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; padding: 48px 0; border-top: 1px solid var(--line); }
.ab-row.rev .ab-text { order: 2; }
.ab-tag { display: inline-block; padding: 4px 12px; border-radius: 99px; background: var(--brand-soft); color: var(--brand-dk); font-weight: 700; font-size: 13px; }
.ab-text h2 { font-size: 28px; line-height: 1.4; margin: 12px 0; letter-spacing: -.02em; }
.ab-text p { color: var(--sub); line-height: 1.8; margin: 0 0 14px; }
.ab-checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.ab-checks li { padding-left: 24px; position: relative; font-size: 15px; }
.ab-checks li::before { content: '✓'; position: absolute; left: 2px; color: var(--good); font-weight: 800; }
.ab-mock { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 18px; box-shadow: var(--shadow); }
.ab-mock-h { font-weight: 800; font-size: 14px; margin-bottom: 12px; }
.ab-mock .kw-chip { cursor: default; }
.ab-line { display: flex; justify-content: space-between; gap: 12px; padding: 10px 12px; border-radius: 10px; background: var(--gray-soft); margin-top: 8px; font-size: 14px; }
.ab-line span { color: var(--sub); }
.ab-d { color: var(--brand-dk); }
.ab-d.red { color: #fff; background: var(--brand); padding: 0 8px; border-radius: 99px; }
.ab-compare { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.ab-mock.dim p { color: var(--sub); font-size: 14px; line-height: 1.7; margin: 0; }
.ab-mock.hl { border: 1.5px solid var(--brand); }
.ab-mock.hl p { font-size: 14px; line-height: 1.7; margin: 0; }
.ab-score { text-align: center; background: var(--brand-soft); }
.ab-big { font-size: 56px; font-weight: 800; color: var(--brand-dk); }
.ab-big small { font-size: 22px; }
.ab-score .stage { display: inline-block; margin-top: 6px; padding: 4px 12px; border-radius: 99px; background: #fff; color: var(--brand-dk); font-weight: 700; font-size: 14px; }
.ab-safe { margin: 32px 0; padding: 40px 36px; border-radius: 22px; background: #2a2523; color: #fff; text-align: center; }
.ab-safe .pill { background: rgba(255,255,255,.12); color: #ffd9cf; }
.ab-safe h2 { font-size: 28px; margin: 12px 0 10px; }
.ab-safe p { color: #d7cfcb; line-height: 1.7; max-width: 680px; margin: 0 auto 24px; }
.ab-safe-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; text-align: left; }
.ab-safe-grid div { background: rgba(255,255,255,.06); border-radius: 14px; padding: 16px; display: flex; flex-direction: column; gap: 6px; }
.ab-safe-grid span { color: #cfc6c2; font-size: 13px; }
.ab-steps-wrap { text-align: center; padding: 32px 0; }
.ab-steps-wrap h2 { font-size: 28px; margin: 0 0 20px; }
.ab-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; text-align: left; }
.ab-steps div { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 22px; display: flex; flex-direction: column; gap: 8px; }
.ab-no { font-size: 28px; font-weight: 800; color: var(--brand); }
.ab-steps span:last-child { color: var(--sub); font-size: 14px; line-height: 1.6; }
.ab-notices { margin-top: 24px; }
.notice-item { border-top: 1px solid var(--line); padding: 12px 0; }
.notice-item:first-child { border-top: 0; }
.notice-item summary { cursor: pointer; display: flex; gap: 10px; align-items: center; list-style: none; }
.notice-item summary::-webkit-details-marker { display: none; }
.notice-item summary .muted { margin-left: auto; }
.notice-item p { color: var(--sub); line-height: 1.7; margin: 10px 0 0; }
.ab-end { text-align: center; padding: 40px 0 56px; }
.ab-end h2 { font-size: 26px; margin: 0 0 8px; }
.home-about { display: inline-block; margin-top: 14px; color: var(--sub); font-size: 14px; }
.home-about b { color: var(--brand-dk); }
.home-notice { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 14px; padding: 8px 14px; border-radius: 99px; background: #fff; border: 1px solid var(--line); font-size: 14px; color: var(--ink); }
.home-notice.hidden { display: none; }
@media (max-width: 860px) {
  .ab-row { grid-template-columns: 1fr; gap: 20px; padding: 32px 0; }
  .ab-row.rev .ab-text { order: 0; }
  .ab-hero h1 { font-size: 30px; }
  .ab-text h2 { font-size: 23px; }
  .ab-safe { padding: 28px 18px; }
  .ab-safe-grid { grid-template-columns: 1fr 1fr; }
  .ab-steps { grid-template-columns: 1fr; }
}
@media (max-width: 480px) { .ab-compare, .ab-safe-grid { grid-template-columns: 1fr; } }
