:root{color-scheme:dark;--bg:#0b111b;--panel:#111c2b;--ink:#f2f1eb;--muted:#adbdce;--gold:#dfc79c;--blue:#b5dcf6;--line:#a9c6df30;font-family:'Yu Gothic UI','Meiryo',sans-serif;background:var(--bg);color:var(--ink);scroll-behavior:smooth;scroll-padding-top:95px}
*{box-sizing:border-box}body{margin:0;line-height:1.85;overflow-wrap:anywhere}a{color:inherit;text-decoration:none}a:hover{color:var(--blue)}button,input,select{font:inherit}button{cursor:pointer}img{display:block;max-width:100%}h1,h2,h3,h4,p{margin-top:0}h2,h3,h4{line-height:1.5}p{color:var(--muted)}[hidden]{display:none!important}:focus-visible{outline:2px solid var(--blue);outline-offset:5px}a,button{touch-action:manipulation}.skip{position:fixed;top:-100px;left:20px;z-index:50;padding:10px 18px;background:var(--panel)}.skip:focus{top:10px}
.doc-header{height:88px;padding:12px max(5vw,22px);display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid var(--line);background:#0b111bec}.doc-brand{width:156px;height:64px;display:flex;align-items:center}.doc-brand img{width:100%;max-height:100%;object-fit:contain}.doc-header-actions{display:flex;gap:22px;align-items:center}.language{display:flex;align-items:center;gap:12px;font-size:11px;color:#677d96}.language button{border:0;background:none;color:var(--muted);padding:6px 3px;font-size:12px}.language button[aria-pressed=true]{color:white;text-decoration:underline;text-underline-offset:6px}
.doc-main{max-width:1320px;margin:auto;padding:28px 5vw 90px}.breadcrumbs{font-size:11px;color:var(--muted);display:flex;gap:12px;flex-wrap:wrap}.breadcrumbs>span{color:#72849a}.breadcrumbs a:hover{text-decoration:underline}.doc-title{padding:60px 0 44px;border-bottom:1px solid var(--line);margin-bottom:38px}.eyebrow{font-size:10px;letter-spacing:.22em;color:var(--gold);margin-bottom:16px}.doc-title h1{font-size:clamp(28px,3.7vw,48px);line-height:1.5;font-weight:500;letter-spacing:.035em;margin-bottom:18px}.intro{font-size:15px;max-width:750px;margin-bottom:22px}.doc-context{display:flex;align-items:flex-start;justify-content:space-between;gap:12px 24px;flex-wrap:wrap}.doc-context .breadcrumbs{flex:1 1 300px;min-width:0}.doc-meta{display:flex;justify-content:flex-end;gap:6px 16px;margin-left:auto;max-width:100%;font-size:10px;color:#93a5b9;flex-wrap:wrap;text-align:right}.doc-meta-item{display:inline-flex;justify-content:flex-end;align-items:baseline;gap:4px;white-space:nowrap}.section-title{font-size:28px;font-weight:500;margin:64px 0 24px;letter-spacing:.05em}.section-jumps{position:sticky;top:0;z-index:5;display:flex;gap:9px;flex-wrap:wrap;padding:14px 0;margin-bottom:28px;background:#0b111bf5;border-bottom:1px solid var(--line);backdrop-filter:blur(12px)}.section-jumps a{border:1px solid var(--line);padding:7px 18px;font-size:12px;white-space:nowrap;border-radius:3px}.section-jumps a:hover{border-color:var(--blue);background:#b5dcf60c}.text-link{display:inline-flex;align-items:center;gap:24px;color:var(--gold);font-size:13px;border-bottom:1px solid #dfc79c88;padding:10px 0}
.database-grid{display:grid;grid-template-columns:1fr 1fr;gap:28px}.database-card{display:grid;grid-template-columns:43% 1fr;min-height:215px;overflow:hidden;border:1px solid var(--line);background:var(--panel);transition:border-color .2s,transform .2s}.database-card:hover{border-color:#b5dcf688;transform:translateY(-3px);color:var(--ink)}.database-card-art{position:relative;overflow:hidden;background:radial-gradient(ellipse,#233447,transparent 75%)}.database-card-art img{height:100%;width:100%;object-fit:contain;padding:14px;transition:transform .3s}.database-card.heroes .database-card-art img{object-fit:cover;padding:0;object-position:top}.database-card.stages .database-card-art img{object-fit:cover;padding:0}.database-card-body{padding:22px 22px 22px 20px}.catalog-number{font-family:Georgia,serif;font-size:31px;color:var(--gold);line-height:1;display:block;margin-bottom:16px}.database-card h2{font-size:21px;font-weight:500;margin-bottom:12px}.database-card p{font-size:12px;margin-bottom:14px}.card-open{display:flex;justify-content:space-between;align-items:center;font-size:11px;color:var(--blue);gap:12px}.callout{border:1px solid #dfc79c44;background:linear-gradient(105deg,#24304170,#111c2b55);padding:27px 30px;margin:38px 0}.callout h2{font-size:19px;font-weight:500;margin-bottom:12px}.callout p{font-size:13px;max-width:880px;margin-bottom:10px}.callout p:last-child{margin:0}.subtle{border-color:var(--line);background:#111c2b66;font-size:13px}.footnote{font-size:12px;line-height:1.9;color:#9eb0c4;margin:28px 0}
.hero-entry{display:grid;grid-template-columns:42% 1fr;background:var(--panel);border:1px solid var(--line);margin:32px 0;scroll-margin-top:80px}.hero-entry-visual{position:relative;overflow:hidden;display:flex;align-items:flex-end;justify-content:center;min-height:610px;background:linear-gradient(0deg,#111c2b 0%,#111c2b70 70%),var(--hero-bg) center top/cover}.hero-entry-visual>img{position:relative;z-index:1;max-height:570px;object-fit:contain;filter:drop-shadow(0 18px 25px #0008)}.hero-wordmark{position:absolute;bottom:10px;left:22px;color:#ffffff2b;font-size:clamp(50px,6vw,90px);font-family:Georgia,serif}.hero-entry-copy{padding:35px}.hero-entry-copy h2{font-size:38px;font-family:Georgia,serif;font-weight:400;margin-bottom:28px}.hero-entry-copy small{font-family:'Yu Gothic UI','Meiryo',sans-serif;display:inline-block;font-size:13px;color:var(--muted);margin-left:14px}.hero-facts{margin:0}.hero-facts dt{font-size:10px;letter-spacing:.1em;color:var(--gold);margin-top:22px}.hero-facts dd{margin:7px 0 0;font-size:14px}.hero-facts strong{font-weight:500}.hero-facts p{font-size:12px;margin:6px 0 0}.starting-item{display:flex;align-items:center;gap:9px}.starting-item img{width:45px;height:45px;object-fit:contain}.hero-entry-copy>.text-link{margin-top:25px}
.filter-bar{display:flex;gap:22px;align-items:flex-end;flex-wrap:wrap;margin:30px 0}.filter-bar label{display:flex;flex-direction:column;gap:7px;font-size:11px;color:var(--muted)}.filter-bar label:first-child{flex:1;min-width:180px}.filter-bar input,.filter-bar select{background:#111c2b;color:var(--ink);border:1px solid #adbdce55;padding:11px 13px;font-size:13px;border-radius:2px;min-height:44px}.filter-bar p{font-size:11px;min-width:75px;margin:0 0 10px}.perk-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}.perk-card{padding:23px;background:linear-gradient(145deg,#172333,#101a28);border:1px solid var(--line);scroll-margin-top:25px}.perk-card:target{outline:2px solid var(--blue);outline-offset:3px}.perk-card-heading{display:flex;gap:20px;align-items:center;margin-bottom:18px}.perk-art{width:90px;height:90px;flex:0 0 90px;background:radial-gradient(circle,#859cb51c,transparent 72%)}.perk-art.rarity-3{background:radial-gradient(circle,#e1c57f25,transparent 72%)}.perk-art img{width:100%;height:100%;object-fit:contain}.rarity{font-size:10px;color:var(--gold);letter-spacing:.03em}.rarity>span>span{color:var(--muted)}.perk-card h3{font-size:19px;font-weight:500;margin:8px 0 0}.perk-effect{font-size:13px;min-height:45px;line-height:1.9;margin-bottom:20px}.perk-meta{display:grid;grid-template-columns:auto 1fr;gap:5px 20px;font-size:11px;border-top:1px solid var(--line);padding-top:14px;margin:0}.perk-meta dt{color:var(--muted)}.perk-meta dd{margin:0;text-align:right}.perk-meta dd a{color:var(--blue)}.item-note{font-size:10px;color:var(--gold);margin:13px 0 0}.no-results{text-align:center;padding:40px;font-size:14px}
.shop-grid{display:grid;grid-template-columns:1fr 1fr;gap:22px}.shop-card{padding:30px;background:var(--panel);border:1px solid var(--line)}.shop-card h2{font-size:22px;font-weight:500}.shop-card>p{font-size:14px;min-height:54px}.shop-timeline{display:flex;align-items:center;gap:14px;flex-wrap:wrap;list-style:none;padding:0;margin:24px 0 38px}.shop-timeline li{padding:12px 22px;border-top:1px solid var(--gold);background:#dfc79c0b;color:var(--gold);font-variant-numeric:tabular-nums}
.stage-grid{display:grid;grid-template-columns:1fr 1fr;gap:26px}.stage-card{background:var(--panel);border:1px solid var(--line)}.stage-art{position:relative;aspect-ratio:16/9;overflow:hidden}.stage-art img{width:100%;height:100%;object-fit:cover;object-position:center}.stage-art:after{content:'';position:absolute;inset:0;background:linear-gradient(0deg,#111c2b,transparent 50%)}.stage-art>span{position:absolute;z-index:1;left:22px;bottom:9px;font-size:10px;letter-spacing:.18em;color:var(--gold)}.stage-body{padding:18px 24px 25px}.stage-body h3{font-size:24px;font-weight:500;margin-bottom:22px}.label{font-size:10px;text-transform:uppercase;letter-spacing:.1em;color:var(--gold);margin:18px 0 8px}.enemy-chip{display:inline-flex;align-items:center;gap:8px;font-size:12px}.enemy-chip img{width:36px;height:36px;object-fit:contain}.enemy-chips{display:flex;flex-wrap:wrap;gap:10px 16px}.stage-boss .enemy-chip{font-size:14px}.stage-boss img{width:53px;height:53px}.bestiary-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}.monster-card{display:grid;grid-template-columns:125px 1fr;align-items:center;gap:20px;border-top:1px solid var(--line);padding:22px 0;scroll-margin-top:85px}.monster-card:target{background:#b5dcf60c}.monster-art{height:145px;display:grid;place-items:center;background:radial-gradient(ellipse,#30425855,transparent 72%)}.monster-art img{max-height:145px;object-fit:contain}.monster-card h3{font-size:20px;margin:7px 0 9px;font-weight:500}.monster-card p{font-size:12px;margin:0}.art-pending{font-size:10px;letter-spacing:.08em;color:#8295aa}
.guide-summary{padding:30px 34px;border:1px solid #b5dcf64d;background:radial-gradient(ellipse at 100% 0%,#36628044,transparent 70%),var(--panel);margin:30px 0 64px}.guide-summary h2{font-size:25px;font-weight:500}.guide-summary>p{font-size:14px;max-width:830px}.build-picks{display:flex;gap:11px;flex-wrap:wrap;margin:23px 0}.build-pick{display:flex;gap:9px;align-items:center;border:1px solid var(--line);background:#111c2bb0;padding:7px 12px 7px 6px;font-size:11px;min-height:52px}.build-pick:hover{border-color:var(--gold)}.build-pick img{width:40px;height:40px;object-fit:contain}.build-section{padding:0 0 40px;margin:0 0 64px;border-bottom:1px solid var(--line);scroll-margin-top:85px}.build-hero{display:grid;grid-template-columns:250px 1fr;gap:38px;align-items:center;margin-bottom:30px}.build-hero-art{overflow:hidden;border:1px solid #a9c6df33;aspect-ratio:1;position:relative}.build-hero-art img{width:100%;height:100%;object-fit:cover;object-position:top}.build-hero-art:after{content:'';position:absolute;inset:0;box-shadow:inset 0 -35px 45px #0b111b77}.build-hero h2{font-family:Georgia,serif;font-size:54px;color:var(--accent);font-weight:400;line-height:1;margin:0 0 20px}.build-hero h3{font-size:22px;font-weight:500;margin-bottom:15px}.build-hero p{font-size:14px;margin-bottom:0}.build-hero .eyebrow{font-size:9px;margin-bottom:17px;color:var(--accent)}.build-steps{list-style:none;padding:0;margin:32px 0;display:grid;grid-template-columns:1fr 1fr 1fr;gap:28px}.build-steps li{border-top:1px solid #a9c6df44;padding-top:18px}.step-number{font-size:12px;color:var(--accent);font-variant-numeric:tabular-nums}.build-steps h3{font-size:16px;font-weight:500;margin:12px 0}.build-steps p{font-size:12px;margin:0}.caution{border-left:2px solid #dfc79c66;background:#dfc79c08;padding:18px 24px}.caution h3{font-size:13px;color:var(--gold);font-weight:500;margin-bottom:9px}.caution p{font-size:13px;margin:0}details{font-size:13px}summary{cursor:pointer;line-height:1.6;color:var(--blue);padding:17px 0}.build-details{margin-top:16px}.priority-notes{display:grid;grid-template-columns:1fr 1fr;gap:24px;padding:20px 0}.priority-notes article{border-top:1px solid var(--line);padding-top:17px}.priority-notes h4{display:flex;align-items:center;gap:12px;font-size:14px}.priority-notes .tier{width:26px;height:26px;font-size:12px}.playtest-note{font-size:12px;line-height:1.9;margin-bottom:8px;white-space:pre-line}.tier-legend{display:flex;gap:22px;flex-wrap:wrap;font-size:11px;margin:27px 0}.tier-legend>span{display:inline-flex;align-items:center;gap:9px}.tier{display:inline-flex;width:33px;height:33px;justify-content:center;align-items:center;border:1px solid;font-size:15px;font-weight:600;border-radius:50%;font-variant-numeric:tabular-nums;flex:0 0 auto}.tier-1{color:#f1d28b;background:#c9a14c15;border-color:#c9a14c99}.tier-2{color:#a9d8f7;background:#4b8fbb15;border-color:#4b8fbb99}.tier-3{color:#bfd0df;background:#a8bfce0c;border-color:#a8bfce66}.tier-4{color:#8f9eae;border-color:#8291a544}.tier-empty{color:#65748b}.tier-section>p{font-size:13px;max-width:850px}.table-scroll{overflow-x:auto;overscroll-behavior-inline:contain;border:1px solid var(--line)}table{border-collapse:collapse;width:100%;font-size:12px;text-align:left}caption{text-align:left;padding:16px 22px;background:#172333;color:var(--muted);font-size:11px}th,td{padding:12px 20px;border-bottom:1px solid var(--line)}thead th{background:#172333;font-size:11px;font-weight:400;color:var(--gold)}thead th:not(:first-child),td{text-align:center;min-width:85px}.tier-table tbody th{font-weight:400;min-width:235px}.tier-table th a{display:flex;align-items:center;gap:12px}.tier-table img{width:38px;height:38px;object-fit:contain}.tier-table tbody tr:hover{background:#b5dcf608}.all-notes{margin-top:25px}.all-notes article{padding:22px 0;border-bottom:1px solid var(--line)}.all-notes h3{font-size:19px;font-weight:500;color:var(--gold)}.all-notes h4{font-size:13px;margin:18px 0 8px;color:var(--blue)}
.ability-numbers{margin-top:14px;font-size:11px}.ability-numbers summary{padding:5px 0;font-size:11px}.ability-numbers .perk-meta{margin-top:9px;border-top:0;padding-top:0}.doc-footer{border-top:1px solid var(--line);padding:30px 5vw;display:flex;justify-content:space-between;align-items:center;gap:22px;flex-wrap:wrap;color:var(--muted);font-size:11px}.doc-footer>a{display:flex;align-items:center;gap:14px}.doc-footer p{margin:0;font-size:10px}.doc-footer p>span{margin:0 9px;color:#66798d}
@media(min-width:1500px){.doc-main{padding-left:35px;padding-right:35px}}
@media(max-width:1000px){.database-card{grid-template-columns:36% 1fr}.database-card-body{padding:20px 16px}.database-card h2{font-size:18px}.hero-entry{grid-template-columns:38% 1fr}.hero-entry-copy{padding:26px}.hero-entry-visual{min-height:0}.hero-entry-visual>img{min-width:140%;max-width:150%;object-fit:contain}.hero-entry-copy h2{font-size:32px}.build-hero{grid-template-columns:210px 1fr;gap:28px}.build-steps{gap:20px}.build-hero h3{font-size:20px}.monster-card{grid-template-columns:95px 1fr;gap:14px}}
@media(max-width:700px){:root{scroll-padding-top:80px}.doc-header{height:74px;padding:8px 6vw}.doc-brand{width:122px;height:56px}.doc-header-actions{gap:12px}.language{gap:8px}.doc-main{padding:22px 6vw 55px}.doc-title{padding:35px 0 28px;margin-bottom:25px}.doc-title h1{font-size:28px}.intro{font-size:13px}.doc-meta{font-size:9px}.breadcrumbs{font-size:9px;gap:8px}.eyebrow{font-size:9px}.database-grid,.perk-grid,.shop-grid,.stage-grid,.bestiary-grid{grid-template-columns:1fr;gap:18px}.database-card{min-height:185px;grid-template-columns:37% 1fr}.database-card h2{font-size:19px}.catalog-number{font-size:27px;margin-bottom:12px}.database-card-body{padding:20px}.section-jumps{padding:10px 0;gap:7px;flex-wrap:nowrap;overflow-x:auto}.section-jumps a{padding:7px 12px;font-size:11px}.section-title{font-size:24px;margin-top:45px}.callout{padding:22px;margin:28px 0}.callout h2{font-size:17px}.callout p{font-size:12px}.hero-entry{grid-template-columns:1fr;margin:24px 0}.hero-entry-visual{height:88vw;max-height:430px;min-height:0;background-position:center 20%}.hero-entry-visual>img{min-width:0;max-width:100%;height:100%;object-fit:contain}.hero-wordmark{font-size:65px}.hero-entry-copy{padding:24px}.hero-entry-copy h2{font-size:37px}.hero-facts dd{font-size:13px}.hero-facts p{font-size:12px}.filter-bar{gap:14px;margin:24px 0}.filter-bar input,.filter-bar select{font-size:16px}.filter-bar label{font-size:10px}.filter-bar p{margin:0}.perk-card{padding:21px}.perk-art{width:74px;height:74px;flex-basis:74px}.perk-card-heading{gap:15px}.perk-card h3{font-size:19px}.perk-effect{min-height:0}.shop-card{padding:25px}.shop-timeline{gap:9px}.shop-timeline li{padding:10px 14px;font-size:13px}.stage-body{padding:15px 22px 24px}.stage-body h3{font-size:22px}.monster-card{grid-template-columns:100px 1fr;padding:20px 0}.monster-art{height:125px}.monster-art img{max-height:125px}.monster-card h3{font-size:18px}.monster-card p{font-size:11px}.guide-summary{padding:23px;margin-bottom:45px}.guide-summary h2{font-size:21px}.guide-summary>p{font-size:12px}.build-picks{gap:8px;margin:20px 0}.build-pick{font-size:10px;padding:6px 9px 6px 4px;min-height:45px;gap:5px}.build-pick img{width:34px;height:34px}.build-section{margin-bottom:45px;padding-bottom:30px}.build-hero{grid-template-columns:100px 1fr;gap:18px;align-items:start}.build-hero-art{margin-top:4px}.build-hero h2{font-size:38px;margin-bottom:12px}.build-hero h3{font-size:18px}.build-hero p{font-size:12px}.build-hero .eyebrow{font-size:8px;letter-spacing:.1em;margin-bottom:10px}.build-steps{grid-template-columns:1fr;gap:21px}.build-steps li{display:grid;grid-template-columns:24px 1fr;gap:10px;padding-top:17px}.build-steps h3{margin:0 0 9px;font-size:16px}.step-number{padding-top:2px}.caution{padding:17px 20px}.caution p{font-size:12px}.priority-notes{grid-template-columns:1fr;gap:18px}.tier-legend{gap:12px 18px;font-size:10px}.tier{width:28px;height:28px;font-size:13px}th,td{padding:10px 13px}.tier-table tbody th{min-width:190px}.tier-table img{width:31px;height:31px}.tier-table th a{gap:9px}thead th:not(:first-child),td{min-width:64px}.tier-section>p{font-size:12px}.doc-footer{padding:25px 6vw}.doc-footer p{line-height:2;font-size:9px}}
@media(prefers-reduced-motion:reduce){:root{scroll-behavior:auto}*{transition:none!important}}

.perk-group{margin:38px 0 54px}.perk-group-heading{display:flex;align-items:center;gap:15px;border-bottom:1px solid var(--line);padding-bottom:15px;margin-bottom:22px}.perk-group-heading h2{font-size:25px;font-weight:500;margin:0}.perk-group-count{color:var(--muted);font-size:12px;font-variant-numeric:tabular-nums}@media(max-width:700px){.perk-group{margin:28px 0 40px}.perk-group-heading h2{font-size:22px}}

.hero-tier-section{margin-top:32px}.hero-tier-section>h3{font-size:23px;font-weight:500;color:var(--accent);margin-bottom:18px}.tier-language-note:empty{display:none}.tier-language-note{font-size:11px}.hero-tier-table{table-layout:fixed;min-width:600px}.hero-tier-table .tier-column{width:70px}.hero-tier-table .name-column{width:28%}.hero-tier-table thead th{text-align:left;min-width:0}.hero-tier-table .tier-cell{vertical-align:top;text-align:center;padding:23px 12px;background:#a9c6df06}.hero-tier-table .tier-perk{font-weight:400;text-align:left;vertical-align:top;padding:18px 16px}.hero-tier-table .tier-perk a{display:flex;align-items:center;gap:12px}.hero-tier-table img{width:45px;height:45px;flex:0 0 45px;object-fit:contain}.hero-tier-table .tier-comment{text-align:left;vertical-align:top;min-width:0;padding:18px 22px;font-size:12px;line-height:1.9}.tier-comment p{white-space:pre-line;margin:0;color:#e5eaf0}.tier-comment p+p{margin-top:10px;color:var(--ink)}.hero-tier-table tbody+tbody{border-top:2px solid #a9c6df55}.hero-tier-table tbody tr:hover{background:#b5dcf608}.hero-tier-table .empty-comment{color:var(--muted)}.hero-tier-table .tier-empty{display:inline-block;width:33px;text-align:center}@media(max-width:700px){.hero-tier-table{min-width:570px}.hero-tier-table .tier-column{width:48px}.hero-tier-table .name-column{width:160px}.hero-tier-table .tier-cell{padding:18px 8px}.hero-tier-table .tier-perk{padding:16px 12px}.hero-tier-table .tier-perk a{flex-direction:column;align-items:flex-start;gap:7px}.hero-tier-table img{width:40px;height:40px;flex-basis:40px}.hero-tier-table .tier-comment{padding:16px 14px}.hero-tier-section>h3{font-size:21px}}

.database-card-body{display:flex;flex-direction:column;justify-content:center}.tier-subtitle{font-size:15px;font-weight:500;color:var(--muted);margin:25px 0 12px}.quick-tier-list{border:1px solid var(--line);background:var(--panel)}.quick-tier-row{display:grid;grid-template-columns:70px 1fr;align-items:stretch}.quick-tier-row+.quick-tier-row{border-top:1px solid var(--line)}.quick-tier-rank{display:grid;place-items:center;background:#a9c6df06;border-right:1px solid var(--line)}.quick-tier-icons{display:flex;align-items:center;flex-wrap:wrap;gap:10px;padding:13px 18px;min-height:86px}.quick-tier-icon{display:grid;place-items:center;width:62px;height:62px;border:1px solid transparent;border-radius:4px;background:radial-gradient(circle,#a9c6df12,transparent 75%)}.quick-tier-icon:hover,.quick-tier-icon:focus-visible{border-color:var(--blue);background:#b5dcf610}.quick-tier-icon img{width:58px;height:58px;object-fit:contain}.visually-hidden{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}.tier-quick-hint{font-size:11px;margin:12px 0 30px}.hero-tier-table .name-column{width:34%}.hero-tier-table .tier-effect{font-size:11px;line-height:1.8;margin:12px 0 0;font-weight:400;color:var(--muted);white-space:pre-line}.hero-tier-table tr[id]{scroll-margin-top:100px}.hero-tier-table tr:target{background:#b5dcf610;outline:1px solid #b5dcf666;outline-offset:-1px}@media(max-width:700px){.quick-tier-row{grid-template-columns:48px 1fr}.quick-tier-icons{gap:7px;padding:10px;min-height:70px}.quick-tier-icon{width:48px;height:48px}.quick-tier-icon img{width:46px;height:46px}.hero-tier-table .name-column{width:200px}.hero-tier-table .tier-effect{font-size:11px}.tier-quick-hint{font-size:10px}}

/* 強化一覧：見出しを残したまま共通・専用ツリーを開閉する。 */
details.perk-group{margin:30px 0;scroll-margin-top:30px}
details.perk-group>.perk-group-heading{list-style:none;display:flex;align-items:center;gap:16px;min-height:76px;margin:0;padding:18px 20px;border:1px solid var(--line);background:linear-gradient(100deg,#1d2b3e,#111c2b);color:var(--ink);cursor:pointer}
details.perk-group>.perk-group-heading::-webkit-details-marker{display:none}
details.perk-group>.perk-group-heading::marker{content:''}
details.perk-group>.perk-group-heading:hover{border-color:#b5dcf68c;background:linear-gradient(100deg,#24364d,#152237)}
.perk-group-heading h2{min-width:0;font-size:25px;font-weight:500;line-height:1.5;margin:0}
.perk-group-heading .perk-group-count{margin-left:auto;flex:0 0 auto;color:#b9cadb;font-size:12px;white-space:nowrap}
.perk-group-toggle{position:relative;display:block;width:30px;height:30px;flex:0 0 30px;border:1px solid #b5dcf66b;border-radius:50%;color:var(--blue)}
.perk-group-toggle::before,.perk-group-toggle::after{content:'';position:absolute;left:8px;right:8px;top:13px;height:2px;background:currentColor}
.perk-group-toggle::after{transform:rotate(90deg)}
details.perk-group[open]>.perk-group-heading .perk-group-toggle::after{transform:rotate(0deg)}
details.perk-group>.perk-grid{margin-top:20px}

/* レアリティは枠・背景・表記の色を揃え、本文の明度は維持する。 */
.perk-card[data-rarity]{position:relative;border-color:var(--rarity-edge);background:radial-gradient(ellipse at 100% 0%,var(--rarity-glow),transparent 70%),linear-gradient(145deg,var(--rarity-panel),#101824);box-shadow:inset 0 3px 0 var(--rarity-edge)}
.perk-card[data-rarity="common"]{--rarity-edge:#718193;--rarity-glow:#a4b2c51a;--rarity-panel:#263240;--rarity-text:#d0d9e4}
.perk-card[data-rarity="rare"]{--rarity-edge:#3989cf;--rarity-glow:#389df03d;--rarity-panel:#143654;--rarity-text:#99d0ff}
.perk-card[data-rarity="epic"]{--rarity-edge:#9a5bd2;--rarity-glow:#be6af73d;--rarity-panel:#3a244e;--rarity-text:#deb1ff}
.perk-card[data-rarity="legendary"]{--rarity-edge:#cda34d;--rarity-glow:#ffd26c3b;--rarity-panel:#46371e;--rarity-text:#ffe09a}
.perk-card[data-rarity] .rarity{color:var(--rarity-text)}
.perk-card[data-rarity] .perk-art{background:radial-gradient(circle,var(--rarity-glow),transparent 73%)}
.perk-card[data-rarity] .perk-effect{color:#cbd5e0}
.perk-card[data-rarity] .perk-meta{border-top-color:#d3e1ed38}
.perk-card.is-starting{padding-top:63px;border:2px solid #f2d48a;box-shadow:inset 0 0 0 4px #101824,inset 0 0 0 5px #d3ac5955,0 0 24px #eec36512}
.starting-badge{position:absolute;top:13px;right:14px;display:inline-flex;align-items:center;min-height:28px;padding:4px 12px;background:linear-gradient(120deg,#f8dda0,#d5ab53);border:1px solid #fff1c6;color:#241b0c;font-size:11px;font-weight:700;letter-spacing:.055em;line-height:1.5;white-space:nowrap;box-shadow:0 3px 12px #0005}
.perk-card.is-starting .item-note{color:#f4d895}
.database-card.shop .database-card-art img{object-fit:cover;object-position:center;padding:0}
.guide-index-art{display:grid;grid-template-columns:repeat(3,minmax(0,1fr))}
.guide-index-art img{object-fit:cover;object-position:center;padding:0;min-width:0}
.guide-index-card{grid-template-columns:minmax(0,1fr);grid-template-rows:auto 1fr}
.guide-index-card .database-card-art{aspect-ratio:16/10;border-bottom:1px solid var(--line)}
.guide-index-card .database-card-body{display:flex;flex-direction:column;padding:24px 26px}
.guide-index-card .card-open{margin-top:auto}
.gameplay-index-art>img{display:block;object-fit:cover;padding:0;object-position:50% 0}
.gameplay-index-art::after{content:"";position:absolute;inset:45% 0 0;background:linear-gradient(transparent,#080b1699)}
.gameplay-index-art>span{position:absolute;z-index:1;bottom:14px;right:24px;color:#fff0a6;font-family:'Arial Black',Arial,sans-serif;font-style:italic;font-size:clamp(74px,8vw,112px);font-weight:900;line-height:1;letter-spacing:-.065em;transform:rotate(-6deg);text-shadow:0 4px 0 #5e3515,3px 0 #211829,-3px 0 #211829,0 -3px #211829,0 7px 20px #000;filter:drop-shadow(0 0 7px #ffb24588)}
.gameplay-plus{color:#fff;font-size:.82em;margin-left:.03em}
@media(max-width:700px){.guide-index-card .database-card-body{padding:22px}.gameplay-index-art>span{right:17px;bottom:12px;font-size:82px}}

/* Tier評価：S / A / B / C / D は黄金・赤・紫・青・灰。 */
.quick-tier-row[data-tier],.hero-tier-table tbody[data-tier]{--tier-ink:#c6cbd3;--tier-rgb:150,158,171}
.quick-tier-row[data-tier="S"],.hero-tier-table tbody[data-tier="S"],.tier-1{--tier-ink:#ffe29b;--tier-rgb:229,181,73}
.quick-tier-row[data-tier="A"],.hero-tier-table tbody[data-tier="A"],.tier-2{--tier-ink:#ffb2ba;--tier-rgb:225,77,98}
.quick-tier-row[data-tier="B"],.hero-tier-table tbody[data-tier="B"],.tier-3{--tier-ink:#dcb9ff;--tier-rgb:168,105,226}
.quick-tier-row[data-tier="C"],.hero-tier-table tbody[data-tier="C"],.tier-4{--tier-ink:#9dd1ff;--tier-rgb:74,152,224}
.quick-tier-row[data-tier="D"],.hero-tier-table tbody[data-tier="D"],.tier-5,.tier-empty{--tier-ink:#c6cbd3;--tier-rgb:150,158,171;color:var(--tier-ink)}
.tier-1,.tier-2,.tier-3,.tier-4,.tier-5{color:var(--tier-ink);background:rgba(var(--tier-rgb),.2);border-color:rgba(var(--tier-rgb),.82);box-shadow:0 0 13px rgba(var(--tier-rgb),.09)}
.quick-tier-row[data-tier]{background:linear-gradient(90deg,rgba(var(--tier-rgb),.13),rgba(var(--tier-rgb),.035));border-left:3px solid rgba(var(--tier-rgb),.85)}
.quick-tier-row[data-tier]>.quick-tier-rank{background:rgba(var(--tier-rgb),.16);border-right-color:rgba(var(--tier-rgb),.28)}
.quick-tier-row[data-tier] .quick-tier-icon{background:radial-gradient(circle,rgba(var(--tier-rgb),.16),transparent 75%)}
.quick-tier-row[data-tier] .quick-tier-icon:hover,.quick-tier-row[data-tier] .quick-tier-icon:focus-visible{border-color:var(--tier-ink);background:rgba(var(--tier-rgb),.19)}
.hero-tier-table tbody[data-tier]{background:rgba(var(--tier-rgb),.065)}
.hero-tier-table tbody[data-tier] .tier-cell{background:rgba(var(--tier-rgb),.17);border-left:3px solid rgba(var(--tier-rgb),.85)}
.hero-tier-table tbody[data-tier] tr:hover{background:rgba(var(--tier-rgb),.09)}
.hero-tier-table tbody[data-tier]+tbody[data-tier]{border-top-color:rgba(var(--tier-rgb),.48)}
.hero-tier-table tbody[data-tier] tr:target{background:rgba(var(--tier-rgb),.19);outline-color:var(--tier-ink)}
@media(max-width:700px){
 details.perk-group{margin:24px 0}
 details.perk-group>.perk-group-heading{gap:10px;min-height:68px;padding:16px 14px}
 .perk-group-heading h2{font-size:21px}
 .perk-group-heading .perk-group-count{font-size:11px}
 .perk-group-toggle{width:28px;height:28px;flex-basis:28px}
 .perk-group-toggle::before,.perk-group-toggle::after{left:7px;right:7px;top:12px}
 details.perk-group>.perk-grid{margin-top:16px}
 .perk-card.is-starting{padding-top:60px}
 .starting-badge{top:12px;right:12px;font-size:10px;min-height:27px;padding:4px 10px}
}

/* ロゴ・言語切替を固定し、ページ内目次とアンカーをその下に配置する。 */
:root{--doc-header-height:88px;--doc-jumps-height:0px;scroll-padding-top:calc(var(--doc-header-height) + var(--doc-jumps-height) + 16px)}
:root:has(.section-jumps){--doc-jumps-height:70px}
.doc-header{position:sticky;top:0;z-index:30;height:var(--doc-header-height);background:#0b111bf5;backdrop-filter:blur(16px)}
.skip{z-index:40}
.section-jumps{top:var(--doc-header-height);z-index:20}
:is(.hero-entry,.perk-card,.build-section,.monster-card,details.perk-group,.hero-tier-table tr[id]){scroll-margin-top:16px}
.mobile-tier-label{display:none}

/* 攻略の目次は本文上部にまとめ、各見出しから戻れるようにする。 */
.guide-index{margin:30px 0 34px;padding:23px 26px;border:1px solid var(--line);background:linear-gradient(110deg,#1b2a3a,#111c2b);scroll-margin-top:16px}
.guide-index h2{font-size:19px;font-weight:500;letter-spacing:.05em;color:var(--gold);margin:0 0 17px}
.guide-index-links{display:flex;flex-wrap:wrap;gap:10px}
.guide-index-links>a{display:flex;align-items:center;justify-content:center;flex:1 1 95px;min-width:0;min-height:44px;padding:11px 15px;border:1px solid #a9c6df3d;background:#0b111b66;font-size:12px;line-height:1.6;text-align:center;transition:background .2s,border-color .2s}
.guide-index-links>a:first-child{flex-basis:140px}
.guide-index-links>a:last-child{flex-basis:230px}
.guide-index-links>a:hover{color:var(--ink);border-color:#b5dcf68c;background:#b5dcf615}
.guide-section-heading{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:10px 24px;margin-bottom:20px;min-width:0}
.guide-section-heading>h2{min-width:0;margin:0}
.guide-back-index{display:inline-flex;align-items:center;gap:8px;flex:0 0 auto;min-height:36px;margin-left:auto;padding:7px 0;font-size:11px;font-weight:400;line-height:1.5;letter-spacing:0;color:var(--blue);white-space:nowrap}
.guide-back-index:hover{text-decoration:underline;text-underline-offset:5px}
.guide-back-index .muse-direction-left{transform:rotate(-90deg)}
.guide-summary>.guide-section-heading{margin-bottom:18px}
.build-hero .guide-section-heading{margin-bottom:20px}
.build-hero .guide-section-heading>h2{margin:0}
.damage-overview>.guide-section-heading{margin-bottom:22px}
@media(max-width:700px){
 .guide-index{padding:21px;margin:25px 0 28px}
 .guide-index h2{font-size:18px;margin-bottom:15px}
 .guide-index-links{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
 .guide-index-links>a{font-size:11px;padding:10px 7px}
 .guide-index-links>a:first-child,.guide-index-links>a:last-child{grid-column:1/-1}
 .guide-section-heading{gap:6px 16px;margin-bottom:17px}
 .guide-back-index{font-size:10px;min-height:34px}
 .build-hero .guide-section-heading{margin-bottom:14px}
}

/* QUICK START：効果原文と攻略コメントを同じカードで読む。 */
.quick-start-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px;margin:24px 0 14px}
.quick-start-card{min-width:0;padding:24px;background:linear-gradient(140deg,#20344b99,#111c2b);border:1px solid #b5dcf64d}
.quick-start-heading,.quick-start-heading>a{display:flex;align-items:center;gap:15px;min-width:0}
.quick-start-heading{margin:0 0 18px;font-size:18px;font-weight:500;line-height:1.5;color:var(--ink)}
.quick-start-heading img{width:62px;height:62px;flex:0 0 62px;object-fit:contain}
.quick-start-heading a:hover{color:var(--blue)}
.quick-start-effect{font-size:12px;line-height:1.9;white-space:pre-line;color:#c2d1df;margin:0 0 17px}
.quick-start-comment{border-top:1px solid #a9c6df38;padding-top:16px;font-size:13px;line-height:1.95;white-space:pre-line;color:var(--ink);margin:0}

/* 火力早見：横長画面では比較表、縦長画面では1強化ごとのカード。 */
.damage-overview{margin:32px 0 50px}
.damage-table-wrap{border:1px solid var(--line);background:var(--panel)}
.damage-table{table-layout:fixed;width:100%}
.damage-table thead th{text-align:left;min-width:0;line-height:1.6}
.damage-table thead th:first-child{width:34%}
.damage-table thead th:nth-child(2),.damage-table thead th:nth-child(3){width:16%;text-align:center}
.damage-table th,.damage-table td{padding:18px 16px;min-width:0;vertical-align:top}
.damage-table .damage-perk{font-weight:400;text-align:left}
.damage-perk>a{display:flex;gap:12px;align-items:center;line-height:1.6}
.damage-perk img{width:44px;height:44px;flex:0 0 44px;object-fit:contain}
.damage-effect{font-size:11px;line-height:1.85;margin:10px 0 0;white-space:pre-line;color:var(--muted)}
.damage-basic,.damage-ability{text-align:center}
.damage-mark{font-size:18px;line-height:1.5;font-weight:600;color:var(--gold)}
.damage-table .damage-note{text-align:left;font-size:11px;line-height:1.9;white-space:pre-line;color:#bdcbd9}
.damage-table .damage-note p{margin:0;color:inherit}
.damage-table .damage-note-mobile,.damage-label{display:none}
.damage-table tbody tr:last-child>*{border-bottom:0}

@media(max-width:700px){
 :root{--doc-header-height:78px}
 :root:has(.section-jumps){--doc-jumps-height:58px}
 .doc-header{height:var(--doc-header-height)}
}
@media(orientation:portrait),(max-width:700px){
 .quick-start-cards{grid-template-columns:minmax(0,1fr);gap:16px}
 .quick-start-card{padding:21px}
 .quick-start-heading{font-size:17px}
 .quick-start-heading img{width:54px;height:54px;flex-basis:54px}

 .tier-details-wrap{overflow:visible;border:0}
 .hero-tier-table{display:block;width:100%;min-width:0;table-layout:auto}
 .hero-tier-table colgroup,.hero-tier-table thead,.hero-tier-table .tier-cell{display:none}
 .hero-tier-table tbody[data-tier]{display:block;background:none;border:0;margin:0 0 18px}
 .hero-tier-table tbody[data-tier]+tbody[data-tier]{border-top:0}
 .hero-tier-table tbody tr{display:block;margin-bottom:14px;border:1px solid rgba(var(--tier-rgb),.4);border-left:3px solid rgba(var(--tier-rgb),.8);background:linear-gradient(110deg,rgba(var(--tier-rgb),.12),#111c2b)}
 .hero-tier-table .tier-perk{position:relative;display:block;width:100%;min-width:0;padding:19px 18px 13px;border:0}
 .hero-tier-table .tier-perk a{flex-direction:row;align-items:center;gap:12px;min-width:0;font-size:14px}
 .hero-tier-table img{width:46px;height:46px;flex-basis:46px}
 .hero-tier-table .mobile-tier-label{display:block;float:right;margin:2px 0 8px 14px}
 .hero-tier-table .tier-effect{clear:both;margin:13px 0 0;font-size:12px;line-height:1.85}
 .hero-tier-table .tier-comment{display:block;width:100%;min-width:0;margin:0;padding:0 18px 19px;border:0;font-size:12px;line-height:1.95}
 .hero-tier-table .tier-comment p:first-child{padding-top:13px;border-top:1px solid rgba(var(--tier-rgb),.25)}

 .damage-table-wrap{border:0;background:none;overflow:visible}
 .damage-table{display:block;min-width:0;width:100%;table-layout:auto}
 .damage-table thead,.damage-table colgroup{display:none}
 .damage-table tbody{display:block}
 .damage-table tbody tr{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));margin-bottom:16px;border:1px solid var(--line);background:var(--panel)}
 .damage-table .damage-perk{grid-column:1/-1;display:block;min-width:0;padding:19px 18px 15px;border-bottom:1px solid var(--line)}
 .damage-perk>a{font-size:14px}
 .damage-effect{font-size:12px;margin-top:13px}
 .damage-table .damage-basic,.damage-table .damage-ability{display:flex;align-items:center;justify-content:space-between;gap:8px;min-width:0;padding:13px 18px;border-bottom:1px solid var(--line)}
 .damage-table .damage-basic{border-right:1px solid var(--line)}
 .damage-label{display:inline;font-size:11px;color:var(--muted);text-align:left}
 .damage-mark{font-size:17px}
 .damage-table .damage-note,.damage-table .damage-note-mobile{display:block;grid-column:1/-1;padding:15px 18px;border:0;text-align:left;font-size:12px;line-height:1.9;color:#bdcbd9;white-space:pre-line}
 .damage-table .damage-note:empty{display:none}
 .damage-table .damage-note-mobile p{margin:0;color:inherit}
 .damage-table tbody tr:last-child>.damage-perk,.damage-table tbody tr:last-child>.damage-basic,.damage-table tbody tr:last-child>.damage-ability{border-bottom:1px solid var(--line)}
}

/* 日英切替後も備考の段落区切りを保持する。 */
.damage-note>span,.damage-note-mobile>span{white-space:pre-line}

/* 日英の画像版：原寸PNGは拡大時に読み込む。 */
.guide-index-links>a.guide-index-extra{flex-basis:230px}
.build-image-section{margin-top:64px;padding-top:40px;border-top:1px solid var(--line)}
.build-image-intro{font-size:13px;color:var(--muted);margin:0 0 26px}
.build-image-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}
.build-image-card{min-width:0;margin:0;background:var(--panel);border:1px solid var(--line);overflow:hidden}
.build-image-open{display:block;cursor:zoom-in;transition:filter .2s}
.build-image-open:hover{filter:brightness(1.12)}
.build-image-open:focus-visible{outline:3px solid var(--gold);outline-offset:-3px}
.build-image-open img{display:block;width:100%;height:auto;aspect-ratio:3/4}
.build-image-card figcaption{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:17px 20px}
.build-image-card h3{font-size:21px;font-weight:500;margin:0;color:var(--ink)}
.build-image-download{font-size:12px;color:var(--blue);text-decoration:underline;text-underline-offset:4px}
body.has-build-image-dialog{overflow:hidden}
.build-image-dialog{padding:0;color:var(--ink);background:#0b111b;border:1px solid var(--line);width:min(1100px,calc(100vw - 32px));max-width:none;max-height:calc(100dvh - 32px);overflow:hidden;box-shadow:0 20px 90px #000b}
.build-image-dialog::backdrop{background:#02060be8;backdrop-filter:blur(8px)}
.build-image-dialog-bar{display:flex;align-items:center;gap:20px;min-height:64px;padding:10px 20px;border-bottom:1px solid var(--line)}
.build-image-dialog-bar h2{margin:0 auto 0 0;font-family:inherit;font-weight:500;font-size:17px;line-height:1.5;color:var(--gold)}
.build-image-dialog-bar>a{font-size:12px;color:var(--blue);text-decoration:underline;text-underline-offset:4px}
.build-image-dialog-bar button{display:flex;align-items:center;gap:10px;min-height:44px;padding:8px 13px;border:1px solid var(--line);background:transparent;color:var(--ink);font:inherit;font-size:12px;cursor:pointer}
.build-image-dialog-bar button>span[aria-hidden]{font-size:22px;line-height:1}
.build-image-dialog-scroll{max-height:calc(100dvh - 118px);overflow:auto;overscroll-behavior:contain}
.build-image-dialog-scroll img{display:block;width:100%;height:auto}
@media(orientation:portrait),(max-width:700px){
 .guide-index-links>a.guide-index-extra{grid-column:1/-1}
 .build-image-section{margin-top:45px;padding-top:28px}
 .build-image-grid{grid-template-columns:minmax(0,1fr);gap:24px}
 .build-image-section h2{font-size:24px}
 .build-image-dialog{width:calc(100vw - 16px);max-height:calc(100dvh - 16px)}
 .build-image-dialog-bar{gap:10px;padding:8px 10px;min-height:60px}
 .build-image-dialog-bar h2{font-size:13px}
 .build-image-dialog-bar>a,.build-image-dialog-bar button{font-size:11px}
 .build-image-dialog-bar button{gap:6px;padding:6px 9px}
 .build-image-dialog-scroll{max-height:calc(100dvh - 96px)}
}
