/* cs-prizes.css — the prize counter section of /coin-store (2026-11-13). Markup: ./cs-prizes.js.
   Cards reuse .cs-item / .cs-grid / .cs-btn from coin-store.css; only the section chrome is here. */
.cs-prizes { margin: 26px 0 8px; padding: 18px 16px 20px; border-radius: 18px; background: #2b1708; box-shadow: inset 0 0 0 2px #ffd23f; }
.cs-prizes__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 18px; }
.cs-prizes__title { flex: 1 1 260px; }
.cs-prizes__title h2 { margin: 0 0 4px; font-size: 1.6rem; letter-spacing: -.01em; color: #ffe9a8; }
.cs-prizes__title p { margin: 0; color: #e9d3ae; font-size: .95rem; max-width: 52ch; }
.cs-prizes__bank { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 10px; background: #ffd23f; color: #3b1608;
  border-left: 3px dotted #3b1608; border-right: 3px dotted #3b1608; }
.cs-prizes__bank b { font-size: 1.9rem; line-height: 1; font-variant-numeric: tabular-nums; }
.cs-prizes__bank small { font-weight: 700; font-size: .85rem; }
.cs-prizes__bank .cs-tix__ico svg, .cs-prizes__bank .cs-tix__ico .cs-art { width: 30px; height: 30px; }
.cs-tix__ico { display: inline-flex; }
.cs-tix .cs-tix__ico svg, .cs-tix .cs-tix__ico .cs-art { width: 18px; height: 18px; }
.cs-prizes__facts { display: flex; flex-wrap: wrap; gap: 6px 10px; margin: 14px 0 4px; }
.cs-prizes__facts p { margin: 0; padding: 6px 10px; border-radius: 8px; background: #3d2410; color: #f3e2c3; font-size: .88rem; }
.cs-prizes__facts .is-ready { background: #ffd23f; color: #3b1608; }
.cs-prizes__facts .cs-linkbtn { color: inherit; font-weight: 800; text-decoration: underline; }
.cs-cart { margin-top: 16px; padding: 12px; border-radius: 14px; background: #3d2410; box-shadow: inset 0 0 0 2px #ff7a59; }
.cs-cart__head, .cs-prizes__wallhead { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 12px; margin: 0 0 10px; }
.cs-prizes__wallhead { margin-top: 18px; }
.cs-cart__head h3, .cs-prizes__wallhead h3 { margin: 0; font-size: 1.15rem; color: #ffe9a8; }
.cs-cart__head p, .cs-prizes__wallhead p { margin: 0; color: #e9d3ae; font-size: .88rem; }
.cs-cart__head span { font-variant-numeric: tabular-nums; font-weight: 700; color: #ffd23f; }
@media (min-width: 720px) {
  .cs-prizes { padding: 22px 22px 24px; }
  .cs-grid--cart { grid-template-columns: repeat(2, minmax(0, 320px)); }
}

/* ---- prize art: a transparent 3D render sitting in the tier-coloured well ---- */
:is(.cs-item__art, .cs-feat__art, .cs-deal__art, .cs-bigart):has(> .cs-photo) { padding: 3%; }
:is(.cs-item__art, .cs-feat__art, .cs-deal__art, .cs-bigart) > .cs-art.cs-photo { width: 100%; height: 100%; max-width: none; aspect-ratio: auto; object-fit: contain; display: block; }
.cs-prizes .cs-item__art { aspect-ratio: 1; cursor: default;
  background: radial-gradient(circle at 50% 34%, color-mix(in srgb, var(--tc) 46%, #2a1a52) 0%, #1a1036 72%); }
.cs-prizes .cs-item__art::after { content: ""; position: absolute; inset: 0; pointer-events: none; border-radius: inherit;
  box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--tc) 55%, transparent), inset 0 16px 20px -16px #ffffff2e; }
.cs-photo { transition: transform .35s ease; filter: drop-shadow(0 6px 10px #00000055); }
.cs-prizes .cs-item:not(.is-owned) .cs-item__art:hover .cs-photo { transform: scale(1.06) rotate(-2deg); }
.cs-plate--over { position: absolute; left: 0; right: 0; bottom: 7%; width: auto; padding: 0 8%; font-size: clamp(.95rem, 4.6vw, 1.25rem); z-index: 1; }
.cs-prizes__bankpic { width: 58px; height: 58px; margin: -8px -4px -8px -8px; object-fit: contain; filter: drop-shadow(0 2px 3px #3b160866); }
@media (prefers-reduced-motion: reduce) { .cs-photo { transition: none; } .cs-prizes .cs-item__art:hover .cs-photo { transform: none; } }
