:root {
    color-scheme: dark;
    background: #07111f;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

html,
body,
#composeApp {
    width: 100%;
    height: 100%;
    margin: 0;
}

html {
    background: #07111f;
}

body {
    overflow: hidden;
    overscroll-behavior: none;
}

#composeApp {
    position: fixed;
    inset: 0;
}

#app-loading {
    position: fixed;
    z-index: 1;
    inset: 0;
    box-sizing: border-box;
    display: grid;
    place-items: center;
    padding: 32px 20px;
    overflow: auto;
    border-top: 1px solid rgb(242 190 62 / 72%);
    background: linear-gradient(#07111f, #061124 54%, #0a1d34);
    color: #f8f8f2;
}

.loading-card {
    width: min(100%, 460px);
    box-sizing: border-box;
    padding: 28px;
    border: 1px solid rgb(242 190 62 / 78%);
    border-radius: 16px;
    background: #0a1d34;
    text-align: center;
}

.loading-crest {
    display: block;
    width: 88px;
    height: 88px;
    margin: 0 auto 14px;
    object-fit: contain;
}

.loading-card h1 {
    margin: 0;
    color: #f8f8f2;
    font-size: 1.75rem;
    font-weight: 900;
    line-height: 1.2;
}

.loading-description {
    margin: 14px 0 20px;
    color: #b8cadc;
    font-size: 1rem;
    line-height: 1.4;
}

.loading-form {
    display: grid;
    gap: 14px;
}

.loading-field,
.loading-button {
    box-sizing: border-box;
    min-height: 56px;
    border-radius: 4px;
    font-family: inherit;
    font-size: 1rem;
}

.loading-field {
    width: 100%;
    padding: 0 16px;
    border: 1px solid #58728c;
    outline: 0;
    background: transparent;
    color: #b8cadc;
    text-align: left;
}

.loading-field::placeholder {
    color: #b8cadc;
    opacity: 1;
}

.loading-field:focus {
    border-color: #f2be3e;
    box-shadow: 0 0 0 1px #f2be3e;
}

.loading-button {
    min-height: 48px;
    border: 0;
    border-radius: 24px;
    background: #243951;
    color: #718398;
    font-size: 0.875rem;
    font-weight: 700;
}

.loading-button:not(:disabled) {
    background: #f2be3e;
    color: #07111f;
    cursor: pointer;
}

.loading-button:not(:disabled):hover {
    background: #ffd978;
}

.visually-hidden,
.loading-status {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

html[data-compose-ready="true"] #app-loading {
    display: none;
}

canvas {
    display: block;
}

noscript {
    display: grid;
    min-height: 100%;
    place-items: center;
    padding: 1.5rem;
    color: #ffffff;
    text-align: center;
}
