/* ============================================================
   AMBIANCEFX STYLES (same arrangement as hakkuh and firetracker)
   ============================================================ */

:root {
    --accent: #0F93F8;      /* Same as the panel's ACCENT in src/main.cpp */
    --bg-secondary: #1a1a1a;
    --bg-tertiary: #2a2a2a;
    --text-primary: #ffffff;
    --text-secondary: #aaaaaa;
    --border: #333333;
}

body {
    margin: 0;
    padding: 0;
    background: #000;
    overflow: hidden;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
    display: flex;
    flex-direction: column;
    height: 100vh;
}

/* The canvas fills what the bar leaves. The app draws the pads inside it, so
   nothing else is overlaid. */
.content {
    flex: 1;
    position: relative;
    overflow: hidden;
}

canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    touch-action: none;
}

/* Top Banner */
.top-banner {
    background: var(--accent);
    padding: 0 20px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;   /* the bar is the title and nothing else */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    position: relative;
    z-index: 100;
    flex-shrink: 0;
}

.banner-title {
    font-size: 1.1em;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 2px;
    /* As on the bar the native builds draw (BANNER_TEXT in src/main.cpp). */
    color: var(--text-primary);
}

/* Which build this is, from the stamp the wasm build bakes in. Set back from the
   title rather than beside it: it is a diagnostic, and it is read once. */
.banner-build {
    position: absolute;
    right: 20px;
    font-size: 0.7em;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    color: rgba(255, 255, 255, 0.75);
    white-space: nowrap;
}
