/* geist served from here, no visitor goes to google for a font */
@font-face { font-family: 'Geist'; font-style: normal; font-weight: 400 700; font-display: swap; src: url(/fonts/geist-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Geist'; font-style: normal; font-weight: 400 700; font-display: swap; src: url(/fonts/geist-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
:root {
  --bg: #0A0A0D;
  --surface: #141419;
  --raised: #1B1B21;
  --border: #23232B;
  --text: #F5F5F7;
  --muted: #94949F;
  --red: #FF304F;
  --twitch: #9146FF;
  --radius: 12px;
  --gap: 16px;
  --pad: 24px;
  --cols: 5;
  --font: 'Geist', 'Inter', system-ui, sans-serif;
}

* { box-sizing: border-box; scrollbar-width: none; }
*::-webkit-scrollbar { display: none; }
html { -webkit-text-size-adjust: 100%; }
/* croatian red glowing in from both sides of the window, the middle dark for the cards */
body { margin: 0; background: linear-gradient(90deg, rgba(255, 48, 79, .16), rgba(255, 48, 79, 0) 14%, rgba(255, 48, 79, 0) 86%, rgba(255, 48, 79, .16)) fixed, var(--bg); color: var(--text); font: 15px/1.45 var(--font); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
img { display: block; }
button, input { font: inherit; color: inherit; }
button { cursor: pointer; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--text); outline-offset: 2px; border-radius: 4px; }

/* header: logo, search, shuffle, the filters under them */
.bar { position: sticky; top: 0; z-index: 20; background: rgba(10, 10, 13, .86); backdrop-filter: blur(18px); border-bottom: 1px solid rgba(255, 255, 255, .06); }
/* one row: logo, the categories as tabs in the middle, search and shuffle on the right */
.bar-in { display: flex; align-items: center; gap: 28px; max-width: 1600px; height: 64px; margin: 0 auto; padding: 0 var(--pad); }
.logo { display: inline-flex; align-items: center; gap: 10px; flex: none; font-weight: 700; font-size: 19px; letter-spacing: -.03em; white-space: nowrap; }
.logo b { color: var(--red); font-weight: 700; }
.mark { width: 28px; height: 28px; flex: none; }
.chips { flex: 1; display: flex; justify-content: safe center; align-self: stretch; gap: 4px; min-width: 0; overflow-x: auto; }
.chip { flex: none; position: relative; display: inline-flex; align-items: center; gap: 7px; padding: 0 12px; border: 0; background: none; color: var(--muted); font-size: 14px; font-weight: 500; white-space: nowrap; transition: color .15s ease; }
.chip:hover { color: var(--text); }
/* the open tab carries a thin line along the bar's foot */
.chip.on { color: var(--text); font-weight: 600; }
.chip.on::after { content: ''; position: absolute; left: 12px; right: 12px; bottom: -1px; height: 2px; border-radius: 2px; background: var(--text); }
.chip .x { margin-left: 2px; opacity: .6; font-size: 15px; line-height: 1; }
.chip small { min-width: 18px; padding: 1px 6px; border-radius: 999px; background: var(--red); color: #fff; font-size: 11px; font-weight: 600; text-align: center; font-variant-numeric: tabular-nums; }
.find { flex: 0 1 280px; display: flex; align-items: center; gap: 8px; height: 40px; padding: 0 10px 0 12px; border-radius: 10px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .06); transition: border-color .15s ease, background .15s ease; }
.find:focus-within { background: rgba(255, 255, 255, .07); border-color: rgba(255, 255, 255, .2); }
.find svg { width: 16px; height: 16px; flex: none; fill: none; stroke: var(--muted); stroke-width: 2; stroke-linecap: round; }
.find input { flex: 1; min-width: 0; height: 100%; border: 0; outline: 0; background: none; font-size: 14px; }
.find input::placeholder { color: var(--muted); }
.find input::-webkit-search-cancel-button { filter: invert(1) opacity(.5); }
kbd { padding: 1px 7px; border-radius: 6px; border: 1px solid rgba(255, 255, 255, .1); color: var(--muted); font: 500 12px var(--font); }
.find:focus-within kbd { display: none; }
.tool { flex: none; display: inline-grid; place-items: center; width: 40px; height: 40px; padding: 0; border-radius: 10px; border: 1px solid rgba(255, 255, 255, .06); background: rgba(255, 255, 255, .05); color: var(--muted); transition: color .15s ease, background .15s ease; }
.tool:hover { color: var(--text); background: rgba(255, 255, 255, .09); }
.tool svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.chip .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--red); }

main { max-width: 1600px; margin: 0 auto; padding: 20px var(--pad) 56px; }

/* the wall: one landscape grid, every cell the same shape, a featured card takes two by two */
.wall { display: grid; grid-template-columns: repeat(var(--cols), minmax(0, 1fr)); grid-auto-rows: 1fr; grid-auto-flow: dense; gap: var(--gap); }
.tile { display: flex; flex-direction: column; min-width: 0; }
.tile .art { position: relative; aspect-ratio: 16 / 9; overflow: hidden; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); }
.tile .art img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.tile .art img.contain { position: relative; object-fit: contain; }
.tile .art .trailer { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .3s ease; pointer-events: none; }
.tile .art .trailer.on { opacity: 1; }
.tile .art .trailer.stream { z-index: 2; opacity: 1; transition: none; }
.tile .art .trailer iframe { display: block; width: 100%; height: 100%; border: 0; }
.tile { position: relative; }
/* the pop-out: a black bar with the speaker on top, the player under it; a click outside the player opens the channel */
.popout { position: fixed; z-index: 15; display: flex; flex-direction: column; background: #000; box-shadow: 0 14px 40px rgba(0, 0, 0, .65); cursor: pointer; }
.popout .pop-bar { position: relative; flex: none; height: 36px; }
.popout .pop-bar .sound { top: 4px; right: 6px; }
.popout .player { flex: 1; display: block; pointer-events: none; }
.popout iframe { display: block; width: 100%; height: 100%; border: 0; }
.popout.gated .player { pointer-events: auto; }
/* a youtube video sits on black, its letterbox never shows the picture behind */
.tile .art .trailer.youtube { background: #000; }
.tile .art .trailer.youtube iframe { position: absolute; top: 50%; left: 0; height: auto; aspect-ratio: 16 / 9; transform: translateY(-50%); }
.tile .art .feature-meta { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; display: grid; gap: 2px; padding: 40px 140px 14px 18px; background: linear-gradient(180deg, transparent, rgba(12, 12, 15, .88)); pointer-events: none; }
.tile .art .feature-meta b { font-size: 20px; font-weight: 600; letter-spacing: -.02em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tile .art .feature-meta small { color: rgba(255, 255, 255, .78); font-size: 13.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tile .art .stores { position: absolute; right: 8px; bottom: 8px; z-index: 1; display: flex; gap: 4px; }
.tile .art .store { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 6px; background: rgba(12, 12, 15, .72); cursor: pointer; transition: background .15s ease; }
.tile .art .store svg { width: 13px; height: 13px; fill: rgba(255, 255, 255, .9); }
@media (hover: hover) { .tile .art .store:hover { background: rgba(12, 12, 15, .95); } .tile .art .store:hover svg { fill: #fff; } }
.tile .art .blur { position: absolute; inset: -20px; width: calc(100% + 40px); height: calc(100% + 40px); object-fit: cover; filter: blur(22px) brightness(.6); }
@media (hover: hover) { .tile:hover .art img:not(.blur) { transform: scale(1.03); } .tile:hover .art { border-color: #3a3a45; } }
.meta { display: flex; align-items: center; gap: 10px; min-height: 52px; padding: 10px 2px 0; }
.meta > span { flex: 1; min-width: 0; display: grid; }
.meta b { font-size: 15px; font-weight: 600; letter-spacing: -.01em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.meta small { color: var(--muted); font-size: 12.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.meta .avatar { width: 32px; height: 32px; }
.platform { width: 15px; height: 15px; flex: none; fill: var(--muted); }

.badge { position: absolute; top: 10px; z-index: 1; display: inline-flex; align-items: center; gap: 6px; padding: 3px 8px; border-radius: 6px; font-size: 11.5px; font-weight: 600; font-variant-numeric: tabular-nums; }
.badge.live { left: 10px; background: var(--live, var(--red)); color: #fff; letter-spacing: .03em; }
.badge.live svg { width: 12px; height: 12px; fill: #fff; }
/* a live card's place by viewers sits before its live badge */
.badge-row { position: absolute; top: 10px; left: 10px; z-index: 1; display: flex; gap: 6px; }
.badge-row .badge { position: static; }
.badge.rank { background: rgba(12, 12, 15, .78); color: #fff; font-weight: 700; }
/* the big twitch card: the stream fills the card on black, no live badge or viewers on it, only the speaker */
.tile.featured.twitch .art > .trailer.stream { background: #000; }
.tile.featured.twitch .badge-row, .tile.featured.twitch .badge.viewers { display: none; }
.badge-row, .badge.viewers { z-index: 2; }
.badge.viewers { right: 10px; background: rgba(12, 12, 15, .78); }
.badge .dot { width: 6px; height: 6px; border-radius: 50%; background: #fff; }

/* featured: two by two, the text on a short gradient at the bottom */
.tile.featured { grid-column: span 2; grid-row: span 2; }
.tile.featured .art { flex: 1; aspect-ratio: auto; }
.tile.featured .art::after { content: ''; position: absolute; inset: 55% 0 0; background: linear-gradient(180deg, transparent, rgba(12, 12, 15, .85)); pointer-events: none; }
.tile.featured .meta { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; padding: 16px 18px; min-height: 0; }
.tile.featured { position: relative; }
.tile.featured .meta b { font-size: 20px; letter-spacing: -.02em; }
.tile.featured .meta small { color: rgba(255, 255, 255, .78); }
.tile.featured .meta p { margin: 4px 0 0; color: rgba(255, 255, 255, .78); font-size: 13.5px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.tile.featured .platform { fill: rgba(255, 255, 255, .8); }

.avatar { flex: none; border-radius: 50%; object-fit: cover; background: var(--raised); }
.initials { display: inline-grid; place-items: center; color: var(--muted); font-size: 12px; font-weight: 600; }

/* directories: creators and studios in plain cards */
.dir { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; }
.dir-title { margin: 32px 0 12px; color: var(--muted); font-size: 13px; font-weight: 600; }
.dir-title:first-child { margin-top: 0; }
/* the big stream on the left kept 16:9, a block of small streams next to it; a card that changes fades */
.live-strip { display: grid; align-items: stretch; gap: var(--gap); }
.live-strip > .tile.featured { grid-column: auto; grid-row: auto; }
.live-page { display: grid; grid-template-columns: repeat(var(--page-cols), minmax(0, 1fr)); gap: var(--gap); }
.live-strip .tile { transition: opacity .35s ease; }
.live-strip .tile.fading { opacity: 0; }
.wall .tile[data-slot], .wall .tile[data-announced] { transition: opacity .35s ease; }
.wall .tile[data-slot].fading, .wall .tile[data-announced].fading { opacity: 0; }
.wall-title { display: flex; align-items: center; gap: 8px; margin: 32px 0 14px; color: var(--text); font-size: 16px; font-weight: 600; letter-spacing: -.01em; }
.wall-title:first-child { margin-top: 0; }
.wall-title small { color: var(--muted); font-size: 13px; font-weight: 500; }
.wall-title .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--red); }
.wall-title button { display: inline-flex; align-items: center; gap: 8px; padding: 0; border: 0; background: none; color: inherit; font: inherit; letter-spacing: inherit; cursor: pointer; }
.wall-title .see-all { margin-left: auto; gap: 2px; color: var(--muted); font-size: 13px; font-weight: 500; }
.wall-title .chev { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; }
@media (hover: hover) { .wall-title button:hover { color: var(--text); } }
.person, .studio { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); text-align: left; }
.person:hover, .studio:hover { background: var(--raised); }
.person .avatar { width: 48px; height: 48px; }
.person.is-live .avatar { box-shadow: 0 0 0 2px var(--surface), 0 0 0 4px var(--red); }
.person > span, .studio > span { flex: 1; min-width: 0; display: grid; gap: 1px; }
.person b, .studio b { font-size: 15px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.person small, .studio small { color: var(--muted); font-size: 12.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.person .live-word { color: var(--red); font-weight: 600; }
.icons { display: flex; gap: 8px; margin-top: 3px; }
.tile.is-person .art .host .avatar { box-shadow: 0 0 0 2px rgba(12, 12, 15, .9), 0 0 0 4px rgba(255, 255, 255, .22); }
.tile.is-person .art .icons { position: absolute; top: 10px; right: 12px; z-index: 1; margin: 0; }
.tile.is-person .art .icons svg { width: 14px; height: 14px; fill: rgba(255, 255, 255, .85); }
@media (hover: hover) { .tile.is-person:hover .art { border-color: #4a4a58; } }
.icons svg { width: 13px; height: 13px; fill: var(--muted); }
.studio { border-width: 1px; }
.studio .logo-box { width: 56px; height: 56px; flex: none; display: grid; place-items: center; border-radius: 10px; background: var(--raised); color: var(--muted); font-weight: 600; }
.studio .logo-box img { max-width: 80%; max-height: 80%; object-fit: contain; }

.skeleton .art, .skeleton .line { background: linear-gradient(100deg, var(--surface) 40%, var(--raised) 50%, var(--surface) 60%) 0 0 / 300% 100%; animation: shimmer 1.4s linear infinite; }
.skeleton .line { height: 12px; margin: 14px 2px 0; width: 60%; border-radius: 6px; }
@keyframes shimmer { to { background-position: -150% 0; } }
.empty { grid-column: 1 / -1; display: grid; justify-items: center; gap: 12px; padding: 64px 16px; color: var(--muted); text-align: center; }
.empty b { color: var(--text); font-size: 17px; font-weight: 600; }
.suggest { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; }
.sentinel { height: 1px; }

@media (max-width: 1439px) { :root { --cols: 4; } }
@media (max-width: 1023px) { :root { --cols: 3; } }
@media (max-width: 767px) {
  :root { --cols: 2; --gap: 12px; --pad: 12px; }
  /* phones: logo, search and shuffle on top, the tabs a row of their own under them */
  .bar-in { flex-wrap: wrap; height: auto; gap: 8px 10px; padding-top: 10px; }
  .logo span, kbd { display: none; }
  .find { flex: 1 1 auto; order: 1; }
  .tool { order: 2; }
  .chips { order: 3; flex-basis: 100%; justify-content: flex-start; height: 44px; margin: 0 calc(-1 * var(--pad)); padding: 0 calc(var(--pad) - 12px); }
  .meta b { font-size: 14px; }
  .tile.featured .meta b { font-size: 17px; }
  .tile.featured .meta p { display: none; }
  .live-strip { row-gap: var(--gap); }
  .live-strip > .tile.featured { grid-column: 1 / -1; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }

/* a featured card is sized by the grid, never by its picture */
.tile.featured .art { min-height: 0; }
.tile.featured .art img { position: absolute; inset: 0; }
.badge .eye { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 2; }
/* on two columns a featured card has the row to itself, its own shape holds it open */
@media (max-width: 760px) { .tile.featured .art { flex: none; aspect-ratio: 16 / 9; } }

/* every card is its artwork, the text on a soft gradient at its foot; two by two then stays 16:9 */
.tile { position: relative; }
.tile .art::after { content: ''; position: absolute; inset: 50% 0 0; background: linear-gradient(180deg, transparent, rgba(12, 12, 15, .88)); pointer-events: none; }
.tile .meta { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; min-height: 0; padding: 10px 12px; }
.tile .meta small { color: rgba(255, 255, 255, .75); }
.tile .platform { fill: rgba(255, 255, 255, .8); }
.tile.featured .art { aspect-ratio: auto; flex: 1; }
.tile.featured .meta { padding: 16px 18px; }
.badge.kind { left: 10px; background: rgba(12, 12, 15, .72); color: rgba(255, 255, 255, .85); font-weight: 500; letter-spacing: .02em; }
@media (max-width: 760px) { .tile.featured .art { flex: none; aspect-ratio: 16 / 9; } .tile .meta { padding: 8px 10px; } .tile .meta .avatar { width: 26px; height: 26px; } }

/* games and streamers told apart by their outline: a thin blue line, a firmer red one */
.tile.is-game .art { border: 1px solid rgba(255, 255, 255, .14); }
/* a live card wears its platform's colour: twitch purple, youtube red */
.tile.is-live { --live: var(--red); }
.tile.is-live.twitch { --live: var(--twitch); }
.tile.is-live .art { border: 2px solid color-mix(in srgb, var(--live) 75%, transparent); }
@media (hover: hover) { .tile.is-game:hover .art { border-color: rgba(255, 255, 255, .38); } .tile.is-live:hover .art { border-color: var(--live); } }

/* every card takes the shape of a steam capsule, live previews too, so rows stay even */
.tile .art { aspect-ratio: 460 / 215; }
.tile.capsule .art::after { display: none; }

/* live: the stream dimmed behind, the creator's face up front */
.tile.is-live .art::after { inset: 0; background: rgba(12, 12, 15, .52); }
.tile.is-live .art img.stream { filter: saturate(1.1); }
/* a youtube live video playing under the card shows itself, the face and name step aside */
.tile.is-live .host { transition: opacity .3s ease; }
.tile.is-live .art:has(.trailer.youtube.on) .host, .tile.is-live .art:has(.trailer.youtube.on)::after { opacity: 0; }
.tile.is-live .art::after { transition: opacity .3s ease; }
.host { position: absolute; inset: 0; z-index: 1; display: grid; place-content: center; justify-items: center; gap: 4px; padding: 10px; text-align: center; }
.host .avatar { margin-bottom: 4px; box-shadow: 0 0 0 2px rgba(12, 12, 15, .9), 0 0 0 4px var(--live, var(--red)); }
.host b { max-width: 100%; font-size: 15px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; text-shadow: 0 1px 8px rgba(0, 0, 0, .6); }
.host small { display: inline-flex; align-items: center; gap: 5px; max-width: 100%; color: rgba(255, 255, 255, .82); font-size: 12.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.host .platform { width: 12px; height: 12px; fill: rgba(255, 255, 255, .8); }
.tile.featured .host b { font-size: 22px; }
.tile.featured .host small { font-size: 14px; }
@media (max-width: 760px) { .host .avatar { width: 48px; height: 48px; } .tile.featured .host .avatar { width: 84px; height: 84px; } .host b { font-size: 13.5px; } }
/* the face keeps its own size, the card's picture rules are for the stream behind it */
.tile .art .host img.avatar, .tile .art .host .avatar { position: static; inset: auto; width: 64px; height: 64px; object-fit: cover; transform: none; }
.tile.featured .art .host img.avatar, .tile.featured .art .host .avatar { width: 112px; height: 112px; }
@media (max-width: 760px) { .tile .art .host img.avatar, .tile .art .host .avatar { width: 48px; height: 48px; } .tile.featured .art .host img.avatar, .tile.featured .art .host .avatar { width: 84px; height: 84px; } }
/* the face whole, never cropped to a circle and never blown up past its picture */
.tile .art .host img.avatar, .tile .art .host .avatar { width: 64px; height: 64px; border-radius: 14px; object-fit: contain; background: rgba(12, 12, 15, .6); box-shadow: 0 0 0 2px var(--live, var(--red)); }
.tile.featured .art .host img.avatar, .tile.featured .art .host .avatar { width: 88px; height: 88px; border-radius: 18px; }
@media (max-width: 760px) { .tile .art .host img.avatar, .tile .art .host .avatar { width: 48px; height: 48px; border-radius: 11px; } .tile.featured .art .host img.avatar, .tile.featured .art .host .avatar { width: 72px; height: 72px; } }
/* round faces, a size up */
.tile .art .host img.avatar, .tile .art .host .avatar { width: 76px; height: 76px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 2px rgba(12, 12, 15, .9), 0 0 0 4px var(--live, var(--red)); }
.tile.featured .art .host img.avatar, .tile.featured .art .host .avatar { width: 124px; height: 124px; border-radius: 50%; }
@media (max-width: 760px) { .tile .art .host img.avatar, .tile .art .host .avatar { width: 56px; height: 56px; } .tile.featured .art .host img.avatar, .tile.featured .art .host .avatar { width: 92px; height: 92px; } }
/* small live cards: the name beside the face, so nothing is cut; the featured card stacks them */
.host-text { display: grid; gap: 2px; min-width: 0; max-width: 100%; justify-items: center; }
.tile:not(.featured) .host { display: flex; align-items: center; justify-content: center; gap: 12px; text-align: left; padding: 10px 14px; }
.tile:not(.featured) .host .avatar { margin-bottom: 0; flex: none; }
.tile:not(.featured) .host-text { justify-items: start; }

/* the live dot breathes out a ring, as in the first version */
.badge.live .dot, .chip .dot { animation: pulse 1.6s ease-out infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(255, 255, 255, .75); } 70% { box-shadow: 0 0 0 7px rgba(255, 255, 255, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0); } }
.chip .dot { animation-name: pulse-red; }
@keyframes pulse-red { 0% { box-shadow: 0 0 0 0 rgba(255, 48, 79, .7); } 70% { box-shadow: 0 0 0 6px rgba(255, 48, 79, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 48, 79, 0); } }

/* the first version's logo: croatian in a slow red and white shimmer */
.logo { font-size: 21px; letter-spacing: -.035em; }
.logo b { background: linear-gradient(100deg, var(--red) 15%, #fff 50%, var(--red) 85%); background-size: 220% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: shine 6s ease-in-out infinite; }
@keyframes shine { 50% { background-position: 100% 0; } }
/* subtler: a small soft ring, a slow mostly red shimmer */
.badge.live .dot, .chip .dot { animation-duration: 2.4s; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(255, 255, 255, .45); } 70% { box-shadow: 0 0 0 4px rgba(255, 255, 255, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0); } }
@keyframes pulse-red { 0% { box-shadow: 0 0 0 0 rgba(255, 48, 79, .45); } 70% { box-shadow: 0 0 0 4px rgba(255, 48, 79, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 48, 79, 0); } }
.logo b { background-image: linear-gradient(100deg, var(--red) 30%, #ffb3be 50%, var(--red) 70%); animation-duration: 9s; }
/* small live cards: name and game on the left, the face on the right */
.tile:not(.featured) .host { justify-content: space-between; flex-direction: row-reverse; padding: 36px 14px 12px 14px; align-items: flex-end; }
.tile:not(.featured) .host-text { flex: 1; justify-items: start; text-align: left; }
.tile:not(.featured) .host small { justify-content: flex-start; }
/* live pulse: between the first loud one and the too quiet one */
.badge.live .dot, .chip .dot { animation-duration: 1.8s; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(255, 255, 255, .65); } 70% { box-shadow: 0 0 0 6px rgba(255, 255, 255, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0); } }
@keyframes pulse-red { 0% { box-shadow: 0 0 0 0 rgba(255, 48, 79, .6); } 70% { box-shadow: 0 0 0 6px rgba(255, 48, 79, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 48, 79, 0); } }

/* a live badge breathes: a soft ring in its platform's colour, as the old live dot did */
.badge.live { animation: live-ring 1.8s ease-out infinite; }
@keyframes live-ring { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--live, var(--red)) 70%, transparent); } 70% { box-shadow: 0 0 0 6px transparent; } 100% { box-shadow: 0 0 0 0 transparent; } }

/* the footer: what the site is and where its pictures and streams come from */
.foot { margin-top: 24px; border-top: 1px solid rgba(255, 255, 255, .06); }
.foot-in { display: grid; gap: 8px; max-width: 1600px; margin: 0 auto; padding: 28px var(--pad) 40px; color: var(--muted); font-size: 13px; line-height: 1.6; }
.foot p { margin: 0; }
.foot b { color: var(--text); font-weight: 600; }
.foot a, .link { color: var(--text); text-decoration: underline; text-decoration-color: rgba(255, 255, 255, .25); text-underline-offset: 2px; }
.link { padding: 0; border: 0; background: none; font: inherit; cursor: pointer; }
.noscript { max-width: 640px; margin: 40px auto; padding: 0 var(--pad); color: var(--muted); }

/* the cookie question sits at the foot of the window until answered */
.consent { position: fixed; left: 50%; bottom: 20px; z-index: 30; display: flex; align-items: center; gap: 16px; width: min(720px, calc(100% - 24px)); padding: 14px 16px; border-radius: 14px; background: #16161B; border: 1px solid rgba(255, 255, 255, .1); box-shadow: 0 18px 50px rgba(0, 0, 0, .5); font-size: 14px; translate: -50% 0; }
.consent p { flex: 1; margin: 0; color: var(--muted); }
.consent-actions { display: flex; flex: none; gap: 8px; }
.consent button { height: 36px; padding: 0 14px; border-radius: 10px; border: 1px solid rgba(255, 255, 255, .1); background: rgba(255, 255, 255, .05); color: var(--text); font: 500 14px var(--font); cursor: pointer; }
.consent .primary { border-color: var(--text); background: var(--text); color: var(--bg); font-weight: 600; }
@media (max-width: 767px) { .consent { flex-direction: column; align-items: stretch; } .consent-actions button { flex: 1; } }

/* the speaker on a playing card, the viewers step aside for it */
.sound { position: absolute; top: 8px; right: 8px; z-index: 3; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: rgba(12, 12, 15, .78); cursor: pointer; transition: background .15s ease; }
.sound svg { width: 16px; height: 16px; fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.sound[aria-pressed="true"] { background: var(--live, var(--red)); }
@media (hover: hover) { .sound:hover { background: rgba(12, 12, 15, .95); } .sound[aria-pressed="true"]:hover { background: var(--live, var(--red)); filter: brightness(1.15); } }
.tile.has-sound .badge.viewers { right: 44px; }
.wall-title .sound { position: static; margin-left: auto; }
.wall-title .sound + .see-all { margin-left: 12px; }
