/* ThinkClash 사이트 공통 스타일. 외부 글꼴·스크립트·추적 도구 없음 */
:root {
  --bg: #ffffff;
  --text: #1d1d1f;
  --muted: #55555c;
  --line: #e2e2e6;
  --accent: #1f5fbf;
  --soft: #f4f6fa;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #141416;
    --text: #ececef;
    --muted: #b4b4bc;
    --line: #34343a;
    --accent: #8ab4ff;
    --soft: #1d1f24;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", "Segoe UI", Roboto, sans-serif;
  font-size: 17px;
  line-height: 1.7;
  word-break: keep-all;
  overflow-wrap: anywhere;
}
.wrap { max-width: 760px; margin: 0 auto; padding: 32px 16px 64px; }
header.site { border-bottom: 1px solid var(--line); }
header.site .wrap { padding-top: 20px; padding-bottom: 16px; display: flex; flex-wrap: wrap; gap: 8px 20px; align-items: baseline; }
header.site a.brand { font-weight: 700; font-size: 20px; color: var(--text); text-decoration: none; }
header.site nav a { color: var(--muted); margin-right: 16px; }
h1 { font-size: 28px; line-height: 1.35; margin: 8px 0 12px; }
h2 { font-size: 21px; margin: 40px 0 8px; padding-top: 8px; border-top: 1px solid var(--line); }
h3 { font-size: 18px; margin: 24px 0 4px; }
p, ul, ol { margin: 8px 0 12px; }
ul, ol { padding-left: 22px; }
li { margin: 4px 0; }
a { color: var(--accent); }
.muted { color: var(--muted); }
.lead { font-size: 19px; }
.box { background: var(--soft); border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px; margin: 16px 0; }
.box ul { margin: 0; }
.table-scroll { overflow-x: auto; margin: 12px 0 16px; }
table { border-collapse: collapse; width: 100%; min-width: 560px; font-size: 15px; line-height: 1.55; }
th, td { border: 1px solid var(--line); padding: 8px 10px; text-align: left; vertical-align: top; }
th { background: var(--soft); font-weight: 600; }
dl.info { display: grid; grid-template-columns: max-content 1fr; gap: 4px 16px; margin: 12px 0; }
dl.info dt { color: var(--muted); }
dl.info dd { margin: 0; }
footer.site { border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
footer.site .wrap { padding-top: 20px; padding-bottom: 32px; }
[lang="en"] { word-break: normal; }
/* 휴대폰: 표를 한 줄씩 카드로(가로 스크롤 없이 읽기) */
@media (max-width: 640px) {
  .table-scroll { overflow-x: visible; }
  table { min-width: 0; border: 0; }
  thead { display: none; }
  table, tbody, tr, td { display: block; width: 100%; }
  tr { border: 1px solid var(--line); border-radius: 12px; padding: 6px 12px; margin: 0 0 12px; }
  td { border: 0; padding: 6px 0; border-bottom: 1px solid var(--line); }
  td:last-child { border-bottom: 0; }
  td::before { content: attr(data-label); display: block; font-size: 13px; font-weight: 600; color: var(--muted); }
}
