@font-face {
  font-family: "Furioza Blackletter";
  src: url("/miniapp-assets/fonts/UnifrakturCook-Bold.ttf") format("truetype");
  font-display: swap;
  font-style: normal;
  font-weight: 700;
}

@font-face {
  font-family: "Furioza Display";
  src: url("/miniapp-assets/fonts/GermaniaOne-Regular.ttf") format("truetype");
  font-display: swap;
  font-style: normal;
  font-weight: 400;
}

:root {
  --street-black: #02040a;
  --street-ink: #111111;
  --street-blue: #8b121e;
  --street-red: #ed1b2f;
  --street-paper: #e9e2d2;
  --street-white: #f8f5ec;
  --street-font: "Arial Narrow", "Roboto Condensed", Impact, sans-serif;
  --blackletter: "Furioza Blackletter", "Old English Text MT", Georgia, serif;
  --display-font: "Furioza Display", "Arial Narrow", Georgia, serif;
  --bg: #070707;
  --surface: #111111;
  --surface-raised: #191919;
  --gold: var(--street-red);
  --gold-bright: var(--street-white);
  --green: #1674d1;
  --green-bright: #63a9ff;
  --radius-xl: 12px;
  --radius-lg: 9px;
  --radius-md: 8px;
}

html { background: var(--street-black); }
body {
  background:
    radial-gradient(circle at 12% -5%, rgba(139,18,30,.34), transparent 28rem),
    radial-gradient(circle at 110% 42%, rgba(237,27,47,.18), transparent 24rem),
    linear-gradient(155deg, #06112a 0%, #02050d 58%, #09040a 100%);
  font-family: var(--street-font);
  letter-spacing: .015em;
}
body::before {
  opacity: .24;
  background-image:
    linear-gradient(112deg, transparent 0 47%, rgba(255,255,255,.025) 48% 49%, transparent 50%),
    repeating-linear-gradient(0deg, rgba(255,255,255,.018) 0 1px, transparent 1px 4px);
  background-size: 31px 31px, 100% 4px;
  mask-image: none;
}
body::after {
  content: "";
  position: fixed;
  z-index: 100;
  inset: 0;
  pointer-events: none;
  opacity: .055;
  background: repeating-radial-gradient(circle at 20% 30%, #fff 0 1px, transparent 1px 4px);
  mix-blend-mode: overlay;
}

.ambient { filter: blur(100px); opacity: .18; }
.ambient-one { background: var(--street-blue); }
.ambient-two { background: var(--street-red); }

.app-shell { width: min(100%, 720px); }
.topbar {
  border-bottom: 1px solid rgba(255,255,255,.08);
  background: linear-gradient(180deg, rgba(2,4,10,.96), rgba(3,9,23,.88));
  box-shadow: 0 12px 35px rgba(0,0,0,.32);
}
.topbar::after {
  content: "";
  position: absolute;
  left: 16px; right: 16px; bottom: -2px;
  height: 3px;
  background: linear-gradient(90deg, var(--street-red) 0 22%, var(--street-white) 22% 27%, var(--street-blue) 27% 100%);
  clip-path: polygon(0 20%, 86% 0, 100% 55%, 69% 100%, 18% 62%);
}
.brand-avatar {
  width: 42px; height: 42px;
  border: 0;
  border-radius: 50%;
  filter: drop-shadow(0 0 12px rgba(40,115,255,.32));
}
.brand > span { display: grid; gap: 3px; }
.brand strong {
  font: 900 .69rem/1 var(--street-font);
  letter-spacing: .14em;
  text-transform: uppercase;
}
.brand small { margin: 0; color: #879abc; font: 800 .55rem/1 var(--street-font); letter-spacing: .23em; text-transform: uppercase; }
.connection-pill { border-radius: 4px; border-color: rgba(255,255,255,.1); background: rgba(255,255,255,.025); text-transform: uppercase; letter-spacing: .12em; }
.icon-button { border-radius: 7px; background: rgba(7,20,45,.78); }
.sound-toggle { position: relative; overflow: hidden; font-size: 1.12rem; }
.sound-toggle::after { content: ""; position: absolute; inset: auto 7px 6px; height: 2px; transform: scaleX(0); background: var(--street-red); }
.sound-toggle.is-playing { color: var(--street-white); border-color: rgba(99,169,255,.55); box-shadow: inset 0 0 18px rgba(139,18,30,.24), 0 0 18px rgba(139,18,30,.15); }
.sound-toggle.is-playing span { animation: beat-pulse .7s steps(2,end) infinite; }
.sound-toggle.is-playing::after { transform: scaleX(1); animation: beat-line 1.4s ease-in-out infinite; }
.sound-toggle.is-waiting { color: #8da1c4; }
.sound-toggle:disabled { opacity: .42; cursor: not-allowed; }
@keyframes beat-pulse { 50% { transform: scale(1.15) rotate(-5deg); } }
@keyframes beat-line { 50% { transform: scaleX(.35); transform-origin: left; } }

.game-menu-view {
  min-height: calc(100svh - 112px);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 10px;
  background:
    linear-gradient(90deg, rgba(2,4,10,.95) 0 47%, rgba(2,4,10,.54) 80%),
    url("/miniapp-assets/hero-furioza-v1.webp") center/cover;
  box-shadow: 0 30px 80px rgba(0,0,0,.48);
}
.game-menu-view::before { background: linear-gradient(120deg, rgba(139,18,30,.28), transparent 38%, rgba(237,27,47,.13)); }
.game-menu-view::after { background: repeating-linear-gradient(-12deg, transparent 0 52px, rgba(255,255,255,.025) 53px 54px); }
.menu-grid { opacity: .12; transform: rotate(-5deg) scale(1.1); }
.menu-watermark { opacity: .075; filter: grayscale(1) contrast(1.4); }
.menu-identity img { border-radius: 50%; filter: drop-shadow(0 0 22px rgba(139,18,30,.4)); }
.menu-identity span {
  font: 950 clamp(1.65rem, 8vw, 3rem)/.9 "Arial Narrow", "Roboto Condensed", Impact, sans-serif;
  letter-spacing: .12em;
  text-transform: uppercase;
  text-shadow: 2px 2px 0 #02040a, 0 0 18px rgba(139,18,30,.36);
}
.menu-identity strong { color: #9aabc8; font-size: .58rem; letter-spacing: .25em; }
.pause-menu-list { gap: 3px; }
.pause-menu-option {
  min-height: 64px;
  border-radius: 2px;
  border-bottom: 1px solid rgba(255,255,255,.08);
  background: linear-gradient(90deg, rgba(5,14,31,.9), rgba(5,14,31,.22));
  clip-path: polygon(0 0, 98% 3%, 100% 84%, 97% 100%, 0 96%);
}
.pause-menu-option::before { width: 5px; background: var(--street-red); }
.pause-menu-option strong { font: 900 clamp(1rem, 5.2vw, 1.35rem)/1 var(--street-font); letter-spacing: .08em; }
.pause-menu-option.is-current { color: var(--street-black); background: var(--street-paper); text-shadow: none; transform: translateX(8px) rotate(-.3deg); }
.pause-menu-option.is-current span, .pause-menu-option.is-current i { color: var(--street-red); }
.menu-footer { font-size: .58rem; letter-spacing: .15em; }

.hero-card {
  height: clamp(82px, 25vw, 120px);
  border: 0;
  border-radius: 8px;
  clip-path: polygon(0 1.5%, 100% 0, 98.8% 94%, 72% 97%, 52% 94.8%, 25% 100%, 1% 96%);
  box-shadow: 0 28px 65px rgba(0,0,0,.45);
}
.hero-card::before { inset: 0; border: 1px solid rgba(255,255,255,.16); border-radius: 8px; box-shadow: inset 0 0 80px rgba(0,0,0,.35); }
.hero-image { object-position: 50% 50%; filter: saturate(.96) contrast(1.06); animation: hero-drift 16s ease-in-out infinite alternate; }
@keyframes hero-drift { to { transform: scale(1.055) translate3d(-1.4%, -.8%, 0); } }
.hero-overlay { background: linear-gradient(90deg, rgba(2,4,10,.92) 0, rgba(2,4,10,.58) 50%, rgba(2,4,10,.08) 78%), linear-gradient(0deg, rgba(2,4,10,.7), transparent 48%); }
.hero-crest { position: absolute; z-index: 3; left: 15px; top: 50%; width: 46px; height: 46px; transform: translateY(-50%); filter: drop-shadow(0 10px 18px rgba(0,0,0,.48)); }
.hero-status { z-index: 4; left: auto; right: 10px; bottom: 9px; min-height: 25px; padding-inline: 8px; border-radius: 3px; background: rgba(2,4,10,.78); font-size: .49rem; letter-spacing: .1em; }

.eyebrow { color: #76aaff; font-size: .59rem; letter-spacing: .21em; text-transform: uppercase; }
.section-heading h1, .page-intro h1, .sheet-header h2, .payment-state h1 {
  font-family: var(--display-font);
  font-weight: 400;
  letter-spacing: .005em;
}
.section-heading h1, .page-intro h1 { font-size: clamp(2.15rem, 9vw, 3.2rem); line-height: .9; }
.count-badge { border-radius: 2px; transform: rotate(2deg); color: var(--street-black); background: var(--street-paper); }

.product-grid { grid-template-columns: 1fr !important; gap: 10px; width: min(100%, 620px); margin-inline: auto; }
.product-card {
  position: relative;
  display: grid;
  grid-template-columns: 94px minmax(0, 1fr);
  min-height: 118px;
  overflow: hidden;
  border-radius: 7px;
  border-color: rgba(255,255,255,.11);
  background:
    linear-gradient(118deg, rgba(10,35,76,.98), rgba(3,10,25,.98) 68%),
    var(--street-ink);
  box-shadow: 0 14px 34px rgba(0,0,0,.3), inset 0 1px 0 rgba(255,255,255,.045);
  clip-path: polygon(0 0, 100% 1.5%, 99.4% 96%, 72% 100%, 0 97.5%);
}
.product-card::before { width: 5px; background: linear-gradient(180deg, var(--street-red), #8e0715); }
.product-card:nth-child(even)::before { background: linear-gradient(180deg, #0d65d8, #06306f); }
.product-visual {
  position: relative;
  width: 94px;
  height: 118px;
  aspect-ratio: auto;
  overflow: visible;
  background: linear-gradient(130deg, rgba(139,18,30,.18), transparent 65%);
  isolation: isolate;
}
.product-visual::before { content: ""; position: absolute; inset: 14px 9px; z-index: -1; background: radial-gradient(circle, rgba(139,18,30,.16), transparent 68%); }
.product-visual::after { content: none; }
.product-halo { position: absolute; inset: 22px 12px; border-radius: 50%; background: radial-gradient(circle, rgba(44,114,255,.3), rgba(237,27,47,.08) 55%, transparent 72%); filter: blur(8px); }
.product-visual img {
  position: absolute;
  z-index: 2;
  inset: 7px 5px 9px 5px;
  width: calc(100% - 10px);
  height: calc(100% - 16px);
  object-fit: contain;
  mix-blend-mode: screen;
  transform: none;
  filter: drop-shadow(0 5px 5px rgba(0,0,0,.7)) drop-shadow(0 0 8px rgba(25,101,255,.48));
  animation: product-float 4.4s ease-in-out infinite;
}
.product-visual img[src*="/products/admin-"] {
  mix-blend-mode: normal;
  filter:
    drop-shadow(1px 0 0 rgba(255,255,255,.95)) drop-shadow(-1px 0 0 rgba(255,255,255,.95))
    drop-shadow(0 1px 0 rgba(255,255,255,.95)) drop-shadow(0 -1px 0 rgba(255,255,255,.95))
    drop-shadow(0 5px 5px rgba(0,0,0,.7)) drop-shadow(0 0 8px rgba(25,101,255,.48));
}
.product-card:nth-child(2) .product-visual img { animation-delay: -.9s; }
.product-card:nth-child(3) .product-visual img { animation-delay: -1.8s; }
@keyframes product-float { 0%,100% { transform: translate3d(0,1px,0) rotate(-1deg); } 50% { transform: translate3d(0,-5px,0) rotate(1.2deg); } }
.product-card-body { display: grid; min-width: 0; align-content: center; gap: 9px; padding: 13px 13px 13px 8px; }
.product-card-heading { display: flex; min-width: 0; align-items: center; justify-content: space-between; gap: 8px; }
.product-card-body h2 { overflow: hidden; margin: 0; font: 400 clamp(1.35rem, 6vw, 1.8rem)/.9 var(--display-font); letter-spacing: .005em; text-overflow: ellipsis; white-space: nowrap; text-transform: none; }
.product-availability { display: flex; flex: 0 0 auto; align-items: center; gap: 5px; padding: 0; border: 0; color: #91dcb5; font-size: .5rem; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.product-availability i { width: 5px; height: 5px; }
.product-variants { display: grid; grid-template-columns: repeat(auto-fit, minmax(54px, 1fr)); gap: 6px; }
.variant-button {
  display: grid;
  min-width: 0;
  min-height: 48px;
  place-items: center;
  gap: 1px;
  padding: 5px 3px;
  border-radius: 3px;
  border-color: rgba(255,255,255,.13);
  background: linear-gradient(145deg, rgba(255,255,255,.065), rgba(255,255,255,.018));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.04);
}
.variant-button span { font-size: .78rem; font-weight: 950; }
.variant-button strong { color: #b9c9df; font-size: .58rem; font-weight: 800; }
.variant-button:not(:disabled):hover, .variant-button:not(:disabled):focus-visible { border-color: var(--street-red); background: rgba(237,27,47,.15); color: var(--street-white); outline: 0; }
.variant-button:not(:disabled):active { transform: scale(.96); background: var(--street-paper); color: var(--street-black); }
.variant-button:disabled { opacity: .28; }

.button { border-radius: 4px; text-transform: uppercase; letter-spacing: .1em; }
.button-primary { position: relative; overflow: hidden; background: linear-gradient(110deg, #b30c1c, var(--street-red) 52%, #a00615); box-shadow: 6px 7px 0 rgba(2,4,10,.55); }
.button-primary::after { content: ""; position: absolute; inset: 0; transform: translateX(-120%) skewX(-22deg); background: linear-gradient(90deg, transparent, rgba(255,255,255,.24), transparent); transition: transform .45s ease; }
.button-primary:hover::after, .button-primary:focus-visible::after { transform: translateX(120%) skewX(-22deg); }
.button-secondary, .choice-card, .info-card, .review-card, .review-summary, .support-card, .work-card, .payment-card, .bottom-sheet, .modal-card { border-radius: 7px; background: linear-gradient(145deg, rgba(8,25,55,.98), rgba(2,6,14,.98)); }
.choice-card::before, .info-card::before { background: var(--street-red); }
.guide-visual {
  position: relative;
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  min-height: 82px;
  align-items: center;
  gap: 14px;
  overflow: hidden;
  margin-bottom: 14px;
  padding: 12px 14px;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 7px;
  background: linear-gradient(110deg, rgba(139,18,30,.3), rgba(3,10,25,.96) 62%, rgba(237,27,47,.14));
  clip-path: polygon(0 0, 100% 2%, 99% 94%, 74% 100%, 0 96%);
}
.guide-visual::after { content: ""; position: absolute; right: -25px; top: -40px; width: 120px; height: 120px; border: 1px solid rgba(255,255,255,.06); border-radius: 50%; }
.guide-visual img { width: 54px; height: 54px; filter: drop-shadow(0 8px 16px rgba(0,0,0,.42)); }
.guide-visual > div { display: flex; min-width: 0; align-items: center; gap: 7px; }
.guide-visual span { color: #dbe8fb; font-size: .5rem; font-weight: 950; letter-spacing: .08em; }
.guide-visual i { flex: 1 1 10px; height: 2px; background: linear-gradient(90deg, var(--street-blue), var(--street-paper), var(--street-red)); transform: skewX(-18deg); }
.order-guide { position: relative; display: grid; gap: 9px; margin: 0; padding: 0; list-style: none; counter-reset: none; }
.order-guide::before { content: ""; position: absolute; z-index: 0; left: 24px; top: 42px; bottom: 42px; width: 2px; background: linear-gradient(var(--street-red), var(--street-blue) 50%, rgba(255,255,255,.16)); }
.guide-step {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  min-height: 88px;
  align-items: center;
  gap: 13px;
  padding: 13px 15px 13px 10px;
  border: 1px solid rgba(255,255,255,.095);
  border-radius: 7px;
  background: linear-gradient(135deg, rgba(9,31,67,.97), rgba(2,7,17,.98));
  box-shadow: 0 13px 30px rgba(0,0,0,.22), inset 0 1px 0 rgba(255,255,255,.035);
}
.guide-step:nth-child(even) { background: linear-gradient(135deg, rgba(5,20,48,.98), rgba(8,10,23,.98)); }
.guide-number { display: grid; width: 34px; height: 34px; place-items: center; justify-self: center; border: 2px solid var(--street-paper); border-radius: 50%; background: var(--street-ink); color: var(--street-white); font-size: .66rem; font-weight: 950; box-shadow: 0 0 0 5px rgba(7,20,45,.95), 0 0 18px rgba(139,18,30,.25); }
.guide-step:first-child .guide-number, .guide-step:last-child .guide-number { border-color: var(--street-red); }
.guide-step h2, .guide-note h2 { margin: 0 0 5px; font: 400 1.25rem/1 var(--display-font); letter-spacing: .01em; }
.guide-step p, .guide-note p { margin: 0; color: #b9c7dc; font-size: .74rem; line-height: 1.48; }
.guide-note { display: grid; grid-template-columns: 38px minmax(0,1fr); gap: 12px; margin-top: 12px; padding: 15px; border: 1px solid rgba(237,27,47,.42); border-radius: 6px; background: linear-gradient(120deg, rgba(237,27,47,.16), rgba(3,9,23,.96) 52%); }
.guide-note > span { display: grid; width: 32px; height: 32px; place-items: center; border-radius: 3px; background: var(--street-red); color: #fff; font-weight: 950; transform: rotate(-3deg); }
.guide-note h2 { color: #fff; }
.support-mark { overflow: hidden; border: 0; border-radius: 50%; background: transparent; box-shadow: 0 0 24px rgba(139,18,30,.3); }
.support-mark img { width: 100%; height: 100%; object-fit: cover; }
.urgent-support { grid-template-columns: 60px minmax(0,1fr); gap: 15px; padding: 18px; }
.urgent-support h2 { margin: 2px 0 5px; font: 400 1.55rem/1 var(--display-font); }
.urgent-support .support-copy { max-width: none; color: #c2cee0 !important; font-size: .72rem !important; line-height: 1.45; }
.support-alert { grid-column: 1 / -1; display: grid; grid-template-columns: 32px minmax(0,1fr); align-items: center; gap: 10px; padding: 11px 12px; border: 1px solid rgba(237,27,47,.32); border-radius: 4px; background: rgba(237,27,47,.085); }
.support-alert span { display: grid; width: 28px; height: 28px; place-items: center; border-radius: 3px; background: var(--street-red); color: #fff; font-weight: 950; transform: rotate(-3deg); }
.support-alert p { margin: 0; color: #cbd5e5; font-size: .68rem; line-height: 1.45; }
.support-actions { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr; gap: 8px; }
.urgent-support .support-actions .button { grid-column: auto; min-width: 0; padding-inline: 8px; font-size: .63rem; letter-spacing: .04em; }

.bottom-nav {
  width: min(calc(100% - 20px), 700px);
  bottom: 8px;
  min-height: calc(64px + var(--safe-bottom));
  border: 1px solid rgba(255,255,255,.11);
  border-radius: 7px;
  background: rgba(2,4,10,.92);
  box-shadow: 0 18px 50px rgba(0,0,0,.52);
}
.nav-item { border-radius: 3px; }
.nav-item span { font-family: Impact, var(--street-font); }
.nav-item small { font-size: .54rem; letter-spacing: .06em; text-transform: uppercase; }
.nav-item.is-active { background: var(--street-paper); color: var(--street-black); transform: rotate(-.7deg); }
.nav-item.is-active::after { background: var(--street-red); }

.site-announcement { border-radius: 4px; border-color: rgba(237,27,47,.42); background: rgba(237,27,47,.09); }
.toast { border-radius: 4px; }
.discount-choice { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 4px; padding: 12px; border: 1px solid rgba(117,169,242,.22); border-radius: 6px; background: linear-gradient(120deg,rgba(139,18,30,.12),rgba(2,8,20,.8)); }
.discount-choice > div:first-child { display: grid; gap: 4px; }
.discount-choice strong { color: var(--street-white); font-size: .75rem; }
.discount-choice small { color: #8ea0ba; font-size: .57rem; line-height: 1.35; }
.discount-choice-buttons { display: grid; grid-template-columns: 1fr 1fr; flex: 0 0 106px; gap: 5px; }
.discount-choice-buttons button, .discount-input-row button { min-height: 38px; border: 1px solid rgba(255,255,255,.13); border-radius: 4px; background: rgba(255,255,255,.045); color: #aebbd0; font: 850 .62rem/1 var(--street-font); cursor: pointer; }
.discount-choice-buttons button.is-active { border-color: var(--street-paper); background: var(--street-paper); color: var(--street-black); box-shadow: 0 7px 18px rgba(0,0,0,.25); }
.discount-entry { padding: 11px; border: 1px dashed rgba(76,228,255,.28); border-radius: 5px; background: rgba(139,18,30,.055); }
.discount-input-row { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 6px; }
.discount-input-row input { min-width: 0; height: 42px; padding: 0 11px; border: 1px solid rgba(255,255,255,.14); border-radius: 4px; outline: 0; background: rgba(0,4,14,.75); color: #fff; font: 850 .72rem/1 ui-monospace,SFMono-Regular,Consolas,monospace; text-transform: uppercase; }
.discount-input-row input:focus { border-color: #75a9f2; box-shadow: 0 0 0 3px rgba(139,18,30,.14); }
.discount-input-row button { min-width: 88px; padding-inline: 10px; border-color: rgba(117,169,242,.42); color: #dbeaff; background: rgba(139,18,30,.2); }
.discount-entry p { margin: 8px 2px 0; color: #86a1c8; font-size: .58rem; }
.discount-saving strong { color: #54e59a; }
.review-total strong { display: flex; align-items: flex-end; gap: 8px; }
.review-total del { color: #71809a; font-size: .72rem; font-weight: 650; }

/* Main GTA-style entry screen */
.game-menu-view {
  background:
    linear-gradient(90deg, rgba(2,4,10,.97) 0 36%, rgba(2,4,10,.58) 70%, rgba(2,4,10,.8) 100%),
    linear-gradient(0deg, rgba(2,4,10,.96), transparent 52%, rgba(1,8,25,.32)),
    url("/miniapp-assets/hero-furioza-v1.webp") 58% center/cover;
}
.game-menu-view::before { background: radial-gradient(circle at 72% 30%, rgba(139,18,30,.32), transparent 28%), linear-gradient(120deg, rgba(139,18,30,.25), transparent 38%, rgba(237,27,47,.16)); }
.game-menu-view::after { opacity: .38; background: repeating-linear-gradient(-12deg, transparent 0 52px, rgba(255,255,255,.025) 53px 54px), linear-gradient(90deg, var(--street-red) 0 16%, var(--street-paper) 16% 18%, var(--street-blue) 18% 54%, transparent 54%) top/100% 3px no-repeat; }
.menu-grid { opacity: .14; transform: perspective(700px) rotateX(62deg) rotateZ(-4deg) translateY(38%) scale(1.18); }
.menu-watermark { right: clamp(-180px,-18vw,-60px); opacity: .105; filter: grayscale(1) contrast(1.5) drop-shadow(0 0 60px rgba(139,18,30,.45)); }
.menu-shell { width: min(100%, 820px); padding-inline: max(22px, env(safe-area-inset-left, 0px)) max(22px, env(safe-area-inset-right, 0px)); }
.menu-hud { position: relative; display: flex; min-height: 102px; align-items: center; justify-content: flex-start; gap: 16px; border-bottom: 1px solid rgba(255,255,255,.09); }
.menu-hud::after { content: ""; position: absolute; left: 0; bottom: -2px; width: min(48%,220px); height: 3px; background: linear-gradient(90deg,var(--street-red),var(--street-paper) 18%,var(--street-blue) 22%,transparent); clip-path: polygon(0 0,100% 0,93% 100%,0 70%); }
.menu-identity { min-width: 0; min-height: 0; }
.menu-identity > div { min-width: 0; }
.menu-identity img { width: 72px; height: 72px; border-radius: 50%; filter: drop-shadow(0 0 22px rgba(139,18,30,.45)) drop-shadow(0 14px 20px rgba(0,0,0,.4)); }
.menu-identity span { overflow: hidden; color: var(--street-white); font-size: clamp(1.45rem, 6.3vw, 2.75rem); line-height: .9; text-overflow: ellipsis; text-shadow: 2px 2px 0 #02040a, 0 0 22px rgba(139,18,30,.42); white-space: nowrap; }
.pause-menu-list { width: min(100%, 510px); gap: 7px; }
.pause-menu-option { grid-template-columns: minmax(0,1fr) 28px; min-height: 70px; padding-left: 22px; background: linear-gradient(90deg, rgba(5,14,31,.94), rgba(5,21,48,.5) 68%, rgba(5,14,31,.22)); }
.menu-option-copy { display: grid; min-width: 0; gap: 5px; }
.pause-menu-option .menu-option-copy strong { font: 900 clamp(1rem, 5.2vw, 1.35rem)/1 var(--street-font); letter-spacing: .08em; }
.menu-option-copy small { overflow: hidden; color: #788ba9; font-size: .54rem; font-weight: 850; letter-spacing: .11em; text-overflow: ellipsis; text-transform: uppercase; white-space: nowrap; }
.pause-menu-option.is-current { color: var(--street-black); background: linear-gradient(102deg,#f6f0e2,#dcd4c2); box-shadow: 14px 18px 38px rgba(0,0,0,.34), inset 0 0 0 1px rgba(255,255,255,.72); }
.pause-menu-option.is-current .menu-option-copy { color: var(--street-black); }
.pause-menu-option.is-current .menu-option-copy strong { color: var(--street-black); }
.pause-menu-option.is-current .menu-option-copy small { color: #4d4b49; }
.menu-footer { justify-content: flex-end; }
.menu-footer:has(#resume-payment[hidden]) { display: none; }

@media (max-width: 390px) {
  .app-shell { padding-inline: 11px; }
  .topbar { padding-inline: 11px; }
  .connection-pill { display: none; }
  .hero-card { height: 104px; }
  .hero-crest { left: 13px; width: 54px; height: 54px; }
  .hero-brand { left: 79px; max-width: calc(100% - 94px); gap: 7px; }
  .section-heading { margin-top: 17px; margin-bottom: 10px; }
  .game-menu-view { min-height: calc(100svh - 102px); }
  .menu-shell { padding-inline: 18px; }
  .menu-hud { min-height: 96px; }
  .menu-identity { gap: 11px; }
  .menu-identity img { width: 64px; height: 64px; }
  .pause-menu-option { min-height: 68px; }
}

@media (max-width: 350px) {
  .brand { min-width: 0; max-width: calc(100% - 102px); }
  .brand > span { min-width: 0; }
  .brand strong { font-size: .55rem; line-height: 1.15; letter-spacing: .08em; white-space: normal; }
  .product-card { grid-template-columns: 86px minmax(0, 1fr); }
  .product-visual { width: 86px; }
  .product-card-body { padding-right: 9px; padding-left: 5px; }
  .product-variants { grid-template-columns: repeat(auto-fit, minmax(52px, 1fr)); gap: 5px; }
  .support-actions { grid-template-columns: 1fr; }
  .menu-hud { min-height: 86px; }
  .menu-identity img { width: 54px; height: 54px; }
  .menu-identity span { font-size: 1.35rem; }
  .pause-menu-list { padding-block: 9px; }
  .pause-menu-option { min-height: 60px; }
  .menu-option-copy { gap: 3px; }
  .menu-option-copy small { font-size: .48rem; }
  .hero-card { height: 96px; }
  .hero-crest { width: 49px; height: 49px; }
  .hero-brand { left: 72px; max-width: calc(100% - 84px); }
  .hero-brand strong { font-size: 1.45rem; letter-spacing: .09em; }
}

/* Mobile legibility pass: GTA nuotaika išlaikoma, bet informacinis tekstas
   nebenaudoja dekoratyvaus blackletter ir nenukrenta žemiau ~11 px. */
.section-heading h1,
.page-intro h1,
.sheet-header h2,
.payment-state h1,
.product-card-body h2 {
  font-family: var(--street-font);
  font-weight: 950;
  line-height: 1;
  letter-spacing: .035em;
}
.product-card-body h2 { font-size: clamp(1.08rem, 5.2vw, 1.45rem); }
.product-availability,
.variant-button strong,
.menu-option-copy small,
.nav-item small,
.guide-visual span,
.discount-choice small,
.discount-entry p { font-size: max(.66rem, 11px); }

@media (max-width: 350px) {
  .brand strong { font-size: .72rem; white-space: nowrap; }
  .menu-option-copy small { font-size: .7rem; }
  .nav-item small { font-size: .7rem; letter-spacing: .01em; }
  .product-card-body h2 { font-size: 1.05rem; }
}

@media (max-height: 650px) and (orientation: landscape) {
  .hero-card { height: 74px; }
  .hero-status { bottom: 7px; }
  .hero-crest { width: 36px; height: 36px; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-image, .product-visual img, .sound-toggle span, .sound-toggle::after { animation: none !important; }
}

/* Furioza identity layer */
.topbar {
  background: linear-gradient(180deg,rgba(5,5,5,.98),rgba(10,10,10,.91));
  border-bottom-color: rgba(198,24,40,.28);
}
.topbar::after { background: linear-gradient(90deg,transparent,#c61828 18%,#d8d2c7 49%,#6f0a14 78%,transparent); }
.brand-avatar { filter: grayscale(1) contrast(1.28) brightness(.92) drop-shadow(0 7px 11px rgba(0,0,0,.75)); }
.topbar .brand-avatar {
  border: 1px solid rgba(237,27,47,.72);
  background: #080808;
  box-shadow: inset 0 0 0 2px rgba(0,0,0,.72), 0 0 13px rgba(237,27,47,.2);
}
.brand strong { letter-spacing: .1em; text-transform: uppercase; }
.connection-pill { border-color: rgba(216,210,199,.16); background: rgba(216,210,199,.055); color: #c3beb5; }
.connection-pill i { background: #c61828; box-shadow: 0 0 0 4px rgba(198,24,40,.13); }

.game-menu-view::before {
  background:
    linear-gradient(90deg,rgba(0,0,0,.91) 0 42%,rgba(0,0,0,.46) 73%,rgba(0,0,0,.72)),
    linear-gradient(180deg,rgba(0,0,0,.16),rgba(0,0,0,.88)),
    url("/miniapp-assets/hero-furioza-v1.webp") 62% center/cover;
}
.game-menu-view::after {
  background:
    repeating-linear-gradient(-13deg,transparent 0 58px,rgba(255,255,255,.018) 59px 60px),
    linear-gradient(90deg,#a00f1d 0 20%,#d8d2c7 20% 21%,#1b1b1b 21% 100%) top/100% 3px no-repeat;
}
.menu-watermark { opacity: .075; filter: grayscale(1) contrast(1.25); }
.menu-identity img { filter: drop-shadow(0 8px 18px rgba(0,0,0,.72)); }
.menu-identity span { letter-spacing: .075em; text-transform: uppercase; text-shadow: 2px 2px 0 #000,0 0 22px rgba(198,24,40,.3); }
.pause-menu-list { gap: 7px; }
.pause-menu-option { border-color: rgba(216,210,199,.12); background: linear-gradient(90deg,rgba(17,17,17,.94),rgba(20,20,20,.62)); }
.pause-menu-option::before { background: #a90e1c; }
.pause-menu-option.is-current { color: #090909; background: linear-gradient(102deg,#f1eee7,#c9c2b7); box-shadow: 13px 16px 34px rgba(0,0,0,.48),inset 0 0 0 1px rgba(255,255,255,.58); }
.pause-menu-option.is-current span,.pause-menu-option.is-current i { color: #740812; }

.hero-card { height: clamp(104px,29vw,138px); border-color: rgba(216,210,199,.14); background: #080808; box-shadow: 0 20px 52px rgba(0,0,0,.5); }
.hero-image { filter: saturate(.82) contrast(1.16) brightness(.82); }
.hero-overlay { background: linear-gradient(180deg,rgba(0,0,0,.02),rgba(0,0,0,.69)),linear-gradient(90deg,rgba(0,0,0,.82) 0 54%,rgba(0,0,0,.16) 82%); }
.hero-crest {
  left: 16px;
  width: 60px;
  height: 60px;
  opacity: 1;
  border: 1px solid rgba(211,38,55,.78);
  border-radius: 50%;
  background: #080808;
  box-shadow: inset 0 0 0 3px rgba(0,0,0,.75),0 0 20px rgba(198,24,40,.24);
  filter: grayscale(1) contrast(1.3) brightness(1.05) drop-shadow(0 12px 20px rgba(0,0,0,.75));
}
.hero-brand {
  position: absolute;
  z-index: 4;
  left: 88px;
  top: 50%;
  display: grid;
  max-width: calc(100% - 108px);
  gap: 8px;
  transform: translateY(-50%);
}
.hero-brand strong {
  color: #f1eee7;
  font: 950 clamp(1.55rem,7.5vw,2.7rem)/.82 "Arial Narrow","Roboto Condensed",Impact,sans-serif;
  letter-spacing: .115em;
  text-shadow: 2px 3px 0 #000,0 0 24px rgba(198,24,40,.32);
  white-space: nowrap;
}
.hero-brand i { width: min(132px,72%); height: 3px; background: linear-gradient(90deg,#d32637,#d8d2c7 72%,transparent); box-shadow: 0 0 13px rgba(211,38,55,.38); }
.section-heading::after { background: linear-gradient(90deg,#c61828,rgba(198,24,40,0)); }
.product-card { border-color: rgba(216,210,199,.13); background: linear-gradient(142deg,rgba(25,25,25,.98),rgba(8,8,8,.98)); box-shadow: 0 16px 36px rgba(0,0,0,.42); }
.product-card::before { background: linear-gradient(180deg,#d32637,#620711); }
.product-visual { background: radial-gradient(circle at 50% 42%,rgba(216,210,199,.1),transparent 55%),#0b0b0b; }
.variant-button:not(:disabled):hover,.variant-button:not(:disabled):focus-visible { border-color:#c61828;background:rgba(198,24,40,.16); }
.button-primary { background: linear-gradient(110deg,#700913,#c61828 52%,#790a14); box-shadow: 6px 7px 0 rgba(0,0,0,.62); }
.nav-shell { border-top-color: rgba(198,24,40,.24); background: rgba(6,6,6,.96); }
.nav-item.is-active { background: #d8d2c7; color: #080808; }
.nav-item.is-active::after { background: #a90e1c; }
.page-intro .eyebrow,.card-kicker { color: #d32637; }
.guide-number { background:#111;border-color:#d8d2c7;box-shadow:0 0 0 5px rgba(9,9,9,.95),0 0 18px rgba(198,24,40,.2); }
.guide-step:first-child .guide-number,.guide-step:last-child .guide-number { border-color:#c61828; }
.support-card,.work-card,.info-card,.choice-card { border-color:rgba(216,210,199,.13);background:linear-gradient(145deg,rgba(23,23,23,.97),rgba(8,8,8,.98)); }

@media (max-width: 390px) {
  .hero-card { height: 104px; }
  .hero-crest { left: 13px; width: 54px; height: 54px; }
  .hero-brand { left: 79px; max-width: calc(100% - 94px); gap: 7px; }
}

@media (max-width: 350px) {
  .hero-card { height: 96px; }
  .hero-crest { width: 49px; height: 49px; }
  .hero-brand { left: 72px; max-width: calc(100% - 84px); }
  .hero-brand strong { font-size: 1.45rem; letter-spacing: .09em; }
}

@media (max-height: 650px) and (orientation: landscape) {
  .hero-card { height: 92px; }
  .hero-crest { width: 48px; height: 48px; }
}
