/* Vote-Belohnung (assets/js/vote-rewards.js): drei verdeckte Karten nach allen 6 Votes eines Tages.
   Pixel-Stil wie v2.css (Blocktexturen, Stufenecken, harte Schatten). Seltenheitsfarben wie in Minecraft:
   Gewöhnlich grau, Selten grün, Episch lila, Mythisch rot-pink, Legendär gold. Alle Klassen mit "vr-" Präfix. */

.vote-reward-root { margin: 28px 0 8px; }
.vote-reward-root:empty { display: none; }
.vr-sr { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.vr-panel {
  position: relative; isolation: isolate; padding: 22px 22px 24px; color: var(--v2-text, #f1edf8);
  background: linear-gradient(180deg, rgba(22, 15, 32, 0.9), rgba(10, 7, 16, 0.94)), var(--tex-blackstone, none) 0 0 / 64px 64px;
  image-rendering: pixelated; clip-path: var(--px-clip-lg, none);
  box-shadow: inset 0 0 0 3px var(--v2-edge, #050308), inset 6px 6px 0 rgba(255, 255, 255, 0.06), inset -6px -6px 0 rgba(0, 0, 0, 0.45);
}
.vr-panel::before {
  content: ""; position: absolute; left: 3px; right: 3px; top: 3px; height: 6px; z-index: -1;
  background: linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2)), var(--tex-amethyst, none) 0 0 / 24px 24px; image-rendering: pixelated;
}
.vr-panel.is-shaking { animation: vr-shake 0.5s steps(2, end) 1; }

.vr-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; margin-bottom: 16px; }
.vr-kicker { display: inline-flex; align-items: center; gap: 8px; font-size: 0.72rem; font-weight: 900; letter-spacing: 0.14em; text-transform: uppercase; color: var(--v2-amethyst, #c084fc); text-shadow: 2px 2px 0 rgba(0, 0, 0, 0.6); }
.vr-kicker img { width: 18px; height: 18px; image-rendering: pixelated; }
.vr-title { margin: 4px 0 0; font-size: clamp(1.25rem, 2.4vw, 1.6rem); font-weight: 900; line-height: 1.15; text-shadow: 3px 3px 0 rgba(0, 0, 0, 0.55); }
.vr-sub { margin: 6px 0 0; color: var(--v2-muted, #b3a9c9); line-height: 1.5; max-width: 70ch; }
.vr-head-actions { display: flex; gap: 6px; flex: none; }
.vr-icon-btn {
  display: inline-grid; place-items: center; width: 42px; height: 42px; padding: 0; border: 0; cursor: pointer; color: #e6def4; font-size: 1rem;
  background: rgba(0, 0, 0, 0.45); box-shadow: inset 0 0 0 2px #2a2138, inset 3px 3px 0 rgba(0, 0, 0, 0.5); transition: background-color 0.12s ease, transform 0.12s ease;
}
.vr-icon-btn:hover { background: rgba(155, 92, 246, 0.25); color: #fff; transform: translateY(-2px); }
.vr-icon-btn[aria-pressed="true"] { color: #fb7185; }

/* ---------- Gast / Hinweise ---------- */
.vr-locked { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 18px; align-items: center; }
.vr-locked-art { position: relative; width: 92px; height: 120px; flex: none; }
.vr-locked-art .vr-mini-card { position: absolute; width: 62px; height: 86px; }
.vr-locked-art .vr-mini-card:nth-child(1) { left: 0; top: 18px; transform: rotate(-12deg); }
.vr-locked-art .vr-mini-card:nth-child(2) { left: 15px; top: 8px; transform: rotate(-2deg); }
.vr-locked-art .vr-mini-card:nth-child(3) { left: 30px; top: 22px; transform: rotate(10deg); }
.vr-locked-text p { margin: 0 0 12px; font-weight: 700; line-height: 1.5; }
.vr-locked-text .btn { min-height: 44px; }
.vr-note { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; margin-top: 14px; color: #e9e2f6; line-height: 1.5;
  background: rgba(0, 0, 0, 0.4); box-shadow: inset 0 0 0 2px #2a2138, inset 4px 4px 0 rgba(0, 0, 0, 0.45); }
.vr-note img { width: 22px; height: 22px; flex: none; image-rendering: pixelated; }
.vr-note.is-error { box-shadow: inset 0 0 0 2px rgba(251, 113, 133, 0.55), inset 4px 4px 0 rgba(0, 0, 0, 0.45); }
.vr-retry { margin-top: 12px; }

/* kleine verdeckte Karte (Teaser, Legende) */
.vr-mini-card {
  display: block; clip-path: var(--px-clip, none); image-rendering: pixelated;
  background: radial-gradient(circle at 50% 45%, rgba(155, 92, 246, 0.35), transparent 62%), linear-gradient(rgba(10, 4, 20, 0.55), rgba(10, 4, 20, 0.75)), var(--tex-obsidian, none) 0 0 / 24px 24px;
  box-shadow: inset 0 0 0 3px #07040c, inset 0 0 0 5px #3b0f6e, inset 4px 4px 0 3px rgba(255, 255, 255, 0.08);
}
.vr-mini-card::after { content: "?"; display: grid; place-items: center; height: 100%; font-weight: 900; font-size: 1.4rem; color: #e9d5ff; text-shadow: 2px 2px 0 #000; }

/* ---------- Fortschritt (XP-Leiste) ---------- */
.vr-progress { display: grid; gap: 18px; }
.vr-xp { position: relative; padding-top: 34px; }
.vr-xp-level {
  position: absolute; top: 0; left: 50%; transform: translateX(-50%); font-size: 1.85rem; font-weight: 900; line-height: 1; color: #80ff20; white-space: nowrap;
  text-shadow: 2px 0 0 #000, -2px 0 0 #000, 0 2px 0 #000, 0 -2px 0 #000, 3px 3px 0 #000;
}
.vr-xp-level small { font-size: 0.95rem; color: #d5ffb8; }
.vr-xp-bar {
  position: relative; height: 18px; background: #0d0f0b; image-rendering: pixelated;
  box-shadow: inset 0 0 0 2px #000, inset 0 0 0 4px #2c3a24, inset 0 6px 0 rgba(255, 255, 255, 0.05);
}
.vr-xp-fill {
  position: absolute; left: 4px; top: 4px; bottom: 4px; width: calc((100% - 8px) * var(--vr-progress, 0));
  background: linear-gradient(180deg, #c8ff6a 0 25%, #80ff20 25% 70%, #4caf0f 70% 100%);
  box-shadow: 0 0 10px rgba(128, 255, 32, 0.45); transition: width 0.8s steps(12, end);
}
.vr-xp-bar::after {
  content: ""; position: absolute; inset: 4px; pointer-events: none;
  background: repeating-linear-gradient(90deg, transparent 0 calc(100% / var(--vr-segments, 6) - 3px), #000 calc(100% / var(--vr-segments, 6) - 3px) calc(100% / var(--vr-segments, 6)));
}
.vr-xp-caption { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 14px; margin-top: 10px; font-weight: 800; color: #e6def4; text-shadow: 2px 2px 0 rgba(0, 0, 0, 0.55); }
.vr-xp-caption b { color: #80ff20; }

.vr-sites { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 0; padding: 0; list-style: none; }
.vr-site {
  display: grid; grid-template-columns: 34px minmax(0, 1fr) auto; align-items: center; gap: 10px; min-height: 58px; padding: 8px 10px 8px 8px; text-decoration: none; color: #f1edf8;
  background: rgba(0, 0, 0, 0.42); box-shadow: inset 0 0 0 2px #2a2138, inset 4px 4px 0 rgba(0, 0, 0, 0.45), inset -2px -2px 0 rgba(255, 255, 255, 0.04);
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}
a.vr-site:hover { transform: translateY(-2px); box-shadow: inset 0 0 0 2px #c084fc, inset 4px 4px 0 rgba(0, 0, 0, 0.45); }
.vr-site-nr { display: grid; place-items: center; width: 34px; height: 34px; font-weight: 900; font-size: 0.85rem; color: #e9d5ff; background: rgba(155, 92, 246, 0.18); box-shadow: inset 0 0 0 2px rgba(192, 132, 252, 0.35); }
.vr-site-name { min-width: 0; display: grid; gap: 2px; }
.vr-site-name strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 0.9rem; }
.vr-site-name span { font-size: 0.75rem; color: var(--v2-muted, #b3a9c9); }
.vr-site-mark { display: grid; place-items: center; width: 30px; height: 30px; font-weight: 900; font-size: 1.05rem; text-shadow: 2px 2px 0 #000; }
.vr-site.is-done .vr-site-mark { color: #80ff20; background: rgba(128, 255, 32, 0.12); box-shadow: inset 0 0 0 2px rgba(128, 255, 32, 0.45); }
.vr-site.is-open .vr-site-mark { color: #ff6b6b; background: rgba(255, 85, 85, 0.1); box-shadow: inset 0 0 0 2px rgba(255, 85, 85, 0.35); }
.vr-site.is-done { box-shadow: inset 0 0 0 2px rgba(128, 255, 32, 0.3), inset 4px 4px 0 rgba(0, 0, 0, 0.45); }
/* Owner-Skip: freigeschaltet ohne echten Vote (gold statt grün). */
.vr-site.is-skipped .vr-site-mark { color: #ffd84d; background: rgba(255, 216, 77, 0.12); box-shadow: inset 0 0 0 2px rgba(255, 216, 77, 0.45); }
.vr-site.is-skipped { box-shadow: inset 0 0 0 2px rgba(255, 216, 77, 0.3), inset 4px 4px 0 rgba(0, 0, 0, 0.45); }
.vr-owner-skip { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; padding: 12px 14px; background: rgba(0, 0, 0, 0.32); box-shadow: inset 0 0 0 2px rgba(255, 216, 77, 0.35); }
.vr-owner-skip .vr-sub { margin: 0; flex: 1 1 220px; }
.vr-owner-skip .btn[disabled] { opacity: 0.6; cursor: wait; }

.vr-teaser { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; padding: 12px 14px; background: rgba(0, 0, 0, 0.32); box-shadow: inset 0 0 0 2px #2a2138; }
.vr-teaser-cards { display: flex; gap: 6px; }
.vr-teaser-cards .vr-mini-card { width: 36px; height: 50px; filter: grayscale(0.7) brightness(0.7); }
.vr-teaser-cards .vr-mini-card::after { content: ""; background: url("../img/minecraft/item/trial_key.png") center / 18px 18px no-repeat; opacity: 0.55; }
.vr-teaser p { margin: 0; flex: 1 1 220px; color: #e6def4; font-weight: 700; line-height: 1.45; }

.vr-legend { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }
.vr-legend li {
  display: inline-flex; align-items: center; gap: 7px; padding: 5px 9px; font-size: 0.74rem; font-weight: 900; letter-spacing: 0.04em; color: var(--vr-c, #aaa);
  background: rgba(0, 0, 0, 0.45); box-shadow: inset 0 0 0 2px rgba(var(--vr-c-rgb, 170, 170, 170), 0.45); text-shadow: 2px 2px 0 rgba(0, 0, 0, 0.7);
}
.vr-legend li::before { content: ""; width: 9px; height: 9px; background: var(--vr-c, #aaa); box-shadow: 2px 2px 0 rgba(0, 0, 0, 0.6); }
.vr-legend li span { color: #cfc6e2; font-weight: 700; }

/* ---------- Karten ---------- */
.vr-stage { position: relative; }
.vr-hint { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 0 0 4px; color: #e9d5ff; font-weight: 800; text-align: center; text-shadow: 2px 2px 0 rgba(0, 0, 0, 0.6); }
.vr-cards { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(3, minmax(0, 218px)); justify-content: center; gap: clamp(10px, 2.4vw, 26px); padding: 22px 0 14px; }
.vr-fx { position: absolute; inset: -30px -10px; z-index: 3; width: calc(100% + 20px); height: calc(100% + 60px); pointer-events: none; }

.vr-card {
  --vr-c: #aaaaaa; --vr-c-rgb: 170, 170, 170; --vr-c-dark: #2a2a2a;
  position: relative; display: block; width: 100%; aspect-ratio: 5 / 7; padding: 0; margin: 0; border: 0; background: none; color: inherit; font: inherit; text-align: center;
  cursor: pointer; -webkit-tap-highlight-color: transparent; outline: none; transition: transform 0.28s cubic-bezier(0.2, 0.9, 0.25, 1.2), opacity 0.35s ease, filter 0.35s ease;
  animation: vr-deal 0.55s cubic-bezier(0.2, 0.9, 0.25, 1.15) backwards; animation-delay: calc(var(--vr-i, 0) * 0.12s);
}
.vr-card[data-rarity="rare"] { --vr-c: #55ff55; --vr-c-rgb: 85, 255, 85; --vr-c-dark: #0f3b12; }
.vr-card[data-rarity="epic"] { --vr-c: #c084fc; --vr-c-rgb: 192, 132, 252; --vr-c-dark: #33104f; }
.vr-card[data-rarity="mythic"] { --vr-c: #ff4fa0; --vr-c-rgb: 255, 79, 160; --vr-c-dark: #4d0a25; }
.vr-card[data-rarity="legendary"] { --vr-c: #ffaa00; --vr-c-rgb: 255, 170, 0; --vr-c-dark: #4a2c00; }
.vr-card-float { position: absolute; inset: 0; perspective: 1100px; animation: vr-bob 3.4s ease-in-out infinite; animation-delay: calc(var(--vr-i, 0) * -1.1s); }
.vr-card-shadow { position: absolute; left: 12%; right: 12%; bottom: -16px; height: 14px; background: rgba(0, 0, 0, 0.45); filter: blur(4px); transition: transform 0.3s ease, opacity 0.3s ease; }
.vr-card-glow { position: absolute; inset: 4%; background: rgba(var(--vr-c-rgb), 0.75); filter: blur(26px); opacity: 0; transition: opacity 0.45s ease, transform 0.45s ease; }
.vr-card-inner { position: absolute; inset: 0; transform-style: preserve-3d; transition: transform 0.7s cubic-bezier(0.25, 0.9, 0.3, 1.18); }
.vr-card.is-revealed .vr-card-inner { transform: rotateY(180deg); }
.vr-card.is-revealed .vr-card-glow { opacity: 0.55; }
.vr-card[data-rarity="mythic"].is-revealed .vr-card-glow, .vr-card[data-rarity="legendary"].is-revealed .vr-card-glow { opacity: 0.8; animation: vr-glow-pulse 1.8s ease-in-out infinite; }

.vr-face { position: absolute; inset: 0; overflow: hidden; backface-visibility: hidden; -webkit-backface-visibility: hidden; clip-path: var(--px-clip-lg, none); image-rendering: pixelated; }
.vr-back {
  display: grid; place-items: center;
  background:
    radial-gradient(circle at 50% 46%, rgba(155, 92, 246, 0.45), transparent 58%),
    linear-gradient(180deg, rgba(14, 4, 30, 0.35), rgba(6, 2, 14, 0.8)),
    var(--tex-obsidian, none) 0 0 / 44px 44px;
  box-shadow: inset 0 0 0 4px #07040c, inset 0 0 0 8px #2a0b4d, inset 0 0 0 10px #07040c, inset 10px 10px 0 4px rgba(255, 255, 255, 0.07), inset -10px -10px 0 4px rgba(0, 0, 0, 0.45);
}
.vr-back::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(115deg, transparent 30%, rgba(233, 213, 255, 0.22) 45%, rgba(255, 255, 255, 0.05) 50%, transparent 62%) -200% 0 / 260% 100% no-repeat;
  animation: vr-shine 4.2s linear infinite; animation-delay: calc(var(--vr-i, 0) * 0.7s);
}
.vr-back-emblem { position: relative; display: grid; justify-items: center; gap: 8px; }
.vr-back-emblem img { width: 74%; max-width: 128px; aspect-ratio: 1; object-fit: contain; image-rendering: auto; filter: drop-shadow(0 0 14px rgba(155, 92, 246, 0.8)) drop-shadow(3px 3px 0 rgba(0, 0, 0, 0.6)); }
.vr-back-emblem span { padding: 3px 10px; font-size: 0.68rem; font-weight: 900; letter-spacing: 0.18em; text-transform: uppercase; color: #e9d5ff; background: rgba(0, 0, 0, 0.55); box-shadow: inset 0 0 0 2px #3b0f6e; text-shadow: 2px 2px 0 #000; }
.vr-back-corner { position: absolute; width: 10px; height: 10px; background: #c084fc; box-shadow: 0 0 8px rgba(192, 132, 252, 0.9); }
.vr-back-corner.c1 { left: 16px; top: 16px; } .vr-back-corner.c2 { right: 16px; top: 16px; }
.vr-back-corner.c3 { left: 16px; bottom: 16px; } .vr-back-corner.c4 { right: 16px; bottom: 16px; }

.vr-front {
  transform: rotateY(180deg); display: grid; grid-template-rows: auto auto minmax(0, 1fr) auto auto; justify-items: center; gap: 6px; padding: 16px 12px 14px;
  background:
    radial-gradient(circle at 50% 42%, rgba(var(--vr-c-rgb), 0.42), transparent 62%),
    linear-gradient(180deg, rgba(var(--vr-c-rgb), 0.3), rgba(8, 5, 12, 0.92) 80%),
    linear-gradient(rgba(10, 7, 16, 0.5), rgba(10, 7, 16, 0.5)),
    var(--tex-deepslate, none) 0 0 / 48px 48px;
  box-shadow: inset 0 0 0 4px #050308, inset 0 0 0 8px var(--vr-c), inset 0 0 0 10px #050308, inset 12px 12px 0 4px rgba(255, 255, 255, 0.08), inset -12px -12px 0 4px rgba(0, 0, 0, 0.45);
}
.vr-rarity {
  margin-top: 4px; padding: 4px 10px; font-size: clamp(0.62rem, 1.4vw, 0.8rem); font-weight: 900; letter-spacing: 0.16em; text-transform: uppercase; color: var(--vr-c);
  background: rgba(0, 0, 0, 0.6); box-shadow: inset 0 0 0 2px rgba(var(--vr-c-rgb), 0.6); text-shadow: 2px 2px 0 #000;
}
.vr-pips { display: flex; gap: 4px; }
.vr-pips i { width: 8px; height: 8px; background: rgba(255, 255, 255, 0.12); box-shadow: 2px 2px 0 rgba(0, 0, 0, 0.6); }
.vr-pips i.on { background: var(--vr-c); box-shadow: 0 0 6px rgba(var(--vr-c-rgb), 0.9), 2px 2px 0 rgba(0, 0, 0, 0.6); }
.vr-icon-wrap { position: relative; display: grid; place-items: center; width: 100%; min-height: 0; }
.vr-icon-wrap::before {
  content: ""; position: absolute; width: 78%; aspect-ratio: 1; opacity: 0.0;
  background: repeating-conic-gradient(from 0deg, rgba(var(--vr-c-rgb), 0.38) 0deg 12deg, transparent 12deg 30deg);
  -webkit-mask: radial-gradient(circle, #000 30%, transparent 68%); mask: radial-gradient(circle, #000 30%, transparent 68%);
}
.vr-card[data-rarity="epic"] .vr-icon-wrap::before, .vr-card[data-rarity="mythic"] .vr-icon-wrap::before, .vr-card[data-rarity="legendary"] .vr-icon-wrap::before { opacity: 1; animation: vr-spin 9s linear infinite; }
.vr-card[data-rarity="legendary"] .vr-icon-wrap::before { animation-duration: 5s; }
.vr-icon { position: relative; width: clamp(48px, 42%, 92px); aspect-ratio: 1; image-rendering: pixelated; object-fit: contain; filter: drop-shadow(4px 4px 0 rgba(0, 0, 0, 0.55)) drop-shadow(0 0 10px rgba(var(--vr-c-rgb), 0.55)); }
.vr-icon-spawner { position: relative; width: clamp(54px, 48%, 100px); aspect-ratio: 1; }
.vr-icon-spawner .vr-icon-block { position: absolute; inset: 0; width: 100%; height: 100%; image-rendering: pixelated; filter: drop-shadow(4px 4px 0 rgba(0, 0, 0, 0.55)) drop-shadow(0 0 10px rgba(var(--vr-c-rgb), 0.5)); }
.vr-icon-spawner .vr-icon-egg { position: absolute; right: -10%; bottom: -10%; width: 56%; height: 56%; image-rendering: pixelated; filter: drop-shadow(3px 3px 0 rgba(0, 0, 0, 0.7)); }
.vr-label { font-size: clamp(0.82rem, 2vw, 1.15rem); font-weight: 900; line-height: 1.15; color: #fff; text-shadow: 2px 2px 0 #000, 0 0 10px rgba(var(--vr-c-rgb), 0.55); overflow-wrap: anywhere; }
.vr-detail { font-size: clamp(0.62rem, 1.4vw, 0.78rem); font-weight: 700; color: #d6cce8; text-shadow: 1px 1px 0 #000; }
.vr-front::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0;
  background: linear-gradient(115deg, transparent 35%, rgba(255, 255, 255, 0.35) 48%, transparent 60%) -200% 0 / 260% 100% no-repeat;
}
.vr-card.is-revealed .vr-front::after { opacity: 1; animation: vr-shine 1.1s ease-out 0.35s 1 both; }
.vr-card[data-rarity="legendary"].is-revealed .vr-front::after { animation: vr-shine 2.6s linear 0.35s infinite; }

.vr-card:hover .vr-card-float, .vr-card:focus-visible .vr-card-float { animation-play-state: paused; }
.vr-card.is-revealed:hover, .vr-card.is-revealed:focus-visible { transform: translateY(-6px); }
.vr-card:focus-visible .vr-face { outline: 3px solid #fff; outline-offset: -3px; }
.vr-card.is-armed { transform: translateY(-14px) scale(1.05); z-index: 2; }
.vr-card.is-armed .vr-card-glow { opacity: 1; transform: scale(1.08); }
.vr-card.is-armed .vr-card-shadow { transform: scale(0.85); opacity: 0.6; }
.vr-cards.has-armed .vr-card:not(.is-armed) { opacity: 0.55; filter: saturate(0.6); transform: scale(0.96); }
.vr-cards.is-busy .vr-card { cursor: progress; }
.vr-cards.is-final .vr-card { cursor: default; }
.vr-card.is-chosen { transform: translateY(-8px) scale(1.06); z-index: 2; }
.vr-card.is-chosen .vr-card-float { animation: vr-chosen 1.6s ease-in-out infinite; }
.vr-card.is-chosen .vr-card-glow { opacity: 1; animation: vr-glow-pulse 1.4s ease-in-out infinite; }
.vr-card.is-dimmed { opacity: 0.32; filter: grayscale(0.75) brightness(0.7); transform: scale(0.88); }
.vr-card.is-dimmed .vr-card-float { animation-play-state: paused; }

.vr-confirm {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px 14px; margin: 6px auto 0; padding: 12px 14px; max-width: 760px;
  background: rgba(0, 0, 0, 0.5); box-shadow: inset 0 0 0 2px rgba(var(--vr-c-rgb, 192, 132, 252), 0.65), inset 4px 4px 0 rgba(0, 0, 0, 0.45);
  animation: vr-pop 0.25s ease-out both;
}
.vr-confirm[hidden] { display: none; }
.vr-confirm p { margin: 0; font-weight: 800; text-align: center; }
.vr-confirm p b { color: var(--vr-c, #c084fc); text-shadow: 2px 2px 0 #000; }
.vr-confirm p small { display: block; color: var(--v2-muted, #b3a9c9); font-weight: 700; }
.vr-confirm .btn { min-height: 44px; }

/* ---------- abgeholt ---------- */
.vr-claimed { display: grid; grid-template-columns: minmax(150px, 210px) minmax(0, 1fr); gap: 24px; align-items: center; }
.vr-claimed .vr-cards { grid-template-columns: minmax(0, 210px); padding: 22px 0 20px; }
.vr-claimed .vr-card { animation: none; cursor: default; }
.vr-claim-info { display: grid; gap: 12px; }
.vr-claim-info h3 { margin: 0; font-size: 1.25rem; }
.vr-claim-info h3 b { color: var(--vr-c, #fff); }
.vr-status {
  display: inline-flex; align-items: center; gap: 10px; justify-self: start; padding: 9px 12px; font-weight: 800; line-height: 1.4;
  background: rgba(0, 0, 0, 0.45); box-shadow: inset 0 0 0 2px #2a2138, inset 4px 4px 0 rgba(0, 0, 0, 0.45);
}
.vr-status img { width: 24px; height: 24px; image-rendering: pixelated; flex: none; }
.vr-status.is-delivered { color: #b9ff8a; box-shadow: inset 0 0 0 2px rgba(128, 255, 32, 0.5), inset 4px 4px 0 rgba(0, 0, 0, 0.45); }
.vr-status.is-pending { color: #f3e8ff; box-shadow: inset 0 0 0 2px rgba(192, 132, 252, 0.55), inset 4px 4px 0 rgba(0, 0, 0, 0.45); }
.vr-status.is-failed { color: #fecdd3; box-shadow: inset 0 0 0 2px rgba(251, 113, 133, 0.6), inset 4px 4px 0 rgba(0, 0, 0, 0.45); }
.vr-status.is-pending img { animation: vr-tick 1.2s steps(2, end) infinite; }
.vr-countdown { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 10px; color: var(--v2-muted, #b3a9c9); font-weight: 700; }
.vr-countdown strong { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 1.35rem; color: #fff; letter-spacing: 0.06em; text-shadow: 2px 2px 0 #000; }
/* Frist in der Kartenansicht: nicht gewählte Karten verfallen um 00:00 */
.vr-deadline { justify-content: center; margin: 0 0 4px; text-align: center; font-size: 0.92rem; }
.vr-deadline strong { font-size: 1.1rem; }

.vr-flash { position: absolute; inset: 0; z-index: 2; pointer-events: none; opacity: 0; background: radial-gradient(circle at 50% 55%, rgba(var(--vr-flash-rgb, 255, 170, 0), 0.55), transparent 65%); }
.vr-flash.is-on { animation: vr-flash 1.1s ease-out 1 both; }

/* ---------- Animationen ---------- */
@keyframes vr-deal { from { opacity: 0; transform: translateY(-46px) rotate(-9deg) scale(0.9); } to { opacity: 1; transform: none; } }
@keyframes vr-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
@keyframes vr-shine { from { background-position: -200% 0; } to { background-position: 200% 0; } }
@keyframes vr-spin { to { transform: rotate(360deg); } }
@keyframes vr-glow-pulse { 0%, 100% { opacity: 0.55; transform: scale(1); } 50% { opacity: 1; transform: scale(1.1); } }
@keyframes vr-chosen { 0%, 100% { transform: translateY(0) scale(1); } 50% { transform: translateY(-4px) scale(1.025); } }
@keyframes vr-pop { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@keyframes vr-flash { 0% { opacity: 0; } 15% { opacity: 1; } 100% { opacity: 0; } }
@keyframes vr-shake { 0%, 100% { transform: none; } 20% { transform: translate(-4px, 2px); } 40% { transform: translate(4px, -2px); } 60% { transform: translate(-3px, -1px); } 80% { transform: translate(3px, 1px); } }
@keyframes vr-tick { 50% { transform: rotate(180deg); } }

/* ---------- Responsive ---------- */
@media (max-width: 820px) {
  .vr-sites { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .vr-claimed { grid-template-columns: minmax(0, 1fr); justify-items: center; text-align: center; }
  .vr-claimed .vr-status { justify-self: center; }
  .vr-claimed .vr-countdown { justify-content: center; }
  .vr-claimed .vr-cards { grid-template-columns: minmax(0, 190px); }
}
@media (max-width: 560px) {
  .vr-panel { padding: 16px 12px 18px; }
  .vr-sites { grid-template-columns: minmax(0, 1fr); }
  .vr-locked { grid-template-columns: minmax(0, 1fr); justify-items: center; text-align: center; }
  .vr-cards { gap: 8px; padding-top: 16px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .vr-front { padding: 10px 6px 10px; gap: 4px; }
  .vr-rarity { letter-spacing: 0.06em; padding: 3px 5px; }
  .vr-pips i { width: 5px; height: 5px; }
  .vr-back-emblem span { display: none; }
  .vr-back-corner { width: 6px; height: 6px; }
  .vr-back-corner.c1, .vr-back-corner.c3 { left: 10px; }
  .vr-back-corner.c2, .vr-back-corner.c4 { right: 10px; }
  .vr-back-corner.c1, .vr-back-corner.c2 { top: 10px; }
  .vr-back-corner.c3, .vr-back-corner.c4 { bottom: 10px; }
  .vr-confirm .btn { flex: 1 1 100%; }
}
/* Handy: Karten in einer wischbaren Reihe (ca. 1,5 Karten sichtbar) statt drei winziger Spalten */
@media (max-width: 480px) {
  .vr-stage .vr-cards { display: flex; gap: 12px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scroll-padding-inline: 12px; justify-content: flex-start; padding: 18px 12px 22px; margin: 0 -12px; scrollbar-width: thin; }
  .vr-stage .vr-cards .vr-card { flex: 0 0 min(60vw, 220px); scroll-snap-align: center; }
  .vr-claimed .vr-stage .vr-cards { justify-content: center; overflow: visible; }
  .vr-front { padding: 14px 10px 12px; gap: 6px; }
  .vr-rarity { letter-spacing: 0.12em; padding: 4px 8px; }
  .vr-pips i { width: 7px; height: 7px; }
  .vr-back-emblem span { display: inline-block; }
}
@media (hover: none) {
  .vr-card.is-revealed:hover { transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .vr-card, .vr-card-inner, .vr-card-glow, .vr-xp-fill, .vr-site, .vr-icon-btn { transition: none !important; }
  .vr-card, .vr-card-float, .vr-back::before, .vr-front::after, .vr-icon-wrap::before, .vr-card-glow, .vr-confirm, .vr-status img, .vr-panel.is-shaking, .vr-flash.is-on { animation: none !important; }
  .vr-flash { display: none; }
}
