:root{color-scheme:dark;font-family:"Malgun Gothic","Segoe UI",system-ui,sans-serif;font-synthesis:none;--canvas:#181511;--surface:#211c17;--surface-soft:#28221b;--ink:#f0e5d4;--muted:#bbad99;--border:#4a3d2e;--accent:#dfbb75;--accent-soft:#342a1c;--accent-line:#78613c;--unique:#ff42ef;--unique-soft:#362038;--danger:#ffafa2;--focus:#f1cd84;--radius:6px;color:var(--ink);background:var(--canvas)}
*{box-sizing:border-box}body{margin:0;min-width:320px;min-height:100vh;background:radial-gradient(ellipse at 5% 0%,#44372580,transparent 55%),var(--canvas)}[hidden]{display:none!important}::selection{background:#77613c;color:#fff}
button,input,select{font:inherit}button,a,select,input,summary{-webkit-tap-highlight-color:transparent;touch-action:manipulation}button,summary,select{cursor:pointer}button,a,select{transition:background-color 140ms ease,color 140ms ease,border-color 140ms ease}button:disabled{opacity:.5;cursor:default}a{color:inherit}:where(a,button,input,select,summary,[tabindex]):focus-visible{outline:2px solid var(--focus);outline-offset:3px}
svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}h1,h2,h3,p{margin:0}h1,h2,h3{overflow-wrap:anywhere}.sr-only{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}.skip-link{position:absolute;top:8px;left:12px;z-index:10;padding:12px;background:var(--accent);color:#181511;transform:translateY(-160%)}.skip-link:focus{transform:translateY(0)}
.masthead{background:#171410e8;border-bottom:1px solid var(--border)}.masthead-inner{width:min(1180px,100% - 40px);min-height:64px;margin:auto;display:flex;align-items:center;gap:32px}.brand{display:flex;align-items:center;gap:10px;text-decoration:none;flex-shrink:0}.brand-mark{display:grid;place-content:center;position:relative;width:34px;height:36px;border:1px solid var(--accent-line);border-radius:4px;background:#30261b;color:#f8edda;font-size:24px;font-weight:800;letter-spacing:-3px;padding-right:6px}.brand-mark>span{position:absolute;right:5px;top:1px;color:var(--accent)}.brand-name{font-size:14px;font-weight:700}.brand-name>span{display:block;margin-top:2px;color:var(--muted);font-size:9px;letter-spacing:.1em;font-weight:400}
.main-nav{display:flex;align-self:stretch;gap:24px}.main-nav a{display:flex;align-items:center;min-height:44px;text-decoration:none;font-size:13px;color:var(--muted);border-bottom:2px solid transparent}.main-nav a[aria-current]{color:var(--accent);border-bottom-color:var(--accent);font-weight:700}.main-nav a:hover{color:var(--ink)}.masthead-note{margin-left:auto;color:var(--muted);font-size:11px}
main{width:min(1180px,100% - 40px);margin:0 auto;padding:26px 0 20px}.page-header{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:20px}.eyebrow{margin-bottom:6px;font-size:10px;line-height:1.5;letter-spacing:.13em;font-weight:600;color:var(--accent)}h1{font-size:28px;line-height:1.4;letter-spacing:-.04em}.heading-dot{color:var(--accent)}.source-path{display:flex;flex-wrap:wrap;align-items:center;gap:9px;color:var(--muted);font-size:12px}.source-path>span[aria-hidden]{color:#7d6b53}.unique-badge{display:inline-flex;padding:5px 9px;color:var(--unique);background:var(--unique-soft);border:1px solid #733768;border-radius:3px;font-weight:700}
.snapshot-panel{display:flex;align-items:center;gap:20px;padding:15px 20px;border:1px solid var(--border);border-radius:var(--radius);background:#221c15c9;box-shadow:inset 0 0 0 2px #16120d55}.snapshot-icon{width:35px;height:35px;display:grid;place-items:center;color:var(--accent)}.snapshot-details{display:flex;flex:1;flex-wrap:wrap;gap:16px 24px;margin:0;min-width:0}.snapshot-details>div+div{border-left:1px solid var(--border);padding-left:24px}.snapshot-details dt{color:var(--muted);font-size:11px;line-height:1.5}.snapshot-details dd{display:flex;flex-wrap:wrap;align-items:baseline;gap:6px;margin:4px 0 0;font-size:14px;font-weight:600;line-height:1.5;font-variant-numeric:tabular-nums}.snapshot-details strong{font-weight:700}.timezone,.data-unit{color:var(--muted);font-size:10px;font-weight:400}
.refresh-actions{text-align:right;max-width:240px}.primary-button,.secondary-button{display:inline-flex;justify-content:center;align-items:center;gap:7px;min-height:44px;padding:9px 16px;border-radius:4px;font-size:13px;font-weight:700;border:1px solid #957343;color:#ffe5b1;background:linear-gradient(#5a4429,#352717);box-shadow:inset 0 0 0 1px #100d0a}.primary-button:hover:not(:disabled){background:#624a2c;border-color:var(--accent)}.primary-button[aria-busy="true"] .refresh-icon{animation:spin 1.5s linear infinite}.refresh-actions p{margin-top:5px;color:var(--muted);font-size:10px;line-height:1.5;overflow-wrap:anywhere}.secondary-button{background:var(--surface);color:var(--ink);border-color:var(--border)}.secondary-button:hover{background:var(--surface-soft)}
.history-status.error{color:var(--danger)}.text-button{min-height:44px;padding:7px 8px;color:var(--accent);border:0;border-radius:3px;background:transparent;font-size:12px;text-decoration:underline;text-underline-offset:3px}.text-button:hover{background:var(--accent-soft)}
.content-layout{display:block}.panel{min-width:0}.catalog-panel{border-top:1px solid var(--accent-line)}.panel-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:16px 2px}.catalog-panel>.panel-heading .eyebrow{display:none}.panel-heading h2{font-size:16px;line-height:1.5}.count-badge{display:inline-flex;vertical-align:middle;margin-left:5px;padding:1px 6px;border-radius:3px;font-size:11px;color:var(--accent);background:#362b1c;border:1px solid var(--border);font-weight:500}.section-note{font-size:11px;line-height:1.7;color:var(--muted);text-align:right}
.filter-bar{display:flex;gap:12px;padding-bottom:10px}.search-field{flex:1;min-width:0}.slot-field{width:200px;min-width:0}.filter-bar label{display:block;font-size:11px;line-height:1.5;color:var(--muted);margin-bottom:5px}.search-input{position:relative}.search-input svg{position:absolute;left:12px;top:50%;transform:translateY(-50%);color:var(--muted);width:17px;height:17px;pointer-events:none}input[type="search"],select{width:100%;min-width:0;min-height:44px;padding:9px 12px;color:var(--ink);border:1px solid #67543c;background:#171410;border-radius:4px;font-size:14px;line-height:1.5}input[type="search"]{padding-left:38px}input::placeholder{color:#a49480}input[type="search"]:focus,select:focus{border-color:var(--accent)}
.list-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:44px;margin-bottom:8px}.favorite-filter{display:inline-flex;align-items:center;gap:7px;min-height:44px;color:var(--muted);font-size:12px;cursor:pointer}.favorite-filter input{width:17px;height:17px;margin:0;accent-color:var(--accent)}#sort-price{display:inline-flex;align-items:center;gap:8px;min-height:44px;padding:8px 10px;color:var(--muted);border:1px solid transparent;border-radius:3px;background:transparent;font-size:12px}#sort-price:hover{color:var(--accent);background:var(--accent-soft);border-color:var(--border)}
/* The reference layout: two compact rows of framed unique cards. */
.card-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 12px}.auction-card{position:relative;min-width:0;border:1px solid #68533a;border-radius:5px;background:linear-gradient(115deg,#352b20b8,#15120ff2 80%);box-shadow:inset 0 0 0 2px #16120e,inset 0 0 0 3px #76604730,0 2px 3px #0003}.auction-card:hover{border-color:#ac8650;background:linear-gradient(115deg,#423423,#211911)}.auction-card.is-selected{border-color:var(--accent);background:linear-gradient(115deg,#483623,#231b13);box-shadow:inset 0 0 0 2px #18120d,inset 0 0 0 3px #92714960}
.card-name{display:grid;grid-template-columns:64px minmax(0,1fr);align-items:start;gap:10px;width:100%;min-height:100px;height:100%;padding:10px;border:0;border-radius:4px;background:transparent;color:var(--ink);text-align:left}.card-name:focus-visible{outline-offset:-4px}.card-art{position:relative;display:grid;place-items:center;width:64px;height:64px;margin-top:1px;overflow:hidden;border:1px solid #ed47d8;border-radius:2px;background:#090808;box-shadow:0 0 0 1px #080706,inset 0 0 0 2px #0d0a0b}.card-art img{display:block;width:100%;height:100%;object-fit:contain}.art-unavailable::before{content:'';width:32px;height:42px;border:2px solid #68576a;border-radius:2px;transform:rotate(-13deg)}.art-unavailable::after{content:'';position:absolute;width:18px;height:18px;border:1px solid #9d769d;transform:rotate(32deg)}
.card-copy{display:flex;flex-direction:column;min-width:0;min-height:78px}.card-title{display:block;padding-right:27px;color:var(--unique);font-size:16px;line-height:1.4;font-weight:700;overflow-wrap:anywhere;word-break:keep-all;text-shadow:0 1px 2px #000}.option-cell{display:block;margin-top:3px;padding-right:14px;color:#ecdfcc;font-size:12px;line-height:1.55;font-weight:600;word-break:keep-all;overflow-wrap:anywhere}.card-bottom{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:end;gap:4px 10px;margin-top:auto;padding-top:9px}.slot-cell{color:#bfa98c;font-size:11px;line-height:1.55;word-break:keep-all;overflow-wrap:anywhere}.price-cell{display:inline-flex;align-items:baseline;gap:5px;margin-left:auto;color:#ffe0a0;font-size:16px;line-height:1.4;font-weight:700;font-variant-numeric:tabular-nums;white-space:nowrap}.price-unit{color:#baac94;font-size:10px;font-weight:500}.price-cell.is-missing{color:#ae9dc5;font-size:11px;font-weight:500}
.favorite-toggle{position:absolute;top:2px;right:1px;display:grid;place-items:center;width:44px;height:44px;padding:0;border:0;border-radius:4px;color:#81776c;background:transparent}.favorite-toggle svg{width:21px;height:21px;fill:currentColor;stroke:none}.favorite-toggle:hover{color:#cbb083}.favorite-toggle.is-favorite{color:#edc66e}
.catalog-message{display:flex;align-items:center;flex-direction:column;justify-content:center;min-height:260px;gap:14px;padding:30px 20px;border:1px solid var(--border);border-radius:var(--radius);background:#1c1712;text-align:center;color:var(--muted)}.catalog-message>svg{width:40px;height:40px;color:var(--accent)}.catalog-message h3{color:var(--ink);font-size:16px}.catalog-message p{max-width:340px;font-size:13px;line-height:1.8;word-break:keep-all;overflow-wrap:anywhere}.spinner{display:inline-block;width:22px;height:22px;border:2px solid var(--border);border-top-color:var(--accent);border-radius:50%;animation:spin .9s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.catalog-footnote{padding:14px 2px;color:var(--muted);font-size:11px;line-height:1.7}
/* Price history opens above the list without disrupting its two-column layout. */
.selected-card{display:grid;grid-template-columns:64px minmax(0,1fr);align-items:start;gap:14px}.selected-card-copy{min-width:0}#history-card-art .card-art{width:64px;height:64px;margin-top:0}.selected-card h3{word-break:keep-all;overflow-wrap:anywhere}
.history-dialog{width:min(540px,calc(100% - 28px));max-height:calc(100dvh - 40px);margin:auto;padding:0;border:1px solid var(--accent-line);border-radius:8px;color:var(--ink);background:var(--surface);box-shadow:0 20px 90px #000a;overflow-y:auto}.history-dialog::backdrop{background:#090806cc}.history-panel>.panel-heading{padding:16px 22px;border-bottom:1px solid var(--border)}.close-history{display:grid;place-items:center;width:44px;height:44px;border:1px solid var(--border);border-radius:4px;color:var(--muted);background:#1b1611}.close-history:hover{color:var(--ink);background:var(--accent-soft)}.history-placeholder{padding:36px 24px;text-align:center}.chart-emblem{color:var(--accent);margin-bottom:18px}.chart-emblem svg{width:40px;height:40px}.history-placeholder h3{font-size:16px}.history-placeholder p{margin-top:8px;color:var(--muted);font-size:12px;line-height:1.8}
#history-content{padding:22px}.slot-tag{display:inline-flex;padding:3px 7px;border:1px solid var(--border);border-radius:3px;color:var(--muted);font-size:11px;line-height:1.5}.selected-card h3{margin-top:10px;color:var(--unique);font-size:20px;line-height:1.5}.selected-card p{margin-top:5px;color:#d7c7af;font-size:13px;line-height:1.8;word-break:keep-all;overflow-wrap:anywhere}.history-price{margin-top:20px}.history-price>span{color:var(--muted);font-size:11px}.history-price>div{display:flex;flex-wrap:wrap;align-items:baseline;gap:7px;margin-top:5px}.history-price strong{color:#ffe0a0;font-size:30px;line-height:1.4;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.history-price strong.is-missing{font-size:22px}#history-price-unit{font-size:12px;color:var(--muted)}.history-status{margin-top:12px;color:var(--muted);font-size:12px;line-height:1.7;word-break:keep-all;overflow-wrap:anywhere}
.chart-figure{margin:20px 0 0}.chart-figure figcaption{display:flex;align-items:center;justify-content:space-between;gap:12px;color:var(--muted);font-size:11px}.chart-figure figcaption>span:first-child{display:flex;align-items:center;gap:6px}.chart-figure figcaption i{display:block;width:13px;height:2px;background:var(--accent)}.price-chart{width:100%;margin-top:14px}.price-chart>svg{display:block;width:100%;height:auto;overflow:visible;stroke:none}.price-chart .chart-grid{stroke:var(--border);stroke-width:1}.price-chart .chart-label{font-family:inherit;fill:var(--muted);stroke:none;font-size:10px}.price-chart .chart-line{stroke:var(--accent);stroke-width:2.5;fill:none}.price-chart .chart-dot{fill:var(--accent);stroke:var(--surface);stroke-width:2}.chart-summary{margin-top:12px;color:var(--muted);font-size:11px;line-height:1.8;word-break:keep-all;overflow-wrap:anywhere}
.history-records{margin-top:18px;border-top:1px solid var(--border)}.history-records summary{min-height:44px;padding:14px 0 5px;font-size:12px;line-height:1.5;color:var(--muted)}.history-records summary>span{float:right;font-variant-numeric:tabular-nums}.record-table-wrap{max-height:300px;overflow-y:auto;margin-top:8px}.history-records table{width:100%;border-collapse:collapse;table-layout:fixed;font-size:11px;line-height:1.8;font-variant-numeric:tabular-nums}.history-records th,.history-records td{padding:9px 2px;border-bottom:1px solid var(--border);text-align:left;overflow-wrap:anywhere}.history-records th{color:var(--muted);font-weight:500}.history-records th:first-child{width:62%}.history-records th:last-child,.history-records td:last-child{text-align:right}
.history-note{display:flex;align-items:start;gap:9px;padding:16px 22px;border-top:1px solid var(--border);color:var(--muted);background:#1b1712}.history-note svg{width:15px;height:15px;margin-top:2px}.history-note p{font-size:11px;line-height:1.8;overflow-wrap:anywhere}.page-footer{display:flex;justify-content:space-between;flex-wrap:wrap;gap:16px;margin-top:16px;padding-top:18px;border-top:1px solid var(--border);color:var(--muted);font-size:10px;line-height:1.7}.footer-brand{letter-spacing:.08em}.footer-brand>span{margin-inline:8px;color:#887153}
.analytics-notice{flex-basis:100%;min-width:0;font-size:12px;line-height:1.8}.analytics-notice summary{min-height:28px;padding-block:3px;cursor:pointer}.analytics-notice p{max-width:760px;margin:5px 0 0;word-break:keep-all;overflow-wrap:anywhere}.analytics-notice a{color:var(--accent);text-underline-offset:3px}
@media(max-width:1023px){.snapshot-icon,.masthead-note{display:none}.snapshot-panel{gap:16px;padding:14px}.snapshot-details{gap:16px}.snapshot-details>div+div{padding-left:16px}.refresh-actions{max-width:200px}.refresh-actions p{max-width:170px}.card-name{gap:9px;padding:9px}.card-title{font-size:15px}}
@media(max-width:759px){.card-grid{grid-template-columns:minmax(0,1fr)}.masthead-inner,main{width:calc(100% - 28px)}.masthead-inner{min-height:62px;gap:18px}.main-nav{margin-left:auto;gap:16px}.main-nav a{font-size:11px}.brand-name{font-size:12px}.brand-name>span{font-size:8px}main{padding-top:20px}.page-header{display:block;margin-bottom:16px}h1{font-size:25px}.page-header .eyebrow{display:none}.source-path{margin-top:14px;gap:8px;font-size:11px}.snapshot-panel{display:block}.snapshot-details{gap:12px 18px}.snapshot-details>div+div{padding-left:18px}.snapshot-details dd{font-size:13px}.refresh-actions{display:flex;align-items:center;gap:12px;max-width:none;margin-top:14px;padding-top:12px;border-top:1px solid var(--border);text-align:left}.refresh-actions p{margin-top:0;max-width:220px}.primary-button{flex-shrink:0}.section-note{max-width:160px;font-size:10px}.filter-bar{gap:8px}.slot-field{width:120px}input[type="search"],select{font-size:16px}.card-title{font-size:16px}.option-cell{font-size:12px}.page-footer{flex-direction:column;gap:7px}}
@media(max-width:399px){.brand-name>span{display:none}.brand-mark{width:28px;height:32px;font-size:21px}.brand{gap:7px}.main-nav{gap:12px}.snapshot-details{gap:12px}.snapshot-details>div+div{padding-left:12px}.snapshot-details>div:first-child{width:100%}.snapshot-details>div:nth-child(2){padding-left:0;border-left:0}.card-name{grid-template-columns:56px minmax(0,1fr)}.card-art{width:56px;height:56px}.card-title{font-size:14px}.option-cell{font-size:12px}.slot-field{width:105px}.section-note{display:none}}
.refresh-actions{max-width:300px}.refresh-button-row{display:flex;justify-content:flex-end;flex-wrap:wrap;gap:8px}.refresh-button-row button{flex-shrink:0}.refresh-button-row svg{width:17px;height:17px}
.collection-progress{margin-top:12px;padding:16px 20px;border:1px solid var(--accent-line);border-radius:var(--radius);background:#282016;box-shadow:inset 0 0 0 2px #16120d55}.progress-heading{display:flex;align-items:baseline;justify-content:space-between;flex-wrap:wrap;gap:7px 16px}.progress-heading h2{font-size:14px;line-height:1.6;color:var(--accent)}#progress-count{color:var(--ink);font-size:13px;font-weight:650;line-height:1.6;font-variant-numeric:tabular-nums}.progress-bar{height:8px;position:relative;margin:11px 0 10px;overflow:hidden;border:1px solid #665032;border-radius:3px;background:#15110c}.progress-bar>span{display:block;height:100%;width:0;background:linear-gradient(90deg,#a77c3f,#e4c382)}.progress-bar.is-indeterminate>span{width:32%;animation:collection-pending 1.8s ease-in-out infinite}.progress-detail{color:var(--ink);font-size:12px;line-height:1.8;word-break:keep-all;overflow-wrap:anywhere}.progress-note{margin-top:3px;color:var(--muted);font-size:11px;line-height:1.8;word-break:keep-all;overflow-wrap:anywhere}.collection-progress.is-paused{border-color:var(--border);background:#211b15}.collection-progress.is-error .progress-heading h2{color:var(--danger)}.collection-progress.is-complete .progress-heading h2{color:#e2d3a1}@keyframes collection-pending{from{transform:translateX(-110%)}to{transform:translateX(430%)}}
@media(max-width:759px){.refresh-actions{flex-wrap:wrap;max-width:none;align-items:start}.refresh-button-row{justify-content:flex-start}.refresh-actions p{flex:1 1 140px;max-width:none}.collection-progress{padding:14px}.progress-heading h2{font-size:13px}#progress-count{font-size:12px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}.progress-bar.is-indeterminate>span{width:100%;opacity:.35}}
