.g30t-gcc-conflict-message {
    position: relative;
    isolation: isolate;
    display: block;
    width: min(100%, 46rem);
    margin-inline: auto;
    padding: 2rem 1rem 1rem;
    overflow: visible;
    border-radius: 1rem;
    color: inherit;
    background: rgb(211 18 33 / 0.035);
    box-shadow:
        inset 0 0 0 1px rgb(211 18 33 / 0.18),
        0 0.25rem 1rem rgb(25 28 35 / 0.06);
    text-align: center;
}

.g30t-gcc-conflict-message,
.g30t-gcc-conflict-message * {
    box-sizing: border-box;
}

.g30t-gcc-conflict-dismiss {
    position: absolute;
    z-index: 2;
    top: -0.75rem;
    right: 0.625rem;
    display: grid;
    width: 2.5rem;
    height: 2.5rem;
    min-width: 0 !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 999px !important;
    place-items: center;
    color: inherit;
    background: #fff;
    box-shadow:
        0 0 0 1px rgb(211 18 33 / 0.16),
        0 0.25rem 0.75rem rgb(25 28 35 / 0.12);
    appearance: none;
    cursor: pointer;
    font: 700 1.25rem/1 Arial, sans-serif;
    float: none !important;
    touch-action: manipulation;
}

.g30t-gcc-conflict-dismiss::before {
    position: absolute;
    inset: -0.125rem;
    border-radius: inherit;
    content: "";
}

.g30t-gcc-conflict-dismiss:hover {
    background: rgb(255 245 246);
}

.g30t-gcc-conflict-dismiss:focus-visible {
    outline: 2px solid #111827;
    outline-offset: 2px;
}

.g30t-gcc-conflict-message.is-dismissing {
    opacity: 0;
    pointer-events: none;
    transform: translateY(-0.5rem);
}

.g30t-gcc-conflict-message__text {
    display: block;
    line-height: 2;
    text-wrap: pretty;
}

.g30t-gcc-game-list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.375rem;
    width: fit-content;
    max-width: 100%;
    margin: 0.625rem auto;
    vertical-align: middle;
}

.g30t-gcc-game-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    min-height: 2rem;
    max-width: 100%;
    padding: 0.125rem 0.625rem;
    border-radius: 999px;
    color: inherit;
    background: rgb(0 0 0 / 0.055);
    box-shadow: inset 0 0 0 1px rgb(0 0 0 / 0.07);
    font-weight: 700;
    line-height: 1.45;
    vertical-align: middle;
}

.g30t-gcc-game-badge__image {
    width: 1.75rem;
    height: 1.75rem;
    flex: 0 0 1.75rem;
    border-radius: 0.5rem;
    object-fit: cover;
    outline: 1px solid rgb(0 0 0 / 0.1);
    outline-offset: -1px;
}

.g30t-gcc-guide-action {
    display: flex;
    clear: both;
    width: 100%;
    margin-block-start: 0.875rem;
    justify-content: center;
}

.g30t-gcc-guide-button {
    display: inline-flex;
    position: static !important;
    inset: auto !important;
    float: none !important;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: min(100%, 32rem);
    min-height: 2.75rem;
    max-width: 100%;
    margin: 0 auto !important;
    padding-block: 0.5rem;
    padding-inline: 1rem 0.875rem;
    border-radius: 0.75rem;
    color: #fff !important;
    background: #d31221;
    background-image: linear-gradient(135deg, #e31b2d 0%, #c20f1e 100%);
    box-shadow:
        0 0 0 1px rgb(128 7 17 / 0.08),
        0 0.25rem 0.75rem rgb(211 18 33 / 0.2);
    font-weight: 700;
    line-height: 1.5;
    text-align: center;
    text-decoration: none !important;
}

.g30t-gcc-guide-button::after {
    content: "←";
    display: inline-block;
    flex: 0 0 auto;
    font-size: 1.125em;
    line-height: 1;
}

.g30t-gcc-guide-button:hover {
    color: #fff !important;
    filter: brightness(0.96);
}

.g30t-gcc-guide-button:focus-visible {
    outline: 2px solid #111827;
    outline-offset: 3px;
}

@keyframes g30t-gcc-attention-pulse {
    0% {
        box-shadow:
            inset 0 0 0 1px rgb(211 18 33 / 0.18),
            0 0 0 0 rgb(211 18 33 / 0.28),
            0 0.25rem 1rem rgb(25 28 35 / 0.06);
    }
    75%, 100% {
        box-shadow:
            inset 0 0 0 1px rgb(211 18 33 / 0.18),
            0 0 0 0.875rem rgb(211 18 33 / 0),
            0 0.25rem 1rem rgb(25 28 35 / 0.06);
    }
}

@media (prefers-reduced-motion: no-preference) {
    .g30t-gcc-conflict-message {
        animation: g30t-gcc-attention-pulse 850ms ease-out 5;
        transition: opacity 180ms ease-out, transform 180ms ease-out;
    }
    .g30t-gcc-conflict-dismiss { transition: background-color 150ms ease-out; }
    .g30t-gcc-guide-button { transition: filter 150ms ease-out, box-shadow 150ms ease-out, scale 150ms ease-out; }
    .g30t-gcc-guide-button::after { transition: transform 150ms ease-out; }
    .g30t-gcc-guide-button:hover::after,
    .g30t-gcc-guide-button:focus-visible::after { transform: translateX(-0.125rem); }
    .g30t-gcc-conflict-dismiss:active,
    .g30t-gcc-guide-button:active { scale: 0.96; }
}

@media (max-width: 30rem) {
    .g30t-gcc-conflict-message { padding: 2rem 0.875rem 0.875rem; border-radius: 0.875rem; }
    .g30t-gcc-game-list { margin-block: 0.5rem; margin-inline: auto; }
    .g30t-gcc-guide-button { width: 100%; }
}
