/* カジノのスロット(2026-10-01) */
.slot-root { position: fixed; inset: 0; z-index: 40; background: #050205e6; display: flex; align-items: center; justify-content: center; transition: background .2s; }
.slot-root.freeze { background: #000; }
.slot-root.freeze .slot-box { opacity: .25; filter: grayscale(1); }
.slot-box { width: min(92vw, 520px); padding: 14px 16px 16px; border-radius: 16px; background: linear-gradient(#4a1c40, #240f22); border: 3px solid var(--gold-2); box-shadow: 0 0 0 2px #000, 0 12px 50px #000d, 0 0 40px #c9a24d33; text-align: center; transition: opacity .3s, filter .3s; }
.slot-title { font-size: 20px; font-style: italic; color: var(--gold); font-weight: 700; margin-bottom: 6px; letter-spacing: .2em; }
.slot-lamp { display: inline-block; padding: 4px 22px; border-radius: 20px; font-weight: 800; font-size: 15px; letter-spacing: .15em; color: #5a4020; background: #3a2a1a; border: 2px solid #5a4020; margin-bottom: 8px; transition: all .15s; }
.slot-lamp.on { color: #fff; background: radial-gradient(#ff7a7a, #c01818); border-color: #ffd0d0; box-shadow: 0 0 22px #ff3030, 0 0 50px #ff303088; animation: lampblink .35s infinite alternate; }
.slot-lamp.on.rainbow { animation: rainbow 1s linear infinite; }
@keyframes lampblink { from { filter: brightness(1); } to { filter: brightness(1.6); } }
@keyframes rainbow { 0% { background: radial-gradient(#ff8080, #d01010); } 20% { background: radial-gradient(#ffd080, #d09010); } 40% { background: radial-gradient(#a0ff80, #20b010); } 60% { background: radial-gradient(#80e0ff, #1080d0); } 80% { background: radial-gradient(#d080ff, #7010d0); } 100% { background: radial-gradient(#ff8080, #d01010); } }
.slot-window { position: relative; display: flex; gap: 6px; padding: 8px; border-radius: 12px; background: #0c0610; border: 3px solid #8a6a2a; overflow: hidden; transition: background .25s, box-shadow .25s; }
.slot-box.dark .slot-window { background: #000; }
.slot-box.dark .slot-reel { filter: brightness(.12); }
.slot-reel { flex: 1; display: flex; flex-direction: column; gap: 4px; border-radius: 8px; background: linear-gradient(#e8e0c8, #fff8e0 40%, #fff8e0 60%, #e8e0c8); padding: 4px; transition: filter .25s; }
.slot-reel .cell { height: 62px; display: flex; align-items: center; justify-content: center; font-size: 42px; font-weight: 900; color: #222; line-height: 1; }
.slot-reel .cell.s7 { color: #e01c2c; text-shadow: 0 0 0 #fff, 2px 2px 0 #7a0a14, -1px -1px 0 #ffd0d0; font-size: 52px; font-family: Georgia, serif; }
.slot-reel .cell.sbar { font-size: 28px; color: #111; background: #fff; border-top: 5px solid #111; border-bottom: 5px solid #111; margin: 6px 0; }
.slot-reel.spin .cell { filter: blur(2.2px); animation: reelscroll .14s linear infinite; }
.slot-reel.spin.rev .cell { animation-direction: reverse; }
@keyframes reelscroll { from { transform: translateY(-16px); } to { transform: translateY(16px); } }
.slot-reel.stopped { animation: reelthud .2s; }
@keyframes reelthud { 0% { transform: translateY(-5px); } 100% { transform: translateY(0); } }
.slot-line { position: absolute; left: 6px; right: 6px; top: 50%; height: 0; border-top: 3px solid #ff4040aa; pointer-events: none; transform: translateY(-1px); }
.slot-root.tempai .slot-window { animation: tempai .22s infinite alternate; }
@keyframes tempai { from { box-shadow: 0 0 0 0 #ffe28a00; } to { box-shadow: 0 0 26px 6px #ffe28acc; } }
.slot-window.flash { animation: winflash .3s 4; }
.slot-window.flash-big { animation: bigflash .22s infinite; }
@keyframes winflash { 50% { box-shadow: 0 0 30px 8px #ffe28a; background: #3a2a10; } }
@keyframes bigflash { 0% { box-shadow: 0 0 40px 10px #ff4040; } 25% { box-shadow: 0 0 40px 10px #ffd040; } 50% { box-shadow: 0 0 40px 10px #40ff60; } 75% { box-shadow: 0 0 40px 10px #40c0ff; } 100% { box-shadow: 0 0 40px 10px #c040ff; } }
.slot-banner { min-height: 40px; margin: 10px 0 4px; font-size: 26px; font-weight: 900; color: #ffe28a; text-shadow: 0 0 12px #ff9020, 2px 2px 0 #000; letter-spacing: .08em; }
.slot-banner.pop { animation: bannerpop .35s; }
@keyframes bannerpop { 0% { transform: scale(.5); opacity: 0; } 70% { transform: scale(1.2); } 100% { transform: scale(1); opacity: 1; } }
.slot-result { min-height: 40px; font-size: 14px; color: #f4ecd6; line-height: 1.5; padding: 0 4px; }
.slot-btns { display: flex; gap: 10px; justify-content: center; margin-top: 10px; }
.slot-btns button { min-width: 130px; justify-content: center; text-align: center; }
.slot-fx { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.slot-crown { position: absolute; left: 50%; top: -80px; transform: translateX(-50%); font-size: 96px; filter: drop-shadow(0 0 24px #ffd040); animation: crowndrop 1.1s cubic-bezier(.3, 1.5, .5, 1) forwards; }
@keyframes crowndrop { to { top: 6%; } }

@keyframes payin { from { opacity: 0; transform: translateX(-50%) scale(.3); } to { opacity: 1; transform: translateX(-50%) scale(1); } }
.slot-coin { position: absolute; top: -40px; font-size: 30px; animation-name: coinfall; animation-timing-function: linear; animation-fill-mode: forwards; }
@keyframes coinfall { to { transform: translateY(115vh) rotate(540deg); } }

/* ---- 今どきのスマスロ風の演出(2026-10-01) ---- */
.slot-navi { display: flex; gap: 6px; padding: 0 8px; margin-bottom: 2px; height: 22px; }
.slot-navi span { flex: 1; font-size: 20px; font-weight: 900; color: #ffe28a; text-shadow: 0 0 8px #ff9020; animation: lampblink .4s infinite alternate; }
.slot-steps { display: flex; gap: 8px; justify-content: center; margin: 2px 0 8px; }
.slot-steps .step { width: 34px; height: 22px; border-radius: 11px; background: #2a1a28; border: 2px solid #5a4020; color: #7a6040; font-size: 12px; font-weight: 800; line-height: 18px; transition: all .2s; }
.slot-steps .step.lit { color: #111; border-color: #fff; box-shadow: 0 0 14px currentColor; transform: scale(1.15); }
.rainbow-bg { background: linear-gradient(90deg, #ff6060, #ffd060, #70ff70, #60d0ff, #c070ff) !important; background-size: 200% 100% !important; animation: rainbowslide 1s linear infinite; }
@keyframes rainbowslide { to { background-position: 200% 0; } }
.slot-say { min-height: 22px; margin-top: 8px; font-size: 15px; color: #f4ecd6; font-style: italic; }
.slot-say.pop { animation: bannerpop .35s; }
.slot-swarm { position: absolute; left: -60px; font-size: 40px; animation: swarmfly 1.6s linear forwards; }
@keyframes swarmfly { to { transform: translateX(calc(100vw + 120px)) rotate(10deg); } }
.slot-cutin { position: absolute; left: 0; right: 0; top: 36%; height: 120px; display: flex; flex-direction: column; align-items: center; justify-content: center; color: #111; font-weight: 900; transform: skewY(-4deg); box-shadow: 0 0 30px #000a; animation: cutin .35s cubic-bezier(.2, 1.3, .4, 1); }
.slot-cutin .who { font-size: 18px; letter-spacing: .3em; }
.slot-cutin .word { font-size: 44px; text-shadow: 2px 2px 0 #fff8; }
@keyframes cutin { from { transform: translateX(110%) skewY(-4deg); } to { transform: translateX(0) skewY(-4deg); } }
.slot-battle { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: min(86vw, 420px); padding: 16px 20px; border-radius: 14px; background: #120614f2; border: 3px solid #ff6a3a; box-shadow: 0 0 40px #ff6a3a88; text-align: center; animation: bannerpop .3s; }
.slot-battle .vs { font-size: 26px; font-weight: 900; color: #ffd8a0; margin-bottom: 6px; text-shadow: 0 0 12px #ff6a3a; }
.slot-battle .vs.small { font-size: 14px; margin: 10px 0 2px; }
.slot-battle .hpbar { height: 16px; border-radius: 8px; background: #2a1020; border: 2px solid #8a4a3a; overflow: hidden; }
.slot-battle .hpbar .fill { height: 100%; width: 100%; background: linear-gradient(#ff6a6a, #c02020); transition: width .5s; }
.slot-battle .hpbar.me .fill { background: linear-gradient(#6aa8ff, #2060c0); }
.slot-battle .verdict { margin-top: 12px; min-height: 44px; font-size: 38px; font-weight: 900; }
.slot-battle .verdict.win { color: #ffe28a; text-shadow: 0 0 20px #ff9020; animation: bannerpop .4s; }
.slot-battle .verdict.lose { color: #9aa0b0; animation: bannerpop .4s; }
.slot-zone { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: min(86vw, 420px); padding: 18px 20px; border-radius: 16px; background: linear-gradient(#2a0c40ee, #120620ee); border: 3px solid #ffd040; box-shadow: 0 0 50px #ffd04088; text-align: center; }
.slot-zone .zhead { font-size: 18px; letter-spacing: .15em; color: #ffd040; font-weight: 800; }
.slot-zone .zsum { font-size: 56px; font-weight: 900; color: #fff3b0; text-shadow: 0 0 22px #ff9020, 3px 3px 0 #000; margin: 6px 0; }
.slot-zone .zadd { min-height: 30px; font-size: 24px; font-weight: 800; color: #7affb0; }
.slot-zone .zadd.pop { animation: bannerpop .3s; }
.slot-box { max-height: 100vh; overflow-y: auto; }
@media (max-height: 640px) {
    .slot-reel .cell { height: 44px; font-size: 30px; }
    .slot-reel .cell.s7 { font-size: 38px; }
    .slot-reel .cell.sbar { font-size: 20px; margin: 4px 0; }
    .slot-banner { font-size: 20px; min-height: 28px; margin: 4px 0 2px; }
    .slot-box { padding: 8px 12px 10px; }
    .slot-title { font-size: 16px; margin-bottom: 2px; }
    .slot-lamp { margin-bottom: 2px; padding: 2px 16px; font-size: 13px; }
    .slot-result { min-height: 24px; font-size: 12px; }
}
@media (max-height: 430px) {
    .slot-title { display: none; }
    .slot-reel .cell { height: 30px; font-size: 22px; }
    .slot-reel .cell.s7 { font-size: 28px; }
    .slot-reel .cell.sbar { font-size: 14px; margin: 3px 0; border-width: 3px; }
    .slot-window { padding: 4px; }
    .slot-navi { height: 16px; }
    .slot-navi span { font-size: 14px; }
    .slot-steps { margin: 0 0 3px; }
    .slot-steps .step { height: 18px; line-height: 14px; }
    .slot-say { min-height: 16px; margin-top: 3px; font-size: 12px; }
    .slot-banner { font-size: 18px; min-height: 24px; margin: 2px 0; }
    .slot-result { min-height: 18px; font-size: 11px; }
    .slot-btns { margin-top: 4px; }
    .slot-btns button { min-height: 34px; }
    .slot-lamp { padding: 1px 14px; font-size: 12px; }
    .slot-zone .zsum { font-size: 40px; }
}

/* Codexの絵柄(img/mg/SYM_*.webp)を使うとき */
.slot-reel .cell.withimg { background: none; border: 0; margin: 0; }
.slot-reel .cell img.sym { height: 92%; width: auto; max-width: 92%; object-fit: contain; image-rendering: pixelated; pointer-events: none; }
.slot-reel.spin .cell img.sym { filter: blur(1.6px); }

/* GO!GO!ランプの絵(img/mg/LAMP_*.webp)を使うとき */
.slot-lamp.withimg, .slot-lamp.withimg.on, .slot-lamp.withimg.on.rainbow { background: none; border: 0; box-shadow: none; padding: 0; margin-bottom: 4px; }
.slot-lamp.withimg.on { animation: lampblink .35s infinite alternate; }
.slot-lamp .lamp-img { display: block; width: 160px; height: 48px; object-fit: contain; pointer-events: none; }
@media (max-height: 430px) { .slot-lamp .lamp-img { width: 112px; height: 34px; } }


/* ---- スロット機械(Codexの MACHINE_FRAME / REEL_BG / PAYLINE を使った、本物の筐体の見た目。2026-10-02) ---- */
.slot-box { width: auto; max-width: 96vw; padding: 8px; background: none; border: 0; box-shadow: none; overflow: visible; display: flex; flex-direction: column; align-items: center; }
.slot-machine { position: relative; container-type: size; aspect-ratio: 8 / 9; width: min(92vw, 540px, calc((100vh - 120px) * 8 / 9)); background: #0c0610; border-radius: 10px; }
.slot-machine.flash { animation: winflash .3s 4; }
.slot-machine.flash-big { animation: bigflash .22s infinite; }
.slot-root.tempai .slot-machine { animation: tempai .22s infinite alternate; }
.slot-machine .m-frame { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 3; }
.slot-machine .m-payline { position: absolute; z-index: 4; pointer-events: none; height: auto; }
.slot-machine .slot-reel { position: absolute; z-index: 1; display: flex; flex-direction: column; gap: 0; padding: 0; border-radius: 0; background: url(../img/mg/REEL_BG.webp) center / 100% 100% no-repeat, linear-gradient(#e8e0c8, #fff8e0 40%, #fff8e0 60%, #e8e0c8); overflow: hidden; }
.slot-machine .slot-reel .cell { flex: 1 1 0; height: auto; min-height: 0; font-size: 12cqw; margin: 0; }
.slot-machine .slot-reel .cell.s7 { font-size: 14cqw; }
.slot-machine .slot-reel .cell.sbar { font-size: 6cqw; margin: 2cqw 0; border-width: 1cqw; }
.slot-machine .slot-reel .cell img.sym { height: 84%; max-width: 88%; }
.slot-machine .slot-reel.spin .cell { animation-name: reelscroll2; }
@keyframes reelscroll2 { from { transform: translateY(-8%); } to { transform: translateY(8%); } }
.slot-machine .slot-lamp { position: absolute; z-index: 4; display: flex; align-items: center; justify-content: center; margin: 0; padding: 0; background: none; border: 0; box-shadow: none; }
.slot-machine .slot-lamp .lamp-img { width: 90%; height: auto; max-height: 100%; }
.slot-machine .slot-steps { position: absolute; z-index: 4; display: flex; gap: 2cqw; justify-content: center; margin: 0; }
.slot-machine .slot-steps .step { width: 7.4cqw; height: 4.2cqw; line-height: 3.6cqw; font-size: 2.4cqw; border-radius: 2.2cqw; border-width: 1px; }
.slot-machine .slot-navi { position: absolute; inset: 0; z-index: 4; pointer-events: none; height: auto; padding: 0; margin: 0; display: block; }
.slot-machine .slot-navi span { position: absolute; font-size: 6cqw; text-align: center; line-height: 1; }
.slot-machine .slot-banner { position: absolute; z-index: 4; margin: 0; display: flex; align-items: center; justify-content: center; font-size: 7.4cqw; min-height: 0; text-align: center; white-space: nowrap; }
.slot-machine .slot-say { position: absolute; z-index: 4; margin: 0; display: flex; align-items: center; justify-content: center; font-size: 3.6cqw; min-height: 0; color: #f4ecd6; }
.slot-box .slot-result { max-width: min(92vw, 540px); margin-top: 8px; }
@media (max-height: 430px) {
    .slot-box { display: grid; grid-template-columns: auto 1fr; grid-template-rows: 1fr auto; gap: 6px 12px; align-items: center; }
    .slot-machine { grid-row: 1 / 3; width: min(46vw, calc((100vh - 24px) * 8 / 9)); }
    .slot-box .slot-result { max-width: 40vw; text-align: left; margin: 0; align-self: end; }
    .slot-box .slot-btns { flex-direction: column; align-self: start; }
}


/* ---- 手前の演出パーツ(Codexの STEP / NAVI / CROWN / COIN の絵。2026-10-02) ---- */
.slot-machine .slot-steps .step { position: relative; width: 9.4cqw; height: 5.4cqw; line-height: 1; font-size: 2.6cqw; border: 0; border-radius: 0; background: url(../img/mg/STEP_OFF.webp) center / 100% 100% no-repeat; color: #7a6040; transition: none; }
.slot-machine .slot-steps .step.lit { background-image: url(../img/mg/STEP_ON.webp); transform: scale(1.1); box-shadow: none; filter: drop-shadow(0 0 4px #ffe28a); }
.slot-machine .slot-steps .step i { position: absolute; left: 19%; right: 19%; top: 25%; bottom: 26%; display: flex; align-items: center; justify-content: center; font-style: normal; font-weight: 800; background: #2a1a28; color: #8a6a40; }
.slot-machine .slot-steps .step.lit i { color: #111; }
.slot-machine .slot-navi span { display: flex; align-items: center; justify-content: center; }
.slot-machine .slot-navi span img { height: 100%; width: auto; image-rendering: pixelated; animation: lampblink .4s infinite alternate; }
.slot-crown img { width: 230px; height: auto; display: block; image-rendering: pixelated; filter: drop-shadow(0 0 24px #ffd040); }
.slot-rays { position: absolute; left: 50%; top: 12%; width: 560px; max-width: 120vw; transform: translate(-50%, -50%); opacity: .75; animation: raysspin 9s linear infinite; image-rendering: pixelated; }
@keyframes raysspin { to { transform: translate(-50%, -50%) rotate(360deg); } }
.slot-coin { width: 38px; height: 38px; font-size: 0; background: url(../img/mg/COIN_SPIN.webp) 0 0 / 400% 100% no-repeat; image-rendering: pixelated; animation-name: coinfall, coinspin, coinhue; animation-timing-function: linear, steps(4), linear; animation-iteration-count: 1, infinite, infinite; filter: saturate(1.5) drop-shadow(0 0 6px #fff8); }
@keyframes coinhue { from { filter: hue-rotate(0deg) saturate(1.5) drop-shadow(0 0 6px #fff8); } to { filter: hue-rotate(360deg) saturate(1.5) drop-shadow(0 0 6px #fff8); } }
@keyframes coinspin { from { background-position: 0 0; } to { background-position: 133.333% 0; } }
.slot-pile { position: absolute; left: 50%; bottom: -4px; transform: translateX(-50%); width: 340px; max-width: 80vw; image-rendering: pixelated; filter: drop-shadow(0 0 16px #ffd04088); }

.slot-box { position: relative; z-index: 1; }
.slot-fx { z-index: 6; }

.slot-rays { width: 440px; opacity: .5; top: 9%; }
.slot-crown img { width: 180px; }
@keyframes crowndrop { to { top: 2%; } }


/* ---- 群予告(画面いっぱい)と、連続演出のバトル画面(ダンジョンと同じ戦闘画面)。2026-10-02 ---- */
.slot-swarm-layer { position: absolute; inset: 0; z-index: 7; overflow: hidden; background: radial-gradient(ellipse at 50% 60%, #1a0a2a99, #000000dd); animation: bsfade .25s; }
.slot-swarm-title { position: absolute; left: 0; right: 0; top: 10%; text-align: center; font-size: min(14vmin, 120px); font-weight: 900; letter-spacing: .12em; color: #ffe28a; text-shadow: 0 0 30px #ff4020, 4px 4px 0 #000; animation: bannerpop .45s; }
.slot-runner { position: absolute; left: 0; width: auto; max-width: none; image-rendering: pixelated; filter: drop-shadow(0 0 24px #000c); transform: translateX(-70vw); animation-name: runacross; animation-timing-function: linear; animation-fill-mode: forwards; }
@keyframes runacross { 0% { transform: translateX(-70vw) translateY(0); } 20% { transform: translateX(-20vw) translateY(-2vh); } 40% { transform: translateX(30vw) translateY(0); } 60% { transform: translateX(80vw) translateY(-2vh); } 100% { transform: translateX(170vw) translateY(0); } }
@keyframes bsfade { from { opacity: 0; } to { opacity: 1; } }

.slot-bscene { position: absolute; inset: 0; z-index: 8; background: #000 url(../img/bg/DUNGEON_003.webp) center / cover no-repeat; animation: bsfade .3s; overflow: hidden; }
.slot-bscene::before { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at 50% 55%, #0000 35%, #000b 100%); pointer-events: none; }
.bs-party { position: absolute; left: 8px; top: 8px; width: min(260px, 46vw); display: flex; flex-direction: column; gap: 4px; z-index: 2; }
.bs-party .pcard { position: relative; }
.bs-enemy-box { position: absolute; left: 50%; bottom: 17%; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; z-index: 1; }
.bs-enemy { height: min(64vh, 560px); max-width: 90vw; object-fit: contain; image-rendering: pixelated; filter: drop-shadow(0 8px 12px #000a); transition: opacity .8s, transform .8s; }
.bs-enemy.shake { animation: bsshake .3s; }
.bs-enemy.defeated { opacity: 0; transform: translateY(20px) scale(.9); }
@keyframes bsshake { 0%, 100% { transform: translateX(0); } 20% { transform: translateX(-14px); } 40% { transform: translateX(12px); } 60% { transform: translateX(-8px); } 80% { transform: translateX(5px); } }
.bs-ename { margin-top: 6px; font-size: 22px; font-weight: 800; color: #f4ecd6; text-shadow: 2px 2px 0 #000; }
.bs-ebar { width: min(60vw, 360px); height: 14px; border-radius: 3px; background: #1a0508; border: 2px solid #000; overflow: hidden; margin-top: 2px; }
.bs-ebar i { display: block; height: 100%; width: 100%; background: linear-gradient(#ff7a86, #d0324a); transition: width .3s; }
.bs-fx { position: absolute; inset: 0; pointer-events: none; z-index: 3; }
.bs-fxpic { position: absolute; transform: translate(-50%, -50%); animation: bsfxpop .65s ease-out forwards; image-rendering: pixelated; }
@keyframes bsfxpop { 0% { opacity: 0; transform: translate(-50%, -50%) scale(.5); } 25% { opacity: 1; } 100% { opacity: 0; transform: translate(-50%, -50%) scale(1.3); } }
.bs-num { position: absolute; transform: translate(-50%, -50%); font-size: 34px; font-weight: 900; color: #fff; text-shadow: 0 0 6px #000, 2px 2px 0 #000; animation: bsnum 1s ease-out forwards; }
.bs-num.hurt { color: #ff6a6a; }
@keyframes bsnum { 0% { opacity: 0; margin-top: 10px; } 15% { opacity: 1; } 100% { opacity: 0; margin-top: -60px; } }
.bs-msg { position: absolute; left: 50%; bottom: 3%; transform: translateX(-50%); width: min(92vw, 720px); min-height: 52px; padding: 12px 18px; border-radius: 10px; background: #1a0a22ee; border: 2px solid var(--gold-3); color: var(--gold); font-weight: 700; font-size: 20px; text-align: center; z-index: 3; }
.bs-verdict { position: absolute; left: 0; right: 0; top: 30%; text-align: center; font-size: min(18vmin, 150px); font-weight: 900; z-index: 4; animation: bannerpop .45s; }
.bs-verdict.win { color: #ffe28a; text-shadow: 0 0 40px #ff9020, 5px 5px 0 #000; }
.bs-verdict.lose { color: #9aa0b0; text-shadow: 5px 5px 0 #000; }
@media (max-height: 430px) { .bs-party { width: 200px; } .bs-enemy { height: 52vh; } .bs-msg { font-size: 15px; min-height: 36px; padding: 6px 12px; } }

.slot-swarm-canvas { position: absolute; inset: 0; width: 100%; height: 100%; image-rendering: pixelated; }

/* 2026-10-02: Codex納品の絵(カットインの帯・BIG BONUSの文字・上乗せの枠と爆発) */
.slot-cutin.band { background-size: 100% 100%; background-repeat: no-repeat; box-shadow: none; transform: none; height: 150px; filter: drop-shadow(0 0 18px #000a); animation: cutin .35s cubic-bezier(.2, 1.3, .4, 1); }
.slot-cutin.band .word { text-shadow: 2px 2px 0 #fff8; }
.slot-cutin.band.lightText { color: #fff; }
.slot-cutin.band.lightText .word { text-shadow: 2px 2px 0 #000c; }
@keyframes cutin { from { transform: translateX(110%); } to { transform: translateX(0); } }
.slot-biglogo { position: absolute; left: 50%; top: 42%; width: min(92vw, 560px); transform: translate(-50%, -50%); image-rendering: pixelated; filter: drop-shadow(0 0 22px #ffb020); animation: logopop .5s cubic-bezier(.2, 1.4, .4, 1), logofade .4s 2.1s forwards; pointer-events: none; z-index: 5; }
@keyframes logopop { from { transform: translate(-50%, -50%) scale(.3); opacity: 0; } to { transform: translate(-50%, -50%) scale(1); opacity: 1; } }
@keyframes logofade { to { opacity: 0; } }
.slot-zone.art { background: url(../img/mg/ZONE_PANEL.webp) center / 100% 100% no-repeat; border: 0; box-shadow: none; border-radius: 0; aspect-ratio: 1280 / 840; display: flex; flex-direction: column; justify-content: center; padding: 8% 10%; image-rendering: pixelated; filter: drop-shadow(0 0 24px #ffd04088); }
.slot-zone .zburst { position: absolute; left: 50%; top: 50%; width: 75%; transform: translate(-50%, -50%) scale(.2); opacity: 0; pointer-events: none; image-rendering: pixelated; z-index: 0; }
.slot-zone .zburst.boom { animation: zboom .55s ease-out; }
@keyframes zboom { 0% { transform: translate(-50%, -50%) scale(.3); opacity: .95; } 100% { transform: translate(-50%, -50%) scale(1.15); opacity: 0; } }
.slot-zone > :not(.zburst) { position: relative; z-index: 1; }

.slot-zone.art::before { content: ""; position: absolute; inset: 10% 8%; background: #160828f0; z-index: 0; }
.slot-zone.art { position: absolute; }
.slot-zone.art { width: min(90vw, 470px); padding: 5% 9%; box-sizing: border-box; }
.slot-zone.art .zhead { font-size: 15px; }
.slot-zone.art .zsum { font-size: 44px; white-space: nowrap; margin: 2px 0; }
.slot-zone.art .zadd { font-size: 20px; min-height: 26px; }
@media (max-width: 480px) { .slot-zone.art .zsum { font-size: 34px; } }

/* 2026-10-02: Codex納品の絵(勝利/敗北・HPバーの枠・英語のロゴ) */
.bs-verdict { display: flex; justify-content: center; }
.bs-verdict-img { width: min(80vw, 560px); height: auto; image-rendering: pixelated; filter: drop-shadow(0 0 24px #000a); }
.bs-ebar { position: relative; overflow: visible; }
.bs-ebar-frame { position: absolute; left: -2%; top: 50%; width: 104%; transform: translateY(-50%); image-rendering: pixelated; pointer-events: none; }
.slot-tenpai { position: absolute; left: 50%; top: 62%; width: min(70vw, 340px); transform: translate(-50%, -50%); image-rendering: pixelated; filter: drop-shadow(0 0 16px #ffb020); animation: tenpaiblink .3s steps(2) infinite; pointer-events: none; z-index: 5; }
@keyframes tenpaiblink { 0% { opacity: 1; } 100% { opacity: .55; } }
.slot-zone .zlogo { width: 70%; max-width: 280px; height: auto; image-rendering: pixelated; }

.bs-vs { position: absolute; left: 50%; top: 36%; width: min(50vw, 260px); transform: translate(-50%, -50%); image-rendering: pixelated; z-index: 4; animation: bannerpop .45s; filter: drop-shadow(0 0 18px #000a); }

/* 丁半・ハイ&ロー(2026-10-02) */
.casino-table { position: fixed; inset: 0; z-index: 60; background: #000a; display: flex; align-items: center; justify-content: center; }
.ct-box { width: min(92vw, 460px); padding: 14px 16px 18px; border-radius: 16px; background: linear-gradient(#4a1c40, #240f22); border: 3px solid var(--gold-2); box-shadow: 0 0 0 2px #000, 0 12px 50px #000d; text-align: center; }
.ct-title { color: #f4dc96; font-weight: 800; font-size: 16px; margin-bottom: 8px; }
.ct-stage { position: relative; height: 190px; border-radius: 10px; background: #22462e; border: 3px solid #c8a854; display: flex; align-items: center; justify-content: center; gap: 14px; overflow: hidden; }
.ct-die { width: 96px; height: 96px; image-rendering: pixelated; }
.ct-die.roll { animation: ctroll .18s linear infinite; }
@keyframes ctroll { 0% { transform: translateY(0) rotate(-8deg); } 50% { transform: translateY(-22px) rotate(8deg); } 100% { transform: translateY(0) rotate(-8deg); } }
.ct-cup { position: absolute; left: 50%; top: 50%; width: 200px; transform: translate(-50%, -50%); image-rendering: pixelated; }
.ct-cup.shake { animation: ctshake .12s linear infinite; }
@keyframes ctshake { 0% { transform: translate(-56%, -50%); } 50% { transform: translate(-44%, -52%); } 100% { transform: translate(-56%, -50%); } }
.ct-cup.lift { transition: transform .35s ease-in, opacity .35s; transform: translate(-50%, -190%); opacity: 0; }
.ct-card { position: relative; width: 110px; height: 154px; transition: transform .26s; }
.ct-card img { position: absolute; inset: 0; width: 100%; height: 100%; image-rendering: pixelated; }
.ct-card .rank { position: absolute; left: 0; right: 0; top: 18%; font: 900 44px Georgia, serif; color: #1e1828; }
.ct-card .suit { position: absolute; left: 0; right: 0; top: 56%; font-size: 40px; color: #1e1828; }
.ct-card .red { color: #be1e28; }
.ct-card.flip { transform: scaleX(0); }
.ct-card.flipin { animation: ctflipin .26s ease-out; }
@keyframes ctflipin { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.ct-result { min-height: 38px; margin-top: 10px; font-size: 24px; font-weight: 900; color: #fff; }
.ct-result.win { color: #ffe28a; text-shadow: 0 0 18px #ff9020; }
.ct-result.lose { color: #9aa0b0; }

.ct-stage.award { background: radial-gradient(#5a2a60, #1c0c24); }
.aw-img { width: 150px; height: 150px; image-rendering: pixelated; animation: awpop .5s cubic-bezier(.2, 1.5, .4, 1), awbob 1.6s .5s ease-in-out infinite; filter: drop-shadow(0 0 20px #ffd060); }
@keyframes awpop { from { transform: scale(.2); opacity: 0; } to { transform: scale(1); opacity: 1; } }
@keyframes awbob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
.aw-sub { font-size: 14px; font-weight: 700; color: #f4ecd6; text-shadow: none; margin-top: 4px; }

/* 賭け金のチップ(2026-10-02。Codex納品: CHIP_10〜1000) */
.bet-chip { position: absolute; left: 10px; bottom: 10px; width: 64px; text-align: center; z-index: 3; pointer-events: none; }
.bet-chip img { width: 56px; height: 56px; image-rendering: pixelated; filter: drop-shadow(0 2px 4px #000a); }
.bet-chip span { display: block; font-size: 11px; font-weight: 800; letter-spacing: .1em; color: #f4dc96; }
.ct-box, .slot-box { position: relative; }
