/* Paket 3: Beute, Heldenbogen, Profil, Rang, Händler, Tausch, Abend-Ehrung (Querformat 844 x 390 als Referenz) */
:root { --r-common: #b9c0ca; --r-rare: #4ea3ff; --r-epic: #b46cff; --r-set: #3fd17a; --r-legendary: #ffb43a; }
.r-common { --rc: var(--r-common); } .r-rare { --rc: var(--r-rare); } .r-epic { --rc: var(--r-epic); } .r-set { --rc: var(--r-set); } .r-legendary { --rc: var(--r-legendary); }
.muted { color: var(--ink-faint); font-size: 13px; }
.hint { color: var(--ink-faint); font-size: 11.5px; margin-top: 6px; }
.h3 { font-family: Cinzel, serif; font-weight: 800; font-size: 13px; color: #ffe2b8; margin: 8px 0 4px; letter-spacing: .02em; }
/* Rang-Plakette und Rahmen */
.rchip { display: inline-grid; place-items: center; min-width: 17px; height: 17px; padding: 0 3px; margin-right: 4px; border-radius: 5px; font: 800 10.5px/17px Fredoka, sans-serif; color: #1a1208; background: linear-gradient(180deg, var(--a), var(--b)); box-shadow: 0 0 0 1px rgba(0, 0, 0, .5), inset 0 1px 0 rgba(255, 255, 255, .5); vertical-align: 1px; text-shadow: none; }
.nametag .nt-title { display: block; font-size: 9.5px; font-weight: 600; color: #ffe2a0; text-align: center; margin-top: -1px; }
.me-rframe { position: absolute; left: 50%; top: 50%; width: 70px; height: 70px; transform: translate(-50%, -50%); pointer-events: none; }
.me-rframe svg { display: block; }
#meClass .ti { color: #ffe2a0; }
.rframe .rf-glow { animation: rfg 2.4s ease-in-out infinite; }
@keyframes rfg { 50% { opacity: .15; } }
.bag-btn { position: absolute; top: calc(12px + var(--st)); right: calc(304px + var(--sr)); }
.bag-btn .badge { position: absolute; right: -4px; top: -4px; min-width: 18px; height: 18px; border-radius: 9px; padding: 0 4px; background: #ffb43a; color: #2a1606; font: 800 11px/18px Fredoka, sans-serif; font-style: normal; text-align: center; box-shadow: 0 0 10px #ffb43a; }
.pf { cursor: pointer; }
.pf em { margin-left: 2px; }

/* Raster und Felder */
.grid { display: grid; grid-template-columns: repeat(8, 46px); gap: 5px; }
.grid.small { grid-template-columns: repeat(auto-fill, 38px); gap: 4px; }
.cell { position: relative; width: 46px; height: 46px; padding: 0; border: 0; border-radius: 10px; background: rgba(255, 255, 255, .05); box-shadow: inset 0 0 0 1.5px var(--rc, rgba(255, 255, 255, .1)), inset 0 -10px 18px -10px var(--rc, transparent); display: grid; place-items: center; cursor: pointer; overflow: hidden; }
.grid.small .cell { width: 38px; height: 38px; border-radius: 8px; }
.grid.small .cell .ii { width: 32px; height: 32px; }
.cell.empty { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .07); background: rgba(255, 255, 255, .025); cursor: default; }
.cell.sel { box-shadow: inset 0 0 0 2.5px #fff3d6, 0 0 12px var(--rc); }
.cell.r-legendary { background: radial-gradient(circle at 50% 60%, rgba(255, 180, 58, .28), rgba(255, 255, 255, .04) 70%); }
.cell.r-epic { background: radial-gradient(circle at 50% 60%, rgba(180, 108, 255, .2), rgba(255, 255, 255, .04) 70%); }
.cell.r-set { background: radial-gradient(circle at 50% 60%, rgba(63, 209, 122, .2), rgba(255, 255, 255, .04) 70%); }
.cell .ii { width: 40px; height: 40px; pointer-events: none; filter: drop-shadow(0 2px 2px rgba(0, 0, 0, .5)); }
.cell .up, .slot .up { position: absolute; left: 3px; top: 1px; font: 800 10px Fredoka, sans-serif; color: #ffe066; text-shadow: 0 1px 2px #000; }
.cell .cmp { position: absolute; right: 2px; top: 0; font-size: 10px; font-style: normal; text-shadow: 0 1px 2px #000; }
.cmp.up, em.g, .g { color: #5fe070; } .cmp.dn, em.r, .r { color: #ff6b5a; }
.cell .bnd { position: absolute; right: 3px; bottom: 3px; width: 7px; height: 7px; border-radius: 2px; background: #ffb43a; box-shadow: 0 0 0 1px #000; }
.cell .pr { position: absolute; left: 0; right: 0; bottom: 0; font: 700 9.5px/13px Fredoka, sans-serif; color: #ffe2a0; background: rgba(0, 0, 0, .55); }

/* Heldenbogen */
.sh-card { position: relative; width: min(820px, 97vw); height: min(372px, 95vh); padding: 10px 12px 10px; display: flex; gap: 10px; }
.sh-left { flex: 0 0 auto; display: flex; gap: 6px; align-items: center; padding-top: 22px; }
.sh-slots { display: flex; flex-direction: column; gap: 8px; }
.slot { position: relative; width: 58px; height: 64px; border: 0; padding: 0; border-radius: 12px; background: rgba(255, 255, 255, .05); box-shadow: inset 0 0 0 2px var(--rc, rgba(255, 255, 255, .12)), 0 0 14px -4px var(--rc, transparent); display: grid; place-items: center; cursor: pointer; }
.slot.empty { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12); color: rgba(255, 248, 236, .25); }
.slot .sg { width: 30px; height: 30px; margin-top: -10px; }
.slot .ii { margin-top: -10px; }
.slot span { position: absolute; bottom: 3px; left: 0; right: 0; font-size: 9.5px; color: var(--ink-dim); text-align: center; }
.sh-port { position: relative; width: 170px; height: 300px; }
.sh-port canvas { width: 170px; height: 232px; display: block; border-radius: 16px; background: radial-gradient(ellipse at 50% 85%, rgba(255, 200, 120, .22), rgba(0, 0, 0, 0) 65%), radial-gradient(ellipse at 50% 30%, rgba(120, 160, 255, .18), rgba(0, 0, 0, 0) 70%); touch-action: none; cursor: grab; }
.sh-frame { position: absolute; left: 4px; top: 4px; }
.sh-who { text-align: center; line-height: 1.15; }
.sh-who b { font-family: Cinzel, serif; font-weight: 900; font-size: 16px; color: #fff3d6; }
.sh-who small { color: var(--ink-faint); font-size: 11px; margin-left: 2px; }
.sh-who span { display: block; font-size: 12px; font-weight: 600; }
.sh-who .rk { color: #ffe2a0; font-size: 11.5px; }
.sh-right { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.sh-tabs { display: flex; gap: 5px; margin: 0 0 6px 74px; flex-wrap: wrap; }
.sh-tabs button { border: 0; border-radius: 10px; padding: 5px 11px; font: 650 13px Fredoka, sans-serif; color: var(--ink-dim); background: rgba(255, 255, 255, .07); cursor: pointer; }
.sh-tabs button.sel { color: #2a1606; background: linear-gradient(180deg, #ffd48a, #ff9e4a); }
.sh-tabs .tal, .sh-tabs .trade-btn { margin-left: auto; color: #bdf5e4; background: rgba(34, 199, 160, .18); }
.sh-top { display: flex; gap: 10px; align-items: center; font-size: 12.5px; margin-bottom: 6px; flex-wrap: wrap; }
.sh-top .gold, .shop-top .gold { margin: 0; font-size: 13px; }
.mat { display: inline-flex; align-items: center; gap: 4px; font-weight: 650; font-size: 12.5px; color: #e8e0d4; }
.mat i { width: 11px; height: 11px; border-radius: 3px; transform: rotate(45deg); }
.mat small { font-weight: 500; color: var(--ink-faint); font-size: 10.5px; }
.m-erz i { background: linear-gradient(135deg, #c9ced6, #6c7480); } .m-seelenstaub i { background: linear-gradient(135deg, #e6d8ff, #8a6ad8); border-radius: 50%; }
.m-drachenschuppe i { background: linear-gradient(135deg, #ff9a6a, #a8321a); } .m-sternensplitter i { background: linear-gradient(135deg, #fff6c8, #7fd8ff); }
.sh-body { flex: 1; min-height: 0; overflow: auto; padding-right: 4px; }
.sh-detail { position: absolute; right: 10px; top: 46px; bottom: 10px; width: 270px; padding: 8px; border-radius: 16px; background: rgba(10, 15, 26, .96); box-shadow: 0 10px 40px rgba(0, 0, 0, .6), inset 0 0 0 1px var(--line); overflow: auto; z-index: 3; }
.sh-detail.two { width: 470px; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; align-content: start; }
.sh-detail.two .cur-lbl { display: none; }
.sh-detail .acts { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 8px; grid-column: 1 / -1; }
.cur-lbl { font-size: 11px; color: var(--ink-faint); margin: 6px 0 2px; }
/* Gegenstandskarte */
.icard { border-radius: 14px; padding: 8px 10px; background: linear-gradient(180deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .02)); box-shadow: inset 0 0 0 1.5px var(--rc), 0 0 22px -10px var(--rc); }
.icard .ih { display: flex; gap: 8px; align-items: center; }
.icard .iic { flex: 0 0 auto; border-radius: 10px; padding: 2px; background: radial-gradient(circle, rgba(255, 255, 255, .1), transparent 70%); }
.icard .in { font-family: Cinzel, serif; font-weight: 800; font-size: 14px; line-height: 1.1; }
.icard .ir { font-size: 11px; color: var(--ink-dim); margin-top: 2px; }
.icard .iw { font-size: 10.5px; color: var(--ink-faint); } .icard .iw.bad { color: #ff8a7a; }
.icard .ist { margin-top: 6px; display: grid; gap: 2px; }
.icard .st { display: flex; gap: 6px; align-items: baseline; font-size: 12.5px; }
.icard .st span { color: var(--ink-dim); flex: 1; } .icard .st b { font-weight: 700; } .icard .st em { font-style: normal; font-size: 11.5px; font-weight: 700; min-width: 64px; text-align: right; }
.icard .st.lost b { color: var(--ink-faint); }
.icard .leg { margin-top: 6px; padding: 5px 7px; border-radius: 8px; background: rgba(255, 180, 58, .12); color: #ffd994; font-size: 12px; font-style: italic; }
.icard .setbox { margin-top: 6px; font-size: 11px; display: grid; gap: 1px; } .icard .setbox span { color: var(--ink-faint); } .icard .setbox span.on { color: #7dff9a; }
.icard .cmpsum { margin-top: 5px; font-size: 12px; font-weight: 700; }
.icard .ifoot { margin-top: 5px; font-size: 10.5px; color: var(--ink-faint); }
.icard .ifoot .gold { display: inline; font-size: 11px; }
.icard.big { width: min(330px, 80vw); padding: 12px 14px; background: rgba(12, 16, 28, .94); }
.icard.big .in { font-size: 18px; }
/* Werte */
.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.srow { border-radius: 10px; background: rgba(255, 255, 255, .04); margin-bottom: 4px; cursor: pointer; }
.srow .sl { display: flex; align-items: center; gap: 8px; padding: 6px 10px; font-size: 13.5px; } .srow .sl span { flex: 1; color: var(--ink-dim); } .srow .sl b { font-size: 15px; } .srow .sl i { font-style: normal; color: var(--ink-faint); transition: transform .2s; }
.srow .sb { display: none; padding: 0 10px 6px; font-size: 12px; } .srow .sb div { display: flex; justify-content: space-between; color: var(--ink-faint); } .srow .sb div span:last-child { color: #ffe2b8; font-weight: 650; }
.srow.open .sb { display: block; } .srow.open .sl i { transform: rotate(90deg); }
.setp { padding: 6px 8px; border-radius: 10px; background: rgba(255, 255, 255, .04); margin-bottom: 5px; display: grid; gap: 2px; }
.setp .pips { display: flex; gap: 3px; } .setp .pips i { width: 12px; height: 6px; border-radius: 3px; background: rgba(255, 255, 255, .12); } .setp .pips i.on { background: var(--c); box-shadow: 0 0 6px var(--c); }
.setp small { color: var(--ink-faint); font-size: 11px; } .setp small.on { color: #7dff9a; }
.legline { font-size: 12px; color: #ffd994; margin-bottom: 4px; } .legline b { color: #ffb43a; }
/* Profil */
.prof { display: grid; grid-template-columns: 1.05fr 1fr; gap: 12px; }
.rankbox { display: flex; gap: 10px; align-items: center; padding: 6px 10px; border-radius: 14px; background: linear-gradient(90deg, rgba(255, 210, 120, .12), rgba(255, 255, 255, .02)); }
.rankbox > div { flex: 1; } .rname { font-family: Cinzel, serif; font-weight: 900; font-size: 18px; color: #ffe2a0; }
.rbar { height: 7px; border-radius: 4px; background: rgba(0, 0, 0, .45); overflow: hidden; margin: 4px 0 3px; } .rbar i { display: block; height: 100%; background: linear-gradient(90deg, #ffd35a, #ff8a3d); }
.rankbox small { font-size: 11px; color: var(--ink-dim); }
.titles { display: flex; gap: 4px; flex-wrap: wrap; margin: 6px 0; } .titles button { border: 0; border-radius: 8px; padding: 3px 8px; font: 600 11px Fredoka, sans-serif; color: var(--ink-dim); background: rgba(255, 255, 255, .07); } .titles button.sel { color: #2a1606; background: #ffd48a; }
.sumg { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; margin-top: 6px; } .sumg div { padding: 5px 4px; border-radius: 9px; background: rgba(255, 255, 255, .05); text-align: center; } .sumg b { display: block; font-size: 14px; color: #fff3d6; } .sumg span { font-size: 10px; color: var(--ink-faint); }
.bestr { display: flex; justify-content: space-between; font-size: 12px; padding: 2px 4px; } .bestr span { color: var(--ink-dim); } .bestr b { color: #ffe2b8; }
.heroesl { display: flex; flex-wrap: wrap; gap: 4px; } .heroesl span { font-size: 11px; padding: 2px 7px; border-radius: 7px; background: rgba(255, 255, 255, .06); box-shadow: inset 3px 0 0 var(--c); }
.pcol.tl { min-height: 0; }
.tlist { position: relative; padding-left: 4px; }
.tld { font-family: Cinzel, serif; font-weight: 800; font-size: 11.5px; color: #ffd9a0; margin: 6px 0 2px; }
.tle { position: relative; display: grid; grid-template-columns: 22px 1fr auto; gap: 6px; align-items: start; padding: 4px 6px; border-radius: 9px; background: rgba(255, 255, 255, .035); margin-bottom: 3px; font-size: 12px; }
.tle i svg { width: 12px; height: 12px; } .tle i { font-style: normal; width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .08); color: #ffe2a0; font-size: 12px; }
.tle small { display: block; color: var(--ink-faint); font-size: 10.5px; } .tle time { color: var(--ink-faint); font-size: 10.5px; }
.tle.k-boss i { background: rgba(255, 90, 60, .25); color: #ffb08a; } .tle.k-leg i { background: rgba(255, 180, 58, .3); color: #ffd35a; } .tle .lg { color: #ffc94a; }
.tle.k-ach i { background: rgba(126, 224, 255, .2); color: #bfeeff; } .tle.k-rank i { background: rgba(255, 210, 120, .3); }
/* Erfolge */
.achg { display: flex; gap: 4px; flex-wrap: wrap; margin-bottom: 6px; } .achg button { border: 0; border-radius: 9px; padding: 4px 9px; font: 650 12px Fredoka, sans-serif; color: var(--ink-dim); background: rgba(255, 255, 255, .07); } .achg button.sel { color: #2a1606; background: #ffd48a; } .achg small { opacity: .7; }
.achl { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
.ach { display: grid; grid-template-columns: 22px 1fr; gap: 6px; padding: 5px 8px; border-radius: 10px; background: rgba(255, 255, 255, .035); font-size: 12px; opacity: .72; }
.ach.done { opacity: 1; background: linear-gradient(90deg, rgba(255, 210, 120, .16), rgba(255, 255, 255, .03)); }
.ach > i { font-style: normal; color: #ffd35a; } .ach > i svg { width: 18px; height: 18px; } .ach b { display: block; } .ach span { color: var(--ink-faint); font-size: 11px; } .ach > small { grid-column: 2; font-size: 10px; color: #ffe2a0; }
.ach .ap { position: relative; height: 5px; border-radius: 3px; background: rgba(0, 0, 0, .4); margin-top: 3px; } .ach .ap i { display: block; height: 100%; border-radius: 3px; background: #7ee0ff; } .ach .ap em { position: absolute; right: 0; top: -13px; font-size: 9.5px; font-style: normal; color: var(--ink-faint); }

/* Beute-Anzeige */
#lootFan { position: fixed; right: calc(14px + var(--sr)); top: calc(150px + var(--st)); display: flex; flex-direction: column; gap: 5px; z-index: 40; pointer-events: none; }
.fan { display: flex; gap: 7px; align-items: center; padding: 4px 10px 4px 5px; border-radius: 12px; background: rgba(10, 15, 26, .78); box-shadow: inset 3px 0 0 var(--rc), inset 0 0 0 1px rgba(255, 255, 255, .08); font-size: 12px; animation: fanIn .35s cubic-bezier(.2, 1.4, .4, 1) both; max-width: 230px; transition: opacity .5s, transform .5s; }
.fan b { display: block; font-size: 12.5px; line-height: 1.1; } .fan small { color: var(--ink-faint); font-size: 10.5px; }
.fan.out { opacity: 0; transform: translateX(30px); }
@keyframes fanIn { from { opacity: 0; transform: translateX(60px) rotate(4deg); } }
#lootBig { position: fixed; left: 50%; top: 50%; transform: translate(-50%, -50%); z-index: 70; display: grid; justify-items: center; gap: 6px; animation: bigIn .5s cubic-bezier(.2, 1.4, .4, 1) both; cursor: pointer; }
#lootBig .lb-head { font-family: Cinzel, serif; font-weight: 900; font-size: 26px; color: var(--rc); text-shadow: 0 3px 0 rgba(0, 0, 0, .6), 0 0 26px var(--rc); }
#lootBig .lb-tap { font-size: 11px; color: var(--ink-faint); }
#lootBig .lb-ray { position: absolute; left: 50%; top: 45%; width: 620px; height: 620px; transform: translate(-50%, -50%); background: repeating-conic-gradient(from 0deg, rgba(255, 255, 255, .0) 0deg 8deg, color-mix(in srgb, var(--rc) 22%, transparent) 8deg 14deg); -webkit-mask: radial-gradient(circle, #000 18%, transparent 62%); mask: radial-gradient(circle, #000 18%, transparent 62%); animation: spin 14s linear infinite; z-index: -1; pointer-events: none; }
#lootBig.leg .lb-head { font-size: 32px; }
@keyframes bigIn { from { opacity: 0; transform: translate(-50%, -40%) scale(.6); } }
@keyframes spin { to { transform: translate(-50%, -50%) rotate(360deg); } }
#legBanner { position: fixed; left: 50%; top: calc(64px + var(--st)); transform: translateX(-50%); z-index: 66; text-align: center; padding: 8px 26px 10px; border-radius: 16px; background: linear-gradient(180deg, rgba(60, 36, 8, .92), rgba(28, 16, 6, .92)); box-shadow: 0 0 0 1.5px #ffb43a, 0 0 40px rgba(255, 180, 58, .55); animation: legIn .6s cubic-bezier(.2, 1.5, .4, 1) both; pointer-events: none; min-width: 280px; }
#legBanner small { display: block; font-size: 11px; color: #ffe2a0; letter-spacing: .08em; text-transform: uppercase; } #legBanner b { display: block; font-family: Cinzel, serif; font-weight: 900; font-size: 24px; color: #ffc94a; text-shadow: 0 2px 0 #6a3a00, 0 0 18px rgba(255, 180, 58, .8); } #legBanner span { font-size: 12px; color: #ffe8c0; font-style: italic; }
#legBanner.rank { background: linear-gradient(180deg, rgba(20, 30, 50, .92), rgba(10, 16, 28, .92)); box-shadow: 0 0 0 1.5px #ffd35a, 0 0 30px rgba(255, 211, 90, .45); display: flex; flex-direction: column; align-items: center; }
@keyframes legIn { from { opacity: 0; transform: translate(-50%, -30px) scale(.8); } }
#achToast { position: fixed; left: 50%; top: calc(8px + var(--st)); transform: translate(-50%, -120%); z-index: 95; display: flex; gap: 10px; align-items: center; padding: 7px 14px 7px 9px; border-radius: 16px; background: linear-gradient(180deg, rgba(24, 34, 54, .96), rgba(12, 18, 30, .96)); box-shadow: 0 0 0 1.5px #7ee0ff, 0 10px 30px rgba(0, 0, 0, .5), 0 0 24px rgba(126, 224, 255, .35); transition: transform .38s cubic-bezier(.2, 1.3, .4, 1); pointer-events: none; min-width: 300px; }
#achToast.on { transform: translate(-50%, 0); }
#achToast .trophy { width: 34px; height: 34px; border-radius: 10px; background: radial-gradient(circle at 50% 35%, #fff3c4, #ffb43a 60%, #a8640a); box-shadow: 0 0 14px rgba(255, 180, 58, .6); position: relative; }
#achToast .trophy { display: grid; place-items: center; color: #5a3000; } #achToast .trophy svg { width: 20px; height: 20px; }
#achToast small { display: block; font-size: 10px; color: #7ee0ff; letter-spacing: .06em; text-transform: uppercase; } #achToast b { display: block; font-family: Cinzel, serif; font-weight: 900; font-size: 15px; color: #fff3d6; } #achToast span { font-size: 11.5px; color: var(--ink-dim); }
#achToast em { font-style: normal; font-size: 11.5px; font-weight: 700; color: #ffe2a0; text-align: right; margin-left: auto; }
.dnum.gold { color: #ffd35a; font-size: 14px; } .dnum.pot { color: #ffb0c0; font-size: 13px; } .dnum.rp { color: #9fe8ff; font-size: 13px; } .dnum.leg { color: #ffc94a; font-size: 13px; font-family: Cinzel, serif; font-weight: 900; text-shadow: 0 0 10px rgba(255, 180, 58, .8), 0 2px 0 #000; }
/* Trank-Gürtel */
.sk-belt { position: absolute; right: 282px; bottom: 30px; display: flex; gap: 5px; pointer-events: auto; }
.skb { position: relative; width: 32px; height: 32px; border: 0; border-radius: 50%; background: rgba(12, 18, 30, .7); box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .2); padding: 0; cursor: pointer; }
.skb i { position: absolute; inset: 7px 9px 6px; border-radius: 40% 40% 50% 50%; background: var(--pc); box-shadow: 0 0 8px var(--pc); }
.skb b { position: absolute; right: -4px; bottom: -4px; min-width: 15px; height: 15px; border-radius: 8px; background: #2a3448; font: 800 10px/15px Fredoka, sans-serif; color: #fff; }
.skb-shield { --pc: #7fd8ff; } .skb-speed { --pc: #ffe066; } .skb-ult { --pc: #c08cff; }
.skb.press { animation: press .2s; }

/* Händler, Schmied, Lager */
.shop-card { position: relative; width: min(820px, 97vw); height: min(372px, 95vh); padding: 10px 12px; display: grid; grid-template-columns: 1fr 276px; grid-template-rows: auto auto auto 1fr; column-gap: 12px; }
.shop-title { grid-column: 1 / -1; font-family: Cinzel, serif; font-weight: 900; font-size: 18px; color: #fff3d6; text-align: center; margin-bottom: 4px; }
.shop-card .sh-tabs { margin: 0 0 6px 0; grid-column: 1; }
.shop-top { grid-column: 1 / -1; display: flex; gap: 12px; align-items: center; font-size: 12.5px; margin-bottom: 6px; position: absolute; right: 14px; top: 12px; }
.shop-top .mat small { display: none; }
.shop-body { grid-column: 1; grid-row: 3 / 5; overflow: auto; min-height: 0; }
.shop-side { grid-column: 2; grid-row: 2 / 5; overflow: auto; display: flex; flex-direction: column; gap: 8px; }
.offers { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.offer { position: relative; border: 0; border-radius: 12px; padding: 8px 4px 6px; background: rgba(255, 255, 255, .05); box-shadow: inset 0 0 0 1.5px var(--rc); display: grid; justify-items: center; gap: 2px; cursor: pointer; font: 600 11.5px Fredoka, sans-serif; color: #fff; }
.offer.sel { box-shadow: inset 0 0 0 2.5px #fff3d6, 0 0 14px var(--rc); } .offer b { font-size: 11.5px; line-height: 1.1; text-align: center; } .offer .gold { margin: 0; justify-content: center; }
.offer.week { grid-column: span 2; background: radial-gradient(circle at 50% 30%, color-mix(in srgb, var(--rc) 30%, transparent), rgba(255, 255, 255, .03) 70%); }
.offer em { position: absolute; left: 8px; top: 5px; font-size: 10px; font-style: normal; color: #ffe2a0; text-transform: uppercase; letter-spacing: .06em; }
.bblist, .potshop { display: grid; gap: 4px; }
.bb { display: flex; align-items: center; gap: 8px; border: 0; border-radius: 10px; padding: 4px 10px; background: rgba(255, 255, 255, .05); box-shadow: inset 3px 0 0 var(--rc); font: 600 12.5px Fredoka, sans-serif; color: #fff; cursor: pointer; } .bb b { flex: 1; text-align: left; } .bb .gold { margin: 0; }
.potrow { display: grid; grid-template-columns: 26px 1fr auto auto; gap: 8px; align-items: center; padding: 4px 8px; border-radius: 10px; background: rgba(255, 255, 255, .04); font-size: 12.5px; } .potrow small { display: block; color: var(--ink-faint); font-size: 10.5px; }
.potrow .pot { width: 18px; height: 22px; border-radius: 40% 40% 50% 50%; background: var(--c); box-shadow: 0 0 8px var(--c); } .potrow .tool { width: 20px; height: 20px; border-radius: 4px; background: linear-gradient(135deg, #c8a878, #6a4a2a); }
.cost { font-size: 12.5px; } .cost .lack { color: #ff8a7a; }
.forge { display: flex; gap: 10px; align-items: center; }
.anvil { position: relative; width: 84px; height: 84px; border-radius: 50%; background: radial-gradient(circle, #3a2a20, #120c08 70%); box-shadow: inset 0 0 0 2px rgba(255, 140, 60, .4); display: grid; place-items: center; touch-action: none; cursor: pointer; }
.anvil b { font-size: 10.5px; color: var(--ink-faint); text-align: center; width: 60px; pointer-events: none; }
.anvil i { position: absolute; inset: 0; border-radius: 50%; box-shadow: inset 0 0 0 3px #ffb35a; opacity: 0; pointer-events: none; }
.anvil.run i { opacity: 1; }
.anvil::after { content: ''; position: absolute; inset: 30px; border-radius: 50%; box-shadow: 0 0 0 2px #ffe2a0; pointer-events: none; }
.anvil.hit { animation: anvHit .25s; } .anvil.miss { animation: anvMiss .25s; }
@keyframes beat { from { transform: scale(1.9); opacity: 0; } 15% { opacity: 1; } to { transform: scale(.32); opacity: .8; } }
@keyframes anvHit { 50% { box-shadow: inset 0 0 0 2px #fff, 0 0 30px #ffb35a; background: radial-gradient(circle, #ff9a3a, #3a1a08 70%); } }
@keyframes anvMiss { 30% { transform: translateX(-4px); } 70% { transform: translateX(4px); } }
.sets { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.sets button { border: 0; border-radius: 12px; padding: 6px 8px; text-align: left; background: rgba(255, 255, 255, .05); box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--c) 50%, transparent); font: 600 11px Fredoka, sans-serif; color: #fff; display: grid; gap: 1px; cursor: pointer; }
.sets button b { color: var(--c); font-family: Cinzel, serif; font-size: 13px; } .sets button small { color: var(--ink-faint); font-size: 10px; } .sets button.sel { box-shadow: inset 0 0 0 2.5px var(--c), 0 0 14px var(--c); }
.slotsel { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 6px; } .slotsel button { border: 0; border-radius: 9px; padding: 5px 10px; font: 650 12px Fredoka, sans-serif; color: var(--ink-dim); background: rgba(255, 255, 255, .07); cursor: pointer; } .slotsel button.sel { color: #2a1606; background: #ffd48a; }
.lagercols { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.shop-card:has(.lagercols) { grid-template-columns: 1fr 0; }

/* Tausch */
.trade-card { position: relative; width: min(760px, 96vw); max-height: 94vh; padding: 10px 14px; display: flex; flex-direction: column; }
.tr-cols { display: grid; grid-template-columns: 1.3fr 1fr; gap: 14px; min-height: 0; flex: 1; overflow: auto; }
.tr-offer { min-height: 44px; display: grid; gap: 3px; } .tro { display: flex; gap: 6px; align-items: center; font-size: 12px; padding: 2px 6px; border-radius: 8px; background: rgba(255, 255, 255, .05); box-shadow: inset 3px 0 0 var(--rc); }
.tr-gold { display: flex; gap: 5px; align-items: center; margin: 6px 0; font-size: 12.5px; } .tr-gold button { border: 0; border-radius: 8px; padding: 3px 8px; background: rgba(255, 255, 255, .1); color: #fff; font: 650 12px Fredoka, sans-serif; } .tr-gold b { min-width: 36px; text-align: center; color: #ffd35a; }
.tr-goldo { color: #ffd35a; font-weight: 650; font-size: 13px; margin: 6px 0; }
.tr-note { font-size: 11px; color: var(--ink-faint); }
.tr-foot { display: flex; gap: 10px; justify-content: flex-end; margin-top: 8px; }
.h3 em, #trMineOk { font-style: normal; font-size: 11px; font-family: Fredoka, sans-serif; color: var(--ink-faint); } .h3 em.ok, #trMineOk.ok { color: #5fe070; }
#tradeAsk { position: fixed; left: 50%; bottom: calc(70px + var(--sb)); transform: translateX(-50%); z-index: 72; display: flex; gap: 8px; align-items: center; padding: 8px 12px; border-radius: 14px; background: rgba(12, 18, 30, .95); box-shadow: 0 0 0 1.5px #22c7a0, 0 10px 30px rgba(0, 0, 0, .5); font-size: 13.5px; }

/* Abend-Ehrung */
#evening { z-index: 90; background: radial-gradient(ellipse at 50% 30%, rgba(40, 30, 70, .85), rgba(6, 8, 16, .95)); }
.ev-card { width: min(800px, 97vw); max-height: 95vh; padding: 12px 16px; display: flex; flex-direction: column; gap: 8px; overflow: auto; background: transparent; border: 0; box-shadow: none; backdrop-filter: none; }
.ev-title { font-family: Cinzel, serif; font-weight: 900; font-size: 26px; text-align: center; color: #fff3d6; text-shadow: 0 3px 0 #6a3418, 0 0 30px rgba(255, 180, 90, .45); }
.ev-sub { text-align: center; font-size: 12px; color: var(--ink-dim); margin-top: -6px; }
.ev-awards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; perspective: 900px; }
.aw { height: 118px; } .aw-in { position: relative; width: 100%; height: 100%; transform-style: preserve-3d; transition: transform .8s cubic-bezier(.3, 1.4, .5, 1); }
.aw.open .aw-in { transform: rotateY(180deg); }
.aw-back, .aw-front { position: absolute; inset: 0; border-radius: 16px; backface-visibility: hidden; -webkit-backface-visibility: hidden; display: grid; place-items: center; text-align: center; }
.aw-back { background: repeating-linear-gradient(45deg, #3a2a5a 0 10px, #2a1e44 10px 20px); box-shadow: inset 0 0 0 2px #ffd35a, 0 8px 24px rgba(0, 0, 0, .5); } .aw-back b { font-family: Cinzel, serif; font-size: 34px; color: #ffd35a; } .aw-back span { position: absolute; bottom: 10px; font-size: 13px; color: #ffe2a0; }
.aw-front { transform: rotateY(180deg); background: radial-gradient(circle at 50% 20%, rgba(255, 211, 90, .35), rgba(30, 20, 50, .95) 70%); box-shadow: inset 0 0 0 2px #ffd35a, 0 0 30px rgba(255, 211, 90, .35); align-content: center; gap: 2px; padding: 8px; }
.aw-front small { font-size: 11px; color: #ffe2a0; text-transform: uppercase; letter-spacing: .06em; } .aw-front b { font-family: Cinzel, serif; font-weight: 900; font-size: 20px; } .aw-front span { font-size: 12px; color: var(--ink-dim); }
.ev-table table { width: 100%; border-collapse: collapse; font-size: 12px; } .ev-table th { font-weight: 600; color: var(--ink-faint); font-size: 10.5px; text-align: right; padding: 2px 6px; } .ev-table th:first-child { text-align: left; }
.ev-table td { text-align: right; padding: 3px 6px; border-top: 1px solid rgba(255, 255, 255, .06); } .ev-table td:first-child { text-align: left; font-weight: 650; } .ev-table td i { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 6px; } .ev-table tr.me td { color: #ffe2a0; }
.ev-foot { display: flex; justify-content: center; }
