/* Theme layer shared by every public page. Artwork is never inverted. */
:root { color-scheme: dark; }
body .theme-toggle { display: inline-flex; flex: 0 0 44px; align-items: center; justify-content: center; width: 44px; min-width: 44px; height: 44px; min-height: 44px; padding: 10px; border: 1px solid #a889d347; border-radius: 50%; background: #ffffff08; color: #d6cde3; cursor: pointer; }
body .theme-toggle:hover { color: #fff; background: #9f6bed26; border-color: #ab83e5a6; }
.theme-toggle svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.theme-toggle .theme-moon { display: none; }
.theme-toggle:focus-visible { outline: 3px solid #a78bfa; outline-offset: 3px; }
body.rf-error-page > main.card { position: relative; }
.rf-error-page .theme-toggle { position: absolute; top: 22px; inset-inline-end: 22px; z-index: 3; }
.rf-error-page .brand { margin-top: 44px; }
.error-language { position: absolute; top: 22px; inset-inline-end: 75px; z-index: 4; }
.error-language .language-trigger { display: grid; place-items: center; width: 44px; height: 44px; padding: 10px; color: #d6cde3; background: #ffffff08; border: 1px solid #a889d347; border-radius: 50%; cursor: pointer; }
.error-language .language-menu { position: absolute; top: 52px; inset-inline-end: 0; min-width: 110px; padding: 7px; border: 1px solid #a889d347; border-radius: 15px; background: #100c1e; }
.error-language .language-menu[hidden] { display: none; }
body .header .language-menu, body .header .currency-menu, body .mobile-nav, .error-language .language-menu { backdrop-filter: blur(20px) saturate(120%); -webkit-backdrop-filter: blur(20px) saturate(120%); }
.error-language .language-option { display: block; width: 100%; min-height: 40px; padding: 8px 14px; border: 0; border-radius: 8px; white-space: nowrap; color: #d6cde3; background: none; cursor: pointer; }
.error-language .language-option[aria-selected="true"], .error-language .language-option:hover { background: #9f6bed26; }
.error-language .sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
@media (max-width: 560px) {
  body .header .brand img.brand-lockup { display: none; }
  body .header .brand img.brand-compact { display: block; }
}
/* No blur support: retain a readable, shared fallback rather than invisible glass. */
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  body .header, body .header.rd-scrolled { background: rgba(13,12,27,.94); }
  body .rd-search-launcher, body .rd-search-launcher:hover { background: rgba(13,12,27,.96); }
}
html[data-theme="light"] {
  color-scheme: light;
  --bg: #f2f0f8; --rd-bg: #f2f0f8; --shell-bg: #f2f0f8;
  --text: #29233c; --text-muted: #625b73;
  --neon: #146d94; --neon2: #7944a4; --neon3: #147654;
  --glass-bg: rgba(255,255,255,.8); --glass-border: rgba(94,71,139,.19);
  --rd-panel: rgba(255,255,255,.86); --rd-line: rgba(94,71,139,.18); --rd-line-strong: rgba(101,66,163,.36);
  --rd-muted: #625b73; --rd-secondary: #625b73; --rd-mint: #147654; --rd-cyan: #136b8b;
  --shell-panel: rgba(255,255,255,.86); --shell-line: rgba(94,71,139,.18); --shell-line-strong: rgba(101,66,163,.36);
  --shell-text: #29233c; --shell-muted: #625b73; --shell-cyan: #136b8b;
  --detail-panel: #ffffff; --detail-line: rgba(94,71,139,.2); --detail-muted: #625b73;
  --detail-cyan: #136b8b; --detail-purple: #7043b3;
  background: #f2f0f8; color: #29233c;
}
html[data-theme="light"] body { background: radial-gradient(ellipse at 80% 0, #dfd7f366, transparent 50%), #f2f0f8; color: #29233c; }
html[data-theme="light"] body::after { opacity: .2; }
html[data-theme="light"] body::before { opacity: .12; }
html[data-theme="light"] .scanlines { opacity: .12; }
html[data-theme="light"] #void-starfield { visibility: hidden; }
html[data-theme="light"] body .header, html[data-theme="light"] body .header.rd-scrolled { background: linear-gradient(115deg,rgba(255,255,255,.40),rgba(236,232,247,.30)); border-color: rgba(110,83,151,.28); box-shadow: 0 12px 36px rgba(57,37,90,.09), inset 0 1px rgba(255,255,255,.6); }
html[data-theme="light"] body .header .nav { background: rgba(255,255,255,.28); border-color: #7560952b; }
html[data-theme="light"] body .header .nav a { color: #30243f; text-shadow: none; }
html[data-theme="light"] body .header .nav a:hover, html[data-theme="light"] body .header .nav a:focus-visible { color: #4e258d; background: #7542b812; }
html[data-theme="light"] body .header #authBtn, html[data-theme="light"] body .header #languageTrigger, html[data-theme="light"] body .header #currencyTrigger, html[data-theme="light"] body .theme-toggle, html[data-theme="light"] body .mobile-menu-toggle { color: #30243f; background: rgba(255,255,255,.4); border-color: #75609540; }
html[data-theme="light"] .theme-toggle .theme-sun { display: none; }
html[data-theme="light"] .theme-toggle .theme-moon { display: block; }
html[data-theme="light"] .error-language .language-trigger { color: #543b76; background: rgba(255,255,255,.28); border-color: #75609540; }
html[data-theme="light"] .error-language .language-option { color: #554967; }
html[data-theme="light"] body .header img.brand-lockup, html[data-theme="light"] body .header img.brand-compact, html[data-theme="light"] .rf-wordmark, html[data-theme="light"] .panel-title-logo, html[data-theme="light"] .rf-error-page .brand img { filter: brightness(.32) saturate(1.5); }
html[data-theme="light"] body .header .language-menu, html[data-theme="light"] body .header .currency-menu, html[data-theme="light"] .mobile-nav, html[data-theme="light"] .accounts-select-menu, html[data-theme="light"] .error-language .language-menu { color: #352744; background: rgba(252,250,255,.82); border-color: #75609540; box-shadow: 0 16px 40px #39255a1a; backdrop-filter: blur(20px) saturate(120%); -webkit-backdrop-filter: blur(20px) saturate(120%); }
html[data-theme="light"] .language-option, html[data-theme="light"] .currency-option, html[data-theme="light"] .mobile-nav a, html[data-theme="light"] .accounts-select-option { color: #554967; }
html[data-theme="light"] .language-option:hover, html[data-theme="light"] .currency-option:hover, html[data-theme="light"] .language-option[aria-selected="true"], html[data-theme="light"] .currency-option[aria-selected="true"], html[data-theme="light"] .accounts-select-option[aria-selected="true"] { color: #4e258d; background: #ece4f7; }
html[data-theme="light"] :is(h1,h2,h3,h4), html[data-theme="light"] .section-title, html[data-theme="light"] .rd-hero-stats dt { color: #30243f; }
html[data-theme="light"] .hero-title, html[data-theme="light"] .lookup-copy h1, html[data-theme="light"] .rf-error-page .code { background-image: linear-gradient(115deg,#30243f 8%,#66429f 60%,#a4349d); }
html[data-theme="light"] :is(.hero-intro,.section-desc,.rd-offer-card p,.rd-story-timeline p,.rd-story-note p,.rd-story-note li,.rd-payment-heading p,.rd-contact-note,.services-list li,.warranty-card p,.faq-answer,.lookup-copy p) { color: #625b73; }
html[data-theme="light"] :is(.hero-kicker,.section-kicker,.lookup-kicker,.lookup-kicker strong,.policy-kicker,.rd-offer-icon) { color: #7043b3; }
html[data-theme="light"] :is(.rd-offer-card,.rd-currency-card,.rd-story-timeline,.rd-story-note,.glass-panel,.warranty-card,.account-card,.accounts-filter-panel,.faq-list details,.policy-hero,.policy-toc,.policy-article,.lookup-form,.account-hero,.account-metric,.account-table,.account-empty,.empty-state,.placeholder-panel,.competitive-card,.skin-card,.variant-card,.rf-error-page > main.card), html[data-theme="light"] body .wrap .panel { background: linear-gradient(145deg, #fff, #faf8ff); border-color: #75609533; box-shadow: 0 12px 32px #39255a0c; }
html[data-theme="light"] :is(.account-card,.rd-offer-card,.warranty-card):hover { background: #fff; border-color: #9b79db80; box-shadow: 0 16px 36px #39255a15; }
html[data-theme="light"] :is(.rd-trust-strip,.rd-price-columns > div,.rd-key-prices > div,.services-list li,.ac-keyfact,.ac-detail,.balance-item,.tab,.policy-meta-item,.policy-switcher a) { background: #f1edf8; border-color: #75609526; }
html[data-theme="light"] :is(.rd-trust-strip b,.rd-price-columns h4,.rd-price-columns dd,.rd-key-prices strong,.rd-delivery-note b,.rd-story-timeline h3,.warranty-card h3,.ac-id,.ac-level-title:not(.is-valuable),.ac-keyfact-value,.ac-resource-value,.ac-detail > strong,.balance-item strong,.account-section h2,.account-metric strong,.account-card strong,.empty-state strong,.competitive-summary h2,.competitive-summary h3,.account-hero .account-identity-row h1,.lookup-form label) { color: #30243f; }
html[data-theme="light"] :is(.rd-price-columns dt,.rd-key-prices span,.rd-trust-strip i,.ac-keyfact-label,.ac-resource-label,.ac-skin-line,.ac-skin-name,.card-hero,.sidebar-label,.eyebrow,.hero-option,.hero-count,.result-line,.result-hint,.balance-item .balance-label,.competitive-card span,.page-label,.dialog-content p,.lookup-status,.policy-intro,.policy-toc a,.policy-content p,.policy-content li,.policy-note,.currency-fee-note,.accounts-last-updated) { color: #625b73; }
html[data-theme="light"] :is(.rd-offer-card a,.policy-content a,.policy-breadcrumb a,.accounts-last-updated time,.ac-highlights-toggle,.ac-skin-category) { color: #674092; }
html[data-theme="light"] .btn-outline, html[data-theme="light"] :is(.accounts-control,.accounts-select-trigger,.accounts-search,.hero-search,.filters input,.filters select,.reset-button,.data-action,.page-button,.lookup-controls), html[data-theme="light"] body #secret { background-color: #fff; color: #352744; border-color: #75609540; }
html[data-theme="light"] :is(input,select)::placeholder { color: #7b718a; }
html[data-theme="light"] .lookup-controls input { color: #352744; }
html[data-theme="light"] .tab { color: #62516f; }
html[data-theme="light"] .tab.active, html[data-theme="light"] .hero-option.active, html[data-theme="light"] .policy-switcher a[aria-current="page"] { background: #e6dbf5; color: #4e258d; border-color: #9875c0; }
html[data-theme="light"] .page-button.is-current { color: #fff; background: #7043b3; }
html[data-theme="light"] .account-table th { color: #55416d; background: #ece5f6; }
html[data-theme="light"] .account-table td { color: #352744; }
html[data-theme="light"] .rd-currency-notice { background: #fbf4e7; border-color: #ad812336; }
html[data-theme="light"] .rd-currency-notice strong { color: #7f5b16; }
html[data-theme="light"] .rd-status { background: #ffffff80; }
html[data-theme="light"] .rd-status-purple { color: #7043b3; }
html[data-theme="light"] body .faq-list summary { color: #3f2c57; }
html[data-theme="light"] body .faq-list details[open] summary { color: #7043b3; }
html[data-theme="light"] body .faq-list .faq-answer { color: #625b73; }
html[data-theme="light"] body .panel-title, html[data-theme="light"] body .code { color: #493365; text-shadow: none; }
html[data-theme="light"] body :is(.auth-intro,.auth-local-note,.hint,.field-label,.foot) { color: #625b73; }
html[data-theme="light"] .roshine-footer { color: #625b73; background: #ebe7f2; border-color: #75609533; }
html[data-theme="light"] :is(.rf-description,.rf-since,.rf-copyright,.rf-group a,.rf-social a,.rf-external) { color: #625b73; }
html[data-theme="light"] .rf-group h2 { color: #3f2c57; }
html[data-theme="light"] .rf-bottom { border-color: #75609526; }
html[data-theme="light"] .rf-group a:hover, html[data-theme="light"] .rf-social a:hover { color: #7043b3; }
html[data-theme="light"] .rf-group a[aria-current="page"] { color: #7043b3; }
html[data-theme="light"] body .row button:not(.primary) { color: #543b76; background: #f1edf8; border-color: #75609540; box-shadow: none; }
html[data-theme="light"] :is(.policy-meta,.policy-meta-item,.policy-switcher a,.policy-content strong,.policy-content b) { color: #554967; }
html[data-theme="light"] .policy-switcher { background: #ece5f6; box-shadow: none; border-color: #75609533; }
html[data-theme="light"] .policy-toc a.active { color: #7043b3; }
html[data-theme="light"] .rd-search-launcher { background: linear-gradient(110deg,rgba(255,255,255,.60),rgba(237,231,250,.56)); color: #20172e; border-color: #9875c080; backdrop-filter: blur(18px) saturate(125%); -webkit-backdrop-filter: blur(18px) saturate(125%); box-shadow: 0 10px 32px rgba(57,37,90,.12), inset 0 1px rgba(255,255,255,.55); animation: none; }
html[data-theme="light"] .rd-search-launcher:hover { background: linear-gradient(110deg,rgba(255,255,255,.60),rgba(237,231,250,.58)); box-shadow: 0 12px 36px rgba(57,37,90,.16), inset 0 1px rgba(255,255,255,.65); }
html[data-theme="light"] .rd-home-launcher > span img { filter: brightness(.32) saturate(1.5); }
html[data-theme="light"] :focus-visible { outline-color: #7043b3; }
html[data-theme="light"] .rd-search-launcher kbd { color: #625b73; background: #ece5f6; border-color: #75609533; }
html[data-theme="light"] .ac-highlights-content.is-collapsed::after { background: linear-gradient(transparent,#faf8ff); }
html[data-theme="light"] .ac-highlights { background: #f8f5fe; border-color: #75609526; color: #625b73; }
html[data-theme="light"] .ac-highlight-line { color: #625b73; }
html[data-theme="light"] .stock-shortcut { color: #136b8b; }
html[data-theme="light"] .balance-icon[src*="credits"], html[data-theme="light"] .balance-icon[src*="legacy-competitive"] { filter: brightness(.4) saturate(1.5); }
html[data-theme="light"] .rd-hero-orbit span { opacity: .25; }
/* Keep existing hue hierarchy; deepen inks for contrast on pale cards. */
html[data-theme="light"] :is(.ac-rarity-name-common,.card-name:not(.ac-special-skin),.variant-card strong) { color: #352744; }
html[data-theme="light"] :is(.ac-account-id,.ac-detail-label,.ac-keyfact-rank .ac-keyfact-value) { color: #625b73; }
html[data-theme="light"] :is(.ac-color-purple,.ac-color-pink) { color: #87429e; }
html[data-theme="light"] :is(.ac-color-blue,.ac-resource-item-competitive .ac-resource-label) { color: #176782; }
html[data-theme="light"] :is(.ac-color-gold,.ac-resource-value-threshold,.balance-value-threshold) { color: #8c600f; text-shadow: none; }
html[data-theme="light"] :is(.ac-color-green,.ac-rank-ready,.ac-availability-yes) { color: #147146; }
html[data-theme="light"] .card-bottom .catalog-label { color: #625b73; }
html[data-theme="light"] [data-rarity="common"] { --rarity-ink: #625b73; }
html[data-theme="light"] [data-rarity="rare"] { --rarity-ink: #176782; }
html[data-theme="light"] [data-rarity="epic"] { --rarity-ink: #87429e; }
html[data-theme="light"] [data-rarity="legendary"] { --rarity-ink: #8c600f; }
html[data-theme="light"] [data-rarity="ultra"] { --rarity-ink: #bd294a; }
html[data-theme="light"] #variantGrid .variant-owned { color: #147146; }
html[data-theme="light"] .ac-rarity-name-rare { color: #176782; }
html[data-theme="light"] .ac-rarity-name-epic { color: #87429e; }
html[data-theme="light"] .ac-rarity-name-legendary { color: #8c600f; }
html[data-theme="light"] .ac-rarity-name-ultra, html[data-theme="light"] .ac-special-skin-ultra-rare { color: #bd294a; text-shadow: none; }
html[data-theme="light"] .ac-special-skin-rare { color: #8c600f; text-shadow: none; }
html[data-theme="light"] .ac-special-skin-esports { color: #176782; text-shadow: none; }
html[data-theme="light"] :is(.ac-special-skin-mythic,.ac-special-skin-shop,.ac-special-skin-bundle,.ac-special-currency,.balance-item.is-premium .balance-label,.balance-item.is-premium strong) { background-image: linear-gradient(90deg,#b52b50,#a52a7c 50%,#876000); text-shadow: none; }
html[data-theme="light"] .ac-special-skin-collector { background-image: linear-gradient(90deg,#9a550b,#bd294a 52%,#a52a7c); text-shadow: none; }
html[data-theme="light"] .ac-rarity-name-mythic { background-image: linear-gradient(90deg,#087b66,#5c5880,#a52a7c); }
html[data-theme="light"] :is(.game-version-ow1,.details-version.game-version-ow1,.ac-level-title.is-valuable,.profile-account-level.is-high-level,.profile-account-level.is-high-level strong) { color: #815600; text-shadow: none; }
html[data-theme="light"] :is(.game-version-ow2,.details-version.game-version-ow2) { color: #136b8b; }
html[data-theme="light"] :is(.profile-account-level,.profile-account-level strong,.profile-badge strong) { color: #352744; }
html[data-theme="light"] :is(.profile-badge,.ac-level-tag) { background-color: #ede7f6; }
html[data-theme="light"] :is(.ac-endorsement-2,.profile-endorsement[data-endorsement-tier="2"],.profile-endorsement[data-endorsement-tier="2"] strong) { color: #426553; }
html[data-theme="light"] :is(.ac-endorsement-3,.profile-endorsement[data-endorsement-tier="3"],.profile-endorsement[data-endorsement-tier="3"] strong) { color: #147146; }
html[data-theme="light"] :is(.ac-endorsement-4,.profile-endorsement[data-endorsement-tier="4"],.profile-endorsement[data-endorsement-tier="4"] strong) { color: #a52a7c; }
html[data-theme="light"] :is(.details-stock-tag.border-tier,.ac-tag.border-tier) { color: #7944a4; }
html[data-theme="light"] :is(.details-stock-tag.stacked,.ac-tag.stacked) { color: #b62c44; }
/* Image stages stay dark: their captures and weapon framing need no color changes. */
html[data-theme="light"] .dialog-content { background: #faf8ff; color: #352744; }
html[data-theme="light"] .dialog-content h2 { color: #352744; }
html[data-theme="light"] .rarity-badge { background-color: #ede7f6; }
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  html[data-theme="light"] body .header, html[data-theme="light"] body .header.rd-scrolled { background: #f9f6fff5; }
  html[data-theme="light"] .rd-search-launcher, html[data-theme="light"] .rd-search-launcher:hover, html[data-theme="light"] body .header .language-menu, html[data-theme="light"] body .header .currency-menu, html[data-theme="light"] .mobile-nav, html[data-theme="light"] .accounts-select-menu, html[data-theme="light"] .error-language .language-menu { background: #fcfafff5; }
}
@media (forced-colors: active) {
  html[data-theme] body .header, html[data-theme] .theme-toggle { color: CanvasText; background: Canvas; border-color: ButtonText; }
}
/* Chinese uses native CJK letterforms; avoid Latin display-font tracking. */
html[lang="zh"] body { font-family: "Microsoft YaHei", "PingFang SC", "Noto Sans SC", system-ui, sans-serif; }
html[lang="zh"] :is(h1,h2,.hero-title,.section-title,.policy-title,.lookup-copy h1) { font-family: "Microsoft YaHei", "PingFang SC", "Noto Sans SC", system-ui, sans-serif; letter-spacing: -.025em; line-height: 1.2; }
html[lang="zh"] .hero-title { font-size: clamp(2.6rem,5.4vw,5.4rem); max-width: 960px; }
html[lang="zh"] .section-title { font-size: clamp(2rem,4.2vw,3.8rem); }
html[lang="zh"] .language-option { letter-spacing: 0; }
/* CJK headings: avoid a lone "解。" style last line; Japanese breaks by phrase where supported. */
html:is([lang="zh"],[lang="ja"]) :is(h1,h2,h3,.hero-title,.section-title,.policy-title):not(.ac-level-title) { text-wrap: balance; }
html[lang="zh"] :is(h1,h2,.hero-title,.section-title,.policy-title) { word-break: keep-all; overflow-wrap: anywhere; }
html:is([lang="zh"],[lang="ja"]) :is(p,li,.faq-answer) { text-wrap: pretty; }
html[lang="ja"] :is(h1,h2,h3,.hero-title,.section-title,.policy-title):not(.ac-level-title) { word-break: auto-phrase; }
/* Crisp light-mode inks: keep tier hues, not dark-mode bloom or pastel hotspots. */
html[data-theme="light"] body :is(.ac-special-skin,.ac-rarity-name,.ac-special-currency,[class*="ac-special-weapon-"],[class*="ac-color-"],[class*="ac-endorsement-"],.profile-endorsement,.profile-endorsement strong,.rarity-text,.balance-item strong,.game-version,.details-version) { text-shadow: none; filter: none; }
html[data-theme="light"] body :is(.ac-special-skin,.ac-rarity-name,[class*="ac-special-weapon-"]) { font-weight: 600; }
html[data-theme="light"] body .ac-special-skin-ultra-rare { font-weight: 800; }
html[data-theme="light"] body .ac-special-weapon-choice { background-image: linear-gradient(105deg,#815600,#147146,#7944a4,#176782,#815600); animation: none; will-change: auto; }
html[data-theme="light"] body .ac-special-weapon-hard-light { background-image: linear-gradient(105deg,#4f4964,#176782,#146d94,#815600); }
html[data-theme="light"] body .ac-special-weapon-nerf-gelfire { background-image: linear-gradient(105deg,#815600,#a14a0b,#b62c44,#176782); }
html[data-theme="light"] body .ac-special-weapon-los-muertos { background-image: linear-gradient(105deg,#476a0b,#147146,#7944a4,#a52a7c); }
html[data-theme="light"] body .ac-endorsement-5, html[data-theme="light"] body .profile-endorsement[data-endorsement-tier="5"] strong { background-image: linear-gradient(100deg,#b62c44,#815600,#147146,#176782,#6347a1,#a52a7c); }
html[data-theme="light"] body .rarity-label[data-rarity="mythic"] .rarity-text, html[data-theme="light"] body .rarity-badge[data-rarity="mythic"] .rarity-text { background-image: linear-gradient(90deg,#087b66,#5c5880,#a52a7c); }
html[data-theme="light"] body :is(.ac-color-red,.ac-highlight-rank-master,.ac-availability-no) { color: #b62c44; }
html[data-theme="light"] body :is(.ac-resource-value-critical,.balance-value-critical) { color: #87429e; text-shadow: none; }
html[data-theme="light"] body .ac-special-skin-ultra-rare { color: #bd294a; }
@media (forced-colors: active) {
  html[data-theme="light"] body :is(.ac-special-skin,.ac-rarity-name,.ac-special-currency,[class*="ac-special-weapon-"],.ac-endorsement-5,.profile-endorsement strong,.rarity-text) { background: none; color: CanvasText; -webkit-text-fill-color: CanvasText; }
}

/* Detail sections are layout containers, not extra cards around their own cards. */
html[data-theme="light"] .site-shell :is(.account-card,.account-metric,.competitive-card,.account-empty,.empty-state,.placeholder-panel) { color: #352744; }
html[data-theme="light"] .site-shell :is(.placeholder-panel p,.account-card small,.account-metric > span,.account-card > span) { color: #625b73; }
html[data-theme="light"] .site-shell .competitive-card .rank-value { color: var(--tier-color, #30243f); }
html[data-theme="light"] .site-shell .tier-bronze { --tier-color: #855035; }
html[data-theme="light"] .site-shell .tier-silver { --tier-color: #52667a; }
html[data-theme="light"] .site-shell .tier-gold { --tier-color: #815600; }
html[data-theme="light"] .site-shell .tier-platinum { --tier-color: #176775; }
html[data-theme="light"] .site-shell .tier-emerald { --tier-color: #147146; }
html[data-theme="light"] .site-shell .tier-diamond { --tier-color: #176296; }
html[data-theme="light"] .site-shell .tier-master { --tier-color: #147146; }
html[data-theme="light"] .site-shell .tier-grandmaster { --tier-color: #6347a1; }
html[data-theme="light"] .site-shell .tier-champion { --tier-color: #a52a61; }
html[data-theme="light"] .site-shell .role-icon { filter: brightness(0); opacity: .65; }
html[data-theme="light"] .lookup-status.error { color: #b62c44; }

/* Endorsement badges: dark-mode pastels vanish on pale chips; keep tier hue, deepen ink. */
html[data-theme="light"] :is(.profile-endorsement[data-endorsement-tier="1"],.profile-endorsement[data-endorsement-tier="1"] strong) { color: #352744; }
html[data-theme="light"] .profile-endorsement[data-endorsement-tier="3"] { border-color: #14714640; background: #e7f4ec; }
html[data-theme="light"] .profile-endorsement[data-endorsement-tier="4"] { border-color: #a52a7c40; background: #f8e8f2; }
html[data-theme="light"] .profile-endorsement[data-endorsement-tier="5"] { color: #87429e; border-color: #87429e40; background: #f4ebfa; }

/* Homepage controls and secondary copy that kept dark-mode inks. */
html[data-theme="light"] .accounts-popular-label { color: #625b73; }
html[data-theme="light"] .account-keyword-chip { color: #4f4565; background: #fff; border-color: #75609533; }
html[data-theme="light"] .account-keyword-chip:hover { color: #4e258d; background: #f1edf8; border-color: #9875c080; }
html[data-theme="light"] .account-keyword-chip[aria-pressed="true"] { color: #4e258d; background: #e6dbf5; border-color: #9875c0; box-shadow: none; }
html[data-theme="light"] .inventory-reset-btn { color: #4f4565; background: #fff; border-color: #75609540; }
html[data-theme="light"] .inventory-reset-btn:hover:not(:disabled) { color: #4e258d; background: #f1edf8; border-color: #9875c080; }
html[data-theme="light"] .inventory-reset-btn:disabled { opacity: .55; }
html[data-theme="light"] :is(.ac-level-tag.border-tier) { color: #6a3f99; border-color: #7944a440; background: #f2eafa; }
html[data-theme="light"] :is(.ac-level-tag.stacked) { color: #a4283e; border-color: #b62c4438; background: #fbecee; }
html[data-theme="light"] .rd-story-note > span { color: #7043b3; }
html[data-theme="light"] .rd-currency-icon { color: #7043b3; background: #efe7fa; border-color: #7043b340; box-shadow: none; }
html[data-theme="light"] .rd-availability { color: #136b8b; background: #e5f3f8; border-color: #136b8b40; }
html[data-theme="light"] .rd-availability.is-paused { color: #7f5b16; background: #fbf1dc; border-color: #ad812345; }
html[data-theme="light"] .rd-currency-card > p { color: #625b73; }
html[data-theme="light"] .faq-guide-intro { color: #625b73; }
html[data-theme="light"] .faq-auth-link { color: #136b8b; background: #e5f3f8; border-color: #136b8b40; }
html[data-theme="light"] .faq-auth-link:hover { color: #4e258d; background: #efe7fa; border-color: #7043b340; }
html[data-theme="light"] .faq-guide-block { background: #f6f3fb; border-color: #75609526; }
html[data-theme="light"] .faq-guide-block h4 { color: #30243f; }
html[data-theme="light"] .faq-guide-block h4 span { background: #fff; border-color: #75609526; }
html[data-theme="light"] .faq-guide-list li { color: #554967; }
html[data-theme="light"] .faq-guide-list li::before { box-shadow: none; }
html[data-theme="light"] .faq-guide-list.is-ordered li::before { color: #4e258d; background: #e6dbf5; box-shadow: none; }
html[data-theme="light"] .rf-error-page .actions a:not(:first-child) { color: #4e258d; background: #fff; border-color: #9875c080; }
html[data-theme="light"] .rf-error-page .actions a:not(:first-child):hover { background: #f1edf8; }
html[data-theme="light"] .rf-error-page .kicker { color: #7043b3; }
html[data-theme="light"] .rf-error-page p { color: #625b73; }
