:root {
    --ink: #fbf3e6;
    --glass: rgb(0 0 0 / 0.6);
    --frame: #7a5230;
    color-scheme: dark;
}

* {
    box-sizing: border-box;
}

html,
body {
    height: 100%;
    margin: 0;
}

body {
    overflow: hidden;
    background: #120b07;
    color: var(--ink);
    font: 15px/1.45 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    -webkit-user-select: none;
    user-select: none;
}

#harp {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;
    touch-action: none;
}

button {
    font: inherit;
    color: var(--ink);
    cursor: pointer;
}

button:focus-visible,
.home:focus-visible {
    outline: 3px solid var(--ink);
    outline-offset: 2px;
}

.home,
.sound {
    position: fixed;
    top: max(24px, env(safe-area-inset-top));
    padding: 8px 12px;
    border: 0;
    border-radius: 999px;
    background: var(--glass);
    color: var(--ink);
    font-size: 13px;
    text-decoration: none;
    backdrop-filter: blur(6px);
}

.home {
    left: max(16px, env(safe-area-inset-left));
}

.home:hover {
    text-decoration: underline;
}

.sound {
    right: max(16px, env(safe-area-inset-right));
    min-height: 34px;
}

.sound[aria-pressed="false"] {
    opacity: 0.7;
}

.welcome {
    position: fixed;
    inset: 0;
    display: grid;
    place-items: center;
    padding: 16px;
    background: rgb(0 0 0 / 0.35);
    cursor: pointer;
}

.welcome[hidden] {
    display: none;
}

.card {
    max-width: 380px;
    padding: 28px 28px 22px;
    border-radius: 20px;
    background: rgb(0 0 0 / 0.55);
    text-align: center;
    backdrop-filter: blur(8px);
}

.card h1 {
    margin: 0 0 8px;
    font-size: 44px;
    line-height: 1.05;
    letter-spacing: -0.02em;
}

.card p {
    margin: 0 0 18px;
}

.card .small {
    margin: 12px 0 0;
    font-size: 13px;
    opacity: 0.75;
}

.start {
    min-height: 48px;
    padding: 0 26px;
    border: 0;
    border-radius: 999px;
    background: var(--ink);
    color: #120b07;
    font-size: 16px;
    font-weight: 700;
}

.moods {
    position: fixed;
    left: 50%;
    bottom: max(26px, env(safe-area-inset-bottom));
    display: flex;
    gap: 4px;
    padding: 5px;
    border-radius: 999px;
    background: var(--glass);
    backdrop-filter: blur(6px);
    transform: translateX(-50%);
}

.moods button {
    min-height: 38px;
    padding: 0 16px;
    border: 0;
    border-radius: 999px;
    background: transparent;
    font-weight: 600;
}

.moods button[aria-pressed="true"] {
    background: var(--frame);
}
