:root {
    color-scheme: dark;
    font-family: 'Instrument Sans', ui-sans-serif, system-ui, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji',
        'Segoe UI Symbol', 'Noto Color Emoji';
    font-synthesis: none;
    text-rendering: optimizeLegibility;
    background: #10131b;
    color: #f3f0e9;
    font-optical-sizing: auto;
}

* {
    box-sizing: border-box;
}

body {
    min-width: 360px;
    min-height: 100vh;
    margin: 0;
    background:
        radial-gradient(ellipse at 83% 9%, rgb(85 65 43 / 16%), transparent 34rem),
        #10131b;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input {
    font: inherit;
}

.page-shell {
    width: min(1440px, 100%);
    margin: 0 auto;
    padding: 0 64px 32px;
}

.topbar {
    height: 82px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid rgb(255 255 255 / 9%);
}

.wordmark {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: #f4f1e9;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .19em;
}

.wordmark-light {
    color: #96969a;
    font-weight: 400;
}

.wordmark-icon {
    width: 27px;
    height: 27px;
    display: grid;
    place-items: center;
    border: 1px solid #d5aa68;
    color: #e6bd7e;
    font-family: Georgia, serif;
    font-size: 16px;
    font-style: italic;
    letter-spacing: 0;
}

.topbar-note,
.eyebrow,
.total-label,
.result-count,
.title-table th,
.detail-kicker,
.detail-foot,
.page-footer > span:last-child {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: .16em;
}

.topbar-note,
.page-footer {
    color: #85858b;
}

.topbar-admin-link {
    padding: 6px 10px;
    border: 1px solid rgb(255 255 255 / 12%);
    color: #c8c3bb;
    font-size: 10px;
    text-decoration: none;
}

.topbar-admin-link:hover,
.topbar-admin-link:focus-visible {
    border-color: rgb(211 165 100 / 65%);
    color: #e5bd83;
}

.topbar-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.language-switcher {
    margin: 0;
}

.language-switcher select {
    padding: 6px 24px 6px 8px;
    border: 1px solid rgb(255 255 255 / 12%);
    border-radius: 2px;
    background: #191c25;
    color: #c8c3bb;
    font: inherit;
    font-size: 10px;
}

.language-switcher select:focus-visible {
    outline: 1px solid #d3a564;
    outline-offset: 2px;
}

.statistics-promo {
    display: flex;
    min-width: 0;
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    padding: 16px;
    border: 1px solid rgb(211 165 100 / 42%);
    background: linear-gradient(110deg, rgb(211 165 100 / 13%), #191c25 62%);
}

.statistics-promo-copy .eyebrow {
    margin: 0 0 6px;
    color: #d3a564;
    font-size: 9px;
}

.statistics-promo-copy h2 {
    margin: 0;
    color: #f4f1e9;
    font-family: Georgia, 'Times New Roman', serif;
    font-size: clamp(20px, 2vw, 25px);
    font-weight: 400;
}

.statistics-promo-copy > p:last-child {
    margin: 8px 0 0;
    color: #a4a3a6;
    font-size: 12px;
    line-height: 1.5;
}

.statistics-promo-link {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 8px;
    padding: 9px 11px;
    border: 1px solid #d3a564;
    background: #d3a564;
    color: #171922;
    font-size: 11px;
    font-weight: 700;
    text-decoration: none;
    transition: background .15s ease, border-color .15s ease;
}

.statistics-promo-link:hover,
.statistics-promo-link:focus-visible {
    border-color: #e5bd83;
    background: #e5bd83;
}

.statistics-promo-link:focus-visible,
.statistics-back-link:focus-visible {
    outline: 2px solid #f4f1e9;
    outline-offset: 3px;
}

.statistics-page {
    padding: 54px 0 70px;
}

.statistics-page h1 {
    margin: 8px 0 34px;
    font-family: Georgia, 'Times New Roman', serif;
    font-size: clamp(36px, 5vw, 56px);
    font-weight: 400;
}

.statistics-jumpmarks {
    margin-bottom: 28px;
}

.statistics-anchor-section {
    scroll-margin-top: 20px;
}

.statistics-section-heading .detail-back-link {
    display: inline-block;
    margin-top: 8px;
}

.price-statistics {
    padding: 28px;
    border: 1px solid rgb(255 255 255 / 9%);
    background: #191c25;
}

.statistics-section-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 24px;
}

.statistics-section-heading .eyebrow {
    margin-bottom: 8px;
}

.statistics-section-heading h2 {
    margin: 0;
    color: #f4f1e9;
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 30px;
    font-weight: 400;
}

.statistics-footnote {
    max-width: 290px;
    margin: 0;
    color: #a4a3a6;
    font-size: 12px;
    line-height: 1.5;
    text-align: right;
}

.price-summary {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 24px;
}

.price-summary-card {
    padding: 20px;
    border: 1px solid rgb(211 165 100 / 30%);
    background: linear-gradient(120deg, rgb(211 165 100 / 10%), #12151d 75%);
}

.price-summary-card .eyebrow {
    margin-bottom: 12px;
}

.price-summary-value {
    margin: 0;
    color: #f4f1e9;
    font-family: Georgia, 'Times New Roman', serif;
    font-size: clamp(26px, 4vw, 38px);
    line-height: 1.15;
}

.price-rankings {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.price-ranking {
    min-width: 0;
    padding: 20px;
    border: 1px solid rgb(255 255 255 / 8%);
    background: #151821;
}

.price-ranking h3 {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    margin: 0 0 12px;
    color: #f4f1e9;
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 19px;
    font-weight: 400;
}

.price-ranking h3 span {
    color: #a4a3a6;
    font-family: Arial, sans-serif;
    font-size: 10px;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.price-ranking ol {
    margin: 0;
    padding-left: 22px;
    color: #d3a564;
}

.price-ranking li {
    padding: 10px 0 10px 4px;
    border-top: 1px solid rgb(255 255 255 / 7%);
}

.price-ranking li::marker {
    color: #a4a3a6;
    font-size: 11px;
}

.price-ranking li a {
    color: #e9e5dc;
    text-decoration: none;
}

.price-ranking li a:hover,
.price-ranking li a:focus-visible {
    color: #e5bd83;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.price-ranking li > span {
    display: block;
    margin-top: 4px;
    color: #d3a564;
    font-size: 12px;
    font-weight: 600;
}

.price-ranking .price-ranking-empty {
    color: #a4a3a6;
    font-size: 13px;
}

.year-statistics {
    margin-top: 24px;
    padding: 28px;
    border: 1px solid rgb(255 255 255 / 9%);
    background: #191c25;
}

.year-statistics h2 {
    margin: 0;
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 25px;
    font-weight: 400;
}

.year-statistics-content {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
    margin-top: 24px;
}

.purchase-year-chart-wrap {
    min-width: 0;
    padding: 20px;
    border: 1px solid rgb(255 255 255 / 8%);
    background: #151821;
}

.purchase-year-chart-wrap p {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin: 0 0 16px;
    color: #e9e5dc;
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 17px;
}

.purchase-year-chart-wrap p span {
    color: #a4a3a6;
    font-family: Arial, sans-serif;
    font-size: 11px;
}

.purchase-year-list {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}

.purchase-year-bar-row {
    display: grid;
    grid-template-columns: 52px minmax(0, 1fr);
    align-items: center;
    gap: 12px;
    min-height: 26px;
    padding: 3px 0;
    border-radius: 3px;
}

.purchase-year-bar-row:hover,
.purchase-year-bar-row:focus-within {
    background: rgb(255 255 255 / 5%);
}

.purchase-year-bar-row:focus-visible {
    outline: 2px solid #e5bd83;
    outline-offset: 2px;
}

.purchase-year-bar-label {
    color: #d3d0c8;
    font-size: 11px;
    text-align: right;
}

.location-bar-row {
    grid-template-columns: minmax(100px, 220px) minmax(0, 1fr);
}

.purchase-location-label {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.purchase-location-label a {
    color: inherit;
    text-decoration: none;
}

.purchase-location-label a:hover,
.purchase-location-label a:focus-visible {
    color: #e5bd83;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.purchase-year-bar-track {
    min-width: 0;
    height: 20px;
    background: rgb(255 255 255 / 5%);
}

.purchase-year-bar {
    display: flex;
    align-items: center;
    width: var(--bar-width);
    min-width: 30px;
    height: 100%;
    padding: 0 7px;
    background: var(--year-color);
    color: #151821;
    font-size: 10px;
    font-weight: 700;
    transition: filter .15s ease;
}

.purchase-year-bar-row:hover .purchase-year-bar {
    filter: brightness(1.2);
}

.purchase-year-list th,
.purchase-year-list td {
    padding: 11px 12px;
    border-bottom: 1px solid rgb(255 255 255 / 7%);
    text-align: left;
}

.purchase-year-list th {
    border-top: 1px solid rgb(255 255 255 / 8%);
    color: #a4a3a6;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.purchase-year-list th a {
    color: inherit;
    text-decoration: none;
}

.purchase-year-list th a:hover,
.purchase-year-list th a:focus-visible {
    color: #e5bd83;
}

.purchase-year-list th a span {
    color: #d3a564;
}

.purchase-year-list tbody tr:hover {
    background: rgb(255 255 255 / 4%);
}

.purchase-year-list tbody td:first-child {
    color: #f4f1e9;
    font-weight: 700;
}

.purchase-year-swatch {
    display: inline-block;
    width: 8px;
    height: 8px;
    margin-right: 9px;
    border-radius: 2px;
    background: var(--year-color);
}

.purchase-year-amount {
    color: #d3a564;
    font-weight: 600;
    text-align: right;
    white-space: nowrap;
}

.purchase-year-empty {
    margin: 24px 0 0;
    color: #a4a3a6;
}

.statistics-back-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 28px;
    margin-bottom: 28px;
    padding: 12px 16px;
    border: 1px solid #d3a564;
    background: #d3a564;
    color: #171922;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
}

.statistics-back-link:hover,
.statistics-back-link:focus-visible {
    border-color: #e5bd83;
    background: #e5bd83;
}

.admin-shell {
    width: min(680px, calc(100% - 32px));
    margin: 0 auto;
    padding-bottom: 48px;
}

.admin-header {
    height: 82px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid rgb(255 255 255 / 9%);
}

.admin-header form {
    margin: 0;
}

.admin-text-button,
.admin-back-link {
    padding: 0;
    border: 0;
    background: transparent;
    color: #c99f62;
    cursor: pointer;
    font-size: 11px;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.admin-card {
    margin-top: 56px;
    padding: 32px;
    border: 1px solid rgb(255 255 255 / 10%);
    background: #191c25;
}

.admin-card h1 {
    margin: 7px 0 8px;
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 32px;
    font-weight: 400;
}

.admin-card h2 {
    margin-top: 40px;
}

.admin-intro,
.admin-help {
    color: #a5a3a0;
    font-size: 12px;
    line-height: 1.6;
}

.admin-form {
    display: grid;
    gap: 10px;
    margin-top: 28px;
}

.admin-form label {
    color: #dedbd4;
    font-size: 12px;
    font-weight: 600;
}

.admin-form input,
.admin-form select {
    width: 100%;
    min-height: 42px;
    padding: 9px 11px;
    border: 1px solid rgb(255 255 255 / 14%);
    border-radius: 2px;
    outline: 0;
    background: #12151d;
    color: #f3f0e9;
}

.admin-form input:focus,
.admin-form select:focus {
    border-color: rgb(211 165 100 / 70%);
}

.admin-checkboxes {
    display: grid;
    gap: 10px;
    margin: 12px 0 0;
    padding: 14px;
    border: 1px solid rgb(255 255 255 / 12%);
}

.admin-checkboxes legend {
    padding: 0 6px;
    color: #dedbd4;
    font-size: 12px;
    font-weight: 600;
}

.admin-checkboxes .admin-help {
    margin: 0 0 3px;
}

.admin-form .admin-checkbox-option {
    display: flex;
    align-items: center;
    gap: 9px;
    color: #c7c5c2;
    font-size: 12px;
    font-weight: 400;
}

.admin-form .admin-checkbox-option input[type="checkbox"] {
    width: 15px;
    min-height: 15px;
    height: 15px;
    flex: 0 0 15px;
    margin: 0;
    padding: 0;
    accent-color: #d3a564;
}

.admin-form .search-button {
    justify-self: start;
    margin-top: 8px;
}

.admin-help {
    margin: -5px 0 2px;
}

.admin-error {
    color: #ef9b91;
    font-size: 11px;
}

.admin-success {
    padding: 10px 12px;
    border: 1px solid rgb(116 180 130 / 40%);
    background: rgb(116 180 130 / 8%);
    color: #a8d7b1;
    font-size: 12px;
}

.admin-import-status {
    margin: 18px 0;
    padding: 14px;
    border: 1px solid rgb(255 255 255 / 12%);
    background: #12151d;
    color: #dedbd4;
    font-size: 12px;
}

.admin-import-status p {
    margin: 0 0 8px;
}

.admin-import-status p:last-child {
    margin-bottom: 0;
}

.admin-import-status progress {
    width: 100%;
    accent-color: #d3a564;
}

.admin-back-link {
    display: inline-block;
    margin-top: 25px;
}

.collection-sliders {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 3fr) minmax(0, 1fr);
    gap: 16px;
    margin: 22px 0 30px;
}

.collection-sliders--ordered-only {
    grid-template-columns: minmax(0, 1fr) minmax(0, 4fr);
}

.collection-sliders--recent-only {
    grid-template-columns: minmax(0, 4fr) minmax(0, 1fr);
}

.collection-sliders--statistics-only {
    grid-template-columns: minmax(0, 1fr);
}

.cover-slider {
    min-width: 0;
    padding: 12px;
    border: 1px solid rgb(255 255 255 / 9%);
    border-radius: 3px;
    background: #191c25;
}

.ordered-slider-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 9px;
}

.ordered-slider-heading .eyebrow {
    margin: 0;
}

.ordered-slider-controls {
    display: flex;
    gap: 6px;
}

.ordered-slider-controls button {
    display: inline-flex;
    width: 28px;
    height: 28px;
    flex: 0 0 28px;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 1px solid rgb(255 255 255 / 12%);
    border-radius: 2px;
    appearance: none;
    -webkit-appearance: none;
    background: #12151d;
    color: #d9b986;
    cursor: pointer;
}

.ordered-slider-controls button svg {
    display: block;
    width: 14px;
    height: 14px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
}

.ordered-slider-controls button:hover,
.ordered-slider-controls button:focus-visible {
    border-color: rgb(211 165 100 / 55%);
    color: #f0d4a9;
}

.ordered-slider-controls button:focus-visible {
    outline: 1px solid #d3a564;
    outline-offset: 2px;
}

.ordered-slider-track {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding: 2px 2px 8px;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    scrollbar-color: #49464a #191c25;
    scrollbar-width: thin;
}

.ordered-cover {
    width: 76px;
    height: 112px;
    flex: 0 0 76px;
    overflow: hidden;
    border: 1px solid rgb(255 255 255 / 12%);
    background: #11141c;
    box-shadow: 0 8px 18px rgb(0 0 0 / 24%);
    scroll-snap-align: start;
}

.ordered-cover img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform .2s ease;
}

.ordered-cover:hover img {
    transform: scale(1.04);
}

.intro {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    padding: 54px 0 38px;
}

.eyebrow {
    margin: 0 0 12px;
    color: #c99f62;
}

h1,
h2,
p {
    margin-top: 0;
}

h1 {
    margin-bottom: 10px;
    font-family: Georgia, 'Times New Roman', serif;
    font-size: clamp(42px, 5vw, 61px);
    font-weight: 400;
    letter-spacing: -.045em;
    line-height: 1;
}

.heading-period {
    color: #d3a564;
}

.intro-copy {
    margin-bottom: 0;
    color: #a4a3a6;
    font-size: 14px;
}

.collection-total {
    display: flex;
    align-items: baseline;
    gap: 9px;
    padding-bottom: 4px;
}

.total-number {
    color: #e3c18d;
    font-family: Georgia, serif;
    font-size: 34px;
}

.total-label {
    color: #85858b;
}

.collection-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.65fr) minmax(300px, .85fr);
    align-items: start;
    gap: 22px;
}

.library-panel,
.detail-panel {
    border: 1px solid rgb(255 255 255 / 9%);
    border-radius: 3px;
    background: #191c25;
}

.library-panel {
    overflow: hidden;
}

.panel-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    padding: 27px 28px 20px;
}

.panel-heading .eyebrow {
    margin-bottom: 8px;
}

.panel-heading h2 {
    margin-bottom: 0;
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 27px;
    font-weight: 400;
}

.result-count {
    padding-bottom: 5px;
    color: #888990;
    letter-spacing: .05em;
}

.search-form {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin: 0 28px 18px;
    padding: 0 12px 10px;
    border: 1px solid rgb(255 255 255 / 10%);
    border-radius: 2px;
    background: #12151d;
}

.search-icon {
    color: #a5a3a0;
    font-size: 24px;
    line-height: 1;
    transform: rotate(-20deg);
}

.search-form input[type="search"] {
    width: auto;
    flex: 1 1 180px;
    min-width: 0;
    height: 44px;
    border: 0;
    outline: 0;
    background: transparent;
    color: #f3f0e9;
    font-size: 13px;
}

.search-form input[type="search"]::placeholder {
    color: #777980;
}

#collection-type-filter {
    max-width: 125px;
    flex: 0 1 125px;
    height: 34px;
    padding: 0 22px 0 9px;
    border: 1px solid rgb(255 255 255 / 10%);
    border-radius: 2px;
    outline: 0;
    background: #191c25;
    color: #d7d4ce;
    cursor: pointer;
    font-size: 11px;
}

#collection-type-filter:focus {
    border-color: rgb(211 165 100 / 70%);
}

.filter-select {
    max-width: 150px;
    flex: 0 1 150px;
    height: 34px;
    padding: 0 22px 0 9px;
    border: 1px solid rgb(255 255 255 / 10%);
    border-radius: 2px;
    outline: 0;
    background: #191c25;
    color: #d7d4ce;
    cursor: pointer;
    font-size: 11px;
}

.filter-select:focus {
    border-color: rgb(211 165 100 / 70%);
}

.format-filter {
    position: relative;
    flex: 0 0 auto;
}

.format-filter > summary,
.year-filter > summary {
    min-width: 112px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 0 10px;
    border: 1px solid rgb(255 255 255 / 10%);
    border-radius: 2px;
    color: #d7d4ce;
    cursor: pointer;
    font-size: 11px;
    list-style: none;
    white-space: nowrap;
}

.format-filter > summary::-webkit-details-marker {
    display: none;
}

.format-filter > summary::after {
    content: "\25BE";
    color: #c99f62;
}

.format-options,
.year-options {
    position: absolute;
    z-index: 5;
    top: calc(100% + 6px);
    left: 0;
    width: max-content;
    min-width: 190px;
    max-height: 260px;
    overflow-y: auto;
    padding: 7px;
    border: 1px solid rgb(255 255 255 / 12%);
    border-radius: 2px;
    background: #20232c;
    box-shadow: 0 12px 30px rgb(0 0 0 / 40%);
}

.format-options label,
.year-options a {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 7px;
    color: #dedbd4;
    cursor: pointer;
    font-size: 11px;
}

.year-options a {
    text-decoration: none;
}

.format-options label:hover,
.year-options a:hover,
.year-options a:focus-visible,
.year-options a[aria-current="true"] {
    background: rgb(255 255 255 / 5%);
}

.format-options input {
    width: 14px;
    height: 14px;
    flex: 0 0 14px;
    margin: 0;
    accent-color: #d3a564;
}

.search-form:focus-within {
    border-color: rgb(211 165 100 / 70%);
}

.search-actions {
    display: flex;
    flex: 0 0 100%;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
}

.active-filters {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 9px 14px;
    margin: -4px 28px 16px;
    padding: 11px 12px;
    border: 1px solid rgb(211 165 100 / 22%);
    border-radius: 2px;
    background: rgb(211 165 100 / 5%);
}

.active-filters-label {
    padding-top: 5px;
    color: #c99f62;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: .12em;
}

.active-filter-chips {
    display: flex;
    flex: 1 1 80%;
    flex-wrap: wrap;
    align-items: center;
    gap: 7px;
}

.active-filter-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 27px;
    padding: 4px 8px;
    border: 1px solid rgb(255 255 255 / 12%);
    border-radius: 2px;
    background: #20232c;
    color: #dedbd4;
    font-size: 10px;
    text-decoration: none;
}

.active-filter-chip:hover,
.active-filter-chip:focus-visible {
    border-color: rgb(211 165 100 / 65%);
    color: #fff;
}

.active-filter-remove {
    color: #c99f62;
    font-size: 15px;
    line-height: 1;
}

.active-filters-clear {
    padding: 5px 3px;
    color: #c99f62;
    font-size: 10px;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.search-button {
    height: 30px;
    padding: 0 14px;
    border: 0;
    border-radius: 2px;
    background: #d3a564;
    color: #171820;
    cursor: pointer;
    font-size: 11px;
    font-weight: 700;
}

.search-button:hover {
    background: #e2bb83;
}

.clear-search {
    color: #aaa9ac;
    font-size: 11px;
}

.title-table-wrap {
    max-height: min(88vh, 1200px);
    overflow: auto;
    scroll-padding-top: 48px;
    scrollbar-color: #49464a #191c25;
    scrollbar-width: thin;
}

.title-table-wrap:focus {
    outline: none;
}

.title-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

.title-table th {
    position: sticky;
    top: 0;
    z-index: 1;
    height: 39px;
    padding: 0 12px;
    border-top: 1px solid rgb(255 255 255 / 8%);
    border-bottom: 1px solid rgb(255 255 255 / 8%);
    background: #1c1f28;
    color: #888990;
    font-size: 9px;
    text-align: left;
}

.sortable-heading,
.sort-arrows {
    display: inline-flex;
    align-items: center;
}

.sortable-heading {
    gap: 7px;
}

.sort-arrows {
    gap: 2px;
}

.sort-arrows a {
    display: inline-flex;
    width: 14px;
    height: 20px;
    align-items: center;
    justify-content: center;
    border-radius: 2px;
    color: #777980;
    font-size: 13px;
    line-height: 1;
    text-decoration: none;
}

.sort-arrows a:hover,
.sort-arrows a[aria-current="true"] {
    background: rgb(211 165 100 / 12%);
    color: #e2bb83;
}

.sort-arrows a:focus-visible {
    outline: 1px solid #d3a564;
    outline-offset: 1px;
}

.title-table th:first-child,
.title-table td:first-child {
    padding-left: 28px;
}

.title-table th:last-child,
.title-table td:last-child {
    padding-right: 28px;
}

.title-table th.column-format {
    width: 135px;
}

.title-table th.column-year {
    width: 75px;
}

.title-table th.column-runtime {
    width: 90px;
}

.title-table th.column-purchased {
    width: 135px;
}

.title-table th.column-collection {
    width: 112px;
}

.title-table td {
    height: 53px;
    padding: 7px 12px;
    border-bottom: 1px solid rgb(255 255 255 / 5%);
    color: #c7c5c2;
    font-size: 12px;
}

.title-table tbody tr:last-child td {
    border-bottom: 0;
}

.title-table tbody tr:hover td,
.title-table tbody tr.is-selected td {
    background: #20232c;
}

.title-link {
    display: flex;
    align-items: center;
    gap: 11px;
    width: 100%;
    color: #e9e6df;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.4;
}

.title-link:hover,
.is-selected .title-link {
    color: #e5bd83;
}

.title-link:focus-visible {
    outline: 1px solid #d3a564;
    outline-offset: 3px;
}

.boxset-child-title:focus-visible {
    outline: none;
}

.alternate-title {
    color: #aaa9ac;
    font-size: .88em;
    font-weight: 400;
}

.title-link .alternate-title {
    color: #96969a;
}

.boxset-disclosure {
    margin: 7px 0 0 16px;
    color: #d3a564;
    font-size: 10px;
}

.boxset-disclosure summary {
    width: fit-content;
    cursor: pointer;
    list-style: none;
}

.boxset-disclosure summary::-webkit-details-marker {
    display: none;
}

.boxset-disclosure summary::before {
    display: inline-block;
    width: 14px;
    content: '+';
    color: #d3a564;
    font-size: 13px;
}

.boxset-disclosure[open] summary::before {
    content: '−';
}

.boxset-disclosure summary:hover {
    color: #e8c794;
}

.boxset-children {
    display: grid;
    gap: 5px;
    margin: 9px 0 4px 14px;
    padding-left: 11px;
    border-left: 1px solid rgb(211 165 100 / 35%);
}

.boxset-child {
    display: grid;
    gap: 5px;
    padding: 7px 9px;
    border: 1px solid rgb(255 255 255 / 6%);
    background: #171a22;
}

.boxset-child:hover {
    border-color: rgb(211 165 100 / 35%);
    background: #20232c;
}

.boxset-child.is-selected {
    border-color: rgb(211 165 100 / 65%);
    background: rgb(211 165 100 / 10%);
    box-shadow: inset 2px 0 #d3a564;
}

.boxset-child.is-selected .boxset-child-title {
    color: #e8c794;
}

.boxset-child-title {
    color: #e2dfd8;
    font-size: 11px;
}

.boxset-child-meta {
    display: flex;
    align-items: center;
    gap: 9px;
    color: #96969a;
    font-size: 10px;
}

.title-marker {
    width: 5px;
    height: 5px;
    flex: 0 0 auto;
    border-radius: 50%;
    background: #7a7b80;
}

.is-selected .title-marker {
    background: #d3a564;
    box-shadow: 0 0 8px rgb(211 165 100 / 45%);
}

.format-tag {
    display: inline-block;
    padding: 5px 7px;
    border: 1px solid rgb(255 255 255 / 10%);
    border-radius: 2px;
    color: #c8c3bb;
    font-size: 10px;
    white-space: nowrap;
}

.metadata-filter-link {
    color: inherit;
    text-decoration: underline;
    text-decoration-color: rgb(211 165 100 / 45%);
    text-underline-offset: 3px;
}

.metadata-filter-link:hover,
.metadata-filter-link:focus-visible {
    color: #e5bd83;
    text-decoration-color: currentColor;
}

.metadata-filter-link:focus-visible {
    outline: 1px solid #d3a564;
    outline-offset: 2px;
}

.title-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 12px;
}

.date-cell,
.year-cell,
.runtime-cell,
.collection-cell,
.muted-value {
    color: #96969a !important;
    font-size: 11px !important;
    white-space: nowrap;
}

.list-pagination {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 28px;
    border-top: 1px solid rgb(255 255 255 / 7%);
    color: #85858b;
    font-size: 11px;
}

.list-pagination a {
    color: #d9b986;
    text-decoration: none;
}

.list-pagination a:hover,
.list-pagination a:focus-visible {
    color: #f0d4a9;
}

.list-pagination a:focus-visible {
    outline: 1px solid #d3a564;
    outline-offset: 3px;
}

.pagination-jump {
    display: flex;
    align-items: center;
    gap: 7px;
}

.pagination-jump select {
    min-width: 90px;
    padding: 5px 22px 5px 8px;
    border: 1px solid rgb(255 255 255 / 12%);
    border-radius: 2px;
    background: #191c25;
    color: #d7d4ce;
    font: inherit;
}

.pagination-jump select:focus-visible {
    outline: 1px solid #d3a564;
    outline-offset: 2px;
}

.pagination-disabled {
    color: #55575e;
}

.list-footnote {
    margin: 0;
    padding: 13px 28px;
    border-top: 1px solid rgb(255 255 255 / 7%);
    color: #85858b;
    font-size: 11px;
}

.empty-list {
    height: 180px !important;
    color: #aaa9ac !important;
    text-align: center;
}

.empty-list span,
.empty-list strong {
    display: block;
}

.empty-list strong {
    margin: 5px 0;
    color: #ece9e1;
    font-size: 13px;
}

.empty-symbol {
    font-size: 26px;
}

.detail-panel {
    position: sticky;
    top: 20px;
    min-height: 590px;
    display: flex;
    flex-direction: column;
    padding: 22px;
    background:
        radial-gradient(ellipse at 50% 37%, rgb(145 105 60 / 13%), transparent 52%),
        #191c25;
}

.boxset-parent-link {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 5px 8px;
    margin-bottom: 16px;
    padding: 9px 10px;
    border-left: 2px solid #d3a564;
    background: rgb(211 165 100 / 7%);
    color: #aaa9ac;
    font-size: 10px;
}

.boxset-parent-link a {
    color: #e5bd83;
    text-decoration: none;
}

.boxset-parent-link a:hover,
.boxset-parent-link a:focus-visible {
    color: #f0d4a9;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.detail-kicker {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    color: #cfaa76;
    font-size: 9px;
}

.status-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #d3a564;
    box-shadow: 0 0 8px rgb(211 165 100 / 70%);
}

.covers-spread {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin: 22px 0 24px;
}

.cover-item {
    min-width: 0;
    margin: 0;
}

.cover-item figcaption {
    margin-top: 8px;
    color: #aaa9ac;
    font-size: 10px;
    text-align: center;
}

.cover-frame {
    position: relative;
    width: 100%;
    height: auto;
    aspect-ratio: 2 / 3;
    display: grid;
    place-items: center;
    overflow: hidden;
    border: 1px solid rgb(255 255 255 / 12%);
    background: #11141c;
    box-shadow: 0 20px 36px rgb(0 0 0 / 28%);
}

.cover-trigger {
    padding: 0;
    cursor: zoom-in;
}

.cover-trigger:focus-visible {
    outline: 2px solid #d3a564;
    outline-offset: 3px;
}

.cover-image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.cover-sheen {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(110deg, rgb(255 255 255 / 6%), transparent 27%, transparent 76%, rgb(255 255 255 / 4%));
}

.boxset-detail-contents {
    margin: 0 0 24px;
    padding: 11px 12px;
    border: 1px solid rgb(211 165 100 / 24%);
    background: rgb(17 20 28 / 55%);
}

.boxset-detail-contents > summary {
    color: #d3a564;
    cursor: pointer;
    font-size: 11px;
    font-weight: 600;
    list-style: none;
}

.boxset-detail-contents > summary::-webkit-details-marker {
    display: none;
}

.boxset-detail-contents > summary::before {
    display: inline-block;
    width: 16px;
    content: '+';
    color: #d3a564;
    font-size: 14px;
}

.boxset-detail-contents[open] > summary::before {
    content: '−';
}

.boxset-detail-contents > summary:hover {
    color: #e8c794;
}

.boxset-detail-children {
    display: grid;
    gap: 16px;
    margin-top: 16px;
}

.boxset-detail-child {
    min-width: 0;
    padding-top: 12px;
    border-top: 1px solid rgb(255 255 255 / 8%);
}

.boxset-detail-child h3 {
    margin: 0 0 10px;
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 14px;
    font-weight: 400;
}

.boxset-detail-child h3 a {
    color: #e9e6df;
    text-decoration: none;
}

.boxset-detail-child h3 a:hover,
.boxset-detail-child h3 a:focus-visible {
    color: #e5bd83;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.boxset-detail-covers {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}

.boxset-detail-covers .cover-item figcaption {
    margin-top: 5px;
    font-size: 9px;
}

.cover-dialog {
    position: fixed;
    inset: 50% auto auto 50%;
    margin: 0;
    transform: translate(-50%, -50%);
    max-width: min(94vw, 1100px);
    max-height: 94vh;
    padding: 48px 20px 20px;
    overflow: visible;
    border: 1px solid rgb(255 255 255 / 14%);
    background: #13151c;
    box-shadow: 0 24px 90px rgb(0 0 0 / 65%);
}

.cover-dialog::backdrop {
    background: rgb(5 6 10 / 84%);
    backdrop-filter: blur(5px);
}

.cover-dialog-image {
    display: block;
    max-width: min(88vw, 1060px);
    max-height: 84vh;
    object-fit: contain;
}

.cover-dialog-close {
    position: absolute;
    top: 8px;
    right: 10px;
    width: 34px;
    height: 34px;
    border: 1px solid rgb(255 255 255 / 15%);
    border-radius: 50%;
    background: #20232c;
    color: #f3f0e9;
    cursor: pointer;
    font-size: 23px;
    line-height: 1;
}

.cover-dialog-close:hover {
    border-color: #d3a564;
    color: #e8c794;
}

.detail-copy .eyebrow {
    margin-bottom: 9px;
    font-size: 9px;
}

.detail-copy h2 {
    margin-bottom: 12px;
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 25px;
    font-weight: 400;
    letter-spacing: -.02em;
    line-height: 1.2;
}

.detail-specifications {
    margin-top: 25px;
}

.detail-section-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 12px;
}

.detail-section-heading .eyebrow {
    margin-bottom: 0;
}

.detail-back-link {
    flex: 0 0 auto;
    color: #888990;
    font-size: 9px;
    text-decoration: none;
}

.detail-back-link:hover,
.detail-back-link:focus-visible {
    color: #e8c794;
}

.detail-back-link:focus-visible {
    outline: 1px solid #d3a564;
    outline-offset: 3px;
}

.specification-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

.specification-table tr {
    border-top: 1px solid rgb(255 255 255 / 7%);
}

.specification-table tr:last-child {
    border-bottom: 1px solid rgb(255 255 255 / 7%);
}

.specification-table th,
.specification-table td {
    padding: 9px 0;
    font-size: 11px;
    line-height: 1.4;
    vertical-align: top;
}

.specification-table th {
    width: 43%;
    padding-right: 12px;
    color: #8f9096;
    font-weight: 400;
}

.specification-table td {
    color: #e2dfd8;
    overflow-wrap: anywhere;
}

.detail-jumpmarks {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.detail-jumpmarks a {
    padding: 5px 8px;
    border: 1px solid rgb(255 255 255 / 10%);
    border-radius: 2px;
    color: #b7b4ae;
    font-size: 10px;
    text-decoration: none;
    transition: border-color .15s ease, color .15s ease, background .15s ease;
}

.detail-jumpmarks a:hover,
.detail-jumpmarks a:focus-visible {
    border-color: rgb(211 165 100 / 55%);
    background: rgb(211 165 100 / 8%);
    color: #e8c794;
}

.detail-jumpmarks a:focus-visible {
    outline: 1px solid #d3a564;
    outline-offset: 2px;
}

.detail-specifications[id] {
    scroll-margin-top: 20px;
}

.detail-foot {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-top: auto;
    padding-top: 22px;
    color: #777980;
    font-size: 8px;
    letter-spacing: .12em;
}

.detail-empty {
    display: flex;
    flex: 1;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px 12px;
    text-align: center;
}

.detail-empty .eyebrow {
    margin: 27px 0 10px;
    font-size: 9px;
}

.detail-empty h2 {
    margin-bottom: 11px;
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 27px;
    font-weight: 400;
    line-height: 1.15;
}

.detail-empty > p:last-child {
    max-width: 225px;
    margin-bottom: 0;
    color: #9c9ba0;
    font-size: 12px;
    line-height: 1.65;
}

.empty-art {
    position: relative;
    width: 112px;
    height: 126px;
}

.art-back,
.art-front {
    position: absolute;
    width: 72px;
    height: 98px;
    border: 1px solid rgb(211 165 100 / 45%);
    background: #23232a;
    transform: rotate(-10deg);
}

.art-back {
    top: 10px;
    left: 13px;
}

.art-front {
    top: 17px;
    left: 31px;
    display: grid;
    place-items: center;
    border-color: rgb(255 255 255 / 16%);
    background: linear-gradient(145deg, #42352b, #1d2027 74%);
    transform: rotate(7deg);
}

.art-star {
    position: absolute;
    top: 46px;
    left: 53px;
    color: #d7ae75;
    font-size: 30px;
}

.page-footer {
    display: flex;
    justify-content: space-between;
    padding: 25px 2px 0;
    font-size: 11px;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    clip-path: inset(50%);
}

@media (max-width: 980px) {
    .page-shell {
        padding-right: 32px;
        padding-left: 32px;
    }

    .collection-layout {
        grid-template-columns: minmax(0, 1.35fr) minmax(270px, .85fr);
        gap: 14px;
    }

    .panel-heading {
        padding-right: 20px;
        padding-left: 20px;
    }

    .search-form {
        margin-right: 20px;
        margin-left: 20px;
    }

    .title-table th:first-child,
    .title-table td:first-child {
        padding-left: 20px;
    }

    .title-table th:last-child,
    .title-table td:last-child {
        padding-right: 20px;
    }
}

@media (max-width: 720px) {
    .page-shell {
        padding: 0 18px 24px;
    }

    .topbar {
        height: 68px;
    }

    .topbar-note {
        font-size: 8px;
    }

    .intro {
        padding: 40px 0 27px;
    }

    .collection-layout {
        grid-template-columns: 1fr;
    }

    .collection-sliders {
        grid-template-columns: minmax(0, 1fr);
    }

    .price-statistics {
        padding: 20px;
    }

    .statistics-page {
        padding: 40px 0;
    }

    .statistics-section-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 8px;
    }

    .statistics-footnote {
        text-align: left;
    }

    .price-summary,
    .price-rankings {
        grid-template-columns: minmax(0, 1fr);
    }

    .year-statistics {
        padding: 20px;
    }

    .year-statistics-content {
        grid-template-columns: minmax(0, 1fr);
        gap: 18px;
    }

    .purchase-year-chart-wrap {
        padding: 14px;
    }

    .purchase-year-chart-wrap p {
        flex-direction: column;
        gap: 5px;
    }

    .purchase-year-bar-row,
    .location-bar-row {
        grid-template-columns: minmax(0, 1fr);
        gap: 5px;
        padding: 5px 0;
    }

    .purchase-year-bar-label {
        text-align: left;
    }

    .purchase-year-bar-track {
        width: 100%;
    }

    .purchase-year-list th,
    .purchase-year-list td {
        padding: 9px 5px;
        font-size: 11px;
    }

    .detail-panel {
        position: static;
        min-height: 530px;
    }

    .covers-spread {
        max-width: 500px;
        width: 100%;
        align-self: center;
    }
}

@media (max-width: 480px) {
    .page-shell {
        padding-right: 12px;
        padding-left: 12px;
    }

    .wordmark {
        gap: 8px;
        font-size: 11px;
    }

    .statistics-page {
        padding: 34px 0 42px;
    }

    .topbar-note {
        display: none;
    }

    .intro {
        align-items: flex-start;
        flex-direction: column;
        gap: 14px;
        padding-top: 34px;
    }

    .collection-total {
        flex-wrap: wrap;
        gap: 0 7px;
        max-width: 100%;
    }

    .total-number {
        font-size: 25px;
    }

    .total-label {
        font-size: 9px;
    }

    .panel-heading {
        padding: 22px 15px 17px;
    }

    .search-form {
        gap: 8px;
        margin-right: 14px;
        margin-left: 14px;
        padding: 0 9px 10px;
    }

    .admin-card {
        margin-top: 30px;
        padding: 22px 18px;
    }

    .active-filters {
        margin-right: 14px;
        margin-left: 14px;
    }

    .search-form input[type="search"] {
        flex-basis: calc(100% - 34px);
    }

    .search-form select {
        flex: 1 1 130px;
    }

    .search-button {
        padding: 0 10px;
    }

    .title-table {
        min-width: 620px;
    }

    .title-table-wrap {
        overflow-x: auto;
    }

    .title-table th:first-child,
    .title-table td:first-child {
        padding-left: 14px;
    }

    .title-table th:last-child,
    .title-table td:last-child {
        padding-right: 14px;
    }

    .list-pagination {
        padding-right: 14px;
        padding-left: 14px;
    }

    .list-footnote {
        padding-right: 15px;
        padding-left: 15px;
    }

    .page-footer {
        font-size: 9px;
    }
}
