/* Style 4 — Minimal Poster (brutalist grid) */
:root {
    --bg: #ffffff;
    --fg: #0a0a0a;
    --muted: #0f62fe444;
    --accent: #000000;
    --danger: #ff4646;
}

* {
    box-sizing: border-box
}

html, body {
    height: 100%
}

body.poster {
    margin: 0;
    background: var(--bg);
    color: var(--fg);
    font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial
}

.bar {
    display: grid;
    grid-template-columns:1fr auto;
    gap: 16px;
    align-items: end;
    border-bottom: 4px solid #0a0a0a;
    padding: 20px clamp(12px, 4vw, 40px) 12px
}

.bar h1 {
    margin: 0;
    line-height: .92;
    font-size: clamp(36px, 10vw, 140px);
    letter-spacing: .02em
}

.bar .meta {
    align-self: center;
    justify-self: end;
    color: #fff;
    background: #0a0a0a;
    padding: 8px 12px;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    border-radius: 4px
}

.hidden-select {
    position: absolute;
    opacity: 0;
    width: 1px;
    height: 1px;
    pointer-events: none
}

.grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-areas: "a b";
    column-gap: clamp(12px, 3vw, 28px);
    row-gap: clamp(30px, 5vh, 100px);
    padding: clamp(16px, 4vw, 40px)
}

.area {
    border: 3px solid #0a0a0a;
    padding: clamp(16px, 3vw, 28px);
    background: #fff;
    box-shadow: 8px 8px 0 #0a0a0a
}

.area.a {
    grid-area: a;
}

.area.b {
    grid-area: b;
}

.startBtnSection{
    min-width: min-content;
    max-width: min(50%, 500px);
    margin:auto;
    padding: clamp(0px, 4vw, 20px);
    text-align: center;
}
.startBtnSection button {
    width: auto;
}

.cta {
    display: inline-grid;
    grid-auto-flow: column;
    gap: 12px;
    align-items: center;
    padding: 16px 22px;
    border: 3px solid #0a0a0a;
    background: var(--accent);
    background: white;
    color: black;
    font-weight: 800;
    font-size: clamp(20px, 2.4vw, 22px);
    white-space: nowrap;
    text-transform: uppercase;
    cursor: pointer;
    box-shadow: 4px 4px 0 #0a0a0a
}
#micIcon {
    color: var(--danger);
}
.cta:hover {
    background: #0a0a0a;
    color: #fff
}

.cta svg {
    width: 28px;
    height: 28px
}

.meter {
    height: 14px;
    margin-top: 25px;
    border: 3px solid #0a0a0a;
    background: #eee;
    box-shadow: inset 0 0 0 3px #fff
}

.meter #levelBar {
    display: block;
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--accent), #78a6ff)
}

.label {
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    letter-spacing: .22em;
    color: var(--muted);
    margin-bottom: 8px
}

.chord {
    font-size: clamp(64px, 12vw, 160px);
    line-height: .9;
    margin: 0
}

.notes {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 12px
}

.notes .pill {
    background: #0a0a0a;
    color: #fff;
    padding: 10px 14px;
    font-weight: 700;
    box-shadow: 4px 4px 0 #0a0a0a
}

.foot {
    padding: 16px clamp(12px, 4vw, 40px);
    border-top: 3px solid #0a0a0a;
    color: #222
}

.mic-spin {
    animation: spin 1.8s linear infinite
}

@keyframes spin {
    from {
        transform: rotate(0)
    }
    to {
        transform: rotate(360deg)
    }
}

@media (max-width: 900px) {
    .grid {
        grid-template-columns: 1fr;
        grid-template-areas: "b" "a";
        padding: clamp(30px, 5vh, 100px) clamp(16px, 4vw, 40px)
    }

    .area {
        box-shadow: 6px 6px 0 #0a0a0a
    }
}