/**
 * @file
 * UI Surface Skin System - Main Stylesheet.
 *
 * This is the main stylesheet that compiles to CSS.
 * It imports the partial _ui-skins.scss.
 */
/**
 * @file
 * UI Surface Skin Styles.
 *
 * Provides visual styling for different surface skins applied by the
 * UI Surface Skin system (ui-surface-skin.js).
 *
 * Naming convention:
 *   .wm-bg-{key} where key is the module or feature identifier
 *
 * Each skin provides:
 *   - background-image (for texture/pattern)
 *   - background-color (as fallback)
 *   - optional overlay effects
 *
 * Skins are designed to work with the existing dark theme and not
 * override fundamental text/border colors.
 *
 * @see docs/frontend/ui-surface-skins.md
 */
/**
 * Base styles for surfaces with skins applied.
 *
 * These ensure that skins blend well with Bootstrap modals/offcanvas.
 */
.modal-content,
.offcanvas {
  transition: background-color 0.3s ease, background-image 0.3s ease;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/**
 * Shared surface header layout for modal/offcanvas shells.
 *
 * Provides stable title, center, and actions regions so controls stay aligned.
 */
.wm-surface-header {
  display: flex;
  align-items: center;
  gap: var(--wm-space-xs, 0.5rem);
}

.wm-surface-title {
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.wm-surface-center {
  flex: 0 1 auto;
  min-width: 0;
}

.wm-surface-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: var(--wm-space-xs, 0.5rem);
}

.wm-surface-actions .wm-size-toggle {
  display: flex;
  align-items: center;
}

.wm-surface-actions .war-offcanvas-resizer__quick-sizes {
  margin-left: 0;
}

.wm-surface-actions .war-offcanvas-resizer__quick-sizes + .btn-close {
  margin-left: 0;
}

.wm-surface-maximize {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2rem;
  min-height: 2rem;
  border-color: var(--wm-overlay-white-25);
  color: var(--wm-color-text-primary);
}
.wm-surface-maximize:hover {
  border-color: var(--wm-overlay-white-45);
}

.wm-surface-hide-footer .modal-footer {
  display: none !important;
}

/**
 * war_user_task (PCR) skin.
 *
 * Canonical name: wm-bg-war_user_task
 * Alias: wm-bg-pcr (for backward compatibility)
 *
 * Provides a subtle tech/research-themed background for the PCR modal.
 * Uses a dark blue gradient with subtle overlay.
 */
.wm-bg-war_user_task,
.wm-bg-pcr {
  background-color: var(--wm-color-surface-dark-700) !important;
  background-image: linear-gradient(135deg, var(--wm-color-surface-dark-700) 0%, var(--wm-color-surface-dark-400) 50%, var(--wm-color-surface-dark-700) 100%) !important;
  position: relative;
}
.wm-bg-war_user_task::before,
.wm-bg-pcr::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: linear-gradient(0deg, transparent 24%, var(--wm-overlay-white-02) 25%, var(--wm-overlay-white-02) 26%, transparent 27%, transparent 74%, var(--wm-overlay-white-02) 75%, var(--wm-overlay-white-02) 76%, transparent 77%, transparent), linear-gradient(90deg, transparent 24%, var(--wm-overlay-white-02) 25%, var(--wm-overlay-white-02) 26%, transparent 27%, transparent 74%, var(--wm-overlay-white-02) 75%, var(--wm-overlay-white-02) 76%, transparent 77%, transparent);
  background-size: 50px 50px;
  pointer-events: none;
  opacity: 0.3;
}

.game-modal {
  border: 1px solid var(--wm-color-border-subtle);
  box-shadow: var(--wm-shadow-xl);
}

#wm-offcanvas-root {
  position: relative;
  max-width: 100%;
  overflow: hidden;
}

#wm-offcanvas {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  overscroll-behavior: contain;
  container-name: wm-offcanvas;
  container-type: inline-size;
}
#wm-offcanvas .offcanvas-body {
  display: flex;
  flex-direction: column;
  min-height: 0;
  overflow: hidden;
  overscroll-behavior: contain;
}
#wm-offcanvas.wm-bg-advisor {
  background-image: url("/images/bg/advisor.webp");
  background-position: center;
  background-repeat: no-repeat;
  /* 30% opacity black to darken the image */
  background-color: rgba(0, 0, 0, 0);
  background-blend-mode: multiply;
  background-size: cover;
}
#wm-offcanvas.wm-bg-advisor .card {
  background: linear-gradient(to right, rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.25));
  backdrop-filter: blur(5px);
  border: none;
  position: relative;
  transition: all 0.3s ease;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 15px), calc(100% - 15px) 100%, 0 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.4);
  border-bottom: 1px solid rgba(0, 0, 0, 0.6);
  border-left: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 4px 6px rgba(0, 0, 0, 0.5);
}
#wm-offcanvas.wm-bg-advisor .card:hover {
  transform: translateY(-2px);
  background: linear-gradient(to right, rgba(0, 0, 0, 0.25), rgba(0, 0, 0, 0.15));
  border-top-color: rgba(100, 200, 255, 0.6);
  box-shadow: 0 0 15px rgba(0, 150, 255, 0.2), inset 0 0 20px rgba(0, 150, 255, 0.05);
}
#wm-offcanvas.wm-bg-advisor .card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
  clip-path: inherit;
}
#wm-offcanvas.wm-bg-labs {
  background-image: url("/images/bg/labs.webp");
  background-position: center;
  background-repeat: no-repeat;
  /* 30% opacity black to darken the image */
  background-color: rgba(0, 0, 0, 0);
  background-blend-mode: multiply;
  background-size: cover;
}
#wm-offcanvas.wm-bg-labs .card {
  background: linear-gradient(to right, rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.25));
  backdrop-filter: blur(5px);
  border: none;
  position: relative;
  transition: all 0.3s ease;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 15px), calc(100% - 15px) 100%, 0 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.4);
  border-bottom: 1px solid rgba(0, 0, 0, 0.6);
  border-left: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 4px 6px rgba(0, 0, 0, 0.5);
}
#wm-offcanvas.wm-bg-labs .card:hover {
  transform: translateY(-2px);
  background: linear-gradient(to right, rgba(0, 0, 0, 0.25), rgba(0, 0, 0, 0.15));
  border-top-color: rgba(100, 200, 255, 0.6);
  box-shadow: 0 0 15px rgba(0, 150, 255, 0.2), inset 0 0 20px rgba(0, 150, 255, 0.05);
}
#wm-offcanvas.wm-bg-labs .card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
  clip-path: inherit;
}
#wm-offcanvas.wm-bg-pcr-detail {
  background-image: url("/images/bg/pcr-detail.webp");
  background-position: center;
  background-repeat: no-repeat;
  /* 30% opacity black to darken the image */
  background-color: rgba(0, 0, 0, 0);
  background-blend-mode: multiply;
  background-size: cover;
}
#wm-offcanvas.wm-bg-pcr-detail .card {
  background: linear-gradient(to right, rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.25));
  backdrop-filter: blur(5px);
  border: none;
  position: relative;
  transition: all 0.3s ease;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 15px), calc(100% - 15px) 100%, 0 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.4);
  border-bottom: 1px solid rgba(0, 0, 0, 0.6);
  border-left: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 4px 6px rgba(0, 0, 0, 0.5);
}
#wm-offcanvas.wm-bg-pcr-detail .card:hover {
  transform: translateY(-2px);
  background: linear-gradient(to right, rgba(0, 0, 0, 0.25), rgba(0, 0, 0, 0.15));
  border-top-color: rgba(100, 200, 255, 0.6);
  box-shadow: 0 0 15px rgba(0, 150, 255, 0.2), inset 0 0 20px rgba(0, 150, 255, 0.05);
}
#wm-offcanvas.wm-bg-pcr-detail .card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
  clip-path: inherit;
}
#wm-offcanvas.wm-bg-units {
  background-image: url("/images/bg/units.webp");
  background-position: center;
  background-repeat: no-repeat;
  /* 30% opacity black to darken the image */
  background-color: rgba(0, 0, 0, 0.2);
  background-blend-mode: multiply;
  background-size: cover;
}
#wm-offcanvas.wm-bg-units .card {
  background: linear-gradient(to right, rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.25));
  backdrop-filter: blur(5px);
  border: none;
  position: relative;
  transition: all 0.3s ease;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 15px), calc(100% - 15px) 100%, 0 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.4);
  border-bottom: 1px solid rgba(0, 0, 0, 0.6);
  border-left: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 4px 6px rgba(0, 0, 0, 0.5);
}
#wm-offcanvas.wm-bg-units .card:hover {
  transform: translateY(-2px);
  background: linear-gradient(to right, rgba(0, 0, 0, 0.25), rgba(0, 0, 0, 0.15));
  border-top-color: rgba(100, 200, 255, 0.6);
  box-shadow: 0 0 15px rgba(0, 150, 255, 0.2), inset 0 0 20px rgba(0, 150, 255, 0.05);
}
#wm-offcanvas.wm-bg-units .card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
  clip-path: inherit;
}
#wm-offcanvas.wm-bg-units.is-s__DISABLED .offcanvas-body {
  padding: 0.5rem;
}
#wm-offcanvas.wm-bg-units.is-s__DISABLED .wm-units-list .unit-card,
#wm-offcanvas.wm-bg-units.is-s__DISABLED .unit-card {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 0.6rem;
  border-radius: 0.5rem;
  background: color-mix(in srgb, var(--wm-color-surface-dark-900) 82%, transparent);
  border: 1px solid color-mix(in srgb, var(--wm-color-border) 70%, transparent);
  box-shadow: none;
  min-height: 40px;
}
#wm-offcanvas.wm-bg-units.is-s__DISABLED .unit-card .unit-avatar {
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  border-radius: 6px;
  overflow: hidden;
}
#wm-offcanvas.wm-bg-units.is-s__DISABLED .unit-card .unit-meta {
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
}
#wm-offcanvas.wm-bg-units.is-s__DISABLED .unit-card .unit-actions {
  display: inline-flex;
  gap: 0.35rem;
  align-items: center;
  flex: 0 0 auto;
}
#wm-offcanvas.wm-bg-units.is-s__DISABLED .unit-card .unit-actions .btn {
  width: 28px;
  height: 28px;
  padding: 0;
  font-size: 0.85rem;
  border-radius: 6px;
  background: color-mix(in srgb, var(--wm-gradient-button) 40%, transparent);
  border: 1px solid color-mix(in srgb, var(--wm-color-border) 60%, transparent);
  box-shadow: none;
  color: var(--wm-color-text-secondary);
}
#wm-offcanvas.wm-bg-units.is-s__DISABLED .unit-card .unit-actions .btn.overflow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 28px;
  background: linear-gradient(180deg, rgba(10, 14, 18, 0.12), rgba(10, 14, 18, 0.06));
  color: var(--wm-color-text-primary);
}
#wm-offcanvas.wm-bg-units.is-s__DISABLED .unit-card .unit-actions .btn[data-label]::after {
  content: "";
}
#wm-offcanvas.wm-bg-units.is-s__DISABLED .unit-card .unit-actions .btn[data-label] span {
  display: none !important;
}
#wm-offcanvas.wm-bg-units.is-s__DISABLED .unit-card .badge {
  transform: scale(0.88);
  opacity: 0.95;
}
#wm-offcanvas.wm-bg-inventory {
  background-image: url("/images/bg/inventory.webp");
  background-position: center;
  background-repeat: no-repeat;
  /* 30% opacity black to darken the image */
  background-color: rgba(0, 0, 0, 0.2);
  background-blend-mode: multiply;
  background-size: cover;
}
#wm-offcanvas.wm-bg-inventory .card {
  background: linear-gradient(to right, rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.25));
  backdrop-filter: blur(5px);
  border: none;
  position: relative;
  transition: all 0.3s ease;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 15px), calc(100% - 15px) 100%, 0 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.4);
  border-bottom: 1px solid rgba(0, 0, 0, 0.6);
  border-left: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 4px 6px rgba(0, 0, 0, 0.5);
}
#wm-offcanvas.wm-bg-inventory .card:hover {
  transform: translateY(-2px);
  background: linear-gradient(to right, rgba(0, 0, 0, 0.25), rgba(0, 0, 0, 0.15));
  border-top-color: rgba(100, 200, 255, 0.6);
  box-shadow: 0 0 15px rgba(0, 150, 255, 0.2), inset 0 0 20px rgba(0, 150, 255, 0.05);
}
#wm-offcanvas.wm-bg-inventory .card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
  clip-path: inherit;
}
#wm-offcanvas.wm-bg-buffs {
  background-image: url("/images/bg/buffs.webp");
  background-position: center;
  background-repeat: no-repeat;
  /* 30% opacity black to darken the image */
  background-color: rgba(0, 0, 0, 0.2);
  background-blend-mode: multiply;
  background-size: cover;
}
#wm-offcanvas.wm-bg-buffs .card {
  background: linear-gradient(to right, rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.25));
  backdrop-filter: blur(5px);
  border: none;
  position: relative;
  transition: all 0.3s ease;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 15px), calc(100% - 15px) 100%, 0 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.4);
  border-bottom: 1px solid rgba(0, 0, 0, 0.6);
  border-left: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 4px 6px rgba(0, 0, 0, 0.5);
}
#wm-offcanvas.wm-bg-buffs .card:hover {
  transform: translateY(-2px);
  background: linear-gradient(to right, rgba(0, 0, 0, 0.25), rgba(0, 0, 0, 0.15));
  border-top-color: rgba(100, 200, 255, 0.6);
  box-shadow: 0 0 15px rgba(0, 150, 255, 0.2), inset 0 0 20px rgba(0, 150, 255, 0.05);
}
#wm-offcanvas.wm-bg-buffs .card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
  clip-path: inherit;
}
#wm-offcanvas.wm-bg-logs {
  background-image: url("/images/bg/logs.webp");
  background-position: center;
  background-repeat: no-repeat;
  /* 30% opacity black to darken the image */
  background-color: rgba(0, 0, 0, 0);
  background-blend-mode: multiply;
  background-size: cover;
}
#wm-offcanvas.wm-bg-logs .card {
  background: linear-gradient(to right, rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.25));
  backdrop-filter: blur(5px);
  border: none;
  position: relative;
  transition: all 0.3s ease;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 15px), calc(100% - 15px) 100%, 0 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.4);
  border-bottom: 1px solid rgba(0, 0, 0, 0.6);
  border-left: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 4px 6px rgba(0, 0, 0, 0.5);
}
#wm-offcanvas.wm-bg-logs .card:hover {
  transform: translateY(-2px);
  background: linear-gradient(to right, rgba(0, 0, 0, 0.25), rgba(0, 0, 0, 0.15));
  border-top-color: rgba(100, 200, 255, 0.6);
  box-shadow: 0 0 15px rgba(0, 150, 255, 0.2), inset 0 0 20px rgba(0, 150, 255, 0.05);
}
#wm-offcanvas.wm-bg-logs .card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
  clip-path: inherit;
}
#wm-offcanvas.wm-bg-chat {
  background-image: url("/images/bg/chat.webp");
  background-position: center;
  background-repeat: no-repeat;
  /* 30% opacity black to darken the image */
  background-color: rgba(0, 0, 0, 0);
  background-blend-mode: multiply;
  background-size: cover;
}
#wm-offcanvas.wm-bg-chat .card {
  background: linear-gradient(to right, rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.25));
  backdrop-filter: blur(5px);
  border: none;
  position: relative;
  transition: all 0.3s ease;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 15px), calc(100% - 15px) 100%, 0 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.4);
  border-bottom: 1px solid rgba(0, 0, 0, 0.6);
  border-left: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 4px 6px rgba(0, 0, 0, 0.5);
}
#wm-offcanvas.wm-bg-chat .card:hover {
  transform: translateY(-2px);
  background: linear-gradient(to right, rgba(0, 0, 0, 0.25), rgba(0, 0, 0, 0.15));
  border-top-color: rgba(100, 200, 255, 0.6);
  box-shadow: 0 0 15px rgba(0, 150, 255, 0.2), inset 0 0 20px rgba(0, 150, 255, 0.05);
}
#wm-offcanvas.wm-bg-chat .card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
  clip-path: inherit;
}
#wm-offcanvas.wm-bg-help-center {
  background-image: url("/images/bg/help-center.webp");
  background-position: center;
  background-repeat: no-repeat;
  /* 30% opacity black to darken the image */
  background-color: rgba(0, 0, 0, 0);
  background-blend-mode: multiply;
  background-size: cover;
}
#wm-offcanvas.wm-bg-help-center .card {
  background: linear-gradient(to right, rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.25));
  backdrop-filter: blur(5px);
  border: none;
  position: relative;
  transition: all 0.3s ease;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 15px), calc(100% - 15px) 100%, 0 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.4);
  border-bottom: 1px solid rgba(0, 0, 0, 0.6);
  border-left: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 4px 6px rgba(0, 0, 0, 0.5);
}
#wm-offcanvas.wm-bg-help-center .card:hover {
  transform: translateY(-2px);
  background: linear-gradient(to right, rgba(0, 0, 0, 0.25), rgba(0, 0, 0, 0.15));
  border-top-color: rgba(100, 200, 255, 0.6);
  box-shadow: 0 0 15px rgba(0, 150, 255, 0.2), inset 0 0 20px rgba(0, 150, 255, 0.05);
}
#wm-offcanvas.wm-bg-help-center .card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
  clip-path: inherit;
}
#wm-offcanvas.wm-bg-refinery {
  background-image: url("/images/bg/refinery.webp");
  background-position: center;
  background-repeat: no-repeat;
  /* 30% opacity black to darken the image */
  background-color: rgba(0, 0, 0, 0.25);
  background-blend-mode: multiply;
  background-size: cover;
}
#wm-offcanvas.wm-bg-refinery .card {
  background: linear-gradient(to right, rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.25));
  backdrop-filter: blur(5px);
  border: none;
  position: relative;
  transition: all 0.3s ease;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 15px), calc(100% - 15px) 100%, 0 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.4);
  border-bottom: 1px solid rgba(0, 0, 0, 0.6);
  border-left: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 4px 6px rgba(0, 0, 0, 0.5);
}
#wm-offcanvas.wm-bg-refinery .card:hover {
  transform: translateY(-2px);
  background: linear-gradient(to right, rgba(0, 0, 0, 0.25), rgba(0, 0, 0, 0.15));
  border-top-color: rgba(100, 200, 255, 0.6);
  box-shadow: 0 0 15px rgba(0, 150, 255, 0.2), inset 0 0 20px rgba(0, 150, 255, 0.05);
}
#wm-offcanvas.wm-bg-refinery .card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
  clip-path: inherit;
}
#wm-offcanvas.wm-bg-store {
  background-image: url("/images/bg/store.webp");
  background-position: center;
  background-repeat: no-repeat;
  /* 30% opacity black to darken the image */
  background-color: rgba(0, 0, 0, 0);
  background-blend-mode: multiply;
  background-size: cover;
}
#wm-offcanvas.wm-bg-store .card {
  background: linear-gradient(to right, rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.25));
  backdrop-filter: blur(5px);
  border: none;
  position: relative;
  transition: all 0.3s ease;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 15px), calc(100% - 15px) 100%, 0 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.4);
  border-bottom: 1px solid rgba(0, 0, 0, 0.6);
  border-left: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 4px 6px rgba(0, 0, 0, 0.5);
}
#wm-offcanvas.wm-bg-store .card:hover {
  transform: translateY(-2px);
  background: linear-gradient(to right, rgba(0, 0, 0, 0.25), rgba(0, 0, 0, 0.15));
  border-top-color: rgba(100, 200, 255, 0.6);
  box-shadow: 0 0 15px rgba(0, 150, 255, 0.2), inset 0 0 20px rgba(0, 150, 255, 0.05);
}
#wm-offcanvas.wm-bg-store .card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
  clip-path: inherit;
}
#wm-offcanvas.wm-bg-market {
  background-image: url("/images/bg/market.webp");
  background-position: center;
  background-repeat: no-repeat;
  /* 30% opacity black to darken the image */
  background-color: rgba(0, 0, 0, 0);
  background-blend-mode: multiply;
  background-size: cover;
}
#wm-offcanvas.wm-bg-market .card {
  background: linear-gradient(to right, rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.25));
  backdrop-filter: blur(5px);
  border: none;
  position: relative;
  transition: all 0.3s ease;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 15px), calc(100% - 15px) 100%, 0 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.4);
  border-bottom: 1px solid rgba(0, 0, 0, 0.6);
  border-left: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 4px 6px rgba(0, 0, 0, 0.5);
}
#wm-offcanvas.wm-bg-market .card:hover {
  transform: translateY(-2px);
  background: linear-gradient(to right, rgba(0, 0, 0, 0.25), rgba(0, 0, 0, 0.15));
  border-top-color: rgba(100, 200, 255, 0.6);
  box-shadow: 0 0 15px rgba(0, 150, 255, 0.2), inset 0 0 20px rgba(0, 150, 255, 0.05);
}
#wm-offcanvas.wm-bg-market .card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
  clip-path: inherit;
}
#wm-offcanvas.wm-bg-search {
  background-image: url("/images/bg/search.webp");
  background-position: center;
  background-repeat: no-repeat;
  /* 30% opacity black to darken the image */
  background-color: rgba(0, 0, 0, 0.3);
  background-blend-mode: multiply;
  background-size: cover;
}
#wm-offcanvas.wm-bg-search .card {
  background: linear-gradient(to right, rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.25));
  backdrop-filter: blur(5px);
  border: none;
  position: relative;
  transition: all 0.3s ease;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 15px), calc(100% - 15px) 100%, 0 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.4);
  border-bottom: 1px solid rgba(0, 0, 0, 0.6);
  border-left: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 4px 6px rgba(0, 0, 0, 0.5);
}
#wm-offcanvas.wm-bg-search .card:hover {
  transform: translateY(-2px);
  background: linear-gradient(to right, rgba(0, 0, 0, 0.25), rgba(0, 0, 0, 0.15));
  border-top-color: rgba(100, 200, 255, 0.6);
  box-shadow: 0 0 15px rgba(0, 150, 255, 0.2), inset 0 0 20px rgba(0, 150, 255, 0.05);
}
#wm-offcanvas.wm-bg-search .card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
  clip-path: inherit;
}
#wm-offcanvas.wm-bg-nations {
  background-image: url("/images/bg/nations.webp");
  background-position: center;
  background-repeat: no-repeat;
  /* 30% opacity black to darken the image */
  background-color: rgba(0, 0, 0, 0);
  background-blend-mode: multiply;
  background-size: cover;
}
#wm-offcanvas.wm-bg-nations .card {
  background: linear-gradient(to right, rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.25));
  backdrop-filter: blur(5px);
  border: none;
  position: relative;
  transition: all 0.3s ease;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 15px), calc(100% - 15px) 100%, 0 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.4);
  border-bottom: 1px solid rgba(0, 0, 0, 0.6);
  border-left: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 4px 6px rgba(0, 0, 0, 0.5);
}
#wm-offcanvas.wm-bg-nations .card:hover {
  transform: translateY(-2px);
  background: linear-gradient(to right, rgba(0, 0, 0, 0.25), rgba(0, 0, 0, 0.15));
  border-top-color: rgba(100, 200, 255, 0.6);
  box-shadow: 0 0 15px rgba(0, 150, 255, 0.2), inset 0 0 20px rgba(0, 150, 255, 0.05);
}
#wm-offcanvas.wm-bg-nations .card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
  clip-path: inherit;
}
#wm-offcanvas.wm-bg-radar-panel {
  background-image: url("/images/bg/radar-panel.webp");
  background-position: center;
  background-repeat: no-repeat;
  /* 30% opacity black to darken the image */
  background-color: rgba(0, 0, 0, 0.3);
  background-blend-mode: multiply;
  background-size: cover;
}
#wm-offcanvas.wm-bg-radar-panel .card {
  background: linear-gradient(to right, rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.25));
  backdrop-filter: blur(5px);
  border: none;
  position: relative;
  transition: all 0.3s ease;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 15px), calc(100% - 15px) 100%, 0 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.4);
  border-bottom: 1px solid rgba(0, 0, 0, 0.6);
  border-left: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 4px 6px rgba(0, 0, 0, 0.5);
}
#wm-offcanvas.wm-bg-radar-panel .card:hover {
  transform: translateY(-2px);
  background: linear-gradient(to right, rgba(0, 0, 0, 0.25), rgba(0, 0, 0, 0.15));
  border-top-color: rgba(100, 200, 255, 0.6);
  box-shadow: 0 0 15px rgba(0, 150, 255, 0.2), inset 0 0 20px rgba(0, 150, 255, 0.05);
}
#wm-offcanvas.wm-bg-radar-panel .card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
  clip-path: inherit;
}
#wm-offcanvas.wm-bg-orbital-panel {
  background-image: url("/images/bg/orbital-panel.webp");
  background-position: center;
  background-repeat: no-repeat;
  /* 30% opacity black to darken the image */
  background-color: rgba(0, 0, 0, 0.3);
  background-blend-mode: multiply;
  background-size: cover;
}
#wm-offcanvas.wm-bg-orbital-panel .card {
  background: linear-gradient(to right, rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.25));
  backdrop-filter: blur(5px);
  border: none;
  position: relative;
  transition: all 0.3s ease;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 15px), calc(100% - 15px) 100%, 0 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.4);
  border-bottom: 1px solid rgba(0, 0, 0, 0.6);
  border-left: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 4px 6px rgba(0, 0, 0, 0.5);
}
#wm-offcanvas.wm-bg-orbital-panel .card:hover {
  transform: translateY(-2px);
  background: linear-gradient(to right, rgba(0, 0, 0, 0.25), rgba(0, 0, 0, 0.15));
  border-top-color: rgba(100, 200, 255, 0.6);
  box-shadow: 0 0 15px rgba(0, 150, 255, 0.2), inset 0 0 20px rgba(0, 150, 255, 0.05);
}
#wm-offcanvas.wm-bg-orbital-panel .card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
  clip-path: inherit;
}
#wm-offcanvas.wm-bg-onboarding {
  background-image: url("/images/bg/onboarding.webp");
  background-position: center;
  background-repeat: no-repeat;
  /* 30% opacity black to darken the image */
  background-color: rgba(0, 0, 0, 0.3);
  background-blend-mode: multiply;
  background-size: cover;
}
#wm-offcanvas.wm-bg-onboarding .card {
  background: linear-gradient(to right, rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.25));
  backdrop-filter: blur(5px);
  border: none;
  position: relative;
  transition: all 0.3s ease;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 15px), calc(100% - 15px) 100%, 0 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.4);
  border-bottom: 1px solid rgba(0, 0, 0, 0.6);
  border-left: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 4px 6px rgba(0, 0, 0, 0.5);
}
#wm-offcanvas.wm-bg-onboarding .card:hover {
  transform: translateY(-2px);
  background: linear-gradient(to right, rgba(0, 0, 0, 0.25), rgba(0, 0, 0, 0.15));
  border-top-color: rgba(100, 200, 255, 0.6);
  box-shadow: 0 0 15px rgba(0, 150, 255, 0.2), inset 0 0 20px rgba(0, 150, 255, 0.05);
}
#wm-offcanvas.wm-bg-onboarding .card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
  clip-path: inherit;
}
#wm-offcanvas.wm-bg-spawn-panel {
  background-image: url("/images/bg/spawn-panel.webp");
  background-position: center;
  background-repeat: no-repeat;
  /* 30% opacity black to darken the image */
  background-color: rgba(0, 0, 0, 0.35);
  background-blend-mode: multiply;
  background-size: cover;
}
#wm-offcanvas.wm-bg-spawn-panel .card {
  background: linear-gradient(to right, rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.25));
  backdrop-filter: blur(5px);
  border: none;
  position: relative;
  transition: all 0.3s ease;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 15px), calc(100% - 15px) 100%, 0 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.4);
  border-bottom: 1px solid rgba(0, 0, 0, 0.6);
  border-left: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 4px 6px rgba(0, 0, 0, 0.5);
}
#wm-offcanvas.wm-bg-spawn-panel .card:hover {
  transform: translateY(-2px);
  background: linear-gradient(to right, rgba(0, 0, 0, 0.25), rgba(0, 0, 0, 0.15));
  border-top-color: rgba(100, 200, 255, 0.6);
  box-shadow: 0 0 15px rgba(0, 150, 255, 0.2), inset 0 0 20px rgba(0, 150, 255, 0.05);
}
#wm-offcanvas.wm-bg-spawn-panel .card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
  clip-path: inherit;
}
#wm-offcanvas.wm-bg-battle-detail {
  background-image: url("/images/bg/battle_detail.webp");
  background-position: center;
  background-repeat: no-repeat;
  /* 30% opacity black to darken the image */
  background-color: rgba(0, 0, 0, 0.3);
  background-blend-mode: multiply;
  background-size: cover;
}
#wm-offcanvas.wm-bg-battle-detail .card {
  background: linear-gradient(to right, rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.25));
  backdrop-filter: blur(5px);
  border: none;
  position: relative;
  transition: all 0.3s ease;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 15px), calc(100% - 15px) 100%, 0 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.4);
  border-bottom: 1px solid rgba(0, 0, 0, 0.6);
  border-left: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 4px 6px rgba(0, 0, 0, 0.5);
}
#wm-offcanvas.wm-bg-battle-detail .card:hover {
  transform: translateY(-2px);
  background: linear-gradient(to right, rgba(0, 0, 0, 0.25), rgba(0, 0, 0, 0.15));
  border-top-color: rgba(100, 200, 255, 0.6);
  box-shadow: 0 0 15px rgba(0, 150, 255, 0.2), inset 0 0 20px rgba(0, 150, 255, 0.05);
}
#wm-offcanvas.wm-bg-battle-detail .card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
  clip-path: inherit;
}
#wm-offcanvas.wm-bg-calendar {
  background-image: url("/images/bg/calendar.webp");
  background-position: center;
  background-repeat: no-repeat;
  /* 30% opacity black to darken the image */
  background-color: rgba(0, 0, 0, 0.2);
  background-blend-mode: multiply;
  background-size: cover;
}
#wm-offcanvas.wm-bg-calendar .card {
  background: linear-gradient(to right, rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.25));
  backdrop-filter: blur(5px);
  border: none;
  position: relative;
  transition: all 0.3s ease;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 15px), calc(100% - 15px) 100%, 0 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.4);
  border-bottom: 1px solid rgba(0, 0, 0, 0.6);
  border-left: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 4px 6px rgba(0, 0, 0, 0.5);
}
#wm-offcanvas.wm-bg-calendar .card:hover {
  transform: translateY(-2px);
  background: linear-gradient(to right, rgba(0, 0, 0, 0.25), rgba(0, 0, 0, 0.15));
  border-top-color: rgba(100, 200, 255, 0.6);
  box-shadow: 0 0 15px rgba(0, 150, 255, 0.2), inset 0 0 20px rgba(0, 150, 255, 0.05);
}
#wm-offcanvas.wm-bg-calendar .card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
  clip-path: inherit;
}

#wm-offcanvas-left {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  overscroll-behavior: contain;
}
#wm-offcanvas-left .offcanvas-body {
  min-height: 0;
  overflow: hidden;
  overscroll-behavior: contain;
}

#wm-modal .wm-bg-recruit {
  background-image: url("/images/bg/recruit.webp");
  background-position: center;
  background-repeat: no-repeat;
  /* 30% opacity black to darken the image */
  background-color: rgba(0, 0, 0, 0.3);
  background-blend-mode: multiply;
  background-size: cover;
}
#wm-modal .wm-bg-recruit .card {
  background: linear-gradient(to right, rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.25));
  backdrop-filter: blur(5px);
  border: none;
  position: relative;
  transition: all 0.3s ease;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 15px), calc(100% - 15px) 100%, 0 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.4);
  border-bottom: 1px solid rgba(0, 0, 0, 0.6);
  border-left: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 4px 6px rgba(0, 0, 0, 0.5);
}
#wm-modal .wm-bg-recruit .card:hover {
  transform: translateY(-2px);
  background: linear-gradient(to right, rgba(0, 0, 0, 0.25), rgba(0, 0, 0, 0.15));
  border-top-color: rgba(100, 200, 255, 0.6);
  box-shadow: 0 0 15px rgba(0, 150, 255, 0.2), inset 0 0 20px rgba(0, 150, 255, 0.05);
}
#wm-modal .wm-bg-recruit .card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
  clip-path: inherit;
}
#wm-modal .wm-bg-gifts {
  background-image: url("/images/bg/gifts.webp");
  background-position: center;
  background-repeat: no-repeat;
  /* 30% opacity black to darken the image */
  background-color: rgba(0, 0, 0, 0.3);
  background-blend-mode: multiply;
  background-size: cover;
}
#wm-modal .wm-bg-gifts .card {
  background: linear-gradient(to right, rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.25));
  backdrop-filter: blur(5px);
  border: none;
  position: relative;
  transition: all 0.3s ease;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 15px), calc(100% - 15px) 100%, 0 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.4);
  border-bottom: 1px solid rgba(0, 0, 0, 0.6);
  border-left: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 4px 6px rgba(0, 0, 0, 0.5);
}
#wm-modal .wm-bg-gifts .card:hover {
  transform: translateY(-2px);
  background: linear-gradient(to right, rgba(0, 0, 0, 0.25), rgba(0, 0, 0, 0.15));
  border-top-color: rgba(100, 200, 255, 0.6);
  box-shadow: 0 0 15px rgba(0, 150, 255, 0.2), inset 0 0 20px rgba(0, 150, 255, 0.05);
}
#wm-modal .wm-bg-gifts .card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
  clip-path: inherit;
}
#wm-modal .wm-bg-missions {
  background-image: url("/images/bg/missions.webp");
  background-position: center;
  background-repeat: no-repeat;
  /* 30% opacity black to darken the image */
  background-color: rgba(0, 0, 0, 0.3);
  background-blend-mode: multiply;
  background-size: cover;
}
#wm-modal .wm-bg-missions .card {
  background: linear-gradient(to right, rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.25));
  backdrop-filter: blur(5px);
  border: none;
  position: relative;
  transition: all 0.3s ease;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 15px), calc(100% - 15px) 100%, 0 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.4);
  border-bottom: 1px solid rgba(0, 0, 0, 0.6);
  border-left: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 4px 6px rgba(0, 0, 0, 0.5);
}
#wm-modal .wm-bg-missions .card:hover {
  transform: translateY(-2px);
  background: linear-gradient(to right, rgba(0, 0, 0, 0.25), rgba(0, 0, 0, 0.15));
  border-top-color: rgba(100, 200, 255, 0.6);
  box-shadow: 0 0 15px rgba(0, 150, 255, 0.2), inset 0 0 20px rgba(0, 150, 255, 0.05);
}
#wm-modal .wm-bg-missions .card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
  clip-path: inherit;
}
#wm-modal .wm-bg-shields {
  background-image: url("/images/bg/shield-up.webp");
  background-position: center;
  background-repeat: no-repeat;
  /* 30% opacity black to darken the image */
  background-color: rgba(0, 0, 0, 0);
  background-blend-mode: multiply;
  background-size: cover;
}
#wm-modal .wm-bg-shields .card {
  background: linear-gradient(to right, rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.25));
  backdrop-filter: blur(5px);
  border: none;
  position: relative;
  transition: all 0.3s ease;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 15px), calc(100% - 15px) 100%, 0 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.4);
  border-bottom: 1px solid rgba(0, 0, 0, 0.6);
  border-left: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 4px 6px rgba(0, 0, 0, 0.5);
}
#wm-modal .wm-bg-shields .card:hover {
  transform: translateY(-2px);
  background: linear-gradient(to right, rgba(0, 0, 0, 0.25), rgba(0, 0, 0, 0.15));
  border-top-color: rgba(100, 200, 255, 0.6);
  box-shadow: 0 0 15px rgba(0, 150, 255, 0.2), inset 0 0 20px rgba(0, 150, 255, 0.05);
}
#wm-modal .wm-bg-shields .card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
  clip-path: inherit;
}
#wm-modal .wm-bg-user-options {
  background-image: url("/images/bg/user-options.webp");
  background-position: center;
  background-repeat: no-repeat;
  /* 30% opacity black to darken the image */
  background-color: rgba(0, 0, 0, 0);
  background-blend-mode: multiply;
  background-size: cover;
}
#wm-modal .wm-bg-user-options .card {
  background: linear-gradient(to right, rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.25));
  backdrop-filter: blur(5px);
  border: none;
  position: relative;
  transition: all 0.3s ease;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 15px), calc(100% - 15px) 100%, 0 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.4);
  border-bottom: 1px solid rgba(0, 0, 0, 0.6);
  border-left: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 4px 6px rgba(0, 0, 0, 0.5);
}
#wm-modal .wm-bg-user-options .card:hover {
  transform: translateY(-2px);
  background: linear-gradient(to right, rgba(0, 0, 0, 0.25), rgba(0, 0, 0, 0.15));
  border-top-color: rgba(100, 200, 255, 0.6);
  box-shadow: 0 0 15px rgba(0, 150, 255, 0.2), inset 0 0 20px rgba(0, 150, 255, 0.05);
}
#wm-modal .wm-bg-user-options .card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
  clip-path: inherit;
}
#wm-modal .wm-bg-user-task {
  background-image: url("/images/bg/construction.webp");
  background-position: center;
  background-repeat: no-repeat;
  /* 30% opacity black to darken the image */
  background-color: rgba(0, 0, 0, 0.4);
  background-blend-mode: multiply;
  background-size: cover;
}
#wm-modal .wm-bg-user-task .card {
  background: linear-gradient(to right, rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.25));
  backdrop-filter: blur(5px);
  border: none;
  position: relative;
  transition: all 0.3s ease;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 15px), calc(100% - 15px) 100%, 0 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.4);
  border-bottom: 1px solid rgba(0, 0, 0, 0.6);
  border-left: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 4px 6px rgba(0, 0, 0, 0.5);
}
#wm-modal .wm-bg-user-task .card:hover {
  transform: translateY(-2px);
  background: linear-gradient(to right, rgba(0, 0, 0, 0.25), rgba(0, 0, 0, 0.15));
  border-top-color: rgba(100, 200, 255, 0.6);
  box-shadow: 0 0 15px rgba(0, 150, 255, 0.2), inset 0 0 20px rgba(0, 150, 255, 0.05);
}
#wm-modal .wm-bg-user-task .card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
  clip-path: inherit;
}
#wm-modal .wm-bg-summon {
  background-image: url("/images/bg/summon.webp");
  background-position: center;
  background-repeat: no-repeat;
  /* 30% opacity black to darken the image */
  background-color: rgba(0, 0, 0, 0);
  background-blend-mode: multiply;
  background-size: cover;
}
#wm-modal .wm-bg-summon .card {
  background: linear-gradient(to right, rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.25));
  backdrop-filter: blur(5px);
  border: none;
  position: relative;
  transition: all 0.3s ease;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 15px), calc(100% - 15px) 100%, 0 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.4);
  border-bottom: 1px solid rgba(0, 0, 0, 0.6);
  border-left: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 4px 6px rgba(0, 0, 0, 0.5);
}
#wm-modal .wm-bg-summon .card:hover {
  transform: translateY(-2px);
  background: linear-gradient(to right, rgba(0, 0, 0, 0.25), rgba(0, 0, 0, 0.15));
  border-top-color: rgba(100, 200, 255, 0.6);
  box-shadow: 0 0 15px rgba(0, 150, 255, 0.2), inset 0 0 20px rgba(0, 150, 255, 0.05);
}
#wm-modal .wm-bg-summon .card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
  clip-path: inherit;
}
#wm-modal .wm-bg-shortcuts {
  background-image: url("/images/bg/shortcuts.webp");
  background-position: center;
  background-repeat: no-repeat;
  /* 30% opacity black to darken the image */
  background-color: rgba(0, 0, 0, 0);
  background-blend-mode: multiply;
  background-size: cover;
}
#wm-modal .wm-bg-shortcuts .card {
  background: linear-gradient(to right, rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.25));
  backdrop-filter: blur(5px);
  border: none;
  position: relative;
  transition: all 0.3s ease;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 15px), calc(100% - 15px) 100%, 0 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.4);
  border-bottom: 1px solid rgba(0, 0, 0, 0.6);
  border-left: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 4px 6px rgba(0, 0, 0, 0.5);
}
#wm-modal .wm-bg-shortcuts .card:hover {
  transform: translateY(-2px);
  background: linear-gradient(to right, rgba(0, 0, 0, 0.25), rgba(0, 0, 0, 0.15));
  border-top-color: rgba(100, 200, 255, 0.6);
  box-shadow: 0 0 15px rgba(0, 150, 255, 0.2), inset 0 0 20px rgba(0, 150, 255, 0.05);
}
#wm-modal .wm-bg-shortcuts .card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
  clip-path: inherit;
}
#wm-modal .wm-bg-map-bookmark {
  background-image: url("/images/bg/map-bookmark.webp");
  background-position: center;
  background-repeat: no-repeat;
  /* 30% opacity black to darken the image */
  background-color: rgba(0, 0, 0, 0);
  background-blend-mode: multiply;
  background-size: cover;
}
#wm-modal .wm-bg-map-bookmark .card {
  background: linear-gradient(to right, rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.25));
  backdrop-filter: blur(5px);
  border: none;
  position: relative;
  transition: all 0.3s ease;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 15px), calc(100% - 15px) 100%, 0 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.4);
  border-bottom: 1px solid rgba(0, 0, 0, 0.6);
  border-left: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 4px 6px rgba(0, 0, 0, 0.5);
}
#wm-modal .wm-bg-map-bookmark .card:hover {
  transform: translateY(-2px);
  background: linear-gradient(to right, rgba(0, 0, 0, 0.25), rgba(0, 0, 0, 0.15));
  border-top-color: rgba(100, 200, 255, 0.6);
  box-shadow: 0 0 15px rgba(0, 150, 255, 0.2), inset 0 0 20px rgba(0, 150, 255, 0.05);
}
#wm-modal .wm-bg-map-bookmark .card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
  clip-path: inherit;
}
#wm-modal .wm-bg-top-up {
  background-image: url("/images/bg/top-up.webp");
  background-position: center;
  background-repeat: no-repeat;
  /* 30% opacity black to darken the image */
  background-color: rgba(0, 0, 0, 0);
  background-blend-mode: multiply;
  background-size: cover;
}
#wm-modal .wm-bg-top-up .card {
  background: linear-gradient(to right, rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.25));
  backdrop-filter: blur(5px);
  border: none;
  position: relative;
  transition: all 0.3s ease;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 15px), calc(100% - 15px) 100%, 0 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.4);
  border-bottom: 1px solid rgba(0, 0, 0, 0.6);
  border-left: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 4px 6px rgba(0, 0, 0, 0.5);
}
#wm-modal .wm-bg-top-up .card:hover {
  transform: translateY(-2px);
  background: linear-gradient(to right, rgba(0, 0, 0, 0.25), rgba(0, 0, 0, 0.15));
  border-top-color: rgba(100, 200, 255, 0.6);
  box-shadow: 0 0 15px rgba(0, 150, 255, 0.2), inset 0 0 20px rgba(0, 150, 255, 0.05);
}
#wm-modal .wm-bg-top-up .card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
  clip-path: inherit;
}
#wm-modal .wm-bg-speedup {
  background-image: url("/images/bg/speedup.webp");
  background-position: center;
  background-repeat: no-repeat;
  /* 30% opacity black to darken the image */
  background-color: rgba(0, 0, 0, 0.4);
  background-blend-mode: multiply;
  background-size: cover;
}
#wm-modal .wm-bg-speedup .card {
  background: linear-gradient(to right, rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.25));
  backdrop-filter: blur(5px);
  border: none;
  position: relative;
  transition: all 0.3s ease;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 15px), calc(100% - 15px) 100%, 0 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.4);
  border-bottom: 1px solid rgba(0, 0, 0, 0.6);
  border-left: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 4px 6px rgba(0, 0, 0, 0.5);
}
#wm-modal .wm-bg-speedup .card:hover {
  transform: translateY(-2px);
  background: linear-gradient(to right, rgba(0, 0, 0, 0.25), rgba(0, 0, 0, 0.15));
  border-top-color: rgba(100, 200, 255, 0.6);
  box-shadow: 0 0 15px rgba(0, 150, 255, 0.2), inset 0 0 20px rgba(0, 150, 255, 0.05);
}
#wm-modal .wm-bg-speedup .card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
  clip-path: inherit;
}

.wm-bg-mission-detail {
  background-image: url("/images/bg/mission-detail.webp");
  background-position: center;
  background-repeat: no-repeat;
  /* 30% opacity black to darken the image */
  background-color: rgba(0, 0, 0, 0.4);
  background-blend-mode: multiply;
  background-size: cover;
}
.wm-bg-mission-detail .card {
  background: linear-gradient(to right, rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.25));
  backdrop-filter: blur(5px);
  border: none;
  position: relative;
  transition: all 0.3s ease;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 15px), calc(100% - 15px) 100%, 0 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.4);
  border-bottom: 1px solid rgba(0, 0, 0, 0.6);
  border-left: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 4px 6px rgba(0, 0, 0, 0.5);
}
.wm-bg-mission-detail .card:hover {
  transform: translateY(-2px);
  background: linear-gradient(to right, rgba(0, 0, 0, 0.25), rgba(0, 0, 0, 0.15));
  border-top-color: rgba(100, 200, 255, 0.6);
  box-shadow: 0 0 15px rgba(0, 150, 255, 0.2), inset 0 0 20px rgba(0, 150, 255, 0.05);
}
.wm-bg-mission-detail .card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
  clip-path: inherit;
}

.wm-bg-battle-detail {
  background-image: url("/images/bg/battle_detail.webp");
  background-position: center;
  background-repeat: no-repeat;
  /* 30% opacity black to darken the image */
  background-color: rgba(0, 0, 0, 0.3);
  background-blend-mode: multiply;
  background-size: cover;
}
.wm-bg-battle-detail .card {
  background: linear-gradient(to right, rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.25));
  backdrop-filter: blur(5px);
  border: none;
  position: relative;
  transition: all 0.3s ease;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 15px), calc(100% - 15px) 100%, 0 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.4);
  border-bottom: 1px solid rgba(0, 0, 0, 0.6);
  border-left: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 4px 6px rgba(0, 0, 0, 0.5);
}
.wm-bg-battle-detail .card:hover {
  transform: translateY(-2px);
  background: linear-gradient(to right, rgba(0, 0, 0, 0.25), rgba(0, 0, 0, 0.15));
  border-top-color: rgba(100, 200, 255, 0.6);
  box-shadow: 0 0 15px rgba(0, 150, 255, 0.2), inset 0 0 20px rgba(0, 150, 255, 0.05);
}
.wm-bg-battle-detail .card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
  clip-path: inherit;
}

.wm-offcanvas--advisor {
  position: relative;
  overflow: hidden;
  --wm-oc-bg-image: url("/images/bg/advisor.webp");
  --wm-oc-bg-pos: 50% 20%;
}
.wm-offcanvas--advisor::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--wm-oc-bg-image, url("/images/bg/advisor.webp"));
  background-size: cover;
  background-repeat: no-repeat;
  background-position: var(--wm-oc-bg-pos);
  opacity: 0.95;
  pointer-events: none;
  z-index: 0;
  filter: saturate(0.85);
}
.wm-offcanvas--advisor::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(180deg, var(--wm-overlay-black-02) 38%, var(--wm-overlay-black-60) 100%), radial-gradient(circle at 20% 15%, var(--wm-overlay-accent-12), transparent 60%);
  pointer-events: none;
  z-index: 1;
}
.wm-offcanvas--advisor.is-s {
  --wm-oc-bg-pos: 35% 25%;
}
.wm-offcanvas--advisor.is-m {
  --wm-oc-bg-pos: 50% 35%;
}
.wm-offcanvas--advisor.is-l {
  --wm-oc-bg-pos: 50% 55%;
}
.wm-offcanvas--advisor .offcanvas-header {
  position: sticky;
  top: 0;
  z-index: 3;
  padding: var(--wm-space-sm) var(--wm-space-md);
  background: linear-gradient(135deg, var(--wm-overlay-white-08), var(--wm-overlay-white-02));
  border-bottom: 1px solid var(--wm-overlay-white-35);
  backdrop-filter: blur(24px);
  box-shadow: var(--wm-shadow-xl);
}
.wm-offcanvas--advisor .offcanvas-header .offcanvas-title {
  color: var(--wm-color-text-primary);
  font-size: 0.85rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}
.wm-offcanvas--advisor .offcanvas-header,
.wm-offcanvas--advisor .offcanvas-body {
  position: relative;
  z-index: 2;
}
.wm-offcanvas--advisor .offcanvas-body {
  padding: 0;
  background: transparent;
}

.wm-bg-tactical_panel {
  background-image: url("/images/bg/tactical_panel.webp");
  background-position: center;
  background-repeat: no-repeat;
  /* 30% opacity black to darken the image */
  background-color: rgba(0, 0, 0, 0);
  background-blend-mode: multiply;
  background-size: cover;
}
.wm-bg-tactical_panel .card {
  background: linear-gradient(to right, rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.25));
  backdrop-filter: blur(5px);
  border: none;
  position: relative;
  transition: all 0.3s ease;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 15px), calc(100% - 15px) 100%, 0 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.4);
  border-bottom: 1px solid rgba(0, 0, 0, 0.6);
  border-left: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 4px 6px rgba(0, 0, 0, 0.5);
}
.wm-bg-tactical_panel .card:hover {
  transform: translateY(-2px);
  background: linear-gradient(to right, rgba(0, 0, 0, 0.25), rgba(0, 0, 0, 0.15));
  border-top-color: rgba(100, 200, 255, 0.6);
  box-shadow: 0 0 15px rgba(0, 150, 255, 0.2), inset 0 0 20px rgba(0, 150, 255, 0.05);
}
.wm-bg-tactical_panel .card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
  clip-path: inherit;
}

.wm-bg-battle_history {
  background-image: url("/images/bg/battle_history.webp");
  background-position: center;
  background-repeat: no-repeat;
  /* 30% opacity black to darken the image */
  background-color: rgba(0, 0, 0, 0);
  background-blend-mode: multiply;
  background-size: cover;
}
.wm-bg-battle_history .card {
  background: linear-gradient(to right, rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.25));
  backdrop-filter: blur(5px);
  border: none;
  position: relative;
  transition: all 0.3s ease;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 15px), calc(100% - 15px) 100%, 0 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.4);
  border-bottom: 1px solid rgba(0, 0, 0, 0.6);
  border-left: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 4px 6px rgba(0, 0, 0, 0.5);
}
.wm-bg-battle_history .card:hover {
  transform: translateY(-2px);
  background: linear-gradient(to right, rgba(0, 0, 0, 0.25), rgba(0, 0, 0, 0.15));
  border-top-color: rgba(100, 200, 255, 0.6);
  box-shadow: 0 0 15px rgba(0, 150, 255, 0.2), inset 0 0 20px rgba(0, 150, 255, 0.05);
}
.wm-bg-battle_history .card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
  clip-path: inherit;
}

/**
 * war_store skin.
 *
 * Provides a premium/commercial-themed background for the store offcanvas.
 * Uses a dark purple/blue gradient suggesting value and commerce.
 */
.wm-bg-store {
  background-image: url("/images/bg/store.webp");
  background-position: center;
  background-repeat: no-repeat;
  /* 30% opacity black to darken the image */
  background-color: rgba(0, 0, 0, 0);
  background-blend-mode: multiply;
  background-size: cover;
  position: relative;
}
.wm-bg-store .card {
  background: linear-gradient(to right, rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.25));
  backdrop-filter: blur(5px);
  border: none;
  position: relative;
  transition: all 0.3s ease;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 15px), calc(100% - 15px) 100%, 0 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.4);
  border-bottom: 1px solid rgba(0, 0, 0, 0.6);
  border-left: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 4px 6px rgba(0, 0, 0, 0.5);
}
.wm-bg-store .card:hover {
  transform: translateY(-2px);
  background: linear-gradient(to right, rgba(0, 0, 0, 0.25), rgba(0, 0, 0, 0.15));
  border-top-color: rgba(100, 200, 255, 0.6);
  box-shadow: 0 0 15px rgba(0, 150, 255, 0.2), inset 0 0 20px rgba(0, 150, 255, 0.05);
}
.wm-bg-store .card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
  clip-path: inherit;
}
.wm-bg-store::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  transform: translate(-50%, -50%);
  background: radial-gradient(ellipse at center, var(--wm-color-purple-accent) 0%, transparent 70%);
  pointer-events: none;
  opacity: 0.5;
}

.wm-modal--store .offcanvas-body {
  padding: 0 !important;
}
.wm-modal--store .offcanvas {
  background-color: transparent;
}

.war-store-panel {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.wm-store-scroll {
  flex: 1;
  overflow-y: auto;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.wm-store-footer {
  flex: 0 0 auto;
  position: sticky;
  bottom: 0;
  z-index: 5;
  padding: 1rem 1.5rem;
  border-top: 1px solid var(--wm-color-border-subtle);
}

.store-filter-header {
  position: sticky;
  top: 0;
  z-index: 5;
  background: var(--wm-color-tactical-bg);
  padding: 0.75rem;
  border-radius: 0.75rem;
  border: 1px solid var(--wm-overlay-white-08);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.store-search-autocomplete {
  flex: 1;
  min-width: 0;
}

.store-filter-expanded {
  border-radius: 0.75rem;
  padding: 1rem;
  background: var(--wm-color-surface-dark-200);
  border: 1px solid var(--wm-overlay-white-08);
  display: none;
  transition: max-height 0.3s ease;
  margin-top: 0.75rem;
}

.store-filter-expanded.is-open {
  display: block;
}

.store-pack-type-select select {
  width: 100%;
  background: var(--wm-overlay-black-40);
  color: var(--wm-color-text-primary);
}

.store-products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1rem 1.25rem;
}

.store-product-card-wrapper {
  display: flex;
  width: 100%;
}

.store-go-top {
  position: absolute;
  bottom: 2.5rem;
  right: 1.5rem;
  z-index: 10;
  box-shadow: var(--wm-shadow-store-button);
}

.store-price-slider {
  background: var(--wm-overlay-black-35);
  border-radius: 0.75rem;
  padding: 1rem;
  margin-bottom: 0.75rem;
  position: relative;
  overflow: hidden;
  pointer-events: auto;
  z-index: 1;
}

.store-price-slider-inputs {
  position: relative;
  height: 56px;
  pointer-events: none;
}

.store-price-slider-track {
  position: absolute;
  inset: 18px 0 22px;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--wm-overlay-white-15), var(--wm-overlay-white-05));
  pointer-events: none;
  z-index: 0;
}

.store-price-slider input[type=range] {
  -webkit-appearance: none;
  -moz-appearance: none;
       appearance: none;
  width: 100%;
  position: absolute;
  top: 0;
  left: 0;
  height: 56px;
  background: none;
  pointer-events: auto;
  cursor: pointer;
  z-index: 2;
  touch-action: none;
}

.store-price-slider input[type=range]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--wm-color-store-slider-thumb);
  border: 2px solid var(--wm-overlay-white-40);
  pointer-events: all;
}

.store-price-slider input[type=range]::-moz-range-thumb {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--wm-color-store-slider-thumb);
  border: 2px solid var(--wm-overlay-white-40);
  pointer-events: all;
}

.store-search-autocomplete {
  position: relative;
}

.store-suggestions {
  position: absolute;
  width: 100%;
  top: calc(100% + 0.25rem);
  left: 0;
  z-index: 60;
  background: var(--wm-color-surface-dark-200);
  border: 1px solid var(--wm-overlay-white-20);
  border-radius: 0.75rem;
  box-shadow: var(--wm-shadow-store-suggestions);
  max-height: 260px;
  overflow-y: auto;
  padding: 0.5rem 0;
}

.store-suggestions[hidden] {
  display: none;
}

.store-suggestions-group {
  padding: 0.5rem 1rem;
}

.store-suggestions-group-label {
  letter-spacing: 0.08em;
  margin-bottom: 0.25rem;
}

.store-suggestions-item {
  width: 100%;
  padding: 0.35rem 0.5rem;
  text-align: left;
  border: 0;
  background: transparent;
  color: var(--wm-color-text-primary);
  font-size: 0.9rem;
  display: block;
  cursor: pointer;
}

.store-suggestions-item:hover {
  background: var(--wm-overlay-white-08);
}

/**
 * Default/neutral skin (optional).
 *
 * Can be used for surfaces that don't need a specific theme.
 */
.wm-bg-default,
.wm-bg-neutral {
  background-color: var(--wm-color-modal-bg, var(--bs-body-bg)) !important;
  background-image: none !important;
}
.wm-bg-default::before,
.wm-bg-neutral::before {
  display: none;
}

/**
 * Ensure that text and interactive elements remain readable
 * on all skin backgrounds.
 */
[class*=wm-bg-] .modal-header,
[class*=wm-bg-] .offcanvas-header,
[class*=wm-bg-] .modal-body,
[class*=wm-bg-] .offcanvas-body {
  color: var(--wm-color-text-primary, var(--bs-body-color));
}
[class*=wm-bg-] .modal-title,
[class*=wm-bg-] .offcanvas-title {
  text-shadow: var(--wm-shadow-inset);
}
[class*=wm-bg-] .form-control,
[class*=wm-bg-] .form-select,
[class*=wm-bg-] .btn {
  position: relative;
  z-index: 1;
}

.select2-container--bootstrap-5 {
  width: 100% !important;
}

.select2-container--bootstrap-5 .select2-selection--single {
  min-height: 36px;
  height: 36px;
  padding: 0.375rem 0.75rem;
  background-color: var(--wm-color-surface-dark-600);
  color: var(--wm-color-text-primary);
  border: 1.5px solid var(--wm-color-border-dark-500);
  border-radius: 0.4rem;
}

.select2-container--bootstrap-5 .select2-selection__rendered {
  display: flex;
  align-items: center;
  height: 100%;
  line-height: 1;
  padding: 0 2rem 0 0.5rem;
  color: var(--wm-color-text-primary);
}

.select2-container--bootstrap-5.select2-container--focus .select2-selection--single,
.select2-container--bootstrap-5.select2-container--open .select2-selection--single {
  border-color: var(--wm-color-accent-primary);
  box-shadow: 0 0 0 3px var(--wm-overlay-accent-15);
}

.select2-container--bootstrap-5 .select2-dropdown,
.select2-container--bootstrap-5.select2-container--open .select2-dropdown {
  background: linear-gradient(180deg, var(--wm-color-surface-dark-500), var(--wm-color-surface-dark-700));
  border: 1.5px solid var(--wm-color-border-dark-300);
  box-shadow: 0 10px 24px var(--wm-overlay-black-45);
  z-index: 12000;
}

.select2-container--bootstrap-5 .select2-search--dropdown .select2-search__field {
  background-color: var(--wm-color-surface-dark-800);
  color: var(--wm-color-text-primary);
  border: 1px solid var(--wm-color-border-dark-400);
}

.select2-container--bootstrap-5 .select2-search--dropdown .select2-search__field:focus {
  border-color: var(--wm-color-accent-primary);
  box-shadow: 0 0 0 2px var(--wm-overlay-accent-15);
}

.select2-container--bootstrap-5 .select2-results,
.select2-container--bootstrap-5 .select2-results__options {
  background: linear-gradient(180deg, var(--wm-color-surface-dark-500), var(--wm-color-surface-dark-700)) !important;
}

.select2-container--bootstrap-5 .select2-results__option {
  background: transparent !important;
  color: var(--wm-color-text-90) !important;
  padding: 0.45rem 0.55rem;
}

.select2-container--bootstrap-5 .select2-results__option--highlighted.select2-results__option--selectable {
  background: var(--wm-overlay-accent-25) !important;
  color: var(--wm-color-text-primary) !important;
}

.select2-container--bootstrap-5 .select2-results__option--selected {
  background: var(--wm-overlay-accent-35) !important;
  color: var(--wm-color-text-primary) !important;
}

main .select2-container--bootstrap-5 .select2-selection--single .select2-selection__rendered {
  display: flex;
  align-items: center;
  height: 100%;
  line-height: 1;
  padding: 0 2rem 0 0.5rem;
  color: var(--wm-color-text-primary);
}

.select2-selection__rendered .wm-type-option__count {
  margin-left: 0.5rem;
  min-width: 2.35rem;
}

.wm-type-option {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.wm-type-option i {
  width: 1.1rem;
  text-align: center;
  opacity: 0.9;
}

.wm-type-option__label {
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.wm-type-option__count {
  margin-left: auto;
  font-size: 0.72rem;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  min-width: 2.2rem;
  text-align: center;
  background: var(--wm-overlay-accent-35);
  color: var(--wm-color-text-primary);
  border: 1px solid var(--wm-overlay-white-10);
}

.wm-panel .select2-container--bootstrap-5 .select2-selection--single {
  background-color: var(--wm-color-surface-dark-600);
  color: var(--wm-color-text-primary);
  border: 1.5px solid var(--wm-color-border-dark-500);
}

.wm-panel .select2-container--bootstrap-5 .select2-search--dropdown .select2-search__field {
  background-color: var(--wm-color-surface-dark-800) !important;
  color: var(--wm-color-text-primary) !important;
  -webkit-text-fill-color: var(--wm-color-text-primary) !important;
  border: 1px solid var(--wm-color-border-dark-400) !important;
}

.wm-panel .select2-container--bootstrap-5 .select2-search--dropdown .select2-search__field::-moz-placeholder {
  color: var(--wm-color-text-70) !important;
}

.wm-panel .select2-container--bootstrap-5 .select2-search--dropdown .select2-search__field::placeholder {
  color: var(--wm-color-text-70) !important;
}

.wm-panel .select2-container--bootstrap-5 .select2-selection__arrow {
  color: var(--wm-color-text-primary);
}

.select2-container--bootstrap-5 .select2-search--dropdown .select2-search__field {
  background-color: var(--wm-color-surface-dark-800) !important;
  color: var(--wm-color-text-primary) !important;
  -webkit-text-fill-color: var(--wm-color-text-primary) !important;
  border: 1px solid var(--wm-color-border-dark-400) !important;
}

.select2-container--bootstrap-5 .select2-search--dropdown .select2-search__field::-moz-placeholder {
  color: var(--wm-color-text-70) !important;
  opacity: 1 !important;
}

.select2-container--bootstrap-5 .select2-search--dropdown .select2-search__field::placeholder {
  color: var(--wm-color-text-70) !important;
  opacity: 1 !important;
}

[data-wm-skeleton=panel] {
  position: relative;
}

.wm-skeleton-overlay {
  position: absolute;
  inset: 0;
  background-color: var(--wm-color-surface-subtle);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--wm-space-md, 1rem);
  gap: var(--wm-space-md, 1rem);
  z-index: var(--wm-z-overlay, 2500);
  pointer-events: none;
  opacity: 0;
  transition: opacity var(--wm-transition-fast, 0.1s) ease;
}

.wm-skeleton-overlay.is-visible {
  opacity: 1;
}

.wm-skeleton-cards {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: calc(var(--wm-space-sm, 0.5rem));
}

.wm-skeleton-card {
  background: linear-gradient(135deg, var(--wm-overlay-white-04), var(--wm-overlay-white-02));
  border: 1px solid var(--wm-overlay-white-06);
  border-radius: var(--wm-radius-md, 0.5rem);
  padding: var(--wm-space-md, 1rem);
  display: flex;
  flex-direction: column;
  gap: calc(var(--wm-space-xs, 0.25rem));
  min-height: 120px;
  overflow: hidden;
  position: relative;
}

.wm-skeleton-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, var(--wm-overlay-white-20), transparent);
  animation: wm-skeleton-shimmer 1.4s ease-in-out infinite;
  mix-blend-mode: screen;
}

.wm-skeleton-line {
  height: 12px;
  border-radius: 999px;
  background-color: var(--wm-overlay-white-08);
  position: relative;
  overflow: hidden;
}

.wm-skeleton-title {
  width: 70%;
  height: 16px;
}

.wm-skeleton-subtitle {
  width: 50%;
}

.wm-skeleton-text {
  width: 100%;
}

.wm-skeleton-button {
  width: 40%;
  height: 14px;
}

@keyframes wm-skeleton-shimmer {
  0% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(100%);
  }
}

/*# sourceMappingURL=ui-surface-skins.css.map */