/* 2000sGaming — cleanup pass (owner, 2026-11-28: "make it look a bit cleaner across the board").
 * Loaded last on every page. Tightens spacing, fixes overlaps and evens out headings; it does not change the theme's look.
 */

/* ---------- Homepage: one even rhythm between sections (it had 80–300px holes) ---------- */
.hp-sec { margin-top: clamp(22px, 2.6vw, 40px); }
.hp-sec + .hp-sec { margin-top: clamp(22px, 2.6vw, 40px); }
.hp-profile { padding-top: clamp(22px, 2.6vw, 40px); padding-bottom: 0; }
.gh.gh--home { padding-bottom: 0; }
.hp-channels { margin-bottom: 0; }
@media (max-width: 699.98px) {
	.hp-sec, .hp-sec + .hp-sec,
	html[data-sg-theme] .hp-sec, html[data-sg-theme] .hp-sec + .hp-sec { margin-top: 26px; }
	html[data-sg-theme] .hp-profile, .hp-profile { margin-top: 26px; padding-top: 0; }
}

/* Section headings: title and its button stay on one line, phones included */
.hp-sec__head, .hp-lib .hp-sec__head { flex-wrap: nowrap; align-items: center; gap: 12px; }
.hp-sec__title { min-width: 0; line-height: 1.15; }
@media (max-width: 599.98px) {
	.hp-sec__title { font-size: 20px; }
	.hp-more { padding: 6px 12px; font-size: 12.5px; white-space: nowrap; }
}

/* ---------- Game carousel: the game's details sit under the case instead of on top of the buttons below ---------- */
@media (hover: hover) and (pointer: fine) and (min-width: 600px) {
	.cf__item { top: calc(var(--w) / .72 / 2 + 24px); }
	.cf__stage { height: calc(clamp(230px, 21vw, 360px) / .72 + 215px); }
}
@media (max-width: 599px) {
	.cf__stage { height: calc(54vw / .72 + 56px); }
}
@media (hover: hover) and (pointer: fine) and (max-width: 599px) { /* narrow window with a mouse: details float under the case */
	.cf__item { top: calc(var(--w) / .72 / 2 + 18px); }
	.cf__stage { height: calc(54vw / .72 + 215px); }
}
.cf__tip-desc { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.cf__hints { margin-top: 2px; }

/* Games page: headings line up with the content, empty notes are readable */
.gh-sec { margin-top: clamp(18px, 2.4vw, 32px); }
.gh-empty { padding: 16px 20px; border-radius: 16px; color: #fff; background: rgba(0, 0, 0, .42); text-shadow: none; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .18); }
.gh-empty a { color: #b8ff7a; }

/* ---------- Game pages: a shorter comment box ---------- */
.comment-form textarea { min-height: 110px; height: 120px; }
.comment-respond { margin-top: 0; }

/* ---------- Commercial Archives and Nostalgia TV: solid dark panels instead of see-through grey ---------- */
.ca-head, .ca-filters, .tv-guide { background: rgba(14, 16, 22, .88); box-shadow: 0 8px 22px rgba(0, 0, 0, .25), inset 0 0 0 1px rgba(255, 255, 255, .08); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.ca-filters { align-items: center; }
.ca-filter select { min-height: 38px; }
.tv-guide__item { background: rgba(255, 255, 255, .05); }

/* ---------- Friends (signed out): one heading, spaced buttons ---------- */
.fr-guest p:last-child { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 0; }
.fr-guest p:first-child { margin-top: 0; }

/* ---------- The one footer, same on every page ---------- */
.sgf { position: relative; z-index: 1; margin-top: clamp(40px, 5vw, 72px); color: #e9edf3; background: rgba(8, 11, 18, .88); -webkit-backdrop-filter: blur(14px) saturate(1.2); backdrop-filter: blur(14px) saturate(1.2); border-top: 1px solid rgba(255, 255, 255, .12); box-shadow: 0 -10px 30px rgba(0, 0, 0, .18); font-family: "Nunito", system-ui, sans-serif; }
.sgf a { color: #fff; text-decoration: none; }
.sgf a:hover, .sgf a:focus-visible { color: #b8ff7a; text-decoration: underline; }
.sgf__in { box-sizing: border-box; display: grid; grid-template-columns: minmax(220px, 1fr) 2fr; gap: 28px 48px; max-width: 1320px; margin: 0 auto; padding: 34px clamp(16px, 3vw, 32px) 24px; }
.sgf__logo img { display: block; width: 200px; max-width: 100%; height: auto; }
.sgf__tag { margin: 12px 0 0; font-size: 15px; color: rgba(233, 237, 243, .78); }
.sgf__social { display: flex; flex-wrap: wrap; gap: 8px 16px; margin: 12px 0 0; font-size: 14px; font-weight: 800; }
.sgf__nav { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.sgf__nav > div { display: grid; align-content: start; gap: 8px; }
.sgf__nav a { font-size: 15px; font-weight: 700; }
.sgf__h { margin: 0 0 4px; font-size: 13px; font-weight: 900; color: #8fd14f; letter-spacing: .02em; }
.sgf__base { box-sizing: border-box; display: flex; align-items: center; justify-content: space-between; gap: 10px 24px; max-width: 1320px; margin: 0 auto; padding: 14px clamp(16px, 3vw, 32px) 22px; border-top: 1px solid rgba(255, 255, 255, .1); }
.sgf__base p { margin: 0; max-width: 80ch; font-size: 12.5px; line-height: 1.5; color: rgba(233, 237, 243, .6); }
.sgf__top { flex-shrink: 0; font-size: 13px; font-weight: 800; }
@media (max-width: 759.98px) {
	.sgf__in { grid-template-columns: 1fr; gap: 22px; padding-top: 26px; }
	.sgf__nav { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.sgf__base { flex-direction: column; align-items: flex-start; }
}
/* the old footers' leftovers */
.sg-footer, .hp-foot { display: none; }

/* ---------- Homepage carousel: keep it inside its section so the arrows aren't cut in half ---------- */
.gh--home .cf__stage { margin-left: 0; margin-right: 0; }
.gh--home .cf__stage .cf__arrow--prev { left: 6px; }
.gh--home .cf__stage .cf__arrow--next { right: 6px; }
@media (max-width: 599px) { .gh--home .cf__arrow { width: 40px; height: 40px; margin-top: -20px; } }
/* inner pages style every link and h2 green/dark: keep the footer's own colours */
html body .sgf a { color: #fff !important; text-decoration: none; }
html body .sgf a:hover, html body .sgf a:focus-visible { color: #b8ff7a !important; text-decoration: underline; }
html body .sgf .sgf__h { color: #8fd14f !important; font-family: inherit; text-shadow: none; }
html body .sgf p { color: rgba(233, 237, 243, .78); }
html body .sgf .sgf__base p { color: rgba(233, 237, 243, .6); }

/* "Muted" hint on Nostalgia TV and Internet Legends: a small corner chip, not a big button over the video */
.tv-sound, .lg-sound { left: 10px !important; top: auto !important; bottom: 10px !important; right: auto !important; transform: none !important; margin: 0 !important; padding: 7px 12px !important; font: 800 13px/1 "Nunito", system-ui, sans-serif !important; color: #fff !important; background: rgba(0, 0, 0, .72) !important; border-radius: 999px !important; box-shadow: 0 0 0 1px rgba(255, 255, 255, .25) !important; white-space: nowrap; }

/* ---------- Comments: sign in / create account box for signed-out visitors ---------- */
.sg-cmt-gate { display: grid; justify-items: center; gap: 6px; padding: 22px 18px; border-radius: 16px; text-align: center; color: #fff; background: rgba(14, 16, 22, .9); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1); }
.sg-cmt-gate p { margin: 0; }
.sg-cmt-gate__t { font-size: 18px; font-weight: 900; color: #fff; }
.sg-cmt-gate__s { font-size: 14px; color: rgba(255, 255, 255, .75); }
.sg-cmt-gate__b { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 8px !important; }
.sg-cmt-gate__b a { display: inline-flex; align-items: center; min-height: 40px; padding: 0 20px; border-radius: 999px; font-weight: 900; font-size: 14px; text-decoration: none !important; }
html body .sg-cmt-gate__in { color: #0d1f00 !important; background: linear-gradient(180deg, #b6ff6a, #5fc61a); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .6), 0 2px 8px rgba(0, 0, 0, .25); }
html body .sg-cmt-gate__up { color: #fff !important; background: rgba(255, 255, 255, .1); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .35); }
.sg-cmt-gate__b a:hover, .sg-cmt-gate__b a:focus-visible { filter: brightness(1.1); }

/* Member / Guest tags next to comment authors */
.sg-cbadge { display: inline-block; margin-left: 4px; padding: 1px 7px; border-radius: 999px; font-size: 10.5px; font-weight: 900; line-height: 1.5; vertical-align: 1px; letter-spacing: .02em; }
.sg-cbadge--member { color: #0d1f00; background: #8fe04a; }
.sg-guest { font-weight: 800; opacity: .85; }

/* "You'll post as Guest 12 · Sign in / Create account" line above the comment box */
.sg-cmt-as { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 14px; margin: 0 0 12px; padding: 10px 12px; border-radius: 12px; font-size: 14px; font-weight: 700; background: rgba(0, 0, 0, .05); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .08); }
.sg-cmt-as__b { display: flex; flex-wrap: wrap; gap: 8px; }
.sg-cmt-as__b a { display: inline-flex; align-items: center; min-height: 34px; padding: 0 14px; border-radius: 999px; font-size: 13px; font-weight: 900; text-decoration: none !important; }
html body .sg-cmt-as__b .sg-cmt-gate__up { color: #1c2a12 !important; background: #fff; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .2); }
.sg-cmt-as__out { font-size: 13px; font-weight: 800; }
.sg-cmt-as .sg-cbadge { vertical-align: 1px; }

/* ---------- Nostalgia TV: old-school streaming-site look (owner, 2026-11-28: "like OG Twitch or MLG TV") ---------- */
.tv { grid-template-columns: minmax(0, 1fr) 340px; grid-template-areas: "chan chan" "set chat" "info chat"; gap: 0 14px; padding: 12px; border-radius: 6px; background: #1b1b22; box-shadow: 0 10px 30px rgba(0, 0, 0, .35); font-family: Arial, Helvetica, sans-serif; }
.tv > .tv-chan { grid-area: chan; }
.tv > .tv-set { grid-area: set; }
.tv > .tv-chat { grid-area: chat; align-self: stretch; }
.tv > .tv-info { grid-area: info; margin-top: 14px; }
/* channel bar */
.tv-chan { display: flex; align-items: center; gap: 12px; margin: 0 0 12px; padding: 10px 12px; border-radius: 4px; background: linear-gradient(180deg, #2b2b35, #212129); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .07), 0 0 0 1px #111; }
.tv-chan__av { flex: 0 0 auto; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 3px; background: #0f0f14; box-shadow: 0 0 0 1px #3a3a46; overflow: hidden; }
.tv-chan__av img { width: 44px; height: auto; max-width: none; }
.tv-chan__txt { display: grid; gap: 2px; min-width: 0; }
.tv .tv-chan__name { margin: 0; font: 700 17px/1.2 Arial, Helvetica, sans-serif; color: #fff !important; }
.tv-chan__sub { font-size: 12.5px; color: #a6a6b4; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tv-chan__sub b { color: #b9a3e3; font-weight: 700; }
.tv-chan__live { margin-left: auto; flex: 0 0 auto; padding: 3px 8px; border-radius: 3px; font: 700 11px/1.3 Arial, Helvetica, sans-serif; letter-spacing: .04em; color: #fff; background: linear-gradient(180deg, #ff3b3b, #c40f0f); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35); }
/* player frame: square-ish, like a 2012 embed */
.tv .tv-set { padding: 0; border-radius: 3px; background: #000; box-shadow: 0 0 0 1px #000; }
.tv .tv-screen { border-radius: 0; }
.tv .tv-controls { padding: 8px 10px; background: linear-gradient(180deg, #2c2c34, #1e1e25); border-top: 1px solid #000; }
.tv .tv-btn { border-radius: 3px; font: 700 13px/1 Arial, Helvetica, sans-serif; }
/* chat column */
.tv-chat { display: flex; flex-direction: column; min-height: 440px; max-height: 760px; overflow: hidden; border-radius: 3px; background: #f2f2f2; color: #222; box-shadow: 0 0 0 1px #0d0d10; font-family: Arial, Helvetica, sans-serif; }
.tv-chat__head { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 0 10px; height: 36px; background: linear-gradient(180deg, #e9e9e9, #cfcfd3); border-bottom: 1px solid #a9a9ad; }
.tv .tv-chat__title { margin: 0; font: 700 12px/1 Arial, Helvetica, sans-serif; letter-spacing: .08em; text-transform: uppercase; color: #3b3b44 !important; }
.tv-chat__soon { padding: 3px 8px; border-radius: 3px; font: 700 10.5px/1.2 Arial, Helvetica, sans-serif; letter-spacing: .03em; text-transform: uppercase; color: #fff; background: linear-gradient(180deg, #7d5bbe, #5b3d99); }
.tv-chat__body { position: relative; flex: 1; min-height: 0; overflow: hidden; background: #f7f7f7; }
.tv-chat__ghost { list-style: none; margin: 0; padding: 10px 12px; display: grid; gap: 11px; opacity: .55; }
.tv-chat__ghost li { display: flex; align-items: center; gap: 6px; }
.tv-chat__ghost i { flex: 0 0 58px; height: 9px; border-radius: 2px; }
.tv-chat__ghost b { height: 9px; border-radius: 2px; background: #c9c9cf; }
.tv-chat__ghost li:nth-child(4n+1) i { background: #1e90ff; }
.tv-chat__ghost li:nth-child(4n+2) i { background: #b22222; }
.tv-chat__ghost li:nth-child(4n+3) i { background: #2e8b57; }
.tv-chat__ghost li:nth-child(4n) i { background: #8a2be2; }
.tv-chat__about { position: absolute; inset: auto 10px 10px; padding: 12px 14px; border-radius: 3px; background: #fff; box-shadow: 0 0 0 1px #c6c6cc, 0 6px 18px rgba(0, 0, 0, .18); }
.tv .tv-chat__lead { margin: 0 0 8px; font: 700 14px/1.35 Arial, Helvetica, sans-serif; color: #222; }
.tv-chat__list { margin: 0; padding-left: 18px; display: grid; gap: 5px; font-size: 13px; line-height: 1.4; color: #444; }
.tv-chat__form { display: flex; gap: 6px; padding: 8px; background: linear-gradient(180deg, #e4e4e7, #d6d6da); border-top: 1px solid #b6b6bb; }
.tv-chat__form input { flex: 1; min-width: 0; min-height: 32px; padding: 0 8px; border: 1px solid #a9a9b0; border-radius: 2px; font: 13px Arial, Helvetica, sans-serif; color: #222; background: #fff; box-shadow: inset 0 1px 2px rgba(0, 0, 0, .12); }
.tv-chat__form input::placeholder { color: #8a8a93; }
.tv-chat__form button { min-height: 32px; padding: 0 14px; border: 1px solid #3f2a6e; border-radius: 3px; font: 700 13px/1 Arial, Helvetica, sans-serif; color: #fff; background: linear-gradient(180deg, #8f6fd0, #6441a5 55%, #573893); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .3); opacity: .6; }
.tv-chat__form :disabled { cursor: not-allowed; }
/* schedule under the player, same dark panel look */
.tv .tv-guide { border-radius: 3px; background: #23232b; box-shadow: 0 0 0 1px #111; font-family: Arial, Helvetica, sans-serif; }
.tv .tv-guide__title { font: 700 13px/1 Arial, Helvetica, sans-serif !important; letter-spacing: .08em; text-transform: uppercase; color: #c9c9d4 !important; }
.tv .tv-guide__item { border-radius: 2px; background: #2b2b34; }
.tv .tv-guide__item.is-now { background: #3a2d5c; box-shadow: inset 3px 0 0 #8f6fd0; }
@media (max-width: 899px) {
	.tv { grid-template-columns: 1fr; grid-template-areas: "chan" "set" "chat" "info"; padding: 8px; }
	.tv > .tv-chat { margin-top: 12px; }
	.tv-chat { min-height: 360px; }
}

/* Nostalgia TV, one stream: "about" panel, offline slate, offline tags */
.tv-info { padding: 14px 16px; border-radius: 3px; color: #d6d6de; background: #23232b; box-shadow: 0 0 0 1px #111; font: 14px/1.55 Arial, Helvetica, sans-serif; }
.tv .tv-info__title { margin: 0 0 8px; font: 700 13px/1 Arial, Helvetica, sans-serif !important; letter-spacing: .08em; text-transform: uppercase; color: #c9c9d4 !important; }
.tv-info p { margin: 0; max-width: 75ch; }
.tv-info .tv-info__song { margin-top: 10px; font-weight: 700; color: #b9a3e3; }
.tv-slate { position: absolute; inset: 0; z-index: 2; display: grid; place-content: center; gap: 10px; padding: 20px; text-align: center; color: #fff; background: radial-gradient(circle at 50% 40%, #2b2140, #0b0a10 72%); }
.tv-slate p { margin: 0; }
.tv-slate__t { font: 700 clamp(22px, 3.4vw, 38px)/1.1 Arial, Helvetica, sans-serif; letter-spacing: .02em; }
.tv-slate__s { max-width: 46ch; margin: 0 auto !important; font: 15px/1.5 Arial, Helvetica, sans-serif; color: rgba(255, 255, 255, .75); }
.tv-chan__live.is-off, .hp-tv__live.is-off { background: linear-gradient(180deg, #6b6b78, #4a4a55); }
.tv-player video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hp-tv__screen.is-off { background: radial-gradient(circle at 50% 40%, #2b2140, #0b0a10 72%); }
.hp-tv__slate { position: absolute; inset: 0; display: grid; place-items: center; font: 900 clamp(16px, 2vw, 24px)/1 "Nunito", system-ui, sans-serif; color: #fff; text-shadow: 0 2px 8px rgba(0, 0, 0, .6); }

/* ====================================================================================================
 * Homepage sections, each with its own look (owner, 2026-11-28: "every box looks the same… needs variety, professional")
 * (colour variations removed again on the owner's request; see the "different SHAPES" block below)
 * ==================================================================================================== */

/* shared heading: title, a one-line subtitle under it, a quiet link on the right */
.hp-sec__head { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "title more" "sub more"; align-items: center; gap: 2px 16px; }
.hp-sec__head > .hp-sec__title { grid-area: title; }
.hp-sec__head > .hp-sec__sub { grid-area: sub; }
.hp-sec__head > .hp-more { grid-area: more; }
.hp-sec__sub { margin: 0; font-size: 14.5px; font-weight: 600; opacity: .72; }

/* ---- Nostalgia TV page: dark "theatre" (no white page card, the channel bar is the title) ---- */
body.sg-tv-page .sg-page > .sg-panel { background: transparent !important; box-shadow: none !important; border: 0 !important; padding: 0 !important; max-width: 1280px; margin-inline: auto; }
body.sg-tv-page .sg-page-title { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
body.sg-tv-page .tv { padding: 14px; border-radius: 10px; box-shadow: 0 24px 60px rgba(0, 0, 0, .45); }

/* comment box: "Posting as Guest 7 · Sign in · Create account" (owner, 2026-11-28) */
.sg-cmt-as.sg-cmt-as--guest { display: flex; align-items: center; justify-content: space-between; gap: 10px 14px; margin: 0 0 12px; padding: 8px 8px 8px 10px; border-radius: 999px; background: #f2f4f7; box-shadow: inset 0 0 0 1px #e1e5eb; font-weight: 600; color: #2a2f38; }
.sg-cmt-as__who { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; }
.sg-cmt-as__who b { font-weight: 900; color: #12151c; }
.sg-cmt-as__av { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; font-weight: 900; font-size: 14px; color: #fff; background: linear-gradient(180deg, #9aa3b2, #6b7383); }
.sg-cmt-as--guest .sg-cmt-as__b { gap: 6px; }
.sg-cmt-as--guest .sg-cmt-as__b a { min-height: 32px; padding: 0 14px; font-size: 13px; }
@media (max-width: 479.98px) { .sg-cmt-as.sg-cmt-as--guest { flex-direction: column; align-items: stretch; border-radius: 16px; padding: 10px; } .sg-cmt-as--guest .sg-cmt-as__b a { flex: 1; justify-content: center; } }
/* signed-in line matches */
.logged-in-as.sg-cmt-as { border-radius: 999px; background: #f2f4f7; box-shadow: inset 0 0 0 1px #e1e5eb; padding: 9px 16px; }
/* on legends pages (2008 style) keep it square-ish */
.lt-box .sg-cmt-as.sg-cmt-as--guest, .lt-box .logged-in-as.sg-cmt-as { border-radius: 4px; font-family: Arial, Helvetica, sans-serif; }

/* phones: the TV link lives on the homepage and in the footer, so the header menu stays at two rows */
@media (max-width: 699.98px) { li:has(> .hp-nav__btn--tv), .hp-nav__btn--tv { display: none !important; } }

/* ====================================================================================================
 * Buttons (owner, 2026-11-28: "the UI buttons look like slop"): one calm system instead of glossy glowing pills.
 *   primary   = solid green, 8px corners, a 2px darker base for a bit of depth, no shine or glow
 *   secondary = white/transparent with a thin border
 *   "See all" = a plain text link
 * The Xbox dashboard tiles, profile buttons and the 2008-style video pages keep their own look on purpose.
 * ==================================================================================================== */
:root { --b-green: #58b81a; --b-green-hi: #64c822; --b-green-base: #3d8a0c; --b-ink: #0f1a06; --b-radius: 8px; }

/* primary */
html body .sg-btn:not(.sg-btn--ghost), html body .sg-gbtn--green, html body .comment-form input[type="submit"], html body .comment-form .submit,
html body .sg-cmt-gate__in, html body .hp-tv__watch, html body .cf__hint:first-child {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 40px; padding: 0 18px;
	border: 0; border-radius: var(--b-radius) !important; font-weight: 800; font-size: 14.5px; letter-spacing: 0; text-shadow: none !important; text-decoration: none !important;
	color: var(--b-ink) !important; background: var(--b-green) !important; box-shadow: inset 0 -2px 0 var(--b-green-base) !important; filter: none !important;
	transition: background-color .12s, transform .12s;
}
html body .sg-btn:not(.sg-btn--ghost):hover, html body .sg-gbtn--green:hover, html body .comment-form input[type="submit"]:hover, html body .comment-form .submit:hover,
html body .sg-cmt-gate__in:hover, html body .hp-tv__watch:hover, html body .cf__hint:first-child:hover { background: var(--b-green-hi) !important; transform: translateY(-1px); text-decoration: none !important; }
html body .sg-btn:active, html body .sg-gbtn:active, html body .comment-form input[type="submit"]:active { transform: translateY(1px); box-shadow: none !important; }

/* secondary */
html body .sg-btn--ghost, html body .sg-gbtn--blue, html body .sg-gbtn--silver, html body .sg-cmt-gate__up, html body .cf__hint:not(:first-child), html body .sg-cmt-as__b .sg-cmt-gate__up {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 40px; padding: 0 16px;
	border: 0; border-radius: var(--b-radius) !important; font-weight: 700; font-size: 14px; text-shadow: none !important; text-decoration: none !important; filter: none !important;
	color: #1b2028 !important; background: #fff !important; box-shadow: inset 0 0 0 1px #cfd5dd !important; transition: box-shadow .12s, background-color .12s;
}
html body .sg-btn--ghost:hover, html body .sg-gbtn--blue:hover, html body .sg-gbtn--silver:hover, html body .sg-cmt-gate__up:hover, html body .cf__hint:not(:first-child):hover { background: #f4f6f8 !important; box-shadow: inset 0 0 0 1px #9aa4b1 !important; }
/* secondary on dark backgrounds */
html body .sg-cmt-gate .sg-cmt-gate__up, html body .cf__hints .cf__hint:not(:first-child), html body .fr .sg-btn--ghost, html body .tv .sg-btn--ghost {
	color: #fff !important; background: rgba(255, 255, 255, .06) !important; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .35) !important;
}
html body .sg-cmt-gate .sg-cmt-gate__up:hover, html body .cf__hints .cf__hint:not(:first-child):hover { background: rgba(255, 255, 255, .14) !important; }
/* no shine stripes, no glows on any of them */
html body .sg-gbtn::after, html body .sg-gbtn::before, html body .sg-btn::after, html body .sg-btn::before { display: none !important; }

/* shop cards: a full-width quiet button instead of the glossy blue pill */
html body .sg-pcard__go { width: 100%; }

/* carousel buttons under the games */
html body .cf__hints { gap: 10px; }
html body .cf__hint { min-height: 38px; padding: 0 16px; font-size: 14px; }
html body .cf__hint svg, html body .cf__hint img { display: none; } /* the little controller-button icons */

/* "All Flash Games ›", "View Shop ›", "See all ›": plain links */
html body .hp-more, html body .hp-sec .hp-more {
	padding: 0; min-height: 0; border: 0; border-radius: 0; background: none !important; box-shadow: none !important; text-shadow: none !important; filter: none !important;
	font-weight: 800; font-size: 14.5px; color: #1f6d0a !important; text-decoration: none;
}
html body .hp-more:hover, html body .hp-more:focus-visible { text-decoration: underline !important; text-underline-offset: 3px; }

/* the old "Price TBA / Coming soon" shop badges: calmer */
html body .sg-pcard .sg-badge, html body .sg-pcard [class*="badge"] { box-shadow: none !important; text-shadow: none !important; }

/* focus ring that's visible but not neon */
html body a:focus-visible, html body button:focus-visible, html body input[type="submit"]:focus-visible { outline: 2px solid #2b6fd6; outline-offset: 2px; }

/* carousel's secondary buttons sit on a bright background on the homepage: dark glass so they read */
html body .cf__hints .cf__hint:not(:first-child) { color: #fff !important; background: rgba(10, 14, 22, .62) !important; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .18) !important; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
html body .cf__hints .cf__hint:not(:first-child):hover { background: rgba(10, 14, 22, .8) !important; }

/* shop cards: one tag at most, calmer price, no stacked pills */
.sg-pcard .sg-plabel--preview { display: none; }
.sg-pcard .sg-plabel { border-radius: 4px; box-shadow: none; text-shadow: none; }
.sg-pcard .sg-plabel + .sg-plabel { display: none; }
html body .sg-pcard__price { color: #12151c; font-size: 15px; }
.sg-pcard { border-radius: 14px; }
/* hidden buttons stay hidden (the new button style sets display) */
html body .sg-btn[hidden], html body .sg-gbtn[hidden], html body .cf__hint[hidden], html body [class*="sg-cmt-gate__"][hidden], html body .hp-tv__watch[hidden] { display: none !important; }

/* ====================================================================================================
 * Homepage sections: same colours as the rest of the site, different SHAPES (owner, 2026-11-28)
 *   Featured Games  – title column on the left, games beside it
 *   Shop            – the standard layout (title on top, grid below)
 *   Nostalgia TV    – a split card: screen on one side, words on the other, same panel as everything else
 *   Internet Legends – one big featured clip with three smaller ones beside it
 * ==================================================================================================== */
.hp-lib .hp-more { color: #fff !important; text-shadow: 0 1px 3px rgba(0,0,0,.5) !important; }

/* Featured Games: heading on top, big cards (about half the size of the big Internet Legends clip) */
@media (min-width: 900px) {
	html body .hp-sec--games .hp-games { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; gap: 18px; }
	.hp-sec--games .hp-game__on { font-size: 20px; }
}
@media (min-width: 600px) and (max-width: 899.98px) { html body .hp-sec--games .hp-games { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; } }

/* Nostalgia TV: split card inside the normal panel */
.hp-sec--tv .hp-tv { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(18px, 3vw, 40px); align-items: center; max-width: none; margin: 0; padding: 0; background: none; box-shadow: none; color: inherit; }
.hp-tv__screen { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 14px; background: radial-gradient(circle at 50% 40%, #2b2140, #0b0a10 72%); box-shadow: 0 0 0 4px #fff, 0 10px 26px rgba(20, 40, 110, .25); }
.hp-tv__screen img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; max-width: none; }
.hp-tv__slate { position: absolute; inset: 0; display: grid; place-items: center; font: 800 clamp(15px, 1.7vw, 21px)/1 "Nunito", system-ui, sans-serif; color: rgba(255, 255, 255, .9); }
.hp-tv__bug { position: absolute; right: 12px; top: 10px; font: 900 12px/1 "Nunito", system-ui, sans-serif; color: rgba(255, 255, 255, .7); }
.hp-tv__play { position: absolute; left: 50%; top: 50%; display: grid; place-items: center; width: 58px; height: 58px; margin: -29px 0 0 -29px; border-radius: 50%; color: #fff; background: rgba(0, 0, 0, .55); box-shadow: 0 0 0 3px rgba(255, 255, 255, .85); }
.hp-tv__info { display: grid; gap: 10px; align-content: center; }
.hp-tv__info p { margin: 0; }
.hp-tv__tags { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.hp-tv__tags .sg-wip-tag { margin: 0; }
.hp-tv__live { padding: 3px 9px; border-radius: 4px; font: 900 11px/1.3 "Nunito", system-ui, sans-serif; letter-spacing: .05em; text-transform: uppercase; color: #fff; background: #e0262b; }
.hp-tv__live.is-off { background: #7a8090; }
html .hp-tv__title { margin: 0; font: 900 clamp(26px, 2.8vw, 38px)/1.05 "Nunito", system-ui, sans-serif; color: inherit; }
.hp-tv__lead { font-size: clamp(16px, 1.4vw, 19px); font-weight: 600; opacity: .8; }
.hp-tv__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin-top: 4px !important; }
.hp-tv__chat { font-size: 13.5px; font-weight: 700; opacity: .6; }
@media (max-width: 759.98px) { .hp-sec--tv .hp-tv { grid-template-columns: 1fr; } }

/* Internet Legends: "now playing" big clip on the left, the other three as a playlist on the right */
@media (min-width: 900px) {
	.hp-sec--legends .hp-vids { display: grid !important; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); grid-auto-rows: auto; gap: 12px 18px; align-items: start; }
	.hp-sec--legends .hp-vids > li:first-child { grid-row: 1 / span 3; }
	.hp-sec--legends .hp-vids > li:first-child .hp-vid__title { font-size: 20px; }
	.hp-sec--legends .hp-vids > li:not(:first-child) .hp-vid { display: grid; grid-template-columns: 150px minmax(0, 1fr); grid-template-rows: auto 1fr; column-gap: 12px; align-items: start; height: auto; }
	.hp-sec--legends .hp-vids > li:not(:first-child) .hp-vid__img { grid-row: 1 / span 2; width: 150px; }
	.hp-sec--legends .hp-vids > li:not(:first-child) .hp-vid__play { transform: scale(.7); }
	.hp-sec--legends .hp-vids > li:not(:first-child) .lg-card__year { display: none; }
	.hp-sec--legends .hp-vids > li:not(:first-child) .hp-vid__title { align-self: end; margin-top: 4px; }
	.hp-sec--legends .hp-vids > li:nth-child(n+5) { display: none; }
}

/* ---------- Internet Legends on the homepage: its own YouTube-style logo instead of plain text ---------- */
.hp-lgbrand__link { display: inline-flex; align-items: center; gap: 2px; text-decoration: none !important; }
.hp-lgbrand__orb { width: 38px; height: 38px; margin-right: 8px; filter: drop-shadow(0 2px 2px rgba(0, 0, 0, .3)); transition: transform .2s; }
.hp-lgbrand__orb svg { display: block; width: 100%; height: 100%; }
.hp-lgbrand__link:hover .hp-lgbrand__orb { transform: rotate(-8deg) scale(1.06); }
.hp-lgbrand__a, .hp-lgbrand__b { font: 900 clamp(26px, 2.6vw, 34px)/1 "Arial Black", "Arial Bold", Gadget, Arial, sans-serif; letter-spacing: -1.5px; }
.hp-lgbrand__a { color: #111; text-shadow: 0 1px 0 #fff; }
.hp-lgbrand__b { margin-left: 4px; background: linear-gradient(#ff4d4d, #e0161c 52%, #b3060c 53%, #cc181e); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; filter: drop-shadow(0 1px 0 #6e0000); }
.hp-sec--legends .hp-sec__title.hp-lgbrand .xp-i { display: none; }

/* ---------- The Retro Report on the homepage: a piece of the original Xbox dashboard ----------
   glowing green orb (with a radar sweeping inside it), curved "tube" lines, a techy typeface, a dashboard menu button */
@font-face { font-family: "SG Dash"; src: url("../fonts/chakra-petch-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-display: swap; } /* Chakra Petch, OFL */
.hp-sec__head.rr-ox { position: relative; display: flex !important; justify-content: flex-start !important; align-items: center; gap: 22px; text-align: left; min-height: 120px;
	margin: calc(-1 * clamp(16px, 2vw, 28px)) calc(-1 * clamp(16px, 2vw, 28px)) clamp(16px, 2vw, 24px); padding: 18px clamp(18px, 2.4vw, 32px); overflow: hidden; isolation: isolate;
	border-radius: inherit; border-bottom-left-radius: 0; border-bottom-right-radius: 0;
	background: radial-gradient(90% 180% at 8% 50%, #2f6d12 0%, #0f2a07 45%, #061304 100%); box-shadow: inset 0 -3px 0 #7cf03a, inset 0 -18px 26px -18px rgba(150, 255, 70, .6); }
/* curved tubes, like the OG dashboard's pipes */
.rr-ox__tubes { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.rr-ox__tubes i { position: absolute; border-radius: 50%; border: 3px solid rgba(160, 255, 80, .22); box-shadow: 0 0 14px rgba(160, 255, 80, .25), inset 0 0 10px rgba(160, 255, 80, .15); }
.rr-ox__tubes i:nth-child(1) { width: 900px; height: 900px; right: -560px; top: -380px; }
.rr-ox__tubes i:nth-child(2) { width: 640px; height: 640px; right: -380px; top: -230px; border-width: 2px; opacity: .8; }
.rr-ox__tubes i:nth-child(3) { width: 260px; height: 260px; left: -40px; top: -70px; border-width: 2px; opacity: .55; }
.hp-sec__head.rr-ox::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: repeating-linear-gradient(0deg, rgba(140, 255, 80, .045) 0 1px, transparent 1px 3px); }
/* the orb */
.rr-ox__orb { position: relative; flex: 0 0 auto; width: 84px; height: 84px; border-radius: 50%; padding: 7px; box-sizing: border-box;
	background: radial-gradient(circle at 35% 28%, #f4ffd8 0%, #a9ff4f 18%, #3fae0e 48%, #145c03 78%, #0a2c02 100%);
	box-shadow: 0 0 0 2px rgba(10, 40, 2, .9), 0 0 24px rgba(150, 255, 60, .65), 0 0 60px rgba(150, 255, 60, .25); }
.rr-ox__orb::after { content: ""; position: absolute; left: 18%; top: 9%; width: 46%; height: 26%; border-radius: 50%; background: linear-gradient(rgba(255, 255, 255, .85), rgba(255, 255, 255, 0)); pointer-events: none; z-index: 2; }
.rr-ox__radar { position: relative; display: block; width: 100%; height: 100%; border-radius: 50%; overflow: hidden;
	background: radial-gradient(circle, transparent 0 34%, rgba(170, 255, 90, .4) 34% 36%, transparent 36% 68%, rgba(170, 255, 90, .4) 68% 70%, transparent 70%),
		linear-gradient(rgba(170, 255, 90, .35), rgba(170, 255, 90, .35)) 50% 0 / 1px 100% no-repeat, linear-gradient(90deg, rgba(170, 255, 90, .35), rgba(170, 255, 90, .35)) 0 50% / 100% 1px no-repeat, #061a03;
	box-shadow: inset 0 0 12px rgba(0, 0, 0, .8); }
.rr-ox__sweep { position: absolute; inset: 0; border-radius: 50%; background: conic-gradient(from 0deg, rgba(190, 255, 110, .85), rgba(190, 255, 110, 0) 75deg, transparent 360deg); animation: rrSweep 3s linear infinite; }
.rr-ox__blip { position: absolute; left: 64%; top: 30%; width: 5px; height: 5px; border-radius: 50%; background: #e2ffb5; box-shadow: 0 0 7px #a8ff52; animation: rrBlip 3s linear infinite; }
.rr-ox__blip--2 { left: 30%; top: 62%; animation-delay: 1.6s; }
@keyframes rrSweep { to { transform: rotate(360deg); } }
@keyframes rrBlip { 0%, 8% { opacity: 1; } 60%, 100% { opacity: 0; } }
/* words */
.rr-ox__txt { position: relative; display: grid; gap: 5px; justify-items: start; min-width: 0; }
.rr-ox__kicker { font: 700 12px/1 "SG Dash", "Nunito", system-ui, sans-serif; letter-spacing: .18em; text-transform: uppercase; color: #9fe561; }
.rr-ox__dots { display: inline-block; width: 1.4em; overflow: hidden; vertical-align: bottom; animation: rrDots 1.5s steps(4) infinite; }
@keyframes rrDots { from { width: 0; } to { width: 1.4em; } }
html .rr-ox__title { margin: 0; font: 700 clamp(28px, 3.4vw, 46px)/1 "SG Dash", "Nunito", system-ui, sans-serif !important; letter-spacing: .02em; text-transform: uppercase; color: #e6ffbf !important;
	text-shadow: 0 0 2px #fff, 0 0 12px rgba(150, 255, 60, .85), 0 0 30px rgba(150, 255, 60, .35) !important; }
.rr-ox__title a { color: inherit !important; text-decoration: none !important; }
.rr-ox .rr-powered { margin-top: 3px; background: rgba(0, 0, 0, .35); box-shadow: inset 0 0 0 1px rgba(150, 255, 60, .35); }
.rr-ox .rr-powered__by, .rr-ox .rr-powered__name { color: #d8f5c2 !important; }
/* dashboard menu button */
.rr-ox__more { position: relative; margin-left: auto; align-self: center; display: inline-flex; align-items: center; min-height: 42px; padding: 0 26px; border-radius: 999px 10px 999px 10px;
	font: 700 15px/1 "SG Dash", "Nunito", system-ui, sans-serif; letter-spacing: .1em; text-transform: uppercase; color: #0d2a02 !important; text-decoration: none !important;
	background: linear-gradient(180deg, #e3ffb8 0%, #9cf04d 45%, #55b81a 100%); box-shadow: 0 0 0 2px #1d5c06, 0 0 18px rgba(150, 255, 60, .55), inset 0 1px 0 rgba(255, 255, 255, .8); transition: transform .12s, box-shadow .12s; }
.rr-ox__more:hover, .rr-ox__more:focus-visible { transform: translateY(-1px); box-shadow: 0 0 0 2px #1d5c06, 0 0 26px rgba(170, 255, 80, .8), inset 0 1px 0 rgba(255, 255, 255, .8); }
@media (prefers-reduced-motion: reduce) { .rr-ox__sweep, .rr-ox__blip, .rr-ox__dots { animation: none; } }
@media (max-width: 599.98px) {
	.hp-sec__head.rr-ox { margin: -14px -14px 16px; padding: 14px; gap: 12px; min-height: 0; flex-wrap: wrap; }
	.rr-ox__orb { width: 58px; height: 58px; padding: 5px; }
	.rr-ox__more { margin-left: 0; width: 100%; justify-content: center; min-height: 38px; }
}
.hp-game.is-shot .hp-badge { left: auto; right: 8px; }

/* ---------- The 2000s Vault: one compact control panel (title, switch, filters, count) ---------- */
.vault-top { margin: 0 0 18px; padding: 18px 20px 14px; border-radius: 16px; color: #fff; background: rgba(14, 16, 22, .9); box-shadow: 0 10px 26px rgba(0, 0, 0, .22), inset 0 0 0 1px rgba(255, 255, 255, .08); }
.vault-top__head { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "title links" "intro intro"; align-items: center; gap: 4px 16px; }
.vault-top__title { grid-area: title; display: flex; align-items: center; gap: 12px; margin: 0; font: 900 clamp(26px, 3vw, 36px)/1.1 "Nunito", system-ui, sans-serif; color: #fff !important; }
.vault-top__title .ca-title__tape { flex: 0 0 auto; }
.vault-top__intro { grid-area: intro; margin: 0; font-size: 14.5px; color: rgba(255, 255, 255, .7); }
.vault-top__links { grid-area: links; display: flex; align-items: center; gap: 14px; margin: 0; font-size: 13.5px; font-weight: 800; }
html body .vault-top__links a { color: #b8ff7a !important; text-decoration: none; }
html body .vault-top__links a:hover { text-decoration: underline !important; }
.vault-top__fav { padding: 4px 10px; border: 0; border-radius: 999px; font: 800 13px/1.2 "Nunito", system-ui, sans-serif; color: #ffd84a; background: rgba(255, 216, 74, .12); cursor: pointer; }
.vault-top__fav.is-on { color: #1a1400; background: #ffd84a; }
.vault-top__fav[hidden] { display: none; }
.vault-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 14px; padding-top: 14px; border-top: 1px solid rgba(255, 255, 255, .1); }
.vault-seg { display: inline-grid; grid-auto-flow: column; grid-auto-columns: 1fr; padding: 3px; border-radius: 10px; background: rgba(255, 255, 255, .07); }
.vault-tab { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 36px; padding: 0 14px; border: 0; border-radius: 8px; font: 800 14px/1 "Nunito", system-ui, sans-serif; color: rgba(255, 255, 255, .75); background: transparent; cursor: pointer; white-space: nowrap; }
.vault-tab:hover { color: #fff; }
.vault-tab.is-on { color: #0f1a06; background: #58b81a; box-shadow: inset 0 -2px 0 #3d8a0c; }
.vault-tab__n { font-size: 12px; opacity: .7; }
.vault-tab__s { display: none; }
.vault-ftoggle { display: none; }
.vault-filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; }
.vault-filter select { min-height: 38px; max-width: 190px; padding: 0 30px 0 12px; border: 0; border-radius: 8px; font: 700 13.5px/1 "Nunito", system-ui, sans-serif; color: #fff; background-color: rgba(255, 255, 255, .08); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14); }
.vault-filter select option { color: #111; }
.vault-clear { min-height: 38px; padding: 0 12px; border: 0; border-radius: 8px; font: 800 13px/1 "Nunito", system-ui, sans-serif; color: #b8ff7a; background: transparent; cursor: pointer; }
.vault-clear[hidden] { display: none; }
.vault-count { margin: 0 0 0 auto; font-size: 13.5px; font-weight: 800; color: rgba(255, 255, 255, .6); }
.vault-count span { color: #fff; }
@media (max-width: 759.98px) {
	.vault-top { padding: 14px 14px 12px; }
	.vault-top__head { grid-template-columns: 1fr; grid-template-areas: "title" "intro" "links"; }
	.vault-top__links { margin-top: 6px; }
	.vault-seg { display: grid; width: 100%; }
	.vault-tab { padding: 0 8px; }
	.vault-tab__l { display: none; } .vault-tab__s { display: inline; }
	.vault-ftoggle { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 0 14px; border: 0; border-radius: 8px; font: 800 13.5px/1 "Nunito", system-ui, sans-serif; color: #fff; background: rgba(255, 255, 255, .08); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14); cursor: pointer; }
	.vault-ftoggle__n { padding: 1px 7px; border-radius: 999px; font-size: 11.5px; color: #0f1a06; background: #58b81a; }
	.vault-ftoggle__n[hidden] { display: none; }
	.vault-filters { display: none; order: 5; width: 100%; display: none; grid-template-columns: 1fr 1fr; }
	.vault-filters.is-open { display: grid; }
	.vault-filter select { width: 100%; max-width: none; }
}
/* which shelf a tape is from */
.ca-play { position: relative; }
.ca-label { position: absolute; left: 10px; top: 10px; z-index: 2; padding: 3px 8px; border-radius: 4px; font: 900 11px/1.2 "Nunito", system-ui, sans-serif; letter-spacing: .03em; color: #fff; background: rgba(0, 0, 0, .7); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .2); }
.ca-label--legends { background: #cc181e; box-shadow: none; }
a.ca-play { display: block; color: inherit; }
.ca-name a { color: inherit; text-decoration: none; }
.ca-name a:hover { text-decoration: underline; }
.ca-card--legends .ca-links a { font-weight: 800; }
html body .ca-name a { color: #fff !important; }
html body .ca-card .ca-links a { color: #9cc3ff !important; }
html body .vault-filter select { -webkit-appearance: none; appearance: none; color: #fff !important; background: rgba(255, 255, 255, .08) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23fff' stroke-width='1.6'/%3E%3C/svg%3E") no-repeat right 11px center / 11px !important; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .16) !important; border: 0 !important; }
html body .vault-filter select:focus { box-shadow: inset 0 0 0 1px #58b81a !important; }
@media (min-width: 760px) { .vault-filters { flex: 1 1 auto; flex-wrap: nowrap; } .vault-filter { flex: 1 1 0; min-width: 0; } .vault-filter select { width: 100%; max-width: none; } .vault-count { white-space: nowrap; } }
@media (max-width: 759.98px) { .vault-clear { grid-column: 1 / -1; justify-self: end; } }

/* Internet Legends page title: the logo, light version for the dark panel */
.vault-top__title.hp-lgbrand { gap: 2px; }
html body .vault-top__title .hp-lgbrand__a { color: #fff; text-shadow: none; }

/* The Retro Report on the homepage: a normal section (owner, 2026-11-28: Xbox theme removed) */
.rr-home__sub { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; }
.rr-home__sub .rr-powered { margin: 0; }

/* ---------- Nostalgia TV live chat (old stream-site look) ---------- */
.tv-chat__head { height: auto; min-height: 36px; flex-wrap: wrap; padding: 6px 10px; }
.tv-chat__hint { font: 11px/1.3 Arial, Helvetica, sans-serif; color: #6b6b75; }
.tv-chat__body { display: flex; flex-direction: column; }
.tv-chat__log { flex: 1; min-height: 0; margin: 0; padding: 8px 0; list-style: none; overflow-y: auto; overscroll-behavior: contain; font: 13px/1.45 Arial, Helvetica, sans-serif; color: #1d1d1d; }
.tv-chat__msg { position: relative; padding: 3px 12px; overflow-wrap: anywhere; }
.tv-chat__msg:hover { background: #ececf0; }
.tv-chat__name { font-weight: 700; text-decoration: none; }
a.tv-chat__name:hover { text-decoration: underline; }
.tv-chat__msg.is-replay { color: #8a8a93; }
.tv-chat__msg.is-replay .tv-chat__name { opacity: .65; }
.tv-chat__ago { margin-right: 6px; font-size: 11px; color: #a0a0aa; }
.tv-chat__empty { padding: 10px 12px; color: #7a7a84; font-style: italic; }
.tv-chat__mod { display: none; position: absolute; right: 6px; top: 2px; gap: 4px; }
.tv-chat__msg:hover .tv-chat__mod { display: inline-flex; }
.tv-chat__mod button { padding: 1px 6px; border: 1px solid #b6b6bd; border-radius: 2px; font: 700 11px/1.4 Arial, Helvetica, sans-serif; color: #333; background: #fff; cursor: pointer; }
.tv-chat__mod button[data-ban] { color: #b3060c; }
.tv-chat__more { position: absolute; left: 50%; bottom: 8px; transform: translateX(-50%); padding: 5px 12px; border: 0; border-radius: 3px; font: 700 12px/1.3 Arial, Helvetica, sans-serif; color: #fff; background: rgba(60, 40, 100, .9); cursor: pointer; }
.tv-chat__more[hidden] { display: none; }
.tv-chat__form button { opacity: 1; cursor: pointer; }
.tv-chat__form button:hover { filter: brightness(1.1); }
.tv-chat__as, .tv-chat__note, .tv-chat__closed { margin: 0; padding: 0 10px 8px; font: 12px/1.4 Arial, Helvetica, sans-serif; color: #55555e; background: linear-gradient(180deg, #d6d6da, #d0d0d4); }
.tv-chat__note { color: #b3060c; font-weight: 700; }
.tv-chat__note[hidden] { display: none; }
.tv-chat__closed { padding: 12px; text-align: center; border-top: 1px solid #b6b6bb; }
html body .tv-chat a:not(.tv-chat__name) { color: #5b3d99 !important; }

/* Games page tiles: real screenshots fill the tile with rounded corners */
.gh-tile__img[src*="/games/shots/"] { object-fit: cover; border-radius: 14px; filter: none; box-shadow: 0 0 0 3px #fff, 0 8px 18px rgba(20, 50, 110, .3); }
.hp-game__art > img.is-tile[src*="/games/shots/"], .hp-top5__art > img.is-tile[src*="/games/shots/"] { object-fit: cover; border-radius: 14px; filter: none; }

/* Background paused (a game or video is on the page, or the tab is hidden): stop the decorative animations to save memory */
html.sg-bg-paused #sg-bg *, html.sg-bg-paused #sg-bg *::before, html.sg-bg-paused #sg-bg *::after { animation-play-state: paused !important; }

/* Chat pictures and badges (owner, 2026-11-28) */
.tv-chat__msg img.tv-chat__pic, .tv-chat__msg .tv-chat__badge { display: inline-block !important; max-width: none; }
.tv-chat__pic { width: 20px; height: 20px; border-radius: 4px; object-fit: cover; vertical-align: -5px; margin-right: 6px; background: #e4e4ea; }
.tv-chat__badge { width: 15px; height: 15px; vertical-align: -3px; margin-left: 3px; }
img.tv-chat__badge { border-radius: 50%; }
.tv-chat__msg.is-replay .tv-chat__pic { opacity: .7; }
/* Only the owner's name: animated purple-pink gradient (owner, 2026-11-28) */
.tv-chat__name--owner { background: linear-gradient(90deg, #ff4ecd, #d63bed, #8e24aa, #d63bed, #ff4ecd); background-size: 300% 100%; -webkit-background-clip: text; background-clip: text; color: transparent !important; -webkit-text-fill-color: transparent; animation: tvOwnerName 4s linear infinite; }
@keyframes tvOwnerName { from { background-position: 0% 50%; } to { background-position: 300% 50%; } }
@media (prefers-reduced-motion: reduce) { .tv-chat__name--owner { animation: none; } }
