.fc-scene{position:relative;display:grid;gap:.8rem;padding:.6rem;border-radius:14px;background:radial-gradient(520px 300px at 50% 50%,rgba(190,110,255,.2),transparent 70%)}
.fc-head{text-align:center;line-height:1.05}
.fc-head span{display:block;font-size:clamp(1.5rem,1rem + 2.4vw,2.6rem);font-weight:900;color:#fff;text-shadow:0 0 24px rgba(220,150,255,.6),0 2px 0 rgba(0,0,0,.4);transition:transform .2s}
.fc-head span.bump{transform:scale(1.08)}
.fc-head small{display:block;margin-top:.3rem;font-size:.78rem;letter-spacing:.14em;text-transform:uppercase;color:#e2c8ff;font-weight:800}
.fc-grid{display:grid;grid-template-columns:repeat(3,minmax(0,7.4rem));gap:.8rem;justify-content:center;perspective:900px}
.fc-card{--i:0;position:relative;aspect-ratio:5/7;padding:0;border:0;background:none;cursor:default;transition:transform .45s cubic-bezier(.3,1.4,.5,1),opacity .35s;transform:translateY(0) rotate(calc((var(--i) - 4) * .6deg))}
.fc-card.gone{opacity:0;transform:translateY(-40px) scale(.8) rotate(-8deg)}
.fc-card:not(:disabled){cursor:pointer}
.fc-card:not(:disabled):hover,.fc-card:not(:disabled):focus-visible{transform:translateY(-8px) scale(1.04)}
.fc-card:focus-visible{outline:3px solid #ffd27a;outline-offset:4px;border-radius:12px}
.fc-card.picked{transform:translateY(-10px) scale(1.05)}
.fc-card.picked .fc-back{box-shadow:0 0 0 3px #ffd27a,0 0 26px rgba(255,210,120,.8)}
.fc-in{position:absolute;inset:0;transform-style:preserve-3d;transition:transform .6s cubic-bezier(.3,1.3,.5,1)}
.fc-card.up .fc-in{transform:rotateY(180deg)}
.fc-back,.fc-face{position:absolute;inset:0;border-radius:12px;backface-visibility:hidden;-webkit-backface-visibility:hidden;display:grid;place-items:center;overflow:hidden}
.fc-back{background:radial-gradient(circle at 50% 40%,#5b2d9e,#2a1257 70%,#1a0a3a);box-shadow:0 8px 18px rgba(0,0,0,.45);border:1px solid rgba(232,195,106,.6)}
.fc-back svg{width:88%;height:88%}
.fc-back::after{content:"";position:absolute;inset:0;background:linear-gradient(115deg,transparent 40%,rgba(255,255,255,.18) 50%,transparent 60%);background-size:250% 100%;animation:fcShine 3.5s linear infinite}
@keyframes fcShine{from{background-position:120% 0}to{background-position:-120% 0}}
.fc-face{transform:rotateY(180deg);background:linear-gradient(180deg,#24124a,#140a2c);border:2px solid #e8c36a;color:#fff;grid-template-rows:1fr auto auto;padding:.4rem .2rem .5rem;box-shadow:0 8px 18px rgba(0,0,0,.45)}
.fc-face svg{width:72%;height:auto;filter:drop-shadow(0 0 8px currentColor)}
.fc-face b{font-size:1.25rem;font-weight:900;color:#ffe9a6}
.fc-face small{font-size:.68rem;letter-spacing:.08em;text-transform:uppercase;color:#cdb8f5}
.fc-card.hot .fc-face{animation:fcHot 1s ease-in-out 3;border-color:#ffd700}
@keyframes fcHot{50%{box-shadow:0 0 30px 6px rgba(255,215,0,.75)}}
.fc-card.dim{opacity:.45;transform:scale(.94)}
.fc-tally{display:flex;align-items:center;justify-content:center;gap:.4rem;flex-wrap:wrap;font-weight:900;color:#e2c8ff}
.fc-tally .slot{min-width:3.6rem;text-align:center;padding:.3rem .5rem;border-radius:10px;background:rgba(255,255,255,.07);border:1px solid rgba(255,255,255,.16);color:#9d8bc4;transition:transform .2s,background .2s}
.fc-tally .slot.on{background:rgba(232,195,106,.2);color:#ffe9a6;border-color:#e8c36a;transform:scale(1.06)}
.fc-tally b{font-size:1.5rem;color:#fff;min-width:4rem;text-align:center}
.fc-pay summary{cursor:pointer;color:#cdd8ff;font-weight:700}
.fc-pay ul{list-style:none;padding:0;margin:.5rem 0 0;display:grid;gap:.25rem}
.fc-pay li{display:grid;grid-template-columns:1fr auto 3.6rem;gap:.5rem;font-size:.88rem;color:#dfe6ff}
.fc-pay li small{color:#98a9d6;text-align:right}
@media (max-width:40rem){.fc-grid{grid-template-columns:repeat(3,minmax(0,6.2rem));gap:.55rem}.fc-face b{font-size:1rem}.fc-face small{font-size:.58rem}.fc-tally .slot{min-width:3rem;font-size:.85rem}}

/* tap targets >= 44px */
.pm[data-pm="fortune-cards"] button:not(.pm-chip):not(.pm-icon):not(.g3-x){min-height:44px}
