/* 먹튀컷 안내 사이트 — 본 사이트(web/app/globals.css)와 같은 토큰. 상자 대신 괘선, 액센트 하나.
   2026-10-03 재설계: 제일 센 요소는 H1 안의 주소 하나(56px). 그 아래는 사진(캡처) → 표(목록) → 짧은 글 순. 설명 섹션은 뺐다. */
:root {
  --bg: #0f141c; --panel: #161d28; --panel2: #1f2836;
  --border: #2b3546; --border-strong: #556480;
  --text: #e8edf3; --muted: #9aa6b8; --accent: #5d8ac2; --on-accent: #0f141c; --link: #7fb4d8;
  --fs-xs: 12px; --fs-sm: 13px; --fs-base: 15px; --fs-md: 17px; --fs-lg: 20px; --fs-xl: 24px;
  --r-sm: 6px; --r-md: 10px; --r-lg: 14px;
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body { background: var(--bg); color: var(--text); font-family: "IBM Plex Sans KR", -apple-system, "Segoe UI", "Malgun Gothic", "Apple SD Gothic Neo", sans-serif; line-height: 1.6; -webkit-font-smoothing: antialiased; font-size: var(--fs-base); }
a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.wrap { max-width: 920px; margin: 0 auto; padding: 0 16px; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: var(--r-md); background: var(--accent); color: var(--on-accent); font-size: 13px; font-weight: 700; }
.skip:focus { top: 12px; }

/* 머리줄 */
.hdr { border-bottom: 1px solid var(--border); background: rgba(15,20,28,.9); backdrop-filter: blur(8px); position: sticky; top: 0; z-index: 10; }
.hdr-in { display: flex; align-items: center; gap: 16px; min-height: 56px; }
.logo { display: inline-flex; align-items: center; gap: 8px; font-size: var(--fs-lg); font-weight: 800; letter-spacing: -0.5px; min-height: 44px; }
.logo img { border-radius: var(--r-sm); display: block; }
.logo-sub { font-size: var(--fs-sm); font-weight: 600; color: var(--muted); margin-left: 2px; }
.nav { margin-left: auto; display: flex; gap: 4px; }
.nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; border-radius: var(--r-md); font-size: var(--fs-sm); font-weight: 600; color: var(--muted); }
.nav a:hover, .nav a[aria-current] { color: var(--text); }

/* 히어로 — 주소가 제목이다 */
.hero { padding: 44px 0 8px; }
.hero h1 { margin: 0; line-height: 1.15; }
.h1-k { display: block; font-size: var(--fs-md); font-weight: 600; letter-spacing: -0.3px; color: var(--text); margin-bottom: 6px; }
.h1-url { display: inline-flex; align-items: center; min-height: 64px; font-size: 56px; font-weight: 800; letter-spacing: -2px; color: var(--text); word-break: break-all; }
.h1-url:hover { color: var(--link); }
.now-row { display: flex; flex-wrap: wrap; gap: 10px 12px; align-items: center; margin: 16px 0 0; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 20px; border-radius: var(--r-md); font-size: var(--fs-base); font-weight: 700; border: 1px solid var(--border-strong); background: transparent; color: var(--text); cursor: pointer; font-family: inherit; }
.btn-go { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.btn-go:hover { filter: brightness(1.08); }
.btn:hover { border-color: var(--accent); }
.check { font-size: var(--fs-sm); color: var(--muted); font-variant-numeric: tabular-nums; padding-left: 4px; cursor: help; }
.check::before { content: ''; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #4ade80; margin-right: 7px; vertical-align: 1px; }
.check-fail::before { background: #f87171; }
.lead { margin: 18px 0 0; max-width: 66ch; color: var(--muted); font-size: var(--fs-base); line-height: 1.8; }

/* 섹션 공통 — 괘선 머리 */
.sec { padding: 36px 0 0; }
.sec-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin: 0 0 12px; }
.sec-head h2 { margin: 0; font-size: var(--fs-md); font-weight: 700; letter-spacing: -0.3px; }
.note { color: var(--muted); font-size: var(--fs-sm); white-space: nowrap; }
.more { color: var(--link); font-size: var(--fs-sm); white-space: nowrap; display: inline-block; padding: 12px 0; }
.more:hover { text-decoration: underline; }
.foot { margin: 10px 0 0; color: var(--muted); font-size: var(--fs-sm); line-height: 1.7; }
.foot a { color: var(--link); }

/* 최근 제보 캡처 — 본 사이트 .hm-caps 와 같은 노출 수준(첫 장·위쪽 크롭) */
.caps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.cap { display: flex; flex-direction: column; gap: 5px; min-width: 0; background: var(--panel); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 10px; color: inherit; }
.cap:hover { border-color: var(--accent); }
.cap img { display: block; width: 100%; height: 150px; object-fit: cover; object-position: top; border-radius: var(--r-md); background: var(--panel2); }
.cap-who { display: flex; align-items: baseline; gap: 6px; min-width: 0; white-space: nowrap; overflow: hidden; }
.cap-who b { font-size: 14px; font-weight: 700; overflow: hidden; text-overflow: ellipsis; }
.cap-who i { font-style: normal; font-size: var(--fs-xs); color: var(--link); font-family: ui-monospace, Menlo, monospace; overflow: hidden; text-overflow: ellipsis; }
.cap-meta { font-size: var(--fs-xs); color: var(--muted); }

/* 제보 많은 사이트 — 목록 한 줄 */
.list { border: 1px solid var(--border); border-radius: var(--r-lg); overflow: hidden; background: var(--panel); }
.row-hd, .row { display: flex; align-items: center; gap: 16px; padding: 12px 16px; border-bottom: 1px solid var(--border); }
.row-hd { padding: 8px 16px; font-size: var(--fs-xs); color: var(--muted); background: var(--panel2); }
.row:last-child { border-bottom: 0; }
.row:hover { background: var(--panel2); }
.who { flex: 1; min-width: 0; display: flex; align-items: baseline; gap: 8px; white-space: nowrap; overflow: hidden; }
.nm { font-weight: 700; overflow: hidden; text-overflow: ellipsis; }
.dm { font-size: var(--fs-sm); color: var(--link); font-family: ui-monospace, Menlo, monospace; overflow: hidden; text-overflow: ellipsis; }
.fig { flex: none; display: flex; align-items: center; justify-content: flex-end; gap: 10px; min-width: 104px; font-variant-numeric: tabular-nums; font-weight: 700; }
.fig2 { min-width: 48px; text-align: right; font-weight: 600; color: var(--muted); font-variant-numeric: tabular-nums; flex: none; }
.when { flex: none; min-width: 72px; text-align: right; font-size: var(--fs-sm); color: var(--muted); }
.bar { display: inline-block; width: 58px; height: 4px; border-radius: 2px; background: linear-gradient(to right, var(--accent) calc(var(--v, 0) * 1%), var(--border) 0); }
.row-hd .bar { display: none; }
.new { font-size: 11px; font-weight: 700; color: #4ade80; border: 1px solid rgba(74,222,128,.5); background: rgba(74,222,128,.09); border-radius: var(--r-sm); padding: 1px 6px; flex: none; }

/* 최근 7일(커뮤니티별 막대) / 최근 30일 */
.src { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 28px; }
.src div { display: grid; grid-template-columns: 1fr auto; gap: 2px 10px; padding: 6px 0 9px; font-size: var(--fs-sm); }
.src div::after { content: ''; grid-column: 1 / -1; height: 3px; border-radius: 2px; width: calc(var(--v, 100) * 1%); min-width: 3px; background: var(--accent); }
.src em { font-style: normal; font-weight: 700; font-variant-numeric: tabular-nums; }
.pulse { display: flex; flex-wrap: wrap; gap: 2px 38px; }
.pulse div { display: flex; align-items: baseline; gap: 8px; padding: 4px 0; }
.pulse b { font-size: var(--fs-xl); font-weight: 700; letter-spacing: -0.6px; font-variant-numeric: tabular-nums; }
.pulse i { font-style: normal; font-size: var(--fs-xs); color: var(--muted); }

/* 무엇을 보나 — 2열 괘선, 한 문장씩 */
.how { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 34px; }
.how > a { display: block; padding: 14px 0 16px; border-top: 1px solid var(--border); color: inherit; }
.how h3 { margin: 0 0 5px; font-size: var(--fs-base); font-weight: 700; }
.how p { margin: 0; font-size: var(--fs-sm); color: var(--muted); line-height: 1.75; max-width: 46ch; }
.how > a:hover h3 { color: var(--link); }

/* 가이드 목록 */
.guides { columns: 2; column-gap: 36px; margin: 0; padding: 0; list-style: none; }
.guides-1 { columns: 1; }
.guides li { break-inside: avoid; border-bottom: 1px solid var(--border); }
.guides a { display: block; min-height: 44px; padding: 9px 0; color: var(--link); font-size: var(--fs-sm); line-height: 1.5; }
.guides a:hover { color: var(--text); text-decoration: underline; }
.guides small { display: block; color: var(--muted); font-size: var(--fs-xs); margin-top: 2px; }

/* FAQ */
.faq-item { border-top: 1px solid var(--border); }
.faq-item:last-child { border-bottom: 1px solid var(--border); }
.faq-item summary { cursor: pointer; list-style: none; display: flex; align-items: center; min-height: 48px; padding: 8px 0; font-weight: 700; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::before { content: '+'; display: inline-block; width: 18px; color: var(--accent); font-weight: 800; }
.faq-item[open] summary::before { content: '−'; }
.faq-item p { margin: 0 0 14px 18px; color: var(--muted); font-size: var(--fs-sm); line-height: 1.8; }

/* 닫기 */
.closing { margin: 40px 0 0; padding: 24px 0; border-top: 1px solid var(--border-strong); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; }
.closing h2 { margin: 0 0 4px; font-size: var(--fs-md); }
.closing p { margin: 0; color: var(--muted); font-size: var(--fs-sm); }
.stamp { margin: 0; font-size: var(--fs-xs); color: var(--muted); font-variant-numeric: tabular-nums; }

/* 사이트 상세 */
.site-h1 { margin: 36px 0 0; font-size: var(--fs-xl); font-weight: 800; letter-spacing: -0.6px; line-height: 1.25; }
.site-h1 .dm { font-size: var(--fs-md); font-weight: 400; display: block; margin-top: 4px; }
.site-figs { display: flex; flex-wrap: wrap; gap: 2px 34px; margin: 18px 0 0; }
.site-figs div { display: flex; align-items: baseline; gap: 8px; padding: 4px 0; }
.site-figs b { font-size: var(--fs-xl); font-weight: 700; letter-spacing: -0.6px; font-variant-numeric: tabular-nums; }
.site-figs i { font-style: normal; font-size: var(--fs-xs); color: var(--muted); }

/* 푸터 */
.ftr { margin-top: 48px; padding: 24px 0 40px; border-top: 1px solid var(--border); color: var(--muted); font-size: var(--fs-sm); }
.ftr p { margin: 0 0 8px; }
.ftr a { color: var(--link); }
.ftr-main { display: grid; grid-template-columns: repeat(3, auto); gap: 6px 36px; margin: 0 0 14px; justify-content: start; }
.ftr-main div { display: flex; flex-direction: column; gap: 2px; }
.ftr-main dt { font-size: var(--fs-xs); color: var(--muted); }
.ftr-main dd { margin: 0; color: var(--text); }
.ftr-main dd a + a { margin-left: 12px; }
.ftr-disc { line-height: 1.8; max-width: 80ch; }

.toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); padding: 10px 16px; border-radius: var(--r-md); background: var(--panel2); border: 1px solid var(--border-strong); font-size: var(--fs-sm); }
.toast[hidden] { display: none; }

@media (max-width: 760px) {
  .sec-head { flex-wrap: wrap; }
  .note, .more { white-space: normal; }
  .caps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .cap img { height: 120px; }
  .how, .src { grid-template-columns: 1fr; gap: 0; }
  .guides { columns: 1; }
  .hero { padding-top: 30px; }
  .h1-url { font-size: 38px; letter-spacing: -1.2px; min-height: 48px; }
  .fig2, .when { display: none; }
  .fig { min-width: 84px; }
  .nav a { padding: 0 9px; }
}
@media (max-width: 640px) { .ftr-main { grid-template-columns: 1fr; gap: 10px; } }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
