html {
    width: 100%;
    min-height: 100%;
    background: var(--bg);
    overflow-x: hidden;
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

body {
    width: 100%;
    min-height: 100vh;
    min-height: 100dvh;
    margin: 0;

    background:
        radial-gradient(circle at 12% 6%, rgba(35, 219, 167, 0.16), transparent 34%),
        radial-gradient(circle at 88% 20%, rgba(239, 187, 76, 0.12), transparent 34%),
        linear-gradient(180deg, #071511 0%, #0a2019 48%, #07130f 100%);

    color: var(--text);
    font-family: var(--font-main);
    font-size: 16px;
    letter-spacing: 0;

    overflow-x: hidden;
    overscroll-behavior-x: none;
    touch-action: pan-y;
}

.app-bg {
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;

    background:
        radial-gradient(circle at 12% 6%, rgba(35, 219, 167, 0.16), transparent 34%),
        radial-gradient(circle at 88% 20%, rgba(239, 187, 76, 0.12), transparent 34%),
        linear-gradient(180deg, #071511 0%, #0a2019 48%, #07130f 100%);
}

.app-bg::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 0.09;

    background-image:
        linear-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.07) 1px, transparent 1px);

    background-size: 34px 34px;
    mask-image: linear-gradient(to bottom, black, transparent 80%);
    -webkit-mask-image: linear-gradient(to bottom, black, transparent 80%);
}

.app-shell,
.page-stack,
.page-view,
main {
    background: transparent;
}

img,
svg,
canvas,
video {
    max-width: 100%;
}

a {
    color: inherit;
}

button {
    color: inherit;
    cursor: pointer;
    touch-action: manipulation;
}

button:disabled {
    cursor: not-allowed;
    opacity: 0.55;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    clip-path: inset(50%);
    white-space: nowrap;
    border: 0;
}
