@font-face {
  font-family: Manrope;
  src: url(assets/manrope.ttf) format("truetype");
  font-weight: 200 800;
  font-display: swap;
}
@font-face {
  font-family: Newsreader;
  src: url(assets/newsreader.ttf) format("truetype");
  font-weight: 200 800;
  font-display: swap;
}
@font-face {
  font-family: Barlow;
  src: url(assets/barlow.ttf) format("truetype");
  font-weight: 600;
  font-display: swap;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  font-family: Manrope, Arial, sans-serif;
  font-size: 13px;
  -webkit-font-smoothing: antialiased;
}
button,
input,
select {
  font: inherit;
}
button {
  cursor: pointer;
  user-select: none;
}
button,
a,
input,
select {
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}
button {
  color: inherit;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  border: 0;
  background: none;
}
img {
  max-width: 100%;
  display: block;
}
svg {
  width: 23px;
  height: 23px;
  flex-shrink: 0;
}
p {
  line-height: 1.7;
}
h1,
h2,
h3,
h4,
p {
  margin-top: 0;
}
button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.designbar {
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 28px;
  font:
    10px/1 Manrope,
    sans-serif;
  letter-spacing: 0.3px;
  background: #eeeae3;
  color: #54504b;
  border-bottom: 1px solid #d4cfc7;
}
.designbar > a {
  min-height: 38px;
  display: flex;
  align-items: center;
}
.designbar > div {
  display: flex;
  gap: 3px;
}
.designbar > div a {
  padding: 8px 10px;
  border: 1px solid transparent;
}
.designbar > div a.active {
  border-color: currentColor;
}
.kicker {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.5px;
  line-height: 1.6;
  display: block;
}
.header-tools {
  display: flex;
  align-items: center;
  gap: 20px;
}
.avatar {
  width: 36px;
  height: 36px;
  min-width: 36px;
  border: 1px solid var(--line);
  border-radius: 50%;
  font-size: 10px;
  font-weight: 700;
}
.searchbox {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
}
.searchbox svg {
  width: 19px;
  height: 19px;
}
.searchbox input {
  border: 0;
  background: none;
  color: inherit;
  min-width: 0;
  width: 100%;
  height: 44px;
  outline-offset: 0;
  font-size: 12px;
}
.filter-tabs {
  display: flex;
  align-items: center;
  gap: 20px;
  overflow-x: auto;
  scrollbar-width: none;
}
.filter-tabs button {
  min-height: 44px;
  white-space: nowrap;
  padding: 0;
  position: relative;
  font-size: 12px;
}
.filter-tabs span {
  margin-left: 6px;
  opacity: 0.5;
  font-size: 10px;
}
.filter-tabs .is-current {
  color: var(--accent);
}
.sort {
  display: flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
  font-size: 10px;
}
.sort select {
  min-height: 44px;
  background: transparent;
  border: 0;
  color: inherit;
  font-size: 11px;
  max-width: 160px;
  padding: 0 22px 0 8px;
}
.major-btn,
.sync-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 44px;
  padding: 0 20px;
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
}
.major-btn {
  background: var(--accent);
  color: var(--on-accent);
}
.sync-btn {
  border: 1px solid var(--line);
}
.major-btn span {
  font-size: 18px;
}
.text-btn {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 44px;
  padding: 0;
  font-size: 11px;
  font-weight: 700;
}
.legal {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  font-size: 9px;
  line-height: 1.7;
  color: var(--muted);
  padding: 26px 0 24px;
  border-top: 1px solid var(--line);
  margin-top: 40px;
}
.legal a {
  white-space: nowrap;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.state {
  display: flex;
  gap: 6px;
  align-items: center;
  font-size: 9px;
  line-height: 1.5;
  color: var(--muted);
}
.state i {
  display: block;
  min-width: 4px;
  height: 4px;
  border-radius: 50%;
  background: currentColor;
}
.state-unredeemed {
  color: var(--status);
}
.state-redeemed {
  color: var(--redeemed);
}
.queue-btn {
  min-height: 40px;
  white-space: nowrap;
  font-size: 10px;
  font-weight: 600;
  padding: 0 9px;
  color: var(--muted);
}
.queue-btn.is-selected {
  color: var(--accent);
}
nav {
  display: flex;
  gap: 30px;
}
nav button {
  min-height: 48px;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
  color: var(--muted);
}
nav button.is-current {
  color: var(--ink);
}
nav .sale-count {
  display: inline-flex;
  min-width: 17px;
  align-items: center;
  justify-content: center;
  font-size: 9px;
  margin-left: 7px;
  border: 1px solid var(--line);
  height: 17px;
}
.image-mat {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}
.image-open {
  width: 100%;
  height: 100%;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.image-open img {
  object-fit: contain;
  max-width: 67%;
  height: 82%;
  filter: drop-shadow(0 12px 9px #0002);
}
.image-index {
  position: absolute;
  top: 13px;
  left: 13px;
  font:
    10px Manrope,
    sans-serif;
  color: var(--muted);
}
.image-save {
  position: absolute;
  right: 10px;
  top: 9px;
  width: 40px;
  height: 40px;
  font-size: 21px;
  font-weight: 300;
  border-radius: 50%;
  background: var(--surface);
  color: var(--ink);
}
.image-save.selected {
  background: var(--accent);
  color: var(--on-accent);
  font-size: 15px;
}
.gallery-info {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}
.player-name {
  display: block;
  text-align: left;
  padding: 0;
  min-height: 30px;
}
.copy-count {
  font-size: 10px;
  white-space: nowrap;
  color: var(--muted);
  padding-top: 23px;
}
.product-label {
  font-size: 9px;
  letter-spacing: 0.5px;
  color: var(--muted);
}
.gallery-info p {
  font-size: 10px;
  color: var(--muted);
  margin: 3px 0 0;
  line-height: 1.6;
  min-height: 17px;
}
.gallery-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}
.empty-state {
  grid-column: 1/-1;
  padding: 70px 20px;
  text-align: center;
}
.empty-state > span,
.empty-state h3 {
  font:
    30px Newsreader,
    serif;
}
.empty-state p {
  font-size: 12px;
  color: var(--muted);
}
.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 50;
  width: max-content;
  max-width: calc(100% - 32px);
  padding: 17px 22px;
  background: var(--ink);
  color: var(--bg);
  font-size: 12px;
  line-height: 1.6;
  box-shadow: 0 8px 30px #0003;
  border: 1px solid var(--line);
}
.toast[hidden] {
  display: none;
}
/* Direction 01: editorial catalogue. Typography, rules and photographs carry hierarchy. */
body[data-concept="catalogue"] {
  --bg: #f4f1ea;
  --surface: #faf8f3;
  --ink: #27251f;
  --muted: #756f64;
  --line: #d7d1c7;
  --accent: #b73728;
  --on-accent: #fff8f2;
  --status: #47634e;
  --redeemed: #9b6b59;
  background: var(--bg);
  color: var(--ink);
}
.catalogue-wrap {
  max-width: 1640px;
  margin: auto;
  padding: 0 60px;
}
.catalogue-header {
  height: 100px;
  border-bottom: 1px solid var(--ink);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.wordmark {
  font:
    25px Newsreader,
    Georgia,
    serif;
  font-weight: 500;
  letter-spacing: -1px;
  position: relative;
}
.wordmark span {
  margin-left: 5px;
  font-style: italic;
}
.wordmark sup {
  font:
    8px Manrope,
    sans-serif;
  position: absolute;
  right: -12px;
  top: 3px;
}
.catalogue-header nav button.is-current {
  border-bottom: 2px solid var(--accent);
}
.account-name {
  font-size: 10px;
}
.catalogue-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  padding: 46px 0 42px;
  border-bottom: 1px solid var(--line);
}
.catalogue-heading .kicker {
  color: var(--accent);
  font-size: 9px;
  letter-spacing: 2px;
}
.catalogue-heading h1 {
  font:
    clamp(48px, 5.5vw, 78px) / 0.98 Newsreader,
    Georgia,
    serif;
  letter-spacing: -2px;
  font-weight: 400;
  margin: 24px 0 0;
}
.catalogue-heading h1 em {
  font-weight: 350;
}
.heading-note {
  max-width: 370px;
  padding-bottom: 3px;
}
.edition {
  font-size: 9px;
  letter-spacing: 1.3px;
  color: var(--muted);
}
.heading-note p {
  font:
    20px/1.45 Newsreader,
    serif;
  max-width: 270px;
  margin: 18px 0 25px;
}
.heading-note > div {
  display: flex;
  gap: 12px;
}
.catalogue .major-btn {
  border-radius: 0;
}
.collection-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 29px 0 9px;
}
.collection-toolbar h2 {
  font:
    30px Newsreader,
    serif;
  letter-spacing: -0.8px;
  margin: 0;
}
.collection-toolbar h2 span {
  vertical-align: top;
  font:
    10px Manrope,
    sans-serif;
  letter-spacing: 0;
  display: inline-block;
  margin-left: 12px;
  margin-top: 5px;
  color: var(--accent);
}
.collection-toolbar .searchbox {
  width: 280px;
  border-bottom: 1px solid var(--line);
}
.filter-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 23px;
  border-bottom: 1px solid var(--line);
}
.catalogue-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 210px;
  gap: 42px;
}
.catalogue-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px 22px;
  align-content: start;
}
.catalogue-grid .image-mat {
  height: 260px;
  background: #e8e4dc;
}
.catalogue-grid .image-mat:before {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px solid #d6d0c680;
  pointer-events: none;
}
.catalogue-grid .image-open img {
  max-width: 73%;
  height: 79%;
  transition: transform 0.2s;
}
.catalogue-grid .image-open:hover img {
  transform: translateY(-5px);
}
.catalogue-grid .gallery-info {
  padding-top: 15px;
}
.catalogue-grid .player-name {
  font:
    21px/1.25 Newsreader,
    serif;
  letter-spacing: -0.5px;
  min-height: 31px;
}
.catalogue-grid .product-label {
  font-size: 8px;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.catalogue-grid .gallery-foot {
  border-top: 1px solid var(--line);
  margin-top: 13px;
  min-height: 41px;
}
.catalogue-notes {
  border-left: 1px solid var(--line);
  padding-left: 26px;
}
.section-no {
  font-size: 8px;
  letter-spacing: 1.7px;
  color: var(--muted);
}
.catalogue-notes h3 {
  font:
    30px Newsreader,
    serif;
  margin: 25px 0;
}
.desk-entry {
  padding: 23px 0;
  border-top: 1px solid var(--line);
}
.desk-entry > span {
  font-size: 8px;
  letter-spacing: 1.2px;
  color: var(--muted);
}
.desk-entry strong {
  display: block;
  font:
    46px Newsreader,
    serif;
  font-weight: 350;
  margin-top: 20px;
}
.desk-entry p {
  font-size: 11px;
  color: var(--muted);
  line-height: 1.85;
  max-width: 170px;
}
.desk-entry h4 {
  font:
    24px Newsreader,
    serif;
  margin: 20px 0 12px;
}
.desk-entry .text-btn {
  color: var(--accent);
  font-size: 10px;
  width: 100%;
}
.desk-foot {
  font:
    18px/1.4 Newsreader,
    serif;
  color: #91897b;
  border-top: 1px solid var(--line);
  padding-top: 25px;
}
/* Direction 02: dense operational split-view, with stable selection and an inspector. */
body[data-concept="workbench"] {
  --bg: #eef1f4;
  --surface: #fff;
  --ink: #172c40;
  --muted: #647486;
  --line: #d7dfe6;
  --accent: #225cd3;
  --on-accent: #fff;
  --status: #24705b;
  --redeemed: #8c6478;
  background: var(--bg);
  color: var(--ink);
}
[data-concept="workbench"] .designbar {
  background: #12273b;
  color: #b6c7d8;
  border-bottom-color: #344b61;
}
.work-header {
  height: 76px;
  background: #fff;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 45px;
  padding: 0 28px;
}
.work-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  letter-spacing: -0.5px;
  font-size: 17px;
  min-width: 250px;
}
.work-brand svg {
  width: 31px;
  height: 31px;
  color: var(--accent);
}
.work-brand small {
  display: block;
  font-size: 7px;
  letter-spacing: 1.7px;
  font-weight: 600;
  margin-top: 5px;
  color: var(--muted);
}
.work-command {
  display: flex;
  align-items: center;
  gap: 15px;
  max-width: 480px;
  flex: 1;
  color: var(--muted);
  background: #f4f6f8;
  border: 1px solid #e3e8ed;
  border-radius: 5px;
  padding: 0 13px;
}
.work-command .searchbox {
  flex: 1;
}
.work-command kbd {
  border: 1px solid var(--line);
  font-size: 10px;
  padding: 2px 5px;
  background: #fff;
  border-radius: 2px;
}
.work-header .header-tools {
  margin-left: auto;
  font-size: 11px;
}
.work-layout {
  display: grid;
  grid-template-columns: 195px minmax(0, 1fr);
  min-height: calc(100vh - 114px);
}
.work-rail {
  background: #e7edf2;
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 30px 15px;
}
.rail-top > span,
.rail-bottom > span {
  display: block;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 1.4px;
  color: #6b7c8d;
  margin: 0 12px 15px;
}
.work-rail nav {
  display: grid;
  gap: 6px;
}
.work-rail nav button {
  text-align: left;
  padding: 0 14px;
  min-height: 42px;
  font-size: 12px;
  border-radius: 4px;
  font-weight: 600;
}
.work-rail nav .is-current {
  background: #fff;
  color: var(--accent);
  box-shadow: 0 2px 4px #15324805;
}
.work-rail nav .sale-count {
  float: right;
}
.rail-bottom {
  margin-top: 75px;
}
.rail-bottom > button {
  min-height: 42px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  font-size: 10px;
  color: #53677b;
  padding: 0 12px;
}
.rail-bottom b {
  font-size: 9px;
  font-weight: 500;
  color: #758797;
}
.connection {
  margin: 25px 12px 0;
  border-top: 1px solid #cbd6e0;
  padding-top: 20px;
  font-size: 9px;
}
.connection i {
  display: inline-block;
  width: 5px;
  height: 5px;
  background: #6887a4;
  border-radius: 50%;
  margin-right: 7px;
}
.connection small {
  display: block;
  margin: 8px 0 0 12px;
  font-size: 8px;
  color: var(--muted);
}
.work-main {
  padding: 30px;
  min-width: 0;
}
.work-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 28px;
}
.breadcrumb {
  font-size: 8px;
  letter-spacing: 1.2px;
  color: var(--muted);
  margin-bottom: 12px;
}
.work-heading h1 {
  font-size: 29px;
  font-weight: 650;
  letter-spacing: -1.3px;
  margin: 0;
}
.work-actions {
  display: flex;
  gap: 8px;
}
.work-actions .major-btn,
.work-actions .sync-btn {
  border-radius: 4px;
  font-size: 10px;
  padding: 0 14px;
  min-height: 40px;
}
.work-utility {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  border-bottom: 1px solid #c6d0db;
  padding-bottom: 8px;
  margin-bottom: 18px;
}
.work-utility .filter-tabs {
  gap: 15px;
}
.work-utility .filter-tabs button {
  font-size: 10px;
  min-height: 34px;
}
.work-utility .filter-tabs .is-current {
  background: #e0e9f8;
  padding: 0 10px;
  border-radius: 3px;
}
.work-content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 315px;
  gap: 20px;
  align-items: start;
}
.inventory {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 5px;
  overflow: hidden;
  min-width: 0;
}
.table-heading,
.inventory-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 120px 30px 76px;
  gap: 9px;
  align-items: center;
  padding: 0 15px;
}
.table-heading {
  min-height: 39px;
  font-size: 7px;
  letter-spacing: 1px;
  color: var(--muted);
  background: #f7f9fb;
  border-bottom: 1px solid var(--line);
}
.inventory-row {
  min-height: 98px;
  border-bottom: 1px solid #e7edf2;
  position: relative;
}
.inventory-row.active {
  background: #f0f5ff;
}
.inventory-row.active:before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--accent);
}
.row-card {
  display: flex;
  align-items: center;
  text-align: left;
  gap: 13px;
  min-width: 0;
  padding: 14px 0;
}
.row-card img {
  width: 40px;
  height: 57px;
  object-fit: contain;
  filter: drop-shadow(0 3px 3px #0002);
}
.row-card > span {
  min-width: 0;
}
.row-card strong {
  font-size: 11px;
  display: block;
  font-weight: 700;
  line-height: 1.4;
}
.row-card small {
  display: block;
  font-size: 9px;
  line-height: 1.6;
  color: var(--muted);
  margin-top: 5px;
}
.inventory-row .state {
  font-size: 8px;
  gap: 4px;
}
.row-qty {
  font-size: 10px;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}
.inventory-row .queue-btn {
  font-size: 8px;
  padding: 0;
  min-height: 40px;
}
.table-foot {
  padding: 15px;
  display: flex;
  justify-content: space-between;
  gap: 10px;
  font-size: 8px;
  color: var(--muted);
  background: #fafbfd;
}
.inspector {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 5px;
  padding: 18px;
  position: sticky;
  top: 18px;
}
.inspector-header {
  display: flex;
  justify-content: space-between;
  font-size: 8px;
  letter-spacing: 1px;
  color: var(--muted);
  margin-bottom: 16px;
}
.inspector .detail-image {
  height: 245px;
  background: #eff2f6;
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.inspector .detail-image img {
  height: 100%;
  width: 100%;
  object-fit: contain;
  filter: drop-shadow(0 8px 6px #0002);
}
.inspector .detail-body {
  padding-top: 23px;
}
.inspector .kicker {
  font-size: 6px;
  letter-spacing: 0.8px;
  color: var(--muted);
}
.inspector h2 {
  font-size: 21px;
  letter-spacing: -0.8px;
  margin: 9px 0;
}
.inspector .variant-name {
  font-size: 10px;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 18px;
}
.detail-rule {
  height: 1px;
  background: var(--line);
  margin-bottom: 20px;
}
dl {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin: 0;
  font-size: 10px;
}
dt {
  color: var(--muted);
}
dd {
  margin: 0;
  text-align: right;
  font-weight: 600;
  line-height: 1.5;
}
.detail-note {
  font-size: 9px;
  line-height: 1.8;
  color: var(--muted);
  margin: 22px 0 10px;
}
.inspector .queue-btn {
  width: 100%;
  background: var(--accent);
  color: #fff;
  min-height: 40px;
  border-radius: 4px;
}
.inspector-expand {
  width: 100%;
  font-size: 10px;
  min-height: 40px;
  color: var(--muted);
  margin-top: 7px;
}
.work-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 10px;
  color: var(--muted);
  padding: 15px 0;
}
.work-bottom .text-btn {
  color: var(--accent);
  font-size: 10px;
}
.work-main .legal {
  margin-top: 20px;
  font-size: 8px;
}
/* Direction 03: a visual album with big images, numbered shelves and a mobile dock. */
body[data-concept="binder"] {
  color-scheme: dark;
  --bg: #19191d;
  --surface: #25252c;
  --ink: #f2eff6;
  --muted: #b0abb8;
  --line: #3b3944;
  --accent: #c5b3eb;
  --on-accent: #241c35;
  --status: #c5c1df;
  --redeemed: #c79ca9;
  background: var(--bg);
  color: var(--ink);
}
[data-concept="binder"] .designbar {
  background: #28252f;
  color: #c7bdcf;
  border-bottom-color: #443d4e;
}
.binder-wrap {
  max-width: 1600px;
  margin: auto;
  padding: 0 52px;
}
.binder-header {
  height: 100px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  border-bottom: 1px solid var(--line);
}
.binder-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.7px;
}
.binder-mark {
  font:
    30px Newsreader,
    serif;
  color: var(--accent);
  letter-spacing: -7px;
  display: block;
  padding-right: 9px;
}
.binder-mark span {
  font-style: italic;
}
.binder-header nav {
  gap: 35px;
}
.binder-header nav button {
  font-size: 11px;
}
.binder-header nav button.is-current {
  border-bottom: 1px solid var(--accent);
  color: var(--accent);
}
.binder-header .sync-btn {
  border: 0;
  color: var(--muted);
  font-size: 10px;
  padding: 0 5px;
}
.binder-header .avatar {
  background: #322e3c;
  border-color: #504659;
  color: var(--accent);
}
.binder-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  padding: 40px 0 34px;
}
.binder-heading .kicker {
  font-size: 8px;
  letter-spacing: 2px;
  color: #a59aac;
}
.binder-heading h1 {
  font:
    600 66px/1 Barlow,
    Arial,
    sans-serif;
  letter-spacing: -1px;
  margin: 18px 0 0;
  text-transform: uppercase;
}
.binder-heading h1 > span {
  color: var(--accent);
}
.binder-heading .major-btn {
  border-radius: 100px;
  padding: 0 25px;
  min-height: 46px;
}
.album-strip {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 16px;
  margin-bottom: 37px;
}
.album {
  position: relative;
  display: flex;
  align-items: center;
  gap: 16px;
  text-align: left;
  min-height: 95px;
  border: 1px solid var(--line);
  padding: 18px 23px;
  border-radius: 7px;
  background: #1e1e24;
}
.album.active {
  background: #2b2535;
  border-color: #736182;
  box-shadow: inset 4px 0 0 var(--accent);
}
.album-glyph {
  color: var(--accent);
  font-size: 28px;
  width: 32px;
  text-align: center;
  font-weight: 300;
}
.album > span:nth-child(2) {
  font-size: 13px;
  font-weight: 600;
}
.album small {
  display: block;
  font-size: 9px;
  color: var(--muted);
  font-weight: 400;
  margin-top: 7px;
}
.album > b {
  position: absolute;
  right: 13px;
  top: 12px;
  color: #777080;
  font-size: 8px;
  font-weight: 500;
}
.binder-tools {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 10px;
}
.binder-tools .searchbox {
  width: 340px;
  color: #b2a9bd;
}
.binder-tools .searchbox input {
  font-size: 11px;
}
.binder-view {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 9px;
  color: var(--muted);
}
.binder-view .sort select {
  font-size: 10px;
}
.binder-filter-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 8px 0 22px;
}
.binder-filter-line .filter-tabs {
  gap: 24px;
}
.binder-filter-line .filter-tabs button {
  font-size: 10px;
  color: #a59dac;
}
.binder-filter-line .filter-tabs .is-current {
  color: var(--ink);
}
.binder-filter-line .filter-tabs .is-current:after {
  content: "";
  position: absolute;
  bottom: 2px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--accent);
}
.shelf-note {
  font:
    italic 15px Newsreader,
    serif;
  color: #aba0b8;
}
.binder-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 35px 26px;
}
.binder-grid .image-mat {
  height: 310px;
  background: #25252a;
  border-radius: 7px;
  border: 1px solid #3a3642;
  box-shadow:
    0 7px 0 -4px #19191d,
    0 8px 0 -4px #4d435b;
}
.binder-grid .image-open {
  padding-top: 14px;
  padding-bottom: 13px;
}
.binder-grid .image-open img {
  height: 82%;
  max-width: 80%;
  filter: drop-shadow(0 14px 9px #0007);
}
.binder-grid .image-index {
  font-size: 8px;
  color: #a49aaf;
  letter-spacing: 1px;
}
.binder-grid .image-save {
  background: #37323f;
  border: 1px solid #5c5069;
  color: #d8cae9;
  width: 34px;
  height: 34px;
  font-size: 18px;
}
.binder-grid .image-save.selected {
  background: var(--accent);
  color: var(--on-accent);
}
.image-category {
  position: absolute;
  bottom: 14px;
  left: 16px;
  font-size: 7px;
  letter-spacing: 1.7px;
  text-transform: uppercase;
  color: #bbadca;
}
.binder-grid .gallery-info {
  padding-top: 22px;
}
.binder-grid .product-label {
  font-size: 8px;
  color: #a295af;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.binder-grid .player-name {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.3px;
  padding-top: 5px;
}
.binder-grid .gallery-info p {
  font-size: 9px;
  color: #b2a6bd;
}
.binder-grid .copy-count {
  border: 1px solid #4b4155;
  border-radius: 100px;
  padding: 4px 8px;
  align-self: center;
  font-size: 8px;
}
.binder-grid .gallery-foot {
  margin-top: 12px;
  min-height: 34px;
  border-top: 1px solid #33303a;
}
.binder-grid .gallery-foot > span:last-child {
  font-size: 8px;
  color: #9e91ad;
}
.binder-grid .state {
  font-size: 8px;
}
.binder-dock {
  display: none;
}
/* Native dialogs, with the typography and contrast of each direction. */
dialog {
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 0;
  max-height: 90dvh;
  overflow: auto;
  box-shadow: 0 35px 90px #0004;
}
dialog::backdrop {
  background: #15121b99;
  backdrop-filter: blur(7px);
}
.card-dialog {
  width: min(880px, calc(100% - 36px));
}
.dialog-x {
  position: absolute;
  right: 10px;
  top: 10px;
  width: 44px;
  height: 44px;
  font-size: 25px;
  z-index: 2;
  background: var(--surface);
  border-radius: 50%;
}
#card-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  padding: 45px;
}
#card-detail .detail-image {
  height: 425px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: var(--bg);
}
#card-detail img {
  height: 100%;
  width: 100%;
  object-fit: contain;
  filter: drop-shadow(0 10px 9px #0002);
}
#card-detail .detail-body {
  padding-top: 25px;
}
#card-detail h2 {
  font:
    36px/1.1 Newsreader,
    serif;
  margin: 20px 0 12px;
}
#card-detail .kicker {
  font-size: 8px;
  color: var(--muted);
}
#card-detail .variant-name {
  font-size: 12px;
  line-height: 1.7;
  margin-bottom: 25px;
}
#card-detail .queue-btn {
  background: var(--accent);
  color: var(--on-accent);
  padding: 0 22px;
  min-height: 44px;
}
.sale-dialog {
  width: min(740px, calc(100% - 30px));
  padding: 35px;
}
.sale-head {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  padding-right: 30px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 20px;
}
.sale-head h2 {
  font:
    39px Newsreader,
    serif;
  margin: 16px 0 24px;
  letter-spacing: -1px;
}
.sale-head .kicker {
  font-size: 8px;
  color: var(--muted);
}
.sale-intro {
  font-size: 11px;
  color: var(--muted);
}
.sale-item {
  display: flex;
  gap: 16px;
  align-items: center;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.sale-item img {
  width: 36px;
  height: 52px;
  object-fit: contain;
}
.sale-item > div {
  flex: 1;
  min-width: 0;
}
.sale-item strong {
  display: block;
  font-size: 12px;
}
.sale-item small {
  display: block;
  font-size: 9px;
  line-height: 1.7;
  color: var(--muted);
  margin-top: 6px;
}
.sale-item label {
  width: 96px;
  font-size: 8px;
  flex-shrink: 0;
}
.sale-item input {
  width: 100%;
  border: 1px solid var(--line);
  background: var(--bg);
  color: var(--ink);
  margin-top: 6px;
  padding: 9px;
  min-height: 42px;
  font-size: 12px;
}
.sale-item > button {
  width: 32px;
  height: 44px;
  font-size: 22px;
  flex-shrink: 0;
}
.sale-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 24px;
}
.sale-bottom p {
  font-size: 9px;
  line-height: 1.8;
  color: var(--muted);
  max-width: 280px;
}
#post-preview {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  line-height: 1.8;
  font-size: 11px;
  padding: 20px;
  background: var(--bg);
  border: 1px solid var(--line);
  margin-top: 25px;
}
.achievement-results {
  display: block !important;
}
.achievement-study {
  padding: 25px 0;
}
.achievement-study h2 {
  font:
    40px Newsreader,
    serif;
  letter-spacing: -1px;
  margin: 20px 0;
}
.achievement-study > p {
  font-size: 12px;
  color: var(--muted);
  max-width: 560px;
}
.achievement-line {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  padding: 30px 0;
  border-top: 1px solid var(--line);
  margin-top: 25px;
}
.achievement-line > div {
  flex: 1;
}
.achievement-line span {
  font-size: 8px;
  color: var(--muted);
  letter-spacing: 1px;
}
.achievement-line h3 {
  font-size: 18px;
  margin: 15px 0;
}
.achievement-line p {
  font-size: 11px;
  color: var(--muted);
}
.achievement-line strong {
  font-size: 34px;
  font-weight: 500;
  display: block;
}
.achievement-line strong small {
  font-size: 12px;
  color: var(--muted);
}
progress {
  width: 100%;
  height: 4px;
  accent-color: var(--accent);
  display: block;
  margin: 20px 0;
}
.example-note {
  font-size: 12px;
  line-height: 1.8;
  color: var(--muted);
}
@media (min-width: 1600px) {
  .catalogue-grid .image-mat {
    height: 310px;
  }
  .binder-grid .image-mat {
    height: 360px;
  }
}
@media (max-width: 1250px) {
  .catalogue-wrap {
    padding: 0 35px;
  }
  .catalogue-body {
    gap: 25px;
    grid-template-columns: minmax(0, 1fr) 175px;
  }
  .catalogue-notes {
    padding-left: 20px;
  }
  .catalogue-grid {
    gap: 24px 16px;
  }
  .catalogue-grid .image-mat {
    height: 230px;
  }
  .work-layout {
    grid-template-columns: 165px 1fr;
  }
  .work-main {
    padding: 25px 20px;
  }
  .work-content {
    grid-template-columns: minmax(0, 1fr) 265px;
    gap: 15px;
  }
  .table-heading,
  .inventory-row {
    grid-template-columns: minmax(0, 1fr) 85px 22px 60px;
    gap: 6px;
    padding: 0 10px;
  }
  .row-card {
    gap: 9px;
  }
  .row-card strong {
    font-size: 10px;
  }
  .inventory-row .queue-btn {
    font-size: 7px;
  }
  .inventory-row .state {
    font-size: 7px;
  }
  .inspector {
    padding: 14px;
  }
  .inspector .detail-image {
    height: 230px;
  }
  .binder-wrap {
    padding: 0 35px;
  }
  .binder-grid {
    gap: 30px 20px;
  }
  .binder-grid .image-mat {
    height: 275px;
  }
  .binder-brand {
    font-size: 16px;
  }
  .binder-header nav {
    gap: 22px;
  }
}
@media (max-width: 960px) {
  .catalogue-header nav {
    gap: 17px;
  }
  .catalogue-header nav button {
    font-size: 10px;
  }
  .catalogue-header .account-name {
    display: none;
  }
  .catalogue-body {
    display: block;
  }
  .catalogue-notes {
    display: none;
  }
  .catalogue-grid .image-mat {
    height: 280px;
  }
  .catalogue-heading h1 {
    font-size: 60px;
  }
  .heading-note {
    max-width: 310px;
  }
  .heading-note > div {
    gap: 8px;
  }
  .heading-note .major-btn,
  .heading-note .sync-btn {
    padding: 0 12px;
    font-size: 10px;
  }
  .work-brand {
    min-width: 210px;
  }
  .work-header {
    gap: 20px;
  }
  .work-header .header-tools > span {
    display: none;
  }
  .work-layout {
    grid-template-columns: 140px 1fr;
  }
  .work-rail {
    padding: 24px 10px;
  }
  .work-rail nav button {
    font-size: 10px;
  }
  .rail-bottom > button {
    font-size: 9px;
  }
  .work-content {
    display: block;
  }
  .inspector {
    display: none;
  }
  .table-heading,
  .inventory-row {
    grid-template-columns: minmax(0, 1fr) 100px 25px 75px;
  }
  .work-utility .filter-tabs {
    gap: 13px;
  }
  .work-utility .sort {
    display: none;
  }
  .binder-header nav {
    gap: 20px;
  }
  .binder-header .sync-btn {
    display: none;
  }
  .binder-header .header-tools {
    gap: 0;
  }
  .binder-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .binder-grid .image-mat {
    height: 295px;
  }
  .binder-heading h1 {
    font-size: 58px;
  }
  .album {
    padding: 17px 16px;
    gap: 10px;
  }
  .album > span:nth-child(2) {
    font-size: 11px;
  }
  .album-glyph {
    font-size: 24px;
  }
  .binder-filter-line .shelf-note {
    display: none;
  }
}
@media (max-width: 700px) {
  .designbar {
    padding: 0 16px;
    font-size: 8px;
  }
  .designbar > span {
    display: none;
  }
  .designbar > div a {
    padding: 8px 12px;
  }
  .header-tools {
    gap: 12px;
  }
  .avatar {
    width: 33px;
    height: 33px;
    min-width: 33px;
    font-size: 9px;
  }
  .catalogue-wrap {
    padding: 0 20px;
  }
  .catalogue-header {
    height: auto;
    min-height: 76px;
    flex-wrap: wrap;
    gap: 0;
    padding-top: 20px;
  }
  .wordmark {
    font-size: 24px;
  }
  .catalogue-header .header-tools {
    margin-left: auto;
    margin-bottom: 18px;
  }
  .catalogue-header .wordmark {
    margin-bottom: 18px;
  }
  .catalogue-header nav {
    width: 100%;
    order: 3;
    gap: 28px;
    border-top: 1px solid var(--line);
    justify-content: flex-start;
  }
  .catalogue-header nav button {
    font-size: 11px;
    min-height: 46px;
  }
  .catalogue-heading {
    display: block;
    padding: 31px 0 24px;
  }
  .catalogue-heading .kicker {
    font-size: 8px;
  }
  .catalogue-heading h1 {
    font-size: 62px;
    margin-top: 17px;
    letter-spacing: -2px;
  }
  .heading-note {
    max-width: none;
    margin-top: 25px;
  }
  .heading-note .edition {
    font-size: 7px;
    letter-spacing: 1px;
  }
  .heading-note p {
    display: none;
  }
  .heading-note > div {
    margin-top: 19px;
    gap: 10px;
  }
  .heading-note .sync-btn,
  .heading-note .major-btn {
    padding: 0 15px;
    font-size: 10px;
  }
  .collection-toolbar {
    display: block;
    padding-top: 25px;
  }
  .collection-toolbar h2 {
    font-size: 28px;
  }
  .collection-toolbar .searchbox {
    width: 100%;
    margin-top: 16px;
  }
  .filter-line {
    gap: 0;
    display: block;
    margin-bottom: 20px;
  }
  .filter-tabs {
    gap: 20px;
  }
  .filter-tabs button {
    font-size: 10px;
  }
  .filter-line .sort {
    display: none;
  }
  .catalogue-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 26px 14px;
  }
  .catalogue-grid .image-mat {
    height: 221px;
  }
  .catalogue-grid .image-open img {
    max-width: 78%;
    height: 75%;
  }
  .image-index {
    font-size: 7px;
    top: 9px;
    left: 10px;
  }
  .image-save {
    width: 34px;
    height: 34px;
    font-size: 19px;
    right: 6px;
    top: 5px;
  }
  .catalogue-grid .gallery-info {
    padding-top: 13px;
    gap: 6px;
  }
  .catalogue-grid .player-name {
    font-size: 19px;
    min-height: 48px;
    line-height: 1.2;
    padding-top: 5px;
  }
  .catalogue-grid .product-label {
    font-size: 6px;
    letter-spacing: 0.7px;
  }
  .catalogue-grid .gallery-info p {
    font-size: 8px;
    min-height: 28px;
  }
  .copy-count {
    font-size: 8px;
    padding-top: 21px;
  }
  .gallery-foot {
    flex-wrap: wrap;
    gap: 0;
  }
  .catalogue-grid .gallery-foot {
    padding-top: 9px;
    margin-top: 11px;
  }
  .gallery-foot .state {
    font-size: 7px;
    width: 100%;
    min-height: 17px;
  }
  .gallery-foot .queue-btn {
    padding: 0;
    min-height: 38px;
    font-size: 9px;
  }
  .legal {
    font-size: 7px;
    display: block;
    margin-top: 30px;
    padding-bottom: 25px;
  }
  .legal a {
    display: block;
    margin-top: 12px;
  }
  .work-header {
    height: auto;
    min-height: 76px;
    padding: 17px 17px 14px;
    gap: 15px;
    flex-wrap: wrap;
  }
  .work-brand {
    font-size: 15px;
    min-width: 0;
    flex: 1;
  }
  .work-brand small {
    font-size: 6px;
  }
  .work-brand svg {
    width: 28px;
    height: 28px;
  }
  .work-header .header-tools {
    order: 2;
    flex: 0;
  }
  .work-command {
    max-width: none;
    flex-basis: 100%;
    order: 3;
  }
  .work-command .searchbox {
    min-height: 40px;
  }
  .work-command .searchbox input {
    font-size: 11px;
    height: 40px;
  }
  .work-layout {
    display: block;
  }
  .work-rail {
    display: block;
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding: 0 17px;
    background: #e4eaf0;
  }
  .rail-top > span,
  .rail-bottom {
    display: none;
  }
  .work-rail nav {
    display: flex;
    gap: 6px;
    padding: 8px 0;
  }
  .work-rail nav button {
    flex: 1;
    text-align: center;
    min-height: 40px;
    font-size: 11px;
    padding: 0 10px;
  }
  .work-rail nav .sale-count {
    float: none;
    font-size: 8px;
    min-width: 15px;
    height: 15px;
  }
  .work-main {
    padding: 24px 17px;
  }
  .work-heading {
    align-items: flex-start;
    gap: 12px;
    padding-bottom: 19px;
    flex-wrap: wrap;
  }
  .work-heading h1 {
    font-size: 28px;
  }
  .breadcrumb {
    font-size: 7px;
  }
  .work-actions {
    width: 100%;
    justify-content: space-between;
    margin-top: 4px;
  }
  .work-actions .major-btn,
  .work-actions .sync-btn {
    min-height: 44px;
    font-size: 10px;
    padding: 0 13px;
  }
  .work-utility {
    margin-bottom: 14px;
    overflow: hidden;
  }
  .work-utility .filter-tabs {
    gap: 15px;
    width: 100%;
  }
  .work-utility .filter-tabs button {
    font-size: 9px;
    min-height: 38px;
  }
  .work-utility .filter-tabs .is-current {
    padding: 0 9px;
  }
  .table-heading {
    display: none;
  }
  .inventory-row {
    grid-template-columns: minmax(0, 1fr) 62px;
    gap: 0;
    min-height: 110px;
    padding: 9px 11px;
  }
  .row-card {
    grid-column: 1;
    grid-row: 1/3;
    gap: 11px;
  }
  .row-card img {
    width: 40px;
    height: 59px;
  }
  .row-card strong {
    font-size: 11px;
    line-height: 1.5;
  }
  .row-card small {
    font-size: 8px;
    margin-top: 6px;
    line-height: 1.6;
  }
  .inventory-row .state {
    grid-column: 2;
    grid-row: 1;
    font-size: 7px;
    align-self: end;
    padding-bottom: 6px;
    justify-content: flex-start;
    display: block;
    line-height: 1.6;
  }
  .inventory-row .state i {
    display: none;
  }
  .row-qty {
    display: none;
  }
  .inventory-row .queue-btn {
    grid-column: 2;
    grid-row: 2;
    font-size: 8px;
    align-self: start;
    text-align: left;
    min-height: 35px;
    color: var(--accent);
  }
  .table-foot {
    font-size: 7px;
    gap: 10px;
    padding: 14px 11px;
  }
  .work-bottom {
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 5px;
    padding-top: 20px;
    font-size: 9px;
  }
  .work-bottom .text-btn {
    font-size: 9px;
    min-height: 40px;
  }
  .binder-wrap {
    padding: 0 19px 65px;
  }
  .binder-header {
    height: 75px;
    gap: 10px;
  }
  .binder-brand {
    font-size: 17px;
    gap: 11px;
  }
  .binder-header nav {
    display: none;
  }
  .binder-mark {
    font-size: 31px;
  }
  .binder-header .avatar {
    width: 32px;
    height: 32px;
    min-width: 32px;
  }
  .binder-heading {
    display: block;
    padding: 30px 0 25px;
  }
  .binder-heading .kicker {
    font-size: 7px;
    letter-spacing: 1.6px;
  }
  .binder-heading h1 {
    font-size: 53px;
    letter-spacing: -0.8px;
    margin-top: 13px;
  }
  .binder-heading .major-btn {
    margin-top: 22px;
    font-size: 10px;
    min-height: 42px;
    padding: 0 20px;
  }
  .album-strip {
    display: flex;
    overflow: auto;
    gap: 10px;
    padding-bottom: 7px;
    margin-bottom: 20px;
    scroll-snap-type: x mandatory;
  }
  .album {
    min-width: 185px;
    min-height: 83px;
    padding: 15px;
    scroll-snap-align: start;
    gap: 9px;
    border-radius: 5px;
  }
  .album-glyph {
    font-size: 25px;
    width: 26px;
  }
  .album > span:nth-child(2) {
    font-size: 11px;
  }
  .album small {
    font-size: 8px;
  }
  .album > b {
    font-size: 7px;
    right: 10px;
  }
  .binder-tools {
    display: block;
  }
  .binder-tools .searchbox {
    width: 100%;
  }
  .binder-view {
    justify-content: space-between;
    margin-top: 5px;
    font-size: 8px;
  }
  .binder-view .sort select {
    min-height: 34px;
    font-size: 9px;
  }
  .binder-filter-line {
    margin-bottom: 20px;
    overflow: hidden;
  }
  .binder-filter-line .filter-tabs {
    gap: 21px;
    width: 100%;
  }
  .binder-filter-line .filter-tabs button {
    font-size: 9px;
    min-height: 40px;
  }
  .binder-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 27px 15px;
  }
  .binder-grid .image-mat {
    height: 235px;
    border-radius: 5px;
  }
  .binder-grid .image-open {
    padding-bottom: 15px;
  }
  .binder-grid .image-open img {
    height: 77%;
    max-width: 82%;
  }
  .binder-grid .image-index {
    font-size: 7px;
  }
  .binder-grid .image-save {
    width: 31px;
    height: 31px;
    font-size: 17px;
  }
  .image-category {
    font-size: 6px;
    left: 11px;
    bottom: 13px;
    letter-spacing: 1px;
  }
  .binder-grid .gallery-info {
    padding-top: 18px;
    gap: 5px;
  }
  .binder-grid .product-label {
    font-size: 6px;
    letter-spacing: 0.6px;
  }
  .binder-grid .player-name {
    font-size: 12px;
    line-height: 1.55;
    min-height: 44px;
    padding-top: 7px;
  }
  .binder-grid .gallery-info p {
    font-size: 8px;
    min-height: 27px;
  }
  .binder-grid .copy-count {
    font-size: 7px;
    padding: 4px 7px;
    align-self: flex-start;
    margin-top: 20px;
  }
  .binder-grid .gallery-foot {
    margin-top: 7px;
    flex-wrap: wrap;
    min-height: 29px;
  }
  .binder-grid .gallery-foot > span:last-child {
    display: none;
  }
  .binder-grid .gallery-foot .state {
    font-size: 7px;
  }
  .binder-dock {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    justify-content: space-around;
    gap: 20px;
    padding: 10px 15px max(12px, env(safe-area-inset-bottom));
    background: #24222bf5;
    border-top: 1px solid #51455e;
    backdrop-filter: blur(15px);
    z-index: 10;
  }
  .binder-dock button {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    font-size: 19px;
    min-width: 75px;
    min-height: 43px;
    color: #a99bb7;
  }
  .binder-dock button > span {
    font-size: 8px;
    letter-spacing: 0.3px;
  }
  .binder-dock button.is-current {
    color: #e1cdfb;
  }
  .binder-dock b {
    font-size: 7px;
    font-weight: 400;
  }
  .toast {
    bottom: 85px;
    font-size: 11px;
    width: calc(100% - 32px);
    padding: 15px 18px;
  }
  #card-detail {
    grid-template-columns: 1fr;
    padding: 35px 23px 24px;
    gap: 20px;
  }
  #card-detail .detail-image {
    height: 300px;
    padding: 15px;
  }
  #card-detail .detail-body {
    padding-top: 8px;
  }
  #card-detail h2 {
    font-size: 32px;
  }
  #card-detail .kicker {
    font-size: 7px;
  }
  .detail-note {
    font-size: 9px;
  }
  .sale-dialog {
    padding: 25px 20px;
  }
  .sale-head h2 {
    font-size: 34px;
  }
  .sale-head .kicker {
    font-size: 7px;
  }
  .sale-item {
    gap: 10px;
  }
  .sale-item img {
    width: 28px;
    height: 43px;
  }
  .sale-item strong {
    font-size: 10px;
  }
  .sale-item small {
    font-size: 8px;
  }
  .sale-item label {
    width: 70px;
  }
  .sale-item input {
    font-size: 11px;
    padding: 7px;
  }
  .sale-item > button {
    width: 25px;
  }
  .sale-intro {
    font-size: 10px;
  }
  .sale-bottom {
    display: block;
  }
  .sale-bottom .major-btn {
    width: 100%;
    margin-top: 10px;
  }
  .achievement-study h2 {
    font-size: 32px;
  }
  .achievement-study > p {
    font-size: 11px;
  }
  .achievement-line {
    display: block;
    margin-top: 20px;
    padding: 25px 0;
  }
  .achievement-line > div + div {
    margin-top: 25px;
  }
  .achievement-line h3 {
    font-size: 16px;
  }
  .achievement-line p {
    font-size: 10px;
  }
}
@media (max-width: 360px) {
  .catalogue-wrap {
    padding: 0 15px;
  }
  .catalogue-heading h1 {
    font-size: 54px;
  }
  .catalogue-grid .image-mat {
    height: 195px;
  }
  .catalogue-grid .player-name {
    font-size: 18px;
  }
  .work-main {
    padding-left: 12px;
    padding-right: 12px;
  }
  .row-card strong {
    font-size: 10px;
  }
  .row-card small {
    font-size: 7px;
  }
  .binder-wrap {
    padding-left: 15px;
    padding-right: 15px;
  }
  .binder-heading h1 {
    font-size: 45px;
  }
  .binder-grid .image-mat {
    height: 205px;
  }
  .binder-grid .player-name {
    font-size: 11px;
  }
  .binder-grid .gallery-info {
    gap: 3px;
  }
  .binder-grid .copy-count {
    font-size: 6px;
    padding: 3px 6px;
  }
}
.view-card-link {
  min-height: 44px;
  padding: 0;
  font-size: 10px;
  color: var(--muted);
}
/* Readable metadata and finger-sized targets take precedence over density. */
.work-utility .filter-tabs button {
  font-size: 12px;
}
.row-card strong {
  font-size: 13px;
}
.row-card small {
  font-size: 11px;
}
.inventory-row .state {
  font-size: 10px;
}
.inventory-row .queue-btn {
  font-size: 10px;
}
.table-heading {
  font-size: 9px;
}
.inspector .kicker {
  font-size: 8px;
}
.inspector .variant-name {
  font-size: 12px;
}
.inspector .detail-note {
  font-size: 10px;
}
.inspector dl {
  font-size: 11px;
}
.catalogue-grid .product-label {
  font-size: 10px;
}
.catalogue-grid .gallery-info p {
  font-size: 12px;
}
.catalogue-grid .state {
  font-size: 10px;
}
.catalogue-grid .queue-btn {
  font-size: 11px;
}
.binder-grid .product-label {
  font-size: 10px;
}
.binder-grid .gallery-info p {
  font-size: 11px;
}
.binder-grid .state {
  font-size: 10px;
}
.binder-grid .image-save {
  width: 44px;
  height: 44px;
}
.filter-tabs button {
  min-height: 44px;
}
.table-foot {
  font-size: 10px;
}
.binder-grid .view-card-link {
  font-size: 10px;
}
.inspector-header {
  font-size: 10px;
}
.binder-grid .image-category {
  font-size: 9px;
}
@media (max-width: 1250px) and (min-width: 961px) {
  .inventory-row {
    grid-template-columns: minmax(0, 1fr) 80px 20px 65px;
  }
  .row-card strong {
    font-size: 12px;
  }
  .row-card small {
    font-size: 10px;
  }
  .inventory-row .state,
  .inventory-row .queue-btn {
    font-size: 9px;
  }
}
@media (max-width: 700px) {
  .catalogue-heading h1 {
    font-size: 47px;
    line-height: 1.03;
  }
  .catalogue-heading {
    padding: 24px 0 23px;
  }
  .heading-note {
    margin-top: 20px;
  }
  .heading-note .edition {
    display: none;
  }
  .heading-note > div {
    margin-top: 0;
  }
  .catalogue-grid .product-label {
    font-size: 9px;
    letter-spacing: 0.3px;
  }
  .catalogue-grid .gallery-info p {
    font-size: 10px;
    min-height: 34px;
  }
  .catalogue-grid .gallery-foot .state {
    font-size: 9px;
    min-height: 22px;
  }
  .catalogue-grid .queue-btn {
    font-size: 10px;
    min-height: 44px;
  }
  .catalogue-grid .gallery-foot {
    margin-top: 12px;
  }
  .work-utility .filter-tabs button {
    font-size: 11px;
    min-height: 44px;
  }
  .work-utility .filter-tabs {
    gap: 19px;
  }
  .row-card strong {
    font-size: 13px;
  }
  .row-card small {
    font-size: 10px;
  }
  .inventory-row .state {
    font-size: 9px;
  }
  .inventory-row .queue-btn {
    font-size: 10px;
    min-height: 44px;
  }
  .inventory-row {
    grid-template-columns: minmax(0, 1fr) 76px;
    min-height: 115px;
  }
  .row-card {
    gap: 10px;
  }
  .table-foot {
    font-size: 9px;
    line-height: 1.7;
  }
  .binder-grid .product-label {
    font-size: 9px;
    letter-spacing: 0.3px;
  }
  .binder-grid .gallery-info p {
    font-size: 10px;
    min-height: 34px;
  }
  .binder-grid .gallery-foot .state {
    font-size: 9px;
  }
  .binder-grid .image-save {
    width: 44px;
    height: 44px;
    right: 4px;
    top: 4px;
    background: #332d3dd9;
    backdrop-filter: blur(5px);
  }
  .binder-grid .image-category {
    font-size: 8px;
  }
  .binder-filter-line .filter-tabs button {
    font-size: 11px;
    min-height: 44px;
  }
  .binder-grid .view-card-link {
    display: none;
  }
  .filter-tabs {
    gap: 22px;
  }
  .filter-tabs button {
    font-size: 11px;
  }
  .binder-tools .searchbox input,
  .searchbox input {
    font-size: 13px;
  }
  .catalogue-header nav button {
    font-size: 12px;
  }
  .legal {
    font-size: 9px;
  }
  .copy-count {
    font-size: 10px;
  }
  .binder-grid .copy-count {
    font-size: 9px;
  }
  .sale-item strong {
    font-size: 12px;
  }
  .sale-item small {
    font-size: 10px;
  }
  .sale-intro {
    font-size: 12px;
  }
  .sale-bottom p {
    font-size: 11px;
  }
  .sale-item label {
    font-size: 10px;
  }
  .sale-item input {
    font-size: 13px;
  }
  .detail-note {
    font-size: 11px;
  }
  #card-detail .kicker {
    font-size: 9px;
  }
  .binder-dock button > span {
    font-size: 10px;
  }
}
@media (max-width: 360px) {
  .catalogue-heading h1 {
    font-size: 42px;
  }
  .row-card strong {
    font-size: 12px;
  }
  .row-card small {
    font-size: 9px;
  }
  .inventory-row .state {
    font-size: 8px;
  }
  .inventory-row .queue-btn {
    font-size: 9px;
  }
  .binder-grid .product-label {
    font-size: 8px;
  }
  .binder-grid .gallery-foot .state {
    font-size: 8px;
  }
  .catalogue-grid .gallery-foot .state {
    font-size: 8px;
  }
}
@media (prefers-reduced-motion: no-preference) {
  button,
  a {
    transition:
      color 0.15s,
      background 0.15s,
      border-color 0.15s;
  }
  .gallery-card {
    animation: reveal 0.25s ease-out;
  }
  @keyframes reveal {
    from {
      opacity: 0.65;
      transform: translateY(5px);
    }
    to {
      opacity: 1;
      transform: none;
    }
  }
}
