.hero-selector{display:grid;grid-template-columns:repeat(4,1fr);gap:5px;margin:10px 0 12px}.hero-option{padding:4px 2px 5px;border:1px solid #ffffff14;background:#111b145e;min-width:0;text-align:center}.hero-option.selected{border-color:#bacd9299;background:#c3d5a015}.hero-option img{width:100%;height:57px;object-fit:contain;object-position:center bottom;display:block}.hero-option small{display:block;font-size:7px;line-height:1.4;color:#a9b89b;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;margin-top:4px}.hero-option.selected small{color:#d9e5c4}.character-card{padding:18px 22px}.character-card .character-illustration{height:145px;margin-bottom:8px;overflow:visible}.character-illustration.has-sprite>div{display:none}.character-illustration.has-sprite>span{font-size:6px;right:-3px;bottom:3px;max-width:90px}.sprite-preview{height:100%;width:100%;object-fit:contain;object-position:center bottom;display:block;filter:drop-shadow(0 8px 8px #0005)}.hero-description{font:italic 11px/1.5 Georgia,serif;color:#b3c2a1;min-height:17px;margin:7px 0 0}.character-card .name-label{margin-top:9px}.character-card .profession-title{margin-top:13px}.character-card .professions button{padding:7px 9px}.art-gallery-button{font-size:9px;color:#aaba96;border-top:1px solid #ffffff13;margin-top:10px;padding:9px 0 0;width:100%;display:flex;align-items:center;justify-content:space-between}.art-gallery-button b{font-size:8px;color:#6f8563;font-weight:400}.portrait.has-sprite{background:radial-gradient(ellipse,#7d8c60,#354530);overflow:hidden}.portrait.has-sprite:before,.portrait.has-sprite:after{display:none}.portrait img{width:56px;height:78px;object-fit:contain;position:absolute;left:-9px;top:-2px}.ammo-display{font-size:10px;display:flex;gap:6px;align-items:center;color:#b9c8a4;border-top:1px solid #ffffff10;padding:9px 16px}.ammo-display svg{width:14px;height:14px;color:#d1bb83}.ammo-display strong{font-size:14px;font-weight:500;color:#d5dfc7}.ammo-display .ammo-reserve{font-size:10px;color:#809375}.ammo-display button{margin-left:auto;border:1px solid #71836180;padding:1px 5px;color:#adbe9a;font-size:9px}.ammo-display.empty strong{color:#dc9d7d}.art-library{display:grid;grid-template-columns:repeat(4,1fr);gap:7px;margin:15px 0;max-height:180px;overflow:auto;padding-right:5px;scrollbar-width:thin}.art-library button{border:1px solid #ffffff15;background:#ffffff03;padding:6px;font-size:8px;color:#99ad8d}.art-library button.selected{border-color:#b8ca8a99;color:#d5e3bd}.art-library img{width:100%;height:62px;object-fit:contain;display:block;margin-bottom:5px}.art-library button span{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.art-preview{background:radial-gradient(ellipse at 50% 70%,#7b8b5533,transparent 65%);height:220px;position:relative;display:flex;align-items:center;justify-content:center;border:1px solid #ffffff0b}.art-preview img{height:95%;width:95%;object-fit:contain}.art-pose-buttons{display:flex;gap:5px;flex-wrap:wrap;margin-top:11px}.art-pose-buttons button{border:1px solid #ffffff20;background:#ffffff05;color:#aebf9b;padding:5px 9px;font-size:9px}.art-pose-buttons button.selected{border-color:#b9ce8a88;color:#dfebc7}.art-caption{font-size:9px!important;line-height:1.6!important}.result-art{height:180px;width:100%;object-fit:contain;margin:4px 0 10px;filter:drop-shadow(0 8px 12px #0004)}.asset-note{font-size:7px;color:#6f8565;line-height:1.6;margin-top:9px}.modal-card.art-modal{width:590px}.character-card .section-label{font-size:8px;letter-spacing:1.3px}
@media(max-height:780px) and (min-width:551px){.character-card{padding:12px 18px}.character-card .character-illustration{height:105px}.hero-option img{height:44px}.hero-selector{margin:7px 0}.character-card .professions button{padding:5px 8px}.character-card .hero-description{font-size:9px}.character-card .name-label{margin-top:5px}.character-card .profession-title{margin-top:8px}.art-gallery-button{padding-top:6px;margin-top:6px}.asset-note{display:none}}
@media(max-width:760px){.hero-selector{grid-template-columns:repeat(2,1fr)}.hero-option img{height:38px}.character-card{padding:12px}.character-card .character-illustration{height:110px}.hero-description{font-size:9px}.art-library{grid-template-columns:repeat(3,1fr)}.art-preview{height:185px}.ammo-display{padding:7px 11px;font-size:8px}}
@media(max-width:550px){.character-card{display:block;width:100%;margin:0 0 65px;padding:14px}.menu{display:block}.menu-main{padding-bottom:28px}.menu h1{font-size:64px;margin:20px 0}.menu-buttons{margin-top:20px}.menu-meta{margin-top:17px}.character-card .character-illustration{height:110px}.hero-selector{grid-template-columns:repeat(4,1fr)}.hero-option img{height:53px}.character-card .professions{display:grid;grid-template-columns:1fr}.character-card .profession-title{margin-top:13px}.menu:before{display:none}.menu-foot{position:relative;bottom:0;left:0;padding-bottom:15px}.art-library{grid-template-columns:repeat(3,1fr)}}

/* Five-stage squad campaign */
.party-roster{border-top:1px solid #ffffff17;margin-top:12px;padding-top:8px}.party-member{display:flex;gap:7px;align-items:center;padding:5px 0}.party-member img{width:26px;height:34px;object-fit:contain}.party-member span{font-size:9px;flex:1}.party-member small{display:block;color:#98a58e;font-size:7px}.party-member b{font-size:9px;color:#cadd9e}.party-member.down{opacity:.5}.victory-party{display:flex;justify-content:center;gap:5px;height:200px;margin-bottom:18px}.victory-party img{width:24%;object-fit:contain;animation:party-cheer .65s ease-in-out infinite alternate}.victory-party img:nth-child(even){animation-delay:.3s}@keyframes party-cheer{to{transform:translateY(-9px) rotate(2deg)}}.right-hud{max-height:calc(100vh - 150px);overflow-y:auto}.objective .section-label{line-height:1.7}.objective p{font-size:13px}.objective li{line-height:1.5}@media(max-width:760px){.party-member small{display:none}.party-member img{width:20px;height:27px}.party-member span{font-size:8px}.victory-party{height:150px}}@media(prefers-reduced-motion:reduce){.victory-party img{animation:none}}
