:root {
  --bg: #eef3f0;
  --bg-deep: #dfe8e2;
  --ink: #1a1f16;
  --muted: #5c6b57;
  --panel: #ffffff;
  --line: #1a1f16;
  --accent: #00b4c8;
  --accent-2: #ff4d6d;
  --accent-3: #ffc857;
  --ok: #2f9e44;
  --font-body: "Pretendard", "Noto Sans KR", "Apple SD Gothic Neo", sans-serif;
  --font-display: "Galmuri11", "Press Start 2P", "Pretendard", sans-serif;
  --font-mono: "IBM Plex Mono", "Source Code Pro", ui-monospace, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-body);
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 8%, rgba(0,180,200,.14), transparent 42%),
    radial-gradient(circle at 88% 0%, rgba(255,77,109,.10), transparent 36%),
    linear-gradient(90deg, rgba(26,31,22,.04) 1px, transparent 1px) 0 0 / 16px 16px,
    linear-gradient(rgba(26,31,22,.04) 1px, transparent 1px) 0 0 / 16px 16px,
    var(--bg);
  line-height: 1.55;
}

a { color: inherit; }
img { max-width: 100%; display: block; }

.site-header {
  position: sticky; top: 0; z-index: 40;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 12px 16px;
  border-bottom: 3px solid var(--line);
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(6px);
}
.brand {
  display: flex; align-items: center; gap: 10px; text-decoration: none;
}
.brand-name {
  font-family: var(--font-display);
  font-size: 18px;
  letter-spacing: -0.03em;
}
.site-nav { display: flex; gap: 8px; flex-wrap: wrap; }
.site-nav a {
  text-decoration: none;
  border: 2px solid var(--line);
  padding: 8px 10px;
  background: #fff;
  font-size: 13px;
  box-shadow: 2px 2px 0 var(--line);
}
.site-nav a:hover { transform: translate(1px, 1px); box-shadow: 1px 1px 0 var(--line); }

.site-main { max-width: 1100px; margin: 0 auto; padding: 20px 16px 80px; }
.site-footer {
  border-top: 3px solid var(--line);
  background: #fff;
  padding: 20px 16px 28px;
  text-align: center;
  color: var(--muted);
  font-size: 13px;
}

.hero {
  position: relative;
  border: 3px solid var(--line);
  background:
    linear-gradient(180deg, rgba(0,180,200,.18), transparent 55%),
    linear-gradient(135deg, #fff 0%, var(--bg-deep) 100%);
  padding: 28px 20px 32px;
  margin-bottom: 28px;
  overflow: hidden;
  min-height: min(68vh, 560px);
  display: grid;
  align-content: end;
  gap: 14px;
}
.hero-stat {
  position: absolute;
  top: 18px;
  left: 18px;
  right: auto;
  bottom: auto;
  z-index: 3;
  display: grid;
  gap: 4px;
  justify-items: start;
  text-align: left;
  text-decoration: none;
  margin: 0;
  padding: 12px 14px;
  color: #067a86;
  background: rgba(190, 242, 236, 0.92);
  border: 3px solid #2dd4bf;
  box-shadow: 4px 4px 0 #0f766e;
  font-family: var(--font-display);
  image-rendering: pixelated;
}
.hero-stat:hover {
  transform: translate(1px, 1px);
  box-shadow: 3px 3px 0 #0f766e;
  color: #0f766e;
  background: rgba(153, 246, 228, 0.95);
}
.hero-stat-label {
  font-family: var(--font-display);
  font-size: clamp(16px, 2.8vw, 20px);
  font-weight: 700;
  color: #0f766e;
  letter-spacing: -0.02em;
}
.hero-stat-num {
  font-family: var(--font-display);
  font-size: clamp(26px, 4.8vw, 38px);
  line-height: 0.95;
  letter-spacing: -0.04em;
  font-weight: 700;
  color: #067a86;
}
.hero-stat-unit {
  font-size: 0.4em;
  margin-left: 4px;
  font-weight: 700;
  vertical-align: super;
}
.hero::before {
  content: "";
  position: absolute; inset: auto 4% 8% auto;
  width: min(46vw, 300px); aspect-ratio: 3/4;
  image-rendering: pixelated;
  background: url("/hero-gacha.png") center / contain no-repeat;
  opacity: 1;
  animation: bob 2.8s ease-in-out infinite;
  pointer-events: none;
}
@keyframes bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
.hero-brand {
  font-family: var(--font-display);
  font-size: clamp(28px, 7vw, 52px);
  letter-spacing: -0.04em;
  margin: 0;
  position: relative;
  z-index: 1;
}
.hero h2 {
  margin: 0;
  font-size: clamp(18px, 3.5vw, 28px);
  font-weight: 700;
  letter-spacing: -0.03em;
  max-width: 18ch;
  position: relative;
  z-index: 1;
}
.hero p {
  margin: 0;
  max-width: 36ch;
  color: var(--muted);
  position: relative;
  z-index: 1;
}
.hero-actions {
  display: flex; gap: 10px; flex-wrap: wrap;
  position: relative; z-index: 1;
}

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  border: 3px solid var(--line);
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  padding: 10px 14px;
  font: inherit;
  font-weight: 700;
  box-shadow: 3px 3px 0 var(--line);
  cursor: pointer;
}
.btn:hover { transform: translate(1px, 1px); box-shadow: 2px 2px 0 var(--line); }
.btn:active { transform: translate(3px, 3px); box-shadow: none; }
.btn-secondary { background: #fff; color: var(--ink); }
.btn-accent { background: var(--accent-2); }

.section { margin: 28px 0; }
.section-head {
  display: flex; align-items: end; justify-content: space-between; gap: 12px;
  margin-bottom: 14px;
}
.section-head h2 {
  margin: 0;
  font-size: 22px;
  letter-spacing: -0.03em;
}
.section-head p { margin: 4px 0 0; color: var(--muted); font-size: 14px; }

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 14px;
}
.product-card {
  display: flex; flex-direction: column; gap: 8px;
  text-decoration: none;
  border: 3px solid var(--line);
  background: #fff;
  box-shadow: 3px 3px 0 var(--line);
  transition: transform .12s ease, box-shadow .12s ease;
}
.product-card:hover {
  transform: translate(-2px, -2px);
  box-shadow: 5px 5px 0 var(--line);
}
.product-card:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}
.product-thumb {
  aspect-ratio: 1;
  border-bottom: 3px solid var(--line);
  background: var(--bg-deep);
  overflow: hidden;
  position: relative;
}
.product-thumb img {
  width: 100%; height: 100%; object-fit: cover;
}
.product-thumb .ph {
  position: absolute; inset: 0;
  display: grid; place-items: center;
  image-rendering: pixelated;
  background:
    linear-gradient(var(--accent) 0 0) 30% 30% / 40% 40% no-repeat,
    linear-gradient(var(--accent-2) 0 0) 50% 50% / 24% 24% no-repeat,
    repeating-conic-gradient(#d7e0d3 0% 25%, #eef3eb 0% 50%) 0 0 / 16px 16px;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 11px;
}
.product-body { padding: 10px 10px 12px; display: grid; gap: 4px; }
.product-body strong {
  font-size: 14px; letter-spacing: -0.02em;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.product-meta { color: var(--muted); font-size: 12px; }
.badge {
  display: inline-block;
  border: 2px solid var(--line);
  padding: 2px 6px;
  font-size: 11px;
  font-weight: 700;
  background: var(--accent-3);
  box-shadow: 2px 2px 0 var(--line);
}
.badge-ok { background: var(--ok); color: #fff; }
.badge-unknown { background: #fff; color: var(--muted); }

.search-bar {
  display: flex; gap: 8px; flex-wrap: wrap;
  border: 3px solid var(--line);
  background: #fff;
  padding: 12px;
  box-shadow: 3px 3px 0 var(--line);
  margin-bottom: 16px;
}
.search-bar input, .search-bar select, .filter-panel select, .filter-panel input {
  border: 2px solid var(--line);
  padding: 10px 12px;
  font: inherit;
  background: #fff;
  min-width: 0;
  width: 100%;
}
.search-bar input { flex: 2; min-width: 180px; }
.search-bar select { flex: 1; min-width: 120px; }

.filters-sheet-toggle { display: none; }
.filter-panel {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 16px;
}

.detail {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 20px;
  align-items: start;
}
.detail-media {
  border: 3px solid var(--line);
  background: #fff;
  box-shadow: 4px 4px 0 var(--line);
}
.detail-media .frame {
  aspect-ratio: 1;
  background: var(--bg-deep);
  border-bottom: 3px solid var(--line);
  position: relative;
}
.detail-media img { width: 100%; height: 100%; object-fit: contain; }
.detail-body h1 {
  margin: 0 0 8px;
  font-size: clamp(22px, 4vw, 32px);
  letter-spacing: -0.03em;
}
.detail-jp {
  font-family: var(--font-mono);
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 14px;
}
.meta-list {
  display: grid; gap: 8px;
  margin: 0 0 16px; padding: 0; list-style: none;
}
.meta-list li {
  display: flex; gap: 8px; flex-wrap: wrap;
  border-bottom: 1px dashed #c9d4c8;
  padding-bottom: 8px;
  font-size: 14px;
}
.meta-list span { color: var(--muted); min-width: 5.5rem; }

.comments { margin-top: 28px; }
.comment {
  border: 2px solid var(--line);
  background: #fff;
  padding: 12px;
  margin-bottom: 10px;
}
.comment-meta { font-size: 12px; color: var(--muted); margin-bottom: 6px; }
.comment a { color: var(--accent); }

.sheet-backdrop {
  display: none;
  position: fixed; inset: 0; background: rgba(0,0,0,.35); z-index: 50;
}
.sheet {
  display: none;
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 51;
  background: #fff; border-top: 3px solid var(--line);
  padding: 16px; max-height: 85vh; overflow: auto;
  box-shadow: 0 -8px 0 rgba(0,0,0,.08);
}
.sheet.open, .sheet-backdrop.open { display: block; }
.sheet textarea {
  width: 100%; min-height: 100px;
  border: 2px solid var(--line);
  padding: 10px; font: inherit;
}
.sheet .actions { display: flex; gap: 8px; margin-top: 10px; }

.calendar-nav {
  display: flex; gap: 8px; align-items: center; margin-bottom: 16px;
}
.calendar-nav .ym {
  font-family: var(--font-mono); font-weight: 700; font-size: 18px;
}

.page-404 main {
  max-width: 480px; margin: 12vh auto; text-align: center;
  border: 3px solid var(--line); background: #fff; padding: 28px;
  box-shadow: 4px 4px 0 var(--line);
}

@media (max-width: 800px) {
  .detail { grid-template-columns: 1fr; }
  .hero { min-height: 70vh; align-content: center; }
  .hero::before { width: 150px; inset: 8% 4% auto auto; opacity: .95; }
  .hero-stat {
    top: 12px;
    left: 12px;
    right: auto;
    padding: 10px 12px;
  }
  .hero-stat-num { font-size: clamp(22px, 6.4vw, 32px); }
  .hero-stat-label { font-size: clamp(15px, 3.5vw, 18px); }
  .filters-sheet-toggle { display: inline-flex; }
  .filter-panel {
    display: none;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 51;
    background: #fff; border-top: 3px solid var(--line);
    padding: 16px; max-height: 80vh; overflow: auto;
    grid-template-columns: 1fr 1fr;
  }
  .filter-panel.open { display: grid; }
}

@media (prefers-reduced-motion: reduce) {
  .hero::before { animation: none; }
  .product-card { transition: none; }
}
.hero-title {
  margin: 0;
  font-size: clamp(18px, 3.5vw, 28px);
  font-weight: 700;
  letter-spacing: -0.03em;
  max-width: 18ch;
  position: relative;
  z-index: 1;
}
.hero-lead { position: relative; z-index: 1; margin: 0; max-width: 36ch; color: var(--muted); }
.hero-search {
  display: flex; gap: 8px; flex-wrap: wrap;
  position: relative; z-index: 1;
  max-width: 520px;
}
.hero-search input {
  flex: 1; min-width: 180px;
  border: 3px solid var(--line);
  padding: 12px 14px;
  font: inherit;
  background: #fff;
  box-shadow: 3px 3px 0 var(--line);
}
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.muted { color: var(--muted); }
.tiny { font-size: 12px; }
.link-more {
  font-size: 13px; font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 14px;
}
.product-thumb-wrap {
  position: relative;
  display: block;
  aspect-ratio: 1 / 1;
  width: 100%;
  border-bottom: 3px solid var(--line);
  background: var(--bg-deep);
  overflow: hidden;
  isolation: isolate;
}
/* 상품 이미지는 래퍼를 꽉 채움 — 레이아웃 높이에서 제외 */
.product-thumb-wrap > .thumb,
.product-thumb-wrap > .thumb-ph {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  aspect-ratio: auto;
  object-fit: cover;
  display: block;
  margin: 0;
  border: none;
  background: var(--bg-deep);
}
/* 제보 마크: 이미지 위 왼쪽 아래 오버레이 */
.product-thumb-wrap > .kr-report-mark {
  position: absolute;
  left: 6px;
  bottom: 6px;
  top: auto;
  right: auto;
  width: 28px;
  height: 28px;
  max-width: 28px;
  max-height: 28px;
  margin: 0;
  padding: 0;
  border: none;
  z-index: 3;
  object-fit: contain;
  image-rendering: pixelated;
  pointer-events: none;
  filter: drop-shadow(1px 1px 0 rgba(0, 0, 0, 0.45));
}
.thumb-ph {
  display: grid; place-items: center;
  image-rendering: pixelated;
  background:
    linear-gradient(var(--accent) 0 0) 30% 30% / 40% 40% no-repeat,
    linear-gradient(var(--accent-2) 0 0) 50% 50% / 24% 24% no-repeat,
    repeating-conic-gradient(#d7e0d3 0% 25%, #eef3eb 0% 50%) 0 0 / 16px 16px;
}
.thumb-ph span {
  width: 28px; height: 28px;
  border: 2px solid var(--line);
  background: var(--accent-3);
  box-shadow: 2px 2px 0 var(--line);
}
.product-card-body { padding: 10px 10px 12px; display: grid; gap: 4px; }
.product-title {
  margin: 0; font-size: 14px; letter-spacing: -0.02em;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.product-jp {
  margin: 0;
  font-family: var(--font-mono);
  color: var(--muted);
  font-size: 12px;
  display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden;
}
.badge-muted { background: #fff; color: var(--muted); }
.badge-warn { background: var(--accent-3); }
.empty-state {
  border: 3px dashed var(--line);
  padding: 28px; text-align: center; background: #fff;
}
.empty-pixel {
  width: 48px; height: 48px; margin: 0 auto 12px;
  image-rendering: pixelated;
  background:
    linear-gradient(var(--accent) 0 0) 20% 20% / 60% 60% no-repeat,
    linear-gradient(var(--line) 0 0);
  border: 2px solid var(--line);
}
.filter-sheet-toggle { display: none; margin-bottom: 0; }
.search-toolbar {
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}
.search-toolbar .filter-sheet-toggle { margin-bottom: 0; }
.sort-inline--mobile { display: none; }

/* PC: 좌 50% 필드 / 우 50% 검색·초기화(전체 높이) + 정렬(우측 하단) */
.filter-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 16px;
  align-items: stretch;
}
.filter-fields {
  grid-column: 1;
  grid-row: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  align-content: start;
}
.filter-actions-main {
  grid-column: 2;
  grid-row: 1;
  display: grid;
  grid-template-columns: auto minmax(140px, 240px);
  grid-template-rows: 1fr auto;
  align-self: stretch;
  align-content: stretch;
  gap: 8px 12px;
  min-width: 0;
  min-height: 100%;
}
.filter-actions-btns {
  grid-column: 1;
  grid-row: 1 / -1;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: stretch;
  gap: 8px;
  min-width: 0;
  height: 100%;
}
.filter-actions-btns .btn {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: stretch;
  min-width: 96px;
  height: 100%;
  box-sizing: border-box;
  padding: 10px 18px;
}
.sort-inline--desktop {
  grid-column: 2;
  grid-row: 2;
  display: block;
  width: 100%;
  justify-self: stretch;
  align-self: end;
  height: fit-content;
}
/* 국내판매 1칸 높이 ≈ label + select */
.sort-inline--desktop select {
  display: block;
  width: 100%;
  box-sizing: border-box;
  border: 3px solid var(--line);
  padding: 10px 12px;
  padding-right: 30px;
  font: inherit;
  font-size: inherit;
  font-weight: 700;
  line-height: 1.25;
  color: var(--ink);
  background: #fff;
  box-shadow: 3px 3px 0 var(--line);
  cursor: pointer;
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%),
    linear-gradient(135deg, var(--ink) 50%, transparent 50%);
  background-position: calc(100% - 16px) 50%, calc(100% - 10px) 50%;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  /* label(12px+4) + select 패딩·보더를 합쳐 필드 1칸에 맞춤 */
  min-height: calc(12px + 4px + 1.25em + 20px + 6px);
}
.sort-inline--mobile select {
  display: inline-flex;
  align-items: center;
  width: 100%;
  box-sizing: border-box;
  border: 3px solid var(--line);
  padding: 10px 14px;
  padding-right: 30px;
  font: inherit;
  font-weight: 700;
  color: var(--ink);
  background: #fff;
  box-shadow: 3px 3px 0 var(--line);
  cursor: pointer;
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%),
    linear-gradient(135deg, var(--ink) 50%, transparent 50%);
  background-position: calc(100% - 16px) 50%, calc(100% - 10px) 50%;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
}
.filter-sheet-backdrop {
  display: none;
  position: fixed; inset: 0; z-index: 50;
  background: rgba(0, 0, 0, 0.35);
}
.filter-sheet-backdrop.is-open { display: block; }
.filter-sheet-head {
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 12px;
}
.filter-sheet-head strong { font-size: 16px; letter-spacing: -0.02em; }
.filter-panel label { display: grid; gap: 4px; font-size: 12px; color: var(--muted); }
.btn-ghost { background: #fff; color: var(--ink); }
.btn-sm { padding: 4px 8px; font-size: 12px; box-shadow: 2px 2px 0 var(--line); }
.btn.is-disabled,
.btn[aria-disabled="true"] {
  opacity: 0.4; pointer-events: none; box-shadow: none;
}
.pager {
  display: flex; gap: 12px; align-items: center; margin-top: 20px; flex-wrap: wrap;
  justify-content: center;
}
.pager-nums {
  display: flex; gap: 8px; flex-wrap: wrap; align-items: center;
  padding: 0 4px;
}
.pager-num {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 38px; height: 38px; padding: 0 10px;
  border: 2px solid var(--line); background: #fff; color: var(--ink);
  text-decoration: none; font-size: 13px; font-variant-numeric: tabular-nums;
  box-shadow: 2px 2px 0 var(--line);
}
.pager-num:hover { transform: translate(1px, 1px); box-shadow: 1px 1px 0 var(--line); }
.pager-num.is-current {
  background: var(--accent); color: #fff; font-weight: 700;
  pointer-events: none;
}
.pager-meta { font-size: 12px; margin-left: 6px; }
.breadcrumb {
  display: flex; gap: 8px; flex-wrap: wrap; align-items: center;
  font-size: 13px; color: var(--muted); margin-bottom: 16px;
}
.breadcrumb a { text-decoration: underline; text-underline-offset: 2px; }
.product-detail {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 20px;
  align-items: start;
  margin-bottom: 28px;
}
.product-detail-media {
  border: 3px solid var(--line);
  background: #fff;
  box-shadow: 4px 4px 0 var(--line);
  overflow: hidden;
}
.product-title-lg {
  margin: 0 0 8px;
  font-size: clamp(22px, 4vw, 32px);
  letter-spacing: -0.03em;
}
.meta-dl {
  display: grid; gap: 8px; margin: 0 0 16px;
}
.meta-dl > div {
  display: flex; gap: 8px; flex-wrap: wrap;
  border-bottom: 1px dashed #c9d4c8;
  padding-bottom: 8px;
  font-size: 14px;
}
.meta-dl dt { color: var(--muted); min-width: 5.5rem; margin: 0; }
.meta-dl dd { margin: 0; }
.actions { display: flex; gap: 8px; flex-wrap: wrap; }
.comment-list { list-style: none; margin: 16px 0 0; padding: 0; }
.comment-item {
  border: 2px solid var(--line);
  background: #fff;
  padding: 12px;
  margin-bottom: 10px;
}
.comment-text { margin: 0 0 8px; }
.comment-text a { color: var(--accent); }
.comment-meta {
  display: flex; gap: 10px; align-items: center; justify-content: space-between;
  font-size: 12px; color: var(--muted);
}
.comment-sheet-toggle { margin-bottom: 12px; }
.comment-sheet[hidden] { display: none !important; }
.comment-sheet:not([hidden]) { display: block; }
.comment-sheet-backdrop {
  position: fixed; inset: 0; background: rgba(0,0,0,.35); z-index: 50;
}
.comment-sheet-panel {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 51;
  background: #fff; border-top: 3px solid var(--line);
  padding: 16px; max-height: 85vh; overflow: auto;
  box-shadow: 0 -8px 0 rgba(0,0,0,.08);
}
.comment-sheet-head {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  margin-bottom: 12px;
}
.comment-sheet-panel textarea {
  width: 100%; min-height: 100px;
  border: 2px solid var(--line);
  padding: 10px; font: inherit;
}
.comment-sheet-panel label { display: grid; gap: 6px; font-size: 13px; margin-bottom: 10px; }
.error { color: #c92a2a; font-size: 13px; }
.calendar-head { align-items: center; }
.inline-ym {
  display: flex; gap: 8px; align-items: end; margin-bottom: 16px; flex-wrap: wrap;
}
.inline-ym label { display: grid; gap: 4px; font-size: 12px; color: var(--muted); }
.inline-ym input {
  border: 2px solid var(--line); padding: 8px 10px; font: inherit; background: #fff;
}
body.sheet-open { overflow: hidden; }
.filter-panel.is-open { display: flex; }
.cat-애니메이션 .product-title { border-left: 4px solid var(--accent); padding-left: 6px; }
.cat-게임 .product-title { border-left: 4px solid #845ef7; padding-left: 6px; }
.cat-캐릭터굿즈 .product-title { border-left: 4px solid var(--accent-2); padding-left: 6px; }
.cat-특촬 .product-title { border-left: 4px solid #f76707; padding-left: 6px; }
.cat-오리지널 .product-title { border-left: 4px solid var(--accent-3); padding-left: 6px; }

@media (max-width: 800px) {
  .product-detail { grid-template-columns: 1fr; }
  .search-toolbar { display: flex; }
  .filter-sheet-toggle { display: inline-flex; }
  .filter-sheet-head { display: flex; }
  .filter-panel {
    display: none;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 51;
    background: #fff; border-top: 3px solid var(--line);
    padding: 16px; max-height: 80vh; overflow: auto;
  }
  .filter-panel.is-open { display: flex; }
  .filter-layout {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }
  .filter-fields {
    grid-column: auto;
    grid-row: auto;
    grid-template-columns: 1fr 1fr;
  }
  .filter-actions-main {
    grid-column: auto;
    grid-row: auto;
    display: flex;
    flex-direction: row;
    align-self: stretch;
    min-height: 48px;
  }
  .filter-actions-btns {
    flex: 1;
    grid-column: auto;
    grid-row: auto;
    min-height: 48px;
    height: auto;
  }
  .filter-actions-btns .btn {
    flex: 1;
    min-height: 48px;
    height: auto;
    min-width: 0;
  }
  /* 모바일: PC용 정렬 숨김, 툴바 정렬 표시 */
  .sort-inline--desktop { display: none; }
  .sort-inline--mobile {
    display: block;
    margin-left: auto;
    width: 48%;
    max-width: 220px;
    flex-shrink: 0;
  }
}
