.store-page {
  --ink: #0e2023;
  --surface: #11272a;
  --line: #365053;
  --paper: #f2ead9;
  --muted: #acbfbc;
  --gold: #e5c98f;
  color: var(--paper);
  background: radial-gradient(ellipse at 68% 2%, #1a3436, transparent 46rem), #0b1b1e;
}
.store-page .legal-header { background: #0c1c1f; border-color: var(--line); }
.store-page .legal-header-inner, .store-page .legal-shell, .store-page .legal-footer {
  max-width: 1120px;
  padding-inline: clamp(.875rem, 4vw, 2.75rem);
}
.store-page .legal-header-inner { min-height: 58px; padding-block: .35rem; }
.store-page .legal-brand { display: flex; }
.store-page .legal-brand img { width: 132px; height: auto; }
.store-page .legal-back { color: #dbcba9; }
.store-page .legal-shell { padding-block: clamp(1.2rem, 4vw, 3.4rem) 2rem; }
.store-page .legal-heading { margin: 0 0 .9rem; }
.store-page h1, .store-section-title, .store-feature h3, .store-base-pack h3, .store-currency h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  letter-spacing: -.03em;
  line-height: 1.07;
  color: var(--paper);
}
.store-page h1 { margin: 0; font-size: clamp(2.05rem, 5.5vw, 4.3rem); }
.store-page .legal-document { padding: 0; border: 0; border-radius: 0; background: transparent; }
.store-tabs { display: flex; gap: .35rem; margin: 0 0 1rem; flex-wrap: wrap; }
.store-tabs a {
  display: inline-flex; align-items: center; min-height: 42px; padding: .25rem .9rem;
  font-size: .9rem; text-decoration: none; border: 1px solid var(--line); border-radius: 2px;
  color: #e2e7dc; background: #152c2e;
}
.store-tabs a:hover, .store-tabs a:focus-visible { color: var(--gold); border-color: #aa966e; }
.store-visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0;
}
.store-feature {
  position: relative; isolation: isolate; overflow: hidden; display: grid;
  border: 1px solid #8d7955; border-radius: 5px;
  background: radial-gradient(ellipse at 78% 12%, #425653 0%, transparent 58%), #182e31;
}
.store-feature::before {
  content: ""; position: absolute; inset: 5px; z-index: -1; pointer-events: none;
  border: 1px solid #a68b5959; border-radius: 2px;
}
.store-relics {
  position: relative; isolation: isolate; width: 100%; height: clamp(170px, 48vw, 263px);
  overflow: hidden; align-self: stretch;
  background: radial-gradient(ellipse at 50% 105%, #c4ad6b45, transparent 61%);
}
.store-relics::before {
  content: ""; position: absolute; z-index: -1; width: 77%; aspect-ratio: 1; left: 50%; top: 60%;
  transform: translate(-50%, -50%); border: 1px solid #c4a97155; border-radius: 50%;
  outline: 1px solid #b8a57625; outline-offset: 7px;
}
.store-relics img {
  position: absolute; top: 54%; left: 50%; height: 72%; width: auto; aspect-ratio: 320/427;
  object-fit: cover; border: 1px solid #a78b58; border-radius: 5px; background: #142628;
  box-shadow: 0 6px 18px #051110bd;
}
.store-relics .relic-left { transform: translate(-107%, -38%) rotate(-16deg); }
.store-relics .relic-right { transform: translate(7%, -38%) rotate(16deg); }
.store-relics .relic-center { height: 81%; transform: translate(-50%, -53%); border-color: #dfc78c; }
.store-feature-copy { padding: 1.3rem clamp(1.1rem, 5vw, 3rem) 1.45rem; position: relative; min-width: 0; }
.store-edition { margin: 0 0 .45rem; color: #ddc89b; font-size: .8rem; font-weight: 600; letter-spacing: .035em; }
.store-feature h3 { margin: 0 0 .8rem; font-size: clamp(2.25rem, 5.3vw, 4.1rem); }
.store-guarantees { list-style: none; margin: 0; padding: 0; color: #d4dfd9; font-size: .92rem; line-height: 1.43; }
.store-guarantees li { position: relative; padding-left: .95rem; margin: .3rem 0 0; }
.store-guarantees li::before {
  content: ""; position: absolute; top: .57em; left: .08rem; width: 4px; height: 4px;
  transform: rotate(45deg); background: #c6aa75;
}
.store-price { margin: .95rem 0; color: var(--gold); font-size: 1.04rem; font-weight: 650; line-height: 1.4; font-variant-numeric: tabular-nums; }
.store-price span { color: #d1d9cf; font-size: .91rem; font-weight: 450; white-space: nowrap; }
.store-feature .legal-button {
  width: fit-content; max-width: 100%; min-height: 44px; margin: 0; border-radius: 3px;
  background: #e3c795; color: #172525; border-color: #f2dcb1; padding: .6rem 1.1rem;
}
.store-feature .legal-button:hover { background: #f4dead; }
.store-page .legal-notice {
  margin: .65rem 0 0; padding: .3rem .15rem .3rem .7rem; background: none;
  border: 0; border-left: 2px solid #ad9569; border-radius: 0; font-size: .86rem;
}
.store-page .legal-notice strong { margin: 0; color: #e2cda3; font-weight: 600; }
.store-page .legal-notice p { color: var(--muted); font-size: .86rem; line-height: 1.4; }
.store-section-title { font-size: clamp(1.6rem, 3.2vw, 2.7rem); margin: 1.9rem 0 1rem; }
.store-base-grid, .store-funds { display: grid; grid-template-columns: minmax(0, 1fr); gap: .75rem; }
.store-base-pack, .store-currency {
  min-width: 0; padding: 1rem; border: 1px solid var(--line); border-radius: 4px; background: var(--surface);
}
.store-base-pack { display: grid; grid-template-columns: 44px minmax(0, 1fr); align-content: start; align-items: center; gap: .6rem .85rem; }
.store-base-pack img { display: block; width: 44px; height: auto; transform: rotate(-5deg); }
.store-base-pack h3 { margin: 0; font-size: clamp(1.35rem, 2.8vw, 1.85rem); }
.store-base-pack .store-price { margin: .3rem 0 0; font-size: .96rem; }
.store-base-pack .store-guarantees { grid-column: 1/-1; border-top: 1px solid var(--line); padding-top: .5rem; }
.store-funds { margin-top: 1.6rem; }
.store-currency { background: #202831; border-color: #454455; }
.store-currency#gold { background: #2a2c26; border-color: #4a493c; }
.store-currency header { display: flex; align-items: center; gap: .65rem; }
.store-currency header img { width: 46px; height: 46px; object-fit: contain; }
.store-currency h2 { margin: 0; font-size: clamp(1.65rem, 3.2vw, 2.4rem); }
.store-currency header p { color: #dfccd9; margin: .23rem 0 0; font-size: .9rem; }
.store-currency#gold header p { color: #e7cea1; }
.store-currency table { border-collapse: collapse; width: 100%; margin-top: .75rem; font-variant-numeric: tabular-nums; }
.store-currency th, .store-currency td { padding: .42rem .15rem; font-size: .93rem; text-align: left; }
.store-currency :is(th, td):last-child { text-align: right; }
.store-currency th { font-weight: 500; color: #bfc5c5; font-size: .8rem; }
.store-currency td { border-top: 1px solid #d2d4c723; }
.store-information { margin: 1.8rem 0; }
.store-detail { border-top: 1px solid var(--line); }
.store-detail:last-child { border-bottom: 1px solid var(--line); }
.store-detail summary { display: flex; justify-content: space-between; gap: .8rem; padding: .8rem .1rem; font-weight: 600; cursor: pointer; list-style: none; }
.store-detail summary::-webkit-details-marker { display: none; }
.store-detail summary::after { content: "+"; color: var(--gold); font-size: 1.3rem; line-height: 1.15; }
.store-detail[open] summary::after { content: "−"; }
.store-detail div { color: #cad6d1; padding: 0 .1rem .9rem; max-width: 78ch; font-size: .95rem; }
.store-detail summary:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.store-page .legal-nav { border-color: var(--line); }
.store-page .legal-footer { border-color: var(--line); color: var(--muted); }
@media (min-width: 640px) {
  .store-base-grid, .store-funds { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
  .store-base-pack, .store-currency { padding: 1.3rem; }
  .store-feature { grid-template-columns: 55% minmax(0, 1fr); min-height: 340px; }
  .store-feature-copy { grid-area: 1/1; align-self: center; padding-block: 2rem; }
  .store-relics { grid-area: 1/2; height: 100%; }
  .store-relics img { height: auto; width: 42%; max-width: 195px; }
  .store-relics .relic-center { height: auto; width: 46%; max-width: 215px; }
  .store-page .legal-notice { display: flex; align-items: baseline; flex-wrap: wrap; gap: .6rem; }
}
@media (min-width: 950px) {
  .store-feature { min-height: 365px; }
  .store-base-pack { grid-template-columns: 62px minmax(0, 1fr); }
  .store-base-pack img { width: 58px; }
  .store-funds { margin-top: 2.2rem; }
}
@media print {
  .store-page, .store-feature, .store-base-pack, .store-currency { background: white; color: black; }
  .store-page h1, .store-page h2, .store-page h3, .store-page p, .store-page ul { color: black; }
  .store-tabs, .store-feature .legal-button, .store-relics { display: none; }
}
