/* The alert message box */
.invitation {
    padding: 20px;
    background-color: #d3ffba;
    color: black;
    margin-bottom: 10px;
    border-radius: 8px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.12);
}

/* actions inside invitation */
.invitation .inv-actions {
    display: flex;
    gap: 8px;
    margin-top: 8px;
}

/* make buttons flexible and allow shrinking to fit */
.invitation .start-button {
    flex: 1 1 0;
    min-width: 0;
    padding: 8px 12px;
    height: 40px;
    font-size: 14px;
}

/* small screens: stack buttons (right/left override — в invitations.css) */
@media (max-width: 480px) {
    .invitation .inv-actions { flex-direction: column; }
}

/* The close button */
.closebtn {
    margin-left: 15px;
    color: white;
    font-weight: bold;
    float: right;
    font-size: 22px;
    line-height: 20px;
    cursor: pointer;
    transition: 0.3s;
}

/* When moving the mouse over the close button */
.closebtn:hover {
    color: black;
}

.start-button {
    height: 44px;
    background-color: aquamarine;
    align-content: center;
    padding: 8px;
    border-radius: 12px;
    min-width: 200px;
}

#start-buttons {
    display: flex;
    gap: 12px;
    flex-direction: row;
    justify-content: center;
    flex-wrap: wrap;
}

.start-button > a {
    text-decoration: none;
    display: block;
    width: 100%;
    height: 100%;
    text-align: center;
}

/* Хедер/nav/play-button адаптив — дубль app_new.css (грузится позже, там и живёт) */
@media (max-width: 480px) {
    .start-button {
        height: 44px;
        background-color: aquamarine;
        align-content: center;
        padding-left: 4px;
    }

    #start-buttons {
        display: flex;
        gap: 4px;
        flex-direction: column;
    }
}

#games > div {
    margin: 5px;
    border: 1px solid;
    padding: 5px;
    border-radius: 10px;
    display: flex;
    flex-wrap: wrap;
}

.copyarea {
    position: absolute;
    width: 1px;
    height: 1px;
    top: 0px;
    right: 0px;
}


.copy-sign {
    cursor: pointer;
    margin-right: 20px;
    animation-duration: 3s;
}


/* .top-bar / .auth-modal / .overlay и т.п. — дубль app_new.css (грузится позже,
   реально управляет этими селекторами; здесь были мёртвые копии). */

