 :root {
  color-scheme: dark;
  --ink: #f6f4ef;
  --muted: #c0bbb1;
  --subtle: #a49d91;
  --bg: #0d0f12;
  --panel: #15181d;
  --panel-raised: #1b1f25;
  --line: #373b42;
  --accent: #e64d83;
  --accent-strong: #ff83ad;
  --accent-soft: #351724;
  --gold: #d8b879;
  --olive: #b2b993;
  --serif: Georgia, 'Yu Mincho', 'Hiragino Mincho ProN', serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, 'Hiragino Kaku Gothic ProN', 'Yu Gothic', Meiryo, sans-serif;
  font-size: 17px;
  line-height: 1.7;
}
button, input, select { font: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid var(--accent-strong); outline-offset: 3px; }
.topbar {
  min-height: 88px;
  padding: 14px max(calc((100vw - 1200px) / 2), 32px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: #0d0b0e;
  border-bottom: 1px solid var(--line);
}
.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--ink);
  text-decoration: none;
  font-weight: 800;
  font-size: 20px;
  letter-spacing: .02em;
}
.brand > span:last-child { line-height: 1.35; }
.brand small {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .02em;
}
.brand-image {
  width: 54px;
  height: 54px;
  flex: 0 0 54px;
  object-fit: cover;
  border: 1px solid #e64d8366;
  border-radius: 15px;
  box-shadow: 0 5px 18px #0008, 0 0 20px #e64d831f;
}
.brand-image-gate { width: 92px; height: 92px; margin: 0 auto 18px; border-radius: 24px; }
.top-note {
  color: var(--muted);
  font-size: 14px;
  white-space: nowrap;
}
.live-dot {
  display: inline-block;
  width: 9px;
  height: 9px;
  margin-right: 9px;
  border-radius: 50%;
  background: #a9bd91;
  box-shadow: 0 0 0 4px #a9bd9120;
}
main { max-width: 1200px; margin: auto; padding: 0 32px; }
.hero {
  min-height: 390px;
  margin: 34px 0 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  overflow: hidden;
  border: 1px solid #33363b;
  border-radius: 16px;
  position: relative;
  isolation: isolate;
  background-color: #0b090b;
  background-image: linear-gradient(90deg, #0b090bf5 0%, #0b090be8 34%, #0b090b8a 56%, #0b090b05 100%), url("assets/hero-mammoth.webp");
  background-position: center;
  background-size: cover;
}
.hero-copy { position: relative; z-index: 1; padding: 56px 20px 48px 62px; }
.eyebrow {
  margin: 0 0 14px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .1em;
}
.hero h1 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(44px, 5vw, 62px);
  line-height: 1.28;
  letter-spacing: .02em;
  font-weight: 600;
}
.hero h1 em { color: var(--accent-strong); font-style: normal; text-shadow: 0 0 34px #e64d8340; }
.hero-text { max-width: 480px; margin: 17px 0 26px; color: #dedad2; font-size: 18px; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 12px 22px; color: var(--muted); font-size: 14px; }
.hero-art {
  min-height: 340px;
  position: relative;
  z-index: 1;
}
.orb { position: absolute; border-radius: 50%; filter: blur(.2px); }
.orb-one {
  width: 310px;
  height: 310px;
  right: 64px;
  top: 26px;
  background: linear-gradient(145deg, #827852, #35382f 65%, #262a28);
  box-shadow: inset -24px -24px 54px #101211a8, 0 0 90px #d4b46b18;
}
.orb-two {
  width: 190px;
  height: 190px;
  right: 20px;
  bottom: -75px;
  background: linear-gradient(145deg, #78634b, #342b23);
  opacity: .85;
}
.art-note {
  position: absolute;
  left: 56px;
  top: 96px;
  width: 240px;
  min-height: 176px;
  padding: 20px;
  border: 1px solid #e2ba7066;
  border-radius: 8px;
  background: #111418ed;
  transform: rotate(-4deg);
  box-shadow: 0 18px 45px #0008;
}
.art-note span { color: var(--accent); font-size: 13px; letter-spacing: .16em; font-weight: 800; }
.art-note strong { display: block; margin-top: 10px; font-family: var(--serif); font-size: 25px; line-height: 1.5; }
.art-note i { position: absolute; bottom: 15px; color: var(--muted); font-size: 11px; font-style: normal; letter-spacing: .08em; }
.art-stamp {
  position: absolute;
  right: 30px;
  top: 28px;
  padding: 9px 12px;
  border: 1px solid #e2ba7099;
  border-radius: 4px;
  color: #f0d9a8;
  font-size: 12px;
  line-height: 1.45;
  letter-spacing: .08em;
  transform: rotate(7deg);
}
.search-shell {
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--panel);
  box-shadow: 0 14px 44px #0003;
}
.search-heading, .results-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
}
.search-heading h2, .results h2 { margin: 0; font-size: 27px; line-height: 1.35; letter-spacing: .02em; }
.search-heading .eyebrow, .results-head .eyebrow { margin-bottom: 6px; }
.reset {
  min-height: 46px;
  padding: 8px 12px;
  border: 1px solid #4a4740;
  border-radius: 8px;
  background: transparent;
  color: var(--muted);
  font-size: 14px;
}
.reset:hover { border-color: var(--accent); color: var(--accent-strong); }
.searchbar {
  min-height: 58px;
  margin: 24px 0 26px;
  padding: 0 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid #51545a;
  border-radius: 9px;
  background: #0f1115;
  color: var(--muted);
}
.searchbar > span { color: var(--accent); font-size: 28px; line-height: 1; }
.searchbar input {
  min-width: 0;
  flex: 1;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
  font-size: 17px;
}
.searchbar input::placeholder { color: #b3aea4; opacity: 1; }
.searchbar kbd {
  padding: 4px 8px;
  border: 1px solid #484b50;
  border-radius: 5px;
  color: var(--muted);
  font-size: 12px;
}
.filter-grid { display: grid; grid-template-columns: 1fr 1.25fr 1.3fr; gap: 28px; }
.filter-grid fieldset { min-width: 0; margin: 0; padding: 0; border: 0; }
.filter-grid legend { margin-bottom: 13px; font-size: 17px; font-weight: 700; }
.filter-icon { margin-right: 8px; color: var(--accent); font-size: 19px; }
.chips { display: flex; flex-wrap: wrap; gap: 9px; }
.chip {
  min-height: 46px;
  padding: 8px 14px;
  border: 1px solid #4a4d51;
  border-radius: 8px;
  background: #1a1d22;
  color: #e2ded6;
  font-size: 15px;
  transition: background .15s, border-color .15s, color .15s;
}
.chip:hover { border-color: var(--accent); color: var(--accent-strong); }
.chip.selected { border-color: var(--accent); background: var(--accent-soft); color: #f4d89f; }
.price-inputs { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; color: var(--muted); font-size: 14px; }
.price-inputs label { display: flex; align-items: center; gap: 7px; color: #dedad2; white-space: nowrap; }
.price-inputs input {
  width: 104px;
  height: 48px;
  padding: 0 10px;
  border: 1px solid #51545a;
  border-radius: 7px;
  outline: none;
  background: #0f1115;
  color: var(--ink);
  font-size: 16px;
}
.price-inputs input:focus { border-color: var(--accent); }
.quick-prices { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.quick-prices button {
  min-height: 42px;
  padding: 7px 11px;
  border: 1px solid #44474c;
  border-radius: 7px;
  background: #202329;
  color: #d8d3ca;
  font-size: 13px;
}
.quick-prices button:hover { border-color: var(--accent); color: var(--accent-strong); }
.filter-bottom {
  margin-top: 26px;
  padding-top: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border-top: 1px solid #373b42;
}
.active-filters { color: #d0cbc2; font-size: 14px; }
.button {
  min-height: 52px;
  padding: 12px 20px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 700;
}
.button.primary { background: var(--accent); color: #17140f; }
.button.primary:hover { background: var(--accent-strong); }
.button.quiet { border-color: #484b50; background: #22262c; color: #f0ede7; }
.button.quiet:hover { border-color: var(--accent); }
.search-button { min-width: 220px; display: flex; align-items: center; justify-content: space-between; }
.search-button span { font-size: 22px; font-weight: 400; }
.results { padding: 46px 0 38px; }
.results-head { align-items: flex-end; margin-bottom: 20px; }
.results h2 { font-size: 28px; }
.results h2 span { margin-left: 8px; color: var(--accent-strong); font-size: 18px; font-weight: 700; }
.results h2 small { color: var(--muted); font-size: 15px; font-weight: 500; }
.sort-label { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 14px; }
.sort-label select {
  min-height: 46px;
  padding: 6px 30px 6px 10px;
  border: 1px solid #484b50;
  border-radius: 7px;
  background: #171a1f;
  color: var(--ink);
  font-size: 15px;
}
.product-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.product-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid #353940;
  border-radius: 12px;
  background: var(--panel);
  transition: transform .18s, border-color .18s, box-shadow .18s;
}
.product-card:hover { transform: translateY(-3px); border-color: #786744; box-shadow: 0 14px 30px #0005; }
.cover {
  position: relative;
  height: 220px;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: var(--cover, #252932);
}
.cover:before, .cover:after { content: ''; position: absolute; border-radius: 50%; background: #ffffff12; }
.cover:before { width: 220px; height: 220px; top: -105px; right: -36px; }
.cover:after { width: 150px; height: 150px; bottom: -95px; left: 16px; }
.cover-tone-0 { --cover: linear-gradient(135deg, #473a27, #202329 68%); }
.cover-tone-1 { --cover: linear-gradient(135deg, #3b3d32, #202329 72%); }
.cover-tone-2 { --cover: linear-gradient(135deg, #3c3035, #202329 72%); }
.cover-tone-3 { --cover: linear-gradient(135deg, #303944, #202329 72%); }
.cover-tone-4 { --cover: linear-gradient(135deg, #473532, #202329 72%); }
.cover-tone-5 { --cover: linear-gradient(135deg, #343d39, #202329 72%); }
.cover-art { z-index: 1; padding: 16px; color: #fff; text-align: center; text-shadow: 0 2px 8px #000b; }
.cover-art .series { display: block; color: #e9d3a5; font-size: 12px; letter-spacing: .12em; }
.cover-art strong { display: block; margin: 11px 0; font-family: var(--serif); font-size: 25px; line-height: 1.45; }
.cover-art .cover-sub { color: #e0dacf; font-size: 12px; letter-spacing: .1em; }
.ribbon {
  position: absolute;
  z-index: 2;
  top: 12px;
  left: 12px;
  padding: 5px 9px;
  border: 1px solid #e2ba70;
  border-radius: 5px;
  background: #17150fee;
  color: #f0d69f;
  font-size: 12px;
  font-weight: 700;
}
.fav {
  position: absolute;
  z-index: 2;
  top: 10px;
  right: 10px;
  width: 44px;
  height: 44px;
  border: 1px solid #ffffff6b;
  border-radius: 50%;
  background: #101216dd;
  color: #f0ece3;
  font-size: 23px;
}
.fav.active { border-color: var(--accent); color: var(--accent-strong); }
.card-content { padding: 16px; }
.card-meta { display: flex; justify-content: space-between; gap: 8px; color: var(--muted); font-size: 13px; margin-bottom: 8px; }
.tag-type { color: #d5c08e; font-weight: 700; }
.product-title { min-height: 54px; margin: 0 0 6px; overflow: hidden; font-size: 18px; line-height: 1.55; font-weight: 700; }
.performer { margin: 0 0 12px; color: #d1ccc3; font-size: 15px; }
.tag-list { display: flex; gap: 7px; height: 31px; overflow: hidden; margin-bottom: 13px; }
.tag-list span { padding: 4px 8px; border-radius: 5px; background: #282c32; color: #ddd8cf; font-size: 13px; white-space: nowrap; }
.card-footer { padding-top: 12px; display: flex; justify-content: space-between; align-items: center; gap: 12px; border-top: 1px solid #373b42; }
.price { color: #fff; font-size: 20px; font-weight: 800; }
.price small { margin-left: 3px; color: var(--muted); font-size: 14px; font-weight: 500; }
.rating { color: #e2ba70; font-size: 14px; white-space: nowrap; }
.rating span { margin-left: 3px; color: var(--muted); }
.empty-state { padding: 62px 16px; text-align: center; }
.empty-state > div { color: #b5a47f; font-size: 48px; }
.empty-state h3 { font-family: var(--serif); font-size: 26px; font-weight: 600; }
.empty-state p { color: var(--muted); font-size: 16px; }
.api-note {
  margin: 0 0 44px;
  padding: 22px;
  display: flex;
  align-items: center;
  gap: 16px;
  border: 1px solid #41443d;
  border-radius: 12px;
  background: #1a1e1d;
}
.api-icon {
  width: 46px;
  height: 46px;
  flex: 0 0 46px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #2a3027;
  color: var(--olive);
  font-size: 25px;
}
.api-note strong { font-size: 16px; }
.api-note p { margin: 5px 0 0; color: #d0cec5; font-size: 14px; }
.status-pill { margin-left: auto; padding: 7px 10px; border: 1px solid #5e604c; border-radius: 5px; color: #d8d8bb; font-size: 12px; letter-spacing: .06em; white-space: nowrap; }
footer { padding: 32px max(calc((100vw - 1200px) / 2), 32px); border-top: 1px solid var(--line); background: #111317; color: var(--ink); text-align: center; }
.footer-brand { display: flex; align-items: center; justify-content: center; gap: 10px; color: var(--accent); font-size: 18px; font-weight: 800; }
.footer-brand img { width: 36px; height: 36px; object-fit: cover; border-radius: 10px; }
.footer-brand span { color: var(--ink); font-size: 16px; }
footer p { margin: 12px 0 4px; color: #d0cbc2; font-size: 14px; }
.disclosure { color: var(--muted); }
footer small { color: #b3aea4; font-size: 13px; }
.age-gate {
  position: fixed;
  z-index: 20;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 24px;
  background: #08090bf2;
}
.age-gate.hidden { display: none; }
.gate-card {
  width: min(100%, 540px);
  padding: 42px;
  border: 1px solid #6c5c3d;
  border-radius: 16px;
  background: #171a1f;
  box-shadow: 0 28px 100px #000c;
  text-align: center;
}
.gate-card .brand-image-gate { display: block; }
.gate-card .eyebrow { margin-bottom: 10px; }
.gate-card h1 { margin: 0 0 14px; font-family: var(--serif); font-size: 34px; line-height: 1.4; font-weight: 600; }
.gate-card p:not(.eyebrow) { color: #e2ded6; font-size: 17px; line-height: 1.8; }
.gate-actions { display: grid; gap: 12px; margin: 24px 0 18px; }
.gate-actions .button { min-height: 56px; }
.gate-card small { color: #c0bbb1; font-size: 13px; line-height: 1.6; }
@media (max-width: 900px) {
  .hero-copy { padding-left: 38px; }
  .hero h1 { font-size: 48px; }
  .filter-grid { grid-template-columns: 1fr 1fr; }
  .price-filter { grid-column: 1 / -1; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 620px) {
  body { font-size: 16px; }
  .topbar { min-height: 76px; padding: 10px 16px; gap: 10px; }
  .brand { gap: 10px; font-size: 17px; }
  .brand small { font-size: 12px; }
  .brand-image { width: 44px; height: 44px; flex-basis: 44px; border-radius: 12px; }
  .top-note { max-width: 120px; font-size: 12px; line-height: 1.35; white-space: normal; }
  .live-dot { width: 8px; height: 8px; margin-right: 6px; }
  main { padding: 0 15px; }
  .hero { grid-template-columns: 1fr; min-height: 0; margin: 16px 0; border-radius: 12px; background-position: 63% center; background-image: linear-gradient(90deg, #0b090bf5 0%, #0b090be8 44%, #0b090b88 100%), url("assets/hero-mammoth.webp"); }
  .hero-copy { padding: 30px 23px 25px; }
  .hero h1 { font-size: 43px; }
  .hero-text { margin: 14px 0 20px; font-size: 16px; }
  .hero-meta { gap: 7px 13px; font-size: 13px; }
  .hero-art { display: none; }
  .orb-one { width: 190px; height: 190px; right: 42px; top: 9px; }
  .orb-two { width: 130px; height: 130px; right: 16px; bottom: -55px; }
  .art-note { left: 35px; top: 27px; width: 220px; min-height: 160px; padding: 16px; transform: rotate(-4deg) scale(.88); transform-origin: top left; }
  .art-note strong { font-size: 22px; }
  .art-stamp { right: 14px; top: 14px; font-size: 10px; }
  .search-shell { padding: 22px 17px; border-radius: 11px; }
  .search-heading { align-items: flex-start; }
  .search-heading h2, .results h2 { font-size: 24px; }
  .reset { min-height: 44px; font-size: 13px; }
  .searchbar { min-height: 54px; margin: 20px 0 22px; }
  .searchbar input { font-size: 16px; }
  .searchbar kbd { display: none; }
  .filter-grid { grid-template-columns: 1fr; gap: 22px; }
  .filter-grid legend { font-size: 17px; }
  .price-filter { grid-column: auto; }
  .price-inputs { gap: 7px; }
  .price-inputs input { width: min(27vw, 112px); height: 48px; }
  .quick-prices button { min-height: 44px; }
  .filter-bottom { align-items: stretch; flex-direction: column; }
  .search-button { width: 100%; }
  .results { padding: 34px 0 28px; }
  .results-head { align-items: flex-start; }
  .sort-label { align-items: flex-end; flex-direction: column; gap: 4px; font-size: 13px; }
  .sort-label select { max-width: 150px; font-size: 14px; }
  .product-grid { grid-template-columns: 1fr; gap: 13px; }
  .cover { height: 220px; }
  .cover-art strong { font-size: 26px; }
  .product-title { min-height: 0; font-size: 18px; }
  .api-note { align-items: flex-start; padding: 16px; gap: 12px; }
  .api-note strong { font-size: 15px; }
  .api-note p { font-size: 14px; }
  .status-pill { display: none; }
  footer { padding: 26px 18px; }
  footer p { font-size: 13px; }
  .gate-card { padding: 30px 21px; }
  .gate-card h1 { font-size: 29px; }
  .gate-card p:not(.eyebrow) { font-size: 16px; }
}
@media (max-width: 370px) {
  .top-note { max-width: 94px; }
  .brand { font-size: 15px; }
  .brand small { max-width: 160px; font-size: 11px; }
  .search-heading { flex-direction: column; }
  .hero h1 { font-size: 38px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
