/* SwankageTCG Launch 20 — mobile theme picker belongs in the navigation drawer.
   Uses the EXISTING v654 palette handler, storage and active-label synchronization.
   Desktop theme picker and site header remain unmodified visually. */
@media (max-width: 991px) {
  #header .sw-mobile-theme-strip { display: none !important; }
  #navMobile .sw-mobile-theme-heading {
    margin: 26px 0 10px !important;
    padding: 0 11px !important;
    list-style: none;
    color: var(--sw-accent, #a8ff2a) !important;
    font: 800 10px/1.4 Tahoma, Arial, sans-serif !important;
    letter-spacing: .1em !important;
  }
  #navMobile .navbar-nav > li.sw-mobile-theme-menu {
    list-style: none !important;
    width: 100% !important;
    padding: 3px 0 15px !important;
    margin: 0 !important;
    border: 0 !important;
    background: transparent !important;
  }
  #navMobile .sw-mobile-theme-grid {
    display: grid !important;
    grid-template-columns: repeat(3, 56px) !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 10px 18px !important;
    width: 100% !important;
    margin: 0 auto !important;
    padding: 0 !important;
    box-sizing: border-box !important;
  }
  #navMobile .sw-mobile-theme-swatch {
    appearance: none !important;
    -webkit-appearance: none !important;
    position: relative !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-sizing: border-box !important;
    width: 56px !important;
    height: 48px !important;
    min-height: 48px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 1px solid var(--sw-border, #294037) !important;
    border-radius: 6px !important;
    background: var(--sw-panel, #0d1810) !important;
    color: #071008 !important;
    box-shadow: none !important;
    cursor: pointer !important;
    touch-action: manipulation;
  }
  #navMobile .sw-mobile-theme-swatch::before {
    content: "";
    position: absolute;
    box-sizing: border-box;
    width: 30px;
    height: 30px;
    border: 1.5px solid rgba(255,255,255,.78);
    border-radius: 5px;
    background: var(--swatch);
    box-shadow: 0 1px 6px rgba(0,0,0,.34);
  }
  #navMobile .sw-mobile-theme-swatch > span {
    position: relative;
    z-index: 1;
    display: inline-block;
    font: 900 20px/1 Tahoma,Arial,sans-serif;
    color: #071008 !important;
    text-shadow: 0 1px rgba(255,255,255,.24);
    opacity: 0;
  }
  #navMobile .sw-mobile-theme-swatch.is-active,
  #navMobile .sw-mobile-theme-swatch[aria-pressed="true"] {
    border-color: var(--sw-accent, #a8ff2a) !important;
    background: color-mix(in srgb, var(--sw-accent, #a8ff2a) 9%, var(--sw-panel, #0d1810)) !important;
  }
  #navMobile .sw-mobile-theme-swatch.is-active::before,
  #navMobile .sw-mobile-theme-swatch[aria-pressed="true"]::before {
    outline: 2px solid var(--swatch);
    outline-offset: 2px;
    border-color: white;
  }
  #navMobile .sw-mobile-theme-swatch.is-active > span,
  #navMobile .sw-mobile-theme-swatch[aria-pressed="true"] > span { opacity: 1; }
  #navMobile .sw-mobile-theme-swatch:focus-visible {
    outline: 2px solid var(--sw-accent, #a8ff2a) !important;
    outline-offset: 2px !important;
  }
  #navMobile .sw-mobile-theme-selected {
    margin: 12px auto 0 !important;
    width: 100%;
    text-align: center !important;
    color: var(--sw-accent, #a8ff2a) !important;
    font: 800 13px/1.5 Tahoma,Arial,sans-serif !important;
  }
}
@media (min-width: 992px) {
  #navMobile .sw-mobile-theme-menu,
  #navMobile .sw-mobile-theme-heading,
  #header .sw-mobile-theme-strip { display: none !important; }
}
