:root {
  color-scheme: dark;
  --bg: #151326; --top: #18162a; --panel: #211e37; --row: #25223d; --line: #393454;
  --text: #f7f5ff; --muted: #b7b2ce; --accent: #73e4fa; --green: #86e9b5; --gold: #ffd48c;
  font: 14px/1.45 "Segoe UI", system-ui, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; background: var(--bg); color: var(--text); }
button, input, select { font: inherit; }
button, select { cursor: pointer; }
a { color: var(--accent); }
a:hover { color: #b6f4ff; }
img, svg { display: block; max-width: 100%; }
h1, h2, h3, p { margin: 0; }
h2 { font-size: 20px; letter-spacing: -.025em; line-height: 1.2; }
h3 { font-size: 14px; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
section[id] { scroll-margin-top: 20px; }
.wrap { width: min(1232px, calc(100% - 64px)); margin-inline: auto; }
.muted { color: var(--muted); }
.accent { color: var(--accent); }
.gold { color: var(--gold); }
.eyebrow { font-size: 10px; font-weight: 750; letter-spacing: .13em; text-transform: uppercase; }
.sr-only, .skip:not(:focus) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip:focus { position: fixed; z-index: 5; top: 8px; left: 8px; background: var(--top); padding: 10px; }
.top { background: var(--top); border-bottom: 1px solid var(--line); }
.bar, .footbar { display: flex; align-items: center; gap: 26px; min-height: 62px; }
.brand { display: inline-flex; align-items: center; gap: 0; color: var(--text); text-decoration: none; font-size: 23px; letter-spacing: -.065em; font-weight: 850; white-space: nowrap; }
.brand img { margin-right: 8px; }
.brand span { color: var(--accent); }
.nav { display: flex; align-self: stretch; gap: 2px; }
.nav button { color: var(--muted); background: transparent; border: 0; border-bottom: 2px solid transparent; padding: 0 9px; white-space: nowrap; font-size: 12px; font-weight: 650; }
.nav button:hover, .nav button[aria-pressed="true"] { color: var(--accent); border-bottom-color: var(--accent); }
.search { display: flex; align-items: center; gap: 8px; margin-left: auto; flex: 1 1 230px; max-width: 300px; min-width: 155px; background: #25213b; border: 1px solid var(--line); border-radius: 6px; padding: 0 10px; }
.search:focus-within { outline: 2px solid var(--accent); }
.search svg { flex: none; width: 16px; stroke: var(--muted); stroke-width: 1.7; fill: none; }
.search input { width: 100%; min-width: 0; height: 34px; background: transparent; border: 0; outline: 0; color: var(--text); font-size: 12px; }
.search input::placeholder { color: var(--muted); }
.currency { white-space: nowrap; color: var(--muted); font-size: 11px; letter-spacing: .05em; }
.currency b { color: var(--text); margin-left: 3px; }
.crumb { display: flex; align-items: center; flex-wrap: wrap; gap: 9px; min-height: 46px; font-size: 11px; color: var(--muted); }
.crumb a { text-decoration: none; }
.panel { border: 1px solid var(--line); border-radius: 9px; background: var(--panel); }
.notice, .search-results { margin-top: 16px; padding: 16px; }
.search-results .product-grid { margin-top: 12px; }
.hero { display: grid; grid-template-columns: 47% minmax(0, 1fr); padding: 14px; gap: 27px; background: linear-gradient(112deg, #252039, #211d35 66%); }
.gallery { min-width: 0; }
.hero-art { position: relative; overflow: hidden; border-radius: 6px; border: 1px solid #514367; }
.hero-art img { width: 100%; height: auto; aspect-ratio: 720/396; object-fit: cover; }
.image-label { position: absolute; bottom: 9px; left: 10px; padding: 4px 7px; color: #eeeaf9; border: 1px solid #8e80a277; border-radius: 3px; background: #161425d9; font-size: 8px; letter-spacing: .12em; font-weight: 700; }
.thumbs { margin-top: 8px; display: flex; gap: 7px; }
.thumbs button { display: inline-flex; align-items: center; gap: 7px; padding: 3px 8px 3px 3px; background: #211e33; color: var(--muted); border: 1px solid var(--line); border-radius: 5px; font-size: 11px; }
.thumbs button img { width: 36px; height: 23px; object-fit: cover; border-radius: 2px; }
.thumbs button:hover, .thumbs button[aria-pressed="true"] { border-color: var(--accent); color: var(--text); }
.hero-content { align-self: center; min-width: 0; padding: 4px 14px 6px 0; }
.hero-content .eyebrow span { padding-right: 4px; }
h1 { margin: 7px 0 10px; font-size: clamp(29px, 3.35vw, 47px); line-height: 1.01; letter-spacing: -.058em; font-weight: 850; }
h1 span { color: #e1d8fa; }
.hero-copy { max-width: 53ch; font-size: 13px; }
.chips { display: flex; flex-wrap: wrap; gap: 5px; margin: 13px 0; }
.chips span { color: #d4cee9; background: #2c2745; border: 1px solid var(--line); border-radius: 4px; padding: 3px 7px; font-size: 11px; }
.price-strip { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 0 13px; border-top: 1px solid var(--line); }
.headline-price { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.headline-price strong { font-size: 30px; line-height: 1.1; letter-spacing: -.04em; }
del { color: var(--muted); font-size: 12px; }
.discount { padding: 3px 6px; width: max-content; color: #9df6c5; background: #203c37; border: 1px solid #345a4a; border-radius: 4px; font-size: 11px; line-height: 1.2; font-weight: 750; white-space: nowrap; }
.mini-trend { display: grid; gap: 2px; color: var(--muted); font-size: 10px; text-align: center; text-decoration: none; white-space: nowrap; }
.mini-trend svg { width: 83px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.primary, .secondary, .quiet { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 35px; padding: 7px 12px; border-radius: 5px; text-decoration: none; font-size: 12px; font-weight: 750; }
.primary { color: #0b2230; background: #66ddf3; border: 1px solid #7fe8fc; }
.primary:hover { color: #0b2230; background: #9befff; }
.secondary, .quiet { color: var(--text); background: #2c2745; border: 1px solid #494366; }
.secondary:hover, .quiet:hover { color: var(--accent); border-color: var(--accent); }
.tabs { display: flex; gap: 19px; border-bottom: 1px solid var(--line); margin: 10px 0 20px; overflow-x: auto; }
.tabs a { display: flex; align-items: center; gap: 5px; color: var(--muted); font-size: 13px; font-weight: 700; padding: 12px 4px; white-space: nowrap; text-decoration: none; border-bottom: 2px solid transparent; }
.tabs a[aria-current], .tabs a:hover { color: var(--accent); border-bottom-color: var(--accent); }
.tabs a span { color: #b9ecf8; background: #283a51; border-radius: 10px; padding: 1px 6px; font-size: 10px; }
.layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(245px, 26%); gap: 18px; align-items: start; }
.main-column, .side { display: grid; gap: 19px; min-width: 0; }
.side { gap: 12px; }
.section-head { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px 12px; margin-bottom: 9px; }
.section-head p { font-size: 12px; margin-top: 4px; }
.sort-label { display: flex; align-items: center; gap: 7px; color: var(--muted); font-size: 11px; }
select { color: var(--text); border: 1px solid #51486e; background: #25213c; border-radius: 5px; padding: 6px 7px; font-size: 12px; }
.offer-group { margin-top: 12px; }
.offer-group h3 { display: flex; gap: 5px; align-items: center; margin-bottom: 6px; font-size: 12px; }
.offer-group h3 span:first-child { color: var(--gold); }
.offer-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.offer { display: grid; grid-template-columns: 38px minmax(0, 1fr) max-content 84px max-content; align-items: center; gap: 12px; min-height: 61px; border: 1px solid var(--line); border-radius: 6px; background: var(--row); padding: 8px 10px; }
.offer:hover { border-color: #564c74; }
.store-icon { display: grid; width: 38px; aspect-ratio: 1; place-items: center; border-radius: 8px; background: color-mix(in srgb, var(--store) 15%, #1c192e); color: var(--store); border: 1px solid color-mix(in srgb, var(--store) 34%, #262139); font-size: 21px; }
.store-meta { display: flex; flex-wrap: wrap; gap: 2px 8px; color: var(--muted); font-size: 11px; }
.stock { color: #9ee9bf; }
.low { color: var(--gold); }
.offer-price { text-align: right; font-size: 16px; font-variant-numeric: tabular-nums; }
.shop { min-width: 100px; }
.side-card { padding: 13px; }
.side-card h2 { font-size: 15px; }
.snapshot-art { aspect-ratio: 720/300; object-fit: cover; width: 100%; height: auto; border-radius: 5px; }
dl { display: grid; grid-template-columns: max-content 1fr; gap: 7px 12px; margin: 11px 0; font-size: 11px; }
dt { color: var(--muted); }
dd { margin: 0; text-align: right; font-weight: 650; }
.snapshot-note { border-top: 1px solid var(--line); padding-top: 8px; color: var(--muted); font-size: 10px; }
.bonus { background: radial-gradient(ellipse at 100% 0%, #45314b, transparent 70%), var(--panel); }
.bonus h2 { margin: 6px 0 4px; }
.bonus .muted { font-size: 12px; }
.bonus button { margin-top: 10px; }
.edition { display: grid; grid-template-columns: 49px 1fr 9px; gap: 8px; align-items: center; padding: 8px 0; color: var(--text); text-decoration: none; font-size: 11px; }
.edition + .edition { border-top: 1px solid var(--line); }
.edition img { width: 49px; height: 33px; object-fit: cover; border-radius: 4px; }
.edition b { display: block; color: var(--green); }
.lower { padding: 15px; }
.lower h2 { margin: 3px 0 5px; }
.lower h3 { margin-top: 10px; }
.lower ul { padding-left: 18px; margin: 5px 0 9px; color: var(--muted); }
.lower a { font-size: 12px; text-underline-offset: 3px; }
.extra-source { display: block; margin-top: 4px; }
.ranges { display: flex; gap: 4px; }
.ranges button { background: #2b2642; color: var(--muted); border: 1px solid var(--line); border-radius: 4px; padding: 5px 7px; font-size: 11px; font-weight: 700; }
.ranges button[aria-pressed="true"] { color: var(--accent); border-color: #54859a; }
#chart svg { width: 100%; }
#chart text { fill: var(--muted); font-size: 12px; }
.chart-grid { stroke: var(--line); fill: none; }
.chart-line { stroke: var(--accent); stroke-width: 2.3; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.chart-crosshair { stroke: var(--accent); stroke-opacity: .5; stroke-dasharray: 3 4; }
.chart-label { display: flex; justify-content: space-between; gap: 10px; margin-top: 8px; font-size: 11px; color: var(--muted); }
#point-label { color: var(--accent); text-align: right; }
#price-point { width: 100%; accent-color: var(--accent); margin: 5px 0 0; }
.product-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.product-card { display: flex; flex-direction: column; background: var(--panel); border: 1px solid var(--line); border-radius: 7px; overflow: hidden; color: var(--text); text-decoration: none; min-width: 0; }
.product-card:hover { border-color: var(--accent); }
.product-card img { width: 100%; height: auto; aspect-ratio: 16/9; object-fit: cover; }
.product-card-body { flex: 1; display: flex; flex-direction: column; padding: 8px; }
.product-card-body .eyebrow { font-size: 8px; letter-spacing: .07em; }
.product-card h3 { font-size: 12px; margin: 3px 0 8px; line-height: 1.2; }
.card-category { font-size: 10px; color: var(--muted); margin: -5px 0 7px; }
.product-price { display: flex; align-items: center; flex-wrap: wrap; gap: 5px; margin-top: auto; font-size: 12px; color: var(--green); }
.footer { margin-top: 30px; background: var(--top); border-top: 1px solid var(--line); }
.footbar { min-height: 72px; gap: 18px; }
.footbar p { color: var(--muted); font-size: 11px; }
dialog { width: min(435px, calc(100% - 26px)); max-height: calc(100% - 24px); padding: 16px; background: #211b36; color: var(--text); border: 1px solid #795c69; border-radius: 12px; box-shadow: 0 20px 90px #0008; text-align: center; }
dialog::backdrop { background: #0a0817c9; }
.vault-top { display: flex; align-items: center; gap: 8px; margin-bottom: 14px; }
.vault-top .quiet { margin-left: auto; }
.close { background: transparent; border: 1px solid var(--line); border-radius: 5px; color: var(--text); width: 35px; height: 35px; font-size: 22px; line-height: 1; }
.foil { width: 152px; height: 218px; margin: 12px auto 18px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 7px; color: #ffecb1; border-block: 10px solid transparent; border-image: repeating-linear-gradient(90deg,#55416f 0 2px,#967caa 2px 4px) 10; background: linear-gradient(115deg, #241c49 8%, #6351a0 41%, #382252 51%, #1b1e47 81%); box-shadow: 0 9px 30px #0008, inset 0 0 0 1px #a58aca; transform: rotate(-6deg); }
.foil span, .foil small { font-size: 9px; font-weight: 750; letter-spacing: .1em; }
.foil b { font-size: 57px; line-height: 1; }
.foil strong { font-size: 23px; line-height: .92; letter-spacing: -.05em; }
.ripping .foil { animation: rip .49s both; }
@keyframes rip { 0% { transform: rotate(-6deg); } 36% { transform: rotate(5deg) scale(1.05); } 65% { transform: rotate(-9deg) scale(1.08); filter: brightness(1.65); } 100% { transform: translateY(-20px) scale(.88); opacity: 0; } }
.rare { max-width: 280px; margin: 0 auto 12px; padding: 11px; border: 4px solid #e3ad5e; border-radius: 12px; background: linear-gradient(130deg,#ffedb1,#f2c47d 55%,#ffe5a8); color: #2a2138; animation: rare .33s ease-out both; }
@keyframes rare { from { opacity: 0; transform: translateY(8px) scale(.96); box-shadow: 0 0 26px #ffbd50; } to { opacity: 1; transform: none; box-shadow: 0 0 13px #ffbd504d; } }
.rare h2 { font-size: 23px; line-height: .99; margin: 5px 0 9px; }
.rare-art { border: 1px solid #9b693a; border-radius: 5px; margin-bottom: 7px; background: radial-gradient(ellipse, #5a6b8f, #282242); }
.rare strong, .rare small { display: block; }
.rare small { font-weight: 650; margin-top: 3px; }
#reveal > p { font-size: 12px; color: var(--muted); margin: 0 auto 10px; max-width: 36ch; }
.destination { display: block; margin-top: 8px; font-size: 10px; overflow-wrap: anywhere; color: #b5d5e8; }
@media (max-width: 1050px) {
  .bar { gap: 12px; }
  .nav button { padding-inline: 6px; }
  .hero { gap: 18px; }
  .wrap { width: calc(100% - 36px); }
}
@media (max-width: 820px) {
  .bar { display: grid; grid-template-columns: auto 1fr auto; gap: 7px 12px; padding-top: 8px; }
  .search { margin: 0; max-width: none; min-width: 0; }
  .nav { grid-column: 1 / -1; grid-row: 2; overflow-x: auto; }
  .nav button { min-height: 38px; padding-inline: 8px; }
  .layout { grid-template-columns: minmax(0, 1fr) minmax(190px, 29%); gap: 12px; }
  .offer { gap: 7px; grid-template-columns: 32px minmax(0, 1fr) max-content 68px max-content; }
  .store-icon { width: 32px; }
  .offer-price { font-size: 14px; }
  .shop { min-width: 0; padding-inline: 8px; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .wrap { width: calc(100% - 24px); }
  .nav { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); overflow: visible; }
  .nav button { white-space: normal; padding-inline: 3px; font-size: 10px; line-height: 1.15; }
  .hero { grid-template-columns: minmax(0, 1fr); padding: 9px; gap: 11px; }
  .hero-art img { aspect-ratio: 720/380; }
  .hero-content { padding: 2px 3px 5px; }
  .thumbs button, .primary, .secondary, .quiet { min-height: 38px; }
  .layout { grid-template-columns: minmax(0, 1fr); }
  .main-column, .side { display: contents; }
  #deals { order: 1; }
  .bonus { order: 2; }
  #facts { order: 3; }
  #details { order: 4; }
  #price-history { order: 5; }
  #related { order: 6; }
  #alternatives { order: 7; }
  .tabs { gap: 8px; margin-bottom: 14px; }
  .tabs a { font-size: 11px; padding-inline: 2px; }
  .offer { grid-template-columns: 32px minmax(0, 1fr) auto auto; }
  .offer .discount { grid-area: 2 / 3; justify-self: end; }
  .offer-price { grid-area: 1 / 3; align-self: end; }
  .store-icon, .store-name, .shop { grid-row: 1 / 3; }
  .shop { grid-column: 4; }
  .store-name { font-size: 12px; }
  .store-meta { font-size: 10px; }
  .snapshot-art { max-height: 142px; }
  .footbar { align-items: flex-start; flex-direction: column; gap: 4px; padding-block: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; }
}
