/*
 * Retro Mario storefront — from the design handoff.
 *
 * The prototype had everything inline as a constraint of its authoring tool; the
 * handoff asks for it to be moved into the codebase's own styling layer. Values
 * below are the reviewed ones from the handoff, not re-derived.
 *
 * Mobile-first, with a full desktop storefront at larger breakpoints.
 */

:root {
  --rm-red: #e4002b;
  --rm-red-pressed: #c60025;
  --rm-ink: #111315;
  --rm-body: #3d4247;
  --rm-body-muted: #4c5257;
  --rm-label: #63696f;
  --rm-label-light: #6f757c;
  --rm-surface: #f5f6f7;
  --rm-panel-hover: #eef0f1;
  --rm-hairline: #eeeff0;
  --rm-border-chip: #e0e2e4;
  --rm-border-stepper: #e6e7e8;
  --rm-border-outline: #d5d8db;
  --rm-dot: #c3c7cb;
  --rm-on-dark-body: #b3b9c0;
  --rm-on-dark-muted: #8a9099;
  --rm-on-dark-rule: #2a2d31;
  --rm-on-dark-pill: #3a3e43;
  --rm-ground: #eceded;
  --rm-shell: 430px;
}

/* ---------------------------------------------------------------- reset --- */
.rm * { box-sizing: border-box; }
html.rm-html, body.rm-body {
  margin: 0;
  padding: 0;
  background: var(--rm-ground);
  color: var(--rm-ink);
  font-family: "Montserrat", system-ui, -apple-system, sans-serif;
  font-size: 15px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-wrap: pretty;
  min-height: 100%;
  overscroll-behavior-x: none;
  overflow-x: hidden;
}
.rm h1, .rm h2, .rm h3, .rm h4, .rm h5, .rm h6 {
  font-family: "Montserrat", system-ui, -apple-system, sans-serif;
}
.rm a { color: var(--rm-ink); text-decoration: none; }
.rm a:hover { color: var(--rm-red); }
.rm button { font-family: inherit; color: inherit; }
.rm ::selection { background: #ffd9e0; }
.rm :focus-visible { outline: 2px solid var(--rm-red); outline-offset: 2px; }
.rm-sx::-webkit-scrollbar { display: none; }
.rm-sx { scrollbar-width: none; -ms-overflow-style: none; }
@keyframes rmIn { from { opacity: 0 } to { opacity: 1 } }
@keyframes rmUp { from { transform: translateY(100%) } to { transform: none } }
@keyframes rmViewIn { from { opacity: 0; transform: translateY(4px) } to { opacity: 1; transform: none } }

.rm-shell {
  width: 100%;
  max-width: var(--rm-shell);
  margin: 0 auto;
  min-height: 100vh;
  min-height: 100dvh;
  background: #fff;
  display: flex;
  flex-direction: column;
  overflow-x: clip;
}

/* Mobile is a true full-bleed web app. The centred 430px presentation is
   retained only for wider screens. */
@media (max-width: 599px) {
  html.rm-html, body.rm-body {
    width: 100% !important; min-width: 100% !important; max-width: none !important;
    margin: 0 !important; padding: 0 !important; background: #fff !important;
  }
  .rm-shell {
    width: 100% !important; max-width: none !important; margin: 0 !important;
    border: 0 !important; outline: 0 !important; box-shadow: none !important;
  }
}
.rm-shell--pdp { padding-bottom: calc(94px + env(safe-area-inset-bottom)); }
.rm-shell--shop.has-bottom-bar { padding-bottom: calc(78px + env(safe-area-inset-bottom)); }
.rm-shell--shop.rm-shell--variant.has-bottom-bar { background: var(--rv-footer); }
.rm [hidden] { display: none !important; }
.rm a, .rm button { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
body.rm-modal-open { position: fixed; left: 0; right: 0; width: auto; overflow: hidden; }
body.rm-body > #main-menu,
body.rm-body > .mobile-sidebar { display: none !important; }

/* --------------------------------------------------------------- header --- */
.rm-head { position: sticky; top: 0; z-index: 40; background: #fff; }
.rm-head__bar {
  background: var(--rm-red); color: #fff; height: calc(62px + env(safe-area-inset-top));
  display: grid; grid-template-columns: 44px 1fr 44px;
  align-items: center; padding: env(safe-area-inset-top) 10px 0;
}
.rm-head__bar--pdp { grid-template-columns: 1fr auto 1fr; }
.rm-iconbtn {
  width: 44px; height: 44px; padding: 0; background: none; border: 0;
  cursor: pointer; color: inherit; display: flex; align-items: center; justify-content: center;
}
.rm-iconbtn:active, .rm-logobtn:active, .rm-back:active { opacity: .68; }
.rm-logobtn {
  background: none; border: 0; cursor: pointer; color: inherit; padding: 0;
  min-height: 44px; display: flex; align-items: center; justify-content: center;
}
.rm-logobtn img { display: block; width: auto; height: 40px; }
.rm-icon { display: block; background: no-repeat center / contain; flex-shrink: 0; }
.rm-icon--menu { width: 34px; height: 34px; }
.rm-icon--cart { width: 31px; height: 31px; }
.rm-cartwrap { position: relative; display: block; flex-shrink: 0; width: 31px; height: 31px; }
.rm-badge[hidden] { display: none; }   /* explicit display:flex would beat the UA rule */
.rm-badge {
  position: absolute; right: -7px; top: -3.75px;
  min-width: 19px; height: 19px; background: #fff; color: var(--rm-red);
  border-radius: 999px; font-size: 11px; font-weight: 800;
  display: flex; align-items: center; justify-content: center; padding: 0 4px;
  box-shadow: 0 0 0 2px var(--rm-red);
}
.rm-back {
  min-height: 44px; padding: 0 8px; background: none; border: 0; cursor: pointer;
  color: inherit; display: flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 700; justify-self: start;
}

/* ----------------------------------------------------------------- tabs --- */
.rm-tabs {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  border-bottom: 1px solid var(--rm-border-stepper); background: #fff;
}
.rm-tab {
  min-width: 0; min-height: 58px; padding: 0 7px; background: none; border: 0;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: background-color 150ms ease, box-shadow 150ms ease;
}
.rm-tab__logo {
  width: min(70px, 100%); height: 22px; display: block; background: no-repeat center / contain;
  filter: grayscale(1); opacity: .38;
  transition: filter 150ms ease, opacity 150ms ease, transform 150ms ease;
}
.rm-tab.is-active { box-shadow: inset 0 -2px 0 var(--rm-red); }
.rm-tab.is-active .rm-tab__logo { filter: none; opacity: 1; }
.rm-tab:active .rm-tab__logo { transform: scale(.96); }
.rm-platform-view:not([hidden]) { animation: rmViewIn 170ms ease-out; }

/* -------------------------------------------------------- section header --- */
.rm-sect { padding: 24px 12px 16px; display: flex; flex-direction: column; gap: 4px; }
.rm-sect h1 {
  margin: 0; font-size: 26px; font-weight: 800; letter-spacing: -.03em; line-height: 1.1;
}
.rm-meta { display: flex; align-items: center; gap: 9px; flex-wrap: wrap; }
.rm-meta__count { font-size: 14px; color: var(--rm-label); }
.rm-meta__dot { width: 4px; height: 4px; border-radius: 999px; background: var(--rm-dot); display: block; }
.rm-meta__games { font-size: 14px; font-weight: 700; color: var(--rm-ink); }

/* --------------------------------------------------------- product panel --- */
.rm-list {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px; padding: 4px 12px 14px;
}
.rm-panel-wrap { position: relative; min-width: 0; }
.rm-panel {
  border: 0; cursor: pointer; text-align: left; width: 100%;
  display: flex; flex-direction: column; align-items: stretch; gap: 0; padding: 0;
  background: var(--rm-surface); overflow: hidden;
  height: 100%; min-width: 0;
  color: inherit;
  transition: background-color 150ms ease, transform 120ms ease;
}
.rm-panel:active { transform: scale(.992); background: var(--rm-panel-hover); }
.rm-panel__media {
  position: relative; flex-shrink: 0; display: block; overflow: hidden;
  width: 100%; aspect-ratio: var(--rm-catalog-ratio, 1); background: #fff;
}
.rm-panel__photo {
  position: absolute; inset: 0; display: block; background-color: #fff;
  width: 100%; height: 100%; object-fit: cover;
  object-position: var(--rm-img-x, 50%) var(--rm-img-y, 50%);
  transform: scale(var(--rm-img-zoom, 1));
  transform-origin: var(--rm-img-x, 50%) var(--rm-img-y, 50%);
  transition: transform 140ms ease, object-position 140ms ease;
}
.rm-panel__body {
  flex: 1; min-width: 0; min-height: 142px; display: flex; flex-direction: column;
  align-items: flex-start; gap: 10px; padding: 12px;
}
.rm-panel__stack { width: 100%; flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 7px; }
.rm-panel__name {
  font-size: 14px; font-weight: 700; letter-spacing: -.02em; line-height: 1.25;
}
.rm-panel__capacity { display: flex; align-items: baseline; justify-content: center; gap: 4px; }
.rm-panel__capacity b { font-size: 10px; line-height: 1.2; letter-spacing: .02em; }
.rm-panel__capacity i { color: var(--rm-label-light); font-size: 8px; font-style: normal; line-height: 1.2; text-transform: uppercase; letter-spacing: .06em; }
.rm-panel__colors { min-height: 14px; display: flex; align-items: center; justify-content: center; gap: 4px; }
.rm-panel__colors small { min-width: 13px; color: var(--rm-label-light); font-size: 8px; font-weight: 700; line-height: 1; }
.rm-color-dot { width: 12px; height: 12px; flex: 0 0 12px; display: inline-block; border: 1px solid rgba(0,0,0,.18); border-radius: 50%; background: var(--rm-swatch,#aeb2b6); box-shadow: inset 0 0 0 1px rgba(255,255,255,.22); }
.rm-points { display: flex; flex-wrap: wrap; gap: 3px; }
.rm-point {
  max-width: 100%; background: #fff; border: 1px solid var(--rm-border-chip); padding: 2px 5px;
  font-size: 8px; font-weight: 700; color: var(--rm-body); line-height: 1.3; white-space: normal;
}
.rm-panel__price {
  margin-top: auto; font-size: 20px; font-weight: 800; letter-spacing: -.025em;
  flex-shrink: 0; align-self: flex-start;
}

/* ---------------------------------------------------------- empty state --- */
.rm-empty { padding: 40px 20px 44px; border-top: 1px solid var(--rm-hairline); }
.rm-empty h2 { margin: 0 0 8px; font-size: 20px; font-weight: 800; }
.rm-empty p { margin: 0 0 16px; font-size: 15px; line-height: 1.6; color: var(--rm-label); max-width: 32ch; }
.rm-empty__row { display: flex; gap: 8px; flex-wrap: wrap; }

/* ---------------------------------------------------------------- pills --- */
.rm-pill {
  min-height: 44px; display: inline-flex; align-items: center; justify-content: center;
  border-radius: 999px; padding: 0 18px; cursor: pointer; border: 0;
  font-size: 13px; font-weight: 700;
}
.rm .rm-pill--ink { background: var(--rm-ink); color: #fff; }
.rm .rm-pill--outline { background: none; color: var(--rm-ink); border: 1px solid var(--rm-border-outline); }
.rm .rm-pill--red { background: var(--rm-red); color: #fff; }
.rm .rm-pill--red:hover { background: var(--rm-red-pressed); color: #fff; }
.rm button:disabled { cursor: wait; opacity: .62; }

/* ---------------------------------------------------------- sticky cart --- */
.rm-stickycart {
  position: fixed; left: 50%; bottom: 0; z-index: 35; width: min(100%, var(--rm-shell));
  transform: translateX(-50%); background: #fff;
  border-top: 1px solid var(--rm-hairline);
  padding: 10px 16px calc(14px + env(safe-area-inset-bottom));
}
.rm .rm-stickycart__btn {
  width: 100%; min-height: 52px; background: var(--rm-ink); color: #fff; border: 0;
  border-radius: 999px; padding: 0 20px; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
}
.rm .rm-stickycart__btn span:first-child { font-size: 14px; font-weight: 700; }
.rm .rm-stickycart__btn span:last-child { font-size: 17px; font-weight: 800; letter-spacing: -.02em; }

/* --------------------------------------------------------------- footer --- */
.rm-foot { background: var(--rm-ink); color: #fff; margin-top: 0; }
.rm-foot__top {
  padding: 36px 20px 38px; display: flex; flex-direction: column; gap: 16px;
  background-image:
    linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 44px 44px;
}
.rm-foot__tag {
  align-self: flex-start; background: var(--rm-red); color: #fff; padding: 7px 12px;
  font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
}
.rm-foot__top h2 {
  margin: 0; font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: 32px; font-weight: 700; letter-spacing: .02em; line-height: .95; text-transform: uppercase;
}
.rm-foot__top p { margin: 0; font-size: 16px; line-height: 1.6; color: var(--rm-on-dark-body); }
.rm-foot__links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }
.rm-foot__links a {
  min-height: 48px; display: flex; align-items: center;
  border: 1px solid var(--rm-on-dark-pill); border-radius: 0; padding: 0 20px;
  color: #fff; font-size: 13px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
}
.rm-foot__links a:hover { border-color: #fff; background: #1c1f22; color: #fff; }
.rm-foot__bottom {
  border-top: 1px solid var(--rm-on-dark-rule); padding: 22px 20px 28px;
  display: flex; flex-direction: column; gap: 20px; align-items: center;
}
.rm-pay { display: flex; flex-wrap: wrap; gap: 26px; justify-content: center; align-items: center; }
.rm-pay span { display: block; background: no-repeat center / contain; opacity: .9; }
.rm-foot__copy { font-size: 13px; letter-spacing: .02em; color: var(--rm-on-dark-muted); }
.rm-foot__copy strong { color: #fff; font-weight: 800; }
.rm-foot__payment-preview { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.rm-foot__payment-preview small { color: var(--rm-on-dark-muted); font-size: 9px; letter-spacing: .1em; text-transform: uppercase; }

/* ------------------------------------------------------------- overlays --- */
.rm-overlay {
  position: fixed; inset: 0; width: auto; max-width: none; height: 100vh; height: 100dvh; margin: 0;
  background: #fff; display: flex; flex-direction: column;
  visibility: hidden; opacity: 0; pointer-events: none;
  overscroll-behavior: contain;
}
.rm-overlay.is-open { visibility: visible; opacity: 1; pointer-events: auto; }
.rm-overlay--menu { z-index: 60; transition: opacity 150ms ease-out, visibility 150ms; }
.rm-overlay--cart {
  z-index: 70; opacity: 1; transform: translateY(100%);
  transition: transform 230ms cubic-bezier(.22,1,.36,1), visibility 230ms;
}
.rm-overlay--cart.is-open { transform: none; }
.rm-overlay__bar {
  background: var(--rm-red); color: #fff; height: calc(62px + env(safe-area-inset-top)); flex-shrink: 0;
  display: flex; align-items: center; justify-content: space-between;
  padding: env(safe-area-inset-top) 10px 0 20px;
}
.rm-overlay__bar span { font-size: 16px; font-weight: 800; }
.rm-menu__body { flex: 1; min-height: 0; overflow-y: auto; padding-bottom: env(safe-area-inset-bottom); }
.rm-navrow {
  min-height: 60px; background: none; border: 0; border-bottom: 1px solid var(--rm-hairline);
  padding: 0 20px; cursor: pointer; display: flex; align-items: center;
  justify-content: space-between; gap: 12px; text-align: left; width: 100%; color: inherit;
}
.rm-navrow__label { font-size: 20px; font-weight: 700; letter-spacing: -.02em; }
.rm-navrow__meta { font-size: 13px; color: var(--rm-label-light); }

/* ----------------------------------------------------------------- cart --- */
.rm-cart__body { flex: 1; overflow-y: auto; }
.rm-cart__item {
  display: flex; gap: 14px; padding: 16px 20px; border-bottom: 1px solid var(--rm-hairline);
}
.rm-cart__thumb {
  width: 76px; height: 76px; flex-shrink: 0; background-color: var(--rm-surface);
  object-fit: cover; object-position: center;
}
.rm-cart__mid { flex: 1; display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.rm-cart__name { font-size: 15px; font-weight: 700; line-height: 1.25; }
.rm-cart__grade { font-size: 12px; color: var(--rm-label-light); }
.rm-cart__row { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; }
.rm-stepper { display: flex; align-items: center; border: 1px solid var(--rm-border-stepper); border-radius: 999px; }
.rm-stepper button {
  width: 44px; height: 44px; border: 0; background: none; border-radius: 999px;
  cursor: pointer; font-size: 16px; line-height: 1;
}
.rm-stepper span { min-width: 26px; text-align: center; font-size: 14px; font-weight: 700; }
.rm-cart__line { font-size: 16px; font-weight: 800; letter-spacing: -.02em; }
.rm-cart__empty { padding: 44px 20px; display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.rm-cart__empty b { font-size: 20px; font-weight: 700; }
.rm-cart__empty span { font-size: 15px; color: var(--rm-label); }
.rm-cart__foot {
  flex-shrink: 0; padding: 16px 20px calc(18px + env(safe-area-inset-bottom)); display: flex; flex-direction: column; gap: 10px;
  border-top: 1px solid var(--rm-hairline);
}
.rm-cart__ship { display: flex; justify-content: space-between; font-size: 14px; color: var(--rm-label); }
.rm-cart__total { display: flex; justify-content: space-between; align-items: baseline; }
.rm-cart__total b { font-size: 14px; font-weight: 700; }
.rm-cart__total strong { font-size: 26px; font-weight: 800; letter-spacing: -.03em; }
.rm-cart__checkout { width: 100%; min-height: 52px; border-radius: 999px; font-size: 15px; font-weight: 700; }

/* ------------------------------------------------------------------ PDP --- */
.rm-pdp__body { flex: 1; }
.rm-crumb { padding: 12px 20px 0; display: flex; align-items: center; gap: 7px; font-size: 12px; color: var(--rm-label-light); }
.rm-crumb__sep { color: var(--rm-dot); }
.rm-crumb__here { font-weight: 700; color: var(--rm-body); }
.rm-hero { width: 100%; height: auto; aspect-ratio: 1/1; display: block; background-color: var(--rm-surface); object-fit: cover; object-position: center; margin-top: 12px; }
.rm-title { padding: 22px 20px 0; display: flex; flex-direction: column; gap: 10px; }
.rm-title__row { display: flex; align-items: center; gap: 8px; }
.rm-grade {
  background: var(--rm-ink); color: #fff; border-radius: 999px; padding: 5px 11px;
  font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
}
.rm-stock { font-size: 12px; font-weight: 600; color: var(--rm-label); }
.rm-title h1 { margin: 0; font-size: 26px; font-weight: 800; letter-spacing: -.03em; line-height: 1.12; }
.rm-colorway { font-size: 15px; color: var(--rm-label); }
.rm-colors { margin: 22px 20px 0; }
.rm-colors__head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.rm-colors__head strong { max-width: 60%; color: var(--rm-ink); font-size: 11px; line-height: 1.25; text-align: right; }
.rm-colors__options { margin-top: 10px; display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 7px; }
.rm-color-option { min-width: 0; min-height: 44px; padding: 7px 9px; border: 1px solid var(--rm-hairline); background: #fff; color: var(--rm-ink); display: flex; align-items: center; gap: 7px; cursor: pointer; text-align: left; }
.rm-color-option span { min-width: 0; font-size: 10px; font-weight: 700; line-height: 1.2; }
.rm-color-option.is-selected { border: 2px solid var(--rm-ink); padding: 6px 8px; }
.rm-color-option .rm-color-dot { width: 15px; height: 15px; flex-basis: 15px; }
.rm-colors > p { margin: 9px 0 0; color: var(--rm-label-light); font-size: 9px; line-height: 1.45; }
.rm-price { font-size: 30px; font-weight: 800; letter-spacing: -.03em; padding-top: 2px; }
.rm-product-status { display: grid; grid-template-columns: minmax(0,.72fr) minmax(0,1.28fr); gap: 8px; margin-top: 2px; }
.rm-product-status > span {
  min-width: 0; min-height: 54px; padding: 10px 12px; border: 1px solid var(--rm-hairline); border-radius: 9px;
  background: var(--rm-surface); display: flex; flex-direction: column; justify-content: center; gap: 2px;
}
.rm-product-status small { color: var(--rm-label-light); font-size: 9px; font-weight: 700; letter-spacing: .1em; line-height: 1.2; text-transform: uppercase; }
.rm-product-status strong { color: var(--rm-ink); font-size: 13px; line-height: 1.25; letter-spacing: -.01em; }
.rm-games-quick { width: 100%; min-height: 58px; margin-top: 15px; padding: 10px 13px; border: 1px solid var(--rm-ink); background: #fff; display: flex; align-items: center; justify-content: space-between; gap: 12px; text-align: left; cursor: pointer; }
.rm-games-quick span { display: flex; flex-direction: column; gap: 1px; }
.rm-games-quick small { color: var(--rm-red); font-size: 9px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.rm-games-quick strong { color: var(--rm-ink); font-size: 12px; line-height: 1.35; }
.rm-games-quick > b { font-size: 19px; font-weight: 500; transition: transform 160ms ease; }
.rm-games-quick:hover > b { transform: translateX(3px); }
.rm-blurb { margin: 6px 0 0; font-size: 16px; line-height: 1.6; color: var(--rm-body); }
.rm-delivery { margin: 20px 20px 0; background: var(--rm-surface); padding: 16px; display: flex; flex-direction: column; gap: 9px; }
.rm-delivery__top { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.rm-ulabel { font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--rm-label-light); }
.rm-delivery__free { font-size: 13px; font-weight: 700; color: var(--rm-red); }
.rm-delivery__when { font-size: 16px; font-weight: 700; letter-spacing: -.01em; }
.rm-delivery__note { font-size: 14px; line-height: 1.5; color: var(--rm-label); }
.rm-addwrap { padding: 18px 20px 0; }
.rm .rm-add {
  width: 100%; min-height: 54px; background: #111315; color: #fff; border: 0;
  border-radius: 999px; padding: 0 20px; cursor: pointer;
  font-size: 15px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
}
.rm .rm-add:hover { background: #26292c; }
.rm-trust { margin: 18px 20px 0; display: grid; grid-template-columns: repeat(3,1fr); border: 1px solid var(--rm-hairline); }
.rm-trust span {
  padding: 13px 8px; display: flex; flex-direction: column; gap: 3px;
  align-items: center; text-align: center; border-left: 1px solid var(--rm-hairline);
}
.rm-trust span:first-child { border-left: 0; }
.rm-trust b { font-size: 12px; font-weight: 800; letter-spacing: -.01em; }
.rm-trust i { font-style: normal; font-size: 11px; color: var(--rm-label); }
.rm-rows { padding: 28px 20px 0; display: flex; flex-direction: column; }
.rm-row { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-top: 1px solid var(--rm-hairline); }
.rm-row__k { font-size: 15px; color: var(--rm-label); }
.rm-row__v { font-size: 15px; font-weight: 700; text-align: right; }
.rm-gradeline { margin: 12px 0 0; font-size: 14px; line-height: 1.6; color: var(--rm-label); background: var(--rm-surface); padding: 14px; }
.rm-kit { padding: 28px 20px 0; display: flex; flex-direction: column; gap: 10px; }
.rm-kit__item { display: flex; gap: 10px; align-items: flex-start; }
.rm-kit__bullet { width: 5px; height: 5px; border-radius: 999px; background: var(--rm-red); display: block; flex-shrink: 0; margin-top: 9px; }
.rm-kit__item span:last-child { font-size: 15px; line-height: 1.5; }
.rm-plays { margin: 28px 0 0; background: var(--rm-surface); padding: 26px 20px; display: flex; flex-direction: column; gap: 14px; }
.rm-plays__t { font-size: 22px; font-weight: 800; letter-spacing: -.03em; line-height: 1.15; }
.rm-plays__b { font-size: 15px; line-height: 1.6; color: var(--rm-body-muted); }
.rm-plays__chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 2px; }
.rm-plays__chips span { background: #fff; border: 1px solid var(--rm-border-chip); padding: 9px 13px; font-size: 13px; font-weight: 700; color: var(--rm-body); }
.rm-stats { padding: 26px 20px 0; display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; }
.rm-stats span { display: flex; flex-direction: column; gap: 3px; }
.rm-stats b { font-size: 21px; font-weight: 800; letter-spacing: -.03em; }
.rm-stats i { font-style: normal; font-size: 12px; color: var(--rm-label); line-height: 1.35; }
.rm-faq { padding: 26px 20px 34px; display: flex; flex-direction: column; }
.rm-faq__item { display: flex; flex-direction: column; border-top: 1px solid var(--rm-hairline); }
.rm-faq__q {
  min-height: 56px; background: none; border: 0; padding: 0; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  text-align: left; width: 100%; color: inherit;
}
.rm-faq__q b { font-size: 16px; font-weight: 700; letter-spacing: -.015em; }
.rm-faq__sign { font-size: 20px; font-weight: 400; color: var(--rm-label-light); flex-shrink: 0; width: 22px; text-align: center; }
.rm-faq__a { font-size: 15px; line-height: 1.6; color: var(--rm-body-muted); padding: 0 0 16px; display: none; }
.rm-faq__item.is-open .rm-faq__a { display: block; }
.rm-buybar {
  border-top: 1px solid var(--rm-hairline); background: #fff;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); display: flex; flex-direction: column; gap: 7px;
  position: fixed; left: 50%; bottom: 0; z-index: 35; width: min(100%, var(--rm-shell));
  transform: translateX(-50%);
}
.rm-buybar__row { display: flex; align-items: center; gap: 12px; }
.rm-buybar__thumb { width: 44px; height: 44px; flex-shrink: 0; display: block; background-color: var(--rm-surface); object-fit: cover; object-position: center; }
.rm-buybar__mid { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.rm-buybar__name { font-size: 13px; font-weight: 700; line-height: 1.2; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rm-buybar__price { font-size: 15px; font-weight: 800; letter-spacing: -.02em; }
.rm .rm-buybar__btn {
  flex-shrink: 0; min-height: 48px; background: #111315; color: #fff; border: 0;
  border-radius: 999px; padding: 0 20px; cursor: pointer;
  font-size: 13px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
}
.rm .rm-buybar__btn:hover { background: #26292c; }
.rm-buybar__secure { display: flex; align-items: center; gap: 10px; justify-content: center; }
.rm-buybar__secure > span:first-child { font-size: 11px; font-weight: 600; color: var(--rm-label-light); }
.rm-buybar__secure .rm-pay span { opacity: .55; }

/* ------------------------------------------------------ v1.2 storefront --- */
.rm-notice {
  width: 100%; min-height: 0; margin: 0; padding: 5px;
  background: var(--rm-notice-bg,#000); color: var(--rm-notice-ink,#fff); font-family: "Montserrat", sans-serif;
  font-size: 16px; font-weight: 400; line-height: 1.6; letter-spacing: 0; text-align: center;
}
.rm .rm-notice__dismiss-link { color: var(--rm-notice-ink,#fff); opacity: .58; font-size: 16px; font-weight: 400; line-height: 1.6; }
.rm .rm-notice__dismiss-link:hover { color: var(--rm-notice-ink,#fff); opacity: 1; }
.rm-notice + .rm-head .rm-head__bar { height: 68px; padding-top: 0; }

@media (min-width: 600px) {
  .rm-shell { overflow-x: visible; }
  .rm-notice { position: relative; left: 50%; width: 100vw; transform: translateX(-50%); }
}

.rm-review-highlights { padding: 12px 0 14px; border-bottom: 1px solid #1f2124; background: var(--rm-ink); color: #fff; }
.rm-review-highlights__rail { overflow-x: auto; display: flex; gap: 14px; padding: 2px 12px 3px; scroll-snap-type: x proximity; }
.rm-review-story { appearance: none; width: 72px; min-width: 72px; flex: 0 0 72px; border: 0; background: none; padding: 0; cursor: pointer; color: #fff; display: flex; flex-direction: column; align-items: center; gap: 7px; scroll-snap-align: start; }
.rm-review-story__ring { width: 68px; height: 68px; border-radius: 50%; padding: 3px; background: conic-gradient(from 180deg,#ff4f7a,#ffd56b,#7a8cff,#ff4f7a); box-shadow: 0 8px 18px rgba(0,0,0,.22); display: block; }
.rm-review-story__ring img { width: 100%; height: 100%; display: block; object-fit: cover; border-radius: 50%; border: 2px solid var(--rm-ink); background: #fafafa; }
.rm-review-story__name { max-width: 72px; color: #fff; font-size: 10px; line-height: 1.15; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; text-align: center; }
.rm-review-story.is-viewed .rm-review-story__ring { background: linear-gradient(135deg,#6b6b6b,#a0a0a0); }

.rm-promises { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); padding: 0 12px; background: var(--rm-surface); }
.rm-promises span { min-width: 0; padding: 13px 6px; display: flex; flex-direction: column; text-align: center; border-left: 1px solid #e6e8e9; }
.rm-promises span:first-child { border-left: 0; }
.rm-promises b { font-size: 10px; font-weight: 800; }
.rm-promises i { font-style: normal; font-size: 8px; color: var(--rm-label); line-height: 1.25; }

.rm-library { margin-top: 0; padding: 46px 20px 48px; border-top: 10px solid #ececec; background: var(--rm-ink); color: #fff; display: flex; flex-direction: column; align-items: center; text-align: center; }
.rm-library__eyebrow { padding: 6px 10px; border: 0; background: var(--rm-red); font-size: 10px; font-weight: 700; letter-spacing: .11em; text-transform: uppercase; }
.rm-library h2 { margin: 17px 0 11px; max-width: 13ch; font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif; font-size: 30px; font-weight: 700; line-height: .95; letter-spacing: .02em; text-transform: uppercase; }
.rm-library p { margin: 0; color: rgba(255,255,255,.76); line-height: 1.65; max-width: 38ch; }
.rm-library__button { margin-top: 22px; min-height: 48px; border: 0; background: var(--rm-red); color: #fff; border-radius: 0; padding: 0 22px; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; cursor: pointer; }
.rm-library__status { margin-top: 13px; font-size: 9px; color: rgba(255,255,255,.52); text-transform: uppercase; letter-spacing: .09em; }

/* Product gallery and decision area. */
.rm-pdp-layout { min-width: 0; }
.rm-pdp-col { min-width: 0; }
.rm-gallery { --rm-pdp-ratio: 1; margin-top: 0; position: relative; overflow: hidden; background: var(--rm-surface); }
.rm-gallery__track { width: 100%; aspect-ratio: var(--rm-pdp-ratio); position: relative; overflow: hidden; touch-action: pan-y; -webkit-user-select: none; user-select: none; transition: aspect-ratio .18s ease; }
.rm-gallery__slide { position: absolute; inset: 0; display: none; overflow: hidden; }
.rm-gallery__slide.is-active { display: block; }
.rm-gallery__slide img {
  width: 100%; height: 100%; display: block; object-fit: cover;
  object-position: var(--rm-img-x,50%) var(--rm-img-y,50%); background: var(--rm-surface);
  transform: scale(var(--rm-img-zoom,1)); transform-origin: var(--rm-img-x,50%) var(--rm-img-y,50%);
  transition: transform .16s ease; pointer-events: none; user-select: none; -webkit-user-drag: none;
}
.rm-gallery__dots { position: absolute; z-index: 3; right: 0; bottom: 12px; left: 0; display: flex; align-items: center; justify-content: center; gap: 7px; max-width: 100%; padding: 0 16px; pointer-events: none; }
.rm-gallery__dots button { width: 7px; height: 7px; flex: 0 0 7px; border: 0; border-radius: 999px; background: rgba(255,255,255,.55); box-shadow: 0 1px 3px rgba(0,0,0,.3); padding: 0; cursor: pointer; pointer-events: auto; transition: width .2s ease, background .2s ease; }
.rm-gallery__dots button.is-active { width: 22px; flex-basis: 22px; background: #fff; }

.rm-choice { margin: 22px 20px 0; display: flex; flex-direction: column; gap: 8px; }
.rm-choice > .rm-ulabel { margin-bottom: 2px; }
.rm-choice__option { width: 100%; min-height: 66px; padding: 11px 13px; border: 1px solid var(--rm-border-outline); background: #fff; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 12px; text-align: left; }
.rm-choice__option.is-selected { border: 2px solid var(--rm-ink); padding: 10px 12px; }
.rm-choice__option > span { display: flex; flex-direction: column; }
.rm-choice__option b { font-size: 14px; }
.rm-choice__option i { font-style: normal; font-size: 11px; color: var(--rm-label); }
.rm-choice__option strong { flex: 0 0 auto; font-size: 10px; color: var(--rm-red); text-transform: uppercase; letter-spacing: .05em; }
.rm-section-intro { margin: 34px 20px 0; padding: 30px 22px; background: var(--rm-ink); color: #fff; }
.rm-section-intro__eyebrow { font-size: 10px; font-weight: 800; letter-spacing: .1em; color: #ff8ca1; text-transform: uppercase; }
.rm-section-intro h2 { margin: 12px 0 10px; max-width: 15ch; font-size: 27px; line-height: 1.08; letter-spacing: -.035em; }
.rm-section-intro p { margin: 0; color: var(--rm-on-dark-body); line-height: 1.6; }
.rm-textlink { align-self: flex-start; border: 0; background: none; padding: 4px 0; color: var(--rm-ink); font-size: 13px; font-weight: 800; cursor: pointer; }

.rm-unboxing { margin: 30px 20px 0; display: grid; grid-template-columns: 112px 1fr; background: var(--rm-surface); }
.rm-unboxing__visual { min-height: 196px; padding: 18px 12px; background: var(--rm-red); color: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.rm-unboxing__visual span { font-size: 31px; font-weight: 800; letter-spacing: -.08em; }
.rm-unboxing__visual i { font-size: 9px; font-style: normal; text-transform: uppercase; letter-spacing: .11em; }
.rm-unboxing > div:last-child { padding: 19px 16px; display: flex; flex-direction: column; align-items: flex-start; }
.rm-unboxing h3 { margin: 7px 0; font-size: 18px; line-height: 1.2; }
.rm-unboxing p { margin: 0; font-size: 12px; line-height: 1.55; color: var(--rm-label); }
.rm-unboxing a, .rm-unboxing__pending { margin-top: auto; padding-top: 12px; color: var(--rm-red); font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; }
.rm-proof { margin: 30px 20px 0; padding: 26px 20px; border: 1px dashed var(--rm-border-outline); background: #fff; }
.rm-proof h3 { margin: 10px 0 7px; font-size: 21px; line-height: 1.2; }
.rm-proof p { margin: 0; color: var(--rm-label); line-height: 1.6; }
.rm-proof__pending { display: inline-flex; margin-top: 15px; background: var(--rm-surface); padding: 7px 10px; font-size: 10px; font-weight: 800; color: var(--rm-label); text-transform: uppercase; letter-spacing: .06em; }
.rm-proof--live { margin-left: 16px; margin-right: 16px; padding: 0; border: 0; background: transparent; }
.rm-proof--live > p { margin-top: 7px; color: var(--rm-label); font-size: 12px; line-height: 1.45; }
.rm-review-cards { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 10px; margin-top: 16px; }
.rm-review-card { position: relative; aspect-ratio: 9/16; border: 0; border-radius: 14px; overflow: hidden; padding: 0; background: #111; cursor: pointer; box-shadow: 0 6px 17px -13px rgba(0,0,0,.6); }
.rm-review-card__video { position: absolute; inset: 0; width: 100%; height: 100%; display: block; object-fit: cover; pointer-events: none; }
.rm-store-story { margin: 30px 20px 0; padding: 26px 20px; background: #fff1f4; display: grid; grid-template-columns: 54px 1fr; gap: 17px; }
.rm-store-story__mark { width: 54px; height: 54px; overflow: hidden; background: var(--rm-red); display: block; }
.rm-store-story__mark img { width: 100%; height: 100%; display: block; object-fit: cover; object-position: center; }
.rm-store-story h3 { margin: 8px 0 7px; font-size: 20px; line-height: 1.2; }
.rm-store-story p { margin: 0; font-size: 13px; color: var(--rm-body); line-height: 1.6; }

/* Instagram-style customer story viewer, matching the proven PSPVault flow. */
.rm-review-modal { position: fixed; inset: 0; z-index: 999; opacity: 0; pointer-events: none; visibility: hidden; transition: opacity .22s ease,visibility .22s; }
.rm-review-modal.is-open { opacity: 1; pointer-events: auto; visibility: visible; }
.rm-review-modal__backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.86); backdrop-filter: blur(5px); }
.rm-review-viewer { position: relative; width: min(420px,calc(100vw - 24px),calc((100dvh - 24px) * .5625)); aspect-ratio: 9/16; margin: 12px auto; top: 50%; transform: translateY(-50%) scale(.96); border-radius: 26px; overflow: hidden; background: #000; border: 1px solid rgba(255,255,255,.12); box-shadow: 0 28px 60px rgba(0,0,0,.55); transition: transform .22s ease; }
.rm-review-modal.is-open .rm-review-viewer { transform: translateY(-50%) scale(1); }
.rm-review-media { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; background: #000; display: block; }
.rm-review-viewer::before { content: ""; position: absolute; z-index: 1; pointer-events: none; left: 0; right: 0; top: 0; height: 28%; background: linear-gradient(to bottom,rgba(0,0,0,.54),rgba(0,0,0,0)); }
.rm-review-viewer::after { content: ""; position: absolute; z-index: 1; pointer-events: none; left: 0; right: 0; bottom: 0; height: 42%; background: linear-gradient(to top,rgba(0,0,0,.9),rgba(0,0,0,0)); }
.rm-review-progress { position: absolute; z-index: 5; top: 12px; left: 12px; right: 12px; display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 6px; }
.rm-review-bar { height: 3px; border-radius: 999px; overflow: hidden; background: rgba(255,255,255,.26); }
.rm-review-bar__fill { display: block; width: 100%; height: 100%; background: #fff; transform-origin: left center; transform: scaleX(0); }
.rm-review-close,.rm-review-sound { position: absolute; top: 24px; z-index: 7; border: 1px solid rgba(255,255,255,.14); background: rgba(0,0,0,.42); color: #fff; cursor: pointer; backdrop-filter: blur(8px); }
.rm-review-close { right: 12px; width: 38px; height: 38px; border-radius: 50%; padding: 0; font-size: 25px; line-height: 1; }
.rm-review-sound { left: 12px; height: 38px; min-width: 82px; padding: 0 12px; border-radius: 999px; font-size: 11px; font-weight: 800; text-transform: uppercase; }
.rm-review-hit { position: absolute; z-index: 4; top: 0; bottom: 0; width: 34%; background: transparent; border: 0; cursor: pointer; }
.rm-review-hit--left { left: 0; }
.rm-review-hit--right { right: 0; }
.rm-review-meta { position: absolute; z-index: 6; left: 14px; right: 14px; bottom: 60px; display: flex; align-items: center; gap: 10px; color: #fff; }
.rm-review-meta img { width: 38px; height: 38px; flex: 0 0 38px; border-radius: 50%; object-fit: cover; border: 2px solid rgba(255,255,255,.82); background: #fafafa; }
.rm-review-meta strong { display: block; color: #fff; font-size: 14px; line-height: 1.2; }
.rm-review-meta span { display: block; color: rgba(255,255,255,.76); font-size: 12px; line-height: 1.2; margin-top: 2px; }
.rm-review-caption { position: absolute; z-index: 6; left: 14px; right: 14px; bottom: 16px; color: #fff; font-size: 13px; line-height: 1.4; }

/* New sheets. */
.rm-overlay--library, .rm-overlay--games { z-index: 72; opacity: 1; transform: translateY(100%); transition: transform 230ms cubic-bezier(.22,1,.36,1), visibility 230ms; }
.rm-overlay--library.is-open, .rm-overlay--games.is-open { transform: none; }
.rm-library-modal, .rm-games-modal { flex: 1; min-height: 0; overflow-y: auto; }
.rm-library-modal, .rm-games-modal { padding: 34px 20px calc(34px + env(safe-area-inset-bottom)); }
.rm-library-modal__mark { width: 64px; height: 64px; background: var(--rm-red); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 21px; font-weight: 800; letter-spacing: -.07em; }
.rm-library-modal h2, .rm-games-modal h2 { margin: 20px 0 10px; font-size: 31px; line-height: 1.08; letter-spacing: -.04em; }
.rm-library-modal > p, .rm-games-modal > p { margin: 0; color: var(--rm-body); line-height: 1.65; }
.rm-library-modal form, .rm-track__form { margin-top: 24px; display: flex; flex-direction: column; gap: 13px; }
.rm-library-modal label, .rm-track__form label { display: flex; flex-direction: column; gap: 6px; }
.rm-library-modal label span, .rm-track__form label span { font-size: 12px; font-weight: 800; }
.rm-library-modal input, .rm-track__form input { width: 100%; min-height: 52px; border: 1px solid var(--rm-border-outline); border-radius: 0; background: #fff; padding: 0 14px; font: 15px/1.2 inherit; color: var(--rm-ink); }
.rm-library-modal form .rm-pill, .rm-track__form .rm-pill { min-height: 52px; }
.rm-library-modal__feedback { min-height: 22px; font-size: 12px; line-height: 1.5; }
.rm-library-modal__feedback.is-success { color: #087a3a; }
.rm-library-modal__feedback.is-error { color: #a60020; }
.rm-library-modal small { display: block; margin-top: 24px; padding-top: 18px; border-top: 1px solid var(--rm-hairline); font-size: 11px; color: var(--rm-label-light); }
.rm-games-modal__eyebrow { color: var(--rm-red); font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.rm-games-modal__group { margin-top: 26px; display: flex; flex-direction: column; gap: 11px; }
.rm-games-modal__status { margin: 24px 0; padding: 15px; background: var(--rm-surface); display: flex; gap: 11px; }
.rm-games-modal__status > span { width: 8px; height: 8px; margin-top: 6px; border-radius: 50%; background: #e2a100; flex-shrink: 0; }
.rm-games-modal__status b { font-size: 13px; }
.rm-games-modal__status p { margin: 2px 0 0; font-size: 12px; color: var(--rm-label); }
.rm-games-modal { padding-top: 0; background: #fff; }
.rm-games-modal__hero { margin: 0 -20px; padding: 34px 20px 28px; background: linear-gradient(145deg,#fff0f3 0%,#fff 68%); border-bottom: 1px solid var(--rm-hairline); }
.rm-games-modal__hero h2 { max-width: 12ch; margin-top: 11px; font-size: clamp(32px,9vw,44px); }
.rm-games-modal__hero > p { margin: 0; max-width: 52ch; color: var(--rm-body); font-size: 14px; line-height: 1.65; }
.rm-games-capacity { margin-top: 22px; padding: 15px; background: var(--rm-ink); color: #fff; display: flex; align-items: center; gap: 14px; }
.rm-games-capacity > strong { color: #fff; font-size: 27px; line-height: 1; letter-spacing: -.04em; white-space: nowrap; }
.rm-games-capacity > span { color: #fff; font-size: 12px; font-weight: 800; line-height: 1.35; }
.rm-games-capacity small { display: block; margin-top: 3px; color: rgba(255,255,255,.58); font-size: 9px; font-weight: 500; line-height: 1.35; }
.rm-games-access { margin-top: 20px; padding: 16px; border: 1px solid #ffd2db; background: #fff8fa; display: flex; align-items: flex-start; gap: 12px; }
.rm-games-access__icon { width: 28px; height: 28px; border-radius: 50%; background: var(--rm-red); color: #fff; display: grid; place-items: center; flex: 0 0 28px; font-size: 22px; font-weight: 500; line-height: 1; }
.rm-games-access b { font-size: 13px; line-height: 1.35; }
.rm-games-access p { margin: 3px 0 0; color: var(--rm-label); font-size: 11px; line-height: 1.55; }
.rm-games-modal__group { margin-top: 30px; gap: 16px; }
.rm-games-modal__group-head { display: flex; flex-direction: column; gap: 3px; }
.rm-games-modal__group-head b { font-size: 20px; letter-spacing: -.025em; line-height: 1.2; }
.rm-games-modal__group-head span { color: var(--rm-label); font-size: 10px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.rm-game-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 21px 13px; padding: 2px 3px 5px; }
.rm-game-case { min-width: 0; }
.rm-game-case__box { position: relative; isolation: isolate; aspect-ratio: 1.08; margin: 0 7px 10px 10px; border: 5px solid #131619; border-left-width: 9px; border-radius: 3px 7px 7px 3px; background: linear-gradient(135deg,#e7e9eb,#f8f8f8); box-shadow: -7px 8px 0 #d5d7d9,0 13px 18px -13px rgba(0,0,0,.72); transform: perspective(500px) rotateY(7deg); transform-origin: left center; overflow: hidden; }
.rm-game-case__box::before { content: ""; position: absolute; z-index: 2; inset: 0 auto 0 0; width: 7px; background: linear-gradient(90deg,rgba(255,255,255,.26),rgba(0,0,0,.35)); pointer-events: none; }
.rm-game-case__box::after { content: ""; position: absolute; z-index: 2; inset: 0; box-shadow: inset 0 0 0 1px rgba(255,255,255,.32); pointer-events: none; }
.rm-game-case__box > span { position: absolute; inset: 0; display: grid; place-items: center; color: #bec2c5; font-size: 42px; font-weight: 900; }
.rm-game-case__box img { position: relative; z-index: 1; width: 100%; height: 100%; display: block; object-fit: cover; background: #fff; }
.rm-game-case__box.is-pair img { object-position: left center; }
.rm-game-case h3 { margin: 0 4px; font-size: 11px; line-height: 1.35; letter-spacing: -.01em; }
.rm-game-grid--switch .rm-game-case__box { aspect-ratio: .62; margin-left: 17%; margin-right: 17%; border-color: #d80022; border-left-width: 7px; box-shadow: -6px 8px 0 #b9001d,0 13px 18px -13px rgba(0,0,0,.72); }
.rm-game-grid--3ds .rm-game-case__box { border-color: #f5f5f5; border-left-color: #dfe2e5; box-shadow: -7px 8px 0 #cfd3d6,0 13px 18px -13px rgba(0,0,0,.72); }
.rm-games-modal__compat { margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--rm-hairline); }
.rm-games-modal__compat > b { display: block; margin-bottom: 10px; font-size: 13px; }
.rm-games-modal__disclosure { margin: 24px 0 20px !important; padding: 15px; background: var(--rm-surface); color: var(--rm-label) !important; font-size: 10px; line-height: 1.55 !important; }
.rm-games-modal > .rm-pill { width: 100%; min-height: 52px; }

/* Order tracking and the existing support engine, brought into the RM shell. */
.rm-aux { width: 100%; max-width: 760px; margin: 0 auto; padding: 0 20px 42px; }
.rm-aux__hero { padding: 42px 0 25px; }
.rm-aux__eyebrow { color: var(--rm-red); font-size: 10px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.rm-aux__hero h1 { margin: 9px 0 9px; font-size: 34px; line-height: 1.06; letter-spacing: -.045em; }
.rm-aux__hero p { margin: 0; max-width: 50ch; color: var(--rm-label); font-size: 15px; line-height: 1.65; }
.rm-track__form { margin: 0; padding: 22px; background: var(--rm-surface); }
.rm-track__form > small { color: var(--rm-label); font-size: 11px; text-align: center; }
.rm-form-error { padding: 12px 14px; background: #fff0f3; color: #9c0020; font-size: 12px; line-height: 1.5; }
.rm-journey { margin-top: 22px; border: 1px solid var(--rm-hairline); }
.rm-journey__summary { padding: 22px; background: var(--rm-ink); color: #fff; }
.rm-journey__summary .rm-ulabel { color: var(--rm-on-dark-body); }
.rm-journey__summary h2 { margin: 7px 0 4px; font-size: 24px; }
.rm-journey__summary p { margin: 0; color: var(--rm-on-dark-body); }
.rm-journey__summary > span:last-child { display: block; margin-top: 10px; font-size: 18px; font-weight: 800; }
.rm-timeline { list-style: none; padding: 22px; margin: 0; }
.rm-timeline li { position: relative; display: grid; grid-template-columns: 16px 1fr; gap: 12px; min-height: 70px; color: #9ba0a5; }
.rm-timeline li:not(:last-child)::after { content: ""; position: absolute; top: 16px; bottom: 0; left: 5px; width: 2px; background: var(--rm-border-stepper); }
.rm-timeline__dot { position: relative; z-index: 1; width: 12px; height: 12px; margin-top: 3px; border-radius: 50%; background: #d8dbdd; box-shadow: 0 0 0 4px #fff; }
.rm-timeline b { font-size: 14px; }
.rm-timeline p { margin: 2px 0 0; font-size: 12px; line-height: 1.5; }
.rm-timeline li.is-done, .rm-timeline li.is-current { color: var(--rm-ink); }
.rm-timeline li.is-done::after { background: var(--rm-red); }
.rm-timeline li.is-done .rm-timeline__dot, .rm-timeline li.is-current .rm-timeline__dot { background: var(--rm-red); }
.rm-timeline li.is-current .rm-timeline__dot { box-shadow: 0 0 0 4px #ffdce3; }
.rm-shipment-list { padding: 0 22px 22px; display: flex; flex-direction: column; gap: 9px; }
.rm-shipment-list > .rm-ulabel { margin-bottom: 3px; }
.rm-shipment { min-height: 66px; padding: 13px 14px; border: 1px solid var(--rm-border-outline); display: flex; align-items: center; justify-content: space-between; gap: 12px; background: #fff; }
.rm-shipment > span { min-width: 0; display: flex; flex-direction: column; }
.rm-shipment b { font-size: 13px; }
.rm-shipment small { overflow-wrap: anywhere; color: var(--rm-label); font-size: 11px; }
.rm-shipment strong { flex-shrink: 0; font-size: 11px; }
.rm-aux__aside { margin-top: 22px; padding: 19px; border: 1px solid var(--rm-hairline); display: flex; flex-direction: column; }
.rm-aux__aside b { font-size: 15px; }
.rm-aux__aside span { font-size: 12px; color: var(--rm-label); }
.rm-aux__aside a { margin-top: 8px; color: var(--rm-red); font-size: 12px; font-weight: 800; }

body.rm-body .rm-support__engine { color: var(--rm-ink) !important; font-family: "Montserrat",system-ui,sans-serif !important; }
body.rm-body .rm-support__engine > div { max-width: none !important; margin: 0 !important; padding: 0 !important; }
body.rm-body .rm-support__engine input,
body.rm-body .rm-support__engine textarea,
body.rm-body .rm-support__engine select { width: 100% !important; min-height: 50px !important; border: 1px solid var(--rm-border-outline) !important; border-radius: 0 !important; box-shadow: none !important; font-family: inherit !important; }
body.rm-body .rm-support__engine textarea { min-height: 120px !important; padding: 12px !important; }
body.rm-body .rm-support__engine button { min-height: 48px !important; border-radius: 999px !important; font-family: inherit !important; font-weight: 800 !important; }

.rm-cart__stock { font-size: 10px; font-weight: 800; color: var(--rm-red); }
.rm-cart__assurance { display: grid; grid-template-columns: repeat(2,1fr); border: 1px solid var(--rm-hairline); }
.rm-cart__assurance span { padding: 9px; display: flex; flex-direction: column; }
.rm-cart__assurance span + span { border-left: 1px solid var(--rm-hairline); }
.rm-cart__assurance b { font-size: 10px; }
.rm-cart__assurance i { font-size: 9px; font-style: normal; color: var(--rm-label); }
.rm-cart__continue { align-self: center; border: 0; background: none; min-height: 32px; font-size: 11px; font-weight: 800; color: var(--rm-label); cursor: pointer; }

@media (min-width: 720px) {
  :root { --rm-shell: 1180px; }
  .rm-sect, .rm-list, .rm-review-highlights__rail { padding-left: 32px; padding-right: 32px; }
  .rm-list { gap: 18px; }
  .rm-panel__body { min-height: 145px; padding: 16px; }
  .rm-panel__name { font-size: 17px; }
  .rm-point { padding: 3px 7px; font-size: 10px; }
  .rm-panel__price { font-size: 21px; }
  .rm-library { padding-left: 32px; padding-right: 32px; }
  .rm-foot__top, .rm-foot__bottom { padding-left: 32px; padding-right: 32px; }
}

@media (min-width: 1024px) {
  .rm-shell { box-shadow: 0 0 0 1px rgba(0,0,0,.025); }
  .rm-head__bar { padding-left: 24px; padding-right: 24px; }
  .rm-logobtn img { height: 43px; }
  .rm-tabs { padding: 0 20%; }
  .rm-review-highlights { padding-top: 20px; }
  .rm-review-highlights__rail { gap: 18px; }
  .rm-review-story { width: 76px; min-width: 76px; flex-basis: 76px; }
  .rm-review-story__ring { width: 72px; height: 72px; }
  .rm-review-story__name { max-width: 76px; font-size: 10px; }
  .rm-promises { padding: 0 12%; }
  .rm-promises b { font-size: 12px; }
  .rm-promises i { font-size: 10px; }
  .rm-sect { padding-top: 38px; }
  .rm-sect h1 { font-size: 34px; }
  .rm-list { grid-template-columns: repeat(3,minmax(0,1fr)); padding-bottom: 38px; }
  .rm-panel { display: flex; flex-direction: column; height: auto; }
  .rm-panel__media { width: 100%; height: auto; aspect-ratio: var(--rm-catalog-ratio, 1); }
  .rm-panel__body { min-height: 148px; align-items: flex-start; padding: 18px; }
  .rm-panel__price { align-self: flex-start; }
  .rm-library { min-height: 310px; justify-content: center; padding: 52px 64px; }
  .rm-library h2 { font-size: 42px; }
  .rm-foot__top { padding: 54px 64px; }
  .rm-foot__top h2 { max-width: 720px; font-size: 46px; }
  .rm-foot__top p { max-width: 680px; }
  .rm-foot__bottom { flex-direction: row; justify-content: space-between; padding: 25px 64px; }

  .rm-shell--pdp { padding-bottom: 0; }
  .rm-pdp__body { padding: 0 32px 50px; }
  .rm-crumb { padding: 22px 0 16px; }
  .rm-pdp-layout { display: grid; grid-template-columns: minmax(0,1fr) 400px; grid-template-areas: "gallery buy" "story buy"; align-items: start; column-gap: 34px; }
  .rm-pdp-col--gallery { grid-area: gallery; }
  .rm-pdp-col--buy { grid-area: buy; position: sticky; top: 82px; padding: 4px 0 24px; border: 1px solid var(--rm-hairline); }
  .rm-pdp-col--story { grid-area: story; }
  .rm-gallery { margin-top: 0; }
  .rm-title { padding: 22px 22px 0; }
  .rm-title h1 { font-size: 31px; }
  .rm-choice { margin-left: 22px; margin-right: 22px; }
  .rm-delivery { margin-left: 22px; margin-right: 22px; }
  .rm-addwrap { padding-left: 22px; padding-right: 22px; }
  .rm-trust { margin-left: 22px; margin-right: 22px; }
  .rm-section-intro { margin: 34px 0 0; padding: 40px; }
  .rm-section-intro h2 { font-size: 37px; }
  .rm-rows, .rm-kit, .rm-stats, .rm-faq { padding-left: 0; padding-right: 0; }
  .rm-unboxing, .rm-proof, .rm-store-story { margin-left: 0; margin-right: 0; }
  .rm-plays { margin-left: 0; margin-right: 0; padding-left: 32px; padding-right: 32px; }
  .rm-buybar { display: none; }
  .rm-overlay { width: min(430px,100%); margin: 0 auto; box-shadow: 0 0 45px rgba(0,0,0,.18); }
  .rm-overlay--games { width: min(760px,100%); }
  .rm-overlay--games .rm-game-grid { grid-template-columns: repeat(4,minmax(0,1fr)); }
  .rm-overlay--games .rm-games-modal__hero h2 { max-width: none; }
  .rm-stickycart { width: min(430px,100%); }
  .rm-aux { padding-top: 18px; padding-bottom: 70px; }
  .rm-aux__hero h1 { font-size: 46px; }
}

/* ---------------------------------------------------------------- toast --- */
.rm-toast {
  position: fixed; left: 0; right: 0; bottom: calc(100px + env(safe-area-inset-bottom)); z-index: 75;
  display: none; justify-content: center; pointer-events: none;
  animation: rmIn 180ms ease-out;
}
.rm-toast.is-on { display: flex; }
.rm-toast span {
  background: var(--rm-ink); color: #fff; padding: 11px 18px; border-radius: 999px;
  font-size: 13px; font-weight: 600; max-width: 86%;
}

/* ------------------------------------------------------ production polish */
.rm-add, .rm-buybar__btn, .rm-stickycart__btn, .rm-pill, .rm-stepper button,
.rm-iconbtn, .rm-logobtn, .rm-back, .rm-faq__q, .rm-navrow {
  transition: background-color 150ms ease, color 150ms ease, border-color 150ms ease,
              opacity 150ms ease, transform 120ms ease;
}
.rm-add:active, .rm-buybar__btn:active, .rm-stickycart__btn:active,
.rm-pill:active, .rm-stepper button:active { transform: scale(.985); }
.rm-stepper button:active { background: var(--rm-surface); }
.rm-cart__body, .rm-menu__body { -webkit-overflow-scrolling: touch; }

@media (hover: hover) and (pointer: fine) {
  .rm-panel:hover { background: var(--rm-panel-hover); }
  .rm-tab:hover { background: var(--rm-surface); }
  .rm-navrow:hover { background: var(--rm-surface); color: var(--rm-ink); }
  .rm-stepper button:hover { background: var(--rm-surface); }
}

@media (max-width: 359px) {
  .rm-sect { padding-left: 10px; padding-right: 10px; }
  .rm-list { padding-left: 10px; padding-right: 10px; gap: 8px; }
  .rm-panel__body { min-height: 136px; padding: 10px; gap: 8px; }
  .rm-panel__stack { gap: 5px; }
  .rm-panel__name { font-size: 13px; }
  .rm-point { padding: 2px 4px; font-size: 8px; }
  .rm-panel__price { font-size: 18px; }
  .rm-buybar__thumb { display: none; }
  .rm .rm-buybar__btn { padding: 0 14px; font-size: 12px; }
  .rm-buybar__row { gap: 8px; }
  .rm-foot__top h2 { font-size: 29px; }
}

/* ------------------------------------------------ v1.3 comparison view --- */
/* The live design remains v1.4. This scoped view restores the immediately
   preceding catalogue and highlight treatment at ?design=previous. */
.rm-shell--previous .rm-sect { padding: 26px 20px 18px; }
.rm-shell--previous .rm-list { display: flex; flex-direction: column; gap: 12px; padding: 4px 20px 14px; }
.rm-shell--previous .rm-panel {
  display: flex; flex-direction: row; align-items: stretch;
  height: clamp(128px, 34vw, 140px);
}
.rm-shell--previous .rm-panel__media {
  width: clamp(128px, 34vw, 140px); height: clamp(128px, 34vw, 140px); aspect-ratio: auto;
}
.rm-shell--previous .rm-panel__body {
  min-height: 0; flex-direction: row; align-items: center; gap: clamp(8px, 3vw, 14px);
  padding: 12px clamp(11px, 3.25vw, 14px) 12px clamp(12px, 3.7vw, 16px);
}
.rm-shell--previous .rm-panel__stack { width: auto; gap: 6px; }
.rm-shell--previous .rm-panel__name { font-size: clamp(16px, 4.2vw, 18px); }
.rm-shell--previous .rm-points { gap: 4px; }
.rm-shell--previous .rm-point { max-width: none; padding: 3px 7px; font-size: 10px; white-space: nowrap; }
.rm-shell--previous .rm-panel__price {
  margin-top: 0; font-size: clamp(19px, 5.1vw, 22px); align-self: center;
}
.rm-shell--previous .rm-review-highlights { padding: 14px 0 16px; }
.rm-shell--previous .rm-review-highlights__head {
  padding: 0 20px 11px; display: flex; justify-content: space-between;
  align-items: flex-end; gap: 16px;
}
.rm-shell--previous .rm-review-highlights__head > span:first-child { display: flex; flex-direction: column; }
.rm-shell--previous .rm-review-highlights__head b { color: #fff; font-size: 13px; font-weight: 800; letter-spacing: .02em; }
.rm-shell--previous .rm-review-highlights__head i { color: rgba(255,255,255,.56); font-size: 10px; font-style: normal; }
.rm-shell--previous .rm-review-highlights__hint { color: rgba(255,255,255,.5); font-size: 9px; text-transform: uppercase; letter-spacing: .07em; }
.rm-shell--previous .rm-review-highlights__rail { padding: 2px 20px 4px; }
.rm-shell--previous .rm-review-story { width: 68px; min-width: 68px; flex-basis: 68px; }
.rm-shell--previous .rm-review-story__ring { width: 64px; height: 64px; }
.rm-shell--previous .rm-review-story__name {
  max-width: 68px; font-size: 9px; letter-spacing: normal; text-transform: none;
}

@media (min-width: 720px) {
  .rm-shell--previous .rm-sect,
  .rm-shell--previous .rm-list,
  .rm-shell--previous .rm-review-highlights__head,
  .rm-shell--previous .rm-review-highlights__rail { padding-left: 32px; padding-right: 32px; }
  .rm-shell--previous .rm-list { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px; }
  .rm-shell--previous .rm-panel { flex-direction: row; height: 158px; }
  .rm-shell--previous .rm-panel__media { width: 158px; height: 158px; }
  .rm-shell--previous .rm-panel__body {
    min-height: 0; flex-direction: row; align-items: center;
    gap: clamp(8px, 3vw, 14px); padding: 12px clamp(11px, 3.25vw, 14px) 12px clamp(12px, 3.7vw, 16px);
  }
  .rm-shell--previous .rm-panel__stack { width: auto; }
  .rm-shell--previous .rm-panel__name { font-size: 18px; }
  .rm-shell--previous .rm-panel__price { margin-top: 0; font-size: 21px; align-self: center; }
}

@media (min-width: 1024px) {
  .rm-shell--previous .rm-review-highlights { padding-top: 20px; }
  .rm-shell--previous .rm-review-highlights__rail { gap: 18px; }
  .rm-shell--previous .rm-review-story { width: 76px; min-width: 76px; flex-basis: 76px; }
  .rm-shell--previous .rm-review-story__ring { width: 72px; height: 72px; }
  .rm-shell--previous .rm-review-story__name { max-width: 76px; font-size: 10px; }
  .rm-shell--previous .rm-sect { padding-top: 38px; }
  .rm-shell--previous .rm-list { grid-template-columns: repeat(3,minmax(0,1fr)); padding-bottom: 38px; }
  .rm-shell--previous .rm-panel { flex-direction: column; height: auto; }
  .rm-shell--previous .rm-panel__media { width: 100%; height: auto; aspect-ratio: 1 / 1; }
  .rm-shell--previous .rm-panel__body { min-height: 148px; flex-direction: row; align-items: flex-start; padding: 18px; }
  .rm-shell--previous .rm-panel__price { align-self: flex-start; }
}

@media (max-width: 359px) {
  .rm-shell--previous .rm-sect { padding-left: 16px; padding-right: 16px; }
  .rm-shell--previous .rm-list { padding-left: 12px; padding-right: 12px; gap: 12px; }
  .rm-shell--previous .rm-panel__body { padding-left: 10px; padding-right: 10px; gap: 7px; }
  .rm-shell--previous .rm-panel__stack { gap: 4px; }
  .rm-shell--previous .rm-point { padding: 2px 5px; font-size: 9px; }
  .rm-shell--previous .rm-panel__price { font-size: 18px; }
}

/* ----------------------------------------------- v1.5 PSPVault direction --- */
.rm-shell--previous { font-family: "Manrope", system-ui, -apple-system, sans-serif; }

.rm-shop-lockup {
  padding: 6px 12px 10px; background: #ececed; color: var(--rm-ink);
}
.rm-shop-lockup__row {
  min-height: 48px; display: grid; grid-template-columns: minmax(0,1fr) minmax(112px,1.28fr) minmax(0,1fr);
  align-items: center; gap: 6px;
}
.rm-shop-lockup__row h2 {
  position: relative; z-index: 1; margin: 0; color: #fff;
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: clamp(23px,7.5vw,31px); font-weight: 700; line-height: .88;
  letter-spacing: .03em; text-align: center; text-transform: uppercase; white-space: nowrap;
  -webkit-text-stroke: 1.25px #111; text-shadow: 1px 1px 0 #111, -1px 1px 0 #111;
}
.rm-shop-lockup__proof {
  min-width: 0; height: 41px; background: var(--rm-ink); color: #fff;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  transform: skewX(-11deg); box-shadow: 0 3px 0 rgba(0,0,0,.18);
}
.rm-shop-lockup__proof > * { transform: skewX(11deg); }
.rm-shop-lockup__proof small { font-size: 6px; line-height: 1.1; letter-spacing: .13em; text-transform: uppercase; }
.rm-shop-lockup__proof b { font-size: 10px; line-height: 1.05; letter-spacing: .02em; text-transform: uppercase; }
.rm-shop-lockup__strip {
  width: max-content; min-height: 28px; margin: 6px auto 0; padding: 0 13px;
  background: var(--rm-ink); border-bottom: 3px solid var(--rm-red); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 9px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase;
  transform: skewX(-11deg);
}

.rm-shell--shop:not(.rm-shell--previous) .rm-shop,
.rm-shell--shop:not(.rm-shell--previous) .rm-platform-view { background: #101112; color: #f1f1f1; }
.rm-shell--shop:not(.rm-shell--previous) .rm-sect {
  margin: 0 15px; padding: 14px 0 9px; border-top: 2px solid #5b5d60;
  align-items: center; gap: 0; color: #f1f1f1; text-align: center;
}
.rm-shell--shop:not(.rm-shell--previous) .rm-sect h1 {
  margin: 0; font-size: 16.8px; font-weight: 400; line-height: 1.6;
  letter-spacing: 0; color: #f1f1f1;
}
.rm-shell--shop:not(.rm-shell--previous) .rm-list {
  grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px;
  padding: 0 15px 26px; background: #101112;
}
.rm-shell--shop:not(.rm-shell--previous) .rm-panel {
  background: #101112; color: #f1f1f1; text-align: center;
}
.rm-shell--shop:not(.rm-shell--previous) .rm-panel:active { background: #17191b; }
.rm-shell--shop:not(.rm-shell--previous) .rm-panel__body {
  min-height: 83px; align-items: center; gap: 4px; padding: 9px 2px 15px;
  background: #101112; color: #f1f1f1;
}
.rm-shell--shop:not(.rm-shell--previous) .rm-panel__stack {
  width: 100%; flex: 0 1 auto; align-items: center; gap: 5px;
}
.rm-shell--shop:not(.rm-shell--previous) .rm-panel__name {
  color: #f1f1f1; font-size: 13.6px; font-weight: 400; line-height: 1.3;
  letter-spacing: 0; text-align: center;
}
.rm-shell--shop:not(.rm-shell--previous) .rm-panel__price {
  margin-top: 4px; align-self: center; color: #fff;
  font-size: 15px; font-weight: 600; line-height: 1.2; letter-spacing: 0;
}
.rm-shell--shop:not(.rm-shell--previous) .rm-panel__capacity b { color: #fff; }
.rm-shell--shop:not(.rm-shell--previous) .rm-panel__capacity i,
.rm-shell--shop:not(.rm-shell--previous) .rm-panel__colors small { color: rgba(255,255,255,.54); }
.rm-shell--shop:not(.rm-shell--previous) .rm-color-dot { border-color: rgba(255,255,255,.42); }
.rm-shell--shop:not(.rm-shell--previous) .rm-empty {
  border-top-color: #2d3033; background: #101112; color: #fff;
}
.rm-shell--shop:not(.rm-shell--previous) .rm-empty p { color: rgba(255,255,255,.68); }

@media (hover: hover) and (pointer: fine) {
  .rm-shell--shop:not(.rm-shell--previous) .rm-panel:hover { background: #17191b; color: #fff; }
}

@media (min-width: 720px) {
  .rm-shop-lockup { padding-left: 32px; padding-right: 32px; }
  .rm-shop-lockup__row { max-width: 720px; margin: 0 auto; grid-template-columns: 1fr 1.3fr 1fr; }
  .rm-shop-lockup__strip { padding-left: 18px; padding-right: 18px; }
  .rm-shell--shop:not(.rm-shell--previous) .rm-sect { margin-left: 32px; margin-right: 32px; padding-left: 0; padding-right: 0; }
  .rm-shell--shop:not(.rm-shell--previous) .rm-list { gap: 18px; padding: 0 32px 38px; }
  .rm-shell--shop:not(.rm-shell--previous) .rm-panel__body { min-height: 88px; padding: 10px 4px 17px; }
  .rm-shell--shop:not(.rm-shell--previous) .rm-panel__name { font-size: 14.5px; }
  .rm-shell--shop:not(.rm-shell--previous) .rm-panel__price { font-size: 16px; }
}

@media (min-width: 1024px) {
  .rm-shop-lockup { padding-top: 10px; padding-bottom: 14px; }
  .rm-shell--shop:not(.rm-shell--previous) .rm-sect { padding-top: 18px; padding-bottom: 11px; }
  .rm-shell--shop:not(.rm-shell--previous) .rm-sect h1 { font-size: 18px; }
  .rm-shell--shop:not(.rm-shell--previous) .rm-list { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .rm-shell--shop:not(.rm-shell--previous) .rm-panel__body { min-height: 96px; padding: 12px 5px 20px; }
  .rm-shell--shop:not(.rm-shell--previous) .rm-panel__name { font-size: 15px; }
  .rm-shell--shop:not(.rm-shell--previous) .rm-panel__price { font-size: 17px; }
}

@media (max-width: 359px) {
  .rm-shop-lockup { padding-left: 10px; padding-right: 10px; }
  .rm-shop-lockup__row { grid-template-columns: minmax(0,1fr) minmax(104px,1.2fr) minmax(0,1fr); gap: 5px; }
  .rm-shop-lockup__proof b { font-size: 9px; }
  .rm-shell--shop:not(.rm-shell--previous) .rm-sect { margin-left: 12px; margin-right: 12px; }
  .rm-shell--shop:not(.rm-shell--previous) .rm-list { gap: 10px; padding-left: 12px; padding-right: 12px; }
  .rm-shell--shop:not(.rm-shell--previous) .rm-panel__body { min-height: 80px; padding-left: 1px; padding-right: 1px; }
  .rm-shell--shop:not(.rm-shell--previous) .rm-panel__name { font-size: 12.5px; }
}

/* --------------------------------------------- v1.6 Nintendo color studies */
.rm-variant--classic {
  --rv-notice-bg: #f5f5f4; --rv-notice-text: #2f3235; --rv-notice-border: #ddddda;
  --rv-header: #e4002b; --rv-header-rule: #bd0024;
  --rv-story: #ffffff; --rv-story-text: #1f2225; --rv-story-border: #dedfdf;
  --rv-ring: conic-gradient(from 180deg,#17191b,#c9cbcd,#6f7479,#17191b);
  --rv-tabs: #ffffff; --rv-soft: #eeeeec; --rv-proof: #17191b;
  --rv-page: #f2f3f3; --rv-card: #ffffff; --rv-hover: #e9eaea;
  --rv-text: #17191b; --rv-muted: #686c70; --rv-border: #d9dada; --rv-accent: #17191b;
  --rv-library: #17191b; --rv-library-text: #ffffff;
  --rv-button-bg: #ffffff; --rv-button-text: #17191b;
  --rv-footer: #b60023; --rv-footer-text: #ffe3e8; --rv-radius: 6px;
}
.rm-variant--ds-ice {
  --rv-notice-bg: #f5f5f4; --rv-notice-text: #2f3235; --rv-notice-border: #ddddda;
  --rv-header: #315779; --rv-header-rule: #9fb5c7;
  --rv-story: #ffffff; --rv-story-text: #1f2225; --rv-story-border: #dedfdf;
  --rv-ring: conic-gradient(from 180deg,#17191b,#c9cbcd,#6f7479,#17191b);
  --rv-tabs: #ffffff; --rv-soft: #eeeeec; --rv-proof: #17191b;
  --rv-page: #f2f3f3; --rv-card: #ffffff; --rv-hover: #e9eaea;
  --rv-text: #17191b; --rv-muted: #686c70; --rv-border: #d9dada; --rv-accent: #17191b;
  --rv-library: #17191b; --rv-library-text: #ffffff;
  --rv-button-bg: #ffffff; --rv-button-text: #17191b;
  --rv-footer: #1f3347; --rv-footer-text: #d8e3eb; --rv-radius: 0px;
}
.rm-variant--famicom {
  --rv-notice-bg: #f5ead7; --rv-notice-text: #792936; --rv-notice-border: #dfcfb3;
  --rv-header: #8f2635; --rv-header-rule: #c5a45d;
  --rv-story: #efe2cd; --rv-story-text: #55252d; --rv-story-border: #d8c5a4;
  --rv-ring: conic-gradient(from 180deg,#8f2635,#c9a75e,#d96755,#8f2635);
  --rv-tabs: #fbf3e7; --rv-soft: #efe2ce; --rv-proof: #752b36;
  --rv-page: #f6eedf; --rv-card: #fffaf1; --rv-hover: #f7e8d1;
  --rv-text: #3f2b25; --rv-muted: #79645c; --rv-border: #cfb77f; --rv-accent: #982f3f;
  --rv-library: #8f2635; --rv-library-text: #fff8ea;
  --rv-button-bg: #f2dfb7; --rv-button-text: #6f2330;
  --rv-footer: #5a222a; --rv-footer-text: #ead8c6; --rv-radius: 5px;
}

.rm-shell--shop.rm-shell--variant .rm-notice {
  background: var(--rm-notice-bg,#000); color: var(--rm-notice-ink,#fff); border-bottom: 0;
}
.rm-shell--shop.rm-shell--variant .rm-head__bar {
  background: var(--rv-header); box-shadow: inset 0 -3px 0 var(--rv-header-rule);
}
.rm-shell--shop.rm-shell--variant .rm-badge {
  color: var(--rv-header); box-shadow: 0 0 0 2px var(--rv-header);
}
.rm-shell--shop.rm-shell--variant .rm-review-highlights {
  background: var(--rv-story); color: var(--rv-story-text);
  border-bottom-color: var(--rv-story-border);
}
.rm-shell--shop.rm-shell--variant .rm-review-story,
.rm-shell--shop.rm-shell--variant .rm-review-story__name { color: var(--rv-story-text); }
.rm-shell--shop.rm-shell--variant .rm-review-story__ring {
  background: var(--rv-ring); box-shadow: 0 6px 14px rgba(43,32,28,.14);
}
.rm-shell--shop.rm-shell--variant .rm-review-story__ring img { border-color: var(--rv-story); }
.rm-shell--shop.rm-shell--variant .rm-tabs { background: var(--rv-tabs); border-bottom-color: var(--rv-border); }
.rm-shell--shop.rm-shell--variant .rm-tab.is-active { box-shadow: inset 0 -2px 0 var(--rv-accent); }
.rm-shell--shop.rm-shell--variant .rm-shop-lockup { background: var(--rv-soft); color: var(--rv-text); }
.rm-shell--shop.rm-shell--variant .rm-shop-lockup__proof,
.rm-shell--shop.rm-shell--variant .rm-shop-lockup__strip { background: var(--rv-proof); }
.rm-shell--shop.rm-shell--variant .rm-shop-lockup__strip { border-bottom-color: var(--rv-accent); }
.rm-shell--shop.rm-shell--variant .rm-shop-lockup__row h2 {
  -webkit-text-stroke-color: var(--rv-proof); text-shadow: 1px 1px 0 var(--rv-proof), -1px 1px 0 var(--rv-proof);
}
.rm-shell--shop.rm-shell--variant .rm-shop,
.rm-shell--shop.rm-shell--variant .rm-platform-view,
.rm-shell--shop.rm-shell--variant .rm-list { background: var(--rv-page); color: var(--rv-text); }
.rm-shell--shop.rm-shell--variant .rm-sect {
  border-top-color: var(--rv-accent); color: var(--rv-text);
}
.rm-shell--shop.rm-shell--variant .rm-sect h1 { color: var(--rv-text); }
.rm-shell--shop.rm-shell--variant .rm-panel {
  border: 1px solid var(--rv-border); border-radius: var(--rv-radius);
  background: var(--rv-card); color: var(--rv-text);
  box-shadow: 0 5px 16px -13px rgba(28,30,32,.48);
}
.rm-shell--shop.rm-shell--variant .rm-panel__media { border-bottom: 1px solid var(--rv-border); }
.rm-shell--shop.rm-shell--variant .rm-panel__body {
  background: var(--rv-card); color: var(--rv-text); padding-left: 8px; padding-right: 8px;
}
.rm-shell--shop.rm-shell--variant .rm-panel__name { color: var(--rv-text); }
.rm-shell--shop.rm-shell--variant .rm-panel__price { color: var(--rv-accent); font-weight: 700; }
.rm-shell--shop.rm-shell--variant .rm-panel__capacity b { color: var(--rv-text); }
.rm-shell--shop.rm-shell--variant .rm-panel__capacity i,
.rm-shell--shop.rm-shell--variant .rm-panel__colors small { color: var(--rv-muted); }
.rm-shell--shop.rm-shell--variant .rm-color-dot { border-color: rgba(0,0,0,.22); }
.rm-shell--shop.rm-shell--variant .rm-panel:active { background: var(--rv-hover); }
.rm-shell--shop.rm-shell--variant .rm-empty {
  background: var(--rv-page); border-top-color: var(--rv-border); color: var(--rv-text);
}
.rm-shell--shop.rm-shell--variant .rm-empty p { color: var(--rv-muted); }
.rm-shell--shop.rm-shell--variant .rm-library {
  border-top-color: var(--rv-soft); background: var(--rv-library); color: var(--rv-library-text);
}
.rm-shell--shop.rm-shell--variant .rm-library__eyebrow {
  background: var(--rv-button-bg); color: var(--rv-button-text);
}
.rm-shell--shop.rm-shell--variant .rm-library p { color: var(--rv-library-text); opacity: .8; }
.rm-shell--shop.rm-shell--variant .rm-library__button {
  background: var(--rv-button-bg); color: var(--rv-button-text);
}
.rm-shell--shop.rm-shell--variant .rm-library__status { color: var(--rv-library-text); opacity: .6; }
.rm-shell--shop.rm-shell--variant .rm-foot { background: var(--rv-footer); }
.rm-shell--shop.rm-shell--variant .rm-foot__top p,
.rm-shell--shop.rm-shell--variant .rm-foot__copy { color: var(--rv-footer-text); }
.rm-shell--shop.rm-shell--variant .rm-foot__links a {
  border-color: color-mix(in srgb,var(--rv-footer-text) 48%,transparent); color: #fff;
}
.rm-shell--shop.rm-shell--variant .rm-foot__bottom {
  border-top-color: color-mix(in srgb,var(--rv-footer-text) 24%,transparent);
}

.rm-shell--shop.rm-variant--classic .rm-list { gap: 12px; }
.rm-shell--shop.rm-variant--classic .rm-panel__body { min-height: 88px; }
.rm-shell--shop.rm-variant--ds-ice .rm-shop-lockup__proof,
.rm-shell--shop.rm-variant--ds-ice .rm-shop-lockup__strip { transform: none; box-shadow: none; }
.rm-shell--shop.rm-variant--ds-ice .rm-shop-lockup__proof > * { transform: none; }
.rm-shell--shop.rm-variant--ds-ice .rm-panel { box-shadow: 0 8px 22px -18px rgba(22,49,72,.7); }
.rm-shell--shop.rm-variant--famicom .rm-panel { border-width: 2px; }
.rm-shell--shop.rm-variant--famicom .rm-panel__price { color: #7e2634; }

/* Five conversion-focused layouts for the monochrome DS Ice direction. */
.rm-layout--clean .rm-shop-lockup { padding-top: 8px; padding-bottom: 10px; }
.rm-layout--clean .rm-shop-lockup__row { min-height: 44px; }
.rm-layout--clean .rm-shop-lockup__proof { height: 38px; }
.rm-layout--clean .rm-shop-lockup__strip { min-height: 26px; margin-top: 5px; }
.rm-layout--clean .rm-list { gap: 12px; }
.rm-layout--clean .rm-panel { border-radius: 6px; }
.rm-layout--clean .rm-panel__body { min-height: 86px; }

.rm-variant--ds-ice.rm-layout--compact .rm-review-highlights { padding: 8px 0 10px; }
.rm-variant--ds-ice.rm-layout--compact .rm-review-highlights__rail { gap: 9px; padding: 1px 12px 2px; }
.rm-variant--ds-ice.rm-layout--compact .rm-review-story { width: 60px; min-width: 60px; flex-basis: 60px; gap: 5px; }
.rm-variant--ds-ice.rm-layout--compact .rm-review-story__ring { width: 56px; height: 56px; }
.rm-variant--ds-ice.rm-layout--compact .rm-review-story__name { max-width: 60px; font-size: 8px; }
.rm-variant--ds-ice.rm-layout--compact .rm-tab { min-height: 52px; }
.rm-variant--ds-ice.rm-layout--compact .rm-shop-lockup { padding: 4px 12px 7px; }
.rm-variant--ds-ice.rm-layout--compact .rm-shop-lockup__row {
  min-height: 39px; grid-template-columns: minmax(0,1fr) minmax(100px,1.18fr) minmax(0,1fr);
}
.rm-variant--ds-ice.rm-layout--compact .rm-shop-lockup__row h2 { font-size: 22px; }
.rm-variant--ds-ice.rm-layout--compact .rm-shop-lockup__proof { height: 33px; }
.rm-variant--ds-ice.rm-layout--compact .rm-shop-lockup__strip { min-height: 23px; margin-top: 3px; font-size: 8px; }
.rm-variant--ds-ice.rm-layout--compact .rm-sect { padding-top: 10px; padding-bottom: 7px; }
.rm-variant--ds-ice.rm-layout--compact .rm-sect h1 { font-size: 15px; }
.rm-variant--ds-ice.rm-layout--compact .rm-list { gap: 8px; padding: 0 12px 20px; }
.rm-variant--ds-ice.rm-layout--compact .rm-panel { border-radius: 4px; }
.rm-variant--ds-ice.rm-layout--compact .rm-panel__body { min-height: 68px; padding: 7px 3px 10px; }
.rm-variant--ds-ice.rm-layout--compact .rm-panel__name { font-size: 12.5px; }
.rm-variant--ds-ice.rm-layout--compact .rm-panel__price { margin-top: 3px; font-size: 14px; }

.rm-variant--ds-ice.rm-layout--showcase .rm-list { gap: 12px; }
.rm-variant--ds-ice.rm-layout--showcase .rm-panel { border-radius: 8px; }
.rm-variant--ds-ice.rm-layout--showcase .rm-panel:first-child {
  position: relative; grid-column: 1 / -1; display: grid;
  grid-template-columns: minmax(0,1.15fr) minmax(112px,.85fr); min-height: 186px;
}
.rm-variant--ds-ice.rm-layout--showcase .rm-panel:first-child::after {
  content: "MOST POPULAR"; position: absolute; top: 10px; left: 10px;
  padding: 5px 8px; background: #fff; border: 1px solid #d2d4d5;
  color: #17191b; font-size: 8px; font-weight: 700; letter-spacing: .08em;
}
.rm-variant--ds-ice.rm-layout--showcase .rm-panel:first-child .rm-panel__media {
  width: 100%; height: 100%; min-height: 186px; aspect-ratio: auto; border-bottom: 0; border-right: 1px solid var(--rv-border);
}
.rm-variant--ds-ice.rm-layout--showcase .rm-panel:first-child .rm-panel__body {
  min-height: 0; justify-content: center; padding: 16px 10px;
}
.rm-variant--ds-ice.rm-layout--showcase .rm-panel:first-child .rm-panel__name { font-size: 16px; line-height: 1.25; }
.rm-variant--ds-ice.rm-layout--showcase .rm-panel:first-child .rm-panel__price { margin-top: 8px; font-size: 21px; }

.rm-variant--ds-ice.rm-layout--editorial {
  --rv-page: #ffffff; --rv-card: #ffffff; --rv-hover: #f5f5f4;
}
.rm-variant--ds-ice.rm-layout--editorial .rm-shop-lockup {
  padding-top: 9px; padding-bottom: 9px; border-bottom: 1px solid #d9dada;
}
.rm-variant--ds-ice.rm-layout--editorial .rm-shop-lockup__strip { display: none; }
.rm-variant--ds-ice.rm-layout--editorial .rm-sect {
  margin: 0 20px; padding: 24px 0 10px; border-top: 0; align-items: flex-start; text-align: left;
}
.rm-variant--ds-ice.rm-layout--editorial .rm-sect h1 { font-size: 18px; font-weight: 500; }
.rm-variant--ds-ice.rm-layout--editorial .rm-list { gap: 22px 12px; padding: 0 20px 34px; }
.rm-variant--ds-ice.rm-layout--editorial .rm-panel {
  border: 0; border-radius: 0; box-shadow: none; overflow: visible;
}
.rm-variant--ds-ice.rm-layout--editorial .rm-panel__media { border: 1px solid #d9dada; }
.rm-variant--ds-ice.rm-layout--editorial .rm-panel__body {
  min-height: 64px; flex-direction: row; align-items: flex-start; justify-content: space-between;
  gap: 8px; padding: 10px 1px 4px;
}
.rm-variant--ds-ice.rm-layout--editorial .rm-panel__stack { align-items: flex-start; }
.rm-variant--ds-ice.rm-layout--editorial .rm-panel__name { font-size: 12.5px; text-align: left; }
.rm-variant--ds-ice.rm-layout--editorial .rm-panel__price {
  margin-top: 0; align-self: flex-start; flex-shrink: 0; font-size: 13px;
}

.rm-variant--ds-ice.rm-layout--eshop { --rv-page: #eceeee; }
.rm-variant--ds-ice.rm-layout--eshop .rm-review-highlights { margin-bottom: 10px; }
.rm-variant--ds-ice.rm-layout--eshop .rm-tabs {
  margin: 0 12px 10px; padding: 0; border: 1px solid #d4d6d7;
  border-radius: 999px; overflow: hidden; box-shadow: 0 5px 16px -14px rgba(0,0,0,.5);
}
.rm-variant--ds-ice.rm-layout--eshop .rm-tab { min-height: 48px; }
.rm-variant--ds-ice.rm-layout--eshop .rm-tab.is-active { background: #17191b; box-shadow: none; }
.rm-variant--ds-ice.rm-layout--eshop .rm-tab.is-active .rm-tab__logo {
  filter: brightness(0) invert(1); opacity: 1;
}
.rm-variant--ds-ice.rm-layout--eshop .rm-shop-lockup {
  margin: 0 12px 10px; padding: 8px 10px 10px; border-radius: 14px;
}
.rm-variant--ds-ice.rm-layout--eshop .rm-shop-lockup__proof { height: 36px; border-radius: 9px; }
.rm-variant--ds-ice.rm-layout--eshop .rm-shop-lockup__strip {
  min-height: 25px; border: 0; border-radius: 999px;
}
.rm-variant--ds-ice.rm-layout--eshop .rm-sect {
  margin: 0; padding: 18px 12px 10px; border-top: 0;
}
.rm-variant--ds-ice.rm-layout--eshop .rm-sect h1 { font-size: 18px; font-weight: 600; }
.rm-variant--ds-ice.rm-layout--eshop .rm-list { gap: 12px; padding: 0 12px 28px; }
.rm-variant--ds-ice.rm-layout--eshop .rm-panel {
  border: 0; border-radius: 14px; box-shadow: 0 9px 28px -21px rgba(0,0,0,.72);
}
.rm-variant--ds-ice.rm-layout--eshop .rm-panel__body { min-height: 96px; padding: 10px 7px 14px; }
.rm-variant--ds-ice.rm-layout--eshop .rm-panel__price {
  margin-top: 7px; min-height: 28px; padding: 0 11px; border-radius: 999px;
  background: #17191b; color: #fff; display: inline-flex; align-items: center;
}

@media (min-width: 720px) {
  .rm-variant--ds-ice.rm-layout--editorial .rm-sect { margin-left: 32px; margin-right: 32px; }
  .rm-variant--ds-ice.rm-layout--editorial .rm-list { padding-left: 32px; padding-right: 32px; }
  .rm-variant--ds-ice.rm-layout--eshop .rm-tabs { margin-left: 20%; margin-right: 20%; }
  .rm-variant--ds-ice.rm-layout--eshop .rm-shop-lockup { margin-left: 32px; margin-right: 32px; }
}

@media (min-width: 1024px) {
  .rm-variant--ds-ice.rm-layout--showcase .rm-panel:first-child {
    grid-column: auto; display: flex; min-height: 0;
  }
  .rm-variant--ds-ice.rm-layout--showcase .rm-panel:first-child .rm-panel__media {
    width: 100%; height: auto; min-height: 0; aspect-ratio: 1 / 1; border-right: 0; border-bottom: 1px solid var(--rv-border);
  }
  .rm-variant--ds-ice.rm-layout--showcase .rm-panel:first-child .rm-panel__body {
    min-height: 96px; padding: 12px 5px 20px;
  }
  .rm-variant--ds-ice.rm-layout--showcase .rm-panel:first-child .rm-panel__name { font-size: 15px; }
  .rm-variant--ds-ice.rm-layout--showcase .rm-panel:first-child .rm-panel__price { margin-top: 4px; font-size: 17px; }
}

@media (hover: hover) and (pointer: fine) {
  .rm-shell--shop.rm-shell--variant .rm-panel:hover {
    background: var(--rv-hover); color: var(--rv-text); border-color: var(--rv-accent);
  }
}

/* -------------------------------------- announcement color tuning --- */
.rm-notice-color-trigger {
  position: fixed; z-index: 145; right: max(14px, env(safe-area-inset-right));
  bottom: max(14px, env(safe-area-inset-bottom)); min-height: 46px; padding: 0 16px;
  border: 1px solid rgba(255,255,255,.22); border-radius: 999px; background: #111315; color: #fff !important;
  box-shadow: 0 12px 32px rgba(0,0,0,.25); cursor: pointer;
  display: inline-flex; align-items: center; gap: 9px; font-size: 11px; font-weight: 800; letter-spacing: .02em;
}
.rm-notice-color-trigger i {
  width: 18px; height: 18px; flex: 0 0 18px; border: 2px solid #fff; border-radius: 50%;
  background: var(--rm-tuner-color,#000); box-shadow: 0 0 0 1px rgba(0,0,0,.28);
}
.rm-notice-color-trigger:active { transform: scale(.97); }
.rm-notice-color-popover {
  position: fixed; z-index: 146; right: max(14px, env(safe-area-inset-right));
  bottom: calc(70px + env(safe-area-inset-bottom)); width: min(310px,calc(100vw - 28px)); padding: 16px;
  border: 1px solid #d8dde1; border-radius: 16px; background: #fff; color: #17191b;
  box-shadow: 0 22px 58px rgba(15,25,35,.28);
}
.rm-notice-color-popover__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.rm-notice-color-popover__head > div { display: flex; flex-direction: column; }
.rm-notice-color-popover__head span { color: #737b82; font-size: 9px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.rm-notice-color-popover__head strong { margin-top: 2px; font-size: 17px; line-height: 1.2; }
.rm-notice-color-popover__head button {
  width: 32px; height: 32px; flex: 0 0 32px; padding: 0; border: 1px solid #d8dde1;
  border-radius: 50%; background: #fff; cursor: pointer; font-size: 22px; line-height: 1;
}
.rm-notice-color-field { display: grid; gap: 7px; margin-top: 16px; }
.rm-notice-color-field > span { color: #636b72; font-size: 10px; font-weight: 800; }
.rm-notice-color-field > div { display: grid; grid-template-columns: 48px 1fr; gap: 9px; }
.rm-notice-color-field input[type="color"] {
  width: 48px; height: 44px; padding: 3px; border: 1px solid #ccd2d7; border-radius: 8px; background: #fff; cursor: pointer;
}
.rm-notice-color-field input[type="text"] {
  width: 100%; height: 44px; padding: 0 12px; border: 1px solid #ccd2d7; border-radius: 8px;
  background: #fff; color: #17191b; font: 800 14px/1 "Montserrat",sans-serif; letter-spacing: .06em; text-transform: uppercase;
}
.rm-notice-color-field input.is-invalid { border-color: #b42338; box-shadow: 0 0 0 2px rgba(180,35,56,.12); }
.rm-notice-color-actions { display: grid; grid-template-columns: .85fr 1.15fr; gap: 8px; margin-top: 13px; }
.rm-notice-color-actions button { min-height: 40px; padding: 0 10px; border-radius: 8px; cursor: pointer; font-size: 10px; font-weight: 800; }
.rm-notice-color-actions button:first-child { border: 1px solid #cfd5da; background: #fff; color: #33383d; }
.rm-notice-color-actions button:last-child { border: 1px solid #e4002b; background: #e4002b; color: #fff; }
.rm-notice-color-actions button:disabled { cursor: wait; opacity: .58; }
.rm-notice-color-popover p { min-height: 16px; margin: 8px 0 -3px; color: #667078; font-size: 9px; text-align: right; }
.rm-notice-color-popover p.is-success { color: #237044; }
.rm-notice-color-popover p.is-error { color: #a52233; }

/* -------------------------------------------------- v1.8 image framing --- */
.rm-tuning-bar {
  min-height: 36px; padding: 7px 12px; background: #b60023; color: #fff;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  font-size: 10px; font-weight: 700; letter-spacing: .04em;
}
.rm-tuning-bar a {
  min-height: 24px; padding: 2px 10px; border: 1px solid rgba(255,255,255,.55);
  border-radius: 999px; color: #fff; display: inline-flex; align-items: center;
}
.rm-tuning-bar a:hover { color: #fff; background: rgba(255,255,255,.1); }
.rm-shell--tuning .rm-panel-wrap { display: flex; flex-direction: column; }
.rm-shell--tuning .rm-panel { height: auto; flex: 1; }
.rm-frame-trigger {
  position: static; width: 100%; min-height: 36px; margin: 7px 0 0; padding: 0 11px;
  border: 1px solid #cbd2d8; border-radius: 6px; background: #f4f6f7; color: #26333e !important;
  box-shadow: none; cursor: pointer; font-size: 10px; font-weight: 700; letter-spacing: .04em;
}
.rm-frame-trigger:active { transform: scale(.96); }
.rm-frame-trigger:hover { border-color: #e4002b; background: #fff1f4; }
.rm-panel-wrap.is-framing .rm-panel { border-color: #e4002b !important; box-shadow: 0 0 0 2px #e4002b; }
.rm-panel-wrap.is-framing .rm-frame-trigger { border-color: #e4002b; background: #e4002b; color: #fff !important; }
.rm-pdp-gallery-wrap.is-framing .rm-gallery { box-shadow: inset 0 0 0 2px #e4002b; }
.rm-pdp-frame-trigger { width: calc(100% - 24px); margin: 8px 12px 0; }

.rm-framer {
  position: fixed; z-index: 120; top: max(18px, env(safe-area-inset-top));
  right: max(16px, calc((100vw - var(--rm-shell)) / 2 - 346px));
  width: min(410px, calc(100vw - 24px)); padding: 18px;
  max-height: calc(100dvh - 36px); overflow-y: auto;
  border: 1px solid #d3d8dd; border-radius: 16px; background: #fafbfc;
  color: #17191b; box-shadow: 0 22px 60px rgba(20,35,49,.24);
  opacity: 0; pointer-events: none; transform: translateX(calc(100% + 28px));
  transition: none;
}
.rm-framer.is-open { opacity: 1; pointer-events: auto; transform: none; }
.rm-framer__handle { display: none; }
.rm-framer__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; }
.rm-framer__head > div { min-width: 0; display: flex; flex-direction: column; }
.rm-framer__head span {
  color: #66717a; font-size: 9px; font-weight: 700; letter-spacing: .11em; text-transform: uppercase;
}
.rm-framer__head strong {
  overflow: hidden; margin-top: 2px; color: #17191b; font-size: 17px; line-height: 1.3;
  text-overflow: ellipsis; white-space: nowrap;
}
.rm-framer__close {
  flex: 0 0 34px; width: 34px; height: 34px; padding: 0; border: 1px solid #d7dce0;
  border-radius: 999px; background: #fff; cursor: pointer; color: #17191b; font-size: 23px; line-height: 1;
}
.rm-framer__help { margin: 12px 0 16px; color: #626a71; font-size: 11px; line-height: 1.55; }
.rm-gallery-editor {
  margin: 0 0 17px; padding: 12px; border: 1px solid #dde2e6; border-radius: 12px; background: #fff;
}
.rm-gallery-editor__label { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 8px; }
.rm-gallery-editor__label + .rm-gallery-editor__label { margin-top: 12px; }
.rm-gallery-editor__label span { color: #6c747b; font-size: 9px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.rm-gallery-editor__label strong { overflow: hidden; max-width: 65%; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.rm-gallery-editor__colors { display: flex; gap: 7px; overflow-x: auto; padding: 1px 1px 5px; scrollbar-width: thin; }
.rm-gallery-editor__color {
  min-width: max-content; min-height: 30px; padding: 0 9px; border: 1px solid #d7dce0; border-radius: 999px;
  background: #f8f9fa; color: #34393e; cursor: pointer; font-size: 9px; font-weight: 700;
}
.rm-gallery-editor__color.is-selected { border-color: #17191b; background: #17191b; color: #fff; }
.rm-gallery-editor__photos { display: grid; grid-auto-flow: column; grid-auto-columns: 76px; gap: 8px; overflow-x: auto; padding: 1px 1px 7px; scrollbar-width: thin; }
.rm-gallery-editor__photo {
  position: relative; width: 76px; aspect-ratio: 1; overflow: hidden; padding: 0; border: 2px solid transparent;
  border-radius: 9px; background: #eef0f2; cursor: pointer;
}
.rm-gallery-editor__photo img { width: 100%; height: 100%; display: block; object-fit: cover; pointer-events: none; }
.rm-gallery-editor__photo.is-selected { border-color: #e4002b; }
.rm-gallery-editor__photo.is-thumbnail::after {
  content: 'THUMB'; position: absolute; right: 4px; bottom: 4px; padding: 2px 4px; border-radius: 4px;
  background: rgba(0,0,0,.76); color: #fff; font-size: 6px; font-weight: 800; letter-spacing: .06em;
}
.rm-gallery-editor__color-actions, .rm-gallery-editor__photo-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; margin: 1px 0 11px; }
.rm-gallery-editor__color-actions button, .rm-gallery-editor__photo-actions button {
  min-height: 29px; border: 1px solid #d8dde1; border-radius: 7px; background: #f7f8f9; color: #3e4449; cursor: pointer; font-size: 8px; font-weight: 700;
}
.rm-gallery-editor button:disabled { cursor: default; opacity: .42; }
.rm-gallery-editor__default, .rm-gallery-editor__save {
  width: 100%; min-height: 34px; margin-top: 7px; padding: 0 10px; border-radius: 7px; cursor: pointer; font-size: 9px; font-weight: 800;
}
.rm-gallery-editor__default { border: 1px solid #cfd5da; background: #fff; color: #252a2e; }
.rm-gallery-editor__default.is-selected { border-color: #17191b; background: #17191b; color: #fff; }
.rm-gallery-editor__save { border: 1px solid #e4002b; background: #e4002b; color: #fff; }
.rm-gallery-editor__feedback { min-height: 13px; margin: 6px 0 -2px; color: #626a71; font-size: 8px; text-align: right; }
.rm-gallery-editor__feedback.is-success { color: #237044; }
.rm-gallery-editor__feedback.is-error { color: #a52233; }
.rm-framer[data-frame-mode="catalog"] .rm-editor-pdp-only { display: none; }
.rm-framer__controls { display: grid; gap: 15px; }
.rm-framer__control { display: grid; gap: 7px; }
.rm-framer__control > span { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.rm-framer__control b { font-size: 12px; font-weight: 650; }
.rm-framer__control output {
  min-width: 42px; color: #b60023; font-size: 11px; font-weight: 700; text-align: right;
}
.rm-framer input[type="range"] {
  width: 100%; height: 18px; margin: 0; padding: 0; background: transparent; accent-color: #e4002b; cursor: ew-resize;
}
.rm-framer input[type="range"]::-webkit-slider-runnable-track { height: 4px; border-radius: 999px; background: #d8dde1; }
.rm-framer input[type="range"]::-webkit-slider-thumb {
  width: 19px; height: 19px; margin-top: -7.5px; border: 2px solid #fff; border-radius: 50%;
  background: #e4002b; box-shadow: 0 1px 5px rgba(0,0,0,.28); -webkit-appearance: none;
}
.rm-framer__actions { display: grid; grid-template-columns: .72fr 1.28fr; gap: 9px; margin-top: 19px; }
.rm-framer__actions button {
  min-height: 42px; padding: 0 12px; border-radius: 8px; cursor: pointer; font-size: 11px; font-weight: 700;
}
.rm-framer__reset { border: 1px solid #ced4d9; background: #fff; color: #33383d; }
.rm-framer__save { border: 1px solid #e4002b; background: #e4002b; color: #fff !important; }
.rm-framer__actions button:disabled { cursor: wait; opacity: .55; }
.rm-framer__feedback { min-height: 18px; margin: 8px 0 -5px; color: #59636c; font-size: 10px; text-align: right; }
.rm-framer__feedback.is-success { color: #237044; }
.rm-framer__feedback.is-error { color: #a52233; }

@media (max-width: 719px) {
  .rm-framer {
    top: auto; right: auto; bottom: 0; left: 50%; width: min(100%, var(--rm-shell));
    max-height: 52dvh; padding: 9px 18px calc(15px + env(safe-area-inset-bottom));
    border-width: 1px 1px 0; border-radius: 18px 18px 0 0;
    overscroll-behavior: contain; transform: translate(-50%, calc(100% + 18px));
  }
  .rm-framer.is-open { transform: translate(-50%, 0); }
  .rm-framer__handle { display: block; width: 38px; height: 4px; margin: 0 auto 8px; border-radius: 999px; background: #c8ced3; }
  .rm-framer__head {
    position: sticky; z-index: 6; top: -9px; margin: -1px -9px 0; padding: 7px 9px 8px;
    border-bottom: 1px solid rgba(215,220,224,.85); background: rgba(250,251,252,.97);
    backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  }
  .rm-framer__help { margin: 7px 0 9px; font-size: 9px; line-height: 1.4; }
  .rm-gallery-editor { margin-bottom: 11px; padding: 10px; }
  .rm-gallery-editor__photos { grid-auto-columns: 64px; }
  .rm-gallery-editor__photo { width: 64px; }
  .rm-framer__controls { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 11px 14px; }
  .rm-framer__control:first-child { grid-column: 1 / -1; }
  .rm-framer__control > span { min-height: 0; }
  .rm-framer__control b { font-size: 10px; }
  .rm-framer__control output { min-width: 32px; font-size: 9px; }
  .rm-framer__actions { margin-top: 12px; }
}

/* ------------------------------------------ v1.10 PSP-style PDP sections */
.rm-vault-label {
  display: block; color: #8a8c8f; font-size: 10px; font-weight: 700;
  letter-spacing: .12em; line-height: 1.2; text-transform: uppercase;
}
.rm-vault-delivery { margin: 24px 20px 0; }
.rm-vault-delivery__card {
  margin-top: 11px; overflow: hidden; border: 1px solid #e2eaea; border-radius: 18px;
  background: linear-gradient(105deg,#e8f4ec 0%,#eef3f1 50%,#e6edf9 100%);
  box-shadow: 0 2px 12px rgba(20,20,30,.06);
}
.rm-vault-delivery__main { padding: 18px; display: flex; align-items: center; gap: 14px; }
.rm-vault-delivery__icon {
  width: 48px; height: 48px; flex: 0 0 48px; border-radius: 14px; background: #fff;
  color: #5a5a58; box-shadow: 0 1px 6px rgba(20,20,30,.07); display: flex; align-items: center; justify-content: center;
}
.rm-vault-delivery__icon svg { width: 24px; height: 24px; }
.rm-vault-delivery__main > span:last-child { min-width: 0; display: flex; flex: 1; flex-direction: column; }
.rm-vault-delivery__main small { color: #7a7a78; font-size: 13px; font-weight: 700; line-height: 1.35; }
.rm-vault-delivery__main strong { margin-top: 2px; color: #161618; font-size: 23px; font-weight: 800; line-height: 1.1; letter-spacing: -.01em; }
.rm-vault-delivery__foot {
  padding: 11px 18px; border-top: 1px solid rgba(120,140,140,.16); background: rgba(255,255,255,.45);
  display: flex; align-items: center; gap: 7px; color: #5a5a58; font-size: 12.5px; font-weight: 700;
}
.rm-vault-delivery__foot svg { width: 14px; height: 14px; flex: 0 0 14px; }

.rm-pdp-col--story { margin-top: 30px; padding-bottom: 36px; background: #ececec; }
.rm-vault-details { padding: 28px 16px 0; }
.rm-vault-details__grid { margin-top: 12px; display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
.rm-vault-detail {
  min-width: 0; min-height: 88px; padding: 15px; border: 1px solid #e6e7e7; border-radius: 15px;
  background: #fff; box-shadow: 0 8px 24px -23px rgba(0,0,0,.65);
  display: flex; flex-direction: column; justify-content: center; gap: 7px;
}
.rm-vault-detail small {
  color: #8a8c8f; font-size: 9px; font-weight: 700; letter-spacing: .11em;
  line-height: 1.2; text-transform: uppercase;
}
.rm-vault-detail strong { color: #17191b; font-size: 15px; line-height: 1.25; letter-spacing: -.015em; }
.rm-vault-detail--warranty { background: linear-gradient(145deg,#f0fbf4,#f7fbf9); border-color: #d9ede1; }
.rm-vault-detail--warranty small, .rm-vault-detail--warranty strong { color: #3c8b5b; }

.rm-pdp-col--story .rm-unboxing { margin-top: 30px; }
.rm-pdp-col--story .rm-unboxing .rm-vault-label { margin-bottom: 2px; }
.rm-vault-box { padding: 30px 16px 0; }
.rm-vault-box__grid {
  margin-top: 12px; padding: 14px; border: 1px solid #e6e7e7; border-radius: 15px;
  background: #fff; box-shadow: 0 8px 24px -23px rgba(0,0,0,.65);
  display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px;
}
.rm-vault-box__item { min-width: 0; display: flex; align-items: center; gap: 8px; color: #34383c; font-size: 10.5px; line-height: 1.35; }
.rm-vault-box__item--library { grid-column: 1 / -1; }
.rm-vault-box__icon {
  width: 28px; height: 28px; flex: 0 0 28px; border-radius: 8px; background: #f2f3f3;
  color: #636a70; display: flex; align-items: center; justify-content: center;
}
.rm-vault-box__item--library .rm-vault-box__icon { background: #edf5ff; color: #4978ab; }
.rm-vault-box__icon svg { width: 16px; height: 16px; }

@media (min-width: 720px) {
  .rm-vault-detail { min-height: 102px; padding: 18px; }
  .rm-vault-detail strong { font-size: 17px; }
  .rm-vault-box__item { font-size: 12px; }
}

@media (min-width: 1024px) {
  .rm-vault-delivery { margin-left: 22px; margin-right: 22px; }
  .rm-pdp-col--story { margin-top: 34px; border-radius: 16px; }
  .rm-vault-details, .rm-vault-box { padding-left: 34px; padding-right: 34px; }
  .rm-pdp-col--story .rm-unboxing,
  .rm-pdp-col--story .rm-proof,
  .rm-pdp-col--story .rm-store-story { margin-left: 34px; margin-right: 34px; }
  .rm-pdp-col--story .rm-plays { margin-left: 34px; margin-right: 34px; }
  .rm-pdp-col--story .rm-stats, .rm-pdp-col--story .rm-faq { padding-left: 34px; padding-right: 34px; }
}

@media (prefers-reduced-motion: reduce) {
  .rm-panel__photo, .rm-framer { transition: none; }
}

@media (prefers-reduced-motion: reduce) {
  .rm *, .rm *::before, .rm *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}
