/* Booster-Packs: Tüte mit gezackten Kanten (clip-path), flache Farbe, schwankt leicht. Öffnen im Vollbild. */
.booster { --b: #2d81ff; position: relative; width: 64px; aspect-ratio: 5 / 8; display: flex; flex-direction: column; color: #fff; flex: none; animation: bsSway 3.2s ease-in-out infinite; user-select: none; touch-action: none; }
.bs-top { position: relative; height: 15%; background: var(--b); border-bottom: 2px dashed #ffffff8c; transition: transform .08s linear; }
.bs-cut { position: absolute; left: 0; bottom: -2px; width: 0; height: 3px; background: #fff; }
.bs-body { flex: 1; background: var(--b); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4%; padding: 6% 8% 12%; text-align: center; box-shadow: inset 0 0 0 4px #0000002e; }
.bs-kind { font-family: var(--mono); font-size: 6px; letter-spacing: .14em; text-transform: uppercase; opacity: .85; }
.bs-art { width: 70%; aspect-ratio: 1; display: grid; place-items: center; background: #0000002e; border: 2px solid #ffffff59; }
.bs-art .crown { width: 70%; height: 70%; }
.booster b { font-family: var(--display); font-stretch: 125%; font-weight: 900; font-size: 9px; text-transform: uppercase; line-height: 1; }
.booster small { font-family: var(--mono); font-size: 5px; letter-spacing: .1em; text-transform: uppercase; opacity: .8; }
.booster.sm { width: 34px; }
.booster.sm .bs-body > :not(.bs-art) { display: none; }
.booster.big { width: min(56vw, 230px); cursor: grab; }
.booster.big .bs-kind { font-size: 11px; }
.booster.big b { font-size: 26px; }
.booster.big small { font-size: 11px; }
.booster.big .bs-top { border-bottom-width: 3px; }
@keyframes bsSway { 0%, 100% { rotate: -2.5deg; translate: 0 0; } 50% { rotate: 2.5deg; translate: 0 -4px; } }

.packbtn .booster.sm:nth-of-type(2) { margin-left: -24px; animation-delay: -1.1s; }

.pack-open { position: fixed; inset: 0; z-index: 60; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 22px; background: #060607f2; padding: 24px; overflow: hidden; animation: crFade .25s ease; }
.pack-open[hidden] { display: none; }
.po-stage { position: relative; width: 100%; height: min(62vh, 420px); display: grid; place-items: center; }
.po-pack, .po-stack { grid-area: 1 / 1; display: grid; place-items: center; }
.po-stack { width: min(58vw, 230px); aspect-ratio: 3 / 4.3; position: relative; }
.po-stack[hidden] { display: none; }
.po-card { position: absolute; inset: 0; width: 100%; height: 100%; cursor: grab; touch-action: none; user-select: none; transition: transform .2s ease; }
.po-stack .po-card { padding-top: 22px; }
.po-stack .dart { font-size: 64px !important; }
.po-stack .po-card b { font-size: 16px !important; }
.po-card .dlv { font-size: 11px; padding: 2px 7px; }
.po-card.rar-legend, .po-card.rar-epic { border-width: 3px; }
.po-card.shine { box-shadow: 0 0 0 4px var(--r), 0 0 0 10px #ffffff1a; }
.po-hint { min-height: 18px; font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.po-done { display: flex; flex-direction: column; align-items: center; gap: 22px; width: 100%; max-width: 420px; }
.po-done[hidden] { display: none; }
.po-row { max-height: 62vh; overflow: hidden auto; touch-action: pan-y; display: flex; flex-wrap: wrap; gap: 10px; width: 100%; justify-content: center; }
.po-row .po-card { position: relative; width: 22%; height: auto; aspect-ratio: 3 / 4.3; flex: none; cursor: default; }
.po-done .btn { width: 100%; }
.po-pack[hidden] { display: none; }
.po-n { position: absolute; top: 4px; right: 4px; z-index: 2; padding: 1px 6px; background: var(--warn); color: #0b0b0c; font-family: var(--mono); font-size: 12px; font-weight: 900; box-shadow: 2px 2px 0 #000; }
.ptag { font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.ptag.new { color: #0b0b0c; background: var(--warn); padding: 1px 6px; }
.po-done .btn { min-height: 50px; padding: 14px; }
.po-card.pcard52 { cursor: grab; animation: none; }
.po-stack .pcard52 .p52 { font-size: 80px; }
.po-stack .pcard52 .fc-idx { font-size: 22px; }
.po-ptag { position: absolute; top: calc(100% + 6px); /* unter der Karte, nicht über den Ecken */ left: 50%; translate: -50% 0; white-space: nowrap; color: #0b0b0c; background: var(--accent); padding: 1px 6px; }
.po-row .pcard52 .p52 { font-size: 34px; }
/* Spielkarten im Pack in voller Größe (sonst gewinnt die feste Breite von .pcard52.big) */
.po-stack .po-card.pcard52 { width: 100%; height: 100%; flex: none; margin: 0; }
.po-row .po-card.pcard52 { width: 22%; flex: none; margin: 0; aspect-ratio: 3 / 4.3; }
.po-chips .dart { color: #ca8a04; }
/* Stapel: weiches Nachrücken; beim Ziehen kein Übergang und kein Hover-Zoom */
.po-stack .po-card { transition: transform .28s cubic-bezier(.2,1.2,.4,1), opacity .2s; will-change: transform; }
.po-stack .po-card.drag { cursor: grabbing; }
.po-card.pcard52:hover, .po-card.pcard52:active { scale: none; }
.po-skip { border: 1px solid var(--line); background: none; color: var(--muted); font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; padding: 8px 14px; border-radius: 999px; cursor: pointer; }
