.rm-native-app-banner {
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: calc(env(safe-area-inset-bottom, 0px) + 14px);
    z-index: 3200;
    margin: 0 auto;
    max-width: 560px;
    border: 1px solid #dbe3ef;
    border-radius: 12px;
    background: #ffffff;
    box-shadow: 0 10px 30px rgba(3, 23, 61, 0.18);
    color: #03173d;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    padding: 12px;
}

.rm-native-app-banner[hidden] {
    display: none;
}

.rm-native-app-banner__title {
    margin: 0;
    color: #03173d;
    font-size: 15px;
    font-weight: 800;
    line-height: 20px;
}

.rm-native-app-banner__text {
    margin: 4px 0 0;
    color: #4b5b74;
    font-size: 13px;
    line-height: 18px;
}

.rm-native-app-banner__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
}

.rm-native-app-banner__button {
    min-height: 40px;
    border: 1px solid #03173d;
    border-radius: 8px;
    background: #03173d;
    color: #ffffff;
    cursor: pointer;
    font-size: 13px;
    font-weight: 800;
    line-height: 18px;
    padding: 9px 12px;
}

.rm-native-app-banner__button--secondary {
    background: #ffffff;
    color: #03173d;
}

.rm-native-app-banner__button--ghost {
    border-color: transparent;
    background: transparent;
    color: #4b5b74;
}

.rm-native-app-banner__hint {
    margin: 8px 0 0;
    color: #6b7280;
    font-size: 12px;
    line-height: 16px;
}

@supports (bottom: constant(safe-area-inset-bottom)) {
    .rm-native-app-banner {
        bottom: calc(constant(safe-area-inset-bottom) + 14px);
    }
}

@media (max-width: 420px) {
    .rm-native-app-banner__actions {
        display: grid;
        grid-template-columns: 1fr;
    }

    .rm-native-app-banner__button {
        width: 100%;
    }
}
