@scope (html) to (.wiki-admin-boundary, .wiki-ad-boundary){
[data-theme="rust"] {
  --rs-ink: #121110;
  --rs-ink-2: #171513;
  --rs-panel: #1c1a17;
  --rs-panel-2: #24211d;
  --rs-paper: #f7ebe1;
  --rs-paper-2: #e4dad1;
  --rs-dim: #bab1a8;
  --rs-mute: #9d968e;           
  --rs-line: rgba(247, 235, 225, 0.09);
  --rs-line-2: rgba(247, 235, 225, 0.16);
  --rs-red: #b23925;            
  --rs-red-hi: #cf4a2e;         
  --rs-red-text: #ec7556;       
  --rs-amber: #ffd272;
  --rs-green: #9bce40;
  --rs-cond: "wk-font-rust-condensed", "Roboto Condensed", "Arial Narrow", sans-serif;
  --rs-sans: "wk-font-rust-sans", Roboto, system-ui, sans-serif;
  --rs-mono: "wk-font-rust-mono", "Roboto Mono", "Cascadia Mono", Consolas, ui-monospace, monospace;
  --rs-marker: "wk-font-rust-marker", "Permanent Marker", "Segoe Print", cursive;
  --rs-stripes: repeating-linear-gradient(-45deg, var(--rs-red) 0 4px, transparent 4px 8px);
  --rs-stripes-dim: repeating-linear-gradient(-45deg, rgba(247, 235, 225, 0.5) 0 4px, transparent 4px 8px);
  --wiki-accent: #b23925 !important;
  --wiki-accent-ink: #fff !important;
  --wiki-heading-font: var(--rs-cond) !important;
  --wiki-home-panel: #1c1a17 !important;
  --wiki-home-dim: #cfc5bb !important;
  --wiki-home-accent-ink: #fff !important;
  --ds-grad-cta: #b23925 !important;
  font-family: var(--rs-sans);
  color: var(--rs-paper-2);
}
[data-theme="rust"] ::selection { background: rgba(178, 57, 37, 0.6); color: #fff; }
[data-theme="rust"] :focus-visible { outline: 2px solid var(--rs-red-text) !important; outline-offset: 2px; }
.wiki-page[data-theme="rust"] {
  background:
    url(/images/rust/grain.webp) repeat,
    radial-gradient(90% 60% at 85% -10%, rgba(178, 57, 37, 0.16), transparent 60%),
    linear-gradient(180deg, var(--rs-ink-2), var(--rs-ink) 40%) !important;
  background-size: 128px 128px, auto, auto !important;
}
[data-theme="rust"] a:not([class]) { color: var(--rs-red-text); text-decoration-color: rgba(236, 117, 86, 0.4); }
[data-theme="rust"] a:not([class]):hover { color: #fff; }
[data-theme="rust"] .wiki-sidebar {
  background: rgba(8, 7, 6, 0.6) url(/images/rust/grain.webp) repeat !important;
  background-size: 128px !important;
  border-right: 1px solid var(--rs-line) !important;
}
[data-theme="rust"] .wiki-sidebar-title { font-family: var(--rs-cond) !important; font-weight: 700 !important; text-transform: uppercase; letter-spacing: 0.02em; }
[data-theme="rust"] .wiki-nav-heading {
  font-family: var(--rs-marker) !important;
  font-weight: 400 !important;
  text-transform: none !important;
  letter-spacing: 0.02em !important;
  font-size: 16px !important;
  color: var(--rs-red-text) !important;
}
[data-theme="rust"] .wiki-nav-heading .wiki-nav-label {
  font-family: var(--rs-marker) !important;
  font-weight: 400 !important;
  text-transform: none !important;
  letter-spacing: 0.02em !important;
  font-size: 17px !important;
  color: var(--rs-red-text) !important;
}
[data-theme="rust"] .wiki-nav-heading-icon { display: none !important; }
[data-theme="rust"] .wiki-nav-row { border-radius: 0 !important; border: 0 !important; background: transparent !important; box-shadow: none !important; }
[data-theme="rust"] .wiki-nav-label {
  font-family: var(--rs-cond) !important;
  font-weight: 700 !important;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 15px !important;
  color: var(--rs-dim) !important;
  white-space: normal !important;
  overflow: visible !important;
  text-overflow: clip !important;
  line-height: 1.15 !important;
  overflow-wrap: anywhere;
}
[data-theme="rust"] .wiki-nav-row { height: auto !important; min-height: 40px; }
[data-theme="rust"] .wiki-nav-row svg { color: var(--rs-mute) !important; }
[data-theme="rust"] .wiki-nav-row:hover { background: rgba(247, 235, 225, 0.04) !important; }
[data-theme="rust"] .wiki-nav-row:hover .wiki-nav-label { color: var(--rs-paper) !important; }
[data-theme="rust"] .wiki-nav-row.wiki-nav-active, [data-theme="rust"] .wiki-nav-active {
  background: rgba(247, 235, 225, 0.07) !important;
  box-shadow: inset 0 -2px 0 var(--rs-red) !important;
  border: 0 !important;
}
[data-theme="rust"] .wiki-nav-active::before, [data-theme="rust"] .wiki-nav-active::after { display: none !important; }
[data-theme="rust"] .wiki-nav-active .wiki-nav-label, [data-theme="rust"] .wiki-nav-active svg { color: #fff !important; }
[data-theme="rust"] h1, [data-theme="rust"] h2, [data-theme="rust"] h3, [data-theme="rust"] .wiki-heading, [data-theme="rust"] .wgt-heading {
  font-family: var(--rs-cond) !important;
  font-weight: 700 !important;
  text-transform: uppercase;
  letter-spacing: -0.005em;
  color: #fff !important;
}
[data-theme="rust"] h1.wgt-heading, [data-theme="rust"] h1.wiki-heading { font-size: clamp(38px, 6vw, 72px) !important; line-height: 0.92 !important; }
[data-theme="rust"] h2.wgt-heading { font-size: clamp(24px, 3vw, 32px) !important; }
[data-theme="rust"] .wgt-heading-rule,
[data-theme="rust"] .wgt-heading ~ div.h-1 {
  height: 6px !important;
  width: 96px !important;
  border-radius: 0 !important;
  background: var(--rs-stripes) !important;
  opacity: 1 !important;
}
[data-theme="rust"] .wgt-text { color: var(--rs-dim) !important; font-size: 16px; line-height: 1.6; }
[data-theme="rust"] .wgt-eyebrow, [data-theme="rust"] .ds-eyebrow {
  font-family: var(--rs-marker) !important;
  text-transform: none !important;
  letter-spacing: 0.02em !important;
  color: var(--rs-red-text) !important;
  font-size: 16px !important;
}
[data-theme="rust"] .ds-card {
  background: linear-gradient(180deg, var(--rs-panel-2), var(--rs-panel)) !important;
  border: 1px solid var(--rs-line) !important;
  border-radius: 2px !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03), 0 10px 24px -16px rgba(0, 0, 0, 0.9) !important;
  transition: border-color 140ms ease, transform 140ms ease;
}
[data-theme="rust"] .ds-card--link:hover { border-color: rgba(207, 74, 46, 0.8) !important; transform: translateY(-2px); }
[data-theme="rust"] .ds-card-art, [data-theme="rust"] .ds-card-well {
  background: radial-gradient(65% 60% at 50% 55%, rgba(247, 235, 225, 0.08), transparent 75%) !important;
}
[data-theme="rust"] .ds-table-card-cover { background: transparent !important; }
[data-theme="rust"] .ds-table-card-body { background: transparent !important; border-top: 1px solid var(--rs-line) !important; }
[data-theme="rust"] .ds-table-card-title {
  font-family: var(--rs-cond) !important;
  font-weight: 700 !important;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: #fff !important;
  font-size: 16px !important;
}
[data-theme="rust"] .ds-table-card-meta { color: var(--rs-mute) !important; }
[data-theme="rust"] .ds-card-stat { font-family: var(--rs-mono) !important; color: var(--rs-mute) !important; font-size: 12px !important; }
[data-theme="rust"] .ds-card-flag {
  background: var(--rs-red) !important;
  color: #fff !important;
  border: 0 !important;
  border-radius: 0 !important;
  font-family: var(--rs-cond) !important;
  font-weight: 700 !important;
  letter-spacing: 0.1em !important;
  clip-path: polygon(8px 0, 100% 0, 100% 100%, 0 100%);
  padding-left: 12px !important;
  top: 0 !important;
  right: 0 !important;
}
[data-theme="rust"] .ds-card-flag .ds-facet-dot { display: none !important; }
[data-theme="rust"] .ds-pill {
  border-radius: 0 !important;
  border: 1px solid var(--rs-line-2) !important;
  background: rgba(8, 7, 6, 0.4) !important;
  font-family: var(--rs-cond) !important;
  font-weight: 700 !important;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--rs-dim) !important;
}
[data-theme="rust"] .ds-pill:hover { color: #fff !important; border-color: var(--rs-red) !important; }
[data-theme="rust"] .ds-pill[data-active="true"] { background: var(--rs-red) !important; border-color: var(--rs-red) !important; color: #fff !important; }
[data-theme="rust"] .ds-pill .ds-facet-dot { border-radius: 0 !important; }
[data-theme="rust"] .ds-count { background: rgba(0, 0, 0, 0.4) !important; border-radius: 0 !important; color: inherit !important; border: 0 !important; font-family: var(--rs-mono) !important; }
[data-theme="rust"] .ds-search, [data-theme="rust"] .ds-catalog-search input, [data-theme="rust"] .ds-input,
[data-theme="rust"] .ds-dropdown-trigger, [data-theme="rust"] .wiki-content select, [data-theme="rust"] .wiki-content input[type="number"], [data-theme="rust"] .wiki-content input[type="text"] {
  border-radius: 0 !important;
  background: rgba(8, 7, 6, 0.5) !important;
  border: 1px solid var(--rs-line-2) !important;
  color: var(--rs-paper) !important;
}
[data-theme="rust"] .ds-search:focus-within, [data-theme="rust"] .ds-input:focus { border-color: var(--rs-red-text) !important; }
[data-theme="rust"] .ext-gwe-dossier-banner {
  background: linear-gradient(180deg, var(--rs-panel-2), var(--rs-panel)) !important;
  border: 1px solid var(--rs-line) !important;
  border-bottom: 2px solid var(--rs-red) !important;
  border-radius: 2px !important;
}
[data-theme="rust"] .ext-gwe-dossier-banner h1 { font-size: clamp(36px, 5.5vw, 68px) !important; line-height: 0.92 !important; }
[data-theme="rust"] .ext-gwe-dossier-banner p.uppercase { color: #a8a097 !important; font-size: 11px !important; }
[data-theme="rust"] .ext-gwe-dossier-icon, [data-theme="rust"] .ext-gwe-dossier-render {
  background: radial-gradient(70% 70% at 50% 45%, rgba(247, 235, 225, 0.08), rgba(0, 0, 0, 0.35)) !important;
  border: 1px solid var(--rs-line) !important;
  border-radius: 2px !important;
}
[data-theme="rust"] .wgt-box--module { background: var(--rs-panel) !important; border: 1px solid var(--rs-line) !important; border-radius: 2px !important; }
[data-theme="rust"] .wgt-box-chapter-title { font-family: var(--rs-marker) !important; text-transform: none !important; letter-spacing: 0.02em !important; color: var(--rs-red-text) !important; font-size: 19px !important; font-weight: 400 !important; }
[data-theme="rust"] .wgt-box-chapter-dot { display: none !important; }
[data-theme="rust"] .wgt-box-chapter-rule { background: var(--rs-stripes-dim) !important; height: 4px !important; opacity: 0.35; }
[data-theme="rust"] .ext-gwe-fact-row { background: transparent !important; border: 0 !important; border-bottom: 1px solid var(--rs-line) !important; border-radius: 0 !important; }
[data-theme="rust"] .ext-gwe-fact-row dt { font-family: var(--rs-cond) !important; color: var(--rs-mute) !important; letter-spacing: 0.06em; text-transform: uppercase; }
[data-theme="rust"] .ext-gwe-fact-row dd { font-family: var(--rs-mono) !important; font-weight: 700 !important; color: #fff !important; }
[data-theme="rust"] .ext-gwe-card-list-item, [data-theme="rust"] .ext-gwe-recipe-card, [data-theme="rust"] .ext-gwe-section-panel {
  background: var(--rs-panel) !important;
  border: 1px solid var(--rs-line) !important;
  border-radius: 2px !important;
}
[data-theme="rust"] a.ext-gwe-card-list-item:hover, [data-theme="rust"] .ext-gwe-card-list-item a:hover { border-color: rgba(207, 74, 46, 0.8) !important; }
[data-theme="rust"] .ext-gwe-card-list-title, [data-theme="rust"] .ext-gwe-recipe-title, [data-theme="rust"] .ext-gwe-recipe-name {
  font-family: var(--rs-cond) !important;
  font-weight: 700 !important;
  color: #fff !important;
}
[data-theme="rust"] .ext-gwe-card-list-subtitle { color: var(--rs-mute) !important; }
[data-theme="rust"] .ext-gwe-card-list-icon, [data-theme="rust"] .ext-gwe-recipe-slot {
  background: rgba(0, 0, 0, 0.4) !important;
  border: 1px solid var(--rs-line) !important;
  border-radius: 2px !important;
}
[data-theme="rust"] .ext-gwe-card-list-qty, [data-theme="rust"] .ext-gwe-recipe-count { font-family: var(--rs-mono) !important; font-weight: 700 !important; color: var(--rs-amber) !important; }
[data-theme="rust"] .ext-gwe-recipe-station { background: var(--rs-red) !important; border: 0 !important; border-radius: 0 !important; color: #fff !important; }
[data-theme="rust"] .ext-gwe-recipe-metachip, [data-theme="rust"] .ext-gwe-card-list-chip {
  border-radius: 0 !important;
  font-family: var(--rs-mono) !important;
  background: rgba(178, 57, 37, 0.18) !important;
  color: var(--rs-red-text) !important;
  border: 1px solid rgba(178, 57, 37, 0.45) !important;
}
[data-theme="rust"] .ext-gwe-recipe-arrow { color: var(--rs-red-text) !important; }
[data-theme="rust"] .wgt-tabs-bar { border-bottom: 1px solid var(--rs-line-2) !important; }
[data-theme="rust"] .wgt-tab {
  font-family: var(--rs-cond) !important;
  font-weight: 700 !important;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--rs-mute) !important;
  border-radius: 0 !important;
}
[data-theme="rust"] .wgt-tab[aria-selected="true"], [data-theme="rust"] .wgt-tab[data-active="true"] { color: #fff !important; box-shadow: inset 0 -2px 0 var(--rs-red) !important; background: transparent !important; }
[data-theme="rust"] .ds-table-wrap { border: 1px solid var(--rs-line) !important; border-radius: 2px !important; background: var(--rs-panel) !important; }
[data-theme="rust"] .ds-table th {
  font-family: var(--rs-cond) !important;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--rs-dim) !important;
  background: rgba(8, 7, 6, 0.65) !important;
  border-bottom: 2px solid var(--rs-red) !important;
}
[data-theme="rust"] .ds-table td { border-color: var(--rs-line) !important; color: var(--rs-paper-2) !important; }
[data-theme="rust"] .ds-table tbody tr:nth-child(even) td { background: rgba(247, 235, 225, 0.025) !important; }
[data-theme="rust"] .ds-table tbody tr:hover td { background: rgba(178, 57, 37, 0.12) !important; }
[data-theme="rust"] .ds-table td:has(> :only-child:is(span, b, strong)) { font-family: var(--rs-mono); }
[data-theme="rust"] .ds-page-btn { border-radius: 0 !important; font-family: var(--rs-cond) !important; }
[data-theme="rust"] .ds-page-btn[aria-current="page"], [data-theme="rust"] .ds-page-btn[data-active="true"] { background: var(--rs-red) !important; color: #fff !important; }
[data-theme="rust"] .wgt-btn, [data-theme="rust"] .wiki-content .ds-btn {
  border-radius: 0 !important;
  font-family: var(--rs-cond) !important;
  font-weight: 700 !important;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
[data-theme="rust"] .wgt-btn--primary, [data-theme="rust"] .wiki-content .ds-btn--primary { background: var(--rs-red) !important; color: #fff !important; border-color: var(--rs-red) !important; }
[data-theme="rust"] .wgt-btn--primary:hover, [data-theme="rust"] .wiki-content .ds-btn--primary:hover { background: var(--rs-red-hi) !important; }
[data-theme="rust"] .ext-gwe-skill-board, [data-theme="rust"] .ext-gwe-skill-scroll {
  background: rgba(8, 7, 6, 0.55) !important;
  border-radius: 2px !important;
}
[data-theme="rust"] .ext-gwe-skill-tile {
  border-radius: 2px !important;
  background: var(--rs-panel-2) !important;
  border: 1px solid var(--rs-line-2) !important;
  box-shadow: none !important;
}
[data-theme="rust"] .ext-gwe-skill-node:hover .ext-gwe-skill-tile { border-color: var(--rs-red-text) !important; }
[data-theme="rust"] .ext-gwe-skill-node[data-taken="true"] .ext-gwe-skill-tile,
[data-theme="rust"] .ext-gwe-skill-node[aria-pressed="true"] .ext-gwe-skill-tile,
[data-theme="rust"] .ext-gwe-skill-node[data-state="taken"] .ext-gwe-skill-tile { background: rgba(178, 57, 37, 0.55) !important; border-color: var(--rs-red-text) !important; }
[data-theme="rust"] .ext-gwe-skill-label { font-family: var(--rs-cond) !important; text-transform: uppercase; letter-spacing: 0.03em; color: var(--rs-dim) !important; }
[data-theme="rust"] .ext-gwe-skill-tilecost, [data-theme="rust"] .ext-gwe-skill-cost { font-family: var(--rs-mono) !important; color: var(--rs-amber) !important; }
[data-theme="rust"] .ext-gwe-skill-plan, [data-theme="rust"] .ext-gwe-skill-bar, [data-theme="rust"] .ext-gwe-skill-panel, [data-theme="rust"] .ext-gwe-skill-pop {
  border-radius: 2px !important;
  background: var(--rs-panel) !important;
  border: 1px solid var(--rs-line) !important;
}
[data-theme="rust"] .ext-gwe-skill-plan-meter { font-family: var(--rs-mono) !important; }
[data-theme="rust"] .ext-gwe-skill-tier-title { font-family: var(--rs-marker) !important; text-transform: none !important; color: var(--rs-red-text) !important; font-weight: 400 !important; }
[data-theme="rust"] .ext-gwe-skill-item { border-radius: 2px !important; background: var(--rs-panel) !important; border: 1px solid var(--rs-line) !important; }
[data-theme="rust"] .ext-gwe-skill-item-title { font-family: var(--rs-cond) !important; font-weight: 700 !important; color: #fff !important; }
[data-theme="rust"] .ext-gwe-skill-lines path, [data-theme="rust"] .ext-gwe-skill-lines line { stroke: rgba(247, 235, 225, 0.22) !important; }
[data-theme="rust"] .ext-tm-embed, [data-theme="rust"] .leaflet-container { border-radius: 2px !important; background: #0b1a20 !important; }
[data-theme="rust"] .ext-tm-panel, [data-theme="rust"] .ext-tm-topright, [data-theme="rust"] .ext-tm-region, [data-theme="rust"] .ext-tm-band, [data-theme="rust"] .ext-tm-ctl {
  border-radius: 2px !important;
  background: rgba(14, 13, 11, 0.92) !important;
  border: 1px solid var(--rs-line-2) !important;
  box-shadow: 0 12px 30px -12px rgba(0, 0, 0, 0.8) !important;
  backdrop-filter: none !important;
}
[data-theme="rust"] .ext-tm-panel *, [data-theme="rust"] .ext-tm-topright * { border-radius: 2px !important; }
[data-theme="rust"] .ext-tm-label, [data-theme="rust"] .ext-tm-panel h2, [data-theme="rust"] .ext-tm-panel h3 { font-family: var(--rs-marker) !important; text-transform: none !important; color: var(--rs-red-text) !important; font-weight: 400 !important; }
[data-theme="rust"] .ext-tm-field, [data-theme="rust"] .ext-tm-panel input { border-radius: 0 !important; background: rgba(0, 0, 0, 0.45) !important; border: 1px solid var(--rs-line-2) !important; }
[data-theme="rust"] .ext-tm-btn { border-radius: 0 !important; font-family: var(--rs-cond) !important; text-transform: uppercase; }
[data-theme="rust"] .leaflet-tooltip, [data-theme="rust"] .leaflet-popup-content-wrapper {
  border-radius: 2px !important;
  background: rgba(14, 13, 11, 0.95) !important;
  color: var(--rs-paper) !important;
  border: 1px solid var(--rs-line-2) !important;
  font-family: var(--rs-cond) !important;
}
[data-theme="rust"] .wiki-default-title, [data-theme="rust"] .wiki-default-title h1 {
  font-family: var(--rs-cond) !important;
  font-weight: 700 !important;
  text-transform: uppercase;
  font-size: clamp(64px, 10vw, 132px) !important;
  line-height: 0.88 !important;
  letter-spacing: -0.01em !important;
}
[data-theme="rust"] .wiki-default-hero .wiki-search {
  border-radius: 0 !important;
  background: rgba(8, 7, 6, 0.82) !important;
  border: 1px solid rgba(247, 235, 225, 0.12) !important;
  border-bottom: 2px solid var(--rs-red) !important;
  box-shadow: none !important;
}
[data-theme="rust"] .wgt-searchbtn { background: var(--rs-red) !important; border-radius: 0 !important; box-shadow: none !important; }
[data-theme="rust"] .wgt-searchbtn:hover { background: var(--rs-red-hi) !important; }
[data-theme="rust"] .wiki-hovertile {
  border-radius: 0 !important;
  background: rgba(8, 7, 6, 0.78) !important;
  box-shadow: inset 0 0 0 1px rgba(247, 235, 225, 0.1), inset 0 -2px 0 var(--rs-red) !important;
}
[data-theme="rust"] .wiki-hovercard:hover .wiki-hovertile { background: rgba(178, 57, 37, 0.9) !important; }
[data-theme="rust"] .wiki-hovertile-label { font-family: var(--rs-cond) !important; font-weight: 700 !important; text-transform: uppercase; letter-spacing: 0.05em; color: #fff !important; }
[data-theme="rust"] .wiki-hovercard-note { border-radius: 0 !important; box-shadow: inset 0 0 0 1px var(--rs-red) !important; background: var(--rs-panel) !important; }
[data-theme="rust"] .wiki-default-hero div[style*="wiki-motion-float"] {
  border-radius: 0 !important;
  transform: none !important;
  animation: none !important;
  background: var(--rs-panel) !important;
  padding: 8px !important;
  box-shadow: inset 0 0 0 1px rgba(247, 235, 225, 0.14), 0 30px 60px -30px rgba(0, 0, 0, 0.95) !important;
  position: relative;
}
[data-theme="rust"] .wiki-default-hero div[style*="wiki-motion-float"]::before {
  content: "";
  position: absolute;
  left: 8px;
  right: 8px;
  top: -6px;
  height: 6px;
  background: var(--rs-stripes);
}
[data-theme="rust"] .wiki-default-hero div[style*="wiki-motion-float"] * { border-radius: 0 !important; }
[data-theme="rust"] .wiki-news-row { border-radius: 0 !important; border: 0 !important; border-bottom: 1px solid var(--rs-line) !important; background: transparent !important; }
[data-theme="rust"] .wiki-news-row:hover { background: rgba(178, 57, 37, 0.1) !important; }
[data-theme="rust"] .wgt-acc-item { border-radius: 0 !important; border: 1px solid var(--rs-line) !important; background: var(--rs-panel) !important; }
[data-theme="rust"] .wgt-acc-q { font-family: var(--rs-cond) !important; font-weight: 700 !important; text-transform: uppercase; letter-spacing: 0.03em; }
@media (max-width: 1023px) {
  [data-theme="rust"] .wiki-sidebar[data-mobile-open="true"] { background: #0e0d0b url(/images/rust/grain.webp) repeat !important; background-size: 128px !important; }
  [data-theme="rust"] .wiki-mobile-navstrip, [data-theme="rust"] .wk-fbar-plate { background: rgba(10, 9, 8, 0.96) !important; }
}
@media (max-width: 640px) {
  [data-theme="rust"] h1.wgt-heading, [data-theme="rust"] h1.wiki-heading, [data-theme="rust"] .ext-gwe-dossier-banner h1 { font-size: 40px !important; }
  [data-theme="rust"] .wiki-default-title, [data-theme="rust"] .wiki-default-title h1 { font-size: 64px !important; }
  [data-theme="rust"] .ds-table-cards .ds-card-art { min-width: 72px !important; }
  [data-theme="rust"] .ds-table-card-title { font-size: 17px !important; }
  [data-theme="rust"] .wgt-text { font-size: 16px !important; }
}
@media (prefers-reduced-motion: reduce) {
  [data-theme="rust"] .ds-card { transition: none; }
  [data-theme="rust"] .ds-card--link:hover { transform: none; }
}
:scope:has([data-theme="rust"]), [data-theme="rust"] {
  --font-nunito: "wk-font-rust-sans", Roboto, system-ui, sans-serif !important;
  --font-fredoka: "wk-font-rust-condensed", "Roboto Condensed", "Arial Narrow", sans-serif !important;
  --ds-font-display: "wk-font-rust-condensed", "Roboto Condensed", "Arial Narrow", sans-serif !important;
  --wiki-accent: #cd412b !important;
}
[data-theme="rust"] .wgt-card, [data-theme="rust"] .wk-eq-card, [data-theme="rust"] .ds-segment, [data-theme="rust"] .ds-segment-btn,
[data-theme="rust"] .pn-latest-main, [data-theme="rust"] .pn-latest-art, [data-theme="rust"] .pn-cta,
[data-theme="rust"] [class*="ext-gwe-craft"] input, [data-theme="rust"] [class*="ext-gwe-craft"] button { border-radius: 2px !important; }
@media (max-width: 640px) {
  [data-theme="rust"] .ds-pill, [data-theme="rust"] .ds-btn--sm, [data-theme="rust"] .ds-segment-btn { min-height: 40px !important; }
}
[data-theme="rust"] .wk-ftab-text, [data-theme="rust"] .ds-navstrip-wordmark-accent, [data-theme="rust"] .site-footer-brand-accent { font-family: var(--rs-cond) !important; }
[data-theme="rust"] [class*="ds-lfooter"], [data-theme="rust"] [class*="site-footer"]:not(.site-footer-brand-accent) { font-family: var(--rs-sans) !important; }
[data-theme="rust"] [class*="ext-gwe-calc-"] { border-radius: 2px !important; }
[data-theme="rust"] .wgt-box--panel, [data-theme="rust"] .wgt-card-art, [data-theme="rust"] .ds-thumb { border-radius: 2px !important; }
:scope[data-lua-busy] [data-theme="rust"] .wiki-page-body :is(.wgt-box--panel:has(.wgt-text--big), .ds-table-wrap) { opacity: 0.45 !important; transition: none !important; }
[data-theme="rust"] .ds-table-card-heading { flex-direction: column !important; align-items: flex-start !important; gap: 2px !important; }
[data-theme="rust"] .ds-table-card-title {
  -webkit-line-clamp: 3 !important; line-clamp: 3 !important;
  overflow-wrap: normal !important; word-break: normal !important; hyphens: manual !important;
  max-width: 100% !important;
}
[data-theme="rust"] .ds-card-stat { white-space: nowrap; }
[data-theme="rust"] .ext-gwe-recipe-name {
  -webkit-line-clamp: unset !important; line-clamp: unset !important; display: block !important; overflow: visible !important;
  overflow-wrap: normal !important; word-break: normal !important; hyphens: auto;
}
[data-theme="rust"] .ds-dropdown-name { white-space: normal !important; overflow: visible !important; text-overflow: clip !important; line-height: 1.2 !important; }
[data-theme="rust"] .wgt-box-chapter-title { line-height: 1.35 !important; padding-bottom: 2px !important; overflow: visible !important; }
[data-theme="rust"] .wgt-text--kicker, [data-theme="rust"] .ds-label { overflow-wrap: break-word !important; hyphens: auto !important; }
[data-theme="rust"] .ds-label.truncate { white-space: normal !important; text-overflow: clip !important; }
[data-theme="rust"] .ds-search input { border: 0 !important; box-shadow: none !important; background: transparent !important; outline: none; }
[data-theme="rust"] input.ds-well { box-shadow: none !important; }
[data-theme="rust"]:lang(ja), [data-theme="rust"] :lang(ja) { line-break: strict; }
[data-theme="rust"] img[src*="npc-"] {
  -webkit-mask-image: linear-gradient(to bottom, #000 72%, transparent 98%), linear-gradient(to right, transparent 0, #000 7%, #000 93%, transparent 100%);
  -webkit-mask-composite: source-in; mask-image: linear-gradient(to bottom, #000 72%, transparent 98%), linear-gradient(to right, transparent 0, #000 7%, #000 93%, transparent 100%);
  mask-composite: intersect;
}
[data-theme="rust"] ~ .ci-pill, .ci-pill { font-size: 0 !important; gap: 0 !important; padding: 9px !important; opacity: 0.85; }
.ci-pill svg { width: 16px !important; height: 16px !important; }
@media (max-width: 640px) {
  [data-theme="rust"] .ext-gwe-dossier-icon { align-self: center !important; }
  [data-theme="rust"] .wgt-tabs { flex-wrap: wrap !important; overflow: visible !important; row-gap: 4px; }
  [data-theme="rust"] .wgt-tabs .wgt-tab { flex: 0 0 auto; }
}
@media (max-width: 640px) {
  [data-theme="rust"] .ds-table-cards .ds-card { grid-template-columns: 84px minmax(0, 1fr) !important; }
  [data-theme="rust"] .ds-table-cards .ds-card-art { min-width: 84px !important; border: 0 !important; display: flex !important; align-items: center; justify-content: center; }
  [data-theme="rust"] .ds-table-cards .ds-card-art img { width: 76px !important; height: 76px !important; border: 0 !important; }
}
[data-theme="rust"] .wgt-box--panel:has(> section > .wgt-text--kicker) { justify-content: space-between !important; }
[data-theme="rust"] .wiki-hovertile, [data-theme="rust"] .wiki-hovertile * { overflow-wrap: normal !important; word-break: normal !important; hyphens: auto !important; }
[data-theme="rust"] .wiki-hovertile .wgt-text { letter-spacing: 0.02em !important; }
.ext-tm-embed, [data-theme="rust"] .ext-tm-embed { --tm-accent: #cd412b !important; }
[data-theme="rust"] .wgt-text--kicker, [data-theme="rust"] .ds-label { overflow-wrap: normal !important; word-break: normal !important; hyphens: auto !important; letter-spacing: 0.06em !important; }
[data-theme="rust"] .ds-table tbody td[data-sticky] { background: #1c1a17 !important; }
[data-theme="rust"] .ds-table tbody tr:nth-child(even) td[data-sticky] { background: #211f1c !important; }
[data-theme="rust"] .ds-table th { white-space: normal !important; }
[data-theme="rust"] .ext-gwe-recipe-metalabel::after { content: " \00B7"; opacity: 0.7; }
@media (min-width: 641px) {
  [data-theme="rust"] .ds-table-cards .ds-card:has(.ds-card-flag) .ds-card-art img { padding-top: 24px !important; box-sizing: border-box !important; }
}
@media (max-width: 640px) {
  [data-theme="rust"] .ext-gwe-dossier-render { align-self: center !important; }
  [data-theme="rust"] .ds-catalog-chips {
    margin-inline: -16px !important; padding-inline: 16px !important;
    -webkit-mask-image: linear-gradient(to right, transparent 0, #000 16px, #000 calc(100% - 16px), transparent 100%);
    mask-image: linear-gradient(to right, transparent 0, #000 16px, #000 calc(100% - 16px), transparent 100%);
  }
}
[data-theme="rust"] .ds-table-card-title { white-space: normal !important; overflow: visible !important; text-overflow: clip !important; -webkit-line-clamp: unset !important; display: block !important; }
[data-theme="rust"] .ds-segment-label { white-space: normal !important; overflow: visible !important; text-overflow: clip !important; }
[data-theme="rust"] .ext-gwe-card-list-chip { white-space: normal !important; max-width: 100% !important; }
[data-theme="rust"] .ext-gwe-card-list span.shrink-0:has(> .ext-gwe-card-list-chip) { flex-shrink: 1 !important; min-width: 0 !important; }
}
