.arcade-guest,
.arcade-guest-toast {
    --ag-bg: #fff7e6;
    --ag-line: #f3c46b;
    --ag-text: #3d2a05;
    --ag-button: #ffffff;
    --ag-button-text: #1b1f27;
    --ag-google: #1a73e8;
}

.arcade-guest {
    box-sizing: border-box;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px 16px;
    width: min(1180px, calc(100% - 24px));
    margin: 10px auto;
    padding: 10px 14px;
    border: 1px solid var(--ag-line);
    border-radius: 10px;
    background: var(--ag-bg);
    color: var(--ag-text);
    font: 14px/1.45 "Be Vietnam Pro", "Segoe UI", Arial, sans-serif;
    position: relative;
    z-index: 5;
}

:root[data-theme="dark"] .arcade-guest,
:root[data-theme="dark"] .arcade-guest-toast {
    --ag-bg: #2a2212;
    --ag-line: #6b5420;
    --ag-text: #f6e7c4;
    --ag-button: #1d2430;
    --ag-button-text: #e6e9ee;
    --ag-google: #8ab4f8;
}

.arcade-guest p,
.arcade-guest-toast p {
    margin: 0;
    flex: 1 1 320px;
    min-width: 0;
}

.arcade-guest-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.arcade-guest-actions a,
.arcade-guest-toast button {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 34px;
    padding: 0 12px;
    border: 1px solid var(--ag-line);
    border-radius: 8px;
    background: var(--ag-button);
    color: var(--ag-button-text);
    font: 600 13px/1 "Be Vietnam Pro", "Segoe UI", Arial, sans-serif;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
}

.arcade-guest-actions a:hover,
.arcade-guest-actions a:focus-visible {
    border-color: var(--ag-google);
}

.arcade-guest-actions .arcade-guest-google {
    border-color: var(--ag-google);
    color: var(--ag-google);
}

.arcade-guest-google span {
    font-weight: 800;
}

.arcade-guest-toast {
    box-sizing: border-box;
    position: fixed;
    left: 50%;
    bottom: 18px;
    z-index: 2147483000;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 14px;
    width: min(560px, calc(100% - 24px));
    padding: 14px 44px 14px 16px;
    border: 1px solid var(--ag-line);
    border-radius: 12px;
    background: var(--ag-bg);
    color: var(--ag-text);
    box-shadow: 0 12px 32px rgba(0, 0, 0, .28);
    font: 14px/1.45 "Be Vietnam Pro", "Segoe UI", Arial, sans-serif;
    transform: translateX(-50%);
}

.arcade-guest-toast[hidden] {
    display: none;
}

.arcade-guest-toast .arcade-guest-close {
    position: absolute;
    top: 8px;
    right: 8px;
    min-height: 28px;
    width: 28px;
    padding: 0;
    justify-content: center;
    border-color: transparent;
    background: transparent;
    color: var(--ag-text);
    font-size: 18px;
}

.arcade-guest-pulse {
    animation: arcade-guest-pulse 1.2s ease-out 2;
}

@keyframes arcade-guest-pulse {
    0% { box-shadow: 0 0 0 0 rgba(243, 196, 107, .9); }
    100% { box-shadow: 0 0 0 14px rgba(243, 196, 107, 0); }
}

@media (max-width: 560px) {
    .arcade-guest {
        width: calc(100% - 16px);
        margin: 8px auto;
        font-size: 13px;
    }
    .arcade-guest-actions a {
        flex: 1 1 auto;
        justify-content: center;
    }
}
