/* 동네마트 디자인 — 팝플리(popply.co.kr)를 측정해 그대로 따른 값 (2026-11-11 사용자 지시 "참고 사이트 방식을 따라 하라")
   글꼴 Pretendard · 바탕 #000 · 본문 960px · 강조 #f0002e · 칩 14px/8px 22px/둥근 35px(선택 빨강, 나머지 테두리 #2c2c2c 글자 #999)
   구역 제목 24px/700 + '더보기' 14px · 목록 카드: 썸네일 140×175 r8 + 분류 칩 10px(브랜드색 50%) + 제목 16/700 + 날짜 14 + 위치 13
   달력 패널 #1c1c1e r16, 선택일 빨간 네모 · 하단 탭바 #2c2c2c 65px · 위로 가기 빨간 원 */
:root { --red: #f0002e; --bg: #000; --panel: #1c1c1e; --box: #141414; --line: #2c2c2c; --line2: #555; --ink: #fff; --ink2: rgba(255, 255, 255, .8); --ink3: #999; --open: #3ddc84; --temp: #f5b83d; }
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
body { margin: 0; padding-bottom: 72px; background: var(--bg); color: var(--ink); font: 400 16px/1.5 "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif; -webkit-font-smoothing: antialiased; }
h1, h2, h3, p, ul, ol, dl, dd { margin: 0; padding: 0; }
ul, ol { list-style: none; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; color: inherit; }
button { background: none; border: 0; padding: 0; cursor: pointer; }
[hidden] { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.ic { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.wrap { max-width: 960px; margin: 0 auto; }
main.wrap { padding: 8px 0 40px; min-height: 60vh; }
.fine { color: var(--ink3); font-size: 13px; margin-top: 16px; }

/* 머리: 빨간 로고 + 둥근 검색창 + 아이콘 */
.top { position: sticky; top: 0; z-index: 40; background: var(--bg); }
.top > .wrap { display: flex; align-items: center; gap: 20px; padding: 14px 0 16px; }
.logo { color: var(--red); font-size: 26px; font-weight: 900; letter-spacing: -0.06em; white-space: nowrap; }
.top-search { flex: 1; position: relative; }
.top-search input { width: 100%; height: 50px; padding: 0 52px 0 20px; border-radius: 32px; border: 1px solid #6a6a6a; background: #2c2c2c; outline: none; font-size: 16px; }
.top-search input:focus { border-color: #fff; }
/* 키보드로 움직일 때만 보이는 초점 테두리(검정 바탕에서 보이게 흰색) */
a:focus-visible, button:focus-visible, select:focus-visible, .chip-date:focus-within { outline: 2px solid #fff; outline-offset: 2px; }
.top-search button { position: absolute; right: 16px; top: 50%; transform: translateY(-50%); display: grid; }
.top-icon { display: grid; place-items: center; width: 36px; height: 36px; }
.top-icon .ic { width: 28px; height: 28px; stroke-width: 1.4; }
.drawer { background: #111; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.drawer .wrap { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; padding: 24px 0; }
.drawer p { color: var(--ink3); font-size: 13px; margin-bottom: 10px; }
.drawer a { display: block; padding: 6px 0; font-weight: 600; }

/* 위쪽 포스터 캐러셀 */
.carousel { margin-top: 24px; }
.car-track { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 0 calc(50% - 190px); }
.car-track::-webkit-scrollbar { display: none; }
.slide { --bc: var(--red); position: relative; flex: 0 0 380px; height: 450px; border-radius: 8px; overflow: hidden; scroll-snap-align: center; transform: scale(.9); opacity: .55; transition: transform .35s, opacity .35s; }
.slide.on { transform: scale(1); opacity: 1; }
.slide-art { position: absolute; inset: 0; padding: 24px; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; background: radial-gradient(120% 80% at 80% 0%, color-mix(in srgb, var(--bc) 70%, #fff) 0%, var(--bc) 45%, color-mix(in srgb, var(--bc) 55%, #000) 100%); }
.slide-kicker { position: absolute; top: 22px; left: 24px; font-size: 15px; font-weight: 700; color: rgba(255, 255, 255, .9); }
.slide-num { font-size: 120px; font-weight: 800; line-height: 1; letter-spacing: -0.05em; margin-top: -40px; white-space: nowrap; }
.slide-num small { font-size: 32px; font-weight: 700; margin-left: 6px; letter-spacing: 0; }
.slide.zero .slide-num span { font-size: .72em; } /* 0곳 대신 '11.22' 같은 다음 휴무일 */
.slide-cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 60px 24px 24px; background: linear-gradient(transparent, rgba(0, 0, 0, .75)); }
.slide-title { font-size: 22px; font-weight: 700; word-break: keep-all; }
.slide-meta { word-break: keep-all; }
.slide-meta { font-size: 14px; color: var(--ink2); margin-top: 4px; }
.car-dots { display: flex; justify-content: center; gap: 6px; margin-top: 20px; }
.car-dots button { width: 6px; height: 6px; border-radius: 3px; background: #555; transition: width .3s; }
.car-dots button.on { width: 22px; background: #fff; }

/* 태그 알약 (상세 해시태그·추천 키워드) */
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.tags a, .tags span { display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 14px; border-radius: 17px; border: 1px solid #666; font-size: 13px; color: #ddd; }
.tags a:hover { border-color: #fff; color: #fff; }
.tags em { font-style: normal; color: var(--ink3); }
.tags.kw { justify-content: center; margin-top: 28px; }
.kw-label { display: inline-flex; align-items: center; height: 34px; margin-right: 4px; font-size: 13px; font-weight: 700; color: var(--ink3); }

/* 구역 */
.sec { margin-top: 80px; }
.sec-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 24px; }
.sec-head h2 { font-size: 24px; font-weight: 700; }
.sec-head h2 em { font-style: normal; color: var(--red); }
.sec-head a { font-size: 14px; }
.list-head { padding: 24px 0 8px; }
.list-head + .sec, .list-head + .cta + .sec, .list-head + .tags + .sec { margin-top: 36px; }
.list-head h1 { font-size: 28px; font-weight: 700; }
.list-head p { margin-top: 10px; color: var(--ink2); font-size: 15px; }
.list-head a { color: var(--red); font-weight: 700; }
.box { background: var(--box); padding: 20px; font-size: 15px; line-height: 1.75; color: #ddd; }
.box p + p { margin-top: 8px; }

/* 찾기: 줄 이름 + 둥근 칩 (팝플리 팝업발견) */
.frow { display: flex; align-items: center; gap: 10px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.flabel { flex: 0 0 56px; font-size: 16px; font-weight: 700; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; min-width: 0; }
.chips.scroll { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
.chips.scroll::-webkit-scrollbar { display: none; }
.chips button, .chip-date { display: inline-flex; align-items: center; gap: 5px; padding: 8px 22px; border-radius: 35px; border: 1px solid var(--line); color: var(--ink3); font-size: 14px; line-height: 16px; white-space: nowrap; position: relative; cursor: pointer; }
.chips button:hover, .chip-date:hover { color: #fff; }
.chips button.on, .chip-date.on { background: var(--red); border-color: var(--red); color: #fff; }
.chips em { font-style: normal; font-size: 12px; opacity: .7; }
.chip-date input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.fbar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; margin-top: 28px; }
.daynav { display: flex; align-items: center; gap: 10px; }
.daynav b { font-size: 18px; font-weight: 700; min-width: 140px; text-align: center; }
.daynav button { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--line2); }
.daynav button:not(.r) .ic, .cal-head button:not(.r) .ic { transform: rotate(180deg); }
.daynav .ic { width: 16px; height: 16px; }
.ftools { display: flex; align-items: center; gap: 12px; }
.fselect { position: relative; display: inline-flex; align-items: center; gap: 2px; font-size: 15px; }
.fselect select { appearance: none; background: none; border: 0; padding: 4px 18px 4px 0; font-size: 15px; cursor: pointer; }
.fselect select option { background: #222; }
.fselect .ic { position: absolute; right: 0; width: 14px; height: 14px; transform: rotate(90deg); pointer-events: none; }
.near { display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 14px; border-radius: 17px; border: 1px solid var(--line2); font-size: 13px; color: #ddd; }
.near .ic { width: 16px; height: 16px; }
.near.on { border-color: var(--open); color: var(--open); }
.fsearch { display: flex; align-items: center; gap: 10px; height: 46px; margin-top: 16px; padding: 0 18px; border-radius: 32px; background: var(--panel); color: var(--ink3); }
.fsearch:focus-within { box-shadow: inset 0 0 0 1px #fff; }
.fsearch input { flex: 1; min-width: 0; height: 100%; background: none; border: 0; outline: none; color: #fff; font-size: 15px; }
.finder.shop .date-row, .finder.shop .daynav, .finder.shop .fselect { display: none; }
.ftitle { font-size: 18px; font-weight: 700; margin: 28px 0 20px; }
.ftitle em { font-style: normal; color: var(--red); }
.favs { margin-bottom: 40px; padding-bottom: 32px; border-bottom: 1px solid var(--line); }
.favs-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 20px; }
.favs-head .ftitle { margin: 28px 0 0; }
.favs-head .near { margin-top: 0; }
.favs-head .ftitle + .near { margin-top: 28px; }
.near.on .ic, [data-push].on .ic { color: var(--open); }
.favs-title { display: flex; align-items: center; gap: 6px; font-weight: 700; }
.favs-title .ic { fill: var(--red); stroke: var(--red); }
.empty { padding: 56px 0; text-align: center; color: var(--ink3); }
.empty-title { font-size: 18px; font-weight: 700; color: #fff; word-break: keep-all; }
.empty-sub { margin-top: 6px; font-size: 14px; word-break: keep-all; }
.empty-act { justify-content: center; margin-top: 18px; }
.empty-act button:first-child { background: var(--red); border-color: var(--red); color: #fff; }
.empty-act:empty { display: none; }
.more-btn { display: flex; justify-content: center; align-items: center; width: 100%; height: 48px; margin-top: 32px; border: 1px solid rgba(255, 255, 255, .4); border-radius: 4px; font-size: 15px; font-weight: 600; }
.more-btn:hover { border-color: #fff; }

/* 목록 카드 (팝플리 '오늘 방문 가능한 팝업') */
.plist { display: grid; grid-template-columns: 1fr 1fr; gap: 48px 24px; }
.pcard { display: grid; grid-template-columns: 140px 1fr; gap: 10px; min-height: 175px; }
.thumb { --bc: var(--red); --ang: 160deg; --lx: 30%; position: relative; display: flex; flex-direction: column; justify-content: flex-end; height: 175px; padding: 12px; border-radius: 8px; overflow: hidden;
  background: radial-gradient(90% 60% at var(--lx) 0%, color-mix(in srgb, var(--bc) 55%, #fff) 0%, transparent 70%), linear-gradient(var(--ang), color-mix(in srgb, var(--bc) 80%, #fff) 0%, var(--bc) 42%, color-mix(in srgb, var(--bc) 45%, #000) 100%); }
.thumb::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 40%, rgba(0, 0, 0, .35)); }
.thumb > * { position: relative; z-index: 1; }
/* 시군구 실루엣(pages.mjs thumbGeo·detailGeo): 반투명 흰 면 + 흰 선, 지점 위치는 흰 점 */
.thumb > .geo { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; }
.geo use, .detail-geo .hl { fill: rgba(255, 255, 255, .16); stroke: rgba(255, 255, 255, .75); stroke-width: 1.2; stroke-linejoin: round; }
.geo .halo, .detail-geo .halo { fill: rgba(255, 255, 255, .28); }
.geo .pin, .detail-geo .pin { fill: #fff; }
.detail-geo { position: absolute; top: 6%; right: 3%; height: 88%; width: auto; aspect-ratio: 1; z-index: 0; }
.detail-geo .base { fill: rgba(255, 255, 255, .07); stroke: rgba(255, 255, 255, .3); stroke-width: .7; stroke-linejoin: round; }
.detail-geo .hl { fill: rgba(255, 255, 255, .3); stroke: rgba(255, 255, 255, .9); }
.detail-geo .dots circle { fill: rgba(255, 255, 255, .5); }
.detail-geo .halo { transform-box: fill-box; transform-origin: center; animation: geo-pulse 2.4s ease-out infinite; }
@keyframes geo-pulse { 0% { transform: scale(.6); opacity: 1; } 100% { transform: scale(1.8); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .detail-geo .halo { animation: none; } }
.detail-art > b, .detail-art > .thumb-brand, .detail-art > .detail-next { position: relative; }
.thumb-brand { font-size: 12px; font-weight: 700; color: rgba(255, 255, 255, .85); letter-spacing: -0.02em; }
.thumb-name { font-size: 20px; font-weight: 800; line-height: 1.2; letter-spacing: -0.04em; word-break: keep-all; margin-top: 2px; }
.badge { position: absolute; top: 10px; left: 10px; padding: 3px 7px; border-radius: 4px; font-size: 11px; font-weight: 700; line-height: 14px; background: rgba(0, 0, 0, .6); color: var(--open); white-space: nowrap; }
.badge.off { background: var(--red); color: #fff; }
.badge.temp { background: var(--temp); color: #2a1d00; }
.badge.big { top: 20px; left: 20px; padding: 6px 12px; font-size: 15px; line-height: 20px; border-radius: 6px; }
.pcard-body { display: flex; flex-direction: column; min-width: 0; padding-left: 0; }
.pcard-top { display: flex; justify-content: flex-end; align-items: center; gap: 10px; margin-bottom: auto; }
.dist { font-size: 13px; color: var(--open); font-weight: 600; }
.fav { display: grid; place-items: center; }
.fav .ic { width: 22px; height: 22px; stroke-width: 1.6; }
.fav.on .ic, .pill-btn.on .ic { fill: var(--red); stroke: var(--red); }
.cat { --bc: var(--red); display: inline-block; padding: 3px 8px; border-radius: 4px; font-size: 10px; line-height: 14px; background: color-mix(in srgb, var(--bc) 50%, transparent); color: #fff; }
.pcard-title { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin-top: 6px; font-size: 16px; font-weight: 700; line-height: 1.3; }
.pcard-date { margin-top: 4px; font-size: 14px; }
.pcard-loc { display: flex; align-items: center; gap: 3px; margin-top: 2px; font-size: 13px; color: #bbb; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pcard-loc .ic { width: 13px; height: 13px; }

/* 달력 패널 (팝플리 '내 캘린더') */
.cal-panel { background: var(--panel); border-radius: 16px; padding: 24px; }
.cal-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.cal-head p { font-size: 20px; font-weight: 700; }
.cal-head button { display: inline-grid; place-items: center; width: 32px; height: 32px; }
.cal-head .ic { width: 18px; height: 18px; }
.cal-week, .cal-days { display: grid; grid-template-columns: repeat(7, 1fr); text-align: center; }
.cal-week li { font-size: 14px; color: #bbb; padding-bottom: 10px; }
.cal-days li { min-height: 64px; display: flex; justify-content: center; }
.cal-days li > a, .cal-days li > button, .cal-panel.static .cal-days li { display: flex; flex-direction: column; align-items: center; gap: 4px; width: 100%; padding-top: 2px; }
.cal-days .d { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 4px; font-size: 18px; font-weight: 600; }
.cal-days .n { font-size: 11px; font-weight: 700; color: #ff6b81; min-height: 14px; }
.cal-days li.sun .d { color: #ff6b81; }
.cal-days li.past { opacity: .4; }
.cal-days li > a:hover .d, .cal-days li > button:hover .d { background: #2c2c2e; }
.cal-days li.sel .d { background: var(--red); color: #fff !important; }
.cal-days li.is-today .d { box-shadow: inset 0 0 0 1px #fff; }
.cal-note { margin-top: 12px; font-size: 13px; color: var(--ink3); }
.cal-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.cal-panel.static { padding: 20px; }
.cal-panel.static .cal-days li { min-height: 58px; }
.cal-panel.static li.off.official .d { background: var(--red); color: #fff; }
.cal-panel.static li.off.rule .d { box-shadow: inset 0 0 0 1px var(--red); color: #ff6b81; }
.cal-panel.static li.off.past .d { background: #3a3a3c; }
.legend { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 12px; font-size: 13px; color: var(--ink3); }
.n-chip { padding: 1px 6px; border-radius: 4px; font-size: 11px; font-weight: 700; }
.n-chip.official { background: var(--red); color: #fff; }
.n-chip.rule { box-shadow: inset 0 0 0 1px var(--red); color: #ff6b81; }

/* 포스터 카드 격자 (팝플리 'Top 10'·'모아보기') */
.posters { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px 16px; }
.posters.row { display: flex; overflow-x: auto; scrollbar-width: none; gap: 16px; }
.posters.row::-webkit-scrollbar { display: none; }
.posters.row .poster { flex: 0 0 180px; }
.poster-art { --bc: #333; position: relative; aspect-ratio: 4 / 5; border-radius: 8px; overflow: hidden; padding: 16px; display: flex; flex-direction: column; justify-content: flex-end; background: linear-gradient(160deg, color-mix(in srgb, var(--bc) 75%, #fff) 0%, var(--bc) 40%, color-mix(in srgb, var(--bc) 50%, #000) 100%); }
.poster.day .poster-art { --bc: #2a2a2e; }
.poster.day .poster-art.sun { --bc: #8a0d24; }
.poster-art b { font-size: 48px; font-weight: 800; line-height: 1; letter-spacing: -0.04em; white-space: nowrap; }
.poster-art b.long { font-size: 34px; } /* 다이소 1,630 처럼 네 자리 */
.poster-art b small { font-size: 16px; font-weight: 700; margin-left: 4px; letter-spacing: 0; }
.poster-art .thumb-brand { position: absolute; top: 14px; left: 16px; }
.poster > p:first-of-type { margin-top: 10px; }
.poster-title { margin-top: 6px; font-size: 16px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.poster-date { font-size: 14px; color: var(--ink2); }
.poster.soon { opacity: .45; }
.poster-art b.txt { font-size: 26px; line-height: 1.2; word-break: keep-all; }
.poster-art .badge { top: 12px; left: 12px; }
.poster-art .badge + .thumb-brand { top: 40px; }
/* 세일 상태 배지: 진행 중 빨강, 예정 흰 테두리, 종료 회색 */
.badge.on { background: var(--red); color: #fff; }
.badge.soon { background: rgba(0, 0, 0, .6); color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .5); }
.badge.ended { background: #3a3a3c; color: #bbb; }
.exp { display: inline-block; padding: 2px 7px; border-radius: 4px; font-size: 11px; font-weight: 700; color: var(--temp); box-shadow: inset 0 0 0 1px rgba(245, 184, 61, .6); }
.pcard.sale[data-state="ended"] .thumb { filter: grayscale(.7) brightness(.7); }
.poster.soon .poster-art b { font-size: 26px; }

/* 상세 (팝플리 상세 순서) */
.detail-hero { --bc: var(--red); padding-top: 16px; }
.detail-art { position: relative; height: 320px; border-radius: 8px; overflow: hidden; padding: 28px; display: flex; flex-direction: column; justify-content: flex-end; background: radial-gradient(120% 90% at 85% 0%, color-mix(in srgb, var(--bc) 70%, #fff) 0%, var(--bc) 45%, color-mix(in srgb, var(--bc) 45%, #000) 100%); }
.detail-art .thumb-brand { font-size: 16px; }
.detail-art b { font-size: 48px; font-weight: 800; letter-spacing: -0.05em; line-height: 1.15; }
.detail-next { font-size: 17px; font-weight: 700; margin-top: 6px; color: rgba(255, 255, 255, .92); }
.detail-bar { display: flex; justify-content: space-between; align-items: center; margin: 16px 0 20px; }
.back { display: grid; place-items: center; width: 32px; height: 40px; }
.back .ic { width: 22px; height: 22px; }
.detail-bar > div { display: flex; gap: 8px; }
.pill-btn { display: inline-flex; align-items: center; gap: 6px; height: 44px; padding: 0 16px; border-radius: 22px; background: var(--panel); font-size: 13px; font-weight: 700; }
.pill-btn .ic { width: 20px; height: 20px; }
.detail-hero h1 { margin-top: 12px; font-size: 28px; font-weight: 700; line-height: 1.3; }
.detail-date { margin-top: 14px; font-size: 15px; font-weight: 700; }
.detail-addr { margin-top: 10px; font-size: 15px; }
.detail-addr a, .detail-addr .link { margin-left: 4px; color: #bbb; text-decoration: underline; text-underline-offset: 3px; font-size: 14px; }
.note { margin-top: 10px; color: var(--temp); font-size: 14px; }
.link-bar { display: flex; justify-content: space-between; align-items: center; height: 44px; margin-top: 20px; padding: 0 24px; border-radius: 22px; background: var(--box); font-size: 14px; font-weight: 600; }
.tabs { position: sticky; top: 80px; z-index: 30; display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 28px; background: var(--bg); border-bottom: 1px solid var(--line); }
.tabs.two { grid-template-columns: 1fr 1fr; }
.tabs a { padding: 14px 0; text-align: center; font-size: 16px; font-weight: 700; border-bottom: 2px solid transparent; margin-bottom: -1px; }
.tabs a.on { color: var(--red); border-bottom-color: var(--red); }
.dsec { padding-top: 24px; }
.dsec h2 { font-size: 18px; font-weight: 700; margin: 28px 0 14px; }
.dsec .sec-head h2 { margin: 0; }
.feats { display: flex; flex-wrap: wrap; gap: 20px 48px; padding: 8px 0 4px; }
.feats li { display: flex; flex-direction: column; align-items: center; gap: 6px; min-width: 72px; font-size: 12px; }
.feats .ic { width: 28px; height: 28px; stroke-width: 1.3; }
.hours { display: grid; gap: 6px; font-size: 15px; }
.hours div { display: flex; gap: 8px; }
.hours dt { font-weight: 700; flex: 0 0 auto; }
.hours dt::after { content: " :"; }
.hours a { text-decoration: underline; text-underline-offset: 3px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 16px 0; font-weight: 600; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--ink3); }
.faq details[open] summary::after { content: "−"; }
.faq p { padding-bottom: 16px; color: #ccc; font-size: 15px; }
.link { color: #bbb; text-decoration: underline; }

/* 쉬는 날 온라인 장보기 (제휴) */
.cta { display: grid; grid-template-columns: 1fr auto; gap: 8px 16px; align-items: center; margin-top: 28px; padding: 20px 24px; border-radius: 12px; background: var(--box); border: 1px solid rgba(240, 0, 46, .45); }
.cta b { font-size: 16px; }
.cta p { margin-top: 4px; font-size: 14px; color: var(--ink2); }
.cta-btn { display: inline-flex; align-items: center; gap: 4px; height: 44px; padding: 0 20px; border-radius: 22px; background: var(--red); font-size: 14px; font-weight: 700; white-space: nowrap; }
.cta-btn .ic { width: 16px; height: 16px; }
.cta .aff-note { grid-column: 1 / -1; margin: 0; font-size: 12px; color: var(--ink3); }

/* 바닥·하단 탭바·위로 가기·알림 */
.foot { margin-top: 80px; padding: 32px 0 40px; border-top: 1px solid var(--line); color: #777; font-size: 13px; line-height: 1.7; }
.foot p + p { margin-top: 8px; }
.foot-logo { color: var(--red); font-size: 20px; font-weight: 900; letter-spacing: -0.06em; }
.foot-nav { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 14px 0 6px; }
.foot-nav a { color: #bbb; font-weight: 600; }
.foot-nav a:hover { color: #fff; }
.foot-src { font-size: 11px; color: #777; margin: 4px 0 8px; }
.foot-src a { color: #999; text-decoration: underline; }
.bottom-nav { position: fixed; z-index: 50; left: 0; right: 0; bottom: 0; background: #2c2c2c; padding: 4px 4px calc(6px + env(safe-area-inset-bottom)); }
.bottom-nav > div { display: grid; grid-template-columns: repeat(5, 1fr); max-width: 840px; margin: 0 auto; }
.bottom-nav a { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 6px 0 3px; font-size: 13px; }
.bottom-nav .ic { width: 24px; height: 24px; stroke-width: 1.4; }
.bottom-nav a.accent .ic { color: var(--red); }
.bottom-nav a.on { font-weight: 700; }
.to-top { position: fixed; z-index: 45; right: 70px; bottom: 90px; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--red); opacity: 0; pointer-events: none; transition: opacity .2s; }
.to-top.show { opacity: 1; pointer-events: auto; }
.to-top .ic { width: 22px; height: 22px; stroke-width: 2; }
.toast { position: fixed; left: 50%; bottom: 96px; transform: translate(-50%, 16px); opacity: 0; pointer-events: none; z-index: 60; padding: 12px 18px; border-radius: 22px; background: #fff; color: #111; font-weight: 700; font-size: 14px; transition: .2s; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

@media (max-width: 1000px) { .wrap { padding-left: 20px; padding-right: 20px; } main.wrap { padding-left: 20px; padding-right: 20px; } .to-top { right: 20px; } }
@media (max-width: 760px) {
  .plist { grid-template-columns: 1fr; gap: 28px; }
  .posters { grid-template-columns: repeat(2, 1fr); }
  .cal-pair { grid-template-columns: 1fr; }
  .drawer .wrap { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .wrap, main.wrap { padding-left: 16px; padding-right: 16px; }
  .top > .wrap { gap: 10px; padding: 10px 16px 12px; }
  .logo { font-size: 21px; }
  .top-search input { height: 42px; }
  .top-icon .ic { width: 24px; height: 24px; }
  .car-track { padding: 0 11%; gap: 10px; }
  .slide { flex-basis: 78%; height: 380px; }
  .slide-num { font-size: 80px; }
  .slide-num small { font-size: 26px; }
  .sec { margin-top: 56px; }
  .sec-head h2 { font-size: 20px; }
  .frow { align-items: flex-start; flex-direction: column; gap: 10px; }
  .flabel { flex: none; }
  .chips { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; max-width: 100%; }
  .chips::-webkit-scrollbar { display: none; }
  .chips button, .chip-date { padding: 7px 16px; }
  .daynav b { min-width: 0; font-size: 16px; }
  .pcard { grid-template-columns: 112px 1fr; min-height: 140px; }
  .thumb { height: 140px; padding: 10px; }
  .thumb-name { font-size: 16px; }
  .cal-panel { padding: 16px; }
  .cal-days li { min-height: 52px; }
  .cal-days .d { width: 34px; height: 34px; font-size: 15px; }
  .detail-art { height: 240px; padding: 20px; }
  .detail-art b { font-size: 36px; }
  .detail-hero h1 { font-size: 23px; }
  .cta { grid-template-columns: 1fr; }
  .bottom-nav a { font-size: 11px; gap: 4px; }
}
