/* Last Candle slot */
.lc-machine { width: 100%; max-width: 620px; padding: 14px 16px 16px; border-radius: 22px; background: linear-gradient(180deg, #2b1636, #120a18); border: 3px solid #6b4a2b; box-shadow: 0 0 0 3px #1c0f08, 0 24px 60px rgba(0,0,0,.55); display: flex; flex-direction: column; gap: 10px; transition: border-color .4s, box-shadow .4s; }
.lc-machine.rite { border-color: #ffb347; background: linear-gradient(180deg, #4a1a08, #160602); box-shadow: 0 0 0 3px #1c0f08, 0 0 50px #ff7a1a88; }
.lc-machine.snuff { animation: shake .4s; }
.lc-machine.big { box-shadow: 0 0 0 3px #ffc94a, 0 0 60px #ffc94a99; }
.lc-title { text-align: center; font-family: Georgia, "Times New Roman", serif; font-weight: 700; letter-spacing: 8px; font-size: 26px; color: #ffd9a0; text-shadow: 0 0 14px #ff7a1a, 0 3px 0 #3a1405; }
.lc-hud { display: flex; justify-content: space-between; align-items: center; min-height: 30px; }
.lc-flames { display: flex; gap: 4px; font-size: 22px; align-items: center; }
.lc-flames .muted { font-size: 12px; font-weight: 700; letter-spacing: 1px; }
.lc-flame { filter: grayscale(1) brightness(.35); transition: filter .3s, transform .3s; }
.lc-flame.lit { filter: drop-shadow(0 0 6px #ff9d1a); animation: flicker .6s ease-in-out infinite alternate; }
@keyframes flicker { to { transform: scale(1.12) translateY(-1px); } }
.lc-mult { font-weight: 800; padding: 5px 14px; border-radius: 999px; background: #ffffff12; color: var(--muted); }
.lc-mult.hot { background: #ffb347; color: #3a1d00; box-shadow: 0 0 16px #ffb34788; }
.lc-mult.bump { animation: bump2 .35s; }
@keyframes bump2 { 50% { transform: scale(1.18); } }
.lc-board { position: relative; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; padding: 8px; background: #08040b; border-radius: 14px; overflow: hidden; }
.lc-board.quake { animation: shake .15s 6; }
.lc-reel { display: grid; grid-template-rows: repeat(3, auto); gap: 6px; align-content: start; min-width: 0; border-radius: 10px; }
.lc-reel.surging { box-shadow: 0 0 24px 6px #5dffb0; }
.lc-cell { aspect-ratio: 1; min-width: 0; padding: 7%; border-radius: 10px; background: radial-gradient(circle at 50% 35%, #33233f, #1a1022); box-shadow: inset 0 0 0 1px #ffffff12; transition: filter .2s, opacity .2s; }
.lc-cell svg { width: 100%; height: 100%; display: block; }
.lc-cell.s-witch, .lc-cell.s-warden, .lc-cell.s-prophet { box-shadow: inset 0 0 0 2px #d9b25f77; }
.lc-cell.s-raven { background: radial-gradient(circle, #4b1f74, #180a28); box-shadow: inset 0 0 0 2px #c77dff; }
.lc-cell.s-candle { background: radial-gradient(circle, #6a3508, #1f0e02); box-shadow: inset 0 0 0 2px #ffb347; }
.lc-cell.hit { background: radial-gradient(circle, #8a6a12, #2c2004); box-shadow: inset 0 0 0 3px #ffd34d, 0 0 18px #ffc94a; animation: hitPulse .35s ease-in-out infinite alternate; }
@keyframes hitPulse { to { filter: brightness(1.4); } }
.lc-cell.dim { filter: brightness(.45); }
.lc-cell.flare { animation: flare .5s ease-in-out infinite alternate; }
@keyframes flare { to { filter: brightness(1.45) drop-shadow(0 0 8px #ffb347); } }
.lc-fx { position: absolute; inset: 0; pointer-events: none; z-index: 3; }
.lc-bird { position: absolute; left: 0; top: 0; width: 44px; height: 44px; margin: -22px 0 0 -22px; display: grid; place-items: center; font-size: 36px; filter: drop-shadow(0 0 10px #c77dff); }
.lc-banner { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%) scale(.6); opacity: 0; pointer-events: none; z-index: 4; text-align: center; padding: 14px 22px; min-width: 60%; border-radius: 14px; background: #0b0510ee; border: 2px solid #8a6a9f; transition: opacity .15s, transform .25s cubic-bezier(.3,1.6,.5,1); }
.lc-banner.show { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.lc-banner b { display: block; font-family: Georgia, serif; font-size: 28px; letter-spacing: 2px; }
.lc-banner span { color: var(--muted); font-weight: 700; font-size: 13px; }
.lc-banner.small { top: auto; bottom: 4%; transform: translate(-50%, 0); padding: 6px 16px; border-color: #ffd34d; }
.lc-banner.small b { font-size: 20px; color: #ffd34d; }
.lc-banner.gold { border-color: #ffb347; box-shadow: 0 0 50px #ff7a1a99; } .lc-banner.gold b { color: #ffc94a; }
.lc-banner.green { border-color: #5dffb0; } .lc-banner.green b { color: #5dffb0; }
.lc-banner.purple { border-color: #c77dff; top: 18%; } .lc-banner.purple b { color: #c77dff; }
.lc-foot { display: flex; justify-content: space-between; align-items: center; background: #08040b; border-radius: 10px; padding: 10px 16px; }
.lc-foot span { color: #b89ac8; font-weight: 800; letter-spacing: 2px; font-size: 12px; }
.lc-win { font-size: 26px; font-weight: 800; color: #ffd34d; font-variant-numeric: tabular-nums; }
.lc-buy { background: linear-gradient(120deg, #ffb347, #ff7a1a); color: #2a1000; }
.lc-rules summary { cursor: pointer; font-weight: 700; color: var(--muted); }
.lc-rules p { font-size: 12px; color: var(--muted); line-height: 1.5; margin: 8px 0 0; }
.lc-rules p b { color: #fff; }
.lc-pays { display: flex; flex-direction: column; gap: 4px; margin-top: 8px; }
.lc-pay { display: flex; gap: 8px; align-items: center; background: var(--input); border-radius: 8px; padding: 4px 8px; font-size: 12px; }
.lc-pay small { display: block; color: var(--muted); }
.lc-ico { width: 34px; height: 34px; flex-shrink: 0; } .lc-ico svg { width: 100%; height: 100%; }

@media (max-width: 760px) {
  .lc-machine { padding: 10px 8px; }
  .lc-title { font-size: 19px; letter-spacing: 4px; }
  .lc-board { gap: 4px; padding: 5px; } .lc-reel { gap: 6px; }
  .lc-banner b { font-size: 20px; } .lc-flames { font-size: 17px; } .lc-mult { font-size: 12px; }
}
