/* Furioza visual foundation */
:root {
  --safe-top: max(14px, var(--tg-content-safe-area-inset-top, 0px), env(safe-area-inset-top, 0px));
  --safe-bottom: max(14px, var(--tg-content-safe-area-inset-bottom, 0px), env(safe-area-inset-bottom, 0px));
  --elite-navy-950: #000a22;
  --elite-navy-900: #00133c;
  --elite-navy-800: #05285d;
  --elite-blue: #0756a5;
  --elite-red: #ed1b2f;
  --elite-white: #f8fbff;
  --elite-muted: #9eabc3;
  --elite-line: rgba(255,255,255,.12);
  --elite-line-strong: rgba(255,255,255,.21);
  --elite-glass: rgba(5,25,66,.78);
  --elite-shadow: 0 24px 70px rgba(0,5,24,.5);
  --elite-shadow-soft: 0 14px 36px rgba(0,5,24,.28);
}

html { min-height: 100%; color-scheme: dark; scrollbar-color: rgba(255,255,255,.18) transparent; scroll-padding-bottom: calc(106px + var(--safe-bottom)); }
body {
  min-height: 100dvh;
  overscroll-behavior-y: contain;
  background:
    radial-gradient(circle at 15% -8%, rgba(7,86,165,.38), transparent 28rem),
    radial-gradient(circle at 105% 34%, rgba(237,27,47,.13), transparent 24rem),
    linear-gradient(180deg, var(--elite-navy-900), var(--elite-navy-950) 80%);
}
#main-content:focus { outline: none; }
body::after {
  content: "";
  position: fixed;
  z-index: -1;
  inset: 0;
  opacity: .11;
  pointer-events: none;
  background-image: repeating-linear-gradient(115deg, rgba(255,255,255,.025) 0 1px, transparent 1px 7px);
  mix-blend-mode: soft-light;
}

.app-shell {
  width: min(100%, 820px);
  padding-left: max(15px, env(safe-area-inset-left, 0px));
  padding-right: max(15px, env(safe-area-inset-right, 0px));
  padding-bottom: calc(104px + var(--safe-bottom));
}
.topbar {
  width: min(100%, 820px);
  height: calc(70px + var(--safe-top));
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
  border-top: 3px solid var(--elite-red);
  background: linear-gradient(180deg, rgba(0,10,34,.98) 0 70%, rgba(0,10,34,0));
  transition: background .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.topbar.is-scrolled {
  border-bottom: 1px solid rgba(255,255,255,.08);
  background: rgba(0,10,34,.88);
  box-shadow: 0 12px 34px rgba(0,5,24,.28);
}
.brand { gap: 11px; }
.brand-avatar { width: 42px; height: 42px; box-shadow: 0 0 0 4px rgba(255,255,255,.035), 0 10px 24px rgba(0,5,24,.3); }
.brand strong { font-size: 1.02rem; letter-spacing: .19em; text-shadow: 0 2px 18px rgba(255,255,255,.12); }
.connection-pill {
  min-height: 30px;
  padding-inline: 9px;
  border-color: rgba(255,255,255,.12);
  background: rgba(5,40,93,.64);
  font-size: .59rem;
  letter-spacing: .04em;
  backdrop-filter: blur(12px);
}
.connection-pill:has(span:empty) { width: 30px; padding: 0; justify-content: center; }
.connection-pill:has(span:empty) span { display: none; }
.icon-button {
  width: 44px;
  height: 44px;
  border-color: rgba(255,255,255,.13);
  border-radius: 13px;
  background: linear-gradient(145deg, rgba(255,255,255,.09), rgba(255,255,255,.025));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 10px 24px rgba(0,5,24,.2);
  transition: transform .18s ease, border-color .18s ease, background .18s ease;
}
.icon-button:hover { border-color: rgba(255,255,255,.3); background: rgba(255,255,255,.1); transform: rotate(12deg); }
.icon-button.is-refreshing { animation: elite-spin .8s linear infinite; pointer-events: none; }
@keyframes elite-spin { to { transform: rotate(360deg); } }
.topbar + main { padding-top: 6px; }

.site-announcement {
  display: grid;
  grid-template-columns: 30px minmax(0,1fr);
  align-items: center;
  gap: 11px;
  margin: 3px 0 13px;
  padding: 11px 13px;
  border: 1px solid rgba(255,255,255,.16);
  border-left-color: var(--elite-red);
  border-radius: 14px;
  background: linear-gradient(105deg, rgba(237,27,47,.13), rgba(5,40,93,.72));
  box-shadow: var(--elite-shadow-soft);
  color: #f5f8ff;
  font-size: .69rem;
  font-weight: 720;
  line-height: 1.42;
}
.site-announcement span {
  min-width: 0;
  white-space: pre-line;
  overflow-wrap: anywhere;
}
.site-announcement i { display: grid; place-items: center; width: 29px; height: 29px; border-radius: 9px; background: var(--elite-red); color: #fff; font-style: normal; font-weight: 950; }
.site-announcement.is-maintenance { border-left-color: #ffb84e; background: linear-gradient(105deg, rgba(255,184,78,.14), rgba(5,40,93,.72)); }
.site-announcement.is-maintenance i { background: #d48618; }
.support-copy { margin-top: 5px !important; max-width: 18rem; color: var(--elite-muted) !important; font-size: .66rem !important; line-height: 1.35; }

/* Furioza game-style pause menu */
body.menu-active {
  overflow: hidden;
  background: #00081d;
}
body.menu-active .ambient { opacity: 0; }
body.menu-active .app-shell {
  width: 100%;
  max-width: none;
  height: 100dvh;
  min-height: 100dvh;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}
body.menu-active .topbar {
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -110%);
}
.game-menu-view {
  position: fixed;
  z-index: 24;
  inset: 0;
  min-height: 100dvh;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(circle at 78% 27%, rgba(15,94,181,.5), transparent 31rem),
    radial-gradient(circle at 18% 92%, rgba(237,27,47,.23), transparent 25rem),
    linear-gradient(135deg, #000716 0%, #001a4e 56%, #000a25 100%);
}
.game-menu-view::before {
  content: "";
  position: absolute;
  z-index: -3;
  inset: -28%;
  background: conic-gradient(from 195deg at 54% 48%, transparent 0 16%, rgba(7,86,165,.22) 17% 24%, transparent 25% 52%, rgba(237,27,47,.12) 53% 58%, transparent 59%);
  animation: menu-aura 18s linear infinite;
}
.game-menu-view::after {
  content: "";
  position: absolute;
  z-index: 6;
  inset: 0;
  pointer-events: none;
  opacity: .24;
  background: repeating-linear-gradient(0deg, transparent 0 3px, rgba(255,255,255,.018) 3px 4px);
  mix-blend-mode: screen;
}
.menu-grid {
  position: absolute;
  z-index: -2;
  inset: -15%;
  opacity: .22;
  transform: perspective(520px) rotateX(62deg) translateY(35%);
  transform-origin: center bottom;
  background-image:
    linear-gradient(rgba(255,255,255,.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.12) 1px, transparent 1px);
  background-size: 46px 46px;
  -webkit-mask-image: linear-gradient(to bottom, transparent 8%, #000 72%);
  mask-image: linear-gradient(to bottom, transparent 8%, #000 72%);
  animation: menu-grid-drive 8s linear infinite;
}
.menu-watermark {
  position: absolute;
  z-index: -1;
  top: 50%;
  right: clamp(-220px, -21vw, -70px);
  width: min(90vw, 720px);
  opacity: .16;
  filter: saturate(.85) drop-shadow(0 0 70px rgba(0,85,164,.75));
  transform: translateY(-50%);
  animation: menu-crest-drift 8s ease-in-out infinite alternate;
}
.menu-watermark img { width: 100%; height: auto; }
.menu-shell {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-rows: auto 1fr auto;
  width: min(100%, 760px);
  min-height: 100dvh;
  margin: 0 auto;
  padding: calc(var(--safe-top) + 18px) max(20px, env(safe-area-inset-left, 0px)) calc(var(--safe-bottom) + 18px) max(20px, env(safe-area-inset-right, 0px));
}
.menu-identity {
  display: flex;
  align-items: center;
  gap: 15px;
  min-height: 86px;
}
.menu-identity img {
  width: 76px;
  height: 76px;
  filter: drop-shadow(0 16px 28px rgba(0,0,0,.4));
}
.menu-identity span,
.menu-identity strong { display: block; }
.menu-identity span { color: #ff4054; font-size: .68rem; font-weight: 950; letter-spacing: .32em; }
.menu-identity strong { margin-top: 7px; font-size: clamp(.72rem, 3vw, .9rem); letter-spacing: .15em; }
.pause-menu-list {
  align-self: center;
  display: grid;
  gap: 9px;
  width: min(100%, 470px);
  padding-block: 18px;
}
.pause-menu-option {
  position: relative;
  display: grid;
  grid-template-columns: 42px 1fr 28px;
  align-items: center;
  min-height: 68px;
  overflow: hidden;
  padding: 0 17px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 5px;
  background: linear-gradient(90deg, rgba(0,8,29,.82), rgba(4,38,88,.46));
  box-shadow: 0 16px 35px rgba(0,3,16,.25), inset 0 1px 0 rgba(255,255,255,.045);
  color: #fff;
  text-align: left;
  cursor: pointer;
  backdrop-filter: blur(12px);
  transition: transform .18s ease, border-color .2s ease, background .2s ease, padding-left .18s ease;
}
.pause-menu-option::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 5px;
  background: #ed1b2f;
  box-shadow: 0 0 24px rgba(237,27,47,.7);
  transform: scaleY(0);
  transition: transform .2s ease;
}
.pause-menu-option span { color: #7385a6; font: 850 .63rem/1 ui-monospace, monospace; letter-spacing: .12em; }
.pause-menu-option strong { font-size: clamp(1.05rem, 5.2vw, 1.42rem); font-weight: 950; letter-spacing: .015em; text-transform: uppercase; }
.pause-menu-option i { color: #8090ad; font: normal 1.8rem/1 Arial, sans-serif; text-align: right; transition: transform .18s ease, color .18s ease; }
.pause-menu-option:hover,
.pause-menu-option:focus-visible,
.pause-menu-option.is-current {
  padding-left: 23px;
  border-color: rgba(255,255,255,.38);
  outline: 0;
  background: linear-gradient(90deg, rgba(237,27,47,.25), rgba(8,63,130,.67) 58%, rgba(2,23,61,.68));
  transform: translateX(7px);
}
.pause-menu-option:hover::before,
.pause-menu-option:focus-visible::before,
.pause-menu-option.is-current::before { transform: scaleY(1); }
.pause-menu-option:hover i,
.pause-menu-option:focus-visible i,
.pause-menu-option.is-current i { color: #fff; transform: translateX(3px); }
.pause-menu-option:active { transform: translateX(7px) scale(.985); }
.menu-footer {
  display: flex;
  min-height: 46px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-top: 1px solid rgba(255,255,255,.13);
  color: #a7b5cc;
  font-size: .62rem;
  font-weight: 850;
  letter-spacing: .13em;
}
.menu-footer > span { display: flex; align-items: center; gap: 8px; }
.menu-footer > span i { width: 7px; height: 7px; border-radius: 50%; background: #48dd8e; box-shadow: 0 0 0 5px rgba(72,221,142,.1), 0 0 18px rgba(72,221,142,.6); }
.menu-footer button {
  min-height: 40px;
  padding: 0 13px;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 5px;
  background: rgba(237,27,47,.17);
  color: #fff;
  font-size: .65rem;
  font-weight: 900;
  cursor: pointer;
}
@keyframes menu-aura { to { transform: rotate(360deg); } }
@keyframes menu-grid-drive { to { background-position: 0 46px, 46px 46px; } }
@keyframes menu-crest-drift { to { transform: translateY(-53%) scale(1.035) rotate(2deg); opacity: .22; } }

.content-stack { display: grid; gap: 11px; }
.info-card {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 15px;
  align-items: center;
  min-height: 102px;
  padding: 18px;
  border: 1px solid var(--elite-line);
  border-radius: 17px;
  background: linear-gradient(145deg, rgba(8,47,101,.82), rgba(0,18,55,.92));
  box-shadow: var(--elite-shadow-soft), inset 0 1px 0 rgba(255,255,255,.05);
}
.info-card > span { display: grid; place-items: center; width: 43px; height: 43px; border: 1px solid rgba(255,255,255,.19); border-radius: 50%; color: #ff4054; font-size: .68rem; font-weight: 950; }
.info-card h2 { margin: 0 0 5px; font-size: 1rem; }
.info-card p { margin: 0; color: var(--elite-muted); font-size: .78rem; line-height: 1.45; }
.work-card {
  display: grid;
  justify-items: center;
  gap: 17px;
  padding: 30px 22px 23px;
  border: 1px solid var(--elite-line);
  border-radius: 20px;
  background: radial-gradient(circle at 50% 0, rgba(7,86,165,.42), transparent 16rem), linear-gradient(145deg, rgba(8,47,101,.92), rgba(0,14,44,.98));
  box-shadow: var(--elite-shadow);
  text-align: center;
}
.work-card img { width: 108px; height: 108px; filter: drop-shadow(0 18px 30px rgba(0,5,24,.45)); }
.work-card p { margin: 0; color: #d8e1ef; line-height: 1.5; }

.hero-card {
  height: clamp(205px, 54vw, 330px);
  border: 1px solid var(--elite-line-strong);
  border-radius: 22px;
  box-shadow: 0 26px 75px rgba(0,5,24,.48), inset 0 1px 0 rgba(255,255,255,.08);
}
.hero-card::before {
  content: "";
  position: absolute;
  z-index: 4;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.04), inset 0 -80px 80px rgba(0,10,34,.18);
}
.hero-status {
  z-index: 5;
  min-height: 34px;
  padding-inline: 13px;
  border-color: rgba(255,255,255,.22);
  background: rgba(0,10,34,.72);
  box-shadow: 0 10px 25px rgba(0,5,24,.22);
}

.section-heading { margin: 30px 2px 17px; }
.section-heading h1, .page-intro h1 { font-size: clamp(1.85rem, 7.4vw, 2.65rem); letter-spacing: -.055em; }
.section-heading .eyebrow, .page-intro .eyebrow { margin-bottom: 7px; }
.eyebrow { color: #ff4355; font-size: .62rem; letter-spacing: .22em; }
.count-badge {
  min-width: 40px;
  height: 36px;
  border-color: rgba(255,255,255,.17);
  background: linear-gradient(145deg, rgba(7,86,165,.6), rgba(5,40,93,.58));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.09), 0 10px 25px rgba(0,5,24,.2);
}

.product-grid { gap: 17px; }
.product-card {
  border-color: rgba(255,255,255,.13);
  border-radius: 20px;
  background: linear-gradient(160deg, rgba(8,47,101,.96), rgba(0,18,55,.985) 72%);
  box-shadow: var(--elite-shadow-soft), inset 0 1px 0 rgba(255,255,255,.06);
  transition: border-color .25s ease, box-shadow .3s ease, transform .3s cubic-bezier(.2,.8,.2,1);
}
.product-card:hover { border-color: rgba(255,255,255,.24); box-shadow: var(--elite-shadow); transform: translateY(-3px); }
.product-card::before { width: 5px; background: linear-gradient(180deg, var(--elite-red), #a40d1c); box-shadow: -4px 0 18px rgba(237,27,47,.16); }
.product-visual { aspect-ratio: 16 / 8.65; }
.product-visual img { will-change: transform; }
.product-visual::before { background: linear-gradient(180deg, transparent 38%, rgba(0,10,34,.88) 100%); }
.product-visual-index { left: 17px; bottom: 14px; width: 34px; height: 34px; border-color: rgba(255,255,255,.34); background: rgba(0,10,34,.58); }
.product-visual-label { right: 19px; bottom: 17px; color: rgba(255,255,255,.76); }
.product-header { padding: 19px 20px 15px; }
.product-header p { margin-bottom: 5px; color: #ff4355; }
.product-card h2 { font-size: 1.23rem; letter-spacing: .005em; }
.variant-grid { display: flex; gap: 9px; padding: 0 20px 18px; }
.variant-button {
  flex: 1 1 0;
  min-width: 0;
  min-height: 72px;
  border-color: rgba(255,255,255,.14);
  border-radius: 13px;
  background: linear-gradient(145deg, rgba(255,255,255,.075), rgba(255,255,255,.025));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.045);
}
.variant-button span { font-size: 1rem; }
.variant-button strong { color: #aebbd1; }
.variant-button:hover, .variant-button:focus-visible { border-color: rgba(255,67,85,.82); background: linear-gradient(145deg, rgba(237,27,47,.2), rgba(120,13,31,.12)); box-shadow: 0 10px 24px rgba(237,27,47,.1); }
.product-availability { padding: 12px 20px 14px; border-top-color: rgba(255,255,255,.075); }

.page-intro { margin: 8px 2px 24px; padding-top: 4px; }
.page-intro p:last-child { max-width: 36rem; color: var(--elite-muted); line-height: 1.6; }
.review-summary {
  min-height: 104px;
  padding: 21px;
  border-color: var(--elite-line);
  border-radius: 18px;
  background: linear-gradient(145deg, rgba(8,47,101,.8), rgba(0,18,55,.8));
  box-shadow: var(--elite-shadow-soft), inset 0 1px 0 rgba(255,255,255,.06);
}
.review-score { color: var(--elite-white); font-size: 2.35rem; font-weight: 950; letter-spacing: -.06em; }
.stars { color: #fff; letter-spacing: .09em; text-shadow: 0 0 16px rgba(255,255,255,.16); }
.reviews-list { display: grid; gap: 11px; margin-top: 17px; }
.review-card {
  padding: 18px;
  border-color: rgba(255,255,255,.105);
  border-radius: 16px;
  background: linear-gradient(145deg, rgba(7,43,92,.62), rgba(0,18,55,.72));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.035);
}
.review-card header { margin-bottom: 11px; }
.review-card h3 { font-size: .84rem; letter-spacing: .02em; }
.review-card p { color: #d6deed; line-height: 1.6; }
.pagination { padding-block: 18px 4px; }
.pagination button { min-width: 44px; height: 44px; border-radius: 11px; background: rgba(255,255,255,.055); }

.support-card, .safety-card {
  border-color: var(--elite-line);
  border-radius: 20px;
  background: linear-gradient(145deg, rgba(8,47,101,.88), rgba(0,18,55,.94));
  box-shadow: var(--elite-shadow-soft), inset 0 1px 0 rgba(255,255,255,.055);
}
.support-card { padding: 20px; }
.support-mark { width: 58px; height: 58px; border: 2px solid #fff; box-shadow: 0 12px 30px rgba(237,27,47,.2); }
.safety-card { margin-top: 13px; padding: 20px; }
.safety-card li { padding-block: 11px; }
.safety-card li > span { background: rgba(237,27,47,.16); color: #fff; }

.button {
  min-height: 52px;
  border-radius: 13px;
  font-size: .76rem;
  letter-spacing: .025em;
  transition: transform .16s ease, box-shadow .22s ease, border-color .18s ease, background .18s ease;
}
.button:active { transform: scale(.985); }
.button-primary { background: linear-gradient(135deg, #f12a3e, #bf1024); box-shadow: 0 13px 30px rgba(237,27,47,.2), inset 0 1px 0 rgba(255,255,255,.19); }
.button-primary:hover { box-shadow: 0 17px 40px rgba(237,27,47,.3), inset 0 1px 0 rgba(255,255,255,.2); }
.button-secondary { border-color: rgba(255,255,255,.14); background: rgba(255,255,255,.045); }
.button-secondary:hover { border-color: rgba(255,255,255,.26); background: rgba(255,255,255,.075); }

.bottom-nav {
  bottom: max(9px, var(--safe-bottom));
  width: min(calc(100% - 24px), 720px);
  min-height: 72px;
  padding: 7px 12px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 21px;
  background: rgba(0,14,44,.88);
  box-shadow: 0 20px 55px rgba(0,5,24,.48), inset 0 1px 0 rgba(255,255,255,.065);
  backdrop-filter: blur(22px) saturate(1.18);
}
.nav-item { min-height: 56px; border-radius: 15px; }
.nav-item > span { display: grid; place-items: center; width: 28px; height: 25px; font-size: 1.05rem; }
.nav-item small { font-size: .59rem; letter-spacing: .01em; }
.nav-item.is-active { background: linear-gradient(145deg, rgba(7,86,165,.36), rgba(255,255,255,.025)); }
.nav-item.is-active::before { top: 0; width: 26px; height: 3px; background: var(--elite-red); box-shadow: 0 0 14px rgba(237,27,47,.44); }

.sheet-backdrop { background: rgba(0,5,20,.74); backdrop-filter: blur(8px); }
.bottom-sheet {
  width: min(100%, 820px);
  max-height: min(88dvh, 760px);
  padding: 9px 18px calc(19px + var(--safe-bottom));
  border-color: rgba(255,255,255,.14);
  border-radius: 30px 30px 0 0;
  background: linear-gradient(165deg, rgba(7,43,92,.98), rgba(0,14,44,.995) 72%);
  box-shadow: 0 -30px 90px rgba(0,5,24,.64), inset 0 1px 0 rgba(255,255,255,.07);
}
.sheet-handle { width: 44px; height: 5px; margin-bottom: 13px; background: rgba(255,255,255,.22); }
.sheet-header h2 { font-size: 1.55rem; }
.sheet-content {
  max-height: calc(88dvh - 190px);
  padding-top: 20px;
  padding-bottom: 22px;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 12px, #000 calc(100% - 18px), transparent 100%);
  mask-image: linear-gradient(to bottom, transparent 0, #000 12px, #000 calc(100% - 18px), transparent 100%);
}
.choice-grid { gap: 10px; }
.choice-card {
  min-height: 72px;
  padding: 14px;
  border-color: rgba(255,255,255,.115);
  border-radius: 14px;
  background: linear-gradient(145deg, rgba(255,255,255,.065), rgba(255,255,255,.022));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.035);
  transition: transform .16s ease, border-color .18s ease, background .18s ease;
}
.choice-card:hover { transform: translateY(-1px); border-color: rgba(255,255,255,.22); }
.choice-card.is-selected { border-color: var(--elite-red); background: rgba(237,27,47,.15); }
.review-product { padding: 4px 0 17px; }
.review-row { padding-block: 3px; }
.review-total { margin-top: 4px; padding-top: 16px; }

.modal { overflow-y: auto; overscroll-behavior: contain; background: rgba(0,5,20,.8); backdrop-filter: blur(9px); }
.modal-card {
  max-height: calc(100dvh - var(--safe-top) - var(--safe-bottom) - 24px);
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 22px;
  border-color: rgba(255,255,255,.14);
  border-radius: 24px;
  background: linear-gradient(160deg, #082b5d, #000e2c 78%);
  box-shadow: var(--elite-shadow);
}
.star-input button { border-radius: 12px; background: rgba(255,255,255,.045); }
.star-input button.is-active { border-color: rgba(237,27,47,.7); background: rgba(237,27,47,.16); }
textarea { border-radius: 13px; background: rgba(0,10,34,.48); }

.payment-card {
  padding: 23px;
  border-color: rgba(255,255,255,.14);
  border-radius: 22px;
  background: linear-gradient(155deg, rgba(8,47,101,.97), rgba(0,14,44,.99) 76%);
  box-shadow: var(--elite-shadow), inset 0 1px 0 rgba(255,255,255,.055);
}
.payment-orb { width: 82px; height: 82px; border-width: 2px; box-shadow: 0 0 0 11px rgba(237,27,47,.05), 0 18px 40px rgba(0,5,24,.32); }
.payment-state h1 { font-size: 1.9rem; }
.payment-state > p { max-width: 25rem; color: #afbdd2; }
.payment-progress { gap: 7px; margin-block: 25px; }
.payment-progress span { height: 5px; }
.copy-field { padding: 15px; border-radius: 14px; background: rgba(0,10,34,.48); }
.copy-row button { border-radius: 10px; }
.delivery-frame { border-radius: 16px; }

.state-icon { width: 68px; height: 68px; border-width: 2px; }
.empty-state { padding: 34px 18px; border-radius: 17px; background: rgba(255,255,255,.018); }
.toast { bottom: calc(96px + var(--safe-bottom)); border-radius: 14px; background: rgba(8,43,93,.94); backdrop-filter: blur(18px); }

@media (min-width: 620px) {
  .app-shell { padding-left: max(26px, env(safe-area-inset-left, 0px)); padding-right: max(26px, env(safe-area-inset-right, 0px)); }
  .product-grid { gap: 18px; }
  .product-card h2 { font-size: 1.16rem; }
  .variant-grid { display: flex; }
}

@media (min-width: 900px) {
  body { padding-block: 18px; }
  .app-shell { min-height: calc(100vh - 36px); border: 1px solid rgba(255,255,255,.055); border-radius: 30px; background: rgba(0,10,34,.2); }
  .topbar { top: 18px; border-radius: 26px 26px 0 0; }
}

@media (max-width: 370px) {
  .app-shell { padding-inline: 11px; }
  .hero-card { border-radius: 18px; }
  .product-header, .variant-grid, .product-availability { padding-inline: 16px; }
  .bottom-nav { width: calc(100% - 16px); }
  .modal { padding-left: 12px; padding-right: 12px; }
  .modal-card { padding: 18px; }
  .star-input { gap: 4px; }
  .star-input button { flex: 1 1 0; width: auto; min-width: 0; }
}

@media (max-width: 600px) and (max-height: 740px) {
  .hero-card { height: 150px; }
  .section-heading { margin-top: 18px; margin-bottom: 12px; }
  .section-heading h1 { font-size: 1.72rem; }
  .product-visual { aspect-ratio: 16 / 6.2; }
  .product-header { padding-block: 14px 11px; }
  .variant-button { min-height: 64px; }
  .variant-grid { padding-bottom: 14px; }
  .product-availability { padding-block: 10px 11px; }
}

@media (max-width: 600px) and (max-height: 600px) {
  .app-shell {
    padding-top: calc(var(--safe-top) + 56px);
    padding-bottom: calc(76px + var(--safe-bottom));
  }
  .topbar { height: calc(56px + var(--safe-top)); }
  .topbar + main { padding-top: 0; }
  .brand-avatar { width: 38px; height: 38px; }
  .icon-button { width: 44px; height: 44px; }
  .hero-card { height: 112px; border-radius: 16px; }
  .hero-status { bottom: 10px; left: 10px; min-height: 30px; }
  .section-heading { margin-top: 12px; margin-bottom: 9px; }
  .section-heading .eyebrow { display: none; }
  .section-heading h1 { font-size: 1.52rem; }
  .count-badge { height: 32px; min-width: 36px; }
  .product-visual { aspect-ratio: 16 / 5.2; }
  .product-header { padding-block: 10px 8px; }
  .product-header p { display: none; }
  .product-card h2 { font-size: 1rem; }
  .variant-grid { padding-bottom: 10px; }
  .variant-button { min-height: 58px; padding-block: 7px; }
  .variant-button span { font-size: .9rem; }
  .variant-button strong { font-size: .64rem; }
  .product-availability { display: none; }
  .bottom-nav { bottom: 6px; min-height: 62px; padding-block: 5px; border-radius: 18px; }
  .nav-item { min-height: 48px; gap: 2px; }
  .nav-item > span { height: 20px; font-size: .95rem; }
  .menu-shell { padding-top: calc(var(--safe-top) + 8px); padding-bottom: calc(var(--safe-bottom) + 8px); }
  .menu-identity { min-height: 58px; gap: 11px; }
  .menu-identity img { width: 52px; height: 52px; }
  .menu-identity span { font-size: .55rem; }
  .menu-identity strong { margin-top: 4px; font-size: .66rem; }
  .pause-menu-list { gap: 6px; padding-block: 8px; }
  .pause-menu-option { min-height: 50px; grid-template-columns: 34px 1fr 23px; padding-inline: 14px; }
  .pause-menu-option strong { font-size: 1rem; }
  .menu-footer { min-height: 38px; }
}

@media (max-height: 560px) {
  .modal { place-items: start center; padding-top: calc(10px + var(--safe-top)); }
  .modal-card { max-height: calc(100dvh - var(--safe-top) - 16px); }
}

@media (orientation: landscape) and (max-height: 500px) {
  .app-shell {
    padding-top: calc(var(--safe-top) + 58px);
    padding-bottom: calc(78px + var(--safe-bottom));
  }
  .topbar { height: calc(58px + var(--safe-top)); }
  .brand-avatar { width: 36px; height: 36px; }
  .brand strong { font-size: .9rem; }
  .icon-button { width: 44px; height: 44px; }
  .topbar + main { padding-top: 0; }
  .hero-card { height: 150px; border-radius: 18px; }
  .section-heading { margin-top: 16px; margin-bottom: 11px; }
  .section-heading h1 { font-size: 1.7rem; }
  .product-visual { aspect-ratio: 16 / 7.2; }
  .bottom-nav { bottom: 6px; min-height: 58px; padding: 4px 10px; border-radius: 18px; }
  .nav-item { min-height: 46px; gap: 2px; }
  .nav-item > span { height: 19px; font-size: .95rem; }
  .nav-item small { font-size: .56rem; }
  .toast { bottom: calc(70px + var(--safe-bottom)); }
  .menu-shell { grid-template-columns: minmax(180px, .72fr) minmax(280px, 1.28fr); grid-template-rows: 1fr auto; column-gap: 28px; padding-block: calc(var(--safe-top) + 8px) calc(var(--safe-bottom) + 8px); }
  .menu-identity { align-self: center; }
  .menu-identity img { width: 84px; height: 84px; }
  .pause-menu-list { align-self: center; padding-block: 0; gap: 6px; }
  .pause-menu-option { min-height: 49px; }
  .pause-menu-option strong { font-size: 1rem; }
  .menu-footer { grid-column: 1 / -1; }
}

@media (hover: none) {
  .product-card:hover, .button-primary:hover, .choice-card:hover { transform: none; }
  .icon-button:hover { transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  .product-card, .ambient, .hero-image, .product-visual img, .product-visual::after, .status-dot,
  .game-menu-view::before, .menu-grid, .menu-watermark { animation: none !important; }
  .product-card:hover, .button-primary:hover { transform: none; }
}

.reduce-effects .product-card,
.reduce-effects .ambient,
.reduce-effects .hero-image,
.reduce-effects .product-visual img,
.reduce-effects .product-visual::after,
.reduce-effects .status-dot { animation: none !important; }
.reduce-effects .product-card:hover,
.reduce-effects .button-primary:hover { transform: none; }
.reduce-effects .game-menu-view::before,
.reduce-effects .menu-grid,
.reduce-effects .menu-watermark { animation: none !important; }
