/* Approved Axellio redesign. The existing supplier/document styles remain available. */
:root {
  --bg: #06080b; --surface: #0e1117; --surface-raised: #181c24;
  --red: #ff004f; --red-soft: #ff245f; --text: #f7f7fa; --muted: #adb5c7;
  --line: #29313e; --radius: 12px; --nav-height: 68px;
  --safe-top: max(env(safe-area-inset-top, 0px), var(--tg-safe-area-inset-top, 0px));
  --content-top: var(--tg-content-safe-area-inset-top, 0px);
  --safe-bottom: max(env(safe-area-inset-bottom, 0px), var(--tg-safe-area-inset-bottom, 0px), var(--tg-content-safe-area-inset-bottom, 0px));
}
html { scroll-padding-top: 90px; scrollbar-color: #3e4656 var(--bg); }
body { color: var(--text); font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; font-size: 14px; line-height: 1.45; }
#app button,
#checkout-backdrop button,
#app input,
#checkout-backdrop input { font: inherit; }
#app button,
#checkout-backdrop button { touch-action: manipulation; }
#app button:focus-visible,
#checkout-backdrop button:focus-visible,
#app summary:focus-visible,
#checkout-backdrop summary:focus-visible,
#app a:focus-visible,
#checkout-backdrop a:focus-visible,
#app input:focus-visible,
#checkout-backdrop input:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }
#app button:disabled,
#checkout-backdrop button:disabled { cursor: default; opacity: .5; }
[hidden] { display: none !important; }
.noise { display: none; }
#app,
#app:has(.screen) { max-width: 760px; min-height: 100dvh; background: var(--bg); overflow: visible; }
#app::before,
#app .screen::before,
#checkout-backdrop .screen::before,
#app .screen::after,
#checkout-backdrop .screen::after { display: none; }
#app .topbar,
#checkout-backdrop .topbar { grid-template-columns: 42px 1fr 42px; min-height: calc(64px + var(--safe-top) + var(--content-top)); height: auto; padding: calc(8px + var(--safe-top) + var(--content-top)) 14px 8px; top: 0; background: #06080bf5; border: 0; gap: 0; }
#app .topbar__back,
#checkout-backdrop .topbar__back { grid-column: 1; grid-row: 1; z-index: 2; }
#app .topbar__notifications,
#checkout-backdrop .topbar__notifications { grid-column: 1; grid-row: 1; position: relative; justify-self: start; width: 38px; height: 38px; border-radius: 9px; background: #11151c; border-color: #384151; }
#app .topbar:has(.topbar__back.is-visible) .topbar__notifications,
#checkout-backdrop .topbar:has(.topbar__back.is-visible) .topbar__notifications { grid-column: 3; justify-self: end; }
#app .brand,
#checkout-backdrop .brand,
#app .brand--wordmark,
#checkout-backdrop .brand--wordmark { grid-column: 2; grid-row: 1; justify-self: center; display: block; position: static; transform: none; width: 118px; height: 46px; padding: 0; margin: 0; border: 0; background: transparent; }
#app .brand-original,
#checkout-backdrop .brand-original { display: block; width: 100%; height: 100%; }
#app .topbar__back,
#checkout-backdrop .topbar__back { background: #10141a; border-color: #384151; border-radius: 9px; }
#app .notifications-badge,
#checkout-backdrop .notifications-badge { width: 8px; height: 8px; min-width: 8px; top: 5px; right: 5px; box-shadow: 0 0 9px #ff004f66; background: var(--red); }
#app .screen,
#checkout-backdrop .screen,
#app .screen.screen--home,
#checkout-backdrop .screen.screen--home,
#app .screen.screen--catalog,
#checkout-backdrop .screen.screen--catalog,
#app .screen.screen--product,
#checkout-backdrop .screen.screen--product,
#app .screen.screen--purchases,
#checkout-backdrop .screen.screen--purchases,
#app .screen.screen--profile,
#checkout-backdrop .screen.screen--profile,
#app .screen.screen--order,
#checkout-backdrop .screen.screen--order { position: relative; padding: 10px 14px calc(var(--nav-height) + var(--safe-bottom) + 26px); min-height: 0; background: transparent; overflow: visible; }
#app .page-title,
#checkout-backdrop .page-title { margin: 8px 0 16px; font-size: clamp(24px, 5.5vw, 32px); line-height: 1.15; font-weight: 800; letter-spacing: -.6px; }
#app h1,
#checkout-backdrop h1,
#app h2,
#checkout-backdrop h2,
#app h3,
#checkout-backdrop h3,
#app p,
#checkout-backdrop p { overflow-wrap: anywhere; }
#app .muted,
#checkout-backdrop .muted { color: var(--muted); }
#app .primary-button,
#checkout-backdrop .primary-button,
#app .secondary-button,
#checkout-backdrop .secondary-button { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; min-height: 44px; padding: 11px 14px; font-weight: 700; font-size: 14px; text-transform: none; border: 1px solid var(--red); border-radius: 9px; letter-spacing: 0; }
#app .primary-button,
#checkout-backdrop .primary-button { color: white; background: linear-gradient(110deg, #ff064e, #f90050); box-shadow: 0 3px 18px #ff004f22; }
#app .secondary-button,
#checkout-backdrop .secondary-button { background: transparent; color: var(--red-soft); box-shadow: none; }
#app .primary-button svg,
#checkout-backdrop .primary-button svg,
#app .secondary-button svg,
#checkout-backdrop .secondary-button svg { width: 21px; height: 21px; flex: 0 0 auto; }
#app .bottom-nav,
#checkout-backdrop .bottom-nav { left: 0; right: 0; bottom: 0; width: calc(100% - 16px); max-width: 744px; min-height: calc(var(--nav-height) + var(--safe-bottom)); height: auto; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 0; margin: 0 auto; padding: 6px 4px calc(6px + var(--safe-bottom)); border: 1px solid #202631; border-radius: 14px 14px 0 0; background: #0c1016f7; backdrop-filter: blur(16px); }
#app .nav-item,
#checkout-backdrop .nav-item { min-height: 52px; font-size: 11px; font-weight: 500; gap: 3px; padding: 4px 0; color: #b1b8ca; background: none; }
#app .nav-item svg,
#checkout-backdrop .nav-item svg { width: 24px; height: 24px; stroke-width: 1.7; }
#app .nav-item::before,
#checkout-backdrop .nav-item::before,
#app .nav-item::after,
#checkout-backdrop .nav-item::after { display: none; }
#app .nav-item.is-active,
#checkout-backdrop .nav-item.is-active { color: var(--red); background: none; }
#app .nav-item.is-active svg,
#checkout-backdrop .nav-item.is-active svg { fill: #ff004f18; filter: none; }
/* Home: character and typography are separate elements; cards reuse live catalogue covers. */
#app .approved-hero,
#checkout-backdrop .approved-hero { position: relative; display: flex; isolation: isolate; min-height: 208px; height: auto; padding: 25px 18px; margin: 0; border: 1px solid #2d2530; border-radius: 14px; overflow: hidden; background: radial-gradient(ellipse at 80% 100%,#66091f66,transparent 70%),#0c0c11; }
#app .approved-hero::before,
#checkout-backdrop .approved-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(ellipse at 18% 85%,#e4003822,transparent 55%); }
#app .approved-hero__character,
#checkout-backdrop .approved-hero__character { position: absolute; right: -8%; bottom: -1%; height: 113%; width: 70%; object-fit: contain; object-position: bottom right; z-index: -1; }
#app .approved-hero__copy,
#checkout-backdrop .approved-hero__copy { position: relative; width: 57%; max-width: 320px; padding: 0; }
#app .approved-hero__copy h1,
#checkout-backdrop .approved-hero__copy h1 { margin: 0 0 10px; font-size: clamp(24px,5.7vw,42px); line-height: 1.05; font-weight: 850; letter-spacing: -.9px; text-transform: none; text-shadow: 0 2px 8px #0009; }
#app .approved-hero__copy h1 strong,
#checkout-backdrop .approved-hero__copy h1 strong { color: var(--red); display: block; }
#app .approved-hero__copy p,
#checkout-backdrop .approved-hero__copy p { margin: 0 0 16px; color: #d4d3db; font-size: clamp(12px,2.7vw,17px); line-height: 1.45; text-shadow: 0 1px 6px #000; }
#app .approved-hero__copy .primary-button,
#checkout-backdrop .approved-hero__copy .primary-button { width: 100%; min-height: 38px; padding: 10px 6px; font-size: clamp(11px,2.5vw,15px); white-space: nowrap; }
#app .approved-section,
#checkout-backdrop .approved-section { margin-top: 16px; }
#app .approved-section__head,
#checkout-backdrop .approved-section__head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 11px; }
#app .approved-section__head h2,
#checkout-backdrop .approved-section__head h2 { margin: 0; font-size: clamp(17px,4.1vw,25px); font-weight: 800; letter-spacing: -.4px; text-transform: none; }
#app .popular-flame,
#checkout-backdrop .popular-flame { color: var(--red); }
#app .approved-section__head button,
#checkout-backdrop .approved-section__head button { display: flex; align-items: center; gap: 4px; padding: 5px 0; white-space: nowrap; font-size: 12px; color: var(--muted); border: 0; background: none; }
#app .approved-section__head button svg,
#checkout-backdrop .approved-section__head button svg { width: 17px; height: 17px; }
/* Shared two-column cards */
#app .catalog-game-grid,
#checkout-backdrop .catalog-game-grid,
#app .product-grid,
#checkout-backdrop .product-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
#app .catalog-game,
#checkout-backdrop .catalog-game { position: relative; display: flex; flex-direction: column; min-width: 0; min-height: 0; height: auto; aspect-ratio: auto; padding: 0; text-align: left; border: 1px solid #20252e; border-radius: 12px; background: #101217; overflow: hidden; }
#app .catalog-game::before,
#checkout-backdrop .catalog-game::before,
#app .catalog-game::after,
#checkout-backdrop .catalog-game::after { display: none; }
#app .catalog-game__visual,
#checkout-backdrop .catalog-game__visual { display: block; position: relative; width: 100%; aspect-ratio: 1.6; overflow: hidden; }
#app .catalog-game__art,
#checkout-backdrop .catalog-game__art,
#app .catalog-game__cover,
#checkout-backdrop .catalog-game__cover,
#app .catalog-game__fallback,
#checkout-backdrop .catalog-game__fallback { position: absolute; inset: 0; width: 100%; height: 100%; border-radius: 0; }
#app .catalog-game__art,
#checkout-backdrop .catalog-game__art { background-size: 400% 1300%; }
#app .catalog-game__cover,
#checkout-backdrop .catalog-game__cover { object-fit: cover; }
#app .catalog-game__fallback,
#checkout-backdrop .catalog-game__fallback { display: grid; place-items: center; padding: 15px; color: #697286; background: #151a23; font-size: 18px; text-align: center; }
#app .catalog-game__body,
#checkout-backdrop .catalog-game__body { position: relative; inset: auto; display: flex; flex-direction: column; justify-content: start; padding: 9px 10px 10px; gap: 3px; min-height: 88px; width: 100%; }
#app .catalog-game__body strong,
#checkout-backdrop .catalog-game__body strong { color: white; font-size: clamp(13px,3.1vw,18px); line-height: 1.2; font-weight: 700; padding-right: 4px; text-shadow: none; }
#app .catalog-game__count,
#checkout-backdrop .catalog-game__count { color: var(--muted); font-size: 11px; }
#app .catalog-game__price,
#checkout-backdrop .catalog-game__price { color: #fff; font-size: 16px; font-weight: 750; padding-right: 26px; margin-top: auto; }
#app .catalog-game__link,
#checkout-backdrop .catalog-game__link { position: absolute; right: 8px; bottom: 10px; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: #20242d; color: #dbe0ed; }
#app .catalog-game__link svg,
#checkout-backdrop .catalog-game__link svg { width: 16px; height: 16px; }
#app .catalog-head,
#checkout-backdrop .catalog-head { position: relative; display: block; height: auto; min-height: 0; margin: 0 0 14px; padding: 0; border: 0; border-radius: 0; background: none; overflow: visible; }
#app .catalog-head::before,
#checkout-backdrop .catalog-head::before,
#app .catalog-head::after,
#checkout-backdrop .catalog-head::after { display: none; }
#app .catalog-head__copy,
#checkout-backdrop .catalog-head__copy { padding: 0; }
#app .catalog-head__copy h1,
#checkout-backdrop .catalog-head__copy h1 { margin: 8px 0; }
#app .catalog-head__copy p,
#checkout-backdrop .catalog-head__copy p { margin: 0; color: var(--muted); }
#app .catalog-head--game,
#checkout-backdrop .catalog-head--game { min-height: 110px; border: 1px solid #242c37; border-radius: 12px; overflow: hidden; }
#app .catalog-game-hero__visual,
#checkout-backdrop .catalog-game-hero__visual { position: absolute; inset: 0 0 0 47%; opacity: .65; }
#app .catalog-game-hero__shade,
#checkout-backdrop .catalog-game-hero__shade { position: absolute; inset: 0; background: linear-gradient(90deg,#10141c 40%,#10141c00); }
#app .catalog-game-hero__content,
#checkout-backdrop .catalog-game-hero__content { position: relative; padding: 14px; }
#app .catalog-game-hero__content h1,
#checkout-backdrop .catalog-game-hero__content h1 { font-size: 24px; margin: 8px 0 0; max-width: 78%; line-height: 1.15; }
#app .catalog-games-back,
#checkout-backdrop .catalog-games-back { display: inline-flex; gap: 5px; align-items: center; color: #d9dce5; font-size: 12px; background: transparent; padding: 0; border: 0; }
#app .catalog-games-back svg,
#checkout-backdrop .catalog-games-back svg { width: 16px; height: 16px; transform: rotate(180deg); }
#app .search-wrap,
#checkout-backdrop .search-wrap { height: 44px; min-height: 44px; margin-bottom: 12px; border: 1px solid #303643; border-radius: 9px; background: #101319; }
#app .search-input,
#checkout-backdrop .search-input { min-width: 0; padding: 12px 36px; font-size: 14px; }
#app .search-input::placeholder,
#checkout-backdrop .search-input::placeholder { color: #8993a7; }
#app .catalog-meta,
#checkout-backdrop .catalog-meta { margin: 0 0 10px; font-size: 12px; color: var(--muted); }
#app .catalog-products-panel,
#checkout-backdrop .catalog-products-panel { padding: 0; border: 0; border-radius: 0; background: none; }
#app .product-card,
#checkout-backdrop .product-card { border: 1px solid #252a34; border-radius: 11px; min-width: 0; overflow: hidden; background: #10141b; }
#app .product-art,
#checkout-backdrop .product-art { height: auto; aspect-ratio: 1.5; min-height: 0; background: #171d28; }
#app .product-art::before,
#checkout-backdrop .product-art::before,
#app .product-art::after,
#checkout-backdrop .product-art::after,
#app .art-topline,
#checkout-backdrop .art-topline,
#app .product-art .art-code,
#checkout-backdrop .product-art .art-code { display: none; }
#app .product-art:not(:has(img:not([hidden]))) .art-code,
#checkout-backdrop .product-art:not(:has(img:not([hidden]))) .art-code { display: block; position: absolute; inset: 0; margin: auto; text-align: center; font-size: 25px; color: #6c7589; }
#app .product-card__cover,
#checkout-backdrop .product-card__cover { object-fit: cover; }
#app .product-card__body,
#checkout-backdrop .product-card__body { display: flex; flex-direction: column; min-width: 0; padding: 9px; gap: 7px; }
#app .product-card__game,
#checkout-backdrop .product-card__game { min-height: 0; margin: 0; }
#app .status-pill,
#checkout-backdrop .status-pill { display: inline-flex; align-items: center; max-width: 100%; border: 1px solid #00bb87; border-radius: 5px; padding: 3px 6px; color: #02d69d; background: #00251b55; font-size: 10px; font-weight: 650; line-height: 1.2; text-transform: none; overflow-wrap: anywhere; }
#app .status-pill--risk,
#checkout-backdrop .status-pill--risk { color: #ffc079; border-color: #b38248; background: #33200d55; }
#app .product-card__title,
#checkout-backdrop .product-card__title { font-size: 14px; line-height: 1.25; min-height: 35px; font-weight: 750; }
#app .product-card__features,
#checkout-backdrop .product-card__features { display: flex; flex-wrap: wrap; gap: 4px; min-height: 18px; }
#app .product-card__features span,
#checkout-backdrop .product-card__features span { font-size: 9px; color: #c2c8d5; background: #232934; padding: 2px 5px; border-radius: 4px; }
#app .product-card__footer,
#checkout-backdrop .product-card__footer { margin-top: auto; gap: 4px; }
#app .price-from b,
#checkout-backdrop .price-from b { font-size: 15px; color: white; }
#app .round-arrow,
#checkout-backdrop .round-arrow { width: 24px; height: 24px; border: 0; background: #252934; color: #fff; }
#app .round-arrow__label,
#checkout-backdrop .round-arrow__label { display: none; }
/* Product page is deliberately scrollable, with two fixed rows at the bottom. */
#app .product-page,
#checkout-backdrop .product-page,
#app .product-page__body,
#checkout-backdrop .product-page__body { margin: 0; padding: 0; background: none; }
#app .screen.screen--product,
#checkout-backdrop .screen.screen--product { padding-bottom: calc(var(--nav-height) + var(--safe-bottom) + 100px); }
#app .product-gallery,
#checkout-backdrop .product-gallery { margin: 0 0 12px; border: 0; border-radius: 0; background: none; }
#app .product-gallery__stage,
#checkout-backdrop .product-gallery__stage { position: relative; height: auto; aspect-ratio: 2 / 1; min-height: 0; border: 1px solid #2b3240; border-radius: 10px; background: #111721; overflow: hidden; }
#app .product-gallery__image,
#checkout-backdrop .product-gallery__image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
#app .gallery-placeholder,
#checkout-backdrop .gallery-placeholder { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; align-items: center; color: #68758d; font-size: 32px; }
#app .gallery-placeholder small,
#checkout-backdrop .gallery-placeholder small { font-size: 12px; }
#app .gallery-expand,
#checkout-backdrop .gallery-expand { position: absolute; top: 8px; right: 8px; width: 30px; height: 30px; border: 1px solid #3c4554; border-radius: 6px; background: #090e18c9; }
#app .product-gallery__counter,
#checkout-backdrop .product-gallery__counter { position: absolute; bottom: 8px; right: 8px; padding: 3px 8px; border-radius: 5px; font-size: 11px; background: #080c13df; }
#app .product-gallery__dots,
#checkout-backdrop .product-gallery__dots { display: flex; justify-content: start; gap: 7px; padding: 8px 0 0; margin: 0; overflow-x: auto; }
#app .gallery-dot,
#checkout-backdrop .gallery-dot { width: 31%; flex: 0 0 31%; height: auto; aspect-ratio: 2 / 1; padding: 0; border: 1px solid #303644; border-radius: 7px; background: #141b25; opacity: .8; overflow: hidden; }
#app .gallery-dot img,
#checkout-backdrop .gallery-dot img { display: block; width: 100%; height: 100%; object-fit: cover; }
#app .gallery-dot.is-active,
#checkout-backdrop .gallery-dot.is-active { width: 31%; background: #141b25; border: 2px solid var(--red); opacity: 1; box-shadow: 0 0 10px #ff004f22; }
#app .gallery-arrow,
#checkout-backdrop .gallery-arrow { width: 28px; height: 34px; background: #090e18aa; border-color: #3c4554; }
#app .product-heading > p,
#checkout-backdrop .product-heading > p { color: var(--muted); font-size: 12px; margin: 0 0 6px; }
#app .product-heading > div,
#checkout-backdrop .product-heading > div { display: flex; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: wrap; }
#app .product-heading h1,
#checkout-backdrop .product-heading h1 { font-size: 24px; line-height: 1.15; font-weight: 800; margin: 0; flex: 1 1 160px; }
#app .product-about,
#checkout-backdrop .product-about { margin: 8px 0 16px; }
#app .product-about p,
#checkout-backdrop .product-about p { color: #b9c1d2; font-size: 14px; line-height: 1.5; margin: 0; white-space: normal; }
#app .product-tariffs h2,
#checkout-backdrop .product-tariffs h2 { margin: 0 0 9px; font-size: 18px; }
#app .tariff-list,
#checkout-backdrop .tariff-list { display: grid; grid-template-columns: repeat(auto-fit,minmax(92px,1fr)); gap: 7px; margin-bottom: 14px; }
#app .tariff-card,
#checkout-backdrop .tariff-card { display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 7px; min-height: 100px; min-width: 0; padding: 10px 5px; border: 1px solid #303746; border-radius: 9px; background: #0e121a; }
#app .tariff-card__copy,
#checkout-backdrop .tariff-card__copy { padding: 0; text-align: center; }
#app .tariff-card__copy b,
#checkout-backdrop .tariff-card__copy b { color: #abb4c7; font-size: 12px; font-weight: 500; }
#app .tariff-card__price,
#checkout-backdrop .tariff-card__price { font-size: 19px; line-height: 1.1; }
#app .tariff-card__radio,
#checkout-backdrop .tariff-card__radio { display: block; position: relative; width: 20px; height: 20px; border: 2px solid #444c60; border-radius: 50%; margin: 0; }
#app .tariff-card.is-selected,
#checkout-backdrop .tariff-card.is-selected { border: 2px solid var(--red); padding: 9px 4px; background: linear-gradient(135deg,#3d0016,#130b14); box-shadow: 0 0 15px #ff004f24; }
#app .tariff-card.is-selected .tariff-card__radio,
#checkout-backdrop .tariff-card.is-selected .tariff-card__radio { border-color: var(--red); background: var(--red); }
#app .tariff-card.is-selected .tariff-card__radio::after,
#checkout-backdrop .tariff-card.is-selected .tariff-card__radio::after { content: "✓"; position: absolute; inset: -2px; display: grid; place-items: center; color: #fff; font-size: 13px; width: auto; height: auto; background: none; transform: none; }
#app .product-accordion,
#checkout-backdrop .product-accordion { border: 1px solid #303746; border-radius: 9px; margin-bottom: 9px; background: #0d121a; }
#app .product-accordion summary,
#checkout-backdrop .product-accordion summary { display: flex; align-items: center; gap: 10px; min-height: 46px; padding: 10px 12px; list-style: none; cursor: pointer; color: #bcc4d7; font-size: 14px; }
#app .product-accordion summary::-webkit-details-marker,
#checkout-backdrop .product-accordion summary::-webkit-details-marker { display: none; }
#app .product-accordion summary svg,
#checkout-backdrop .product-accordion summary svg { width: 21px; height: 21px; flex: 0 0 auto; }
#app .product-accordion summary span,
#checkout-backdrop .product-accordion summary span { flex: 1; }
#app .product-accordion summary > svg:last-child,
#checkout-backdrop .product-accordion summary > svg:last-child { transform: rotate(90deg); width: 16px; }
#app .product-accordion[open] summary > svg:last-child,
#checkout-backdrop .product-accordion[open] summary > svg:last-child { transform: rotate(-90deg); }
#app .product-accordion > p,
#checkout-backdrop .product-accordion > p { margin: 0; padding: 6px 12px 14px; color: var(--muted); }
#app .product-accordion .content-block,
#checkout-backdrop .product-accordion .content-block { margin: 0; padding: 10px; border: 0; box-shadow: none; background: none; }
#app .product-features__heading,
#checkout-backdrop .product-features__heading { display: none; }
#app .product-features__categories,
#checkout-backdrop .product-features__categories { display: flex; overflow-x: auto; }
#app .product-features__category,
#checkout-backdrop .product-features__category { flex: 0 0 auto; font-size: 11px; }
#app .product-guide-card,
#checkout-backdrop .product-guide-card { display: flex; align-items: center; width: 100%; gap: 11px; padding: 17px 13px; margin: 12px 0; border: 1px solid var(--red); border-radius: 11px; background: linear-gradient(110deg,#210b16,#0e131b); color: white; text-align: left; }
#app .product-guide-card > svg,
#checkout-backdrop .product-guide-card > svg { width: 28px; height: 28px; flex: 0 0 auto; }
#app .product-guide-card > svg:last-child,
#checkout-backdrop .product-guide-card > svg:last-child { margin-left: auto; width: 19px; }
#app .product-guide-card span,
#checkout-backdrop .product-guide-card span { min-width: 0; }
#app .product-guide-card b,
#checkout-backdrop .product-guide-card b { display: block; font-size: 15px; }
#app .product-guide-card small,
#checkout-backdrop .product-guide-card small { display: block; color: var(--muted); font-size: 11px; margin-top: 3px; }
#app .product-reviews-card,
#checkout-backdrop .product-reviews-card { padding: 16px 13px; border: 1px solid #303746; border-radius: 11px; background: #0d121a; }
#app .product-reviews-card > div,
#checkout-backdrop .product-reviews-card > div { display: flex; gap: 10px; align-items: start; }
#app .product-reviews-card svg,
#checkout-backdrop .product-reviews-card svg { width: 26px; height: 26px; flex: 0 0 auto; }
#app .product-reviews-card h2,
#checkout-backdrop .product-reviews-card h2 { margin: 0; font-size: 17px; }
#app .product-reviews-card p,
#checkout-backdrop .product-reviews-card p { margin: 5px 0 14px; color: var(--muted); font-size: 12px; }
#app .product-cta,
#checkout-backdrop .product-cta { position: fixed; z-index: 12; bottom: calc(var(--nav-height) + var(--safe-bottom)); left: 0; right: 0; width: calc(100% - 16px); max-width: 744px; margin: auto; padding: 9px 12px; min-height: 65px; border: 1px solid #30313e; border-radius: 12px; background: #0e1219f7; backdrop-filter: blur(16px); display: flex; align-items: center; gap: 16px; }
#app .product-selected-price,
#checkout-backdrop .product-selected-price { display: flex; flex-direction: column; flex: 1; min-width: 0; }
#app .product-selected-price span,
#checkout-backdrop .product-selected-price span { color: var(--muted); font-size: 11px; }
#app .product-selected-price strong,
#checkout-backdrop .product-selected-price strong { font-size: 21px; }
#app .product-buy-button,
#checkout-backdrop .product-buy-button { flex: 0 1 55%; min-height: 43px; }
/* Purchases and profile */
#app .purchases-approved__hero,
#checkout-backdrop .purchases-approved__hero,
#app .profile-approved__hero,
#checkout-backdrop .profile-approved__hero { display: none; }
#app .purchases-filters,
#checkout-backdrop .purchases-filters { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 0; margin: 0 0 14px; width: 100%; border: 1px solid #343846; border-radius: 10px; overflow: hidden; background: #10131a; padding: 0; }
#app .purchases-filter,
#checkout-backdrop .purchases-filter { width: 100%; max-width: none; height: 43px; min-width: 0; padding: 10px 6px; justify-content: center; border: 0; border-radius: 8px; background: none; color: #adb5c7; font-size: 14px; }
#app .purchases-filter.is-active,
#checkout-backdrop .purchases-filter.is-active { border: 1px solid var(--red); color: #fff; background: linear-gradient(110deg,#3e0019,#200b19); box-shadow: none; }
#app .purchases-filter b,
#checkout-backdrop .purchases-filter b { font-size: 10px; min-width: 17px; background: #ffffff12; color: inherit; }
#app .purchase-list,
#checkout-backdrop .purchase-list { display: grid; gap: 13px; }
#app .purchase-card,
#checkout-backdrop .purchase-card { padding: 13px; border: 1px solid #303746; border-radius: 12px; background: #0c121a; box-shadow: none; }
#app .purchase-card::before,
#checkout-backdrop .purchase-card::before,
#app .purchase-card::after,
#checkout-backdrop .purchase-card::after { display: none; }
#app .purchase-card__top,
#checkout-backdrop .purchase-card__top { display: flex; align-items: center; gap: 9px; }
#app .purchase-card__icon,
#checkout-backdrop .purchase-card__icon { width: 55px; height: 49px; min-width: 55px; border-radius: 7px; overflow: hidden; border: 1px solid #343b4a; background: #1b2433; color: #939fb6; font-size: 15px; }
#app .purchase-card__icon img,
#checkout-backdrop .purchase-card__icon img { width: 100%; height: 100%; object-fit: cover; }
#app .purchase-card__copy,
#checkout-backdrop .purchase-card__copy { flex: 1; min-width: 0; }
#app .purchase-card__copy h3,
#checkout-backdrop .purchase-card__copy h3 { margin: 0; font-size: 15px; line-height: 1.25; }
#app .purchase-card__copy p,
#checkout-backdrop .purchase-card__copy p { margin: 3px 0 0; font-size: 12px; color: var(--muted); }
#app .purchase-card__price,
#checkout-backdrop .purchase-card__price { font-size: 18px; white-space: nowrap; margin-left: auto; }
#app .purchase-info,
#checkout-backdrop .purchase-info { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 7px; margin: 10px 0; color: #8491a7; font-size: 10px; }
#app .order-state,
#checkout-backdrop .order-state { padding: 3px 6px; font-size: 9px; border: 1px solid #167255; color: #09dca0; background: #07392b55; }
#app .order-state--progress,
#checkout-backdrop .order-state--progress { color: #ffc27f; border-color: #6c4d2c; background: #3b270c55; }
#app .purchase-metadata,
#checkout-backdrop .purchase-metadata { display: grid; gap: 5px; margin: 10px 0; font-size: 11px; }
#app .purchase-metadata div,
#checkout-backdrop .purchase-metadata div { display: flex; justify-content: space-between; gap: 10px; }
#app .purchase-metadata dt,
#checkout-backdrop .purchase-metadata dt { color: var(--muted); }
#app .purchase-metadata dd,
#checkout-backdrop .purchase-metadata dd { margin: 0; text-align: right; }
#app .purchase-key,
#checkout-backdrop .purchase-key { display: flex; align-items: center; gap: 8px; padding: 9px; margin: 12px 0; border: 1px solid #303c4b; border-radius: 7px; background: #0b1017; }
#app .purchase-key code,
#checkout-backdrop .purchase-key code { min-width: 0; flex: 1; overflow-wrap: anywhere; font-size: 12px; }
#app .purchase-key button,
#checkout-backdrop .purchase-key button { flex: 0 0 auto; padding: 6px; border: 0; background: #1a2432; border-radius: 5px; color: #b5bed0; font-size: 10px; }
#app .purchase-actions,
#checkout-backdrop .purchase-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
#app .purchase-actions .primary-button,
#checkout-backdrop .purchase-actions .primary-button,
#app .purchase-actions .secondary-button,
#checkout-backdrop .purchase-actions .secondary-button { padding: 8px 5px; font-size: 11px; min-height: 37px; gap: 4px; }
#app .purchase-actions svg,
#checkout-backdrop .purchase-actions svg { width: 16px; height: 16px; }
#app .purchase-actions > p,
#checkout-backdrop .purchase-actions > p { grid-column: 1/-1; margin: 5px 0; font-size: 12px; }
#app .purchase-product-link,
#checkout-backdrop .purchase-product-link { grid-column: 1/-1; display: flex; align-items: center; justify-content: center; gap: 8px; padding: 4px; border: 0; background: none; color: var(--muted); font-size: 11px; }
#app .purchase-product-link svg,
#checkout-backdrop .purchase-product-link svg { width: 16px; height: 16px; }
#app .profile-approved__account,
#checkout-backdrop .profile-approved__account { display: flex; gap: 14px; padding: 16px 12px; margin: 0 0 12px; border: 1px solid #2d3c4e; border-radius: 10px; background: #0a121b; min-height: 0; }
#app .profile-approved__avatar,
#checkout-backdrop .profile-approved__avatar { width: 60px; height: 60px; flex: 0 0 60px; border: 1px solid #41536b; background: #26364b; font-size: 33px; box-shadow: none; }
#app .profile-approved__identity,
#checkout-backdrop .profile-approved__identity { min-width: 0; }
#app .profile-approved__identity h2,
#checkout-backdrop .profile-approved__identity h2 { margin: 0; font-size: 19px; line-height: 1.2; }
#app .profile-approved__identity p,
#checkout-backdrop .profile-approved__identity p { margin: 4px 0; font-size: 14px; color: #afc5e7; }
#app .profile-approved__identity > span,
#checkout-backdrop .profile-approved__identity > span { color: #afc5e7; font-size: 11px; }
#app .profile-balance,
#checkout-backdrop .profile-balance { padding: 15px 12px 12px; border: 1px solid #d80048; border-radius: 11px; margin-bottom: 10px; background: radial-gradient(ellipse at 10% 0,#65062466,transparent 85%),#160b17; }
#app .profile-balance > div,
#checkout-backdrop .profile-balance > div { display: flex; align-items: center; gap: 18px; margin: 0 0 10px; padding-left: 8px; }
#app .profile-balance svg,
#checkout-backdrop .profile-balance svg { width: 35px; height: 35px; color: var(--red); }
#app .profile-balance span,
#checkout-backdrop .profile-balance span { display: flex; flex-direction: column; }
#app .profile-balance b,
#checkout-backdrop .profile-balance b { font-size: 15px; }
#app .profile-balance strong,
#checkout-backdrop .profile-balance strong { font-size: 30px; line-height: 1.15; margin-top: 4px; }
#app .profile-approved__menu,
#checkout-backdrop .profile-approved__menu { display: grid; gap: 8px; margin: 0 0 8px; }
#app .profile-approved__menu button,
#checkout-backdrop .profile-approved__menu button { display: flex; align-items: center; gap: 12px; min-height: 45px; width: 100%; padding: 12px; border: 1px solid #2e3c4d; border-radius: 9px; background: #0b141e; color: #f0f2f7; text-align: left; box-shadow: none; }
#app .profile-approved__menu button > span,
#checkout-backdrop .profile-approved__menu button > span { width: 24px; height: 24px; color: #f0f2f7; background: none; border: 0; padding: 0; }
#app .profile-approved__menu button > svg,
#checkout-backdrop .profile-approved__menu button > svg { margin-left: auto; width: 15px; height: 15px; }
#app .profile-approved__menu b,
#checkout-backdrop .profile-approved__menu b { font-size: 14px; }
#app .profile-approved__menu small,
#checkout-backdrop .profile-approved__menu small { display: block; font-size: 11px; color: var(--muted); margin-top: 2px; }
#app .profile-invite,
#checkout-backdrop .profile-invite { padding: 12px; margin: 8px 0; border: 1px solid #2e3c4d; border-radius: 9px; background: #0b141e; }
#app .profile-invite > div:first-child,
#checkout-backdrop .profile-invite > div:first-child { display: flex; gap: 12px; align-items: center; margin-bottom: 10px; }
#app .profile-invite svg,
#checkout-backdrop .profile-invite svg { width: 28px; height: 28px; }
#app .profile-invite h2,
#checkout-backdrop .profile-invite h2 { font-size: 17px; margin: 0; }
#app .profile-invite p,
#checkout-backdrop .profile-invite p { color: #afbdd4; font-size: 12px; margin: 2px 0; }
#app .profile-invite label,
#checkout-backdrop .profile-invite label { display: block; color: #b6c4de; font-size: 11px; margin-bottom: 4px; }
#app .referral-code-field,
#checkout-backdrop .referral-code-field { display: flex; align-items: center; justify-content: space-between; gap: 10px; border: 1px solid #303c4d; padding: 7px 9px; border-radius: 7px; margin-bottom: 8px; }
#app .referral-code-field code,
#checkout-backdrop .referral-code-field code { overflow-wrap: anywhere; min-width: 0; }
#app .referral-code-field button,
#checkout-backdrop .referral-code-field button { display: grid; place-items: center; width: 29px; height: 29px; flex: 0 0 auto; border: 1px solid #354253; border-radius: 6px; color: #d8e2f0; background: #131d29; }
#app .referral-code-field button svg,
#checkout-backdrop .referral-code-field button svg { width: 18px; height: 18px; }
#app .profile-invite .secondary-button,
#checkout-backdrop .profile-invite .secondary-button { min-height: 34px; padding: 6px; font-size: 13px; }
/* Existing checkout transitions still use the same accessible modal and server APIs. */
#checkout-backdrop { background: #06080b; align-items: start; padding: 0; overflow-y: auto; backdrop-filter: none; -webkit-backdrop-filter: none; scroll-padding-bottom: calc(var(--nav-height) + var(--safe-bottom) + 24px); }
#checkout-sheet { width: 100%; max-width: 760px; max-height: none; min-height: 100dvh; margin: 0 auto; border: 0; border-radius: 0; background: var(--bg); padding: calc(12px + var(--safe-top) + var(--content-top)) 14px calc(var(--nav-height) + var(--safe-bottom) + 24px); overflow: visible; }
#checkout-sheet .sheet-handle { display: none; }
#app .checkout-head,
#checkout-backdrop .checkout-head { position: relative; margin: 0 0 16px; padding-top: 54px; }
#app .checkout-eyebrow,
#checkout-backdrop .checkout-eyebrow { display: block; position: absolute; top: 0; left: calc(50% - 59px); width: 118px; height: 46px; }
#app .checkout-head h2,
#checkout-backdrop .checkout-head h2 { font-size: 25px; line-height: 1.15; margin: 5px 0 7px; }
#app .checkout-head p,
#checkout-backdrop .checkout-head p { color: var(--muted); font-size: 12px; }
#app .sheet-close,
#checkout-backdrop .sheet-close { position: absolute; top: 3px; left: 0; width: 38px; height: 38px; border: 1px solid #384151; border-radius: 9px; background: #11151c; }
#app .checkout-item,
#checkout-backdrop .checkout-item { padding: 12px; border: 1px solid #303746; border-radius: 11px; background: #0d121b; margin: 0 0 16px; }
#app .checkout-item__art,
#checkout-backdrop .checkout-item__art { width: 55px; height: 50px; flex: 0 0 55px; overflow: hidden; background: #1b2534; }
#app .checkout-item__art img,
#checkout-backdrop .checkout-item__art img { width: 100%; height: 100%; object-fit: cover; }
#app .checkout-item__copy h3,
#checkout-backdrop .checkout-item__copy h3 { font-size: 15px; }
#app .checkout-item__copy p,
#checkout-backdrop .checkout-item__copy p { font-size: 12px; }
#app .checkout-item__price,
#checkout-backdrop .checkout-item__price { font-size: 17px; }
#app .promo-field,
#checkout-backdrop .promo-field { display: flex; gap: 7px; border: 0; background: transparent; padding: 0; }
#app .promo-input,
#checkout-backdrop .promo-input { min-width: 0; flex: 1; min-height: 44px; border: 1px solid #303746; border-radius: 8px; background: #10141c; font-size: 16px; }
#app .promo-apply,
#checkout-backdrop .promo-apply { min-width: 98px; border: 1px solid var(--red); border-radius: 8px; background: transparent; color: var(--red); font-size: 12px; }
#app .checkout-methods,
#checkout-backdrop .checkout-methods { margin-top: 18px; }
#app .checkout-methods h3,
#checkout-backdrop .checkout-methods h3 { font-size: 18px; }
#app .checkout-method,
#checkout-backdrop .checkout-method { border-color: #303746; border-radius: 9px; background: #0c121a; }
#app .checkout-method.is-selected,
#checkout-backdrop .checkout-method.is-selected { border-color: var(--red); background: #250c1a; }
#app .checkout-totals,
#checkout-backdrop .checkout-totals { margin: 18px 0 10px; padding: 15px; border: 1px solid #303746; border-radius: 10px; background: #0d121a; }
#app .total-row--final,
#checkout-backdrop .total-row--final { padding-top: 12px; font-size: 18px; }
#app .total-row--final strong,
#checkout-backdrop .total-row--final strong { font-size: 26px; }
#app .checkout-note,
#checkout-backdrop .checkout-note { color: var(--muted); font-size: 11px; }
#app .checkout-submit,
#checkout-backdrop .checkout-submit { margin-top: 14px; }
#app .checkout-nav,
#checkout-backdrop .checkout-nav { z-index: 42; }
#app .review-list,
#checkout-backdrop .review-list,
#app .promo-list,
#checkout-backdrop .promo-list { display: grid; gap: 10px; margin: 14px 0; }
#app .review-card,
#checkout-backdrop .review-card,
#app .personal-promo-card,
#checkout-backdrop .personal-promo-card { background: #0d141e; border: 1px solid #2d394a; border-radius: 10px; padding: 14px; }
#app .review-card header,
#checkout-backdrop .review-card header,
#app .personal-promo-card header,
#checkout-backdrop .personal-promo-card header { display: flex; justify-content: space-between; align-items: center; gap: 9px; flex-wrap: wrap; }
#app .review-card header span,
#checkout-backdrop .review-card header span { color: #ffb44d; }
#app .review-card time,
#checkout-backdrop .review-card time { color: var(--muted); font-size: 11px; }
#app .review-card p,
#checkout-backdrop .review-card p { white-space: pre-wrap; margin: 10px 0 0; }
#app .personal-promo-card code,
#checkout-backdrop .personal-promo-card code { color: #fff; font-size: 16px; overflow-wrap: anywhere; }
#app .personal-promo-card p,
#checkout-backdrop .personal-promo-card p { color: var(--muted); font-size: 12px; margin: 8px 0 0; }
#app .personal-promo-card button,
#checkout-backdrop .personal-promo-card button { width: auto; min-height: 32px; padding: 5px 8px; font-size: 11px; }
#app .promo-section-title,
#checkout-backdrop .promo-section-title { font-size: 18px; margin: 20px 0 8px; }
#app .empty-state,
#checkout-backdrop .empty-state { border: 1px solid #283343; background: #0e141d; border-radius: 12px; min-height: 220px; }
@media (hover: hover) and (pointer: fine) {
  #app .catalog-game,
#checkout-backdrop .catalog-game,
#app .product-card,
#checkout-backdrop .product-card,
#app .purchase-card,
#checkout-backdrop .purchase-card,
#app .profile-approved__menu button,
#checkout-backdrop .profile-approved__menu button { transition: transform .18s, border-color .18s, box-shadow .18s; }
  #app .catalog-game:hover,
#checkout-backdrop .catalog-game:hover,
#app .product-card:hover,
#checkout-backdrop .product-card:hover,
#app .purchase-card:hover,
#checkout-backdrop .purchase-card:hover,
#app .profile-approved__menu button:hover,
#checkout-backdrop .profile-approved__menu button:hover { transform: translateY(-2px); border-color: #8d1b43; box-shadow: 0 5px 18px #ff004f10; }
}
@media (hover: none) { #app .catalog-game:active,
#checkout-backdrop .catalog-game:active,
#app .product-card:active,
#checkout-backdrop .product-card:active,
#app .primary-button:active,
#checkout-backdrop .primary-button:active,
#app .secondary-button:active,
#checkout-backdrop .secondary-button:active,
#app .profile-approved__menu button:active,
#checkout-backdrop .profile-approved__menu button:active { transform: scale(.98); filter: brightness(1.08); } }
@media (min-width: 600px) {
  #app .approved-hero,
#checkout-backdrop .approved-hero { min-height: 330px; padding: 45px 30px; }
  #app .approved-hero__character,
#checkout-backdrop .approved-hero__character { right: 0; height: 118%; width: 58%; }
  #app .approved-hero__copy,
#checkout-backdrop .approved-hero__copy { width: 56%; }
  #app .catalog-game__body,
#checkout-backdrop .catalog-game__body { min-height: 108px; padding: 14px; }
  #app .catalog-game__count,
#checkout-backdrop .catalog-game__count { font-size: 14px; }
  #app .catalog-game__price,
#checkout-backdrop .catalog-game__price { font-size: 21px; }
  #app .catalog-game__link,
#checkout-backdrop .catalog-game__link { width: 32px; height: 32px; }
  #app .product-card__title,
#checkout-backdrop .product-card__title { font-size: 20px; }
  #app .product-card__body,
#checkout-backdrop .product-card__body { padding: 14px; }
  #app .product-card__features span,
#checkout-backdrop .product-card__features span { font-size: 12px; }
  #app .tariff-list,
#checkout-backdrop .tariff-list { grid-template-columns: repeat(auto-fit,minmax(130px,1fr)); }
}
@media (max-width: 350px) {
  #app .screen,
#checkout-backdrop .screen { padding-left: 10px; padding-right: 10px; }
  #app .approved-hero,
#checkout-backdrop .approved-hero { padding: 22px 12px; min-height: 200px; }
  #app .approved-hero__copy,
#checkout-backdrop .approved-hero__copy { width: 60%; }
  #app .approved-hero__copy h1,
#checkout-backdrop .approved-hero__copy h1 { font-size: 24px; }
  #app .approved-section__head h2,
#checkout-backdrop .approved-section__head h2 { font-size: 16px; }
  #app .approved-section__head button,
#checkout-backdrop .approved-section__head button { font-size: 11px; }
  #app .catalog-game-grid,
#checkout-backdrop .catalog-game-grid,
#app .product-grid,
#checkout-backdrop .product-grid { gap: 8px; }
  #app .purchase-card,
#checkout-backdrop .purchase-card { padding: 10px; }
  #app .purchase-card__price,
#checkout-backdrop .purchase-card__price { font-size: 15px; }
  #app .purchase-card__copy h3,
#checkout-backdrop .purchase-card__copy h3 { font-size: 13px; }
  #app .product-heading h1,
#checkout-backdrop .product-heading h1 { font-size: 22px; }
  #app .tariff-list,
#checkout-backdrop .tariff-list { grid-template-columns: repeat(auto-fit,minmax(86px,1fr)); }
}
@media (prefers-reduced-motion: reduce) { *,
*::before,
*::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }
/* Keep fixed controls clear of the on-screen keyboard; checkout scrolls naturally. */
body.keyboard-open .bottom-nav { visibility: hidden; }
body.keyboard-open .product-cta { visibility: hidden; }
#app .checkout-head .sheet-close svg,
#checkout-backdrop .checkout-head .sheet-close svg { transform: rotate(180deg); }
#app .checkout-bell,
#checkout-backdrop .checkout-bell { position: absolute; top: 3px; right: 0; width: 38px; height: 38px; border-radius: 9px; background: #11151c; border-color: #384151; }
/* Notification dialogs must be above the full-page checkout. */
#app .notifications-backdrop,
#checkout-backdrop .notifications-backdrop { z-index: 60; }

#app .nav-item span,
#checkout-backdrop .nav-item span { font-size: 11px; font-weight: 500; }

/* Retire full-screen prototype artwork and screen-specific hidden headers. */
#app .topbar { position: sticky; height: auto; display: grid; pointer-events: auto; }
#app .topbar__back { display: grid; }
#app .brand { display: block; }
#app .catalog-approved, #app .purchases-approved, #app .profile-approved { min-height: 0; padding-bottom: 0; background: none; }
#app .catalog-approved::before, #app .purchases-approved::before, #app .profile-approved::before { display: none; }
#app .catalog-head { aspect-ratio: auto; }
#app .catalog-head__copy { display: block; }
#app .catalog-head--game { min-height: 110px; }
#app .catalog-products-panel { margin: 0; }
#app .catalog-meta { margin: 0 0 10px; }
#app .catalog-meta b { color: var(--muted); font-size: 12px; font-weight: 500; }
#app .approved-section { padding: 0; border: 0; border-radius: 0; background: none; }
#app .approved-hero__copy h1 { color: #fff; }
#app .approved-hero::after { display: none; }
#app .approved-hero__copy p { max-width: none; }
#app .product-gallery__stage::before, #app .gallery-dot::before { display: none; }
#app .catalog-approved .search-wrap { margin: 0 0 12px; }
#app .catalog-approved .search-input { background: transparent; border: 0; height: 42px; padding: 12px 36px; font-size: 14px; }
#app .product-accordion .content-block { background: none; border: 0; box-shadow: none; margin: 0; }
#app .primary-button svg, #app .secondary-button svg, #checkout-backdrop .primary-button svg, #checkout-backdrop .secondary-button svg { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
#app .topbar__notifications { display: grid; }
#app .brand-original, #checkout-backdrop .brand-original { mix-blend-mode: screen; }
#app .nav-item { border: 0; }
#app .nav-item[data-route="home"].is-active svg path:first-child, #app .nav-item[data-route="catalog"].is-active svg rect { fill: currentColor; }
#app svg:not(.brand-original), #checkout-backdrop svg:not(.brand-original) { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
#app .catalog-game-hero__content { display: block; height: auto; min-height: 0; }
#app .catalog-games-back { min-height: 0; margin: 0; box-shadow: none; }
#app .catalog-games-back svg { padding: 0; background: none; border-radius: 0; }

/* Keep viewport controls independent of the retired drawer transform. */
#checkout-sheet { transform: none; box-shadow: none; }
#checkout-sheet::before { display: none; }
#checkout-backdrop .checkout-submit { scroll-margin-bottom: calc(var(--nav-height) + var(--safe-bottom) + 24px); }
#app .catalog-game-hero__visual .catalog-game__art,
#app .catalog-game-hero__visual .catalog-game__cover { position: absolute; inset: 0; width: 100%; height: 100%; border-radius: 0; }
#app .catalog-game-hero__visual .catalog-game__art { background-size: 400% 1300%; }
#app .catalog-game-hero__visual { width: 53%; height: 100%; aspect-ratio: auto; border: 0; border-radius: 0; box-shadow: none; background: none; z-index: 0; }
#app .catalog-game-hero__shade { z-index: 1; }
#app .profile-approved__menu button > span { flex: 0 0 24px; }
#app .profile-approved__menu button > span > svg { width: 24px; height: 24px; display: block; }
#app .profile-approved__menu button b { white-space: normal; }
#app .approved-hero__character { top: 0; bottom: auto; object-position: top right; }
