/* Hollow Lantern's thumb controls, shared by the arcade games. */
.arcade-touch-controls { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 9px max(10px, env(safe-area-inset-bottom)); border-top: 1px solid #526455; background: #152527; color: #eee3c5; font-family: 'Courier New', monospace; }
.arcade-movement { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.arcade-movement > small { font-size: 9px; letter-spacing: .06em; }
.arcade-touch-controls .lantern-joystick { position: relative; width: 116px; height: 116px; border: 2px solid #809677; border-radius: 50%; background: radial-gradient(circle, #344f4080 35%, #21362db3 36%, #31493b 69%, #1d322b 70%); box-shadow: inset 0 0 0 6px #20362d; touch-action: none; user-select: none; -webkit-user-select: none; }
.arcade-touch-controls .lantern-joystick-axis::before, .arcade-touch-controls .lantern-joystick-axis::after { content: ''; position: absolute; background: #82977750; }
.arcade-touch-controls .lantern-joystick-axis::before { height: 1px; width: 74%; left: 13%; top: 50%; }
.arcade-touch-controls .lantern-joystick-axis::after { width: 1px; height: 74%; top: 13%; left: 50%; }
.arcade-touch-controls .lantern-joystick-knob { position: absolute; display: grid; place-items: center; left: calc(50% - 23px); top: calc(50% - 23px); width: 46px; height: 46px; border-radius: 50%; border: 2px solid #e0ca8b; background: #a0935e; color: #263b30; font-size: 24px; box-shadow: 0 3px 0 #14271db3, inset 0 0 0 3px #cabc80; pointer-events: none; }
.arcade-touch-controls button { min-width: 44px; min-height: 44px; border: 1px solid #8b9b7c; padding: 8px; background: #30453a; color: #eee3c5; font-family: inherit; cursor: pointer; touch-action: none; user-select: none; -webkit-user-select: none; }
.arcade-touch-actions { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.arcade-touch-controls .arcade-touch-act { display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 5px; width: 82px; height: 82px; border-radius: 50%; border: 2px solid #efc46b; color: #efc46b; box-shadow: inset 0 0 0 4px #20352c, 0 3px 0 #0b221a; }
.arcade-touch-act strong { font-size: 21px; }
.arcade-touch-act small { max-width: 63px; font-size: 8px; line-height: 1.3; }
.arcade-touch-tools { display: flex; gap: 5px; }
.arcade-touch-tools button { font-size: 9px; }
.arcade-touch-utilities { display: flex; justify-content: flex-end; gap: 6px; flex-basis: 100%; }
.arcade-touch-utilities button { font-size: 11px; }
.arcade-touch-controls button:active { background: #536948; }
@media (max-width: 360px) { .arcade-touch-controls .lantern-joystick { width: 102px; height: 102px; } .arcade-touch-controls { padding-inline: 5px; } }
