/* Shared liquid glass: public worlds, knowledge tools, plugins and native cabinet.
   Surface opacity is intentionally high enough for reading over illustration.
   Keep scene artwork, active control colors and square geometry intact. */
html.loading-site {
 --glass-surface:rgba(28,52,62,.88);
 --glass-solid:#1c343e;
 --glass-floating:rgba(23,44,54,.96);
 --glass-floating-solid:#172c36;
 --glass-chrome:rgba(15,37,44,.89);
 --glass-chrome-solid:#0f252c;
 --glass-input:rgba(12,33,43,.84);
 --glass-input-solid:#0c212b;
 --glass-hover:rgba(126,181,200,.11);
 --glass-edge:rgba(206,230,239,.30);
 --glass-field-edge:rgba(202,226,237,.35);
 --glass-reflection:rgba(223,245,255,.09);
 --glass-reflection-end:rgba(178,210,224,.015);
 --glass-inset:inset 0 1px 0 #ebf9ff59,inset 1px 0 0 #d6efff26,inset -1px 0 0 #c5dcf01f,inset 0 -1px 0 #020c2259;
 --glass-shadow:var(--glass-inset),2px 3px 0 #03152166,0 12px 28px #020c183d;
 --glass-floating-shadow:var(--glass-inset),0 20px 60px #01081066;
 --glass-filter:blur(14px) saturate(1.18);
 --glass-floating-filter:blur(20px) saturate(1.16);
 --glass-control-shadow:inset 0 1px 0 #ffffff70,inset 0 -2px 0 #02111c40,0 5px 12px #020e2426;
 --glass-focus:#f4c879;
}
html.loading-site:is([data-ui-light],[data-site-theme="light"]):not([data-wellyssar-loading="illustrated"]),
html.loading-site[data-wellyssar-loading="illustrated"]:is([data-ui-light],[data-theme="light"]) {
 --glass-surface:rgba(249,239,218,.92);
 --glass-solid:#f9efda;
 --glass-floating:rgba(249,239,218,.97);
 --glass-floating-solid:#f9efda;
 --glass-chrome:rgba(239,227,204,.93);
 --glass-chrome-solid:#efe3cc;
 --glass-input:rgba(255,248,233,.94);
 --glass-input-solid:#fff8e9;
 --glass-hover:rgba(112,82,39,.08);
 --glass-edge:rgba(73,99,104,.38);
 --glass-field-edge:rgba(73,99,104,.55);
 --glass-reflection:rgba(255,255,255,.32);
 --glass-reflection-end:rgba(255,255,255,.025);
 --glass-inset:inset 0 1px 0 #ffffffd9,inset 1px 0 0 #ffffff8c,inset -1px 0 0 #ffffff59,inset 0 -1px 0 #66543e26;
 --glass-shadow:var(--glass-inset),2px 3px 0 #4e60541f,0 12px 28px #463a251c;
 --glass-floating-shadow:var(--glass-inset),0 20px 60px #26382e33;
 --glass-focus:#704714;
}
/* Frozenfrog always retains its cold ink and blue glass, including when the
   account/public preference is light. Header and footer stay dark in both worlds. */
html.loading-site body.warcraft-page.loading-site {
 --glass-surface:rgba(14,44,65,.87);--glass-solid:#0e2c41;
 --glass-floating:rgba(12,35,54,.96);--glass-floating-solid:#0c2336;
 --glass-chrome:rgba(7,25,43,.90);--glass-chrome-solid:#07192b;
 --glass-input:rgba(7,26,43,.90);--glass-input-solid:#071a2b;
 --glass-hover:rgba(149,215,255,.12);--glass-edge:#a9d9f459;
 --glass-field-edge:#a9d9f46b;--glass-focus:#b9e5ff;
 --glass-inset:inset 0 1px 0 #e3f7ff66,inset 1px 0 0 #8dd1ff33,inset -1px 0 0 #a1c9ee24,inset 0 -1px 0 #020c2259;
 --glass-shadow:var(--glass-inset),2px 3px 0 #020e1c80,0 14px 32px #020b1a66;
 --glass-floating-shadow:var(--glass-inset),0 20px 60px #01081080;
}
/* Header/footer artwork from atmosphere.css remains on its own image layers. */
html.loading-site body.loading-site #app>#header,
html.loading-site body.loading-site :is(#main-footer,.ff-footer) {
 background-color:#10272ce6;
 backdrop-filter:var(--glass-filter);-webkit-backdrop-filter:var(--glass-filter);
 box-shadow:inset 0 1px 0 #eaf8ff40,inset 0 -1px 0 #020e2440,0 7px 25px #020c142b;
}
html.loading-site body.warcraft-page.loading-site #app>#header,
html.loading-site body.warcraft-page.loading-site .ff-footer {background-color:#07192be6}
/* Main reading surfaces. No layout, padding or typography overrides here. */
html.loading-site body.loading-site #main-container :is(
 .poster-live-strip,.poster-feature-list,.poster-heading-radio .radio-panel,
 .knowledge-nav,.quest-card,.quest-catalog-card,.quest-overview,.profession-card,
 .item-database-card,.fish-catch-card,.guide-note,.guide-facts,
 .guide-number-cards>div,.guide-table-cards>div,.guide-rule,.guide-faq details,
 .guide-command-list>div,.fishing-skill,.quest-finder,.item-attributes>div,
 .download-panel,.help-panel,.enchant-panel,.enchant-window,.enchant-results,.enchant-settings,
 .project-doc-sidebar nav,.project-doc-contact,.project-doc-related,
 .gothic-card,.wr-wallet,.wr-invitation,.wr-media-library,.wr-analysis,.wr-metrics>div,
 .w-kpi,.w-panel,.w-table-wrap,.exchange-card,.exchange-panel,.exchange-market-chat,
 .exchange-lot-card,.exchange-filter-panel,.exchange-order-card,.exchange-promo-card,
 .exchange-purchase-card,.exchange-giveaway-card,.exchange-filters,.exchange-character-panel,
 .exchange-decision-panel,.exchange-offer-panel
) {
 background-color:var(--glass-surface);
 border-color:var(--glass-edge);border-radius:0;
 backdrop-filter:var(--glass-filter);-webkit-backdrop-filter:var(--glass-filter);
 box-shadow:var(--glass-shadow);
}
/* The home skin loads after shared CSS. This selector also beats its light and
   dark backgrounds without changing its original text colors or status grid. */
html.loading-site body.home-page.loading-site #main-container :is(.poster-feature-list,.poster-live-strip,.poster-heading-radio .radio-panel) {
 background-color:var(--glass-surface);box-shadow:var(--glass-shadow);
}
/* Fine reflections belong to plain panels; illustrated cards keep their art. */
html.loading-site body.loading-site #main-container :is(
 .poster-live-strip,.poster-feature-list,.poster-heading-radio .radio-panel,
 .knowledge-nav,.download-panel,.help-panel,.enchant-panel,.enchant-window,
 .guide-note,.guide-facts,.project-doc-contact,.project-doc-related
) {
 background-image:linear-gradient(125deg,var(--glass-reflection),transparent 36%,transparent 70%,var(--glass-reflection-end));
}
/* Layered artwork stays visible: only edges and depth change on these frames.
   Backdrop filtering on an ancestor of negative-z artwork can change painting
   order, so roadmap/knowledge art cards deliberately use unfiltered framing. */
html.loading-site body.loading-site :is(.knowledge-section-card,.feature-card,.epic-gallery,.roadmap-map,.roadmap-stage,.ff-team-card,.frozenfrog-media) {
 border-color:var(--glass-edge);border-radius:0;box-shadow:var(--glass-shadow);
}
html.loading-site body.loading-site .ff-team-card {backdrop-filter:var(--glass-filter);-webkit-backdrop-filter:var(--glass-filter)}
/* Dialogs and detached dropdowns need denser material over arbitrary content. */
html.loading-site body.loading-site :is(
 .download-dialog,.quest-map-dialog,.fish-loot-dialog,.cookie-dialog,.cookie-banner,
 .uc-content,.gothic-modal,.wr-review-modal,.exchange-modal,.exchange-filter-menu-panel,
 .radio-stations,.radio-quality-menu,.radio-history
),
html.loading-site body.loading-site #header .dropdown-menu {
 background-color:var(--glass-floating);border-color:var(--glass-edge);border-radius:0;
 backdrop-filter:var(--glass-floating-filter);-webkit-backdrop-filter:var(--glass-floating-filter);
 box-shadow:var(--glass-floating-shadow);
}
html.loading-site:is([data-ui-light],[data-site-theme="light"]) body.loading-site :is(
 .download-dialog,.quest-map-dialog,.fish-loot-dialog,.cookie-dialog,.cookie-banner,.uc-content,
 .radio-stations,.radio-quality-menu,.radio-history
),
html.loading-site:is([data-ui-light],[data-site-theme="light"]) body.loading-site #header .dropdown-menu,
html.loading-site body.warcraft-page.loading-site #header .dropdown-menu {background-color:var(--glass-floating)}
/* The illustrated world chooser always uses bright text. */
html.loading-site body.loading-site .world-choice {
 background-color:var(--glass-floating-solid);border-color:#c5dfdb80;border-radius:0;
 box-shadow:inset 0 1px 0 #f0faff66,0 30px 100px #01081099;
 backdrop-filter:var(--glass-floating-filter);-webkit-backdrop-filter:var(--glass-floating-filter);
}
html.loading-site body.loading-site .world-choice {
 --glass-floating-solid:#0b202c;--glass-chrome:#102a36eb;
}
html.loading-site body.loading-site :is(.world-choice-head,.world-choice-note) {background-color:var(--glass-chrome)}
html.loading-site body.loading-site :is(.download-dialog,.quest-map-dialog,.fish-loot-dialog,.cookie-dialog) :is(.dialog-header,.dialog-footer,.quest-map-header,.fish-loot-header) {
 background-color:var(--glass-chrome);box-shadow:inset 0 1px 0 var(--glass-reflection);
}
html.loading-site:is([data-ui-light],[data-site-theme="light"]) body.loading-site .download-dialog :is(.dialog-header,.dialog-footer) {background-color:var(--glass-chrome)}
html.loading-site body.loading-site .download-dialog .download-panel {background-color:transparent;backdrop-filter:none;-webkit-backdrop-filter:none;box-shadow:none}
html.loading-site[data-ui-light] body.loading-site .cookie-dialog :is(.cookie-policy-link,.cookie-expand,.cookie-close) {color:#704714}
html.loading-site[data-ui-light] body.loading-site .cookie-dialog .cookie-required-label {color:#365949}
html.loading-site[data-ui-light] body.loading-site .cookie-dialog .cookie-choice:not(.cookie-choice-primary) {color:#1b343b;border-color:#607573}
/* Cookie controls are also present on Warcraft; avoid paper-theme text on its
   cold floating surfaces when the shared preference is light. */
html.loading-site body.warcraft-page.loading-site .cookie-dialog {color:#dff5ff}
html.loading-site body.warcraft-page.loading-site .cookie-dialog :is(h2,h3,strong,summary) {color:#e4f6ff}
html.loading-site body.warcraft-page.loading-site .cookie-dialog :is(p,small,label,.cookie-required-label) {color:#bdd4e0}
html.loading-site body.warcraft-page.loading-site .cookie-dialog :is(.cookie-policy-link,.cookie-expand,.cookie-close) {color:#b9e5ff}
html.loading-site body.warcraft-page.loading-site .cookie-dialog .cookie-choice:not(.cookie-choice-primary) {color:#dff5ff;border-color:#a9d9f46b}
html.loading-site body.warcraft-page.loading-site .cookie-dialog :is(.cookie-choice-primary,.cookie-save) {background-color:#c4eaff;color:#102b3c}
/* Table fills and inset cells share the material without a blur per row. */
html.loading-site body.loading-site #main-container :is(.guide-table,.database-table,.item-source-table,.project-doc-table) {
 background-color:var(--glass-surface);border-color:var(--glass-edge);box-shadow:var(--glass-shadow);
}
html.loading-site body.loading-site #main-container :is(.guide-table,.database-table,.item-source-table,.project-doc-table) thead th {
 background-color:var(--glass-chrome);border-color:var(--glass-edge);
}
html.loading-site body.loading-site #main-container :is(.guide-table,.database-table,.item-source-table,.project-doc-table) tbody tr:hover {background-color:var(--glass-hover)}
/* Native controls keep their type, selected state and keyboard behavior. No
   checkbox/radio/range/file/submit styling and no new boxes around text nav. */
html.loading-site body.loading-site :is(
 input:not([type]),input[type="text"],input[type="email"],input[type="password"],
 input[type="search"],input[type="number"],input[type="url"],input[type="tel"],textarea,select,
 .database-search,.guide-search-input
) {
 background-color:var(--glass-input);border-color:var(--glass-field-edge);border-radius:0;
 box-shadow:inset 0 1px 0 #ffffff17,inset 0 2px 5px #020c181a;
}
html.loading-site:is([data-ui-light],[data-site-theme="light"]) body.loading-site :is(
 input:not([type]),input[type="text"],input[type="email"],input[type="password"],
 input[type="search"],input[type="number"],input[type="url"],input[type="tel"],textarea,select
) {background-color:var(--glass-input)}
html.loading-site body.loading-site :is(.guide-search-input,.database-search) input {background:transparent;box-shadow:none}
html.loading-site body.loading-site select :is(option,optgroup) {
 background-color:var(--glass-solid);color:var(--text-primary,var(--text));
}
html.loading-site body.loading-site :is(input,textarea,select):focus-visible {
 outline:2px solid var(--glass-focus);outline-offset:3px;
}
html.loading-site body.loading-site :is(.poster-button,.poster-stats-link,.btn-primary,.ff-button,.cookie-save,.legacy-paypal-copy-button,.wr-button) {
 background-image:linear-gradient(170deg,#ffffff40,transparent 48%,#071c2310);
 border-radius:0;box-shadow:var(--glass-control-shadow);
}
html.loading-site body.loading-site :is(.radio-play,.download-action,.ff-community,.btn-outline-yellow,.cookie-choice) {
 box-shadow:var(--glass-control-shadow);border-radius:0;
}
/* Cabinet palette is shared by dynamically loaded native modules. Only surface
   variables change: text/accent/status variables and native integration stay. */
html.loading-site[data-wellyssar-loading="illustrated"],
html.loading-site[data-wellyssar-loading="illustrated"]:is([data-ui-light],[data-theme="light"]) {
 --bg-card:var(--glass-surface)!important;
 --bg-sidebar:var(--glass-chrome)!important;
 --input-bg:var(--glass-input)!important;
 --cabinet-sidebar-bg:var(--glass-chrome)!important;
 --cabinet-header-bg:var(--glass-chrome)!important;
 --editable-block-shell-bg:var(--glass-surface)!important;
}
html.loading-site[data-wellyssar-loading="illustrated"]:not([data-ui-light]):not([data-theme="light"]) {
 --text-muted:#b2c8c2!important;
}
html.loading-site[data-wellyssar-loading="illustrated"] :is(.cabinet-header,.cabinet-sidebar,.cabinet-sidebar-editable,.cabinet-footer) {
 background-color:var(--glass-chrome)!important;border-color:var(--glass-edge)!important;
 backdrop-filter:var(--glass-filter);-webkit-backdrop-filter:var(--glass-filter);box-shadow:var(--glass-shadow)!important;
}
html.loading-site[data-wellyssar-loading="illustrated"] :is(.cabinet-sidebar,.cabinet-sidebar-editable) [data-editable-surface="true"] {background:transparent!important}
html.loading-site[data-wellyssar-loading="illustrated"] :is(
 .gothic-card,.gothic-modal,.gothic-sidebar-profile,.legacy-donation-notice,
 [class*="_summaryCard_"],[class*="_announcementBlock_"],[class*="_accountCard_"],
 [class*="_referralPanel_"],[class*="_bonusCodeHero_"],[class*="_forumCategoryCard_"],
 [class*="_sidebarCard_"],[class*="_forumOverviewCard_"],[class*="_sectionCard_"],
 [class*="_postCard_"],[class*="_chatCard_"],[class*="_shellCard_"],[class*="_formCard_"],
 [class*="_applicationCard_"],[class*="_newsCard_"],[class*="_translationCard_"],
 [class*="_donateHero_"],[class*="_donateStat_"],[class*="_donateBonusBox_"],
 [class*="_bonusPanel_c04bt_"],[class*="_bonusStat_c04bt_"],
 .wr-wallet,.wr-invitation,.wr-media-library,.wr-analysis,.wr-metrics>div,.w-kpi,.w-panel,.w-table-wrap,
 .exchange-card,.exchange-panel,.exchange-market-chat,.exchange-lot-card,.exchange-filter-panel,
 .exchange-order-card,.exchange-promo-card,.exchange-purchase-card,.exchange-giveaway-card,
 .exchange-filters,.exchange-character-panel,.exchange-decision-panel,.exchange-offer-panel
) {
 background-color:var(--glass-surface)!important;border-color:var(--glass-edge)!important;border-radius:0;
 backdrop-filter:var(--glass-filter);-webkit-backdrop-filter:var(--glass-filter);box-shadow:var(--glass-shadow)!important;
}
html.loading-site[data-wellyssar-loading="illustrated"] #root :is([class*="_card_"],[class*="_panel_"]):not([class*="_card_c04bt_"]) {
 background-color:var(--glass-surface);border-color:var(--glass-edge);box-shadow:var(--glass-shadow);
}
html.loading-site[data-wellyssar-loading="illustrated"] body.loading-site :is(
 .gothic-modal,.wr-review-modal,.exchange-modal,.exchange-filter-menu-panel,
 [class*="_modal_"],[class*="_modalContent_"],[class*="_dialog_"],[class*="_mobileSearchDialog_"],
 [class*="_profileDropdown_"],[class*="_dropdown_"],[class*="_dropdownList_"],
 [class*="_threadActionsDropdown_"],[class*="_datePickerPopover_"],[class*="_controlPopover_"],
 [class*="_notificationSoundPanel_"],[class*="_tooltip_"]
) {
 background-color:var(--glass-floating)!important;border-color:var(--glass-edge)!important;border-radius:0;
 backdrop-filter:var(--glass-floating-filter);-webkit-backdrop-filter:var(--glass-floating-filter);box-shadow:var(--glass-floating-shadow)!important;
}
html.loading-site[data-wellyssar-loading="illustrated"] :is(
 [class*="_tableWrap_"],[class*="_characterTableWrap_"],[class*="_resultTableWrap_"],[class*="_rulesTableWrap_"]
) {background-color:var(--glass-surface);border-color:var(--glass-edge);box-shadow:var(--glass-shadow)}
html.loading-site[data-wellyssar-loading="illustrated"] :is(
 [class*="_chatHeader_"],[class*="_sidebarHeader_"],[class*="_composer_"],[class*="_sidebarSearchWrap_"],
 [class*="_categoryHeader_"],[class*="_sectionRow_"]
) {border-color:var(--glass-edge);box-shadow:inset 0 1px 0 var(--glass-reflection)}
html.loading-site[data-wellyssar-loading="illustrated"] :is(
 input:not([type]),input[type="text"],input[type="email"],input[type="password"],
 input[type="search"],input[type="number"],input[type="url"],input[type="tel"],textarea,select
) {background-color:var(--glass-input);border-color:var(--glass-field-edge)}
html.loading-site[data-wellyssar-loading="illustrated"] .cabinet-header-button:not([aria-expanded="true"]) {box-shadow:var(--glass-control-shadow)!important}
/* Repeated child surfaces inherit translucent fills, but do not each allocate
   another backdrop layer. This also preserves isolated artwork in child cards. */
html.loading-site body.loading-site :is(.wr-app,.w-stats,.exchange-app) :is(
 .wr-metrics>div,.w-kpi,.exchange-lot-card
),
html.loading-site[data-wellyssar-loading="illustrated"] :is(
 [class*="_summaryCard_"],[class*="_accountCard_"],[class*="_sectionCard_"],[class*="_postCard_"],
 .gothic-card,.gothic-modal,[class*="_modalContent_"],[class*="_formCard_"]
) :is(.gothic-card,[class*="_card_"],[class*="_summaryCard_"],[class*="_accountCard_"],[class*="_sectionCard_"],[class*="_postCard_"],.w-kpi,.exchange-lot-card) {
 backdrop-filter:none;-webkit-backdrop-filter:none;
}
/**** Accessibility/performance: one set of variables controls every surface. ****/
@media(max-width:640px) {
 html.loading-site {--glass-filter:blur(6px) saturate(1.08);--glass-floating-filter:blur(9px) saturate(1.08)}
}
@supports not ((backdrop-filter:blur(1px)) or (-webkit-backdrop-filter:blur(1px))) {
 html.loading-site,html.loading-site body.loading-site {
  --glass-surface:var(--glass-solid)!important;--glass-floating:var(--glass-floating-solid)!important;
  --glass-chrome:var(--glass-chrome-solid)!important;--glass-input:var(--glass-input-solid)!important;
  --glass-filter:none!important;--glass-floating-filter:none!important;
 }
 html.loading-site body.loading-site #app>#header,
 html.loading-site body.loading-site :is(#main-footer,.ff-footer) {background-color:#10272c}
 html.loading-site body.warcraft-page.loading-site #app>#header,
 html.loading-site body.warcraft-page.loading-site .ff-footer {background-color:#07192b}
}
@media(prefers-reduced-transparency:reduce) {
 html.loading-site,html.loading-site body.loading-site {
  --glass-surface:var(--glass-solid)!important;--glass-floating:var(--glass-floating-solid)!important;
  --glass-chrome:var(--glass-chrome-solid)!important;--glass-input:var(--glass-input-solid)!important;
  --glass-filter:none!important;--glass-floating-filter:none!important;
 }
 html.loading-site body.loading-site #app>#header,
 html.loading-site body.loading-site :is(#main-footer,.ff-footer) {background-color:#10272c}
 html.loading-site body.warcraft-page.loading-site #app>#header,
 html.loading-site body.warcraft-page.loading-site .ff-footer {background-color:#07192b}
}
