:root {
  --ink:#f4ead5;--muted:#9f9689;--panel:#171821;--line:#4a4031;--gold:#d8ad57;--gold-bright:#f0d58c;--gold-dark:#79572a;--iron:#252832;--night:#090b11;--leather:#39251d;--wine:#5b2433;--green:#67c788;--red:#d95d68;--blue:#65add0;
  font-family:"Trebuchet MS",Inter,system-ui,sans-serif;background:var(--night)
}
html{background:#080a0f}
body{position:relative;background:radial-gradient(ellipse at 50% -8%,#374058 0,#151821 27rem,transparent 58rem),linear-gradient(90deg,transparent 49.7%,#d8ad5707 50%,transparent 50.3%),#090b11;color:var(--ink)}
body:before,body:after{content:"";position:fixed;z-index:-1;pointer-events:none}
body:before{inset:0;opacity:.28;background:repeating-linear-gradient(45deg,transparent 0 31px,#ffffff05 32px,transparent 33px),repeating-linear-gradient(-45deg,transparent 0 31px,#ffffff04 32px,transparent 33px);mask-image:linear-gradient(to bottom,#000,transparent 72%)}
body:after{top:0;left:50%;width:min(92vw,980px);height:1px;transform:translateX(-50%);background:linear-gradient(90deg,transparent,#d9b76588,transparent);box-shadow:0 0 34px 5px #d9b76522}
.app-shell{width:min(100%,600px)}

.topbar{position:relative;min-height:76px;margin-bottom:10px;padding:9px 5px 15px;border-bottom:1px solid #b88a3e55}
.topbar:after{content:"";position:absolute;left:50%;bottom:-4px;width:8px;height:8px;transform:translateX(-50%) rotate(45deg);border:1px solid #b88a3e88;background:#151821}
.brand{gap:12px;min-width:0}.brand img{width:54px;height:54px;padding:2px;border:1px solid #d5aa5788;border-radius:50%;background:#11131a;box-shadow:0 0 0 3px #0a0c11,0 0 0 4px #5f4a2d,0 8px 26px #000c}.brand>div{min-width:0}
.brand-kicker{display:block;margin-bottom:1px;color:#bc9550;font-size:7px;font-weight:900;letter-spacing:.25em}
.brand h1,.section-heading h2,.pack-toolbar h2,.subheading h2,.battle-head h2,.account-dialog h2,.game-over h2{font-family:Georgia,"Times New Roman",serif;font-weight:700;letter-spacing:.015em;text-shadow:0 2px 2px #000}
.brand h1{color:#f6eddc;font-size:22px;line-height:1}.brand p{margin-top:5px;color:#887f75;font-size:9px;letter-spacing:.04em}
.header-actions{gap:5px}
.icon-button,.small-button,.speed-button,.account-tabs button,.account-form button,.account-user button{position:relative;border:1px solid #5b513f;border-radius:6px;background:linear-gradient(#282b34,#181a21);color:#d9cfbc;box-shadow:inset 0 1px #ffffff0b,inset 0 -2px #0007,0 3px 8px #0005;letter-spacing:.08em}
.icon-button{min-width:52px;padding:0 8px;border-radius:6px;font-size:9px}.account-trigger{min-width:74px;color:#dec17f}.icon-button:active,.small-button:active,.speed-button:active{transform:translateY(1px);filter:brightness(1.15)}

.status-strip{position:relative;gap:0;margin:0 0 27px;padding:4px;border:1px solid #514735;border-radius:7px;background:linear-gradient(180deg,#272a33,#12141a);box-shadow:inset 0 1px #ffffff0b,0 10px 28px #0008}
.status-strip:before,.status-strip:after{content:"";position:absolute;top:50%;width:7px;height:24px;transform:translateY(-50%);border:1px solid #655235;background:#17191f}.status-strip:before{left:-5px;border-radius:5px 0 0 5px}.status-strip:after{right:-5px;border-radius:0 5px 5px 0}.status-strip>div{padding:8px 3px 7px;border:0;border-right:1px solid #51473599;border-radius:0;background:transparent}.status-strip>div:last-child{border-right:0}.status-strip strong{margin-top:4px;color:#efd080;font-family:Georgia,serif;font-size:16px}.status-label,.eyebrow{color:#a88c58;font-size:8px;letter-spacing:.18em}
.section-heading,.pack-toolbar,.subheading,.battle-head{position:relative;align-items:center;margin-bottom:11px;padding-left:14px}.section-heading:before,.pack-toolbar:before,.subheading:before,.battle-head:before{content:"";position:absolute;left:0;width:3px;height:31px;border-radius:2px;background:linear-gradient(#f2d388,#8b632d);box-shadow:0 0 10px #d4a64e44}.section-heading h2,.pack-toolbar h2,.subheading h2,.battle-head h2{margin-top:2px;color:#f0e7d6;font-size:22px;line-height:1.05}.subheading>span{color:#847c73;font-size:8px;letter-spacing:.04em}.instruction,.hint{margin-bottom:12px;color:#aaa195;font-size:11px}
.small-button{min-height:42px;padding:0 11px;color:#cfc3af;font-size:8px}.small-button:not(:disabled):hover{border-color:#9b7b43;color:#f0d797}.reroll{border-color:#826735;background:linear-gradient(#3a3327,#211e19)}.reroll b{margin-top:2px;color:#e1b863;font-size:7px}

.shop{gap:11px;margin-bottom:25px;padding-bottom:14px;scrollbar-color:#70572e #12141a}.shop-card{flex-basis:220px;padding:13px 12px 11px;border:1px solid #5b513e;border-radius:9px;background:linear-gradient(135deg,#ffffff08,transparent 24%),linear-gradient(165deg,#292c35,#171920 72%);box-shadow:inset 0 0 0 1px #090a0e,inset 0 1px #ffffff0d,0 10px 22px #0009}
.shop-card:before{content:"";position:absolute;inset:4px;pointer-events:none;border:1px solid #a9884b26;border-radius:5px}.shop-card:after{content:"";position:absolute;left:50%;top:-3px;width:20px;height:5px;transform:translateX(-50%);border:1px solid #7e663b;background:#1a1c23}.shop-card.bag-offer{border-color:#785c3d;background:linear-gradient(145deg,#35271f,#19191d 72%)}.shop-card.shop-locked{border-color:#c49a4c;box-shadow:inset 0 0 0 1px #6c5126,0 0 20px #d6ad5840,0 10px 22px #000b}.shop-card.selected{outline:2px solid #e1be6b;outline-offset:2px}
.shop-kind{margin:1px 0 8px;color:#a88d5a;font-size:7px;letter-spacing:.18em}.shop-top{grid-template-columns:76px 1fr;gap:10px}.item-image{width:76px;height:76px;border:1px solid #5a4c38;border-radius:6px;background:radial-gradient(circle,#39332b,#12141a 72%);filter:drop-shadow(0 7px 6px #000b)}.shop-name{color:#f2e8d5;font-family:Georgia,serif;font-size:14px;letter-spacing:.01em}.shop-desc{color:#9d9589;font-size:9px}.price{padding:5px 8px;border:1px solid #8c6d34;border-radius:4px;background:linear-gradient(#59431f,#332613);color:#f0d58d;font-size:9px;letter-spacing:.08em;box-shadow:inset 0 1px #fff2}.shop-lock{top:8px;right:8px;min-height:25px;border-color:#5c5243;border-radius:4px;background:#15171dcc;color:#91897d}.shop-locked .shop-lock{border-color:#b78c3d;background:#4a3517;color:#f0d182}
.footprint{margin-top:10px;padding:7px 8px;border:1px solid #34302a;border-radius:5px;background:#101217}.footprint b{color:#b8aa91;font-size:8px;letter-spacing:.05em}.footprint-grid i,.bag-footprint i{border-color:#b99759;border-radius:1px;background:#705137;box-shadow:inset 0 0 4px #0008}.stats{gap:4px}.stat{padding:6px 2px 5px;border:1px solid #302d2a;border-radius:4px;background:#111319}.stat b{font-family:Georgia,serif;font-size:13px}.stat small{color:#817a70}

.pack-wrap{position:relative;padding:13px;border:1px solid #a17a41;border-radius:12px;background:linear-gradient(90deg,transparent 49%,#ffffff08 50%,transparent 51%),repeating-linear-gradient(105deg,#3e281f 0 11px,#432c21 12px 23px,#342119 24px 35px);box-shadow:inset 0 0 0 3px #20140f,inset 0 0 0 5px #735033,inset 0 0 34px #000b,0 18px 36px #000b}.pack-wrap:before,.pack-wrap:after{content:"";position:absolute;top:15px;bottom:15px;width:6px;border:1px solid #9b7040;background:repeating-linear-gradient(#8c6238 0 5px,#3c271d 6px 10px)}.pack-wrap:before{left:-4px}.pack-wrap:after{right:-4px}.pack-grid{border:1px solid #0a0b0e;border-radius:7px;background:#111216;box-shadow:inset 0 0 26px #000}.grid-cell{border:1px dashed #554231;border-radius:3px;background:linear-gradient(145deg,#2b201a,#201814)}.grid-cell.covered{box-shadow:inset 0 0 15px #0009,inset 0 0 0 1px #ffffff08}.bag-tile{border-color:#d2b17755;border-radius:4px;box-shadow:inset 0 0 16px #000b,inset 0 0 0 1px #fff2}
.pack-item{border:1px solid #d2b573;border-radius:6px;background:radial-gradient(circle at 50% 35%,#514839,#211e1a 72%);box-shadow:inset 0 0 0 2px #0c0d10,0 6px 12px #000c}.pack-item:before{content:"";position:absolute;inset:3px;border:1px solid #e5c87930;border-radius:3px;pointer-events:none}.pack-item .level{right:4px;bottom:4px;border:1px solid #665436;border-radius:3px;background:#111319e8;color:#e5d3ab;font-size:7px}.selected-details{min-height:66px;padding:11px 12px;border:1px solid #4c382a;border-radius:6px;background:linear-gradient(90deg,#251812,#1b1513);box-shadow:inset 0 0 17px #0008}.selected-title strong,.detail-object strong{color:#f0dfbd;font-family:Georgia,serif;font-size:13px}.selected-title span,.detail-object span{color:#c6a464}

.utility-section,.recipes-section{margin-top:27px}.utility-grid{gap:10px}.drop-zone{min-height:132px;border:1px solid #51483b;border-radius:8px;box-shadow:inset 0 0 0 2px #0c0d11,0 8px 19px #0007}.reserve-zone{padding:11px;background:linear-gradient(145deg,#20232b,#15171d)}.zone-head img{border:1px solid #67523a;border-radius:5px;background:#111318}.zone-head strong{color:#d5b568;font-family:Georgia,serif;letter-spacing:.08em}.reserve-card{border-color:#554a39;border-radius:5px;background:linear-gradient(#2c2d32,#1a1b20);box-shadow:inset 0 0 0 1px #0d0e11}.reserve-card img{border-radius:3px;background:#13151a}.sell-zone{border-color:#663a3b;background:repeating-linear-gradient(135deg,#28191a 0 9px,#321e20 10px 18px)}.sell-zone strong{color:#db7b80;font-family:Georgia,serif}
.recipe-list{gap:9px}.recipe{padding:9px 10px;border-color:#494439;border-radius:7px;background:linear-gradient(100deg,#1d2027,#14161c);box-shadow:inset 0 1px #ffffff08,0 5px 13px #0006}.recipe.ready{border-color:#a27d3c;background:linear-gradient(100deg,#31271a,#19191a)}.recipe-flow img{border:1px solid #4d4638;border-radius:4px;background:radial-gradient(circle,#39352d,#13151a)}.recipe-operator{color:#bc9955;font-size:9px;letter-spacing:.04em}.recipe-name strong{color:#eadfc9;font-family:Georgia,serif;font-size:13px}.recipe-name small{font-size:8px}.fusion-state{border-color:#4e493f;border-radius:4px;background:#13151a}

.enemy-card{position:relative;gap:11px;margin-top:24px;padding:14px;border-color:#6b493d;border-radius:10px;background:linear-gradient(120deg,#2a1b1d,#18181e 60%);box-shadow:inset 0 0 0 2px #101116,0 14px 29px #0009}.enemy-card:before{content:"NÄCHSTE HERAUSFORDERUNG";position:absolute;top:-8px;left:16px;padding:2px 8px;border:1px solid #714b3d;background:#15161b;color:#b47c68;font-size:6px;font-weight:900;letter-spacing:.16em}.rival-mark{border:1px solid #8a5360;border-radius:50%;background:radial-gradient(circle,#6f2e3d,#24171d 68%);box-shadow:0 0 0 3px #121318,0 0 0 4px #59353d}.enemy-copy strong{color:#f0dfd4;font-family:Georgia,serif;font-size:16px}.enemy-preview img{border-color:#644348;border-radius:4px;background:#21171b}
.primary-button{min-height:56px;border:1px solid #f0cf7a;border-radius:7px;background:linear-gradient(#e5be68 0,#b37d32 52%,#8b5724 53%,#a96f2c 100%);color:#21140b;box-shadow:inset 0 1px #fff8c0aa,inset 0 -2px #57300f,0 4px 0 #593211,0 10px 22px #0009;font-family:Georgia,serif;font-size:15px;letter-spacing:.09em;text-shadow:0 1px #f7dda1}.primary-button:active{transform:translateY(3px);box-shadow:inset 0 1px #fff8c088,0 1px 0 #593211,0 5px 12px #0008}

.battle-phase{padding-top:8px}#battleScore{min-width:72px;padding:8px 12px;border:1px solid #755b35;border-radius:4px;background:#181a20;color:#efd080;font-family:Georgia,serif;font-size:18px;text-align:center}.teams{gap:10px}.team{padding:10px;border-color:#60523b;border-radius:9px;background:linear-gradient(#28251e,#151619);box-shadow:inset 0 0 0 2px #0c0d10,0 10px 22px #0008}.enemy-team{border-color:#67404c;background:linear-gradient(#2b1e24,#151418)}.team h3{color:#c9ab6d;font-family:Georgia,serif;font-size:10px;letter-spacing:.15em}.unit-card{border-color:#524a3c;border-radius:5px;background:linear-gradient(#272932,#17191f);box-shadow:inset 0 0 0 1px #0d0e12}.unit-card img{border:1px solid #3e3931;border-radius:3px;background:radial-gradient(circle,#33312b,#111319)}.unit-card strong{color:#e6dbc5;font-family:Georgia,serif}.unit-health{height:8px;border:1px solid #090a0d;border-radius:2px;background:#0d0e12}.unit-health i{background:linear-gradient(#8dde9e,#34794a)}.combat-legend{padding:7px;border-top:1px solid #40392e;border-bottom:1px solid #40392e}.battle-log{height:156px;border:1px solid #403a32;border-radius:6px;background:#101116;box-shadow:inset 0 0 22px #000;color:#bcb3a6;font-family:ui-monospace,monospace;font-size:10px}.playback-controls{gap:5px;padding:4px;border:1px solid #443d32;border-radius:7px;background:#111318}.speed-button{min-height:43px;border-color:transparent;box-shadow:none}.speed-button.active{border-color:#b99049;background:linear-gradient(#4c3b21,#282116);color:#efd189;box-shadow:inset 0 0 0 1px #17130d}.speed-button.stop.active{border-color:#9c4e57;background:linear-gradient(#4d252b,#28171a);color:#e6a1a7}

.account-modal{background:#07090dde;backdrop-filter:blur(10px) saturate(.7)}.account-dialog{border-color:#80673d;border-radius:9px;background:linear-gradient(145deg,#272a32,#15171d 68%);box-shadow:inset 0 0 0 3px #0b0c10,inset 0 0 0 4px #4e4434,0 26px 90px #000}.account-dialog:before{content:"";position:absolute;top:-5px;left:50%;width:36px;height:9px;transform:translateX(-50%);border:1px solid #80673d;background:#17191f}.account-close{border-color:#574d3c;border-radius:5px;background:#17191f}.account-tabs{padding:4px;border:1px solid #403a31;border-radius:6px;background:#111319}.account-tabs button{box-shadow:none}.account-tabs button.active{border-color:#a98443;background:linear-gradient(#4c3a20,#2a2116);color:#e8ca83}.account-form input{border-color:#494238;border-radius:5px;background:#0f1116;color:#f0e7d6}.account-form input:focus{border-color:#b68d48;box-shadow:0 0 0 2px #b68d4822}.account-form button{border-color:#b58b43;background:linear-gradient(#6c5026,#3d2c18);color:#efd28c}.toast{border:1px solid #b18d4f;border-radius:5px;background:#e6d5ad;box-shadow:inset 0 0 0 2px #7f653966,0 10px 30px #000b;font-family:Georgia,serif}

@media(min-width:760px){.app-shell{width:min(100%,980px)}.topbar{padding-inline:10px}.shop{margin-inline:0;padding-inline:2px}.shop-card{flex-basis:225px}.pack-wrap{grid-template-columns:456px 1fr;padding:15px}.selected-details{padding:16px}}
@media(max-width:430px){.brand img{width:48px;height:48px}.brand h1{font-size:19px}.brand p{max-width:155px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.icon-button{min-width:48px;padding-inline:6px;font-size:8px}.account-trigger{min-width:67px}.section-heading h2,.pack-toolbar h2,.subheading h2,.battle-head h2{font-size:20px}.shop-card{flex-basis:214px}}
@media(max-width:360px){.brand p,.brand-kicker{display:none}.brand h1{font-size:18px}.header-actions{gap:3px}}

.unit-card strong{font-size:9px}.unit-hp{font-size:8px}.unit-numbers{font-size:7px}.unit-status span{font-size:7px}

.account-dialog{max-height:calc(100vh - 28px);overflow-y:auto}.account-text-button{border:0!important;background:transparent!important;color:#bfa56d!important;box-shadow:none!important;font-size:8px!important;letter-spacing:.1em}.forgot-form p{margin:0 0 4px;color:#a89e91;font-size:11px;line-height:1.45}.account-user small{color:#a8a093;font-size:9px}.recovery-form{margin:6px 0;padding:12px;border:1px solid #443b30;border-radius:6px;background:#111319}.recovery-form button{border-color:#9b7539;background:linear-gradient(#563f20,#302316);color:#ead08c}.account-form[hidden],.account-tabs[hidden]{display:none!important}

body.modal-open{overflow:hidden}.recipe-access{margin-top:27px}.combo-book-button{position:relative;display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;min-height:68px;padding:12px 15px;border:1px solid #9a7740;border-radius:8px;background:linear-gradient(135deg,#3c2d1d,#1d2027 52%,#17191f);color:#eadfc9;box-shadow:inset 0 0 0 2px #0c0d11,inset 0 1px #ffffff12,0 9px 21px #0008;text-align:left;cursor:pointer}.combo-book-button:before{content:"";position:absolute;inset:5px;border:1px solid #b998542c;border-radius:4px;pointer-events:none}.combo-book-button span,.combo-book-button small,.combo-book-button strong{display:block}.combo-book-button small{margin-bottom:4px;color:#ae8c50;font-size:7px;font-weight:900;letter-spacing:.18em}.combo-book-button strong{font-family:Georgia,serif;font-size:15px;letter-spacing:.055em}.combo-book-button b{flex:0 0 auto;padding:7px 9px;border:1px solid #756038;border-radius:4px;background:#101217;color:#d5b468;font-size:8px;letter-spacing:.07em}.combo-book-button:active{transform:translateY(1px);filter:brightness(1.12)}
.combos-modal{position:fixed;z-index:70;inset:0;display:grid;place-items:center;padding:12px;background:#07090deb;backdrop-filter:blur(10px) saturate(.7)}.combos-modal[hidden]{display:none}.combos-dialog{position:relative;width:min(100%,760px);max-height:calc(100dvh - 24px);overflow:hidden;border:1px solid #80673d;border-radius:10px;background:linear-gradient(145deg,#272a32,#15171d 68%);box-shadow:inset 0 0 0 3px #0b0c10,inset 0 0 0 4px #4e4434,0 26px 90px #000}.combos-dialog:before{content:"";position:absolute;z-index:1;top:-1px;left:50%;width:70px;height:7px;transform:translateX(-50%);border:1px solid #80673d;background:#17191f}.combos-head{position:relative;padding:22px 64px 13px 20px;border-bottom:1px solid #5b4a30;background:linear-gradient(90deg,#2d251b,#1b1d23)}.combos-head h2{margin:4px 0 5px;color:#f0e7d6;font-family:Georgia,serif;font-size:24px}.combos-head p{margin:0;color:#aaa195;font-size:10px;line-height:1.45}.combos-head .account-close{top:15px;right:15px}.combo-legend{display:grid;grid-template-columns:repeat(3,1fr);gap:4px;padding:8px 14px;border-bottom:1px solid #39342c;background:#111319}.combo-legend span{padding:5px;border:1px solid #3e392f;color:#ae9668;font-size:7px;font-weight:900;letter-spacing:.12em;text-align:center}.combo-book{max-height:calc(100dvh - 168px);overflow-y:auto;padding:12px 14px 18px;scrollbar-color:#765c31 #111319}.recipe-stage{display:flex;align-items:center;justify-content:space-between;margin:8px 2px 7px;padding-bottom:6px;border-bottom:1px solid #4a4132;color:#d2b36e;font-size:8px;font-weight:900;letter-spacing:.12em}.recipe-stage:first-child{margin-top:0}.recipe-stage b{color:#756f65;font-size:7px}.combo-book .recipe.stage-2{border-color:#505579;background:linear-gradient(100deg,#20243a,#15161c)}.combo-book .recipe.stage-3{border-color:#8f6649;background:linear-gradient(100deg,#39251e,#17171b);box-shadow:inset 0 0 20px #d16f2820,0 5px 13px #0008}.combo-book .recipe.ready{border-color:#b89145;box-shadow:inset 0 0 18px #c99b3f20,0 0 14px #d5aa4930}.combo-book .recipe-flow img{width:42px;height:42px}.combo-book .recipe-name strong{font-size:13px}.combo-book .fusion-state{padding:5px 7px}
@media(max-width:560px){.combos-modal{padding:0}.combos-dialog{width:100%;height:100dvh;max-height:100dvh;border-radius:0}.combo-book{max-height:calc(100dvh - 164px);padding-inline:9px}.combos-head{padding-left:15px}.combo-book .recipe{grid-template-columns:1fr}.combo-book .fusion-state{display:none}.combo-book .recipe-flow{gap:4px}.combo-book .recipe-flow img{width:38px;height:38px}.combo-book .recipe-operator{font-size:7px}.combo-book .recipe-name{margin-left:1px}.combo-book .recipe-name strong{font-size:11px}}

.rank-progress{margin:-18px 3px 24px;padding:9px 11px;border:1px solid #4e4435;border-radius:6px;background:#111319}.rank-progress>div{display:flex;justify-content:space-between;gap:7px;margin-bottom:6px;color:#91887b;font-size:7px;font-weight:900;letter-spacing:.08em}.rank-progress span:first-child{color:#e0bd70}.rank-progress>i{display:block;height:5px;overflow:hidden;border-radius:2px;background:#07080b}.rank-progress>i>b{display:block;height:100%;background:linear-gradient(90deg,#8b5a28,#edc66d);box-shadow:0 0 8px #e8ba59;transition:width .3s}
.set-badge{display:inline-block;margin:4px 0;padding:3px 5px;border:1px solid color-mix(in srgb,var(--set-color) 65%,#353535);border-radius:3px;background:color-mix(in srgb,var(--set-color) 15%,#111319);color:var(--set-color);font-size:6px;font-weight:1000;letter-spacing:.11em}.tempo-line{display:block;margin-top:6px;color:#9eb4c0;font-size:8px;letter-spacing:.05em}.tempo-line b{color:#72d7e8}.detail-set{display:flex;align-items:center;gap:7px;margin-top:6px}.detail-set small{color:#a39a8c;font-size:8px}
.enemy-copy #matchmakingInfo{margin-top:5px;color:#d0aa62}.battle-phase .teams{align-items:start}.battle-phase .team{min-width:0;padding:7px}.hero-state{margin-bottom:7px}.hero-core{padding:7px;border:1px solid #494237;border-radius:4px;background:#0f1116;transition:.15s}.hero-values{display:flex;justify-content:space-between;gap:4px;margin-bottom:5px}.hero-values strong{color:#e5d8c2;font-size:8px}.hero-values b{color:#9bb7d0;font-size:7px}.hero-bar{height:7px;margin-top:3px;overflow:hidden;border:1px solid #090a0d;border-radius:2px;background:#090a0d}.hero-bar i{display:block;height:100%;transition:width .18s}.hero-bar.hp i{background:linear-gradient(#df716e,#8a3038)}.hero-bar.armour i{background:linear-gradient(#b6d0e2,#58738c)}.hero-debuffs{display:flex;flex-wrap:wrap;gap:3px;min-height:13px;margin-top:5px}.hero-debuffs span{padding:2px 4px;border-radius:2px;font-size:6px;font-weight:900}.hero-debuffs .burn{background:#672d16;color:#ffb06e}.hero-debuffs .poison{background:#234b1f;color:#a9ef83}.hero-debuffs .frost{background:#1d4260;color:#8ed6ff}
.battle-pack{position:relative;width:100%;aspect-ratio:6/5;border:2px solid #76583a;border-radius:6px;background:repeating-linear-gradient(105deg,#36251d 0 8px,#2d201a 9px 16px);box-shadow:inset 0 0 0 2px #0a0b0e,inset 0 0 20px #000c}.enemy-team .battle-pack{border-color:#69434b;background:repeating-linear-gradient(105deg,#352027 0 8px,#291a20 9px 16px)}.battle-cells{position:absolute;inset:3px;display:grid;grid-template-columns:repeat(6,1fr);grid-template-rows:repeat(5,1fr);gap:1px}.battle-cell{border:1px dashed #594331;border-radius:2px;background:#1d1714}.battle-cell.covered{border-style:solid;border-color:#8a704c;background:#453326}.battle-cell.bag-blade{background:#50282e}.battle-cell.bag-swift{background:#23464c}.battle-cell.bag-guard{background:#344351}.battle-cell.bag-element{background:#41344b}.battle-cell[class*="enemy-set-"]{background:#34262c;border-color:#76515d}
.battle-item{position:absolute;z-index:2!important;display:grid!important;place-items:center;min-width:0!important;padding:1px!important;border:1px solid var(--set-color)!important;border-radius:3px!important;background:radial-gradient(circle,#31343c,#111319 73%)!important;box-shadow:inset 0 0 0 1px #08090c,0 2px 5px #000b!important;overflow:hidden;transition:none}.battle-item img{position:absolute;inset:2px;width:calc(100% - 4px)!important;height:calc(100% - 4px)!important;border:0!important;background:transparent!important;object-fit:contain;filter:drop-shadow(0 2px 2px #000)}.battle-item>span{position:absolute;z-index:2;left:2px;right:2px;bottom:5px;overflow:hidden;padding:1px;background:#090b10cc;color:#e8dfce;font-size:5px;font-weight:900;text-align:center;text-overflow:ellipsis;white-space:nowrap}.battle-item>small{position:absolute;z-index:3;top:1px;right:1px;padding:1px 2px;border-radius:2px;background:#091017dd;color:#7be5f2;font-size:5px}.battle-item .charge{position:absolute;z-index:4;right:1px;bottom:1px;left:1px;height:3px;background:#08090c}.battle-item .charge b{display:block;height:100%;background:var(--set-color);box-shadow:0 0 5px var(--set-color)}.battle-sets{display:flex;flex-wrap:wrap;gap:3px;margin-top:6px}.battle-sets span{padding:3px 4px;border:1px solid #403b33;border-radius:3px;color:#756f66;font-size:5px;font-weight:900}.battle-sets span.active{border-color:var(--set-color);background:color-mix(in srgb,var(--set-color) 12%,#12141a);color:var(--set-color)}
.hero-core.impact-hit{box-shadow:inset 0 0 20px #d33b42,0 0 0 2px #e46b6f}.hero-core.impact-critical{box-shadow:inset 0 0 25px #d6752d,0 0 0 3px #f0c75e}.hero-core.impact-effect{box-shadow:inset 0 0 20px #835ed0,0 0 0 2px #a982ff}.hero-core.impact-heal{box-shadow:inset 0 0 20px #3caa6a,0 0 0 2px #68dc91}.victory-actions{margin-top:14px;padding:18px;border:1px solid #b48b43;border-radius:7px;background:radial-gradient(circle at 50% 0,#5d4722,#17191f 65%);text-align:center}.victory-actions h3{margin:5px 0;color:#f2dfac;font-family:Georgia,serif;font-size:21px}.victory-actions p{color:#b7aa92;font-size:10px;line-height:1.5}.victory-actions .small-button{min-height:48px}
@media(max-width:390px){.battle-phase .teams{gap:5px}.battle-phase .team{padding:5px}.hero-values{display:block}.hero-values b{display:block;margin-top:2px}.battle-item>span{display:none}.battle-sets span{font-size:4.5px}}

/* Alle fünf Händlerangebote bleiben ohne horizontales Scrollen sichtbar. */
.shop{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin:0 0 25px;padding:0;overflow:visible;scroll-snap-type:none}.shop-card{width:auto;max-width:none;min-width:0;flex:none;padding:11px 9px 9px;scroll-snap-align:unset}.shop-top{grid-template-columns:58px minmax(0,1fr);gap:7px}.item-image{width:58px;height:58px}.shop-name{font-size:12px}.shop-desc{font-size:8px}.footprint{gap:5px;margin-top:8px;padding:6px}.footprint b{font-size:7px}.stats{gap:2px}.stat{padding:4px 1px}.stat b{font-size:11px}.stat small{font-size:5px}.tempo-line{font-size:7px}
@media(max-width:539px){.shop-card:last-child:nth-child(odd){grid-column:1/-1}.shop-card:last-child:nth-child(odd) .shop-top{grid-template-columns:70px 1fr}.shop-card:last-child:nth-child(odd) .item-image{width:70px;height:70px}}
@media(min-width:540px){.shop{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(min-width:760px){.shop{grid-template-columns:repeat(5,minmax(0,1fr));gap:10px}.shop-card{padding-inline:10px}}

/* Kompakte One-Screen-Werkbank: Händler und Rucksack bleiben gleichzeitig sichtbar. */
body[data-phase="shop"]{height:100dvh;min-height:0;overflow:hidden;padding:max(5px,env(safe-area-inset-top)) 6px max(5px,env(safe-area-inset-bottom));touch-action:none}
body[data-phase="shop"] .app-shell{display:grid;grid-template-rows:auto auto auto minmax(0,1fr);width:min(100%,1080px);height:100%;overflow:hidden}
body[data-phase="shop"] .topbar{min-height:0;padding:2px 2px 5px}
body[data-phase="shop"] .brand{gap:6px}
body[data-phase="shop"] .brand img{width:34px;height:34px;border-radius:7px}
body[data-phase="shop"] .brand h1{font-size:15px;line-height:1}
body[data-phase="shop"] .brand p{margin-top:1px;font-size:8px}
body[data-phase="shop"] .brand-kicker{font-size:6px}
body[data-phase="shop"] .header-actions{gap:4px}
body[data-phase="shop"] .icon-button{min-width:48px;min-height:32px;padding:0 6px;border-radius:5px;font-size:7px}
body[data-phase="shop"] .account-trigger{min-width:62px}
body[data-phase="shop"] .status-strip{gap:4px;margin:0 0 4px}
body[data-phase="shop"] .status-strip>div{padding:4px 2px;border-radius:5px}
body[data-phase="shop"] .status-strip strong{margin-top:1px;font-size:11px}
body[data-phase="shop"] .status-label{font-size:6px}
body[data-phase="shop"] .rank-progress{margin:0 1px 5px;padding:4px 6px;border-radius:4px}
body[data-phase="shop"] .rank-progress>div{margin-bottom:3px;font-size:5.5px}
body[data-phase="shop"] .rank-progress>i{height:3px}
body[data-phase="shop"] #shopPhase{display:grid;grid-template-rows:minmax(0,1fr) auto;gap:6px;min-height:0;overflow:hidden}
.workbench-layout{display:grid;grid-template-columns:minmax(104px,30%) minmax(0,1fr);gap:6px;min-height:0}
.shop-panel,.pack-panel{min-width:0;min-height:0;overflow:hidden;padding:5px;border:1px solid #4b4133;border-radius:7px;background:linear-gradient(145deg,#1e2026,#121318);box-shadow:inset 0 0 0 2px #0a0b0e}
.shop-panel{display:flex;flex-direction:column}
.workbench-layout .section-heading,.workbench-layout .pack-toolbar{align-items:center;margin:0 0 3px}
.workbench-layout .section-heading h2,.workbench-layout .pack-toolbar h2{margin-top:0;font-size:13px}
.workbench-layout .eyebrow{font-size:5.5px}
.workbench-layout .small-button{min-height:27px;padding:0 6px;border-radius:4px;font-size:7px}
.workbench-layout .reroll{min-width:37px;padding-inline:4px}
.workbench-layout .reroll b{font-size:5px}
.workbench-layout .instruction,.workbench-layout .hint{min-height:15px;margin:0 1px 4px;font-size:6px;line-height:1.25}
.workbench-layout .shop{position:relative;display:grid;flex:1;grid-template-columns:1fr!important;grid-template-rows:repeat(5,minmax(0,1fr));gap:3px;min-height:0;margin:0;padding:0;overflow:visible}
.workbench-layout .shop-card,.workbench-layout .shop-card:last-child:nth-child(odd){display:block;grid-column:auto;width:auto;min-height:0;padding:3px;overflow:hidden;border-radius:5px}
.workbench-layout .shop-card:before{inset:2px;border-radius:3px}
.workbench-layout .shop-card:after{display:none}
.workbench-layout .shop-top,.workbench-layout .shop-card:last-child:nth-child(odd) .shop-top{display:grid;grid-template-columns:32px minmax(0,1fr);gap:4px;height:100%;align-items:center}
.workbench-layout .item-image,.workbench-layout .shop-card:last-child:nth-child(odd) .item-image{width:32px;height:32px;border-radius:4px}
.workbench-layout .shop-name{display:block;padding-right:25px;font-size:8px;line-height:1.05;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.workbench-layout .price{margin-top:3px;padding:2px 3px;border-radius:2px;font-size:6px}
.workbench-layout .shop-lock{top:3px;right:3px;min-height:18px;padding:0 3px;border-radius:3px;font-size:4.5px}
.workbench-layout .shop-kind,.workbench-layout .shop-desc,.workbench-layout .shop-card>.footprint,.workbench-layout .shop-card>.stats,.workbench-layout .shop-card>.tempo-line,.workbench-layout .shop-card .set-badge{display:none}
.workbench-layout .shop.sell-target{border-radius:5px;outline:2px solid #75e69a;outline-offset:2px;box-shadow:inset 0 0 20px #3abf6b55,0 0 14px #66e89388}
.workbench-layout .shop.sell-target:after{content:"ZUM VERKAUFEN ABLEGEN";position:absolute;z-index:8;inset:0;display:grid;place-items:center;padding:8px;background:#102819e8;color:#a8f5bd;font-family:Georgia,serif;font-size:9px;font-weight:900;letter-spacing:.08em;text-align:center;pointer-events:none}
.workbench-layout .shop.sell-invalid{outline:2px solid #be5963;outline-offset:2px;filter:saturate(.6)}
.pack-panel{--cell:calc((100vw - 154px)/6);display:flex;flex-direction:column}
.pack-panel .tool-actions{gap:3px}
.pack-panel .lock-action{max-width:65px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.pack-panel .pack-wrap{display:block;min-height:0;padding:5px;border-width:2px;border-radius:8px}
.pack-panel .pack-grid{grid-template-rows:repeat(5,var(--cell));gap:2px;padding:2px;border-radius:5px}
.pack-panel .grid-cell{border-radius:3px}
.pack-panel .bag-tile,.pack-panel .pack-item{border-radius:4px}
.pack-panel .pack-item .level{right:1px;bottom:1px;padding:1px 2px;border-radius:2px;font-size:5px}
.pack-panel .selected-details{height:58px;min-height:58px;margin-top:4px;padding:5px;overflow:hidden;border-radius:5px}
.pack-panel .selected-title strong{font-size:8px}
.pack-panel .selected-title span{font-size:5.5px}
.pack-panel .detail-copy{max-height:22px;margin-top:3px;overflow:hidden;font-size:6px;line-height:1.25}
.pack-panel .detail-object{grid-template-columns:35px 1fr;gap:5px}
.pack-panel .detail-object img{width:35px;height:35px}
.pack-panel .detail-object strong{font-size:8px}
.pack-panel .detail-object span{font-size:6px}
.pack-panel .detail-object small{font-size:5px}
.pack-panel .detail-set{gap:3px;margin-top:2px}
.pack-panel .detail-set small{display:none}
.pack-panel .set-badge{margin:0;padding:1px 3px;font-size:4.5px}
.pack-panel .stats{gap:1px;margin-top:2px}
.pack-panel .stat{padding:2px 1px;border-radius:2px}
.pack-panel .stat b{font-size:7px}
.pack-panel .stat small{font-size:4px}
.pack-panel .tempo-line{margin-top:2px;font-size:5px}
.lower-dashboard{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,.85fr);gap:5px;min-height:0}
.lower-dashboard .utility-section,.lower-dashboard .recipes-section{min-width:0;margin:0}
.lower-dashboard .subheading{align-items:center;margin:0 1px 3px}
.lower-dashboard .subheading h2{margin:0;font-size:10px}
.lower-dashboard .subheading .eyebrow{display:none}
.lower-dashboard .subheading>span{font-size:5px}
.lower-dashboard .drop-zone{min-height:52px}
.lower-dashboard .reserve-zone{display:grid;grid-template-columns:28px minmax(0,1fr);gap:4px;height:58px;min-height:0;padding:4px;border-width:1px;border-radius:5px}
.lower-dashboard .zone-head{display:block;margin:0}
.lower-dashboard .zone-head img{width:27px;height:27px;border-radius:3px}
.lower-dashboard .zone-head div{display:none}
.lower-dashboard .reserve-list{gap:3px;min-height:0;overflow-x:auto;overflow-y:hidden;scrollbar-width:none}
.lower-dashboard .reserve-list::-webkit-scrollbar{display:none}
.lower-dashboard .reserve-empty{padding:10px 3px;font-size:6px}
.lower-dashboard .reserve-card{flex-basis:42px;padding:2px;border-radius:4px}
.lower-dashboard .reserve-card img{width:30px;height:28px;border-radius:3px}
.lower-dashboard .reserve-card span{font-size:5px}
.lower-dashboard .reserve-card small{display:none}
.lower-dashboard .combo-book-button{height:74px;min-height:0;padding:7px;border-radius:5px}
.lower-dashboard .combo-book-button:before{inset:3px}
.lower-dashboard .combo-book-button small{font-size:4.5px}
.lower-dashboard .combo-book-button strong{font-size:9px}
.lower-dashboard .combo-book-button b{padding:4px;font-size:5px}
.lower-dashboard .enemy-card{grid-column:1/-1;display:grid;grid-template-columns:34px minmax(0,1fr) auto;gap:5px;min-height:58px;margin:0;padding:5px;border-radius:6px}
.lower-dashboard .rival-mark{width:32px;height:32px;border-radius:4px}
.lower-dashboard .rival-mark span{font-size:5px}
.lower-dashboard .enemy-copy strong{font-size:9px}
.lower-dashboard .enemy-copy small{margin-top:1px;font-size:5.5px}
.lower-dashboard .enemy-preview{display:none}
.lower-dashboard .enemy-card .primary-button{grid-column:auto;width:auto;min-height:42px;padding:0 10px;border-radius:5px;font-size:8px}
.sell-modal{position:fixed;z-index:90;inset:0;display:grid;place-items:center;padding:16px;background:#07090de8;backdrop-filter:blur(9px) saturate(.7)}
.sell-modal[hidden]{display:none}
.sell-dialog{width:min(100%,380px);padding:22px;border:1px solid #9a7740;border-radius:8px;background:linear-gradient(145deg,#2b2b2b,#17191f 70%);box-shadow:inset 0 0 0 3px #0b0c10,inset 0 0 0 4px #4e4434,0 25px 80px #000}
.sell-dialog h2{margin:5px 0;color:#f0e5ce;font-family:Georgia,serif;font-size:21px}
.sell-dialog p{margin:0 0 17px;color:#b5aa98;font-size:11px;line-height:1.5}
.sell-actions{display:grid;grid-template-columns:1fr 1.35fr;gap:7px}
.sell-actions .small-button,.sell-actions .primary-button{min-height:46px;border-radius:5px;font-size:9px}

@media(min-width:560px){
  .workbench-layout{grid-template-columns:250px minmax(0,1fr);gap:9px}
  .pack-panel{--cell:min(10.2vh,72px)}
  .workbench-layout .shop-top,.workbench-layout .shop-card:last-child:nth-child(odd) .shop-top{grid-template-columns:42px minmax(0,1fr)}
  .workbench-layout .item-image,.workbench-layout .shop-card:last-child:nth-child(odd) .item-image{width:42px;height:42px}
  .workbench-layout .shop-name{font-size:10px}
  .lower-dashboard{grid-template-columns:1fr .75fr 1.4fr;align-items:end}
  .lower-dashboard .enemy-card{grid-column:auto;min-height:74px}
}
@media(max-height:700px){
  body[data-phase="shop"] .brand p,body[data-phase="shop"] .brand-kicker,.workbench-layout .instruction,.workbench-layout .hint{display:none}
  body[data-phase="shop"] .brand img{width:29px;height:29px}
  body[data-phase="shop"] .status-strip>div{padding-block:2px}
  .pack-panel{--cell:calc((100vw - 160px)/6)}
  .pack-panel .selected-details{height:48px;min-height:48px}
  .lower-dashboard .reserve-zone{height:50px}
  .lower-dashboard .combo-book-button{height:64px}
  .lower-dashboard .enemy-card{min-height:50px}
}

.item-info-modal{position:fixed;z-index:85;inset:0;display:grid;place-items:center;padding:14px;background:#07090de8;backdrop-filter:blur(10px) saturate(.7)}
.item-info-modal[hidden]{display:none}
.item-info-dialog{position:relative;width:min(100%,430px);padding:19px;border:1px solid #8f7040;border-radius:8px;background:linear-gradient(145deg,#292b32,#15171d 70%);box-shadow:inset 0 0 0 3px #0b0c10,inset 0 0 0 4px #4e4434,0 24px 80px #000}
.item-info-hero{display:grid;grid-template-columns:92px minmax(0,1fr);gap:13px;align-items:center;padding-right:32px}
.item-info-hero img{width:92px;height:92px;object-fit:contain;border:1px solid #68583f;border-radius:6px;background:radial-gradient(circle,#3a362f,#101217 72%);filter:drop-shadow(0 7px 7px #000a)}
.item-info-hero h2{margin:4px 0;color:#f1e7d4;font-family:Georgia,serif;font-size:23px}
.item-info-hero strong{color:#dfbd70;font-size:9px;letter-spacing:.08em}
.item-info-dialog>p{margin:14px 0 10px;color:#bcb2a4;font-size:11px;line-height:1.5}
.item-info-meta{display:flex;align-items:center;gap:7px;padding:7px;border-top:1px solid #40392f;border-bottom:1px solid #40392f}
.item-info-meta .set-badge{margin:0}
.item-info-meta .footprint{flex:1;margin:0;padding:5px}
.item-info-stats .stats{margin-top:10px}
.item-info-stats .stat{border:1px solid #403a32;background:#101217}
.item-info-stats .tempo-line{margin-top:9px}
.item-info-stats>p{margin:10px 0 0;color:#aaa093;font-size:9px;line-height:1.45}

@media(max-width:559px){
  .workbench-layout{grid-template-columns:82px minmax(0,1fr)}
  .shop-panel{padding-inline:4px}
  .workbench-layout .shop-panel .section-heading{display:grid;grid-template-columns:1fr;gap:2px;text-align:center}
  .workbench-layout .shop-panel .section-heading>div .eyebrow{display:none}
  .workbench-layout .shop-panel .section-heading h2{font-size:10px}
  .workbench-layout .shop-panel .reroll{width:100%;min-height:23px}
  .workbench-layout .shop-panel .instruction{display:none}
  .workbench-layout .shop-card,.workbench-layout .shop-card:last-child:nth-child(odd){padding:3px}
  .workbench-layout .shop-top,.workbench-layout .shop-card:last-child:nth-child(odd) .shop-top{display:grid;grid-template-columns:1fr;place-items:center}
  .workbench-layout .shop-top>div{display:none}
  .workbench-layout .item-image,.workbench-layout .shop-card:last-child:nth-child(odd) .item-image{width:min(48px,100%);height:min(48px,100%);border:0;background:transparent}
  .workbench-layout .shop-lock{top:2px;right:2px;min-width:26px;min-height:15px;padding:0 2px;font-size:4px;opacity:.88}
  .pack-panel{--cell:calc((100vw - 123px)/6)}
  .item-info-modal{align-items:end;padding:0}
  .item-info-dialog{width:100%;padding:18px 16px max(18px,env(safe-area-inset-bottom));border-right:0;border-bottom:0;border-left:0;border-radius:12px 12px 0 0}
  .item-info-hero{grid-template-columns:78px minmax(0,1fr)}
  .item-info-hero img{width:78px;height:78px}
  .item-info-hero h2{font-size:20px}
  .item-info-dialog>p{margin-block:11px 8px}
  .item-info-stats .stat{padding:6px 2px}
  .item-info-stats .stat b{font-size:13px}
  .item-info-stats .stat small{font-size:6px}
}

@media(min-width:900px){
  body[data-phase="shop"] .app-shell{width:min(100%,1280px)}
  body[data-phase="shop"] .topbar{padding:4px 8px 7px}
  body[data-phase="shop"] .brand img{width:40px;height:40px}
  body[data-phase="shop"] .brand h1{font-size:18px}
  body[data-phase="shop"] .brand p{font-size:9px}
  body[data-phase="shop"] .icon-button{min-height:36px;padding-inline:10px}
  body[data-phase="shop"] .status-strip>div{padding:5px 3px}
  body[data-phase="shop"] .status-strip strong{font-size:13px}
  .workbench-layout{grid-template-columns:minmax(0,.9fr) minmax(0,1.15fr);gap:10px}
  .shop-panel,.pack-panel{padding:10px;border-radius:9px}
  .workbench-layout .section-heading,.workbench-layout .pack-toolbar{margin-bottom:6px}
  .workbench-layout .section-heading h2,.workbench-layout .pack-toolbar h2{font-size:18px}
  .workbench-layout .eyebrow{font-size:7px}
  .workbench-layout .small-button{min-height:34px;padding-inline:10px;font-size:8px}
  .workbench-layout .instruction,.workbench-layout .hint{min-height:0;margin-bottom:7px;font-size:8px}
  .workbench-layout .shop{grid-template-columns:repeat(2,minmax(0,1fr))!important;grid-template-rows:repeat(3,minmax(0,1fr));gap:7px}
  .workbench-layout .shop-card,.workbench-layout .shop-card:last-child:nth-child(odd){display:block;grid-column:auto;padding:8px}
  .workbench-layout .shop-card:last-child:nth-child(odd){grid-column:1/-1}
  .workbench-layout .shop-top,.workbench-layout .shop-card:last-child:nth-child(odd) .shop-top{grid-template-columns:54px minmax(0,1fr);gap:7px;height:auto}
  .workbench-layout .item-image,.workbench-layout .shop-card:last-child:nth-child(odd) .item-image{width:54px;height:54px}
  .workbench-layout .shop-name{padding-right:42px;font-size:11px}
  .workbench-layout .price{font-size:7px}
  .workbench-layout .shop-lock{top:7px;right:7px;min-height:23px;padding-inline:5px;font-size:6px}
  .workbench-layout .shop-kind{display:block;margin:0 0 4px;font-size:5px}
  .workbench-layout .shop-desc{display:block;margin:2px 0 3px;font-size:7px}
  .workbench-layout .shop-card>.footprint{display:flex;gap:4px;margin-top:5px;padding:4px}
  .workbench-layout .shop-card>.footprint b{font-size:6px}
  .workbench-layout .shop-card>.stats{display:grid;gap:2px;margin-top:5px}
  .workbench-layout .shop-card>.stats .stat{padding:3px 1px}
  .workbench-layout .shop-card>.stats .stat b{font-size:9px}
  .workbench-layout .shop-card>.stats .stat small{font-size:4.5px}
  .workbench-layout .shop-card>.tempo-line{display:block;margin-top:4px;font-size:6px}
  .workbench-layout .shop-card .set-badge{display:inline-block;margin-block:2px;padding:2px 4px;font-size:5px}
  .pack-panel{--cell:min(7.2vh,64px)}
  .pack-panel .pack-wrap{display:grid;grid-template-columns:minmax(330px,394px) minmax(0,1fr);gap:9px;align-items:start;padding:9px}
  .pack-panel .selected-details{height:auto;min-height:calc(var(--cell)*5 + 12px);margin:0;padding:12px}
  .pack-panel .selected-title strong{font-size:12px}
  .pack-panel .selected-title span{font-size:7px}
  .pack-panel .detail-copy{max-height:none;font-size:8px;line-height:1.45}
  .pack-panel .detail-object{grid-template-columns:60px 1fr;gap:9px}
  .pack-panel .detail-object img{width:60px;height:60px}
  .pack-panel .detail-object strong{font-size:12px}
  .pack-panel .detail-object span{font-size:8px}
  .pack-panel .detail-object small{font-size:7px}
  .pack-panel .detail-set{margin-top:8px}
  .pack-panel .detail-set small{display:block;font-size:7px}
  .pack-panel .set-badge{padding:3px 5px;font-size:6px}
  .pack-panel .stats{gap:3px;margin-top:8px}
  .pack-panel .stat{padding:5px 2px}
  .pack-panel .stat b{font-size:11px}
  .pack-panel .stat small{font-size:5px}
  .pack-panel .tempo-line{margin-top:7px;font-size:7px}
  .lower-dashboard{grid-template-columns:1.2fr .8fr 1.35fr;gap:8px}
  .lower-dashboard .reserve-zone,.lower-dashboard .combo-book-button,.lower-dashboard .enemy-card{height:82px;min-height:82px}
  .lower-dashboard .zone-head img{width:34px;height:34px}
  .lower-dashboard .reserve-card{flex-basis:52px}
  .lower-dashboard .reserve-card img{width:38px;height:35px}
  .lower-dashboard .combo-book-button strong{font-size:11px}
  .lower-dashboard .enemy-card .primary-button{min-height:50px;padding-inline:14px;font-size:9px}
}

@media(min-width:900px) and (max-height:820px){
  .workbench-layout .shop-card,.workbench-layout .shop-card:last-child:nth-child(odd){padding:5px}
  .workbench-layout .shop-top,.workbench-layout .shop-card:last-child:nth-child(odd) .shop-top{grid-template-columns:44px minmax(0,1fr);gap:5px}
  .workbench-layout .item-image,.workbench-layout .shop-card:last-child:nth-child(odd) .item-image{width:44px;height:44px}
  .workbench-layout .shop-desc{margin-block:1px;font-size:6px}
  .workbench-layout .shop-card>.footprint{margin-top:3px;padding:2px}
  .workbench-layout .shop-card>.stats{margin-top:3px}
  .workbench-layout .shop-card>.stats .stat{padding:2px 1px}
  .workbench-layout .shop-card>.tempo-line{display:none}
}

/* Kampfgegenstände liegen klar über dem Raster und behalten ihre volle Icon-Fläche. */
.battle-cells{z-index:0;pointer-events:none}
.battle-cell{position:relative;z-index:0}
.battle-item{z-index:6!important;isolation:isolate;border-width:2px!important;background:radial-gradient(circle at 50% 42%,color-mix(in srgb,var(--set-color) 28%,#343740),#0b0d12 76%)!important;box-shadow:inset 0 0 0 1px #050609,0 0 0 1px color-mix(in srgb,var(--set-color) 75%,#ddd),0 3px 8px #000!important;cursor:pointer}
.battle-item:before{content:"";position:absolute;z-index:0;inset:1px;border:1px solid color-mix(in srgb,var(--set-color) 48%,transparent);border-radius:2px;box-shadow:inset 0 0 12px color-mix(in srgb,var(--set-color) 18%,transparent);pointer-events:none}
.battle-item img{z-index:1;inset:0!important;width:100%!important;height:100%!important;max-height:none!important;filter:brightness(1.28) contrast(1.1) saturate(1.18) drop-shadow(0 2px 3px #000)!important}
.battle-item>span{z-index:3;background:#07090de6}
.battle-item>small{z-index:4;border:1px solid color-mix(in srgb,var(--set-color) 55%,#222);background:#070a0eee;color:#b8f4ff}
.battle-item .charge{z-index:5;height:4px}
@media(max-width:559px){
  .battle-phase .teams{gap:3px}
  .battle-phase .team{padding:3px}
  .battle-item{border-width:1px!important;box-shadow:inset 0 0 0 1px #050609,0 0 0 1px var(--set-color),0 2px 6px #000!important}
  .battle-item img{transform:scale(1.08)}
  .battle-item>small{top:0;right:0;padding:1px;font-size:4px}
  .battle-item .charge{height:3px}
}

/* Lebenspunkte bleiben als echte, animierte DOM-Leisten bestehen. */
.hero-core{position:relative;overflow:visible}
.hero-bar{position:relative;height:10px;overflow:hidden}
.hero-bar i{width:0;transition:width .58s cubic-bezier(.2,.8,.25,1)!important}
.hero-bar i:after{content:"";display:block;height:38%;background:#ffffff35}
.hero-bar.hp{box-shadow:0 0 0 1px #51262a,0 0 9px #bd3c4840}
.hero-bar.armour{box-shadow:0 0 0 1px #30485a,0 0 8px #73afd340}
.combat-float{position:absolute;z-index:20;top:38%;left:50%;transform:translateX(calc(-50% + var(--float-x)));font-family:Georgia,serif;font-size:19px;line-height:1;text-shadow:0 2px 2px #000,0 0 7px currentColor;pointer-events:none;animation:combat-number .82s ease-out forwards}
.combat-float.negative{color:#ff7b72}.combat-float.positive{color:#76e89e}
@keyframes combat-number{0%{opacity:0;transform:translateX(calc(-50% + var(--float-x))) translateY(6px) scale(.7)}18%{opacity:1;transform:translateX(calc(-50% + var(--float-x))) translateY(0) scale(1.2)}100%{opacity:0;transform:translateX(calc(-50% + var(--float-x))) translateY(-36px) scale(.92)}}

.battle-result-modal{position:fixed;z-index:120;inset:0;display:grid;place-items:center;padding:14px;background:#05070bec;backdrop-filter:blur(13px) saturate(.7)}
.battle-result-modal[hidden]{display:none}
.battle-result-dialog{--result-color:#d75d68;position:relative;width:min(100%,520px);overflow:hidden;padding:30px 24px 24px;border:1px solid var(--result-color);border-radius:11px;background:radial-gradient(circle at 50% 7%,color-mix(in srgb,var(--result-color) 27%,#20232a),#111319 62%);box-shadow:inset 0 0 0 3px #08090c,inset 0 0 0 4px color-mix(in srgb,var(--result-color) 45%,#373737),0 28px 100px #000,0 0 45px color-mix(in srgb,var(--result-color) 30%,transparent);text-align:center;animation:result-arrive .72s cubic-bezier(.16,.9,.24,1)}
.battle-result-dialog.win{--result-color:#e4bd60}.battle-result-dialog.loss{--result-color:#d75d68;animation-name:result-defeat}
.result-rays{position:absolute;inset:-45%;animation:result-rays 16s linear infinite;pointer-events:none}
.result-rays i{position:absolute;top:0;bottom:0;left:50%;width:1px;background:linear-gradient(transparent,color-mix(in srgb,var(--result-color) 36%,transparent),transparent);transform-origin:center}
.result-rays i:nth-child(2){transform:rotate(22.5deg)}.result-rays i:nth-child(3){transform:rotate(45deg)}.result-rays i:nth-child(4){transform:rotate(67.5deg)}.result-rays i:nth-child(5){transform:rotate(90deg)}.result-rays i:nth-child(6){transform:rotate(112.5deg)}.result-rays i:nth-child(7){transform:rotate(135deg)}.result-rays i:nth-child(8){transform:rotate(157.5deg)}
.result-emblem{position:relative;z-index:1;display:grid;place-items:center;width:118px;height:118px;margin:0 auto 10px;border:1px solid var(--result-color);border-radius:50%;background:radial-gradient(circle,#3d3424,#0c0e13 72%);box-shadow:inset 0 0 0 5px #0a0b0e,0 0 30px color-mix(in srgb,var(--result-color) 48%,transparent);animation:result-emblem 1.05s cubic-bezier(.2,.9,.2,1)}
.loss .result-emblem{background:radial-gradient(circle,#402329,#0c0e13 72%);animation-name:result-heart-loss}
.result-emblem img{width:84px;height:84px;object-fit:contain;filter:drop-shadow(0 6px 8px #000) brightness(1.15)}
.battle-result-dialog>.eyebrow,.battle-result-dialog>h2,.battle-result-dialog>p,.battle-result-progress,.battle-result-hearts,.battle-result-dialog>.primary-button{position:relative;z-index:2}
.battle-result-dialog>.eyebrow{color:var(--result-color)}
.battle-result-dialog h2{margin:5px 0 7px;color:#f5ead4;font-family:Georgia,serif;font-size:42px;letter-spacing:.08em;text-shadow:0 3px 0 #000,0 0 18px var(--result-color)}
.battle-result-dialog>p{margin:0 auto 18px;max-width:360px;color:#c8bdac;font-size:12px;line-height:1.55}
.battle-result-progress{display:grid;grid-template-columns:repeat(10,1fr);gap:4px;margin:0 auto 20px}
.battle-result-progress i{display:grid;place-items:center;aspect-ratio:1;border:1px solid #484238;border-radius:50%;background:#0a0c10;color:#69645b;font-style:normal}
.battle-result-progress i b{font-size:7px}.battle-result-progress i.active{border-color:#a98743;background:radial-gradient(circle,#e2bd62,#604719);color:#261708;box-shadow:0 0 8px #e2bd6255}.battle-result-progress i.newest{animation:result-level 1.05s ease-in-out infinite}
.battle-result-hearts{display:flex;justify-content:center;gap:17px;margin:0 0 20px}
.battle-result-hearts span{display:block;width:66px;height:66px;padding:5px;border:1px solid #44383a;border-radius:50%;background:#101116}
.battle-result-hearts img{width:100%;height:100%;object-fit:contain}.battle-result-hearts .active{border-color:#b95362;box-shadow:0 0 15px #d14d6070}.battle-result-hearts .empty{filter:grayscale(1) brightness(.28)}.battle-result-hearts .lost{animation:lost-heart 1.15s ease-out forwards}
.battle-result-dialog>.primary-button{width:100%;min-height:56px;border-radius:6px;font-size:11px}
@keyframes result-arrive{0%{opacity:0;transform:scale(.55) translateY(40px);filter:brightness(2)}65%{transform:scale(1.035) translateY(-5px)}100%{opacity:1;transform:none}}
@keyframes result-defeat{0%{opacity:0;transform:scale(1.12);filter:saturate(2)}35%{transform:translateX(-7px)}50%{transform:translateX(7px)}65%{transform:translateX(-4px)}100%{opacity:1;transform:none}}
@keyframes result-emblem{0%{opacity:0;transform:scale(.2) rotate(-35deg)}65%{transform:scale(1.15) rotate(5deg)}100%{opacity:1;transform:none}}
@keyframes result-heart-loss{0%{opacity:0;transform:scale(1.5)}40%{opacity:1;transform:scale(1)}65%{transform:translateX(-6px) rotate(-7deg)}80%{transform:translateX(6px) rotate(7deg)}100%{transform:none}}
@keyframes result-rays{to{transform:rotate(360deg)}}
@keyframes result-level{50%{transform:scale(1.28);box-shadow:0 0 18px #f0ca69}}
@keyframes lost-heart{0%{opacity:1;transform:scale(1);filter:none}35%{transform:scale(1.24) rotate(-7deg);filter:brightness(1.7)}100%{opacity:.18;transform:scale(.55) translateY(22px) rotate(18deg);filter:grayscale(1)}}

@media(max-width:559px){
  .battle-result-modal{padding:8px}
  .battle-result-dialog{padding:23px 15px 17px}
  .result-emblem{width:92px;height:92px}
  .result-emblem img{width:66px;height:66px}
  .battle-result-dialog h2{font-size:32px}
  .battle-result-dialog>p{margin-bottom:14px;font-size:10px}
  .battle-result-progress{gap:2px;margin-bottom:15px}
  .battle-result-progress i b{font-size:5px}
  .battle-result-hearts{gap:11px;margin-bottom:15px}
  .battle-result-hearts span{width:55px;height:55px}
}

@media(min-width:900px){
  body[data-phase="battle"] .app-shell{width:min(100%,1280px)}
  body[data-phase="battle"] .battle-head h2{font-size:30px}
  body[data-phase="battle"] #battleScore{min-width:105px;padding:11px 16px;font-size:23px}
  body[data-phase="battle"] .teams{gap:16px}
  body[data-phase="battle"] .team{padding:13px}
  body[data-phase="battle"] .team h3{font-size:14px}
  body[data-phase="battle"] .hero-core{padding:11px}
  body[data-phase="battle"] .hero-values strong{font-size:14px}
  body[data-phase="battle"] .hero-values b{font-size:12px}
  body[data-phase="battle"] .hero-bar{height:14px;margin-top:5px}
  body[data-phase="battle"] .hero-debuffs span{font-size:8px}
  body[data-phase="battle"] .battle-item>span{bottom:7px;padding:2px;font-size:8px}
  body[data-phase="battle"] .battle-item>small{font-size:7px}
  body[data-phase="battle"] .battle-item .charge{height:6px}
  body[data-phase="battle"] .battle-sets span{padding:5px 7px;font-size:8px}
  body[data-phase="battle"] .combat-legend{gap:15px;font-size:10px}
  body[data-phase="battle"] .combat-legend i{width:10px;height:10px}
  body[data-phase="battle"] .battle-log{height:180px;padding:14px 17px;font-size:14px;line-height:1.55}
  body[data-phase="battle"] .speed-button{min-height:54px;font-size:15px}
}

@media(min-width:1200px){
  body[data-phase="shop"] .brand h1{font-size:22px}
  body[data-phase="shop"] .brand p{font-size:11px}
  body[data-phase="shop"] .status-label{font-size:8px}
  body[data-phase="shop"] .status-strip strong{font-size:16px}
  .workbench-layout .section-heading h2,.workbench-layout .pack-toolbar h2{font-size:22px}
  .workbench-layout .instruction,.workbench-layout .hint{font-size:10px}
  .workbench-layout .shop-kind{font-size:7px}
  .workbench-layout .shop-name{font-size:14px}
  .workbench-layout .shop-desc{font-size:9px}
  .workbench-layout .price{font-size:9px}
  .workbench-layout .shop-lock{font-size:7px}
  .workbench-layout .shop-card>.stats .stat b{font-size:12px}
  .workbench-layout .shop-card>.stats .stat small{font-size:6px}
  .workbench-layout .shop-card>.tempo-line{font-size:8px}
  .pack-panel .selected-title strong{font-size:15px}
  .pack-panel .selected-title span,.pack-panel .detail-copy{font-size:9px}
  .lower-dashboard .combo-book-button strong{font-size:14px}
  .lower-dashboard .enemy-copy strong{font-size:12px}
  .lower-dashboard .enemy-copy small{font-size:7px}
}

/* Precise workbench controls */
.clear-action{border-color:#8c6340;color:#ead5b5;white-space:nowrap}
.clear-action.second{border-color:#bd6e58;background:linear-gradient(#4a2929,#26191b);color:#ffd1c2;box-shadow:0 0 12px #c35d4133}
.drag-ghost{left:var(--drag-x,50%);top:var(--drag-y,50%);right:auto;transform:translate(-50%,-112%);transition:border-color .1s,background-color .1s,box-shadow .1s,filter .1s}
.drag-ghost.valid{border-color:#72e297;background:#102a1ded;box-shadow:0 0 0 3px #3bbb6966,0 13px 30px #000c;filter:none}
.drag-ghost.invalid{border-color:#ff6d68;background:#351719ed;box-shadow:0 0 0 3px #e3444466,0 13px 30px #000c;filter:saturate(.65)}
.drag-ghost.valid strong{background:#72e297;color:#102116}
.drag-ghost.invalid strong{background:#ff6d68;color:#2a1010}

@media(max-width:559px){
  .tool-actions{flex-wrap:wrap;justify-content:flex-end}
  .clear-action{min-height:36px;padding-inline:8px;font-size:8px}
  .drag-ghost{transform:translate(-50%,-118%)}
}

/* Main menu and game modes */
.status-label{display:inline-flex;align-items:center;justify-content:center;gap:4px}
.status-label img{width:18px;height:18px;object-fit:contain;filter:drop-shadow(0 1px 2px #000)}
body[data-phase="menu"]{height:100dvh;min-height:0;overflow:hidden;padding:max(8px,env(safe-area-inset-top)) 10px max(8px,env(safe-area-inset-bottom))}
body[data-phase="menu"] .app-shell{display:grid;grid-template-rows:auto minmax(0,1fr);width:min(100%,1040px);height:100%}
body[data-phase="menu"] .status-strip,body[data-phase="menu"] .rank-progress{display:none}
body[data-phase="menu"] .menu-trigger{display:none}
.main-menu{display:grid;align-content:center;gap:14px;min-height:0;padding:10px 0 18px}
.menu-hero{text-align:center}
.menu-hero>img{width:112px;height:112px;border:1px solid #92723c;border-radius:24px;box-shadow:0 0 0 4px #090a0e,0 18px 45px #000b,0 0 35px #c8973f30}
.menu-hero h2{margin:6px 0 3px;color:#f1e4c8;font-family:Georgia,serif;font-size:38px;text-shadow:0 3px 0 #000}
.menu-hero p{margin:0;color:#a69d90;font-size:12px}
.mode-select{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.mode-card{position:relative;min-height:230px;padding:24px;border:1px solid #655439;border-radius:9px;background:linear-gradient(145deg,#252832,#12141a);box-shadow:inset 0 0 0 3px #090a0d,0 12px 35px #0008}
.mode-card h3{margin:5px 0 8px;color:#eee3cd;font-family:Georgia,serif;font-size:28px}.mode-card p{min-height:50px;margin:0 0 18px;color:#aaa195;font-size:11px;line-height:1.55}.mode-card button{width:100%;margin-top:7px}.free-mode{border-color:#53676a;background:radial-gradient(circle at 20% 0,#283f43,#17191f 60%)}
.ranked-mode{border-color:#9d7737;background:radial-gradient(circle at 80% 0,#47391d,#17191f 62%)}.ranked-mode>img{position:absolute;top:13px;right:15px;width:68px;height:68px;object-fit:contain;opacity:.9;filter:drop-shadow(0 6px 8px #000)}.ranked-mode.locked{filter:saturate(.45)}.ranked-mode.locked>img{opacity:.35}.ranked-mode .primary-button:disabled{filter:grayscale(1);opacity:.38;cursor:not-allowed}
.menu-continue{width:min(100%,520px);margin:0 auto}

/* Complete backpack shapes in battle */
.battle-cells,.battle-bag-layer{position:absolute;z-index:0;inset:0;display:grid;grid-template-columns:repeat(6,1fr);grid-template-rows:repeat(5,1fr);gap:1px;pointer-events:none}
.battle-bag-layer{display:block;z-index:2}
.battle-bag-piece{position:absolute;left:calc(var(--bag-x) * 100% / 6);top:calc(var(--bag-y) * 20%);width:calc(100% / 6);height:20%;border:1px solid #ffffff12;background:#4d3827;box-shadow:inset 0 0 9px #0008,inset 0 1px #ffffff12}
.battle-bag-piece:after{content:"";position:absolute;inset:3px;border:1px dashed #f0c17624;background:repeating-linear-gradient(135deg,transparent 0 5px,#00000014 6px 7px)}
.battle-bag-piece.edge-top{border-top-color:#d6a963}.battle-bag-piece.edge-right{border-right-color:#d6a963}.battle-bag-piece.edge-bottom{border-bottom-color:#d6a963}.battle-bag-piece.edge-left{border-left-color:#d6a963}
.battle-bag-piece.edge-top.edge-left{border-top-left-radius:7px}.battle-bag-piece.edge-top.edge-right{border-top-right-radius:7px}.battle-bag-piece.edge-bottom.edge-left{border-bottom-left-radius:7px}.battle-bag-piece.edge-bottom.edge-right{border-bottom-right-radius:7px}
.battle-bag-piece.bag-starter{background:linear-gradient(145deg,#745035,#39261d)}.battle-bag-piece.bag-blade{background:linear-gradient(145deg,#79333d,#351d23)}.battle-bag-piece.bag-swift{background:linear-gradient(145deg,#2e6970,#19343b)}.battle-bag-piece.bag-guard{background:linear-gradient(145deg,#53677b,#293540)}.battle-bag-piece.bag-element{background:linear-gradient(145deg,#654d78,#332941)}
.battle-bag-piece.bag-rival{border-color:#b2657780;background:linear-gradient(145deg,#663344,#291920)}.battle-bag-piece.bag-rival:after{border-color:#e28da12b;background:repeating-linear-gradient(45deg,transparent 0 5px,#7d2c461b 6px 8px)}
.battle-bag-piece.x-0{left:0}.battle-bag-piece.x-1{left:16.6667%}.battle-bag-piece.x-2{left:33.3333%}.battle-bag-piece.x-3{left:50%}.battle-bag-piece.x-4{left:66.6667%}.battle-bag-piece.x-5{left:83.3333%}
.battle-bag-piece.y-0{top:0}.battle-bag-piece.y-1{top:20%}.battle-bag-piece.y-2{top:40%}.battle-bag-piece.y-3{top:60%}.battle-bag-piece.y-4{top:80%}
.battle-item.x-0{left:2px}.battle-item.x-1{left:calc(16.6667% + 2px)}.battle-item.x-2{left:calc(33.3333% + 2px)}.battle-item.x-3{left:calc(50% + 2px)}.battle-item.x-4{left:calc(66.6667% + 2px)}.battle-item.x-5{left:calc(83.3333% + 2px)}
.battle-item.y-0{top:2px}.battle-item.y-1{top:calc(20% + 2px)}.battle-item.y-2{top:calc(40% + 2px)}.battle-item.y-3{top:calc(60% + 2px)}.battle-item.y-4{top:calc(80% + 2px)}
.battle-item.w-1{width:calc(16.6667% - 4px)}.battle-item.w-2{width:calc(33.3333% - 4px)}.battle-item.h-1{height:calc(20% - 4px)}.battle-item.h-2{height:calc(40% - 4px)}
.battle-item.w-3{width:calc(50% - 4px)}.battle-item.h-3{height:calc(60% - 4px)}
.set-iron{--set-color:#b7c3ce}.set-bastion{--set-color:#91a9bf}.set-blood{--set-color:#df6474}.set-frost{--set-color:#65cfff}.set-plague{--set-color:#83e660}.set-chrono{--set-color:#d8adff}.set-ember{--set-color:#ff913b}.set-arcane{--set-color:#a982ff}.set-shadow{--set-color:#8d70bd}.set-solar{--set-color:#f0c75e}.set-thorn{--set-color:#78bd79}.set-storm{--set-color:#55d8ff}.set-soul{--set-color:#4fe0c5}.set-titan{--set-color:#d58b54}.set-world{--set-color:#f3c96b}.set-adventure{--set-color:#e7b85d}
.charge-p-0{width:0}.charge-p-5{width:5%}.charge-p-10{width:10%}.charge-p-15{width:15%}.charge-p-20{width:20%}.charge-p-25{width:25%}.charge-p-30{width:30%}.charge-p-35{width:35%}.charge-p-40{width:40%}.charge-p-45{width:45%}.charge-p-50{width:50%}.charge-p-55{width:55%}.charge-p-60{width:60%}.charge-p-65{width:65%}.charge-p-70{width:70%}.charge-p-75{width:75%}.charge-p-80{width:80%}.charge-p-85{width:85%}.charge-p-90{width:90%}.charge-p-95{width:95%}.charge-p-100{width:100%}

/* Pause and surrender */
.battle-head-actions{display:flex;align-items:center;gap:7px}.battle-head-actions .small-button{min-height:42px}
.pause-modal{position:fixed;z-index:130;inset:0;display:grid;place-items:center;padding:14px;background:#05070bea;backdrop-filter:blur(12px)}.pause-modal[hidden]{display:none}.pause-dialog{width:min(100%,420px);padding:30px 25px;border:1px solid #8e713f;border-radius:10px;background:linear-gradient(145deg,#272a32,#121419);box-shadow:inset 0 0 0 3px #090a0d,0 25px 80px #000;text-align:center}.pause-dialog h2{margin:5px 0;color:#f0e5d0;font-family:Georgia,serif;font-size:34px}.pause-dialog p{margin:0 0 20px;color:#a99f91;font-size:11px}.pause-dialog button{width:100%;margin-top:9px}.surrender-button{min-height:49px;border-color:#8f3f45;background:linear-gradient(#4e282c,#25171a);color:#ffaaa5}
.battle-result-progress i{overflow:hidden}.battle-result-progress i img{width:72%;height:72%;object-fit:contain;opacity:.16;filter:grayscale(1)}.battle-result-progress i.active img{opacity:1;filter:none}.battle-result-progress i b{position:absolute;right:1px;bottom:0}.battle-result-progress i{position:relative}

@media(max-width:559px){
  body[data-phase="menu"] .topbar{padding-bottom:4px}
  body[data-phase="menu"] .brand p{display:none}
  .main-menu{gap:8px;padding:2px 0 6px}
  .menu-hero>img{width:68px;height:68px;border-radius:15px}
  .menu-hero h2{margin-top:2px;font-size:26px}.menu-hero p{font-size:9px}
  .mode-select{gap:6px}.mode-card{min-height:0;padding:12px 9px}.mode-card h3{font-size:19px}.mode-card p{min-height:58px;margin-bottom:7px;font-size:8px}.ranked-mode>img{top:7px;right:7px;width:39px;height:39px}.mode-card .primary-button{min-height:44px;padding-inline:5px;font-size:8px}.mode-card .small-button{min-height:38px;padding-inline:4px;font-size:7px}.menu-continue{min-height:45px}
  .status-label{gap:2px}.status-label img{width:14px;height:14px}
  .battle-head-actions{gap:3px}.battle-head-actions .small-button{min-height:36px;padding-inline:7px;font-size:7px}
}
