/* [project]/public/css/legendary-cards.css [app-client] (css) */
.legendary-page, .legendary-dialog-backdrop {
  --lc-gold: #f0d13d;
  --lc-cream: #f6e8cf;
  --lc-muted: #baa99a;
  --lc-line: #d6aa4e47;
  --lc-label: "Staatliches", sans-serif;
  --lc-copy: "Special Elite", system-ui;
  color: var(--lc-cream);
  font-family: var(--lc-copy);
}

.legendary-page *, .legendary-dialog-backdrop * {
  box-sizing: border-box;
}

.legendary-page {
  background: radial-gradient(65% 500px at 85% 160px, #8c461b2e, #0000), radial-gradient(80% 800px at 0 0, #5b251f4d, #0000), linear-gradient(#281d1c, #160d0c 700px, #100b0a);
  min-height: 100vh;
}

.legendary-main {
  display: block;
}

.legendary-shell {
  width: min(1440px, 100% - 80px);
  margin: 0 auto;
  padding: 170px 0 50px;
  position: relative;
}

.legendary-header {
  justify-content: space-between;
  align-items: center;
  gap: 35px;
  padding: 0 28px 44px 0;
  display: flex;
  position: relative;
}

.legendary-header:after {
  content: "";
  opacity: .6;
  background: url("/img/f01.webp") center / 100% 100% no-repeat;
  height: 8px;
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
}

.legendary-eyebrow {
  color: #c29961;
  font-family: var(--lc-label);
  letter-spacing: .2em;
  font-size: .79rem;
  font-weight: normal;
  line-height: 1.5;
}

.legendary-eyebrow > span {
  color: var(--lc-gold);
  padding-right: 7px;
}

.legendary-header h1 {
  letter-spacing: .01em;
  color: var(--lc-cream);
  text-shadow: 0 5px 25px #0008;
  margin: 15px 0 16px;
  font-family: Metal Mania, fantasy;
  font-size: clamp(3.6rem, 6.3vw, 6.4rem);
  font-weight: 400;
  line-height: .99;
}

.legendary-header h1 > span {
  color: var(--lc-gold);
}

.legendary-intro {
  max-width: 650px;
  color: var(--lc-muted);
  margin: 0 0 17px;
  font-size: 1rem;
  line-height: 1.85;
}

.legendary-text-link {
  color: #ecd48d;
  align-items: center;
  gap: 20px;
  min-height: 40px;
  font-size: .8rem;
  display: inline-flex;
}

.legendary-text-link:hover {
  color: var(--lc-gold);
}

.legendary-seal {
  border: 1px solid var(--lc-line);
  width: 225px;
  height: 225px;
  box-shadow: inset 0 0 0 9px #281d1c, inset 0 0 0 10px var(--lc-line);
  background: radial-gradient(#b57e2221, #0000 70%);
  border-radius: 50%;
  flex-direction: column;
  flex-shrink: 0;
  justify-content: center;
  align-items: center;
  display: flex;
  position: relative;
  transform: rotate(-7deg);
}

.legendary-seal:after {
  content: "✧";
  color: #bf974f;
  background: #281d1c;
  font-size: 1.5rem;
  position: absolute;
  top: 50%;
  right: -9px;
}

.legendary-seal > span {
  font-family: var(--lc-label);
  letter-spacing: .13em;
  color: #cfb482;
  font-size: .74rem;
}

.legendary-seal .legendary-seal-top {
  letter-spacing: .19em;
  font-size: .7rem;
}

.legendary-seal > strong {
  color: var(--lc-gold);
  text-shadow: 0 0 25px #e4c46222;
  margin: 5px 0;
  font-size: 4.8rem;
  font-weight: normal;
  line-height: 1.12;
}

.legendary-seal > small {
  color: #a38d72;
  margin-top: 8px;
  font-size: .65rem;
}

.legendary-art-note {
  align-items: center;
  gap: 15px;
  max-width: 940px;
  margin: 26px 0;
  display: flex;
}

.legendary-note-icon {
  color: #c4a161;
  font-size: 1.8rem;
}

.legendary-art-note p {
  color: #ad9b8d;
  margin: 0;
  font-size: .79rem;
  line-height: 1.7;
}

.legendary-art-note strong {
  color: #d9c5ab;
  font-weight: normal;
}

.legendary-sample-shortcuts {
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 18px;
  margin-top: 8px;
  display: flex;
}

.legendary-sample-shortcuts > span {
  color: #a99171;
  font-family: var(--lc-label);
  letter-spacing: .1em;
  font-size: .64rem;
}

.legendary-sample-shortcuts button {
  color: #e6cd91;
  min-height: 36px;
  font-family: var(--lc-copy);
  cursor: pointer;
  background: none;
  border: 0;
  border-bottom: 1px solid #b5955040;
  align-items: center;
  gap: 9px;
  padding: 3px 0;
  font-size: .73rem;
  display: inline-flex;
}

.legendary-sample-shortcuts button:hover {
  color: var(--lc-gold);
  border-bottom-color: #c7a756;
}

.legendary-filter-panel {
  border: 1px solid var(--lc-line);
  background: linear-gradient(100deg, #3e2b243d, #21171580);
  padding: 21px 24px 16px;
}

.legendary-toolbar {
  grid-template-columns: minmax(200px, 1.5fr) 1fr 1.15fr 1fr;
  gap: 22px;
  display: grid;
}

.legendary-toolbar label {
  min-width: 0;
  display: block;
}

.legendary-toolbar label > span {
  font-family: var(--lc-label);
  letter-spacing: .13em;
  color: #b29a7c;
  margin-bottom: 9px;
  font-size: .73rem;
  display: block;
}

.legendary-toolbar input, .legendary-toolbar select {
  border: 0;
  border-bottom: 1px solid var(--lc-line);
  color: #eadcc9;
  width: 100%;
  min-width: 0;
  height: 43px;
  font-family: var(--lc-copy);
  background: none;
  border-radius: 0;
  outline: none;
  padding: 0 9px 0 0;
  font-size: .84rem;
}

.legendary-toolbar input::placeholder {
  color: #9f8b7c;
  opacity: 1;
}

.legendary-toolbar select {
  cursor: pointer;
  text-overflow: ellipsis;
}

.legendary-toolbar select option {
  color: #f4e8d1;
  background: #281d1c;
}

.legendary-toolbar input:focus-visible, .legendary-toolbar select:focus-visible {
  border-bottom-color: var(--lc-gold);
  outline-offset: 3px;
  outline: 2px solid #f0d13d88;
}

.legendary-filter-footer {
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  min-height: 33px;
  padding-top: 12px;
  display: flex;
}

.legendary-filter-footer p {
  color: #ad9b8d;
  font-size: .7rem;
  line-height: 1.5;
}

.legendary-filter-footer button {
  color: #dec47f;
  min-height: 36px;
  font-family: var(--lc-copy);
  cursor: pointer;
  background: none;
  border: 0;
  align-items: center;
  gap: 20px;
  font-size: .74rem;
  display: flex;
}

.legendary-label {
  font-family: var(--lc-label);
  letter-spacing: .13em;
  color: #ac9478;
  font-size: .68rem;
}

.legendary-notice {
  color: #d0bd9e;
  background: #a8873410;
  border-left: 2px solid #ab8744;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-top: 16px;
  padding: 14px 18px;
  font-size: .79rem;
  line-height: 1.7;
  display: flex;
}

.legendary-notice p {
  margin: 0;
}

.legendary-catalog-time {
  color: #b7a086;
  margin: 14px 0 0;
  font-size: .68rem;
  line-height: 1.6;
  display: block;
}

.legendary-notice .legendary-catalog-time {
  margin-top: 4px;
}

.legendary-notice--error {
  background: #b05c4d15;
  border-color: #b05c4d;
}

.legendary-notice button, .legendary-dialog-state button {
  border: 1px solid var(--lc-line);
  color: #eed898;
  min-height: 40px;
  font-family: var(--lc-copy);
  cursor: pointer;
  background: #a8873410;
  flex-shrink: 0;
  padding: 8px 14px;
  font-size: .78rem;
}

.legendary-results-bar {
  color: #b8a593;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  margin: 32px 0 19px;
  font-size: .78rem;
  line-height: 1.6;
  display: flex;
}

.legendary-results-bar strong {
  font-family: var(--lc-label);
  color: #ebdabb;
  font-size: 1.1rem;
  font-weight: normal;
}

.legendary-results-divider {
  color: #745d49;
  margin: 0 10px;
}

.legendary-previous-note {
  color: #c2a676;
  margin: 0 0 17px;
  font-size: .8rem;
  line-height: 1.6;
}

.legendary-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 38px 25px;
  display: grid;
}

.legendary-grid--previous {
  opacity: .55;
}

.legendary-tile {
  min-width: 0;
  color: var(--lc-cream);
  text-align: left;
  cursor: pointer;
  font-family: var(--lc-copy);
  isolation: isolate;
  content-visibility: auto;
  contain-intrinsic-size: auto 480px;
  background: none;
  border: 0;
  padding: 0;
}

.legendary-tile-stage {
  perspective: 1100px;
  transition: transform .3s;
}

.legendary-tile-flipper {
  aspect-ratio: 2 / 3.02;
  transform-style: preserve-3d;
  transition: transform .65s cubic-bezier(.2, .65, .25, 1);
  position: relative;
}

.legendary-tile-frame {
  backface-visibility: hidden;
  background: radial-gradient(at 50% 40%, #62554045, #0000 75%), #1b1512;
  border: 1px solid #9b773d;
  border-radius: 12px 3px;
  flex-direction: column;
  transition: border-color .3s, box-shadow .3s;
  display: flex;
  position: absolute;
  inset: 0;
  overflow: hidden;
  box-shadow: inset 0 0 0 4px #1b1512, inset 0 0 0 5px #a7844945, 0 12px 25px #0004;
}

.legendary-tile-frame--front {
  transform: translateZ(.5px);
}

.legendary-tile-frame--back {
  transform: rotateY(180deg)translateZ(.5px);
}

.legendary-tile-frame:after {
  content: "";
  z-index: 4;
  pointer-events: none;
  border: 1px solid #bd944833;
  border-radius: 8px 1px;
  position: absolute;
  inset: 5px;
}

.legendary-tile-heading {
  z-index: 3;
  color: #d9bb78;
  font-family: var(--lc-label);
  letter-spacing: .09em;
  justify-content: space-between;
  gap: 8px;
  padding: 16px 17px 7px;
  font-size: .75rem;
  display: flex;
  position: relative;
}

.legendary-tile-art {
  position: absolute;
  inset: 12% 8% 23%;
}

.legendary-tile-art img {
  object-fit: contain;
  width: 100%;
  height: 100%;
}

.legendary-tile-image-unavailable {
  color: #bca683;
  text-align: center;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 14px;
  width: 100%;
  height: 100%;
  font-size: .73rem;
  line-height: 1.8;
  display: flex;
}

.legendary-tile-image-unavailable > span:first-child {
  color: #ceb176;
  font-size: 2rem;
}

.legendary-tile-frame--full-body .legendary-tile-art {
  inset: 0;
}

.legendary-tile-frame--full-body .legendary-tile-art img {
  object-fit: cover;
}

.legendary-tile-frame--full-body .legendary-tile-heading {
  text-shadow: 0 2px 5px #000;
  background: linear-gradient(#120b08d9, #0000);
  padding-bottom: 20px;
}

.legendary-tile-foil {
  z-index: 2;
  pointer-events: none;
  opacity: .16;
  mix-blend-mode: screen;
  background: linear-gradient(120deg, #0000 18%, #e1cc7230 34%, #6fccd169 42%, #b396d92e 48%, #f6db8b82 57%, #0000 68%) 90% 10% / 250% 250%;
  transition: background-position .8s, opacity .4s;
  position: absolute;
  inset: 0;
}

.legendary-tile-details {
  z-index: 3;
  text-align: center;
  background: linear-gradient(#0000, #17100de8 29%, #17100d 98%);
  margin-top: auto;
  padding: 44px 15px 18px;
  position: relative;
}

.legendary-stars {
  color: var(--lc-gold, #f0d13d);
  letter-spacing: .1em;
  text-shadow: 0 1px 2px #000;
  white-space: nowrap;
  font-family: system-ui, sans-serif;
  font-size: clamp(.83rem, 1.15vw, 1.14rem);
  line-height: 1.35;
  display: block;
}

.legendary-tile h2 {
  font-family: var(--lc-label);
  color: #f0dfbd;
  text-overflow: ellipsis;
  white-space: nowrap;
  margin: 10px 0 8px;
  font-size: clamp(1.1rem, 1.8vw, 1.7rem);
  font-weight: normal;
  line-height: 1.12;
  overflow: hidden;
}

.legendary-tile-status {
  font-family: var(--lc-label);
  letter-spacing: .08em;
  color: #bda379;
  font-size: .58rem;
  line-height: 1.5;
  display: block;
}

.legendary-tile-action {
  color: #bfa77f;
  justify-content: space-between;
  gap: 10px;
  padding: 14px 3px 0;
  font-size: .71rem;
  display: flex;
}

.legendary-tile-action > span:last-child {
  color: #d6b569;
}

.legendary-tile-hover-hint {
  display: none;
}

.legendary-tile:focus-visible .legendary-tile-flipper {
  transform: rotateY(180deg);
}

.legendary-tile:focus-visible .legendary-tile-frame {
  border-color: #d8bc64;
}

@media (hover: hover) and (pointer: fine) {
  .legendary-tile-hover-hint {
    display: inline;
  }

  .legendary-tile:hover .legendary-tile-stage {
    transform: translateY(-5px)rotate(-.45deg);
  }

  .legendary-tile:hover .legendary-tile-flipper {
    transform: rotateY(180deg);
  }

  .legendary-tile:hover .legendary-tile-frame {
    border-color: #d8bc64;
    box-shadow: 0 16px 35px #0006, 0 0 26px #be9e2210;
  }

  .legendary-tile:hover .legendary-tile-foil {
    opacity: .58;
    background-position: 5% 85%;
  }

  .legendary-tile:hover .legendary-tile-action {
    color: #f0d99a;
  }
}

.legendary-page button:focus-visible, .legendary-page a:focus-visible, .legendary-dialog button:focus-visible, .legendary-dialog a:focus-visible {
  outline: 2px solid var(--lc-gold);
  outline-offset: 5px;
}

.legendary-page button:disabled, .legendary-dialog button:disabled {
  opacity: .5;
  cursor: wait;
}

.legendary-empty {
  text-align: center;
  border-block: 1px solid var(--lc-line);
  justify-items: center;
  gap: 17px;
  padding: 75px 20px;
  display: grid;
}

.legendary-empty > span {
  color: #bb9b61;
  font-size: 3rem;
}

.legendary-empty h2 {
  font-family: var(--lc-label);
  color: #dbc5a6;
  font-size: 1.65rem;
  font-weight: normal;
}

.legendary-empty p {
  color: var(--lc-muted);
  font-size: .85rem;
  line-height: 1.8;
}

.legendary-load-more {
  justify-content: center;
  margin-top: 46px;
  display: flex;
}

.legendary-load-more button {
  color: #ecd7a4;
  min-height: 49px;
  font-family: var(--lc-copy);
  cursor: pointer;
  background: linear-gradient(120deg, #72512833, #281b164d);
  border: 1px solid #a68546;
  justify-content: space-between;
  align-items: center;
  gap: 45px;
  padding: 14px 24px;
  font-size: .83rem;
  display: flex;
}

.legendary-footer {
  text-align: center;
  border-top: 1px solid var(--lc-line);
  flex-direction: column;
  align-items: center;
  gap: 16px;
  margin-top: 65px;
  padding-top: 26px;
  display: flex;
}

.legendary-footer > span {
  color: #c09b56;
}

.legendary-footer p {
  color: #c0a988;
  font-size: .83rem;
  line-height: 2;
}

.legendary-footer p > span {
  color: #9e8b7a;
  font-size: .69rem;
}

.legendary-dialog-backdrop {
  z-index: 10000;
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  background: #0b0707e8;
  justify-content: center;
  align-items: center;
  padding: 22px;
  display: flex;
  position: fixed;
  inset: 0;
  overflow-y: auto;
}

.legendary-dialog {
  overscroll-behavior: contain;
  background: radial-gradient(at 30% 20%, #65442c24, #0000 65%), #17100e;
  border: 1px solid #9a77465e;
  outline: none;
  width: min(1260px, 100%);
  max-height: calc(100dvh - 44px);
  position: relative;
  overflow-y: auto;
  box-shadow: 0 30px 100px #000b;
}

.legendary-dialog-header {
  z-index: 5;
  border-bottom: 1px solid var(--lc-line);
  background: #1e1512;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 20px 25px 16px;
  display: flex;
  position: relative;
}

.legendary-dialog-header .legendary-eyebrow {
  font-size: .67rem;
  display: block;
}

.legendary-dialog-header h2 {
  color: #f3dfb8;
  margin-top: 7px;
  font-family: Metal Mania, fantasy;
  font-size: 1.9rem;
  font-weight: normal;
  line-height: 1.1;
}

.legendary-dialog-close {
  border: 1px solid var(--lc-line);
  color: #f0d79d;
  cursor: pointer;
  background: #38251e;
  flex-shrink: 0;
  justify-content: center;
  align-items: center;
  width: 44px;
  height: 44px;
  font-size: 1.75rem;
  display: flex;
}

.legendary-dialog-title {
  min-width: 0;
}

.legendary-dialog-actions {
  flex-shrink: 0;
  align-items: center;
  gap: 10px;
  display: flex;
}

.legendary-dialog-view-mode {
  color: #f2d697;
  cursor: pointer;
  white-space: nowrap;
  background: linear-gradient(#412c1e, #241810);
  border: 1px solid #a78249;
  min-height: 44px;
  padding: 10px 16px;
  font: 17px Staatliches, sans-serif;
}

.legendary-dialog-view-mode:hover, .legendary-dialog-view-mode[aria-pressed="true"] {
  border-color: var(--lc-gold);
  background: #483320;
}

.legendary-dialog-view-mode span {
  margin-right: 5px;
}

.legendary-dialog-backdrop.legendary-dialog-backdrop--immersive {
  background: #050404;
  padding: 0;
  overflow: hidden;
}

.legendary-dialog.legendary-dialog--immersive {
  background: #050404;
  border: 0;
  flex-direction: column;
  width: 100%;
  height: 100dvh;
  min-height: 0;
  max-height: none;
  display: flex;
  overflow: hidden;
}

.legendary-dialog--immersive .legendary-dialog-header {
  padding: max(10px, env(safe-area-inset-top)) max(18px, env(safe-area-inset-right)) 10px max(18px, env(safe-area-inset-left));
  background: #100d0b;
  flex-shrink: 0;
}

.legendary-dialog--immersive .legendary-dialog-header h2 {
  margin-top: 3px;
  font-size: 1.45rem;
}

.legendary-dialog--immersive .legendary-dialog-header .legendary-eyebrow {
  font-size: .55rem;
}

.legendary-dialog--immersive .legendary-dialog-art-status {
  display: none;
}

@media (max-width: 560px) {
  .legendary-dialog-header {
    gap: 10px;
  }

  .legendary-dialog-actions {
    gap: 6px;
  }

  .legendary-dialog-view-mode {
    padding: 8px 10px;
    font-size: 15px;
  }

  .legendary-dialog-view-mode span {
    display: none;
  }

  .legendary-dialog-header .legendary-dialog-title h2 {
    font-size: 1.2rem;
  }

  .legendary-dialog--immersive .legendary-dialog-title h2 {
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
  }

  .legendary-dialog--immersive .legendary-eyebrow {
    font-size: .5rem;
  }
}

.legendary-dialog-art-status {
  color: #c2ac88;
  background: #a6813210;
  border-bottom: 1px solid #b7965930;
  padding: 12px 25px;
  font-size: .73rem;
  line-height: 1.65;
}

.legendary-dialog-state {
  text-align: center;
  color: #d4c0a2;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 22px;
  min-height: 340px;
  padding: 50px 25px;
  line-height: 1.8;
  display: flex;
}

.legendary-dialog-state p {
  max-width: 560px;
}

.legendary-dialog-state a {
  color: #dec27e;
  font-size: .8rem;
}

.legendary-loading-star {
  color: var(--lc-gold);
  font-size: 2.6rem;
}

@media (max-width: 1100px) {
  .legendary-shell {
    width: calc(100% - 44px);
    padding-top: 150px;
  }

  .legendary-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px 20px;
  }

  .legendary-toolbar {
    grid-template-columns: minmax(0, 1.5fr) 1fr 1.2fr;
    gap: 17px;
  }

  .legendary-toolbar label:last-child {
    grid-column: 1 / -1;
    max-width: 230px;
  }

  .legendary-seal {
    width: 190px;
    height: 190px;
  }

  .legendary-seal > strong {
    font-size: 3.6rem;
  }

  .legendary-seal > span {
    font-size: .66rem;
  }

  .legendary-stars {
    letter-spacing: .08em;
    font-size: 1rem;
  }
}

@media (max-width: 680px) {
  .legendary-shell {
    width: calc(100% - 28px);
    padding-top: 124px;
  }

  .legendary-header {
    align-items: flex-start;
    gap: 10px;
    padding: 0 0 29px;
  }

  .legendary-heading-copy {
    min-width: 0;
  }

  .legendary-header h1 {
    margin-top: 13px;
    font-size: clamp(3rem, 12vw, 4.7rem);
  }

  .legendary-header h1 > span {
    display: block;
  }

  .legendary-eyebrow {
    letter-spacing: .12em;
    font-size: .63rem;
  }

  .legendary-intro {
    margin-bottom: 8px;
    font-size: .77rem;
    line-height: 1.7;
  }

  .legendary-text-link {
    font-size: .73rem;
  }

  .legendary-seal {
    width: 112px;
    height: 112px;
    box-shadow: inset 0 0 0 4px #281d1c, inset 0 0 0 5px var(--lc-line);
    margin-top: 44px;
  }

  .legendary-seal > strong {
    margin: 4px 0;
    font-size: 2.35rem;
  }

  .legendary-seal > span {
    letter-spacing: .03em;
    font-size: .44rem;
  }

  .legendary-seal .legendary-seal-top {
    letter-spacing: .07em;
    font-size: .43rem;
  }

  .legendary-seal > small {
    margin-top: 4px;
    font-size: .36rem;
  }

  .legendary-seal:after {
    font-size: 1rem;
    right: -6px;
  }

  .legendary-art-note {
    gap: 10px;
    margin: 20px 0;
  }

  .legendary-art-note p {
    font-size: .7rem;
  }

  .legendary-sample-shortcuts {
    gap: 1px 16px;
  }

  .legendary-sample-shortcuts > span {
    flex-basis: 100%;
    margin-top: 3px;
  }

  .legendary-sample-shortcuts button {
    min-height: 44px;
    font-size: .67rem;
  }

  .legendary-filter-panel {
    padding: 16px 13px 12px;
  }

  .legendary-toolbar {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 16px 15px;
  }

  .legendary-toolbar .legendary-search {
    grid-column: 1 / -1;
  }

  .legendary-toolbar label:last-child {
    grid-column: auto;
    max-width: none;
  }

  .legendary-toolbar label:nth-child(3) {
    grid-area: 3 / 1 / auto / -1;
  }

  .legendary-toolbar label > span {
    margin-bottom: 4px;
    font-size: .66rem;
  }

  .legendary-toolbar input, .legendary-toolbar select {
    min-height: 44px;
    font-size: .79rem;
  }

  .legendary-filter-footer p {
    font-size: .64rem;
  }

  .legendary-filter-footer > .legendary-label {
    display: none;
  }

  .legendary-filter-footer button {
    white-space: nowrap;
    gap: 10px;
    min-height: 44px;
    font-size: .66rem;
  }

  .legendary-results-bar {
    margin: 23px 0 16px;
    font-size: .7rem;
  }

  .legendary-results-bar > .legendary-label {
    display: none;
  }

  .legendary-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 23px 12px;
  }

  .legendary-tile-heading {
    padding: 12px 12px 6px;
    font-size: .63rem;
  }

  .legendary-tile-frame--full-body .legendary-tile-heading {
    padding-bottom: 12px;
  }

  .legendary-tile-details {
    padding: 30px 8px 13px;
  }

  .legendary-tile h2 {
    margin: 7px 0 6px;
    font-size: 1.17rem;
  }

  .legendary-stars {
    letter-spacing: .06em;
    font-size: clamp(.75rem, 2.9vw, .92rem);
  }

  .legendary-tile-status {
    letter-spacing: .04em;
    font-size: .49rem;
  }

  .legendary-tile-action {
    padding-top: 11px;
    font-size: .59rem;
  }

  .legendary-notice {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 12px;
    font-size: .73rem;
  }

  .legendary-dialog-backdrop {
    padding: 0;
    display: block;
  }

  .legendary-dialog {
    border: 0;
    min-height: 100dvh;
    max-height: none;
    overflow: visible;
  }

  .legendary-dialog-header {
    padding: 14px 16px;
    position: sticky;
    top: 0;
  }

  .legendary-dialog-header h2 {
    font-size: 1.55rem;
  }

  .legendary-dialog-header .legendary-eyebrow {
    font-size: .56rem;
  }

  .legendary-dialog-art-status {
    padding: 10px 16px;
    font-size: .68rem;
  }

  .legendary-footer {
    margin-top: 45px;
  }

  .legendary-footer p > span {
    max-width: 310px;
    margin-top: 5px;
    font-size: .62rem;
    display: block;
  }
}

@media (prefers-reduced-motion: reduce) {
  .legendary-page *, .legendary-dialog-backdrop * {
    scroll-behavior: auto !important;
  }

  .legendary-tile-stage, .legendary-tile-flipper, .legendary-tile-frame, .legendary-tile-foil {
    transition: none;
  }

  .legendary-tile:hover .legendary-tile-stage {
    transform: none;
  }
}

