@font-face {
  font-family: Cinzel;
  src: url(fonts/cinzel.woff2) format("woff2");
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
}
@font-face {
  font-family: Barlow;
  src: url(fonts/barlow-400.woff2) format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: Barlow;
  src: url(fonts/barlow-500.woff2) format("woff2");
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: Barlow;
  src: url(fonts/barlow-600.woff2) format("woff2");
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: Barlow;
  src: url(fonts/barlow-700.woff2) format("woff2");
  font-weight: 700;
  font-display: swap;
}
:root {
  color-scheme: dark;
  --ink: #060a14;
  --night: #0a1120;
  --deep: #111c33;
  --paper: #f1e7d0;
  --gold: #d9b56a;
  --bright: #f3d796;
  --mist: #a6afbf;
  --line: rgba(217, 181, 106, 0.25);
  --serif: Cinzel, Georgia, serif;
  --sans: Barlow, "Arial Narrow", Arial, sans-serif;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 20px;
}
body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font: 400 18px/1.55 var(--sans);
  -webkit-font-smoothing: antialiased;
}
body:has(dialog[open]) {
  overflow: hidden;
}
::selection {
  background: #a88847;
  color: #060a14;
}
[hidden] {
  display: none !important;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input,
select {
  font: inherit;
}
button {
  cursor: pointer;
}
a,
button,
input,
summary,
select {
  -webkit-tap-highlight-color: transparent;
}
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
summary:focus-visible {
  outline: 2px solid #f3d796;
  outline-offset: 4px;
}
img {
  display: block;
  max-width: 100%;
}
button {
  color: inherit;
  background: none;
  border: 0;
}
h1,
h2,
h3,
p,
figure,
blockquote,
dl,
dd {
  margin: 0;
}
h1,
h2,
h3 {
  font-family: var(--serif);
  font-weight: 600;
  text-wrap: balance;
}
h1,
h2 {
  letter-spacing: -0.038em;
}
h1 {
  font-size: clamp(42px, 5.2vw, 78px);
  line-height: 1.04;
}
h2 {
  font-size: clamp(34px, 4vw, 54px);
  line-height: 1.12;
}
h3 {
  font-size: 24px;
  line-height: 1.25;
}
em {
  font-style: normal;
  color: var(--gold);
}
.container {
  width: min(1200px, calc(100% - clamp(44px, 10vw, 152px)));
  margin-inline: auto;
}
.skip {
  position: fixed;
  left: 10px;
  top: -90px;
  background: var(--bright);
  color: var(--ink);
  padding: 12px;
  z-index: 40;
}
.skip:focus {
  top: 10px;
}
.icon {
  width: 19px;
  height: 19px;
  display: inline-block;
  flex: 0 0 auto;
  vertical-align: middle;
}
.masthead {
  position: relative;
  z-index: 6;
  background: #080d18;
  border-bottom: 1px solid var(--line);
}
.head-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 78px;
  gap: 30px;
}
.brand {
  display: inline-flex;
  align-items: center;
  min-height: 52px;
}
.brand img {
  width: 143px;
  height: auto;
}
.main-nav {
  display: flex;
  justify-content: center;
  align-self: stretch;
  gap: clamp(20px, 2.6vw, 42px);
}
.main-nav a {
  display: flex;
  position: relative;
  align-items: center;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.035em;
  color: #cbc9c3;
}
.main-nav a:hover,
.main-nav [aria-current] {
  color: var(--bright);
}
.main-nav a[aria-current]:after {
  content: "";
  position: absolute;
  bottom: 13px;
  left: 50%;
  width: 5px;
  height: 5px;
  background: var(--gold);
  transform: translateX(-50%) rotate(45deg);
}
.head-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 42px;
  font-size: 15px;
  font-weight: 600;
  color: var(--bright);
  border: 1px solid #77623e;
  padding: 0 19px;
  border-radius: 10px;
}
.head-cta .icon {
  width: 16px;
}
.head-cta:hover,
.head-cta.current {
  background: #211f1b;
}
.menu-toggle {
  display: none;
}
.overline,
.label,
.scroll-cue,
.counter,
.filter-count {
  font: 600 12px/1.3 var(--sans);
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.overline {
  display: flex;
  align-items: center;
  gap: 15px;
  color: var(--gold);
  margin-bottom: 17px;
  letter-spacing: 0.2em;
}
.orn {
  position: relative;
  width: 35px;
  height: 1px;
  background: var(--gold);
  display: inline-block;
}
.orn:after {
  position: absolute;
  content: "";
  height: 5px;
  width: 5px;
  right: 0;
  top: -2px;
  background: var(--gold);
  transform: rotate(45deg);
}
.label {
  color: var(--gold);
  letter-spacing: 0.13em;
}
.section {
  padding: clamp(64px, 7.5vw, 112px) 0;
}
.muted,
.chronicles {
  background: var(--night);
}
.section-title,
.strip-inner {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
}
.section-title {
  margin-bottom: 35px;
}
.actions {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
}
.button,
.text-link,
.back-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 13px;
  font-weight: 600;
  min-height: 44px;
}
.button {
  border: 1px solid var(--line);
  min-height: 49px;
  padding: 0 24px;
  border-radius: 10px;
  font-size: 16px;
  letter-spacing: 0.025em;
}
.gold {
  border-color: #dfbf79;
  color: #20180b;
  background: linear-gradient(110deg, #ebcd8c, #c9a353);
}
.gold:hover {
  background: var(--bright);
}
.secondary {
  border-color: #776740;
  color: var(--bright);
  background: rgba(10, 17, 32, 0.58);
}
.secondary:hover {
  border-color: var(--gold);
  background: #232326;
}
.text-link {
  font-size: 16px;
  color: var(--bright);
  letter-spacing: 0.015em;
}
.text-link:hover .icon,
.button:hover .icon {
  transform: translateX(3px);
}
.icon,
.card-stage img,
.news-image img {
  transition: transform 0.22s ease;
}
.back-link {
  margin-bottom: 28px;
  color: var(--gold);
  justify-content: flex-start;
  font-size: 16px;
}
.hero {
  position: relative;
  isolation: isolate;
  background: var(--ink);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.hero-slide {
  position: relative;
  isolation: isolate;
  display: grid;
  align-items: center;
  min-height: clamp(585px, 43vw, 705px);
  padding: 52px 0 96px;
}
.hero-art,
.hero-shade,
.chapter-art,
.chapter-shade,
.story-hero > img,
.story-mask {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}
.hero-art {
  left: auto;
  width: 76%;
  overflow: hidden;
}
.hero-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 45%;
}
.hero-2 .hero-art,
.hero-3 .hero-art {
  width: 68%;
}
.hero-shade {
  background: linear-gradient(
      90deg,
      #060a14 2%,
      rgba(6, 10, 20, 0.99) 21%,
      rgba(6, 10, 20, 0.9) 32%,
      rgba(6, 10, 20, 0.52) 46%,
      rgba(6, 10, 20, 0.04) 65%
    ),
    linear-gradient(
      0deg,
      #060a14 0%,
      rgba(6, 10, 20, 0.5) 9%,
      transparent 32%,
      transparent 84%,
      rgba(6, 10, 20, 0.19)
    );
}
.hero-copy {
  position: relative;
  z-index: 1;
}
.hero .overline {
  margin-bottom: 24px;
}
.hero h1,
.hero h2 {
  font-size: clamp(55px, 5.35vw, 81px);
  line-height: 1.06;
  max-width: 690px;
  font-weight: 600;
  letter-spacing: -0.055em;
}
.hero-copy > p {
  margin-top: 18px;
  color: #d8d7d5;
  font-size: 21px;
  max-width: 420px;
  line-height: 1.45;
  text-wrap: pretty;
}
.hero .actions {
  margin-top: 28px;
}
.hero .text-link {
  color: var(--paper);
}
.hero-console {
  position: absolute;
  bottom: 20px;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 2;
}
.scroll-cue {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #c9bfa9;
  letter-spacing: 0.18em;
  font-size: 10px;
  min-height: 44px;
}
.scroll-cue > span {
  display: grid;
  place-items: center;
  border: 1px solid #706142;
  border-radius: 50%;
  width: 25px;
  height: 25px;
}
.scroll-cue .icon {
  width: 13px;
  height: 13px;
}
.hero-pages,
.counter,
.gallery-control {
  display: flex;
  align-items: center;
}
.hero-pages {
  gap: 7px;
}
.counter {
  gap: 9px;
  color: #c0b7a5;
  font-size: 11px;
  margin-right: 10px;
}
.counter b {
  font-weight: 600;
  color: var(--bright);
}
.counter i {
  display: block;
  width: 38px;
  height: 1px;
  background: #8c785a;
}
.hero-pages button,
.gallery-control button {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid #766747;
  color: var(--paper);
  border-radius: 50%;
  background: #0a101bb5;
}
.hero-pages button:hover,
.gallery-control button:hover {
  background: #312b24;
}
.hero-pages .icon {
  width: 15px;
}
.archive {
  background: radial-gradient(ellipse at 53% -50%, #142036 0%, transparent 65%),
    var(--night);
}
.card-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 32px 22px;
}
.card-tile {
  min-width: 0;
  display: block;
}
.card-stage {
  aspect-ratio: 1.04;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  display: grid;
  place-items: center;
  border: 1px solid #3f3c38;
  border-radius: 14px;
  background: radial-gradient(
    ellipse at 53% 95%,
    #383344 0,
    #171b2b 40%,
    #0c1220 78%
  );
}
.card-tile:nth-child(4n + 2) .card-stage {
  background: radial-gradient(
    ellipse at 53% 95%,
    #254037 0,
    #131e27 48%,
    #0b131d 82%
  );
}
.card-tile:nth-child(4n + 3) .card-stage {
  background: radial-gradient(
    ellipse at 53% 95%,
    #4d3d25 0,
    #252429 38%,
    #101522 80%
  );
}
.card-stage:before,
.museum:before {
  position: absolute;
  content: "";
  width: 88%;
  aspect-ratio: 1;
  left: 6%;
  top: 8%;
  border: 1px solid #d9b56a15;
  transform: rotate(45deg);
  z-index: -1;
}
.card-stage:after,
.museum:after {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px solid #d9b56a18;
  pointer-events: none;
  z-index: -1;
}
.card-stage img {
  position: absolute;
  height: 85%;
  width: 79%;
  object-fit: contain;
  filter: drop-shadow(0 7px 7px #0009);
  transform: rotate(-5deg);
}
.card-tile:nth-child(even) .card-stage img {
  transform: rotate(4deg);
}
.card-tile:hover .card-stage img,
.card-tile:focus-visible .card-stage img {
  transform: rotate(0deg) scale(1.035);
}
.inspect {
  position: absolute;
  right: 8px;
  bottom: 8px;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  color: var(--gold);
  background: #0c111dd9;
  border: 1px solid var(--line);
  border-radius: 50%;
}
.inspect .icon {
  width: 13px;
  height: 13px;
}
.tile-caption {
  padding: 13px 0 0;
}
.tile-caption .label {
  font-size: 10px;
  letter-spacing: 0.14em;
}
.tile-caption .label span {
  color: #7d7667;
  margin: 0 5px;
}
.tile-caption h3 {
  font-size: clamp(17px, 1.5vw, 23px);
  margin-top: 4px;
}
.chapter-feature,
.story-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-block: 1px solid var(--line);
}
.chapter-feature {
  background: var(--ink);
  min-height: 460px;
  display: grid;
  align-items: center;
}
.chapter-art {
  width: 65%;
  left: auto;
  object-fit: cover;
  object-position: 50% 52%;
}
.chapter-shade {
  background: linear-gradient(
      90deg,
      var(--ink) 24%,
      #060a14f2 35%,
      #060a1488 50%,
      transparent 75%
    ),
    linear-gradient(0deg, #060a146b, transparent 40%, #060a1429);
}
.chapter-body {
  padding-block: 66px;
}
.chapter-body h2,
.story-hero h1 {
  font-size: clamp(45px, 5.2vw, 78px);
}
.chapter-body p,
.community-band p,
.valen-grid p,
.community-columns p,
.community-top p {
  color: #c0c5ce;
}
.chapter-body p {
  max-width: 415px;
  margin: 18px 0 24px;
}
.duel-grid,
.lore-copy,
.faq,
.community-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(38px, 8vw, 116px);
}
.lede,
.page-intro > p {
  color: #c1c6cf;
  font-size: 21px;
  line-height: 1.5;
}
.duel-grid .lede {
  max-width: 340px;
  margin: 18px 0;
}
.rules > div {
  display: flex;
  align-items: center;
  gap: 30px;
  border-top: 1px solid var(--line);
  padding: 22px 0;
}
.rules > div:last-child {
  border-bottom: 1px solid var(--line);
}
.rules dt {
  width: 100px;
  flex: 0 0 auto;
  font: 500 41px/1 var(--serif);
  color: var(--gold);
  letter-spacing: -0.06em;
}
.rules h3 {
  font-size: 21px;
}
.rules p,
.news-tile p,
.subtle,
.status-note {
  color: var(--mist);
}
.rules p {
  margin-top: 6px;
}
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 36px 25px;
}
.news-image {
  aspect-ratio: 1.9;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 4px;
}
.news-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
}
.news-tile:hover img {
  transform: scale(1.035);
}
.news-tile:hover h3,
.card-tile:hover h3 {
  color: var(--bright);
}
.news-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 15px 0 8px;
}
.news-meta time {
  font-size: 14px;
  color: var(--mist);
}
.news-tile h3 {
  font-size: 24px;
}
.news-tile p {
  margin-top: 8px;
}
.community-band {
  padding: 56px 0;
}
.community-band p {
  margin-top: 12px;
}
.download-strip {
  border-block: 1px solid var(--line);
  background: linear-gradient(110deg, #141a27, #10172a 65%, #181b25);
  padding: 40px 0;
}
.strip-inner {
  align-items: center;
}
.strip-text {
  display: flex;
  align-items: center;
  gap: 20px;
}
.strip-text img {
  border-radius: 12px;
}
.strip-text h2 {
  font-size: 29px;
  margin-top: 2px;
}
.footer {
  padding: 26px 0;
  background: #060a12;
}
.foot-inner {
  display: flex;
  align-items: center;
  gap: 25px;
  font-size: 14px;
  color: var(--mist);
}
.foot-inner .brand img {
  width: 122px;
}
.foot-inner span {
  margin-right: auto;
}
.foot-inner a:not(.brand) {
  display: grid;
  align-items: center;
  min-height: 44px;
}
.foot-inner a:hover {
  color: var(--bright);
}
.interior {
  padding-block: 55px 92px;
  min-height: 65vh;
}
.page-intro {
  padding: 12px 0 38px;
}
.page-intro > p {
  max-width: 660px;
  margin-top: 17px;
}
.catalog-tools {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  border-top: 1px solid var(--line);
  padding-top: 22px;
}
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.filters button,
.search,
.rarity select {
  border: 1px solid #474643;
  background: #101725;
  border-radius: 4px;
  min-height: 44px;
}
.filters button {
  padding: 7px 18px;
  font-size: 16px;
}
.filters button:hover {
  border-color: var(--gold);
}
.filters [aria-pressed="true"] {
  border-color: var(--gold);
  background: #302b20;
  color: var(--bright);
}
.search {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 10px;
  color: var(--mist);
}
.search input {
  background: transparent;
  border: 0;
  color: var(--paper);
  min-height: 42px;
  width: 152px;
  font-size: 16px;
}
.rarity span {
  position: absolute;
  clip-path: inset(50%);
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.rarity select {
  padding: 5px 9px;
  color: var(--paper);
  font-size: 16px;
}
.filter-count {
  color: var(--mist);
  font-size: 11px;
  padding: 22px 0 15px;
}
.empty {
  padding: 32px;
  background: var(--night);
  border: 1px solid var(--line);
}
.empty h2 {
  font-size: 28px;
}
.empty p {
  margin: 12px 0;
}
.detail-grid,
.download-top,
.community-top,
.valen-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(34px, 7vw, 98px);
}
.museum {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: radial-gradient(ellipse at 50% 75%, #2a2a36, var(--night) 78%);
  padding: 28px;
}
.zoom-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
  width: 100%;
}
.zoom-card img {
  height: min(46vw, 470px);
  max-width: 100%;
  object-fit: contain;
  filter: drop-shadow(0 14px 11px #0008);
}
.zoom-card span {
  font-size: 14px;
  color: var(--gold);
  min-height: 32px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.card-copy h1,
.article h1 {
  font-size: clamp(38px, 4.3vw, 66px);
}
.card-copy .lede {
  margin: 18px 0 22px;
}
.card-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 15px 24px;
  border-block: 1px solid var(--line);
  padding: 15px 0;
  margin-bottom: 24px;
}
.card-facts dt {
  color: var(--mist);
  font-size: 13px;
}
.card-facts dd {
  font-weight: 600;
}
.card-copy blockquote {
  margin: 8px 0 12px;
  padding-left: 14px;
  border-left: 1px solid var(--gold);
  color: #d6d0c2;
}
.other-card {
  margin-top: 16px;
}
.art-dialog {
  position: fixed;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--night);
  padding: 18px;
  max-width: 96vw;
  max-height: 96dvh;
  overflow: auto;
}
.art-dialog::backdrop {
  background: #02050be8;
}
.art-dialog img {
  height: min(80dvh, 850px);
  max-width: 86vw;
  object-fit: contain;
}
.dialog-close {
  display: grid;
  place-items: center;
  position: sticky;
  top: 0;
  margin-left: auto;
  min-height: 42px;
  min-width: 44px;
}
.story-hero {
  min-height: 440px;
  display: grid;
  align-items: center;
}
.story-hero > img {
  object-fit: cover;
  object-position: 50% 53%;
}
.story-mask {
  background: linear-gradient(
      90deg,
      #060a14fa,
      #060a14d9 30%,
      #060a147a 55%,
      #060a1433
    ),
    linear-gradient(0deg, #060a14c9, transparent 35%);
}
.story-hero > .container {
  padding-block: 64px;
}
.story-hero p {
  margin-top: 14px;
  font-size: 22px;
}
.lore-copy p + p,
.valen-grid p,
.community-columns p {
  margin-top: 16px;
}
.lore-copy p,
.valen-grid p,
.community-columns p,
.conduct {
  font-size: 20px;
  line-height: 1.55;
}
.valen-grid .text-link {
  margin-top: 16px;
}
.portrait {
  position: relative;
}
.portrait img {
  width: 100%;
  border-radius: 14px;
}
.portrait figcaption {
  font: 500 15px var(--sans);
  color: var(--mist);
  margin-top: 10px;
}
.custodians {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.custodians article {
  border-top: 1px solid var(--line);
  padding-top: 15px;
}
.custodians h3 {
  margin: 10px 0;
}
.custodians p,
.cultural {
  color: var(--mist);
}
.cultural {
  max-width: 750px;
  margin-top: 40px;
  font-size: 16px;
}
.article {
  max-width: 850px;
}
.article .lede {
  margin: 17px 0 25px;
}
.article-art {
  width: 100%;
  aspect-ratio: 2.5;
  object-fit: cover;
  object-position: center 40%;
  border-radius: 4px;
}
.prose {
  max-width: 690px;
  margin: 30px auto 0;
  font-size: 21px;
}
.prose p {
  margin-bottom: 18px;
}
.download-top,
.community-top {
  min-height: 470px;
}
.download-top .page-intro,
.community-top .page-intro {
  padding-bottom: 22px;
}
.store-row {
  display: flex;
  gap: 12px;
}
.store {
  min-width: 132px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 8px 17px;
  border: 1px solid #5c584d;
  border-radius: 6px;
  background: #0b111c;
  line-height: 1.2;
}
.store strong {
  font-weight: 600;
  font-size: 23px;
}
.store .label {
  font-size: 10px;
}
.pending {
  cursor: default;
}
.status-note {
  font-size: 15px;
  margin: 8px 0 15px;
}
.deck-fan {
  position: relative;
  min-height: 330px;
  isolation: isolate;
  display: grid;
  place-items: center;
}
.deck-fan img {
  position: absolute;
  height: 88%;
  width: auto;
  max-width: 58%;
  object-fit: contain;
  filter: drop-shadow(0 12px 12px #0008);
}
.deck-fan img:first-child {
  transform: rotate(-14deg) translateX(-32%);
  z-index: -1;
}
.deck-fan img:last-child {
  transform: rotate(14deg) translateX(32%);
  z-index: -1;
}
.gallery {
  max-width: 850px;
  margin: auto;
}
.gallery figure {
  display: grid;
  grid-template-columns: 1fr 0.65fr;
  gap: 28px;
  align-items: center;
}
.gallery figure img {
  width: 100%;
  height: 310px;
  object-fit: contain;
  background: var(--ink);
  border: 1px solid var(--line);
  border-radius: 6px;
}
.gallery figcaption p {
  margin-top: 10px;
  color: var(--mist);
}
.gallery-control {
  justify-content: center;
  gap: 17px;
  margin-top: 20px;
  font-size: 15px;
  color: var(--gold);
}
.faq details {
  border-top: 1px solid var(--line);
}
.faq summary {
  cursor: pointer;
  padding: 16px 0;
  font-weight: 600;
  font-size: 20px;
}
.faq details p {
  padding: 0 0 20px;
  color: var(--mist);
}
.community-art {
  overflow: hidden;
  border-radius: 14px;
  border: 1px solid var(--line);
}
.community-art img {
  width: 100%;
  max-height: 330px;
  object-fit: cover;
}
.pending > span:not(.label) {
  font-size: 12px;
  color: var(--mist);
}
.conduct {
  margin: 12px 0;
  padding-left: 20px;
  color: #c0c5ce;
}
.conduct li {
  margin: 9px 0;
}
@media (max-width: 950px) {
  .head-inner {
    gap: 13px;
  }
  .main-nav {
    gap: 18px;
  }
  .brand img {
    width: 128px;
  }
  .hero h1,
  .hero h2 {
    font-size: clamp(48px, 6.5vw, 64px);
  }
  .hero-copy > p {
    font-size: 19px;
    max-width: 370px;
  }
  .hero-slide {
    min-height: 545px;
  }
  .catalog-tools .search {
    margin-left: 0;
  }
  .card-grid {
    gap: 24px 14px;
  }
  .custodians {
    grid-template-columns: 1fr 1fr;
  }
  .card-stage {
    aspect-ratio: 0.86;
  }
  .tile-caption h3 {
    font-size: 18px;
  }
}
@media (max-width: 760px) {
  .container {
    width: calc(100% - 42px);
  }
  .head-inner {
    min-height: 67px;
  }
  .menu-toggle {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    order: 3;
    min-height: 44px;
    min-width: 44px;
    justify-content: center;
    color: var(--paper);
    padding: 0;
  }
  .menu-toggle span {
    display: none;
  }
  .main-nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: #0b1220;
    border-bottom: 1px solid var(--line);
    padding: 10px 21px 18px;
    box-shadow: 0 15px 24px #0007;
  }
  .main-nav.open {
    display: grid;
    gap: 0;
  }
  .main-nav a {
    min-height: 46px;
    border-bottom: 1px solid #ffffff11;
  }
  .main-nav a[aria-current]:after {
    left: auto;
    right: 8px;
    bottom: 20px;
  }
  .head-cta {
    margin-left: auto;
    min-height: 44px;
    padding: 0 13px;
  }
  .head-inner .brand img {
    width: 123px;
  }
  .section-title {
    gap: 14px;
  }
  .section-title .text-link {
    font-size: 15px;
  }
  .card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 14px;
  }
  .card-stage {
    aspect-ratio: 1;
  }
  .news-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .duel-grid,
  .lore-copy,
  .faq,
  .community-columns {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .rules dt {
    width: 88px;
  }
  .duel-grid h2 br,
  .lore-copy h2 br {
    display: none;
  }
  .duel-grid .lede {
    max-width: none;
  }
  .custodians {
    gap: 24px 16px;
  }
  .detail-grid,
  .valen-grid,
  .download-top,
  .community-top {
    gap: 30px;
  }
  .interior {
    padding-block: 35px 65px;
  }
  .download-strip {
    padding: 30px 0;
  }
  .strip-inner {
    flex-wrap: wrap;
  }
  .foot-inner {
    flex-wrap: wrap;
    gap: 12px 19px;
  }
  .community-band {
    padding: 40px 0;
  }
  .gallery figure {
    grid-template-columns: 1.1fr 1fr;
  }
  .gallery figure img {
    height: 240px;
  }
  .footer .brand {
    min-height: 44px;
  }
}
@media (max-width: 660px) {
  .hero-slide {
    align-items: end;
    min-height: 650px;
    padding: 243px 0 85px;
  }
  .hero-art,
  .hero-2 .hero-art,
  .hero-3 .hero-art {
    width: 100%;
    height: 66%;
    inset: 0 0 auto;
  }
  .hero-art img {
    object-position: 50% 39%;
  }
  .hero-shade {
    background: linear-gradient(
        0deg,
        #060a14 26%,
        #060a14f2 39%,
        #060a14b5 50%,
        #060a1447 68%,
        transparent 85%
      ),
      linear-gradient(90deg, #060a143d, transparent 60%);
  }
  .hero .overline {
    font-size: 10px;
    margin-bottom: 15px;
  }
  .hero h1,
  .hero h2 {
    font-size: clamp(40px, 8.3vw, 53px);
    line-height: 1.08;
  }
  .hero-copy > p {
    font-size: 18px;
    line-height: 1.38;
    max-width: 420px;
    margin-top: 13px;
  }
  .hero .actions {
    margin-top: 19px;
    gap: 18px;
  }
  .actions .button {
    padding-inline: 17px;
    min-height: 46px;
  }
  .hero .text-link {
    font-size: 15px;
  }
  .hero-console {
    bottom: 12px;
  }
  .counter {
    margin-right: 5px;
  }
  .hero-pages button {
    width: 44px;
    height: 44px;
  }
  .section {
    padding: 55px 0;
  }
  .section-title {
    margin-bottom: 23px;
    align-items: flex-start;
    flex-wrap: wrap;
  }
  .section-title .overline {
    margin-bottom: 10px;
  }
  .section-title .text-link {
    min-height: 34px;
  }
  .home-cards .card-tile:nth-child(n + 3) {
    display: none;
  }
  .chapter-art {
    width: 100%;
    opacity: 0.76;
  }
  .chapter-shade {
    background: linear-gradient(90deg, #060a14f0, #060a14b8 50%, #060a1455);
  }
  .chapter-body p {
    max-width: 350px;
  }
  .chapter-feature {
    min-height: 400px;
  }
  .duel-grid {
    gap: 24px;
  }
  .news-grid {
    grid-template-columns: 1fr;
  }
  .news-image {
    aspect-ratio: 2.05;
  }
  .community-band .strip-inner {
    gap: 12px;
  }
  .foot-inner .brand {
    width: auto;
  }
  .foot-inner span {
    flex: 1;
    text-align: right;
  }
  .foot-inner > a:nth-last-child(2) {
    width: 50%;
  }
  .foot-inner > a:last-child {
    margin-left: auto;
  }
  .story-hero {
    min-height: 375px;
  }
  .story-hero p {
    font-size: 19px;
  }
  .detail-grid,
  .valen-grid,
  .download-top,
  .community-top {
    grid-template-columns: 1fr;
  }
  .museum {
    padding: 16px;
  }
  .zoom-card img {
    height: 350px;
  }
  .card-copy .lede,
  .page-intro > p {
    font-size: 19px;
  }
  .card-copy h1 {
    font-size: 40px;
  }
  .portrait {
    max-width: 420px;
  }
  .news-meta {
    margin-top: 12px;
  }
  .article-art {
    aspect-ratio: 1.75;
  }
  .prose {
    font-size: 19px;
  }
  .deck-fan {
    min-height: 260px;
  }
  .gallery figure {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .gallery figure img {
    height: 260px;
  }
  .gallery-control {
    justify-content: flex-start;
  }
  .search {
    flex: 1 1 49%;
    min-width: 0;
  }
  .search input {
    width: 100%;
    min-width: 0;
  }
  .rarity select {
    max-width: 155px;
  }
  .filters {
    width: 100%;
  }
  .filters button {
    padding: 6px 11px;
  }
  .store {
    min-width: 128px;
  }
  .strip-text {
    gap: 12px;
  }
  .strip-text h2 {
    font-size: 25px;
  }
  .community-top .actions {
    gap: 12px;
  }
  .page-intro {
    padding-top: 0;
  }
  .card-grid .tile-caption .label {
    letter-spacing: 0.07em;
  }
  .lore-copy p,
  .valen-grid p,
  .community-columns p,
  .conduct {
    font-size: 18px;
  }
}
@media (max-width: 370px) {
  .container {
    width: calc(100% - 30px);
  }
  .hero .actions {
    gap: 12px;
  }
  .hero-slide {
    min-height: 640px;
  }
  .button {
    padding-inline: 13px;
  }
  .overline {
    letter-spacing: 0.14em;
  }
  .head-inner {
    gap: 6px;
  }
  .search,
  .rarity {
    flex-basis: 100%;
  }
  .rarity select {
    max-width: 100%;
    width: 100%;
  }
  .custodians {
    grid-template-columns: 1fr;
  }
  .counter i {
    width: 24px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
    animation: none !important;
  }
}
