:root {--paper:#fffcf2;--white:#fffef8;--ink:#272426;--plum:#372a43;--wine:#654068;--muted:#5b5258;--soft:#f4edbf;--line:#d2c8aa}
.top{background:#342b40;border-bottom:4px solid #e9ce67}
.top .wordmark,.top .map-open{color:white}
.hero h1 em{display:inline;color:#554064}
.hero .cover-art{border-bottom:6px solid #e6c54f}
.hero .cover-art img{object-position:50% 58%}
#map{aspect-ratio:5/4}
@media(max-width:650px){.hero .deck{order:2}.hero .stats{order:3}.hero .actions{order:4}.hero .cover-art{order:5}}

.next-inner > a:first-child {
  flex-shrink: 0;
  white-space: nowrap;
}
@media (max-width: 360px) {
  #map-sheet .map-list { display: grid; grid-template-columns: 1fr; }
  #map-sheet .map-list button { text-align: left; }
}
@media (orientation: landscape) and (max-height: 500px) {
  #map-sheet[open] { display: block; overflow-y: auto; overscroll-behavior: contain; }
  #map-sheet .sheet-body { overflow: visible; }
  #map-sheet .map-preview { overflow-wrap: break-word; }
}
@container (max-width: 16em) {
  .next-inner [data-finish] .next-label { overflow-wrap: normal; }
  .next-inner [data-finish] > [aria-hidden] { display: none; }
}
