* {
      box-sizing: border-box;
      image-rendering: pixelated;
    }

    :root {
      --bg: #06060a;
      --panel: rgba(18, 18, 26, 0.82);
      --line: rgba(255, 255, 255, 0.10);
      --text: #edf0f7;
      --muted: #aeb4c8;
      --accent: #b77cff;
      --accent-2: #8d5cff;
      --success: #4bb468;
      --danger: #d34b57;
      --shadow: 0 24px 70px rgba(0, 0, 0, 0.58);
    }

    html,
    body {
      min-height: 100%;
    }

    body {
      margin: 0;
      min-height: 100vh;
      padding: 36px 24px 0;
      color: var(--text);
      background: var(--bg);
      font-family: 'Inter', sans-serif;
      display: flex;
      flex-direction: column;
      align-items: center;
      overflow-x: hidden;
      position: relative;
    }

    body::before {
      content: "";
      position: fixed;
      inset: -5%;
      background: url('../../../bg.png') center/cover no-repeat;
      filter: blur(5px) brightness(0.55) saturate(1.22);
      transform: scale(1.06);
      animation: bgDrift 55s ease-in-out infinite;
      z-index: -2;
    }

    body::after {
      content: "";
      position: fixed;
      inset: 0;
      background:
        linear-gradient(180deg, rgba(6,6,10,0.10), rgba(6,6,10,0.72)),
        radial-gradient(circle at 50% 14%, rgba(183,124,255,0.16), transparent 34%);
      pointer-events: none;
      opacity: 1;
      z-index: -1;
    }

    @keyframes bgDrift {
      0%, 100% {
        transform: scale(1.06) translate(0, 0);
      }

      50% {
        transform: scale(1.075) translate(-8px, 6px);
      }
    }

    .shell {
      width: min(790px, 100%);
      display: flex;
      flex-direction: column;
      align-items: center;
    }

    .title-wrap {
      position: relative;
      display: flex;
      justify-content: center;
      align-items: center;
      margin-bottom: 20px;
    }

    .title-wrap::before {
      content: "";
      position: absolute;
      width: min(430px, 82vw);
      height: 130px;
      background: radial-gradient(circle, rgba(183,124,255,0.28) 0%, rgba(183,124,255,0.12) 42%, transparent 75%);
      filter: blur(26px);
      z-index: 0;
      pointer-events: none;
    }

    .logo {
      position: relative;
      z-index: 1;
      width: min(640px, 92vw);
      filter:
        drop-shadow(0 10px 0 rgba(0,0,0,0.9))
        drop-shadow(0 18px 35px rgba(0,0,0,0.55))
        drop-shadow(0 0 18px rgba(183,124,255,0.35));
      animation: logoFloat 4s ease-in-out infinite;
    }

    @keyframes logoFloat {
      0%, 100% {
        transform: translateY(0);
      }

      50% {
        transform: translateY(-4px);
      }
    }

    .mode-panel {
      width: 100%;
      margin-top: 22px;
      padding: 20px;
      border-radius: 26px;
      background:
        radial-gradient(circle at 50% 0%, rgba(183,124,255,0.08), transparent 30%),
        linear-gradient(180deg, rgba(18,18,27,0.88), rgba(10,10,16,0.90));
      border: 1px solid rgba(183,124,255,0.24);
      box-shadow:
        0 0 0 1px rgba(183,124,255,0.08),
        0 0 28px rgba(183,124,255,0.10),
        var(--shadow);
      backdrop-filter: blur(18px);
      -webkit-backdrop-filter: blur(18px);
    }

    .select-label {
      width: max-content;
      max-width: 100%;
      margin: 0 auto 18px;
      padding: 12px 18px;
      border-radius: 13px;
      border: 1px solid rgba(183,124,255,0.26);
      background:
        linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02)),
        linear-gradient(180deg, rgba(18,18,27,0.98), rgba(10,10,16,0.98));
      color: var(--accent);
      font-family: 'Press Start 2P', cursive;
      font-size: 12px;
      line-height: 1.5;
      text-align: center;
      text-shadow: 0 2px 0 #000;
      box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.04),
        0 12px 24px rgba(0,0,0,0.28);
    }

    .mode-list {
      display: flex;
      flex-direction: column;
      gap: 13px;
    }

    .page-subtitle {
      margin: 0;
      font-family: 'Press Start 2P', cursive;
      font-size: 10px;
      line-height: 1.9;
      color: rgba(237,240,247,0.68);
      text-align: center;
      text-shadow: 0 2px 0 #000;
    }

    .watch-section {
      width: 100%;
      margin-top: 18px;
      text-align: center;
    }

    .watch-label {
      margin: 0 0 11px;
      font-family: 'Press Start 2P', cursive;
      font-size: 10px;
      line-height: 1.7;
      color: rgba(237,240,247,0.72);
      text-shadow: 0 2px 0 #000;
    }

    .watch-label span {
      color: rgba(183,124,255,0.86);
    }

    .youtube-row {
      display: flex;
      justify-content: center;
      gap: 11px;
      flex-wrap: wrap;
    }

    .youtube-link {
      min-width: 136px;
      padding: 13px 14px;
      border-radius: 13px;
      border: 1px solid rgba(183,124,255,0.16);
      background:
        linear-gradient(180deg, rgba(255,255,255,0.04), transparent),
        linear-gradient(180deg, rgba(18,18,27,0.88), rgba(10,10,16,0.88));
      color: rgba(237,240,247,0.82);
      font-family: 'Press Start 2P', cursive;
      font-size: 7px;
      line-height: 1.25;
      text-decoration: none;
      text-shadow: 0 2px 0 #000;
      box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.04),
        0 10px 20px rgba(0,0,0,0.24);
      transition: transform 0.16s ease, border-color 0.16s ease, color 0.16s ease;
    }

    .youtube-link:hover,
    .youtube-link:focus-visible {
      transform: translateY(-1px);
      border-color: rgba(183,124,255,0.28);
      color: #ead8ff;
      outline: 0;
    }

    .youtube-link.spoke:hover,
    .youtube-link.spoke:focus-visible {
      border-color: rgba(255,255,255,0.32);
      background: rgba(5,5,8,0.78);
      color: #f3f3f3;
    }

    .youtube-link.parrot:hover,
    .youtube-link.parrot:focus-visible {
      border-color: rgba(101,211,110,0.55);
      background: rgba(101,211,110,0.12);
      color: #65d36e;
    }

    .youtube-link.wemmbu:hover,
    .youtube-link.wemmbu:focus-visible {
      border-color: rgba(167,94,255,0.58);
      background: rgba(167,94,255,0.16);
      color: #caa4ff;
    }

    .youtube-link.flame:hover,
    .youtube-link.flame:focus-visible {
      border-color: rgba(255,177,45,0.58);
      background: rgba(217,72,31,0.16);
      color: #ffb12d;
    }

    .mode-card {
      min-height: 104px;
      display: flex;
      align-items: center;
      gap: 17px;
      padding: 16px 18px;
      border-radius: 17px;
      border: 1px solid rgba(183,124,255,0.13);
      background:
        linear-gradient(180deg, rgba(255,255,255,0.035), transparent),
        linear-gradient(90deg, rgba(18,16,28,0.97), rgba(9,9,15,0.97));
      box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.04),
        inset 0 -1px 0 rgba(0,0,0,0.36),
        0 12px 22px rgba(0,0,0,0.28);
      color: inherit;
      text-decoration: none;
      position: relative;
      overflow: hidden;
      transition: transform 0.18s ease, border-color 0.18s ease, filter 0.18s ease;
    }

    .mode-card::after {
      content: "";
      position: absolute;
      inset: 0;
      pointer-events: none;
      background: linear-gradient(180deg, rgba(255,255,255,0.04), transparent 50%, rgba(255,255,255,0.02));
    }

    .mode-card:hover,
    .mode-card:focus-visible {
      transform: translateY(-2px);
      border-color: rgba(183,124,255,0.30);
      filter: brightness(1.04);
      outline: 0;
    }

    .mode-card:focus-visible {
      outline: 2px solid var(--accent);
      outline-offset: 5px;
    }

    .mode-icon {
      width: 72px;
      height: 72px;
      flex: 0 0 72px;
      border-radius: 18px;
      background:
        linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02)),
        linear-gradient(180deg, rgba(33,26,52,0.98), rgba(16,13,28,0.98));
      border: 1px solid rgba(183,124,255,0.20);
      box-shadow: 0 12px 24px rgba(0,0,0,0.30);
      display: flex;
      align-items: center;
      justify-content: center;
      position: relative;
      z-index: 1;
    }

    .icon-grid {
      width: 37px;
      height: 37px;
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 5px;
    }

    .icon-grid span {
      border-radius: 7px;
      box-shadow: inset 0 1px 0 rgba(255,255,255,0.16);
    }

    .icon-grid span:nth-child(1),
    .icon-grid span:nth-child(4) {
      background: var(--success);
    }

    .icon-grid span:nth-child(2),
    .icon-grid span:nth-child(3) {
      background: var(--danger);
    }

    .quote-bubble {
      width: 43px;
      height: 34px;
      background: #eceaf3;
      border-radius: 11px;
      position: relative;
      box-shadow: inset 0 1px 0 rgba(255,255,255,0.42);
    }

    .quote-bubble::after {
      content: "";
      position: absolute;
      left: 10px;
      bottom: -8px;
      width: 14px;
      height: 14px;
      background: #eceaf3;
      transform: rotate(45deg);
      border-bottom-left-radius: 3px;
    }

    .quote-dots {
      position: absolute;
      inset: 0;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 6px;
    }

    .quote-dots span {
      width: 8px;
      height: 14px;
      border-radius: 6px;
      background: #16161d;
    }

    .mode-text {
      min-width: 0;
      flex: 1;
      position: relative;
      z-index: 1;
    }

    .mode-name {
      margin: 0 0 9px;
      font-family: 'Press Start 2P', cursive;
      font-size: 18px;
      line-height: 1.45;
      color: #ead8ff;
      font-weight: 400;
      letter-spacing: 0;
      text-transform: uppercase;
      text-shadow: 0 2px 0 #000, 0 0 12px rgba(183,124,255,0.18);
    }

    .mode-desc {
      margin: 0;
      font-family: 'Press Start 2P', cursive;
      font-size: 9px;
      line-height: 1.7;
      color: rgba(237,240,247,0.72);
      text-shadow: 0 2px 0 #000;
    }

    .mode-note {
      margin-top: 16px;
      padding-top: 14px;
      border-top: 1px solid rgba(255,255,255,0.08);
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 10px;
      flex-wrap: wrap;
      font-family: 'Press Start 2P', cursive;
      font-size: 10px;
      line-height: 1.7;
      color: rgba(237,240,247,0.62);
      text-align: center;
      text-shadow: 0 2px 0 #000;
    }

    .mode-note span {
      color: rgba(183,124,255,0.86);
    }

    .creator-credit {
      width: max-content;
      max-width: 100%;
      margin: 16px auto 0;
      padding: 10px 14px 10px 10px;
      border-radius: 13px;
      border: 1px solid rgba(183,124,255,0.16);
      background:
        linear-gradient(180deg, rgba(255,255,255,0.035), transparent),
        rgba(10,10,16,0.68);
      display: flex;
      align-items: center;
      gap: 10px;
      color: inherit;
      text-decoration: none;
      box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.04),
        0 12px 22px rgba(0,0,0,0.22);
      transition: transform 0.16s ease, border-color 0.16s ease, filter 0.16s ease;
    }

    .creator-credit:hover,
    .creator-credit:focus-visible {
      transform: translateY(-1px);
      border-color: rgba(183,124,255,0.30);
      filter: brightness(1.05);
      outline: 0;
    }

    .creator-credit img {
      width: 42px;
      height: 42px;
      flex: 0 0 42px;
      border-radius: 9px;
      border: 1px solid rgba(255,255,255,0.12);
      background: rgba(255,255,255,0.06);
    }

    .creator-text {
      font-family: 'Press Start 2P', cursive;
      font-size: 7px;
      line-height: 1.7;
      color: rgba(237,240,247,0.58);
      text-shadow: 0 2px 0 #000;
    }

    .creator-text b {
      display: block;
      color: #ead8ff;
      font-size: 10px;
      font-weight: 400;
    }

    .footer-fade {
      position: relative;
      width: 100%;
      height: 250px;
      pointer-events: none;
      z-index: 1;
      margin-top: auto;
      margin-left: 0;
      margin-right: 0;
      display: flex;
      align-items: flex-end;
      justify-content: center;
      padding-bottom: 30px;
      background: linear-gradient(
        to top,
        rgba(0,0,0,0.95) 0%,
        rgba(0,0,0,0.75) 30%,
        rgba(0,0,0,0.35) 65%,
        rgba(0,0,0,0.0) 100%
      );
    }

    .footer-links {
      pointer-events: auto;
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 8px;
      font-family: 'Press Start 2P', cursive;
      font-size: 7px;
      color: rgba(233,236,247,0.40);
      letter-spacing: 0.6px;
      user-select: none;
    }

    .footer-links a {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      min-height: 30px;
      padding: 8px 11px;
      color: rgba(233,236,247,0.58);
      text-decoration: none;
    }

    .footer-links a:hover,
    .footer-links a:focus-visible {
      color: rgba(233,236,247,0.88);
      text-decoration: underline;
      outline: 0;
    }

    .loading-screen {
      position: fixed;
      inset: 0;
      z-index: 9999;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      gap: 18px;
      background:
        radial-gradient(circle at 50% 36%, rgba(183,124,255,0.16), transparent 28%),
        rgba(6,6,10,0.88);
      backdrop-filter: blur(10px);
      -webkit-backdrop-filter: blur(10px);
      opacity: 0;
      visibility: hidden;
      pointer-events: none;
      transition: opacity 0.16s ease, visibility 0s linear 0.16s;
    }

    body:not(.page-ready) .loading-screen,
    body.is-loading .loading-screen {
      opacity: 1;
      visibility: visible;
      transition-delay: 0s;
    }

    body:not(.page-ready) .shell,
    body:not(.page-ready) .footer-fade,
    body.is-loading .shell,
    body.is-loading .footer-fade {
      opacity: 0;
      transition: opacity 0.12s ease;
    }

    html.skip-initial-loader body:not(.is-loading) .loading-screen {
      opacity: 0;
      visibility: hidden;
      transition: none;
    }

    html.skip-initial-loader body:not(.is-loading) .shell,
    html.skip-initial-loader body:not(.is-loading) .footer-fade {
      opacity: 1;
      transition: none;
    }

    .loading-title {
      font-family: 'Press Start 2P', cursive;
      font-size: 18px;
      line-height: 1.7;
      color: var(--accent);
      text-shadow: 0 2px 0 #000, 0 0 16px rgba(183,124,255,0.32);
    }

    .loading-dots {
      display: flex;
      gap: 10px;
    }

    .loading-dots span {
      width: 8px;
      height: 8px;
      border-radius: 2px;
      background: rgba(237,240,247,0.75);
      animation: loadingDot 0.84s ease-in-out infinite;
    }

    .loading-dots span:nth-child(2) { animation-delay: 0.12s; }
    .loading-dots span:nth-child(3) { animation-delay: 0.24s; }

    @keyframes loadingDot {
      0%, 100% { transform: translateY(0); opacity: 0.35; }
      50% { transform: translateY(-8px); opacity: 1; }
    }

    @media (max-width: 640px) {
      body {
        padding: 34px 14px 0;
      }

      .title-wrap {
        margin-bottom: 18px;
      }

      .mode-panel {
        margin-top: 20px;
        padding: 18px;
        border-radius: 24px;
      }

      .select-label {
        font-size: 11px;
      }

      .mode-card {
        min-height: 112px;
        gap: 15px;
        padding: 16px;
        border-radius: 16px;
      }

      .mode-icon {
        width: 64px;
        height: 64px;
        flex-basis: 64px;
        border-radius: 15px;
      }

      .icon-grid {
        width: 34px;
        height: 34px;
        gap: 6px;
      }

      .quote-bubble {
        width: 38px;
        height: 30px;
      }

      .mode-name {
        font-size: 15px;
      }

      .mode-desc {
        font-size: 8px;
      }

      .page-subtitle,
      .mode-note {
        font-size: 8px;
      }

      .watch-label,
      .youtube-link {
        font-size: 7px;
      }

      .creator-text {
        font-size: 7px;
      }

      .youtube-link {
        min-width: 120px;
        padding: 12px 11px;
      }

      .creator-text b {
        font-size: 10px;
      }
    }

    @media (max-width: 420px) {
      .mode-card {
        gap: 12px;
      }

      .mode-icon {
        width: 56px;
        height: 56px;
        flex-basis: 56px;
      }

      .mode-name {
        font-size: 12px;
      }

      .mode-desc {
        font-size: 7px;
      }
    }

    @media (max-width: 380px) {
      body {
        padding-inline: 10px;
      }

      .mode-panel {
        padding: 14px;
      }

      .mode-card {
        min-height: 96px;
        padding: 13px;
      }

      .select-label {
        font-size: 9px;
        line-height: 1.7;
      }

      .creator-credit {
        width: 100%;
      }
    }

    @media (max-width: 420px) {
      .mode-card {
        min-width: 0;
      }

      .mode-name,
      .mode-desc,
      .select-label,
      .page-subtitle,
      .mode-note,
      .watch-label,
      .creator-text {
        overflow-wrap: anywhere;
      }
    }

    @media (max-width: 380px) {
      .mode-card {
        flex-wrap: wrap;
      }

      .mode-text {
        flex-basis: calc(100% - 68px);
      }

      .loading-title {
        max-width: calc(100vw - 28px);
        font-size: 13px;
        text-align: center;
      }
    }
