/* iGame mobile application layer. Desktop storefront keeps its existing layout. */
.catalog-mobile-filters { display: none; }
@media (max-width: 700px) {
  :root { color-scheme: dark; }
  html, body.apple-layout { background: #000 !important; color: #f5f5f7 !important; }
  body.apple-layout { font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", system-ui, sans-serif; -webkit-font-smoothing: antialiased; }
  .apple-layout main, .apple-layout main > div:not(.ig-home), .apple-layout .ig-home, .apple-layout .ig-section { background: #000 !important; }
  .apple-layout:not(.ig-auth-layout) { padding-bottom: calc(74px + env(safe-area-inset-bottom)); }
  .apple-layout .ig-container, .apple-layout .apple-shell { width: calc(100% - 32px); }
  .apple-layout .ig-item-rain { display: none !important; }

  /* A native-feeling navigation bar and five equal tabs. */
  .apple-layout .ig-header { background: #09090be8 !important; border-bottom: 1px solid #2c2c2e !important; box-shadow: none !important; -webkit-backdrop-filter: blur(24px) saturate(145%); backdrop-filter: blur(24px) saturate(145%); }
  .apple-layout .ig-header-inner { width: calc(100% - 32px); height: 58px; grid-template-columns: 48px minmax(0,1fr) 48px; }
  .apple-layout .ig-header-inner > .ig-mobile-only[data-open="menu"], .apple-layout .ig-header .ig-mobile-profile { width: 38px; height: 38px; border: 0 !important; border-radius: 50%; background: #2c2c2e !important; color: #f5f5f7 !important; }
  .apple-layout .ig-header-inner > a .wordmark { font-size: 23px; font-weight: 730; letter-spacing: -.06em; }
  .apple-layout .ig-mobile-bottom-nav { left: 0; right: 0; bottom: 0; width: 100%; display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: 0; padding: 5px 5px calc(5px + env(safe-area-inset-bottom)); border: 0 !important; border-top: 1px solid #38383a !important; border-radius: 0; background: #18181bcc !important; box-shadow: none !important; -webkit-backdrop-filter: blur(28px) saturate(160%); backdrop-filter: blur(28px) saturate(160%); }
  .apple-layout .ig-mobile-bottom-nav a, .apple-layout .ig-mobile-bottom-nav a:nth-child(3), .apple-layout .ig-mobile-bottom-nav a:nth-child(3).active { position: relative; top: auto; left: auto; display: grid; place-items: center; align-content: center; justify-self: stretch; gap: 3px; width: auto; height: 53px; min-height: 53px; margin: 0; padding: 2px; border: 0 !important; border-radius: 10px; background: transparent !important; box-shadow: none !important; transform: none; color: #98989f !important; font-size: 10px; font-weight: 560; letter-spacing: -.01em; }
  .apple-layout .ig-mobile-bottom-nav a svg, .apple-layout .ig-mobile-bottom-nav a:nth-child(3) svg { width: 22px; height: 22px; color: currentColor !important; stroke-width: 1.8; }
  .apple-layout .ig-mobile-bottom-nav a:nth-child(3) span { display: block; font-size: 10px; }
  .apple-layout .ig-mobile-bottom-nav a.active, .apple-layout .ig-mobile-bottom-nav a:nth-child(3).active { color: #0a84ff !important; background: transparent !important; font-weight: 680; }
  .apple-layout .ig-mobile-bottom-nav a.active svg, .apple-layout .ig-mobile-bottom-nav a:nth-child(3).active svg { color: #0a84ff !important; stroke-width: 2; }
  .apple-layout .ig-mobile-bottom-nav a.active::after { display: none; }
  .apple-layout .ig-chat-launcher { display: none !important; }

  /* Today / Discover. */
  .apple-layout .home-page { background: #000 !important; }
  .apple-layout .home-page > .ig-home-search-wrap, .apple-layout .home-page > .ig-home-intro { width: calc(100% - 32px); }
  .apple-layout .home-page > .ig-home-search-wrap { padding-top: 22px; }
  .apple-layout .home-page .ig-home-mobile-greeting { gap: 3px; margin-bottom: 17px; }
  .apple-layout .home-page .ig-home-mobile-greeting small { color: #8e8e93; font-size: 10px; font-weight: 700; letter-spacing: .12em; }
  .apple-layout .home-page .ig-home-mobile-greeting strong { color: #f5f5f7; font-size: 30px; font-weight: 760; line-height: 1.1; letter-spacing: -.055em; }
  .apple-layout .home-page .ig-home-search { height: 50px; min-height: 50px; padding: 5px 7px 5px 14px; border: 0 !important; border-radius: 13px; background: #1c1c1e !important; box-shadow: none !important; }
  .apple-layout .home-page .ig-home-search > svg { color: #8e8e93; }
  .apple-layout .home-page .ig-home-search input { color: #f5f5f7 !important; font-size: 15px; }
  .apple-layout .home-page .ig-home-search input::placeholder { color: #8e8e93; }
  .apple-layout .home-page .ig-home-search button { width: 36px; min-width: 36px; height: 36px; min-height: 36px; border-radius: 10px; background: #303034 !important; color: #0a84ff !important; }
  .apple-layout .home-page .ig-home-search button svg { width: 18px; height: 18px; }
  .apple-layout .home-page .ig-home-quick-links { gap: 7px; margin-top: 12px; }
  .apple-layout .home-page .ig-home-quick-links a { padding: 8px 12px; border: 0; border-radius: 99px; background: #1c1c1e; color: #e0e0e5; font-size: 12px; font-weight: 560; }
  .apple-layout .home-page .ig-home-intro { height: 237px; margin-top: 19px; padding: 24px; border: 0; border-radius: 24px; background: #1c1c1e; box-shadow: none; }
  .apple-layout .home-page .ig-home-intro::after { background: linear-gradient(90deg,#111115f8 0%,#111115ea 42%,#11111584 72%,#1111152b 100%); }
  .apple-layout .home-page .ig-home-hero-image { width: 70%; opacity: .84; filter: saturate(.9); }
  .apple-layout .home-page .ig-home-eyebrow { color: #d1d1d6; font-size: 10px; font-weight: 650; letter-spacing: .07em; }
  .apple-layout .home-page .ig-home-hero-copy h2 { max-width: 235px; margin: 11px 0 12px; color: #fff; font-size: clamp(32px,8.7vw,38px); font-weight: 760; letter-spacing: -.06em; }
  .apple-layout .home-page .ig-home-hero-actions { margin-top: 18px; }
  .apple-layout .home-page .ig-home-hero-actions .ig-home-primary { min-height: 38px; padding: 8px 13px; border-radius: 99px; background: #f5f5f7; color: #111115; font-size: 11px; font-weight: 730; }

  /* App Store-like editorial sections with comfortable reading sizes. */
  .apple-layout .home-page .ig-category-section { padding: 32px 0 12px !important; }
  .apple-layout .home-page .ig-section-head { align-items: end; margin-bottom: 17px; }
  .apple-layout .home-page .ig-section-head small { color: #8e8e93 !important; font-size: 10px !important; letter-spacing: .1em !important; }
  .apple-layout .home-page .ig-section-head h2 { color: #f5f5f7 !important; font-size: 28px !important; font-weight: 760 !important; line-height: 1.13 !important; }
  .apple-layout .home-page .ig-section-head > a { color: #0a84ff !important; font-size: 12px !important; font-weight: 650 !important; }
  .apple-layout .home-page .ig-categories { gap: 11px; }
  .apple-layout .home-page .ig-categories > a, .apple-layout .home-page .ig-categories > a.large { aspect-ratio: 4 / 5; border: 0 !important; border-radius: 20px !important; background: #1c1c1e !important; }
  .apple-layout .home-page .ig-categories > a > span.ig-category-name { min-height: 70px; padding: 17px 9px 13px !important; font-size: 15px; font-weight: 720; }
  .apple-layout .home-page .ig-home-feature { border: 0; border-radius: 20px; }
  .apple-layout .home-page .ig-home-feature-content strong { font-size: 20px; }
  .apple-layout .home-page .ig-home-products-section, .apple-layout .home-page .ig-home-deals-section { padding: 35px 0 22px !important; background: #000 !important; }

  /* Catalog and category directory stay easy to scan. */
  .apple-layout .page { padding-top: 27px; }
  .apple-layout .page-heading h1 { font-size: 34px; font-weight: 760; letter-spacing: -.055em; }
  .apple-layout .page-heading p { color: #8e8e93; font-size: 14px; }
  .apple-layout .ig-category-page-root .ig-category-page-main .ig-categories > a { border: 0 !important; border-radius: 20px !important; background: #1c1c1e !important; }
  .apple-layout .ig-category-page-root .ig-category-page-main .ig-categories > a > span.ig-category-name { font-size: 15px !important; font-weight: 720; }
  .apple-layout .catalog-filters { display: none; }
  .apple-layout .catalog-mobile-filters { display: block; margin: 0 0 15px; }
  .apple-layout .catalog-mobile-search { display: flex; align-items: center; height: 50px; padding: 5px 6px 5px 15px; border-radius: 13px; background: #1c1c1e; }
  .apple-layout .catalog-mobile-search input { flex: 1; min-width: 0; height: 100%; border: 0; outline: 0; background: transparent; color: #f5f5f7; font-size: 15px; }
  .apple-layout .catalog-mobile-search input::placeholder { color: #8e8e93; }
  .apple-layout .catalog-mobile-search button { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; background: #303034; color: #0a84ff; }
  .apple-layout .catalog-mobile-search button svg { width: 18px; height: 18px; }
  .apple-layout .catalog-mobile-options { margin-top: 11px; padding: 0; border: 0; border-radius: 13px; background: #1c1c1e; overflow: hidden; }
  .apple-layout .catalog-mobile-options summary { display: flex; align-items: center; gap: 9px; min-height: 48px; padding: 0 14px; list-style: none; color: #f5f5f7; font-size: 14px; font-weight: 650; }
  .apple-layout .catalog-mobile-options summary::-webkit-details-marker { display: none; }
  .apple-layout .catalog-mobile-options summary svg { width: 17px; height: 17px; color: #0a84ff; }
  .apple-layout .catalog-mobile-options summary small { flex: 1; color: #8e8e93; text-align: right; font-size: 11px; font-weight: 450; }
  .apple-layout .catalog-mobile-options summary svg:last-child { width: 14px; height: 14px; color: #8e8e93; transform: rotate(90deg); transition: transform .2s; }
  .apple-layout .catalog-mobile-options[open] summary svg:last-child { transform: rotate(-90deg); }
  .apple-layout .catalog-mobile-options-body { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 9px; padding: 12px; border-top: 1px solid #38383a; }
  .apple-layout .catalog-mobile-options-body select { grid-column: 1 / -1; height: 44px; min-width: 0; padding: 0 12px; border: 0; border-radius: 10px; background: #2c2c2e; color: #f5f5f7; font-size: 13px; }
  .apple-layout .catalog-mobile-options-body .ig-price-field { display: flex; align-items: center; min-width: 0; height: 44px; padding: 0 9px; border: 0; border-radius: 10px; background: #2c2c2e; color: #a1a1a7; font-size: 12px; }
  .apple-layout .catalog-mobile-options-body .ig-price-field input { flex: 1; min-width: 0; width: 100%; padding: 0 3px; border: 0; background: transparent; color: #fff; }
  .apple-layout .catalog-mobile-options-body > button { grid-column: 1 / -1; min-height: 44px; }
  .apple-layout .ig-catalog-count { margin: 0 0 13px; color: #8e8e93; font-size: 12px; }

  /* Grouped iOS-style surfaces on product and account pages. */
  .apple-layout .panel { border: 0; border-radius: 18px; background: #1c1c1e; }
  .apple-layout .detail-cover { border-radius: 20px; }
  .apple-layout .product-detail h1 { font-size: 30px; font-weight: 750; }
  .apple-layout .detail-price { font-size: 32px; font-weight: 750; }
  .apple-layout .button { border-radius: 12px; }
  .apple-layout .button.primary { background: #f5f5f7; color: #111115; }
  .apple-layout .apple-footer { background: #111113; padding-bottom: calc(86px + env(safe-area-inset-bottom)); }

  /* A quiet grouped drawer rather than a promotional sidebar. */
  .apple-layout .php-menu, .apple-layout .ig-drawer.ig-menu-refined.ig-menu-v2 { background: #000 !important; color: #f5f5f7 !important; }
  .apple-layout .php-menu { width: min(390px,calc(100vw - 12px)); border-right: 1px solid #38383a; border-radius: 0 20px 20px 0; }
  .apple-layout .ig-menu-v2 .ig-drawer-head { height: 62px; min-height: 62px; background: #000; border-color: #2c2c2e; }
  .apple-layout .ig-menu-v2 .ig-drawer-close { border: 0; background: #2c2c2e; }
  .apple-layout .ig-menu-v2 .ig-menu-scroll { padding: 14px 15px max(20px,env(safe-area-inset-bottom)); }
  .apple-layout .ig-menu-v2 .ig-menu-lead { display: none; }
  .apple-layout .ig-menu-v2 .ig-menu-account, .apple-layout .ig-menu-v2 .ig-menu-shortcuts a, .apple-layout .ig-menu-v2 .ig-menu-support, .apple-layout .ig-menu-v2 .ig-menu-category-list a, .apple-layout .ig-menu-v2 nav { border: 0 !important; background: #1c1c1e !important; box-shadow: none !important; }
  .apple-layout .ig-menu-v2 .ig-menu-account { border-radius: 18px; }
  .apple-layout .ig-menu-v2 .ig-menu-account-actions a { min-height: 38px; border-radius: 10px; }
  .apple-layout .ig-menu-v2 .ig-menu-account-actions a:last-child { background: #f5f5f7; color: #111115; }
  .apple-layout .ig-menu-v2 .ig-menu-section-title > span { color: #8e8e93; font-size: 10px; }
  .apple-layout .ig-menu-v2 .ig-menu-search { height: 48px; border: 0; border-radius: 12px; background: #1c1c1e !important; }
  .apple-layout .ig-menu-v2 .ig-menu-category-list a { min-height: 66px; border-radius: 14px; }
  .apple-layout .ig-menu-v2 .ig-menu-category-list strong, .apple-layout .ig-menu-v2 nav a strong { font-size: 13px; }
  .apple-layout .ig-menu-v2 nav { border-radius: 16px; }
  .apple-layout .ig-menu-v2 nav a.active { background: #2c2c2e !important; }
  .apple-layout .ig-menu-v2 nav a.active, .apple-layout .ig-menu-v2 nav a.active strong, .apple-layout .ig-menu-v2 nav a.active .ig-drawer-link-icon { color: #0a84ff !important; }
  .apple-layout .ig-menu-v2 :is(a,button,input):focus-visible, .apple-layout .ig-mobile-bottom-nav a:focus-visible { outline: 2px solid #0a84ff; outline-offset: 2px; }
}

@media (max-width: 365px) {
  .apple-layout .home-page .ig-home-mobile-greeting strong { font-size: 27px; }
  .apple-layout .home-page .ig-home-hero-copy h2 { font-size: 30px; }
  .apple-layout .ig-mobile-bottom-nav a, .apple-layout .ig-mobile-bottom-nav a:nth-child(3) span { font-size: 9px; }
}

@media (prefers-reduced-motion: reduce) and (max-width: 700px) {
  .apple-layout .home-page .ig-categories > a, .apple-layout .catalog-card { transition: none; }
}

/* Clear paths through the catalog: families first, then each game's subcategories. */
.ig-category-dialog-grid [data-category-item][hidden],
.ig-category-family-section[hidden],
.ig-category-family-nav[hidden] { display: none !important; }
@media (min-width: 901px) { .apple-layout .ig-category-dialog .ig-category-rail { flex: 0 0 280px !important; width: 280px !important; } }
.ig-category-rail-subheading { margin-top: 18px; padding-top: 17px; border-top: 1px solid #34383f; }
.ig-category-rail-family { font-weight: 740; }
.ig-category-family-nav { display: flex; gap: 9px; margin: 0 0 25px; overflow-x: auto; scrollbar-width: none; }
.ig-category-family-nav::-webkit-scrollbar { display: none; }
.ig-category-family-nav a { flex: none; padding: 10px 14px; border: 1px solid #30343b; border-radius: 99px; background: #1b1d22; color: #f5f5f7; font-size: 13px; font-weight: 660; white-space: nowrap; }
.ig-category-family-nav a:hover, .ig-category-family-nav a:focus-visible { border-color: #8e98a8; background: #292d34; }
.ig-category-family-section { margin: 0 0 46px; scroll-margin-top: 88px; }
.ig-category-family-section > header, .ig-subcategory-section > header { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 17px; padding-bottom: 13px; border-bottom: 1px solid #30343b; }
.ig-category-family-section > header h2, .ig-subcategory-section > header h2 { color: #f5f5f7; font-size: clamp(22px,2.4vw,29px); font-weight: 760; letter-spacing: -.035em; line-height: 1.15; }
.ig-category-family-section > header span, .ig-subcategory-section > header span { flex: none; color: #a6aab4; font-size: 12px; font-weight: 590; }
.ig-subcategory-section { margin: 0 0 43px; scroll-margin-top: 88px; }
.ig-home-family { scroll-margin-top: 82px; }
.apple-layout .home-page .ig-home-family + .ig-home-family { border-top: 1px solid #292c33; }
@media (max-width: 700px) {
  .ig-category-family-nav { gap: 7px; margin-bottom: 26px; }
  .ig-category-family-nav a { padding: 9px 12px; font-size: 12px; }
  .ig-category-family-section { margin-bottom: 35px; }
  .ig-category-family-section > header, .ig-subcategory-section > header { margin-bottom: 14px; }
  .ig-category-family-section > header h2, .ig-subcategory-section > header h2 { font-size: 22px; }
  .ig-category-family-section > header span, .ig-subcategory-section > header span { font-size: 11px; }
  .apple-layout .home-page .ig-home-family + .ig-home-family { padding-top: 32px !important; }
}

/* A distinct, touch-first category browser on small screens. */
.ig-category-mobile-head, .ig-category-mobile-find, .ig-category-mobile-back, .ig-category-rail-family > small { display: none; }
.apple-layout .ig-category-dialog-head .ig-category-mobile-back { display: none; }
.ig-category-family-nav a { display: inline-flex; align-items: center; gap: 8px; }
.ig-category-family-icon { display: grid; place-items: center; }
.ig-category-family-icon svg { width: 17px; height: 17px; }
.ig-category-family-nav a > small, .ig-category-family-nav a > svg:last-child { display: none; }
@media (max-width: 700px) {
  .apple-layout .ig-category-dialog { inset: 0 !important; transform: none !important; width: 100vw !important; height: 100dvh !important; max-height: none !important; margin: 0 !important; border: 0 !important; border-radius: 0 !important; background: #000 !important; box-shadow: none !important; box-sizing: border-box; }
  .apple-layout .ig-category-dialog-inner { display: flex; height: 100%; min-height: 0; flex-direction: column; }
  .apple-layout .ig-category-dialog .ig-category-rail { display: flex; flex: 1 1 auto; flex-direction: column; gap: 0; width: 100%; min-height: 0; padding: calc(20px + env(safe-area-inset-top)) 16px calc(24px + env(safe-area-inset-bottom)); overflow-x: hidden; overflow-y: auto; border: 0; background: #000; box-sizing: border-box; }
  .apple-layout .ig-category-dialog.is-mobile-detail .ig-category-rail { display: none; }
  .apple-layout .ig-category-mobile-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin: 2px 0 22px; }
  .apple-layout .ig-category-mobile-head small { display: block; margin-bottom: 7px; color: #8e8e93; font-size: 10px; font-weight: 750; letter-spacing: .15em; }
  .apple-layout .ig-category-mobile-head strong { display: block; color: #f5f5f7; font-size: 29px; font-weight: 760; line-height: 1.12; letter-spacing: -.055em; }
  .apple-layout .ig-category-mobile-head button, .apple-layout .ig-category-mobile-back { display: grid; place-items: center; flex: none; width: 36px; height: 36px; padding: 0; border: 0; border-radius: 50%; background: #2c2c2e; color: #f5f5f7; }
  .apple-layout .ig-category-mobile-head button svg, .apple-layout .ig-category-mobile-back svg { width: 18px; height: 18px; }
  .apple-layout .ig-category-mobile-find { display: flex; align-items: center; gap: 11px; width: 100%; min-height: 49px; margin: 0 0 24px; padding: 0 14px; border: 0; border-radius: 14px; background: #1c1c1e; color: #98989f; text-align: left; font-size: 14px; }
  .apple-layout .ig-category-mobile-find > svg:first-child { width: 19px; height: 19px; }
  .apple-layout .ig-category-mobile-find span { flex: 1; }
  .apple-layout .ig-category-mobile-find > svg:last-child { width: 15px; height: 15px; }
  .apple-layout .ig-category-dialog .ig-category-rail-heading { display: block; padding: 0 4px 12px; color: #8e8e93; font-size: 10px; font-weight: 750; letter-spacing: .14em; }
  .apple-layout .ig-category-dialog .ig-category-rail-subheading, .apple-layout .ig-category-dialog .ig-category-rail-item:not(.ig-category-rail-family) { display: none; }
  .apple-layout .ig-category-dialog .ig-category-rail-family { display: flex; flex: none; gap: 13px; width: 100%; max-width: none; min-height: 66px; margin: 0 0 9px; padding: 8px 13px; border: 1px solid #303034; border-radius: 17px; background: #1c1c1e; color: #f5f5f7; font-size: 15px; font-weight: 675; line-height: 1.2; }
  .apple-layout .ig-category-dialog .ig-category-rail-family.is-active { border-color: #47474c; background: #222225; color: #fff; }
  .apple-layout .ig-category-dialog .ig-category-rail-family:active { background: #303034; }
  .apple-layout .ig-category-dialog .ig-category-rail-family .ig-category-rail-thumb { width: 42px; height: 42px; border-radius: 12px; background: #303034; color: #f5f5f7; }
  .apple-layout .ig-category-dialog .ig-category-rail-family .ig-category-rail-thumb svg { width: 22px; height: 22px; }
  .apple-layout .ig-category-dialog .ig-category-rail-family > span:nth-child(2) { white-space: normal; overflow: visible; text-overflow: clip; }
  .apple-layout .ig-category-dialog .ig-category-rail-family > small { display: grid; place-items: center; min-width: 25px; height: 25px; padding: 0 5px; border-radius: 99px; background: #303034; color: #c7c7cc; font-size: 11px; font-weight: 700; }
  .apple-layout .ig-category-dialog .ig-category-rail-family > svg:last-child { display: block; width: 15px; height: 15px; color: #8e8e93; }
  .apple-layout .ig-category-dialog .ig-category-content { display: none; flex: 1 1 auto; min-height: 0; padding: calc(14px + env(safe-area-inset-top)) 16px calc(18px + env(safe-area-inset-bottom)); background: #000; }
  .apple-layout .ig-category-dialog.is-mobile-detail .ig-category-content { display: flex; }
  .apple-layout .ig-category-dialog-head { gap: 12px; min-height: 42px; margin-bottom: 16px; }
  .apple-layout .ig-category-dialog-head > div { flex: 1; min-width: 0; }
  .apple-layout .ig-category-dialog-head small { color: #8e8e93; }
  .apple-layout .ig-category-dialog-head h2 { margin-top: 3px; color: #f5f5f7; font-size: 22px; line-height: 1.1; letter-spacing: -.04em; }
  .apple-layout .ig-category-dialog-head .ig-category-mobile-back { display: grid; }
  .apple-layout .ig-category-mobile-back svg { transform: rotate(180deg); }
  .apple-layout .ig-category-dialog-head [data-close] { flex: none; width: 36px; height: 36px; border: 0; background: #2c2c2e; }
  .apple-layout .ig-category-dialog-search { margin-bottom: 16px; border: 0; border-radius: 13px; background: #1c1c1e; }
  .apple-layout .ig-category-dialog-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
  .apple-layout .ig-category-dialog-grid a.ig-category-card { border: 1px solid #303034; border-radius: 16px; background: #1c1c1e; }
  .apple-layout .ig-category-dialog-grid a.ig-category-card strong { min-height: 44px; padding: 8px; color: #f5f5f7; font-size: 12px; line-height: 1.2; }
  .apple-layout .ig-category-results { padding-right: 0; }
  .apple-layout .ig-category-dialog-all { align-self: stretch; justify-content: center; min-height: 42px; margin-top: 12px; border-radius: 11px; background: #1c1c1e; font-size: 12px; }
  .apple-layout .ig-category-family-nav { display: grid; grid-template-columns: 1fr; gap: 9px; margin: 5px 0 30px; overflow: visible; }
  .apple-layout .ig-category-family-nav a { display: flex; width: 100%; min-height: 64px; padding: 8px 13px; border: 1px solid #303034; border-radius: 16px; background: #1c1c1e; color: #f5f5f7; font-size: 15px; font-weight: 660; white-space: normal; }
  .apple-layout .ig-category-family-icon { flex: none; width: 40px; height: 40px; border-radius: 11px; background: #303034; }
  .apple-layout .ig-category-family-icon svg { width: 21px; height: 21px; }
  .apple-layout .ig-category-family-label { flex: 1; }
  .apple-layout .ig-category-family-nav a > small { display: inline; color: #8e8e93; font-size: 11px; }
  .apple-layout .ig-category-family-nav a > svg:last-child { display: block; width: 15px; height: 15px; color: #8e8e93; }
  .apple-layout .ig-category-family-nav a:active { background: #303034; }
}

/* The Categories tab opens this page. Each topic is a separate, swipeable shelf. */
.ig-directory-row > header { align-items: center; }
.ig-directory-head-actions { display: flex; align-items: center; gap: 18px; flex: none; }
.ig-directory-head-actions > span { color: #969aa4; font-size: 12px; }
.ig-directory-head-actions > a { display: inline-flex; align-items: center; gap: 5px; color: #d6d9e0; font-size: 12px; font-weight: 680; white-space: nowrap; }
.ig-directory-head-actions > a svg { width: 14px; height: 14px; }
.ig-category-page-root .ig-category-page-main .ig-categories > a[hidden] { display: none !important; }
@media (max-width: 700px) {
  .apple-layout .ig-category-page-root { padding-top: 22px; }
  .apple-layout .ig-category-page-root .ig-category-page-head { margin-bottom: 19px; }
  .apple-layout .ig-category-page-root .ig-category-page-head h1 { font-size: 34px; line-height: 1.08; }
  .apple-layout .ig-category-page-root .ig-category-page-head p { max-width: 300px; color: #a8a8ad; font-size: 13px; line-height: 1.45; }
  .apple-layout .ig-category-page-root .ig-category-page-count { display: none; }
  .apple-layout .ig-category-page-root .ig-category-finder { margin-bottom: 13px; }
  .apple-layout .ig-category-page-root .ig-category-finder > label { display: none; }
  .apple-layout .ig-category-page-root .ig-category-finder-row { min-height: 48px; border: 0; border-radius: 13px; background: #1c1c1e; }
  .apple-layout .ig-category-page-root .ig-category-finder-row input { font-size: 14px; }
  .apple-layout .ig-category-page-root .ig-category-finder-row > a { display: none; }
  .apple-layout .ig-category-page-root .ig-category-family-nav { display: flex; gap: 8px; margin: 0 -16px 21px; padding: 0 16px 5px; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x proximity; }
  .apple-layout .ig-category-page-root .ig-category-family-nav a { display: inline-flex; flex: none; width: auto; min-height: 36px; margin: 0; padding: 7px 12px; border: 1px solid #303034; border-radius: 999px; background: #1c1c1e; font-size: 12px; font-weight: 650; white-space: nowrap; scroll-snap-align: start; }
  .apple-layout .ig-category-page-root .ig-category-family-icon { width: auto; height: auto; background: none; }
  .apple-layout .ig-category-page-root .ig-category-family-icon svg { width: 15px; height: 15px; }
  .apple-layout .ig-category-page-root .ig-directory-row { margin-bottom: 29px; scroll-margin-top: 72px; }
  .apple-layout .ig-category-page-root .ig-directory-row > header { align-items: end; gap: 8px; margin-bottom: 12px; padding: 0; border: 0; }
  .apple-layout .ig-category-page-root .ig-directory-row > header h2 { max-width: 74%; color: #f5f5f7; font-size: 21px; line-height: 1.16; letter-spacing: -.035em; }
  .apple-layout .ig-category-page-root .ig-directory-head-actions > span { display: none; }
  .apple-layout .ig-category-page-root .ig-directory-head-actions > a { color: #aeb6c5; font-size: 11px; }
  .apple-layout .ig-category-page-root .ig-directory-head-actions > a svg { width: 12px; height: 12px; }
  .apple-layout .ig-category-page-root .ig-directory-row .ig-categories { display: grid !important; grid-template-columns: none !important; grid-auto-flow: column; grid-auto-columns: clamp(142px,43vw,185px); grid-auto-rows: auto; gap: 10px; margin: 0 -16px; padding: 0 16px 8px; overflow-x: auto; overflow-y: hidden; overscroll-behavior-inline: contain; scroll-snap-type: x proximity; scrollbar-width: none; }
  .apple-layout .ig-category-page-root .ig-directory-row .ig-categories::-webkit-scrollbar { display: none; }
  .apple-layout .ig-category-page-root .ig-directory-row .ig-categories > a,
  .apple-layout .ig-category-page-root .ig-directory-row .ig-categories > a.large { display: flex; grid-column: auto; width: 100%; aspect-ratio: 4 / 5; min-height: 0; border: 1px solid #2c2c2e !important; border-radius: 17px !important; background: #1c1c1e !important; scroll-snap-align: start; }
  .apple-layout .ig-category-page-root .ig-directory-row .ig-categories > a > span.ig-category-name { display: grid; align-content: center; min-height: 57px; padding: 7px 8px 9px !important; color: #f5f5f7 !important; font-size: 13px !important; font-weight: 700; line-height: 1.2; text-align: center; }
  .apple-layout .ig-category-page-root .ig-directory-row .ig-categories picture { aspect-ratio: auto; flex: 1 1 auto; min-height: 0; margin: 7px 7px 0; width: calc(100% - 14px); background: #111215; border-radius: 11px; }
  .apple-layout .ig-category-page-root .ig-directory-row .ig-categories picture img { object-fit: cover; padding: 0 !important; }
  .apple-layout .ig-category-page-root .ig-directory-row .ig-categories .ig-home-import-art,
  .apple-layout .ig-category-page-root .ig-directory-row .ig-categories .ig-home-brand-art { flex: 1 1 auto; min-height: 0; }
}

/* Home mirrors the category directory without turning the landing page into a long grid. */
@media (max-width: 700px) {
  .apple-layout .home-page .ig-home-directory { padding: 27px 0 5px !important; }
  .apple-layout .home-page .ig-home-directory .ig-section-head { flex-direction: row; align-items: end; gap: 9px; margin-bottom: 13px; }
  .apple-layout .home-page .ig-home-directory .ig-section-head > div { min-width: 0; }
  .apple-layout .home-page .ig-home-directory .ig-section-head h2 { font-size: 21px !important; line-height: 1.16; }
  .apple-layout .home-page .ig-home-directory .ig-section-head > a { flex: none; white-space: nowrap; color: #aeb6c5 !important; font-size: 11px !important; }
  .apple-layout .home-page .ig-home-directory .ig-categories { display: grid !important; grid-template-columns: none !important; grid-auto-flow: column; grid-auto-columns: clamp(142px,43vw,185px); grid-auto-rows: auto; gap: 10px; margin: 0 -16px; padding: 0 16px 8px; overflow-x: auto; overflow-y: hidden; overscroll-behavior-inline: contain; scroll-snap-type: x proximity; scrollbar-width: none; }
  .apple-layout .home-page .ig-home-directory .ig-categories::-webkit-scrollbar { display: none; }
  .apple-layout .home-page .ig-home-directory .ig-categories > a,
  .apple-layout .home-page .ig-home-directory .ig-categories > a.large { display: flex; grid-column: auto; width: 100%; aspect-ratio: 4 / 5; min-height: 0; border: 1px solid #2c2c2e !important; border-radius: 17px !important; background: #1c1c1e !important; scroll-snap-align: start; }
  .apple-layout .home-page .ig-home-directory .ig-categories > a > span.ig-category-name { display: grid; align-content: center; min-height: 57px; padding: 7px 8px 9px !important; color: #f5f5f7 !important; font-size: 13px !important; font-weight: 700; line-height: 1.2; text-align: center; }
  .apple-layout .home-page .ig-home-directory .ig-categories picture { aspect-ratio: auto; flex: 1 1 auto; min-height: 0; margin: 7px 7px 0; width: calc(100% - 14px); background: #111215; border-radius: 11px; }
  .apple-layout .home-page .ig-home-directory .ig-categories picture img { object-fit: cover; padding: 0 !important; }
  .apple-layout .home-page .ig-home-directory .ig-categories .ig-home-import-art,
  .apple-layout .home-page .ig-home-directory .ig-categories .ig-home-brand-art { flex: 1 1 auto; min-height: 0; }
}

/* Editorial hero carousel: games and creative tools. */
.apple-layout .home-page .ig-home-carousel { position: relative; margin-top: 25px; }
.apple-layout .home-page .ig-home-carousel-track { display: flex; overflow-x: auto; overflow-y: hidden; border-radius: 30px; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-inline: contain; }
.apple-layout .home-page .ig-home-carousel-track::-webkit-scrollbar { display: none; }
.apple-layout .home-page .ig-home-carousel-slide { box-sizing: border-box; flex: 0 0 100%; width: 100%; min-width: 100%; max-width: none; margin: 0 !important; scroll-snap-align: start; scroll-snap-stop: always; }
.apple-layout .home-page .ig-home-intro--pubg { background: #211b1a; }
.apple-layout .home-page .ig-home-intro--pubg::after { background: linear-gradient(90deg,#171516 2%,#171516f5 38%,#171516a3 64%,#17151615 100%); }
.apple-layout .home-page .ig-home-intro--steam { background: #101a27; }
.apple-layout .home-page .ig-home-intro--steam::after { background: linear-gradient(90deg,#101722 2%,#101722f5 38%,#101722a3 64%,#10172215 100%); }
.apple-layout .home-page .ig-home-intro--playstation { background: #111631; }
.apple-layout .home-page .ig-home-intro--playstation::after { background: linear-gradient(90deg,#10142a 2%,#10142af5 38%,#10142a9e 64%,#10142a16 100%); }
.apple-layout .home-page .ig-home-offer-price { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 18px; border: 1px solid #ffffff52; border-radius: 14px; background: #ffffff1f; color: #fff; font-size: 26px; font-weight: 800; letter-spacing: -.035em; line-height: 1; box-shadow: 0 8px 24px #0002; backdrop-filter: blur(12px); }
.apple-layout .home-page .ig-home-offer-price + .ig-home-hero-actions { margin-top: 20px; }
.apple-layout .home-page .ig-home-intro--canva { background: radial-gradient(circle at 80% 38%,#6544ed 0%,#1769bd 48%,#0c1b32 100%); }
.apple-layout .home-page .ig-home-intro--canva::after { background: linear-gradient(90deg,#11172df7 2%,#11172deb 37%,#11172d5c 66%,transparent 100%); }
.apple-layout .home-page .ig-home-canva-art { position: absolute; inset: 0 0 0 53%; display: grid; place-items: center; overflow: hidden; }
.apple-layout .home-page .ig-home-canva-art::before { position: absolute; width: min(38vw,430px); aspect-ratio: 1; content: ""; border: 1px solid #ffffff4d; border-radius: 30%; transform: rotate(-15deg); box-shadow: 0 0 0 28px #ffffff0b,0 0 0 85px #ffffff0a; }
.apple-layout .home-page .ig-home-canva-art img { position: relative; width: min(38vw,430px); height: auto; filter: drop-shadow(0 12px 28px #15184880); }
.apple-layout .home-page .ig-home-intro--design { background: #27213b; }
.apple-layout .home-page .ig-home-intro--design::after { background: linear-gradient(90deg,#1b1828 2%,#1b1828f4 38%,#1b1828a2 64%,#1b182823 100%); }
.apple-layout .home-page .ig-home-carousel-controls { position: absolute; z-index: 4; right: 23px; bottom: 22px; display: flex; align-items: center; gap: 12px; }
.apple-layout .home-page .ig-home-carousel-arrow { display: grid; place-items: center; width: 38px; height: 38px; border: 1px solid #ffffff52; border-radius: 50%; background: #111115b8; color: #fff; cursor: pointer; backdrop-filter: blur(12px); }
.apple-layout .home-page .ig-home-carousel-arrow:hover, .apple-layout .home-page .ig-home-carousel-arrow:focus-visible { background: #f5f5f7; color: #111115; }
.apple-layout .home-page .ig-home-carousel-arrow svg { width: 17px; height: 17px; }
.apple-layout .home-page .ig-home-carousel-prev svg { transform: rotate(180deg); }
.apple-layout .home-page .ig-home-carousel-dots { display: flex; align-items: center; gap: 6px; }
.apple-layout .home-page .ig-home-carousel-dots button { width: 7px; height: 7px; padding: 0; border: 0; border-radius: 50%; background: #ffffff68; cursor: pointer; transition: width .2s,background .2s; }
.apple-layout .home-page .ig-home-carousel-dots button[aria-current="true"] { width: 19px; border-radius: 8px; background: #fff; }
.apple-layout .home-page .ig-home-carousel :is(button,a):focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
@media (max-width: 700px) {
  .apple-layout .home-page > .ig-home-carousel { order: -1; width: calc(100% - 32px); margin-top: 19px; }
  .apple-layout .home-page .ig-home-carousel-track { border-radius: 24px; }
  .apple-layout .home-page .ig-home-carousel-slide { height: 237px; }
  .apple-layout .home-page .ig-home-intro--pubg::after { background: linear-gradient(90deg,#171516fa 0%,#171516ec 43%,#1715167d 78%,#17151631 100%); }
  .apple-layout .home-page .ig-home-intro--steam::after { background: linear-gradient(90deg,#101722fa 0%,#101722ec 43%,#1017227d 78%,#10172231 100%); }
  .apple-layout .home-page .ig-home-intro--playstation::after { background: linear-gradient(90deg,#10142afa 0%,#10142aec 43%,#10142a7d 78%,#10142a31 100%); }
  .apple-layout .home-page .ig-home-intro--canva::after { background: linear-gradient(90deg,#11172dfb 0%,#11172de9 43%,#11172d7a 78%,#11172d30 100%); }
  .apple-layout .home-page .ig-home-intro--design::after { background: linear-gradient(90deg,#1b1828fa 0%,#1b1828ec 43%,#1b18287d 78%,#1b182831 100%); }
  .apple-layout .home-page .ig-home-canva-art { inset-inline-start: 48%; opacity: .78; }
  .apple-layout .home-page .ig-home-canva-art::before { width: 190px; }
  .apple-layout .home-page .ig-home-canva-art img { width: 190px; }
  .apple-layout .home-page .ig-home-intro--pubg .ig-home-hero-copy h2, .apple-layout .home-page .ig-home-intro--steam .ig-home-hero-copy h2, .apple-layout .home-page .ig-home-intro--canva .ig-home-hero-copy h2, .apple-layout .home-page .ig-home-intro--design .ig-home-hero-copy h2 { max-width: 245px; font-size: clamp(29px,8vw,34px); }
  .apple-layout .home-page .ig-home-intro--playstation .ig-home-hero-copy h2 { max-width: 245px; font-size: clamp(27px,7.2vw,32px); }
  .apple-layout .home-page .ig-home-intro--playstation .ig-home-hero-actions { margin-top: 12px; }
  .apple-layout .home-page .ig-home-offer-price { min-height: 31px; padding: 5px 11px; border-radius: 10px; font-size: 18px; }
  .apple-layout .home-page .ig-home-offer-price + .ig-home-hero-actions { margin-top: 11px; }
  .apple-layout .home-page .ig-home-carousel-controls { right: 12px; bottom: 12px; gap: 7px; }
  .apple-layout .home-page .ig-home-carousel-arrow { width: 29px; height: 29px; }
  .apple-layout .home-page .ig-home-carousel-arrow svg { width: 14px; height: 14px; }
  .apple-layout .home-page .ig-home-carousel-dots button { width: 6px; height: 6px; }
  .apple-layout .home-page .ig-home-carousel-dots button[aria-current="true"] { width: 15px; }
}
@media (prefers-reduced-motion: reduce) { .apple-layout .home-page .ig-home-carousel-track { scroll-behavior: auto; } .apple-layout .home-page .ig-home-carousel-dots button { transition: none; } }

/* Unified, high-contrast campaign cards. */
.apple-layout .home-page .ig-home-carousel-slide { --ig-hero-accent: #d7defb; isolation: isolate; border: 1px solid #ffffff24; box-shadow: inset 0 1px 0 #ffffff16, 0 22px 56px #0006; }
.apple-layout .home-page .ig-home-intro--pubg { --ig-hero-accent: #ffd28f; }
.apple-layout .home-page .ig-home-intro--canva { --ig-hero-accent: #7dece4; }
.apple-layout .home-page .ig-home-intro--design { --ig-hero-accent: #dac5ff; }
.apple-layout .home-page .ig-home-intro--steam { --ig-hero-accent: #99d7ff; }
.apple-layout .home-page .ig-home-intro--playstation { --ig-hero-accent: #aec4ff; }
.apple-layout .home-page .ig-home-carousel-slide .ig-home-hero-image { filter: saturate(1.06) contrast(1.05); }
.apple-layout .home-page .ig-home-carousel-slide .ig-home-eyebrow { display: inline-flex; align-items: center; gap: 9px; width: fit-content; padding: 8px 11px; border: 1px solid #ffffff32; border-radius: 999px; background: #080d1b9c; color: #f8faff; font-size: 11px; letter-spacing: .11em; line-height: 1; backdrop-filter: blur(12px); }
.apple-layout .home-page .ig-home-carousel-slide .ig-home-eyebrow::before { content: ""; width: 6px; height: 6px; flex: none; border-radius: 50%; background: var(--ig-hero-accent); box-shadow: 0 0 10px var(--ig-hero-accent); }
.apple-layout .home-page .ig-home-carousel-slide .ig-home-hero-copy h2 { max-width: 690px; margin: 20px 0 17px; color: #fff; font-size: clamp(49px,5.25vw,76px); font-weight: 780; line-height: 1.02; letter-spacing: -.064em; text-shadow: 0 4px 22px #0003; }
.apple-layout .home-page .ig-home-carousel-slide .ig-home-hero-copy h2 em { color: var(--ig-hero-accent); }
.apple-layout .home-page .ig-home-carousel-slide .ig-home-hero-copy p { color: #e2e5ed; }
.apple-layout .home-page .ig-home-carousel-slide .ig-home-offer-price { display: inline-flex; align-items: baseline; gap: 8px; min-height: 0; padding: 10px 17px; border: 1px solid #ffffff54; border-radius: 15px; background: #090f1cbd; color: #fff; font-variant-numeric: tabular-nums; line-height: 1; box-shadow: inset 0 1px 0 #ffffff26, 0 12px 28px #0003; backdrop-filter: blur(14px); }
.apple-layout .home-page .ig-home-carousel-slide .ig-home-offer-price span { font-size: 33px; font-weight: 800; letter-spacing: -.065em; }
.apple-layout .home-page .ig-home-carousel-slide .ig-home-offer-price small { color: var(--ig-hero-accent); font-size: 13px; font-weight: 800; letter-spacing: .06em; }
.apple-layout .home-page .ig-home-carousel-slide .ig-home-offer-price + .ig-home-hero-actions { margin-top: 18px; }
.apple-layout .home-page .ig-home-carousel-slide .ig-home-primary { border: 1px solid #fff; background: #fff; color: #121622; box-shadow: 0 10px 24px #0003; transition: transform .2s ease, box-shadow .2s ease; }
.apple-layout .home-page .ig-home-carousel-slide .ig-home-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 30px #0005; }
.apple-layout .home-page .ig-home-carousel-arrow { border-color: #ffffff4a; background: #080d19c9; }
@media (max-width: 700px) {
  .apple-layout .home-page .ig-home-carousel-slide { height: 250px; padding: 23px; }
  .apple-layout .home-page .ig-home-carousel-slide .ig-home-eyebrow { gap: 6px; padding: 6px 8px; font-size: 8px; letter-spacing: .09em; }
  .apple-layout .home-page .ig-home-carousel-slide .ig-home-eyebrow::before { width: 5px; height: 5px; }
  .apple-layout .home-page .ig-home-carousel-slide .ig-home-hero-copy h2 { max-width: 248px; margin: 13px 0 12px; font-size: clamp(29px,8vw,34px); line-height: 1.02; }
  .apple-layout .home-page .ig-home-intro--playstation .ig-home-hero-copy h2 { max-width: 250px; font-size: clamp(27px,7.1vw,31px); }
  .apple-layout .home-page .ig-home-carousel-slide .ig-home-offer-price { gap: 6px; padding: 7px 12px; border-radius: 10px; }
  .apple-layout .home-page .ig-home-carousel-slide .ig-home-offer-price span { font-size: 24px; }
  .apple-layout .home-page .ig-home-carousel-slide .ig-home-offer-price small { font-size: 10px; }
  .apple-layout .home-page .ig-home-carousel-slide .ig-home-offer-price + .ig-home-hero-actions { margin-top: 10px; }
  .apple-layout .home-page .ig-home-carousel-slide .ig-home-hero-actions { margin-top: 14px; }
  .apple-layout .home-page .ig-home-carousel-slide .ig-home-primary { min-height: 36px; border-radius: 999px; }
  .apple-layout .home-page .ig-home-carousel-arrow { width: 33px; height: 33px; }
}

/* Purpose-made campaign art; keep all offer copy as sharp, accessible HTML. */
.apple-layout .home-page .ig-home-carousel-slide { background-color: #080d18; background-position: center; background-size: cover; background-repeat: no-repeat; }
.apple-layout .home-page .ig-home-intro--pubg { background-image: url('/media/home-banner-pubg-v1.jpg'); }
.apple-layout .home-page .ig-home-intro--canva { background-image: url('/media/home-banner-canva-v1.jpg'); }
.apple-layout .home-page .ig-home-intro--design { background-image: url('/media/home-banner-design-v1.jpg'); }
.apple-layout .home-page .ig-home-intro--igame { background-image: url('/media/home-banner-igame-v1.jpg'); }
.apple-layout .home-page .ig-home-intro--steam { background-image: url('/media/home-banner-steam-v1.jpg'); }
.apple-layout .home-page .ig-home-intro--playstation { background-image: url('/media/home-banner-playstation-v1.jpg'); }
.apple-layout .home-page .ig-home-carousel-slide::after { background: linear-gradient(90deg,#050914e8 0%,#050914be 35%,#05091466 56%,transparent 78%) !important; }
.apple-layout .home-page .ig-home-carousel-slide .ig-home-hero-copy { max-width: min(58%,660px); }
.apple-layout .home-page .ig-home-carousel-slide .ig-home-hero-copy h2 { font-family: "Segoe UI Variable Display","Segoe UI",system-ui,sans-serif; font-weight: 800; letter-spacing: -.055em; text-wrap: balance; }
.apple-layout .home-page .ig-home-carousel-slide .ig-home-hero-copy h2 em { font-style: normal; }
@media (max-width: 700px) {
  .apple-layout .home-page .ig-home-carousel-slide { background-position: 68% center; }
  .apple-layout .home-page .ig-home-carousel-slide::after { background: linear-gradient(90deg,#050914ed 0%,#050914d4 40%,#05091477 73%,#05091430 100%) !important; }
  .apple-layout .home-page .ig-home-carousel-slide .ig-home-hero-copy { max-width: 77%; }
  .apple-layout .home-page .ig-home-carousel-slide .ig-home-hero-copy h2 { max-width: 100%; font-size: clamp(27px,7.5vw,34px); }
  .apple-layout .home-page .ig-home-intro--playstation .ig-home-hero-copy h2 { font-size: clamp(24px,6.6vw,30px); }
}

/* Pixel items belong to the page atmosphere, never on top of category art. */
.apple-layout main { isolation: isolate; }
.apple-layout main > div.ig-item-rain { z-index: 0; }
.apple-layout main > :not(.ig-item-rain) { z-index: 1; }
.apple-layout .ig-item-rain-drop { opacity: 1; filter: drop-shadow(0 3px 9px #0009) saturate(1.25); }
.apple-layout .home-page,
.apple-layout .home-page > .ig-section,
.apple-layout .home-page > .ig-home-feature-section,
.apple-layout main > .ig-category-page-root { background: transparent !important; }

/* Keep artwork uncropped and the controls away from offer copy on phones. */
@media (max-width: 700px) {
  .apple-layout .ig-item-rain { display: block !important; }
  .apple-layout .ig-item-rain-drop { opacity: 1; }
  .apple-layout .home-page .ig-home-carousel-track { border-radius: 20px; }
  .apple-layout .home-page .ig-home-carousel-slide {
    min-height: 335px;
    height: auto;
    padding: clamp(112px,34vw,135px) 20px 22px;
    align-items: flex-end;
    background-size: 100% auto;
    background-position: center top;
    border-radius: 20px;
  }
  .apple-layout .home-page .ig-home-carousel-slide::after {
    background: linear-gradient(180deg,transparent 0%,#080d18a8 31%,#080d18 48%,#080d18 100%) !important;
  }
  .apple-layout .home-page .ig-home-carousel-slide .ig-home-hero-copy { width: 100%; max-width: 100%; }
  .apple-layout .home-page .ig-home-carousel-slide .ig-home-hero-copy h2,
  .apple-layout .home-page .ig-home-intro--playstation .ig-home-hero-copy h2 {
    max-width: 100%;
    margin: 11px 0 8px;
    font-size: clamp(28px,8.3vw,34px);
    line-height: 1.04;
  }
  .apple-layout .home-page .ig-home-intro--playstation .ig-home-hero-copy h2 { font-size: clamp(25px,7.2vw,30px); }
  .apple-layout .home-page .ig-home-carousel-slide .ig-home-hero-copy p { max-width: 100%; font-size: 12px; line-height: 1.4; }
  .apple-layout .home-page .ig-home-carousel-slide .ig-home-hero-actions { margin-top: 13px; }
  .apple-layout .home-page .ig-home-carousel-slide .ig-home-offer-price + .ig-home-hero-actions { margin-top: 11px; }
  .apple-layout .home-page .ig-home-carousel-controls {
    position: relative;
    right: auto;
    bottom: auto;
    justify-content: center;
    min-height: 38px;
    margin: 11px auto 0;
  }
  .apple-layout .home-page > .ig-section,
  .apple-layout .home-page > .ig-home-feature-section { background: transparent !important; }
}
@media (min-width: 701px) and (max-width: 1024px) {
  .apple-layout .home-page .ig-home-carousel-slide { min-height: 0; height: clamp(365px,48vw,450px); padding: clamp(30px,4vw,46px); }
  .apple-layout .home-page .ig-home-carousel-slide .ig-home-hero-copy h2 { font-size: clamp(37px,4.8vw,53px); }
  .apple-layout .home-page .ig-home-intro--playstation .ig-home-hero-copy h2 { font-size: clamp(34px,4.3vw,48px); }
}

/* Responsive campaign stage: the artwork stays present while the copy has its own space. */
.apple-layout .home-page .ig-home-carousel-track { box-shadow: 0 24px 65px #0005; }
.apple-layout .home-page .ig-home-carousel-slide {
  height: clamp(400px,37vw,530px);
  min-height: 0;
  padding: clamp(34px,4.3vw,64px);
  background-position: center center;
}
.apple-layout .home-page .ig-home-carousel-slide::after {
  background: linear-gradient(90deg,#050914ed 0%,#050914cb 30%,#05091477 54%,#05091400 77%),linear-gradient(0deg,#0509148a,#05091400 35%) !important;
}
.apple-layout .home-page .ig-home-carousel-slide .ig-home-hero-copy { width: min(54%,680px); max-width: none; }
.apple-layout .home-page .ig-home-carousel-slide .ig-home-hero-copy h2 {
  font-size: clamp(42px,5vw,75px);
  line-height: 1.04;
  text-wrap: balance;
}
.apple-layout .home-page .ig-home-carousel-slide .ig-home-hero-copy p { max-width: 490px; font-size: clamp(15px,1.4vw,19px); }
.apple-layout .home-page .ig-home-carousel-controls { right: clamp(15px,2.1vw,28px); bottom: clamp(15px,2.1vw,28px); }
.apple-layout .home-page .ig-home-carousel-arrow { width: 42px; height: 42px; }
.apple-layout .home-page .ig-home-carousel-dots button { width: 8px; height: 8px; }
.apple-layout .home-page .ig-home-carousel-dots button[aria-current="true"] { width: 23px; }
@media (min-width: 701px) and (max-width: 1024px) {
  .apple-layout .home-page .ig-home-carousel-slide { height: clamp(370px,48vw,450px); padding: clamp(28px,4vw,43px); background-position: 62% center; }
  .apple-layout .home-page .ig-home-carousel-slide .ig-home-hero-copy { width: 58%; }
  .apple-layout .home-page .ig-home-carousel-slide .ig-home-hero-copy h2 { font-size: clamp(35px,4.6vw,48px); }
  .apple-layout .home-page .ig-home-carousel-slide .ig-home-hero-copy p { font-size: 14px; }
}
@media (max-width: 700px) {
  .apple-layout .home-page > .ig-home-carousel { width: calc(100% - 28px); margin-top: 14px; }
  .apple-layout .home-page .ig-home-carousel-track { border-radius: 22px; }
  .apple-layout .home-page .ig-home-carousel-slide {
    height: auto;
    min-height: clamp(355px,94vw,445px);
    padding: clamp(145px,45vw,205px) clamp(18px,5vw,26px) 23px;
    background-size: auto 60%;
    background-position: 68% top;
    background-color: #080d18;
  }
  .apple-layout .home-page .ig-home-carousel-slide::after {
    background: linear-gradient(180deg,#080d1800 0%,#080d1833 26%,#080d18dc 44%,#080d18 56%,#080d18 100%) !important;
  }
  .apple-layout .home-page .ig-home-carousel-slide .ig-home-hero-copy { width: 100%; }
  .apple-layout .home-page .ig-home-carousel-slide .ig-home-hero-copy h2,
  .apple-layout .home-page .ig-home-intro--playstation .ig-home-hero-copy h2 { margin: 10px 0 8px; font-size: clamp(27px,7.3vw,36px); line-height: 1.06; }
  .apple-layout .home-page .ig-home-carousel-slide .ig-home-hero-copy p { font-size: clamp(12px,3.2vw,14px); line-height: 1.35; }
  .apple-layout .home-page .ig-home-carousel-slide .ig-home-offer-price { padding: 7px 11px; }
  .apple-layout .home-page .ig-home-carousel-slide .ig-home-offer-price span { font-size: clamp(24px,6.5vw,29px); }
  .apple-layout .home-page .ig-home-carousel-slide .ig-home-hero-actions { margin-top: 12px; }
  .apple-layout .home-page .ig-home-carousel-slide .ig-home-hero-actions a { min-height: 40px; padding: 9px 15px; font-size: 12px; }
  .apple-layout .home-page .ig-home-carousel-controls { gap: 12px; min-height: 42px; margin-top: 9px; }
  .apple-layout .home-page .ig-home-carousel-arrow { width: 40px; height: 40px; }
  .apple-layout .home-page .ig-home-carousel-dots { gap: 8px; }
  .apple-layout .home-page .ig-home-carousel-dots button { width: 8px; height: 8px; }
  .apple-layout .home-page .ig-home-carousel-dots button[aria-current="true"] { width: 22px; }
}
@media (max-width: 360px) {
  .apple-layout .home-page .ig-home-carousel-slide { min-height: 345px; padding-top: 136px; padding-bottom: 19px; }
  .apple-layout .home-page .ig-home-carousel-slide .ig-home-hero-copy h2,
  .apple-layout .home-page .ig-home-intro--playstation .ig-home-hero-copy h2 { font-size: 27px; }
  .apple-layout .home-page .ig-home-carousel-slide .ig-home-hero-copy p { font-size: 12px; }
}

/* Soft, layered pixel rain behind cards; scroll adds a small parallax turn. */
.apple-layout main > div.ig-item-rain { z-index: 0; perspective: 850px; }
.apple-layout .ig-item-rain-drop {
  opacity: var(--rain-alpha,.64);
  filter: blur(var(--rain-blur,.2px)) drop-shadow(0 5px 10px #0008) saturate(.92);
  animation: ig-item-fall-soft var(--rain-time) linear var(--rain-delay) infinite;
  transform-style: preserve-3d;
}
.apple-layout .ig-item-rain-drop svg {
  transform: translate3d(0,var(--rain-parallax,0px),0) rotateY(var(--rain-yaw,8deg)) rotateX(7deg);
  transform-style: preserve-3d;
  transition: transform .45s cubic-bezier(.2,.75,.2,1);
}
@keyframes ig-item-fall-soft {
  from { transform: translate3d(-18px,-10vh,0) rotateZ(-13deg) scale(var(--rain-scale,.8)); }
  to { transform: translate3d(28px,125vh,0) rotateZ(13deg) scale(var(--rain-scale,.8)); }
}
@media (max-width: 700px) {
  .apple-layout .ig-item-rain-drop { opacity: var(--rain-alpha,.64); }
  .apple-layout .ig-item-rain-drop:nth-child(2n) { display: block; }
  .apple-layout .ig-item-rain-drop { width: calc(var(--rain-size) * .78); height: calc(var(--rain-size) * .78); }
}
@media (prefers-reduced-motion: reduce) {
  .apple-layout .ig-item-rain-drop { animation: none; opacity: .26; }
  .apple-layout .ig-item-rain-drop svg { transition: none; transform: none; }
}

/* Calm editorial carousel: muted art, clear type, and quiet navigation. */
.apple-layout .ig-item-rain { display: none !important; }
.apple-layout .home-page .ig-home-carousel { margin-top: 22px; }
.apple-layout .home-page .ig-home-carousel-track { border-radius: 25px; box-shadow: none; }
.apple-layout .home-page .ig-home-carousel-slide {
  position: relative;
  isolation: isolate;
  height: clamp(365px,33vw,450px);
  min-height: 0;
  padding: clamp(30px,4.3vw,60px);
  overflow: hidden;
  border: 1px solid #ffffff14;
  border-radius: 25px;
  background-color: #171719 !important;
  background-image: none !important;
  box-shadow: none;
}
.apple-layout .home-page .ig-home-intro--pubg { --ig-banner-art: url('/media/home-banner-pubg-v1.jpg'); }
.apple-layout .home-page .ig-home-intro--canva { --ig-banner-art: url('/media/home-banner-canva-v1.jpg'); }
.apple-layout .home-page .ig-home-intro--design { --ig-banner-art: url('/media/home-banner-design-v1.jpg'); }
.apple-layout .home-page .ig-home-intro--igame { --ig-banner-art: url('/media/home-banner-igame-v1.jpg'); }
.apple-layout .home-page .ig-home-intro--steam { --ig-banner-art: url('/media/home-banner-steam-v1.jpg'); }
.apple-layout .home-page .ig-home-intro--playstation { --ig-banner-art: url('/media/home-banner-playstation-v1.jpg'); }
.apple-layout .home-page .ig-home-carousel-slide::before {
  position: absolute;
  z-index: 0;
  inset: 0 0 0 auto;
  width: 64%;
  content: "";
  background: var(--ig-banner-art) center / cover no-repeat;
  filter: saturate(.72) brightness(.84);
  -webkit-mask-image: linear-gradient(90deg,transparent 0%,#000 34%,#000 100%);
  mask-image: linear-gradient(90deg,transparent 0%,#000 34%,#000 100%);
}
.apple-layout .home-page .ig-home-carousel-slide::after {
  z-index: 1;
  background: linear-gradient(90deg,#171719 0%,#171719e8 30%,#17171987 58%,transparent 80%) !important;
}
.apple-layout .home-page .ig-home-carousel-slide .ig-home-hero-copy { z-index: 2; width: 56%; max-width: 620px; }
.apple-layout .home-page .ig-home-carousel-slide .ig-home-eyebrow {
  display: block;
  padding: 0;
  border: 0;
  background: none;
  color: #aaaab0;
  font-size: 11px;
  font-weight: 650;
  letter-spacing: .11em;
  backdrop-filter: none;
}
.apple-layout .home-page .ig-home-carousel-slide .ig-home-eyebrow::before { display: none; }
.apple-layout .home-page .ig-home-carousel-slide .ig-home-hero-copy h2,
.apple-layout .home-page .ig-home-intro--playstation .ig-home-hero-copy h2 {
  max-width: 100%;
  margin: 16px 0 14px;
  color: #f5f5f7;
  font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",system-ui,sans-serif;
  font-size: clamp(40px,4.6vw,66px);
  font-weight: 680;
  line-height: 1.05;
  letter-spacing: -.057em;
  text-shadow: none;
}
.apple-layout .home-page .ig-home-carousel-slide .ig-home-hero-copy h2 em { color: #d4d4d9; }
.apple-layout .home-page .ig-home-carousel-slide .ig-home-hero-copy p { max-width: 430px; color: #b5b5bc; font-size: clamp(14px,1.25vw,17px); line-height: 1.45; }
.apple-layout .home-page .ig-home-carousel-slide .ig-home-offer-price {
  display: flex;
  width: fit-content;
  align-items: baseline;
  gap: 7px;
  margin-top: 8px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
  backdrop-filter: none;
}
.apple-layout .home-page .ig-home-carousel-slide .ig-home-offer-price span { color: #f5f5f7; font-size: 31px; font-weight: 680; }
.apple-layout .home-page .ig-home-carousel-slide .ig-home-offer-price small { color: #a8a8b0; font-size: 13px; font-weight: 650; letter-spacing: .02em; }
.apple-layout .home-page .ig-home-carousel-slide .ig-home-hero-actions,
.apple-layout .home-page .ig-home-carousel-slide .ig-home-offer-price + .ig-home-hero-actions { gap: 17px; margin-top: 23px; }
.apple-layout .home-page .ig-home-carousel-slide .ig-home-primary { min-height: 44px; padding: 10px 18px; border: 0; border-radius: 999px; background: #f5f5f7; color: #1a1a1d; font-size: 13px; font-weight: 650; box-shadow: none; }
.apple-layout .home-page .ig-home-carousel-slide .ig-home-primary:hover { background: #dedee2; box-shadow: none; }
.apple-layout .home-page .ig-home-carousel-slide .ig-home-secondary { color: #d0d0d5; font-weight: 600; }
.apple-layout .home-page .ig-home-carousel-controls { position: relative; right: auto; bottom: auto; justify-content: center; gap: 12px; margin-top: 13px; }
.apple-layout .home-page .ig-home-carousel-arrow { width: 32px; height: 32px; border: 1px solid #ffffff24; background: #1d1d20; color: #d6d6db; backdrop-filter: none; }
.apple-layout .home-page .ig-home-carousel-arrow:hover,
.apple-layout .home-page .ig-home-carousel-arrow:focus-visible { background: #343438; color: #fff; }
.apple-layout .home-page .ig-home-carousel-dots { gap: 7px; }
.apple-layout .home-page .ig-home-carousel-dots button { width: 6px; height: 6px; background: #6e6e74; }
.apple-layout .home-page .ig-home-carousel-dots button[aria-current="true"] { width: 18px; background: #f5f5f7; }
@media (min-width: 701px) and (max-width: 1024px) {
  .apple-layout .home-page .ig-home-carousel-slide { height: clamp(340px,44vw,410px); padding: clamp(28px,4vw,42px); }
  .apple-layout .home-page .ig-home-carousel-slide .ig-home-hero-copy { width: 59%; }
  .apple-layout .home-page .ig-home-carousel-slide .ig-home-hero-copy h2,
  .apple-layout .home-page .ig-home-intro--playstation .ig-home-hero-copy h2 { font-size: clamp(34px,4.8vw,49px); }
}
@media (max-width: 700px) {
  .apple-layout .home-page > .ig-home-carousel { width: calc(100% - 28px); margin-top: 15px; }
  .apple-layout .home-page .ig-home-carousel-track { border-radius: 20px; }
  .apple-layout .home-page .ig-home-carousel-slide {
    height: auto;
    min-height: clamp(345px,91vw,390px);
    padding: clamp(155px,43vw,185px) 21px 22px;
    align-items: flex-end;
    border-radius: 20px;
  }
  .apple-layout .home-page .ig-home-carousel-slide::before {
    inset: 0 0 auto;
    width: 100%;
    height: 62%;
    background-position: 68% 25%;
    filter: saturate(.76) brightness(.82);
    -webkit-mask-image: linear-gradient(180deg,#000 0%,#000 36%,transparent 100%);
    mask-image: linear-gradient(180deg,#000 0%,#000 36%,transparent 100%);
  }
  .apple-layout .home-page .ig-home-carousel-slide::after {
    background: linear-gradient(180deg,transparent 0%,#17171985 37%,#171719 62%,#171719 100%) !important;
  }
  .apple-layout .home-page .ig-home-carousel-slide .ig-home-hero-copy { width: 100%; max-width: none; }
  .apple-layout .home-page .ig-home-carousel-slide .ig-home-eyebrow { font-size: 9px; letter-spacing: .1em; }
  .apple-layout .home-page .ig-home-carousel-slide .ig-home-hero-copy h2,
  .apple-layout .home-page .ig-home-intro--playstation .ig-home-hero-copy h2 { margin: 9px 0 8px; font-size: clamp(27px,7.2vw,34px); line-height: 1.07; }
  .apple-layout .home-page .ig-home-carousel-slide .ig-home-hero-copy p { font-size: 12px; line-height: 1.4; }
  .apple-layout .home-page .ig-home-carousel-slide .ig-home-offer-price span { font-size: 27px; }
  .apple-layout .home-page .ig-home-carousel-slide .ig-home-offer-price small { font-size: 11px; }
  .apple-layout .home-page .ig-home-carousel-slide .ig-home-hero-actions,
  .apple-layout .home-page .ig-home-carousel-slide .ig-home-offer-price + .ig-home-hero-actions { margin-top: 16px; }
  .apple-layout .home-page .ig-home-carousel-slide .ig-home-primary { min-height: 39px; padding: 9px 15px; font-size: 12px; }
  .apple-layout .home-page .ig-home-carousel-controls { min-height: 34px; margin-top: 8px; }
  .apple-layout .home-page .ig-home-carousel-arrow { width: 32px; height: 32px; }
}
@media (max-width: 360px) {
  .apple-layout .home-page .ig-home-carousel-slide { padding-top: 145px; }
  .apple-layout .home-page .ig-home-carousel-slide .ig-home-hero-copy h2,
  .apple-layout .home-page .ig-home-intro--playstation .ig-home-hero-copy h2 { font-size: 26px; }
}

/* Account and live support: quiet surfaces, clear actions and readable conversations. */
.apple-layout .ig-account-page { max-width: 1150px; }
.apple-layout .ig-account-heading { margin-bottom: 23px; }
.apple-layout .ig-account-tabs { display: flex; gap: 6px; width: fit-content; max-width: 100%; overflow-x: auto; padding: 5px; margin-bottom: 25px; border: 1px solid #303036; border-radius: 15px; background: #1b1b1f; }
.apple-layout .ig-account-tabs a { flex: none; min-height: 39px; display: grid; place-items: center; padding: 0 17px; border: 0; border-radius: 11px; color: #a9a9b1; font-size: 13px; font-weight: 650; white-space: nowrap; }
.apple-layout .ig-account-tabs a.selected { background: #f5f5f7; color: #111115; box-shadow: 0 2px 8px #0003; }
.ig-profile-hero { display: grid; grid-template-columns: minmax(0,1fr) minmax(220px,290px); gap: 25px; align-items: end; padding: clamp(25px,4vw,42px); margin-bottom: 20px; border: 1px solid #303036; border-radius: 25px; background: radial-gradient(circle at 85% 20%,#172238 0%,transparent 38%),linear-gradient(130deg,#222329,#111215 70%); }
.ig-profile-kicker { color: #9daec9; font-size: 10px; font-weight: 750; letter-spacing: .15em; }
.ig-profile-hero h2 { margin: 11px 0 8px; color: #fff; font-size: clamp(28px,3vw,41px); line-height: 1.07; letter-spacing: -.05em; }
.ig-profile-hero p { max-width: 450px; margin: 0; color: #aeb2bc; font-size: 14px; line-height: 1.55; }
.ig-profile-hero-actions { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 22px; }
.ig-profile-hero-actions a { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 39px; padding: 0 15px; border-radius: 11px; background: #f5f5f7; color: #121317; font-size: 12px; font-weight: 750; }
.ig-profile-hero-actions a + a { border: 1px solid #41454c; background: #292c32; color: #f5f5f7; }
.ig-profile-hero-actions svg { width: 15px; height: 15px; }
.ig-profile-hero-balance { display: grid; gap: 8px; padding: 22px; border: 1px solid #ffffff18; border-radius: 20px; background: #ffffff0b; }
.ig-profile-hero-balance span { color: #b3b8c2; font-size: 12px; }
.ig-profile-hero-balance strong { color: #fff; font-size: clamp(28px,3vw,40px); letter-spacing: -.055em; }
.ig-profile-hero-balance small { color: #aeb7c7; font-size: 11px; }
.apple-layout .ig-account-stats { gap: 13px; margin-bottom: 20px; }
.apple-layout .ig-account-stats .panel { min-width: 0; border: 1px solid #303036; border-radius: 18px; background: #191a1e; }
.apple-layout .ig-account-stats .panel span { color: #a6a6ae; }
.apple-layout .ig-account-grid .panel,.apple-layout .ig-account-activity { border: 1px solid #303036; border-radius: 19px; background: #191a1e; }
.ig-profile-bottom { display: grid; grid-template-columns: minmax(0,1.5fr) minmax(210px,.7fr); gap: 20px; margin: 20px 0 24px; }
.ig-account-section-title { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; margin-bottom: 6px; }
.ig-account-section-title h2 { margin: 0; font-size: 19px; }
.ig-account-section-title a { color: #b6caeb; font-size: 12px; white-space: nowrap; }
.ig-account-activity-row { display: flex; align-items: center; justify-content: space-between; gap: 15px; padding: 14px 0; border-top: 1px solid #ffffff12; }
.ig-account-activity-row strong,.ig-account-activity-row small { display: block; }
.ig-account-activity-row strong { color: #f0f0f3; font-size: 12px; font-weight: 600; overflow-wrap: anywhere; }
.ig-account-activity-row small { margin-top: 4px; color: #92929b; font-size: 11px; }
.ig-account-activity-row b { white-space: nowrap; font-size: 13px; }
.ig-account-activity-row .is-positive { color: #7fdbb4; }
.ig-account-activity-row .is-negative { color: #eea3a3; }
.ig-profile-support { display: flex; flex-direction: column; align-items: start; justify-content: end; min-height: 190px; padding: 22px; border: 1px solid #323a45; border-radius: 19px; background: linear-gradient(145deg,#253040,#15191f); color: #fff; }
.ig-profile-support>span { display: grid; place-items: center; width: 36px; height: 36px; margin-bottom: auto; border-radius: 11px; background: #ffffff1b; }
.ig-profile-support svg { width: 19px; height: 19px; }
.ig-profile-support strong { font-size: 21px; letter-spacing: -.04em; }
.ig-profile-support small { margin-top: 3px; color: #b5becc; }
.ig-profile-support b { margin-top: 16px; color: #dce9fb; font-size: 12px; }
.apple-layout .ig-account-page .account-form { max-width: 650px; border: 1px solid #303036; border-radius: 19px; background: #191a1e; }
.apple-layout .ig-chat-panel { border-color: #35373b; background: #151619; }
.apple-layout .ig-chat-head { background: #202125; border-bottom-color: #34363b; }
.apple-layout .ig-chat-head p { color: #8fd4ab; font-size: 11px; }
.apple-layout .ig-chat-messages { background: radial-gradient(circle at 85% 15%,#202b28 0%,transparent 45%),#151619; }
.apple-layout .ig-chat-bubble { background: #30343a; border-radius: 17px 17px 17px 5px; }
.apple-layout .is-mine .ig-chat-bubble { background: #235a43; color: #fff; border-radius: 17px 17px 5px 17px; }
.apple-layout .ig-chat-compose { background: #202125; border-top-color: #34363b; }
.apple-layout .ig-chat-compose>div { border-color: #43464b; background: #2c2e32; }
.apple-layout .ig-chat-compose textarea { flex: 1; min-width: 0; max-height: 110px; padding: 8px 10px; resize: vertical; border: 0; outline: 0; background: transparent; color: #fff; font: inherit; font-size: 14px; }
.apple-layout .ig-chat-compose button { background: #aee6c5; color: #143523; }
.apple-layout .ig-chat-compose small { color: #9da7a2; }
@media (max-width: 700px) {
  .ig-profile-hero,.ig-profile-bottom { grid-template-columns: 1fr; gap: 14px; }
  .ig-profile-hero { padding: 23px; border-radius: 21px; }
  .ig-profile-hero-balance { padding: 17px; }
  .apple-layout .ig-account-tabs { width: 100%; }
  .apple-layout .ig-account-tabs a { flex: 1; padding: 0 10px; }
  .apple-layout .ig-account-stats { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .apple-layout .ig-account-stats .panel:first-child { grid-column: 1/-1; }
  .ig-profile-support { min-height: 155px; }
  .apple-layout:not(.ig-auth-layout) .ig-chat-launcher { display: grid !important; right: 12px; bottom: calc(84px + env(safe-area-inset-bottom)); width: 55px !important; height: 55px !important; z-index: 75; }
  .apple-layout:has(.ig-account-page) .ig-chat-launcher { display: none !important; }
  .apple-layout:not(.ig-auth-layout) .ig-chat-launcher .ig-game-chat-icon { width: 53px !important; height: 53px !important; }
  .apple-layout dialog.ig-chat-panel { height: calc(100dvh - 15px); max-height: none; }
  .apple-layout .live-chat.ig-chat-panel { height: min(690px,calc(100dvh - 160px)); max-height: none; }
}
