/* Генератор ответов «Да» или «Нет» */
.mgcyn {
    width: 100%;
    max-width: 500px;
    margin: 20px auto;
    font-family: 'EB Garamond', 'Georgia', serif;
    text-align: center;
    -webkit-tap-highlight-color: transparent;
}

/* Ответ — текстом, курсивом (как в Оракуле ДА/НЕТ): «Да.» / «Нет.» первой строкой */
.mgcyn__text {
    min-height: 16px;
    margin: 0 auto;
    padding: 8px 10px;
    font-family: 'EB Garamond', 'Georgia', serif;
    font-size: 20px;
    font-style: italic;
    line-height: 1.4;
    white-space: pre-line;   /* «Да.» / «Нет.» — первой строкой, абзацы ответа */
    transition: opacity 0.5s linear;
}
/* Пока ответа нет — места не занимает: поле сразу сверху */
.mgcyn__text:empty {
    min-height: 0;
    padding: 0;
}
.mgcyn__text b {
    font-weight: 600;
}

/* Кнопка */
.mgc-btn-2 {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 235px;
    height: 65px;
    margin: 10px auto 0;
    background-color: #f1e7d4;
    background-image: url('/wp-content/themes/gadanie-online/assets/images/knopka.webp');
    background-size: cover;
    background-position: center;
    color: #4a3828;
    font-size: 17px;
    font-weight: 400;
    font-family: 'EB Garamond', 'Georgia', serif;
    border: none;
    border-radius: 0;
    padding: 0 0 4px 0;
    outline: none;
    cursor: pointer;
    transition: transform 0.2s ease, opacity 0.3s ease;
    -webkit-tap-highlight-color: transparent;
}
.mgc-btn-2:hover {
    transform: translateY(-2px);
}
.mgc-btn-2:active,
.mgc-btn-2.mgc-btn-2--active {
    background-image: url('/wp-content/themes/gadanie-online/assets/images/knopka-1.webp');
    transform: translateY(2px);
}
.mgcyn .mgcyn__start {
    margin-top: 15px;
}

/* Поле вопроса — общее (assets/common/css/rg-question.css); здесь только ловушка для ботов */
.mgcyn__honeypot {
    position: absolute;
    left: -9999px;
    opacity: 0;
    pointer-events: none;
}

/* Загрузка: три серые точки (как в Оракуле ДА/НЕТ) */
@keyframes mgcyn-bounce {
    0%, 80%, 100% { transform: scale(0); }
    40% { transform: scale(1); }
}
.mgcyn__loading {
    position: relative;
    top: -26px;
    right: 0;
    left: 0;
    z-index: 10;
    width: 80px;
    margin: 60px auto 0;
    font-size: 26px;
    text-align: center;
}
.mgcyn__loading > div {
    display: inline-block;
    width: 18px;
    height: 18px;
    border-radius: 100%;
    background-color: #999999;
    animation: mgcyn-bounce 1.4s infinite ease-in-out both;
}
.mgcyn__loading .one {
    animation-delay: -0.32s;
}
.mgcyn__loading .two {
    animation-delay: -0.16s;
}

.mgcyn .mgcyn__invisible {
    display: none;
}
