:root{color-scheme:light}html[data-theme=dark]{color-scheme:dark;background:#0e131b;color:#e2e9f2;--surface:#161e29;--raised:#1e2937;--hover:#243246;--line:#354359;--muted:#a9b8ca;--text:#e2e9f2;--link:#8ec5ff}
.header-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.theme-toggle{font:600 12px/1.4 system-ui,sans-serif;padding:10px 13px;border:1px solid #b9c6d2;border-radius:8px;background:#fff;color:#314c66;cursor:pointer;white-space:nowrap}.theme-toggle:focus-visible{outline:3px solid #73b6ff;outline-offset:3px}
html[data-theme=dark] body{background:#0e131b;color:var(--text)}
html[data-theme=dark] p,html[data-theme=dark] blockquote,html[data-theme=dark] .muted,html[data-theme=dark] .source-note,html[data-theme=dark] .eyebrow,html[data-theme=dark] .meta,html[data-theme=dark] .site-footer{color:var(--muted)}
html[data-theme=dark] a{color:var(--link)}
html[data-theme=dark] input,html[data-theme=dark] select,html[data-theme=dark] .theme-toggle,html[data-theme=dark] .multi-filter summary{background:var(--surface);color:var(--text);border-color:var(--line)}
html[data-theme=dark] input::placeholder{color:#93a4ba;opacity:1}
html[data-theme=dark] .wiki-nav,html[data-theme=dark] .site-footer{border-color:var(--line)}
html[data-theme=dark] .wiki-nav a{color:var(--muted)}
html[data-theme=dark] .wiki-nav a:hover,html[data-theme=dark] .wiki-nav a[aria-current=page]{background:var(--raised);color:#fff}
html[data-theme=dark] .game-link{background:#245f40;color:#f0fff5;border:1px solid #397f57}
html[data-theme=dark] .game-link:hover{background:#30794f}
html[data-theme=dark] .share-link,html[data-theme=dark] .pagination button,html[data-theme=dark] .empty-state button,html[data-theme=dark] .sort-controls button{background:var(--surface);border-color:var(--line);color:var(--link)}
html[data-theme=dark] .share-link:hover,html[data-theme=dark] .pagination button:hover{background:var(--hover)}
html[data-theme=dark] .share-feedback{color:#76d9b1}
html[data-theme=dark] .wiki-card,html[data-theme=dark] .reward-card,html[data-theme=dark] .phase-grid figure,html[data-theme=dark] .box-facts>div,html[data-theme=dark] .box-item-group,html[data-theme=dark] .release-card,html[data-theme=dark] .filter-panel,html[data-theme=dark] .item-card,html[data-theme=dark] .comparison-wrap,html[data-theme=dark] .empty-state,html[data-theme=dark] .tablewrap{background:var(--surface);border-color:var(--line);color:var(--text)}
html[data-theme=dark] .wiki-card a,html[data-theme=dark] .release-head h2 a,html[data-theme=dark] .hero-number{color:var(--text)}
html[data-theme=dark] .reward-card:hover{background:var(--hover)}
html[data-theme=dark] th,html[data-theme=dark] .odds-table tbody th{background:var(--raised);color:var(--text)}
html[data-theme=dark] td,html[data-theme=dark] th{border-color:var(--line)}
html[data-theme=dark] tbody tr:hover,html[data-theme=dark] tbody tr:hover td{background:var(--hover)}
html[data-theme=dark] .box-summary span,html[data-theme=dark] .box-facts span,html[data-theme=dark] .box-item-group summary span,html[data-theme=dark] .release-kind,html[data-theme=dark] .release-card time,html[data-theme=dark] .release-section summary:after{color:var(--muted)}
html[data-theme=dark] .release-count{background:var(--raised);color:var(--muted)}
html[data-theme=dark] .release-item,html[data-theme=dark] .release-section,html[data-theme=dark] .item-box-links a{border-color:var(--line)}
html[data-theme=dark] .release-tag.added{background:#173e31;color:#8ee0b4}
html[data-theme=dark] .release-tag.changed{background:#203b5b;color:#a4ceff}
html[data-theme=dark] .release-tag.removed{background:#492831;color:#ffb1b9}
html[data-theme=dark] .release-item del{color:#ffa0ae}html[data-theme=dark] .release-item ins{color:#79dcb2}html[data-theme=dark] .release-preview{color:#eac879}
html[data-theme=dark] .view-switch{background:var(--raised)}
html[data-theme=dark] .view-switch button,html[data-theme=dark] .stat-tabs button{color:var(--muted)}
html[data-theme=dark] .view-switch button[aria-pressed=true],html[data-theme=dark] .stat-tabs button[aria-pressed=true]{background:#2a4261;color:#edf6ff;border-color:#4a6b91}
html[data-theme=dark] .stat-tabs button:hover{background:var(--hover)}
html[data-theme=dark] .filter-primary label>span:not(.sr-only),html[data-theme=dark] .multi-field>span,html[data-theme=dark] .results-meta,html[data-theme=dark] .results-meta p,html[data-theme=dark] .pagination span{color:var(--muted)}
html[data-theme=dark] .text-button,html[data-theme=dark] .multi-options .multi-clear{color:var(--link)}
html[data-theme=dark] .multi-options{background:var(--surface);border-color:var(--line);box-shadow:0 12px 35px #0008}
html[data-theme=dark] .multi-options label:hover{background:var(--hover)}
html[data-theme=dark] .multi-options input{accent-color:#7cb9f9}
html[data-theme=dark] .identity-meta,html[data-theme=dark] .card-stats dt,html[data-theme=dark] .card-source,html[data-theme=dark] .detail-stats dt,html[data-theme=dark] .detail-slot,html[data-theme=dark] .base-chance,html[data-theme=dark] .flavor{color:var(--muted)}
html[data-theme=dark] .positive,html[data-theme=dark] .catalog-page .positive{color:#79dcb2}
html[data-theme=dark] .negative,html[data-theme=dark] .catalog-page .negative{color:#ffa0ae}
html[data-theme=dark] .zero,html[data-theme=dark] .comparison-table .zero{color:#7e91a9}
html[data-theme=dark] .card-source,html[data-theme=dark] .detail-stats>div{border-color:var(--line)}
html[data-theme=dark] #item-dialog{background:var(--surface);color:var(--text);box-shadow:0 24px 100px #000a}
html[data-theme=dark] #item-dialog::backdrop{background:#000a}
html[data-theme=dark] .dialog-bar{background:var(--surface);color:var(--muted);border-color:var(--line)}
html[data-theme=dark] .dialog-bar button{background:var(--raised);color:var(--link)}
html[data-theme=dark] .item-card{border-top-color:var(--rarity)}
html[data-theme=dark] .reward-card{border-left-color:var(--rarity)}
@media(max-width:600px){.header-actions{width:100%;gap:8px}.header-actions .game-link{flex:1}.theme-toggle{padding:10px}.wiki-toolbar{min-width:0}.wiki-toolbar input{min-width:0}}
html{scrollbar-gutter:stable}.wiki-page,.wiki-page.catalog-page{max-width:1920px;margin:28px auto;padding:0 32px}.site-brand{display:flex;flex-direction:column;gap:5px;text-decoration:none;color:#192838}.site-brand .eyebrow{margin:0}.site-title{font:700 30px/1.2 system-ui,sans-serif;letter-spacing:-1px}.wiki-page .site-header{min-height:65px;margin:0}.wiki-page .wiki-nav{margin:24px 0;padding-bottom:12px;gap:6px}.wiki-page .wiki-nav a{padding:10px 18px}.wiki-page .directory-heading{min-height:40px;margin:28px 0 18px}.directory-heading h1{font-size:25px;line-height:1.3;letter-spacing:-.5px;margin:0}.site-brand:hover{text-decoration:none}.release-filter,.release-change-filter{display:flex;align-items:center;gap:9px;white-space:normal}.filter-secondary .release-filter select{max-width:310px}.filter-secondary select{width:auto;max-width:100%}.release-filter>span,.release-change-filter>span{font-size:12px}.filter-panel .filter-secondary{display:flex}.release-filters{display:flex;align-items:end;gap:16px;flex-wrap:wrap;margin:26px 0 12px}.release-filters label{display:grid;gap:6px;white-space:normal}.release-filters .release-search{flex:1;min-width:220px;margin:0}.release-browse-links{display:flex;flex-wrap:wrap;gap:12px;margin:14px 0}.release-browse{font-size:13px;text-decoration:none;border:1px solid #c5d5e6;padding:8px 12px;border-radius:7px}.item-changes{font-size:11px;margin:10px 0;line-height:1.5}.item-changes ul{padding-left:16px;margin:8px 0}.item-changes li{margin:5px 0;overflow-wrap:anywhere}.item-changes p{font-size:11px;margin:6px 0}.item-changes del{color:#8b4444}.item-changes ins{color:#216644;text-decoration:none;font-weight:650}.item-card>.item-changes{padding:0 16px}.changed-stat{box-shadow:inset 3px 0 #407ec4!important;padding-left:10px!important}.detail-slot{display:block}.detail-body h2{display:inline-block}.item-box-links a{display:flex}.wiki-page #item-dialog button{cursor:pointer}.wiki-page .game-rarity{color:var(--rarity)}
html[data-theme=dark] .site-brand{color:var(--text)}html[data-theme=dark] .release-browse{border-color:var(--line)}html[data-theme=dark] .item-changes del{color:#ffa0ae}html[data-theme=dark] .item-changes ins{color:#79dcb2}html[data-theme=dark] .changed-stat{box-shadow:inset 3px 0 #8ec5ff!important}
@media(max-width:650px){.wiki-page,.wiki-page.catalog-page{padding:0 14px;margin:20px auto}.site-title{font-size:25px}.wiki-page .wiki-nav a{padding:9px 11px}.wiki-page .site-header{gap:14px}.header-actions{width:100%}.release-filters{align-items:stretch}.release-filters label{width:100%}.filter-secondary .release-filter{width:100%;align-items:flex-start;flex-direction:column}.filter-secondary .release-filter select{width:100%;max-width:none}.release-change-filter{width:100%}.release-change-filter select{flex:1;min-width:0}.directory-heading h1{font-size:24px}}
.wiki-page .theme-toggle,.wiki-page .share-link{font:600 12px/1.4 system-ui,sans-serif}.wiki-page #close-detail{font:600 14px/1 system-ui,sans-serif}
html[data-theme=dark] .comparison-wrap{--table-bg:#161e29;--table-alt:#192331;--table-head:#202c3c;--table-line:#2c3a4e;--table-hover:#25364c;--table-sorted:#21334b;--table-head-selected:#294465;--table-text:#d0dced;--table-muted:#8599b3;--table-accent:#8ec5ff}
html[data-theme=dark] .table-key{color:var(--muted)}html[data-theme=dark] .table-key dl{background:var(--surface);border-color:var(--line)}html[data-theme=dark] .table-key dt{color:var(--text)}

.wiki-page .item-status{display:inline-block;vertical-align:baseline;font:650 9px/1.35 system-ui,sans-serif;letter-spacing:0;text-transform:none;padding:2px 5px;border-radius:4px;margin-right:6px}.comparison-table .identity-meta>.item-status{font-size:8px;padding:1px 4px;margin-right:4px}

.wiki-page button.item-status{border:0;cursor:pointer;white-space:nowrap}.wiki-page button.item-status:hover{filter:brightness(1.15);box-shadow:0 0 0 1px currentColor}.wiki-page button.item-status:focus-visible{outline:2px solid #73b6ff;outline-offset:3px}.item-identity{display:flex;align-items:center;gap:10px}.item-identity>div{min-width:0}.item-thumb{border:0;padding:0;background:none;flex:none;cursor:pointer}.item-thumb img{display:block;width:38px;height:38px;object-fit:contain;background:#0b0a08;border:1px solid var(--rarity);border-radius:6px}.card-title{border:0;padding:0;text-align:left;background:none;width:100%;cursor:pointer}.item-change-heading{display:flex;gap:8px 14px;align-items:baseline;flex-wrap:wrap}.item-change-heading time,.item-change-heading>span{color:#657489;font-size:11px}.detail-body .item-changes{padding:14px;background:#f1f5fa;border:1px solid #dce4ed;border-radius:8px;margin:16px 0}.detail-body .item-changes a{font-size:11px;margin:8px 0 0}.wiki-updates{border-top:1px solid #dce4ed;margin:24px 0;padding-top:18px}.wiki-updates>summary,.wiki-notes>summary{cursor:pointer;font-size:13px;font-weight:650;padding:6px 0}.wiki-updates>summary span{display:inline-block;font-size:11px;padding:2px 7px;border-radius:10px;background:#e8eef6;margin-left:6px}.wiki-notes{margin-top:18px}.wiki-notes .release-note{font-size:13px}
html[data-theme=dark] .detail-body .item-changes{background:var(--raised);border-color:var(--line)}html[data-theme=dark] .item-change-heading time,html[data-theme=dark] .item-change-heading>span{color:var(--muted)}html[data-theme=dark] .wiki-updates{border-color:var(--line)}html[data-theme=dark] .wiki-updates>summary span{background:var(--raised);color:var(--muted)}
@media(max-width:650px){.item-identity{gap:7px}.item-thumb img{width:30px;height:30px}}

.item-date{display:block;font-size:10px;line-height:1.5;color:#657489;margin-top:7px;text-transform:none;letter-spacing:0}.card-name .item-date{color:#a79f8d;font-weight:400;letter-spacing:0;text-transform:none}.item-date time{font-variant-numeric:tabular-nums}html[data-theme=dark] .item-date{color:var(--muted)}
