body
{
    margin: 0;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: radial-gradient(circle at top, #23395d, #090b10 65%);
    color: #f5f7fb;
    overflow: hidden;
}

.topbar
{
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    padding: 16px 24px;
    background: rgba(255, 255, 255, 0.06);
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(12px);
    z-index: 2;
}

.topbar h1
{
    margin: 0 0 8px;
    font-size: clamp(1.4rem, 3vw, 2rem);
    line-height: 1.1;
}

.controls
{
    display: flex;
    gap: 16px;
    align-items: center;
    flex-wrap: wrap;
}

.controls label
{
    font-size: 0.95rem;
    color: #cbd5e1;
}

.controls input
{
    width: 70px;
    margin-left: 6px;
    background: rgba(0,0,0,0.35);
    border: 1px solid rgba(255,255,255,0.18);
    color: white;
    padding: 4px 8px;
    border-radius: 8px;
}

button
{
    background: linear-gradient(135deg, rgba(255,80,40,0.28), rgba(255,180,0,0.34));
    border: 1px solid rgba(255,255,255,0.22);
    color: white;
    padding: 8px 14px;
    border-radius: 12px;
    cursor: pointer;
    font-weight: 600;
}

button:hover
{
    border-color: rgba(255,255,255,0.55);
}

.hint
{
    margin: 6px 0 0;
    color: #dbeafe;
    font-size: 0.95rem;
}

canvas
{
    display: block;
    width: 100vw;
    height: 100vh;
}
