/* bokami town — arcade DERA-DERA styles (hall, cabinets, vending, new games) */

/* ================= HALL ================= */
.arc-hall { }
.arc-scene { position: fixed; inset: 0; overflow: hidden; --bk-ground: 16vh; background: linear-gradient(180deg, #3E3046 0%, #55405A 62%, #5C4358 100%); }
@media (orientation: portrait) { .arc-scene { --bk-ground: 25vh; } }
@media (max-width: 640px) { .arc-scene { --bk-ground: 9vh; } }
.arc-wallpat { position: absolute; inset: 0 0 calc(170px + var(--bk-ground, 0px)); opacity: .5;
  background-image: repeating-linear-gradient(90deg, transparent 0 118px, rgba(30,22,38,.35) 118px 122px), repeating-linear-gradient(0deg, transparent 0 96px, rgba(30,22,38,.25) 96px 100px); }
.arc-lights { position: absolute; left: 0; right: 0; top: 36px; height: 18px; pointer-events: none;
  background-image: radial-gradient(circle at 9px 9px, #FFD98A 5px, rgba(255,217,138,.35) 8px, transparent 9px);
  background-size: 72px 18px; filter: drop-shadow(0 0 6px rgba(255,200,120,.8)); }
.arc-neon { top: 16%; }
.arc-neon__txt { font-family: var(--font-display); font-weight: 700; font-size: 40px; letter-spacing: .12em; white-space: nowrap; }
.arc-neon__txt--0 { color: #FFB7C9; text-shadow: 0 0 8px #FF7FA2, 0 0 26px #FF7FA2, 0 0 52px rgba(255,127,162,.7); }
.arc-neon__txt--1 { color: #B7F3E4; text-shadow: 0 0 8px #4FD8B8, 0 0 26px #4FD8B8, 0 0 52px rgba(79,216,184,.7); }
.arc-neon__txt--2 { color: #FFE2A8; text-shadow: 0 0 8px #FFB347, 0 0 26px #FFB347, 0 0 52px rgba(255,179,71,.7); }
.arc-carpet { position: absolute; left: 0; right: 0; bottom: 0; height: calc(170px + var(--bk-ground, 0px)); border-top: 4px solid #2E2438; }
.arc-carpet__pat { position: absolute; inset: 0; background-color: #463850;
  background-image: radial-gradient(circle at 16px 20px, rgba(255,127,162,.5) 5px, transparent 6px),
    radial-gradient(circle at 64px 58px, rgba(79,216,184,.45) 6px, transparent 7px),
    radial-gradient(circle at 110px 26px, rgba(255,179,71,.45) 4px, transparent 5px),
    radial-gradient(circle at 88px 96px, rgba(167,139,250,.4) 7px, transparent 8px),
    radial-gradient(circle at 30px 84px, rgba(255,217,138,.35) 4px, transparent 5px);
  background-size: 140px 120px; }
.arc-walker { bottom: calc(96px + var(--bk-ground, 0px)); }
.arc-npc { bottom: calc(106px + var(--bk-ground, 0px)); }
.arc-npc .npc__tag { background: rgba(255,255,255,.25); color: var(--cream-50); }
.arc-hint { background: rgba(251,250,246,.88); color: var(--mauve-700); box-shadow: 0 12px 32px rgba(0,0,0,.4); }
.arc-hint .sh-mouse { border-color: var(--mauve-600); }
.arc-hint .sh-mouse i { background: var(--mauve-600); }
.arc-hint .sh-chevs i { color: var(--mauve-600); }

/* entrance */
.arc-door { left: 90px; bottom: calc(170px + var(--bk-ground, 0px)); width: 230px; }
.arc-door .bob-wrap { position: absolute; left: 50%; top: 96px; transform: translateX(-50%); }
.arc-door__sign { font-family: var(--font-display); font-weight: 700; font-size: 30px; letter-spacing: .14em; text-align: center; color: #FFB7C9;
  text-shadow: 0 0 8px #FF7FA2, 0 0 30px #FF7FA2; margin-bottom: 14px; }
.arc-door__frame { height: 210px; border: 4px solid #2E2438; border-bottom: none; border-radius: 18px 18px 0 0; background: linear-gradient(180deg, #2A2133, #3A2E45); display: grid; place-items: start center; padding-top: 12px; }
.arc-door__frame span { font-size: 12px; font-weight: 800; letter-spacing: .2em; color: #B7F3E4; text-shadow: 0 0 10px #4FD8B8; }

/* ================= CABINETS ================= */
.ac { position: absolute; bottom: calc(150px + var(--bk-ground, 0px)); width: 190px; }
.ac__play { z-index: 6; }
.ac__new { position: absolute; top: -14px; right: -12px; z-index: 5; font-family: var(--font-display); font-weight: 700; font-size: 13px; letter-spacing: .06em; color: var(--cream-50); background: var(--coral); border: 3px solid #2E2438; border-radius: 999px; padding: 3px 11px; transform: rotate(8deg); box-shadow: 0 0 14px rgba(255,127,162,.6); }
.ac__got { position: absolute; top: -12px; left: -10px; z-index: 5; width: 34px; height: 34px; display: grid; place-items: center; font-size: 17px; color: #6B4E00; background: #FFD98A; border: 3px solid #2E2438; border-radius: 50%; transform: rotate(-10deg); }
.ac__marquee { font-family: var(--font-display); font-weight: 700; font-size: 13.5px; letter-spacing: .03em; line-height: 1.25; text-align: center; color: var(--cream-50); border: 3.5px solid #2E2438; border-bottom: none; border-radius: 14px 14px 0 0; padding: 8px 6px 6px; text-shadow: 0 0 10px rgba(255,255,255,.45); }
.ac__body { border: 3.5px solid #2E2438; border-radius: 0 0 6px 6px; padding: 12px 12px 10px; }
.ac__screen { height: 110px; border: 3px solid #2E2438; border-radius: 10px; background: radial-gradient(circle at 50% 42%, #3A2E45 0%, #241B2E 80%); display: grid; place-items: center; }
.ac__screen span { font-family: var(--font-display); font-weight: 700; font-size: 52px; line-height: 1; filter: drop-shadow(0 0 10px currentColor); }
.ac__panel { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 10px; padding: 8px 0 2px; }
.ac__stick { position: relative; width: 8px; height: 30px; background: #2E2438; border-radius: 4px; }
.ac__stick i { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); width: 20px; height: 20px; background: var(--coral); border: 3px solid #2E2438; border-radius: 50%; }
.ac__btn { width: 20px; height: 20px; border: 3px solid #2E2438; border-radius: 50%; }
.ac__btn--b { background: var(--teal); }
.ac__base { height: 24px; margin: 0 -8px; background: #2E2438; border-radius: 4px 4px 0 0; }

/* ================= VENDING MACHINE ================= */
.vd { position: absolute; bottom: calc(150px + var(--bk-ground, 0px)); width: 190px; cursor: pointer; }
.vd__open { z-index: 6; }
.vd__marquee { font-family: var(--font-display); font-weight: 700; font-size: 17px; letter-spacing: .14em; text-align: center; color: #FFE2A8; text-shadow: 0 0 10px #FFB347, 0 0 26px #FFB347; background: #2A2133; border: 3.5px solid #2E2438; border-bottom: none; border-radius: 14px 14px 0 0; padding: 9px 6px 7px; }
.vd__body { border: 3.5px solid #2E2438; border-radius: 0 0 6px 6px; background: var(--cream-100); padding: 12px; box-shadow: 0 0 30px rgba(255,179,71,.25); }
.vd__window { height: 170px; border: 3px solid #2E2438; border-radius: 10px; background: linear-gradient(180deg, #3A2E45, #241B2E); display: flex; flex-direction: column; gap: 14px; align-items: center; justify-content: center; }
.vd__item { width: 96px; height: 56px; border: 3px solid var(--mauve-400); border-radius: 10px; }
.vd__item--w { background: linear-gradient(180deg, #46517B 55%, #8B7490); position: relative; }
.vd__item--w::after { content: ""; position: absolute; right: 10px; top: 8px; width: 14px; height: 14px; border-radius: 50%; background: #F4F1E4; box-shadow: 0 0 8px rgba(244,241,228,.9); }
.vd__item--s { background: var(--white);
  background-image: radial-gradient(circle at 24px 28px, var(--boro-bg) 11px, transparent 12px), radial-gradient(circle at 48px 28px, var(--kato-bg) 11px, transparent 12px), radial-gradient(circle at 72px 28px, var(--mico-bg) 11px, transparent 12px); }
.vd__slot { height: 22px; margin-top: 10px; border: 3px solid #2E2438; border-radius: 6px; background: var(--cream-200); }

/* zoomed reward modal */
.vd-modal { overflow-y: auto; display: grid; place-items: center; padding: 30px 18px; }
.vd-big { position: relative; width: min(680px, 94vw); background: var(--cream-50); border: 4px solid var(--mauve-500); border-radius: 24px; padding: 26px 28px 28px; box-shadow: var(--shadow-lg);
  transform: scale(.3) translateY(36vh); opacity: .4; transition: transform .55s var(--ease-bounce), opacity .4s; }
.vd-big.in { transform: none; opacity: 1; }
.vd-big__marquee { font-family: var(--font-display); font-weight: 700; font-size: 27px; text-align: center; color: var(--mauve-700); letter-spacing: .06em; }
.vd-big__sub { text-align: center; font-size: 14.5px; color: var(--text-muted); margin: 6px 0 20px; }
.vd-big__rows { display: flex; flex-direction: column; gap: 16px; }
.vd-big__row { display: flex; gap: 18px; align-items: center; background: var(--white); border: 3px solid var(--mauve-300); border-radius: 16px; padding: 16px 18px; }
.vd-big__row.locked { opacity: .8; background: var(--cream-100); border-style: dashed; }
.vd-big__art { flex: 0 0 130px; height: 92px; border: 3px solid var(--mauve-400); border-radius: 12px; }
.vd-big__art--wall { background: linear-gradient(180deg, #46517B 60%, #8B7490); position: relative; overflow: hidden; }
.vd-big__art--wall::after { content: ""; position: absolute; right: 14px; top: 10px; width: 18px; height: 18px; border-radius: 50%; background: #F4F1E4; box-shadow: 0 0 10px rgba(244,241,228,.95); }
.vd-big__art--wall::before { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 20px; background: #5A4C66; border-top: 3px solid #CBBFC6; }
.vd-big__art--stick { background: var(--white);
  background-image: radial-gradient(circle at 30px 46px, var(--boro-bg) 15px, transparent 16px), radial-gradient(circle at 66px 46px, var(--kato-bg) 15px, transparent 16px), radial-gradient(circle at 102px 46px, var(--mico-bg) 15px, transparent 16px), radial-gradient(rgba(90,62,60,.1) 1.5px, transparent 1.6px);
  background-size: auto, auto, auto, 12px 12px; }
.vd-big__info h3 { font-size: 20px; margin: 0 0 4px; }
.vd-big__info p { font-size: 14px; color: var(--text-body); margin: 0 0 12px; }
.vd-big__info .rm-chef__cta { margin-top: 0; white-space: nowrap; }
.vd-big__row.locked .arc-progress { margin-top: 14px; }

/* arcade game HUD pills never wrap */
.sl__play .cg__score, .cw__play .cg__score, .rb__play .cg__score, .dg__play .cg__score { white-space: nowrap; }
.rb__missct { white-space: nowrap; }

/* ================= SLOT — BORO'S LUCKY 7s ================= */
.sl__stage { background: #F2E2D5; }
.sl__play { position: absolute; inset: 0; display: flex; flex-direction: column; padding: 56px 22px 20px; }
.sl__msg { font-family: var(--font-hand); font-weight: 600; font-size: 17px; color: var(--mauve-600); text-align: right; max-width: 55%; }
.sl__machine { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; background: var(--orange); border: 4px solid var(--mauve-500); border-radius: 22px; padding: 18px 20px 22px; box-shadow: var(--shadow-md); }
.sl__marquee { font-family: var(--font-display); font-weight: 700; font-size: 23px; letter-spacing: .1em; color: var(--cream-50); text-shadow: 0 2px 0 rgba(90,62,60,.4); white-space: nowrap; }
.sl__reels { position: relative; display: flex; gap: 10px; background: var(--mauve-600); border: 3.5px solid var(--mauve-700); border-radius: 14px; padding: 10px; }
.sl__reel { position: relative; width: 100px; height: 276px; background: var(--cream-50); border: 3px solid var(--mauve-500); border-radius: 8px; overflow: hidden; }
.sl__strip { will-change: transform; }
.sl__cell { height: 92px; display: grid; place-items: center; }
.sl__cell img { height: 66px; }
.sl__cell span { font-family: var(--font-display); font-weight: 700; font-size: 56px; line-height: 1; }
.sl__shade { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(90,62,60,.35), transparent 32%, transparent 68%, rgba(90,62,60,.35)); }
.sl__payline { position: absolute; left: 2px; right: 2px; top: 50%; height: 0; border-top: 3px dashed var(--coral); opacity: .85; pointer-events: none; }
.sl__btn { margin-top: 2px; min-width: 200px; }

/* ================= CLAW — PLUSH GET! ================= */
.cw__stage { background: #E4D8EE; }
.cw__play { position: absolute; inset: 0; display: flex; flex-direction: column; padding: 56px 22px 18px; cursor: pointer; }
.cw__cab { position: relative; flex: 1; min-height: 380px; background: linear-gradient(180deg, #CBE7EE, #EBD9D2 78%); border: 4px solid var(--mauve-500); border-radius: 18px; overflow: hidden; }
.cw__rail { position: absolute; left: 0; right: 0; top: 16px; height: 10px; background: var(--mauve-500); }
.cw__claw { position: absolute; top: 20px; width: 0; transition: top .62s cubic-bezier(.55,0,.85,.45); z-index: 3; }
.cw__claw--drop { top: 252px; }
.cw__claw--rise, .cw__claw--carry, .cw__claw--swing { top: 20px; }
.cw__cable { position: absolute; left: -2px; top: -6px; width: 4px; height: 30px; background: var(--mauve-600); }
.cw__pincer { position: absolute; top: 22px; left: -20px; width: 40px; height: 26px; }
.cw__pincer i { position: absolute; top: 0; width: 16px; height: 26px; border: 4px solid var(--mauve-600); border-top: none; }
.cw__pincer i:first-child { left: 0; border-right: none; border-radius: 0 0 0 14px; }
.cw__pincer i:last-child { right: 0; border-left: none; border-radius: 0 0 14px 0; }
.cw__held { position: absolute; top: 34px; left: -26px; height: 58px; }
.cw__plush { position: absolute; bottom: 12px; height: 62px; margin-left: -28px; filter: drop-shadow(0 4px 4px rgba(90,62,60,.25)); }
.cw__chute { position: absolute; left: 8px; bottom: 0; width: 74px; height: 86px; background: var(--mauve-600); border: 3px solid var(--mauve-700); border-bottom: none; border-radius: 12px 12px 0 0; display: grid; place-items: center; z-index: 2; }
.cw__chute span { font-family: var(--font-display); font-weight: 700; font-size: 15px; color: var(--cream-50); }
.cw__glass { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(115deg, rgba(255,255,255,.32) 0%, transparent 28%, transparent 72%, rgba(255,255,255,.22) 100%); }

/* ================= RHYTHM — DERA BEAT ================= */
.rb__stage { width: min(620px, 94vw); background: #2E2438;
  background-image: radial-gradient(rgba(255,255,255,.12) 2px, transparent 2.5px); background-size: 56px 56px; }
.rb__stage .cg__id { color: var(--kato-bg); }
.rb__stage h2 { color: var(--cream-50); }
.rb__stage .cg__tap { color: rgba(251,250,246,.65); }
.rb__missct { font-family: var(--font-display); font-weight: 700; font-size: 16px; color: var(--cream-100); background: rgba(255,255,255,.14); border-radius: 999px; padding: 5px 14px; }
.rb__play { position: absolute; inset: 0; display: flex; flex-direction: column; padding: 56px 22px 18px; }
.rb__field { flex: 1; display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 12px; }
.rb__lane { position: relative; background: rgba(255,255,255,.07); border: 3px solid rgba(255,255,255,.22); border-radius: 16px; overflow: hidden; cursor: pointer; }
.rb__note { position: absolute; left: 50%; transform: translate(-50%,-50%); width: 58px; height: 24px; border: 3px solid #2E2438; border-radius: 999px; box-shadow: 0 0 12px rgba(255,255,255,.35); }
.rb__hitline { position: absolute; left: 8px; right: 8px; top: 86%; border-top: 3px dashed rgba(251,250,246,.6); }
.rb__pad { position: absolute; bottom: 10px; left: 50%; transform: translateX(-50%); width: 52px; height: 52px; border-radius: 50%; background: rgba(255,255,255,.1); border: 3.5px solid; color: var(--cream-50); font-family: var(--font-display); font-weight: 700; font-size: 19px; cursor: pointer; }
.rb__pad:active { background: rgba(255,255,255,.3); }
.rb__flash { position: absolute; left: 50%; transform: translateX(-50%); bottom: 26%; font-family: var(--font-hand); font-weight: 600; font-size: 21px; white-space: nowrap; pointer-events: none; }
.rb__flash--perfect { color: #FFE2A8; text-shadow: 0 0 12px #FFB347; }
.rb__flash--good { color: #B7F3E4; text-shadow: 0 0 12px #4FD8B8; }
.rb__flash--whiff { color: rgba(251,250,246,.55); }

/* ================= DODGE — KATO'S UNLUCKY DAY ================= */
.dg__stage { width: min(620px, 94vw); background: #F7E9C4; }
.dg__play { position: absolute; inset: 0; display: flex; flex-direction: column; padding: 56px 22px 18px; }
.dg__field { position: relative; flex: 1; min-height: 380px; background: linear-gradient(180deg, #DCEEF4, #F4E3DB 80%); border: 4px solid var(--mauve-500); border-radius: 18px; overflow: hidden; cursor: none; touch-action: none; }
.dg__item { position: absolute; transform: translateX(-50%); padding: 5px 0; text-align: center; font-family: var(--font-display); font-weight: 700; font-size: 11.5px; color: var(--cream-50); border: 3px solid var(--mauve-700); border-radius: 9px; box-shadow: 0 3px 0 rgba(90,62,60,.3); }
.dg__kato { position: absolute; bottom: 14px; transform: translateX(-50%); height: 108px; filter: drop-shadow(0 8px 8px rgba(90,62,60,.25)); }
.dg__kato.hurt { animation: dg-hurt .22s linear infinite; }
@keyframes dg-hurt { 0%,100% { opacity: 1; } 50% { opacity: .25; } }
.dg__floor { position: absolute; left: 0; right: 0; bottom: 0; height: 12px; background: var(--mauve-300); }
