/* Шрифт — как у сайта (раньше был Comic Sans: на iPhone и Android его нет, и текст выглядел по-разному) */
.mgc-container {
    margin: 20px auto;
    width: 100%;
    max-width: 600px;
    text-align: center;
    -webkit-tap-highlight-color: transparent;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}
.mgc-wrap {
    width: 100%;
    max-width: 600px;
    height: auto;
}
.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);
}
.mgc-h_none {
    display: none;
}
.mgc-num-answer {
    text-anchor: middle;
}
.mgc-sticks {
    border-radius: 5px;
    box-shadow: -7px 5px 6px 0px rgb(136 136 136 / 75%);
    width: 100%;
    max-width: 600px;
    height: auto;
    display: block;
}
.mgc-cross {
    opacity:0.6;
    fill:#ff0000;
    stroke:none;
    transform: matrix(0.98053839,0.19632745,-0.13428422,0.99094286,0,0);
}
/* Текст ответа на свитке; если не помещается — скрипт уменьшает шрифт */
.mgc-answer__text {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
}
.mgc-answer__text p {
    margin: 0;
}
.mgc-stick_init {
    display: none;
    opacity: 0;
    transition: opacity 0.1s ease-in;
}
.mgc-stick_show {
    display: block;
    opacity: 1;
}
.mgc-answer__paper_init {
    transform: translate(117px, 32px) scale(0);
    transition: transform .5s;
    visibility: hidden;
}
.mgc-answer__paper_show {
    transform: translate(117px, 32px);
    visibility: visible;
}

/* Телефоны: свиток мельче (картинка ужимается) — шрифт крупнее */
@media (max-width: 500px) {
    .mgc-answer__text {
        font-size: 1.6rem;
    }
}

@media (max-width: 400px) {
    .mgc-answer__text {
        font-size: 1.8rem;
    }
}
