: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}}
