html, body {
    margin: 0;
    height: 100%;
    background: #06070C;
    overflow: hidden;
    overscroll-behavior: none;
    -webkit-text-size-adjust: 100%;
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
}

#app {
    position: fixed;
    inset: 0;
    display: flex;
    justify-content: center;
    box-sizing: border-box;
    padding: env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left);
    background: #06070C;
}

#phone {
    position: relative;
    width: 100%;
    max-width: 480px;
    height: 100%;
    overflow: hidden;
    touch-action: manipulation;
}

@media (min-width: 560px) {
    #phone {
        box-shadow: 0 0 0 1px #1B1F2E;
    }
}

#splash {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #06070C;
    z-index: 2;
}

#splash.hidden {
    display: none;
}

#splash .ring {
    width: 36px;
    height: 36px;
    border: 4px solid #1B1F2E;
    border-top-color: #306BFF;
    border-radius: 50%;
    animation: spin 0.9s linear infinite;
}

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

input, textarea {
    font-size: 16px !important;
}
