        z-index: 60;
      }

      .tour-overlay[hidden] {
        display: none;
      }

      .tour-overlay::before {
        content: "";
        position: absolute;
        inset: 0;
        background: rgba(2, 4, 12, 0.78);
        backdrop-filter: blur(8px);
        z-index: 0;
      }

      .tour-panel {
        position: relative;
        z-index: 1;
        max-width: min(420px, 90vw);
        background: rgba(6, 10, 22, 0.92);
        border: 1px solid rgba(148, 163, 184, 0.35);
        border-radius: 1.25rem;
        padding: 1.75rem;
        box-shadow: 0 28px 48px rgba(3, 5, 14, 0.55);
        display: grid;
        gap: 1rem;
      }

      .tour-panel:focus-visible {
        outline: 2px solid var(--primary);
        outline-offset: 8px;
      }

      .tour-panel h2 {
        margin: 0;
        font-size: 1.4rem;
        letter-spacing: 0.04em;
      }

      .tour-panel p {
        margin: 0;
        color: var(--muted);
        line-height: 1.55;
      }

      .tour-progress {
        font-size: 0.75rem;
        letter-spacing: 0.12em;
        text-transform: uppercase;
        color: rgba(148, 163, 184, 0.75);
      }

      .tour-actions {
        display: flex;
        justify-content: space-between;
        gap: 1rem;
        flex-wrap: wrap;
      }

      .tour-button {
        appearance: none;
        border: none;
        border-radius: 0.75rem;
        padding: 0.6rem 1.1rem;
        font: inherit;
        text-transform: uppercase;
        letter-spacing: 0.12em;
        font-size: 0.7rem;
        cursor: pointer;
        background: rgba(10, 14, 30, 0.85);
        color: var(--text);
        transition: transform 150ms ease, background 150ms ease, box-shadow 150ms ease;
      }

      .tour-button.primary {
        background: var(--primary);
        color: #020617;
      }

      body[data-theme="onyx"] .tour-button.primary {
        background: linear-gradient(135deg, #fff4b0 0%, #ffd447 50%, #f4b41a 100%);
        color: #1f1604;
      }

      .tour-button:hover,
      .tour-button:focus-visible {
        transform: translateY(-2px);
      }

      .tour-highlight {
        outline: 3px solid var(--accent);
        outline-offset: 6px;
        transition: outline-color 220ms ease, box-shadow 220ms ease;
        box-shadow: 0 0 0 10px rgba(250, 204, 21, 0.08);
      }

      body[data-theme="onyx"] .tour-highlight {
        outline-color: rgba(255, 212, 71, 0.9);
        box-shadow: 0 0 0 10px rgba(255, 212, 71, 0.18);
      }

      @media (max-width: 840px) {
        .featured-compact-track {
          width: 100%;
        }

        .featured-compact-card {
          padding: 1.1rem 1.2rem;
        }

        .games-grid {
          display: flex;
          overflow-x: auto;
          scroll-snap-type: x mandatory;
          gap: 1.25rem;
          padding-bottom: 1.5rem;
          -webkit-overflow-scrolling: touch;
        }

        .games-grid::-webkit-scrollbar {
          height: 6px;
        }

        .games-grid::-webkit-scrollbar-thumb {
          background: rgba(148, 163, 184, 0.35);
          border-radius: 999px;
        }

        .game-card {
          flex: 0 0 82%;
          scroll-snap-align: center;
        }
      }

      @media (max-width: 680px) {
        .in-progress-dropdown {
          padding: 1.05rem 1.2rem;
        }

        .in-progress-summary {
          grid-template-columns: 1fr auto;
          gap: 0.55rem;
        }

        .in-progress-subhead {
          grid-column: 1 / -1;
        }

      }

      @media (prefers-reduced-motion: reduce) {
        *,
        *::before,
        *::after {
          animation-duration: 0.01ms !important;
          animation-iteration-count: 1 !important;
          transition-duration: 0.01ms !important;
          scroll-behavior: auto !important;
        }
      }

      footer {
        padding: 2rem 1.5rem 3rem;
        text-align: center;
        color: rgba(226, 232, 240, 0.75);
        letter-spacing: 0.04em;
        display: grid;
        gap: 0.5rem;
      }

      .support-link {
        position: fixed;
        right: 1.25rem;
        bottom: 1.25rem;
        padding: 0.35rem 0.65rem;
        border-radius: 999px;
        font-size: 0.65rem;
        letter-spacing: 0.12em;
        text-transform: uppercase;
        text-decoration: none;
        color: rgba(226, 232, 240, 0.65);
        background: rgba(15, 23, 42, 0.6);
        border: 1px solid rgba(148, 163, 184, 0.18);
        box-shadow: 0 8px 18px rgba(4, 7, 17, 0.45);
        opacity: 0.6;
        transition: opacity 150ms ease, border 150ms ease, transform 150ms ease, box-shadow 150ms ease;
        z-index: 20;
        cursor: pointer;
        transform-origin: center;
        display: inline-flex;
        align-items: center;
        gap: 0.4rem;
      }

      .support-link .coffee-icon {
        position: absolute;
        bottom: calc(100% + 0.35rem);
        left: 50%;
        transform: translate(-50%, -4px);
        display: block;
        width: 48px;
        height: 48px;
        background-image: url("/styles/coffee-mug.svg");
        background-repeat: no-repeat;
        background-position: center;
        background-size: contain;
        pointer-events: none;
        filter: drop-shadow(0 6px 14px rgba(4, 7, 17, 0.5));
        transition: opacity 200ms ease, transform 200ms ease;
      }

      .support-link .coffee-icon::after {
        content: "";
        position: absolute;
        bottom: calc(100% + 0.65rem);
        left: 50%;
        transform: translate(-50%, -10px);
        width: 14px;
        height: 28px;
        pointer-events: none;
        background:
          radial-gradient(circle at 50% 80%, rgba(226, 232, 240, 0.45) 0%, rgba(226, 232, 240, 0) 70%),
          radial-gradient(circle at 30% 40%, rgba(226, 232, 240, 0.25) 0%, rgba(226, 232, 240, 0) 60%);
        opacity: 0.75;
        animation: steam-rise 3s ease-in-out infinite;
      }

      .support-link:hover,
      .support-link:focus-visible {
        opacity: 1;
        border-color: rgba(56, 189, 248, 0.35);
        transform: translateY(-1px);
        outline: none;
      }

      .support-link.coffee-grabbed {
        opacity: 1;
        border-color: rgba(244, 114, 182, 0.45);
        transform: translateY(-6px) scale(0.94);
        box-shadow: 0 14px 26px rgba(4, 7, 17, 0.55);
      }

      .support-link.coffee-grabbed .coffee-icon {
        animation: coffee-bob 0.6s ease-in-out infinite alternate;
        opacity: 0;
      }

      .support-link.coffee-grabbed .coffee-icon::after {
        opacity: 0;
      }

      .support-squirrel {
        position: fixed;
        left: -90px;
        bottom: 1.35rem;
        width: 74px;
        height: 54px;
        pointer-events: none;
        opacity: 0;
        z-index: 25;
      }

      .support-squirrel.active {
        animation: squirrel-dash 4.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
      }

      .support-squirrel .squirrel-body {
        position: absolute;
        bottom: 6px;
        left: 26px;
        width: 36px;
        height: 26px;
        border-radius: 55% 45% 40% 45%;
        background: linear-gradient(160deg, #d49745, #a9611b);
        box-shadow: inset -4px -4px 0 rgba(0, 0, 0, 0.15);
        animation: body-bob 0.35s ease-in-out infinite;
        animation-play-state: paused;
        z-index: 3;
      }

      .support-squirrel .squirrel-body::before {
        content: "";
        position: absolute;
        right: -18px;
        bottom: 4px;
        width: 32px;
        height: 32px;
        border-radius: 65% 60% 55% 70%;
        background: linear-gradient(160deg, #e4aa55, #c17226);
        transform-origin: left center;
        box-shadow: inset -6px -6px 0 rgba(0, 0, 0, 0.12);
        animation: tail-sway 0.6s ease-in-out infinite alternate;
        animation-play-state: paused;
        z-index: 1;
      }

      .support-squirrel .squirrel-body::after {
        content: "";
        position: absolute;
        top: -12px;
        left: 8px;
        width: 14px;
        height: 12px;
        border-radius: 70% 70% 10% 10%;
        background: linear-gradient(160deg, #f0bc63, #c47a29);
        box-shadow: inset -2px -2px 0 rgba(0, 0, 0, 0.18);
        transform-origin: bottom center;
        animation: ear-flick 1.2s ease-in-out infinite alternate;
        animation-play-state: paused;
        z-index: 4;
      }

      .support-squirrel .squirrel-leg,
      .support-squirrel .squirrel-arm {
        position: absolute;
        border-radius: 999px;
        transform-origin: top center;
        pointer-events: none;
        animation-play-state: paused;
      }

      .support-squirrel .squirrel-leg {
        bottom: -1px;
        width: 10px;
        height: 17px;
        background: linear-gradient(160deg, #b56a1c, #8b4a12);
        box-shadow: inset -2px -3px 0 rgba(0, 0, 0, 0.18);
        animation: leg-run 0.34s linear infinite;
        z-index: 2;
      }

      .support-squirrel .squirrel-leg.back {
        left: 6px;
      }

      .support-squirrel .squirrel-leg.front {
        left: 22px;
        background: linear-gradient(160deg, #e0a24f, #b96c22);
        animation-delay: 0.17s;
      }

      .support-squirrel .squirrel-arm {
        top: 6px;
        width: 9px;
        height: 13px;
        background: linear-gradient(160deg, #d38430, #a05516);
        box-shadow: inset -2px -2px 0 rgba(0, 0, 0, 0.15);
        animation: arm-run 0.34s linear infinite;
        z-index: 4;
      }

      .support-squirrel .squirrel-arm.back {
        left: 2px;
        animation-delay: 0.12s;
      }

      .support-squirrel .squirrel-arm.front {
        left: 20px;
        animation-delay: 0.26s;
      }

      .support-squirrel .squirrel-head {
        position: absolute;
        bottom: 14px;
        left: 8px;
        width: 20px;
        height: 16px;
        border-radius: 60% 55% 46% 55%;
        background: linear-gradient(160deg, #e7b466, #b86f22);
        box-shadow: inset -3px -3px 0 rgba(0, 0, 0, 0.18);
        animation: head-bob 0.35s ease-in-out infinite;
        animation-play-state: paused;
        z-index: 5;
      }

      .support-squirrel .squirrel-head::before,
      .support-squirrel .squirrel-head::after {
        content: "";
        position: absolute;
        top: 4px;
        width: 4px;
        height: 4px;
        border-radius: 50%;
        background: #0f172a;
        box-shadow: 0 1px 0 rgba(255, 255, 255, 0.4);
      }

      .support-squirrel .squirrel-head::before {
        left: 6px;
      }

      .support-squirrel .squirrel-head::after {
        right: 5px;
      }

      .support-squirrel .squirrel-head .squirrel-nose {
        position: absolute;
        bottom: -3px;
        right: 0;
        width: 8px;
        height: 5px;
        border-radius: 50%;
        background: linear-gradient(160deg, rgba(255, 255, 255, 0.55), rgba(226, 232, 240, 0));
        transform: rotate(10deg);
      }

      .support-squirrel::after {
        content: "";
        position: absolute;
        bottom: 18px;
        left: 52px;
        width: 16px;
        height: 12px;
        border-radius: 0 0 6px 6px;
        background: rgba(241, 245, 249, 0.92);
        box-shadow: 0 0 0 2px rgba(15, 23, 42, 0.4);
        opacity: 0;
        transform: translateX(-12px) translateY(10px) scale(0.7);
        animation: cup-grab 4.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
        animation-play-state: paused;
        z-index: 6;
      }

      .support-squirrel.active .squirrel-leg,
      .support-squirrel.active .squirrel-arm,
      .support-squirrel.active .squirrel-body,
      .support-squirrel.active .squirrel-head {
        animation-play-state: running;
      }

      .support-squirrel.active .squirrel-body::before,
      .support-squirrel.active .squirrel-body::after,
      .support-squirrel.active::after {
        animation-play-state: running;
      }

      @keyframes steam-rise {
        0% {
          transform: translate(-50%, 8px) scale(0.8);
          opacity: 0;
        }
        40% {
          opacity: 0.9;
        }
        100% {
          transform: translate(-50%, -10px) scale(1.1);
          opacity: 0;
        }
      }

      @keyframes coffee-bob {
        0% {
          transform: translateX(-50%) translateY(0);
        }
        100% {
          transform: translateX(-50%) translateY(-4px);
        }
      }

      @keyframes body-bob {
        0%,
        100% {
          transform: translateY(0);
        }
        50% {
          transform: translateY(-3px);
        }
      }

      @keyframes head-bob {
        0%,
        100% {
          transform: translateY(0) rotate(0deg);
        }
        50% {
          transform: translateY(-2px) rotate(-2deg);
        }
      }

      @keyframes tail-sway {
        0% {
          transform: rotate(10deg);
        }
        100% {
          transform: rotate(-14deg);
        }
      }

      @keyframes ear-flick {
        0% {
          transform: rotate(-6deg);
        }
        100% {
          transform: rotate(4deg);
        }
      }

      @keyframes leg-run {
        0%,
        100% {
          transform: rotate(18deg) translateY(0);
        }
        25% {
          transform: rotate(-30deg) translateY(-1px);
        }
        50% {
          transform: rotate(-60deg) translateY(-2px);
        }
        75% {
          transform: rotate(24deg) translateY(1px);
        }
      }

      @keyframes arm-run {
        0%,
        100% {
          transform: rotate(-12deg);
        }
        25% {
          transform: rotate(26deg);
        }
        50% {
          transform: rotate(44deg);
        }
        75% {
          transform: rotate(-18deg);
        }
      }

      @keyframes squirrel-dash {
        0% {
          opacity: 0;
          left: -90px;
          transform: translateY(0) scaleX(1);
        }
        10% {
          opacity: 1;
          transform: translateY(-4px) scaleX(1);
        }
        48% {
          left: calc(100vw - 200px);
          transform: translateY(0) scaleX(1);
        }
        55% {
          left: calc(100vw - 162px);
          transform: translateY(-3px) scaleX(1);
        }
        62% {
          left: calc(100vw - 150px);
          transform: translateY(-2px) scaleX(-1);
        }
        74% {
          left: calc(100vw - 205px);
          transform: translateY(0) scaleX(-1);
        }
        82% {
          left: calc(100vw - 250px);
          transform: translateY(-3px) scaleX(-1);
        }
        100% {
          opacity: 0;
          left: -90px;
          transform: translateY(0) scaleX(-1);
        }
      }

      @keyframes cup-grab {
        0% {
          opacity: 0;
          transform: translateX(-12px) translateY(10px) scale(0.6);
        }
        50% {
          opacity: 0;
          transform: translateX(-12px) translateY(10px) scale(0.6);
        }
        58% {
          opacity: 1;
          transform: translateX(0) translateY(0) scale(1);
        }
        75% {
          opacity: 1;
          transform: translateX(0) translateY(0) scale(1);
        }
        100% {
          opacity: 0;
          transform: translateX(-10px) translateY(12px) scale(0.6);
        }
      }

      footer a {
        color: var(--primary);
        text-decoration: none;
      }

      footer a:hover,
      footer a:focus-visible {
        text-decoration: underline;
      }

      @media (max-width: 720px) {
        nav {
          flex-direction: column;
          align-items: flex-start;
        }

        .nav-actions {
          width: 100%;
          justify-content: space-between;
        }

        .theme-toggle {
          width: 100%;
          justify-content: space-between;
        }

        .hero {
          text-align: left;
        }

        .hero-cta {
          justify-content: flex-start;
        }

        .featured-games {
          grid-template-columns: 1fr;
        }
      }
