:root {
  --ink: #2e2a3d;
  --ink-2: #6b6478;
  --ink-3: #a9a3b5;
  --line: #e8e4ee;
  --gold: #e8a317;
  --gold-soft: #fff6e0;
  --paper: #f5f2f8;
  --fire: #e4574f;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body {
  font-family: "Gowun Dodum", sans-serif;
  color: var(--ink);
  line-height: 1.75;
  background: var(--paper);
}

.wrap {
  max-width: 720px;
  margin: 0 auto;
  padding: 28px 20px 64px;
}

.crumbs {
  font-size: 13px;
  color: var(--ink-2);
  margin-bottom: 22px;
}
.crumbs a { color: var(--ink-2); text-decoration: none; }
.crumbs a:hover { color: var(--gold); }
.crumbs span { margin: 0 6px; color: var(--ink-3); }

h1 {
  font-family: "Jua", sans-serif;
  font-weight: 400;
  font-size: 28px;
  line-height: 1.35;
  margin-bottom: 14px;
  text-wrap: balance;
}

.lede {
  font-size: 15.5px;
  margin-bottom: 22px;
}
.lede b { font-weight: 400; color: #8a6200; }

.note {
  font-size: 13px;
  color: var(--ink-2);
  background: var(--gold-soft);
  border: 1px solid #f0ddae;
  border-radius: 12px;
  padding: 12px 14px;
  margin-bottom: 28px;
}

.stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 0 0 22px;
}
.stat {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px 14px;
}
.stat .k { font-size: 12px; color: var(--ink-2); }
.stat .v { font-family: "Jua", sans-serif; font-size: 20px; margin-top: 4px; }
.stat .s { font-size: 12.5px; color: var(--ink-2); margin-top: 4px; }

.compare { font-size: 14px; margin: 0 0 28px; }
.compare td { font-size: 13.5px; }

.prose { margin: 0 0 28px; }
.prose p { font-size: 15.5px; margin-bottom: 12px; }
.prose p:last-child { margin-bottom: 0; }

.wins-note {
  font-size: 14.5px;
  color: var(--ink-2);
  margin: 0 0 28px;
  line-height: 1.8;
}

.full-list { margin-bottom: 32px; }
.full-list table { font-size: 13.5px; }
.full-list .name { font-family: "Gowun Dodum", sans-serif; }
.full-list.is-main { margin: 8px 0 36px; }
.full-list.is-main table { font-size: 16px; }
.full-list.is-main th,
.full-list.is-main td { padding: 13px 10px; }
.full-list.is-main .name {
  font-family: "Jua", sans-serif;
  font-size: 17px;
}
.full-list.is-main .addr { font-size: 14.5px; color: var(--ink); }

.reco {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 32px;
}
.reco a {
  display: block;
  text-decoration: none;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px 16px;
  font-size: 15.5px;
}
.reco a:hover { border-color: var(--gold); }
.reco .cnt { color: #8a6200; }

.source {
  margin-top: 36px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: 13.5px;
  color: var(--ink-2);
  line-height: 1.8;
}
.source h2 { margin-bottom: 10px; }
.source dt {
  font-family: "Jua", sans-serif;
  font-weight: 400;
  color: var(--ink);
  margin-top: 10px;
}
.source dd { margin: 2px 0 0; }

.table-wrap { overflow-x: auto; margin-bottom: 36px; }
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14.5px;
}
th, td {
  text-align: left;
  padding: 10px 8px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
th {
  font-family: "Jua", sans-serif;
  font-weight: 400;
  font-size: 13px;
  color: var(--ink-2);
}
td.num, th.num { text-align: right; white-space: nowrap; }
.rank { color: var(--ink-3); width: 2.2em; }
.name { font-family: "Jua", sans-serif; font-weight: 400; }
.addr { color: var(--ink-2); font-size: 13px; }

h2 {
  font-family: "Jua", sans-serif;
  font-weight: 400;
  font-size: 18px;
  margin: 8px 0 12px;
}

.near {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 32px;
}
.near a {
  color: var(--ink);
  text-decoration: none;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 999px;
  padding: 7px 12px;
  font-size: 13.5px;
}
.near a:hover { border-color: var(--gold); color: #8a6200; }

.cta {
  display: block;
  text-align: center;
  text-decoration: none;
  font-family: "Jua", sans-serif;
  font-size: 18px;
  color: #4a3200;
  background: linear-gradient(180deg, #f5c13d, #e0a92a);
  border-radius: 16px;
  padding: 16px 18px;
  margin: 8px 0 36px;
}
.cta:hover { filter: brightness(1.04); }

.faq details {
  border-top: 1px solid var(--line);
  padding: 12px 0;
}
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer;
  font-family: "Jua", sans-serif;
  font-size: 16px;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq p { margin-top: 8px; font-size: 14.5px; color: var(--ink-2); }

.disclaimer {
  margin-top: 36px;
  font-size: 13px;
  color: var(--ink-2);
  line-height: 1.8;
}
.disclaimer b { font-weight: 400; color: var(--fire); }

footer {
  margin-top: 36px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--ink-3);
}
footer a { color: var(--ink-2); text-decoration: none; }
footer a:hover { color: var(--gold); }

.sido-block { margin-bottom: 26px; }
.sido-block h2 { margin-bottom: 10px; }
.sido-block a {
  display: inline-block;
  margin: 0 14px 8px 0;
  color: var(--ink);
  text-decoration: none;
  font-size: 15px;
}
.sido-block a:hover { color: #8a6200; text-decoration: underline; }

@media (max-width: 520px) {
  h1 { font-size: 24px; }
  .stats { grid-template-columns: 1fr; }
  .rank-table th:nth-child(5),
  .rank-table td:nth-child(5) { display: none; }
}
