@font-face{font-family:DockGalmuri;src:url('assets/fonts/Galmuri11-Bold.woff2') format('woff2');font-weight:700;font-style:normal;font-display:swap}
/* Readable Korean pixel type; live quantity remains ordinary accessible text. */
.battle049.combo053 #summon{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;padding:9px 7px 10px}
.battle049.combo053 #summon #summonArt{display:block;position:static;transform:none;width:30px;height:28px;max-height:none;flex:0 0 auto;object-fit:contain;margin:0}
.battle049.combo053 #summon>strong,.battle049.combo053 #summon>.tickets{position:static;inset:auto;transform:none;opacity:1;width:auto;min-width:0;height:auto;margin:0;padding:0;background:none;border:0;color:#fff3c9;font-family:DockGalmuri,sans-serif;font-weight:700;text-shadow:1px 1px #402e19;white-space:nowrap}
.battle049.combo053 #summon>strong{font-size:16px;line-height:20px;letter-spacing:0}
.battle049.combo053 #summon>.tickets{display:flex;align-items:baseline;justify-content:center;gap:3px;font-size:12px;line-height:16px}
.battle049.combo053 #summon>.tickets small{font:inherit}
.battle049.combo053 #summon .plus{display:none}
/* Fill the card with the portrait, then layer one joined information area over it. */
.battle049.combo053 .army-cards049,.battle049.combo053 #choices,.battle049.combo053 #choices[data-wide039=true]{grid-auto-columns:calc((100% - 8px)/3)!important;gap:4px!important;scrollbar-width:none}
.battle049.combo053 .army-card049,.battle049.combo053 #choices .choice{display:block!important;position:relative;padding:0!important;overflow:hidden}
.battle049.combo053 .army-card049>img,.battle049.combo053 #choices .choice>img,.battle049.combo053 #choices[data-wide039=true] .choice>img{position:absolute;inset:3px 4px 4px;width:calc(100% - 8px)!important;height:calc(100% - 7px)!important;max-height:none;object-fit:contain;object-position:center top;z-index:0;filter:none}
.battle049.combo053 .army-card049>strong,.battle049.combo053 #choices .choice>strong,.battle049.combo053 #choices[data-wide039=true] .choice>strong{position:absolute;left:4px;right:4px;bottom:20px;width:auto;min-height:0;height:17px;max-height:none;line-height:17px!important;padding:0 2px;margin:0;display:block;font-size:11px!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;background:#081626c9;z-index:2}
.battle049.combo053 .army-card049>small.army-stats049,.battle049.combo053 #choices .choice>.combo-synergy{position:absolute;left:4px;right:4px;bottom:4px;width:auto;height:16px;min-height:0;max-height:16px;line-height:16px!important;margin:0;padding:0 4px;font-size:10px!important;background:#081626e8;z-index:2;overflow:hidden}
.battle049.combo053 .army-stats049 .army-count049{border:0;padding-left:3px}
.battle049.combo053 .army-card049>.rarity051,.battle049.combo053 .army-card049>.class051,.battle049.combo053 #choices .choice>.tier,.battle049.combo053 #choices .choice>.class051{z-index:3}
.battle049.combo053 #bomb .charges{top:1px;right:1px;font-size:10px;line-height:12px;padding:0 2px;min-width:0;border-radius:2px}
.battle049.combo053 .army-card049>strong,.battle049.combo053 #choices .choice>strong,.battle049.combo053 #choices[data-wide039=true] .choice>strong{height:auto;min-height:14px;max-height:28px;line-height:14px!important;white-space:normal;word-break:keep-all;overflow-wrap:anywhere;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}
@media(min-height:451px){
 .battle049.combo053 #summon #summonArt{width:42px;height:38px}
 .battle049.combo053 #summon>strong{font-size:22px;line-height:27px}
 .battle049.combo053 #summon>.tickets{font-size:16px;line-height:21px}
 .battle049.combo053 .army-card049>strong,.battle049.combo053 #choices .choice>strong,.battle049.combo053 #choices[data-wide039=true] .choice>strong{bottom:24px;height:auto;min-height:18px;max-height:36px;line-height:18px!important;font-size:14px!important}
 .battle049.combo053 .army-card049>small.army-stats049,.battle049.combo053 #choices .choice>.combo-synergy{height:20px;max-height:20px;line-height:20px!important;font-size:12px!important}
}
.battle049.combo053 #summon>strong,.battle049.combo053 #summon>.tickets,.battle049.combo053 #summon>.tickets *{font-family:DockGalmuri,sans-serif!important}
/* Primary combat actions take priority over the compact spell selector. */
.battle049.combo053 #controls .spell-change{height:28px;min-height:28px;max-height:28px;padding:1px 5px;font-size:10px;line-height:20px;bottom:calc(var(--safe-b) + 6px);box-sizing:border-box}
.battle049.combo053 #controls:has(.spell-change:not([hidden])) .skill-controls{bottom:calc(var(--safe-b) + 42px)}
.battle049.combo053 #controls .skill-controls .skill{height:calc(var(--dock048) - 50px);min-height:62px;box-sizing:border-box}
.battle049.combo053 #controls .skill .button-name{bottom:3px;left:0;right:0;font-size:10px;line-height:12px;white-space:nowrap;text-align:center}
.battle049.combo053 #controls .skill svg,.battle049.combo053 #controls .skill .skill-art049{width:35px;height:35px;margin:0 0 12px;object-fit:contain}
/* Keep toolbar tops inside the decorative dock border without covering cards. */
.battle049.combo053 #comboBadge,.battle049.combo053 .recipe-book048{height:30px;min-height:30px;bottom:calc(var(--safe-b) + var(--dock048) - 45px)}
.battle049.combo053 .synergy-pill048{gap:4px;overflow:hidden;align-items:center}
.battle049.combo053 .synergy-pill048 img{width:24px;height:24px;object-fit:contain;image-rendering:pixelated;flex:none}
.battle049.combo053 .synergy-pill048 strong{display:block;overflow:hidden;text-overflow:ellipsis}
.battle049.combo053 .synergy-pill048 small{display:block;font-size:9px;line-height:12px}
@media(max-height:450px){.battle049.combo053 #comboBadge,.battle049.combo053 .recipe-book048{height:24px;min-height:24px;bottom:calc(var(--safe-b) + var(--dock048) - 39px)}}
/* Spell names wrap within their own hit area, including narrow phones. */
.battle049.combo053 #controls .skill .button-name{left:3px;right:3px;width:auto;max-width:calc(100% - 6px);bottom:3px;white-space:normal;word-break:keep-all;overflow-wrap:anywhere;line-height:11px;max-height:22px;overflow:hidden}
.battle049.combo053 #controls .skill svg,.battle049.combo053 #controls .skill .skill-art049{position:absolute;top:1px;left:50%;transform:translateX(-50%);width:calc(100% - 4px);height:calc(100% - 28px);min-height:30px;max-width:none;max-height:none;margin:0;object-fit:contain}
@media(max-height:450px){.battle049.combo053 #combo .material048{height:24px;min-height:24px;max-height:24px;box-sizing:border-box}.battle049.combo053 #combo #recipeMaterials{align-self:end;height:24px;margin-bottom:0}}
/* Army information shares one line; retain the full-size portrait behind it. */
.battle049.combo053 .army-cards049{grid-auto-columns:calc((100% - 8px)/3)!important}
.battle049.combo053 .army-summary20261015{position:absolute;left:4px;right:4px;bottom:4px;display:flex;align-items:center;gap:5px;height:20px;padding:0 4px;box-sizing:border-box;background:#081626e8;z-index:2;white-space:nowrap}
.battle049.combo053 .army-summary20261015>strong{position:static;flex:1 1 auto;min-width:0;width:auto;max-width:none;overflow:hidden;text-overflow:ellipsis;height:auto;min-height:0;line-height:20px!important;padding:0;margin:0;font-size:11px!important;background:none;white-space:nowrap;text-align:left}
.battle049.combo053 .army-summary20261015>small.army-stats049{position:static;display:flex;align-items:center;gap:5px;flex:0 0 auto;width:auto;height:auto;padding:0;margin:0;line-height:20px!important;font-size:10px!important;background:none}
.battle049.combo053 .army-summary20261015 .army-level049{border-left:1px solid #607782;padding-left:5px}
.battle049.combo053 .army-summary20261015 .army-count049{padding-left:0;margin:0}
@media(min-height:451px){.battle049.combo053 .army-cards049{grid-auto-columns:calc((100% - 8px)/3)!important}.battle049.combo053 .army-summary20261015{height:24px}.battle049.combo053 .army-summary20261015>strong{font-size:14px!important}.battle049.combo053 .army-summary20261015>small.army-stats049{font-size:12px!important}}

/* Three results always fit; the army continues horizontally after its first three. */
.battle049.combo053 #choices,.battle049.combo053 #choices[data-wide039=true]{grid-template-columns:repeat(3,minmax(0,1fr))!important;grid-auto-columns:auto!important;overflow-x:hidden!important}
.battle049.combo053 #choices .choice,.battle049.combo053 .army-card049{min-width:0!important;width:auto!important}
.battle049.combo053 .army-summary20261015{gap:3px;padding:0 2px}
.battle049.combo053 .army-summary20261015>small.army-stats049{gap:3px}
.battle049.combo053 .army-summary20261015 .army-level049{padding-left:3px}
.battle049.combo053 .choice-hint053{display:none!important}
.battle049.combo053 .synergy-rail048{overflow:hidden}
.battle049.combo053 .synergy-toggle20261015{flex:none;display:block;width:100%;min-height:28px;padding:3px 2px;border:1px solid #5b7178;border-radius:0;background:#102839e6;color:#e0efe3;font:inherit;font-size:10px;text-align:left;white-space:nowrap}
.battle049.combo053 .synergy-list20261015{min-height:0;overflow-y:auto;scrollbar-width:none;display:flex;flex-direction:column;gap:3px}
.battle049.combo053 .synergy-list20261015[hidden]{display:none}
.battle049.combo053 .synergy-rail048.collapsed20261015{bottom:auto}

/* Army reading order: level, name, count. */
.battle049.combo053 .army-summary20261015>.army-level049,.battle049.combo053 .army-summary20261015>.army-count049{flex:none;font-size:10px;line-height:20px;border:0;padding:0;margin:0;color:#f1e8cf}
.battle049.combo053 .army-summary20261015>.army-level049{padding-right:3px;border-right:1px solid #607782}
.battle049.combo053 .army-summary20261015>strong{text-align:center;letter-spacing:0}
@media(min-height:451px){.battle049.combo053 .army-summary20261015>.army-level049,.battle049.combo053 .army-summary20261015>.army-count049{font-size:12px}}

/* Scale primary spell art with the buttons; keep the selector secondary. */
@media(min-height:451px){
 .battle049.combo053 #controls .skill svg,.battle049.combo053 #controls .skill .skill-art049{top:3px;width:calc(100% - 4px);height:calc(100% - 26px);max-height:none}
 .battle049.combo053 #controls .skill .button-name{font-size:13px;line-height:16px;max-height:32px;bottom:6px}
 .battle049.combo053 #bomb .charges{font-size:12px;line-height:15px;top:2px;right:2px}
}
.battle049.combo053 #controls>.recipe-strip053{bottom:calc(var(--safe-b) + var(--dock048));background:#102735bd}

/* Match the draw button's top inset, including the visible spell selector rule. */
.battle049.combo053 #controls .skill-controls .skill,
.battle049.combo053 #controls:has(.spell-change:not([hidden])) .skill-controls .skill{height:calc(var(--dock048) - 58px);min-height:60px;max-height:none}

@media(max-height:450px){.battle049.combo053 #controls .skill-controls .skill,.battle049.combo053 #controls:has(.spell-change:not([hidden])) .skill-controls .skill{height:calc(var(--dock048) - 56px)}}

/* Center primary artwork within the space above its bottom label. */
.battle049.combo053 #controls .skill svg,.battle049.combo053 #controls .skill .skill-art049{top:calc(50% - 12px);transform:translate(-50%,-50%);width:calc(100% - 4px);height:calc(100% - 28px);max-width:80px;max-height:80px;min-height:0}
