/* The EX binder shares the site's charcoal palette and existing typeface. */
.ex-collection { padding-bottom: 32px; }
.ex-heading { max-width: 820px; padding: 28px 0 28px; }
.ex-back-link { display: inline-block; padding: 10px 0; margin-bottom: 15px; color: var(--muted); font-size: 12px; }
.ex-back-link:hover { color: var(--ink); }
.ex-eyebrow { margin: 0; color: var(--muted); font: 500 10px/1.6 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; letter-spacing: .1em; text-transform: uppercase; }
.ex-heading h1 { font-size: clamp(44px, 5.2vw, 64px); line-height: 1.04; letter-spacing: -.065em; margin: 14px 0 17px; font-weight: 750; }
.ex-heading h1 em { font-weight: 400; }
.ex-intro { max-width: 720px; color: var(--muted); font-size: 16px; line-height: 1.65; margin: 0; }
.ex-heading-note { display: flex; flex-wrap: wrap; gap: 8px 25px; margin-top: 18px; color: var(--muted); font-size: 11px; line-height: 1.6; }
.ex-overview { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-bottom: 32px; }
.ex-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 0; }
.ex-stats > div { display: flex; flex-direction: column; padding: 20px 24px; border-left: 1px solid var(--line); }
.ex-stats > div:first-child { border-left: 0; padding-left: 0; }
.ex-stats dt { order: 2; color: var(--muted); font-size: 12px; line-height: 1.4; }
.ex-stats dd { margin: 0 0 7px; font-size: 38px; line-height: 1.05; font-weight: 650; letter-spacing: -.055em; font-variant-numeric: tabular-nums; }
.ex-stats > div:first-child dd { color: var(--gold, #e7cf87); }
.ex-awaiting-note { border-top: 1px solid var(--line); margin: 0; padding: 14px 0; font-size: 12px; line-height: 1.6; color: var(--muted); }
.ex-filters { padding: 0 0 22px; }
.ex-search-row { display: flex; flex-wrap: wrap; gap: 18px; }
.ex-field { min-width: 0; }
.ex-search-field { flex: 1 1 320px; }
.ex-set-field { flex: 0 1 280px; }
.ex-field label { display: block; margin-bottom: 9px; font-size: 12px; color: var(--muted); }
.ex-field input, .ex-field select { width: 100%; min-width: 0; min-height: 49px; border: 1px solid var(--line); border-radius: 11px; padding: 12px 15px; background: var(--card); color: var(--ink); font: inherit; font-size: 14px; }
.ex-field select { padding-right: 28px; cursor: pointer; }
.ex-field input::placeholder { color: var(--muted); opacity: .85; }
.ex-field input:focus-visible, .ex-field select:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.ex-filter-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 15px; align-items: center; margin-top: 18px; }
.ex-status-filters { display: flex; flex-wrap: wrap; gap: 8px; }
.ex-filter { display: inline-flex; align-items: center; justify-content: center; gap: 10px; border: 1px solid var(--line); border-radius: 99px; min-height: 43px; padding: 10px 15px; color: var(--ink); background: transparent; font-size: 12px; font-weight: 550; }
.ex-filter span { font-size: 10px; opacity: .65; font-variant-numeric: tabular-nums; }
.ex-filter:hover { border-color: var(--ink); }
.ex-filter[aria-pressed=true] { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.ex-download, .ex-clear { display: inline-flex; align-items: center; border: 0; border-bottom: 1px solid currentColor; padding: 6px 0; min-height: 36px; color: var(--muted); background: transparent; font-size: 11px; line-height: 1.3; }
.ex-download:hover, .ex-clear:hover { color: var(--ink); }
.ex-results-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 12px; margin-top: 13px; min-height: 36px; }
.ex-result-actions { display: flex; align-items: center; gap: 16px; }
.ex-results { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.6; }
.ex-empty { padding: 50px 20px; margin: 10px 0 55px; border: 1px dashed var(--line); border-radius: 15px; text-align: center; line-height: 1.7; color: var(--muted); }
.ex-set { border-top: 1px solid var(--line); padding: 34px 0 48px; scroll-margin-top: 20px; }
.ex-set-header { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 25px; margin-bottom: 25px; }
.ex-set-identity { display: flex; align-items: center; gap: 22px; min-width: 0; }
.ex-set-logo { flex: 0 0 auto; display: block; width: 125px; height: 70px; object-fit: contain; }
.ex-set h2 { font-size: clamp(22px, 2.7vw, 31px); line-height: 1.15; letter-spacing: -.04em; margin: 7px 0 4px; font-weight: 650; }
.ex-source-link { display: inline-block; color: var(--muted); border-bottom: 1px solid var(--line); padding: 6px 0 3px; font-size: 11px; line-height: 1.5; }
.ex-source-link:hover { border-color: var(--ink); color: var(--ink); }
.ex-set-summary { min-width: 175px; max-width: 230px; flex: 0 1 210px; }
.ex-set-summary p { display: flex; align-items: baseline; gap: 5px; margin: 0 0 9px; color: var(--muted); font-size: 12px; }
.ex-set-summary strong { color: var(--ink); font-size: 26px; line-height: 1; letter-spacing: -.04em; font-weight: 600; }
.ex-set-summary small { display: block; margin-top: 7px; color: var(--muted); font-size: 10px; line-height: 1.5; }
.ex-progress { height: 3px; overflow: hidden; border-radius: 4px; background: var(--line); }
.ex-progress > span { display: block; height: 100%; border-radius: inherit; background: var(--gold, #e7cf87); }
.ex-card-grid { list-style: none; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 17px; padding: 0; margin: 0; }
.ex-card { min-width: 0; border: 1px solid var(--line); border-radius: 16px; padding: 12px; background: rgba(255, 255, 255, .018); }
.ex-card[data-status=collected] { border-color: #70664f; background: rgba(231, 207, 135, .025); }
.ex-card[data-status=unknown] { border-style: dashed; }
.ex-card-link { display: block; border-radius: 8px; }
.ex-artwork { position: relative; display: block; aspect-ratio: 5 / 7; border-radius: 8px; overflow: hidden; background: #1c1c1c; }
.ex-card-image { display: block; width: 100%; height: 100%; object-fit: contain; border-radius: 8px; transition: opacity .18s ease; }
.ex-card[data-status=hunting] .ex-card-image { opacity: .8; }
.ex-card[data-status=unknown] .ex-card-image { opacity: .7; }
.ex-card-link:hover .ex-card-image, .ex-card-link:focus-visible .ex-card-image { opacity: 1; }
.ex-art-fallback { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 10px; padding: 14px; text-align: center; color: var(--muted); font-size: 12px; line-height: 1.6; }
.ex-art-fallback small { font-size: 11px; color: var(--ink); }
.ex-card-caption { padding: 13px 1px 3px; }
.ex-card-number { margin: 0 0 5px; font: 400 10px/1.4 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; color: var(--muted); }
.ex-card h3 { font-size: 15px; line-height: 1.35; font-weight: 600; letter-spacing: -.025em; overflow-wrap: anywhere; margin: 0; }
.ex-card-variant { font-size: 10px; color: var(--muted); margin: 5px 0 0; line-height: 1.5; }
.ex-status { display: inline-flex; align-items: center; gap: 6px; margin-top: 12px; font-size: 10px; font-weight: 500; line-height: 1.5; color: var(--muted); }
.ex-status > span { width: 5px; height: 5px; flex: 0 0 5px; border: 1px solid currentColor; border-radius: 50%; }
.ex-status-collected { color: var(--gold, #e7cf87); }
.ex-status-collected > span { background: currentColor; }
.ex-status-unknown { color: var(--blue, #b8d8ff); }
.ex-footnote { margin: 0 0 25px; padding-top: 10px; color: var(--muted); font-size: 11px; line-height: 1.7; max-width: 650px; }
.ex-footnote a { text-decoration: underline; text-underline-offset: 3px; }
.ex-modal-open { overflow: hidden; }
.ex-dialog { border: 1px solid var(--line); padding: 0; border-radius: 18px; width: min(560px, calc(100% - 28px)); max-height: calc(100dvh - 28px); max-height: calc(100vh - 28px); overflow: auto; background: var(--bg); color: var(--ink); box-shadow: 0 24px 100px rgba(0, 0, 0, .4); }
@supports (height: 100dvh) { .ex-dialog { max-height: calc(100dvh - 28px); } }
.ex-dialog::backdrop { background: rgba(0, 0, 0, .82); }
.ex-dialog-panel { padding: 16px 24px 22px; }
.ex-dialog-close-form { display: flex; justify-content: flex-end; margin-bottom: 12px; }
.ex-dialog-close { padding: 9px 14px; min-height: 40px; border: 1px solid var(--line); border-radius: 99px; background: transparent; color: var(--ink); font-size: 12px; }
.ex-dialog-art { position: relative; width: min(100%, 330px, 36vh); margin: 0 auto; aspect-ratio: 5 / 7; border-radius: 10px; background: #1c1c1c; }
@supports (height: 100dvh) { .ex-dialog-art { width: min(100%, 330px, 36dvh); } }
.ex-dialog-image { display: block; width: 100%; height: 100%; object-fit: contain; border-radius: 10px; }
.ex-dialog-info { padding: 23px 0 18px; }
.ex-dialog-info h2 { font-size: 25px; line-height: 1.2; letter-spacing: -.04em; margin: 6px 0 7px; }
.ex-dialog-info > p[data-ex-dialog-status] { margin: 0 0 7px; }
.ex-dialog-info .ex-status { margin-top: 6px; font-size: 12px; }
.ex-dialog-detail { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.6; }
.ex-dialog-navigation { display: flex; align-items: center; justify-content: space-between; gap: 15px; padding-top: 15px; border-top: 1px solid var(--line); }
.ex-dialog-navigation button { border: 1px solid var(--line); border-radius: 99px; padding: 10px 16px; min-height: 42px; font-size: 12px; background: transparent; color: var(--ink); }
.ex-dialog-navigation button:disabled { opacity: .4; cursor: default; }
.ex-dialog-navigation > span { color: var(--muted); font-size: 11px; font-variant-numeric: tabular-nums; }
.ex-teaser { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 35px; padding: 35px; margin: 5px 0 55px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); }
.ex-teaser:hover { border-color: #827760; }
.ex-teaser-copy { min-width: 0; }
.ex-teaser h2 { font-size: clamp(32px, 3.3vw, 44px); line-height: 1.05; letter-spacing: -.045em; margin: 16px 0; }
.ex-teaser h2 em { font-weight: 400; }
.ex-teaser-copy > p:not(.ex-eyebrow) { font-size: 15px; line-height: 1.7; color: var(--muted); max-width: 370px; margin: 0 0 16px; }
.ex-teaser-count { display: block; color: var(--gold, #e7cf87); font-size: 12px; line-height: 1.6; }
.ex-teaser-count > span { display: inline-block; padding: 0 7px; color: var(--muted); }
.ex-teaser-action { display: inline-block; margin-top: 22px; padding-bottom: 6px; font-size: 12px; font-weight: 600; border-bottom: 1px solid var(--ink); }
.ex-teaser-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: center; gap: 13px; max-width: 450px; justify-self: end; }
.ex-teaser-cards img { display: block; width: 100%; height: auto; aspect-ratio: 5 / 7; object-fit: contain; border-radius: 8px; box-shadow: 0 12px 24px rgba(0, 0, 0, .16); }
@media (max-width: 1050px) { .ex-card-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } .ex-teaser { padding: 28px; } .ex-teaser-cards { gap: 10px; } }
@media (max-width: 820px) { .ex-card-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 15px; } .ex-heading { padding-top: 30px; } .ex-set-logo { width: 100px; height: 60px; } .ex-set-identity { gap: 16px; } .ex-set-summary { flex-basis: 165px; min-width: 150px; } .ex-teaser { grid-template-columns: 1fr; gap: 26px; } .ex-teaser-cards { justify-self: start; width: min(100%, 390px); } }
@media (max-width: 620px) {
  .ex-heading { padding: 24px 0 26px; }
  .ex-back-link { margin-bottom: 12px; }
  .ex-heading h1 { font-size: clamp(38px, 9.9vw, 55px); }
  .ex-intro { font-size: 15px; }
  .ex-heading-note { font-size: 10px; gap: 6px 16px; }
  .ex-stats > div { padding: 17px 10px; }
  .ex-stats > div:first-child { padding-left: 0; }
  .ex-stats dd { font-size: 30px; }
  .ex-stats dt { font-size: 10px; }
  .ex-awaiting-note { font-size: 11px; }
  .ex-search-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .8fr); gap: 10px; }
  .ex-field input, .ex-field select { font-size: 16px; }
  .ex-filter-bottom { gap: 10px; }
  .ex-status-filters { gap: 7px; }
  .ex-filter { font-size: 11px; gap: 7px; padding: 10px 12px; }
  .ex-results { font-size: 11px; }
  .ex-set { padding: 28px 0 34px; }
  .ex-set-header { align-items: flex-start; gap: 17px; margin-bottom: 21px; }
  .ex-set-identity { width: 100%; gap: 14px; }
  .ex-set h2 { font-size: 24px; }
  .ex-set-logo { width: 90px; height: 60px; }
  .ex-set-summary { flex: 1 1 auto; max-width: none; display: grid; grid-template-columns: 1fr auto; align-items: center; column-gap: 15px; }
  .ex-set-summary p { margin: 0; }
  .ex-set-summary strong { font-size: 21px; }
  .ex-set-summary small { grid-column: 2; grid-row: 1; margin: 0; text-align: right; font-size: 10px; }
  .ex-set-summary .ex-progress { grid-column: 1 / -1; grid-row: 2; margin-top: 10px; }
  .ex-card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .ex-card { padding: 10px; border-radius: 13px; }
  .ex-card h3 { font-size: 14px; }
  .ex-card-number { font-size: 9px; }
  .ex-card-caption { padding-top: 11px; }
  .ex-status { font-size: 10px; margin-top: 10px; }
  .ex-dialog-panel { padding: 12px 18px 18px; }
  .ex-dialog-info { padding-top: 19px; }
  .ex-dialog-info h2 { font-size: 24px; }
  .ex-teaser { padding: 24px; margin-bottom: 35px; }
  .ex-teaser h2 { font-size: 34px; }
  .ex-teaser-cards { gap: 9px; }
}
@media (max-width: 360px) { .ex-card { padding: 8px; } .ex-card-grid { gap: 10px; } .ex-set-logo { width: 72px; } .ex-set h2 { font-size: 21px; } .ex-status { font-size: 9px; gap: 5px; } .ex-filter { padding-inline: 10px; } }
@media (prefers-reduced-motion: reduce) { .ex-card-image { transition: none; } }
