This commit is contained in:
cay 2026-04-10 12:17:11 +01:00
parent dcdc17fecc
commit f7ba41d31c

View File

@ -251,6 +251,17 @@ function renderShell() {
gap: 1px; padding: 0 4px;
pointer-events: none; z-index: 4;
}
.gs-stat-cd {
position: absolute;
bottom: 7px; right: 8px;
width: 20px; height: 20px;
border-radius: 50%;
background: rgba(0,0,0,0.75);
border: 1px solid #f0d060;
display: flex; align-items: center; justify-content: center;
font-family: "Cinzel", serif; font-size: 9px; font-weight: bold;
color: #f0d9a6; z-index: 5;
}
/* ── Pagination ──────────────────────────── */
.gs-pagination {
@ -273,12 +284,13 @@ function renderShell() {
/* ── Rechte Spalte: Kombinier-Panel ──────── */
.gs-combine-panel {
width: 320px;
width: 260px;
flex-shrink: 0;
display: flex;
flex-direction: column;
overflow: hidden;
background: rgba(0,0,0,0.15);
margin-right: 40px;
}
.gs-combine-hint {
@ -467,6 +479,7 @@ function renderGrid(grid, cards) {
onerror="this.src='/images/avatar_placeholder.svg'">
${c.attack != null ? `<span class="gs-stat-atk">${c.attack}</span>` : ""}
${c.defends != null ? `<span class="gs-stat-def">${c.defends}</span>` : ""}
${c.cooldown != null ? `<span class="gs-stat-cd">${c.cooldown}</span>` : ""}
<div class="gs-card-footer">
<span class="gs-count-owned">× ${available < 0 ? 0 : available}</span>
</div>
@ -542,6 +555,8 @@ function renderCombineField() {
">
<img src="/images/cards/${c.image}" alt="${c.name}"
onerror="this.src='/images/avatar_placeholder.svg'">
${c.attack != null ? `<span class="gs-stat-atk">${c.attack}</span>` : ""}
${c.defends != null ? `<span class="gs-stat-def">${c.defends}</span>` : ""}
${c.cooldown != null ? `<span class="gs-stat-cd">${c.cooldown}</span>` : ""}
</div>
`).join("");