.hero-guide{--gold:#e5a31c;--dark:#302b25;--muted:#82796e;--border:#e7e0d4;color:var(--dark);background:#fcfbf7}.guide-top{display:flex;justify-content:space-between;align-items:end;padding-top:45px;padding-bottom:27px}.guide-kicker{display:block;color:#9d6c16;font-size:10px;font-weight:800;letter-spacing:2px}.guide-top h1{font-size:36px;letter-spacing:-1.5px;margin:10px 0 0;line-height:1.2}.heading-spark{color:#e4a722;margin-left:15px;font-size:27px;vertical-align:middle}.guide-top>p{color:#867d71;font-size:13px;line-height:1.8;margin:0}.hero-breadcrumb{display:flex;gap:12px;font-size:11px;color:#958b7c;padding:18px 0;border-top:1px solid var(--border)}.hero-breadcrumb b{color:#554b3b;font-weight:600}.hero-profile{display:grid;grid-template-columns:1fr 1fr;overflow:hidden;border:1px solid var(--border);border-radius:20px;background:#fffefa}.portrait-stage{position:relative;min-height:500px;background:#211b10 url("heroes-assets/illust-background-pattern.webp") center/560px 560px repeat;overflow:hidden;isolation:isolate}.portrait-index{position:absolute;top:28px;left:29px;font-size:10px;letter-spacing:2px;font-weight:700;color:#f2d797;text-shadow:0 1px 2px #0009}.leon-portrait{height:475px;max-width:94%;object-fit:contain;position:absolute;bottom:-4px;left:50%;transform:translateX(-50%);filter:drop-shadow(10px 15px 10px #795a1526)}.art-open{position:absolute;bottom:20px;right:20px;border:1px solid #e2c884;background:#fff9e4ec;color:#5a431e;border-radius:8px;padding:11px 13px;font-size:11px;cursor:pointer;display:flex;gap:18px;align-items:center}.profile-copy{padding:39px 43px 27px}.hero-labels{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.hero-labels .hero-label{display:inline-flex;align-items:center;gap:8px;font-size:12px;font-weight:600;line-height:28px;color:#715d39}.hero-label-divider{font-size:12px;color:#bbae96}.hero-label img{display:block;width:24px;height:28px;object-fit:contain;image-rendering:pixelated;flex:none}.hero-labels .class-icon{width:24px;height:28px}.hero-labels .class-icon::before{transform:translate(-50%,-50%) scale(.7)}.hero-epithet{font-size:13px;color:#897859;margin:26px 0 7px}.profile-copy h2{font-size:43px;line-height:1.15;margin:0;letter-spacing:-2px}.hero-en{font-size:10px;letter-spacing:3px;color:#a58e64;margin:12px 0 23px}.profile-copy blockquote{margin:0;font-size:17px;line-height:1.75;letter-spacing:-.3px;color:#7e5c1e;font-weight:700}.hero-intro{color:#82786c;font-size:13px;line-height:1.9;margin:16px 0 21px}.hero-facts{display:grid;grid-template-columns:1fr 1fr;gap:16px 20px;border-top:1px solid var(--border);margin:0;padding-top:19px}.hero-facts div{display:flex;align-items:baseline;gap:14px}.hero-facts dt{font-size:10px;color:#948574;white-space:nowrap}.hero-facts dd{margin:0;font-size:12px;color:#554b3e;font-weight:700}.hero-jump{display:flex;align-items:center;justify-content:space-between;font-size:11px;color:#967025;margin-top:25px}.hero-jump:hover{color:#3d3016}.hero-details{margin-top:32px;scroll-margin-top:100px}.hero-tabs{display:flex;gap:30px;border-bottom:1px solid #dcd3c2;overflow-x:auto;scrollbar-width:none}.hero-tabs button{flex-shrink:0;background:transparent;border:0;border-bottom:3px solid transparent;padding:19px 4px;color:#897e6d;font-size:14px;font-weight:700;cursor:pointer;white-space:nowrap}.hero-tabs button[aria-selected=true]{color:#513c14;border-bottom-color:#e6ab26}.hero-tabs button:hover{color:#9c6b0d}.hero-tabs small{display:inline-block;background:#f2ebdc;border-radius:4px;padding:2px 5px;margin-left:3px;font-size:9px}.detail-panel{padding:35px 0 10px;min-height:380px}.detail-panel[hidden]{display:none}.panel-heading{display:flex;align-items:end;justify-content:space-between;gap:20px;margin-bottom:25px}.panel-heading h3{font-size:25px;letter-spacing:-.8px;margin:10px 0 0}.fine-label{font-size:10px;color:#a19789;letter-spacing:1px}.tag{display:inline-block;background:#f4ecd9;color:#8e6c2f;border-radius:5px;font-size:10px;padding:6px 9px}.stars{color:#b68b29;letter-spacing:4px}.weapon-description>h4{font-size:24px;margin:15px 0 10px}.weapon-description p{font-size:13px;line-height:1.9;color:#7e7160}.weapon-effect{padding:20px 23px;background:#f5f1e7;border-radius:10px}.weapon-effect h5{font-size:13px;margin:0 0 10px}.weapon-effect p:last-child{margin-bottom:0}.costume-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(160px,180px));gap:16px}.costume-card{margin:0;padding:0;overflow:hidden;background:#fff;border:1px solid var(--border);border-radius:13px;text-align:left;color:var(--dark)}.costume-card .costume-face{display:grid;place-items:center;background:#f2eedf;height:140px}.costume-card:nth-child(2n) .costume-face{background:#edf0e3}.costume-card:nth-child(3n) .costume-face{background:#e8f1f0}.costume-card img{height:104px;width:104px;image-rendering:pixelated;object-fit:contain}.costume-card .costume-label{display:block;padding:13px 10px;font-size:13px;line-height:1.5;font-weight:700;text-align:center;word-break:keep-all}.section-note{font-size:11px;color:#9a8c76;text-align:center;margin:25px 0}.art-gallery{display:grid;grid-template-columns:1fr 1.5fr;gap:22px}.art-gallery button{border:1px solid var(--border);border-radius:13px;background:#f2eddf;padding:0;overflow:hidden;cursor:pointer;text-align:left;color:#63533a}.art-gallery img{display:block;width:100%;height:310px;object-fit:cover}.art-gallery .gallery-portrait img{object-fit:contain;padding-top:15px;background:#211b10 url("heroes-assets/illust-background-pattern.webp") center/560px 560px repeat}.art-gallery button>span:last-child{display:flex;justify-content:space-between;gap:15px;padding:20px;background:#fffefa;font-size:13px}.art-gallery b{font-size:10px;font-weight:400;color:#9d854c}.archive-footnote{display:flex;gap:30px;align-items:center;justify-content:space-between;border-top:1px solid var(--border);margin-top:40px;padding:25px 0 40px;color:#a09686}.archive-footnote>span{font-size:9px;letter-spacing:1.5px}.archive-footnote p{font-size:10px;line-height:1.9;text-align:right;margin:0}#hero-gallery{width:min(940px,94vw);max-height:90dvh;padding:0;border:1px solid #eadbb9;border-radius:16px;background:#fffaf0;color:#57472e;box-shadow:0 24px 100px #0006}#hero-gallery::backdrop{background:#201d17b8;backdrop-filter:blur(5px)}.dialog-top{display:flex;justify-content:space-between;align-items:center;padding:15px 22px;border-bottom:1px solid #e7dcc4;gap:15px}.dialog-top h3{font-size:16px;margin:0}.dialog-close{padding:10px 14px;border:1px solid #deccaa;background:#f8efd9;border-radius:7px;color:#69532e;cursor:pointer;font-size:12px}.dialog-image{display:flex;align-items:center;justify-content:center;background:#211b10 url("heroes-assets/illust-background-pattern.webp") center/560px 560px repeat;padding:20px}.dialog-image img{display:block;max-width:100%;max-height:70dvh;object-fit:contain}.dialog-image img.pixel{width:260px;image-rendering:pixelated}.hero-guide button:focus-visible,.hero-guide a:focus-visible{outline:3px solid #ac7217;outline-offset:4px}.hero-guide button:hover{border-color:#cca455}header .links a[href="heroes.html"][aria-current=page]{color:#94650e}
@media(max-width:1000px){.profile-copy{padding:30px 28px}.profile-copy h2{font-size:35px}.hero-facts{gap:15px 10px}.hero-facts div{gap:8px}.portrait-stage{min-height:485px}.leon-portrait{height:450px}.hero-tabs{gap:22px}}
@media(max-width:700px){.hero-guide .wrap{width:calc(100% - 32px)}.guide-top{padding-top:27px;padding-bottom:21px}.guide-top h1{font-size:29px}.guide-kicker{font-size:9px;letter-spacing:1.6px}.guide-top>p{font-size:10px;line-height:1.8}.heading-spark{font-size:21px;margin-left:10px}.hero-breadcrumb{font-size:10px;padding:14px 0;gap:10px}.hero-profile{grid-template-columns:1fr;border-radius:15px}.portrait-stage{min-height:320px}.leon-portrait{height:310px;max-width:86%;left:53%}.portrait-index{top:20px;left:20px;font-size:8px}.art-open{right:12px;bottom:13px;padding:10px;font-size:9px;gap:8px}.profile-copy{padding:26px 23px 24px}.hero-labels .hero-label{font-size:11px}.hero-epithet{margin-top:20px;font-size:12px}.profile-copy h2{font-size:34px}.hero-en{margin:11px 0 19px;font-size:9px}.profile-copy blockquote{font-size:16px}.hero-intro{font-size:12px;margin:15px 0 20px}.desktop-break{display:none}.hero-facts div{gap:10px}.hero-facts dd{font-size:11px}.hero-facts dt{font-size:9px}.hero-jump{margin-top:24px}.hero-details{margin-top:22px;scroll-margin-top:110px}.hero-tabs{gap:22px}.hero-tabs button{font-size:12px;padding:15px 2px}.panel-heading{align-items:start;margin-bottom:20px}.panel-heading h3{font-size:21px;line-height:1.4}.fine-label{display:none}.detail-panel{padding-top:26px}.costume-grid{grid-template-columns:1fr 1fr;gap:12px}.costume-card .costume-face{height:125px}.costume-card img{height:85px;width:85px}.costume-card .costume-label{font-size:12px;padding:12px 8px}.art-gallery{grid-template-columns:1fr}.art-gallery img{height:260px}.art-gallery .gallery-wallpaper img{height:auto}.archive-footnote{display:block;margin-top:30px;padding:25px 0 30px}.archive-footnote p{text-align:left;margin-top:12px;font-size:9px}.dialog-top{padding:12px 14px}.dialog-top h3{font-size:13px}.dialog-image{padding:12px}}
@media(prefers-reduced-motion:reduce){.hero-guide *{scroll-behavior:auto!important;transition:none!important}}

.skill-value{color:#9c6a15}.skill-physical{color:#b44435}@media(max-width:700px){}

.skill-demo{margin:24px 0 0;max-width:560px}.skill-demo img{display:block;width:100%;height:auto;aspect-ratio:16/9;border-radius:12px;background:#1b2229;image-rendering:pixelated}.skill-demo figcaption{margin-top:10px;color:#8d806d;font-size:12px;line-height:1.6}@media(max-width:700px){.skill-demo{margin-top:20px}.skill-demo img{border-radius:8px}}



.weapon-layout{display:grid;grid-template-columns:1.15fr 1fr;gap:32px;align-items:center;margin-bottom:32px}
.weapon-layout>.skill-demo{margin:0;max-width:none}
.weapon-growth{min-width:0}.weapon-growth>h4{font-size:21px;margin:10px 0 22px;letter-spacing:-.5px}
.weapon-evolution{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.weapon-grade{text-align:center;border:1px solid #e6ddc9;border-radius:12px;background:linear-gradient(160deg,#fffefa,#f4efdf);padding:19px 8px 17px}
.weapon-grade:last-child{border-color:#dfba61;background:linear-gradient(155deg,#fff5cc,#f7e1a2)}
.weapon-grade-stars{display:block;font-size:11px;letter-spacing:1px;color:#a77b20;white-space:nowrap}
.weapon-grade-art{height:132px;display:grid;place-items:center;margin:14px 0}
.weapon-grade-art img{width:112px;height:112px;max-width:100%;object-fit:contain;image-rendering:pixelated}
.weapon-grade-number{font-size:10px;color:#9a8251}.weapon-grade h5{font-size:14px;margin:7px 0 0;color:#574426;white-space:nowrap}
.weapon-description{padding-top:28px;border-top:1px solid var(--border)}






@media(max-width:900px){.weapon-layout{grid-template-columns:1fr;gap:25px}.weapon-growth>h4{margin-bottom:16px}.weapon-grade-art{height:115px}.weapon-grade-art img{width:110px;height:110px}}
@media(max-width:700px){.weapon-grade{padding:15px 5px}.weapon-grade-stars{font-size:9px;letter-spacing:0}.weapon-grade-art{height:95px;margin:10px 0}.weapon-grade-art img{width:85px;height:85px}.weapon-grade h5{font-size:12px}.weapon-evolution{gap:8px}.weapon-description{padding-top:24px}}

/* Detail media uses the existing page edges; original skill copy keeps its colour emphasis. */
#panel-skills{padding-top:48px}
.skill-editorial-head{margin-bottom:32px}
.skill-title{display:flex;align-items:flex-start;gap:16px}.skill-title>img{width:48px;height:48px;object-fit:contain;image-rendering:pixelated;flex:none;margin-top:6px}
.skill-title span,.skill-section-label{display:block;color:#796b56;font-size:13px;line-height:1.5}
.skill-title h3,.passive-copy h3{font-size:30px;line-height:1.3;letter-spacing:-1px;margin:8px 0 0;font-weight:600}
.skill-editorial-head p,.passive-copy p{font-size:16px;line-height:1.9;color:#544d43;margin:0;word-break:keep-all}
.chain-scenes{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}
.chain-scene{min-width:0}.chain-scene h4{font-size:16px;font-weight:500;line-height:1.5;margin:0 0 12px;color:#54432a}
.chain-scene img,.passive-scene{display:block;width:100%;height:auto;aspect-ratio:16/9;object-fit:contain;border-radius:8px;background:#1b2229;image-rendering:pixelated}
.passive-skill-section{display:grid;grid-template-columns:1fr 1.35fr;gap:48px;align-items:start;margin-top:64px;padding:48px 0 24px;border-top:1px solid var(--border)}
.passive-copy p{margin-top:24px}.passive-copy strong{font-weight:700}
@media(max-width:900px){.passive-skill-section{grid-template-columns:1fr 1fr;gap:24px}.chain-scenes{gap:16px}.skill-title h3,.passive-copy h3{font-size:26px}}
@media(max-width:700px){#panel-skills{padding-top:32px}.passive-skill-section{grid-template-columns:1fr;gap:24px}.skill-editorial-head{margin-bottom:32px}.chain-scenes{grid-template-columns:1fr;gap:32px}.chain-scene h4{font-size:18px;margin-bottom:12px}.passive-skill-section{margin-top:48px;padding-top:32px}.skill-editorial-head p,.passive-copy p{font-size:16px}.passive-copy p{margin-top:16px}}

.story-timeline article{display:grid;grid-template-columns:minmax(240px,1fr) minmax(0,2fr);gap:48px;align-items:start;padding:32px 0;border-top:1px solid var(--border)}
.story-identity{display:flex;gap:20px;align-items:center}.story-identity img{width:72px;height:72px;object-fit:contain;image-rendering:pixelated;flex:none}
.story-identity span{font-size:13px;color:#8b6d35}.story-identity h4{font-size:22px;line-height:1.4;margin:8px 0 0;letter-spacing:-.5px}
.story-timeline p{font-size:16px;line-height:1.9;color:#544d43;word-break:keep-all;margin:0}
@media(max-width:900px){.story-timeline article{grid-template-columns:240px minmax(0,1fr);gap:24px}}
@media(max-width:700px){.story-timeline article{grid-template-columns:1fr;gap:20px;padding:28px 0}.story-identity{gap:16px}.story-identity img{width:64px;height:64px}.story-identity h4{font-size:20px}}


.story-source{font-size:12px;line-height:1.7;color:#8b6d35}

.story-related{margin-bottom:48px}.story-related-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:48px}.story-related-grid article{padding-top:24px;border-top:1px solid var(--border)}
.story-related h4{font-size:22px;line-height:1.4;letter-spacing:-.5px;margin:10px 0 16px}
@media(max-width:900px){.story-related-grid{gap:24px}}
@media(max-width:700px){.story-related-grid{grid-template-columns:1fr;gap:28px}.story-related{margin-bottom:36px}.story-related h4{font-size:20px}}

.story-related p{font-size:16px;line-height:1.9;color:#544d43;word-break:keep-all;margin:0}
.story-timeline+.story-related{margin-top:56px;padding-top:36px;border-top:1px solid var(--border)}
.hero-roster{display:flex;justify-content:flex-start;gap:16px;flex-wrap:wrap;margin:4px 0 24px}.hero-roster a{display:flex;align-items:center;gap:12px;min-width:160px;padding:12px 20px;border:1px solid var(--border);border-radius:10px;color:#544d43;text-decoration:none;background:#fffefa}.hero-roster a[aria-current="page"]{background:#fff1c9;border-color:#ba974e}.hero-roster a:focus-visible{outline:2px solid #926c23;outline-offset:3px}.hero-roster img{object-fit:contain;image-rendering:pixelated}.hero-roster strong{display:block;font-size:16px}.hero-roster small{display:block;margin-top:4px;font-size:12px;color:#796b56}
.mew-profile .leon-portrait{object-fit:contain;max-width:94%;left:50%}
@media(max-width:700px){.hero-roster{gap:12px}.hero-roster a{min-width:0;flex:1;padding:10px 14px;gap:10px}.story-timeline+.story-related{margin-top:32px;padding-top:28px}}

.skill-heal{color:#2f7952}.mew-growth{grid-template-columns:repeat(3,minmax(0,1fr))}.mew-art{grid-template-columns:1fr}.mew-art .gallery-portrait img{object-fit:contain;height:460px;width:100%}@media(max-width:700px){.mew-art .gallery-portrait img{height:340px}}
/* The catalog loads only small faces; full artwork belongs to a selected hero. */
.archive-loading{padding:100px 0;min-height:60vh;color:#82796e}
.hero-search{display:grid;grid-template-columns:minmax(220px,1fr) auto;gap:28px;align-items:end;padding:25px 0;border-top:1px solid var(--border);border-bottom:1px solid var(--border)}
.hero-search label{display:grid;gap:9px;min-width:0}.hero-search label>span{font-size:12px;font-weight:700;color:#746650}
.hero-search input[type="search"]{width:100%;min-width:0;height:48px;border:1px solid #dbd2c1;border-radius:8px;background:#fffefa;color:#423b30;font:inherit;font-size:14px;padding:0 15px;box-sizing:border-box}
.hero-search input[type="search"]:focus{outline:2px solid #b17c20;outline-offset:2px}
.class-filter{min-width:0;margin:0;padding:0;border:0}.class-filter legend{padding:0;margin-bottom:9px;font-size:12px;font-weight:700;color:#746650}
.class-options{display:grid;grid-template-columns:64px repeat(6,100px);gap:8px}
.hero-search .class-button{position:relative;display:flex;align-items:center;justify-content:center;gap:8px;min-width:0;min-height:48px;padding:6px 10px;border:1px solid #dbd2c1;border-radius:8px;background:#fffefa;cursor:pointer;box-sizing:border-box;transition:background .15s,border-color .15s}
.hero-search .class-button>span:last-child{font-size:13px;font-weight:700;color:#675c4b;white-space:nowrap}
.class-button input{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
.class-button:has(input:checked){background:#f8e7ac;border-color:#b88c36;box-shadow:inset 0 0 0 1px #b88c36}
.hero-search .class-button:has(input:checked)>span:last-child{color:#513a14}
.class-button:hover{background:#fcf3db;border-color:#b88c36}.class-button:has(input:focus-visible){outline:2px solid #9a6c1d;outline-offset:3px}
.class-icon{position:relative;flex:none;width:19.6px;height:19.6px}.class-icon::before{content:'';position:absolute;left:50%;top:50%;transform:translate(-50%,-50%) scale(.7);width:50px;height:55px;background-image:url('heroes-assets/class-icons/mini-classes.png');background-size:650px 110px;background-position:calc(var(--class-index) * -50px) -55px;background-repeat:no-repeat;image-rendering:pixelated;pointer-events:none}
.class-icon-all{display:none}
.catalog-heading{display:flex;justify-content:space-between;align-items:center;margin:25px 0 18px}.catalog-heading p{font-size:14px;font-weight:700;margin:0}.catalog-heading>span{color:#958772;font-size:12px}
.hero-catalog{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:18px}
.hero-card{position:relative;display:block;min-width:0;border:1px solid #e2daca;border-radius:12px;background:#fffefa;overflow:hidden;color:#443a2a;text-decoration:none;transition:transform .16s,border-color .16s}
.hero-card:hover{transform:translateY(-2px);border-color:#ba8625}.hero-card-art{height:150px;display:grid;place-items:center;background:#f3efdf}.hero-card-art img{width:96px;height:96px;object-fit:contain;image-rendering:pixelated}
.hero-card[data-class="워리어"] .hero-card-art{background:#f8e4e1}
.hero-card[data-class="팔라딘"] .hero-card-art{background:#e0f1f6}
.hero-card[data-class="아처"] .hero-card-art{background:#edf3d9}
.hero-card[data-class="헌터"] .hero-card-art{background:#faf0cf}
.hero-card[data-class="위자드"] .hero-card-art{background:#eee3f8}
.hero-card[data-class="프리스트"] .hero-card-art{background:#f8e1ee}
.hero-card-copy{padding:16px 14px 19px}.hero-card-copy>span{color:#9a7c40;font-size:10px;letter-spacing:.3px}.hero-card h2{font-size:18px;line-height:1.4;margin:7px 0 6px;word-break:keep-all}.hero-card p{font-size:11px;line-height:1.6;color:#8c8070;margin:0;word-break:keep-all}
.hero-empty{padding:70px 0 100px;text-align:center;min-height:30vh}.hero-empty[hidden]{display:none}.hero-empty h1,.hero-empty h2{font-size:24px}.hero-empty p{color:#8c8070}.hero-empty button,.hero-empty a{display:inline-block;padding:12px 20px;margin-top:14px;background:#f7e8bf;color:#5d461e;border:1px solid #d9bf81;border-radius:8px;cursor:pointer}
.hero-detail-wrap{padding-top:25px}.hero-detail-nav{display:flex;justify-content:space-between;align-items:center;padding:0 0 23px;gap:20px}.hero-back{font-size:14px;font-weight:700;color:#775623}.hero-detail-nav>span{font-size:12px;color:#9b8b71}
.profile-copy h1{font-size:43px;line-height:1.2;margin:0;letter-spacing:-1.8px;word-break:keep-all}.hero-facts dd{word-break:keep-all;overflow-wrap:anywhere}.portrait-stage .leon-portrait{left:50%}

.hero-video{display:block;width:100%;height:auto;aspect-ratio:16/9;object-fit:contain;background:#1c222a;border-radius:8px;image-rendering:pixelated}.skill-demo .hero-video{max-width:none}
.media-pending{display:flex;flex-direction:column;justify-content:center;align-items:center;aspect-ratio:16/9;background:#f2eee4;border:1px solid #e2dacb;border-radius:8px;color:#7d6f59;font-size:13px}.media-pending p{font-size:12px;color:#9c8b71}.skill-magic{color:#426fa1}
.weapon-descriptions{display:grid;gap:24px}.weapon-descriptions .weapon-description{padding-top:24px}.weapon-description p{font-size:15px;line-height:1.9}.weapon-grade h5{white-space:normal;word-break:keep-all;line-height:1.5}
.catalog-art{grid-template-columns:repeat(2,minmax(0,1fr))}.catalog-art:has(>button:only-child){grid-template-columns:1fr}.catalog-art .gallery-portrait img{height:460px}
@media(max-width:1100px){.hero-catalog{grid-template-columns:repeat(4,minmax(0,1fr))}.hero-search{grid-template-columns:1fr}.class-options{grid-template-columns:repeat(7,minmax(0,1fr))}.profile-copy h1{font-size:35px}}
@media(max-width:700px){.hero-search{grid-template-columns:1fr;gap:20px;padding:20px 0}.class-options{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.hero-search .class-button{flex-direction:column;gap:7px;min-height:68px;padding:10px 4px}.class-button:first-child{grid-row:span 2}.class-filter legend{margin-bottom:10px}.hero-search-field{grid-column:1/-1}.hero-search input[type="search"]{font-size:14px;height:46px}.catalog-heading{margin-top:21px}.catalog-heading>span{display:none}.hero-catalog{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px 10px}.hero-card{border-radius:9px}.hero-card-art{height:106px}.hero-card-art img{width:72px;height:72px}.hero-card-copy{padding:12px 9px 14px}.hero-card h2{font-size:14px;letter-spacing:-.4px}.hero-card-copy>span{font-size:9px}.hero-card p{font-size:10px}.hero-detail-nav{padding-bottom:18px}.hero-back{font-size:13px}.hero-detail-nav>span{font-size:10px}.hero-detail-wrap{padding-top:20px}.profile-copy h1{font-size:34px}.catalog-art{grid-template-columns:1fr}.catalog-art .gallery-portrait img{height:340px}.weapon-description p{font-size:14px}}
@media(prefers-reduced-motion:reduce){.hero-card:hover{transform:none}}

.passive-skill-section:not(:has(video)):not(:has(.media-pending)){grid-template-columns:1fr}

.skill-title p{max-width:68ch;margin:14px 0 0}

.hero-facts{grid-template-columns:1fr}
.hero-facts>div{display:grid;grid-template-columns:70px minmax(0,1fr);gap:14px;align-items:baseline}
.hero-facts dt{grid-column:1;grid-row:1;text-align:left}
.hero-facts dd{grid-column:2;grid-row:1;margin-top:0;line-height:1.7;text-align:right}

/* The original 640 x 960 card plane scales only with its host's height. */
.portrait-plane{position:absolute;display:block;top:0;left:50%;height:100%;width:auto;aspect-ratio:2/3;transform:translateX(-50%);pointer-events:none}
.portrait-plane .source-portrait,.art-gallery .portrait-plane .source-portrait{position:absolute;display:block;max-width:none;max-height:none;margin:0;padding:0;object-fit:fill;background:none;border-radius:0;transform:none;filter:none}
.portrait-stage .portrait-index,.portrait-stage .art-open{z-index:1}
.portrait-preview{display:block;position:relative;height:460px;overflow:hidden;background:#211b10 url("heroes-assets/illust-background-pattern.webp") center/560px 560px repeat}
.portrait-placeholder{position:absolute;inset:0;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:24px;color:#f2d797;font-size:12px;text-shadow:0 1px 2px #0009}
.portrait-placeholder .portrait-dot{width:auto;height:28%;max-width:none;image-rendering:pixelated}
@media(max-width:700px){.portrait-preview{height:340px}}

.costume-card[data-art-index]{position:relative;width:100%;font:inherit;cursor:pointer;appearance:none}
.costume-art-icon{position:absolute;top:10px;right:10px;display:grid;place-items:center;width:28px;height:28px;border:1px solid #715834;border-radius:7px;background:#846b42}
.costume-card .costume-art-icon img{display:block;width:17px;height:17px;image-rendering:pixelated}
.dialog-top h3{flex:1;min-width:0}
.dialog-pages{height:auto;padding:0;margin:0;display:flex;align-items:center;gap:5px;flex-shrink:0}
.dialog-pages[hidden]{display:none}
.dialog-pages button{width:36px;height:36px;border:1px solid #deccaa;border-radius:7px;background:#f8efd9;color:#69532e;font-size:18px;cursor:pointer}
.dialog-pages span{font-size:11px;white-space:nowrap}
.dialog-image{padding:20px 20px 0;align-items:flex-end}
@media(max-width:700px){.dialog-image{padding:12px 12px 0}.dialog-top{gap:8px}.dialog-pages button{width:36px;height:44px}}
