/* TGOC v0.22 - Podcast showcase; all v0.21 live integrations retained. */
:root {
  color-scheme: dark;
  --page: #080e14;
  --text: #f6f7fa;
  --muted: #b1b8c2;
  --yellow: #ffdf00;
  --podcast: #128046;
  --twitch: #5b12ae;
  --youtube: #ae1212;
  --shop: #b05f0f;
  --heading-font: 'Arial Narrow', 'Aptos Narrow', 'Liberation Sans Narrow', Arial, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 85px; }
body { margin: 0; background: var(--page); color: var(--text); font-family: Arial, Helvetica, sans-serif; font-size: 15px; line-height: 1.5; -webkit-text-size-adjust: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; color: inherit; }
button:disabled { cursor: default; }
button, a { -webkit-tap-highlight-color: transparent; }
img { display: block; max-width: 100%; height: auto; }
button, input { font: inherit; }
[hidden] { display: none !important; }
h1, h2, h3, p { margin: 0; }
.icon { display: inline-block; width: 24px; height: 24px; fill: currentColor; vertical-align: middle; flex-shrink: 0; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 5px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; z-index: 200; top: -100px; left: 20px; background: var(--yellow); color: #141414; padding: 12px 20px; font-weight: bold; }
.skip-link:focus { top: 10px; }
.content-width { width: calc(100% - 144px); max-width: 1220px; margin-left: auto; margin-right: auto; }
.site-header { position: relative; z-index: 20; background: #090e14; border-bottom: 0; }
.nav-inner { min-height: 66px; width: calc(100% - 100px); max-width: 1330px; margin: auto; display: flex; align-items: center; gap: 30px; }
.nav-brand { width: 90px; flex: 0 0 90px; }
.nav-brand img { width: 90px; }
.main-nav { margin-left: auto; display: flex; align-items: center; gap: 28px; align-self: stretch; }
.main-nav a { position: relative; display: flex; align-items: center; padding: 6px 0; font-family: var(--heading-font); font-weight: 800; font-size: 14px; line-height: 1.2; color: #e2e5eb; }
.main-nav a::after { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 2px; background: var(--yellow); transform: scaleX(0); transform-origin: center; transition: transform .18s ease; }
.main-nav a:hover, .main-nav a.is-active { color: var(--yellow); }
.main-nav a.is-active::after, .main-nav a:hover::after { transform: scaleX(1); }
.footer-social { display: flex; align-items: center; gap: 22px; }
.footer-social a { display: grid; place-items: center; min-width: 28px; min-height: 44px; color: #d6dbe2; transition: color .18s ease, transform .18s ease; }
.footer-social a:hover { color: var(--yellow); transform: translateY(-2px); }
.menu-toggle { display: none; }
/* The hero is assembled from separate original layers, not a baked mockup. */
.hero { position: relative; isolation: isolate; overflow: hidden; background: var(--page); padding: 38px 0 28px; }
.hero-pattern { position: absolute; z-index: -4; inset: -12px; background: #232323 url('assets/tile.webp') center top / 404px auto repeat; background-position: center var(--pattern-parallax, 0px); filter: blur(3px); opacity: .6; }
.hero-art { position: absolute; z-index: -3; left: 50%; top: 0; bottom: 0; width: 100%; max-width: 1640px; transform: translateX(-50%); }
.character { position: absolute; bottom: 70px; width: auto; max-width: none; height: clamp(390px, 34.2vw, 525px); filter: drop-shadow(0 6px 18px rgba(0,0,0,.3)); will-change: transform; }
.character-tom { left: -28px; transform: translate3d(0, var(--tom-parallax, 0px), 0); }
.character-dan { right: -12px; height: clamp(421px, 36.94vw, 567px); transform: translate3d(0, var(--dan-parallax, 0px), 0) scaleX(-1); }
.hero-shadow { position: absolute; z-index: -2; inset: 0; background: linear-gradient(180deg, rgba(8,14,20,.08) 0%, rgba(8,14,20,0) 30%, rgba(8,14,20,.40) 54%, var(--page) 82%, var(--page) 100%); }
.hero-center { position: relative; z-index: 1; display: flex; align-items: center; flex-direction: column; width: min(52%, 660px); margin: 0 auto; text-align: center; }
.hero-center h1 { width: 100%; }
.hero-logo { width: 100%; filter: drop-shadow(0 4px 5px rgba(0,0,0,.3)); }
.hero-tagline { width: 82%; max-width: 530px; margin: 12px 0 18px; }
.hero-tagline img { width: 100%; }
.discord-invite { position: relative; max-width: 100%; scroll-margin-top: 100px; }
.discord-button { display: flex; align-items: center; justify-content: center; gap: 15px; min-height: 62px; padding: 12px 22px; border-radius: 9px; border: 1px solid rgba(180,172,255,.28); background: linear-gradient(130deg, #5d4aff, #4830f2); box-shadow: 0 8px 26px rgba(67,43,247,.3), inset 0 1px 0 rgba(255,255,255,.12); font-family: var(--heading-font); font-weight: 900; font-size: 22px; line-height: 1.15; transition: transform .18s ease, box-shadow .18s ease; }
.discord-button>.icon:first-child { width: 33px; height: 33px; }
.discord-button .button-chevron { width: 20px; height: 20px; margin-left: 5px; }
.discord-button:hover { transform: translateY(-3px); box-shadow: 0 10px 34px rgba(88,59,255,.5); }
.discord-stats { display: flex; align-items: stretch; background: rgba(10,16,24,.94); border: 1px solid rgba(184,195,224,.14); border-radius: 9px; padding: 12px 5px; margin-top: 16px; min-width: 220px; box-shadow: 0 8px 18px rgba(0,0,0,.2); }
.stat { flex: 1; padding: 0 20px; font-size: 12px; line-height: 1.3; color: #c1c7d0; }
.stat+.stat { border-left: 1px solid rgba(191,200,220,.24); }
.stat-number { display: flex; justify-content: center; align-items: center; gap: 8px; margin-bottom: 4px; color: #f6f8ff; }
.stat-number strong { font-family: var(--heading-font); font-size: 23px; line-height: 1; font-weight: 800; font-variant-numeric: tabular-nums; }
.status-dot { width: 8px; height: 8px; border-radius: 50%; background: #88919e; display: inline-block; }
.stat.is-known .status-dot { background: #06d770; box-shadow: 0 0 9px rgba(6,215,112,.15); }
/* Amber only when the Geeks number is a last-known, not fresh Discord response. */
.stat.is-stale .status-dot { background: #ebb850; box-shadow: none; }
.portal-grid { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 17px; margin-top: 28px; }
.portal { display: flex; align-items: center; gap: 20px; padding: 21px 22px; min-height: 97px; border-radius: 11px; border: 1px solid rgba(255,255,255,.16); box-shadow: inset 0 1px 0 rgba(255,255,255,.1), 0 7px 18px rgba(0,0,0,.16); transition: transform .18s ease, box-shadow .18s ease; }
.portal:hover { transform: translateY(-4px); box-shadow: 0 10px 25px rgba(0,0,0,.35), inset 0 0 0 1px rgba(255,255,255,.2); }
.portal-podcast { background: var(--podcast); color: #fff; }
.portal-twitch { background: var(--twitch); }
.portal-youtube { background: var(--youtube); }
.portal-shop { background: var(--shop); color: #fff; }
.portal-icon { width: 43px; height: 43px; }
.portal-copy { min-width: 0; flex: 1; }
.portal-heading { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; font-family: var(--heading-font); font-size: 22px; font-weight: 800; line-height: 1.15; }
.portal-caption { display: block; font-size: 13px; line-height: 1.4; margin-top: 5px; overflow-wrap: anywhere; }
.portal-arrow { width: 19px; height: 19px; margin-left: auto; opacity: .9; }
.live-badge { display: inline-flex; align-items: center; gap: 5px; background: #e91162; color: #fff; font-size: 12px; font-family: Arial, sans-serif; border-radius: 30px; font-weight: 700; padding: 4px 8px; box-shadow: 0 0 17px rgba(255,33,103,.4); }
.live-badge i { width: 5px; height: 5px; border-radius: 50%; background: #fff; animation: live-pulse 1.8s ease-in-out infinite; }
@keyframes live-pulse { 0%,100% { opacity: 1; } 50% { opacity: .35; } }
/* Plain lower sections; the repeating artwork is confined to the hero. */
.lower-page { position: relative; background: var(--page); }
.videos-section { padding-top: 35px; padding-bottom: 26px; }
.section-heading { display: flex; justify-content: space-between; align-items: center; gap: 22px; margin-bottom: 22px; }
.section-heading h2 { font-family: var(--heading-font); display: flex; align-items: center; gap: 16px; font-size: 29px; line-height: 1.1; font-weight: 800; }
.section-heading h2 .icon { width: 42px; height: 42px; color: #ff163c; }
.all-videos { display: flex; align-items: center; gap: 8px; font-size: 13px; white-space: nowrap; padding: 8px 0; }
.all-videos .icon { width: 19px; height: 19px; }
.all-videos:hover { color: var(--yellow); }
.carousel { position: relative; }
.videos-track { display: flex; gap: 22px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 0 0 9px; margin: 0; list-style: none; -webkit-overflow-scrolling: touch; }
.videos-track::-webkit-scrollbar { display: none; }
.video-item { flex: 0 0 calc((100% - 66px) / 4); min-width: 0; scroll-snap-align: start; }
/* V0.32.2: neutral loading cards, never show historical placeholder thumbnails. */
.video-item.is-loading .video-skeleton-title,
.video-item.is-loading .video-skeleton-date {
  display: block;
  border-radius: 4px;
  background: #1c2834;
}
.video-item.is-loading .video-skeleton-title { width: 86%; height: 14px; margin-top: 12px; }
.video-item.is-loading .video-skeleton-date { width: 47%; height: 11px; margin-top: 11px; }

.video-link { display: block; }
.video-poster { display: block; position: relative; aspect-ratio: 16/9; overflow: hidden; border-radius: 8px; background: #151e29; border: 1px solid rgba(255,255,255,.1); }
.video-poster>img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.video-link:hover .video-poster>img { transform: scale(1.035); }
.video-play { position: absolute; width: 42px; height: 42px; border-radius: 50%; left: 50%; top: 50%; margin: -21px 0 0 -21px; display: flex; align-items: center; justify-content: center; background: rgba(5,10,15,.8); border: 1px solid rgba(255,255,255,.22); opacity: 0; transition: opacity .2s ease; }
.video-link:hover .video-play,.video-link:focus-visible .video-play { opacity: 1; }
.video-play .icon { width: 23px; height: 23px; }
.video-title { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: 15px; line-height: 1.5; font-weight: 600; margin-top: 10px; }
.video-date { display: flex; align-items: center; gap: 6px; margin-top: 5px; font-size: 12px; color: #aeb8c3; }
.video-date .icon { width: 15px; height: 15px; }
.video-duration { position: absolute; bottom: 6px; right: 6px; background: rgba(0,0,0,.85); border-radius: 3px; padding: 1px 4px; font-size: 11px; }
.placeholder-label { position: absolute; bottom: 0; left: 0; right: 0; font-family: Arial,sans-serif; background: rgba(8,14,20,.88); color: #d3d8df; font-size: 8px; font-weight: 600; letter-spacing: 1.25px; padding: 5px 8px; }
.preview-podcast img { object-position: center; }
.preview-gaming { background: linear-gradient(130deg,#192b43,#373172); display: flex; align-items: center; justify-content: space-evenly; padding: 12px; }
.preview-word { font-family: var(--heading-font); font-size: clamp(24px,3.3vw,46px); font-weight: 900; line-height: .95; color: #ffdc00; transform: rotate(-7deg); }
.placeholder-gamepad { width: 37%; height: auto; color: #bfb9ff; transform: rotate(-12deg); }
.preview-retro { background: linear-gradient(135deg,#312420,#32211c); }
.video-poster>.preview-kong { object-fit: contain; width: 69%; height: 90%; margin: 0 auto; image-rendering: pixelated; }
.preview-community { background: #141e29; }
.video-poster>.preview-logo { width: 86%; height: 100%; object-fit: contain; margin: 0 auto; }
.carousel-control { position: absolute; top: calc((min(100vw - 144px,1220px) - 66px) / 4 * 9 / 16 / 2); margin-top: -21px; z-index: 2; border: 1px solid rgba(255,255,255,.09); border-radius: 50%; display: flex; align-items: center; justify-content: center; width: 42px; height: 42px; background: #18212b; transition: background .18s ease; }
.carousel-prev { left: -56px; }
.carousel-next { right: -56px; }
.carousel-prev .icon { transform: rotate(180deg); }
.carousel-control:disabled { opacity: .3; }
.carousel-control:not(:disabled):hover { background: #2a3544; }
.videos-status { color: #a0abb8; font-size: 11px; line-height: 1.5; margin-top: 10px; }

.internet-end { margin-bottom: 28px; display: flex; align-items: center; gap: 30px; padding: 26px 34px; border: 1px solid rgba(255,255,255,.04); background: #111922; border-radius: 13px; box-shadow: 0 8px 30px rgba(0,0,0,.10); }
.internet-end-kong { flex: 0 0 132px; display: grid; place-items: center; }
.internet-end-kong img { width: 122px; max-height: 98px; object-fit: contain; image-rendering: pixelated; }
/* Optional arcade easter egg: visible on hover/focus, sound only on deliberate activation. */
.internet-end-kong-button { display: grid; place-items: center; width: 132px; min-height: 106px; padding: 4px; border: 0; border-radius: 9px; background: transparent; cursor: pointer; }
.internet-end-kong-button:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; }
@keyframes kong-hop { 0%,100% { transform: translateY(0) rotate(0deg); } 30% { transform: translateY(-8px) rotate(-4deg); } 60% { transform: translateY(0) rotate(3deg); } 80% { transform: translateY(-3px) rotate(-2deg); } }
@keyframes kong-tap { 0%,100% { transform: translateY(0) rotate(0deg); } 40% { transform: translateY(-9px) rotate(4deg); } 70% { transform: translateY(0) rotate(-3deg); } }
@media (hover: hover) and (pointer: fine) {
  .internet-end-kong-button:hover img { animation: kong-hop .6s steps(4,end) 1; }
}
.internet-end-kong-button.is-playing img { animation: kong-tap .55s steps(4,end) 1; }
@media (prefers-reduced-motion: reduce) {
  .internet-end-kong-button:hover img, .internet-end-kong-button.is-playing img { animation: none; }
}
.internet-end-copy { min-width: 0; text-align: left; }
.internet-end-copy h2 { font-family: var(--heading-font); font-size: 22px; line-height: 1.2; font-weight: 900; margin: 0 0 9px; }
.internet-end-copy p { color: #c3cbd5; font-size: 14px; line-height: 1.6; }
.internet-end-copy strong { color: #fff; }

.site-footer { background: #04080c; border-top: 1px solid rgba(255,255,255,.035); padding: 24px 0 84px; }
.footer-inner { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.footer-brand { width: 66px; flex-shrink: 0; }
.footer-brand img { width: 66px; }
.copyright { font-size: 11px; color: #c1c7d0; line-height: 1.6; }
.footer-legal { margin-left: auto; display: flex; align-items: center; gap: 23px; font-size: 11px; }
.footer-legal a { padding: 10px 0; }
.footer-legal a:hover { color: var(--yellow); }
.footer-social { gap: 18px; }
.footer-social .icon { width: 19px; height: 19px; }
/* Only shown when /api/twitch confirms a live stream. Never an autoplay player. */
.portal-twitch.is-live { border-color: rgba(255,255,255,.5); box-shadow: 0 0 0 2px rgba(244,49,102,.18), 0 8px 23px rgba(0,0,0,.28); }
.twitch-float { position: fixed; z-index: 48; right: 18px; bottom: max(18px, env(safe-area-inset-bottom)); width: min(348px, calc(100vw - 36px)); overflow: hidden; border: 1px solid rgba(222,204,255,.32); border-radius: 13px; background: #0c101b; color: #fff; box-shadow: 0 16px 48px rgba(0,0,0,.62), 0 0 0 1px rgba(88,41,160,.22); }
.twitch-float-bar { min-height: 44px; padding: 7px 10px 7px 12px; display: flex; gap: 8px; align-items: center; background: linear-gradient(100deg, #35116d, #180e29); }
.twitch-float-bar strong { font-size: 11px; letter-spacing: .55px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.twitch-float-live { display: flex; align-items: center; gap: 6px; padding: 4px 9px; background: #f11348; border-radius: 20px; font-size: 11px; font-weight: 900; line-height: 1.2; }
.twitch-float-live i { width: 6px; height: 6px; background: #fff; border-radius: 50%; animation: live-pulse 1.8s ease-in-out infinite; }
.twitch-float-close { display: grid; place-items: center; flex: 0 0 27px; width: 27px; height: 27px; margin-left: auto; padding: 0; border: 0; border-radius: 50%; font-size: 21px; line-height: 1; color: #fff; background: rgba(255,255,255,.1); }
.twitch-float-close:hover { background: rgba(255,255,255,.26); }
.twitch-float-link { display: block; }
.twitch-float-poster { position: relative; display: grid; place-items: center; height: auto; aspect-ratio: 16 / 9; background: linear-gradient(140deg,#54229a,#180e2c); overflow: hidden; }
.twitch-float-poster > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.twitch-float-fallback { display: flex; align-items: center; flex-direction: column; justify-content: center; gap: 7px; color: #fff; font-size: 14px; font-weight: 800; letter-spacing: 1px; }
.twitch-float-fallback .icon { width: 55px; height: 55px; }
.twitch-float-meta { display: flex; align-items: center; gap: 12px; justify-content: space-between; padding: 10px 12px; }
.twitch-float-streamtitle { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; font-size: 12px; font-weight: bold; }
.twitch-float-cta { flex-shrink: 0; font-size: 10px; font-weight: 900; color: #e0c8ff; white-space: nowrap; }
.twitch-float-link:hover .twitch-float-cta { color: #fff; }
.kofi-fallback { position: fixed; z-index: 50; left: 18px; bottom: max(18px,env(safe-area-inset-bottom)); display: flex; gap: 10px; align-items: center; background: #ff38b8; color: #fff; border-radius: 40px; padding: 15px 21px; font-size: 15px; font-weight: 700; box-shadow: 0 5px 28px rgba(255,56,184,.25); }
.kofi-fallback:hover { transform: translateY(-2px); }
.kofi-fallback .icon { width: 22px; height: 22px; }
.noscript-message { background: #182430; color: #dbe4ec; text-align: center; padding: 12px 30px; font-size: 12px; }
.legal-page { min-height: 100vh; padding: 70px 24px; background: var(--page); }
.legal-content { max-width: 760px; margin: auto; }
.legal-content h1 { font-size: 34px; margin: 35px 0 20px; }
.legal-content p { margin-bottom: 20px; color: #c0c9d3; }
.legal-content .notice { padding: 20px; border-left: 4px solid var(--yellow); background: #161e28; }
.legal-content a { color: var(--yellow); text-decoration: underline; }
@media (min-width: 1700px) {
  .hero-center { width: 660px; }
  .hero { padding-top: 44px; }
}
@media (max-width: 1150px) {
  .nav-inner { width: calc(100% - 60px); gap: 20px; }
  .main-nav { gap: 22px; }
  .content-width { width: calc(100% - 112px); }
  .hero-center { width: 52%; }
  .character { height: 410px; bottom: 82px; }
  .character-dan { height: 443px; }
  .character-tom { left: -75px; }
  .character-dan { right: -55px; }
  .hero { padding-top: 36px; }
  .portal { padding: 18px 17px; gap: 13px; min-height: 91px; }
  .portal-icon { width: 34px; height: 34px; }
  .portal-heading { font-size: 20px; }
  .portal-caption { font-size: 11px; }
  .portal-arrow { width: 16px; height: 16px; }
  .portal-grid { gap: 15px; }
  .carousel-prev { left: -49px; }
  .carousel-next { right: -49px; }
  .carousel-control { top: calc((100vw - 112px - 66px) / 4 * 9 / 16 / 2); }
  .footer-inner { gap: 18px; }
  .footer-social { gap: 10px; }
  .copyright { font-size: 10px; }
  .footer-legal { gap: 16px; }
}
@media (max-width: 900px) {
  .main-nav { gap: 26px; }
  .hero-center { width: 56%; }
  .character { height: 370px; bottom: 100px; }
  .character-dan { height: 400px; }
  .character-tom { left: -105px; }
  .character-dan { right: -88px; }
  .hero-tagline { width: 95%; }
  .discord-button { min-height: 56px; font-size: 19px; gap: 11px; padding: 12px 18px; }
  .discord-button>.icon:first-child { width: 28px; height: 28px; }
  .portal { gap: 12px; padding: 18px 14px; }
  .portal-icon { width: 29px; height: 29px; }
  .portal-arrow { display: none; }
  .portal-heading { font-size: 18px; }
  .portal-caption { font-size: 10px; }
  .section-heading h2 { font-size: 25px; gap: 11px; }
  .section-heading h2 .icon { width: 34px; height: 34px; }
  .all-videos { font-size: 11px; }
  .videos-track { gap: 18px; }
  .video-item { flex-basis: calc((100% - 36px) / 3); }
  .carousel-control { top: calc((100vw - 112px - 36px) / 3 * 9 / 16 / 2); }
  .footer-inner { gap: 16px; }
  .copyright { font-size: 11px; flex: 1; }
  .footer-legal { margin-left: 82px; }
  .footer-social { margin-left: auto; }
}
@media (max-width: 640px) {
  html { scroll-padding-top: 20px; }
  .content-width { width: calc(100% - 40px); }
  .nav-inner { width: calc(100% - 36px); min-height: 58px; justify-content: space-between; flex-wrap: wrap; gap: 0; }
  .nav-brand, .nav-brand img { width: 69px; }
  .nav-brand { flex-basis: 69px; }
  .menu-toggle { display: flex; align-items: center; gap: 7px; border: 1px solid #333d48; border-radius: 6px; background: #141c25; font-size: 11px; padding: 9px 11px; min-height: 38px; }
  .menu-toggle .icon { width: 18px; height: 18px; }
  .main-nav { flex-basis: 100%; order: 3; display: flex; flex-wrap: wrap; justify-content: space-between; margin: 0; gap: 10px; padding: 3px 0 14px; }
  .main-nav a { font-size: 13px; padding: 9px 0; }
  body.js-ready .main-nav { display: none; }
  body.js-ready .main-nav.is-open { display: flex; }
  .hero { --mobile-art-top: clamp(160px, calc(38.5vw + 35px), 235px); --mobile-art-height: 220px; padding: 29px 0 22px; }
  .hero-pattern { background-size: 271px auto; filter: blur(2px); opacity: .46; }
  .hero-art { top: var(--mobile-art-top); height: var(--mobile-art-height); bottom: auto; max-width: 600px; }
  .character { height: var(--mobile-art-height); bottom: 0; }
  .character-dan { height: var(--mobile-art-height); }
  .character-tom { left: -40px; }
  .character-dan { right: -27px; }
  .hero-shadow { background: linear-gradient(180deg, rgba(8,14,20,0) calc(var(--mobile-art-top) + 135px), var(--page) calc(var(--mobile-art-top) + var(--mobile-art-height))); }
  .hero-center { width: calc(100% - 40px); max-width: 520px; }
  .hero-center h1 { width: 100%; max-width: 460px; }
  .hero-logo { filter: drop-shadow(0 4px 4px rgba(0,0,0,.5)); }
  .hero-tagline { width: 89%; max-width: 400px; margin: 13px 0 244px; }
  .discord-button { min-height: 57px; font-size: 20px; gap: 12px; padding: 12px 19px; }
  .discord-button .button-chevron { width: 18px; height: 18px; margin-left: 3px; }
  .discord-stats { min-width: 204px; margin-top: 14px; padding: 11px 4px; }
  .stat-number strong { font-size: 22px; }
  .stat { padding: 0 19px; }
  .portal-grid { grid-template-columns: 1fr; gap: 10px; margin-top: 23px; }
  .portal { padding: 16px 19px; min-height: 80px; gap: 18px; border-radius: 9px; }
  .portal-icon { width: 36px; height: 36px; }
  .portal-heading { font-size: 22px; }
  .portal-caption { font-size: 12px; margin-top: 3px; }
  .portal-arrow { display: block; width: 18px; height: 18px; }
  .lower-page { background-size: auto,253px auto; overflow-x: clip; }
  .videos-section { padding: 28px 0 23px; }
  .section-heading { align-items: flex-start; flex-direction: column; gap: 5px; margin-bottom: 15px; }
  .section-heading h2 { font-size: 24px; gap: 10px; }
  .section-heading h2 .icon { width: 29px; height: 29px; }
  .all-videos { font-size: 12px; padding-left: 39px; }
  .video-item { flex-basis: 82%; max-width: 360px; }
  .videos-track { gap: 15px; padding-bottom: 7px; padding-right: 20px; margin-right: -20px; scroll-padding-right: 20px; }
  .video-title { font-size: 15px; }
  .video-date { font-size: 12px; }
  .preview-word { font-size: 45px; }
  .placeholder-label { font-size: 8px; }
  .carousel-control { display: none; }
  .videos-status { font-size: 10px; margin-top: 10px; padding-right: 15px; }
  .site-footer { padding: 23px 0 91px; }
  .footer-inner { gap: 14px 17px; }
  .footer-brand,.footer-brand img { width: 54px; }
  .copyright { font-size: 10px; flex: 1 1 210px; }
  .footer-legal { margin-left: 0; gap: 20px; font-size: 11px; }
  .footer-social { gap: 11px; margin-left: auto; }
  .footer-social a { min-width: 24px; }
  .footer-social .icon { width: 20px; height: 20px; }
  /* Mobile: smaller live chip; positioned above Ko-fi's donation button. */
  .twitch-float { right: 12px; bottom: max(79px, calc(79px + env(safe-area-inset-bottom))); width: min(218px, calc(100vw - 24px)); border-radius: 11px; }
  .twitch-float-bar { padding: 6px 8px; min-height: 40px; }
  .twitch-float-bar strong { font-size: 9px; letter-spacing: 0; }
  .twitch-float-live { padding: 4px 6px; font-size: 10px; }
  .twitch-float-close { width: 27px; height: 27px; flex-basis: 27px; }
  .twitch-float-poster { display: none; }
  .twitch-float-meta { padding: 9px 10px; }
  .twitch-float-streamtitle { display: none; }
  .twitch-float-cta { font-size: 11px; }
  .kofi-fallback { left: 12px; bottom: max(12px,env(safe-area-inset-bottom)); font-size: 13px; padding: 12px 17px; gap: 9px; }
  .kofi-fallback .icon { width: 20px; height: 20px; }
}
@media (max-width: 360px) {
  .hero-center { width: calc(100% - 30px); }
  .hero { --mobile-art-height: 210px; }
  .character { height: 210px; }
  .character-dan { height: 210px; }
  .character-tom { left: -48px; }
  .character-dan { right: -34px; }
  .hero-tagline { margin-bottom: 233px; }
  .discord-button { font-size: 18px; padding: 12px 16px; }
  .section-heading h2 { font-size: 21px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,*::before,*::after { animation: none !important; transition: none !important; }
}
@supports not (aspect-ratio:16/9) {
  .video-poster { height: 150px; }
}

/* === v0.22: True Nerd Podcast === */
.portal-grid .portal { min-width: 0; gap: 13px; padding: 19px 17px; }
.portal-grid .portal-icon { width: 37px; height: 37px; }
.portal-grid .portal-heading { font-size: 21px; gap: 6px; }
.portal-grid .portal-caption { font-size: 11px; }
.portal-grid .portal-arrow { width: 15px; height: 15px; }
.podcast-section { padding-top: 12px; padding-bottom: 34px; scroll-margin-top: 25px; }
.podcast-section-heading { margin-bottom: 20px; }
.podcast-section-heading h2 .icon { color: #31d47e; width: 36px; height: 36px; }
.podcast-section-kicker { font-size: 11px; font-weight: 800; letter-spacing: 1.2px; color: #96bfaa; }
.podcast-card { display: grid; grid-template-columns: minmax(170px, 250px) minmax(0,1fr); column-gap: 26px; row-gap: 20px; align-items: center; padding: 24px; border: 1px solid rgba(52,180,105,.16); border-radius: 13px; background: linear-gradient(125deg,#10221d 0%,#101b1d 46%,#111922 100%); box-shadow: 0 10px 28px rgba(0,0,0,.12); }
.podcast-cover-wrap { align-self: stretch; display: flex; align-items: center; justify-content: center; }
.podcast-cover { width: min(100%,250px); aspect-ratio: 1; object-fit: cover; border-radius: 9px; border: 1px solid rgba(255,255,255,.09); box-shadow: 0 12px 28px rgba(0,0,0,.3); }
.podcast-about { align-self: center; }
.podcast-eyebrow { color: #54da94; font-size: 10px; letter-spacing: 1.3px; font-weight: 800; margin-bottom: 12px; }
.podcast-about h3 { font-family: var(--heading-font); font-weight: 900; font-size: clamp(23px,2.4vw,31px); line-height: 1.2; margin-bottom: 13px; color: #fff; }
.podcast-about > p:last-child { color: #cbd5d5; font-size: 15px; line-height: 1.75; }
.podcast-player-wrap { grid-column: 1 / -1; min-width: 0; }
.podcast-player-pending { display: flex; align-items: center; gap: 18px; min-height: 102px; padding: 17px 22px; border-radius: 10px; background: linear-gradient(105deg,rgba(19,103,62,.52),rgba(11,46,37,.52)); border: 1px solid rgba(69,193,121,.18); }
.podcast-player-symbol { display: grid; place-items: center; flex: 0 0 56px; width: 56px; height: 56px; border-radius: 50%; color: #eaffef; background: #158b50; }
.podcast-player-symbol .icon { width: 27px; height: 27px; }
.podcast-player-copy { display: flex; flex-direction: column; min-width: 0; gap: 4px; }
.podcast-player-eyebrow { font-size: 10px; color: #8ee6b3; font-weight: 800; letter-spacing: 1px; }
.podcast-player-copy strong { font-family: var(--heading-font); font-size: 20px; line-height: 1.25; }
.podcast-player-copy > span:last-child { color: #c4d7d0; font-size: 12px; line-height: 1.45; }
.podcast-player-tag { color: #a6e2c0; font-size: 10px; font-weight: 800; white-space: nowrap; letter-spacing: .6px; margin-left: auto; }
.podcast-player-wrap.is-connected { overflow: hidden; border-radius: 10px; background: #111821; border: 1px solid rgba(255,255,255,.11); }
.podcast-player-wrap iframe { display: block; width: 100%; min-height: 225px; border: 0; background: #111821; }
.podcast-platform-bar { display: flex; align-items: center; flex-wrap: wrap; gap: 15px; margin-top: 12px; padding: 13px 19px; border-radius: 10px; background: #0c151b; border: 1px solid rgba(255,255,255,.06); }
.podcast-platform-title { color: #b3d0c0; font-size: 10px; letter-spacing: .8px; font-weight: 800; flex: 0 0 auto; }
.podcast-platform-list { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; min-width: 0; }
.podcast-platform { display: block; width: clamp(135px,14vw,168px); flex: 0 0 auto; opacity: .74; }
.podcast-platform img { width: 100%; height: auto; border-radius: 6px; }
a.podcast-platform { opacity: 1; transition: transform .18s ease, filter .18s ease; }
a.podcast-platform:hover { transform: translateY(-2px); filter: brightness(1.16); }
.podcast-platform-note { color: #829d91; font-size: 11px; margin-left: auto; }
/* RSS footer icon inherits the same resting and hover colors as all other social icons. */
@media (max-width: 1150px) {
  .portal-grid { gap: 13px; }
  .portal-grid .portal { gap: 10px; padding: 17px 13px; }
  .portal-grid .portal-icon { width: 30px; height: 30px; }
  .portal-grid .portal-heading { font-size: 18px; }
  .portal-grid .portal-caption { font-size: 10px; }
  .portal-grid .portal-arrow { display: none; }
  .podcast-card { grid-template-columns: 215px minmax(0,1fr); padding: 21px; gap: 19px; }
}
@media (max-width: 1000px) and (min-width: 641px) {
  .portal-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .portal-grid .portal { padding: 17px 19px; }
  .portal-grid .portal-icon { width: 34px; height: 34px; }
  .portal-grid .portal-arrow { display: block; }
  .portal-grid .portal-heading { font-size: 20px; }
  .portal-grid .portal-caption { font-size: 12px; }
}
@media (max-width: 780px) {
  .podcast-card { grid-template-columns: 170px minmax(0,1fr); }
  .podcast-about h3 { font-size: 24px; }
  .podcast-about > p:last-child { font-size: 13px; line-height: 1.55; }
  .podcast-platform-note { width: 100%; margin-left: 0; }
  .podcast-player-tag { display: none; }
}
@media (max-width: 640px) {
  .portal-grid { grid-template-columns: 1fr; gap: 10px; }
  .portal-grid .portal { min-height: 80px; gap: 18px; padding: 16px 19px; }
  .portal-grid .portal-icon { width: 36px; height: 36px; }
  .portal-grid .portal-heading { font-size: 22px; }
  .portal-grid .portal-caption { font-size: 12px; }
  .portal-grid .portal-arrow { display: block; width: 18px; height: 18px; }
  .internet-end { flex-direction: column; align-items: center; gap: 8px; padding: 22px 21px; }
  .internet-end-kong { flex: 0 0 auto; }
  .internet-end-copy { text-align: center; }
  .internet-end-copy h2 { font-size: 21px; }
  .podcast-section { padding-top: 11px; padding-bottom: 26px; }
  .podcast-section-kicker { display: none; }
  .podcast-section-heading h2 { font-size: 23px; }
  .podcast-section-heading h2 .icon { width: 29px; height: 29px; }
  .podcast-card { display: flex; flex-direction: column; align-items: stretch; padding: 16px; gap: 16px; }
  .podcast-cover-wrap { align-self: center; width: 100%; }
  .podcast-cover { width: min(100%,280px); }
  .podcast-about h3 { font-size: 25px; }
  .podcast-about > p:last-child { font-size: 14px; line-height: 1.6; }
  .podcast-eyebrow { font-size: 9px; }
  .podcast-player-pending { padding: 14px; gap: 12px; min-height: 96px; }
  .podcast-player-symbol { flex: 0 0 42px; width: 42px; height: 42px; }
  .podcast-player-symbol .icon { width: 23px; height: 23px; }
  .podcast-player-copy strong { font-size: 17px; }
  .podcast-player-copy > span:last-child { font-size: 11px; }
  .podcast-platform-bar { padding: 15px; gap: 11px; }
  .podcast-platform-title { flex: 0 0 100%; }
  .podcast-platform-list { gap: 8px; }
  .podcast-platform { width: calc((100% - 8px)/2); max-width: 190px; }
  .podcast-platform-note { font-size: 10px; }
}
@media (max-width: 360px) {
  .podcast-section-heading h2 { font-size: 21px; }
  .podcast-cover { max-width: 236px; }
  .podcast-platform { width: calc((100% - 8px)/2); }
}

/* TGOC V0.30: slim shared desktop/mobile navigation on all pages. */
@media (min-width:641px) {
  .nav-inner { min-height: 40px; gap: 20px; }
  .nav-brand { width: 56px; flex: 0 0 56px; }
  .nav-brand img { width: 56px; }
  .main-nav { gap: clamp(14px,2vw,26px); }
  .main-nav a { min-height: 40px; padding: 3px 0; }
}
@media (max-width:640px) {
  .nav-inner { min-height: 46px; }
  .nav-brand, .nav-brand img { width: 52px; }
  .nav-brand { flex-basis: 52px; }
  .menu-toggle { min-height: 38px; }
}
.kofi-fallback { transition: transform .2s ease, box-shadow .2s ease; }
.kofi-fallback:hover,.kofi-fallback:focus-visible { box-shadow: 0 8px 36px rgba(255,56,184,.34); }
@media (prefers-reduced-motion:reduce){.kofi-fallback{transition:none}.kofi-fallback:hover{transform:none}}
/* RSS.com embeds are activated only after a user clicks this clearly labelled control. */
.podcast-player-consent { display:flex; flex-wrap:wrap; align-items:center; gap:15px; padding:18px 20px; background:#13231e; border:1px solid #326846; border-radius:10px; }
.podcast-player-consent p { flex:1 1 245px; font-size:13px; line-height:1.55; color:#cde5d5; }
.podcast-player-consent button { flex-shrink:0; border:1px solid #6be3a1; background:#12653d; padding:12px 16px; border-radius:8px; font-weight:700; color:#fff; }
.podcast-player-consent button:hover { background:#19794c; }
.podcast-player-consent a { color:#95ffc5; text-decoration:underline; }

.kofi-fallback .kofi-cup {width:26px;height:26px;display:block;flex-shrink:0}
@media(max-width:640px){.kofi-fallback .kofi-cup{width:23px;height:23px}}

/* TGOC V0.31 – RSS.com voicemail alongside the five podcast platform icons. */
.podcast-services { justify-content: space-between; column-gap: 18px; row-gap: 11px; }
.podcast-services .podcast-platform-list { flex: 0 0 auto; }
.podcast-voicemail {
  display: inline-flex; align-items: center; justify-content: flex-end; gap: 9px;
  flex: 0 0 auto; margin-left: auto; min-height: 44px;
  color: var(--yellow); text-decoration: none;
  transition: filter .18s ease, transform .18s ease;
}
.podcast-voicemail-icon {
  display: block; width: 32px; height: 32px; border-radius: 8px;
  flex: 0 0 32px; object-fit: contain;
}
.podcast-voicemail > span {
  font-family: var(--pixel-font); font-size: 10px; font-weight: 400;
  line-height: 1.5; letter-spacing: 0; white-space: nowrap;
}
.podcast-voicemail:hover,.podcast-voicemail:focus-visible { filter: brightness(1.13); transform: translateY(-2px); }
.podcast-voicemail:hover .podcast-voicemail-icon,.podcast-voicemail:focus-visible .podcast-voicemail-icon { transform: scale(1.07); }
.podcast-voicemail-icon { transition: transform .18s ease; }
/* User-provided Ko-fi cup artwork, uppercase Press Start 2P, original pink preserved. */
.kofi-fallback { gap: 10px; }
.kofi-fallback .kofi-cup { width: 35px; height: 28px; object-fit: contain; flex: 0 0 35px; }
.kofi-fallback > span { font-family: var(--pixel-font); font-size: 10px; font-weight: 400; letter-spacing: 0; white-space: nowrap; line-height: 1.5; }
@media (max-width: 1180px) {
  .podcast-services { flex-wrap: wrap; }
  .podcast-voicemail { margin-left: auto; }
}
@media (max-width: 640px) {
  .podcast-services { gap: 10px; justify-content: center; }
  .podcast-voicemail { margin: 3px auto 0; justify-content: center; }
  .podcast-voicemail > span { font-size: 8.5px; }
  .kofi-fallback .kofi-cup { width: 31px; height: 25px; flex-basis: 31px; }
  .kofi-fallback > span { font-size: 9px; }
}
@media (max-width: 360px) {
  .podcast-voicemail > span { font-size: 7.7px; }
  .podcast-voicemail-icon { width: 29px; height: 29px; flex-basis: 29px; }
  .kofi-fallback > span { font-size: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  .podcast-voicemail,.podcast-voicemail-icon { transition: none; }
  .podcast-voicemail:hover,.podcast-voicemail:focus-visible { transform: none; }
}

/* V0.33 public-launch adjustment: podcast tile is a non-interactive teaser. */
.portal-podcast-soon { cursor: default; }
.portal-podcast-soon .podcast-heading-soon { display: none; }
@media (hover: hover) and (pointer: fine) {
  .portal-podcast-soon:hover .podcast-heading-default { display: none; }
  .portal-podcast-soon:hover .podcast-heading-soon { display: inline; }
}

/* V0.33 final: visible but inactive podcast navigation and RSS footer icon. */
.main-nav .nav-podcast-pending {display:flex;align-items:center;padding:6px 0;font-family:var(--heading-font);font-weight:800;font-size:14px;line-height:1.2;color:#949ba5;cursor:default;}
.footer-social .footer-rss-pending {display:grid;place-items:center;min-width:28px;min-height:44px;color:#88919b;cursor:default;}
@media(max-width:640px){.main-nav .nav-podcast-pending {font-size:13px;padding:9px 0;}.footer-social .footer-rss-pending {min-width:24px;}}
