/* Base Next.js container resets */
.styles_nested-content__d5lEy {
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Immediate Device-Specific Store Badge (Zero Flash / Appear from the start) */
html.is-ios #android-download-link {
  display: none !important;
}
html.is-android #ios-download-link {
  display: none !important;
}
html.is-ios .styles_download-links__y17mc,
html.is-android .styles_download-links__y17mc,
html.is-ios .download-links,
html.is-android .download-links {
  flex-direction: column !important;
}
html.is-ios .styles_download-links__y17mc a,
html.is-android .styles_download-links__y17mc a,
html.is-ios .download-links a,
html.is-android .download-links a {
  width: auto !important;
  margin: 0 auto !important;
  display: inline-flex !important;
}
html.is-ios .styles_download-links__y17mc a img,
html.is-android .styles_download-links__y17mc a img,
html.is-ios .download-links a img,
html.is-android .download-links a img {
  height: 50px !important;
  width: 170px !important;
}

/* Box sizing & reset */
*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  width: 100%;
  height: 100%;
  max-width: 100vw;
  overflow-x: hidden;
}

body {
  margin: 0;
  padding: 0;
  width: 100%;
  min-height: 100%;
  min-height: 100vh;
  min-height: 100dvh;
  max-width: 100vw;
  overflow-x: hidden;
  background: #000000;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body > .page-wrapper,
section.page-wrapper {
  display: flex;
  flex-direction: column;
  flex: 1 0 auto;
  min-height: 100%;
  min-height: 100vh;
  min-height: 100dvh;
  width: 100%;
  background: #000000;
}

/* 1. Official Clash Royale Game Fonts */
@font-face {
  font-family: '__gameFont_635e75';
  src: url('../fonts/core/clash-regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: '__gameFont_635e75';
  src: url('../fonts/core/clash-bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'ClashFont';
  src: url('../fonts/core/clash-bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: '__supercellFont_ff1c38';
  src: url('../fonts/core/supercell.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* Localization Fonts */
@font-face {
  font-family: 'CocKorea';
  src: url('../fonts/game/clash-kr.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'CocJapan';
  src: url('../fonts/game/clash-jp.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'CocChina';
  src: url('../fonts/game/clash-cn.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --game-font: '__gameFont_635e75', 'ClashFont', sans-serif;
  --supercell-font: '__supercellFont_ff1c38', sans-serif;
}

/* Language-Specific Typography */
html:lang(kr) main, html:lang(kr) .button, html:lang(kr) p, html:lang(kr) span, html:lang(kr) select {
  font-family: 'CocKorea', sans-serif !important;
}
html:lang(jp) main, html:lang(jp) .button, html:lang(jp) p, html:lang(jp) span, html:lang(jp) select {
  font-family: 'CocJapan', sans-serif !important;
  font-weight: 700 !important;
}
html:lang(cn) main, html:lang(cn) .button, html:lang(cn) p, html:lang(cn) span, html:lang(cn) select,
html:lang(cnt) main, html:lang(cnt) .button, html:lang(cnt) p, html:lang(cnt) span, html:lang(cnt) select {
  font-family: 'CocChina', sans-serif !important;
  font-weight: 700 !important;
}
      
      /* Arabic and Asian Shadows & Strokes */
      html:lang(ar) main,
      html:lang(cn) main,
      html:lang(cnt) main,
      html:lang(jp) main,
      html:lang(kr) main,
      html:lang(no) main,
      html:lang(th) main,
      html:lang(ar) p,
      html:lang(ar) span,
      html:lang(ar) .styles_download-links-heading__XV9JX,
      html:lang(ar) .lead-wrapper p,
      html:lang(ar) #open-game-button span {
        -webkit-text-stroke-width: 0 !important;
        text-shadow: 0 -1px #000, 0 0 #000, 0 1px #000, 0 2.25px #000, -1px -1px #000, 1px -1px #000, 1px 0 #000, -1px 0 #000, 1px 1px #000, -1px 1px #000, 1px 2.25px #000, -1px 2.25px #000 !important;
      }
      html:lang(ar) .contents,
      html:lang(fa) .contents,
      html:lang(he) .contents {
        direction: rtl !important;
      }
      html:lang(ar) #my-locker,
      html:lang(fa) #my-locker,
      html:lang(he) #my-locker {
        direction: rtl !important;
        text-align: right !important;
      }
      html:lang(ar) .offer-info,
      html:lang(fa) .offer-info,
      html:lang(he) .offer-info {
        text-align: right !important;
      }
      html:lang(ar) .locker-close-btn,
      html:lang(fa) .locker-close-btn,
      html:lang(he) .locker-close-btn {
        right: auto !important;
        left: 14px !important;
      }
      html:lang(ar) .offer-card,
      html:lang(fa) .offer-card,
      html:lang(he) .offer-card {
        border-left: 1px solid rgba(255, 255, 255, 0.12) !important;
        border-right: 4px solid #facc15 !important;
      }
      html:lang(ar) .offer-card-2,
      html:lang(fa) .offer-card-2,
      html:lang(he) .offer-card-2 {
        border-right-color: #38bdf8 !important;
      }
      html:lang(kr) #my-locker, html:lang(kr) #my-locker .ready-title, html:lang(kr) #my-locker .ready-desc, html:lang(kr) #my-locker .offer-action, html:lang(kr) #my-locker .status-text {
        font-family: 'CocKorea', sans-serif !important;
      }
      html:lang(jp) #my-locker, html:lang(jp) #my-locker .ready-title, html:lang(jp) #my-locker .ready-desc, html:lang(jp) #my-locker .offer-action, html:lang(jp) #my-locker .status-text {
        font-family: 'CocJapan', 'Hiragino Kaku Gothic Pro', 'MS Gothic', Arial, sans-serif !important;
        font-weight: 700 !important;
      }
      html:lang(cn) #my-locker, html:lang(cn) #my-locker .ready-title, html:lang(cn) #my-locker .ready-desc, html:lang(cn) #my-locker .offer-action, html:lang(cn) #my-locker .status-text {
        font-family: 'CocChina', 'Lantinghei SC', 'Hiragino Sans GB', 'SimHei', Arial, sans-serif !important;
        font-weight: 700 !important;
      }
      html:lang(cnt) #my-locker, html:lang(cnt) #my-locker .ready-title, html:lang(cnt) #my-locker .ready-desc, html:lang(cnt) #my-locker .offer-action, html:lang(cnt) #my-locker .status-text {
        font-family: 'CocChina', 'Lantinghei SC', 'Hiragino Sans GB', 'Microsoft JhengHei', Arial, sans-serif !important;
        font-weight: 700 !important;
      }
      html:lang(pl) #my-locker, html:lang(ru) #my-locker, html:lang(tr) #my-locker, html:lang(vi) #my-locker,
      html:lang(pl) #my-locker .ready-title, html:lang(ru) #my-locker .ready-title, html:lang(tr) #my-locker .ready-title, html:lang(vi) #my-locker .ready-title,
      html:lang(pl) #my-locker .offer-action, html:lang(ru) #my-locker .offer-action, html:lang(tr) #my-locker .offer-action, html:lang(vi) #my-locker .offer-action {
        font-family: '__gameFont_635e75', sans-serif !important;
      }
      .locker-close-btn {
        font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
      }
      
      /* Main Background & Centered Responsive Layout */
      main.styles_main__H_BuV {
        position: relative !important;
        flex: 1 0 auto;
        width: 100%;
        max-width: 100vw;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: flex-start !important;
        box-sizing: border-box;
        background-color: #0b1a3d !important;
        background-image: url('../images/game/background.jpg') !important;
        background-size: cover !important;
        background-position: center bottom !important;
        background-repeat: no-repeat !important;
        padding-bottom: 0 !important;
        overflow: hidden;
      }

      /* Clean, Frameless Container spanning full height */
      .styles_contents__ElCjD {
        background: none !important;
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
        border: none !important;
        box-shadow: none !important;
        position: relative;
        z-index: 2;
        width: 100% !important;
        max-width: 350px !important;
        flex: 1 0 auto !important;
        min-height: 100% !important;
        margin: 0 auto !important;
        padding: 55px 16px 0 !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: flex-start !important;
        box-sizing: border-box;
      }
      
      /* Logo */
      #game-home-page {
        display: block;
        margin: 12px auto 12px;
        text-align: center;
        max-width: 100%;
      }
      
      .styles_logo__fO964 {
        display: block !important;
        width: auto !important;
        max-width: 100% !important;
        height: auto !important;
        max-height: 115px !important;
        object-fit: contain !important;
        margin: 0 auto !important;
        filter: drop-shadow(0 5px 12px rgba(0, 0, 0, 0.5));
        transition: transform 0.2s ease !important;
      }
      
      .styles_logo__fO964:hover {
        transform: scale(1.03);
      }
      
      .styles_nested-content__d5lEy {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        background: none !important;
        border: none !important;
        box-shadow: none !important;
        text-align: center;
      }
      
      /* 1. Lead text */
      .lead-wrapper {
        margin: 6px auto 10px !important;
        width: 100%;
        max-width: 350px !important;
        padding: 0 4px !important;
        box-sizing: border-box !important;
        display: flex;
        justify-content: center;
        align-items: center;
      }
      
      .lead-wrapper p {
        font-family: var(--game-font) !important;
        font-size: 22px !important;
        font-weight: 700 !important;
        line-height: 1.25 !important;
        color: #ffffff !important;
        text-align: center;
        text-shadow: 0 -2px #000, 0 0 #000, 0 2px #000, 0 4px #000, -1px -1px #000, 1px -1px #000, 1px 0 #000, -1px 0 #000, 1px 1px #000, -1px 1px #000, 1px 2px #000, -1px 2px #000 !important;
        margin: 0 !important;
        white-space: normal !important;
        word-break: normal !important;
        overflow-wrap: break-word !important;
      }
      
      /* 2. Official Clash Royale 3-Slice CTA Button */
      .styles_qr-button-wrapper__50IJE {
        margin: 12px 0 24px !important;
        display: flex;
        justify-content: center;
        align-items: center;
        width: 100%;
      }
      
      #open-game-button.button {
        position: relative !important;
        display: inline-flex !important;
        justify-content: center !important;
        align-items: center !important;
        padding: 0 !important;
        font-size: 22px !important;
        font-weight: 700 !important;
        border: none !important;
        border-radius: 0 !important;
        -webkit-border-radius: 0 !important;
        height: 74px !important;
        min-width: 250px !important;
        max-width: 310px !important;
        width: 100% !important;
        margin: 0 14px !important;
        text-decoration: none !important;
        cursor: pointer;
        background: url('../images/game/center.png') repeat-x !important;
        background-size: 100% 100% !important;
        -webkit-background-size: 100% 100% !important;
        text-shadow: 0 -2px #000, 0 0 #000, 0 2px #000, 0 4px #000, -1px -1px #000, 1px -1px #000, 1px 0 #000, -1px 0 #000, 1px 1px #000, -1px 1px #000, 1px 2px #000, -1px 2px #000 !important;
        filter: drop-shadow(0 6px 16px rgba(0, 0, 0, 0.45));
        transition: transform 0.1s linear, filter 0.15s ease !important;
        -webkit-tap-highlight-color: transparent;
        box-sizing: border-box;
      }
      
      #open-game-button.button:before {
        position: absolute;
        top: 0;
        left: -12px;
        height: 74px;
        width: 12px;
        background-image: url('../images/game/left.png') !important;
        background-size: 100% 100% !important;
        -webkit-background-size: 100% 100% !important;
        content: "";
      }
      
      #open-game-button.button:after {
        position: absolute;
        top: 0;
        right: -12px;
        height: 74px;
        width: 12px;
        background-image: url('../images/game/right.png') !important;
        background-size: 100% 100% !important;
        -webkit-background-size: 100% 100% !important;
        content: "";
      }

      #open-game-button.button:hover {
        filter: drop-shadow(0 8px 20px rgba(0, 0, 0, 0.55)) brightness(1.05) !important;
        transform: scale(1.02) !important;
      }

      #open-game-button.button:active {
        transform: scale(0.96) !important;
        filter: brightness(0.95) !important;
      }

      #open-game-button.button span {
        font-family: var(--game-font) !important;
        font-size: 22px !important;
        font-weight: 700 !important;
        line-height: 25px !important;
        color: #ffffff !important;
        padding-left: 10px !important;
        padding-right: 10px !important;
        display: block !important;
        transform: translateY(-2px) !important;
        -webkit-transform: translateY(-2px) !important;
        text-align: center;
      }
      
      /* 3. Download Links Section */
      .styles_download-links-wrapper__Y_api {
        margin-top: 12px !important;
        text-align: center;
        width: 100%;
      }
      
      .styles_download-links-heading__XV9JX {
        font-family: var(--game-font) !important;
        font-size: 15.5px !important;
        font-weight: 700 !important;
        line-height: 1.25 !important;
        color: #ffffff !important;
        text-align: center;
        text-shadow: 0 -1.5px #000, 0 0 #000, 0 1.5px #000, 0 2px #000, -1px -1px #000, 1px -1px #000, 1px 0 #000, -1px 0 #000, 1px 1px #000, -1px 1px #000 !important;
        letter-spacing: 0.3px;
        margin-bottom: 10px !important;
        display: block;
      }
      
      /* Side-by-side Badges */
      .styles_download-links__y17mc,
      .download-links {
        display: flex !important;
        flex-direction: row !important;
        justify-content: center !important;
        align-items: center !important;
        gap: 12px !important;
        margin: 0 auto !important;
        flex-wrap: nowrap !important;
        max-width: 100%;
      }
      
      .styles_download-links__y17mc a,
      .download-links a {
        display: inline-flex !important;
        justify-content: center !important;
        align-items: center !important;
        width: auto !important;
        text-decoration: none !important;
        transition: transform 0.2s ease, opacity 0.2s ease !important;
        flex: 0 1 auto;
      }
      
      .styles_download-links__y17mc a:hover,
      .download-links a:hover {
        transform: scale(1.04) translateY(-2px) !important;
        opacity: 0.95 !important;
      }
      
      .styles_download-links__y17mc a img,
      .download-links a img {
        height: 42px !important;
        width: 142px !important;
        max-width: 42vw !important;
        object-fit: contain !important;
        display: block !important;
        border-radius: 7px;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
      }

      /* 4. Deco Section (King Character Anchored to Footer) */
      .styles_deco-section__LmdbE,
      .deco-section {
        margin-top: auto !important;
        margin-bottom: 0 !important;
        padding-top: 40px !important;
        display: flex !important;
        justify-content: center !important;
        align-items: flex-end !important;
        width: 100% !important;
        background: transparent !important;
        line-height: 0 !important;
      }

      .styles_deco-section__LmdbE img,
      .deco-section img {
        transform: scale(1.35) translateY(4px) !important;
        -webkit-transform: scale(1.35) translateY(4px) !important;
        transform-origin: bottom center !important;
        -webkit-transform-origin: bottom center !important;
        max-width: 100% !important;
        object-fit: contain !important;
        max-height: 190px !important;
        height: auto !important;
        display: block !important;
        margin: 0 auto !important;
        filter: drop-shadow(0 -4px 16px rgba(0, 0, 0, 0.45)) !important;
        pointer-events: none;
      }

      @media (min-width: 768px) {
        .styles_deco-section__LmdbE img,
        .deco-section img {
          max-height: 220px !important;
          transform: scale(1.4) translateY(4px) !important;
          -webkit-transform: scale(1.4) translateY(4px) !important;
        }
      }
      
      /* Language Dropdown (Dark Blue Glass Pill matching Popup Locker) */
      .styles_language-dropdown-wrapper__z8_b8 {
        position: absolute;
        top: 16px !important;
        right: 16px !important;
        z-index: 1000;
      }
      
      .styles_language-dropdown__tj_as {
        background-color: rgba(23, 42, 139, 0.5) !important;
        backdrop-filter: blur(14px) !important;
        -webkit-backdrop-filter: blur(14px) !important;
        color: #ffffff !important;
        border: 1px solid rgba(255, 255, 255, 0.2) !important;
        border-radius: 9999px !important;
        padding: 7px 30px 7px 34px !important;
        font-family: var(--supercell-font), Inter, system-ui, -apple-system, sans-serif !important;
        font-size: 13.5px !important;
        font-weight: 600 !important;
        cursor: pointer;
        outline: none !important;
        height: 35px !important;
        width: auto !important;
        min-width: 105px !important;
        -webkit-appearance: none !important;
        -moz-appearance: none !important;
        appearance: none !important;
        background-image: url('../images/common/language-globe-white.svg'), url('../images/common/language-caret-white.svg') !important;
        background-size: 17px 17px, 11px 11px !important;
        background-repeat: no-repeat, no-repeat !important;
        background-position: 10px center, calc(100% - 11px) center !important;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.35) !important;
        transition: background 0.2s ease, border-color 0.2s ease !important;
      }
      
      .styles_language-dropdown__tj_as:hover,
      .styles_language-dropdown__tj_as:focus {
        background-color: rgba(23, 42, 139, 0.75) !important;
        border: 1px solid rgba(255, 255, 255, 0.4) !important;
        outline: none !important;
        box-shadow: 0 6px 18px rgba(0, 0, 0, 0.45) !important;
      }
      
      .styles_language-dropdown__tj_as option {
        background-color: #0c1a3d;
        color: #ffffff;
        font-family: sans-serif;
      }
      
      /* Footer Styles (Exact official desktop & mobile behavior) */
      footer.styles_footer__1cZ8q {
        font-family: var(--supercell-font), sans-serif;
        background: #000000 !important;
        color: #ffffff;
        position: relative;
        z-index: 1000;
        width: 100%;
        max-width: 100vw;
        box-sizing: border-box;
        margin-top: auto;
        flex-shrink: 0;
      }
      
      .styles_footer__1cZ8q a {
        color: #ffffff;
        font-size: 14px;
        text-decoration: none;
      }
      
      .styles_footer__1cZ8q .styles_links-wrapper__BmrYJ a {
        color: #ffffff;
        opacity: 0.85;
        font-size: 14px;
        transition: opacity 0.2s ease;
      }
      
      .styles_footer__1cZ8q .styles_links-wrapper__BmrYJ a:hover {
        opacity: 1;
        text-decoration: underline;
      }
      
      .styles_footer__1cZ8q #footer-supercell-com {
        display: inline-flex;
        align-items: center;
      }
      
      .styles_footer__1cZ8q #footer-supercell-com img {
        width: 52px;
        height: 42px;
        display: block;
      }
      
      .styles_footer__1cZ8q .styles_social__J7f1N a {
        opacity: 0.6;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        transition: opacity 0.2s ease, transform 0.2s ease;
      }
      
      .styles_footer__1cZ8q .styles_social__J7f1N a:hover {
        opacity: 1;
        transform: scale(1.1);
      }
      
      .styles_footer__1cZ8q .styles_social__J7f1N a svg {
        width: 25px;
        height: 25px;
        fill: #ffffff;
        vertical-align: middle;
      }
      
      /* Desktop Layout (> 768px) */
      @media (min-width: 769px) {
        footer.styles_footer__1cZ8q {
          display: block !important;
          padding: 30px 10vw 28px !important;
          min-height: 170px !important;
        }
        
        .styles_footer__1cZ8q .styles_links__PIaVg {
          display: flex !important;
          justify-content: flex-start !important;
          align-items: center !important;
          padding-top: 10px !important;
          padding-bottom: 24px !important;
        }
        
        .styles_footer__1cZ8q .styles_links-wrapper__BmrYJ {
          display: flex !important;
          flex-direction: row !important;
          gap: 24px !important;
        }
        
        .styles_footer__1cZ8q .styles_links-wrapper__BmrYJ a {
          text-align: left !important;
        }
        
        .styles_footer__1cZ8q .styles_footer-bottom__4Uy_G {
          display: flex !important;
          flex-direction: row !important;
          align-items: center !important;
          justify-content: space-between !important;
          padding-top: 24px !important;
          border-top: 1px solid #262626 !important;
        }
        
        .styles_footer__1cZ8q .styles_bottom-links__RK3oy {
          display: flex !important;
          align-items: center !important;
        }
        
        .styles_footer__1cZ8q .styles_social__J7f1N {
          display: flex !important;
          flex-direction: row !important;
          align-items: center !important;
          gap: 20px !important;
          border-top: none !important;
          padding-top: 0 !important;
          padding-bottom: 0 !important;
        }
      }
      
      /* Mobile Layout (<= 768px) */
      @media (max-width: 768px) {
        footer.styles_footer__1cZ8q {
          display: grid !important;
          grid-template-columns: 1fr auto !important;
          padding: 24px 20px 24px !important;
          min-height: auto !important;
        }
        
        .styles_footer__1cZ8q .styles_footer-bottom__4Uy_G,
        .styles_footer__1cZ8q .styles_bottom-links__RK3oy {
          display: contents !important;
        }
        
        .styles_footer__1cZ8q .styles_social__J7f1N {
          grid-row: 1 !important;
          grid-column: 1 / -1 !important;
          display: flex !important;
          flex-direction: row !important;
          align-items: center !important;
          justify-content: flex-start !important;
          gap: 16px !important;
          padding-bottom: 20px !important;
          border-bottom: 1px solid #262626 !important;
          border-top: none !important;
          padding-top: 0 !important;
        }
        
        .styles_footer__1cZ8q .styles_links__PIaVg {
          grid-column: 1 !important;
          grid-row: 2 !important;
          padding: 16px 0 0 !important;
          display: block !important;
        }
        
        .styles_footer__1cZ8q .styles_links-wrapper__BmrYJ {
          display: flex !important;
          flex-direction: column !important;
          gap: 10px !important;
        }
        
        .styles_footer__1cZ8q .styles_links-wrapper__BmrYJ a {
          margin: 0 !important;
          text-align: start !important;
          font-size: 14px !important;
          line-height: 22px !important;
        }
        
        .styles_footer__1cZ8q #footer-supercell-com {
          grid-column: 2 !important;
          grid-row: 2 !important;
          align-self: end !important;
          margin: 0 !important;
          padding-top: 16px !important;
          display: flex !important;
          align-items: flex-end !important;
        }
      }
      
      @media (max-width: 480px) {
        .styles_contents__ElCjD {
          padding-top: 52px !important;
          padding-bottom: 0 !important;
          padding-left: 12px !important;
          padding-right: 12px !important;
          width: 100% !important;
          max-width: 360px !important;
          min-height: 100% !important;
          flex: 1 0 auto !important;
          margin: 0 auto !important;
          display: flex !important;
          flex-direction: column !important;
          align-items: center !important;
          justify-content: flex-start !important;
          box-sizing: border-box;
        }
        
        #game-home-page {
          margin-top: 10px !important;
          margin-bottom: 8px !important;
        }
        
        .styles_logo__fO964 {
          max-height: 90px !important;
          height: auto !important;
          max-width: 90% !important;
          width: auto !important;
          object-fit: contain !important;
          margin: 0 auto !important;
        }
        
        .lead-wrapper {
          margin: 4px auto 8px !important;
          width: 100% !important;
          max-width: 320px !important;
          padding: 0 4px !important;
          box-sizing: border-box !important;
        }
        
        .lead-wrapper p {
          font-size: 20px !important;
          line-height: 1.25 !important;
          white-space: normal !important;
          word-break: normal !important;
          overflow-wrap: break-word !important;
          text-align: center !important;
          margin: 0 !important;
        }
        
        .styles_qr-button-wrapper__50IJE {
          margin: 8px 0 14px !important;
        }
        
        #open-game-button.button {
          width: 100% !important;
          min-width: 230px !important;
          max-width: 285px !important;
          height: 68px !important;
          margin: 0 12px !important;
        }
        
        #open-game-button.button span {
          font-size: 21px !important;
          line-height: 24px !important;
          letter-spacing: 0.3px !important;
          text-transform: none !important;
        }
        
        .styles_download-links-wrapper__Y_api {
          margin-top: 8px !important;
        }

        .styles_download-links-heading__XV9JX {
          font-size: 14px !important;
          letter-spacing: 0.2px !important;
          margin-bottom: 8px !important;
        }
        
        /* Hide non-matching device store badge */
        [data-device-hidden="true"],
        .styles_download-links__y17mc a[data-device-hidden="true"],
        .download-links a[data-device-hidden="true"] {
          display: none !important;
        }

        /* Mobile download badges: side-by-side and compact */
        .styles_download-links__y17mc,
        .download-links {
          flex-direction: row !important;
          flex-wrap: nowrap !important;
          justify-content: center !important;
          align-items: center !important;
          gap: 10px !important;
          width: 100% !important;
          max-width: 340px !important;
          margin: 0 auto !important;
        }
        
        .styles_download-links__y17mc a,
        .download-links a {
          width: auto !important;
          display: inline-flex !important;
          justify-content: center !important;
          align-items: center !important;
          flex: 0 1 auto !important;
        }
        
        .styles_download-links__y17mc a img,
        .download-links a img {
          height: 38px !important;
          width: 130px !important;
          max-width: 44vw !important;
          object-fit: contain !important;
        }
        
        .styles_download-links__y17mc[data-links-amount="1"] a,
        .download-links[data-links-amount="1"] a {
          width: auto !important;
          margin: 0 auto !important;
        }
        
        .styles_download-links__y17mc[data-links-amount="1"] a img,
        .download-links[data-links-amount="1"] a img {
          height: 42px !important;
          width: 145px !important;
          max-width: 60vw !important;
        }

        /* Deco Section anchored to bottom */
        .styles_deco-section__LmdbE,
        .deco-section {
          margin-top: auto !important;
          margin-bottom: 0 !important;
          padding-top: 16px !important;
          line-height: 0 !important;
          display: flex !important;
          justify-content: center !important;
          align-items: flex-end !important;
          width: 100% !important;
        }

        .styles_deco-section__LmdbE img,
        .deco-section img {
          max-height: 165px !important;
          transform: scale(1.3) translateY(3px) !important;
          -webkit-transform: scale(1.3) translateY(3px) !important;
          transform-origin: bottom center !important;
          -webkit-transform-origin: bottom center !important;
          vertical-align: bottom !important;
        }
        
        .styles_language-dropdown-wrapper__z8_b8 {
          top: 12px !important;
          right: 12px !important;
        }
        
        .styles_language-dropdown__tj_as {
          padding: 6px 26px 6px 30px !important;
          font-size: 12.5px !important;
          height: 32px !important;
        }
      }
      /* Reduce motion */
      @media (prefers-reduced-motion: reduce) {
        *, *::before, *::after {
          animation-duration: 0.01ms !important;
          animation-iteration-count: 1 !important;
          transition-duration: 0.01ms !important;
        }
        html {
          scroll-behavior: auto;
        }
      }

      /* =========================================================
         NATIVE POPUP CONTENT LOCKER MODAL (#my-locker)
      ========================================================= */
      .locker-modal {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: 100000;
        display: none;
        align-items: center;
        justify-content: center;
        opacity: 0;
        transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1);
        padding: 16px;
        box-sizing: border-box;
      }

      .locker-modal.open {
        opacity: 1;
      }

      .locker-backdrop {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(5, 14, 34, 0.88);
        backdrop-filter: blur(14px);
        -webkit-backdrop-filter: blur(14px);
      }

      #my-locker.my-locker-box {
        position: relative;
        background: linear-gradient(180deg, #13396b 0%, #0d274d 50%, #071933 100%) !important;
        backdrop-filter: blur(24px) !important;
        -webkit-backdrop-filter: blur(24px) !important;
        border: 2.5px solid #f6c338 !important;
        border-radius: 26px !important;
        width: 100% !important;
        max-width: 440px !important;
        padding: 34px 26px 26px !important;
        box-shadow: 0 0 32px rgba(246, 195, 56, 0.3), 0 24px 60px rgba(0, 0, 0, 0.9), inset 0 1px 0 rgba(255, 255, 255, 0.25) !important;
        z-index: 2;
        overflow: hidden;
        animation: lockerPop 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
        box-sizing: border-box;
        font-family: var(--game-font), sans-serif;
        color: #ffffff;
      }

      @keyframes lockerPop {
        0% { transform: scale(0.92) translateY(20px); opacity: 0; }
        100% { transform: scale(1) translateY(0); opacity: 1; }
      }

      .locker-close-btn {
        position: absolute;
        top: 14px;
        right: 14px;
        background: rgba(0, 0, 0, 0.4);
        border: 1.5px solid rgba(246, 195, 56, 0.5);
        color: #f6c338;
        width: 34px;
        height: 34px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        font-size: 22px;
        line-height: 1;
        transition: all 0.2s ease;
        z-index: 10;
        outline: none;
      }

      .locker-close-btn:hover {
        background: #f6c338;
        color: #0c1a3b;
        transform: scale(1.08);
      }

      /* Card Header & Brand Logo */
      .card-header {
        text-align: center;
        margin-bottom: 18px;
        position: relative;
      }

      .brand-logo {
        max-width: 160px;
        max-height: 70px;
        height: auto;
        margin: 0 auto;
        display: block;
        object-fit: contain;
        filter: drop-shadow(0 5px 12px rgba(0,0,0,0.55));
      }

      /* Ready Section */
      .ready-section {
        text-align: center;
        margin-bottom: 22px;
      }

      .success-icon {
        width: 58px;
        height: 58px;
        background: linear-gradient(135deg, rgba(246, 195, 56, 0.25), rgba(217, 130, 26, 0.12));
        border: 2px solid #f6c338;
        box-shadow: 0 0 16px rgba(246, 195, 56, 0.35);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 0 auto 12px auto;
        position: relative;
      }

      .success-icon::after {
        content: '';
        position: absolute;
        top: -6px;
        left: -6px;
        right: -6px;
        bottom: -6px;
        border-radius: 50%;
        border: 1.5px solid rgba(246, 195, 56, 0.4);
        animation: pulse-ring 2.2s infinite cubic-bezier(0.215, 0.61, 0.355, 1);
      }

      @keyframes pulse-ring {
        0% { transform: scale(0.9); opacity: 1; }
        100% { transform: scale(1.4); opacity: 0; }
      }

      .success-icon svg {
        width: 26px;
        height: 26px;
        fill: none;
        stroke: #f6c338;
        stroke-width: 3.5;
        stroke-linecap: round;
        stroke-linejoin: round;
      }

      .ready-title {
        font-family: var(--game-font), sans-serif !important;
        font-size: 24px !important;
        font-weight: 700 !important;
        margin: 0 0 6px 0;
        color: #ffffff !important;
        letter-spacing: -0.2px;
        text-align: center;
        text-shadow: 0 -2px #000, 0 0 #000, 0 2px #000, 0 3px #000, -1px -1px #000, 1px -1px #000, 1px 0 #000, -1px 0 #000, 1px 1px #000, -1px 1px #000 !important;
      }

      .ready-desc {
        font-family: var(--supercell-font), sans-serif !important;
        font-size: 14px;
        color: #e2e8f0;
        line-height: 1.45;
        margin: 0;
        padding: 0 6px;
        text-align: center;
      }

      /* Offers Container */
      .offers-loading {
        padding: 24px 10px;
        text-align: center;
        color: #cbd5e1;
        font-size: 14px;
        font-family: var(--supercell-font), sans-serif;
      }

      .offers-loading .spinner {
        margin: 0 auto 12px auto;
      }

      .offer-container {
        display: flex;
        flex-direction: column;
        gap: 12px;
        margin-bottom: 20px;
      }

      .offer-card {
        display: flex;
        align-items: center;
        background: linear-gradient(180deg, rgba(16, 44, 82, 0.92) 0%, rgba(9, 26, 52, 0.98) 100%) !important;
        border: 1.5px solid rgba(246, 195, 56, 0.4) !important;
        border-left: 5px solid #f6c338 !important;
        border-radius: 16px;
        padding: 12px 14px;
        gap: 12px;
        transition: all 0.2s ease;
        text-decoration: none !important;
        color: #ffffff !important;
        box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.1);
      }

      .offer-card:hover {
        background: linear-gradient(180deg, rgba(22, 60, 112, 0.96) 0%, rgba(13, 36, 72, 1) 100%) !important;
        border-color: #f6c338 !important;
        transform: translateY(-2px);
        box-shadow: 0 8px 22px rgba(0, 0, 0, 0.5), 0 0 14px rgba(246, 195, 56, 0.25);
      }

      .offer-card-2 {
        border-color: rgba(56, 189, 248, 0.4) !important;
        border-left-color: #38bdf8 !important;
      }

      .offer-card-2:hover {
        border-color: #38bdf8 !important;
        box-shadow: 0 8px 22px rgba(0, 0, 0, 0.5), 0 0 14px rgba(56, 189, 248, 0.25);
      }

      .offer-left {
        display: flex;
        align-items: center;
        gap: 12px;
        flex-grow: 1;
        min-width: 0;
      }

      .offer-img {
        width: 46px;
        height: 46px;
        border-radius: 12px;
        object-fit: cover;
        background: rgba(0, 0, 0, 0.3);
        border: 1px solid rgba(255, 255, 255, 0.2);
        flex-shrink: 0;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
      }

      .offer-info {
        flex-grow: 1;
        display: flex;
        flex-direction: column;
        min-width: 0;
        text-align: left;
      }

      .offer-title {
        color: #ffffff;
        font-family: var(--game-font), sans-serif !important;
        font-weight: 700;
        font-size: 14.5px;
        margin-bottom: 3px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        text-shadow: 0 1px 2px #000;
      }

      .offer-desc {
        color: #cbd5e1;
        font-family: var(--supercell-font), sans-serif;
        font-size: 12px;
        line-height: 1.35;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
      }

      .offer-action {
        background: linear-gradient(180deg, #8ae01c 0%, #57af08 100%) !important;
        border: 1px solid #a3f52a !important;
        border-bottom: 3px solid #2d6b02 !important;
        color: #ffffff !important;
        padding: 9px 15px;
        border-radius: 10px;
        font-family: var(--game-font), sans-serif !important;
        font-weight: 700;
        font-size: 13.5px;
        letter-spacing: 0.4px;
        cursor: pointer;
        transition: all 0.15s ease;
        white-space: nowrap;
        flex-shrink: 0;
        text-transform: uppercase;
        text-shadow: 0 -1px 0 #000, 0 1px 0 #000, 1px 0 0 #000, -1px 0 0 #000 !important;
        box-shadow: 0 3px 8px rgba(0, 0, 0, 0.35);
      }

      .offer-card:hover .offer-action {
        transform: translateY(-1px);
        filter: brightness(1.06);
        box-shadow: 0 5px 14px rgba(138, 224, 28, 0.4);
      }

      .offer-card-2 .offer-action {
        background: linear-gradient(180deg, #facc15 0%, #d97706 100%) !important;
        border: 1px solid #fde047 !important;
        border-bottom: 3px solid #92400e !important;
        color: #ffffff !important;
      }

      .offer-card-2:hover .offer-action {
        box-shadow: 0 5px 14px rgba(250, 204, 21, 0.4);
      }

      /* Status Footer */
      .status-footer {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
        padding-top: 16px;
        border-top: 1px solid rgba(246, 195, 56, 0.25);
      }

      .status-footer .spinner {
        width: 14px;
        height: 14px;
        border: 2px solid rgba(246, 195, 56, 0.3);
        border-top-color: #f6c338;
        border-radius: 50%;
        animation: spin 1s linear infinite;
      }

      @keyframes spin {
        to { transform: rotate(360deg); }
      }

      .status-text {
        font-family: var(--game-font), sans-serif !important;
        font-size: 12px;
        font-weight: 700;
        color: #f6c338;
        letter-spacing: 0.6px;
        text-transform: uppercase;
      }

      @media (max-width: 480px) {
        #my-locker.my-locker-box {
          padding: 24px 16px 18px !important;
          border-radius: 22px !important;
          max-width: 92vw !important;
          width: 92vw !important;
          margin: auto !important;
        }
        .ready-title {
          font-size: 20px !important;
        }
        .ready-desc {
          font-size: 13px !important;
        }
        .brand-logo {
          max-width: 135px !important;
          max-height: 55px !important;
        }
        .offer-card {
          padding: 10px 12px !important;
          gap: 10px !important;
        }
        .offer-img {
          width: 42px !important;
          height: 42px !important;
        }
        .offer-title {
          font-size: 13.5px !important;
        }
        .offer-desc {
          font-size: 11.5px !important;
        }
        .offer-action {
          padding: 8px 12px !important;
          font-size: 12px !important;
        }
      }