@font-face {
  font-family: DM;
  src: url(../arcade-ui/assets/dm-sans-latin-400-normal.woff2);
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: DM;
  src: url(../arcade-ui/assets/dm-sans-latin-600-normal.woff2);
  font-weight: 600 800;
  font-display: swap;
}
@font-face {
  font-family: Barlow;
  src: url(../arcade-ui/assets/barlow-condensed-latin-700-normal.woff2);
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: Workbench;
  src: url(../arcade-ui/assets/workbench.woff2);
  font-weight: 400;
  font-display: swap;
}
:root,
:host {
  color-scheme: dark;
  --page: #192a24;
  --deep: #12211d;
  --panel: #263b32;
  --rim: #607366;
  --line: #40564b;
  --ink: #fff1d3;
  --muted: #b6c8b7;
  --mint: #a2d9b9;
  --gold: #f5ce76;
  --shadow: #10221b;
  --mono: ui-monospace, Menlo, monospace;
}
* {
  box-sizing: border-box;
}
body,
:host {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font:
    400 15px/1.4 DM,
    Arial,
    sans-serif;
  -webkit-font-smoothing: antialiased;
}
h1,
h2,
h3,
p,
figure {
  margin: 0;
}
button,
input,
select {
  font: inherit;
  color: inherit;
}
button {
  border: 0;
  background: transparent;
  cursor: pointer;
}
a {
  text-decoration: none;
  color: inherit;
}
button,
a,
select {
  touch-action: manipulation;
}
.card,
.artist-feature {
  -webkit-tap-highlight-color: transparent;
}
.artist-feature:active {
  border-color: var(--gold);
}
button:disabled {
  opacity: 0.35;
  cursor: default;
}
:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}
[hidden] {
  display: none !important;
}
.sr {
  position: absolute;
  width: 1px;
  height: 1px;
  clip-path: inset(50%);
  overflow: hidden;
  white-space: nowrap;
}
.mast {
  background: var(--deep);
  border-bottom: 2px solid var(--rim);
  box-shadow: 0 2px var(--shadow);
}
.mast-inner,
.page {
  max-width: 1500px;
  margin: auto;
  padding-inline: clamp(17px, 4vw, 68px);
}
.mast-inner {
  display: flex;
  align-items: center;
  gap: 32px;
  min-height: 70px;
}
.brand {
  display: grid;
  gap: 4px;
  width: max-content;
  flex: none;
}
.brand span,
.feature-copy small,
.bio strong,
.work-meta h3 {
  font: 700 10px/1.3 var(--mono);
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--mint);
}
.brand span {
  font-size: 9px;
  letter-spacing: 0.16em;
}
.brand img {
  display: block;
  width: 151px;
  height: auto;
  image-rendering: pixelated;
}
.layouts {
  display: flex;
  align-self: stretch;
  gap: 8px;
  align-items: center;
  margin-left: auto;
}
.layouts a,
.map-link,
.back-artists {
  font-weight: 600;
  font-size: 13px;
}
.layouts a {
  padding: 8px 14px;
  color: var(--muted);
  border: 1px solid transparent;
}
.layouts a[aria-current='page'] {
  background: #35493b;
  color: var(--ink);
  border-color: #71816b;
  box-shadow: 2px 2px 0 #0d1915;
}
.layouts a:hover,
.map-link:hover,
.back-artists:hover {
  color: var(--gold);
}
.map-link {
  border-left: 1px solid var(--line);
  padding: 8px 0 8px 24px;
}
.map-link span {
  color: var(--gold);
}
#intro {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 148px;
  padding: 25px 0 23px;
}
h1 {
  font:
    400 clamp(38px, 4.25vw, 67px)/1.05 Workbench,
    Barlow,
    sans-serif;
  letter-spacing: -0.045em;
  text-shadow: 2px 3px 0 #0f1c17;
}
h1:focus {
  outline: 0;
}
.intro-copy > p {
  margin-top: 10px;
  color: var(--muted);
  font-size: 14px;
}
.artist-feature {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  width: clamp(290px, 32vw, 440px);
  min-height: 96px;
  padding: 12px 18px;
  border: 1px solid #839581;
  background: #334f40;
  box-shadow:
    3px 3px var(--shadow),
    inset 0 0 0 3px #2d4539;
  color: var(--ink);
}
.artist-feature:hover {
  border-color: var(--gold);
  background: #385644;
}
.feature-copy {
  display: grid;
  flex: none;
  gap: 2px;
  z-index: 1;
}
.feature-copy small {
  font-size: 9px;
  color: #c1d6ab;
}
.feature-copy b {
  font:
    700 28px/1.1 Barlow,
    sans-serif;
}
.feature-copy > span {
  font-size: 12px;
  color: var(--gold);
}
.feature-prints {
  width: 45%;
  height: 68px;
  position: relative;
}
.feature-prints img {
  position: absolute;
  width: 76%;
  height: 36px;
  object-fit: contain;
  filter: drop-shadow(2px 2px 0 #17261d);
}
.feature-prints img:nth-child(1) {
  right: 0;
  top: -4px;
}
.feature-prints img:nth-child(2) {
  right: 12%;
  top: 16px;
}
.feature-prints img:nth-child(3) {
  right: 24%;
  top: 36px;
}
.back-artists {
  white-space: nowrap;
  color: var(--gold);
  border: 1px solid var(--rim);
  padding: 8px 11px;
}
.filters {
  display: grid;
  grid-template-columns: minmax(168px, 1.55fr) minmax(128px, 0.78fr) minmax(116px, 0.7fr) auto;
  gap: 12px;
  align-items: center;
  border-block: 1px solid var(--line);
  padding: 12px 0;
}
.search,
.select-wrap {
  position: relative;
  display: flex;
  align-items: center;
  min-width: 0;
  height: 39px;
  border: 1px solid var(--rim);
  background: var(--deep);
}
.search {
  gap: 12px;
  padding: 0 10px 0 13px;
}
.glass {
  width: 12px;
  height: 12px;
  border: 2px solid var(--muted);
  position: relative;
  flex: none;
}
.glass:after {
  content: '';
  width: 6px;
  height: 2px;
  background: var(--muted);
  position: absolute;
  right: -5px;
  bottom: -3px;
  transform: rotate(45deg);
}
.search input {
  border: 0;
  background: transparent;
  min-width: 0;
  flex: 1;
  font-size: 13px;
}
.search input::placeholder {
  color: #bbc7bc;
  opacity: 1;
}
.search input:focus-visible {
  outline: 0;
}
.search:focus-within {
  outline: 2px solid var(--gold);
  outline-offset: 1px;
}
kbd {
  font: 11px/17px var(--mono);
  text-align: center;
  width: 17px;
  border: 1px solid var(--rim);
  color: var(--muted);
}
.select-wrap {
  background: var(--panel);
}
.select-wrap select {
  height: 100%;
  width: 100%;
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--ink);
  padding: 0 29px 0 12px;
  cursor: pointer;
  font-size: 13px;
  text-overflow: ellipsis;
}
.select-wrap option {
  background: var(--deep);
  color: var(--ink);
}
.select-wrap:after {
  content: '';
  position: absolute;
  right: 12px;
  top: 16px;
  border: 4px solid transparent;
  border-top-color: var(--mint);
  pointer-events: none;
}
.palette,
#colors {
  display: flex;
  align-items: center;
}
.palette {
  gap: 7px;
}
.palette > span {
  font-size: 12px;
  color: var(--muted);
}
.swatch {
  display: grid;
  place-items: center;
  width: 23px;
  height: 34px;
  padding: 0;
}
.swatch:before,
.color-name:before {
  content: '';
  width: 14px;
  height: 14px;
  background: var(--swatch);
  border: 1px solid #a2afa080;
}
.swatch[aria-pressed='true']:before,
.swatch:hover:before {
  box-shadow:
    0 0 0 2px var(--page),
    0 0 0 3px var(--gold);
}
.result-line {
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font: 600 11px/1.4 var(--mono);
  color: var(--muted);
}
.result-line button,
.empty button {
  color: var(--gold);
  font-size: 12px;
  text-decoration: underline;
  text-underline-offset: 3px;
}
#collection {
  padding-bottom: 60px;
}
.wall-grid,
.room-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 26px clamp(12px, 1.6vw, 26px);
}
.wall-item {
  min-width: 0;
}
.card {
  display: block;
}
.mount {
  position: relative;
  aspect-ratio: 1.72;
}
.card:focus-visible {
  outline: none;
}
.card:is(:hover, :focus-visible) .art-name {
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.card:focus-visible .art-name {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}
.mount img {
  position: absolute;
  inset: 4% 5%;
  width: 90%;
  height: 92%;
  object-fit: contain;
  transition: transform 0.14s ease;
}
.card:hover img {
  transform: translateY(-2px);
}
.card-caption {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 3px 8px;
  margin-top: 8px;
}
.variant-count {
  color: var(--muted);
  font: 600 10px/1.4 var(--mono);
}
.art-name {
  font:
    700 clamp(18px, 1.55vw, 25px)/1.04 Barlow,
    sans-serif;
}
.byline {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.23;
}
.by-artist,
.creator-link,
.room-link:hover {
  color: var(--mint);
}
.by-artist:hover,
.creator-link:hover,
.back-artists:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.room {
  display: grid;
  grid-template-columns: minmax(150px, 0.85fr) minmax(0, 2.85fr);
  gap: clamp(18px, 3vw, 50px);
  padding: 21px 0 27px;
  border-top: 1px solid var(--line);
}
.room-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.room-title {
  font:
    700 34px/1.04 Barlow,
    sans-serif;
}
.credit-type {
  color: var(--muted);
  font-size: 12px;
  margin-top: 7px;
}
.bio {
  max-width: 54ch;
}
.intro-copy .bio,
.room .bio {
  margin-top: 13px;
}
.bio strong,
.work-meta h3 {
  display: block;
  margin-bottom: 6px;
}
.bio p {
  margin: 0;
  font-size: 13px;
  line-height: 1.52;
}
.empty {
  padding: 44px 15px;
  text-align: center;
  background: var(--panel);
  border: 1px solid var(--line);
}
.empty h2 {
  font:
    700 32px Barlow,
    sans-serif;
  margin-bottom: 7px;
}
#work-dialog {
  color: var(--ink);
  background: var(--page);
  border: 1px solid #889782;
  box-shadow: 4px 5px #0a1713;
  padding: 0;
  width: min(1040px, calc(100% - 44px));
  max-height: calc(100dvh - 36px);
  overflow: auto;
  overscroll-behavior: contain;
}
#work-dialog::backdrop {
  background: #0d1713ce;
}
:host #work-dialog::backdrop {
  background: rgb(10 20 16 / 52%);
}
body:has(#work-dialog[open]) {
  overflow: hidden;
}
.detail-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px clamp(14px, 2vw, 26px);
  gap: 12px;
  border-bottom: 1px solid var(--rim);
  background: var(--deep);
}
.detail-bar button {
  padding: 6px 0;
  color: var(--ink);
  font:
    600 13px DM,
    sans-serif;
}
.detail-bar button:hover {
  color: var(--gold);
}
.paging {
  display: flex;
  align-items: center;
  gap: 9px;
}
.paging button {
  font-size: 17px;
  min-width: 30px;
  min-height: 31px;
}
.paging span {
  font: 600 11px/1.3 var(--mono);
  color: var(--muted);
}
.paging .exit-map {
  border-left: 1px solid var(--rim);
  margin-left: 3px;
  padding-left: 12px;
  font:
    21px DM,
    sans-serif;
}
#work-body {
  padding: clamp(15px, 2.15vw, 30px);
}
.work-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}
.work-head h2 {
  font:
    700 clamp(33px, 3.7vw, 56px)/1 Barlow,
    sans-serif;
  letter-spacing: -0.01em;
}
.creator-link,
.uncredited {
  font-size: 13px;
}
.uncredited {
  color: var(--muted);
}
.variant:hover {
  border-color: var(--gold);
}
.work-meta {
  min-width: 0;
}
.work-meta .tags,
.work-colors {
  display: flex;
  gap: 5px 8px;
  flex-wrap: wrap;
}
.variant-strip {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
}
.variant {
  display: flex;
  align-items: center;
  gap: 7px;
  min-height: 43px;
  padding: 4px 8px;
  color: var(--ink);
  border-bottom: 2px solid transparent;
  font:
    600 13px DM,
    sans-serif;
}
.variant img {
  width: 42px;
  height: 24px;
  object-fit: contain;
}
.variant[aria-pressed='true'] {
  border-color: var(--gold);
  color: #ffdc94;
}
.info-grid {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 17px 28px;
  padding-top: 15px;
  margin-top: 18px;
  border-top: 1px solid var(--line);
}
.info-grid .bio {
  flex: 1 1 240px;
}
.color-name {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 0;
  font-size: 12px;
}
.color-name:before {
  width: 10px;
  height: 10px;
}
@media (min-width: 1640px) {
  .wall-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}
@media (max-width: 980px) {
  .filters {
    gap: 7px;
    grid-template-columns: minmax(155px, 1fr) minmax(114px, 0.67fr) minmax(90px, 0.55fr) auto;
  }
  .swatch {
    width: 18px;
  }
  .wall-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .room {
    grid-template-columns: 1fr 2.5fr;
  }
  .variant {
    gap: 4px;
    padding: 4px 6px;
  }
  .variant img {
    width: 33px;
  }
}
@media (max-width: 740px) {
  .mast-inner {
    gap: 14px;
  }
  .layouts {
    gap: 2px;
  }
  .layouts a {
    padding: 7px 9px;
  }
  .map-link {
    padding-left: 12px;
  }
  .filters {
    grid-template-columns: 1.1fr 0.8fr 0.74fr;
  }
  .palette {
    grid-column: 1/-1;
    gap: 9px;
  }
  .swatch {
    width: 25px;
    height: 28px;
  }
  .room {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .work-head {
    align-items: flex-start;
  }
  .info-grid {
    gap: 13px 18px;
  }
  .feature-prints {
    height: 60px;
  }
  .artist-feature {
    min-height: 90px;
  }
}
@media (min-width: 741px) {
  [data-layout='rooms'] .wall-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (max-width: 580px) {
  .mast-inner {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 8px;
    padding-block: 11px 8px;
  }
  .brand img {
    width: 131px;
  }
  .brand span {
    font-size: 8px;
  }
  .layouts {
    margin: 0;
    grid-row: 2;
    grid-column: 1/-1;
    gap: 8px;
  }
  .layouts a {
    padding: 5px 10px;
    font-size: 12px;
  }
  .map-link {
    grid-row: 1;
    grid-column: 2;
    border: 0;
  }
  .page,
  .mast-inner {
    padding-inline: 14px;
  }
  #intro {
    min-height: 0;
    align-items: center;
    padding: 19px 0 17px;
    gap: 10px;
  }
  h1 {
    font-size: clamp(28px, 7.4vw, 39px);
  }
  .intro-copy > p {
    font-size: 12px;
    margin-top: 5px;
  }
  .artist-feature {
    width: 42%;
    min-width: 130px;
    min-height: 76px;
    padding: 7px 9px;
    gap: 0;
  }
  .feature-copy b {
    font-size: 22px;
  }
  .feature-copy small {
    font-size: 7px;
  }
  .feature-copy > span {
    font-size: 11px;
  }
  .feature-prints {
    display: none;
  }
  .back-artists {
    font-size: 11px;
    white-space: nowrap;
    padding: 6px;
  }
  #intro:has(.back-artists) {
    align-items: flex-start;
    flex-direction: column;
  }
  .filters {
    grid-template-columns: 1fr 1fr;
    gap: 7px;
    padding: 8px 0;
  }
  .search {
    grid-column: 1/-1;
  }
  .search,
  .select-wrap {
    height: 36px;
  }
  .palette {
    grid-column: 1/-1;
  }
  .swatch {
    width: 26px;
    height: 25px;
  }
  .result-line {
    min-height: 35px;
  }
  .room-title {
    font-size: 30px;
  }
  .wall-grid,
  .room-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px 11px;
  }
  .mount {
    aspect-ratio: 1.36;
  }
  .byline {
    font-size: 11px;
  }
  .work-head {
    display: block;
    margin-bottom: 11px;
  }
  .work-head h2 {
    font-size: 34px;
    margin-bottom: 3px;
  }
  #work-dialog {
    width: calc(100% - 12px);
    max-width: calc(100% - 12px);
    max-height: calc(100dvh - 12px);
  }
  .detail-bar {
    position: sticky;
    top: 0;
    z-index: 4;
    padding: 5px 12px;
  }
  #work-body {
    padding: 12px;
  }
  .variant {
    min-height: 39px;
    padding: 3px 7px;
  }
  .info-grid {
    margin-top: 15px;
  }
  .paging {
    gap: 5px;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
  }
}

@media (max-width: 480px) {
  .layouts {
    gap: 2px;
  }
  .layouts a {
    padding-inline: 7px;
  }
}
