/* =====================================================================
   테마: record-shop (레트로 음반점) — 밝은 톤
   배색은 아래 [data-palette] 블록의 변수만 바꾸면 전체가 따라 바뀝니다.
   ===================================================================== */
@import url('https://fonts.googleapis.com/css2?family=Black+Han+Sans&family=Do+Hyeon&family=IBM+Plex+Sans+KR:wght@400;500;700&family=Nanum+Gothic+Coding:wght@400;700&display=swap');

/* ---------- 배색 (작품 표지 색감 기반) ---------- */
:root, [data-palette="crimson"] {           /* 레코드 레드: 말빨·종언·성기사의 진홍 + 여동생·스킬의 크림 + 경차·아카데미의 민트 */
  --paper: #f3eadb; --paper-2: #ebdfca; --paper-3: #fffaf1;
  --ink: #2a211c; --ink-soft: #6d5d50; --line: rgba(42, 33, 28, .14);
  --red: #c7372f; --red-ink: #fff8ee; --mustard: #e0a526; --teal: #2e7d74;
  --wood: #a26a43; --wood-2: #7d4b2c; --led-bg: #1d1714; --led-on: #ffb23e;
}
[data-palette="bubblegum"] {                /* 카세트 핑크: 멸망이 초인종의 핫핑크 + 아카데미 민트 + 감정 다운로드의 옐로 */
  --paper: #fbf1ee; --paper-2: #f4e2dc; --paper-3: #fffafa;
  --ink: #2b2340; --ink-soft: #6e6380; --line: rgba(43, 35, 64, .14);
  --red: #e5487e; --red-ink: #fff; --mustard: #f5c451; --teal: #4fae9b;
  --wood: #c48a6a; --wood-2: #9a6248; --led-bg: #231c33; --led-on: #ff7eb0;
}
[data-palette="sunset"] {                   /* 선셋 라디오: 스킬용사·추석의 주황 + 그날·헤리티지의 남색 */
  --paper: #f6eee3; --paper-2: #ecdfcc; --paper-3: #fffbf4;
  --ink: #1f2a36; --ink-soft: #5d6773; --line: rgba(31, 42, 54, .14);
  --red: #e8692e; --red-ink: #fff; --mustard: #f0b43c; --teal: #2d4f7c;
  --wood: #9b6b48; --wood-2: #6f4a30; --led-bg: #16202b; --led-on: #ffc76a;
}

:root {
  --display: 'Black Han Sans', 'Do Hyeon', sans-serif;
  --label: 'Do Hyeon', 'IBM Plex Sans KR', sans-serif;
  --body: 'IBM Plex Sans KR', 'Apple SD Gothic Neo', 'Malgun Gothic', sans-serif;
  --mono: 'Nanum Gothic Coding', ui-monospace, monospace;
  --maxw: 1240px; --gutter: clamp(16px, 4vw, 44px);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .3 0 0 0 0 .22 0 0 0 0 .15 0 0 0 .09 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

body {
  background: var(--paper) var(--grain); color: var(--ink);
  font-family: var(--body); font-size: 16px; line-height: 1.7;
  -webkit-font-smoothing: antialiased; transition: background-color .4s var(--ease), color .4s;
}
a { text-decoration: none; }
:focus-visible { outline: 3px solid var(--mustard); outline-offset: 3px; border-radius: 4px; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
h1, h2, h3 { margin: 0; line-height: 1.2; font-weight: 400; }
.kicker { margin: 0 0 4px; font: 700 12px/1 var(--mono); letter-spacing: .22em; color: var(--red); }
.note { margin: 6px 0 0; font-size: 12px; color: var(--ink-soft); }

/* ---------- 간판 ---------- */
.sign { position: sticky; top: 0; z-index: 50; background: var(--ink); color: var(--paper); box-shadow: 0 2px 0 var(--red), 0 6px 18px rgba(0, 0, 0, .18); }
.sign-in { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); height: 64px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.logo { display: flex; align-items: center; gap: 12px; min-width: 0; }
.logo-disc { width: 38px; height: 38px; flex: none; border-radius: 50%; background: radial-gradient(circle, var(--paper) 0 7%, var(--red) 8% 30%, #111 31% 33%, #1d1d1d 34% 100%); box-shadow: 0 0 0 2px var(--paper) inset, 0 0 0 1px rgba(255,255,255,.1); animation: spin 6s linear infinite; }
.logo-disc::after { content: ''; display: block; width: 100%; height: 100%; border-radius: 50%; background: repeating-radial-gradient(circle, transparent 0 3px, rgba(255,255,255,.05) 3px 4px); }
.logo-disc.sm { width: 22px; height: 22px; display: inline-block; vertical-align: -5px; }
.logo-text { display: flex; align-items: baseline; gap: 8px; white-space: nowrap; }
.logo-text b { font: 400 22px/1 var(--display); letter-spacing: .01em; }
.logo-text small { font: 700 13px/1 var(--mono); letter-spacing: .3em; color: var(--mustard); }
.nav { display: flex; align-items: center; gap: clamp(10px, 2.2vw, 26px); font: 400 17px/1 var(--label); }
.nav a { opacity: .82; transition: opacity .2s, color .2s; white-space: nowrap; }
.nav a:hover { opacity: 1; color: var(--mustard); }
.nav-pal { display: inline-flex; gap: 2px; padding: 7px 9px; border-radius: 999px; border: 1.5px solid rgba(255,255,255,.35); background: transparent; }
.nav-pal i { width: 10px; height: 10px; border-radius: 50%; }
.nav-pal i:nth-child(1) { background: var(--red); } .nav-pal i:nth-child(2) { background: var(--mustard); } .nav-pal i:nth-child(3) { background: var(--teal); }
.nav-pal:hover { border-color: var(--mustard); }
.nav-out { padding: 6px 12px; border: 1.5px solid currentColor; border-radius: 999px; font-size: 15px; }
@media (max-width: 520px) { .crate-grid { gap: 12px; padding: 10px; } .crate-label h3 { font-size: 15px; } .stk-new { width: 34px; height: 34px; font-size: 10px; } }
@media (max-width: 640px) { .logo-text small, .nav-out { display: none; } .nav { gap: 12px; font-size: 15px; } .logo-text b { font-size: 18px; } }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- 전광판 (LED) ---------- */
.led { position: relative; overflow: hidden; background: var(--led-bg); border-bottom: 4px solid var(--wood-2); height: 44px; display: flex; align-items: center; }
.led::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(circle at center, transparent 0 1.25px, var(--led-bg) 1.7px) 0 0 / 3.5px 3.5px; opacity: .55; }
.led::before { content: ''; position: absolute; inset: 0; z-index: 2; pointer-events: none; background: linear-gradient(90deg, var(--led-bg), transparent 6%, transparent 94%, var(--led-bg)); }
.led-track { display: flex; width: max-content; animation: led 46s linear infinite; }
.led:hover .led-track { animation-play-state: paused; }
.led-item { padding: 0 56px; font: 400 21px/1 var(--label); color: var(--led-on); letter-spacing: .06em; white-space: nowrap; text-shadow: 0 0 6px var(--led-on), 0 0 14px color-mix(in srgb, var(--led-on) 60%, transparent); }
@keyframes led { to { transform: translateX(-50%); } }

/* ---------- 현수막 (신작 배너) ---------- */
.banner-wrap { position: relative; max-width: var(--maxw); margin: 0 auto; padding: 34px var(--gutter) 8px; }
.rope { position: absolute; left: var(--gutter); right: var(--gutter); top: 18px; height: 22px; border-top: 3px dotted var(--wood-2); border-radius: 50% / 100% 100% 0 0; opacity: .8; }
.banner { display: block; position: relative; transform-origin: 50% 0; animation: sway 7s ease-in-out infinite; }
.banner:hover { animation-play-state: paused; }
@keyframes sway { 0%, 100% { transform: rotate(-.35deg); } 50% { transform: rotate(.35deg); } }
.banner-cloth {
  position: relative; background: var(--red); color: var(--red-ink); padding: clamp(26px, 4vw, 44px) clamp(20px, 4vw, 52px) clamp(40px, 5vw, 60px);
  clip-path: polygon(0 0, 100% 0, 100% 100%, 95% 94%, 90% 100%, 85% 94%, 80% 100%, 75% 94%, 70% 100%, 65% 94%, 60% 100%, 55% 94%, 50% 100%, 45% 94%, 40% 100%, 35% 94%, 30% 100%, 25% 94%, 20% 100%, 15% 94%, 10% 100%, 5% 94%, 0 100%);
  background-image: repeating-linear-gradient(90deg, rgba(255,255,255,.05) 0 2px, transparent 2px 9px), var(--grain);
  box-shadow: inset 0 10px 0 rgba(0,0,0,.08);
}
.banner-cloth::before, .banner-cloth::after { content: ''; position: absolute; top: 10px; width: 14px; height: 14px; border-radius: 50%; background: var(--paper); box-shadow: inset 0 0 0 3px var(--mustard); }
.banner-cloth::before { left: 14px; } .banner-cloth::after { right: 14px; }
.banner-ribbon { position: absolute; top: 18px; right: clamp(22px, 5vw, 60px); background: var(--mustard); color: var(--ink); font: 700 13px/1 var(--mono); letter-spacing: .2em; padding: 8px 12px; transform: rotate(3deg); box-shadow: 2px 3px 0 rgba(0,0,0,.18); }
.banner-body { display: grid; grid-template-columns: auto 1fr; gap: clamp(22px, 5vw, 60px); align-items: center; }
.banner-record { position: relative; width: clamp(190px, 30vw, 330px); padding-right: 26%; }
.banner-record .vinyl { animation: peek 5s var(--ease) infinite; }
@keyframes peek { 0%, 100% { transform: translateX(0) rotate(0); } 50% { transform: translateX(14%) rotate(160deg); } }
.banner-head { margin: 0 0 6px; font: 400 clamp(16px, 2vw, 21px)/1.3 var(--label); color: var(--mustard); }
.banner h2 { font: 400 clamp(30px, 5.2vw, 62px)/1.08 var(--display); letter-spacing: -.01em; text-shadow: 3px 3px 0 rgba(0,0,0,.18); }
.banner-tag { margin: 12px 0 20px; max-width: 46ch; opacity: .92; font-size: clamp(14px, 1.6vw, 17px); }
@media (max-width: 640px) {
  .banner-body { grid-template-columns: 1fr; }
  .banner-record { width: 56%; max-width: 220px; }
  .banner-ribbon { top: 14px; }
}

/* ---------- 재킷 & LP ---------- */
/* 재킷 = 띠지 + 세로형 표지(3:4) */
.jacket { position: relative; z-index: 2; display: flex; border-radius: 3px; overflow: hidden; background: var(--paper-2); box-shadow: 0 1px 0 rgba(255,255,255,.4) inset, 0 6px 14px rgba(40, 25, 15, .24), 0 1px 2px rgba(0,0,0,.2); }
.sleeve { position: relative; flex: 1; aspect-ratio: 3 / 4; overflow: hidden; background: var(--paper-2); }
.sleeve img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.band { position: relative; flex: 0 0 15%; display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 10px 0 9px; overflow: hidden; color: #fff;
  background-image: linear-gradient(90deg, rgba(255,255,255,.14), transparent 30%, transparent 78%, rgba(0,0,0,.28)), var(--grain); box-shadow: 3px 0 6px rgba(0,0,0,.25); z-index: 1; }
.band::after { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: rgba(255,255,255,.35); }
.band-safe { background-color: var(--teal); }
.band-adult { background-color: #d0021b; }
.band-rate { font: 400 clamp(13px, 1.35vw, 18px)/1 var(--display); letter-spacing: .02em; }
.band-safe .band-rate { writing-mode: vertical-rl; font-size: clamp(11px, 1.05vw, 15px); letter-spacing: .12em; }
.band-adult .band-rate { width: 78%; aspect-ratio: 1; display: grid; place-items: center; border-radius: 50%; background: #fff; color: #d0021b; font-size: clamp(10px, 1.05vw, 15px); }
.band-sub { writing-mode: vertical-rl; font: 700 clamp(6px, .62vw, 9px)/1 var(--mono); letter-spacing: .16em; opacity: .85; }
.band-tags { flex: 1; min-height: 0; writing-mode: vertical-rl; font: 400 clamp(10px, 1vw, 14px)/1.1 var(--label); letter-spacing: .04em; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.band-alt { writing-mode: vertical-rl; font: 400 clamp(8px, .8vw, 11px)/1 var(--label); background: var(--teal); color: #fff; padding: 4px 1px; border-radius: 2px; box-shadow: 0 0 0 1px rgba(255,255,255,.5); }
.band-plat { writing-mode: vertical-rl; font: 400 clamp(9px, .85vw, 12px)/1 var(--label); background: var(--mustard); color: var(--ink); padding: 5px 1px; border-radius: 1px; }
.jacket-big .band { padding: 16px 0 14px; gap: 10px; }
.jacket-big .band-rate { font-size: clamp(16px, 1.8vw, 24px); }
.jacket-big .band-safe .band-rate { font-size: clamp(14px, 1.5vw, 20px); }
.jacket-big .band-tags { font-size: clamp(13px, 1.3vw, 18px); }
.jacket-big .band-sub { font-size: clamp(8px, .8vw, 11px); }
.jacket-big .band-plat, .jacket-big .band-alt { font-size: clamp(11px, 1vw, 14px); padding: 7px 2px; }
.no-band .sleeve { aspect-ratio: 3 / 4; }

.sleeve-shine { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(115deg, rgba(255,255,255,.22), transparent 38%, transparent 70%, rgba(0,0,0,.08)); }
.sleeve-fallback { position: absolute; inset: 0; display: none; flex-direction: column; justify-content: space-between; padding: 12% 10%; background: repeating-linear-gradient(-45deg, transparent 0 14px, rgba(255,255,255,.07) 14px 28px), var(--red); color: var(--red-ink); }
.sleeve.no-img .sleeve-fallback, .sleeve:not(:has(img)) .sleeve-fallback { display: flex; }
.sleeve.no-img img { display: none; }
.sf-no { font: 700 11px/1 var(--mono); letter-spacing: .14em; opacity: .85; }
.sf-title { font: 400 clamp(15px, 2.2vw, 26px)/1.15 var(--display); }
.sleeve-big .sf-title { font-size: clamp(20px, 3vw, 34px); }
.sf-type { align-self: flex-end; font: 400 13px/1 var(--label); background: var(--mustard); color: var(--ink); padding: 4px 8px; }
.crate-item:nth-child(3n+2) .sleeve-fallback { background-color: var(--teal); }
.crate-item:nth-child(3n) .sleeve-fallback { background-color: var(--ink); }

.vinyl { position: absolute; top: 7%; height: 86%; width: auto; aspect-ratio: 1; right: 0; border-radius: 50%; z-index: 1; transition: transform .7s var(--ease);
  background: radial-gradient(circle, transparent 0 31%, #121212 31.5%), repeating-radial-gradient(circle, #1b1b1b 0 2px, #0e0e0e 2px 3px);
  box-shadow: 0 6px 14px rgba(0,0,0,.3); }
.vinyl::after { content: ''; position: absolute; inset: 0; border-radius: 50%; background: conic-gradient(from 30deg, transparent 0 10%, rgba(255,255,255,.12) 14%, transparent 20% 55%, rgba(255,255,255,.08) 60%, transparent 66%); }
.vinyl-label { position: absolute; inset: 31%; border-radius: 50%; background: var(--red) center 20% / cover; display: grid; place-items: center; overflow: hidden; box-shadow: 0 0 0 3px var(--mustard); }
.vinyl-label::before { content: ''; position: absolute; inset: 0; background: color-mix(in srgb, var(--red) 55%, transparent); }
.vinyl-label::after { content: ''; position: absolute; width: 9%; height: 9%; border-radius: 50%; background: var(--paper); }
.vinyl-label span { position: relative; z-index: 1; font: 700 clamp(6px, .9vw, 10px)/1.1 var(--mono); color: #fff; text-align: center; padding: 0 12%; margin-top: 38%; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* 스티커 */
.stk { position: absolute; z-index: 3; display: grid; place-items: center; border-radius: 50%; font: 400 14px/1 var(--display); box-shadow: 1px 2px 0 rgba(0,0,0,.2); transform: rotate(-10deg); }
.stk-19 { top: 6px; left: 6px; width: 30px; height: 30px; background: #fff; color: #d0021b; border: 3px solid #d0021b; font-size: 13px; }
.stk-19.lg { position: static; width: 56px; height: 56px; font-size: 22px; flex: none; }
.stk-new { top: -8px; right: -6px; width: 42px; height: 42px; background: var(--mustard); color: var(--ink); font-size: 12px; transform: rotate(12deg); }

.btn { display: inline-flex; align-items: center; gap: 6px; padding: 11px 20px; border-radius: 3px; font: 400 17px/1 var(--label); border: 2px solid var(--ink); transition: transform .18s var(--ease), box-shadow .18s; box-shadow: 3px 3px 0 var(--ink); background: var(--paper-3); color: var(--ink); }
.btn:hover { transform: translate(-1px, -1px); box-shadow: 4px 4px 0 var(--ink); }
.btn:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--ink); }
.btn-red { background: var(--red); color: var(--red-ink); }
.btn-ink { background: var(--ink); color: var(--paper); border-color: var(--ink); box-shadow: 3px 3px 0 rgba(0,0,0,.25); }
.btn-line { background: transparent; }
.btn.is-off { opacity: .45; border-style: dashed; box-shadow: none; pointer-events: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- 섹션 공통 ---------- */
.intro { padding-top: 26px; padding-bottom: 6px; }
.intro-text { margin: 4px 0 0; max-width: 60ch; color: var(--ink-soft); font-size: clamp(15px, 1.6vw, 17px); }
.sec { padding-top: clamp(34px, 5vw, 60px); padding-bottom: clamp(20px, 3vw, 30px); }
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 22px; }
.sec-head h2, .nb-head h2 { font: 400 clamp(26px, 3.6vw, 40px)/1.15 var(--display); }
.sec-head .sub { margin: 6px 0 0; color: var(--ink-soft); font-size: 14px; }

/* ---------- 추천반 (진열 선반) ---------- */
.shelf-wrap { position: relative; }
.shelf { --edge: max(var(--gutter), calc((100vw - var(--maxw)) / 2 + var(--gutter)));
  display: flex; gap: clamp(22px, 3vw, 40px); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
  padding: 10px var(--edge) 34px; scroll-padding-inline: var(--edge); position: relative; z-index: 2; }
.shelf::-webkit-scrollbar { display: none; }
.ledge { display: none; }
.pick-record::after { content: ''; position: absolute; z-index: 0; left: -22px; right: -20%; bottom: -16px; height: 16px;
  background: repeating-linear-gradient(90deg, rgba(0,0,0,.06) 0 1px, transparent 1px 13px), linear-gradient(var(--wood), var(--wood-2));
  box-shadow: 0 10px 16px rgba(60, 35, 20, .26), inset 0 2px 0 rgba(255,255,255,.2); }
.pick { flex: 0 0 auto; width: clamp(200px, 26vw, 290px); scroll-snap-align: start; position: relative; }
.pick-record { position: relative; padding-right: 24%; }
.pick-record .vinyl { transform: translateX(-8%); }
.pick:hover .vinyl { transform: translateX(6%) rotate(120deg); }
.pick:hover .jacket { transform: rotate(-2deg) translateY(-6px); }
.pick .jacket { transition: transform .45s var(--ease); }
.price-tag { position: absolute; z-index: 4; top: 62%; left: -10px; transform: rotate(-6deg); background: var(--paper-3); border: 1.5px solid var(--ink); padding: 6px 10px 6px 16px; font: 700 12px/1.2 var(--mono); color: var(--ink); box-shadow: 2px 2px 0 rgba(0,0,0,.15); clip-path: polygon(10px 0, 100% 0, 100% 100%, 10px 100%, 0 50%); }
.price-tag b { display: block; color: var(--red); font-size: 13px; }
.pick h3 { margin-top: 40px; font: 400 21px/1.25 var(--label); }
.pick p { margin: 6px 0 0; color: var(--ink-soft); font-size: 14px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.car { position: absolute; z-index: 5; top: 30%; width: 48px; height: 48px; border-radius: 50%; border: 2px solid var(--ink); background: var(--paper-3); font-size: 24px; line-height: 1; box-shadow: 3px 3px 0 var(--ink); display: none; place-items: center; }
.car-prev { left: 14px; } .car-next { right: 14px; }
@media (hover: hover) and (min-width: 900px) { .car { display: grid; } }

/* ---------- 전 음반 진열대 (크레이트) ---------- */
.sort { border: 2px solid var(--ink); background: var(--paper-3); padding: 8px 14px; font: 400 16px/1 var(--label); border-radius: 3px; }
.crate { background: var(--wood); border-radius: 6px; padding: 0 clamp(12px, 2vw, 22px) clamp(18px, 2.4vw, 26px); box-shadow: inset 0 0 0 6px var(--wood-2), 0 14px 30px rgba(60, 35, 20, .22);
  background-image: repeating-linear-gradient(180deg, rgba(0,0,0,.07) 0 2px, transparent 2px 26px), linear-gradient(var(--wood), var(--wood-2)); }
.dividers { display: flex; gap: 6px; flex-wrap: wrap; transform: translateY(-14px); }
.divider { position: relative; border: 0; padding: 12px 18px 10px; border-radius: 8px 8px 0 0; background: var(--paper-2); color: var(--ink); font: 400 18px/1 var(--label); box-shadow: 0 -2px 0 rgba(0,0,0,.08) inset; transition: transform .2s var(--ease), background .2s; }
.divider b { margin-left: 6px; font: 700 12px/1 var(--mono); color: var(--ink-soft); }
.divider:hover { transform: translateY(-3px); }
.divider[aria-pressed="true"] { background: var(--mustard); transform: translateY(-6px); }
.crate-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(150px, calc(50% - 8px)), 1fr)); gap: clamp(14px, 2vw, 22px); background: var(--paper-3); padding: clamp(14px, 2vw, 24px); border-radius: 4px; box-shadow: inset 0 3px 12px rgba(60, 35, 20, .18); }
@media (min-width: 900px) { .crate-grid { grid-template-columns: repeat(auto-fill, minmax(188px, 1fr)); } }
.crate-item { display: block; }
.crate-record { position: relative; }
.crate-item .jacket { transition: transform .35s var(--ease), box-shadow .35s; }
.crate-item:hover .jacket { transform: translateY(-8px) rotate(-1.2deg); box-shadow: 0 16px 26px rgba(40, 25, 15, .28); }
.crate-item:hover .sleeve img { transform: scale(1.04); }
.crate-label { margin-top: 10px; padding: 8px 10px 9px; background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--red); box-shadow: 1px 2px 0 var(--line); }
.crate-item:nth-child(3n+2) .crate-label { border-left-color: var(--teal); }
.crate-item:nth-child(3n) .crate-label { border-left-color: var(--mustard); }
.cat { display: block; font: 700 11px/1.3 var(--mono); color: var(--ink-soft); letter-spacing: .04em; }
.crate-label h3 { margin: 3px 0 6px; font: 400 17px/1.25 var(--label); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.plats { display: flex; flex-wrap: wrap; gap: 4px; }
.plats i { font: 700 11px/1 var(--mono); font-style: normal; padding: 3px 6px; border-radius: 2px; background: var(--ink); color: var(--paper); }
.plats i.st { background: var(--mustard); color: var(--ink); }
.empty { grid-column: 1 / -1; text-align: center; padding: 40px 0; color: var(--ink-soft); font-family: var(--label); font-size: 18px; }
.soon { margin: 18px 0 0; text-align: center; font: 400 17px/1.4 var(--label); color: var(--ink-soft); }

/* ---------- 계산대: 방명록 노트 + 영수증 ---------- */
.counter { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(260px, .9fr); gap: clamp(20px, 3vw, 36px); align-items: start; }
@media (max-width: 860px) { .counter { grid-template-columns: 1fr; } }
.counter.solo { grid-template-columns: minmax(0, 860px); justify-content: center; }
.notebook { position: relative; background: var(--paper-3); border-radius: 4px; padding: clamp(22px, 3vw, 34px) clamp(18px, 3vw, 34px) clamp(22px, 3vw, 34px) clamp(40px, 5vw, 64px);
  box-shadow: 0 10px 26px rgba(60, 35, 20, .16), 0 1px 0 var(--line);
  background-image: linear-gradient(90deg, transparent calc(clamp(40px, 5vw, 64px) - 16px), color-mix(in srgb, var(--red) 45%, transparent) calc(clamp(40px, 5vw, 64px) - 16px) calc(clamp(40px, 5vw, 64px) - 14px), transparent 0), repeating-linear-gradient(180deg, transparent 0 31px, color-mix(in srgb, var(--teal) 18%, transparent) 31px 32px); }
.notebook::before { content: ''; position: absolute; left: 12px; top: 26px; bottom: 26px; width: 10px; background: radial-gradient(circle, var(--paper-2) 0 4px, transparent 5px) 0 0 / 10px 32px; }
.nb-head p:not(.kicker) { margin: 6px 0 18px; color: var(--ink-soft); font-size: 14px; }

.gb-form { background: #fff; border: 1.5px solid var(--ink); border-radius: 4px; padding: 14px; box-shadow: 3px 3px 0 var(--line); }
.gb-row { display: flex; gap: 10px; flex-wrap: wrap; }
.gb-form input:not([type=checkbox]), .gb-form textarea { flex: 1 1 160px; font: inherit; font-size: 15px; color: var(--ink); background: var(--paper-3); border: 1px solid var(--line); border-radius: 3px; padding: 9px 11px; }
.gb-form textarea { width: 100%; margin: 10px 0; resize: vertical; min-height: 84px; line-height: 1.6; }
.gb-form input:focus, .gb-form textarea:focus { outline: 2px solid var(--mustard); border-color: transparent; }
.gb-actions { align-items: center; }
.gb-private { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; color: var(--ink-soft); cursor: pointer; }
.gb-private input { accent-color: var(--red); width: 16px; height: 16px; }
.gb-len { margin-left: auto; font: 12px var(--mono); color: var(--ink-soft); }
.gb-submit { border: 2px solid var(--ink); background: var(--red); color: var(--red-ink); font: 400 17px/1 var(--label); padding: 9px 18px; border-radius: 3px; box-shadow: 2px 2px 0 var(--ink); }
.gb-submit:disabled { opacity: .5; }
.gb-msg { margin: 8px 0 0; font-size: 13px; color: var(--teal); min-height: 1em; }
.gb-note { margin: 0 0 10px; font-size: 12.5px; color: var(--ink-soft); background: color-mix(in srgb, var(--mustard) 22%, transparent); padding: 6px 10px; border-radius: 3px; }
.gb-list { list-style: none; margin: 18px 0 0; padding: 0; }
.gb-item { padding: 12px 0 13px; border-bottom: 1px dashed var(--line); }
.gb-meta { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--ink-soft); }
.gb-who { font: 400 16px/1 var(--label); color: var(--ink); }
.gb-meta time { font-family: var(--mono); font-size: 12px; }
.gb-del { margin-left: auto; border: 0; background: none; font-size: 12px; color: var(--ink-soft); text-decoration: underline; }
.gb-text { margin: 6px 0 0; font-size: 15px; }
.gb-reply { margin-top: 8px; padding: 8px 12px; background: color-mix(in srgb, var(--red) 8%, #fff); border-left: 3px solid var(--red); font-size: 14px; }
.gb-reply b { font: 400 14px var(--label); color: var(--red); margin-right: 6px; }
.gb-empty { padding: 18px 0; color: var(--ink-soft); font-family: var(--label); font-size: 17px; }
.gb-more { margin-top: 12px; border: 1.5px solid var(--ink); background: transparent; padding: 7px 16px; border-radius: 3px; font: 400 15px var(--label); }
.gb-delform { display: flex; gap: 6px; margin-top: 8px; align-items: center; flex-wrap: wrap; }
.gb-delform input { font: inherit; font-size: 14px; padding: 5px 8px; border: 1px solid var(--line); border-radius: 3px; width: 140px; }
.gb-delform button { border: 1px solid var(--ink); background: #fff; padding: 5px 10px; border-radius: 3px; font-size: 13px; }
.gb-delmsg { font-size: 12px; color: var(--red); }

.receipt { position: relative; background: #fffdf8; padding: 28px 24px 34px; font-family: var(--mono); font-size: 14px; color: #3a332d; box-shadow: 0 10px 22px rgba(60, 35, 20, .16); transform: rotate(1.2deg);
  -webkit-mask: radial-gradient(circle 7px at 50% 100%, transparent 98%, #000) 0 0 / 18px 100% repeat-x; mask: radial-gradient(circle 7px at 50% 100%, transparent 98%, #000) 0 0 / 18px 100% repeat-x; }
.receipt h2 { font: 400 28px/1.2 var(--display); color: var(--red); margin: 6px 0 8px; }
.receipt p { margin: 0 0 14px; line-height: 1.6; }
.rc-shop { text-align: center; font-weight: 700; letter-spacing: .14em; margin: 0 !important; }
.rc-line { margin: 8px 0 !important; overflow: hidden; white-space: nowrap; color: #b9ada0; }
.rc-link { display: block; text-decoration: underline; text-underline-offset: 3px; margin-bottom: 14px; }
.rc-thanks { text-align: center; letter-spacing: .3em; font-size: 12px; margin: 10px 0 0 !important; color: #8e8276; }
.qr-row { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 14px; }
.qr { margin: 0; text-align: center; font-size: 12px; } .qr img { width: 112px; height: 112px; object-fit: contain; background: #fff; padding: 4px; border: 1px solid var(--line); }

/* ---------- 앨범(상세) ---------- */
.back { display: inline-block; margin: 26px 0 18px; font: 400 17px/1 var(--label); color: var(--ink-soft); }
.back:hover { color: var(--red); }
.album-top { display: grid; grid-template-columns: minmax(260px, 470px) 1fr; gap: clamp(30px, 6vw, 90px); align-items: center; }
.album-record { position: relative; padding-right: 30%; }
.album-record .vinyl { animation: spinout 1.2s var(--ease) both; }
.album-record .vinyl-label span { font-size: clamp(8px, 1.1vw, 12px); }
.album-record:hover .vinyl { animation: spinout 1.2s var(--ease) both, spin 3.5s linear infinite 1.2s; }
@keyframes spinout { from { transform: translateX(-40%) rotate(-90deg); } to { transform: translateX(0) rotate(0); } }
.album-record .stk-19 { width: 44px; height: 44px; font-size: 18px; top: 10px; left: 10px; }
.album-info .cat { font-size: 12.5px; }
.album-info .cat b { color: var(--red); }
.album-info h1 { margin: 10px 0 6px; font: 400 clamp(32px, 4.6vw, 58px)/1.08 var(--display); letter-spacing: -.01em; }
.album-sub { margin: 0; font: 400 20px/1.3 var(--label); color: var(--ink-soft); }
.album-tag { margin: 14px 0 20px; max-width: 46ch; font-size: clamp(15px, 1.6vw, 18px); }
.chart { display: flex; flex-wrap: wrap; gap: 10px; }
.chart span { display: flex; align-items: baseline; gap: 6px; padding: 8px 14px; background: var(--ink); color: var(--paper); font: 700 11px/1 var(--mono); letter-spacing: .14em; border-radius: 2px; }
.chart b { font: 400 22px/1 var(--display); letter-spacing: 0; color: var(--mustard); }
.chart .ch { background: var(--paper-2); color: var(--ink); letter-spacing: 0; font-size: 13px; align-items: center; }
.chart .ch b { font-size: 16px; }
.album-info .btn-row { margin-top: 22px; }
@media (max-width: 760px) { .album-top { grid-template-columns: 1fr; } .album-record { width: 86%; max-width: 380px; } }

.album-body { display: grid; grid-template-columns: minmax(0, 1fr) 260px; gap: clamp(20px, 3vw, 36px); margin-top: clamp(40px, 6vw, 70px); align-items: start; }
@media (max-width: 860px) { .album-body { grid-template-columns: 1fr; } }
.liner { background: var(--paper-3); padding: clamp(22px, 3vw, 38px); border-radius: 4px; box-shadow: 0 8px 22px rgba(60, 35, 20, .12); }
.prose { max-width: 66ch; }
.prose h2, .prose h3 { font: 400 22px/1.3 var(--label); margin: 1.6em 0 .5em; color: var(--red); }
.prose h3 { font-size: 19px; }
.prose p, .prose ul { margin: 0 0 1em; }
.prose ul { padding-left: 1.2em; } .prose li { margin: .2em 0; } .prose li::marker { color: var(--red); }
.prose blockquote { margin: 1.2em 0; padding: 10px 16px; border-left: 4px solid var(--mustard); background: color-mix(in srgb, var(--mustard) 12%, transparent); font-family: var(--label); font-size: 18px; }
.prose code { font-family: var(--mono); font-size: .9em; background: var(--paper-2); padding: 1px 6px; border-radius: 3px; }
.prose a { color: var(--red); text-decoration: underline; text-underline-offset: 3px; }
.prose hr { border: 0; border-top: 1px dashed var(--line); margin: 1.6em 0; }
.prose figure { margin: 1.2em 0; } .prose figure img { border-radius: 4px; }
.tracklist { background: var(--ink); color: var(--paper); padding: 22px 20px; border-radius: 4px; position: sticky; top: 90px; }
.tracklist .kicker { color: var(--mustard); }
.tracklist ol { list-style: none; margin: 10px 0 0; padding: 0; }
.tracklist li { display: flex; gap: 12px; padding: 8px 0; border-bottom: 1px dotted rgba(255,255,255,.18); font: 400 17px/1.2 var(--label); }
.tracklist li span { font: 700 12px/1.6 var(--mono); color: var(--mustard); min-width: 22px; }

.gallery { columns: 3 220px; column-gap: 14px; }
.photo { display: block; width: 100%; margin: 0 0 14px; padding: 8px 8px 28px; border: 0; background: #fff; break-inside: avoid; cursor: zoom-in; box-shadow: 0 6px 14px rgba(40, 25, 15, .18); transition: transform .3s var(--ease); }
.photo:nth-child(odd) { transform: rotate(-1deg); } .photo:nth-child(even) { transform: rotate(1.1deg); }
.photo:hover { transform: rotate(0) scale(1.02); }
.photo img { width: 100%; height: auto; background: var(--paper-2); }
.gate { display: flex; gap: 18px; align-items: center; padding: 22px; background: var(--paper-3); border: 2px dashed var(--red); border-radius: 4px; column-span: all; }
.gate p { margin: 0 0 12px; }

.pager { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; padding: 30px 0 60px; }
.pg { display: flex; align-items: center; gap: 14px; padding: 12px; background: var(--paper-3); border: 1.5px solid var(--ink); border-radius: 4px; box-shadow: 3px 3px 0 var(--ink); min-width: 0; transition: transform .2s var(--ease); }
.pg:hover { transform: translate(-2px, -2px); }
.pg .jacket { width: 54px; flex: none; }
.pg .sf-title { font-size: 9px; } .pg .sf-no, .pg .sf-type { display: none; }
.pg span { min-width: 0; } .pg small { display: block; font: 700 11px var(--mono); color: var(--ink-soft); }
.pg b { display: block; font: 400 17px/1.3 var(--label); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pg.next { flex-direction: row-reverse; text-align: right; }

/* ---------- 바닥 ---------- */
.foot { margin-top: 40px; background: var(--ink); color: color-mix(in srgb, var(--paper) 80%, transparent); border-top: 6px solid var(--red); }
.foot-in { max-width: var(--maxw); margin: 0 auto; padding: 30px var(--gutter) 40px; font-size: 13px; }
.foot-brand { font: 400 20px/1 var(--display); color: var(--paper); margin-bottom: 10px; }
.palettes { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 16px; }
.pal-label { font: 700 11px var(--mono); letter-spacing: .2em; margin-right: 4px; }
.pal-btn { display: inline-flex; align-items: center; gap: 3px; padding: 6px 10px; border-radius: 999px; border: 1px solid rgba(255,255,255,.25); background: transparent; color: var(--paper); font-size: 12px; }
.pal-btn i { width: 12px; height: 12px; border-radius: 50%; display: inline-block; box-shadow: 0 0 0 1px rgba(0,0,0,.2); }
.pal-btn span { margin-left: 5px; }
.pal-btn[aria-pressed="true"] { border-color: var(--mustard); background: rgba(255,255,255,.08); }
