/* Approved carbon/gold identity (2026-11-04). Applied by the public-site builder to every
   public HTML page, including future generated articles and weapon pages.
   Game art, tier colors, buffs/nerfs and chart series keep their meaning. */
:root {
 --site-bg:#0D0D0C; --site-panel:#191918; --site-soft:#242421;
 --site-text:#F3F0E8; --site-muted:#B8B5AC; --site-accent:#E8B85A;
 --site-on-accent:#211707; --site-line:#38372F; --site-tier:#E8B85A;
 --site-accent-hover:#F2D08C; --site-accent-soft:#E8B85A14;
 --bg:var(--site-bg); --bg-dark:var(--site-bg);
 --panel:var(--site-panel); --panel2:var(--site-soft);
 --bg-card:var(--site-panel); --bg-card-2:var(--site-soft); --bg-card-3:var(--site-soft);
 --txt:var(--site-text); --text:var(--site-text); --text-sec:var(--site-text);
 --muted:var(--site-muted); --dim:var(--site-muted); --text-muted:var(--site-muted); --text-dim:var(--site-muted);
 --gold:var(--site-accent); --gold-bright:#F2D08C; --gold-dim:#E8B85A14;
 --line:var(--site-line); --border:var(--site-line); --border-mid:#555246; --border-bright:var(--site-accent);
 --mw4-accent:var(--site-accent); --mw4-panel:var(--site-panel); --mw4-line:var(--site-line);
 color-scheme:dark;
}
body {background:var(--site-bg)!important;color:var(--site-text)!important}
body::before,body::after,.bg-grid {background:none!important}
header,header.wzhdr,header:has(.hdr),.drawer,.wzdrawer,.bnav,.wzbnav,.mobile-menu-panel {
 background:var(--site-panel)!important;border-color:var(--site-line)!important;box-shadow:none!important;
}
.wzgame-bar,footer {background:var(--site-bg)!important;border-color:var(--site-line)!important}
.wzgame-btn {background:var(--site-soft)!important;border-color:var(--site-line)!important;box-shadow:none!important}
.wzgame-btn.on {border-color:var(--site-accent)!important}
.wzhdr .logo,.wzhdr .logo span,.logo em,.logo .g,.nav-seccion.active,.wznav a.on,.drawer-nav a.on,.wzdrawer-nav a.on {color:var(--site-accent)!important}
:is(a,button,input,select,textarea,summary):focus-visible {outline:2px solid var(--site-accent)!important;outline-offset:4px}
input:not([type=checkbox]):not([type=radio]),select,textarea {background-color:var(--site-soft)!important;color:var(--site-text)!important;border-color:var(--site-line)!important}
input::placeholder,textarea::placeholder {color:var(--site-muted)!important;opacity:1}
/* Main surfaces across arsenal, loadouts, maps, news and editorial pages. */
.arma-card,.weapons-table,.weapons-table tbody tr,.weapons-table tbody tr.is-s-tier,
.combo-card,.modal-card,.tier-group,.ventaja-card,.noticia-hero,.noticia-section,.novedad-card,
.timeline-content,.fuente-card,.card-news,.noticia-fuente-box,.cf-panel,.cf-combo-card,.cf-alt-card,
.tier-card,.tier-explained-method,.recent-loadouts,.recent-loadout-card,.method-card,.method-note,
.patch-hero,.patch-group,.patch-card,.patch-controls,.patch-seo,.patch-empty,
.patches-section,.patch-season,.patch-season--actual,.official-intel,.weapon-community-cta,
.shared-loadout-card,.attachment-card,.attachment-row,.attachment-row.in-loadout,.class-code-box,
.loadout-tip,.shared-classes-summary,.faq-widget,.mv-widget,.map-update,.fcard,.tier-related a,
.mw4-mode-panel,.mw4-card,.mw4-step,.mw4-feature,.mw4-top,.mw4-playstyle,.mw4-weapon,
.mw4-weapon:has(.mw4-build[open]),.mw4-news-card,.mw4-faq,.mw4-note,.mw4-update,.mw4-guide {
 background:var(--site-panel)!important;border-color:var(--site-line)!important;box-shadow:none!important;
}
.faq-widget,.mv-widget {--gold:var(--site-accent);--muted:var(--site-muted)}
.stat-mini,.modal-stat,.attach-row,.attach-mini,.attachment-row:hover,.attachment-card:hover,
.att-icon-frame,.row-icon-frame,.shared-attachment,.shared-attachment-icon,.shared-loadout-head,
.shared-loadout-foot,.official-intel-spec,.patch-contexto,.patch-modos,.patch-group-head,
.patch-card-head,.patch-weapon-img,.detail-panel,.compare-row,.simple-change,.mv-ttk,.mv-momentum,
.fc-build,.fc-att-ico,.category-code,.loadout-codigo,.autocomplete,.cf-desc,.cf-opt,
.mw4-attachments li,.mw4-attachments li+li,.mw4-mode-loadout,.mw4-art figcaption,
.mw4-modes,.mw4-secondary {
 background:var(--site-soft)!important;border-color:var(--site-line)!important;
}
.weapon-hero h1,.armas-page-hero h1 .accent {
 background:none!important;-webkit-text-fill-color:var(--site-text)!important;color:var(--site-text)!important;text-shadow:none!important;
}
.weapon-hero-image,.weapon-icon-cell,.card-image-wrap {background:none!important}
.class-code-box::before,.tier-S .card-image-wrap::before {background:none!important;box-shadow:none!important}
.range-tab,.pill,.loadout-tab,.slot-chip,.patch-tab,.mw4-catalog-views button,.mw4-filter {
 background:var(--site-soft)!important;border-color:var(--site-line)!important;color:var(--site-muted)!important;box-shadow:none!important;
}
.range-tab.active,.pill.active,.loadout-tab.active,.slot-chip.active,.patch-tab.active,
.mw4-catalog-views [aria-pressed=true],.mw4-modes [aria-pressed=true],.mw4-filter.on,
.copy-btn,.shared-copy,.category-code button,.loadout-codigo .codigo-copy,.mw4-copy,.mw4-page .mw4-primary {
 background:var(--site-accent)!important;color:var(--site-on-accent)!important;border-color:var(--site-accent)!important;box-shadow:none!important;
}
.copy-btn:hover,.shared-copy:hover,.mw4-copy:hover {background:#F2D08C!important}
.pickrate-fill {background:var(--site-accent)!important}
.mw4-build summary,.mw4-build summary>span,.mw4-build summary .mw4-summary-label,
.mw4-attachments li:before,.mw4-eyebrow,.mw4-hero h1 em,.mw4-section-nav a:hover,
.attachment-slot,.att-slot,.class-code-label,.section-title .accent {color:var(--site-accent)!important}
.mw4-lead,.mw4-facts,.mw4-feature p,.mw4-playstyle p,.mw4-weapon-top>span,
.mw4-build-foot time,.mw4-mode-intro p,.mw4-steps p,.mw4-art figcaption,
.mw4-attachments li .mw4-slot,.mw4-build-mode {color:var(--site-muted)!important}
.mw4-playstyle .mw4-scope {border-color:var(--site-accent)!important;background:var(--site-soft)!important}
.mw4-weapon:target,.mw4-weapon:has(.mw4-build[open]) {border-color:var(--site-accent)!important}
/* Gold remains a tier cue, rather than filling whole cards. */
.tierb,.tier-pill,.mw4-tier,.hero-badge.tier-s {
 background:var(--site-soft)!important;color:var(--site-tier)!important;border-color:var(--site-line)!important;box-shadow:none!important;
}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}

/* Older inline templates use literal gold instead of the shared variables. */
.wzhdr .nav-d a.on,.wzstatus .live,.wzstatus .season,.wzdrawer-title,.wzbnav a.on,
.weapon-breadcrumb a:hover,.stat-mini .value,.official-intel-kicker,.official-intel .accent,
.official-intel-details b,.official-intel-source,.weapon-community-kicker,.shared-code strong,
.slot-heading,.attachment-row:hover .att-row-name,.attachment-row.in-loadout .att-row-slot-tag::before,
.recent-loadouts time,.recent-loadout-card small,.recent-loadout-links a,.recent-loadouts .review-note a {
 color:var(--site-accent)!important;
}
.wzhdr .nav-d a.on,.official-intel-details>div,.slot-heading,.recent-loadout-links a {border-color:var(--site-line)!important}
.wzhdr .nav-d a.on {border-bottom-color:var(--site-accent)!important}
.wzstatus .season,.patch-pill,.patch-source,.is-community .shared-origin-badge {
 background:var(--site-soft)!important;border-color:var(--site-line)!important;
}
.hero-news,.hero-news--full-image .hero-news-overlay {background:var(--site-panel)!important;border-color:var(--site-line)!important}
.hero-news::before {background:var(--site-accent)!important}
.weapon-community-cta a {background:var(--site-accent)!important;color:var(--site-on-accent)!important}
.recent-loadout-links a:hover,.recent-loadout-links a:focus-visible {background:var(--site-accent)!important;color:var(--site-on-accent)!important}
.wzgame-bar .wzgame-btn.on {background:var(--site-soft)!important;border-color:var(--site-accent)!important}

/* Equip a build without guessing truncated accessory names (28 October). */
.weapon-quick-links{display:flex;flex-wrap:wrap;gap:10px;margin-top:24px}
.weapon-quick-links a{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:10px 16px;border:1px solid var(--site-line);border-radius:8px;background:var(--site-soft);color:var(--site-text);font-weight:700;text-decoration:none}
.weapon-quick-links a:first-child{background:var(--site-accent);color:var(--site-on-accent);border-color:var(--site-accent)}
.loadouts-section,.all-attachments-section,.loadout-content{scroll-margin-top:100px}
.loadout-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,300px),1fr));align-items:stretch}
.attachment-card{display:grid;grid-template-columns:56px minmax(0,1fr);gap:8px 14px;padding:16px;align-content:start;border-radius:10px}
.attachment-card .att-icon-frame{grid-column:1;grid-row:1/3;width:56px;height:48px;align-self:center}
.attachment-card .att-info{grid-column:2;min-width:0}
.attachment-card .att-level{grid-column:2;justify-self:start;max-width:100%!important;text-align:left!important;white-space:normal!important;letter-spacing:.03em;font-size:11px}
.att-name,.att-row-name{white-space:normal;overflow:visible;text-overflow:clip;overflow-wrap:anywhere;line-height:1.35;font-size:16px}
.att-slot{font-size:10px;line-height:1.4;letter-spacing:.08em;margin-bottom:5px}
.loadout-tabs{display:flex;flex-wrap:wrap!important;gap:8px;overflow:visible!important;border:0;margin-bottom:20px}
.loadout-tab{min-height:44px;white-space:normal!important;text-align:left;border-radius:8px;padding:10px 14px!important;line-height:1.35}
.loadout-content[hidden]{display:none!important}
.class-code-box{flex-wrap:wrap;gap:14px;border-radius:10px}
.class-code-box>div{min-width:0}
.code-value{user-select:all;overflow-wrap:anywhere;white-space:normal}
.copy-btn,.shared-copy{min-height:44px}
.copy-feedback{display:block;flex-basis:100%;grid-column:1/-1;font:500 15px/1.45 'Rajdhani',sans-serif;color:var(--site-muted)}
.copy-feedback:empty{display:none}
@media(max-width:600px){.loadout-tabs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.loadout-tab{min-width:0;font-size:13px;justify-content:center;text-align:center}.weapon-quick-links a{flex:1}.loadout-grid{grid-template-columns:minmax(0,1fr)}.attachment-card{padding:14px}.att-name,.att-row-name{font-size:16px}}
@media(max-width:600px){header .hdr{gap:12px}header .logo{min-width:0;max-width:calc(100% - 56px)}header .logo img{max-width:100%;height:auto}header .hdr-actions{flex-shrink:0}header #menuBtn{display:inline-flex;align-items:center;justify-content:center;min-width:44px;min-height:44px}}
