* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    background: #f5f0e8;
    overflow: hidden;
    font-family: 'Courier New', monospace;
    color: #333;
}

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

#info {
    position: fixed;
    bottom: 20px;
    left: 20px;
    max-width: 420px;
    background: rgba(245, 240, 232, 0.85);
    backdrop-filter: blur(8px);
    padding: 16px 20px;
    border-radius: 8px;
    z-index: 10;
    transition: opacity 0.3s;
}

#info h1 {
    font-size: 18px;
    font-weight: normal;
    margin-bottom: 4px;
    letter-spacing: 0.05em;
    color: #222;
}

#info .subtitle {
    font-size: 11px;
    opacity: 0.5;
    margin-bottom: 10px;
}

#info .description {
    font-size: 12px;
    line-height: 1.5;
    opacity: 0.7;
    margin-bottom: 8px;
}

#info .state-info {
    font-size: 11px;
    opacity: 0.4;
    margin-bottom: 6px;
}

#info .keys {
    font-size: 11px;
    opacity: 0.4;
}

#info .keys kbd {
    background: rgba(0, 0, 0, 0.08);
    padding: 1px 5px;
    border-radius: 3px;
    font-family: inherit;
}

#info .credit {
    font-size: 10px;
    opacity: 0.3;
    margin-top: 8px;
}

#info .credit a {
    color: inherit;
    text-decoration: none;
}

#controls {
    position: fixed;
    top: 16px;
    right: 16px;
    display: flex;
    gap: 8px;
    z-index: 10;
}

#controls button {
    background: rgba(245, 240, 232, 0.6);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(0, 0, 0, 0.1);
    color: #555;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    font-family: 'Courier New', monospace;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

#controls button:hover {
    background: rgba(0, 0, 0, 0.08);
}
