/* Shared optional dark theme. Only explicitly opted-in public pages load this sheet.
   No image filters, layout replacement, game-data changes or runtime colour scanning.
   Surface, input, result and warning colours remain distinct in both themes. */
/* Keep header alignment when a long page creates its vertical scrollbar. */
html[data-site-theme] { scrollbar-gutter:stable; }
/* Reserve navigation slots while the display font loads. */
html[data-site-theme] .mapleSiteHeader--enhanced .siteLanguageSwitcher a { width:30px; }
html[data-site-theme] .mapleSiteHeader--enhanced .siteNavigation__toggle { width:120px; }
@media(min-width:900px) {
  html[data-site-theme] .mapleSiteHeader--enhanced .mapleSiteHeader__shell { gap:12px; }
  html[data-site-theme] .mapleSiteHeader--enhanced .siteNavigation__primary { display:grid;grid-template-columns:162px 148px 262px; }
  html[data-site-theme] .mapleSiteHeader--enhanced .siteNavigation__groupButton { width:100%; }
}
@media(min-width:900px) and (max-width:1100px) {
  html[data-site-theme] .mapleSiteHeader--enhanced .mapleSiteHeader__shell { gap:8px; }
  html[data-site-theme] .mapleSiteHeader--enhanced .mapleSiteHeader__nav { gap:8px; }
  html[data-site-theme] .mapleSiteHeader--enhanced .siteNavigation__primary { grid-template-columns:130px 130px 222px; }
  html[data-site-theme] .mapleSiteHeader--enhanced .siteNavigation__groupButton { padding-inline:10px;font-size:14px; }
  html[data-site-theme] .mapleSiteHeader--enhanced .siteNavigation__youtubeBadge { font-size:12px; }
}
@media(max-width:1100px) {
  html[data-site-theme] .mapleSiteHeader--enhanced .siteNavigation__toggle { width:98px;padding-inline:8px;font-size:14px; }
}
:is(body.home-v2,body.ui-maple-v2) .siteThemeToggle {
  box-sizing:border-box;
  display:inline-flex;
  flex:0 0 auto;
  width:118px;
  align-items:center;
  justify-content:center;
  gap:7px;
  min-width:42px;
  min-height:42px;
  margin:0;
  padding:8px 10px;
  border:1px solid #c7ad88;
  border-radius:9px;
  background:#fffaf0;
  color:#493d32;
  font-size:13px;
  font-weight:700;
  line-height:1.25;
  white-space:nowrap;
  cursor:pointer;
}
:is(body.home-v2,body.ui-maple-v2) .siteThemeToggle:hover {
  background:#f3e7d0;
  border-color:#9d4524;
}
:is(body.home-v2,body.ui-maple-v2) .siteThemeToggle:focus-visible {
  outline:3px solid #9d4524;
  outline-offset:3px;
}
.siteThemeToggle__icon { display:block;width:19px;height:19px;flex:0 0 19px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round; }
@media(max-width:1100px) {
  :is(body.home-v2,body.ui-maple-v2) :is(.mapleSiteHeader__shell,.infoHeaderInner)>.siteThemeToggle { width:42px;padding:8px; }
  :is(.mapleSiteHeader__shell,.infoHeaderInner)>.siteThemeToggle .siteThemeToggle__label {
    position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;
    clip-path:inset(50%);white-space:nowrap;border:0;
  }
}
/* The navigation keeps its second row; the new control belongs to the first.
   The brand may use the remaining space on narrow phones without cropping it. */
@media(max-width:899px) {
  .mapleSiteHeader--enhanced .mapleSiteHeader__shell:has(>.siteThemeToggle) {
    grid-template-columns:minmax(0,1fr) auto 42px auto;
    column-gap:6px;
  }
  .mapleSiteHeader--enhanced .mapleSiteHeader__shell:has(>.siteThemeToggle)>.mapleSiteHeader__brand {
    width:min(114px,100%);
    min-width:0;
  }
  .mapleSiteHeader--enhanced .mapleSiteHeader__shell:has(>.siteThemeToggle)>.siteThemeToggle {
    grid-column:3;
    grid-row:1;
    align-self:center;
    justify-self:center;
  }
  .mapleSiteHeader--enhanced .mapleSiteHeader__shell:has(>.siteThemeToggle) :is(.siteNavigation__toggle,.siteNavigation__fallback) {
    grid-column:4;
    grid-row:1;
  }
}
@media(max-width:420px) {
  body.ui-maple-info .infoHeaderInner:has(>.siteThemeToggle) {gap:6px}
  body.ui-maple-info .infoHeaderInner:has(>.siteThemeToggle)>.infoBrand {width:86px;height:76px;flex:0 1 86px}
  body.ui-maple-info .infoHeaderInner:has(>.siteThemeToggle)>.infoHome {font-size:13px}
}
html[data-site-theme="dark"]:has(>body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan)) {
  color-scheme:dark;
  background:#17191b !important;
}
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) {
  --maple-page:#17191b;
  --maple-surface:#222326;
  --maple-panel:#2c2b2c;
  --maple-line:#62584e;
  --maple-text:#eee6db;
  --maple-muted:#c5b8a8;
  --maple-accent:#f0ae7d;
  --maple-positive:#b2cf8b;
  --maple-purple:#d3b5e7;
  --maple-intro-shadow:#000000;
  --bg:var(--maple-page);--outer:var(--maple-page);--page:var(--maple-surface);
  --panel:var(--maple-surface);--panel2:var(--maple-panel);--panel-2:var(--maple-panel);--card:var(--maple-surface);
  --text:var(--maple-text);--muted:var(--maple-muted);--muted2:#b1a698;
  --line:var(--maple-line);--line2:#75685c;
  --accent:var(--maple-accent);--cyan:#9cd4d9;--mint:var(--maple-positive);
  --gold:#edc67f;--green:var(--maple-positive);--red:#ffb0a7;--violet:#d3b5e7;
  --ui-bg:var(--maple-page);--ui-panel:var(--maple-surface);--ui-panel2:var(--maple-panel);
  --ui-line:var(--maple-line);--ui-text:var(--maple-text);--ui-muted:var(--maple-muted);
  --ui-cyan:var(--maple-accent);--ui-gold:#edc67f;
  --skill-bg:var(--maple-page);--skill-panel:var(--maple-surface);--skill-panel-strong:var(--maple-panel);
  --skill-line:var(--maple-line);--skill-line-soft:#49433d;--skill-text:var(--maple-text);--skill-muted:var(--maple-muted);
  --skill-accent:var(--maple-accent);--skill-accent-soft:#493124;--skill-gold:#edc67f;
  --skill-green:var(--maple-positive);--skill-purple:#d3b5e7;--skill-red:#ffb0a7;
  --jt-bg:var(--maple-page);--jt-panel:var(--maple-surface);--jt-panel-2:var(--maple-panel);
  --jt-line:var(--maple-line);--jt-line-soft:#49433d;--jt-text:var(--maple-text);--jt-muted:var(--maple-muted);
  --jt-cyan:var(--maple-accent);--jt-gold:#edc67f;--jt-mint:var(--maple-positive);--jt-red:#ffb0a7;
  background:var(--maple-page) !important;
  color:var(--maple-text) !important;
  color-scheme:dark;
  scrollbar-color:#75685c #222326;
}


/* assets/home-v2.css: existing component paint, with dark surface/text/status pairs. */
html[data-site-theme="dark"] body.home-v2 {
  background: #2c2b2c;
  background-image: radial-gradient(rgba(55,51,50,0.302) .8px,transparent .8px);
  color: #eee6db;
}
html[data-site-theme="dark"] .home-v2 :is(a,button,summary):focus-visible {
  outline: 3px solid #a57958;
}
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .home-intro {
  border: 2px solid #62584e;
  background: #222326;
  box-shadow: 0 5px 0 #000000,0 9px 20px rgba(0,0,0,0.051);
}
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .home-intro-copy {
  background: #222326;
}
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .home-eyebrow {
  border: 1px solid #8a7149;
  background: #2c2b2c;
  color: #eee6db;
}
html[data-site-theme="dark"] .home-v2 h1 span {
  color: #f0ae7d;
}
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .home-intro p {
  color: #c5b8a8;
}
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .home-intro-copy>a {
  border: 1px solid #a57958;
  background: linear-gradient(#493124,#493124);
  box-shadow: inset 0 1px #000000,0 3px #000000;
  color: #eee6db;
}
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .home-intro-copy>a:hover {
  background: #493124;
}
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .home-hero-scene {
  background: #222326;
}
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .home-section-heading h2 {
  color: #eee6db;
}
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .home-section-heading h2:before {
  background: #493124;
  border: 1px solid #a57958;
}
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .home-section-heading p {
  color: #c5b8a8;
}
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .home-tool {
  border: 2px solid #62584e;
  background: #222326;
  box-shadow: 0 4px #000000,inset 0 4px #000000;
}
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .home-tool:hover {
  box-shadow: 0 7px #000000,inset 0 4px #000000;
}
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .home-tool--primary {
  border-color: #62584e;
  background: #222326;
  box-shadow: 0 4px #000000,inset 0 4px #000000;
}
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .home-tool-top>img {
  background: #2c2b2c;
  border: 1px solid #62584e;
  box-shadow: inset 0 2px 2px rgba(0,0,0,0.125);
}
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .home-tool-badge {
  color: #b2cf8b;
  background: #293628;
  border: 1px solid #637c52;
}
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .home-tool h3 {
  color: #eee6db;
}
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .home-tool p {
  color: #c5b8a8;
}
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .home-tool-action {
  color: #f0ae7d;
}
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .home-tool-action b {
  border: 1px solid #62584e;
  background: #2c2b2c;
  color: #c5b8a8;
}
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .home-secondary-tools {
  color: #c5b8a8;
}
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .home-secondary-tools a:hover {
  color: #f0ae7d;
}
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) #library h2:before {
  background: #293628;
  border-color: #637c52;
}
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .home-library-group {
  border: 1px solid #62584e;
  background: #222326;
}
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .home-library-group:first-child {
  background: #293628;
  border-color: #637c52;
}
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .home-library-group>h3 {
  color: #eee6db;
}
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .home-library-group:first-child>h3 {
  color: #b2cf8b;
}
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .home-directory a {
  border: 1px solid #49433d;
  background: #2c2b2c;
  box-shadow: inset 0 1px #000000;
}
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .home-directory a:hover {
  background: #2c2b2c;
  border-color: #62584e;
}
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .home-directory img {
  border: 1px solid #49433d;
  background: #222326;
}
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .home-directory strong {
  color: #eee6db;
}
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .home-directory span {
  color: #c5b8a8;
}
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .home-guide {
  border: 1px solid #62584e;
  background: #222326;
  box-shadow: 0 3px #000000;
}
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .home-guide summary {
  background: linear-gradient(#222326,#2c2b2c);
}
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .home-guide summary:after {
  color: #c5b8a8;
}
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .home-guide[open] summary {
  border-bottom: 1px dashed #62584e;
}
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .home-guide summary>span {
  color: #eee6db;
  background: #2c2b2c;
}
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .home-guide summary strong {
  color: #eee6db;
}
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .home-guide summary:hover {
  background: #2c2b2c;
}
html[data-site-theme="dark"] .home-guide-body {
  color: #eee6db;
}
html[data-site-theme="dark"] .home-guide-body a {
  color: #f0ae7d;
}
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .homeUpdateBox {
  border: 1px solid #62584e;
  background: #222326;
  box-shadow: 0 3px #000000;
}
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .homeUpdateRow {
  border-bottom: 1px dashed #49433d;
}
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .homeUpdateDate {
  color: #c5b8a8;
}
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .homeUpdateText {
  color: #c5b8a8;
}
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .home-about {
  border: 1px solid #62584e;
  background: #2c2b2c;
  box-shadow: 0 3px #000000;
}
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .home-about h2 {
  color: #b2cf8b;
}
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .home-about p {
  color: #b2cf8b;
}
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .home-about a {
  color: #b2cf8b;
}
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .home-contact {
  border: 1px solid #62584e;
  background: #222326;
  box-shadow: 0 3px #000000;
}
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .home-contact strong {
  color: #eee6db;
}
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .home-contact p {
  color: #c5b8a8;
}
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .home-contact button {
  border: 1px solid #62584e;
  background: linear-gradient(#373332,#3b3223);
  box-shadow: 0 2px #000000,inset 0 1px #000000;
  color: #eee6db;
}
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .home-contact button:hover {
  background: #3b3223;
}

/* assets/site-header.css: existing component paint, with dark surface/text/status pairs. */
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .mapleSiteHeader {
  color: #eee6db;
  background: #222326;
  border-bottom: 3px solid #62584e;
  box-shadow: 0 3px 0 rgba(0,0,0,0.09);
}
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .mapleSiteHeader__nav>.mapleSiteHeader__tab {
  border: 1px solid #62584e;
  color: #eee6db;
  background: #222326;
}
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .mapleSiteHeader__tab--active {
  color: #b2cf8b;
  background: #293628;
  box-shadow: inset 0 0 0 1px #000000;
}
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .mapleSiteHeader.mapleSiteHeader--enhanced {
  background: #222326;
  border-bottom: 3px solid #62584e;
  box-shadow: 0 3px 0 rgba(0,0,0,0.09);
  color: #eee6db;
}
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .mapleSiteHeader--enhanced .siteNavigation__groupButton,
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .mapleSiteHeader--enhanced .siteNavigation__updates,
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .mapleSiteHeader--enhanced .siteNavigation__toggle {
  border: 2px solid #62584e;
  background: linear-gradient(180deg,#222326,#2c2b2c);
  box-shadow: 0 3px 0 #000000,inset 0 1px 0 #000000;
  color: #c5b8a8;
}
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .mapleSiteHeader--enhanced .siteNavigation__youtubeBadge {
  border: 1px solid #62584e;
  background: #222326;
  color: #ffb0a7;
}
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .mapleSiteHeader--enhanced .siteNavigation__groupButton.is-current,
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .mapleSiteHeader--enhanced .siteNavigation__updates[aria-current] {
  border-color: #a57958;
  background: #2c2b2c;
  box-shadow: 0 3px 0 #000000,inset 0 1px 0 #000000;
  color: #f0ae7d;
}
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .mapleSiteHeader--enhanced .siteNavigation__groupButton[aria-expanded="true"],
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .mapleSiteHeader--enhanced .siteNavigation__toggle[aria-expanded="true"] {
  border-color: #637c52;
  background: #293628;
  box-shadow: 0 2px 0 #000000,inset 0 1px 0 #000000;
  color: #b2cf8b;
}
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .mapleSiteHeader--enhanced .siteNavigation__panel {
  border: 3px solid #62584e;
  background: #2c2b2c;
  box-shadow: 0 5px 0 #000000,0 14px 26px rgba(0,0,0,0.16),inset 0 0 0 2px #000000;
  scrollbar-color: #62584e #2c2b2c;
}
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .mapleSiteHeader--enhanced .siteNavigation__libraryHeading {
  color: #c5b8a8;
}
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .mapleSiteHeader--enhanced .siteNavigation__heading {
  border-left: 4px solid #a57958;
  color: #eee6db;
}
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .mapleSiteHeader--enhanced .siteNavigation__links>.mapleSiteHeader__tab,
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .mapleSiteHeader--enhanced .siteNavigation__link:not(.siteNavigation__updates) {
  border: 2px solid #62584e;
  background: #222326;
  box-shadow: 0 2px 0 #000000;
  color: #c5b8a8;
}
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .mapleSiteHeader--enhanced .siteNavigation__hint {
  color: #c5b8a8;
}
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .mapleSiteHeader--enhanced .siteNavigation__links>.mapleSiteHeader__tab--active,
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .mapleSiteHeader--enhanced .siteNavigation__link[aria-current]:not(.siteNavigation__updates) {
  border-color: #637c52;
  background: #293628;
  color: #b2cf8b;
  box-shadow: 0 2px 0 #000000;
}
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .mapleSiteHeader--enhanced .siteNavigation__fan {
  border-top: 2px dashed #62584e;
}
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .mapleSiteHeader--enhanced .siteNavigation__subheading {
  color: #c5b8a8;
}
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .mapleSiteHeader--enhanced a:focus-visible,
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .mapleSiteHeader--enhanced button:focus-visible {
  outline: 3px solid #a57958;
}
@media(hover:hover) {
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .mapleSiteHeader--enhanced .siteNavigation__groupButton:hover,
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .mapleSiteHeader--enhanced .siteNavigation__updates:hover,
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .mapleSiteHeader--enhanced .siteNavigation__toggle:hover,
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .mapleSiteHeader--enhanced .siteNavigation__links>.mapleSiteHeader__tab:hover,
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .mapleSiteHeader--enhanced .siteNavigation__link:not(.siteNavigation__updates):hover {
  background: #2c2b2c;
  color: #f0ae7d;
  border-color: #62584e;
}

}
@media(max-width:899px) {
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .mapleSiteHeader--enhanced .siteNavigation__current {
  color: #eee6db;
}
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .mapleSiteHeader--enhanced .siteNavigation__toggle {
  border-color: #62584e;
}
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .mapleSiteHeader--enhanced .siteNavigation__panel[data-navigation-mode="all"]>.siteNavigation__section+.siteNavigation__section {
  border-top: 2px dashed #62584e;
}
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .mapleSiteHeader--enhanced .siteNavigation__heading {
  color: #eee6db;
}

}
@media(max-width:600px) {
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .mapleSiteHeader--enhanced .siteNavigation__libraryGroup+.siteNavigation__libraryGroup {
  border-top: 1px dashed #62584e;
}

}
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .mapleSiteHeader--enhanced .siteNavigation__fallback[open]>.siteNavigation__toggle {
  border-color: #637c52;
  background: #293628;
  box-shadow: 0 2px 0 #000000,inset 0 1px 0 #000000;
  color: #b2cf8b;
}
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .mapleSiteHeader[data-site-locale="en"] .siteNavigation__languageHint {
  color: #c5b8a8;
}
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .mapleSiteHeader[data-site-locale="en"] .siteNavigation__localeNotice {
  color: #eee6db;
}

/* assets/site-language.css: existing component paint, with dark surface/text/status pairs. */
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .siteLanguageSwitcher {
  color: #eee6db;
}
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .siteLanguageSwitcher a {
  border: 1px solid #62584e;
  background: #222326;
  color: #eee6db;
}
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .siteLanguageSwitcher a[aria-current="page"],
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .siteLanguageSwitcher a[aria-current="true"] {
  border-color: #637c52;
  background: #293628;
  color: #b2cf8b;
}
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .siteLanguageSwitcher a:focus-visible,
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .siteLanguageDialog button:focus-visible {
  outline: 3px solid #a57958;
}
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .siteLanguageNotice {
  border: 1px solid #62584e;
  background: #222326;
  color: #eee6db;
}
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .siteLanguageDialog {
  border: 2px solid #62584e;
  background: #222326;
  color: #eee6db;
  box-shadow: 0 12px 40px rgba(0,0,0,0.28);
}
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .siteLanguageDialog h2 {
  color: #eee6db;
}
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .siteLanguageDialog p {
  color: #eee6db;
}
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .siteLanguageDialog button {
  border: 1px solid #62584e;
  background: #222326;
  color: #eee6db;
}
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .siteLanguageDialog button[data-site-language-action="korean"] {
  border-color: #637c52;
  background: #293628;
  color: #b2cf8b;
}

/* assets/site-maple-shell.css: existing component paint, with dark surface/text/status pairs. */
html[data-site-theme="dark"] body.home-v2 {
  background-color: #2c2b2c;
  color: #eee6db;
}
html[data-site-theme="dark"] body.ui-maple-v2 :is(input,select,textarea):disabled {
  background: #2c2b2c!important;
  color: #c5b8a8!important;
}
html[data-site-theme="dark"] body.ui-maple-v2 :is(input,select,textarea)[aria-invalid="true"] {
  border-color: #9b6260!important;
  background: #432b2d!important;
}
html[data-site-theme="dark"] body.ui-maple-v2 :is(.updateRow,.updateItem) {
  border-color: #49433d!important;
}
html[data-site-theme="dark"] body.ui-maple-data .jt-levelTable__badge {
  background: #373332;
  color: #edc67f;
}
html[data-site-theme="dark"] body.ui-maple-info .infoHeader {
  background: rgba(34,35,38,0.969);
}
html[data-site-theme="dark"] body.ui-maple-info :is(.infoToc,.infoArticle) {
  box-shadow: 0 3px 0 #000000;
}
html[data-site-theme="dark"] body.ui-maple-info .infoButton:hover {
  background: #373332;
}
html[data-site-theme="dark"] :is(body.home-v2,body.ui-maple-v2) .siteFooter {
  border-top-color: #62584e;
  background: #2c2b2c;
  color: #c5b8a8;
}
html[data-site-theme="dark"] :is(body.home-v2,body.ui-maple-v2) .siteFooter .footerContent {
  color: #c5b8a8;
}
html[data-site-theme="dark"] :is(body.home-v2,body.ui-maple-v2) .siteFooter .footerSummary {
  color: #eee6db;
}
html[data-site-theme="dark"] :is(body.home-v2,body.ui-maple-v2) .siteFooter .footerLinks span {
  color: #c5b8a8;
}
html[data-site-theme="dark"] :is(body.home-v2,body.ui-maple-v2) .siteFooter .footerLinks a {
  color: #f0ae7d;
}
html[data-site-theme="dark"] :is(body.home-v2,body.ui-maple-v2) .siteFooter .footerLinks a:hover,
html[data-site-theme="dark"] :is(body.home-v2,body.ui-maple-v2) .siteFooter .footerLinks a:focus-visible {
  color: #f0ae7d;
}
html[data-site-theme="dark"] :is(body.home-v2,body.ui-maple-v2) .siteFooter .footerRights,
html[data-site-theme="dark"] :is(body.home-v2,body.ui-maple-v2) .siteFooter .footerCopyright {
  color: #c5b8a8;
}
html[data-site-theme="dark"] :is(body.home-v2,body.ui-maple-v2) .siteFooter .footerGuild {
  color: #c5b8a8;
}
html[data-site-theme="dark"] :is(body.home-v2,body.ui-maple-v2) .siteFooter .footerGuild b {
  color: #b2cf8b;
}
html[data-site-theme="dark"] :is(body.ui-maple-v2,body.home-v2) :is(.qnaOpenBtn,.qnaSubmit) {
  background: linear-gradient(#493124,#493124)!important;
  border-color: #a57958!important;
  color: #eee6db!important;
  box-shadow: 0 2px 0 #000000!important;
}
html[data-site-theme="dark"] :is(body.ui-maple-v2,body.home-v2) :is(.qnaOpenBtn,.qnaSubmit):is(:hover,:focus-visible) {
  background: linear-gradient(#493124,#493124)!important;
  border-color: #9b6260!important;
  color: #eee6db!important;
}
html[data-site-theme="dark"] :is(body.ui-maple-v2,body.home-v2) :is(.qnaOpenBtn,.qnaSubmit):disabled {
  background: #373332!important;
  border-color: #62584e!important;
  color: #eee6db!important;
}
html[data-site-theme="dark"] :is(body.ui-maple-v2,body.home-v2) .qnaModal {
  box-shadow: 0 5px 0 #000000,0 24px 70px rgba(0,0,0,0.3)!important;
}
html[data-site-theme="dark"] :is(body.ui-maple-v2,body.home-v2) .qnaClose:is(:hover,:focus-visible) {
  background: #373332!important;
}
html[data-site-theme="dark"] :is(body.ui-maple-v2,body.home-v2) .qnaForm {
  scrollbar-color: #62584e #2c2b2c;
}
html[data-site-theme="dark"] :is(body.ui-maple-v2,body.home-v2) .qnaForm :is(select,input,textarea):focus {
  border-color: #62584e!important;
  box-shadow: 0 0 0 2px rgba(0,0,0,0.18)!important;
}
html[data-site-theme="dark"] :is(body.ui-maple-v2,body.home-v2) .qnaForm :is(select,input,textarea):disabled {
  background: #2c2b2c!important;
  border-color: #62584e!important;
  color: #c5b8a8!important;
}
html[data-site-theme="dark"] :is(body.ui-maple-v2,body.home-v2) .qnaForm :is(input,textarea):user-invalid {
  background: #432b2d!important;
  border-color: #9b6260!important;
  color: #ffb0a7!important;
}
html[data-site-theme="dark"] :is(body.ui-maple-v2,body.home-v2) .qnaForm::-webkit-scrollbar-track {
  background: #2c2b2c!important;
}
html[data-site-theme="dark"] :is(body.ui-maple-v2,body.home-v2) .qnaForm::-webkit-scrollbar-thumb {
  background: #373332!important;
}

/* assets/site-maple-data.css: existing component paint, with dark surface/text/status pairs. */
html[data-site-theme="dark"] body.ui-maple-data :is(.tableWrap,.probTableWrap,.bossDropTableWrap,.pqMonsterTableWrap,.pqDropBox,.enhDropBox) td {
  border-color: rgba(98,88,78,0.22)!important;
}
html[data-site-theme="dark"] body.ui-maple-data :is(.tableWrap,.probTableWrap,.bossDropTableWrap,.pqMonsterTableWrap) tbody tr:hover td {
  background-color: #2c2b2c!important;
}
html[data-site-theme="dark"] body.ui-maple-data .tableWrap::-webkit-scrollbar-track {
  background: #2c2b2c!important;
}
html[data-site-theme="dark"] body.ui-maple-data .tableWrap::-webkit-scrollbar-thumb {
  background: #373332!important;
  border-color: #49433d!important;
}
html[data-site-theme="dark"] body.ui-maple-data :is(.note,.raidModeCard) {
  background: #2c2b2c!important;
}
html[data-site-theme="dark"] body.ui-maple-data :is(.contentTab,.detailTab,.stageModeTab,.bossContentTab,.pqQuestTab,.equipSourceTab) {
  background: #2c2b2c!important;
}
html[data-site-theme="dark"] body.ui-maple-data :is(.contentTab,.detailTab,.stageModeTab,.bossContentTab,.pqQuestTab,.equipSourceTab):is(:hover,:focus-visible) {
  background: #373332!important;
  border-color: #62584e!important;
}
html[data-site-theme="dark"] body.ui-maple-data :is(.contentTab,.detailTab,.stageModeTab,.bossContentTab,.pqQuestTab,.equipSourceTab).active {
  background: #293628!important;
  border-color: #637c52!important;
  color: #b2cf8b!important;
}
html[data-site-theme="dark"] body.ui-maple-data .pqQuestTab.active span {
  color: #b2cf8b!important;
}
html[data-site-theme="dark"] body.ui-maple-data :is(.killPill,.rulePill,.raidStatMode) {
  background: #2c2b2c!important;
}
html[data-site-theme="dark"] body.ui-maple-data :is(.raidModeItem.single,.bossPane .singleStats,.raidStatMode.single) {
  background: #293628!important;
  border-color: #637c52!important;
}
html[data-site-theme="dark"] body.ui-maple-data :is(.raidModeBadge,.pqRewardBadge) {
  background: #2c2b2c!important;
  border-color: #62584e!important;
  color: #f0ae7d!important;
}
html[data-site-theme="dark"] body.ui-maple-data :is(.warning,.badge) {
  background: #3b3223!important;
  border-color: #8a7149!important;
  color: #edc67f!important;
}
html[data-site-theme="dark"] body.ui-maple-data :is(.pc118InformationTable,.stageTable,.worldStatsTable,.raidStatsTable,.guildRaidTable,.weaponTable,.expTable,.guildBountyTable,.guildBossTable,.guildLeagueTable) :is(.gold,.speed,.bomb) {
  color: #edc67f!important;
}
html[data-site-theme="dark"] body.ui-maple-data :is(.pc118InformationTable,.stageTable,.weaponTable,.expTable) :is(.boss,.hard) td:is(:first-child,:nth-child(2)) {
  color: #edc67f!important;
}
html[data-site-theme="dark"] body.ui-maple-data :is(.gearTable,.trainingTable,.enhanceTable,.matchTable,.trainingRegularTable,.trainingSpecialTable) :is(.gold,.speed,.bomb) {
  color: #edc67f!important;
}
html[data-site-theme="dark"] body.ui-maple-data :is(.guildBountyTable,.guildBossTable,.guildLeagueTable,.matchTable,.trainingRegularTable,.trainingSpecialTable) .pink {
  color: #ffb0a7!important;
}
html[data-site-theme="dark"] body.ui-maple-data :is(.guildBountyTable,.guildBossTable,.guildLeagueTable,.matchTable,.trainingRegularTable,.trainingSpecialTable) .orange {
  color: #f0ae7d!important;
}
html[data-site-theme="dark"] body.ui-maple-data :is(.gearTable,.trainingTable,.enhanceTable) .hard td:is(:first-child,:nth-child(2)) {
  color: #edc67f!important;
}
html[data-site-theme="dark"] body.ui-maple-data :is(.worldStatsTable,.raidStatsTable,.guildRaidTable) .infinite {
  color: #ffb0a7!important;
}
html[data-site-theme="dark"] body.ui-maple-data .bossDropCards .dropGrade {
  background: #2c2b2c!important;
  border-color: #62584e!important;
}
html[data-site-theme="dark"] body.ui-maple-data .bossDropCards .dropGrade:has(.unique,.gradeUnique) {
  background: #3b3223!important;
  border-color: #8a7149!important;
}
html[data-site-theme="dark"] body.ui-maple-data .bossDropCards .dropGrade:has(.legendary,.gradeLegendary) {
  background: #293628!important;
  border-color: #637c52!important;
}
html[data-site-theme="dark"] body.ui-maple-data .bossDropCards .dropGrade:has(.legendaryPlus,.gradeLegendaryPlus) {
  background: #293628!important;
  border-color: #637c52!important;
}
html[data-site-theme="dark"] body.ui-maple-data .bossDropCards .dropGrade :is(.gSub,.gradeTier) {
  color: #eee6db!important;
}
html[data-site-theme="dark"] body.ui-maple-data .bossDropCards .dropGrade :is(.unique,.gradeUnique) {
  color: #edc67f!important;
}
html[data-site-theme="dark"] body.ui-maple-data .bossDropCards .dropGrade :is(.legendary,.gradeLegendary) {
  color: #b2cf8b!important;
}
html[data-site-theme="dark"] body.ui-maple-data .bossDropCards .dropGrade :is(.legendaryPlus,.gradeLegendaryPlus) {
  color: #b2cf8b!important;
}
html[data-site-theme="dark"] body.ui-maple-data .bossDropPane h3 {
  background: #2c2b2c!important;
}
html[data-site-theme="dark"] body.ui-maple-data :is(.dropChance .burn,.pqRateTable .burn,.pqBurning) {
  color: #edc67f!important;
}
html[data-site-theme="dark"] body.ui-maple-data .pqMonsterTable .bossStat {
  color: #edc67f!important;
}
html[data-site-theme="dark"] body.ui-maple-data :is(.pqLine,.lineProb) {
  background: #2c2b2c!important;
}
html[data-site-theme="dark"] body.ui-maple-data .pqLine:nth-child(1) strong {
  color: #c5b8a8!important;
}
html[data-site-theme="dark"] body.ui-maple-data :is(.pqLine:nth-child(2),.pqLine:nth-child(3)) strong {
  color: #a8cbed!important;
}
html[data-site-theme="dark"] body.ui-maple-data .pqLine:nth-child(4) strong {
  color: #d3b5e7!important;
}
html[data-site-theme="dark"] body.ui-maple-data .pqHighlight {
  background: #293628!important;
  border-color: #637c52!important;
  color: #b2cf8b!important;
}
html[data-site-theme="dark"] body.ui-maple-data .pqWaveTable .phaseHead.mob {
  background: #293628!important;
  color: #b2cf8b!important;
}
html[data-site-theme="dark"] body.ui-maple-data .pqWaveTable .phaseHead.wave2 {
  background: #2c2b2c!important;
  color: #edc67f!important;
}
html[data-site-theme="dark"] body.ui-maple-data .pqWaveTable .phaseHead.wave3 {
  background: #352d40!important;
  color: #d3b5e7!important;
}
html[data-site-theme="dark"] body.ui-maple-data :is(.levelHint,.sourceHint) {
  color: #f0ae7d!important;
}
html[data-site-theme="dark"] body.ui-maple-data :is(.plus,.special b,.specialProbTitle) {
  color: #edc67f!important;
}
html[data-site-theme="dark"] body.ui-maple-data .starPill {
  background: #2c2b2c!important;
}
html[data-site-theme="dark"] body.ui-maple-data :is(.special,.specialProbTag,.fixedBadge,.subopt.fixedOption) {
  background: #2c2b2c!important;
  border-color: #62584e!important;
  color: #edc67f!important;
}
html[data-site-theme="dark"] body.ui-maple-data .probTable .zero {
  color: #eee6db!important;
}
html[data-site-theme="dark"] body.ui-maple-data .probTable .mid {
  color: #edc67f!important;
}
html[data-site-theme="dark"] body.ui-maple-data .cselect-menu {
  box-shadow: 0 10px 24px rgba(0,0,0,0.18)!important;
}
html[data-site-theme="dark"] body.ui-maple-data .cselect-item {
  border-color: #49433d!important;
}
html[data-site-theme="dark"] body.ui-maple-data .cselect-item:hover {
  background: #2c2b2c!important;
}
html[data-site-theme="dark"] body.ui-maple-data .cselect-item.active {
  background: #293628!important;
  color: #b2cf8b!important;
}
html[data-site-theme="dark"] body.ui-maple-data .cselect-item.active:hover {
  background: #293628!important;
}
html[data-site-theme="dark"] body.ui-maple-data .levelStep button {
  background: #2c2b2c!important;
}
html[data-site-theme="dark"] body.ui-maple-data .levelStep button:active {
  background: #293628!important;
  color: #b2cf8b!important;
}
html[data-site-theme="dark"] body.ui-maple-data .guideNum {
  background: #373332!important;
  border-color: #62584e!important;
  color: #eee6db!important;
}
html[data-site-theme="dark"] body.ui-maple-data :is(.gearGuideBadge,.guideChip) {
  background: #2c2b2c!important;
  border-color: #62584e!important;
  color: #eee6db!important;
}
html[data-site-theme="dark"] body.ui-maple-data :is(.guideCard .warn,.guideChip.crit,.misconceptionItem .focus) {
  color: #edc67f!important;
}
html[data-site-theme="dark"] body.ui-maple-data .guideChip.skill {
  color: #a8cbed!important;
}
html[data-site-theme="dark"] body.ui-maple-data .exceptionCard {
  background: #2c2b2c!important;
  border-color: #62584e!important;
}
html[data-site-theme="dark"] body.ui-maple-data .exceptionCard h3 {
  color: #edc67f!important;
}
html[data-site-theme="dark"] body.ui-maple-data .guideMisconceptions {
  background: #2c2b2c!important;
  border-color: #62584e!important;
}
html[data-site-theme="dark"] body.ui-maple-data .guideMisconceptions h3 {
  color: #f0ae7d!important;
}
html[data-site-theme="dark"] body.ui-maple-data .guideMisconceptions h3::before {
  background: #2c2b2c!important;
  border-color: #62584e!important;
  color: #f0ae7d!important;
}
html[data-site-theme="dark"] body.ui-maple-data :is(.guideCard:not(:last-child)::after,.gearGuideFlow>.guideOptionBox::before) {
  background: linear-gradient(90deg,#373332,#373332,#373332)!important;
}
html[data-site-theme="dark"] body.ui-maple-data .guideSectionLabel::before {
  background: #493124!important;
}
html[data-site-theme="dark"] body.ui-maple-data :is(.skillSetupStep,.skillResultHeader,.skillFinalBoard,.skillCard,.finalSkillCard,.masteryCard,.masteryCard--main) {
  box-shadow: 0 3px 0 rgba(0,0,0,0.1)!important;
}
html[data-site-theme="dark"] body.ui-maple-data :is(.skillNotice,.characterLevelField,.skillBonusField,.skillBonusField--all,.skillLevelFormula,.skillResultsLoading,.skillNoScript,.finalSkillColumn,.finalAggregate,.skillTreeNav,.skillTreeSection__heading,.skillTreeColumn,.skillCard__levelLine,.coefficientFlow__branch,.finalEffectList li,.effectList li,.operationList li) {
  background: #2c2b2c!important;
}
html[data-site-theme="dark"] body.ui-maple-data :is(.jobCard,.skillResetButton) {
  background: #2c2b2c!important;
}
html[data-site-theme="dark"] body.ui-maple-data :is(.jobCard,.skillResetButton):is(:hover,:focus-visible) {
  background: #2c2b2c!important;
}
html[data-site-theme="dark"] body.ui-maple-data .jobCard[aria-pressed="true"] {
  background: #293628!important;
  border-color: #637c52!important;
  color: #b2cf8b!important;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,0.2),0 0 16px rgba(0,0,0,0.1)!important;
}
html[data-site-theme="dark"] body.ui-maple-data .jobCard[aria-pressed="true"] small {
  color: #b2cf8b!important;
}
html[data-site-theme="dark"] body.ui-maple-data :is(.jobCard img,.skillResultHeader img,.finalCompactAttack img,.finalSkillCard__head img,.skillCard__icon img,.masteryCard img) {
  background: #2c2b2c!important;
}
html[data-site-theme="dark"] body.ui-maple-data .numberField {
  border-color: #62584e!important;
}
html[data-site-theme="dark"] body.ui-maple-data .numberField:focus-within {
  border-color: #62584e!important;
  box-shadow: 0 0 0 3px rgba(0,0,0,0.15)!important;
}
html[data-site-theme="dark"] body.ui-maple-data .skillTreeRoot--future :is(.skillCard,.masteryCard) {
  background: #2c2b2c!important;
  border-color: #62584e!important;
}
html[data-site-theme="dark"] body.ui-maple-data .skillTreeRoot--future .masteryCard--main {
  border-color: #62584e!important;
}
html[data-site-theme="dark"] body.ui-maple-data .skillLevelFormula--locked {
  background: #2c2b2c!important;
  border-color: #62584e!important;
}
html[data-site-theme="dark"] body.ui-maple-data .skillResultFact {
  background: #2c2b2c!important;
}
html[data-site-theme="dark"] body.ui-maple-data .skillResultPassive {
  background: #293628!important;
  border-color: #637c52!important;
}
html[data-site-theme="dark"] body.ui-maple-data .skillResultPassive span {
  background: #293628!important;
  color: #b2cf8b!important;
}
html[data-site-theme="dark"] body.ui-maple-data :is(.skillFinalBoard__heading>strong,.finalAggregate span,.skillLevelGain,.enhancementBranch,.masteryCard__state) {
  background: #2c2b2c!important;
  border-color: #62584e!important;
  color: #eee6db!important;
}
html[data-site-theme="dark"] body.ui-maple-data :is(.finalSkillColumn__head>strong,.skillTreeColumn__head>span) {
  background: rgba(34,35,38,0.65)!important;
}
html[data-site-theme="dark"] body.ui-maple-data :is(.finalCompactAttack,.finalAggregate--damage,.damageEquation__row,.damageEquation__sum,.damageEquation__split,.coefficientFlow__result,.coefficientFlow__sum,.coefficientFlow__split,.coefficientFlow--empty,.coefficientFlow__unresolved) {
  background: #2c2b2c!important;
  border-color: #9b6260!important;
}
html[data-site-theme="dark"] body.ui-maple-data :is(.finalCompactDamageLine>span,.finalCompactDamageLine p,.finalCompactDamageLine i,.finalCompactDamageSum span,.damageEquation__row>span,.damageEquation__row i,.damageEquation__row small,.damageEquation__sum span,.damageEquation__split,.damageEquation__empty,.coefficientFlow__result>span,.coefficientFlow__result i,.coefficientFlow__sum span,.coefficientFlow__split,.coefficientFlow--empty,.coefficientFlow__unresolved) {
  color: #ffb0a7!important;
}
html[data-site-theme="dark"] body.ui-maple-data :is(.finalCompactDamageLine b,.finalCompactDamageSum b,.damageEquation__row em,.damageEquation__sum strong,.coefficientFlow__result em,.coefficientFlow__sum strong) {
  color: #ffb0a7!important;
}
html[data-site-theme="dark"] body.ui-maple-data :is(.finalCompactAttack--base,.finalAggregate--mastery,.masteryImpact,.localBonusLine span,.damageFinalDamage span,.pendingMissionNote,.commonMasteryRoot,.currentLevelMarker,.coefficientFlow__applied,.skillClientNote) {
  background: #3b3223!important;
  border-color: #8a7149!important;
  color: #edc67f!important;
}
html[data-site-theme="dark"] body.ui-maple-data :is(.finalCompactAttack__name em,.masteryImpact>strong,.masteryImpact b,.localBonusLine b,.damageFinalDamage b,.damageFinalDamage strong,.commonMasteryRoot strong,.coefficientFlow__applied strong,.coefficientFlow__applied b,.skillCard__fixedNote,.effectList .effectWarning,.operationList .effectWarning) {
  color: #edc67f!important;
}
html[data-site-theme="dark"] body.ui-maple-data :is(.masteryImpact span,.damageFinalDamage span,.coefficientFlow__applied span) {
  color: #eee6db!important;
}
html[data-site-theme="dark"] body.ui-maple-data .masteryImpact--none {
  background: #2c2b2c!important;
}
html[data-site-theme="dark"] body.ui-maple-data .finalSkillDetails {
  background: rgba(55,51,50,0.06)!important;
}
html[data-site-theme="dark"] body.ui-maple-data .skillTreeNav a:is(:hover,:focus-visible) {
  background: #373332!important;
}
html[data-site-theme="dark"] body.ui-maple-data .skillTreeColumn__rail::before {
  background: linear-gradient(180deg,var(--tree-accent,#b85028),rgba(55,51,50,0.2))!important;
}
html[data-site-theme="dark"] body.ui-maple-data .skillSubtree>*::before {
  background: #373332!important;
}
html[data-site-theme="dark"] body.ui-maple-data .masteryBranchNode__children>.masteryBranchNode::before {
  background: #352d40!important;
}
html[data-site-theme="dark"] body.ui-maple-data .skillTimeline::before {
  background: linear-gradient(180deg,#373332,#373332 75%,rgba(55,51,50,0.15))!important;
}
html[data-site-theme="dark"] body.ui-maple-data .timelineLevel span {
  background: #2c2b2c!important;
  border-color: #62584e!important;
  color: #c5b8a8!important;
}
html[data-site-theme="dark"] body.ui-maple-data .timelineNode--future .timelineLevel span {
  background: #2c2b2c!important;
  border-color: #62584e!important;
  color: #c5b8a8!important;
}
html[data-site-theme="dark"] body.ui-maple-data .currentLevelMarker::before {
  background: #373332!important;
}
html[data-site-theme="dark"] body.ui-maple-data :is(.skillCard__step,.skillBadge) {
  background: #2c2b2c!important;
  border-color: #62584e!important;
  color: #eee6db!important;
}
html[data-site-theme="dark"] body.ui-maple-data .skillBadge--active {
  background: #28333e!important;
  color: #a8cbed!important;
}
html[data-site-theme="dark"] body.ui-maple-data .skillBadge--passive {
  background: #352d40!important;
  color: #d3b5e7!important;
}
html[data-site-theme="dark"] body.ui-maple-data .skillBadge--attack {
  background: #432b2d!important;
  color: #ffb0a7!important;
}
html[data-site-theme="dark"] body.ui-maple-data .skillBadge--base {
  background: #2c2b2c!important;
  color: #edc67f!important;
}
html[data-site-theme="dark"] body.ui-maple-data .skillBadge--mission {
  background: #293628!important;
}
html[data-site-theme="dark"] body.ui-maple-data .coefficientFlow__formula>span {
  background: #222326!important;
}
html[data-site-theme="dark"] body.ui-maple-data :is(.jt-card,.jt-priority,.jt-levelHero) {
  box-shadow: 0 3px 0 rgba(0,0,0,0.1)!important;
}
html[data-site-theme="dark"] body.ui-maple-data :is(.jt-card__head,.jt-priority__step,.jt-offlineBox,.jt-kpi,.jt-rateTrace,.jt-timeCard,.jt-formula) {
  background: #2c2b2c!important;
}
html[data-site-theme="dark"] body.ui-maple-data :is(.jt-mode button,.jt-jump button,.jt-levelRanges button) {
  background: #2c2b2c!important;
}
html[data-site-theme="dark"] body.ui-maple-data :is(.jt-mode button,.jt-levelRanges button):is(:hover,:focus-visible) {
  background: #373332!important;
  border-color: #62584e!important;
}
html[data-site-theme="dark"] body.ui-maple-data :is(.jt-mode button[aria-pressed="true"],.jt-levelRanges button.is-active) {
  background: #293628!important;
  border-color: #637c52!important;
  color: #b2cf8b!important;
  box-shadow: 0 0 0 1px rgba(0,0,0,0.12)!important;
}
html[data-site-theme="dark"] body.ui-maple-data :is(.jt-field input,.jt-field select,.jt-jump input) {
  border-color: #62584e!important;
}
html[data-site-theme="dark"] body.ui-maple-data :is(.jt-field input,.jt-field select,.jt-jump input):focus {
  border-color: #62584e!important;
  box-shadow: 0 0 0 3px rgba(0,0,0,0.15)!important;
}
html[data-site-theme="dark"] body.ui-maple-data :is(.jt-field input,.jt-field select):disabled {
  background: #2c2b2c!important;
  border-color: #62584e!important;
  color: #eee6db!important;
}
html[data-site-theme="dark"] body.ui-maple-data .jt-status__pill {
  background: #293628!important;
  border-color: #637c52!important;
  color: #b2cf8b!important;
}
html[data-site-theme="dark"] body.ui-maple-data .jt-status__pill::before {
  box-shadow: 0 0 0 4px rgba(0,0,0,0.1)!important;
}
html[data-site-theme="dark"] body.ui-maple-data :is(.jt-levelHero strong,.jt-best) {
  color: #edc67f!important;
}
html[data-site-theme="dark"] body.ui-maple-data :is(.jt-candidates,.jt-levelTable) td {
  border-color: rgba(98,88,78,0.22)!important;
}
html[data-site-theme="dark"] body.ui-maple-data .jt-candidates tbody tr:first-child td {
  background: #293628!important;
  color: #b2cf8b!important;
}
html[data-site-theme="dark"] body.ui-maple-data .jt-levelTable tbody tr:nth-child(even) td {
  background: rgba(55,51,50,0.04)!important;
}
html[data-site-theme="dark"] body.ui-maple-data .jt-levelTable tbody tr:hover td {
  background: #2c2b2c!important;
}
html[data-site-theme="dark"] body.ui-maple-data .jt-levelTable .jt-levelTable__current td {
  background: #2c2b2c!important;
}
html[data-site-theme="dark"] body.ui-maple-data :is(.jt-accelOutcome,.jt-accelSummary) {
  background: #2c2b2c!important;
  border-color: #62584e!important;
  color: #eee6db!important;
}
html[data-site-theme="dark"] body.ui-maple-data .jt-accelOutcome strong {
  color: #edc67f!important;
}
html[data-site-theme="dark"] body.ui-maple-data .jt-accelOutcome span {
  color: #eee6db!important;
}
html[data-site-theme="dark"] body.ui-maple-data .jt-levelRanges {
  background: #2c2b2c!important;
}
html[data-site-theme="dark"] body.ui-maple-data .jt-error {
  background: #432b2d!important;
  border-color: #9b6260!important;
  color: #ffb0a7!important;
}
html[data-site-theme="dark"] body.ui-maple-data .masteryBranchNode__children {
  border-color: #8b729f!important;
}
html[data-site-theme="dark"] body.ui-maple-data :is(.finalSkillCard--base,.masteryCard--main,.enhancementBranch--fixed) {
  border-color: #62584e!important;
}
html[data-site-theme="dark"] body.ui-maple-data .finalSkillCard--base {
  box-shadow: inset 0 0 0 1px #000000,0 3px 0 rgba(0,0,0,0.1)!important;
}
html[data-site-theme="dark"] body.ui-maple-data .enhancementBranch--fixed {
  background: #2c2b2c!important;
}
html[data-site-theme="dark"] body.ui-maple-data .enhancementBranch--fixed>span {
  background: #373332!important;
  color: #edc67f!important;
}
html[data-site-theme="dark"] body.ui-maple-data .finalSkillDetails>summary:is(:hover,:focus-visible),
html[data-site-theme="dark"] body.ui-maple-data .finalSkillDetails[open]>summary {
  background: #2c2b2c!important;
}
html[data-site-theme="dark"] body.ui-maple-data .equipFilterGrid .cselect.open .cselect-btn {
  border-color: #62584e!important;
  box-shadow: 0 0 0 2px rgba(0,0,0,0.18)!important;
}
html[data-site-theme="dark"] body.ui-maple-data :is(.equipFilterGrid input,.partyLevelSelect,.stageTools input,.stageTools select,.controls input,.controls select):focus {
  border-color: #62584e!important;
  box-shadow: 0 0 0 2px rgba(0,0,0,0.18)!important;
}
html[data-site-theme="dark"] body.ui-maple-data :is(.cselect-menu,.subgrid) {
  scrollbar-color: #62584e #2c2b2c;
}
html[data-site-theme="dark"] body.ui-maple-data :is(.cselect-menu,.subgrid)::-webkit-scrollbar-track {
  background: #2c2b2c!important;
}
html[data-site-theme="dark"] body.ui-maple-data :is(.cselect-menu,.subgrid)::-webkit-scrollbar-thumb {
  background: #373332!important;
  border-color: #49433d!important;
}
html[data-site-theme="dark"] body.ui-maple-data .guideMisconceptionsTitle {
  color: #f0ae7d!important;
}
html[data-site-theme="dark"] body.ui-maple-data .guideMisconceptionsTitle::before {
  background: #2c2b2c!important;
  border-color: #62584e!important;
  color: #f0ae7d!important;
}
html[data-site-theme="dark"] body.ui-maple-data .bossPane .partyStats:not(:first-child) td {
  border-top-color: #62584e!important;
}
html[data-site-theme="dark"] body.ui-maple-data .dropItem {
  border-color: #49433d!important;
}
html[data-site-theme="dark"] body.ui-maple-data .phaseChip {
  background: #293628!important;
  border-color: #637c52!important;
  color: #b2cf8b!important;
}
html[data-site-theme="dark"] body.ui-maple-data .phaseChip.wave2 {
  background: #2c2b2c!important;
  border-color: #62584e!important;
  color: #edc67f!important;
}
html[data-site-theme="dark"] body.ui-maple-data .phaseChip.wave3 {
  background: #352d40!important;
  border-color: #8b729f!important;
  color: #d3b5e7!important;
}
html[data-site-theme="dark"] body.ui-maple-data :is(.contentTab,.detailTab,.stageModeTab,.bossContentTab,.pqQuestTab,.equipSourceTab,.levelStep button,.skillResetButton):disabled {
  background: #2c2b2c!important;
  border-color: #62584e!important;
  color: #eee6db!important;
}
html[data-site-theme="dark"] body.ui-maple-data .jt-submit {
  background: linear-gradient(#493124,#493124)!important;
  border-color: #a57958!important;
  color: #eee6db!important;
  box-shadow: 0 3px 0 #000000!important;
}
html[data-site-theme="dark"] body.ui-maple-data .jt-submit:is(:hover,:focus-visible) {
  background: linear-gradient(#493124,#432b2d)!important;
  border-color: #9b6260!important;
  color: #eee6db!important;
}
html[data-site-theme="dark"] body.ui-maple-data :is(.jt-mode button,.jt-jump button,.jt-levelRanges button):is(:hover,:focus-visible) {
  background: #373332!important;
  border-color: #62584e!important;
}
html[data-site-theme="dark"] body.ui-maple-data :is(.jt-mode button[aria-pressed="true"],.jt-levelRanges button.is-active):is(:hover,:focus-visible) {
  background: #293628!important;
  border-color: #637c52!important;
  color: #b2cf8b!important;
}
html[data-site-theme="dark"] body.ui-maple-data :is(.jt-submit,.jt-mode button,.jt-jump button,.jt-levelRanges button):disabled {
  background: #2c2b2c!important;
  border-color: #62584e!important;
  color: #eee6db!important;
}
html[data-site-theme="dark"] body.ui-maple-data .jt-candidates td.jt-best {
  color: #edc67f!important;
}
html[data-site-theme="dark"] body.ui-maple-data .jt-source a:is(:hover,:focus-visible) {
  color: #f0ae7d!important;
}

/* assets/site-maple-tools.css: existing component paint, with dark surface/text/status pairs. */
html[data-site-theme="dark"] body.ui-maple-tools .summonNotice {
  background: #293628;
  border-color: #637c52;
}
html[data-site-theme="dark"] body.ui-maple-tools .summonNotice span {
  color: #b2cf8b;
}
html[data-site-theme="dark"] body.ui-maple-tools .summonNotice__badge {
  background: #2c2b2c;
  border-color: #62584e;
  color: #eee6db !important;
}
html[data-site-theme="dark"] body.ui-maple-tools .summonTabs button[aria-selected="true"] {
  border-color: #62584e;
  background: #2c2b2c;
  box-shadow: inset 0 2px #000000;
}
html[data-site-theme="dark"] body.ui-maple-tools .summonTabs button[aria-selected="true"] small {
  color: #c5b8a8;
}
html[data-site-theme="dark"] body.ui-maple-tools :is(.summonTypePill, .summonSourcePill) {
  background: #293628;
  border-color: #637c52;
}
html[data-site-theme="dark"] body.ui-maple-tools .summonSourcePill {
  background: #293628;
  border-color: #637c52;
}
html[data-site-theme="dark"] body.ui-maple-tools .summonField :is(input, select) {
  background-color: #222326;
}
html[data-site-theme="dark"] body.ui-maple-tools .summonField :is(input, select):focus {
  box-shadow: 0 0 0 3px rgba(0,0,0,0.102);
}
html[data-site-theme="dark"] body.ui-maple-tools .summonForm__error {
  background: #222326;
  color: #ffb0a7;
  border-color: #62584e;
}
html[data-site-theme="dark"] body.ui-maple-tools .summonKpi--hero {
  background: linear-gradient(#222326, #2c2b2c);
  border-color: #62584e;
  box-shadow: inset 0 2px #000000, 0 2px #000000;
}
html[data-site-theme="dark"] body.ui-maple-tools .summonTable :is(th, td) {
  border-color: #49433d;
}
html[data-site-theme="dark"] body.ui-maple-tools .summonTable tbody tr:nth-child(even) {
  background: #2c2b2c;
}
html[data-site-theme="dark"] body.ui-maple-tools .summonTable tbody tr:hover {
  background: #2c2b2c;
}
html[data-site-theme="dark"] body.ui-maple-tools .summonTable tbody tr.is-selected {
  background: #293628;
}
html[data-site-theme="dark"] body.ui-maple-tools .summonTable tbody tr.is-target {
  background: #293628;
}
html[data-site-theme="dark"] body.ui-maple-tools .summonTable__badge {
  background: #293628;
  color: #b2cf8b;
}
html[data-site-theme="dark"] body.ui-maple-tools .summonTable__badge--current {
  background: #373332;
  color: #edc67f;
}
html[data-site-theme="dark"] body.ui-maple-tools .summonInfoBody [data-method-note] {
  color: #b2cf8b;
  background: #293628;
}
html[data-site-theme="dark"] body.ui-maple-tools :is(.ec-tab.active, .ec-segment button.active, .ec-mode button.active, .ec-tier-mode button.active) {
  background: #2c2b2c;
  border-color: #62584e;
  box-shadow: inset 0 2px #000000;
}
html[data-site-theme="dark"] body.ui-maple-tools .ec-tab.active small {
  color: #c5b8a8;
}
html[data-site-theme="dark"] body.ui-maple-tools .ec-target:not(.off) {
  background: linear-gradient(#222326, #2c2b2c);
  border-color: #62584e;
  box-shadow: inset 0 2px #000000, 0 2px #000000;
}
html[data-site-theme="dark"] body.ui-maple-tools .ec-target.off {
  background: #2c2b2c;
  border-color: #62584e;
}
html[data-site-theme="dark"] body.ui-maple-tools .ec-target-no {
  background: #2c2b2c;
  color: #eee6db;
}
html[data-site-theme="dark"] body.ui-maple-tools .ec-select {
  background-color: #222326;
}
html[data-site-theme="dark"] body.ui-maple-tools .ec-status {
  background: #293628;
  border-color: #637c52;
}
html[data-site-theme="dark"] body.ui-maple-tools :is(.ec-option-check.selected, .ec-protect.on) {
  background: #293628;
  border-color: #637c52;
}
html[data-site-theme="dark"] body.ui-maple-tools :is(.ec-metric, .ec-metric.primary) {
  background: linear-gradient(#222326, #2c2b2c);
  border-color: #62584e;
  box-shadow: inset 0 1px #000000, 0 2px #000000;
}
html[data-site-theme="dark"] body.ui-maple-tools .ec-risk-metric {
  background: #222326;
}
html[data-site-theme="dark"] body.ui-maple-tools .ec-risk-metric.destroy {
  background: #222326;
  border-color: #62584e;
}
html[data-site-theme="dark"] body.ui-maple-tools .ec-risk-metric.destroy strong {
  color: #ffb0a7;
}
html[data-site-theme="dark"] body.ui-maple-tools .ec-risk-metric.down strong {
  color: #edc67f;
}
html[data-site-theme="dark"] body.ui-maple-tools .ec-star-summary .ec-card-body {
  background: #222326;
}
html[data-site-theme="dark"] body.ui-maple-tools .enhanceCalc td {
  border-color: #49433d;
}
html[data-site-theme="dark"] body.ui-maple-tools .enhanceCalc tbody tr:hover td {
  background: #2c2b2c;
}
html[data-site-theme="dark"] body.ui-maple-tools .ec-plan-table tr.expected td {
  background: #2c2b2c;
}
html[data-site-theme="dark"] body.ui-maple-tools .ec-milestone-table tbody tr.selected {
  background: #293628;
}
html[data-site-theme="dark"] body.ui-maple-tools .ec-stage-table .changed {
  background: #293628;
}
html[data-site-theme="dark"] body.ui-maple-tools .ec-preset button {
  background: #2c2b2c;
  color: #eee6db;
}
html[data-site-theme="dark"] body.ui-maple-tools .ec-switch {
  background: #373332;
  border-color: #62584e;
}
html[data-site-theme="dark"] body.ui-maple-tools .ec-switch::after {
  background: #373332;
}
html[data-site-theme="dark"] body.ui-maple-tools .ec-protect.on .ec-switch {
  background: #293628;
}
html[data-site-theme="dark"] body.ui-maple-tools .ec-warning {
  background: #3b3223;
  border-color: #8a7149;
  color: #edc67f;
}
html[data-site-theme="dark"] body.ui-maple-tools .ec-mystic-warning {
  background: linear-gradient(#3b3223, #3b3223);
  border-color: #8a7149;
  box-shadow: inset 0 2px #000000, 0 3px #000000;
}
html[data-site-theme="dark"] body.ui-maple-tools .ec-mystic-warning span {
  background: #3b3223;
  color: #edc67f;
}
html[data-site-theme="dark"] body.ui-maple-tools .ec-mystic-warning strong {
  color: #edc67f;
}
html[data-site-theme="dark"] body.ui-maple-tools .ec-mystic-warning p {
  color: #edc67f;
}
html[data-site-theme="dark"] body.ui-maple-tools :is(.ec-validation, .ec-error) {
  background: #222326;
  color: #ffb0a7;
  border-color: #62584e;
}
html[data-site-theme="dark"] body.ui-maple-tools .ec-impossible {
  color: #ffb0a7;
}
html[data-site-theme="dark"] body.ui-maple-tools .dualStatGrid .example strong {
  color: #edc67f;
}
html[data-site-theme="dark"] body.ui-maple-tools .dualStatGrid .easyNote {
  background: #2c2b2c;
  color: #c5b8a8;
}
html[data-site-theme="dark"] body.ui-maple-tools .dualStatGrid .resultCard {
  background: linear-gradient(#222326, #2c2b2c);
  box-shadow: inset 0 1px #000000, 0 2px #000000;
}
html[data-site-theme="dark"] body.ui-maple-tools :is(.valueSpeed, .resultValue.speed, .speedSide .sideTitle span) {
  color: #9cd4d9;
}
html[data-site-theme="dark"] body.ui-maple-tools .dualStatGrid .tableWrap :is(th, td) {
  border-color: #49433d;
}
html[data-site-theme="dark"] body.ui-maple-tools .dualStatGrid .removeBtn {
  color: #c5b8a8;
  background: #2c2b2c;
  border-color: #62584e;
}
html[data-site-theme="dark"] body.ui-maple-tools .dualStatGrid .removeBtn:hover {
  color: #ffb0a7;
  border-color: #62584e;
}
html[data-site-theme="dark"] body.ui-maple-tools .dualStatGrid .addBtn {
  color: #eee6db;
  background: #2c2b2c;
  border-color: #62584e;
}
html[data-site-theme="dark"] body.ui-maple-tools .damage-tree-panel:not([aria-labelledby="v4ValidationTitle"]) {
  background: linear-gradient(#222326, #2c2b2c);
  box-shadow: 0 3px #000000;
}
html[data-site-theme="dark"] body.ui-maple-tools .damage-tree-panel:not([aria-labelledby="v4ValidationTitle"])::before {
  background: radial-gradient(circle at 18% 0, rgba(55,51,50,0.333), transparent 28rem);
}
html[data-site-theme="dark"] body.ui-maple-tools :is(.baseline-summary-grid > div, .game-stat-profile-state > span, .game-stat-profile-card .baseline-summary-badge, .game-stat-artifact, .damage-loadout-summary .game-stat-artifact, .companion-summary) {
  background: #2c2b2c;
}
html[data-site-theme="dark"] body.ui-maple-tools .game-stat-artifact:not([class*="grade-"]) > b {
  background: #2c2b2c;
  color: #eee6db;
}
html[data-site-theme="dark"] body.ui-maple-tools :is(.damage-node.is-affected, .damage-base-lock.is-affected, .baseline-summary-badge.ready, .game-stat-profile-card .baseline-summary-badge.ready) {
  background: #293628;
  border-color: #637c52 !important;
}
html[data-site-theme="dark"] body.ui-maple-tools :is(.damage-node .node-delta, .damage-base-value .node-delta, .damage-output small, .manual-scenario-impact .pct, .efficiency-damage-route .pct) {
  background: #2c2b2c;
}
html[data-site-theme="dark"] body.ui-maple-tools :is(.damage-node .node-delta.positive, .damage-base-value .node-delta.positive, .damage-output small.positive, .manual-scenario-impact .pct.positive, .damage-range-values small.positive) {
  background: #293628;
}
html[data-site-theme="dark"] body.ui-maple-tools :is(.damage-node .node-delta.negative, .damage-base-value .node-delta.negative, .damage-output small.negative, .manual-scenario-impact .pct.negative, .damage-range-values small.negative) {
  background: #222326;
  color: #ffb0a7;
}
html[data-site-theme="dark"] body.ui-maple-tools .base-factor.is-adjusted {
  background: #2c2b2c;
  border-color: #62584e;
}
html[data-site-theme="dark"] body.ui-maple-tools .base-factor.is-adjusted > span {
  color: #edc67f;
}
html[data-site-theme="dark"] body.ui-maple-tools :is(.damage-split-label, .damage-condition-bar) {
  background: #432b2d;
  border-color: #8b729f;
  color: #d3b5e7;
}
html[data-site-theme="dark"] body.ui-maple-tools .defense-options button {
  background: #222326;
}
html[data-site-theme="dark"] body.ui-maple-tools .defense-options button.selected {
  background: #2c2b2c;
  border-color: #62584e;
  box-shadow: inset 0 -2px #000000;
}
html[data-site-theme="dark"] body.ui-maple-tools .defense-options button:hover:not(.selected) {
  border-color: #62584e;
}
html[data-site-theme="dark"] body.ui-maple-tools :is(#profileReadout, #profileReferenceReadout) .stat-card {
  border-color: #49433d !important;
}
html[data-site-theme="dark"] body.ui-maple-tools :is(#profileReadout, #profileReferenceReadout) .stat-card.is-changed {
  background: #293628;
}
html[data-site-theme="dark"] body.ui-maple-tools :is(#profileReadout, #profileReferenceReadout) .stat-state.change {
  background: #293628;
}
html[data-site-theme="dark"] body.ui-maple-tools :is(#profileReadout, #profileReferenceReadout) .info-btn {
  background: #222326;
  color: #eee6db;
}
html[data-site-theme="dark"] body.ui-maple-tools #manualPane .scenario-eff-table tbody tr:not(.eff-top-ranked) > td {
  border-color: #49433d;
}
html[data-site-theme="dark"] body.ui-maple-tools #manualPane .scenario-eff-table tbody tr:not(.eff-top-ranked):hover > td {
  background: #2c2b2c;
}
html[data-site-theme="dark"] body.ui-maple-tools #manualPane .scenario-eff-table .excluded-row:not(.eff-top-ranked) > td {
  background: #2c2b2c;
}
html[data-site-theme="dark"] body.ui-maple-tools #manualPane .scenario-eff-table .dps-only-row:not(.eff-top-ranked) > td {
  background: #2c2b2c;
}
html[data-site-theme="dark"] body.ui-maple-tools #manualPane .unit-eff-cell.negative strong {
  color: #ffb0a7;
}
html[data-site-theme="dark"] body.ui-maple-tools #manualPane :is(.info-btn, .table-preset) {
  background: #2c2b2c;
  color: #eee6db;
  border-color: #62584e;
}
html[data-site-theme="dark"] body.ui-maple-tools #manualPane .table-preset:hover {
  background: #2c2b2c;
  border-color: #62584e;
}
html[data-site-theme="dark"] body.ui-maple-tools #manualPane .table-preset:disabled {
  background: #2c2b2c;
  border-color: #62584e;
}
html[data-site-theme="dark"] body.ui-maple-tools #manualPane .eff-input input:focus {
  border-color: #62584e;
  box-shadow: 0 0 0 3px rgba(0,0,0,0.149);
}
html[data-site-theme="dark"] body.ui-maple-tools #manualPane .eff-rank-guide strong {
  color: #edc67f;
}
html[data-site-theme="dark"] body.ui-maple-tools #manualPane .eff-compact-row:focus-within {
  background: #2c2b2c;
}
html[data-site-theme="dark"] body.ui-maple-tools :is(.profile-wizard-shell, .preset-recovery-card, .profile-edit-choice-card, .item-efficiency-shell, .v4i-dialog) {
  box-shadow: inset 0 1px #000000, 0 5px #000000, 0 22px 70px rgba(0,0,0,0.22);
}
html[data-site-theme="dark"] body.ui-maple-tools :is(.profile-wizard-close, .profile-edit-choice-close, .item-efficiency-close, .wizard-slot-clear, .wizard-photo-edit, .v4i-close) {
  background: #2c2b2c;
  color: #eee6db;
  border-color: #62584e;
}
html[data-site-theme="dark"] body.ui-maple-tools :is(.wizard-preset-restore, .wizard-level-entry, .wizard-choice-panel, .wizard-equipped-column, .wizard-artifact-inventory-wrap, .wizard-artifact-editor, .wizard-companion-catalog, .wizard-companion-current, .wizard-companion-control, .wizard-preset-route, .wizard-companion-guide, .wizard-manual-group, .wizard-manual-note, .item-efficiency-input, .item-efficiency-summary, .item-efficiency-sample, .v4i-upload, .v4i-card, .v4i-context, .v4i-details, .v4i-sample, .v4i-empty, .v4i-companion-section, .v4i-skill-editor) {
  background: #2c2b2c;
}
html[data-site-theme="dark"] body.ui-maple-tools :is(.preset-recovery-code, .wizard-level-entry > .wizard-level-field, .wizard-manual-input, .wizard-manual-progress, .wizard-manual-field, .wizard-level-card, .wizard-equipped-slot, .wizard-artifact-slot-card, .wizard-artifact-slot-main, .wizard-input-method-card, .wizard-input-method-card.manual, .item-efficiency-photo, .item-efficiency-delta, .item-efficiency-ocr-debug pre, #v4DefenseReview .v4i-field) {
  background: #3b3223;
}
html[data-site-theme="dark"] body.ui-maple-tools :is(.wizard-grade-card, .wizard-artifact-card) {
  background: #222326;
}
html[data-site-theme="dark"] body.ui-maple-tools :is(.wizard-grade-card:hover, .wizard-grade-card.selected, .wizard-level-card:hover, .wizard-level-card.selected) {
  background: #2c2b2c;
  box-shadow: 0 0 0 2px rgba(0,0,0,0.333);
}
html[data-site-theme="dark"] body.ui-maple-tools .wizard-job-name strong {
  color: #eee6db;
}
html[data-site-theme="dark"] body.ui-maple-tools .wizard-artifact-card em {
  background: #293628;
  color: #b2cf8b;
}
html[data-site-theme="dark"] body.ui-maple-tools .wizard-star-button {
  background: #222326;
  color: #edc67f;
}
html[data-site-theme="dark"] body.ui-maple-tools .wizard-star-button.selected {
  background: #2c2b2c;
  border-color: #8a7149;
}
html[data-site-theme="dark"] body.ui-maple-tools :is(.wizard-preset-guide, .wizard-ready-gate, .wizard-ocr-correction) {
  background: #2c2b2c;
  border-color: #62584e;
  color: #eee6db;
}
html[data-site-theme="dark"] body.ui-maple-tools .wizard-ocr-feedback {
  background: #2c2b2c;
}
html[data-site-theme="dark"] body.ui-maple-tools :is(.wizard-manual-field.ocr-review, .wizard-manual-field.ocr-recommended, .v4i-warning) {
  background: #3b3223;
  border-color: #8a7149;
  color: #edc67f;
}
html[data-site-theme="dark"] body.ui-maple-tools #profileWizard .wizard-manual-field.ocr-missing {
  background: #432b2d;
  border-color: #9b6260;
}
html[data-site-theme="dark"] body.ui-maple-tools :is(.wizard-manual-field.ocr-edited, .wizard-manual-field.ocr-read) {
  background: #293628;
  border-color: #637c52;
}
html[data-site-theme="dark"] body.ui-maple-tools :is(.wizard-manual-field > span:first-child small.required, .wizard-manual-field > span:first-child small.ocr-review, .wizard-manual-field > span:first-child small.ocr-recommended) {
  background: #3b3223;
  color: #edc67f;
}
html[data-site-theme="dark"] body.ui-maple-tools #profileWizard .wizard-manual-field > span:first-child small.ocr-missing {
  background: #432b2d;
  color: #c5b8a8;
}
html[data-site-theme="dark"] body.ui-maple-tools :is(.wizard-manual-field > span:first-child small.ocr-read, .wizard-manual-field > span:first-child small.ocr-edited) {
  background: #293628;
}
html[data-site-theme="dark"] body.ui-maple-tools .wizard-manual-field > span:first-child small.optional {
  background: #2c2b2c;
}
html[data-site-theme="dark"] body.ui-maple-tools :is(.wizard-level-entry kbd, .wizard-preset-guide kbd, .wizard-level-copy > span) {
  background: #373332;
  color: #eee6db;
}
html[data-site-theme="dark"] body.ui-maple-tools :is(.profile-edit-choice-grid > button, .preset-recovery-code button, .preset-recovery-confirm, .preset-restore-edit, .wizard-preset-restore button, .v4i-small, .v4i-secondary, .v4i-readout-edit, .v4-input-open) {
  background: #2c2b2c;
  color: #c5b8a8;
  border-color: #62584e;
}
html[data-site-theme="dark"] body.ui-maple-tools :is(.profile-edit-choice-grid > button:hover, .v4i-upload-actions > button:hover:not(:disabled)) {
  background: #2c2b2c;
}
html[data-site-theme="dark"] body.ui-maple-tools :is(.v4i-primary, .v4i-file-button, .v4i-ready > button, .game-stat-profile-card .btn.primary, .v4-comparison-actions #v4PromoteBaseline) {
  background: linear-gradient(#373332, #3b3223);
  color: #f0ae7d;
  border-color: #62584e;
}
html[data-site-theme="dark"] body.ui-maple-tools .v4i-ready > button:hover:not(:disabled) {
  background: #373332;
}
html[data-site-theme="dark"] body.ui-maple-tools .v4i-tabs button[aria-selected="true"] {
  background: #2c2b2c;
  border-color: #62584e;
}
html[data-site-theme="dark"] body.ui-maple-tools :is(.v4i-upload:focus-within, .v4i-upload:focus, .v4i-upload.is-armed) {
  background: #293628;
  border-color: #637c52;
}
html[data-site-theme="dark"] body.ui-maple-tools :is(.v4i-upload-surface:hover, .v4i-upload-surface:focus-visible, .v4i-upload.is-dragging .v4i-upload-surface, .v4i-upload .v4i-armed-state) {
  background: #293628;
}
html[data-site-theme="dark"] body.ui-maple-tools :is(.item-efficiency-photo[data-state="error"], .v4i-error) {
  background: #432b2d;
  color: #ffb0a7;
  border-color: #9b6260;
  box-shadow: inset 4px 0 #000000;
}
html[data-site-theme="dark"] body.ui-maple-tools .item-efficiency-photo[data-state="error"] :is(.item-efficiency-photo-head span, .item-efficiency-photo-meta) {
  color: #ffb0a7;
}
html[data-site-theme="dark"] body.ui-maple-tools .item-efficiency-photo[data-state="working"] {
  border-color: #62584e;
}
html[data-site-theme="dark"] body.ui-maple-tools .item-efficiency-photo[data-state="working"] .item-efficiency-photo-head span {
  color: #eee6db;
}
html[data-site-theme="dark"] body.ui-maple-tools .item-efficiency-delta.up {
  background: #293628;
}
html[data-site-theme="dark"] body.ui-maple-tools .item-efficiency-delta.down {
  background: #222326;
  color: #ffb0a7;
}
html[data-site-theme="dark"] body.ui-maple-tools .item-efficiency-remove {
  background: #2c2b2c;
  border-color: #62584e;
  color: #eee6db;
}
html[data-site-theme="dark"] body.ui-maple-tools :is(.item-efficiency-remove:hover, .item-efficiency-remove:focus-visible) {
  background: #2c2b2c;
  color: #ffb0a7;
}
html[data-site-theme="dark"] body.ui-maple-tools .v4i-danger {
  color: #ffb0a7;
  border-color: #62584e;
}
html[data-site-theme="dark"] body.ui-maple-tools :is(.wire-wrap, .profile-wizard, .item-efficiency-dialog) .btn {
  background: #2c2b2c;
  color: #eee6db;
  border-color: #62584e;
}
html[data-site-theme="dark"] body.ui-maple-tools :is(.wire-wrap, .profile-wizard, .item-efficiency-dialog) .btn.primary {
  background: linear-gradient(#373332, #3b3223);
  color: #f0ae7d;
  border-color: #62584e;
}
html[data-site-theme="dark"] body.ui-maple-tools :is(.wire-wrap, .profile-wizard, .item-efficiency-dialog) .btn.gold {
  background: #3b3223;
  color: #edc67f;
  border-color: #8a7149;
}
html[data-site-theme="dark"] body.ui-maple-tools :is(.wire-wrap, .profile-wizard, .item-efficiency-dialog) .btn.violet {
  background: #352d40;
  color: #d3b5e7;
  border-color: #8b729f;
}
html[data-site-theme="dark"] body.ui-maple-tools :is(.wire-wrap, .profile-wizard, .item-efficiency-dialog) .btn:hover:not(:disabled) {
  box-shadow: inset 0 0 0 1px rgba(0,0,0,0.333);
}
html[data-site-theme="dark"] body.ui-maple-tools :is(.wire-wrap, .profile-wizard) .tooltip {
  background: #222326;
  border-color: #62584e;
  box-shadow: 0 9px 24px rgba(0,0,0,0.2);
}
html[data-site-theme="dark"] body.ui-maple-tools :is(.wire-wrap, .profile-wizard) .tooltip::after {
  border-top-color: #49433d;
}
html[data-site-theme="dark"] body.ui-maple-tools .wire-wrap .dropzone kbd {
  background: #2c2b2c;
  color: #eee6db;
}
html[data-site-theme="dark"] body.ui-maple-tools :is(.summonField, .v4i-dialog, #v4DefenseReview) input[aria-invalid="true"],
html[data-site-theme="dark"] body.ui-maple-tools .wizard-manual-input input.invalid {
  border-color: #9b6260 !important;
  background-color: #3b3223 !important;
  box-shadow: 0 0 0 1px #000000;
}
html[data-site-theme="dark"] body.ui-maple-tools .v4i-artifact-icon {
  background: #2c2b2c;
}
html[data-site-theme="dark"] body.ui-maple-tools :is(.v4-loadout-actions > button, .v4i-overview-meta button, .v4i-skill-readout-head button, .v4-comparison-bar button) {
  background: #2c2b2c;
  color: #eee6db;
  border-color: #62584e;
}
html[data-site-theme="dark"] body.ui-maple-tools .v4-loadout-actions > button:hover {
  background: #2c2b2c;
}
html[data-site-theme="dark"] body.ui-maple-tools :is(.v4i-companion-cell:first-child, .v4i-overview-companions > div:first-child, .v4i-preset-switch button[aria-pressed="true"], .v4i-artifact-tile[aria-pressed="true"], .v4i-skill-choices button[aria-pressed="true"], .v4i-icon-slot.is-selected, .v4i-baseline-badge) {
  background: #293628;
  border-color: #637c52;
}
html[data-site-theme="dark"] body.ui-maple-tools .v4i-readout-options li {
  border-color: #49433d;
}
html[data-site-theme="dark"] body.ui-maple-tools #skillDamagePanel .skill-base-summary-card.common {
  background: #293628;
  border-color: #637c52;
}
html[data-site-theme="dark"] body.ui-maple-tools #skillDamagePanel :is(.skill-base-summary-card.skill h4, .skill-pre-metric > small.boss) {
  color: #edc67f !important;
}
html[data-site-theme="dark"] body.ui-maple-tools #skillDamagePanel .skill-pre-values > em {
  background: #2c2b2c;
}
html[data-site-theme="dark"] body.ui-maple-tools #skillDamagePanel .skill-pre-values > em.positive {
  background: #293628;
  border-color: #637c52;
}
html[data-site-theme="dark"] body.ui-maple-tools #skillDamagePanel .skill-pre-values > em.negative {
  background: #222326;
  border-color: #62584e;
  color: #ffb0a7;
}
html[data-site-theme="dark"] body.ui-maple-tools #skillDamagePanel {
  box-shadow: 0 3px #000000;
}
html[data-site-theme="dark"] body.ui-maple-tools #skillDamagePanel :is(.skill-data-status, .skill-level-chip, .skill-event-structure > b) {
  background: #2c2b2c;
  border-color: #62584e;
  color: #eee6db;
}
html[data-site-theme="dark"] body.ui-maple-tools #skillDamagePanel :is(.skill-level-chip b, .skill-event-structure) {
  color: #eee6db;
}
html[data-site-theme="dark"] body.ui-maple-tools #skillDamagePanel .skill-local-bonuses > span {
  background: #293628;
  border-color: #637c52;
  color: #b2cf8b;
}
html[data-site-theme="dark"] body.ui-maple-tools #skillDamagePanel .skill-table-scroll {
  scrollbar-color: #62584e #2c2b2c;
}
html[data-site-theme="dark"] body.ui-maple-tools #skillDamagePanel .skill-damage-table thead th:nth-child(3) {
  color: #eee6db !important;
}
html[data-site-theme="dark"] body.ui-maple-tools #skillDamagePanel .skill-damage-table .skill-result-row > :is(th, td) {
  border-color: #49433d !important;
}
html[data-site-theme="dark"] body.ui-maple-tools #skillDamagePanel .skill-damage-table .skill-result-row:nth-child(odd) > :is(th, td) {
  background: #2c2b2c !important;
}
html[data-site-theme="dark"] body.ui-maple-tools #skillDamagePanel .skill-damage-table .skill-result-row:hover > :is(th, td) {
  background: #2c2b2c !important;
}
html[data-site-theme="dark"] body.ui-maple-tools #skillDamagePanel .skill-damage-table .skill-result-row > td:nth-child(3)::before {
  color: #eee6db;
}
html[data-site-theme="dark"] body.ui-maple-tools #skillDamagePanel .skill-damage-table :is(.skill-unresolved-row > th, .skill-unresolved-row > td, .skill-empty-row td) {
  background: #2c2b2c !important;
  border-color: #49433d !important;
}
html[data-site-theme="dark"] body.ui-maple-tools #skillDamagePanel #skillBaseDamageResult .skill-result-row > :is(th, td) {
  background: #293628 !important;
  border-color: #637c52 !important;
}
html[data-site-theme="dark"] body.ui-maple-tools #skillDamagePanel #skillBaseDamageResult .skill-result-row:hover > :is(th, td) {
  background: #293628 !important;
}
html[data-site-theme="dark"] body.ui-maple-tools #skillDamagePanel #skillBaseDamageResult .skill-result-row > th {
  box-shadow: inset 4px 0 #000000;
}
html[data-site-theme="dark"] body.ui-maple-tools #skillDamagePanel #skillBaseDamageResult .skill-row-name em {
  color: #b2cf8b;
}
html[data-site-theme="dark"] body.ui-maple-tools #skillDamagePanel :is(.skill-damage-metric + .skill-damage-metric, .skill-buff-row, .skill-buff-columns, .skill-buff-effect + .skill-buff-effect) {
  border-color: #49433d;
}
html[data-site-theme="dark"] body.ui-maple-tools #skillDamagePanel :is(.skill-damage-route > em, .skill-buff-change) {
  background: #2c2b2c;
}
html[data-site-theme="dark"] body.ui-maple-tools #skillDamagePanel .skill-buff-row > em {
  background: #293628;
  border-color: #637c52;
}
html[data-site-theme="dark"] body.ui-maple-tools #skillDamagePanel :is(.skill-damage-metric.positive .skill-damage-route > em, .skill-base-comparison > em.positive, .skill-buff-change.positive) {
  background: #293628;
  border-color: #637c52;
}
html[data-site-theme="dark"] body.ui-maple-tools #skillDamagePanel :is(.skill-damage-metric.negative .skill-damage-route > em, .skill-base-comparison > em.negative, .skill-buff-change.negative) {
  background: #222326;
  border-color: #62584e;
  color: #ffb0a7 !important;
}
html[data-site-theme="dark"] body.ui-maple-tools #skillDamagePanel .skill-item-compare-slot {
  background: #2c2b2c;
}
html[data-site-theme="dark"] body.ui-maple-tools #skillDamagePanel .skill-coefficient-warning {
  border-color: #8a7149;
  background: #3b3223;
}
html[data-site-theme="dark"] body.ui-maple-tools #skillDamagePanel .skill-coefficient-warning strong {
  color: #edc67f;
}
html[data-site-theme="dark"] body.ui-maple-tools #skillDamagePanel .skill-coefficient-flow a:hover {
  color: #f0ae7d;
}
html[data-site-theme="dark"] body.ui-maple-tools #skillDamagePanel .skill-coefficient-flow a:focus-visible {
  outline-color: #62584e;
}
html[data-site-theme="dark"] body.ui-maple-tools .wizard-preset-guide > strong em {
  color: #edc67f !important;
}
html[data-site-theme="dark"] body.ui-maple-tools :is(.wizard-job-card, .wizard-selected-job) {
  background: #373332;
  border-color: #62584e;
  box-shadow: 0 3px 0 #000000, 0 8px 20px rgba(0,0,0,0.102);
}
html[data-site-theme="dark"] body.ui-maple-tools :is(.wizard-job-card, .wizard-selected-job) > .wizard-job-art {
  background-color: #373332;
}
html[data-site-theme="dark"] body.ui-maple-tools .wizard-job-card::after {
  background: linear-gradient(90deg, rgba(34,35,38,0.988) 0%, rgba(34,35,38,0.961) 25%, rgba(34,35,38,0.722) 48%, rgba(44,43,44,0.149) 68%, #f3e7d000 80%);
}
html[data-site-theme="dark"] body.ui-maple-tools .wizard-selected-job::after {
  background: linear-gradient(90deg, rgba(34,35,38,0.98), rgba(34,35,38,0.78) 42%, rgba(44,43,44,0.078));
}
html[data-site-theme="dark"] body.ui-maple-tools .wizard-job-name {
  text-shadow: 0 1px 2px #000000;
}
html[data-site-theme="dark"] body.ui-maple-tools :is(.wizard-job-name strong, .wizard-selected-job strong) {
  color: #eee6db !important;
}
html[data-site-theme="dark"] body.ui-maple-tools :is(.wizard-job-name small, .wizard-selected-job small) {
  color: #edc67f;
}
html[data-site-theme="dark"] body.ui-maple-tools .wizard-job-card:hover {
  border-color: #62584e;
}
html[data-site-theme="dark"] body.ui-maple-tools :is(.wizard-job-card, .wizard-selected-job):focus-visible {
  outline-color: #62584e;
}
html[data-site-theme="dark"] body.ui-maple-tools .wizard-job-card.selected {
  border-color: #637c52;
  box-shadow: 0 0 0 2px rgba(0,0,0,0.502), 0 3px 0 #000000, inset 0 0 18px rgba(0,0,0,0.2);
}
html[data-site-theme="dark"] body.ui-maple-tools .wizard-job-check {
  background: #293628;
  border-color: #637c52;
}
html[data-site-theme="dark"] body.ui-maple-tools .summonField :is(input, select):disabled {
  background-color: #2c2b2c !important;
  color: #c5b8a8 !important;
}
html[data-site-theme="dark"] body.ui-maple-tools .summonField option:disabled {
  color: #c5b8a8;
}
html[data-site-theme="dark"] body.ui-maple-tools .ec-select:focus {
  border-color: #62584e;
  box-shadow: 0 0 0 2px rgba(0,0,0,0.102);
}
html[data-site-theme="dark"] body.ui-maple-tools .dualStatGrid .tableWrap tbody tr:hover td {
  background: #2c2b2c;
}
html[data-site-theme="dark"] body.ui-maple-tools .dualStatGrid .numInput:focus {
  border-color: #62584e;
  box-shadow: 0 0 0 2px rgba(0,0,0,0.102);
}
html[data-site-theme="dark"] body.ui-maple-tools :is(.wizard-manual-progress strong, .wizard-ready-gate > span) {
  color: #edc67f;
}
html[data-site-theme="dark"] body.ui-maple-tools .wizard-companion-guide > span {
  background: #2c2b2c;
  color: #eee6db;
}
html[data-site-theme="dark"] body.ui-maple-tools .wizard-companion-current small {
  color: #edc67f;
}
html[data-site-theme="dark"] body.ui-maple-tools .profile-wizard-progress {
  background: #2c2b2c;
}
html[data-site-theme="dark"] body.ui-maple-tools .profile-wizard-progress > span {
  background: linear-gradient(90deg, #373332, #373332, #293628);
  box-shadow: 0 0 12px rgba(0,0,0,0.149);
}
html[data-site-theme="dark"] body.ui-maple-tools .wizard-manual-input:focus-within {
  border-color: #62584e;
  box-shadow: 0 0 0 2px rgba(0,0,0,0.102);
}
html[data-site-theme="dark"] body.ui-maple-tools .wizard-manual-field.ocr-read {
  border-color: #62584e;
}
html[data-site-theme="dark"] body.ui-maple-tools :is(.wizard-manual-field.ocr-review, .wizard-manual-field.ocr-recommended) {
  box-shadow: inset 3px 0 #000000;
}
html[data-site-theme="dark"] body.ui-maple-tools .wizard-manual-field.ocr-missing {
  box-shadow: inset 4px 0 #000000;
}
html[data-site-theme="dark"] body.ui-maple-tools .wizard-manual-field.ocr-edited {
  box-shadow: inset 3px 0 #000000;
}
html[data-site-theme="dark"] body.ui-maple-tools .profile-wizard.is-manual-entry .profile-wizard-content::-webkit-scrollbar-thumb {
  background-color: #373332;
}
html[data-site-theme="dark"] body.ui-maple-tools :is(.wire-wrap, .profile-wizard, .item-efficiency-dialog) .dropzone {
  background: #2c2b2c;
  border-color: #62584e;
}
html[data-site-theme="dark"] body.ui-maple-tools :is(.wire-wrap, .profile-wizard, .item-efficiency-dialog) .dropzone:is(.armed, .drag, .active) {
  background: #293628;
  border-color: #637c52;
  box-shadow: 0 0 0 3px rgba(0,0,0,0.102);
}
html[data-site-theme="dark"] body.ui-maple-tools :is(.wire-wrap, .profile-wizard, .item-efficiency-dialog) .dropzone.armed .armed-state {
  background: #293628;
  border-color: #637c52;
}
html[data-site-theme="dark"] body.ui-maple-tools :is(.wire-wrap, .profile-wizard, .item-efficiency-dialog) .dropzone-icon {
  background: #2c2b2c;
  color: #eee6db;
}
html[data-site-theme="dark"] body.ui-maple-tools :is(.wire-wrap, .profile-wizard, .item-efficiency-dialog) .dropzone kbd {
  background: #2c2b2c;
  color: #eee6db;
}
html[data-site-theme="dark"] body.ui-maple-tools :is(.wire-wrap, .profile-wizard, .item-efficiency-dialog) .status-note {
  background: #2c2b2c;
  border-color: #62584e;
}
html[data-site-theme="dark"] body.ui-maple-tools :is(.wire-wrap, .profile-wizard, .item-efficiency-dialog) .status-note.success {
  background: #293628;
  border-color: #637c52;
}
html[data-site-theme="dark"] body.ui-maple-tools :is(.wire-wrap, .profile-wizard, .item-efficiency-dialog) .status-note.warn {
  background: #3b3223;
  border-color: #8a7149;
  color: #edc67f;
}
html[data-site-theme="dark"] body.ui-maple-tools :is(.wire-wrap, .profile-wizard, .item-efficiency-dialog) .status-note.error {
  background: #432b2d;
  border-color: #9b6260;
  color: #ffb0a7;
  box-shadow: inset 4px 0 #000000;
}
html[data-site-theme="dark"] body.ui-maple-tools :is(.wire-wrap, .profile-wizard, .item-efficiency-dialog) .status-note.error strong {
  color: #ffb0a7;
}
html[data-site-theme="dark"] body.ui-maple-tools :is(.wire-wrap, .profile-wizard, .item-efficiency-dialog) .ocr-debug {
  background: #222326;
}
html[data-site-theme="dark"] body.ui-maple-tools .photo-status {
  background: rgba(34,35,38,0.961);
  border-color: #62584e;
}
html[data-site-theme="dark"] body.ui-maple-tools .photo-status.wait {
  color: #edc67f;
}
html[data-site-theme="dark"] body.ui-maple-tools .photo-status.sending {
  color: #9cd4d9;
}
html[data-site-theme="dark"] body.ui-maple-tools .photo-status.error {
  color: #ffb0a7;
}
html[data-site-theme="dark"] body.ui-maple-tools .runtime-pill.ok {
  background: #293628;
  border-color: #637c52;
}
html[data-site-theme="dark"] body.ui-maple-tools .runtime-pill.warn {
  background: #3b3223;
  border-color: #8a7149;
  color: #edc67f;
}
html[data-site-theme="dark"] body.ui-maple-tools .damage-client-order span {
  background: #2c2b2c;
}
html[data-site-theme="dark"] body.ui-maple-tools .damage-client-order b {
  background: #2c2b2c;
  color: #eee6db;
}
html[data-site-theme="dark"] body.ui-maple-tools .wizard-selected-companion {
  background: #373332;
  border-color: #62584e;
}
html[data-site-theme="dark"] body.ui-maple-tools .wizard-selected-companion::after {
  background: linear-gradient(90deg, rgba(34,35,38,0.98), rgba(34,35,38,0.78) 43%, rgba(44,43,44,0.078));
}
html[data-site-theme="dark"] body.ui-maple-tools .wizard-selected-companion > .wizard-job-art {
  background-color: #373332;
}
html[data-site-theme="dark"] body.ui-maple-tools .wizard-selected-companion strong {
  color: #eee6db;
}
html[data-site-theme="dark"] body.ui-maple-tools .v4i-dialog :is(button, input, select, summary):focus-visible {
  outline-color: #62584e;
}
html[data-site-theme="dark"] body.ui-maple-tools :is(.v4-input-open, .v4i-readout-edit, .v4i-readout summary, .v4i-preset-switch button, .v4i-artifact-tile, .v4i-skill-choices button, .v4i-icon-slot, .v4i-companion-strip, .v4i-overview-companions):focus-visible {
  outline-color: #62584e;
}
html[data-site-theme="dark"] body.ui-maple-tools .v4i-icon-slot:hover {
  outline-color: #62584e;
  border-color: #62584e;
}
html[data-site-theme="dark"] body.ui-maple-tools .v4i-artifact-tile[type="button"]:hover {
  border-color: #62584e;
}
html[data-site-theme="dark"] body.ui-maple-tools .v4i-artifact-tile[aria-pressed="true"] {
  box-shadow: inset 0 0 0 1px #000000;
}
html[data-site-theme="dark"] body.ui-maple-tools .v4i-artifact-pair > .v4i-card:first-child {
  border-color: #62584e;
}
html[data-site-theme="dark"] body.ui-maple-tools .v4i-artifact-pair > .v4i-card:last-child {
  border-color: #637c52;
}
html[data-site-theme="dark"] body.ui-maple-tools .v4i-skill-icon {
  background: #2c2b2c;
  color: #eee6db;
}
html[data-site-theme="dark"] body.ui-maple-tools .v4i-skill-icon[data-job-step="3"] {
  background: #352d40;
}
html[data-site-theme="dark"] body.ui-maple-tools .v4i-skill-icon[data-job-step="4"] {
  background: #2c2b2c;
}
html[data-site-theme="dark"] body.ui-maple-tools :is(.v4i-artifact-stars, .v4i-ability-option .v4i-fixed-unit) {
  color: #edc67f;
}
html[data-site-theme="dark"] body.ui-maple-tools .v4i-ability-warning {
  color: #edc67f;
}
html[data-site-theme="dark"] body.ui-maple-tools .v4i-readout-equipped > span {
  background: #2c2b2c;
}
html[data-site-theme="dark"] body.ui-maple-tools .v4i-companion-strip,
html[data-site-theme="dark"] body.ui-maple-tools .v4i-overview-companions {
  scrollbar-color: #62584e #2c2b2c;
}
html[data-site-theme="dark"] body.ui-maple-tools .v4-validation-cover {
  background: linear-gradient(135deg, #2c2b2c, #2c2b2c);
  border-color: #62584e;
  color: #edc67f;
}
html[data-site-theme="dark"] body.ui-maple-tools .v4-validation-cover p {
  color: #eee6db;
}
html[data-site-theme="dark"] body.ui-maple-tools .v4-connection-check button {
  background: #2c2b2c;
  color: #eee6db;
  border-color: #62584e;
}
html[data-site-theme="dark"] body.ui-maple-tools .v4-connection-check button:hover:not(:disabled) {
  background: #2c2b2c;
}
html[data-site-theme="dark"] body.ui-maple-tools .v4-connection-check button:focus-visible {
  outline-color: #62584e;
}
html[data-site-theme="dark"] body.ui-maple-tools #v4ConnectionStatus[data-state="error"] {
  background: #222326;
  border-color: #62584e;
  color: #ffb0a7;
}
html[data-site-theme="dark"] body.ui-maple-tools :is(.wizard-ocr-correction[data-ocr-state="error"], .wizard-manual-group[data-ocr-state="error"] > summary, .v4i-review-summary, .v4i-notice[data-state="error"]) {
  background: #432b2d;
  border-color: #9b6260;
  color: #ffb0a7;
  box-shadow: inset 4px 0 #000000;
}
html[data-site-theme="dark"] body.ui-maple-tools :is(.wizard-ocr-correction[data-ocr-state="error"], .v4i-review-summary, .v4i-notice[data-state="error"]) :is(strong, span, p) {
  color: #ffb0a7;
}
html[data-site-theme="dark"] body.ui-maple-tools .wizard-manual-group[data-ocr-state="error"] > summary > b {
  background: #432b2d;
  color: #eee6db;
  border-color: #9b6260;
}
html[data-site-theme="dark"] body.ui-maple-tools :is(.wizard-manual-field.ocr-missing > small, .ocr-field-reason, .v4i-review-reason) {
  color: #ffb0a7;
}
html[data-site-theme="dark"] body.ui-maple-tools :is(.item-efficiency-review-panels label[data-ocr-state="error"], .v4i-field[data-ocr-state="error"]) {
  outline: 2px solid #9b6260;
  background: #432b2d;
}
html[data-site-theme="dark"] body.ui-maple-tools :is(.item-efficiency-review-panels textarea[aria-invalid="true"], .v4i-dialog :is(input,select)[aria-invalid="true"], .wizard-manual-input input.invalid) {
  border-color: #9b6260 !important;
  background-color: #432b2d !important;
  color: #ffb0a7 !important;
  box-shadow: 0 0 0 1px #000000;
}
html[data-site-theme="dark"] body.ui-maple-tools :is(.v4i-option, .v4i-companion-cell, .v4i-upload)[data-ocr-state="error"] {
  background: #432b2d;
  border-color: #9b6260;
  box-shadow: inset 4px 0 #000000;
}
html[data-site-theme="dark"] body.ui-maple-tools .v4i-review-summary {
  border: 1px solid #9b6260;
}
html[data-site-theme="dark"] body.ui-maple-tools .item-efficiency-photo[data-state="error"] .item-efficiency-photo-head > span {
  background: #432b2d;
  color: #eee6db;
}
html[data-site-theme="dark"] body.ui-maple-tools .item-efficiency-review-panels label[data-ocr-state="error"] > strong {
  color: #ffb0a7;
}
html[data-site-theme="dark"] body.ui-maple-tools #profileWizard .wizard-manual-field.ocr-missing > [data-manual-help] {
  color: #ffb0a7;
}
html[data-site-theme="dark"] body.ui-maple-tools #profileWizard .wizard-manual-field.ocr-missing .wizard-manual-input {
  border-color: #9b6260;
  box-shadow: 0 0 0 1px #000000;
}

/* assets/hotdeal-library.css: existing component paint, with dark surface/text/status pairs. */
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .hotdeal-page :is(a,button,input,select,summary,[tabindex]):focus-visible {
  outline: 3px solid #637c52;
}
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .hotdeal-page {
  color: #eee6db;
}
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .hotdeal-panel {
  background: #222326;
  border: 1px solid #62584e;
}
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .hotdeal-page .hotdeal-source {
  color: #c5b8a8;
}
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .hotdeal-caution {
  border: 1px solid #8a7149;
  background: #3b3223;
  color: #edc67f;
}
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .hotdeal-controls :is(input,select) {
  border: 1px solid #62584e;
  color: #eee6db;
  background: #222326;
}
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .hotdeal-button {
  border: 1px solid #62584e;
  background: #222326;
  color: #eee6db;
}
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .hotdeal-button:hover:not(:disabled) {
  background: #2c2b2c;
  border-color: #62584e;
}
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .hotdeal-results-head p {
  color: #c5b8a8;
}
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .hotdeal-page .hotdeal-order-note {
  color: #c5b8a8;
}
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .hotdeal-group-heading {
  border: 1px solid #637c52;
  background: #293628;
}
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .hotdeal-group-count {
  color: #b2cf8b;
}
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .hotdeal-page .hotdeal-scroll-hint {
  color: #c5b8a8;
  background: #222326;
  border-right: 1px solid #62584e;
  border-left: 1px solid #62584e;
}
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .hotdeal-table-wrap {
  border: 1px solid #62584e;
  background: #222326;
}
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .hotdeal-table caption {
  color: #c5b8a8;
  background: #2c2b2c;
}
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .hotdeal-table thead th {
  border-top: 1px solid #49433d;
  border-bottom: 1px solid #49433d;
  background: #2c2b2c;
}
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .hotdeal-table :is(th,td)+:is(th,td) {
  border-left: 1px solid #49433d;
}
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .hotdeal-row>th,
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .hotdeal-row>td {
  border-bottom: 1px solid #49433d;
}
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .hotdeal-row:nth-child(odd) {
  background: #222326;
}
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .hotdeal-row:hover {
  background: #222326;
}
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .hotdeal-series th {
  border-top: 1px solid #62584e;
  border-bottom: 1px solid #62584e;
  background: #2c2b2c;
  color: #eee6db;
}
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .hotdeal-series-count {
  color: #c5b8a8;
}
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .hotdeal-badge {
  border: 1px solid #62584e;
  background: #2c2b2c;
  color: #eee6db;
}
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .hotdeal-badge--period,
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .hotdeal-badge--unlock-period {
  background: #293628;
  border-color: #637c52;
  color: #b2cf8b;
}
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .hotdeal-badge--scheduled,
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .hotdeal-badge--unlock-scheduled {
  background: #28333e;
  border-color: #607e98;
  color: #a8cbed;
}
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .hotdeal-badge--ended,
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .hotdeal-badge--unlock-ended {
  background: #2c2b2c;
  color: #c5b8a8;
}
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .hotdeal-payment-kind {
  color: #c5b8a8;
}
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .hotdeal-info dt {
  color: #eee6db;
}
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .hotdeal-subnote {
  color: #c5b8a8;
}
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .hotdeal-comparison-price {
  color: #eee6db;
}
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .hotdeal-comparison-rate {
  color: #b2cf8b;
}
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .hotdeal-comparison-rate.is-higher {
  color: #f0ae7d;
}
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .hotdeal-comparison-note {
  color: #c5b8a8;
}
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .hotdeal-limit-warning {
  color: #f0ae7d;
}
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .hotdeal-detail {
  border-top: 1px solid #49433d;
}
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .hotdeal-detail summary {
  color: #eee6db;
}
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .hotdeal-page .hotdeal-empty,
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .hotdeal-page .hotdeal-error {
  border: 1px solid #62584e;
  background: #222326;
}
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .hotdeal-error {
  color: #ffb0a7;
}
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .hotdeal-item-bonus {
  color: #b2cf8b;
}
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .hotdeal-row>.hotdeal-bonus-cell {
  background: #293628;
}
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .hotdeal-archive {
  border: 1px solid #62584e;
  background: #2c2b2c;
}
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .hotdeal-archive>summary {
  color: #eee6db;
}
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .hotdeal-page .hotdeal-archive-note {
  color: #c5b8a8;
}
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .hotdeal-latest {
  border-color: #637c52;
  background: #293628;
}
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .hotdeal-page .hotdeal-eyebrow {
  color: #b2cf8b;
}
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .hotdeal-jump,
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .hotdeal-text-button {
  color: #b2cf8b;
}
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .hotdeal-latest-tab {
  border: 1px solid #637c52;
  background: #222326;
  color: #b2cf8b;
}
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .hotdeal-latest-tab[aria-pressed=true] {
  background: #293628;
  border-color: #637c52;
  color: #eee6db;
}
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .hotdeal-latest-card {
  border: 1px solid #637c52;
  background: #222326;
}
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .hotdeal-latest-price {
  color: #eee6db;
}
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .hotdeal-latest-unlock {
  color: #eee6db;
}
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .hotdeal-latest-more>summary {
  color: #b2cf8b;
}
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .hotdeal-page .hotdeal-family-title {
  border-bottom: 2px solid #62584e;
}
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .hotdeal-family[data-family=event] .hotdeal-family-title {
  border-color: #62584e;
  color: #eee6db;
}
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .hotdeal-family[data-family=irregular] .hotdeal-family-title {
  border-color: #8b729f;
  color: #d3b5e7;
}
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .hotdeal-group {
  border: 1px solid #62584e;
  background: #222326;
}
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .hotdeal-group-heading::before {
  color: #b2cf8b;
}
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .hotdeal-table-wrap {
  border-top: 1px solid #62584e;
}
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .hotdeal-inline-comparison th,
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .hotdeal-inline-comparison td {
  border: 1px solid #49433d;
}
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .hotdeal-row.is-past,
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .hotdeal-latest-card.is-past {
  background: #2c2b2c;
  color: #c5b8a8;
}
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .is-past :is(.hotdeal-product-title,h3) {
  color: #c5b8a8;
}

/* assets/scroll-library.css: existing component paint, with dark surface/text/status pairs. */
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .scroll-page :is(a,summary,[tabindex]):focus-visible {
  outline: 3px solid #637c52;
}
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .scroll-page a {
  color: #f0ae7d;
}
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .scroll-page .scroll-card {
  background: #222326;
  border: 1px solid #62584e;
}
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .scroll-page .scroll-note {
  background: #2c2b2c;
  border: 1px solid #49433d;
  color: #c5b8a8;
}
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .scroll-page .scroll-jump a {
  border: 1px solid #62584e;
  background: #222326;
}
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .scroll-page .scroll-table-wrap {
  border: 1px solid #49433d;
  background: #222326;
}
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .scroll-page caption {
  color: #c5b8a8;
  background: #222326;
}
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .scroll-page :is(th,td) {
  border-bottom: 1px solid #49433d;
}
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .scroll-page thead th {
  background: #2c2b2c;
  color: #eee6db;
}
html[data-site-theme="dark"] .scroll-page tbody th {
  color: #eee6db;
}
html[data-site-theme="dark"] .scroll-page tbody tr:nth-child(even)>* {
  background: #222326;
}
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .scroll-page .scroll-badge {
  background: #2c2b2c;
  color: #eee6db;
}
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .scroll-page .scroll-explainer {
  background: #222326;
  border: 1px solid #62584e;
}
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .scroll-page .scroll-past-event {
  border-left: 3px solid #62584e;
}
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .scroll-page .scroll-asof {
  color: #c5b8a8;
}

/* skills/skills-explorer.css: existing component paint, with dark surface/text/status pairs. */
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .sx-setup,
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .sx-list-pane,
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .sx-detail,
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .sx-rules {
  box-shadow: 0 3px 0 rgba(0,0,0,0.1);
}
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .sx-main-fields input,
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .sx-bonus-grid input {
  background: #222326;
}
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .sx-job-picker .sx-job:is(.is-active,[aria-pressed="true"]) {
  background: #293628;
  border-color: #637c52;
  box-shadow: inset 0 0 0 1px #000000;
}
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .sx-viewbar nav button.is-active {
  color: #eee6db;
  box-shadow: 0 2px 0 #000000;
}
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .sx-filters button {
  background: #2c2b2c;
}
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .sx-filters button.is-active {
  background: #293628;
  border-color: #637c52;
}
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .sx-skill {
  background: #2c2b2c;
}
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .sx-skill:is(.is-active,[aria-selected="true"],[aria-pressed="true"]) {
  background: #293628;
  border-color: #637c52;
  box-shadow: inset 3px 0 0 #000000;
}
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .sx-tags>* {
  border: 1px solid #62584e;
  background: #2c2b2c;
}
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .sx-metric {
  border: 1px solid #62584e;
  background: #2c2b2c;
}
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .sx-line {
  border: 1px solid #62584e;
  background: #222326;
}
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .sx-growth {
  border: 1px solid #637c52;
  background: #293628;
}
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .sx-growth-row>:last-child {
  border-left: 1px solid #637c52;
}
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .sx-masteries>article,
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .sx-masteries>li,
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .sx-masteries>.sx-mastery {
  border: 1px solid #62584e;
  background: #2c2b2c;
}
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .sx-empty {
  background: #2c2b2c;
}
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .sx-setup button:hover:not(:disabled),
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .sx-filters button:hover:not(:disabled),
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .sx-skill:hover:not(:disabled) {
  border-color: #62584e;
}
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .sx-setup button:disabled,
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .sx-viewbar button:disabled,
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .sx-filters button:disabled,
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .sx-skill:disabled {
  background: #2c2b2c;
  border-color: #62584e;
  color: #c5b8a8;
}
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .sx-effects>li {
  border: 1px solid #62584e;
  background: #222326;
}
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .sx-growth-item+.sx-growth-item {
  border-top: 1px solid #637c52;
}
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .sx-count {
  background: #293628;
}
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) #sx-detail-title:focus {
  outline: 2px solid #637c52;
}
@media(max-width:760px) {
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .sx-growth-row>:last-child {
  border-top: 1px solid #637c52;
}

}
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .sx-workspace .sx-skill img {
  background: #222326;
  border: 1px solid #62584e;
}
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .sx-mastery-main.is-connected:before {
  background: #373332;
}
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .sx-mastery-side.is-connected:before {
  background: #373332;
}
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .sx-mastery-node {
  border: 1px solid #62584e;
  background: #222326;
  color: #eee6db;
}
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .sx-mastery-node small {
  color: #c5b8a8;
}
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .sx-mastery-node.is-learned {
  background: #293628;
  border-color: #637c52;
}
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .sx-mastery-node.is-locked {
  background: #2c2b2c;
  border-color: #62584e;
  color: #c5b8a8;
}
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .sx-mastery-node.is-active {
  border: 2px solid #a57958;
  box-shadow: 0 0 0 2px #000000;
}
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .sx-parent-link {
  border: 1px solid #62584e;
  background: #222326;
  color: #eee6db;
}
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .sx-mastery-assumption {
  background: #2c2b2c;
  color: #c5b8a8;
}
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .sx-mastery-node:focus-visible,
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .sx-parent-link:focus-visible,
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .sx-mastery-scroll:focus-visible {
  outline: 3px solid #a57958;
}
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .sx-workspace .sx-skill:is(.is-active,[aria-pressed="true"]) {
  box-shadow: inset 0 0 0 2px #000000;
}
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .sx-scope-label {
  background: #2c2b2c;
  color: #c5b8a8;
}
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .sx-cast-sum {
  border: 1px solid #637c52;
  background: #293628;
}
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .sx-cast-sum small,
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .sx-scope-note {
  color: #c5b8a8;
}
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .sx-skill-group {
  border-top: 1px solid #49433d;
}
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .sx-skill-group>h3>span {
  background: #2c2b2c;
  color: #c5b8a8;
}
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .sx-masteries--all>li {
  border: 1px solid #637c52;
  background: #293628;
}
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .sx-masteries--all>li.is-locked {
  border-color: #62584e;
  background: #2c2b2c;
}
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .sx-masteries--all .sx-mastery-state {
  color: #b2cf8b;
}
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .sx-masteries--all .is-locked .sx-mastery-state {
  color: #c5b8a8;
}

/* assets/skill-hitboxes.css: existing component paint, with dark surface/text/status pairs. */
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .hitbox-controls,
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .hitbox-results {
  box-shadow: 0 3px 0 #000000;
}
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .hitbox-search-toggle input:focus-visible {
  outline: 3px solid #637c52;
}
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .hitbox-origin-badge {
  border: 1px solid #637c52;
  background: #293628;
  color: #b2cf8b;
}
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .hitbox-origin-badge.is-target {
  background: #2c2b2c;
  border-color: #a57958;
  color: #f0ae7d;
}
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .hitbox-target-note {
  border-left: 3px solid #a57958;
  background: #2c2b2c;
  color: #f0ae7d;
}
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .hitbox-diagram .hitbox-target-origin {
  fill: #f0ae7d;
}
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) #skill-hitbox-app button:hover {
  background: #2c2b2c;
}
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) #skill-hitbox-app button:focus-visible,
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) #skill-hitbox-app select:focus-visible {
  outline: 3px solid #637c52;
}
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) #skill-hitbox-app #hitbox-add {
  background: #293628;
  border-color: #637c52;
  color: #b2cf8b;
}
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) #skill-hitbox-app #hitbox-wide[aria-pressed="true"] {
  background: #293628;
  border-color: #637c52;
}
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .hitbox-style-key i {
  border-top: 2px solid #62584e;
}
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .hitbox-style-key .hitbox-key-both {
  border-top: 2px solid #62584e;
  border-bottom: 1px dashed #62584e;
}
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .hitbox-measure-summary {
  border-left: 4px solid #618789;
  background: #293628;
}
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .hitbox-measure-heading {
  color: #eee6db;
}
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .hitbox-measure-values {
  color: #b2cf8b;
}
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .hitbox-measure-guides line {
  stroke: #c5b8a8;
}
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .hitbox-diagram .hitbox-measure-label {
  fill: #b2cf8b;
}
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .hitbox-grid {
  stroke: #62584e;
}
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .hitbox-axis {
  stroke: #c5b8a8;
}
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .hitbox-frame {
  stroke: #62584e;
}
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .hitbox-player {
  fill: #eee6db;
}
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .hitbox-reference {
  stroke: #c5b8a8;
}
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .hitbox-target {
  stroke: #ffb0a7;
}
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) #skill-hitbox-app .hitbox-range {
  border-color: #49433d;
}
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) #skill-hitbox-app .hitbox-range[aria-pressed="true"] {
  background: #293628;
  border-color: #637c52;
}
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .hitbox-range>.hitbox-range-values {
  color: #b2cf8b;
}
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .hitbox-range-number {
  background: #2c2b2c;
  color: #eee6db;
}
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .hitbox-unresolved {
  color: #c5b8a8;
}
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .hitbox-error {
  border: 1px solid #62584e;
  background: #222326;
}

/* assets/hero-ability.css: existing component paint, with dark surface/text/status pairs. */
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .ha-tabs button,
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .ha-stages button,
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .ha-button {
  color: #eee6db;
  background: #222326;
  border: 1px solid #62584e;
}
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .ha-tabs button[aria-pressed=true],
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .ha-stages button[aria-pressed=true],
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .ha-primary {
  color: #eee6db;
  background: #373332;
  border-color: #62584e;
}
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .ha-card {
  background: #222326;
  border: 1px solid #62584e;
}
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .ha-tag {
  background: #2c2b2c;
}
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .ha-kpi {
  background: #293628;
  border: 1px solid #637c52;
}
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .ha-kpi>span {
  color: #b2cf8b;
}
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .ha-kpi>strong {
  color: #b2cf8b;
}
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .ha-kpi>small {
  color: #b2cf8b;
}
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .ha-note {
  color: #c5b8a8;
}
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .ha-result {
  border-left: 4px solid #637c52;
  background: #293628;
}
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .ha-result strong {
  color: #b2cf8b;
}
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .ha-error {
  border: 1px solid #9b6260;
  color: #ffb0a7;
  background: #432b2d;
}
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .ha-page input,
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .ha-page select {
  border: 1px solid #62584e;
}
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .ha-page :is(input,select,button,summary):focus-visible {
  outline: 3px solid #637c52;
}
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .ha-table-wrap {
  border: 1px solid #49433d;
}
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .ha-page th,
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .ha-page td {
  border-bottom: 1px solid #49433d;
}
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .ha-page th {
  background: #2c2b2c;
  color: #eee6db;
}
html[data-site-theme="dark"] .ha-page tbody tr:nth-child(even) {
  background: #222326;
}
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .ha-grade-probs>div {
  border: 1px solid #62584e;
}
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .ha-unlocks>div {
  border: 1px solid #62584e;
}
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .ha-target {
  border: 1px solid #62584e;
}
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .ha-target button {
  border: 1px solid #62584e;
  background: #222326;
  color: #ffb0a7;
}
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .ha-source {
  color: #eee6db;
}
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .ha-step-costs div {
  background: #2c2b2c;
}
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .ha-page a {
  color: #f0ae7d;
}
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .ha-emphasis {
  color: #b2cf8b;
}
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .ha-option-fieldset {
  border: 1px solid #62584e;
}
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .ha-option-choice {
  background: #222326;
  border: 1px solid #49433d;
}
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .ha-option-choice:has(input:checked) {
  background: #293628;
  border-color: #637c52;
}
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .ha-package-list>div,
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .ha-package-plan>div {
  background: #2c2b2c;
  border: 1px solid #62584e;
}
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .ha-package-list small {
  color: #c5b8a8;
}
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .ha-purchase-result {
  background: #2c2b2c;
  border: 1px solid #62584e;
}
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .ha-purchase-total {
  color: #f0ae7d;
}
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) #targetSummary.ha-error {
  color: #ffb0a7;
}

/* assets/defense-reference.css: existing component paint, with dark surface/text/status pairs. */
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .drSource {
  color: #b2cf8b;
}
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .drScroll {
  scrollbar-color: #62584e transparent;
}
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .drScroll:focus-visible,
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .drControls select:focus-visible {
  outline: 3px solid #637c52;
}
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .drTable th,
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .drTable td {
  border-bottom: 1px solid #49433d;
}
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .drTable thead th {
  background: #373332;
}
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .drTable th:first-child {
  background: #2c2b2c;
}
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .drTable thead th:first-child {
  background: #373332;
}
html[data-site-theme="dark"] .drTable tbody tr:hover>* {
  background: #2c2b2c;
}
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .drTable tr.drSpecial>th {
  color: #edc67f;
}
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .drTable tr.drGuildRaid>th {
  color: #b2cf8b;
  background: #293628;
}
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .drTable tr.drGuildRaidStart>* {
  border-top: 2px solid #637c52;
}
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .drGenreButton[aria-pressed="true"] {
  border-color: #637c52;
  background: #293628;
  box-shadow: inset 0 0 0 1px #000000;
  color: #b2cf8b;
}
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .drGenreButton:hover {
  border-color: #637c52;
}
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .drGenreButton:focus-visible {
  outline: 3px solid #637c52;
}
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .drGenre {
  border-top: 2px solid #637c52;
}
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .drError {
  color: #ffb0a7;
}
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .speedPierceGuides>summary:focus-visible {
  outline: 3px solid #637c52;
}

/* assets/pierce-baseline.css: existing component paint, with dark surface/text/status pairs. */
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .epBaselineField input[aria-invalid="true"] {
  border-color: #9b6260;
  outline-color: #9b6260;
}
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .epStatus.is-error {
  color: #ffb0a7;
}
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .epScroll {
  scrollbar-color: #62584e transparent;
}
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .epScroll:focus-visible {
  outline: 3px solid #637c52;
}
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .epTable th,
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .epTable td {
  border-right: 1px solid #49433d;
  border-bottom: 1px solid #49433d;
}
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .epTable thead th {
  background: #373332;
}
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .epTable .epLine {
  background: #2c2b2c;
}
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .epTable thead .epLine {
  background: #373332;
}
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .epTable .epGroupEnd {
  border-right: 2px solid #62584e;
}
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .epTable .epKey {
  background: #2c2b2c;
}
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .epTable thead .epKey {
  background: #373332;
}
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .epTable .is-gain {
  color: #b2cf8b;
}
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .epTable .is-loss {
  color: #ffb0a7;
}
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .epTable .epBaselineRow>* {
  background: #293628;
  border-bottom: 2px solid #637c52;
}
html[data-site-theme="dark"] .epTable tbody tr:hover>* {
  background: #2c2b2c;
}
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .epTable .epBaselineRow:hover>* {
  background: #293628;
}
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .epTable .epEmpty {
  color: #ffb0a7;
}
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .epFormula {
  background: #2c2b2c;
}

/* assets/monsterpark-guide.css: existing component paint, with dark surface/text/status pairs. */
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .pqQuestTab:focus-visible {
  outline: 3px solid #8a7149;
}
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .monsterparkGuide {
  color: #eee6db;
}
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .mpIntro h2 {
  color: #eee6db;
}
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .mpIntro p {
  color: #c5b8a8;
}
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .mpEyebrow {
  color: #c5b8a8;
}
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .mpBadge {
  border: 1px solid #62584e;
  background: #2c2b2c;
  color: #edc67f;
}
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .mpFacts>div {
  border: 1px solid #62584e;
  background: #222326;
}
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .mpFacts dt {
  color: #c5b8a8;
}
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .mpFacts dd {
  color: #eee6db;
}
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .mpFacts dd small {
  color: #c5b8a8;
}
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .mpBlock {
  border: 1px solid #62584e;
  background: #222326;
}
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .mpBlock h3 {
  color: #eee6db;
}
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .mpBlockHeading p {
  color: #c5b8a8;
}
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .mpTickets .mpTicketAside {
  border-left: 1px solid #49433d;
}
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .mpSteps li {
  border: 1px solid #62584e;
  background: #222326;
}
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .mpSteps li::before {
  background: #373332;
  color: #eee6db;
}
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .mpSteps strong {
  color: #eee6db;
}
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .mpImportant {
  border-left: 4px solid #637c52;
  background: #293628;
  color: #b2cf8b;
}
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .mpTableWrap {
  border: 1px solid #62584e;
}
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .mpTable th,
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .mpTable td {
  border-top: 1px solid #49433d!important;
}
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .mpTable thead th {
  background: #2c2b2c!important;
  color: #eee6db!important;
}
html[data-site-theme="dark"] .mpTable tbody tr:nth-child(even) {
  background: #222326;
}
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .mpTable .mpBonus {
  color: #b2cf8b;
  background: #293628;
}
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .mpTable td small {
  color: #c5b8a8;
}
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .mpStats thead tr:last-child th {
  border-top: 1px solid #62584e!important;
}
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .mpStats th.mpGroupNormal {
  background: #293628!important;
  color: #b2cf8b!important;
}
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .mpStats th.mpGroupSpecial {
  background: #352d40!important;
  color: #d3b5e7!important;
}
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .mpStats th.mpGroupBoss {
  background: #2c2b2c!important;
  color: #edc67f!important;
}
html[data-site-theme="dark"] .mpStats tbody td:nth-child(3),
html[data-site-theme="dark"] .mpStats tbody td:nth-child(6),
html[data-site-theme="dark"] .mpStats tbody td:nth-child(9) {
  border-left: 1px solid #62584e;
}
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .mpStats thead tr:first-child th:nth-child(n+3),
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .mpStats thead tr:last-child th:nth-child(1),
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .mpStats thead tr:last-child th:nth-child(4),
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .mpStats thead tr:last-child th:nth-child(7) {
  border-left: 1px solid #62584e;
}
html[data-site-theme="dark"] .mpStats tbody td:nth-child(n+9) {
  color: #edc67f;
}
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .mpNote {
  color: #c5b8a8;
}
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .mpNote a {
  color: #c5b8a8;
}
@media(max-width:620px) {
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .mpTickets .mpTicketAside {
  border-top: 1px solid #49433d;
}

}

/* assets/weapon-comparison.css: existing component paint, with dark surface/text/status pairs. */
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .weaponCompare__controls {
  border: 1px solid #62584e;
}
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .weaponCompare__field input[aria-invalid="true"] {
  border-color: #9b6260!important;
  outline: 2px solid rgba(155,98,96,0.141);
}
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .weaponCompare__example {
  color: #edc67f;
}
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .weaponCompare__error {
  color: #ffb0a7;
}
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .weaponCompare__metric {
  border: 1px solid #62584e;
  background: #222326;
}
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .weaponCompare__metric--owned {
  background: #2c2b2c;
}
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .weaponCompare__next {
  border: 1px solid #62584e;
  border-left: 4px solid #62584e;
  background: #2c2b2c;
}
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .weaponCompare__next[data-state="upgrade"] {
  border-color: #637c52;
}
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .weaponCompare__scroll {
  scrollbar-color: #62584e #2c2b2c;
}
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .weaponCompare__table :is(th,td) {
  border-bottom: 1px solid #49433d;
  border-right: 1px solid #49433d;
}
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .weaponCompare__table thead th {
  background: #2c2b2c;
  color: #eee6db;
}
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .weaponCompare__table :is(th,td):first-child {
  background: #222326;
  border-right: 2px solid #62584e;
  box-shadow: 3px 0 4px rgba(0,0,0,0.047);
}
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .weaponCompare__table thead th:first-child {
  background: #2c2b2c;
}
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .weaponCompare__threshold[data-state="upgrade"] {
  background: #293628;
}
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .weaponCompare__cell[data-state="upgrade"] {
  border-color: #637c52;
}
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .weaponCompare__cell[data-state="current"] {
  border: 2px solid #8a7149;
}
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .weaponCompare__cell[data-state="equal"] {
  background: #2c2b2c;
  color: #eee6db;
}
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .weaponCompare__cell:hover {
  box-shadow: inset 0 0 0 1px #000000;
}
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .weaponCompare :is(button,input,select,summary,[tabindex]):focus-visible {
  outline: 3px solid #a57958;
}
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .weaponCompare__notes {
  border-top: 1px solid #49433d;
}
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .weaponCompare__load button {
  border: 1px solid #62584e;
  background: #2c2b2c;
  color: #edc67f;
}

/* assets/weapon-enhancement-costs.css: existing component paint, with dark surface/text/status pairs. */
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .weaponCosts__controls {
  border: 1px solid #62584e;
}
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .weaponCosts__controls :is(input,select) {
  background: #222326;
}
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .weaponCosts button {
  border: 1px solid #62584e;
  background: #2c2b2c;
  color: #edc67f;
}
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .weaponCosts [aria-invalid="true"] {
  outline: 2px solid rgba(155,98,96,0.141);
  border-color: #9b6260;
}
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .weaponCosts__error {
  color: #ffb0a7;
}
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .weaponCosts__metric {
  border: 1px solid #62584e;
  background: #222326;
}
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .weaponCosts__metric--required {
  border-color: #637c52;
  background: #293628;
}
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .weaponCosts__table-head>span {
  color: #b2cf8b;
}
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .weaponCosts__table-head>span:before {
  border: 1px solid #637c52;
  background: #293628;
}
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .weaponCosts__scroll {
  scrollbar-color: #62584e #2c2b2c;
}
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .weaponCosts :is(th,td) {
  border-bottom: 1px solid #49433d;
}
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .weaponCosts thead th {
  background: #2c2b2c;
  color: #eee6db;
}
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .weaponCosts th:first-child {
  background: #222326;
  border-right: 1px solid #62584e;
}
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .weaponCosts thead th:first-child {
  background: #2c2b2c;
}
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .weaponCosts .is-selected :is(th,td) {
  background: #293628;
}
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .weaponCosts :is(button,input,select,[tabindex]):focus-visible {
  outline: 3px solid #a57958;
}

/* assets/companion-information.css: existing component paint, with dark surface/text/status pairs. */
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .ci-panel {
  border: 1px solid #62584e;
  background: #222326;
  color: #eee6db;
}
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .ci-intro,
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .ci-note,
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .ci-table-hint,
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .ci-source {
  color: #c5b8a8;
}
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .ci-controls select,
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .ci-controls input,
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .ci-controls button {
  border: 1px solid #62584e;
  background: #222326;
  color: #eee6db;
}
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .ci-controls button {
  background: #293628;
}
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .ci-controls :focus-visible,
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .ci-table-scroll:focus-visible,
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .ci-table-scroll button:focus-visible {
  outline: 3px solid #637c52;
}
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .ci-name span {
  color: #c5b8a8;
}
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .ci-effect-card {
  border: 1px solid #637c52;
  background: #293628;
}
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .ci-effect-card+section {
  background: #222326;
  border-color: #49433d;
}
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .ci-effect-card p {
  color: #c5b8a8;
}
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .ci-effect-card dd {
  color: #b2cf8b;
}
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .ci-effect-card+section dd {
  color: #c5b8a8;
}
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .ci-table-scroll {
  border: 1px solid #49433d;
}
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .ci-table-scroll caption {
  color: #c5b8a8;
}
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .ci-table-scroll th,
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .ci-table-scroll td {
  border-bottom: 1px solid #49433d;
}
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .ci-table-scroll thead th {
  background: #2c2b2c;
}
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .ci-table-scroll th small {
  color: #c5b8a8;
}
html[data-site-theme="dark"] .ci-table-scroll tbody tr:nth-child(even) {
  background: #222326;
}
html[data-site-theme="dark"] .ci-table-scroll tbody tr.ci-selected {
  background: #293628;
  box-shadow: inset 3px 0 #000000;
}
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .ci-table-scroll button {
  color: #b2cf8b;
}

/* assets/companion-summon-reward.css: existing component paint, with dark surface/text/status pairs. */
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .companionReward {
  border: 1px solid #62584e;
  background: #222326;
  color: #eee6db;
}
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .companionReward h2 {
  color: #eee6db;
}
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .companionReward__level select {
  border: 1px solid #62584e;
  background: #222326;
  color: #eee6db;
}
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .companionReward__summary p {
  border: 1px solid #62584e;
  background: #2c2b2c;
}
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .companionReward__summary span {
  color: #b2cf8b;
}
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .companionReward__scroll {
  border: 1px solid #49433d;
}
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .companionReward th,
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .companionReward td {
  border-bottom: 1px solid #49433d;
}
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .companionReward thead {
  background: #2c2b2c;
  color: #eee6db;
}
html[data-site-theme="dark"] .companionReward tbody tr:nth-child(even) {
  background: #2c2b2c;
}
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .companionReward__note,
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .companionReward__source {
  color: #c5b8a8;
}
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .companionReward details {
  border-top: 1px solid #49433d;
}
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .companionReward :focus-visible {
  outline: 3px solid #637c52;
}

/* assets/market-information-117.css: existing component paint, with dark surface/text/status pairs. */
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .market-information {
  border: 1px solid #62584e;
  background: #222326;
  color: #eee6db;
}
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .market-information__note {
  color: #c5b8a8;
}
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .market-information__scroll {
  border: 1px solid #62584e;
}
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .market-information th,
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .market-information td {
  border-bottom: 1px solid #49433d;
}
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .market-information thead th {
  background: #2c2b2c;
}
html[data-site-theme="dark"] .market-information tbody tr:nth-child(odd) {
  background: #222326;
}
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .market-information__attendance {
  border-top: 1px solid #62584e;
}
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .market-information a {
  color: #b2cf8b;
}
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .market-information :is(a,summary,[tabindex]):focus-visible {
  outline: 3px solid #637c52;
}
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .market-information .is-past {
  background: #2c2b2c;
  color: #c5b8a8;
}
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .market-information__ended {
  color: #c5b8a8;
}

/* assets/leveling.css: existing component paint, with dark surface/text/status pairs. */
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .leveling__card {
  box-shadow: 0 3px 0 #000000;
}
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .leveling__heading {
  border-bottom: 1px solid #49433d;
  background: linear-gradient(120deg,#2c2b2c,#2c2b2c);
}
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .leveling__field input:focus-visible,
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .leveling__field select:focus-visible,
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .leveling__toolbar input:focus-visible,
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .leveling__toolbar select:focus-visible {
  outline: 3px solid #637c52;
}
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .leveling__toggle {
  border: 1px solid #49433d;
  background: #2c2b2c;
}
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .leveling__toggle input:checked+span {
  box-shadow: 0 1px 3px rgba(0,0,0,0.149);
}
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .leveling__divider {
  background: #373332;
}
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .leveling__result {
  border: 1px solid #637c52;
  background: linear-gradient(135deg,#293628,#293628);
  color: #b2cf8b;
}
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .leveling__result-note {
  color: #b2cf8b;
}
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .leveling__horizon {
  color: #b2cf8b;
}
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .leveling__horizon small {
  color: #b2cf8b;
}
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .leveling__metrics {
  border-top: 1px solid #637c52;
}
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .leveling__metrics dt {
  color: #b2cf8b;
}
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .leveling__progress {
  background: #293628;
}
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .leveling__progress>span {
  background: #293628;
}
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .leveling__progress-copy {
  color: #b2cf8b;
}
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .leveling__error {
  border: 1px solid #9b6260;
  background: #432b2d;
  color: #ffb0a7;
}
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .leveling__status[data-state="error"] {
  border-color: #9b6260;
  background: #432b2d;
  color: #ffb0a7;
}
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .leveling__details {
  border-top: 1px solid #49433d;
}
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .leveling__button:hover {
  background: #2c2b2c;
}
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .leveling__button:focus-visible {
  outline: 3px solid #637c52;
}
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .leveling__table-wrap {
  border: 1px solid #62584e;
}
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .leveling__table caption {
  background: #222326;
}
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .leveling__table th,
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .leveling__table td {
  border-bottom: 1px solid #49433d;
}
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .leveling__table thead th {
  background: #2c2b2c;
  color: #eee6db;
}
html[data-site-theme="dark"] .leveling__table tbody tr:nth-child(even) {
  background: #222326;
}
html[data-site-theme="dark"] .leveling__table tbody tr:hover {
  background: #2c2b2c;
}
html[data-site-theme="dark"] .leveling__table tbody tr.is-current {
  background: #293628;
  color: #b2cf8b;
}
html[data-site-theme="dark"] .leveling__table tbody tr.is-current th {
  box-shadow: inset 4px 0 #000000;
}
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .leveling__current-badge {
  background: #293628;
}
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .leveling__table small {
  color: #c5b8a8;
}
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .leveling__burning-duration {
  border-bottom: 1px solid #637c52;
}
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .leveling__burning-case+.leveling__burning-case {
  border-left: 1px solid #637c52;
}
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .leveling__burning-label {
  color: #b2cf8b;
}
@media(max-width:480px) {
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .leveling__burning-case+.leveling__burning-case {
  border-top: 1px solid #637c52;
}

}

/* assets/info-page.css: existing component paint, with dark surface/text/status pairs. */
html[data-site-theme="dark"] body {
  background: #28333e;
  color: #a8cbed;
}
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .infoHeader {
  border-bottom: 1px solid #607e98;
  background: rgba(40,51,62,0.97);
}
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .infoHome {
  color: #a8cbed;
}
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .infoHome:hover {
  color: #eee6db;
}
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .infoToc {
  border: 1px solid #607e98;
  background: #28333e;
}
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .infoToc strong {
  color: #a8cbed;
}
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .infoToc a {
  color: #a8cbed;
}
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .infoToc a:hover {
  color: #a8cbed;
}
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .infoArticle {
  border: 1px solid #607e98;
  background: #28333e;
  box-shadow: 0 18px 48px rgba(0,0,0,0.22);
}
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .infoEyebrow {
  color: #a8cbed;
}
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .infoArticle h1 {
  color: #a8cbed;
}
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .infoLead {
  color: #a8cbed;
}
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .infoArticle section {
  border-top: 1px solid #607e98;
}
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .infoArticle h2 {
  color: #a8cbed;
}
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .infoArticle p {
  color: #a8cbed;
}
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .infoArticle strong {
  color: #a8cbed;
}
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .infoCallout {
  border: 1px solid #607e98;
  background: #28333e;
  color: #a8cbed!important;
}
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .infoButton {
  border: 1px solid #607e98;
  background: #28333e;
  color: #a8cbed;
}
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .infoButton:hover {
  background: #28333e;
}

/* calcv4/ui-v2.css: existing component paint, with dark surface/text/status pairs. */
html[data-site-theme="dark"] body#top .v4-simulation-panel {
  background: linear-gradient(135deg, #2c2b2c, #2c2b2c);
  box-shadow: inset 0 0 0 2px #000000, 0 3px 0 #000000;
}
html[data-site-theme="dark"] body#top .v4-simulation-panel .v4-simulation-head {
  border-bottom: 2px solid #62584e;
  background: linear-gradient(#2c2b2c, #373332);
  box-shadow: inset 0 2px #000000, 0 1px #000000;
}
html[data-site-theme="dark"] body#top .v4-simulation-panel .v4-simulation-head h3 {
  color: #f0ae7d;
}
html[data-site-theme="dark"] body#top .v4-simulation-panel .v4-input-field > select,
html[data-site-theme="dark"] body#top .v4-simulation-panel .v4-duration-input,
html[data-site-theme="dark"] body#top .v4-simulation-panel #v4ScenarioInputs .v4i-field > select,
html[data-site-theme="dark"] body#top .v4-simulation-panel #v4ScenarioInputs .v4i-field > input {
  border-color: #62584e;
  background: #222326;
}
html[data-site-theme="dark"] body#top .v4-simulation-panel .v4-result-summary strong {
  color: #b2cf8b;
}
html[data-site-theme="dark"] body#top .v4-simulation-panel .v4-encounter-summary[data-clear-result="possible"] {
  color: #b2cf8b;
}
html[data-site-theme="dark"] body#top .v4-simulation-panel .v4-encounter-summary[data-clear-result="impossible"] {
  color: #f0ae7d;
}
html[data-site-theme="dark"] body#top .v4-simulation-panel .v4-damage-skill {
  border-bottom-color: #49433d;
}
html[data-site-theme="dark"] body#top .v4-simulation-panel .v4-skill-amount {
  color: #eee6db;
}
html[data-site-theme="dark"] body#top .v4-simulation-panel .v4-graph-axis-label {
  fill: #c5b8a8;
}
html[data-site-theme="dark"] body#top .v4-simulation-panel .v4-graph-grid {
  stroke: #62584e;
}
html[data-site-theme="dark"] body#top .v4-simulation-panel .v4-graph-tooltip {
  border-color: #62584e;
  background: #222326;
}
html[data-site-theme="dark"] body#top .v4-simulation-panel .v4-graph-tooltip > small {
  color: #c5b8a8;
}
html[data-site-theme="dark"] body#top .v4-simulation-panel .v4-playback-controls button,
html[data-site-theme="dark"] body#top .v4-simulation-panel .v4-playback-controls select {
  border-color: #62584e;
  color: #eee6db;
}
html[data-site-theme="dark"] body#top .v4-simulation-panel .v4-timeline-lane {
  border-top-color: #49433d;
}
html[data-site-theme="dark"] body#top .v4-simulation-panel .v4-timeline-lane .v4-lane-label strong {
  color: #c5b8a8;
}
html[data-site-theme="dark"] body#top .v4-simulation-panel .v4-timeline-lane .v4-lane-label small {
  color: #c5b8a8;
}
html[data-site-theme="dark"] body#top .v4-simulation-panel .v4-timeline-lane.is-companion .v4-lane-label small {
  color: #edc67f;
}
html[data-site-theme="dark"] body#top .v4-simulation-panel .v4-timeline-lane.is-buff.is-active .v4-lane-label strong {
  color: #d3b5e7;
}
html[data-site-theme="dark"] body#top .v4-simulation-panel .v4-timeline-lane.is-debuff.is-active .v4-lane-label strong {
  color: #f0ae7d;
}
html[data-site-theme="dark"] body#top [aria-labelledby="v4ValidationTitle"] {
  color: #c5b8a8;
  border: 2px solid #62584e;
  background: linear-gradient(135deg, #222326, #2c2b2c);
  box-shadow: inset 0 0 0 3px #000000, 0 5px 0 #000000, 0 12px 24px rgba(0,0,0,0.094);
}
html[data-site-theme="dark"] body#top .v4-locked-content > .damage-tree-head {
  border-color: #49433d;
}
html[data-site-theme="dark"] body#top .v4-locked-content > .damage-tree-head h2 {
  color: #eee6db;
  text-shadow: 0 2px #000000;
}
html[data-site-theme="dark"] body#top .v4-locked-content .damage-tree-summary > span {
  color: #eee6db;
  border-color: #62584e;
  background: #222326;
  box-shadow: inset 0 1px #000000, 0 2px #000000;
}
html[data-site-theme="dark"] body#top .v4-locked-content #treeProfileState {
  color: #b2cf8b;
  border-color: #637c52;
  background: #293628;
}
html[data-site-theme="dark"] body#top .v4-validation-cover {
  color: #edc67f;
  border-color: #62584e;
  background: linear-gradient(145deg, #2c2b2c, #373332);
  box-shadow: inset 0 0 0 3px #000000, 0 4px 0 #000000;
}
html[data-site-theme="dark"] body#top .v4-validation-cover h2 {
  color: #f0ae7d;
  text-shadow: 0 2px #000000;
}
html[data-site-theme="dark"] body#top .v4-validation-cover p,
html[data-site-theme="dark"] body#top .v4-validation-cover strong {
  color: #eee6db;
}
html[data-site-theme="dark"] body#top .v4-connection-check {
  color: #eee6db;
  border-color: #62584e;
}
html[data-site-theme="dark"] body#top .v4-connection-check p {
  color: #eee6db;
}
html[data-site-theme="dark"] body#top #v4CheckConnection {
  border-color: #a57958;
  background: linear-gradient(#373332, #3b3223);
  color: #f0ae7d;
  box-shadow: inset 0 1px #000000, 0 2px #000000;
}
html[data-site-theme="dark"] body#top #v4CheckConnection:hover:not(:disabled) {
  background: linear-gradient(#373332, #3b3223);
}
html[data-site-theme="dark"] body#top #v4ConnectionStatus[data-state="error"] {
  color: #ffb0a7;
  border-color: #62584e;
  background: #222326;
}
html[data-site-theme="dark"] body#top .v4-simulation-panel .v4-simulation-head h3 {
  text-shadow: 0 2px #000000;
}
html[data-site-theme="dark"] body#top .v4-simulation-panel .v4-preparing {
  border: 1px solid #62584e;
  background: #2c2b2c;
  color: #edc67f;
  box-shadow: inset 0 1px #000000, 0 2px #000000;
}
html[data-site-theme="dark"] body#top .v4-simulation-panel .v4-battle-settings {
  box-shadow: 0 2px #000000;
}
html[data-site-theme="dark"] body#top .v4-simulation-panel .v4-battle-settings > summary {
  background: linear-gradient(#222326, #2c2b2c);
}
html[data-site-theme="dark"] body#top .v4-simulation-panel .v4-battle-settings > summary::after,
html[data-site-theme="dark"] body#top .v4-simulation-panel .v4-hit-record > summary::after {
  color: #eee6db;
}
html[data-site-theme="dark"] body#top .v4-simulation-panel .v4-input-field > select,
html[data-site-theme="dark"] body#top .v4-simulation-panel .v4-duration-input,
html[data-site-theme="dark"] body#top .v4-simulation-panel #v4ScenarioInputs .v4i-field > select,
html[data-site-theme="dark"] body#top .v4-simulation-panel #v4ScenarioInputs .v4i-field > input {
  box-shadow: inset 0 2px 3px rgba(0,0,0,0.082), 0 1px #000000;
}
html[data-site-theme="dark"] body#top .v4-simulation-panel .v4-input-field option {
  background: #222326;
}
html[data-site-theme="dark"] body#top .v4-simulation-panel .v4-input-field option:disabled {
  color: #c5b8a8;
}
html[data-site-theme="dark"] body#top .v4-simulation-panel #v4ScenarioInputs .v4i-field > input::placeholder {
  color: #c5b8a8;
}
html[data-site-theme="dark"] body#top .v4-simulation-panel #v4ScenarioInputs .v4i-field > input[aria-invalid="true"] {
  border-color: #9b6260;
  background: #222326;
  box-shadow: 0 0 0 1px #000000;
}
html[data-site-theme="dark"] body#top .v4-simulation-panel .v4-simulation-start {
  border-color: #62584e;
  background: #2c2b2c;
  color: #c5b8a8;
  box-shadow: inset 0 1px #000000, 0 2px #000000;
}
html[data-site-theme="dark"] body#top .v4-simulation-panel .v4-simulation-start:not(:disabled) {
  border-color: #a57958;
  background: linear-gradient(#373332, #3b3223);
  color: #f0ae7d;
  box-shadow: inset 0 2px #000000, 0 3px #000000, 0 5px 9px rgba(0,0,0,0.098);
  text-shadow: 0 1px #000000;
}
html[data-site-theme="dark"] body#top .v4-simulation-panel .v4-simulation-start:not(:disabled):hover {
  background: linear-gradient(#373332, #3b3223);
}
html[data-site-theme="dark"] body#top .v4-simulation-panel .v4-simulation-start:not(:disabled):active {
  background: linear-gradient(#3b3223, #3b3223);
  box-shadow: inset 0 2px 3px rgba(0,0,0,0.169), 0 2px #000000;
}
html[data-site-theme="dark"] body#top .v4-simulation-panel .v4-result-summary article {
  border: 1px solid #62584e;
  background: linear-gradient(#222326, #2c2b2c);
  box-shadow: inset 0 2px #000000, 0 3px #000000;
}
html[data-site-theme="dark"] body#top .v4-simulation-panel .v4-damage-breakdown,
html[data-site-theme="dark"] body#top .v4-simulation-panel .v4-timeline-panel {
  box-shadow: inset 0 1px #000000, 0 2px #000000;
}
html[data-site-theme="dark"] body#top .v4-simulation-panel .v4-share-bar {
  background: #352d40;
  box-shadow: inset 0 1px 2px rgba(0,0,0,0.161);
}
html[data-site-theme="dark"] body#top .v4-simulation-panel .v4-share-basic {
  background: #293628;
}
html[data-site-theme="dark"] body#top .v4-simulation-panel .v4-icon-placeholder {
  background: #2c2b2c;
  color: #eee6db;
  box-shadow: inset 0 0 0 1px #000000;
}
html[data-site-theme="dark"] body#top .v4-simulation-panel .v4-damage-chart {
  background: #222326;
  box-shadow: inset 0 1px #000000, 0 2px #000000;
}
html[data-site-theme="dark"] body#top .v4-simulation-panel #v4DamageSeries {
  stroke: #b2cf8b;
}
html[data-site-theme="dark"] body#top .v4-simulation-panel #v4GraphCursor {
  stroke: #c5b8a8;
}
html[data-site-theme="dark"] body#top .v4-simulation-panel #v4GraphHoverCursor {
  stroke: #f0ae7d;
}
html[data-site-theme="dark"] body#top .v4-simulation-panel .v4-graph-tooltip {
  box-shadow: inset 0 0 0 1px #000000, 0 3px 0 #000000, 0 8px 20px rgba(0,0,0,0.188);
}
html[data-site-theme="dark"] body#top .v4-simulation-panel .v4-playback-controls button,
html[data-site-theme="dark"] body#top .v4-simulation-panel .v4-playback-controls select {
  background: linear-gradient(#222326, #2c2b2c);
  box-shadow: inset 0 1px #000000, 0 2px #000000;
}
html[data-site-theme="dark"] body#top .v4-simulation-panel .v4-playback-controls button:hover:not(:disabled) {
  background: #2c2b2c;
  border-color: #62584e;
}
html[data-site-theme="dark"] body#top .v4-simulation-panel #v4PlaybackSpeed,
html[data-site-theme="dark"] body#top .v4-simulation-panel .v4-input-field > select,
html[data-site-theme="dark"] body#top .v4-simulation-panel #v4ScenarioInputs .v4i-field > select,
html[data-site-theme="dark"] body#top .v4-simulation-panel #v4ScenarioInputs .v4i-field > input {
  background: #222326 !important;
  border-color: #62584e !important;
}
html[data-site-theme="dark"] body#top .v4-simulation-panel #v4PlaybackSpeed option,
html[data-site-theme="dark"] body#top .v4-simulation-panel .v4-input-field > select option,
html[data-site-theme="dark"] body#top .v4-simulation-panel #v4ScenarioInputs .v4i-field > select option {
  background: #222326;
}
html[data-site-theme="dark"] body#top .v4-simulation-panel .v4-input-field > select option:disabled {
  color: #c5b8a8;
}
html[data-site-theme="dark"] body#top .v4-simulation-panel #v4PlaybackSpeed:disabled {
  background: #2c2b2c !important;
  border-color: #62584e !important;
  color: #c5b8a8 !important;
}
html[data-site-theme="dark"] body#top .v4-simulation-panel .v4-duration-input input,
html[data-site-theme="dark"] body#top .v4-simulation-panel .v4-playback-position input,
html[data-site-theme="dark"] body#top .v4-simulation-panel #v4ScenarioInputs .v4i-dummy-immunity input {
  border-color: #62584e !important;
}
html[data-site-theme="dark"] body#top .v4-simulation-panel #v4ScenarioInputs .v4i-field > input[aria-invalid="true"] {
  background: #222326 !important;
  border-color: #9b6260 !important;
}
html[data-site-theme="dark"] body#top .v4-simulation-panel .v4-playback-controls :disabled {
  background: #2c2b2c;
  border-color: #62584e;
  color: #c5b8a8;
}
html[data-site-theme="dark"] body#top .v4-simulation-panel :is(.v4-battle-settings > summary, .v4-hit-record > summary, .v4-simulation-start, .v4-playback-controls button, .v4-playback-controls select, .v4-playback-position input, .v4-graph-stage svg):focus-visible,
html[data-site-theme="dark"] body#top .v4-simulation-panel .v4-input-field > select:focus-visible,
html[data-site-theme="dark"] body#top .v4-simulation-panel #v4ScenarioInputs .v4i-field > :is(input, select):focus-visible,
html[data-site-theme="dark"] body#top #v4CheckConnection:focus-visible {
  outline: 2px solid #8a7149;
}
html[data-site-theme="dark"] body#top .v4-simulation-panel .v4-duration-input:focus-within {
  outline: 2px solid #8a7149;
}
html[data-site-theme="dark"] body#top .v4-simulation-panel .v4-lane-track {
  background: repeating-linear-gradient(90deg, transparent, transparent calc(25% - 1px), #373332 calc(25% - 1px), #373332 25%);
}
html[data-site-theme="dark"] body#top .v4-simulation-panel .v4-lane-track::after {
  border-left-color: #62584e;
}
html[data-site-theme="dark"] body#top .v4-simulation-panel .v4-cast-mark {
  background: #293628;
}
html[data-site-theme="dark"] body#top .v4-simulation-panel .is-companion .v4-cast-mark {
  background: #3b3223;
}
html[data-site-theme="dark"] body#top .v4-simulation-panel .v4-buff-band {
  background: #352d40;
}
html[data-site-theme="dark"] body#top .v4-simulation-panel .v4-debuff-band {
  background: #493124;
}
html[data-site-theme="dark"] body#top .v4-simulation-panel .v4-cast-mark:hover,
html[data-site-theme="dark"] body#top .v4-simulation-panel .v4-buff-band:hover {
  outline-color: #62584e;
}
html[data-site-theme="dark"] body#top .v4-simulation-panel .v4-peak-info {
  border-color: #62584e;
  background: #2c2b2c;
  color: #edc67f;
  box-shadow: inset 0 1px #000000, 0 2px #000000;
}
html[data-site-theme="dark"] body#top .v4-simulation-panel .v4-hit-record {
  box-shadow: 0 2px #000000;
}
html[data-site-theme="dark"] body#top .v4-simulation-panel .v4-hit-record > summary {
  background: linear-gradient(#222326, #2c2b2c);
}
html[data-site-theme="dark"] body#top .v4-simulation-panel #v4SequenceLog {
  scrollbar-color: #62584e #2c2b2c;
}
html[data-site-theme="dark"] body#top .v4-simulation-panel #v4SequenceLog .v4-event-kind {
  border-color: #62584e;
  background: #2c2b2c;
  color: #eee6db;
}
html[data-site-theme="dark"] body#top .v4-simulation-panel #v4SequenceLog .v4-event-damageTaken {
  color: #ffb0a7;
}
html[data-site-theme="dark"] body#top .v4-simulation-panel #v4SequenceLog .v4-event-miss {
  color: #c5b8a8;
}
html[data-site-theme="dark"] body#top .v4-simulation-panel .v4-boss-buff-band {
  background: #3b3223;
}
html[data-site-theme="dark"] body#top .v4-simulation-panel .v4-player-debuff-band {
  background: #432b2d;
}
html[data-site-theme="dark"] body#top .v4-simulation-panel .v4-timeline-lane.is-player-debuff.is-active .v4-lane-label strong {
  color: #ffb0a7;
}
html[data-site-theme="dark"] body#top .v4-simulation-panel .v4-guild-score:not([hidden]) {
  border: 2px solid #637c52;
  background: #293628;
  color: #b2cf8b;
}
html[data-site-theme="dark"] body#top .v4-simulation-panel .v4-guild-score > small {
  color: #b2cf8b;
}

/* Semantic modules reset their own inherited tokens. */
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) [data-ui-role="guide"] {
  --ui-role-bg:#26272a;--ui-role-head:#303134;--ui-role-line:#5c5954;
  --ui-role-ink:#dfd6ca;--ui-role-accent:#bdb09c;--ui-role-tag:#3c3b38;
}
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) [data-ui-role="input"] {
  --ui-role-bg:#262321;--ui-role-head:#383024;--ui-role-line:#8a7149;
  --ui-role-ink:#f0ce98;--ui-role-accent:#d7a467;--ui-role-tag:#4a3925;
}
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) [data-ui-role="result"] {
  --ui-role-bg:#232b24;--ui-role-head:#2d392b;--ui-role-line:#637c52;
  --ui-role-ink:#c5dfa6;--ui-role-accent:#a0c17d;--ui-role-tag:#384a2e;
}
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) [data-ui-role] :is(input,select,textarea):not(:disabled):not([aria-invalid="true"]) {
  background-color:#1b1d20 !important;
}
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) :is(input,select,textarea,option,.qnaModal,.mapleSiteHeader,.v4-simulation-panel) {
  color-scheme:dark !important;
}
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) :is(input,textarea)::placeholder {
  color:#b1a698;
  opacity:1;
}
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .siteThemeToggle {
  background:#2c2b2c;
  color:#eee6db;
  border-color:#75685c;
}
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .siteThemeToggle:hover {
  background:#493124;
  border-color:#f0ae7d;
}
html[data-site-theme="dark"] body:is(.home-v2,.ui-maple-v2):not(.ui-maple-fan) .siteThemeToggle:focus-visible {
  outline-color:#f0ae7d;
}
html[data-site-theme="dark"] body#top.ui-maple-tools .v4-simulation-panel {
  --v4-ui-text:#eee6db;
  --v4-ui-label:#e4c9a7;
  --v4-ui-muted:#c5b8a8;
  --v4-ui-line:#75685c;
  --v4-ui-surface:#222326;
  --v4-ui-rule:#49433d;
  --v4-ui-green:#b2cf8b;
  --v4-ui-purple:#d3b5e7;
  --v4-ui-orange:#f0ae7d;
  --v4-ui-gold:#edc67f;
}
/* Chart geometry and series hue families are retained. Series use brighter
   shades above for contrast; neutral labels and grid use the shared palette. */
html[data-site-theme="dark"] body.ui-maple-tools .v4-graph-axis-label { fill:#c5b8a8 !important; }
html[data-site-theme="dark"] body.ui-maple-tools :is(.v4-graph-grid,.v4-graph-gridline) { stroke:#49433d !important; }
html[data-site-theme="dark"] body.ui-maple-tools .v4-graph-tooltip { background:#222326 !important;border-color:#75685c !important;color:#eee6db !important; }
html[data-site-theme="dark"] body.ui-maple-v2 .hitbox-grid { stroke:#49433d; }
html[data-site-theme="dark"] body.ui-maple-v2 .hitbox-axis { stroke:#a49683; }
html[data-site-theme="dark"] body.ui-maple-v2 .hitbox-frame { stroke:#75685c; }
html[data-site-theme="dark"] body.ui-maple-v2 .hitbox-player { fill:#eee6db; }
html[data-site-theme="dark"] body.ui-maple-v2 .hitbox-reference { stroke:#edc67f; }
html[data-site-theme="dark"] body.ui-maple-v2 .hitbox-target { stroke:#ffb0a7; }
/* The active view uses an opaque accent, so it needs dark ink instead of body text. */
html[data-site-theme="dark"] body.ui-maple-data .sx-viewbar nav button.is-active { color:#241b16; }
/* Preserve artwork pixels; just replace the cream backing and overlay. */
html[data-site-theme="dark"] body.ui-maple-tools :is(.wizard-job-name strong,.wizard-selected-job strong,.wizard-selected-companion strong) { color:#eee6db !important;text-shadow:0 1px 3px #000; }
html[data-site-theme="dark"] body.ui-maple-tools :is(.wizard-job-name small,.wizard-selected-job small) { color:#edc67f; }
html[data-site-theme="dark"] body.ui-maple-tools :is(.wizard-job-card,.wizard-selected-job,.wizard-selected-companion) > .wizard-job-art { background-color:#35302b; }
/* Keep disabled, error, selection and result states recognisable, not simply dimmed. */
html[data-site-theme="dark"] body.ui-maple-v2 :is(input,select,textarea):disabled { background:#303031 !important;color:#b1a698 !important; }
html[data-site-theme="dark"] body.ui-maple-v2 :is(input,select,textarea)[aria-invalid="true"] { border-color:#cf817b !important;background:#432b2d !important;color:#ffd1cb !important; }
html[data-site-theme="dark"] body.ui-maple-tools :is(.positive,.is-positive) { color:#b2cf8b !important; }
html[data-site-theme="dark"] body.ui-maple-tools :is(.negative,.is-negative) { color:#ffb0a7 !important; }
/* V4's section navigation is a separate stylesheet with its own light paints. */
html[data-site-theme="dark"] body.ui-maple-tools .v4-section-nav {
  border-color:#62584e;
  background:#222326;
  box-shadow:0 3px 0 #00000033;
}
html[data-site-theme="dark"] body.ui-maple-tools .v4-section-nav>a {color:#c5b8a8}
html[data-site-theme="dark"] body.ui-maple-tools .v4-section-nav__number {
  border-color:#75685c;
  background:#373332;
  color:#eee6db;
}
html[data-site-theme="dark"] body.ui-maple-tools .v4-section-nav>a:hover {
  background:#373332;
  border-color:#75685c;
  color:#eee6db;
}
html[data-site-theme="dark"] body.ui-maple-tools .v4-section-nav>a[aria-current="location"] {
  background:#293628;
  border-color:#637c52;
  color:#c5dfa6;
  box-shadow:inset 0 -3px 0 #637c52;
}
html[data-site-theme="dark"] body.ui-maple-tools .v4-section-nav>a[aria-current="location"] .v4-section-nav__number {
  background:#384a2e;
  border-color:#637c52;
  color:#c5dfa6;
}
html[data-site-theme="dark"] body.ui-maple-tools .v4-section-nav>a:focus-visible {outline-color:#f0ae7d}

@media(forced-colors:active) {
  :is(body.home-v2,body.ui-maple-v2) .siteThemeToggle { color:ButtonText;background:ButtonFace;border-color:ButtonText; }
  :is(body.home-v2,body.ui-maple-v2) .siteThemeToggle:focus-visible { outline-color:Highlight; }
}

