/* Game of the week (GameOfWeekService, owner 2026-10-22): the badge, the window and the game page's strip. */
.gotw-badge {
    display: inline-flex; align-items: center; gap: 4px; padding: 2px 7px; border: 1px solid rgba(240, 198, 116, .55); border-radius: 999px;
    background: linear-gradient(180deg, rgba(240, 198, 116, .22), rgba(240, 198, 116, .08)); color: #f6d78b;
    font-size: 10px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; line-height: 1.4; white-space: nowrap; vertical-align: middle;
}
.gotw-badge::before { content: ""; width: 14px; height: 14px; background: url("../images/games/week/emblem-64.webp") center / contain no-repeat; }
/* The menu styles every span inside a link as a grid row; the badge stays a small pill next to the name. */
.markets-card__links strong .gotw-badge { display: inline-flex; width: auto; margin-left: 6px; padding: 1px 6px; font-size: 9px; line-height: 1.4; vertical-align: 2px; }
.hanzo__gamecard { position: relative; }
.hanzo__gamecard.is-gotw { border-color: rgba(240, 198, 116, .6); box-shadow: 0 0 18px rgba(240, 198, 116, .14); }
.hanzo__gamecard > .gotw-badge { position: absolute; left: 10px; top: 10px; z-index: 1; }

/* One line under a page head: /games and the leaderboard. */
.gotw-line {
    display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; margin: 0 0 14px; padding: 8px 12px;
    border: 1px solid rgba(240, 198, 116, .3); border-radius: 10px; background: rgba(240, 198, 116, .06); font-size: 13px; color: rgba(239, 230, 210, .8);
}
.gotw-line b { color: #f6d78b; }
.gotw-line a { color: #f6d78b; font-weight: 700; margin-left: auto; }

/* The game page's strip: one slim line. */
.gotw-strip {
    display: flex; flex-wrap: nowrap; align-items: center; gap: 14px; margin: 0 0 12px; padding: 6px 12px;
    overflow-x: auto; white-space: nowrap; scrollbar-width: none;
    border: 1px solid rgba(240, 198, 116, .35); border-radius: 10px; background: linear-gradient(90deg, rgba(240, 198, 116, .12), rgba(240, 198, 116, .03));
    font-size: 13px; line-height: 1.5; color: rgba(239, 230, 210, .78);
}
.gotw-strip::-webkit-scrollbar { display: none; }
.gotw-strip > * { flex: 0 0 auto; }
.gotw-strip__prize { color: #f6d78b; font-weight: 700; }
.gotw-strip__fresh { color: rgba(255, 255, 255, .6); font-size: 12px; }
.gotw-strip__top { display: inline-flex; gap: 12px; }
.gotw-strip__top span { white-space: nowrap; }
.gotw-strip__top b { color: #fff; font-weight: 700; }
.gotw-strip__top em { font-style: normal; color: #f6d78b; }
.gotw-strip__mine { margin-left: auto; white-space: nowrap; color: #5fdc7a; font-weight: 600; }
.gotw-strip__mine.is-guest { color: rgba(239, 230, 210, .6); font-weight: 400; }

/* The window: the site's login-modal frame with its own card. */
.gotw-modal .login-modal__card { width: min(460px, 100%); text-align: center; }
/* The game's banner across the top, the week's emblem hanging over its lower edge. */
.gotw-modal__banner { position: relative; margin: 0 0 30px; }
.gotw-modal__banner > img:first-child { display: block; width: 100%; height: auto; aspect-ratio: 920 / 403; object-fit: cover; border-radius: 10px; border: 1px solid rgba(240, 198, 116, .35); box-shadow: 0 10px 30px rgba(0, 0, 0, .5); }
.gotw-modal__emblem { position: absolute; left: 50%; bottom: -30px; width: 72px; height: 72px; transform: translateX(-50%); filter: drop-shadow(0 6px 14px rgba(0, 0, 0, .7)); }
.gotw-modal h2 { margin: 2px 0 8px; }
.gotw-modal__prize { display: flex; justify-content: center; gap: 8px; margin: 0 0 10px; }
.gotw-modal__prize span {
    display: grid; gap: 1px; min-width: 70px; padding: 6px 8px; border: 1px solid rgba(240, 198, 116, .3); border-radius: 10px; background: rgba(0, 0, 0, .3);
    font-size: 11px; color: rgba(239, 230, 210, .65);
}
.gotw-modal__prize b { font-size: 18px; color: #f6d78b; }
.gotw-modal__prize span:first-child { border-color: rgba(240, 198, 116, .7); }
.gotw-modal__text { margin: 0 0 8px; color: rgba(238, 242, 255, .8); font-size: 14px; line-height: 1.5; }
.gotw-modal__left { margin: 0 0 14px; color: #f6d78b; font-size: 13px; font-weight: 600; }
.gotw-modal .auth-submit { display: flex; align-items: center; justify-content: center; width: 100%; text-decoration: none; }
.gotw-modal .login-modal__links { justify-content: center; margin-top: 10px; }

@media (max-width: 560px) {
    .gotw-strip { font-size: 12px; gap: 10px; padding: 6px 10px; }
    .gotw-line a { margin-left: 0; }
}
