:root {
    color-scheme: dark;
    color: #f1f1f4;
    background: #0a0a0c;
    font-family: system-ui, sans-serif;
}
body {
    margin: 0;
    min-height: 100dvh;
    display: grid;
    place-items: center;
    background: radial-gradient(ellipse at 50% 41%, #1f222b 0%, #101115 32%, transparent 63%);
}
main {
    display: grid;
    justify-items: center;
    width: min(34rem, calc(100% - 40px));
    padding-block: 32px;
    text-align: center;
}
h1 {
    margin: 0;
    font-size: clamp(2.25rem, 7.5vw, 3.75rem);
    font-weight: 650;
    letter-spacing: -0.055em;
    line-height: 1.04;
}
p {
    margin: 14px 0 0;
    color: #b3b5c0;
    line-height: 1.5;
}
#google-sign-in {
    display: grid;
    justify-items: center;
    width: min(100%, 296px);
    min-height: 44px;
    margin-top: 24px;
    border-radius: 999px;
}
#google-sign-in iframe {
    /* The GIS iframe adds a 10px horizontal and 2px vertical gutter around the button. */
    clip-path: inset(2px 10px round 999px);
}
#google-sign-in:focus-within {
    outline: 2px solid #b1b9d4;
    outline-offset: 3px;
}
.login-feedback {
    width: 100%;
}
#status {
    margin-top: 12px;
    color: #bfc1ce;
    font-size: 0.88rem;
}
#status:empty {
    display: none;
}
#retry {
    margin-top: 10px;
    font: inherit;
    color: inherit;
    background: #24262b;
    border: 1px solid #444750;
    border-radius: 8px;
    padding: 8px 12px;
    cursor: pointer;
}
#retry:focus-visible {
    outline: 2px solid #b1b9d4;
    outline-offset: 3px;
}
