:root {
  --ink: #17211b;
  --muted: #3d4a44;
  --paper: #f3f6f4;
  --card: #ffffff;
  --line: #d5dfd9;
  --accent: #0b6b62;
  --accent-ink: #f4fbf9;
  --soft: #e7f4f1;
  --warn: #7a4b00;
  --warn-bg: #fff6e8;
  --shadow: 0 8px 24px rgba(20, 32, 43, 0.06);
  --sans: "Segoe UI", "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.75;
  word-break: keep-all;
}
a { color: var(--accent); }
a:hover { text-decoration-thickness: 2px; }
img { max-width: 100%; }
.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  background: var(--ink);
  color: var(--paper);
  padding: 0.5rem 0.8rem;
  z-index: 5;
}
.skip:focus { top: 0.5rem; }
.wrap { width: min(1200px, calc(100% - 2rem)); margin: 0 auto; }
.main { padding: 1.5rem 0 3rem; }
.mast { background: var(--card); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 2; }
.mast-row { display: flex; align-items: center; gap: 1rem; min-height: 4rem; }
.brand { color: var(--ink); font-weight: 750; font-size: 1.25rem; text-decoration: none; display: inline-flex; align-items: center; gap: 0.55rem; }
.brand img { width: 32px; height: 32px; flex: 0 0 auto; }
.nav { display: flex; gap: 0.25rem 1rem; align-items: center; margin-left: auto; }
.nav a { color: var(--ink); text-decoration: none; min-height: 2.75rem; display: inline-flex; align-items: center; }
.nav a[aria-current="page"] { color: var(--accent); text-decoration: underline; text-underline-offset: 0.3rem; }
.nav-state, .nav-open, .nav-close { display: none; }
h1, h2, h3 { line-height: 1.35; letter-spacing: -0.02em; }
h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); margin: 0 0 0.8rem; }
h2 { font-size: 1.45rem; margin: 0 0 0.7rem; }
h3, h4 { font-size: 1.12rem; margin: 0 0 0.4rem; }
p { margin: 0.4rem 0 0.8rem; }
.hero {
  display: grid;
  gap: 1.25rem;
  margin-bottom: 1rem;
  padding: 1.4rem;
  border-radius: 24px;
  background:
    radial-gradient(circle at 100% 0%, rgba(255, 196, 64, 0.28), transparent 32%),
    linear-gradient(145deg, #12312e 0%, #1b4a44 55%, #0e3a3a 100%);
  color: #f4fbf8;
}
.hero h1, .hero .lede, .hero .fine, .hero .eyebrow, .hero-description { color: #f4fbf8; }
.hero-description { margin: 0 0 1.15rem; }
.hero-primary-action { margin: 0 0 20px; }
.hero-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 56px;
  padding: 0 32px;
  background: #ffb15a;
  color: #1c1208;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  border: 2px solid #ffe1b5;
  border-radius: 14px;
  box-shadow: 0 8px 0 #c46a12, 0 12px 24px rgba(0, 0, 0, 0.22);
}
.hero-cta .ext { border: 0; padding: 0; font-size: 1rem; line-height: 1; }
.hero-cta:hover { background: #ffc278; color: #1c1208; }
.hero-cta:active { background: #f09a3a; color: #1c1208; transform: translateY(2px); box-shadow: 0 6px 0 #c46a12, 0 8px 16px rgba(0, 0, 0, 0.2); }
.hero-cta:focus,
.hero-cta:focus-visible { outline: 3px solid #fff7ed; outline-offset: 3px; }
.hero-search { display: grid; gap: 0.35rem; margin: 0 0 16px; max-width: 28rem; }
.hero-secondary-link { color: #f4fbf8; font-size: 0.95rem; font-weight: 650; text-underline-offset: 0.22rem; }
.hero-search label { font-size: 0.92rem; }
.hero-search input { background: #fff; color: var(--ink); }
.jump { display: flex; flex-wrap: wrap; gap: 0.45rem; margin: 0 0 1.4rem; }
.jump a {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  min-height: 2.75rem;
  padding: 0.2rem 0.7rem 0.2rem 0.35rem;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  text-decoration: none;
}
.jump span {
  width: 1.8rem;
  height: 1.8rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--soft);
  color: var(--accent);
  font-weight: 750;
}
.page-head { display: grid; gap: 0.8rem; margin-bottom: 1.5rem; }
.eyebrow, .fine { color: var(--muted); font-size: 0.92rem; }
.lede p:first-child { margin-top: 0; }
.cta-row, .section-head { display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: end; justify-content: space-between; }
.btn, button.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 2.75rem;
  padding: 0.45rem 0.95rem;
  background: var(--accent);
  color: var(--accent-ink);
  text-decoration: none;
  border: 0;
  border-radius: 999px;
  font: inherit;
  cursor: pointer;
}
.btn span { font-size: 0.78rem; border: 1px solid rgba(244, 251, 249, 0.5); border-radius: 999px; padding: 0.05rem 0.4rem; }
.btn span.ext { border: 0; padding: 0; border-radius: 0; font-size: 1rem; line-height: 1; }
.btn-quiet { background: transparent; color: var(--ink); border: 1px solid var(--line); }
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.75rem; margin: 0; }
.stats div, .card, .sites li, .note, .banner, .warn {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow);
}
.stats div { padding: 0.9rem 1rem; }
.stats dt { color: var(--muted); font-size: 0.88rem; }
.stats dd { margin: 0; font-size: 1.6rem; font-weight: 700; }
.block { margin: 2rem 0; }
.group { margin-top: 1.5rem; }
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.8rem; }
.card { padding: 1rem 1rem 0.9rem; }
.card p, .sites p { color: var(--muted); }
.card h3 a, .more { text-underline-offset: 0.18rem; }
.more { font-weight: 650; }
.rep a { font-weight: 650; }
.filter { display: grid; gap: 0.25rem; color: var(--muted); font-size: 0.92rem; }
input, select, textarea {
  width: 100%;
  min-height: 2.75rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.55rem 0.75rem;
  font: inherit;
  color: inherit;
  background: var(--card);
}
textarea { min-height: 9rem; resize: vertical; }
.sites { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.75rem; }
.sites li, .site-card { padding: 1rem; }
.site-card { display: flex; gap: 1rem; justify-content: space-between; align-items: flex-start; }
.site-card h3 { margin: 0 0 0.35rem; }
.site-card .btn { flex: 0 0 auto; }
.mini-sites { list-style: none; display: flex; flex-wrap: wrap; gap: 0.35rem; padding: 0; margin: 0.4rem 0 0.8rem; }
.mini-sites a {
  display: inline-flex;
  align-items: center;
  min-height: 2rem;
  padding: 0.1rem 0.55rem;
  border-radius: 999px;
  background: var(--soft);
  text-decoration: none;
}
.tag { display: inline-block; margin-left: 0.4rem; background: var(--warn-bg); color: var(--warn); border-radius: 999px; padding: 0.1rem 0.45rem; font-size: 0.8rem; }
.crumb { display: flex; flex-wrap: wrap; gap: 0.35rem 0.45rem; color: var(--muted); font-size: 0.92rem; margin-bottom: 1rem; }
.crumb a { color: var(--muted); }
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 0.7rem 0.9rem; margin: 0.5rem 0; }
.faq summary { cursor: pointer; font-weight: 650; min-height: 2.75rem; display: flex; align-items: center; }
.link-list, .log { padding-left: 1.1rem; }
.link-list span, .log time { display: block; color: var(--muted); font-size: 0.92rem; }
.pager { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; margin: 1.5rem 0; }
.pager a { display: flex; flex-direction: column; justify-content: center; min-height: 4.5rem; padding: 0.8rem 1rem; background: var(--card); border: 1px solid var(--line); border-radius: 16px; text-decoration: none; color: var(--ink); }
.pager a:last-child { text-align: right; }
.pager small { color: var(--muted); }
.note { padding: 0.9rem 1rem; background: var(--soft); }
.warn { padding: 0.8rem 1rem; color: var(--warn); background: var(--warn-bg); }
.banner { padding: 0.9rem 1rem; }
.stack-form { display: grid; gap: 0.8rem; max-width: 38rem; }
.stack-form label { display: grid; gap: 0.3rem; font-weight: 650; }
.hp { position: absolute; left: -999px; height: 0; overflow: hidden; }
.foot { background: #13211c; color: #e7f1ed; padding: 2rem 0 2.4rem; }
.foot a { color: #e7f1ed; text-decoration: none; }
.foot-top, .foot-groups, .foot-links { display: flex; flex-wrap: wrap; gap: 1rem 2rem; justify-content: space-between; }
.foot-groups { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; margin: 1.4rem 0; }
.foot-groups div { display: grid; gap: 0.25rem; }
.foot-groups a:first-child { font-weight: 750; }
.foot-links { gap: 0.7rem 1rem; margin-bottom: 1rem; }
.foot .fine, .foot p { color: #c5d5cf; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
@media (max-width: 900px) {
  .cards, .foot-groups { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.table-wrap { overflow-x: auto; margin: 1rem 0; }
table { width: 100%; border-collapse: collapse; min-width: 36rem; background: var(--card); }
caption { caption-side: bottom; text-align: left; color: var(--muted); font-size: 0.92rem; padding-top: 0.4rem; }
th, td { border-bottom: 1px solid var(--line); text-align: left; padding: 0.6rem 0.75rem; vertical-align: top; }
th { background: var(--soft); font-weight: 700; }
ol.steps { padding-left: 1.3rem; }
ol.steps li { margin: 0.35rem 0; }
.callout { margin: 1rem 0; padding: 0.2rem 0 0.2rem 0.9rem; border-left: 4px solid var(--accent); }
@media (max-width: 760px) {
  .nav-open, .nav-close {
    display: inline-flex;
    align-items: center;
    min-height: 2.75rem;
    min-width: 2.75rem;
    padding: 0 0.8rem;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--card);
  }
  .nav-open { margin-left: auto; }
  .nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: var(--card);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: stretch;
    padding: 0.5rem 1rem 1rem;
    margin: 0;
  }
  .nav a { min-height: 2.75rem; }
  .nav-state:checked ~ .nav { display: flex; }
  .nav-state:checked ~ .nav-open { display: none; }
  .cards, .stats, .pager, .foot-groups { grid-template-columns: 1fr; }
  .hero, .site-card { display: grid; }
  .hero-primary-action { margin-bottom: 20px; }
  .hero-cta { width: 100%; min-height: 60px; padding: 0 20px; font-size: 18px; }
  .hero-search { max-width: none; margin-bottom: 16px; }
  .jump { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 0.3rem; }
  .jump a { flex: 0 0 auto; }
}
@media (min-width: 761px) {
  .hero { grid-template-columns: 1.5fr 0.7fr; align-items: end; }
}
@media (min-width: 1100px) {
  .cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
@media print {
  .mast, .foot, .btn, .filter, script { display: none !important; }
  body { background: white; }
}

/* 픽선사: 라벤더 배경의 디렉터리 */
:root {
  --ink: #2e1064;
  --muted: #5b21b6;
  --paper: #f6f3ff;
  --card: #ffffff;
  --line: #ddd6fe;
  --accent: #6d28d9;
  --accent-ink: #faf5ff;
  --soft: #ede9fe;
  --shadow: 0 16px 40px rgba(109, 40, 217, 0.12);
  --sans: "Segoe UI", "Malgun Gothic", sans-serif;
}
body { background: var(--paper); }
.mast { background: #faf5ff; border-bottom: 3px solid #c4b5fd; }
h1 { font-size: clamp(2.1rem, 5vw, 3.15rem); font-weight: 800; }
.hero.hero-directory {
  grid-template-columns: 1.15fr 0.85fr;
  align-items: stretch;
  border-radius: 32px;
  padding: 1.8rem;
  background: linear-gradient(160deg, #f5f3ff 0%, #ddd6fe 100%);
  color: #2e1064;
}
.hero.hero-directory h1,
.hero.hero-directory .hero-description,
.hero.hero-directory .eyebrow,
.hero.hero-directory .hero-secondary-link { color: #2e1064; }
.hero-cta { background: #5b21b6; color: #fff; border-color: #ddd6fe; border-radius: 999px; box-shadow: none; }
.hero-cta:hover { background: #4c1d95; color: #fff; }
.hero-picks { display: grid; gap: 0.55rem; align-content: start; }
.hero-picks a {
  display: flex;
  justify-content: space-between;
  min-height: 48px;
  align-items: center;
  padding: 0.4rem 0.9rem;
  background: #fff;
  color: #2e1064;
  text-decoration: none;
  border-radius: 16px;
}
.card, .stats div, .sites li, .faq details, .pager a { border: 0; border-radius: 28px; }
.jump { display: none; }
.block { margin: 3rem 0; }
.foot { background: #4c1d95; }
@media (max-width: 760px) {
  .hero.hero-directory { border-radius: 20px; padding: 1.2rem; }
  .hero-cta { min-height: 60px; width: 100%; }
}
