.screen-content {
    position: relative;
    flex: 1 1 auto;
    min-height: 0;
    width: 100%;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    box-sizing: border-box;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.screen-content::-webkit-scrollbar {
    display: none;
}

.screen-view {
    box-sizing: border-box;
    width: 100%;
}

.agreeControlsHolder {
    z-index: 5;
    flex: 0 0 auto;
    width: 100%;
    box-sizing: border-box;
    pointer-events: none;
}

.controlsOneBtn {
    display: grid;
    gap: 6px;
    width: 100%;
    box-sizing: border-box;
}

.controlsOneBtn {
    grid-template-columns: minmax(0, 1fr);
}

.commonControlsHolder[data-controls-mode="two"] .controlsOneBtn,
.storyControlsHolder[data-controls-mode="two"] .controlsOneBtn {
    display: none;
}

.controlSlot {
    min-width: 0;
}

.agreeControlsHolder button {
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
    margin-top: 0;
    padding: 0 14px;
    pointer-events: auto;

    font-size: 15px;
    line-height: 1.15;
    text-align: center;
    white-space: normal;
}

.appScreen {
    display: none;
}

.appScreen.active {
    display: flex;
    flex-direction: column;
}

button {
    appearance: none;
    border: none;
    min-width: 240px;
    height: 48px;
    padding: 0 36px;

    font-size: 22px;
    font-weight: 700;
    color: #f7f1dc;
    text-shadow:
            0 2px 2px rgba(0, 0, 0, 0.7),
            0 0 8px rgba(0, 0, 0, 0.35);

    cursor: pointer;

    background-position: center;
    background-image: url("/img/btn_back.png?v=1.0");
    background-color: transparent;
    background-size: 100% 100%;

    transition:
            transform 0.12s ease,
            filter 0.12s ease;
}

/* hover */
button:hover {
}

button:active {
    transform: scale(0.97);
}

button:disabled:active {
    transform: none;
}

button:disabled,
button[aria-disabled="true"] {
    cursor: not-allowed;
    filter: grayscale(1) opacity(0.58);
}

#agreeScreen {
    inset: 0;
    z-index: 1;
}

@media (max-width: 568px) {
    .controlsOneBtn {
        gap: 6px;
    }

    .agreeControlsHolder button {
        padding-right: 8px;
        padding-left: 8px;
        font-size: 14px;
    }
}

#agreeContent {
    padding: 20px;
    text-align: center;
    font-size: 22px;
    line-height: 1.45;
}

#agreeContent p {
    text-align: left;
    text-indent: 1.5em;
}

.agreeScreenConsent {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    column-gap: 0.75em;
    align-items: center;
    margin: 1em;
    font-size: 20px;
    line-height: 1.4;
}

.agreeScreenCheckbox {
    appearance: none;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 63px;
    min-width: 60px;
    margin: 0;
    padding: 0;
    background: transparent;
    background-image: none;
    border: 0;
    filter: none;
    transform: none;
}

.agreeScreenCheckbox:hover,
.agreeScreenCheckbox:active {
    background: transparent;
    filter: none;
    transform: none;
}

.agreeScreenCheckbox.attentionPulse {
    animation: agreeCheckboxPulse 420ms ease-out 1;
}

.agreeScreenCheckbox img {
    display: block;
    width: 60px;
    height: 63px;
    object-fit: contain;
    pointer-events: none;
}

.agreeScreenConsentText {
    min-width: 0;
    text-align: left;
}

@keyframes agreeCheckboxPulse {
    0% { transform: scale(1); }
    40% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

#agreeView {
    display: flex;
    flex-direction: column;
    justify-content: center;
}
