body {
    background-color: #0f172a;
    color: white;
    font-family: 'Segoe UI', system-ui, sans-serif;
    margin: 0;
    overflow: hidden;
    overscroll-behavior: none;
    touch-action: none;
    user-select: none;
}

#app {
    position: fixed;
    top: 0; left: 0; width: 100vw; height: 100dvh;
    display: flex; flex-direction: column;
}

.top-bar {
    height: 50px; background: #1e293b; border-bottom: 1px solid #334155;
    display: flex; align-items: center; justify-content: space-between;
    padding: 0 15px; z-index: 50; flex-shrink: 0;
}

.canvas-area {
    flex-grow: 1; position: relative; background: #0f172a; overflow: hidden;
}

canvas { display: block; width: 100%; height: 100%; }

/* 獵人模式發射按鈕 */
.fire-btn {
    width: 70px; height: 70px; border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, #ef4444, #991b1b);
    border: 4px solid #fca5a5; color: white; font-weight: bold; cursor: pointer;
    box-shadow: 0 8px 15px rgba(0,0,0,0.5), inset 0 2px 5px rgba(255,255,255,0.3);
    transition: all 0.1s; display: flex; align-items: center; justify-content: center;
}
.fire-btn:active:not(:disabled) {
    transform: scale(0.95) translateY(2px);
    box-shadow: 0 2px 5px rgba(0,0,0,0.5);
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}
.animate-pulse { animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite; }