html,
body {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    overflow: hidden;
    background: #ffffff;
}

/* Хост Compose Multiplatform — без 100% высоты нижнее меню «прилипает» к верху контента. */
#composeApp {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;
}

#composeApp canvas {
    display: block;
    width: 100% !important;
    height: 100% !important;
}

#ttleague-loading {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    background: #ffffff;
}

body[data-compose-ready="1"] #ttleague-loading,
#ttleague-loading[data-hidden="1"] {
    display: none;
}

#ttleague-recaptcha-container {
    position: fixed;
    bottom: calc(84px + env(safe-area-inset-bottom, 0px));
    left: 8px;
    z-index: 10000;
    min-width: 1px;
    min-height: 1px;
}

/* Firebase вставляет `.grecaptcha-badge` в body (справа внизу) — не в контейнер выше. */
.grecaptcha-badge {
    bottom: calc(84px + env(safe-area-inset-bottom, 0px)) !important;
    z-index: 10000;
}
