:root {
    --bg: #0f1724;
    --panel: #0b1220cc;
    --accent: #7dd3fc;
    --muted: #cbd5e1;
}

html,
body {
    height: 100%;
    margin: 0;
    font-family: system-ui, -apple-system, Segoe UI, Roboto, "Helvetica Neue", Arial;
    background: linear-gradient(180deg, var(--bg), #071025);
    color: var(--muted);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

#canvas {
    display: block;
    width: 100%;
    height: 80vh;
    cursor: crosshair;
    background: transparent;
}

#input {
    position: fixed;
    bottom: 12px;
    left: 12px;
    background: var(--panel);
    border-radius: 8px;
    padding: 10px;
    display: flex;
    gap: 8px;
    align-items: center;
    backdrop-filter: blur(6px);
}

#input label {
    font-size: 13px;
    color: var(--muted);
    display: flex;
    gap: 6px;
    align-items: center;
}

#input input {
    width: 72px;
    padding: 6px 8px;
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    background: transparent;
    color: var(--muted);
}

#input button {
    padding: 6px 10px;
    background: var(--accent);
    border: none;
    color: #022;
    border-radius: 6px;
    cursor: pointer;
}