:root,
:root[data-site-theme="dark"]{
  --theme-bg:#0b1320;
  --theme-card:rgba(17,28,45,0.96);
  --theme-card-soft:rgba(10,20,35,0.95);
  --theme-surface:rgba(17,34,56,0.88);
  --theme-line:rgba(230,195,106,0.22);
  --theme-gold:#e6c36a;
  --theme-gold-soft:#f5deb0;
  --theme-accent:#6bb7d6;
  --theme-text:#e7eef8;
  --theme-muted:#a9b1bc;
  --theme-heading:#fff2c8;
  --theme-input-bg:#101d2f;
  --theme-input-text:#ffffff;
  --theme-header-top:rgba(8,21,43,0.90);
  --theme-header-bottom:rgba(5,13,31,0.96);
  --theme-page-overlay:rgba(11,19,32,0.30);
  --theme-shadow:0 18px 40px rgba(0,0,0,0.45);
  --theme-on-gold:#181006;
  --theme-on-ink:#fff4cd;
  --theme-positive:#c9f5a0;
  --theme-negative:#ff9a78;

  --dark-bg:var(--theme-bg);
  --panel-bg:var(--theme-card);
  --panel-bg-alt:var(--theme-card-soft);
  --border-subtle:var(--theme-line);
  --border-gold:var(--theme-line);
  --gold:var(--theme-gold);
  --gold-soft:var(--theme-gold-soft);
  --gold-strong:var(--theme-gold);
  --gold-hover:#ffd700;
  --gold-dim:#c9a55a;
  --text-light:var(--theme-text);
  --text-muted:var(--theme-muted);
  --text-bright:var(--theme-heading);
  --panel:var(--theme-card);
  --panel-soft:var(--theme-card-soft);
  --panel-deep:var(--theme-card-soft);
  --panel-bright:var(--theme-surface);
  --panel-line:var(--theme-line);
  --line:var(--theme-line);
  --border:var(--theme-line);
  --shadow:var(--theme-shadow);
  --bg:var(--theme-bg);
  --panel-2:var(--theme-surface);
  --panel-bg-strong:var(--theme-card);
  --panel-alt:var(--theme-surface);
  --gold-2:var(--theme-gold);
  --gold-border:var(--theme-line);
  --text:var(--theme-text);
  --muted:var(--theme-muted);
  --danger:var(--theme-negative);
  --ok:var(--theme-positive);
  --teal:var(--theme-accent);
  --teal-dark:color-mix(in srgb, var(--theme-accent) 45%, #102033);
  --ice:var(--theme-accent);
  --wine:color-mix(in srgb, var(--theme-gold) 40%, #7b2b31);
  --magic:color-mix(in srgb, var(--theme-accent) 45%, #7c54a1);
  --petrol:color-mix(in srgb, var(--theme-accent) 40%, #1c4f62);
  --green-soft:var(--theme-positive);
  --duplicate:var(--theme-accent);
  --shadow-card:var(--theme-shadow);
  --shadow-card-hover:var(--theme-shadow);
  --panel-strong:var(--theme-card-soft);
  --txt:var(--theme-text);
  --line-strong:var(--theme-line);
  --text-bright:var(--theme-heading);
  --db-bg-page:var(--theme-bg);
  --db-bg-widget:var(--theme-card);
  --db-bg-input:var(--theme-input-bg);
  --db-bg-hover:var(--theme-surface);
  --db-bg-active:var(--theme-surface);
  --db-text:var(--theme-text);
  --db-text-bright:var(--theme-heading);
  --db-text-muted:var(--theme-muted);
  --db-border:var(--theme-line);
  --db-border-soft:var(--theme-line);
  --db-accent:var(--theme-gold);
  --db-accent-strong:color-mix(in srgb, var(--theme-gold) 72%, #7c5521);
  --db-gold:var(--theme-gold);
  --db-blue:var(--theme-accent);
  --db-radius:10px;
  --db-radius-sm:6px;
  --db-radius-chip:4px;
}

:root[data-site-theme="light"]{
  --theme-bg:#f6f1e6;
  --theme-card:rgba(255,252,244,0.96);
  --theme-card-soft:rgba(248,241,226,0.94);
  --theme-surface:rgba(255,248,232,0.92);
  --theme-line:rgba(141,99,42,0.28);
  --theme-gold:#b47b28;
  --theme-gold-soft:#6f4f1e;
  --theme-accent:#2f728a;
  --theme-text:#263246;
  --theme-muted:#667084;
  --theme-heading:#352616;
  --theme-input-bg:#fffaf0;
  --theme-input-text:#263246;
  --theme-header-top:rgba(255,248,232,0.93);
  --theme-header-bottom:rgba(236,224,199,0.97);
  --theme-page-overlay:rgba(255,248,232,0.46);
  --theme-shadow:0 18px 34px rgba(77,55,24,0.16);
  --theme-on-gold:#2f2313;
  --theme-on-ink:#fff8ef;
  --theme-positive:#3f7a2f;
  --theme-negative:#b04c36;
  --gold-hover:#8f5c16;
  --gold-dim:#8b6a34;
  --bg:var(--theme-bg);
  --panel-2:var(--theme-surface);
  --panel-bg-strong:var(--theme-card);
  --panel-alt:var(--theme-surface);
  --gold-2:var(--theme-gold);
  --gold-border:var(--theme-line);
  --text:var(--theme-text);
  --muted:var(--theme-muted);
  --danger:var(--theme-negative);
  --ok:var(--theme-positive);
  --teal:var(--theme-accent);
  --teal-dark:color-mix(in srgb, var(--theme-accent) 45%, #ecdec4);
  --ice:var(--theme-accent);
  --wine:color-mix(in srgb, var(--theme-gold) 35%, #9d4a43);
  --magic:color-mix(in srgb, var(--theme-accent) 40%, #8d64ad);
  --petrol:color-mix(in srgb, var(--theme-accent) 44%, #456b78);
  --green-soft:var(--theme-positive);
  --duplicate:var(--theme-accent);
  --shadow-card:var(--theme-shadow);
  --shadow-card-hover:var(--theme-shadow);
  --panel-strong:var(--theme-card-soft);
  --txt:var(--theme-text);
  --line-strong:var(--theme-line);
  --text-bright:var(--theme-heading);
  --db-bg-page:var(--theme-bg);
  --db-bg-widget:var(--theme-card);
  --db-bg-input:var(--theme-input-bg);
  --db-bg-hover:var(--theme-surface);
  --db-bg-active:var(--theme-surface);
  --db-text:var(--theme-text);
  --db-text-bright:var(--theme-heading);
  --db-text-muted:var(--theme-muted);
  --db-border:var(--theme-line);
  --db-border-soft:var(--theme-line);
  --db-accent:var(--theme-gold);
  --db-accent-strong:color-mix(in srgb, var(--theme-gold) 68%, #885824);
  --db-gold:var(--theme-gold);
  --db-blue:var(--theme-accent);
  --db-radius:10px;
  --db-radius-sm:6px;
  --db-radius-chip:4px;
}

:root[data-site-theme="red"]{
  --theme-bg:#170d12;
  --theme-card:rgba(42,17,24,0.96);
  --theme-card-soft:rgba(31,13,18,0.95);
  --theme-surface:rgba(56,20,28,0.90);
  --theme-line:rgba(255,178,98,0.24);
  --theme-gold:#ffb25f;
  --theme-gold-soft:#ffd5a4;
  --theme-accent:#e64b3f;
  --theme-text:#fff0e5;
  --theme-muted:#d1a69d;
  --theme-heading:#ffe0b8;
  --theme-input-bg:#241018;
  --theme-input-text:#fff7ef;
  --theme-header-top:rgba(52,16,24,0.92);
  --theme-header-bottom:rgba(23,8,13,0.97);
  --theme-page-overlay:rgba(49,8,13,0.34);
  --theme-shadow:0 18px 40px rgba(20,0,4,0.52);
  --theme-on-gold:#2f140f;
  --theme-on-ink:#fff3e8;
  --theme-positive:#cce888;
  --theme-negative:#ffb08f;
  --gold-hover:#ffd36d;
  --gold-dim:#d0823b;
  --bg:var(--theme-bg);
  --panel-2:var(--theme-surface);
  --panel-bg-strong:var(--theme-card);
  --panel-alt:var(--theme-surface);
  --gold-2:var(--theme-gold);
  --gold-border:var(--theme-line);
  --text:var(--theme-text);
  --muted:var(--theme-muted);
  --danger:var(--theme-negative);
  --ok:var(--theme-positive);
  --teal:var(--theme-accent);
  --teal-dark:color-mix(in srgb, var(--theme-accent) 40%, #251118);
  --ice:color-mix(in srgb, var(--theme-accent) 45%, #8bc6de);
  --wine:var(--theme-accent);
  --magic:color-mix(in srgb, var(--theme-accent) 42%, #8c4c74);
  --petrol:color-mix(in srgb, var(--theme-accent) 38%, #6f3734);
  --green-soft:var(--theme-positive);
  --duplicate:var(--theme-accent);
  --shadow-card:var(--theme-shadow);
  --shadow-card-hover:var(--theme-shadow);
  --panel-strong:var(--theme-card-soft);
  --txt:var(--theme-text);
  --line-strong:var(--theme-line);
  --text-bright:var(--theme-heading);
  --db-bg-page:var(--theme-bg);
  --db-bg-widget:var(--theme-card);
  --db-bg-input:var(--theme-input-bg);
  --db-bg-hover:var(--theme-surface);
  --db-bg-active:var(--theme-surface);
  --db-text:var(--theme-text);
  --db-text-bright:var(--theme-heading);
  --db-text-muted:var(--theme-muted);
  --db-border:var(--theme-line);
  --db-border-soft:var(--theme-line);
  --db-accent:var(--theme-gold);
  --db-accent-strong:color-mix(in srgb, var(--theme-gold) 72%, #8f3a24);
  --db-gold:var(--theme-gold);
  --db-blue:var(--theme-accent);
  --db-radius:10px;
  --db-radius-sm:6px;
  --db-radius-chip:4px;
}

:root[data-site-theme="retro"]{
  --theme-bg:#d8c39a;
  --theme-card:rgba(245,226,184,0.96);
  --theme-card-soft:rgba(226,197,139,0.94);
  --theme-surface:rgba(238,214,162,0.92);
  --theme-line:rgba(91,60,24,0.30);
  --theme-gold:#8d5d22;
  --theme-gold-soft:#4b3217;
  --theme-accent:#6f7b33;
  --theme-text:#342519;
  --theme-muted:#715c3c;
  --theme-heading:#2c1e12;
  --theme-input-bg:#fff0c9;
  --theme-input-text:#2e2116;
  --theme-header-top:rgba(93,61,27,0.92);
  --theme-header-bottom:rgba(49,31,17,0.96);
  --theme-page-overlay:rgba(255,237,190,0.38);
  --theme-shadow:0 18px 34px rgba(79,50,21,0.22);
  --theme-on-gold:#2f2114;
  --theme-on-ink:#fff4de;
  --theme-positive:#527d2c;
  --theme-negative:#ad5638;
  --gold-hover:#5e3b14;
  --gold-dim:#6d522d;
  --bg:var(--theme-bg);
  --panel-2:var(--theme-surface);
  --panel-bg-strong:var(--theme-card);
  --panel-alt:var(--theme-surface);
  --gold-2:var(--theme-gold);
  --gold-border:var(--theme-line);
  --text:var(--theme-text);
  --muted:var(--theme-muted);
  --danger:var(--theme-negative);
  --ok:var(--theme-positive);
  --teal:var(--theme-accent);
  --teal-dark:color-mix(in srgb, var(--theme-accent) 42%, #4a3a22);
  --ice:color-mix(in srgb, var(--theme-accent) 40%, #7d8b45);
  --wine:color-mix(in srgb, var(--theme-gold) 48%, #7b4128);
  --magic:color-mix(in srgb, var(--theme-accent) 38%, #8a6b39);
  --petrol:color-mix(in srgb, var(--theme-accent) 42%, #6e6b32);
  --green-soft:var(--theme-positive);
  --duplicate:var(--theme-accent);
  --shadow-card:var(--theme-shadow);
  --shadow-card-hover:var(--theme-shadow);
  --panel-strong:var(--theme-card-soft);
  --txt:var(--theme-text);
  --line-strong:var(--theme-line);
  --text-bright:var(--theme-heading);
  --db-bg-page:var(--theme-bg);
  --db-bg-widget:var(--theme-card);
  --db-bg-input:var(--theme-input-bg);
  --db-bg-hover:var(--theme-surface);
  --db-bg-active:var(--theme-surface);
  --db-text:var(--theme-text);
  --db-text-bright:var(--theme-heading);
  --db-text-muted:var(--theme-muted);
  --db-border:var(--theme-line);
  --db-border-soft:var(--theme-line);
  --db-accent:var(--theme-gold);
  --db-accent-strong:color-mix(in srgb, var(--theme-gold) 68%, #6e4b20);
  --db-gold:var(--theme-gold);
  --db-blue:var(--theme-accent);
  --db-radius:10px;
  --db-radius-sm:6px;
  --db-radius-chip:4px;
}

body{
  background:var(--theme-bg) url('../../textura.png') repeat !important;
  background-size:1024px 1024px !important;
  color:var(--theme-text);
  transition:background-color .22s ease, color .22s ease;
}

body::after{
  background:var(--theme-page-overlay) !important;
}

.page-shell{
  width:min(1180px, calc(100% - 32px));
}

.breadcrumbs{
  color:var(--theme-muted);
  font-size:13px;
}

.breadcrumbs a{
  color:var(--theme-gold-soft);
}

.section-hero,
.hero,
.class-list-panel,
.class-detail-panel,
.detail-card,
.toolbar,
.status-panel,
.resource-toolbar,
.equipment-toolbar,
.monster-toolbar,
.consumable-toolbar{
  border:1px solid var(--theme-line) !important;
  border-radius:8px !important;
  background:var(--theme-card) !important;
  box-shadow:var(--theme-shadow);
}

.section-hero,
.hero{
  background:linear-gradient(135deg, var(--theme-card), var(--theme-card-soft)) !important;
}

.atlas-hero::before,
.dungeon-hero::before{
  background:linear-gradient(90deg, var(--theme-card), transparent 55%, var(--theme-card-soft)) !important;
  opacity:.76;
}

.hero__overlay{
  background:linear-gradient(90deg, rgba(0,0,0,0.52), rgba(0,0,0,0.20), rgba(0,0,0,0.58)) !important;
}

:root[data-site-theme="light"] .hero__overlay,
:root[data-site-theme="retro"] .hero__overlay{
  background:linear-gradient(90deg, rgba(32,22,12,0.42), rgba(255,245,218,0.16), rgba(32,22,12,0.42)) !important;
}

.hero-content h1,
.atlas-hero .hero-content h1,
.dungeon-hero .hero-content h1,
.section-title,
h1,h2,h3,h4{
  color:var(--theme-heading);
}

.news-body h3,
.guide-text h4,
.almanax-header h3,
.status-panel h2,
.equipment-card h2,
.equipment-header-row h2,
.featured-equipment-header h2,
.set-head h2,
.set-featured-head h2,
.featured-title,
.featured-panel h2,
.featured-panel h3,
.equipment-section h3,
.featured-effects-panel h3,
.featured-side-panel h3,
.featured-used-panel h3,
.featured-inline-description h3,
.summary-panel h2,
.craft-panel h2,
.panel-head h2,
.detail-head h2,
.spells-head,
.spell-detail-top h4,
.effects-grid h5,
.other-section h5,
.dungeon-card h3,
.feature-card h3,
.route-card h3,
.room-card h3,
.monster-card h3,
.loot-card h3,
.achievement-card h3{
  color:var(--theme-heading) !important;
}

.copy,
.description,
.spell-description,
.spell-line,
.hero-content p,
.atlas-hero .hero-content p,
.dungeon-hero .hero-content p,
.hero-content p,
.news-summary,
.almanax-date,
.almanax-bonus p,
.news-meta,
.guide-text p,
.piece-meta,
.set-meta-row,
.muted,
.featured-description,
.summary-empty,
.recipe-empty,
.recipe-note,
.dungeon-meta,
.dungeon-meta span,
.feature-card p,
.room-card p,
.monster-card p,
.loot-card p,
.achievement-card p{
  color:var(--theme-muted) !important;
}

.section-categories,
.main-container{
  color:var(--theme-text);
}

.news-card,
.almanax-card{
  border:1px solid var(--theme-line) !important;
  background:var(--theme-card) !important;
  box-shadow:var(--theme-shadow);
}

.almanax-offering,
.almanax-bonus{
  border-color:var(--theme-line) !important;
  background:var(--theme-card-soft) !important;
}

.eyebrow,
.almanax-label,
.almanax-bonus-label,
.news-link,
.almanax-meridia-name,
.almanax-link,
.bonus-title,
.search-control span,
.select-control span{
  color:var(--theme-gold) !important;
}

.almanax-offering-label,
.almanax-offering-label strong,
.almanax-value,
.bonus-lines,
.piece-effects,
.piece-modal-effects,
.piece-modal-recipe-list,
.featured-effects,
.summary-list,
.recipe-list,
.craft-list{
  color:var(--theme-text) !important;
}

.class-item,
.spell-detail-box,
.effects-grid li,
.other-section table,
.dungeon-meta b,
.characteristics-grid span,
.characteristics-grid b,
.equipment-meta,
.equipment-meta strong,
.equipment-section p,
.effect-inline-list li,
.featured-effects-panel .effect-inline-list li,
.piece-effects li,
.bonus-lines li,
.featured-side-note,
.featured-side-panel section > p,
.featured-used-panel p,
.featured-inline-description p,
.featured-recipe-list li,
.ingredient-inline-link,
.equipment-section p a,
.featured-recipe-list .ingredient-inline-link,
.ingredient-mini-text,
.ingredient-meta p,
.ingredient-meta strong,
.ingredient-modal-body,
.recipe-job,
.featured-recipe-job,
.featured-meta-row span,
.featured-meta-row strong,
.source-strip a.workbench-link,
.category-strip strong{
  color:var(--theme-text) !important;
}

.piece-name,
.piece-name:hover,
.piece-name:visited,
.piece-open-btn,
.piece-modal-card p,
.piece-modal-recipe p,
.piece-modal-recipe-list li,
.piece-modal-recipe-list li strong,
.bonus-select,
.bonus-select option,
.summary-row .meta strong,
.summary-row .meta small,
.summary-row .need,
.summary-row .done,
.summary-subrecipe li,
.summary-subrecipe li small,
.subrecipe-card header strong,
.subrecipe-card header span,
.item-head .meta strong,
.item-head .meta small,
.item-progress small,
.item-body li,
.item-body a,
.drop-list li,
.drop-list a,
.region-card p,
.region-header p,
.summary-panel p,
.stat-list dd,
.hero-copy,
.step-card p,
.step-source-card strong,
.step-source-card span,
.next-card-info strong,
.achievement-copy strong,
.reward-card,
.reward-card a,
.dofus-step .mission-check-main strong,
.dofus-step-details summary,
.cat-top-name,
.cat-sub-name,
.cat-count,
.cat-stats-badge,
.dofus-step-tags span,
.rew-badge{
  color:var(--theme-text) !important;
}

.spell-line.muted,
.muted,
.equipment-section .muted,
.muted-inline,
.ingredient-note,
.stat-list dt,
.logros-empty,
.step-card .muted,
.reward-card small,
.next-card-info small,
.achievement-copy small,
.dofus-step .mission-check-main small,
.step-source-card .muted{
  color:var(--theme-muted) !important;
}

.almanax-link--primary,
.badge,
.guide-badge,
.class-item,
.spell-level-btn,
.card-link-btn,
.link-btn,
.tag,
.pagination-bar button,
.page-ellipsis{
  border-color:var(--theme-line) !important;
  background:var(--theme-card-soft) !important;
  color:var(--theme-gold-soft) !important;
}

.news-category.info,
.news-category.event,
.news-category.shop{
  border-color:var(--theme-line) !important;
  color:#ffffff !important;
}

:root[data-site-theme="light"] .news-category.info,
:root[data-site-theme="retro"] .news-category.info{
  background:linear-gradient(135deg, #73529b, #4d3475) !important;
}

:root[data-site-theme="light"] .news-category.event,
:root[data-site-theme="retro"] .news-category.event{
  background:linear-gradient(135deg, #2d7b54, #1f553c) !important;
}

:root[data-site-theme="light"] .news-category.shop,
:root[data-site-theme="retro"] .news-category.shop{
  background:linear-gradient(135deg, #a35d2f, #7a421e) !important;
}

.almanax-icon-wrap,
.guide-icon,
.item-icon-wrap,
.piece-icon-wrap,
.featured-image-frame,
.recipe-icon,
.summary-icon{
  border-color:var(--theme-line) !important;
  background:var(--theme-card-soft) !important;
}

#class-search,
.search-control input,
.select-control select{
  border-color:var(--theme-line) !important;
  background:var(--theme-input-bg) !important;
  color:var(--theme-input-text) !important;
}

.source-strip span,
.category-strip button,
.level-badge,
.badge{
  border:1px solid var(--theme-line) !important;
  border-radius:6px !important;
  background:var(--theme-card-soft) !important;
  color:var(--theme-gold-soft) !important;
  font-weight:800 !important;
}

.search-control span,
.select-control span{
  color:var(--theme-gold-soft) !important;
  font-weight:800 !important;
  letter-spacing:.08em !important;
  text-transform:uppercase;
}

input[type="text"],
input[type="search"],
input[type="number"],
textarea,
select{
  border:1px solid var(--theme-line) !important;
  border-radius:6px !important;
  background:var(--theme-input-bg) !important;
  color:var(--theme-input-text) !important;
}

option{
  background:var(--theme-input-bg) !important;
  color:var(--theme-input-text) !important;
}

input::placeholder,
textarea::placeholder{
  color:var(--theme-muted) !important;
}

.set-card,
.equipment-card,
.monster-card,
.resource-card,
.consumable-card,
.pet-card,
.set-card-featured,
.dungeon-card,
.feature-card,
.route-card,
.room-card,
.loot-card,
.achievement-card,
.class-list-panel,
.class-detail-panel,
.detail-card,
.spell-detail-box,
.featured-portrait-panel,
.featured-effects-panel,
.featured-side-panel section,
.featured-used-panel,
.featured-inline-description,
.recipe-card,
.summary-card,
.craft-card,
.workbench-card,
.selected-item-card,
.result-card,
.controls-panel,
.summary-group,
.item-card,
.subrecipe-card,
.ingredient-modal-card,
.panel,
.region-card,
.chain-card,
.priority-panel,
.rewards-card,
.step-card,
.reward-card,
.next-card,
.logro-next-card,
.dofus-step,
.step-source-card,
.step-capture-card,
.achievement-row,
.cat-sidebar{
  border:1px solid var(--theme-line) !important;
  border-radius:8px !important;
  background:var(--theme-card) !important;
  color:var(--theme-text);
}

.set-head,
.set-featured-head,
.set-panel,
.piece-card,
.equipment-header-row,
.featured-equipment-header,
.spells-head,
.spell-strip,
.effects-grid h5,
.other-section h5,
.equipment-section h3,
.ingredient-modal-head,
.featured-section-title,
.summary-entry,
.recipe-row,
.craft-row,
.item-head,
.summary-subrecipe summary,
.subrecipe-card header,
.summary-panel h3,
.rewards-card h3,
.priority-panel h2,
.step-card h3,
.piece-modal-recipe h4,
.dofus-step-details summary,
.achievement-head,
.achievement-detail,
.cat-top,
.cat-sub{
  border-color:var(--theme-line) !important;
  background:var(--theme-card-soft) !important;
  color:var(--theme-text) !important;
}

.spell-strip,
.effects-grid li,
.other-section tr,
.equipment-section,
.equipment-icon,
.featured-portrait-frame,
.ingredient-modal-card,
.ingredient-modal-body,
.ingredient-modal-head{
  border-color:var(--theme-line) !important;
  background:var(--theme-card-soft) !important;
}

.class-item.active,
.spell-chip.active,
.spell-level-btn.active{
  border-color:var(--theme-gold) !important;
  outline-color:var(--theme-gold) !important;
  background:var(--theme-surface) !important;
  color:var(--theme-heading) !important;
}

.spell-chip,
.spell-detail-top img{
  border-color:var(--theme-line) !important;
  background:var(--theme-card-soft) !important;
}

.class-thumb{
  border-color:var(--theme-line) !important;
  background-color:var(--theme-card-soft) !important;
}

.btn-gold,
.btn.btn-gold,
a.btn-gold,
button.btn-gold,
.btn-primary,
a.btn-primary,
button.btn-primary,
.primary-action{
  color:var(--theme-on-gold) !important;
  text-shadow:none !important;
}

.btn-secondary,
a.btn-secondary,
button.btn-secondary{
  color:var(--theme-heading) !important;
  border-color:var(--theme-line) !important;
  background:linear-gradient(180deg, var(--theme-surface), var(--theme-card-soft)) !important;
}

.dungeon-card .link-btn,
.monster-full-btn,
.room-shot button,
.boss-spell-tabs button,
.boss-tactical-direction button,
.boss-tactical-mode button,
.btn-blue,
.set-hammer-btn,
.workbench-add-btn,
.ingredient-open,
.search-box button,
.item-head button,
.coords-badge,
.combat-badge,
.step-link-chip,
.guide-chip,
.secondary-action{
  color:var(--theme-on-ink) !important;
}

.dungeon-card .link-btn,
.monster-full-btn,
.room-shot button,
.set-hammer-btn,
.workbench-add-btn,
.ingredient-open,
.search-box button,
.item-head button,
.step-link-chip,
.guide-chip,
.secondary-action{
  border-color:var(--theme-line) !important;
  background:linear-gradient(180deg, var(--theme-surface), var(--theme-card-soft)) !important;
}

.summary-subrecipe,
.item-progress-track,
.coords-badge,
.combat-badge,
.cat-search-wrap,
.slot-search-bar,
.slot-dropdown,
.spell-info,
.result-block,
.item-img-wrap,
.rune-icon,
.resource-panel,
.resource-panel-floating,
.resource-item,
.resource-group-title,
.map-info-card,
.map-info-resource,
.map-info-tabs button,
.picker-item,
.progress-panel > div:not(.progress-track),
.progress-track,
.progress-hero,
.hero-panel,
.hero-copy,
.contact-card,
.info-card,
.format-card,
.comp-slot,
.calc-panel,
.panel-classes,
.panel-preview,
.panel-custom,
.slot-btn{
  border-color:var(--theme-line) !important;
  background:var(--theme-card-soft) !important;
}

.controls-panel label,
.summary-card span,
.other-section td:last-child{
  color:var(--theme-muted) !important;
}

.controls-panel label span,
.summary-card b,
.other-section td:first-child{
  color:var(--theme-heading) !important;
}

.hero-title,
.page-title,
.hero-summary,
.article-content p,
.article-content li,
.article-content h2,
.meta-pill,
.article-tag,
.side-panel p,
.quick-list a,
.related-card,
.related-card strong,
.related-card span,
.highlight-box,
.page-subtitle,
.news-hero .hero-content,
.hero-copy,
.contact-card p,
.info-card p,
.format-card pre,
.format-card code,
.spell-desc,
.spell-base-row,
.item-link,
.item-effects li,
.dd-sub,
.runes-hero p,
.rune-level,
.rune-row .k,
.metric-label,
.hero-subtitle,
.resource-item span,
.resource-list-meta,
.resource-preview small,
.map-info-copy,
.map-info-copy p,
.map-info-copy span,
.map-info-head p{
  color:var(--theme-text) !important;
}

.hero-title,
.page-title,
.news-hero .hero-content h1,
.article-hero h1,
.hero-copy h1,
.article-content h2,
.related-card strong,
.rune-name,
.spell-name,
.metric-value,
.item-name{
  color:var(--theme-heading) !important;
}

.meta-pill,
.article-tag,
.contact-label,
.format-kicker,
.slot-label,
.rune-row .v,
.resource-item strong,
.resource-preview strong,
.map-info-head h3,
.map-info-tabs button.is-active{
  color:var(--theme-gold-soft) !important;
}

.article-content,
.side-panel,
.related-card,
.quick-list a,
.featured-card{
  border-color:var(--theme-line) !important;
  background:var(--theme-card) !important;
}

.highlight-box{
  border-left-color:var(--theme-gold) !important;
  background:color-mix(in srgb, var(--theme-gold) 12%, transparent) !important;
}

.runes-toolbar input,
.runes-toolbar select,
.slot-input,
#class-search,
.field-group input[type=number],
.field-group select,
.slot-search-bar,
.cat-search-wrap input{
  border-color:var(--theme-line) !important;
  background:var(--theme-input-bg) !important;
  color:var(--theme-input-text) !important;
}

.rune-card,
.slot-card,
.dd-item,
.comp-table th,
.comp-table td,
.resource-tag,
.resource-preview,
.map-info-tabs button,
.map-info-resource,
.resource-list-icon,
.picker-item{
  border-color:var(--theme-line) !important;
}

.rune-card,
.slot-card,
.resource-tag,
.resource-preview,
.resource-list-icon,
.dd-item:hover,
.comp-table th{
  background:var(--theme-card) !important;
  color:var(--theme-text) !important;
}

.atlas-hero{
  background:
    linear-gradient(90deg, rgba(5, 13, 27, 0.82), rgba(7, 16, 31, 0.44) 42%, rgba(7, 16, 31, 0.08)),
    url("../img/mazmorras/atlas-hero.png") center/cover !important;
}

.dungeon-hero{
  background:
    linear-gradient(90deg, rgba(5, 13, 27, 0.72), rgba(7, 16, 31, 0.42) 54%, rgba(7, 16, 31, 0.16)),
    var(--hero-image) center/cover !important;
}

.news-hero .hero-content h1,
.page-title,
.article-hero h1,
.hero-copy h1{
  color:var(--theme-heading) !important;
  text-shadow:0 2px 12px rgba(0,0,0,0.42) !important;
}

.news-hero .hero-content p,
.page-subtitle,
.article-hero p,
.hero-copy p{
  color:var(--theme-text) !important;
}

.news-hero .page-title{
  color:#fff8e0 !important;
  text-shadow:0 10px 30px rgba(0,0,0,0.72) !important;
}

.news-hero .page-subtitle{
  color:#fff0c7 !important;
  text-shadow:0 4px 18px rgba(0,0,0,0.58) !important;
}

:root[data-site-theme="retro"] .news-hero .hero-content,
:root[data-site-theme="retro"] .news-hero .page-title,
:root[data-site-theme="retro"] .news-hero .page-subtitle{
  color:#fff3d5 !important;
}

:root[data-site-theme="retro"] .news-hero .hero-content{
  text-shadow:0 2px 18px rgba(0,0,0,0.58);
}

:root[data-site-theme="retro"] .article-shell .breadcrumbs,
:root[data-site-theme="retro"] .article-shell .breadcrumbs a{
  color:var(--theme-gold) !important;
}

:root[data-site-theme="retro"] .article-main .hero-title{
  color:#fff8e0 !important;
  text-shadow:0 10px 30px rgba(0,0,0,0.72) !important;
}

:root[data-site-theme="retro"] .article-main .hero-summary{
  color:#fff0c7 !important;
  text-shadow:0 4px 18px rgba(0,0,0,0.58) !important;
}

:root[data-site-theme="retro"] .article-main .article-tag{
  color:var(--theme-gold-soft) !important;
}

:root[data-site-theme="retro"] .monster-full-btn{
  color:var(--theme-on-gold) !important;
}

:root[data-site-theme="retro"] .btn-blue,
:root[data-site-theme="retro"] .room-shot button,
:root[data-site-theme="retro"] .boss-spell-tabs button,
:root[data-site-theme="retro"] .boss-tactical-direction button,
:root[data-site-theme="retro"] .boss-tactical-mode button{
  color:var(--theme-on-gold) !important;
}

.drop-pill,
.drop-pill span,
.monster-resistances span,
.characteristics-grid span,
.side-stats .summary-card span,
.mini-list div,
.steps,
.steps span,
.strategy-tip,
.boss-notes div{
  color:var(--theme-text) !important;
}

.drop-pill,
.monster-resistances span,
.characteristics-grid span,
.side-block,
.side-stats .summary-card,
.steps span,
.strategy-tip,
.boss-notes div{
  border-color:var(--theme-line) !important;
  background:var(--theme-card-soft) !important;
}

.drop-pill b,
.summary-card b,
.characteristics-grid b,
.boss-loot-title,
.effect-inline-list b,
.featured-effects-panel .effect-inline-list b,
.monster-card h3,
.loot-card h3,
.achievement-card h3,
.monster-card-block h4,
.side-block h3{
  color:var(--theme-heading) !important;
}

.effect-inline-list .effect-icon,
.featured-effects-panel .effect-inline-list .effect-icon{
  filter:saturate(1.05);
}

.monster-resistances .is-strong b{
  color:var(--theme-positive) !important;
}

.monster-resistances .is-weak b{
  color:var(--theme-negative) !important;
}

.boss-spell-tabs button,
.boss-tactical-actions button,
.boss-tactical-direction button,
.boss-tactical-mode button,
.btn-calc,
.elem-btn,
.import-button,
.actions-strip button{
  border-color:var(--theme-line) !important;
  background:linear-gradient(180deg, var(--theme-surface), var(--theme-card-soft)) !important;
  color:var(--theme-on-ink) !important;
}

.boss-spell-tabs button.is-active,
.boss-spell-tabs button:hover,
.boss-tactical-actions button.is-active,
.boss-tactical-direction button.is-active,
.boss-tactical-mode button.is-active,
.btn-calc:hover,
.elem-btn.active,
.elem-btn:hover,
.import-button:hover,
.actions-strip button:hover{
  border-color:var(--theme-gold) !important;
  background:color-mix(in srgb, var(--theme-gold) 14%, var(--theme-card-soft)) !important;
  color:var(--theme-on-gold) !important;
}

.boss-spell-display,
.boss-spell-titlebar,
.boss-spell-effect-grid,
.boss-tactical-toolbar,
.boss-tactical-board,
.boss-tactical-grid,
.boss-tactical-legend span,
.achievement-list,
.logros-main,
.logros-toolbar,
.cat-nav a,
.archi-toolbar,
.actions-strip,
.archi-card,
.db-widget,
.db-panel{
  border-color:var(--theme-line) !important;
  background:var(--theme-card) !important;
  color:var(--theme-text) !important;
}

.boss-spell-icon,
.boss-spell-fallback-icon,
.cat-stats-badge,
.archi-portrait,
.db-chip,
.db-badge{
  border-color:var(--theme-line) !important;
  background:var(--theme-card-soft) !important;
}

.boss-spell-titlebar h3,
.boss-spells-heading h2,
.boss-tactical-toolbar h3,
.archi-card h3,
.archi-copy strong,
.db-title{
  color:var(--theme-heading) !important;
}

.boss-spell-stats span,
.boss-spell-flags span,
.boss-spell-effects,
.boss-spell-effects li,
.boss-spell-effects b,
.logros-empty,
.logros-toolbar h2,
.cat-nav a,
.boss-tactical-toolbar p,
.boss-tactical-toolbar small,
.boss-tactical-legend span,
.boss-tactical-monster,
.archi-card,
.archi-toolbar,
.archi-toolbar .search-control,
.archi-toolbar .select-control,
.archi-card small,
.archi-card strong,
.archi-card button,
.archi-card a,
.archi-copy,
.archi-copy span{
  color:var(--theme-text) !important;
}

.db-body,
body.db-body{
  background:var(--theme-bg) url('../../textura.png') repeat !important;
  color:var(--theme-text) !important;
}

.db-widget,
.db-section,
.db-modal-card,
.db-equipment-card,
.db-pane,
.db-card,
.db-item,
.db-search-results,
.db-popover,
.db-tooltip,
.db-summary{
  border-color:var(--theme-line) !important;
  background:var(--theme-card) !important;
  color:var(--theme-text) !important;
}

.db-chip,
.db-stat,
.db-filter,
.db-tab,
.db-slot,
.db-pill,
.db-field,
.db-equipment-card .db-header,
.db-table th,
.db-table td{
  border-color:var(--theme-line) !important;
  background:var(--theme-card-soft) !important;
  color:var(--theme-text) !important;
}

.db-accent,
.db-gold,
.db-title,
.db-label{
  color:var(--theme-gold-soft) !important;
}

.reto-card,
.status-panel,
.hero-meta span,
.boss-spells-section,
.entry-card,
.entry-section,
.entry-icon,
.entry-head,
.panel,
.guide-panel,
.hero-summary,
.board-summary .quick-notes,
.quick-notes,
.angle-card,
.result-card,
.state-table div{
  border-color:var(--theme-line) !important;
  background:var(--theme-card) !important;
  color:var(--theme-text) !important;
}

.entry-icon,
.entry-head,
.recipe-ingredients,
.boss-spell-display,
.boss-spell-icon,
.boss-spell-fallback-icon,
.life-btn,
.tool-btn,
.btn-soft,
.btn-blue,
.comp-table th,
.comp-table td,
.slot-card,
.item-img-wrap{
  border-color:var(--theme-line) !important;
  background:var(--theme-card-soft) !important;
}

.reto-title,
.entry-head h2,
.entry-section h3,
.boss-spells-heading h2,
.panel h2,
.guide-panel h2,
.quick-notes h3,
.result-card strong,
.angle-card strong{
  color:var(--theme-heading) !important;
}

.reto-id,
.reto-desc,
.entry-content p,
.effect-list li,
.recipe-ingredients li,
.ingredient-text,
.ingredient-link,
.boss-spell-stats span,
.boss-spell-flags span,
.stat-key,
.stat-val.equal,
.item-link,
.item-effects li,
.quick-notes p,
.guide-panel p,
.guide-panel li,
.state-table span,
.board-help,
.hero-summary span,
.hero p{
  color:var(--theme-text) !important;
}

.badge,
.entry-head .badge,
.item-type,
.dd-sub,
.state-table strong,
.panel-kicker,
.eyebrow{
  color:var(--theme-gold-soft) !important;
}

.ingredient-link:hover,
.item-link:hover{
  color:var(--theme-heading) !important;
}

.comp-table tr:hover td{
  background:color-mix(in srgb, var(--theme-gold) 10%, var(--theme-card-soft)) !important;
}

.boss-spells-section,
.boss-spell-tabs button,
.boss-spell-display,
.boss-spell-icon,
.boss-spell-fallback-icon,
.boss-tactical-toolbar,
.boss-tactical-board,
.boss-tactical-grid{
  border-color:var(--theme-line) !important;
}

:root[data-site-theme="red"] .reto-card,
:root[data-site-theme="retro"] .reto-card,
:root[data-site-theme="red"] .entry-card,
:root[data-site-theme="retro"] .entry-card,
:root[data-site-theme="red"] .boss-spells-section,
:root[data-site-theme="retro"] .boss-spells-section,
:root[data-site-theme="red"] .panel,
:root[data-site-theme="retro"] .panel,
:root[data-site-theme="red"] .guide-panel,
:root[data-site-theme="retro"] .guide-panel{
  background-image:none !important;
}

:root[data-site-theme="red"] .hero-summary,
:root[data-site-theme="retro"] .hero-summary,
:root[data-site-theme="red"] .board-summary .quick-notes,
:root[data-site-theme="retro"] .board-summary .quick-notes,
:root[data-site-theme="red"] .quick-notes,
:root[data-site-theme="retro"] .quick-notes,
:root[data-site-theme="red"] .result-card,
:root[data-site-theme="retro"] .result-card,
:root[data-site-theme="red"] .angle-card,
:root[data-site-theme="retro"] .angle-card,
:root[data-site-theme="red"] .state-table div,
:root[data-site-theme="retro"] .state-table div,
:root[data-site-theme="red"] .control-panel,
:root[data-site-theme="retro"] .control-panel,
:root[data-site-theme="red"] .board-panel,
:root[data-site-theme="retro"] .board-panel{
  background-image:none !important;
  background-color:var(--theme-card) !important;
}

:root[data-site-theme="red"] .board-wrap,
:root[data-site-theme="retro"] .board-wrap{
  border-color:var(--theme-line) !important;
  background:
    radial-gradient(circle at 50% 38%, color-mix(in srgb, var(--theme-gold) 16%, transparent), transparent 34%),
    linear-gradient(180deg, rgba(3, 8, 14, 0.96), rgba(0, 3, 8, 0.98)) !important;
}

:root[data-site-theme="red"] .btn-blue,
:root[data-site-theme="retro"] .btn-blue{
  background:var(--theme-card-soft) !important;
  color:var(--theme-heading) !important;
  border-color:var(--theme-line) !important;
}

:root[data-site-theme="red"] .btn-blue:hover,
:root[data-site-theme="retro"] .btn-blue:hover{
  background:color-mix(in srgb, var(--theme-gold) 14%, var(--theme-card-soft)) !important;
  color:var(--theme-heading) !important;
}

:root[data-site-theme="red"] #melee-hits,
:root[data-site-theme="retro"] #melee-hits,
:root[data-site-theme="red"] #map-select,
:root[data-site-theme="retro"] #map-select,
:root[data-site-theme="red"] .life-btn,
:root[data-site-theme="retro"] .life-btn,
:root[data-site-theme="red"] .tool-btn,
:root[data-site-theme="retro"] .tool-btn,
:root[data-site-theme="red"] .btn-soft,
:root[data-site-theme="retro"] .btn-soft{
  background:var(--theme-card-soft) !important;
  color:var(--theme-text) !important;
  border-color:var(--theme-line) !important;
}

:root[data-site-theme="red"] .life-btn span:last-child,
:root[data-site-theme="retro"] .life-btn span:last-child,
:root[data-site-theme="red"] .state-table span,
:root[data-site-theme="retro"] .state-table span{
  color:var(--theme-heading) !important;
}

:root[data-site-theme="red"] .guide-panel ol,
:root[data-site-theme="retro"] .guide-panel ol,
:root[data-site-theme="red"] .guide-panel ul,
:root[data-site-theme="retro"] .guide-panel ul,
:root[data-site-theme="red"] .guide-panel p,
:root[data-site-theme="retro"] .guide-panel p,
:root[data-site-theme="red"] .quick-notes p,
:root[data-site-theme="retro"] .quick-notes p,
:root[data-site-theme="red"] .board-help,
:root[data-site-theme="retro"] .board-help,
:root[data-site-theme="red"] .field > span,
:root[data-site-theme="retro"] .field > span{
  color:var(--theme-text) !important;
}

:root[data-site-theme="red"] .result-card strong,
:root[data-site-theme="retro"] .result-card strong{
  color:var(--theme-green) !important;
}

:root[data-site-theme="retro"] .mision-zona-badge,
:root[data-site-theme="retro"] .pill,
:root[data-site-theme="retro"] .coords-badge,
:root[data-site-theme="retro"] .step-badge,
:root[data-site-theme="retro"] .devotion-grid span,
:root[data-site-theme="retro"] .mission-link-list li,
:root[data-site-theme="retro"] .achievement-block,
:root[data-site-theme="retro"] .reward-card{
  background:var(--theme-card) !important;
  background-image:none !important;
  border-color:var(--theme-line) !important;
  color:var(--theme-text) !important;
}

:root[data-site-theme="retro"] .mission-link-list a,
:root[data-site-theme="retro"] .mission-link-list li,
:root[data-site-theme="retro"] .achievement-block p,
:root[data-site-theme="retro"] .devotion-grid span,
:root[data-site-theme="retro"] .reward-card span{
  color:var(--theme-text) !important;
}

:root[data-site-theme="retro"] .mission-link-list i,
:root[data-site-theme="retro"] .step-badge,
:root[data-site-theme="retro"] .mision-zona-badge,
:root[data-site-theme="retro"] .pill,
:root[data-site-theme="retro"] .reward-card strong{
  color:var(--theme-heading) !important;
}

:root[data-site-theme="retro"] .calc-panel,
:root[data-site-theme="retro"] .spell-info,
:root[data-site-theme="retro"] .result-block,
:root[data-site-theme="retro"] .empty-state,
:root[data-site-theme="retro"] .stat-card,
:root[data-site-theme="retro"] .flour-card,
:root[data-site-theme="retro"] .panel-card,
:root[data-site-theme="retro"] .hero{
  background:var(--theme-card) !important;
  background-image:none !important;
  border-color:var(--theme-line) !important;
  color:var(--theme-text) !important;
}

:root[data-site-theme="retro"] .switcher-button{
  background:var(--theme-card-soft) !important;
  border-color:var(--theme-line) !important;
  color:var(--theme-text) !important;
}

:root[data-site-theme="retro"] .switcher-button.is-active{
  background:color-mix(in srgb, var(--theme-gold) 18%, var(--theme-card-soft)) !important;
  color:var(--theme-heading) !important;
  border-color:var(--theme-gold) !important;
}

:root[data-site-theme="retro"] .panel-card .panel-heading h2,
:root[data-site-theme="retro"] .result-block-header h3,
:root[data-site-theme="retro"] .hero h1{
  color:var(--theme-heading) !important;
}

:root[data-site-theme="retro"] .panel-heading p,
:root[data-site-theme="retro"] .result-block-header p,
:root[data-site-theme="retro"] .field small,
:root[data-site-theme="retro"] .empty-state,
:root[data-site-theme="retro"] .stat-note,
:root[data-site-theme="retro"] .hero-copy{
  color:var(--theme-text) !important;
}

:root[data-site-theme="retro"] .field input,
:root[data-site-theme="retro"] .field select{
  background:var(--theme-input-bg) !important;
  color:var(--theme-input-text) !important;
  border-color:var(--theme-line) !important;
}

:root[data-site-theme="retro"] .stat-card,
:root[data-site-theme="retro"] .result-block,
:root[data-site-theme="retro"] .flour-card{
  background:var(--theme-card) !important;
  color:var(--theme-text) !important;
}

:root[data-site-theme="retro"] .stat-label,
:root[data-site-theme="retro"] .stat-value,
:root[data-site-theme="retro"] .ingredient-name,
:root[data-site-theme="retro"] .ingredient-qty,
:root[data-site-theme="retro"] .flour-total{
  color:var(--theme-heading) !important;
}

:root[data-site-theme="retro"] thead th{
  color:var(--theme-gold-soft) !important;
}

:root[data-site-theme="retro"] tbody td,
:root[data-site-theme="retro"] .ingredient-list li,
:root[data-site-theme="retro"] .flour-ingredient-list li{
  color:var(--theme-text) !important;
  border-bottom-color:var(--theme-line) !important;
}

:root[data-site-theme="retro"] .field input,
:root[data-site-theme="retro"] .field select,
:root[data-site-theme="retro"] .calc-panel input[type="number"],
:root[data-site-theme="retro"] .calc-panel select,
:root[data-site-theme="retro"] .calc-panel option,
:root[data-site-theme="retro"] .panel-card input,
:root[data-site-theme="retro"] .panel-card select,
:root[data-site-theme="retro"] .panel-card option{
  background:var(--theme-input-bg) !important;
  color:var(--theme-input-text) !important;
  border-color:var(--theme-line) !important;
}

:root[data-site-theme="retro"] .field label,
:root[data-site-theme="retro"] .panel-title,
:root[data-site-theme="retro"] .stat-label,
:root[data-site-theme="retro"] .stat-note,
:root[data-site-theme="retro"] .spell-desc,
:root[data-site-theme="retro"] .spell-base-row,
:root[data-site-theme="retro"] .result-label,
:root[data-site-theme="retro"] .result-hint{
  color:var(--theme-text) !important;
}

:root[data-site-theme="retro"] .spell-name,
:root[data-site-theme="retro"] .result-range,
:root[data-site-theme="retro"] .stat-value{
  color:var(--theme-heading) !important;
}

:root[data-site-theme="retro"] .stat-grid div,
:root[data-site-theme="retro"] .stat-grid span,
:root[data-site-theme="retro"] .stat-grid small,
:root[data-site-theme="retro"] .resource-item strong,
:root[data-site-theme="retro"] .resource-item span,
:root[data-site-theme="retro"] .resource-list-meta,
:root[data-site-theme="retro"] .map-cursor,
:root[data-site-theme="retro"] .map-info-card,
:root[data-site-theme="retro"] .map-info-pane,
:root[data-site-theme="retro"] .map-info-tabs button,
:root[data-site-theme="retro"] .resource-group-title,
:root[data-site-theme="retro"] .selected-types{
  color:var(--theme-text) !important;
}

:root[data-site-theme="retro"] .stat-grid span,
:root[data-site-theme="retro"] .resource-item strong{
  color:var(--theme-heading) !important;
}

:root[data-site-theme="retro"] .resource-group-title,
:root[data-site-theme="retro"] .resource-panel-floating,
:root[data-site-theme="retro"] .resource-item,
:root[data-site-theme="retro"] .stat-grid div,
:root[data-site-theme="retro"] .map-info-card,
:root[data-site-theme="retro"] .map-info-pane,
:root[data-site-theme="retro"] .map-info-tabs button{
  background:var(--theme-card) !important;
  background-image:none !important;
  border-color:var(--theme-line) !important;
}

:root[data-site-theme="retro"] .news-hero .hero-content,
:root[data-site-theme="retro"] .article-hero,
:root[data-site-theme="retro"] .hero-copy{
  text-shadow:0 1px 8px rgba(22,14,7,0.38);
}

/* Mantener los fondos editoriales de misiones y logros por encima del tema global */
.section-hero{
  background-image:
    radial-gradient(circle at 80% 35%, rgba(240,210,143,0.16), transparent 30%),
    radial-gradient(circle at 22% 16%, rgba(155,208,255,0.12), transparent 32%),
    linear-gradient(90deg, rgba(9,24,50,0.86) 0%, rgba(9,24,50,0.62) 48%, rgba(8,18,35,0.28) 100%),
    linear-gradient(135deg, rgba(47,77,120,0.5), rgba(240,210,143,0.08)),
    url("../img/misiones/hero-misiones-sin-logo.png") !important;
  background-position:center, center, center, center, center !important;
  background-size:auto, auto, auto, auto, cover !important;
  background-repeat:no-repeat, no-repeat, no-repeat, no-repeat, no-repeat !important;
}

.mision-hero{
  background-image:
    linear-gradient(90deg, rgba(5,13,31,0.86) 0%, rgba(5,13,31,0.64) 52%, rgba(5,13,31,0.26) 100%),
    url("../img/misiones/hero-misiones-sin-logo.png") !important;
  background-position:center, center !important;
  background-size:auto, cover !important;
  background-repeat:no-repeat, no-repeat !important;
}

.almanax-hero{
  background-image:
    radial-gradient(circle at 82% 25%, rgba(242,198,109,0.22), transparent 30%),
    linear-gradient(90deg, rgba(5,13,31,0.92), rgba(7,19,37,0.74) 56%, rgba(11,28,54,0.35)),
    url("../img/misiones/hero-misiones-sin-logo.png") !important;
  background-position:center, center, center !important;
  background-size:auto, auto, cover !important;
  background-repeat:no-repeat, no-repeat, no-repeat !important;
}

.ocre-hero{
  background-image:
    radial-gradient(circle at 76% 30%, rgba(240,210,143,0.26), transparent 16rem),
    linear-gradient(90deg, rgba(5,13,31,0.94), rgba(5,13,31,0.72) 56%, rgba(5,13,31,0.38)),
    url("../img/misiones/hero-misiones-sin-logo.png") !important;
  background-position:center, center, center !important;
  background-size:auto, auto, cover !important;
  background-repeat:no-repeat, no-repeat, no-repeat !important;
}

.frigost-hero{
  background-image:
    linear-gradient(90deg, rgba(5,13,31,0.88) 0%, rgba(8,20,38,0.64) 46%, rgba(8,18,35,0.34) 100%),
    linear-gradient(135deg, rgba(47,77,120,0.28), rgba(240,210,143,0.06)) !important;
  background-position:center, center !important;
  background-size:auto, auto !important;
  background-repeat:no-repeat, no-repeat !important;
}

footer,
.breadcrumbs,
.piece-modal-head p,
.piece-modal-recipe-meta{
  color:var(--theme-muted) !important;
}

a,
.breadcrumbs a{
  color:var(--theme-gold) !important;
}
