/* Frozen Reborn: force blue accent over cached purple tokens */
:root {
  --color-accent: #4a89ff;
  --color-promo: #4a89ff;
}

/* Default typography: Mont (not Onder display font) */
h1,
h3,
[class*="__title"],
[class*="__brandName"],
[class*="__navTitle"],
[class*="__partnerTitle"],
[class*="__productName"] {
  font-family: var(--font-mont), "Mont", sans-serif !important;
}

[class*="__goTo"],
[class*="__writeBtn"],
[class*="__pageBtn"],
[class*="__primaryBtn"],
[class*="__submitBtn"] {
  background: linear-gradient(163deg, #ffffff80 0.12%, #7eb8ff80 99.94%), #4a89ff !important;
}

[class*="__titleAccent"],
[class*="__titleHighlight"],
[class*="__highlight"] {
  color: #4a89ff !important;
}

[class*="__statCardShader"],
[class*="__shader"] {
  background: #4a89ff !important;
}

[class*="__kanjiTopLeft"],
[class*="__kanjiBottomLeft"],
[class*="__kanjiBottomRight"] {
  color: #4a89ff !important;
}

/* Game page (middle block) parity with blue reference look */
.game-preview-module-scss-module__2cLdLW__section,
.game-preview-module-scss-module__2cLdLW__searchBar,
.card-product-module-scss-module__U6gnWa__card {
  background: radial-gradient(885.95% 274.23% at 49.37%, #12141800 0%, #3578d480 100%), #1f1f2b66 !important;
}

.game-preview-module-scss-module__2cLdLW__section:before,
.game-preview-module-scss-module__2cLdLW__searchBar:before,
.card-product-module-scss-module__U6gnWa__card:before,
.card-product-module-scss-module__U6gnWa__goBtn:before {
  background: linear-gradient(111deg, #4a89ff 0%, #4a89ff33 40.38% 60.12%, #4a89ff 100%) !important;
}

.game-preview-module-scss-module__2cLdLW__searchInput,
.game-preview-module-scss-module__2cLdLW__searchInput::placeholder,
.game-preview-module-scss-module__2cLdLW__sortBtn,
.card-product-module-scss-module__U6gnWa__price,
.card-product-module-scss-module__U6gnWa__productName,
.card-product-module-scss-module__U6gnWa__pricePeriod {
  color: #d8e7ff !important;
}

.card-product-module-scss-module__U6gnWa__price,
.card-product-module-scss-module__U6gnWa__pricePeriod {
  font-family: var(--font-mont), "Mont", sans-serif !important;
  letter-spacing: 0 !important;
}

.game-preview-module-scss-module__2cLdLW__sortIcon,
.game-preview-module-scss-module__2cLdLW__searchLeft img,
.card-product-module-scss-module__U6gnWa__goBtnArrow {
  filter: hue-rotate(-48deg) saturate(1.2) brightness(1.1) !important;
}

.card-product-module-scss-module__U6gnWa__goBtn,
.card-product-module-scss-module__U6gnWa__goBtnFill {
  background: linear-gradient(163deg, #ffffff80 0.12%, #7eb8ff80 99.94%), #4a89ff !important;
}

.game-preview-module-scss-module__2cLdLW__separator,
.card-product-module-scss-module__U6gnWa__separator {
  background: #4a89ff40 !important;
}

/* Logo: keep original green color - remove blue hue-rotate */
header img[src*="logo"],
header img[src*="icon"] {
  filter: none !important;
}

/* Static header dropdown fallback for Cloudflare uploads. */
.header-module-scss-module__JsbOiq__wrapper,
.header-module-scss-module__JsbOiq__header,
.header-module-scss-module__JsbOiq__nav,
.header-module-scss-module__JsbOiq__navTriggerWrapper {
  overflow: visible !important;
}

.header-module-scss-module__JsbOiq__navTriggerWrapper {
  position: relative !important;
}

.fr-static-nav-menu {
  display: none;
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  min-width: 210px;
  padding: 10px 0;
  background: #1f1f2b;
  border: 1px solid #4a89ff60;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .5);
  transform: translateX(-50%);
  z-index: 100001;
}

.header-module-scss-module__JsbOiq__navTriggerWrapper:hover .fr-static-nav-menu,
.header-module-scss-module__JsbOiq__navTriggerWrapper:focus-within .fr-static-nav-menu,
.header-module-scss-module__JsbOiq__navTriggerWrapper.fr-static-open .fr-static-nav-menu {
  display: block !important;
}

.fr-static-nav-menu a {
  display: block;
  padding: 10px 20px;
  color: #4a89ff;
  font-family: var(--font-mont), "Mont", sans-serif;
  font-size: 14px;
  line-height: 1.2;
  text-align: left;
  text-decoration: none;
  white-space: nowrap;
}

.fr-static-nav-menu a:hover,
.fr-static-nav-menu a:focus {
  color: #fff;
  background: #232a38;
}

/* Shift baked-in purple in hero/product artwork toward blue */
.hero-module-scss-module__uXESQa__characterImg,
[class*="__coverImg"],
[class*="__logoImg"] {
  filter: hue-rotate(-48deg) saturate(1.12);
}

/* Category hero: circle + kanji use site accent */
.game-preview-module-scss-module__2cLdLW__circleImg {
  filter: hue-rotate(-48deg) saturate(1.12) !important;
}

.game-preview-module-scss-module__2cLdLW__circleArcs {
  border-color: var(--color-accent, #4a89ff) !important;
}

.game-preview-module-scss-module__2cLdLW__circleInner {
  background: linear-gradient(163deg, #ffffff80 0%, #0f101680 100%), var(--color-accent, #4a89ff) !important;
}

.game-preview-module-scss-module__2cLdLW__kanjiA,
.game-preview-module-scss-module__2cLdLW__kanjiB,
.game-preview-module-scss-module__2cLdLW__kanjiC,
.game-preview-module-scss-module__2cLdLW__kanjiD,
.game-preview-module-scss-module__2cLdLW__kanjiE,
.game-preview-module-scss-module__2cLdLW__kanjiF,
.game-preview-module-scss-module__2cLdLW__kanjiG,
.game-preview-module-scss-module__2cLdLW__kanjiH,
.game-preview-module-scss-module__2cLdLW__kanjiI,
.game-preview-module-scss-module__2cLdLW__kanjiJ,
.game-preview-module-scss-module__2cLdLW__kanjiK {
  font-family: "Segoe UI", "Yu Gothic UI", "Meiryo", "Hiragino Sans", sans-serif !important;
  color: var(--color-accent, #4a89ff) !important;
}

/* Logo: default Mont font (not Onder display font) */
.header-module-scss-module__JsbOiq__logoText {
  font-family: var(--font-mont), "Mont", sans-serif !important;
  letter-spacing: 1px !important;
  text-transform: uppercase !important;
  color: #ffffff !important;
}

/* Neutral panels: remove purple tint from legacy #232a38 */
[class*="__trigger"],
[class*="__popularBtn"],
[class*="__catalogBtn"],
[class*="__pagination"],
[class*="__card"]:not([class*="__goTo"]) {
  --panel-bg: #232a38;
}

.filter-dropdown-module-scss-module__MlDJaa__trigger,
.category-bar-module-scss-module__jl5lQa__popularBtn,
.popular-module-scss-module__MYTY3a__catalogBtn {
  background: radial-gradient(885.95% 274.23% at 49.37%, #12141800 0%, #4a89ff40 100%), #1f1f2b66 !important;
}

.filter-dropdown-module-scss-module__MlDJaa__trigger:before,
.category-bar-module-scss-module__jl5lQa__popularBtn:before,
.popular-module-scss-module__MYTY3a__catalogBtn:before {
  background: linear-gradient(111deg, #4a89ff 0%, #4a89ff33 40.38% 60.12%, #4a89ff 100%) !important;
}

/* Fix unclickable elements: make sure the page backdrop does not cover/intercept clicks */
#page-backdrop {
  pointer-events: none !important;
}

/* Catalog: Apex / Valorant marked SOON - not enterable */
.fr-coming-soon {
  opacity: 0.72;
  filter: grayscale(0.15);
}

.fr-coming-soon a,
a[data-fr-coming-soon="1"] {
  pointer-events: none !important;
  cursor: not-allowed !important;
}

/* Cloudflare/static fallback: never leave exported reveal items invisible. */
.reveal-module-scss-module__G4qw1G__reveal,
.reveal-module-scss-module__G4qw1G__reveal[data-stagger="true"] > [data-reveal-item],
.mask-text-module-scss-module__ps7D3G__inner {
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
  filter: none !important;
}

.mask-text-module-scss-module__ps7D3G__line {
  overflow: visible !important;
}

/* Static upload cleanup: hide broken decorative glyphs and catalog characters. */
.catalog-preview-module-scss-module__7gR3NW__kanji,
.catalog-preview-module-scss-module__7gR3NW__kanjiA,
.catalog-preview-module-scss-module__7gR3NW__kanjiB,
.catalog-preview-module-scss-module__7gR3NW__kanjiC,
.catalog-preview-module-scss-module__7gR3NW__kanjiD,
.catalog-preview-module-scss-module__7gR3NW__kanjiE,
.catalog-preview-module-scss-module__7gR3NW__kanjiF,
.catalog-preview-module-scss-module__7gR3NW__kanjiG,
.catalog-preview-module-scss-module__7gR3NW__kanjiH,
.catalog-preview-module-scss-module__7gR3NW__kanjiI,
.catalog-preview-module-scss-module__7gR3NW__kanjiJ,
.catalog-preview-module-scss-module__7gR3NW__kanjiK,
[class*="__kanji"] {
  display: none !important;
}

.catalog-preview-module-scss-module__7gR3NW__section img[src*="hero-character"],
.catalog-preview-module-scss-module__7gR3NW__section [class*="character"],
img[src*="hero-character-catalog"] {
  display: none !important;
  visibility: hidden !important;
}

/* Product media preview: thumbnails must be visible and clickable. */
[class*="media-slider"] [class*="__slide"],
[class*="media-slider"] [class*="__slides"] > * {
  cursor: pointer !important;
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
  min-height: 140px !important;
}

[class*="media-slider"] img {
  display: block !important;
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: none !important;
  object-fit: cover !important;
}

.fr-hero-preview-img {
  display: block !important;
  opacity: 1 !important;
  visibility: visible !important;
}

.fr-slide-hidden {
  display: none !important;
}

[class*="product-preview-module"][class*="__preview"] {
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
  position: relative !important;
  overflow: hidden !important;
}

[class*="product-preview-module"][class*="__preview"] > *:not(.fr-hero-preview-img) {
  position: relative !important;
  z-index: 2 !important;
}

/* Catalog search: keep one clean input and remove stale sort controls. */
.catalog-preview-module-scss-module__7gR3NW__searchBar {
  width: 600px !important;
  max-width: calc(100% - 40px) !important;
  justify-content: flex-start !important;
  gap: 18px !important;
  background: #1f2330 !important;
  border: 1px solid #4a89ff !important;
  border-radius: 16px !important;
  box-shadow: none !important;
}

.catalog-preview-module-scss-module__7gR3NW__searchBar input,
.game-preview-module-scss-module__2cLdLW__searchBar input {
  color: #fff !important;
  font-family: var(--font-mont), "Mont", sans-serif !important;
}

.catalog-preview-module-scss-module__7gR3NW__searchBar input::placeholder,
.game-preview-module-scss-module__2cLdLW__searchBar input::placeholder {
  color: #d8e7ff !important;
}

.catalog-preview-module-scss-module__7gR3NW__searchRight,
.catalog-preview-module-scss-module__7gR3NW__sortBtn,
.custom-sort-dropdown {
  display: none !important;
}

.fr-search-modal-bar {
  display: flex;
  align-items: center;
  gap: 18px;
  width: min(600px, calc(100vw - 48px));
  height: 60px;
  padding: 0 20px;
  background: #1f2330;
  border: 1px solid #4a89ff;
  border-radius: 16px;
  box-sizing: border-box;
}

.fr-search-modal-label {
  color: #d8e7ff;
  font-family: var(--font-mont), "Mont", sans-serif;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
}

.fr-search-modal-divider {
  width: 1px;
  height: 18px;
  background: #4a89ff;
  flex: 0 0 auto;
}

.fr-search-modal-bar input {
  flex: 1 1 auto;
  min-width: 0;
  height: 100%;
  color: #fff;
  background: transparent;
  border: 0;
  outline: none;
  font-family: var(--font-mont), "Mont", sans-serif;
  font-size: 14px;
}

.fr-search-modal-bar input::placeholder {
  color: #d8e7ff;
}

.fr-search-modal-bar button {
  color: #0f1016;
  background: #4a89ff;
  border: 0;
  border-radius: 10px;
  padding: 8px 12px;
  font-weight: 700;
  cursor: pointer;
}

