/* A dedicated surface avoids the public site's global .card background override. */
.et-promo {
    border-radius: 1.25rem;
    background: linear-gradient(135deg, #0b1120, #1c2537);
    color: #fff;
    border: 1px solid #475569;
    box-shadow: 0 6px 16px rgb(0 0 0 / 12%);
}
.et-promo h2, .et-promo p { color: #fff; }
.et-promo .btn-light { color: #152335; background: #fff; border-color: #fff; }
.et-promo .btn-light:hover, .et-promo .btn-light:focus-visible { color: #0b1120; background: #e2e8f0; border-color: #e2e8f0; }
.et-promo-body > div { min-width: 0; }

/* Shared challenge branding stays readable on both light cards and dark navigation. */
.et-competition-logo { display: inline-block; width: 24px; height: 24px; object-fit: contain; flex-shrink: 0; vertical-align: middle; background: #fff; padding: 2px; border-radius: .3rem; }
/* Selectable game cards: one shared opponent label, clear current-page state. */
.et-selector-heading { display: flex; flex-wrap: wrap; align-items: center; gap: .65rem; margin-bottom: .7rem; }
.et-selector-title { color: #f8fafc; font-size: .88rem; font-weight: 600; }
.et-selector-opponent { display: inline-flex; align-items: center; gap: .5rem; padding: .25rem .6rem; border: 1px solid #ffffff24; border-radius: 2rem; background: #ffffff06; color: #dce8f3; font-size: .76rem; }
.et-game-strip { position: relative; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: .6rem; padding: .2rem; }
.et-game-selector .et-game-card { position: relative; display: flex; align-items: center; gap: .65rem; min-width: 0; min-height: 72px; padding: .75rem .7rem; border: 1px solid #40556c; border-radius: .8rem; background: linear-gradient(145deg,#21394f,#1a2d40); color: #e2e8f0; text-decoration: none; box-shadow: 0 3px 10px #00000012; transition: background-color .15s,border-color .15s,box-shadow .15s; }
.et-game-selector .et-game-card:visited { color: #e2e8f0; }
.et-game-selector .et-game-card:hover { color: #fff; border-color: #89a9c5; background: #28455f; box-shadow: 0 4px 12px #00000020; }
.et-game-selector .et-game-card.is-selected,
.et-game-selector .et-game-card.is-selected:visited,
.et-game-selector .et-game-card.is-selected:hover { color: #173958; border-color: #80b3e8; background: #e8f2ff; box-shadow: inset 0 0 0 1px #80b3e8,0 3px 12px #00000014; }
.et-game-selector .et-game-card:focus-visible { outline: 3px solid #a8d6ff; outline-offset: 2px; }
.et-game-card .et-game-card-logo { width: 32px; height: 32px; padding: 3px; border-radius: .45rem; }
.et-game-card-name { font-size: .8rem; font-weight: 550; line-height: 1.3; overflow-wrap: anywhere; }
.et-game-card.is-selected .et-game-card-name { padding-right: .5rem; font-weight: 650; }
.et-game-card-check { position: absolute; top: .25rem; right: .35rem; color: #2465a1; font-size: .7rem; }
.et-selector-hint { display: none; color: #c5d4e3; font-size: .72rem; }
@media (max-width: 991.98px) {
    .et-game-strip { display: flex; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x proximity; scrollbar-width: thin; scrollbar-color: #7196b7 transparent; padding: .25rem .2rem .6rem; }
    .et-game-selector .et-game-card { flex: 0 0 165px; scroll-snap-align: center; min-height: 66px; }
    .et-selector-hint { display: block; }
}
@media (prefers-reduced-motion: reduce) {
    .et-game-selector .et-game-card { transition: none; }
}
