:root{color-scheme:light;--bg:#101d35;--panel:#ffffff;--line:#cbd2db;--muted:#566174;--gold:#805200;--mint:#166448}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:#202939;font:16px/1.5 system-ui,-apple-system,sans-serif}button,input,select{font:inherit;color:inherit}button,select,input{border:1px solid var(--line);background:#ffffff;border-radius:6px;padding:10px 12px}button{cursor:pointer}button:hover{border-color:var(--gold);background:#edf1f5}button:disabled{opacity:.4;cursor:default}input,select{min-width:0}input:focus-visible,select:focus-visible,button:focus-visible,summary:focus-visible,a:focus-visible{outline:2px solid var(--gold);outline-offset:3px}a{color:var(--gold)}.masthead{height:76px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 32px;gap:20px}.brand{display:flex;gap:13px;align-items:center}.brandmark{width:36px;height:36px;display:grid;place-items:center;border:1px solid var(--gold);color:var(--gold);font:24px Georgia,serif}.brand strong{font-size:18px;letter-spacing:-.5px}.eyebrow{font-size:12px;font-weight:650;letter-spacing:1.5px;text-transform:uppercase;color:var(--gold)}.metadata{font-size:13px;color:var(--muted)}.shell{display:grid;grid-template-columns:290px minmax(0,1fr);max-width:1800px;margin:auto}.filters{border-right:1px solid var(--line);padding:25px 22px;align-self:start;position:sticky;top:0;max-height:100vh;overflow-y:auto}.filter-title{display:flex;justify-content:space-between;align-items:center;margin-bottom:16px}.filter-title h2{font-size:18px;margin:0}.text-button{border:0;color:var(--gold);font-size:14px;padding:6px;background:transparent}.filters label{display:block;font-size:14px;margin:17px 0 6px;color:#364152}.filters select{width:100%;font-size:14px}.filters .check{display:flex;gap:9px;align-items:flex-start}.check input{accent-color:var(--gold);width:18px;height:18px}.filter-note{font-size:13px;color:var(--muted);border-top:1px solid var(--line);padding-top:18px;margin-top:24px}.filters details{border-top:1px solid var(--line);margin-top:22px;padding-top:16px}.filters summary{font-size:14px}.workspace{min-width:0;padding:28px 34px 40px}h1{font-family:Georgia,serif;font-weight:400;font-size:38px;letter-spacing:-1px;margin:0 0 4px}h2,h3{line-height:1.2}.intro{margin:0 0 24px;color:var(--muted)}.searchbox{display:flex;align-items:center;gap:12px;background:var(--panel);border:1px solid #9ba7b6;border-radius:8px;padding:3px 15px}.searchbox svg{color:var(--gold);flex:none}.searchbox input{border:0;background:transparent;width:100%;padding:14px 0;outline-offset:5px}.presets{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin:14px 0 24px}.presets span{font-size:13px;color:var(--muted);margin-right:4px}.presets button{font-size:13px;padding:7px 11px;border-radius:30px}.presets button.active{border-color:var(--gold);color:var(--gold);background:#fff1d6}.resultbar{display:flex;align-items:center;justify-content:space-between;gap:16px;border-top:1px solid var(--line);padding-top:22px;margin-bottom:12px}.resultbar h2{font-size:20px;margin:0}.resultbar button{font-size:14px}.caption{font-size:13px;color:var(--muted);margin:0 0 17px}.chips{display:flex;flex-wrap:wrap;gap:7px;margin-bottom:18px}.chips:empty{display:none}.chip{border:1px solid #c9ac75;background:#fff5df;border-radius:4px;font-size:13px;padding:4px 9px;color:#805200}.resultgrid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.champion{position:relative;border:1px solid var(--line);border-left:6px solid var(--rarity,#777);background:var(--panel);border-radius:7px;padding:19px;min-width:0;display:flex;flex-direction:column}.champion h3{font-family:Georgia,serif;font-size:24px;font-weight:400;margin:6px 0 5px;letter-spacing:-.3px}.champion .rarity{font-size:12px;font-weight:700;text-transform:uppercase;letter-spacing:1.2px;color:var(--rarity)}.champion .meta{font-size:14px;color:var(--muted);margin-bottom:17px}.skill-match{border-top:1px solid var(--line);padding:12px 0 0;margin-top:5px}.skill-match strong{font-size:15px;font-weight:600;display:block}.skill-match p{font-size:14px;color:var(--muted);margin:5px 0}.skill-match .proof{font-size:13px;color:var(--mint)}.card-bottom{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:auto;padding-top:16px}.card-bottom button{font-size:14px;padding:8px 12px}.card-bottom span{font-size:12px;color:var(--muted)}.pagination{display:flex;justify-content:center;gap:16px;align-items:center;margin-top:24px;font-size:14px}.empty{grid-column:1/-1;padding:65px 24px;text-align:center;border:1px dashed var(--line);border-radius:8px}.empty h3{font-size:24px;margin:0 0 8px}.empty p{max-width:480px;margin:0 auto 20px;color:var(--muted)}.loading{padding:45px;color:var(--muted);text-align:center;grid-column:1/-1}.footer{max-width:950px;color:var(--muted);font-size:13px;margin-top:32px;padding-top:20px;border-top:1px solid var(--line)}.footer p{margin:5px 0}.mobile-toggle{display:none}summary{cursor:pointer;color:var(--gold)}dialog{width:min(940px,calc(100% - 32px));max-height:92vh;border:1px solid #cbd2db;border-radius:12px;background:var(--bg);color:inherit;padding:0}dialog::backdrop{background:#000b;backdrop-filter:blur(3px)}.dialogbar{position:sticky;top:0;z-index:1;display:flex;justify-content:space-between;align-items:center;background:#ffffff;padding:12px 22px;border-bottom:1px solid var(--line)}.dialogbar span{font-size:14px;color:var(--muted)}#detail{padding:26px}#detail h2{font:36px Georgia,serif;margin:4px 0 8px}#detail h3{font-size:22px;margin:8px 0}.muted{color:var(--muted)}.small,.books{font-size:14px}.badge{font-size:13px;color:var(--muted)}.tag{display:inline-block;border:1px solid var(--line);padding:3px 8px;border-radius:5px;font-size:13px;margin:6px 6px 6px 0}.verified{border-color:#709c88;color:var(--mint)}.controls{display:flex;gap:15px;flex-wrap:wrap;margin:20px 0}.controls label{display:block;font-size:14px;color:var(--muted);margin-bottom:4px}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin:15px 0 20px}.stat{background:var(--panel);padding:12px;border:1px solid var(--line);border-radius:6px}.stat span{font-size:12px;color:var(--muted)}.stat strong{display:block;font-size:24px}.card{background:var(--panel);padding:20px;margin:18px 0;border:1px solid var(--line);border-radius:7px}.description{white-space:pre-wrap}.effect{border-top:1px solid var(--line);padding:15px 0}.effect code,pre{font-size:13px;white-space:pre-wrap;overflow-wrap:anywhere}.formula,.warn{color:var(--gold)}.condition{color:#875018}.conditionbox{background:#eef5f3;padding:10px;border-radius:5px;margin:9px 0}.notice{border-left:3px solid var(--gold);padding:12px;background:#fff5df}.matchline{font-size:14px;color:var(--mint)}.tablewrap{overflow-x:auto}table{border-collapse:collapse;width:100%;font-size:14px;margin:15px 0}td,th{text-align:left;padding:9px;border-bottom:1px solid var(--line)}th{color:var(--muted)}details{margin-top:12px}.books{color:var(--muted)}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}
@media(min-width:1500px){.resultgrid{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:1100px){.workspace{padding:25px 22px}.resultgrid{grid-template-columns:1fr}.shell{grid-template-columns:270px minmax(0,1fr)}}@media(max-width:700px){.masthead{padding:15px 18px;height:auto}.brand strong{font-size:16px}.masthead>.metadata{display:none}.shell{display:block}.filters{display:none;position:static;max-height:none;border-right:0;border-bottom:1px solid var(--line)}.filters.open{display:block}.workspace{padding:22px 18px}.mobile-toggle{display:block;margin:16px 18px 0;width:calc(100% - 36px);text-align:left}.resultgrid{grid-template-columns:1fr}h1{font-size:32px}.presets{gap:7px}.resultbar{align-items:flex-start}.resultbar h2{font-size:18px}.stats{grid-template-columns:repeat(2,1fr)}#detail{padding:18px}.card{padding:14px}dialog{width:calc(100% - 16px)}.dialogbar{padding:10px 16px}.controls{gap:10px}.controls>div{flex:1;min-width:100px}}
.button-link{display:inline-block;color:inherit;border:1px solid var(--line);border-radius:6px;padding:8px 12px;text-decoration:none;font-size:14px;background:#ffffff}.button-link:hover{border-color:var(--gold);background:#edf1f5}.brand-link{color:inherit;text-decoration:none}.profile-shell{max-width:1280px;margin:auto;padding:24px 36px 45px}.profile-top{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:28px;font-size:14px}.profile-top>div{display:flex;align-items:center;gap:12px}.profile-top button{font-size:14px}.profile-top a{text-decoration:none}.profile-hero{padding:4px 0 26px;border-bottom:1px solid var(--line);margin-bottom:30px}.profile-hero h1{font-size:54px;margin:6px 0}.profile-meta{font-size:18px;color:var(--muted)}.profile-grid{display:grid;grid-template-columns:205px minmax(0,1fr);gap:34px}.profile-nav{position:sticky;top:24px;align-self:start;display:flex;flex-direction:column;gap:6px}.profile-nav a{font-size:14px;color:var(--muted);text-decoration:none;border-left:2px solid var(--line);padding:9px 12px}.profile-nav a:hover,.profile-nav a:focus{color:var(--gold);border-color:var(--gold)}.profile-content{min-width:0}.profile-content h2{font-family:Georgia,serif;font-size:29px;font-weight:400;margin:0 0 14px}.section-heading{display:flex;align-items:center;justify-content:space-between;gap:15px;flex-wrap:wrap}.section-heading h2{margin:0}.profile-body .controls{margin:18px 0}.profile-body .controls>div{flex:1;min-width:100px}.profile-body .controls select,.profile-body .controls input{width:100%}.stat-section{margin-bottom:32px;scroll-margin-top:20px}.profile-skill{background:var(--panel);border:1px solid var(--line);border-radius:9px;padding:26px;margin:22px 0;scroll-margin-top:24px}.skill-title{display:flex;justify-content:space-between;gap:15px;align-items:flex-start}.skill-title h2{margin:7px 0 0}.skill-title>.tag{white-space:nowrap;font-size:12px}.skill-facts{display:flex;gap:8px;flex-wrap:wrap;margin:18px 0}.skill-facts span{border-right:1px solid var(--line);padding-right:12px;font-size:14px;color:var(--gold)}.skill-facts span:last-child{border:0}.damage-box{padding:15px;background:#fff5df;border-left:2px solid var(--gold);margin:20px 0}.damage-box h3{font-size:14px;margin:0 0 10px;color:var(--gold)}.damage-box code{display:block;overflow-wrap:anywhere;white-space:pre-wrap;font-size:14px;margin:7px 0}.damage-box p{font-size:13px;color:var(--muted);margin:12px 0 0}.books-panel,.effects-panel{border-top:1px solid var(--line);padding-top:17px;margin-top:18px}.books-panel summary,.effects-panel summary{font-size:16px;color:#202939;font-weight:600}.books-panel summary span,.effects-panel summary span{color:var(--muted);font-size:13px;margin-left:8px;font-weight:400}.book-list{font-size:14px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 25px;padding-left:25px;color:var(--muted)}.book-list li::marker{color:var(--gold)}.effect-row{padding:18px 0;border-top:1px solid var(--line)}.effect-heading{display:flex;flex-direction:column;gap:3px;margin-bottom:8px}.chance-line{display:flex;flex-wrap:wrap;gap:18px;font-size:14px;margin:12px 0}.chance-line span{color:var(--muted)}.chance-line b{color:#202939;margin-left:6px}.effect-condition{font-size:14px;color:var(--mint);margin:10px 0}.condition-list{padding-left:20px;color:#875018}.condition-list code,.formula-line code,.source-details pre{font-size:13px;white-space:pre-wrap;overflow-wrap:anywhere}.formula-line{padding:10px;background:#edf1f5;display:flex;flex-direction:column;gap:4px;margin:10px 0}.formula-line span{font-size:12px;color:var(--muted)}.source-details summary{font-size:13px;font-weight:400;color:var(--muted)}.verification-panel{border-top:1px solid var(--line);padding-top:25px;margin-top:30px;scroll-margin-top:20px}.profile-body .footer{max-width:none}.profile-body #copy-status input{width:100%;font-size:13px}.profile-body .stats{grid-template-columns:repeat(4,minmax(0,1fr))}[id^=skill-]:target{border-color:var(--gold)}
@media(max-width:950px){.profile-grid{grid-template-columns:1fr;gap:22px}.profile-nav{position:static;flex-direction:row;flex-wrap:wrap}.profile-nav a{border:1px solid var(--line);border-radius:5px;padding:7px 10px}.profile-hero{margin-bottom:20px}.skill-title{flex-wrap:wrap}}@media(max-width:700px){.profile-shell{padding:20px 18px}.profile-top{align-items:flex-start}.profile-top>div{flex-direction:column;align-items:flex-end;max-width:50%}.profile-hero h1{font-size:40px}.profile-skill{padding:18px}.profile-content h2{font-size:26px}.profile-body .stats{grid-template-columns:repeat(2,minmax(0,1fr))}.book-list{grid-template-columns:1fr}.skill-title{gap:6px}.profile-body .controls>div{flex-basis:40%}}
.champion-heading{display:flex;gap:16px;align-items:center;margin-bottom:16px}.champion-identity{min-width:0}.champion-heading .meta{margin:0}.portrait{background:#e9edf2;border:1px solid var(--rarity,var(--gold));border-radius:5px;overflow:hidden;flex-shrink:0;display:grid;place-items:center}.portrait img{display:block;width:100%;height:100%;object-fit:contain}.portrait img[hidden]{display:none}.portrait-card{width:74px;height:96px}.portrait-fallback{color:var(--muted);font-size:12px;line-height:1.35;text-align:center;padding:6px}.portrait-fallback[hidden]{display:none}.profile-hero{display:flex;gap:28px;align-items:center}.profile-identity{min-width:0}.profile-portrait{margin:0;flex:none}.portrait-profile{width:140px;height:182px}.profile-portrait figcaption{font-size:12px;color:var(--muted);margin-top:8px;text-align:center}.profile-identity .notice{margin-bottom:0}@media(max-width:700px){.profile-hero{gap:18px;align-items:flex-start}.portrait-profile{width:100px;height:130px}.profile-hero h1{font-size:32px;overflow-wrap:anywhere}.profile-portrait figcaption{max-width:100px;font-size:12px}.profile-meta{font-size:16px}.profile-hero .eyebrow{font-size:12px;letter-spacing:1px}.champion-heading{gap:14px}}

/* Light cards and controls remain distinct from the surrounding canvas. */
.masthead,.filters{background:#fff}.searchbox input::placeholder{color:#677386;opacity:1}.champion,.profile-skill{box-shadow:0 2px 5px #20293906}

/* Dark canvas, white content surfaces, and a 10.14px metallic rarity stripe (7.8px × 1.3). */
body{color:#edf2f8;--muted:#b6c2d3;--gold:#efc780;--mint:#8dd7c1;--line:#414b5b}
.masthead,.filters,.champion,.profile-skill,.stat,.card,.searchbox,.dialogbar,.notice,.conditionbox{color:#202939;--muted:#566174;--gold:#805200;--mint:#166448;--line:#cbd2db}
button,input,select,.button-link{color:#202939}
.presets button.active{color:#805200}
.champion{border-left:10.14px solid transparent}
.champion::before{content:"";position:absolute;left:-10.14px;top:-1px;bottom:-1px;width:10.14px;border-radius:7px 0 0 7px;background:linear-gradient(105deg,color-mix(in srgb,var(--rarity,#626976) 92%,#000) 0%,color-mix(in srgb,var(--rarity,#626976) 65%,#fff) 24%,var(--rarity,#626976) 52%,color-mix(in srgb,var(--rarity,#626976) 78%,#fff) 76%,var(--rarity,#626976) 100%);box-shadow:inset 1px 0 #ffffff66;pointer-events:none}

.damage-summary{margin:12px 0;background:#f2f5f9;border-radius:5px;padding:10px 12px}
.skill-match .damage-summary h3{font:600 13px/1.4 system-ui,sans-serif;margin:0 0 6px;letter-spacing:0}
.damage-scaling{font-size:15px;font-weight:600;color:#202939;overflow-wrap:anywhere}
.damage-scaling code{display:block;font:13px/1.5 monospace;white-space:pre-wrap;overflow-wrap:anywhere;margin-top:5px}
.skill-match .damage-context,.damage-context{font-size:12px;line-height:1.5;color:#566174;margin:5px 0 0}
.skill-match .damage-book,.damage-book{font-size:13px;color:#805200;margin:7px 0 0}
.damage-component+.damage-component{border-top:1px solid #cbd2db;margin-top:9px;padding-top:9px}
.damage-empty{font-size:13px;color:#566174;margin:9px 0}
.more-skills{margin:12px 0 0}.more-skills>summary{font-size:14px;padding:5px 0}.more-skills .skill-match{margin-top:12px}
.damage-box .damage-source summary{font-size:13px}.damage-source{margin-top:12px}

/* Precise search uses the existing light surfaces and navy canvas. */
.precise-builder{background:#fff;color:#202939;--muted:#566174;--gold:#805200;--line:#cbd2db;border:1px solid var(--line);border-radius:8px;padding:20px;margin:0 0 24px}
.precise-heading{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:16px}
.precise-heading h2{font:26px Georgia,serif;margin:0 0 5px}.precise-heading p{font-size:14px;margin:0;color:var(--muted)}
.precise-builder label{display:block;font-size:13px;font-weight:550;margin:0 0 5px}.precise-builder select{width:100%;font-size:14px}
.precise-heading>div:last-child{min-width:240px}.requirement{border:1px solid var(--line);border-radius:6px;margin-top:10px;padding:0 14px;background:#f7f9fc}
.requirement>summary{padding:11px 0;font-size:14px;color:#364152;line-height:1.6}.requirement-number{display:inline-grid;place-items:center;width:24px;height:24px;background:#e4eaf3;color:#253857;border-radius:50%;font-weight:700;margin-right:7px}.requirement-summary,#primary-summary{overflow-wrap:anywhere}
.requirement-fields{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;padding:5px 0 16px}.remove-requirement{margin-bottom:10px;padding-left:0}
.builder-bottom{display:flex;gap:18px;align-items:center;margin-top:14px}.builder-bottom button{flex:none;font-size:14px;border-color:#9a7640}.builder-bottom p{font-size:13px;color:var(--muted);margin:0}
.match-explanation{border-top:1px solid var(--line);padding-top:10px;margin-top:12px;font-size:13px}.match-explanation summary{font-size:13px;color:#805200}.match-explanation ol{padding-left:21px;margin:10px 0}.match-explanation li{margin:9px 0}.match-explanation li span{font-weight:600}.match-explanation li div{margin-top:3px}.match-explanation p{color:var(--muted);font-size:12px}.form-proof+.form-proof{border-top:1px solid var(--line);padding-top:10px}
@media(max-width:1100px){.requirement-fields{grid-template-columns:repeat(2,minmax(0,1fr))}.precise-heading{align-items:flex-start;flex-direction:column}.precise-heading>div:last-child{width:100%}}
@media(max-width:700px){.precise-builder{padding:16px}.builder-bottom{align-items:flex-start;flex-direction:column;gap:10px}.requirement-fields{grid-template-columns:1fr}.precise-heading>div:last-child{min-width:0}.precise-builder select{font-size:16px}.requirement{padding:0 12px}}

.requirement-row{position:relative;margin-top:10px}.requirement-row>.requirement{margin-top:0}.requirement-row>.requirement>summary{padding-right:92px;min-height:48px}
.requirement-row>.remove-requirement{position:absolute;top:6px;right:7px;font-size:13px;line-height:1.5;padding:6px 11px;margin:0;color:#805200;background:#fff;border:1px solid #cbd2db}
.precise-heading>div[hidden]{display:none}.builder-bottom{flex-wrap:wrap}.builder-bottom p{flex:1;min-width:220px}.search-help{font-size:13px;color:var(--muted);margin:8px 0 0}
@media(max-width:700px){.builder-bottom p{min-width:0}.requirement-row>.requirement>summary{padding-right:82px}}

.name-search-label{display:block;font-size:14px;font-weight:600;margin:0 0 7px}.searchbox{max-width:480px}.searchbox input{padding:10px 0}.search-help{max-width:650px}
.match-summary{border-left:3px solid #b59a68;background:#192940;padding:12px 16px;margin:0 0 16px;border-radius:4px;font-size:14px;overflow-wrap:anywhere}.match-summary strong{color:#efc780}.match-summary p{margin:5px 0}.match-summary ol{padding-left:22px;margin:7px 0}.match-summary li+li{margin-top:5px}.summary-scope{color:#b6c2d3;font-size:13px}

/* Separately reviewed presentation: image/name finder; two compact profile samples. */
.resultgrid{grid-template-columns:repeat(auto-fill,minmax(145px,1fr));gap:24px 18px;align-items:start}
.champion.champion-tile{border:0;padding:0;border-radius:0;background:transparent;box-shadow:none;display:block;color:#edf2f8;--muted:#b6c2d3;--gold:#efc780}
.champion-tile::before{display:none}
.champion-card-link{display:block;color:inherit;text-decoration:none;border-radius:8px;padding:3px;transition:transform .15s ease}
.champion-card-link:hover{transform:translateY(-3px)}
.champion-card-link:focus-visible{outline:3px solid #f8d994;outline-offset:5px}
.champion-tile .portrait-card{position:relative;width:100%;height:auto;aspect-ratio:3/4;max-width:210px;margin:auto;border:7px solid transparent;border-radius:12px 12px 6px 6px;background:linear-gradient(#10192c,#10192c) padding-box,linear-gradient(125deg,color-mix(in srgb,var(--rarity) 45%,#fff),var(--rarity) 24%,color-mix(in srgb,var(--rarity) 70%,#000) 50%,color-mix(in srgb,var(--rarity) 50%,#fff) 76%,var(--rarity)) border-box;box-shadow:0 8px 20px #0004,inset 0 0 0 2px #e9dcba55}
.champion-tile .portrait-card::after{content:"";position:absolute;inset:4px;border:1px solid #fff5;pointer-events:none;border-radius:4px}
.champion-tile .portrait img{object-fit:cover}
.champion-tile h3{font:500 17px/1.35 system-ui,-apple-system,sans-serif;letter-spacing:0;text-align:center;margin:12px 0 0;overflow-wrap:anywhere}
.champion-tile .portrait-fallback{color:#d1d9e5}
.compact-profile .profile-hero{gap:20px;padding:0 0 16px;margin-bottom:16px}
.compact-profile .portrait-profile{width:84px;height:109px}
.compact-profile .profile-portrait figcaption{max-width:84px;font-size:11px;line-height:1.25;margin-top:5px}
.compact-profile .profile-hero h1{font-size:38px;margin:3px 0;line-height:1.15}
.compact-profile .profile-meta{font-size:16px}
.form-tabs{display:flex;gap:8px;margin:0 0 18px;padding:5px;border:1px solid #516078;background:#192940;border-radius:9px;width:fit-content;max-width:100%}
.form-tabs [role=tab]{min-width:140px;min-height:44px;border:0;background:transparent;color:#d4deeb;font-weight:650;padding:10px 24px}
.form-tabs [role=tab][aria-selected=true]{background:#efcf94;color:#29251e;box-shadow:0 2px 6px #0003}
.form-tabs [role=tab]:hover{background:#2b405e}.form-tabs [role=tab][aria-selected=true]:hover{background:#f7dca9}
.compact-profile .stat-section{margin-bottom:18px}
.compact-profile .section-heading{gap:8px;margin-bottom:10px}
.compact-profile .section-heading h2{font:400 24px/1.2 Georgia,serif;margin:0}
.compact-profile .section-heading .tag{margin:0;font-size:12px}
.compact-profile .controls{display:grid;grid-template-columns:repeat(3,minmax(80px,145px));gap:10px;margin:10px 0}
.compact-profile .controls>div{min-width:0}
.compact-profile .controls>div[hidden]{display:none}
.compact-profile .controls label{font-size:12px;margin:0 0 3px;color:#d4deeb}
.compact-profile .controls select,.compact-profile .controls input{min-height:44px;padding:8px 10px;font-size:15px;background-color:#2b405e;color:#f1f5fb;border:1px solid #8b9bb4;color-scheme:dark}
.compact-profile .controls select{appearance:none;padding-right:30px;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath d='m4 6 4 4 4-4' fill='none' stroke='%23f1f5fb' stroke-width='2'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 9px center}
.compact-profile .controls select option{background:#2b405e;color:#f1f5fb}
.compact-profile .controls select:hover,.compact-profile .controls input:hover{background-color:#354e70;border-color:#c1cee1}
.compact-profile .controls select:focus-visible,.compact-profile .controls input:focus-visible{outline:3px solid #f8d994;outline-offset:2px;border-color:#f8d994}
.compact-profile .stats{grid-template-columns:repeat(8,minmax(0,1fr));gap:6px;margin:10px 0}
.compact-profile .stat{padding:8px 10px;border-radius:5px}
.compact-profile .stat span{font-size:11px;letter-spacing:.25px;white-space:nowrap}
.compact-profile .stat strong{font-size:20px;line-height:1.25;font-variant-numeric:tabular-nums}
.compact-profile .stat-note{font-size:13px;color:#b6c2d3;margin:6px 0 0}
.compact-profile .profile-nav{position:static;display:flex;flex-direction:row;flex-wrap:wrap;gap:6px;margin:0 0 18px}
.compact-profile .profile-nav a{border:1px solid #414b5b;border-radius:5px;padding:8px 12px;min-height:40px;display:flex;align-items:center;font-size:13px}
.compact-profile .profile-nav .skill-nav-identifier{font-weight:750;color:#efcf94}
.compact-profile .profile-nav a{max-width:100%;overflow-wrap:anywhere}
.compact-profile .profile-content h2{font-size:24px}
.compact-profile .profile-skill{padding:16px 20px;margin:12px 0;border-radius:8px;scroll-margin-top:16px}
.compact-profile .skill-title{align-items:center;gap:12px;flex-wrap:wrap}
.compact-profile .skill-title>div:first-child{display:flex;align-items:baseline;flex-wrap:wrap;gap:8px 12px}
.compact-profile .skill-title .eyebrow{font-size:12px;letter-spacing:.75px}
.compact-profile .skill-title h2{margin:0;font:600 20px/1.3 system-ui,-apple-system,sans-serif}
.compact-profile .skill-facts{margin:0;gap:6px 10px;flex:0 1 auto}
.compact-profile .skill-facts span{font-size:13px;padding-right:10px;color:#566174}
.compact-profile .description{font-size:16px;line-height:1.55;margin:11px 0}
.compact-profile .damage-inline{display:flex;flex-wrap:wrap;align-items:baseline;gap:5px 12px;border-left:3px solid #b08b42;background:#f8f3e9;padding:8px 10px;margin:10px 0;font-size:15px}
.damage-inline-label{font-size:13px;color:#675335}.damage-inline strong{font-weight:650}.damage-inline .damage-book{margin:0;font-size:13px}.damage-separator{color:#7c8189}
.compact-profile .skill-support{display:flex;flex-wrap:wrap;gap:0 20px;border-top:1px solid #dce1e8;margin-top:12px;padding-top:4px}
.compact-profile .skill-support details{margin:0;border:0;padding:0;flex:0 1 auto;min-width:0;max-width:100%}
.compact-profile .skill-support details[open]{flex-basis:100%}
.compact-profile .skill-support summary{padding:10px 0;font-size:14px;font-weight:500;min-height:44px;color:#6e4c16}
.compact-profile .skill-support summary span{margin-left:5px;font-size:12px;color:#566174}
.compact-profile .skill-caution{color:#755000;background:#fff3cf;border-left:3px solid #b48b2b;padding:8px 10px;margin:10px 0;font-size:14px;line-height:1.5}
.compact-profile .skill-condition-note{color:#596476;font-size:13px;margin:5px 0}
.compact-profile .source-formula{display:flex;flex-direction:column;gap:5px;margin:10px 0;padding:10px;background:#f1f4f8;font-size:13px;overflow-wrap:anywhere}
.compact-profile .source-formula code{white-space:pre-wrap}
.compact-profile .skill-count{font-size:13px;color:#b6c2d3}
.compact-profile .verification-panel{margin-top:18px;padding-top:12px;font-size:14px;color:#c3cede}
.compact-profile .verification-panel>summary{min-height:44px;padding:8px 0;font-size:15px}
.compact-profile .profile-uncertainty{font-size:14px;color:#efcf94}
.mikage-player-profile .player-filter-note{font-size:14px;line-height:1.5;color:#596476;margin:10px 0}
.mikage-player-profile .book-list{font-size:15px;line-height:1.5}
@media(max-width:1100px){.compact-profile .stats{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:700px){.resultgrid{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px 12px}.champion-tile h3{font-size:16px;margin-top:10px}.champion-tile .portrait-card{border-width:6px}.compact-profile .profile-hero{gap:14px}.compact-profile .profile-hero h1{font-size:30px}.compact-profile .profile-hero .eyebrow{font-size:11px}.compact-profile .portrait-profile{width:72px;height:94px}.compact-profile .profile-portrait figcaption{max-width:72px}.form-tabs{width:100%}.form-tabs [role=tab]{min-width:0;flex:1;padding:10px 14px}.compact-profile .profile-skill{padding:14px}.compact-profile .skill-title h2{font-size:20px}.compact-profile .skill-facts{gap:4px 8px}.compact-profile .skill-facts span{font-size:12px;padding-right:8px}.compact-profile .controls{grid-template-columns:repeat(3,minmax(0,1fr))}.compact-profile .controls select,.compact-profile .controls input{font-size:16px}.compact-profile .stat{padding:7px}.compact-profile .stat span{font-size:10px;letter-spacing:0}.compact-profile .stat strong{font-size:18px}.compact-profile .profile-nav{gap:5px}.compact-profile .profile-nav a{padding:8px;min-height:44px}.compact-profile .section-heading{align-items:flex-start}.compact-profile .section-heading .tag{font-size:11px}.compact-profile .damage-inline{gap:4px 8px}.compact-profile .skill-support{gap:0 16px}}
@media(prefers-reduced-motion:reduce){.champion-card-link{transition:none}.champion-card-link:hover{transform:none}}
.mikage-player-profile .guide-nav{display:flex;flex-wrap:wrap;gap:6px;padding:12px 0;border-bottom:1px solid #59627a;margin:10px 0 20px}
.mikage-player-profile .guide-nav a{display:block;padding:10px 12px;border:1px solid #69748a;border-radius:6px;color:#f7e7bb;text-decoration:none;font-size:1rem}
.mikage-player-profile .guide-nav a[aria-current]{background:#ead19b;color:#142035;border-color:#ead19b}
.mikage-player-profile .guide-section{margin:20px 0;padding:20px;border:1px solid #46556c;border-radius:10px;background:#101d31;scroll-margin-top:16px;line-height:1.6;font-size:1rem}
.mikage-player-profile .guide-section h2{color:#f1d59b;margin:0 0 12px;font-size:1.5rem}
.mikage-player-profile .guide-section h3{font-size:1.12rem;margin:10px 0 6px;line-height:1.4}
.mikage-player-profile .guide-section p{margin:8px 0 14px}
.mikage-player-profile .guide-heading{display:flex;flex-wrap:wrap;gap:8px 20px;align-items:baseline;justify-content:space-between;scroll-margin-top:16px}
.mikage-player-profile .guide-heading span{color:#bbc8dc;font-size:.92rem}
.mikage-player-profile .guide-tags{display:flex;flex-wrap:wrap;gap:8px;margin:16px 0}
.mikage-player-profile .guide-tags span,.mikage-player-profile .guide-rating{color:#f1d59b;background:#26334b;padding:4px 9px;border-radius:5px;display:inline-block}
.mikage-player-profile .guide-two{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(260px,100%),1fr));gap:16px}
.mikage-player-profile .guide-qualification{border-left:3px solid #caa965;padding:8px 12px;background:#1c2a40;color:#e0e7f1}
.mikage-player-profile .guide-section details{border-top:1px solid #3b4a62;margin:12px 0;padding:10px 0}
.mikage-player-profile .guide-section summary{cursor:pointer;padding:7px 0;color:#f1d59b;font-weight:650;min-height:32px}
.mikage-player-profile .guide-assessment{display:grid;grid-template-columns:minmax(160px,1fr) 3fr;gap:20px;border-top:1px solid #3b4a62;padding:12px 0}
.mikage-player-profile .guide-row{border-top:1px solid #3b4a62;padding:8px 0}
.mikage-player-profile .guide-build-tabs{display:flex;flex-wrap:wrap;gap:8px;margin:16px 0}
.mikage-player-profile .guide-build-tabs button{font:inherit;min-height:44px;padding:10px 14px;border:1px solid #a38d63;border-radius:6px;background:#1b2c47;color:#fff;cursor:pointer}
.mikage-player-profile .guide-build-tabs button[aria-selected=true]{background:#ead19b;color:#142035}
.mikage-player-profile .guide-build[hidden]{display:none}
.mikage-player-profile .guide-build dl>div{display:grid;grid-template-columns:140px 1fr;gap:16px;padding:12px 0;border-top:1px solid #3b4a62}
.mikage-player-profile .guide-build dt{font-weight:700;color:#f1d59b}
.mikage-player-profile .guide-build dd{margin:0}
.mikage-player-profile .guide-mastery{padding:16px 0;border-top:1px solid #3b4a62;scroll-margin-top:16px}
.mikage-player-profile .mastery-list{list-style:none;padding:0;display:grid;gap:6px}
.mikage-player-profile .mastery-list li{display:flex;gap:10px;align-items:center;padding:6px 8px;background:#1b2a41;border-radius:5px;min-height:48px}
.mikage-player-profile .mastery-list small{display:block;color:#b7c6dd;font-size:.85rem}
.mikage-player-profile .mastery-list strong{font-size:1rem}
.mikage-player-profile .guide-sources{display:flex;flex-wrap:wrap;gap:8px 22px;padding-left:20px}
.mikage-player-profile :is(a,button,summary):focus-visible{outline:3px solid #f2cf79;outline-offset:3px}
.mikage-player-profile .guide-section li{margin-bottom:8px}
.mikage-player-profile .guide-section :is(p,dd,li){overflow-wrap:anywhere}
.mikage-player-profile .guide-section a{color:#f1d59b;text-underline-offset:3px}
.mikage-player-profile .profile-nav{position:static}
.mikage-player-profile .guide-assessment{grid-template-columns:repeat(auto-fit,minmax(min(260px,100%),1fr))}
.mikage-player-profile .guide-build dl>div{grid-template-columns:repeat(auto-fit,minmax(min(220px,100%),1fr))}
.mikage-player-profile .guide-recommendation{display:grid;grid-template-columns:minmax(220px,1fr) 2fr;gap:16px;align-items:center;padding:14px 0}
.mikage-player-profile .guide-recommendation-heading{display:flex;align-items:center;gap:14px;min-width:0}
.mikage-player-profile .guide-recommendation-heading img{width:64px;height:84px;object-fit:contain;flex:0 0 64px;border:1px solid #8d7548;border-radius:6px;background:#17263d}
.mikage-player-profile .guide-recommendation-heading h3{margin:0;overflow-wrap:anywhere}
.mikage-player-profile .guide-recommendation p{margin:0}
.mikage-player-profile .guide-relic-choice{display:flex;align-items:center;justify-content:center;flex:0 0 64px;height:64px;border:1px dashed #8d7548;border-radius:6px;color:#f1d59b;font-size:32px;background:#17263d}
@media(max-width:700px){.mikage-player-profile .guide-recommendation{grid-template-columns:1fr;gap:10px}}
/* Scoped factual comparison prototype; no guide or finder card restyling. */
.comparison-page .profile-shell{max-width:1500px}.comparison-add-row{display:flex;gap:12px;max-width:600px}.comparison-add-row input{flex:1;min-width:0}.comparison-page input,.comparison-page select,.comparison-page button{font:inherit;min-height:44px}.comparison-page #comparison-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:16px;align-items:start}.comparison-card{min-width:0;background:#14223a;border:1px solid #3d506d;border-top:3px solid var(--comparison-rarity,#626976);border-radius:10px;padding:18px;overflow-wrap:anywhere}.comparison-heading{display:flex;gap:12px;align-items:center}.comparison-heading img{object-fit:cover;border:2px solid var(--comparison-rarity,#626976);border-radius:8px}.comparison-heading h2{font-size:1.3rem;margin:0}.comparison-heading p{margin:6px 0}.comparison-controls{display:flex;justify-content:space-between;gap:8px;align-items:end;margin:16px 0}.comparison-controls label{display:flex;flex-direction:column;gap:6px}.comparison-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.comparison-stats div{background:#0b172a;padding:8px;border-radius:6px}.comparison-stats dt{font-size:.875rem;color:#bac9db}.comparison-stats dd{margin:4px 0 0;font-weight:700}.comparison-skill{border-top:1px solid #3d506d;padding:12px 0}.comparison-skill h3{font-size:1rem;margin:0 0 8px}.comparison-skill summary{cursor:pointer;min-height:36px}.comparison-multiplier{font-size:.95rem}.comparison-page :focus-visible{outline:3px solid #f3cf8d;outline-offset:3px}@media(max-width:600px){.comparison-page #comparison-grid{grid-template-columns:1fr}.comparison-page .profile-shell{padding:16px}.comparison-add-row{flex-wrap:wrap}.comparison-add-row input{flex-basis:100%}}

/* Matching evidence sits outside the image/name card link. */
#results .match-explanation{padding:12px;font-size:14px;overflow-wrap:anywhere}#results .match-explanation summary{color:#edc987;font-size:14px;min-height:40px}#results .match-explanation p{font-size:14px}

/* Comparison accents follow catalogue rarity; names retain their gold links. */
.comparison-card[data-rarity="Common"]{--comparison-rarity:#626976}
.comparison-card[data-rarity="Uncommon"]{--comparison-rarity:#2c7142}
.comparison-card[data-rarity="Rare"]{--comparison-rarity:#2766ad}
.comparison-card[data-rarity="Epic"]{--comparison-rarity:#7443a9}
.comparison-card[data-rarity="Legendary"]{--comparison-rarity:#d5ad6d}
.comparison-card[data-rarity="Mythical"]{--comparison-rarity:#b3343c}
.evidence-badge{display:inline-block;margin-left:8px;padding:1px 7px;border:1px solid currentColor;border-radius:999px;font-size:11px;font-weight:600;letter-spacing:.3px;text-transform:none;color:inherit;opacity:.9;text-decoration:none;vertical-align:1px;white-space:nowrap}
.evidence-badge:hover,.evidence-badge:focus-visible{text-decoration:underline;opacity:1}
.evidence-order{border-style:dashed}

/* Champion page design pass: effect links, a quieter evidence summary, secondary actions, skills before stats on phones. */
.effect-link{color:inherit;text-decoration:underline dotted;text-decoration-color:#805200;text-underline-offset:3px;text-decoration-thickness:2px}
.effect-link:hover,.effect-link:focus-visible{color:#805200;text-decoration-style:solid}
.evidence-summary{margin:0 0 14px;font-size:14px;line-height:1.6;color:var(--muted)}
.evidence-summary a{color:var(--gold);text-underline-offset:3px}
.evidence-summary .evidence-count b{color:#edf2f8;font-weight:650}
#copy-link,.compare-link{display:inline-flex;align-items:center;min-height:40px;padding:6px 14px;font-size:14px;color:#efc780;background:transparent;border:1px solid rgba(239,199,128,.5);border-radius:6px;text-decoration:none;cursor:pointer}
#copy-link:hover:not(:disabled),.compare-link:hover,#copy-link:focus-visible,.compare-link:focus-visible{background:rgba(239,199,128,.12);border-color:#efc780}
#copy-link:disabled{color:#b6c2d3;border-color:rgba(182,194,211,.35)}
.compact-profile .skill-facts span{font-size:14px;color:#3b4658}
@media(max-width:700px){.compact-profile .skill-facts span{font-size:13px}.compact-profile #selected-form-panel{display:flex;flex-direction:column}.compact-profile #selected-form-panel>.profile-nav{order:-1}.profile-top{flex-wrap:wrap}.profile-top>div{flex-direction:row;flex-wrap:wrap;align-items:center;max-width:none;width:100%}}
/* At a glance, Forms and Books and investment on champion pages: summaries computed from the skill data */
.glance,.forms-overview,.books-summary{background:var(--panel);border:1px solid var(--line);border-radius:9px;padding:18px;margin:22px 0;color:#202939}
.forms-overview{margin:18px 0}
.glance .section-heading,.forms-overview .section-heading,.books-summary .section-heading{margin-bottom:6px}
.glance-note{font-size:14px;line-height:1.5;color:#4c586b;margin:4px 0 12px}
.glance-list{margin:0}
.glance-list>div{display:grid;grid-template-columns:minmax(130px,200px) 1fr;gap:6px 18px;padding:10px 0;border-top:1px solid #e1e5ec}
.glance-list dt{font-weight:650;font-size:15px;color:#31405a}
.glance-list dd{margin:0;font-size:15px;line-height:1.5}
.glance-chips{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:6px}
.glance-chips li{background:#eef1f6;border:1px solid #d6dce7;border-radius:6px;padding:3px 9px;font-size:14px;line-height:1.5}
.glance-tag{font-size:12px;color:#5a4a17;background:#f5ecd2;border-radius:4px;padding:1px 6px;margin-left:3px}
.glance-footnote{font-size:13px;color:#596476;margin:8px 0 0}
.forms-list{list-style:none;margin:0;padding:0}
.forms-list>li{padding:12px 0;border-top:1px solid #e1e5ec}
.glance-form-meta{color:#596476;font-size:14px}
.glance-only{display:flex;flex-wrap:wrap;gap:6px 10px;align-items:center;margin-top:6px}
.glance-only>span:first-child{font-size:14px;color:#31405a;font-weight:650}
.glance-none{font-size:14px;color:#596476}
.books-list{list-style:none;margin:6px 0 0;padding:0}
.books-list li{display:flex;flex-wrap:wrap;gap:4px 16px;padding:8px 0;border-top:1px solid #e1e5ec;font-size:15px}
.books-list li a{font-weight:600;color:#6a4700}
.books-list li span{color:#4c586b}
@media(max-width:700px){.glance-list>div{grid-template-columns:1fr}}
.glance-tags{display:flex;flex-wrap:wrap;gap:6px}
.blessings-panel{margin:28px 0}
.blessings-panel .blessing-group{margin:22px 0 10px;font-size:17px;color:#d9c48f}
.blessing-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(340px,1fr));gap:12px}
.blessing-card{display:flex;gap:14px;align-items:flex-start;padding:12px;border:1px solid #2b3d5a;border-radius:8px;background:#121f33}
.blessing-card>img{width:72px;height:98px;object-fit:cover;flex:0 0 72px;border:1px solid #8d7548;border-radius:6px;background:#17263d}
.blessing-card-body{min-width:0}
.blessing-card h3{margin:0 0 2px;overflow-wrap:anywhere}
.blessing-card p{margin:6px 0 0}
.blessing-card .blessing-meta{margin:0;font-size:13px;color:#b6c2d3}
.blessing-card .blessing-high{font-size:14px}
.blessing-card details{margin-top:8px;font-size:14px}
.blessing-levels{margin:6px 0 0;padding-left:0;list-style:none}
.blessing-levels li{margin:4px 0}
@media(max-width:700px){.blessing-grid{grid-template-columns:1fr}}
.blessings-panel h2{font:inherit;font-size:22px;font-weight:700;color:#f0dfae;margin:0}
