/* 쏙 SSOK — Street Stories of Korea
   색: 흰 종이, 선반 회색, 잉크, 라임(포인트 하나)
   글꼴: Black Han Sans(제목) / IBM Plex Sans KR(본문) / Nanum Pen Script(손글씨 주석) */

:root {
  --paper: #ffffff;
  --shelf: #f2f2f0;
  --shelf-2: #e8e8e5;
  --ink: #111111;
  --ink-2: #3a3a38;
  --grey: #6d6d69;
  --line: #d9d9d5;
  --lime: #c8fa23;
  --lime-deep: #a9dc00;
  --display: "Black Han Sans", "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  --body: "IBM Plex Sans KR", "Apple SD Gothic Neo", "Malgun Gothic", system-ui, sans-serif;
  --pen: "Nanum Pen Script", "Nanum Pen", "IBM Plex Sans KR", cursive;
  --wrap: 1180px;
  --gap: clamp(16px, 2.4vw, 28px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--body); font-size: 16px; line-height: 1.7;
  word-break: keep-all; overflow-wrap: anywhere;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
.on-dark :focus-visible { outline-color: var(--lime); }
[hidden] { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { width: min(100% - 2 * var(--gap), var(--wrap)); margin-inline: auto; }

h1, h2, h3 { font-family: var(--display); font-weight: 400; line-height: 1.16; letter-spacing: -0.01em; margin: 0; }
h1 { font-size: clamp(2.3rem, 6vw, 4.4rem); }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.6rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; max-width: 68ch; }
.lead { font-size: 1.12rem; color: var(--ink-2); }
.small { font-size: .875rem; color: var(--grey); }
.pen { font-family: var(--pen); font-size: 1.5em; line-height: 1.1; }
.nb { white-space: nowrap; }
.mark { background: linear-gradient(transparent 58%, var(--lime) 58%); padding: 0 .1em; }

/* ───── 머리말 ───── */
.top { border-bottom: 2px solid var(--ink); background: var(--paper); position: sticky; top: 0; z-index: 30; }
.top__in { display: flex; align-items: center; gap: 20px; min-height: 64px; }
.top__logo img { height: 34px; width: auto; }
.nav { display: flex; gap: 2px; margin-left: auto; overflow-x: auto; scrollbar-width: none; }
.nav::-webkit-scrollbar { display: none; }
.nav a { display: block; padding: 8px 12px; text-decoration: none; white-space: nowrap; font-weight: 500; font-size: .95rem; border-radius: 4px; }
.nav a:hover { background: var(--shelf); }
.nav a[aria-current="page"] { background: var(--ink); color: var(--paper); }
@media (max-width: 860px) {
  .top__in { flex-wrap: wrap; gap: 0; padding-top: 10px; }
  .nav { width: calc(100% + 2 * var(--gap)); margin: 6px calc(-1 * var(--gap)) 0; padding: 0 var(--gap) 8px; }
  .top__logo img { height: 28px; }
}

/* ───── 단추 ───── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 20px;
  border: 2px solid var(--ink); background: var(--ink); color: var(--paper); font-weight: 700; text-decoration: none; border-radius: 4px; }
.btn:hover { background: var(--ink-2); }
.btn--lime { background: var(--lime); color: var(--ink); }
.btn--lime:hover { background: var(--lime-deep); }
.btn--line { background: transparent; color: var(--ink); }
.btn--line:hover { background: var(--shelf); }
.btn--sm { min-height: 36px; padding: 0 14px; font-size: .9rem; }
.btn[disabled] { opacity: .45; cursor: not-allowed; }

/* ───── 슬리브(레코드 재킷) ───── */
.sleeve { position: relative; display: block; aspect-ratio: 1; text-decoration: none; isolation: isolate; }
.sleeve__disc { position: absolute; inset: 4% 0 4% auto; aspect-ratio: 1; height: 92%; border-radius: 50%; z-index: -1;
  background:
    radial-gradient(circle, var(--paper) 0 3.5%, var(--lime) 3.6% 19%, var(--ink) 19.2% 21%, #2a2a2a 21.2% 22%, var(--ink) 22.2%),
    var(--ink);
  transform: translateX(9%); transition: transform .35s cubic-bezier(.2,.7,.2,1); }
a.sleeve:hover .sleeve__disc, a.sleeve:focus-visible .sleeve__disc, .card:hover .sleeve__disc { transform: translateX(26%); }
.sleeve__art { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; background: var(--shelf-2); box-shadow: 0 1px 0 rgba(0,0,0,.25), 6px 8px 0 rgba(17,17,17,.08); }
/* 화이트 라벨: 커버 제작 전인 길 */
.sleeve__white { position: absolute; inset: 0; background: var(--shelf); border: 1px solid var(--line); display: grid; place-items: center; overflow: hidden;
  box-shadow: 6px 8px 0 rgba(17,17,17,.06); }
.sleeve__white::before { content: ""; position: absolute; width: 56%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle, var(--paper) 0 5%, var(--ink) 5.3% 100%); }
.sleeve__label { position: relative; width: 40%; aspect-ratio: 1; border-radius: 50%; background: var(--lime); display: grid; place-items: center; text-align: center; padding: 8%;
  font-family: var(--display); font-size: clamp(.7rem, 1.5vw, 1rem); line-height: 1.15; color: var(--ink); }
.sleeve__label::after { content: ""; position: absolute; width: 9%; aspect-ratio: 1; border-radius: 50%; background: var(--paper); top: 12%; }
.sleeve__tag { position: absolute; left: 8px; top: 8px; background: var(--paper); border: 1px solid var(--ink); font-size: .72rem; font-weight: 700; padding: 1px 7px; }
@media (prefers-reduced-motion: reduce) { .sleeve__disc { transition: none; } html { scroll-behavior: auto; } }

.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 34px 30px; }
.card { min-width: 0; padding-right: 8%; }
.card__name { font-family: var(--display); font-size: 1.22rem; line-height: 1.2; margin: 14px 0 2px; }
.card__name a { text-decoration: none; }
.card__name a:hover { text-decoration: underline; }
.card__where { font-size: .9rem; color: var(--grey); margin: 0; }
.card__meta { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 8px; }
.chip { display: inline-block; font-size: .78rem; border: 1px solid var(--line); padding: 1px 8px; border-radius: 99px; color: var(--ink-2); background: var(--paper); white-space: nowrap; }
.chip--ink { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.chip--lime { background: var(--lime); border-color: var(--ink); color: var(--ink); font-weight: 700; }
@media (max-width: 520px) { .cards { grid-template-columns: repeat(2, 1fr); gap: 26px 18px; } .card__name { font-size: 1.05rem; } }

/* ───── 첫 화면 ───── */

/* ───── 구획 ───── */
.sec { padding: clamp(40px, 6vw, 76px) 0; }
.sec--shelf { background: var(--shelf); }
.sec--ink { background: var(--ink); color: var(--paper); }
.sec--lime { background: var(--lime); }
.sec__head { display: flex; align-items: end; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 28px; }
.sec__head p { margin: 8px 0 0; color: var(--ink-2); }
.sec--ink .sec__head p { color: #cfcfcb; }
.more { font-weight: 700; white-space: nowrap; }

/* 하위 브랜드 목록 */
.brands { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 2px solid var(--ink); }
.brands a { display: grid; grid-template-columns: 1fr; gap: 2px; padding: 20px 18px 20px 0; border-bottom: 1px solid var(--line); text-decoration: none; }
.brands a:nth-child(odd) { border-right: 1px solid var(--line); }
.brands a:nth-child(even) { padding-left: 22px; }
.brands a:hover b { background: linear-gradient(transparent 58%, var(--lime) 58%); }
.brands b { font-family: var(--display); font-weight: 400; font-size: 1.45rem; letter-spacing: .01em; justify-self: start; }
.brands i { font-style: normal; font-weight: 700; }
.brands span { color: var(--ink-2); font-size: .95rem; }
@media (max-width: 720px) { .brands { grid-template-columns: 1fr; } .brands a:nth-child(odd) { border-right: 0; } .brands a:nth-child(even) { padding-left: 0; } }

/* ───── 차트(로컬 루프) ───── */
.chart { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--ink); }
.sec--ink .chart { border-top-color: var(--paper); }
.row { display: grid; grid-template-columns: 54px 58px minmax(0, 1.3fr) minmax(90px, 1fr) auto; gap: 14px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); }
.sec--ink .row { border-bottom-color: #333; }
.row__rank { font-family: var(--display); font-size: 1.9rem; line-height: 1; text-align: center; }
.row__rank small { display: block; font-family: var(--body); font-size: .68rem; color: var(--grey); margin-top: 4px; }
.row__thumb { width: 58px; aspect-ratio: 1; background: var(--shelf-2); object-fit: cover; }
.row__thumb--white { display: grid; place-items: center; border: 1px solid var(--line); background: var(--shelf); }
.row__thumb--white::before { content: ""; width: 46%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, var(--paper) 0 12%, var(--lime) 13% 46%, var(--ink) 47%); }
.row__name { min-width: 0; }
.row__name a { font-family: var(--display); font-size: 1.15rem; text-decoration: none; display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.row__name a:hover { text-decoration: underline; }
.row__name span { font-size: .84rem; color: var(--grey); }
.sec--ink .row__name span, .sec--ink .row__rank small { color: #a9a9a4; }
.row__bar { display: flex; align-items: center; gap: 8px; min-width: 0; }
.bar { flex: 1; height: 8px; background: var(--shelf-2); border-radius: 0 4px 4px 0; overflow: hidden; }
.sec--ink .bar { background: #2c2c2c; }
.bar i { display: block; height: 100%; background: var(--ink); border-radius: 0 4px 4px 0; min-width: 2px; transition: width .4s; }
.sec--ink .bar i { background: var(--lime); }
.row__n { font-variant-numeric: tabular-nums; font-weight: 700; min-width: 3.2em; text-align: right; font-size: .95rem; }
.vote { min-height: 38px; padding: 0 16px; border: 2px solid var(--ink); background: var(--lime); color: var(--ink); font-weight: 700; border-radius: 99px; white-space: nowrap; }
.vote:hover { background: var(--lime-deep); }
.vote[aria-pressed="true"] { background: var(--ink); color: var(--lime); }
.vote[disabled] { background: var(--shelf); color: var(--grey); border-color: var(--line); cursor: default; }
.sec--ink .vote { border-color: var(--lime); }
.sec--ink .vote[disabled] { background: #222; color: #888; border-color: #333; }
@media (max-width: 720px) {
  .row { grid-template-columns: 36px 46px minmax(0, 1fr) auto; gap: 10px; }
  .row__thumb { width: 46px; } .row__rank { font-size: 1.4rem; }
  .row__bar { grid-column: 3 / 4; grid-row: 2; }
  .row .vote { grid-row: 1 / 3; grid-column: 4; }
}
.loopbar { display: flex; flex-wrap: wrap; gap: 10px 26px; align-items: center; padding: 14px 18px; background: var(--shelf); border: 2px solid var(--ink); margin-bottom: 22px; }
.loopbar b { font-family: var(--display); font-weight: 400; font-size: 1.25rem; }
.loopbar .dots { display: inline-flex; gap: 5px; vertical-align: middle; margin-left: 6px; }
.loopbar .dots i { width: 14px; height: 14px; border-radius: 50%; border: 2px solid var(--ink); background: var(--lime); }
.loopbar .dots i.used { background: transparent; }
.notice { border-left: 6px solid var(--lime); background: var(--shelf); padding: 12px 16px; margin: 0 0 20px; font-size: .95rem; }
.sec--ink .notice { background: #1e1e1e; }
.empty { padding: 34px 0; text-align: center; color: var(--grey); border-bottom: 1px solid var(--line); }
.toast { position: fixed; left: 50%; bottom: 22px; transform: translateX(-50%); background: var(--ink); color: var(--paper); padding: 12px 20px; border-radius: 6px; z-index: 60; max-width: min(92vw, 520px); border: 2px solid var(--lime); font-weight: 500; }

/* 필터 */
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 22px; align-items: center; }
.filters input[type="search"], .filters select { min-height: 44px; border: 2px solid var(--ink); border-radius: 4px; padding: 0 12px; background: var(--paper); }
.filters input[type="search"] { flex: 1 1 240px; }
.tabs { display: flex; gap: 6px; flex-wrap: wrap; margin: 0 0 18px; }
.tabs button { min-height: 38px; padding: 0 14px; border: 2px solid var(--ink); background: var(--paper); border-radius: 99px; font-weight: 500; }
.tabs button[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.count { font-weight: 700; }

/* ───── 길 상세 ───── */
.street { padding: clamp(28px, 5vw, 56px) 0 0; }
.street__in { display: grid; grid-template-columns: minmax(0, 440px) minmax(0, 1fr); gap: clamp(26px, 5vw, 64px); align-items: start; }
.street__cover { padding-right: 9%; position: sticky; top: 92px; }
.street__cap { font-size: .8rem; color: var(--grey); margin-top: 12px; }
.crumb { font-size: .88rem; color: var(--grey); margin-bottom: 14px; }
.crumb a { color: inherit; }
.street h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
.street__where { margin: 10px 0 18px; }
.street__feat { font-size: 1.15rem; margin-bottom: 22px; }
.facts { display: grid; grid-template-columns: max-content 1fr; gap: 0; margin: 0 0 26px; border-top: 2px solid var(--ink); }
.facts dt, .facts dd { padding: 10px 0; border-bottom: 1px solid var(--line); margin: 0; }
.facts dt { font-weight: 700; padding-right: 22px; white-space: nowrap; }
.actions { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 28px; }
.votebox { border: 2px solid var(--ink); padding: 18px 20px; margin: 0 0 28px; background: var(--paper); box-shadow: 8px 8px 0 var(--lime); }
.votebox h2 { font-size: 1.4rem; margin-bottom: 8px; }
.votebox__stat { display: flex; gap: 26px; flex-wrap: wrap; margin: 10px 0 14px; }
.votebox__stat div b { display: block; font-family: var(--display); font-weight: 400; font-size: 2rem; line-height: 1; }
.votebox__stat div span { font-size: .84rem; color: var(--grey); }
.rivals { list-style: none; padding: 0; margin: 14px 0 0; font-size: .93rem; }
.rivals li { padding: 6px 0; border-top: 1px dashed var(--line); display: flex; justify-content: space-between; gap: 10px; }
.src { font-size: .88rem; color: var(--ink-2); }
.src li { margin-bottom: 4px; }
@media (max-width: 860px) { .street__in { grid-template-columns: 1fr; } .street__cover { position: static; max-width: 400px; } }

/* ───── 표·목록 ───── */
table { border-collapse: collapse; width: 100%; font-size: .95rem; }
th, td { text-align: left; padding: 10px 12px 10px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
thead th { border-bottom: 2px solid var(--ink); font-weight: 700; white-space: nowrap; }
td.num, th.num { text-align: right; font-variant-numeric: tabular-nums; }
.tablewrap { overflow-x: auto; }
.cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: clamp(24px, 4vw, 48px); }
.prose h2 { margin: 1.6em 0 .5em; font-size: 1.7rem; }
.prose h3 { margin: 1.4em 0 .4em; }
.prose ul, .prose ol { padding-left: 1.2em; max-width: 68ch; }
.prose li { margin-bottom: .35em; }
.pagehead { padding: clamp(30px, 5vw, 60px) 0 clamp(18px, 3vw, 30px); }
.pagehead p { margin-top: 14px; }

/* 도감 카드 */
.ops { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 0 34px; border-top: 2px solid var(--ink); }
.op { padding: 22px 0; border-bottom: 1px solid var(--line); }
.op h3 { font-size: 1.4rem; }
.op__meta { font-size: .88rem; color: var(--grey); margin: 4px 0 10px; }
.op p { margin-bottom: .7em; font-size: .97rem; }
.op__links { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 8px; }
.op__src { font-size: .82rem; color: var(--grey); margin: 0; }
.op__src a { color: inherit; }

/* 타일 지도 */
.tile { aspect-ratio: 1; border: 2px solid var(--ink); background: var(--paper); display: grid; align-content: center; justify-items: center; gap: 2px; padding: 4px; border-radius: 4px; }
.tile b { font-family: var(--display); font-weight: 400; font-size: clamp(.95rem, 2.4vw, 1.25rem); }
.tile span { font-size: .8rem; font-variant-numeric: tabular-nums; }
.tile[aria-pressed="true"] { background: var(--ink); color: var(--lime); }
.tile:hover { box-shadow: 4px 4px 0 var(--lime); }
.tile--void { visibility: hidden; }
.maplist h3 { margin: 26px 0 10px; padding-bottom: 6px; border-bottom: 2px solid var(--ink); font-size: 1.2rem; }
.maplist ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 2px 20px; }
.maplist li { padding: 6px 0; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; gap: 8px; }
.maplist li a.go { font-size: .8rem; color: var(--grey); white-space: nowrap; }

/* 막대 그래프(랩) */
.hbars { display: grid; grid-template-columns: max-content 1fr max-content; gap: 8px 12px; align-items: center; max-width: 720px; }
.hbars .lab { font-size: .92rem; }
.hbars .val { font-variant-numeric: tabular-nums; font-weight: 700; font-size: .92rem; text-align: right; }
.hbars .trk { height: 14px; }
.hbars .trk i { display: block; height: 100%; background: var(--ink); border-radius: 0 4px 4px 0; min-width: 2px; }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 0; border-top: 2px solid var(--ink); border-bottom: 1px solid var(--line); }
.stats div { padding: 18px 16px 18px 0; }
.stats b { display: block; font-family: var(--display); font-weight: 400; font-size: 2.4rem; line-height: 1.05; }
.stats span { font-size: .88rem; color: var(--grey); }

/* 폼 */
.form { display: grid; gap: 14px; max-width: 640px; }
.form label { display: grid; gap: 6px; font-weight: 700; font-size: .95rem; }
.form input, .form select, .form textarea { border: 2px solid var(--ink); border-radius: 4px; min-height: 46px; padding: 8px 12px; background: var(--paper); font-weight: 400; }
.form textarea { min-height: 120px; resize: vertical; }
.form .hint { font-weight: 400; color: var(--grey); font-size: .85rem; }

/* 응원 포스터 */
.poster { width: min(100%, 420px); aspect-ratio: 210 / 297; background: var(--paper); border: 2px solid var(--ink); padding: 7%; display: flex; flex-direction: column; gap: 4%; }
.poster__logo { height: 7%; width: auto; align-self: flex-start; }
.poster__name { font-family: var(--display); font-size: clamp(1.8rem, 7vw, 2.6rem); line-height: 1.1; transform: skewX(-6deg); transform-origin: left; }
.poster__ask { font-size: 1.05rem; font-weight: 700; }
.poster__qr { margin-top: auto; display: flex; gap: 6%; align-items: flex-end; }
.poster__qr .qr { width: 46%; background: var(--paper); border: 8px solid var(--lime); }
.poster__qr .qr svg { display: block; width: 100%; height: auto; }
.poster__qr p { font-size: .82rem; margin: 0; }
@media print {
  .top, .foot, .tabbar, .noprint { display: none !important; }
  .poster { width: 100%; border: 0; aspect-ratio: auto; min-height: 96vh; padding: 12mm; }
  .poster__name { font-size: 64pt; } .poster__ask { font-size: 20pt; } .poster__qr p { font-size: 11pt; }
  @page { size: A4; margin: 8mm; }
}

/* 명예의전당 */
.hall { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 22px; }
.hall__m { border: 2px solid var(--paper); padding: 18px; }
.sec:not(.sec--ink) .hall__m { border-color: var(--ink); }
.hall__m h3 { font-size: 1.1rem; display: flex; justify-content: space-between; }
.hall__m ol { margin: 12px 0 0; padding: 0; list-style: none; }
.hall__m li { display: flex; gap: 10px; justify-content: space-between; padding: 6px 0; border-top: 1px solid #3a3a3a; font-size: .95rem; }
.hall__m li:first-child { font-family: var(--display); font-size: 1.3rem; color: var(--lime); border-top: 0; }
.sticker { display: inline-block; background: var(--lime); color: var(--ink); font-family: var(--display); padding: 4px 14px 5px; transform: rotate(-3deg);
  clip-path: polygon(2% 12%, 30% 0, 62% 8%, 98% 2%, 100% 78%, 70% 100%, 36% 92%, 0 100%); }

/* ───── 꼬리말 ───── */
.foot { background: var(--ink); color: #d6d6d2; padding: 46px 0 34px; margin-top: clamp(40px, 6vw, 80px); font-size: .92rem; }
.foot__in { display: grid; grid-template-columns: 1.3fr .8fr .9fr 1.4fr; gap: 30px; }
.foot img { height: 44px; width: auto; margin-bottom: 14px; }
.foot h4 { color: var(--paper); margin: 0 0 8px; font-size: .95rem; }
.foot ul { list-style: none; margin: 0; padding: 0; }
.foot li { margin-bottom: 4px; }
.foot a { color: inherit; }
.foot__fine { border-top: 1px solid #333; margin-top: 28px; padding-top: 16px; color: #9d9d98; font-size: .82rem; }
@media (max-width: 860px) { .foot__in { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .foot__in { grid-template-columns: 1fr; } }

details { border-bottom: 1px solid var(--line); }
details summary { cursor: pointer; padding: 14px 0; font-size: 1.02rem; }
details summary b { font-family: var(--display); font-weight: 400; font-size: 1.2rem; margin-right: 8px; }
details[open] summary { border-bottom: 2px solid var(--ink); }

/* ═════ 찾아보고, 담고, 걸으러 가기 ═════ */
figure { margin: 0; }
figcaption { font-size: .78rem; color: var(--grey); margin-top: 8px; }
.more { font-weight: 700; white-space: nowrap; }
.nav__n { display: inline-block; min-width: 1.5em; margin-left: 6px; padding: 0 5px; border-radius: 99px; background: var(--lime); color: var(--ink); font-size: .75rem; font-weight: 700; text-align: center; line-height: 1.5; }
.linkbtn { background: none; border: 0; padding: 0; text-decoration: underline; text-underline-offset: 3px; color: inherit; }

/* 바로 고르기 */
.quick { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 22px; }
.quick a, .quick button { display: inline-flex; align-items: center; min-height: 38px; padding: 0 14px; border: 1px solid var(--ink); border-radius: 99px; background: var(--paper); text-decoration: none; font-size: .92rem; font-weight: 500; }
.quick a:hover, .quick button:hover { background: var(--shelf); }
.quick button[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.heroart img { width: 100%; height: auto; border: 2px solid var(--ink); }

/* 담기 */
.card, .wcard, .mcard { position: relative; }
.save { position: absolute; top: 8px; right: calc(8% + 8px); z-index: 2; width: 38px; height: 38px; display: grid; place-items: center; padding: 0; border: 1px solid var(--ink); border-radius: 50%; background: var(--paper); }
.save svg { width: 17px; height: 17px; fill: none; stroke: var(--ink); stroke-width: 2; stroke-linejoin: round; }
.save:hover { background: var(--shelf); }
.save[aria-pressed="true"] { background: var(--lime); }
.save[aria-pressed="true"] svg { fill: var(--ink); }
.wcard .save, .mcard .save { right: 8px; }
.btn[data-save][aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--paper); }

/* 첫 화면의 묶음 */
.cards--six { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 30px 22px; }
.cards--six .card__name { font-size: 1.08rem; }
@media (max-width: 1000px) { .cards--six { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 520px) { .cards--six { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 18px; } .cards--fresh > :nth-child(n+7) { display: none; } }

/* 코스 카드 */
.wcards { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 30px 26px; }
.wcards--six { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.wcard { min-width: 0; }
.wcard__img { display: block; aspect-ratio: 16 / 9; overflow: hidden; border: 1px solid var(--ink); background: var(--shelf-2); }
.wcard__img img { width: 100%; height: 100%; object-fit: cover; }
.wcard__blank { display: grid; place-items: center; height: 100%; padding: 10px; text-align: center; font-family: var(--display); font-size: 1.25rem; color: var(--grey); }
.wcard__name, .mcard__name { font-size: 1.22rem; line-height: 1.2; margin: 12px 0 2px; }
.wcard__name a, .mcard__name a { text-decoration: none; }
.wcard__name a:hover, .mcard__name a:hover { text-decoration: underline; }
.wcard__meta, .mcard__meta { font-size: .9rem; color: var(--grey); margin: 0; }
.wgroup { margin-top: 44px; }
.wgroup h2 { font-size: 1.6rem; margin-bottom: 18px; padding-bottom: 10px; border-bottom: 2px solid var(--ink); }

/* 산책믹스 카드 */
.mcards { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 34px 26px; }
.mcards--four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.mcard { min-width: 0; }
.mcard__grid { text-decoration: none; display: grid; grid-template-columns: 1fr 1fr; gap: 2px; aspect-ratio: 1; overflow: hidden; border: 1px solid var(--ink); background: var(--ink); }
.mcard__grid img { width: 100%; height: 100%; object-fit: cover; }
.mcard__blank { display: grid; place-items: center; padding: 8px; background: var(--shelf); text-align: center; font-size: .8rem; line-height: 1.3; color: var(--ink-2); }
@media (max-width: 1000px) { .wcards--six, .mcards--four { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 720px) {
  .rail { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x proximity; scroll-padding-inline: var(--gap); margin-inline: calc(-1 * var(--gap)); padding: 0 var(--gap) 6px; scrollbar-width: none; }
  .rail::-webkit-scrollbar { display: none; }
  .rail > * { flex: 0 0 76%; scroll-snap-align: start; }
  .mcards.rail > * { flex-basis: 62%; }
}

/* 지역 엽서, 이야기, 담아 두기 안내 */
.posts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-bottom: 26px; }
.post { display: block; text-decoration: none; }
.post img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border: 1px solid var(--ink); }
.post span { display: block; margin-top: 8px; }
.post b { font-family: var(--display); font-weight: 400; font-size: 1.35rem; margin-right: 8px; }
.post i { display: block; font-style: normal; font-size: .78rem; color: var(--grey); }
@media (max-width: 620px) { .posts { gap: 10px; } .post b { display: block; font-size: 1.15rem; } }
.split { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(24px, 5vw, 64px); align-items: center; }
.split--rev { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); }
.split figure img { width: 100%; height: auto; border: 1px solid var(--ink); }
.split--rev figure { max-width: 420px; justify-self: end; }
@media (max-width: 760px) { .split, .split--rev { grid-template-columns: minmax(0, 1fr); } .split--rev figure { justify-self: start; max-width: 300px; } }
.storylist { list-style: none; margin: 18px 0 0; padding: 0; border-top: 2px solid var(--ink); }
.storylist a { display: block; padding: 14px 0; border-bottom: 1px solid var(--line); text-decoration: none; }
.storylist b { display: block; font-family: var(--display); font-weight: 400; font-size: 1.3rem; line-height: 1.25; }
.storylist a:hover b { background: linear-gradient(transparent 58%, var(--lime) 58%); display: inline; }
.storylist span { display: block; color: var(--ink-2); font-size: .95rem; }

/* 화면 머리 그림 */
.pagehead--art { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 360px); gap: clamp(20px, 4vw, 56px); align-items: center; }
.pagehead__art img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border: 1px solid var(--ink); }
@media (max-width: 760px) { .pagehead--art { grid-template-columns: minmax(0, 1fr); } .pagehead__art { max-width: 420px; } }
.pagehead .en a { text-decoration: none; }
.looparts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-bottom: 22px; max-width: 720px; }
.looparts img { width: 100%; aspect-ratio: 1; object-fit: cover; border: 1px solid var(--ink); }

/* 길 화면 */
.actions--main { margin-bottom: 10px; }
.been { margin: 0 0 26px; font-size: .95rem; max-width: none; }
.been input { width: 18px; height: 18px; vertical-align: -3px; margin-right: 6px; accent-color: var(--ink); }
.coursebox { border: 2px solid var(--ink); padding: 18px 20px 20px; margin: 0 0 28px; }
.coursebox h2 { font-size: 1.3rem; }
.scenes { margin: 0 0 30px; }
.scenes h2 { font-size: 1.3rem; margin-bottom: 12px; }
.scenes__hero { width: 100%; height: auto; border: 1px solid var(--ink); margin-bottom: 8px; }
.scenes__row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin-bottom: 10px; }
.scenes__row img { width: 100%; aspect-ratio: 1; object-fit: cover; }
@media (max-width: 520px) { .scenes__row { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.cheer { margin-top: clamp(40px, 6vw, 72px); }
.cheer + * { margin-top: 0; }
.cheer__in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.cheer .votebox { margin: 0; }
@media (max-width: 860px) { .cheer__in { grid-template-columns: minmax(0, 1fr); } }
main:has(.cheer) + .foot { margin-top: 0; }

/* 코스 화면 */
.walk__hero { margin-bottom: 34px; }
.walk__hero img { width: 100%; height: auto; border: 2px solid var(--ink); }
.walk__in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 360px); gap: clamp(26px, 5vw, 64px); align-items: start; }
.stops { list-style: none; margin: 18px 0 26px; padding: 0; counter-reset: stop; border-top: 2px solid var(--ink); }
.stops li { counter-increment: stop; display: flex; align-items: center; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.stops li::before { content: counter(stop); flex: none; width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; background: var(--ink); color: var(--paper); font-family: var(--display); font-size: 1.1rem; }
.stops li > div { flex: 1; min-width: 0; }
.stops b { display: block; font-size: 1.1rem; }
.stops span { color: var(--ink-2); font-size: .95rem; }
.go { flex: none; font-size: .9rem; font-weight: 700; white-space: nowrap; }
.stops--mini { margin: 12px 0 16px; border-top-width: 1px; }
.stops--mini li { padding: 10px 0; }
.stops--mini li::before { width: 28px; height: 28px; font-size: .9rem; }
.stops--mini b { font-size: 1rem; }
.startbox { position: sticky; top: 92px; border: 2px solid var(--ink); padding: 20px; background: var(--paper); box-shadow: 8px 8px 0 var(--lime); }
.startbox h2 { font-size: 1.3rem; }
.startbox__name { font-weight: 700; font-size: 1.15rem; margin: 10px 0 2px; }
.startbox__addr { color: var(--ink-2); margin-bottom: 16px; }
.startbox .actions { margin-bottom: 12px; }
@media (max-width: 860px) { .walk__in { grid-template-columns: minmax(0, 1fr); } .startbox { position: static; order: -1; margin-right: 8px; } }
.pager { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 44px; padding-top: 18px; border-top: 2px solid var(--ink); }
.pager a { text-decoration: none; font-weight: 700; }
.pager a:hover { text-decoration: underline; }

/* 산책믹스 화면 */
.mixitems { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(28px, 4vw, 52px) clamp(26px, 4vw, 48px); margin-top: 14px; }
.mixitem { display: grid; grid-template-columns: minmax(0, 220px) minmax(0, 1fr); gap: 20px; align-items: start; }
.mixitem__art { position: relative; aspect-ratio: 1; overflow: hidden; border: 1px solid var(--ink); }
.mixitem__art img { width: 100%; height: 100%; object-fit: cover; }
.mixitem h2 { font-size: 1.5rem; }
.mixitem h2 a { text-decoration: none; }
.mixitem h2 a:hover { text-decoration: underline; }
.mixitem__where { margin: 6px 0 10px; color: var(--grey); font-size: .92rem; }
@media (max-width: 900px) { .mixitems { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 520px) { .mixitem { grid-template-columns: 112px minmax(0, 1fr); gap: 14px; } .mixitem h2 { font-size: 1.25rem; } }

/* 휴대폰 아래쪽 탭 */
.tabbar { display: none; }
@media (max-width: 720px) {
  .tabbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: grid; grid-template-columns: repeat(5, 1fr); background: var(--paper); border-top: 2px solid var(--ink); padding-bottom: env(safe-area-inset-bottom); }
  .tabbar a { display: grid; justify-items: center; gap: 2px; padding: 8px 0 7px; text-decoration: none; font-size: .72rem; font-weight: 500; color: var(--ink-2); }
  .tabbar svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
  .tabbar a[aria-current="page"] { color: var(--ink); font-weight: 700; }
  .tabbar a[aria-current="page"] svg { fill: var(--lime); }
  body { padding-bottom: calc(60px + env(safe-area-inset-bottom)); }
  .toast { bottom: calc(78px + env(safe-area-inset-bottom)); }
}

/* ═════ 이야기, 가게, 회원 ═════ */
.top__me { margin-left: 6px; flex: none; padding: 6px 12px; border: 2px solid var(--ink); border-radius: 99px; text-decoration: none; font-weight: 700; font-size: .88rem; white-space: nowrap; max-width: 9em; overflow: hidden; text-overflow: ellipsis; }
.top__me:hover { background: var(--lime); }
@media (max-width: 860px) { .top__in { position: relative; } .top__me { position: absolute; right: 0; top: 10px; padding: 3px 10px; } }

.story { margin: 0 0 30px; }
.story h2 { font-size: 1.6rem; margin-bottom: 14px; }
.story h3 { font-size: 1.1rem; margin: 22px 0 8px; }
.story > p { font-size: 1.04rem; }
.points { list-style: none; margin: 20px 0 0; padding: 0; border-top: 2px solid var(--ink); }
.points li { display: grid; grid-template-columns: minmax(0, 11em) minmax(0, 1fr); gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.points b { padding-left: 12px; border-left: 6px solid var(--lime); align-self: start; }
@media (max-width: 520px) { .points li { grid-template-columns: minmax(0, 1fr); gap: 2px; } }
.places { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--ink); }
.place { display: flex; gap: 14px; align-items: flex-start; padding: 14px 0; border-bottom: 1px solid var(--line); }
.place > div { flex: 1; min-width: 0; }
.place b { font-size: 1.08rem; }
.place p { margin: 4px 0 0; max-width: none; }
.place__addr, .place__src { font-size: .88rem; color: var(--grey); }
.save--inline { position: static; flex: none; }
.places--grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(24px, 4vw, 48px); }
@media (max-width: 760px) { .places--grid { grid-template-columns: minmax(0, 1fr); } }
.tips { margin: 0; padding-left: 1.2em; }
.bgroup { margin-top: 50px; }
.bgroup h2 a { text-decoration: none; }
.bgroup h2 a:hover { text-decoration: underline; }

.scards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px clamp(24px, 4vw, 48px); }
.scard { display: grid; grid-template-columns: minmax(0, 132px) minmax(0, 1fr); gap: 18px; align-items: start; }
.scard__img { display: block; aspect-ratio: 1; background: var(--shelf-2); border: 1px solid var(--ink); overflow: hidden; }
.scard__img img { width: 100%; height: 100%; object-fit: cover; }
.scard__where { font-size: .85rem; color: var(--grey); margin: 0 0 4px; }
.scard h3 { font-size: 1.3rem; line-height: 1.25; margin-bottom: 6px; }
.scard h3 a { text-decoration: none; }
.scard h3 a:hover { text-decoration: underline; }
.scard p:last-child { margin: 0; color: var(--ink-2); font-size: .95rem; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
@media (max-width: 860px) { .scards { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 520px) { .scard { grid-template-columns: 92px minmax(0, 1fr); gap: 14px; } .scard h3 { font-size: 1.12rem; } }

.tcard { position: relative; border: 1px solid var(--ink); padding: 16px 52px 16px 16px; min-height: 120px; align-self: start; }
.tcard h3 { font-size: 1.15rem; margin: 8px 0 4px; }
.tcard h3 a { text-decoration: none; }
.tcard p { margin: 0; font-size: .88rem; color: var(--grey); }
.tcard .save { right: 8px; }

.talk { margin: clamp(36px, 5vw, 60px) 0 0; padding-top: 26px; border-top: 2px solid var(--ink); max-width: 760px; }
.talk h2 { font-size: 1.6rem; }
.talk__sum { margin: 10px 0 16px; }
.talk__sum b { margin-left: 6px; }
.talk__form { margin: 0 0 22px; }
.talk__form textarea { min-height: 96px; }
.tposts { list-style: none; margin: 0; padding: 0; }
.tpost { padding: 16px 0; border-bottom: 1px solid var(--line); }
.tpost__head { display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: baseline; }
.tpost__head a { text-decoration: none; }
.tpost__head a:hover { text-decoration: underline; }
.tpost p { margin: 6px 0 4px; max-width: none; }
.tpost__act { font-size: .85rem; color: var(--grey); }
.stars { color: var(--ink); letter-spacing: 1px; white-space: nowrap; }
.stars i { font-style: normal; color: var(--line); }
.mebox { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; border: 2px solid var(--ink); padding: 20px; box-shadow: 8px 8px 0 var(--lime); margin-right: 8px; }
.mebox p { margin: 4px 0 0; }
.form h2 { font-size: 1.4rem; margin-bottom: 12px; }
.form .check { display: flex; gap: 8px; align-items: flex-start; font-weight: 400; }
.form .check input { width: 18px; height: 18px; min-height: 0; flex: none; margin-top: 3px; accent-color: var(--ink); }
.scard__blank { display: grid; place-items: center; height: 100%; padding: 8px; text-align: center; font-family: var(--display); font-size: 1.05rem; line-height: 1.2; background: var(--lime); }

/* ───── 지도 ───── */
.geo { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: clamp(22px, 4vw, 48px); align-items: start; padding-bottom: clamp(40px, 6vw, 80px); }
.geo--nation { grid-template-columns: minmax(0, 620px) minmax(0, 1fr); }
.geo__map { position: sticky; top: 84px; }
.geo__svg { display: block; width: 100%; height: auto; max-height: calc(100vh - 150px); background: var(--paper); }
.geo__svg--nation { max-height: none; }
.geo__svg a { cursor: pointer; }
.geo__svg a:focus-visible { outline: none; }
.geo-land { fill: var(--shelf); stroke: var(--ink); stroke-width: 1; stroke-linejoin: round; vector-effect: non-scaling-stroke; transition: fill .15s; }
.geo-land--on { fill: #effbc9; }
.geo__svg a:hover .geo-land, .geo__svg a:focus-visible .geo-land { fill: var(--lime); }
.geo-emd { fill: var(--shelf); stroke: #b9b9b3; stroke-width: .8; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.geo-emd--on { fill: #effbc9; }
.geo-outline { fill: none; stroke: var(--ink); stroke-width: 2; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.geo-dot { fill: var(--ink); opacity: .55; }
.geo-dot--y { fill: var(--lime); stroke: var(--ink); stroke-width: 1; opacity: 1; vector-effect: non-scaling-stroke; }
.geo-lab { font-family: var(--body); font-size: calc(12px * min(var(--mk, 1), 1.9)); font-weight: 500; fill: var(--ink); paint-order: stroke; stroke: rgba(255, 255, 255, .85); stroke-width: calc(3px * min(var(--mk, 1), 1.9)); stroke-linejoin: round; pointer-events: none; }
.geo-lab--sido { font-family: var(--display); font-weight: 400; font-size: calc(17px * min(var(--mk, 1), 1.8)); }
.geo-lab--small { font-size: calc(13px * min(var(--mk, 1), 1.8)); }
.geo-lab--s { font-size: calc(11px * var(--mk, 1)); }
.geo-lab--off { fill: var(--grey); font-weight: 400; }
.geo-lab--emd { font-size: calc(10.5px * var(--mk, 1)); font-weight: 400; fill: var(--ink-2); }
.geo-lab__n { font-family: var(--body); font-weight: 700; font-size: .78em; fill: var(--ink-2); }
.geo-inset rect { fill: var(--paper); stroke: var(--ink); stroke-width: 1; vector-effect: non-scaling-stroke; }
.geo-dokdo { fill: var(--ink); }
.geo-mk__s { transform-box: fill-box; transform-origin: center; transform: scale(var(--mk, 1)); transition: transform .12s; }
.geo-mk circle { fill: var(--ink); stroke: var(--paper); stroke-width: 1.5; }
.geo-mk text { fill: var(--paper); font-family: var(--body); font-size: 11.5px; font-weight: 700; text-anchor: middle; pointer-events: none; }
.geo-mk--y circle { fill: var(--lime); stroke: var(--ink); stroke-width: 1.6; }
.geo-mk--y text { fill: var(--ink); }
.geo-mk:hover .geo-mk__s, .geo-mk:focus-visible .geo-mk__s, .geo-mk.is-hl .geo-mk__s { transform: scale(calc(var(--mk, 1) * 1.35)); }
.geo-mk.is-on .geo-mk__s { transform: scale(calc(var(--mk, 1) * 1.45)); }
.geo-mk.is-on circle, .geo-mk:focus-visible circle { stroke: var(--ink); stroke-width: 3; }
.geo-mk.is-on:not(.geo-mk--y) circle { fill: var(--ink); stroke: var(--lime); }
.geo-legend { list-style: none; margin: 12px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 18px; font-size: .88rem; align-items: center; }
.geo-legend li { display: flex; align-items: center; gap: 7px; }
.geo-legend .small { flex-basis: 100%; }
.geo-key { width: 13px; height: 13px; border-radius: 50%; background: var(--ink); display: inline-block; }
.geo-key--y { background: var(--lime); border: 2px solid var(--ink); }
.geo__h { font-size: 1.45rem; margin-bottom: 12px; }
.geo__h3 { font-size: 1.15rem; margin: 28px 0 10px; padding-bottom: 6px; border-bottom: 2px solid var(--ink); }
.geo-rows { list-style: none; margin: 0 0 20px; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 18px; }
.geo-rows a { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; padding: 10px 2px; border-bottom: 1px solid var(--line); text-decoration: none; }
.geo-rows a:hover b { background: linear-gradient(transparent 58%, var(--lime) 58%); }
.geo-rows b { font-family: var(--display); font-weight: 400; font-size: 1.15rem; }
.geo-rows span { font-size: .86rem; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.geo-group { margin-bottom: 18px; }
.geo-group h3 { font-size: 1.08rem; padding-bottom: 5px; border-bottom: 2px solid var(--ink); margin-bottom: 8px; }
.geo-names { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: .93rem; }
.geo-names li[data-hl]:hover a { background: var(--lime); }
.geo-items { list-style: none; margin: 0; padding: 0; }
.geo-item { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.geo-item__name { font-weight: 700; }
.geo-item__where { font-size: .86rem; color: var(--grey); margin: 2px 0 0; }
.geo-num { width: 30px; height: 30px; border-radius: 50%; border: 2px solid var(--ink); background: var(--ink); color: var(--paper); font-weight: 700; font-size: .85rem; display: grid; place-items: center; padding: 0; font-variant-numeric: tabular-nums; }
.geo-num--y { background: var(--lime); color: var(--ink); }
.geo-num--none { background: var(--paper); color: var(--grey); border-style: dashed; border-color: var(--line); }
.geo-num:hover { box-shadow: 3px 3px 0 var(--lime); }
.geo-num--y:hover { box-shadow: 3px 3px 0 var(--ink); }
.geo-shops { list-style: none; margin: 8px 0 0; padding: 8px 0 0 10px; border-left: 3px solid var(--lime); font-size: .9rem; display: grid; gap: 2px; }
.geo-card { position: absolute; top: 10px; right: 10px; width: min(300px, calc(100% - 20px)); max-height: calc(100% - 20px); overflow: auto; background: var(--paper); border: 2px solid var(--ink); border-radius: 6px; box-shadow: 6px 6px 0 var(--lime); padding: 16px 16px 14px; z-index: 3; }
.geo-card--l { right: auto; left: 10px; }
.geo-card--b { top: auto; bottom: 10px; }
.geo-card__x { position: absolute; top: 6px; right: 8px; border: 0; background: none; font-size: 1.6rem; line-height: 1; width: 36px; height: 36px; }
.geo-card__top { display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 12px; align-items: start; padding-right: 26px; }
.geo-card__top img, .geo-card__blank { width: 72px; height: 72px; border-radius: 4px; object-fit: cover; border: 1px solid var(--line); }
.geo-card__blank { display: grid; place-items: center; text-align: center; font-size: .7rem; padding: 4px; background: var(--shelf); line-height: 1.2; }
.geo-card h3 { font-size: 1.25rem; margin: 2px 0 6px; }
.geo-card h3:focus { outline: none; }
.geo-card h4 { font-size: .85rem; font-family: var(--body); font-weight: 700; margin: 12px 0 4px; }
.geo-card__where { font-size: .8rem; color: var(--grey); margin: 0; }
.geo-card__lede { font-size: .9rem; margin: 10px 0 0; }
.geo-card__shops { list-style: none; margin: 0; padding: 0; font-size: .88rem; display: grid; gap: 1px; }
.geo-card__shops span { color: var(--grey); font-size: .8rem; }
.geo-card__note { font-size: .78rem; color: var(--grey); margin: 10px 0 8px; }
.geo-card__go { margin: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.mini { display: grid; grid-template-columns: minmax(0, 220px) minmax(0, 1fr); gap: 22px; align-items: center; margin: 30px 0 26px; padding: 18px; border: 2px solid var(--ink); border-radius: 6px; }
.mini h2 { font-size: 1.3rem; margin-bottom: 8px; }
.mini p { font-size: .95rem; }
.mini p:last-child { margin: 0; }
.mini__svg { display: block; width: 100%; height: auto; max-height: 240px; }
.mini__pin { fill: var(--ink); stroke: var(--paper); stroke-width: 2; }
.mini__pin--y { fill: var(--lime); stroke: var(--ink); }
@media (max-width: 900px) {
  .geo, .geo--nation { grid-template-columns: minmax(0, 1fr); }
  .geo__map { position: relative; top: 0; }
  .geo__svg { max-height: none; }
}
@media (max-width: 760px) {
  .geo-card, .geo-card--l, .geo-card--b { position: static; width: 100%; max-height: none; margin-top: 12px; box-shadow: 4px 4px 0 var(--lime); }
  .geo-lab--emd { display: none; }
  .geo-rows { grid-template-columns: minmax(0, 1fr); }
  .mini { grid-template-columns: minmax(0, 1fr); }
  .mini__map { max-width: 260px; }
}
@media (prefers-reduced-motion: reduce) { .geo-mk__s, .geo-land { transition: none; } }

/* ═════ 최종본: 메뉴 묶음, 첫 화면, 찾기, 길 화면 보강 ═════ */
.nav__n { display: inline-grid; place-items: center; min-width: 18px; height: 18px; margin-left: 5px; padding: 0 5px; border-radius: 99px; background: var(--lime); color: var(--ink); font-size: .7rem; font-weight: 700; vertical-align: 1px; }
.subnav { border-bottom: 1px solid var(--line); background: var(--paper); }
.subnav__in { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; padding-top: 8px; padding-bottom: 8px; }
.subnav__in::-webkit-scrollbar { display: none; }
.subnav a { flex: none; padding: 4px 12px; border-radius: 99px; font-size: .88rem; text-decoration: none; color: var(--ink-2); white-space: nowrap; }
.subnav a:hover { background: var(--shelf); }
.subnav a[aria-current="page"] { background: var(--lime); color: var(--ink); font-weight: 700; box-shadow: inset 0 0 0 1px var(--ink); }
@media (max-width: 720px) {
  .nav { display: none; }
  .top__in { padding-top: 0; min-height: 56px; flex-wrap: nowrap; }
  .top__me { position: static; margin-left: auto; }
}
.foot__rules { margin-top: 14px !important; color: #a9a9a4; font-size: .82rem; }
.foot__rules li::before { content: "· "; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; }

/* 첫 화면 */
.hero__date { display: inline-block; margin: 0 0 14px; padding: 3px 12px; border-radius: 99px; background: var(--lime); font-size: .88rem; font-weight: 700; }
.quick__near { gap: 6px; background: var(--ink) !important; color: var(--paper) !important; border-color: var(--ink) !important; font-weight: 700 !important; }
.quick__near svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; }
.quick__near[aria-pressed="true"] { background: var(--lime) !important; color: var(--ink) !important; }
.quick--sub { margin-top: -10px; }
.sec--tight { padding-top: clamp(26px, 4vw, 48px); }
.sub-h { font-size: 1.35rem; margin: 46px 0 22px; }
.sub-h .small { font-family: var(--body); font-size: .85rem; margin-left: 6px; }
.sub-h2 { font-size: 1.3rem; margin: 30px 0 10px; }
.picks__title { font-size: 1.7rem; margin: 0 0 14px; }
.picks__grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); grid-template-rows: auto auto; gap: 22px 34px; }
.pick { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 20px; align-items: start; border-top: 2px solid var(--ink); padding-top: 18px; }
.pick--big { grid-row: span 2; grid-template-columns: minmax(0, 1fr); }
.pick--big .pick__art { max-width: 420px; padding-right: 9%; }
.pick__art .sleeve { width: 100%; }
.pick__where { margin: 0; font-size: .86rem; color: var(--grey); }
.pick h3 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); margin: 4px 0 8px; }
.pick:not(.pick--big) h3 { font-size: 1.3rem; }
.pick h3 a { text-decoration: none; }
.pick__why { margin: 0 0 8px; }
.pick__why b { display: inline-block; margin-right: 6px; padding: 0 8px; border-radius: 3px; background: var(--lime); font-size: .82rem; }
.pick__lede { color: var(--ink-2); margin: 0 0 14px; }
.pick .actions { margin: 10px 0 0; }
@media (max-width: 860px) { .picks__grid { grid-template-columns: minmax(0, 1fr); } .pick--big { grid-row: auto; } }
@media (max-width: 520px) { .pick { grid-template-columns: 104px minmax(0, 1fr); gap: 14px; } .pick--big { grid-template-columns: minmax(0, 1fr); } }
.card__why { margin: 6px 0 0; font-size: .86rem; line-height: 1.5; color: var(--ink-2); }
.card__d { color: var(--ink); }
.cards--four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 860px) { .cards--four { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 18px; } }
.steps3 { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; counter-reset: s; }
.steps3 li { counter-increment: s; background: var(--paper); border: 2px solid var(--ink); border-radius: 6px; padding: 20px 20px 18px; }
.steps3 li::before { content: counter(s); display: grid; place-items: center; width: 34px; height: 34px; margin-bottom: 10px; border-radius: 50%; background: var(--lime); border: 2px solid var(--ink); font-family: var(--display); }
.steps3 b { display: block; font-size: 1.15rem; margin-bottom: 4px; }
.steps3 span { color: var(--ink-2); font-size: .95rem; }
@media (max-width: 760px) { .steps3 { grid-template-columns: minmax(0, 1fr); } }
.newslist { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--ink); }
.newsitem { display: grid; grid-template-columns: 76px 64px minmax(0, 1fr); gap: 14px; align-items: start; padding: 16px 0; border-bottom: 1px solid var(--line); }
.newsitem time { font-weight: 700; font-size: .92rem; }
.newsitem .chip { justify-self: start; }
.newsitem h3 { font-family: var(--body); font-weight: 700; font-size: 1.05rem; margin: 0 0 2px; }
.newsitem p { margin: 0; color: var(--ink-2); font-size: .95rem; }
@media (max-width: 560px) { .newsitem { grid-template-columns: auto minmax(0, 1fr); } .newsitem > div { grid-column: 1 / -1; } }
.newsmonth { margin-bottom: 44px; }
.newsmonth h2 { font-size: 1.4rem; margin-bottom: 12px; }
.walkmix { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 34px; align-items: start; }
.mcards--two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.wcards--stack { grid-template-columns: minmax(0, 1fr); gap: 18px; }
.wcards--stack .wcard { display: grid; grid-template-columns: 160px minmax(0, 1fr); gap: 4px 16px; align-items: start; position: relative; }
.wcards--stack .wcard__img { grid-row: span 3; }
.wcards--stack .wcard__name { margin-top: 0; font-size: 1.12rem; }
@media (max-width: 860px) { .walkmix { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 520px) { .mcards--two { gap: 18px; } .wcards--stack .wcard { grid-template-columns: 112px minmax(0, 1fr); } }
.scards--home { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 860px) { .scards--home { grid-template-columns: minmax(0, 1fr); } }
.tastebar__in { display: flex; align-items: center; justify-content: space-between; gap: 22px; flex-wrap: wrap; }
.tastebar h2 { font-size: clamp(1.6rem, 3.4vw, 2.3rem); }
.tastebar p { margin: 8px 0 0; max-width: 560px; }

/* 찾기 */
.filters #f-sort { min-width: 0; }
.guide-status { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 12px; margin: 0 0 22px; }
.empty--box { grid-column: 1 / -1; text-align: left; border: 2px dashed var(--line); border-radius: 6px; padding: 22px; }
.empty--box p { margin: 0 0 10px; }
.empty--box .quick { margin: 0 0 10px; }
.themes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px 26px; }
.theme { display: block; text-decoration: none; }
.theme__art { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 3px; margin-bottom: 12px; border: 2px solid var(--ink); padding: 3px; background: var(--ink); }
.theme__art img, .theme__blank { aspect-ratio: 1; width: 100%; object-fit: cover; }
.theme__blank { display: grid; place-items: center; background: var(--paper); font-size: .6rem; text-align: center; padding: 3px; line-height: 1.2; }
.theme b { display: block; font-family: var(--display); font-weight: 400; font-size: 1.3rem; }
.theme > span:last-child { display: block; color: var(--ink-2); font-size: .9rem; }
.theme:hover b { text-decoration: underline; }
@media (max-width: 900px) { .themes { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .themes { grid-template-columns: minmax(0, 1fr); } }
.crumb { font-size: .88rem; color: var(--grey); margin: 0 0 8px; }
.byregion { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px 30px; }
.byregion h3 { font-size: 1.15rem; border-bottom: 2px solid var(--ink); padding-bottom: 6px; margin-bottom: 8px; }
.byregion ul { list-style: none; margin: 0; padding: 0; font-size: .95rem; }
.byregion li { padding: 3px 0; }
@media (max-width: 860px) { .byregion { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .byregion { grid-template-columns: minmax(0, 1fr); } }

/* 길 화면 */
.verify { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 8px; font-size: .86rem; color: var(--ink-2); margin: -8px 0 20px; }
.verify__dot { width: 10px; height: 10px; border-radius: 50%; background: var(--lime); border: 2px solid var(--ink); }
.verify a { color: var(--grey); }
.actions--main .btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linejoin: round; }
.btn--lime svg { fill: none; }
.menu { position: relative; }
.menu summary { list-style: none; }
.menu summary::-webkit-details-marker { display: none; }
.menu summary::after { content: "▾"; margin-left: 2px; font-size: .8em; }
.menu__list { position: absolute; z-index: 20; top: calc(100% + 6px); left: 0; min-width: 180px; display: grid; background: var(--paper); border: 2px solid var(--ink); border-radius: 6px; padding: 6px; box-shadow: 4px 4px 0 var(--ink); }
.menu__list a, .menu__list button { display: block; padding: 9px 12px; text-align: left; text-decoration: none; background: none; border: 0; border-radius: 4px; font-size: .95rem; }
.menu__list a:hover, .menu__list button:hover { background: var(--shelf); }
.glance { margin: 0 0 30px; background: var(--shelf); border-radius: 6px; padding: 16px 20px 12px; }
.glance dl { margin: 0; display: grid; gap: 0; }
.glance dl > div { display: grid; grid-template-columns: 84px minmax(0, 1fr); gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--line); }
.glance dl > div:last-child { border-bottom: 0; }
.glance dt { font-weight: 700; }
.glance dd { margin: 0; }
.glance dd .small { display: block; }
.glance dd b + .small, .glance dd .small + .small { display: inline; margin-left: 4px; }
.glance > p { margin: 6px 0 0; }
.alsos { margin: 34px 0 10px; }
.alsos h2 { font-size: 1.3rem; margin-bottom: 4px; }
.alsos h3 { font-family: var(--body); font-size: .95rem; font-weight: 700; margin: 16px 0 8px; }
.mini-cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.mini-card a { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 12px; align-items: center; text-decoration: none; border: 1px solid var(--line); border-radius: 6px; padding: 8px; height: 100%; }
.mini-card a:hover { border-color: var(--ink); }
.mini-card img, .mini-card__blank { width: 64px; height: 64px; object-fit: cover; border: 1px solid var(--ink); background: var(--paper); }
.mini-card b { display: block; line-height: 1.3; }
.mini-card span span { display: block; font-size: .82rem; color: var(--grey); }
@media (max-width: 520px) { .mini-cards { grid-template-columns: minmax(0, 1fr); } }
.report { margin: 30px 0 10px; border: 2px solid var(--ink); border-radius: 6px; }
.report summary { cursor: pointer; padding: 14px 18px; display: flex; justify-content: space-between; gap: 12px; align-items: center; }
.report summary .small { border-bottom: 1px solid currentColor; }
.report[open] summary, .report details[open] summary { border-bottom: 1px solid var(--line); }
.report__form { padding: 16px 18px 18px; margin: 0; }
.report .notice { margin: 16px 18px; }
.walk__hero figcaption { margin-top: 8px; }

/* 내 쏙, 어디 갈까 */
.mymap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 30px; align-items: center; margin: 0 0 56px; padding: 22px; border: 2px solid var(--ink); border-radius: 8px; }
.mymap__svg { width: 100%; max-height: 460px; }
.mymap__land { fill: var(--shelf); stroke: #fff; stroke-width: 1.2; transition: fill .2s; }
.mymap__land.is-want { fill: #eaf9b6; }
.mymap__land.is-been { fill: var(--lime); }
.mymap__want { fill: var(--paper); stroke: var(--ink); stroke-width: 2; }
.mymap__been { fill: var(--ink); stroke: var(--lime); stroke-width: 2; }
.mymap__big { display: flex; align-items: baseline; gap: 10px; margin: 0 0 6px; }
.mymap__big b { font-family: var(--display); font-weight: 400; font-size: 3rem; line-height: 1; }
.geo-key--been { background: var(--ink); border: 2px solid var(--lime); }
@media (max-width: 760px) { .mymap { grid-template-columns: minmax(0, 1fr); } .mymap__svg { max-height: 360px; } }
.pickmaker { margin: 48px 0 0; padding: 22px; background: var(--shelf); border-radius: 8px; }
.pickmaker__list { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 8px; margin: 16px 0; }
.pickopt { display: block; cursor: pointer; }
.pickopt input { position: absolute; opacity: 0; }
.pickopt span { display: grid; grid-template-columns: 56px minmax(0, 1fr); grid-template-rows: auto auto; column-gap: 10px; align-items: center; background: var(--paper); border: 2px solid var(--line); border-radius: 6px; padding: 6px; }
.pickopt img, .pickopt__blank { grid-row: span 2; width: 56px; height: 56px; object-fit: cover; background: var(--shelf); }
.pickopt b { line-height: 1.25; font-size: .95rem; align-self: end; }
.pickopt small { color: var(--grey); align-self: start; }
.pickopt input:checked + span { border-color: var(--ink); background: #f6fdd9; box-shadow: 3px 3px 0 var(--ink); }
.pickopt input:focus-visible + span { outline: 3px solid var(--ink); outline-offset: 2px; }
.pickmaker__form { display: flex; flex-wrap: wrap; gap: 12px; align-items: end; }
.pickmaker__form label { max-width: 220px; }
.picklist { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 28px; margin-bottom: 30px; }
.pickcard { border: 2px solid var(--ink); border-radius: 8px; padding: 18px; transition: opacity .2s; }
.pickcard .sleeve { width: 82%; }
.pickcard__text h2 { font-size: 1.6rem; margin: 2px 0 6px; }
.pickcard__text h2 a { text-decoration: none; }
.pickcard__text p { margin: 0 0 4px; }
.pickcard.is-chosen { background: #f6fdd9; box-shadow: 5px 5px 0 var(--ink); }
.pickcard.is-out { opacity: .55; }
.pickhow { margin-top: 56px; }
.pickhow h2 { margin-bottom: 18px; }

/* 나의 길 취향 */
.taste { max-width: 760px; min-height: 340px; }
.taste__start { border: 2px solid var(--ink); border-radius: 8px; padding: 28px; background: var(--shelf); }
.taste__q h2 { font-size: clamp(1.5rem, 3.6vw, 2.2rem); margin: 16px 0 22px; }
.taste__step { margin: 0; font-weight: 700; }
.taste__step span { font-family: var(--display); font-size: 1.6rem; font-weight: 400; }
.taste__bar { height: 8px; background: var(--shelf); border-radius: 99px; overflow: hidden; }
.taste__bar i { display: block; height: 100%; background: var(--lime); border-right: 2px solid var(--ink); }
.taste__opts { display: grid; gap: 10px; margin-bottom: 18px; }
.taste__opts button { text-align: left; padding: 16px 18px; border: 2px solid var(--ink); border-radius: 8px; background: var(--paper); font-size: 1.05rem; font-weight: 500; }
.taste__opts button:hover { background: #f6fdd9; box-shadow: 3px 3px 0 var(--ink); }
.taste__result { border: 2px solid var(--ink); border-radius: 8px; padding: 28px; background: var(--paper); box-shadow: 6px 6px 0 var(--lime); }
.taste__name { font-size: clamp(2.2rem, 6vw, 3.4rem); margin: 4px 0 6px; }
.taste__line { font-weight: 700; font-size: 1.1rem; margin: 0 0 10px; }
.taste__result .actions { margin: 20px 0 0; }

/* 소개, 스튜디오 */
.ladder { list-style: none; padding: 0; margin: 18px 0; counter-reset: l; }
.ladder li { counter-increment: l; display: grid; grid-template-columns: 44px 120px minmax(0, 1fr); gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.ladder li::before { content: counter(l); display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--lime); border: 2px solid var(--ink); font-family: var(--display); }
@media (max-width: 560px) { .ladder li { grid-template-columns: 44px minmax(0, 1fr); } .ladder li span { grid-column: 2; } }
.opsteps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.opsteps li { border: 2px solid var(--ink); border-radius: 6px; padding: 16px; display: grid; gap: 4px; align-content: start; }
.opsteps__n { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; background: var(--lime); border: 2px solid var(--ink); font-family: var(--display); }
.opsteps b { font-size: 1.05rem; }
.opsteps span:last-child { font-size: .9rem; color: var(--ink-2); }
@media (max-width: 1000px) { .opsteps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .opsteps { grid-template-columns: minmax(0, 1fr); } }
.perm td:not(:first-child), .perm th:not(:first-child) { text-align: center; }
.btn { white-space: nowrap; }
.picks__grid { grid-template-rows: auto 1fr; }
.picks__grid > .pick:not(.pick--big) { align-self: start; }
.mini-card__blank { display: grid; place-items: center; font-family: var(--display); font-size: 1.05rem; background: var(--lime) !important; }
.glance dd { min-width: 0; }
.glance dd .nb { white-space: normal; display: inline-block; }
.glance dd .nb .small:last-child { white-space: nowrap; }

/* ═════ 디자인 최종본: 도로명판 검색, 첫 화면, 머리말 검색 ═════
   길을 찾는 장치(검색, 하러 갈 일, 주제)는 도로명판과 이정표 모양으로,
   길 자체는 레코드 재킷 모양으로 보여 준다. 라임은 포인트 한 가지로만 쓴다. */

/* 머리말 검색 */
.top__search { display: inline-flex; align-items: center; gap: 6px; border: 0; background: none; padding: 8px 10px; border-radius: 4px; font-weight: 500; font-size: .95rem; margin-left: 4px; }
.top__search svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; }
.top__search:hover { background: var(--shelf); }
.top__search[aria-expanded="true"] { background: var(--lime); }
.qs { border-top: 1px solid var(--line); background: var(--paper); padding: 16px 0 18px; }
.qs__in .sign { max-width: 760px; }
.qs__hint { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 12px 0 0; font-size: .92rem; max-width: none; }
.qs__hint a { display: inline-flex; align-items: center; gap: 4px; }
.qs__hint svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; }
@media (max-width: 860px) {
  .top__in { flex-wrap: wrap; }
  .nav { order: 4; }
  .top__search { margin-left: auto; }
  .top__me { position: static; margin-left: 4px; padding: 3px 10px; }
}
@media (max-width: 720px) { .top__search span { display: none; } .top__search { padding: 8px; } }

/* 도로명판 검색 칸 */
.sign { position: relative; display: flex; align-items: stretch; width: 100%; max-width: 600px; background: var(--ink); border-radius: 14px; padding: 7px; }
.sign::before { content: ""; position: absolute; inset: 4px; border: 2px solid var(--paper); border-radius: 10px; pointer-events: none; }
.sign:focus-within::before { border-color: var(--lime); }
.sign__plate { flex: 1; min-width: 0; display: grid; align-content: center; padding: 8px 12px 7px 16px; }
.sign input { width: 100%; min-width: 0; background: transparent; border: 0; color: var(--paper); font-family: var(--display); font-size: 1.2rem; padding: 0; outline: none; -webkit-appearance: none; appearance: none; }
.sign input::placeholder { color: #8f8f8a; }
.sign input::-webkit-search-cancel-button { filter: grayscale(1) invert(1) brightness(1.6); }
.sign__sub { color: #b9b9b4; font-size: .76rem; line-height: 1.4; }
.sign__go { position: relative; z-index: 1; flex: none; margin: 3px; border: 0; background: var(--lime); color: var(--ink); font-family: var(--display); font-size: 1.1rem; padding: 0 32px 0 18px; border-radius: 8px 0 0 8px;
  clip-path: polygon(0 0, calc(100% - 20px) 0, 100% 50%, calc(100% - 20px) 100%, 0 100%); }
.sign__go:hover { background: var(--lime-deep); }
.sign__go:focus-visible { outline: none; background: var(--paper); }
.sign--big { padding: 8px; border-radius: 16px; }
.sign--big::before { border-radius: 12px; }
.sign--big .sign__plate { padding: 12px 14px 10px 20px; }
.sign--big input { font-size: clamp(1.3rem, 2.6vw, 1.75rem); }
.sign--big .sign__go { font-size: 1.3rem; padding: 0 40px 0 24px; }
/* 찾는 동안 뜨는 목록 */
.sugg { position: absolute; left: 0; right: 0; top: calc(100% + 8px); z-index: 50; list-style: none; margin: 0; padding: 6px; background: var(--paper); border: 2px solid var(--ink); border-radius: 12px; box-shadow: 5px 5px 0 var(--ink); max-height: min(60vh, 460px); overflow: auto; }
.sugg li { display: grid; grid-template-columns: 42px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 6px 8px; border-radius: 8px; cursor: pointer; }
.sugg li[aria-selected="true"], .sugg li:hover { background: #f1fbcc; }
.sugg__ic { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 6px; background: var(--shelf); font-family: var(--display); font-size: .95rem; overflow: hidden; }
.sugg__ic img { width: 100%; height: 100%; object-fit: cover; }
.sugg__ic svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; }
.sugg b { display: block; font-weight: 700; line-height: 1.3; }
.sugg small { color: var(--grey); font-size: .82rem; }
.sugg__k { font-size: .76rem; color: var(--grey); white-space: nowrap; }
.sugg__all { border-top: 1px solid var(--line); border-radius: 0 0 8px 8px !important; margin-top: 4px; }

/* 첫 화면 히어로 */
.hero { padding: clamp(28px, 5vw, 64px) 0 clamp(40px, 6vw, 72px); }
.hero__in { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: clamp(30px, 5vw, 76px); align-items: start; }
.hero h1 { font-size: clamp(2.4rem, 5.4vw, 4.3rem); line-height: 1.08; transform: skewX(-6deg); transform-origin: left bottom; }
.hero__date { display: inline-block; margin: 0 0 16px; padding: 3px 12px; border-radius: 99px; background: var(--lime); font-size: .88rem; font-weight: 700; }
.hero__sub { margin: 18px 0 24px; }
/* 하러 갈 일: 이정표 모양 */
.ways { display: flex; flex-wrap: wrap; gap: 8px 6px; margin-top: 18px; max-width: 600px; }
.ways a { display: inline-flex; align-items: center; gap: 6px; min-height: 38px; padding: 0 22px 0 14px; background: var(--shelf); text-decoration: none; font-size: .92rem; font-weight: 500; border-radius: 4px 0 0 4px;
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 50%, calc(100% - 12px) 100%, 0 100%); }
.ways a:hover { background: var(--lime); }
.ways a:focus-visible { outline: none; background: var(--ink); color: var(--paper); }
.ways .ways__near { background: var(--ink); color: var(--paper); font-weight: 700; }
.ways .ways__near:hover { background: var(--lime); color: var(--ink); }
.ways svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; }
/* 이번 주 쏙이 고른 길 */
.heropick__title { display: grid; gap: 0; margin: 0 0 4px; max-width: none; }
.heropick__title .pen { font-size: 1.7rem; }
.heropick__title b { font-family: var(--display); font-weight: 400; font-size: 1.3rem; line-height: 1.25; }
.crate { position: relative; aspect-ratio: 1.55; margin: 10px 0 14px; }
.crate .sleeve { position: absolute; width: 44%; }
.crate .sleeve:nth-child(1) { left: 0; top: 15%; transform: rotate(-6deg); z-index: 1; }
.crate .sleeve:nth-child(2) { left: 25%; top: 0; width: 52%; transform: rotate(1.5deg); z-index: 3; }
.crate .sleeve:nth-child(3) { left: 53%; top: 17%; transform: rotate(5deg); z-index: 2; }
.heropick__list { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--ink); }
.heropick__list a { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 0 12px; padding: 10px 0; border-bottom: 1px solid var(--line); text-decoration: none; }
.heropick__list b { font-weight: 700; }
.heropick__list a:hover b { text-decoration: underline; }
.heropick__where { color: var(--grey); font-size: .85rem; text-align: right; }
.heropick__why { grid-column: 1 / -1; font-size: .9rem; color: var(--ink-2); line-height: 1.55; }
@media (max-width: 900px) {
  .hero__in { grid-template-columns: minmax(0, 1fr); }
  .hero__pick { max-width: 560px; }
}
@media (max-width: 720px) {
  .ways { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-inline: calc(-1 * var(--gap)); padding-inline: var(--gap); }
  .ways::-webkit-scrollbar { display: none; }
  .ways a { flex: none; }
  .sign__sub { display: none; }
  .sign--big .sign__go { padding: 0 32px 0 16px; font-size: 1.15rem; }
}

/* 휴대폰에서 옆으로 넘겨 보는 줄 */
@media (max-width: 720px) {
  .rail-m { display: flex !important; gap: 16px !important; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin-inline: calc(-1 * var(--gap)); padding: 0 var(--gap) 6px; scroll-padding-inline: var(--gap); }
  .rail-m::-webkit-scrollbar { display: none; }
  .rail-m > * { flex: 0 0 74%; scroll-snap-align: start; }
  .cards.rail-m > * { flex-basis: 44%; }
}

/* 무엇을 하러 갈까요: 주제 표지판 */
.tsigns { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px 26px; }
.tsign { display: block; text-decoration: none; min-width: 0; }
.tsign__img { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--shelf); border-radius: 6px; }
.tsign__img img { width: 100%; height: 100%; object-fit: cover; }
/* 사진이 오기 전에는 그 주제의 커버 세 장을 레코드 상자처럼 겹쳐 둔다 */
.tsign__img--covers { position: relative; }
.tsign__img--covers img { position: absolute; width: 44%; height: auto; aspect-ratio: 1; box-shadow: 4px 6px 0 rgba(17,17,17,.12); }
.tsign__img--covers img:nth-child(1) { left: 7%; top: 18%; transform: rotate(-6deg); z-index: 1; }
.tsign__img--covers img:nth-child(2) { left: 28%; top: 9%; width: 48%; transform: rotate(1.5deg); z-index: 3; }
.tsign__img--covers img:nth-child(3) { left: 51%; top: 19%; transform: rotate(6deg); z-index: 2; }
.tsign__plate { position: relative; display: inline-flex; align-items: baseline; gap: 10px; margin: -24px 0 0 14px; padding: 8px 32px 8px 16px; background: var(--ink); color: var(--paper); border-radius: 8px 0 0 8px;
  clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 50%, calc(100% - 16px) 100%, 0 100%); }
.tsign__plate b { font-family: var(--display); font-weight: 400; font-size: 1.45rem; line-height: 1.1; }
.tsign__plate span { color: var(--lime); font-weight: 700; font-size: .9rem; }
.tsign__lead { display: block; margin-top: 8px; color: var(--ink-2); font-size: .95rem; }
.tsign:hover .tsign__plate, .tsign:focus-visible .tsign__plate { background: var(--lime); color: var(--ink); }
.tsign:hover .tsign__plate span, .tsign:focus-visible .tsign__plate span { color: var(--ink); }
.tsign:focus-visible { outline: none; }
@media (max-width: 900px) { .tsigns { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 720px) { .tsigns.rail-m > * { flex-basis: 66%; } }

/* 어디로 갈까요: 전국 지도 */
.regions { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(26px, 5vw, 64px); align-items: center; }
.regions__svg { display: block; width: 100%; max-height: 640px; }
.regions__land { fill: var(--shelf); stroke: var(--paper); stroke-width: 1.6; transition: fill .15s; }
.regions__svg a:hover .regions__land, .regions__svg a:focus-visible .regions__land { fill: var(--lime); }
.regions__svg a:focus-visible { outline: none; }
.regions__dot { fill: var(--ink); opacity: .5; pointer-events: none; }
.regions__dot--y { fill: var(--lime); stroke: var(--ink); stroke-width: 1.2; opacity: 1; }
.regions__lab { font: 700 19px var(--body); fill: var(--ink); paint-order: stroke; stroke: var(--paper); stroke-width: 4px; stroke-linejoin: round; pointer-events: none; }
.regions__side h2 { margin-bottom: 10px; }
.regions__list { list-style: none; padding: 0; margin: 18px 0 24px; columns: 2; column-gap: 28px; }
.regions__list li { break-inside: avoid; }
.regions__list a { display: grid; grid-template-columns: 4.4em minmax(0, 1fr) 2.2em; gap: 10px; align-items: center; padding: 6px 0; text-decoration: none; border-bottom: 1px solid var(--line); }
.regions__bar { height: 6px; background: var(--shelf); border-radius: 99px; overflow: hidden; }
.regions__bar i { display: block; height: 100%; background: var(--ink); border-radius: 99px; }
.regions__list a:hover .regions__bar i { background: var(--lime-deep); }
.regions__list a > span:last-child { text-align: right; font-variant-numeric: tabular-nums; font-size: .9rem; }
@media (max-width: 860px) { .regions { grid-template-columns: minmax(0, 1fr); } .regions__map { max-width: 460px; } }


/* 순위와 소식 */
.duo { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); gap: clamp(30px, 5vw, 70px); align-items: start; }
.duo h2 .chip { vertical-align: middle; font-family: var(--body); font-size: .76rem; }
.loopbar--sm { padding: 10px 14px; gap: 6px 18px; margin-bottom: 0; border-bottom: 0; font-size: .9rem; }
.loopbar--sm b { font-size: 1.05rem; }
.chart--home .row { grid-template-columns: 40px 52px minmax(0, 1fr) minmax(70px, .7fr) auto; gap: 12px; padding: 10px 0; }
.chart--home .row__thumb { width: 52px; }
.chart--home .row__rank { font-size: 1.5rem; }
.chart--home + .small { margin-top: 12px; }
.newslist--compact .newsitem { grid-template-columns: 64px minmax(0, 1fr); gap: 12px; }
.newslist--compact .newsitem .chip { display: none; }
.newslist--compact .newsitem p { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
@media (max-width: 900px) { .duo { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 720px) { .chart--home .row { grid-template-columns: 30px 44px minmax(0, 1fr) auto; } .chart--home .row__thumb { width: 44px; } }

/* 운영하는 분들께 */
.opband__in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(26px, 5vw, 70px); align-items: start; }
.opband .actions { margin: 22px 0 0; }
.opband__list { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--ink); }
.opband__list li { display: grid; grid-template-columns: 8.5em minmax(0, 1fr); gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.opband__list b { font-family: var(--display); font-weight: 400; font-size: 1.15rem; line-height: 1.3; }
.opband__list span { color: var(--ink-2); }
@media (max-width: 860px) { .opband__in { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 420px) { .opband__list li { grid-template-columns: minmax(0, 1fr); gap: 2px; } }
.tastebar h2 { margin-bottom: 4px; }
body[data-page="home"] .foot { margin-top: 0; }
main:has(> .sec:last-child) + .foot, main:has(> article > .sec:last-child) + .foot { margin-top: 0; }
@media (max-width: 520px) {
  .regions__list { columns: 2; column-gap: 18px; }
  .regions__list a { grid-template-columns: minmax(0, 1fr) auto; }
  .regions__bar { display: none; }
}
/* 위에 붙은 머리말에 가려지지 않게, 화면 안 링크로 옮겨 갈 때 머리말 높이만큼 띄운다 */
html { scroll-padding-top: 84px; }

/* ═════ 쏙 스트리트북 ═════ */
.bk-cover { width: 100%; height: auto; aspect-ratio: 900 / 1271; object-fit: cover; border: 1px solid var(--line); box-shadow: 8px 10px 0 rgba(17,17,17,.08); background: var(--shelf); }
.bk-shelf { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 30px 24px; }
.bk-spine { display: grid; gap: 6px; align-content: start; text-decoration: none; min-width: 0; }
.bk-spine .bk-cover { margin-bottom: 8px; transition: transform .2s; }
.bk-spine:hover .bk-cover { transform: translateY(-4px); }
.bk-spine b { font-family: var(--display); font-weight: 400; font-size: 1.2rem; line-height: 1.25; }
.bk-spine > span { font-size: .9rem; color: var(--ink-2); }
.bk-spine__k { font-weight: 700; font-size: .78rem !important; color: var(--ink) !important; }
@media (max-width: 1000px) { .bk-shelf { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 560px) { .bk-shelf { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 16px; } }
.bk-head { display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 1fr); gap: clamp(26px, 5vw, 60px); align-items: start; padding-top: clamp(28px, 5vw, 56px); }
.bk-head h1 { font-size: clamp(2rem, 4.6vw, 3.4rem); }
.bk-intro { margin-top: 22px; border-top: 2px solid var(--ink); padding-top: 12px; }
.bk-intro summary { cursor: pointer; font-weight: 700; }
@media (max-width: 720px) { .bk-head { grid-template-columns: minmax(0, 1fr); } .bk-head > div:first-child { max-width: 220px; } }
.bk-tocwrap { margin-top: 40px; }
.bk-part { margin: 0 0 40px; }
.bk-part > h2 { font-size: clamp(1.4rem, 3vw, 2rem); border-bottom: 2px solid var(--ink); padding-bottom: 8px; margin-bottom: 14px; }
.bk-part > h2 span { display: block; font-family: var(--body); font-size: .8rem; font-weight: 700; color: var(--grey); }
.bk-part__intro { max-width: 760px; }
.bk-part__intro .bk-fig { max-width: 620px; }
.bk-toc { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 30px; }
.bk-toc--solo { grid-template-columns: minmax(0, 1fr); margin-bottom: 4px; }
.bk-toc li { display: flex; align-items: center; gap: 10px; border-bottom: 1px solid var(--line); }
.bk-toc li > a:first-child { flex: 1; min-width: 0; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 0 12px; padding: 10px 0; text-decoration: none; }
.bk-toc i { font-style: normal; font-family: var(--display); color: var(--grey); grid-row: span 2; min-width: 2em; }
.bk-toc__c i { font-family: var(--body); font-size: .8rem; font-weight: 700; min-width: 8.5em; }
.bk-toc b { font-weight: 700; }
.bk-toc span { font-size: .88rem; color: var(--ink-2); }
.bk-toc li > a:first-child:hover b { text-decoration: underline; }
.bk-toc__st { flex: none; font-size: .8rem; border: 1px solid var(--ink); border-radius: 99px; padding: 1px 9px; text-decoration: none; }
.bk-toc__st:hover { background: var(--lime); }
@media (max-width: 760px) { .bk-toc { grid-template-columns: minmax(0, 1fr); } }
/* 읽기 화면 */
.bk-read { max-width: 780px; padding-top: clamp(26px, 5vw, 50px); }
.bk-read h1 { font-size: clamp(1.9rem, 4.4vw, 3rem); margin-bottom: 10px; }
.bk-label { font-size: .85rem; font-weight: 700; color: var(--grey); margin: 0 0 6px; }
.bk-label a { color: inherit; }
.bk-body { font-size: 1.05rem; line-height: 1.85; }
.bk-body p { max-width: none; }
.bk-h3 { font-size: 1.35rem; margin: 34px 0 10px; }
.bk-h4 { font-family: var(--body); font-weight: 700; font-size: 1.08rem; margin: 0 0 8px; }
.bk-list { padding-left: 1.2em; }
.bk-list li { margin-bottom: .4em; }
.bk-fig { margin: 26px 0; }
.bk-fig img { width: 100%; height: auto; border: 1px solid var(--line); border-radius: 6px; background: #fff; }
.bk-fig figcaption { font-size: .86rem; color: var(--ink-2); margin-top: 8px; line-height: 1.55; }
.bk-fig figcaption b { background: var(--lime); padding: 0 6px; margin-right: 4px; }
.bk-fig figcaption span { display: block; color: var(--grey); font-size: .8rem; }
.bk-table { margin: 22px 0; font-size: .92rem; line-height: 1.55; }
.bk-table table { width: 100%; border-collapse: collapse; }
.bk-table thead th { background: var(--ink); color: var(--paper); text-align: left; padding: 8px 10px; font-weight: 700; }
.bk-table tbody th, .bk-table td { padding: 9px 10px; border-bottom: 1px solid var(--line); vertical-align: top; text-align: left; }
.bk-table tbody th { font-weight: 700; white-space: nowrap; }
.bk-box { margin: 26px 0; padding: 18px 20px 6px; border-radius: 8px; }
.bk-box--case { background: var(--shelf); border-left: 6px solid var(--ink); }
.bk-box--insight { background: #f3fcd4; border-left: 6px solid var(--lime-deep); }
.bk-box__k { font-size: .76rem; font-weight: 700; letter-spacing: .02em; margin: 0 0 6px; color: var(--ink-2); }
.bk-box p { font-size: 1rem; }
.bk-one { margin: 26px 0; padding: 16px 20px; border: 2px solid var(--ink); border-radius: 8px; box-shadow: 5px 5px 0 var(--lime); }
.bk-one p { margin-bottom: 0; font-size: 1.08rem; }
.bk-one .bk-box__k { margin-bottom: 6px; font-size: .76rem; }
.bk-facts { margin: 20px 0 26px; display: grid; gap: 0; border-top: 2px solid var(--ink); }
.bk-facts > div { display: grid; grid-template-columns: 7em minmax(0, 1fr); gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: .95rem; }
.bk-facts dt { font-weight: 700; }
.bk-facts dd { margin: 0; }
.bk-entryhead { display: grid; grid-template-columns: 170px minmax(0, 1fr); gap: 26px; align-items: start; margin-top: 10px; }
.bk-entryhead > div:only-child { grid-column: 1 / -1; }
.bk-entryhead__art { padding-right: 10%; }
@media (max-width: 560px) { .bk-entryhead { grid-template-columns: minmax(0, 1fr); } .bk-entryhead__art { max-width: 160px; } }
.bk-pager { margin-top: 44px; display: grid; grid-template-columns: 1fr auto 1fr; gap: 14px; border-top: 2px solid var(--ink); padding-top: 14px; font-size: .92rem; }
.bk-pager span:last-child { text-align: right; }
.bk-instreet { margin: 10px 0 34px; padding: 22px 22px 8px; border: 2px solid var(--ink); border-radius: 10px; }
.bk-instreet h2 { font-size: 1.45rem; margin-bottom: 4px; }
.bk-instreet .bk-body { font-size: 1rem; }
.bk-instreet .bk-facts { margin-top: 12px; }
/* 첫 화면 책장 */
.bkrow { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 22px; }
.bkrow a { text-decoration: none; display: grid; gap: 6px; }
.bkrow b { font-size: .95rem; }
.bkrow span { font-size: .84rem; color: var(--grey); }
@media (max-width: 720px) { .bkrow.rail-m > * { flex-basis: 40% !important; } }

/* ── 연재 전자책 『한국의 거리와 골목』 ── */
.vcov { display: flex; flex-direction: column; position: relative; overflow: hidden; background: var(--paper); container-type: inline-size; padding: 9% 8% 0; color: var(--ink); text-align: left; }
.vcov__k { font-size: max(9px, 4.2cqw); font-weight: 700; color: var(--grey); padding-right: 22cqw; line-height: 1.35; }
.vcov__t { font-family: var(--display); font-weight: 400; font-size: 11.5cqw; line-height: 1.12; margin: 5cqw 0 0; word-break: keep-all; padding-right: 4cqw; }
.vcov__s { font-size: max(9px, 4.4cqw); line-height: 1.45; color: var(--ink-2); margin-top: 4cqw; }
.vcov img { margin: auto -8cqw 0; width: calc(100% + 16cqw); max-width: none; aspect-ratio: 1400 / 850; object-fit: cover; border-top: 2px solid var(--ink); }
.vcov__n { position: absolute; top: 0; right: 0; background: var(--lime); font-family: var(--display); font-size: 9cqw; line-height: 1; padding: 4cqw 5cqw 3.4cqw; border-left: 2px solid var(--ink); border-bottom: 2px solid var(--ink); }
.bk-group { margin: 0 0 56px; }
.bk-group > .sub-h .small { font-family: var(--body); font-weight: 400; margin-left: 6px; }
.bk-group__p { max-width: 640px; color: var(--ink-2); margin: -4px 0 22px; }
.bk-shelf .bk-spine > span:not(.bk-cover) { overflow-wrap: break-word; }
.bkrow { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.bk-h2 { font-size: clamp(1.4rem, 3vw, 1.75rem); margin: 44px 0 6px; padding-top: 16px; border-top: 2px solid var(--ink); }
.bk-h2 + .bk-h3 { margin-top: 6px; }
.bk-lead { font-weight: 700; }
/* 세 지점: 번호는 라임 칸, 이름은 지도로 */
.bk-stops { list-style: none; margin: 14px 0 26px; padding: 0; display: grid; gap: 0; counter-reset: none; }
.bk-stops li { display: grid; grid-template-columns: 46px minmax(0, 1fr); gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); position: relative; }
.bk-stops li:first-child { border-top: 2px solid var(--ink); }
.bk-stops li:not(:last-child)::after { content: ""; position: absolute; left: 22px; top: 52px; bottom: -14px; border-left: 2px dotted var(--ink); }
.bk-stops__n { display: grid; place-items: center; width: 46px; height: 38px; background: var(--lime); border: 2px solid var(--ink); border-radius: 6px; font-family: var(--display); font-size: 1.1rem; line-height: 1; position: relative; z-index: 1; }
.bk-stops b a { text-decoration: none; border-bottom: 2px solid var(--lime-deep); }
.bk-stops b a::after { content: " ↗"; font-size: .8em; color: var(--grey); }
.bk-stops b a:hover { background: var(--lime); }
.bk-shops { margin: 12px 0 26px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.bk-shops > div { border: 1px solid var(--line); border-radius: 8px; padding: 12px 14px; background: var(--paper); }
.bk-shops dt { font-weight: 700; margin-bottom: 2px; }
.bk-shops dt::before { content: ""; display: inline-block; width: .6em; height: .6em; background: var(--lime); border: 1.5px solid var(--ink); border-radius: 50%; margin-right: 7px; vertical-align: .05em; }
.bk-shops dd { margin: 0; font-size: .93rem; line-height: 1.6; color: var(--ink-2); }
@media (max-width: 600px) { .bk-shops { grid-template-columns: minmax(0, 1fr); } }
.bk-src { font-size: .88rem; line-height: 1.55; }
.bk-src li { margin-bottom: 4px; }
.bk-box--check { background: var(--paper); border: 2px solid var(--ink); border-left-width: 6px; }
.bk-box--check .bk-h4::before { content: "✓ "; }
.bk-box--insight .bk-h4 { color: var(--ink); }
/* 도표: 막대는 먹색, 비교 기준이 되는 값은 라임 */
.bk-chart { margin: 26px 0; padding: 18px 20px 14px; background: var(--shelf); border-radius: 8px; }
.bk-chart__t b { display: block; font-size: 1rem; }
.bk-chart__t span { display: block; font-size: .82rem; color: var(--grey); margin-bottom: 8px; }
.bk-bars { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 10px 12px; align-items: center; margin-top: 6px; }
.bk-bars__l { font-size: .9rem; font-weight: 700; white-space: nowrap; }
.bk-bars__t { height: 22px; background: var(--paper); border-radius: 0 4px 4px 0; overflow: hidden; }
.bk-bars__t i { display: block; height: 100%; background: var(--ink); border-radius: 0 4px 4px 0; }
.bk-bars__t i.is-key { background: var(--lime); box-shadow: inset 0 0 0 2px var(--ink); }
.bk-bars__v { font-family: var(--display); font-size: 1.05rem; min-width: 3.6em; text-align: right; }
.bk-bars__axis { display: flex; justify-content: space-between; font-size: .75rem; color: var(--grey); margin: 6px 0 0; padding-left: 0; }
.bk-flow { margin: 26px 0; }
.bk-flow ol { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.bk-flow li { border: 2px solid var(--ink); border-radius: 8px; padding: 14px; display: grid; gap: 6px; align-content: start; position: relative; background: var(--paper); }
.bk-flow li:not(:last-child)::after { content: ""; position: absolute; right: -9px; top: 26px; width: 12px; height: 12px; background: var(--lime); border: 2px solid var(--ink); border-radius: 50%; z-index: 1; }
.bk-flow li b { font-size: 1.02rem; }
.bk-flow li > span:last-child { font-size: .9rem; color: var(--ink-2); line-height: 1.55; }
.bk-flow figcaption { font-size: .86rem; color: var(--grey); margin-top: 10px; }
@media (max-width: 600px) { .bk-flow ol { grid-template-columns: minmax(0, 1fr); } .bk-flow li:not(:last-child)::after { right: auto; left: 24px; top: auto; bottom: -9px; } }
.bk-fig--art img { border: 0; border-radius: 0; }
.bk-instreet__hr { border: 0; border-top: 2px dashed var(--line); margin: 26px 0 20px; }
.bk-instreet__h { font-size: 1.1rem; margin: 18px 0 0; }
/* 코스: 연재 전자책 세 지점 코스 목록 */
.threec { display: grid; gap: 10px; }
.threec__v { border: 2px solid var(--ink); border-radius: 10px; padding: 0 16px; }
.threec__v > summary { cursor: pointer; padding: 14px 0; display: flex; flex-wrap: wrap; gap: 4px 12px; align-items: baseline; list-style: none; }
.threec__v > summary::-webkit-details-marker { display: none; }
.threec__v > summary::before { content: "+"; font-family: var(--display); width: 1.4em; height: 1.4em; display: inline-grid; place-items: center; background: var(--lime); border: 1.5px solid var(--ink); border-radius: 50%; }
.threec__v[open] > summary::before { content: "–"; }
.threec__l { list-style: none; margin: 0 0 14px; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 22px; }
.threec__l a { display: grid; grid-template-columns: 2.6em minmax(0, 1fr); padding: 8px 0; border-top: 1px solid var(--line); text-decoration: none; }
.threec__l i { font-style: normal; font-family: var(--display); color: var(--grey); grid-row: span 2; }
.threec__l span { font-size: .84rem; color: var(--grey); }
.threec__l a:hover b { text-decoration: underline; }
@media (max-width: 900px) { .threec__l { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .threec__l { grid-template-columns: minmax(0, 1fr); } }

/* ═════════ 2026 리프레시: 둥근 면, 유리 머리말, 떠 있는 탭, 손에 닿는 반응 ═════════ */
:root { --r-s: 10px; --r-m: 18px; --r-l: 28px; --ease: cubic-bezier(.2, .8, .2, 1); --soft: 0 1px 2px rgba(17,17,17,.06), 0 8px 24px rgba(17,17,17,.06); }
::selection { background: var(--lime); color: var(--ink); }
body { letter-spacing: -0.006em; }
h1, h2 { letter-spacing: -0.02em; }

/* 머리말: 반투명 유리 */
.top { background: rgba(255,255,255,.82); -webkit-backdrop-filter: saturate(180%) blur(18px); backdrop-filter: saturate(180%) blur(18px); border-bottom: 1px solid rgba(17,17,17,.1); }
.nav a { border-radius: 99px; padding: 8px 15px; transition: background .2s; }
.top__search { border-radius: 99px; padding: 8px 14px; }
.subnav a { transition: background .2s; }

/* 단추와 칩: 알약 모양, 누르면 살짝 눌린다 */
.btn { border-radius: 99px; transition: transform .18s var(--ease), box-shadow .18s var(--ease), background .18s; }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(1px) scale(.98); }
.btn--lime:hover { background: var(--lime); box-shadow: 3px 3px 0 var(--ink); transform: translate(-2px, -2px); }
.btn--lime:active { box-shadow: 0 0 0 var(--ink); transform: none; }
.chip { padding: 2px 10px; }
.quick a, .quick button { transition: background .18s, transform .18s var(--ease); }
.quick a:active, .quick button:active { transform: scale(.97); }
.form input, .form select, .form textarea { border-radius: 12px; }
.toast { border-radius: 99px; padding: 12px 22px; box-shadow: 0 12px 30px rgba(17,17,17,.25); animation: toast-in .35s var(--ease); }
@keyframes toast-in { from { opacity: 0; transform: translate(-50%, 12px); } }
.ways a { transition: background .18s; }

/* 회색 면 단락은 둥근 판으로 띄운다 */
.sec--shelf, .sec--lime { margin-inline: clamp(8px, 1.6vw, 22px); border-radius: var(--r-l); }
.foot { border-radius: var(--r-l) var(--r-l) 0 0; }

/* 카드: 올리면 살짝 떠오른다 */
.card .sleeve, .tsign__img, .scard__img, .wcard img, .mcard img { transition: transform .3s var(--ease); }
.card:hover .sleeve { transform: translateY(-4px); }
.tsign__img { border-radius: var(--r-m); }
.tsign:hover .tsign__img { transform: translateY(-4px); }
.save { transition: transform .18s var(--ease), background .18s; box-shadow: var(--soft); }
.save:active { transform: scale(.9); }
.save[aria-pressed="true"] { animation: pop .35s var(--ease); }
@keyframes pop { 40% { transform: scale(1.18); } }
.scard__img img, .mini-card img { border-radius: 12px; }
.bk-cover { border-radius: 4px 10px 10px 4px; }

/* 휴대폰 탭: 화면 위에 떠 있는 알약 */
@media (max-width: 720px) {
  .tabbar { left: 12px; right: 12px; bottom: calc(10px + env(safe-area-inset-bottom)); padding: 4px; border: 1px solid rgba(17,17,17,.12); border-radius: 22px; background: rgba(255,255,255,.86); -webkit-backdrop-filter: saturate(180%) blur(18px); backdrop-filter: saturate(180%) blur(18px); box-shadow: 0 10px 30px rgba(17,17,17,.16); }
  .tabbar a { border-radius: 18px; padding: 7px 0 6px; transition: background .2s; }
  .tabbar a[aria-current="page"] { background: var(--ink); color: var(--paper); }
  .tabbar a[aria-current="page"] svg { fill: none; stroke: var(--lime); }
  body { padding-bottom: calc(84px + env(safe-area-inset-bottom)); }
  .toast { bottom: calc(92px + env(safe-area-inset-bottom)); }
  .sec--shelf, .sec--lime { margin-inline: 8px; border-radius: 22px; }
}

/* ── 첫 화면: 스토리 동그라미 ── */
.stories { padding: 0 0 18px; }
.stories__row { display: flex; gap: 18px; overflow-x: auto; scrollbar-width: none; padding: 6px 2px 4px; scroll-snap-type: x proximity; }
.stories__row::-webkit-scrollbar { display: none; }
button.story { flex: none; display: grid; justify-items: center; gap: 7px; border: 0; background: none; padding: 0; width: 84px; scroll-snap-align: start; }
.story__ring { width: 76px; height: 76px; border-radius: 50%; padding: 3px; background: conic-gradient(from 210deg, var(--lime), #e9ff9b, var(--ink), var(--lime)); transition: transform .2s var(--ease); }
.story__ring img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; border: 3px solid var(--paper); background: var(--shelf); }
button.story:hover .story__ring { transform: scale(1.05); }
button.story:active .story__ring { transform: scale(.95); }
button.story.is-seen .story__ring { background: var(--line); }
.story__n { font-size: .8rem; font-weight: 700; white-space: nowrap; max-width: 84px; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 720px) { .stories { padding-top: 4px; } .stories__row { margin-inline: calc(-1 * var(--gap)); padding-inline: var(--gap); gap: 14px; } button.story { width: 72px; } .story__ring { width: 66px; height: 66px; } }

/* 스토리 보기 */
html.no-scroll { overflow: hidden; }
.sv { padding: 0; border: 0; max-width: none; max-height: none; width: 100%; height: 100%; background: transparent; }
.sv::backdrop { background: rgba(10,10,10,.92); }
.sv__box { position: relative; width: min(100%, 440px); height: min(100dvh, 860px); margin: auto; inset: 0; position: fixed; background: #111; color: #fff; overflow: hidden; border-radius: 0; display: flex; flex-direction: column; touch-action: pan-y; user-select: none; }
@media (min-width: 560px) { .sv__box { border-radius: 26px; height: min(92dvh, 860px); } }
.sv__bars { position: absolute; z-index: 4; top: 12px; left: 12px; right: 12px; display: flex; gap: 4px; }
.sv__bars i { flex: 1; height: 3px; border-radius: 3px; background: rgba(255,255,255,.3); overflow: hidden; }
.sv__bars i.done b, .sv__bars b.run { display: block; height: 100%; background: #fff; }
.sv__bars i.done b { width: 100%; }
.sv__bars b.run { width: 0; animation: sv-run linear forwards; }
@keyframes sv-run { to { width: 100%; } }
.sv__top { position: absolute; z-index: 4; top: 24px; left: 16px; right: 10px; display: flex; align-items: center; gap: 10px; }
.sv__set { font-family: var(--display); font-weight: 400; font-size: 1.1rem; }
.sv__count { color: rgba(255,255,255,.7); }
.sv__x { margin-left: auto; width: 40px; height: 40px; border: 0; border-radius: 50%; background: rgba(255,255,255,.14); color: #fff; font-size: 1.1rem; }
.sv__media { position: relative; flex: 1; min-height: 0; display: grid; place-items: center; overflow: hidden; }
.sv__bg { position: absolute; inset: -10%; width: 120%; height: 120%; object-fit: cover; filter: blur(30px) brightness(.55) saturate(1.2); }
.sv__img { position: relative; width: 86%; aspect-ratio: 1; object-fit: cover; border-radius: 8px; box-shadow: 0 20px 50px rgba(0,0,0,.5); margin-top: 40px; }
.sv__nav { position: absolute; z-index: 3; top: 70px; bottom: 210px; width: 38%; border: 0; background: transparent; }
.sv__nav--prev { left: 0; } .sv__nav--next { right: 0; width: 62%; }
.sv__cap { position: relative; z-index: 4; padding: 18px 20px calc(20px + env(safe-area-inset-bottom)); background: linear-gradient(transparent, rgba(0,0,0,.6) 18%, #111 60%); margin-top: -40px; }
.sv__chip { display: inline-block; background: var(--lime); color: var(--ink); font-size: .74rem; font-weight: 700; padding: 2px 10px; border-radius: 99px; }
.sv__name { font-size: clamp(1.6rem, 6vw, 2rem); margin: 8px 0 2px; color: #fff; }
.sv__where { margin: 0; color: rgba(255,255,255,.7); font-size: .9rem; }
.sv__line { margin: 8px 0 14px; font-size: .95rem; line-height: 1.55; color: rgba(255,255,255,.92); }
.sv__act { display: flex; gap: 8px; }
.sv__act .btn { flex: 1; min-height: 44px; }
.sv__save { color: #fff !important; border-color: rgba(255,255,255,.5) !important; }
.sv__save svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 2; }
.sv__save[aria-pressed="true"] { background: var(--lime) !important; color: var(--ink) !important; border-color: var(--lime) !important; }
.sv__save[aria-pressed="true"] svg { fill: currentColor; }
@media (prefers-reduced-motion: reduce) { .sv__bars b.run { animation: none; width: 100%; opacity: .5; } }

/* 해시태그 띠 */
.ticker { overflow: hidden; border-block: 1px solid var(--ink); background: var(--ink); color: var(--paper); white-space: nowrap; }
.ticker__track { display: inline-flex; animation: tick 46s linear infinite; }
.ticker:hover .ticker__track, .ticker:focus-within .ticker__track { animation-play-state: paused; }
.ticker p { display: inline-flex; gap: 0; margin: 0; max-width: none; }
.ticker a { display: inline-block; padding: 11px 18px; text-decoration: none; font-family: var(--display); font-size: 1.05rem; }
.ticker a:nth-child(3n+1) { color: var(--lime); }
.ticker a:hover { background: var(--lime); color: var(--ink); }
@keyframes tick { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .ticker { overflow-x: auto; } .ticker__track { animation: none; } .ticker p[aria-hidden] { display: none; } }

/* 벤토: 골목 뽑기, 취향, 도장, 코스 */
.bento { display: grid; grid-template-columns: 1.35fr 1fr 1fr; grid-template-rows: auto auto; gap: 14px; }
.bento__card { position: relative; display: flex; flex-direction: column; gap: 6px; padding: clamp(20px, 2.4vw, 28px); border-radius: var(--r-l); background: var(--shelf); text-decoration: none; min-width: 0; overflow: hidden; transition: transform .25s var(--ease); }
a.bento__card:hover { transform: translateY(-4px); }
.bento__k { margin: 0; font-size: .8rem; font-weight: 700; color: var(--grey); }
.bento__card h3 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); margin: 0; }
.bento__p { margin: 2px 0 0; font-size: .95rem; color: var(--ink-2); max-width: 36ch; }
.bento__big { margin: 4px 0 0; display: flex; align-items: baseline; gap: 8px; }
.bento__big b { font-family: var(--display); font-weight: 400; font-size: clamp(3rem, 6vw, 4.6rem); line-height: .95; }
.bento__big span { font-weight: 700; }
.bento__go { margin-top: auto; align-self: flex-start; padding: 8px 16px; border-radius: 99px; background: var(--ink); color: var(--paper); font-weight: 700; font-size: .9rem; }
.bento__draw { grid-row: span 2; background: var(--paper); border: 2px solid var(--ink); display: grid; grid-template-rows: auto 1fr; gap: 18px; }
.bento__taste { background: var(--lime); }
.bento__taste h3 { margin-top: 2px; }
.bento__taste .bento__k { color: var(--ink); }
.bento__stamp { background: var(--ink); color: var(--paper); }
.bento__stamp .bento__k, .bento__stamp .bento__p { color: #c9c9c4; }
.bento__stamp .bento__big b { color: var(--lime); }
.bento__three { grid-column: 2 / 4; flex-direction: row; flex-wrap: wrap; align-items: end; justify-content: space-between; column-gap: 24px; }
.bento__three .bento__k { width: 100%; }
.stampmini { position: absolute; right: 18px; top: 18px; display: grid; grid-template-columns: repeat(3, 18px); gap: 6px; }
.stampmini i { width: 18px; height: 18px; border-radius: 50%; border: 1.5px dashed #6d6d69; }
.stampmini i.on { border: 2px solid var(--lime); background: var(--lime); }
.draw__ctl { display: flex; gap: 8px; margin-top: 12px; flex-wrap: wrap; }
.draw__sel select { min-height: 46px; border: 2px solid var(--ink); border-radius: 99px; padding: 0 38px 0 16px; background: var(--paper) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6' fill='none' stroke='%23111' stroke-width='2.4'/%3E%3C/svg%3E") no-repeat right 12px center / 16px; -webkit-appearance: none; appearance: none; font-weight: 700; }
.draw__go { min-width: 120px; }
.draw__stage { position: relative; display: grid; place-items: center; min-height: 260px; border-radius: var(--r-m); background: var(--shelf); padding: 16px; }
.draw__disc { width: min(62%, 220px); aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, var(--paper) 0 4%, var(--lime) 4.2% 22%, var(--ink) 22.4% 24%, #2a2a2a 24.2% 25.4%, var(--ink) 25.6%); display: grid; place-items: center; animation: spin 6s linear infinite; }
.draw__disc span { font-family: var(--display); font-size: 2rem; color: var(--ink); }
@keyframes spin { to { transform: rotate(360deg); } }
.draw__reel img { width: min(56vw, 220px); aspect-ratio: 1; object-fit: cover; border-radius: 6px; box-shadow: 0 10px 30px rgba(17,17,17,.2); }
.draw__stage.is-spin .draw__reel img { animation: jiggle .12s linear infinite; }
@keyframes jiggle { 50% { transform: rotate(-2deg) scale(.98); } }
.draw__win { display: grid; grid-template-columns: minmax(0, 200px) minmax(0, 1fr); gap: 18px; align-items: center; width: 100%; animation: win .5s var(--ease); }
@keyframes win { from { opacity: 0; transform: scale(.92) rotate(-2deg); } }
.draw__art img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 6px; box-shadow: 6px 8px 0 rgba(17,17,17,.12); }
.draw__txt h4 { font-family: var(--display); font-weight: 400; font-size: clamp(1.5rem, 2.6vw, 2rem); line-height: 1.15; margin: 8px 0 2px; }
.draw__txt h4 a { text-decoration: none; }
.draw__where { margin: 0; color: var(--grey); font-size: .88rem; }
.draw__f { margin: 8px 0 0; font-size: .92rem; color: var(--ink-2); line-height: 1.55; }
.draw__act { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.draw__act svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2; }
.draw__act [aria-pressed="true"] svg { fill: currentColor; }
@media (prefers-reduced-motion: reduce) { .draw__disc, .draw__stage.is-spin .draw__reel img, .draw__win { animation: none; } }
@media (max-width: 960px) {
  .bento { grid-template-columns: 1fr 1fr; }
  .bento__draw { grid-column: 1 / -1; grid-row: auto; }
  .bento__three { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .bento { gap: 10px; }
  .bento__card { border-radius: 22px; padding: 18px; }
  .bento__taste, .bento__stamp { grid-column: span 1; }
  .bento__taste h3 { font-size: 1.25rem; }
  .bento__taste .bento__p, .bento__stamp .bento__p { font-size: .84rem; }
  .bento__go { display: none; }
  .stampmini { display: none; }
  .draw__win { grid-template-columns: minmax(0, 1fr); justify-items: start; }
  .draw__art { width: 64%; }
}

/* ── 길 화면: 다녀왔어요 도장 ── */
.been { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; }
.stampbtn { position: relative; display: inline-flex; align-items: center; gap: 12px; padding: 8px 18px 8px 8px; border: 2px solid var(--ink); border-radius: 99px; cursor: pointer; transition: background .2s, transform .15s var(--ease); background: var(--paper); }
.stampbtn:hover { background: var(--shelf); }
.stampbtn:active { transform: scale(.97); }
.stampbtn input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.stampbtn:has(input:focus-visible) { outline: 3px solid var(--ink); outline-offset: 3px; }
.stampbtn__ink { width: 52px; height: 52px; flex: none; border-radius: 50%; border: 2px dashed var(--grey); display: grid; place-items: center; align-content: center; line-height: 1; color: var(--grey); transform: rotate(-12deg); }
.stampbtn__ink b { font-family: var(--display); font-weight: 400; font-size: 1.1rem; }
.stampbtn__ink small { font-size: .58rem; font-weight: 700; margin-top: 2px; }
.stampbtn__t { display: grid; line-height: 1.3; }
.stampbtn__t b { font-size: 1rem; }
.stampbtn__t span { font-size: .78rem; color: var(--grey); }
.stampbtn:has(input:checked) { background: var(--ink); color: var(--paper); }
.stampbtn:has(input:checked) .stampbtn__t span { color: #bdbdb8; }
.stampbtn:has(input:checked) .stampbtn__ink { border: 3px double var(--ink); background: var(--lime); color: var(--ink); box-shadow: 0 0 0 2px var(--lime); }
.stampbtn.is-pop .stampbtn__ink { animation: thump .45s var(--ease); }
@keyframes thump { 0% { transform: rotate(-12deg) scale(1.8); opacity: 0; } 60% { transform: rotate(-12deg) scale(.9); opacity: 1; } 100% { transform: rotate(-12deg) scale(1); } }
@media (prefers-reduced-motion: reduce) { .stampbtn.is-pop .stampbtn__ink { animation: none; } }

/* ── 내 쏙: 도장판 ── */
.stampboard { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 14px; margin-bottom: 56px; scroll-margin-top: 90px; }
.stampboard__card { padding: clamp(20px, 3vw, 32px); border-radius: var(--r-l); background: var(--ink); color: var(--paper); display: flex; flex-direction: column; gap: 6px; }
.stampboard__card .bento__k { color: #bdbdb8; }
.stampboard__card h2 { color: var(--lime); font-size: clamp(1.9rem, 4vw, 2.8rem); }
.stampboard__n { display: flex; align-items: baseline; gap: 8px; margin: 6px 0 4px; }
.stampboard__n b { font-family: var(--display); font-weight: 400; font-size: 3.4rem; line-height: 1; }
.stampboard__bar { height: 10px; border-radius: 99px; background: #2c2c2c; overflow: hidden; margin: 6px 0 2px; }
.stampboard__bar i { display: block; height: 100%; width: 0; border-radius: 99px; background: var(--lime); transition: width .6s var(--ease); }
.stampboard__card .small { color: #bdbdb8; }
.stampboard__card .actions { margin-top: auto; padding-top: 14px; }
.stampboard__card .btn--line { color: var(--paper); border-color: #555; }
.stampboard__card .btn--line:hover { background: #222; }
.stampboard__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; padding: clamp(14px, 2vw, 22px); border-radius: var(--r-l); background: var(--shelf); }
.sstamp { aspect-ratio: 1; border-radius: 50%; border: 2px dashed #c2c2bd; display: grid; place-items: center; align-content: center; text-align: center; line-height: 1.1; color: #9a9a95; }
.sstamp:nth-child(3n) { transform: rotate(6deg); } .sstamp:nth-child(3n+1) { transform: rotate(-5deg); }
.sstamp b { font-family: var(--display); font-weight: 400; font-size: clamp(.9rem, 2vw, 1.2rem); }
.sstamp small { font-size: .7rem; font-weight: 700; margin-top: 3px; }
.sstamp.on { border: 3px double var(--ink); background: var(--lime); color: var(--ink); box-shadow: inset 0 0 0 3px var(--lime); }
.stampboard__lv { grid-column: 1 / -1; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; }
.stampboard__lv li { padding: 10px 12px; border-radius: 14px; border: 1px solid var(--line); display: grid; font-size: .85rem; color: var(--grey); }
.stampboard__lv li b { color: var(--ink-2); font-size: .92rem; }
.stampboard__lv li.on { background: var(--lime); border-color: var(--ink); color: var(--ink); }
.stampboard__lv li.on b { color: var(--ink); }
@media (max-width: 860px) { .stampboard { grid-template-columns: minmax(0, 1fr); } .stampboard__lv { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.bento__covers { width: 100%; display: flex; margin-top: 14px; }
.bento__covers img { width: 22%; aspect-ratio: 1; object-fit: cover; border-radius: 10px; border: 2px solid var(--shelf); margin-right: -6%; box-shadow: 0 4px 10px rgba(17,17,17,.12); transition: transform .25s var(--ease); }
.bento__three:hover .bento__covers img { transform: translateY(-3px) rotate(-2deg); }
.bento__three:hover .bento__covers img:nth-child(even) { transform: translateY(-3px) rotate(2deg); }
.bento__three .bento__big { order: 1; } .bento__three .bento__p { order: 2; } .bento__three .bento__covers { order: 3; }
@media (max-width: 720px) {
  body[data-page="home"] main { display: flex; flex-direction: column; }
  body[data-page="home"] .stories { order: -1; padding: 12px 0 4px; }
  .bento__covers img { width: 24%; }
}
.filters input[type="search"], .filters select { border-radius: 99px; padding: 0 16px; }
.filters select { -webkit-appearance: none; appearance: none; padding-right: 36px; background: var(--paper) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6' fill='none' stroke='%23111' stroke-width='2.4'/%3E%3C/svg%3E") no-repeat right 12px center / 14px; font-weight: 500; }

/* ───── 쏙 인기 순위 TOP 100 ───── */
.tophero { padding: clamp(34px, 6vw, 72px) 0 clamp(26px, 4vw, 44px); border-bottom: 2px solid var(--ink); }
.tophero__in { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(26px, 5vw, 64px); align-items: center; }
.tophero__k { margin-bottom: 14px; display: flex; gap: 6px; flex-wrap: wrap; }
.tophero h1 { margin-bottom: 18px; }
.tophero .actions { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 10px; }
.tophero__ten { list-style: none; margin: 0; padding: 18px; border-radius: var(--r-l); background: var(--shelf); display: grid; gap: 4px; }
.tophero__ten a { display: grid; grid-template-columns: 2.4em minmax(0, 1fr) auto; align-items: center; gap: 10px; padding: 8px 10px; border-radius: var(--r-s); text-decoration: none; transition: background .2s var(--ease); }
.tophero__ten a:hover { background: var(--paper); }
.tophero__ten b { font-family: var(--display); font-weight: 400; font-size: 1.35rem; text-align: center; }
.tophero__ten li:nth-child(-n+3) b { background: var(--lime); border-radius: 99px; border: 1px solid var(--ink); }
.tophero__ten span { font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tophero__ten small { color: var(--grey); }
@media (max-width: 860px) { .tophero__in { grid-template-columns: minmax(0, 1fr); } }

.rcards { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 30px 22px; }
.rcards--ten { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.rcards--ten .rcard--big { grid-column: span 2; }
.rcard { position: relative; min-width: 0; display: flex; flex-direction: column; }
.rcard__img { position: relative; display: block; aspect-ratio: 1; border-radius: var(--r-m); overflow: hidden; border: 2px solid var(--ink); background: var(--shelf); transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.rcard__img:hover { transform: translateY(-3px); box-shadow: var(--soft); }
.rcard--big .rcard__img { aspect-ratio: 16 / 10; }
.rcard__img img { width: 100%; height: 100%; object-fit: cover; }
.rcard__no { position: absolute; left: 10px; top: 10px; min-width: 2.1em; padding: 2px 10px; border-radius: 99px; background: var(--lime); border: 2px solid var(--ink); font-family: var(--display); font-size: 1.25rem; line-height: 1.2; text-align: center; color: var(--ink); }
.rcard--big .rcard__no { font-size: 1.8rem; }
.rcard__body { padding-top: 12px; }
.rcard__where { font-size: .8rem; color: var(--grey); margin: 0 0 4px; }
.rcard h3 { font-size: 1.2rem; }
.rcard--big h3 { font-size: 1.7rem; }
.rcard h3 a { text-decoration: none; }
.rcard__intro { font-size: .92rem; color: var(--ink-2); margin: 6px 0 8px; }
.rcard__meta { display: flex; flex-wrap: wrap; gap: 4px; margin: 0; }
.rcard .save { right: 10px; top: 10px; }
.topthumb__blank { width: 100%; height: 100%; min-height: 64px; display: grid; place-content: center; gap: 6px; text-align: center; padding: 12%; background: var(--ink) radial-gradient(circle at 50% 50%, #222 0 34%, transparent 34.5%) no-repeat; color: var(--lime); }
.topthumb__blank b { font-family: var(--display); font-weight: 400; font-size: clamp(1.1rem, 2.4vw, 1.9rem); line-height: 1.15; word-break: keep-all; }
.topthumb__blank small { font-size: .7rem; font-weight: 700; letter-spacing: .04em; color: #cfcfcb; }
.rcard--big .topthumb__blank b { font-size: clamp(1.8rem, 4vw, 3rem); }
.topthumb__blank--tiny { padding: 2px; background: var(--ink); font-family: var(--display); font-size: .95rem; line-height: 1; }
.tchip { display: inline-block; font-size: .74rem; font-weight: 700; padding: 1px 8px; border-radius: 99px; border: 1px solid; white-space: nowrap; }
.tchip--up { color: #2f6b00; border-color: #8fc200; background: #effcd0; }
.tchip--re { color: #1d4f8a; border-color: #9cbde3; background: #eef4fb; }
.tchip--dn { color: #9a2a1c; border-color: #e2a99f; background: #fbefec; }
@media (max-width: 1000px) { .rcards { grid-template-columns: repeat(3, minmax(0, 1fr)); } .rcards--ten { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .rcards, .rcards--ten { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 14px; } .rcards--ten .rcard--big { grid-column: span 2; } .rcard__intro { display: none; } .rcard--big .rcard__intro { display: block; } }

.reco { display: grid; gap: 16px; padding: clamp(18px, 3vw, 30px); border-radius: var(--r-l); border: 2px solid var(--ink); background: var(--paper); }
.reco fieldset { border: 0; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.reco legend { font-weight: 700; margin-bottom: 8px; width: 100%; }
.pill { position: relative; }
.pill input { position: absolute; opacity: 0; pointer-events: none; }
.pill span { display: inline-block; padding: 7px 14px; border: 1px solid var(--line); border-radius: 99px; cursor: pointer; font-size: .92rem; transition: background .15s, border-color .15s; }
.pill span:hover { border-color: var(--ink); }
.pill input:checked + span { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.pill input:focus-visible + span { outline: 3px solid var(--ink); outline-offset: 2px; }
.reco__go { display: flex; gap: 10px; flex-wrap: wrap; }
.reco__out { margin-top: 22px; }
.reco__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.reco__card { display: grid; gap: 12px; padding: 14px; border-radius: var(--r-m); background: var(--shelf); animation: recoIn .45s var(--ease) both; }
.reco__card:nth-child(2) { animation-delay: .08s; } .reco__card:nth-child(3) { animation-delay: .16s; }
@keyframes recoIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.reco__img { position: relative; display: block; aspect-ratio: 16 / 10; border-radius: var(--r-s); overflow: hidden; border: 2px solid var(--ink); background: var(--paper); }
.reco__img img { width: 100%; height: 100%; object-fit: cover; }
.reco__card h3 { font-size: 1.3rem; margin-bottom: 6px; }
.reco__card h3 a { text-decoration: none; }
.reco__card p { margin: 0 0 8px; font-size: .92rem; }
.reco__why { font-weight: 700; padding-left: 10px; border-left: 5px solid var(--lime); }
.reco__act { display: flex; gap: 8px; flex-wrap: wrap; }
.reco__empty { padding: 18px; border-radius: var(--r-m); background: var(--shelf); }
@media (prefers-reduced-motion: reduce) { .reco__card { animation: none; } }
@media (max-width: 860px) { .reco__list { grid-template-columns: minmax(0, 1fr); } .reco__card { grid-template-columns: 140px minmax(0, 1fr); align-items: start; } .reco__img { aspect-ratio: 1; } }
@media (max-width: 460px) { .reco__card { grid-template-columns: minmax(0, 1fr); } .reco__img { aspect-ratio: 16 / 9; } }

.tsets { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.tset { padding: 18px; border-radius: var(--r-m); background: var(--paper); }
.tset h3 { font-size: 1.2rem; }
.tset > p { font-size: .85rem; color: var(--grey); margin: 6px 0 12px; }
.tset ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.tset a { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 10px; align-items: center; text-decoration: none; padding: 4px; border-radius: var(--r-s); }
.tset a:hover { background: var(--shelf); }
.tset__img { width: 44px; height: 44px; border-radius: 10px; overflow: hidden; border: 1px solid var(--ink); }
.tset__img img { width: 100%; height: 100%; object-fit: cover; }
.tset__img .topthumb__blank--tiny { min-height: 0; font-size: .9rem; }
.tset b { display: block; font-size: .92rem; line-height: 1.3; }
.tset small { color: var(--grey); font-size: .78rem; }
@media (max-width: 1000px) { .tsets { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .tsets { grid-template-columns: minmax(0, 1fr); } }

.tfilter { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-bottom: 20px; }
.tfilter select { min-height: 42px; border: 1px solid var(--ink); border-radius: 99px; padding: 0 36px 0 16px; -webkit-appearance: none; appearance: none; background: var(--paper) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6' fill='none' stroke='%23111' stroke-width='2.4'/%3E%3C/svg%3E") no-repeat right 12px center / 14px; font-weight: 500; }
.tfilter__chk { display: inline-flex; gap: 6px; align-items: center; font-weight: 500; }
.trows { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--ink); }
.trow { display: grid; grid-template-columns: 3.2em 84px minmax(0, 1fr) auto; gap: 16px; align-items: start; padding: 16px 0; border-bottom: 1px solid var(--line); transition: background .4s; scroll-margin-top: 90px; }
.trow.is-hl { background: #f4fde0; }
.trow__no { font-family: var(--display); font-size: 1.6rem; line-height: 1; text-align: center; padding-top: 6px; }
.trow__no.is-s { color: var(--ink); text-shadow: 0 0 0 var(--ink); background: linear-gradient(transparent 55%, var(--lime) 55%); }
.trow__no.is-a { background: linear-gradient(transparent 70%, #e7f9b2 70%); }
.trow__img { display: block; width: 84px; height: 84px; border-radius: var(--r-s); overflow: hidden; border: 1px solid var(--ink); }
.trow__img img { width: 100%; height: 100%; object-fit: cover; }
.trow__img .topthumb__blank--tiny { font-size: 1.3rem; }
.trow h3 { font-size: 1.2rem; }
.trow h3 a { text-decoration: none; }
.trow__been { font-family: var(--body); font-size: .72rem; font-weight: 700; padding: 1px 8px; border-radius: 99px; background: var(--ink); color: var(--lime); vertical-align: middle; }
.trow__where { font-size: .82rem; color: var(--grey); margin: 2px 0 4px; }
.trow__intro { margin: 0 0 4px; font-size: .95rem; }
.trow__why summary { cursor: pointer; font-size: .85rem; font-weight: 700; color: var(--ink-2); }
.trow__why p { margin: 6px 0 0; font-size: .88rem; }
.trow__side { display: flex; flex-wrap: wrap; justify-content: flex-end; align-content: flex-start; gap: 6px; position: relative; width: 190px; }
.trow__side .save { position: static; width: 34px; height: 34px; }
@media (max-width: 720px) {
  .trow { grid-template-columns: 2.2em 64px minmax(0, 1fr); gap: 12px; }
  .trow__img { width: 64px; height: 64px; }
  .trow__side { grid-column: 3; align-items: center; justify-content: flex-start; width: auto; }
  .trow__side .save { width: 32px; height: 32px; margin: 0 0 0 auto; }
}

.challenge { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(26px, 5vw, 64px); align-items: start; }
.challenge__big { display: flex; align-items: baseline; gap: 8px; margin: 10px 0 6px; }
.challenge__big b { font-family: var(--display); font-weight: 400; font-size: clamp(3rem, 8vw, 5rem); line-height: 1; }
.challenge__big span { font-size: 1.4rem; color: var(--grey); }
.challenge__bar { height: 14px; border-radius: 99px; background: var(--paper); border: 2px solid var(--ink); overflow: hidden; }
.challenge__bar i { display: block; height: 100%; background: var(--lime); transition: width .8s var(--ease); }
.challenge__grades { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.challenge__grades > span { padding: 6px 12px; border-radius: 99px; background: var(--paper); font-size: .9rem; }
.challenge h3 { margin-bottom: 12px; }
@media (max-width: 860px) { .challenge { grid-template-columns: minmax(0, 1fr); } }

.topabout { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: clamp(26px, 5vw, 64px); align-items: start; }
.topabout h2 { margin-bottom: 14px; }
.topabout__list { margin: 0 0 16px; padding-left: 1.3em; }
.topabout__list li { margin-bottom: 6px; }
.topabout__list b { margin-right: 6px; }
.opband--box { padding: clamp(20px, 3vw, 30px); border-radius: var(--r-l); background: var(--lime); border: 2px solid var(--ink); }
.opband--box h3 { font-size: 1.5rem; margin-bottom: 10px; }
.opband--box .btn--line:hover { background: rgba(255,255,255,.5); }
@media (max-width: 860px) { .topabout { grid-template-columns: minmax(0, 1fr); } }

/* 길 화면: 순위 표시 */
.rankline { margin: 10px 0 12px; display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: center; max-width: none; }
.rankbadge { display: inline-flex; align-items: center; gap: 8px; padding: 4px 6px 4px 14px; border-radius: 99px; background: var(--ink); color: var(--paper); text-decoration: none; font-size: .88rem; }
.rankbadge b { font-family: var(--display); font-weight: 400; font-size: 1.2rem; color: var(--lime); }
.rankbadge i { font-style: normal; font-weight: 700; font-size: .78rem; background: var(--lime); color: var(--ink); border-radius: 99px; padding: 1px 9px; }
.rankbadge:hover { background: #2a2a2a; }
.rankbadge--soft { background: var(--shelf); color: var(--ink); border: 1px solid var(--ink); padding-right: 14px; }
.rankbadge--soft b { font-family: var(--body); font-weight: 700; font-size: .9rem; color: var(--ink); }
.rankbadge--soft:hover { background: var(--lime); }

/* 길 화면: TOP 20 자세한 안내 */
.guide { margin: 6px 0 40px; padding: clamp(20px, 3.4vw, 34px); border-radius: var(--r-l); border: 2px solid var(--ink); background: var(--paper); box-shadow: 8px 8px 0 var(--lime); scroll-margin-top: 84px; }
.guide__k { margin-bottom: 10px; }
.guide__head h2 { font-size: clamp(1.6rem, 3.4vw, 2.3rem); margin-bottom: 14px; }
.guide__lede { font-size: 1.08rem; }
.guide__why { padding: 12px 16px; border-radius: var(--r-s); background: var(--shelf); max-width: none; }
.guide__why b { display: inline-block; margin-right: 6px; padding: 0 8px; border-radius: 99px; background: var(--lime); font-size: .85rem; }
.guide__toc { display: flex; flex-wrap: wrap; gap: 6px; margin: 4px 0 22px; }
.guide__toc a { font-size: .85rem; font-weight: 700; padding: 4px 12px; border-radius: 99px; border: 1px solid var(--line); text-decoration: none; }
.guide__toc a:hover { border-color: var(--ink); background: var(--lime); }
.guide__h { font-size: 1.35rem; margin: 34px 0 14px; padding-top: 18px; border-top: 2px solid var(--ink); scroll-margin-top: 84px; }
.guide__h .small { font-family: var(--body); font-size: .85rem; margin-left: 6px; }
.gfacts { margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 24px; scroll-margin-top: 84px; }
.gfacts div { padding: 10px 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 6.2em minmax(0, 1fr); gap: 10px; }
.gfacts dt { font-weight: 700; }
.gfacts dd { margin: 0; }
.gnums { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 12px; margin: 22px 0 6px; }
.gnum { padding: 14px 16px; border-radius: var(--r-m); background: var(--ink); color: var(--paper); display: grid; gap: 4px; align-content: start; }
.gnum b { font-family: var(--display); font-weight: 400; font-size: 1.9rem; line-height: 1.1; color: var(--lime); }
.gnum span { font-size: .88rem; }
.gnum small { font-size: .75rem; color: #b9b9b4; }
.gnum small a { color: inherit; }
.gstory { margin-top: 22px; }
.gstory p { max-width: none; }
.gsee { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.gsee li { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 12px; padding: 14px; border-radius: var(--r-m); background: var(--shelf); }
.gsee__n { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--lime); border: 2px solid var(--ink); font-family: var(--display); }
.gsee b { display: block; font-size: 1.02rem; }
.gsee p { margin: 4px 0; font-size: .92rem; }
.gtaste { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 24px; }
.gtaste li { padding: 10px 0; border-bottom: 1px solid var(--line); display: grid; gap: 2px; }
.gtaste span { font-size: .92rem; color: var(--ink-2); }
.gcourse { list-style: none; margin: 0; padding: 0 0 0 26px; position: relative; counter-reset: gc; }
.gcourse::before { content: ""; position: absolute; left: 9px; top: 8px; bottom: 14px; width: 3px; background: repeating-linear-gradient(var(--ink) 0 6px, transparent 6px 11px); }
.gcourse li { position: relative; padding: 0 0 16px 10px; counter-increment: gc; }
.gcourse li::before { content: counter(gc); position: absolute; left: -26px; top: 0; width: 22px; height: 22px; border-radius: 50%; background: var(--lime); border: 2px solid var(--ink); display: grid; place-items: center; font-size: .75rem; font-weight: 700; }
.gcourse__t { display: flex; gap: 10px; align-items: baseline; flex-wrap: wrap; }
.gcourse__t span { font-size: .8rem; color: var(--grey); border: 1px solid var(--line); border-radius: 99px; padding: 0 8px; }
.gcourse p { margin: 2px 0 0; font-size: .92rem; }
.gseasons { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.gseasons li { padding: 14px; border-radius: var(--r-m); border: 1px solid var(--line); display: grid; gap: 6px; align-content: start; font-size: .9rem; }
.gseasons b { font-family: var(--display); font-weight: 400; font-size: 1.2rem; }
.gseasons li:nth-child(1) { background: #fbf3f6; } .gseasons li:nth-child(2) { background: #eef7fb; } .gseasons li:nth-child(3) { background: #fbf5ea; } .gseasons li:nth-child(4) { background: #f3f4f7; }
.ggal { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-bottom: 16px; }
.ggal__item { margin: 0; border-radius: var(--r-m); overflow: hidden; background: var(--shelf); }
.ggal__item.is-wide { grid-column: span 3; }
.ggal__item img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.ggal__item.is-wide img { aspect-ratio: auto; object-fit: contain; background: var(--paper); }
.ggal__item figcaption { padding: 8px 12px 10px; font-size: .8rem; color: var(--ink-2); }
.gshots { padding: 16px 18px; border-radius: var(--r-m); border: 1px dashed var(--grey); }
.gshots p { max-width: none; }
.gshots ol { margin: 0 0 12px; padding-left: 1.3em; columns: 2; column-gap: 24px; font-size: .9rem; }
.gshots__links { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; }
.guide__pn { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: 10px; align-items: center; margin-top: 28px; padding-top: 18px; border-top: 2px solid var(--ink); }
.guide__pn a { text-decoration: none; display: grid; gap: 2px; padding: 8px 12px; border-radius: var(--r-s); }
.guide__pn a:hover { background: var(--shelf); }
.guide__pn a.is-next { text-align: right; }
.guide__pn small { color: var(--grey); }
.guide__all { font-weight: 700; border: 1px solid var(--ink); border-radius: 99px !important; padding: 6px 16px !important; }
@media (max-width: 720px) {
  .guide { box-shadow: 5px 5px 0 var(--lime); }
  .gfacts, .gsee, .gtaste { grid-template-columns: minmax(0, 1fr); }
  .gseasons { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ggal { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ggal__item.is-wide { grid-column: span 2; }
  .gshots ol { columns: 1; }
  .guide__pn { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .guide__all { grid-column: 1 / -1; grid-row: 2; justify-self: center; }
}

/* 첫 화면: TOP 100 띠 */
.hometop__row { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 22px 18px; counter-reset: none; }
.hometop__row a { position: relative; display: grid; gap: 4px; text-decoration: none; }
.hometop__img { display: block; aspect-ratio: 1; border-radius: var(--r-m); overflow: hidden; border: 2px solid var(--ink); background: var(--shelf); transition: transform .25s var(--ease); }
.hometop__row a:hover .hometop__img { transform: translateY(-3px) rotate(-1deg); }
.hometop__img img { width: 100%; height: 100%; object-fit: cover; }
.hometop__no { position: absolute; left: -6px; top: -8px; min-width: 2em; padding: 0 8px; border-radius: 99px; background: var(--lime); border: 2px solid var(--ink); font-family: var(--display); font-size: 1.3rem; text-align: center; }
.hometop__row b { margin-top: 6px; line-height: 1.3; }
.hometop__row small { color: var(--grey); font-size: .8rem; }
.hometop__sets { display: flex; flex-wrap: wrap; gap: 6px; margin: 22px 0 0; max-width: none; }
.hometop__sets .chip { font-size: .85rem; padding: 4px 12px; text-decoration: none; }
.hometop__sets a.chip:hover { border-color: var(--ink); }
@media (max-width: 1000px) { .hometop__row { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 720px) { .hometop__row.rail-m > * { flex-basis: 38%; } }
