/* 아케이드 미니 게임 공통 (Blockfall · Sky Guard · Wanderers) — 보드게임 페이지와 같은 색과 패널 */
html { background: #0C1420; }
body { background: #0C1420; color: #E9E5D6; font-family: 'Segoe UI', 'Malgun Gothic', sans-serif; margin: 0; }
main { max-width: 960px; margin: 0 auto; padding: 40px 20px 0; }
h1 { font-family: Georgia, serif; font-weight: 400; font-size: clamp(26px, 5vw, 38px); margin: 0 0 6px; }
h1 em { font-style: italic; color: #D2AC47; }
.lead { color: #A8AEB9; line-height: 1.7; max-width: 62ch; margin: 0 0 24px; }
.gold { color: #D2AC47; }
.wrap { display: grid; grid-template-columns: minmax(0, 1fr) 250px; gap: 26px; align-items: start; }
@media (max-width: 820px) { .wrap { grid-template-columns: 1fr; } }
.stage { background: #141E30; border: 1px solid #26314A; border-radius: 12px; padding: 12px; }
.stage canvas { display: block; touch-action: none; user-select: none; -webkit-user-select: none; }
.playfield { display: flex; gap: 12px; justify-content: center; align-items: flex-start; }
.playfield > canvas { width: min(300px, 62vw); height: auto; border-radius: 6px; box-shadow: 0 0 0 2px #5C4A1E, 0 18px 40px rgba(0,0,0,0.5); }
.wide-cv { width: 100%; height: auto; border-radius: 6px; box-shadow: 0 0 0 2px #5C4A1E, 0 18px 40px rgba(0,0,0,0.5); image-rendering: pixelated; }
.side { min-width: 84px; }
.side .k { font: 700 10.5px 'Segoe UI', sans-serif; letter-spacing: .14em; text-transform: uppercase; color: #8C94A3; margin: 0 0 6px; }
.side .big { font: 800 18px 'Segoe UI', sans-serif; font-variant-numeric: tabular-nums; margin: 0 0 16px; }
.side canvas { width: 80px; height: auto; margin-bottom: 14px; }
.hudline { display: flex; flex-wrap: wrap; gap: 8px 18px; justify-content: space-between; font-size: 13px; color: #A8AEB9; padding: 2px 4px 10px; }
.hudline b { color: #E9E5D6; font-variant-numeric: tabular-nums; }
.pad { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; margin: 14px auto 0; max-width: 420px; }
.pad button { margin: 0; padding: 14px 0; font-size: 18px; background: #1C2A40; color: #E9E5D6; border: 1px solid #33425E; border-radius: 10px; touch-action: none; user-select: none; -webkit-user-select: none; }
.pad button:active, .pad button.on { background: #D2AC47; color: #0C1420; }
.pad button.wide { grid-column: 1 / -1; font-size: 15px; }
.skills { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 0; }
.skills button { width: auto; flex: 1 1 90px; margin: 0; padding: 10px 8px; font-size: 13px; background: #1C2A40; color: #E9E5D6; border: 1px solid #33425E; }
.skills button.sel { background: #D2AC47; color: #0C1420; border-color: #D2AC47; }
.skills button small { display: block; font-weight: 400; opacity: .8; }
.keys { text-align: center; font-size: 12px; color: #6E7686; margin: 10px 0 0; }
@media (hover: hover) and (pointer: fine) { .pad.touch-only { display: none; } }
.panel { border: 1px solid #26314A; border-radius: 12px; background: rgba(20,30,48,0.6); padding: 16px 18px; }
.panel h2 { font-family: Georgia, serif; font-weight: 400; font-size: 17px; margin: 0 0 10px; color: #D2AC47; }
.row { display: flex; justify-content: space-between; gap: 10px; font-size: 13.5px; padding: 6px 0; border-bottom: 1px solid #1C2635; }
.row:last-of-type { border-bottom: none; }
.row span:first-child { color: #8C94A3; }
.row b { font-variant-numeric: tabular-nums; }
button { font: inherit; cursor: pointer; border-radius: 8px; border: 1px solid #D2AC47; background: #D2AC47; color: #0C1420; font-weight: 600; padding: 10px 16px; width: 100%; margin-top: 12px; }
button.ghost { background: transparent; color: #D2AC47; }
button:disabled { opacity: .45; cursor: not-allowed; }
.statusbox { margin: 0 0 14px; padding: 12px 14px; border: 1px solid #26314A; border-radius: 12px; background: rgba(20,30,48,0.6); min-height: 2.6em; font-size: 14px; line-height: 1.6; color: #A8AEB9; }
.statusbox b { color: #E9E5D6; }
.ok { color: #6FA383; } .no { color: #C4766F; }
.note { font-size: 12px; color: #6E7686; line-height: 1.7; margin: 14px 0 0; }
footer { padding: 40px 20px 60px; text-align: center; color: #6E7686; font-size: 12px; line-height: 1.8; }
footer a { color: #8C94A3; }
@media (max-width: 820px) { main { padding-top: 26px; } .lead { font-size: 14px; } }
