html,
body {
    width: 100%;
    height: 100%;
    margin: 0;
    overflow: hidden;
    background: #000;
}

#spectrogram {
    display: block;
    width: 100vw;
    height: 100vh;
    background: #000;
    touch-action: none;
    user-select: none;
    -webkit-user-select: none;
}

#frequency-ruler {
    position: fixed;
    z-index: 4;
    top: 0;
    left: 0;
    display: block;
    width: 100vw;
    height: 50px;
    pointer-events: none;
    user-select: none;
    -webkit-user-select: none;
}


#status {
    position: fixed;
    z-index: 6;
    left: max(12px, env(safe-area-inset-left));
    bottom: max(10px, env(safe-area-inset-bottom));
    margin: 0;
    padding: 5px 7px;
    color: rgba(255, 255, 255, 0.72);
    background: rgba(0, 0, 0, 0.46);
    font: 11px/1.35 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    pointer-events: none;
    white-space: nowrap;
}

#status[data-state="ready"] { display: none; }
#status[data-state="error"] { color: #fff; }
