:root {
  color-scheme: light;
  --paper: #f4f4f0;
  --image-ground: #edede9;
  --ink: #252525;
  --muted: #6a6a64;
  --rule: #d8d8d1;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--font); font-size: 14px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
body:has(dialog[open]) { overflow: hidden; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
button { color: inherit; cursor: pointer; border-radius: 0; }
a { color: inherit; text-underline-offset: 4px; text-decoration-thickness: 1px; }
img { display: block; max-width: 100%; }
svg { display: block; flex-shrink: 0; }
h1, h2, h3, p { margin: 0; }
button:focus-visible, a:focus-visible, summary:focus-visible { outline: 2px solid var(--ink); outline-offset: 5px; }
::selection { background: #d9d9cf; color: var(--ink); }
[hidden], .filtered-out { display: none !important; }
.container { width: min(1360px, calc(100% - 96px)); margin-inline: auto; }
.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; }
.skip-link { position: fixed; z-index: 100; left: 16px; top: -70px; padding: 10px 18px; background: var(--ink); color: var(--paper); }
.skip-link:focus { top: 16px; }

.site-header { border-bottom: 1px solid var(--rule); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; min-height: 79px; }
.brand { display: inline-flex; align-items: center; min-height: 44px; font-size: 18px; font-weight: 500; line-height: 1.3; letter-spacing: -.6px; text-decoration: none; }
.main-nav { display: flex; align-items: center; gap: 35px; font-size: 12px; }
.main-nav > a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; }
.main-nav > a:hover, .main-nav > a[aria-current="page"] { text-decoration: underline; }
.saved-nav { display: inline-flex; align-items: center; gap: 7px; min-height: 44px; padding: 0; border: 0; background: none; font-size: 12px; }
.saved-nav:hover { text-decoration: underline; }
.saved-nav svg { width: 14px; height: 16px; }
.saved-count { color: var(--muted); font-size: 10px; font-variant-numeric: tabular-nums; }

.collection-top { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 20px; padding-block: 30px 23px; }
.collection-top h1 { font-size: 13px; font-weight: 400; line-height: 1.6; }
.item-count { color: var(--muted); font-size: 11px; font-variant-numeric: tabular-nums; }
.object-entry { display: grid; grid-template-columns: minmax(0, 2.35fr) minmax(260px, 1fr); align-items: end; gap: 44px; }
.object-entry:not([hidden]) ~ .object-entry:not([hidden]) { margin-top: 64px; padding-top: 48px; border-top: 1px solid var(--rule); }
.object-media { position: relative; display: flex; align-items: center; justify-content: center; width: 100%; aspect-ratio: 1; max-height: clamp(440px, calc(100svh - 190px), 700px); overflow: hidden; background: var(--image-ground); text-decoration: none; }
.object-media > a { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; }
.object-media img { width: 100%; height: 100%; object-fit: contain; }
.object-index { position: absolute; z-index: 1; top: 22px; left: 23px; color: #62625c; font-size: 10px; font-variant-numeric: tabular-nums; line-height: 1; }
[data-item-id="clown-core-1234"] .object-index,
[data-item-id="schiit-vali-3"] .object-index { color: #deded8; }
.music-player { display: block; width: 100%; max-width: 660px; height: 450px; border: 0; overflow: hidden; background: transparent; }
.music-meta { margin-top: 20px; color: var(--muted); font-size: 12px; }

.music-preview { grid-column: 1 / -1; width: 100%; min-width: 0; border-top: 1px solid var(--rule); }
.music-preview > summary { display: flex; align-items: center; gap: 10px; width: fit-content; min-height: 48px; cursor: pointer; font-size: 12px; list-style: none; }
.music-preview > summary::-webkit-details-marker { display: none; }
.music-preview > summary::after { content: '+'; color: var(--muted); }
.music-preview[open] > summary::after { content: '−'; }
.music-player-slot { min-width: 0; }
.music-preview[open] .music-player-slot { margin-block: 6px 12px; }
.music-preview > [data-close-music] { margin-bottom: 4px; }

.object-info { min-width: 0; padding-bottom: 4px; }
.object-category { color: var(--muted); font-size: 11px; line-height: 1.6; }
.object-title { margin-top: 10px; font-size: 28px; font-weight: 500; letter-spacing: -.9px; line-height: 1.18; }
.object-title a { text-decoration: none; }
.object-title a:hover { text-decoration: underline; text-underline-offset: 5px; }
.object-maker { margin-top: 6px; color: var(--muted); font-size: 13px; }
.object-price { margin-top: 20px; font-size: 14px; font-variant-numeric: tabular-nums; }
.object-price span { color: var(--muted); font-size: 11px; }
.object-actions { display: flex; align-items: center; gap: 25px; margin-top: 15px; }
.text-link, .shop-link { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-size: 12px; line-height: 1.5; text-decoration: underline; }
.text-link:hover, .shop-link:hover { color: var(--muted); }
.text-link svg, .shop-link svg { width: 15px; height: 15px; }
.save-toggle { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-width: 44px; min-height: 44px; padding: 0; border: 0; background: none; color: var(--ink); font-size: 12px; line-height: 1.5; }
.save-toggle svg { width: 14px; height: 17px; }
.save-toggle:hover .save-label { text-decoration: underline; text-underline-offset: 4px; }
.save-toggle[aria-pressed="true"] svg, .save-toggle.is-saved svg { fill: currentColor; }
.save-label { white-space: nowrap; }
.object-shop { margin-top: 24px; padding-top: 18px; border-top: 1px solid var(--rule); }
.object-shop .shop-link { min-height: 44px; font-size: 13px; }
.offer { color: var(--muted); font-size: 12px; line-height: 1.7; }
.disclosure { max-width: 340px; margin-top: 9px; color: var(--muted); font-size: 12px; line-height: 1.75; }
.disclosure a:hover { color: var(--ink); }
.filter-group { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; padding-bottom: 20px; }
.collection-top > .filter-group { flex-basis: 100%; padding-bottom: 0; }
.filter-button { min-height: 44px; padding: 0; border: 0; background: none; color: var(--muted); font-size: 12px; }
.filter-button[aria-pressed="true"], .filter-button:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }
.empty-state { padding-block: 70px; }
.empty-state h2, .empty-state h3 { font-size: 19px; font-weight: 400; }
.empty-state p { margin-top: 10px; color: var(--muted); font-size: 13px; }
.empty-state .text-link { margin-top: 14px; }

.site-footer { margin-top: 56px; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 88px; padding-block: 18px; border-top: 1px solid var(--rule); color: var(--muted); font-size: 11px; }
.footer-inner a { display: inline-flex; align-items: center; gap: 5px; min-height: 44px; text-decoration: none; }
.footer-inner a:hover { color: var(--ink); text-decoration: underline; }
.footer-inner svg { width: 12px; height: 12px; }
.link-button { min-height: 44px; padding: 0; border: 0; background: none; font-size: inherit; text-decoration: underline; text-underline-offset: 4px; }
.link-button:hover { color: var(--muted); }

.breadcrumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; min-height: 70px; color: var(--muted); font-size: 11px; }
.breadcrumbs a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; }
.breadcrumbs a:hover { color: var(--ink); text-decoration: underline; }
.detail-layout { display: grid; grid-template-columns: minmax(0, 1.9fr) minmax(285px, 1fr); align-items: start; gap: 48px; }
.detail-gallery { min-width: 0; }
.gallery-stage { position: relative; display: flex; align-items: center; justify-content: center; width: 100%; aspect-ratio: 1; overflow: hidden; background: var(--image-ground); }
.gallery-stage > img { width: 100%; height: 100%; object-fit: contain; }
.gallery-stage > .save-toggle { position: absolute; top: 10px; right: 17px; }
.gallery-thumbnails { display: flex; align-items: center; gap: 9px; margin-top: 12px; }
.gallery-thumbnails button { flex-shrink: 0; width: 64px; height: 64px; padding: 3px; border: 1px solid transparent; background: none; }
.gallery-thumbnails button[aria-pressed="true"], .gallery-thumbnails button:hover { border-color: var(--ink); }
.gallery-thumbnails button img { width: 100%; height: 100%; object-fit: contain; background: var(--image-ground); }
.gallery-caption { color: var(--muted); font-size: 10px; line-height: 1.7; }
.gallery-thumbnails > .gallery-caption { margin-left: 9px; max-width: 280px; }
.detail-gallery > .gallery-caption { margin-top: 12px; }
.detail-info { padding-top: 18px; }
.detail-info .object-title { margin-top: 10px; font-size: 34px; letter-spacing: -1.1px; }
.detail-info .object-maker { margin-top: 8px; }
.detail-info .object-price { margin-top: 23px; font-size: 15px; }
.detail-info > .save-toggle { margin-top: 8px; }
.buy-link { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-size: 13px; font-weight: 400; text-decoration: underline; }
.buy-link:hover { color: var(--muted); }
.buy-link svg { width: 17px; height: 17px; }
.detail-info .offer { margin-top: 3px; font-size: 12px; }
.copy-code { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0; border: 0; background: none; color: var(--muted); font-size: 10px; font-variant-numeric: tabular-nums; text-decoration: underline; text-underline-offset: 4px; }
.copy-code:hover { color: var(--ink); }
.copy-code svg { width: 12px; height: 12px; }
.detail-info .disclosure { margin-top: 7px; }
.details-grid { margin: 29px 0 0; border-top: 1px solid var(--rule); }
.details-grid > div { display: grid; grid-template-columns: 90px 1fr; gap: 15px; padding-block: 10px; border-bottom: 1px solid var(--rule); font-size: 11px; line-height: 1.6; }
.details-grid dt { color: var(--muted); }
.details-grid dd { margin: 0; }
.price-note { max-width: 370px; margin-top: 17px; color: var(--muted); font-size: 10px; line-height: 1.75; }
.editorial { margin-top: 22px; max-width: 42ch; font-size: 14px; line-height: 1.75; }
.item-details { margin-top: 29px; border-block: 1px solid var(--rule); }
.item-details > summary { display: flex; align-items: center; justify-content: space-between; min-height: 48px; cursor: pointer; font-size: 12px; list-style: none; }
.item-details > summary::-webkit-details-marker { display: none; }
.item-details > summary::after { content: '+'; color: var(--muted); }
.item-details[open] > summary::after { content: '−'; }
.item-details .details-grid { margin: 0; border-top: 0; }
.item-details .details-grid > div { font-size: 13px; }
.item-details .selection-note, .item-details .source-note { margin-block: 14px; font-size: 13px; line-height: 1.75; }
.item-details .source-note { color: var(--muted); }
.item-details .source-note a { display: inline-flex; align-items: center; min-height: 44px; }

.information { max-width: 900px; padding-top: 50px; }
.information > h1 { margin-bottom: 47px; font-size: 32px; font-weight: 400; line-height: 1.2; letter-spacing: -.8px; }
.information-row { display: grid; grid-template-columns: 200px 1fr; column-gap: 45px; padding-block: 26px 29px; border-top: 1px solid var(--rule); }
.information-row h2 { font-size: 13px; font-weight: 400; }
.information-row p { max-width: 590px; color: var(--muted); font-size: 13px; line-height: 1.85; }
.information-row p + p { margin-top: 14px; }
.information-row a:hover { color: var(--ink); }
.not-found { min-height: 55vh; padding-block: 70px; }
.not-found h1 { font-size: 32px; font-weight: 400; line-height: 1.3; letter-spacing: -.7px; }
.not-found p { margin-top: 17px; color: var(--muted); }
.not-found .text-link { margin-top: 23px; }

/* Saved objects are kept locally in the visitor's browser. */
dialog.drawer { position: fixed; inset: 0 0 0 auto; width: min(430px, 100%); height: 100dvh; max-height: 100dvh; margin: 0; padding: 28px; border: 0; border-left: 1px solid var(--rule); background: var(--paper); color: var(--ink); }
dialog.drawer::backdrop { background: #2525254d; }
.drawer-header { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-bottom: 21px; border-bottom: 1px solid var(--rule); }
.drawer-header h2 { font-size: 22px; font-weight: 400; letter-spacing: -.5px; }
.icon-button { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; padding: 10px; border: 0; background: none; }
.icon-button:hover { color: var(--muted); }
.icon-button svg { width: 19px; height: 19px; }
.drawer > p { margin-top: 17px; color: var(--muted); font-size: 11px; }
.saved-items { padding-top: 25px; }
.saved-item { display: grid; grid-template-columns: 1fr; gap: 8px; padding-bottom: 23px; border-bottom: 1px solid var(--rule); }
.saved-item + .saved-item { padding-top: 23px; }
.saved-item > a { display: grid; grid-template-columns: 90px 1fr; column-gap: 20px; align-items: center; text-decoration: none; }
.saved-item img { width: 90px; height: 90px; object-fit: contain; background: var(--image-ground); }
.saved-item h3 { font-size: 16px; font-weight: 500; line-height: 1.3; letter-spacing: -.2px; }
.saved-item > a:hover h3 { text-decoration: underline; text-underline-offset: 4px; }
.saved-item p { margin-top: 7px; color: var(--muted); font-size: 11px; }
.saved-item > .save-toggle { width: fit-content; margin-left: 110px; justify-content: flex-start; }
.empty-saved { padding-block: 27px; color: var(--muted); font-size: 13px; }
.empty-saved h3 { margin-bottom: 10px; color: var(--ink); font-size: 17px; font-weight: 400; }
.empty-saved > .text-link { margin-top: 15px; }
.toast { position: fixed; z-index: 60; bottom: 22px; left: 50%; max-width: calc(100% - 32px); padding: 11px 18px; transform: translate(-50%, 5px); background: var(--ink); color: var(--paper); font-size: 12px; text-align: center; visibility: hidden; opacity: 0; pointer-events: none; transition: opacity .15s ease, transform .15s ease, visibility .15s; }
.toast.visible { visibility: visible; opacity: 1; transform: translate(-50%, 0); }

@media (min-width: 1550px) {
  .object-entry { gap: 56px; }
  .object-info { max-width: 340px; }
  .detail-layout { gap: 60px; }
  .detail-info { max-width: 390px; }
}

@media (max-width: 1100px) {
  .container { width: calc(100% - 64px); }
  .object-entry { grid-template-columns: minmax(0, 2fr) minmax(230px, 1fr); gap: 32px; }
  .object-title { font-size: 26px; }
  .detail-layout { grid-template-columns: minmax(0, 1.65fr) minmax(280px, 1fr); gap: 33px; }
  .detail-info { padding-top: 9px; }
  .detail-info .object-title { font-size: 31px; }
}

@media (max-width: 800px) {
  .container { width: calc(100% - 48px); }
  .header-inner { min-height: 74px; }
  .object-entry { grid-template-columns: minmax(0, 1.6fr) minmax(210px, 1fr); gap: 26px; }
  .object-title { font-size: 24px; }
  .object-maker { font-size: 12px; }
  .object-price { margin-top: 17px; }
  .object-actions { margin-top: 9px; gap: 19px; }
  .object-shop { margin-top: 16px; padding-top: 13px; }
  .disclosure { font-size: 12px; }
  .detail-layout { grid-template-columns: minmax(0, 1.2fr) minmax(270px, 1fr); gap: 27px; }
  .detail-info .object-title { font-size: 28px; }
  .gallery-thumbnails { flex-wrap: wrap; }
  .gallery-thumbnails > .gallery-caption { flex-basis: 100%; margin-left: 0; }
  .information { padding-top: 42px; }
  .information-row { grid-template-columns: 160px 1fr; column-gap: 30px; }
}

@media (max-width: 620px) {
  html { scroll-padding-top: 18px; }
  .container { width: calc(100% - 40px); }
  .header-inner { min-height: 68px; gap: 22px; }
  .brand { font-size: 17px; }
  .main-nav { gap: 24px; font-size: 11px; }
  .saved-nav { gap: 5px; font-size: 11px; }
  .saved-count { font-size: 9px; }
  .collection-top { padding-block: 23px 18px; }
  .collection-top h1 { font-size: 12px; }
  .item-count { font-size: 10px; }
  .object-entry { grid-template-columns: 1fr; gap: 23px; }
  .object-entry:not([hidden]) ~ .object-entry:not([hidden]) { margin-top: 39px; padding-top: 30px; }
  .object-media { aspect-ratio: 1; max-height: none; }
  .object-index { left: 17px; top: 18px; font-size: 9px; }
  .object-info { max-width: none; padding-bottom: 0; }
  .object-title { margin-top: 8px; font-size: 27px; letter-spacing: -.7px; }
  .object-maker { margin-top: 5px; font-size: 12px; }
  .object-category { font-size: 10px; }
  .object-price { margin-top: 15px; font-size: 13px; }
  .object-actions { gap: 24px; margin-top: 7px; }
  .object-shop { margin-top: 17px; padding-top: 11px; }
  .object-shop .shop-link { min-height: 44px; }
  .offer { font-size: 12px; }
  .disclosure { max-width: 360px; margin-top: 7px; font-size: 12px; }
  .site-footer { margin-top: 35px; }
  .footer-inner { min-height: 78px; padding-block: 12px; gap: 18px; font-size: 10px; }
  .breadcrumbs { min-height: 60px; font-size: 10px; }
  .detail-layout { grid-template-columns: 1fr; gap: 29px; }
  .gallery-thumbnails { flex-wrap: nowrap; gap: 8px; margin-top: 11px; }
  .gallery-thumbnails button { width: 54px; height: 54px; }
  .gallery-thumbnails > .gallery-caption { flex-basis: auto; margin-left: 5px; font-size: 9px; }
  .detail-info { padding-top: 0; }
  .detail-info .object-title { font-size: 32px; letter-spacing: -1px; }
  .detail-info .object-maker { margin-top: 6px; }
  .detail-info .object-price { margin-top: 18px; font-size: 14px; }
  .buy-link { min-height: 44px; }
  .detail-info .offer { margin-top: 3px; }
  .details-grid { margin-top: 25px; }
  .details-grid > div { grid-template-columns: 92px 1fr; padding-block: 11px; }
  .price-note { margin-top: 15px; }
  .information { padding-top: 31px; }
  .information > h1 { margin-bottom: 29px; font-size: 28px; }
  .information-row { grid-template-columns: 1fr; gap: 10px; padding-block: 22px 24px; }
  .information-row h2 { font-size: 13px; }
  .information-row p { font-size: 12px; line-height: 1.85; }
  .not-found { padding-block: 45px; }
  .not-found h1 { font-size: 28px; }
  dialog.drawer { padding: 22px; }
  .drawer-header { padding-bottom: 17px; }
  .drawer-header h2 { font-size: 21px; }
}

@media (max-width: 360px) {
  .main-nav { gap: 17px; }
  .brand { font-size: 16px; }
  .gallery-thumbnails { flex-wrap: wrap; }
  .gallery-thumbnails > .gallery-caption { flex-basis: 100%; margin-left: 0; }
  .saved-item > a { grid-template-columns: 78px 1fr; gap: 15px; }
  .saved-item img { width: 78px; height: 78px; }
  .saved-item > .save-toggle { margin-left: 93px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
