    /* ---------------- RELOAD LAYOUT ---------------- */

    .reload-layout {
      position: relative;
      width: min(1500px, 100%);
      min-height: 100vh;
      margin: auto;
      padding: 78px 5vw 20px;
      display: flex;
      flex-direction: column;
      box-sizing: border-box;
    }

    .reload-layout[hidden],
    .classic-layout[hidden] {
      display: none !important;
    }

    .background-word {
      position: fixed;
      z-index: -1;
      left: -1vw;
      bottom: -3vw;
      margin: 0;
      color: rgba(122, 220, 255, .045);
      font-family: Inter, sans-serif;
      font-size: clamp(7rem, 19vw, 22rem);
      font-weight: 900;
      line-height: .7;
      letter-spacing: -.1em;
      writing-mode: vertical-rl;
      transform: rotate(180deg);
      user-select: none;
    }

    .intro {
      position: relative;
      z-index: 2;
      max-width: 720px;
      margin-left: 5vw;
      margin-bottom: 4px;
      pointer-events: none;
    }

    .intro-kicker {
      display: flex;
      align-items: center;
      gap: 12px;
      color: var(--cyan);
      font-family: Inter, sans-serif;
      font-size: 11px;
      font-weight: 900;
      letter-spacing: .24em;
    }

    .intro-kicker::before {
      content: "";
      width: 54px;
      height: 5px;
      background: var(--cyan);
      clip-path: polygon(0 30%, 100% 0, 90% 100%, 4% 70%);
    }

    .intro h1 {
      position: relative;
      margin: 4px 0 8px;
      font-family: Inter, sans-serif;
      font-size: clamp(2.8rem, 5.2vw, 4.8rem);
      font-weight: 900;
      line-height: .86;
      letter-spacing: -.085em;
      text-transform: uppercase;
      transform: rotate(-2deg);
      text-shadow:
        6px 6px 0 #006bdf,
        12px 13px 0 rgba(0, 25, 75, .48);
    }

    .intro h1 span {
      display: inline-block;
      color: transparent;
      -webkit-text-stroke: 2px var(--cyan);
      transform: translateX(1.6vw);
    }

    .intro-note {
      width: min(520px, 92%);
      margin: 26px 0 0 5vw;
      padding: 9px 18px 9px 20px;
      color: #c0e2f8;
      background: rgba(0, 26, 60, 0.65);
      border-left: 4px solid var(--cyan);
      font-size: 12px;
      line-height: 1.55;
      transform: skewX(-7deg);
      backdrop-filter: blur(10px);
      box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    }

    .intro-note span {
      display: block;
      transform: skewX(7deg);
    }

    .archive-stage {
      display: grid;
      grid-template-columns: minmax(360px, .95fr) minmax(420px, 1.05fr);
      gap: 3.5vw;
      align-items: center;
      min-height: 430px;
      margin-top: 18px;
      margin-bottom: 8px;
    }

    /* ---------------- COMMAND MENU ---------------- */

    .command-area {
      position: relative;
      z-index: 5;
      align-self: center;
      padding: 0 0 0 4vw;
    }

    .command-area::before {
      content: "";
      position: absolute;
      z-index: -2;
      width: 720px;
      height: 530px;
      top: 50%;
      left: -250px;
      opacity: .85;
      background:
        radial-gradient(ellipse, rgba(0, 144, 255, .55), transparent 62%);
      transform: translateY(-50%) rotate(-8deg);
      filter: blur(9px);
    }

    .command-heading {
      margin: 0 0 12px 48px;
      color: rgba(221, 249, 255, .75);
      font-family: Inter, sans-serif;
      font-size: 11px;
      font-weight: 900;
      letter-spacing: .22em;
    }

    .project-list {
      display: grid;
      gap: 5px;
      max-width: 560px;
    }

    .project-button {
      position: relative;
      display: grid;
      grid-template-columns: 46px 1fr auto;
      align-items: center;
      gap: 12px;
      width: 100%;
      min-height: 56px;
      padding: 6px 20px 6px 14px;
      overflow: visible;
      cursor: pointer;
      text-align: left;
      background: transparent;
      border: 0;
      isolation: isolate;
      transition:
        transform 240ms var(--ease),
        padding 240ms var(--ease);
    }

    .project-button::before {
      content: "";
      position: absolute;
      z-index: -1;
      inset: 0;
      opacity: .55;
      background: linear-gradient(90deg,
        rgba(0, 30, 72, .95),
        rgba(0, 96, 185, .48) 72%,
        transparent);
      clip-path: polygon(2% 0%, 98% 4%, 100% 96%, 0% 100%);
      transition:
        opacity 220ms ease,
        transform 240ms var(--ease),
        background 220ms ease,
        box-shadow 220ms ease;
    }

    .project-button::after {
      content: "";
      position: absolute;
      z-index: -2;
      inset: -3px -5px;
      opacity: 0;
      background: #ffffff;
      clip-path: polygon(1.5% 0%, 98.5% 3.5%, 100% 96.5%, 0% 100%);
      transform: scaleX(.88) translateX(-5%);
      transform-origin: left;
      transition: 240ms var(--ease);
    }

    .project-button:hover,
    .project-button.selected {
      z-index: 4;
      padding-left: 18px;
      transform: translateX(12px) rotate(-1deg);
    }

    .project-button:hover::before,
    .project-button.selected::before {
      opacity: 1;
      background: linear-gradient(90deg, #0266d6 0%, #009fff 70%, #2beaff 100%);
      box-shadow: 0 8px 30px rgba(0, 145, 255, .45);
    }

    .project-button:hover::after,
    .project-button.selected::after {
      opacity: 1;
      transform: scaleX(1) translateX(0);
    }

    .project-number {
      position: relative;
      display: grid;
      place-items: center;
      width: 44px;
      height: 38px;
      color: var(--navy);
      background: var(--ice);
      font-family: Inter, sans-serif;
      font-size: 15px;
      font-weight: 900;
      clip-path: polygon(11% 0, 100% 8%, 87% 100%, 0 83%);
      transform: rotate(-5deg);
      flex-shrink: 0;
      overflow: hidden;
    }

    .project-number-img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
    }

    .project-copy {
      min-width: 0;
      display: flex;
      flex-direction: column;
      justify-content: center;
    }

    .project-copy strong {
      display: block;
      overflow: hidden;
      font-family: Inter, sans-serif;
      font-size: clamp(15px, 1.5vw, 19px);
      font-weight: 900;
      letter-spacing: -.03em;
      line-height: 1.15;
      text-overflow: ellipsis;
      text-transform: uppercase;
      white-space: nowrap;
      color: #ffffff;
    }

    .project-copy small {
      display: block;
      margin-top: 4px;
      color: #8ed6ff;
      font-family: "Chakra Petch", Inter, sans-serif;
      font-size: 11px;
      font-weight: 600;
      letter-spacing: .03em;
      line-height: 1.2;
      transition: color 200ms ease;
    }

    .project-button:hover .project-copy small,
    .project-button.selected .project-copy small {
      color: #ffffff;
      text-shadow: 0 1px 4px rgba(0, 18, 50, .85);
    }

    .project-button:hover .project-copy strong,
    .project-button.selected .project-copy strong {
      color: #ffffff;
      text-shadow: 0 2px 8px rgba(0, 20, 60, .8);
    }

    .project-tag {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      padding: 4px 11px;
      color: var(--navy);
      font-family: "Chakra Petch", Inter, sans-serif;
      font-size: 11px;
      font-weight: 800;
      letter-spacing: .02em;
      clip-path: polygon(4% 0, 100% 8%, 95% 100%, 0 85%);
      transform: rotate(-2deg);
      white-space: nowrap;
      transition: all 200ms ease;
    }

    .project-tag.tag-patch,
    .project-tag.tag-cyan,
    .project-tag.tag-blue {
      background: var(--cyan);
      color: var(--navy);
      box-shadow: 0 2px 8px rgba(84, 232, 255, .35);
    }

    .project-tag.tag-complete,
    .project-tag.tag-green {
      background: var(--green);
      color: var(--navy);
      box-shadow: 0 2px 8px rgba(111, 255, 200, .35);
    }

    .project-tag.tag-queue,
    .project-tag.tag-yellow {
      background: var(--yellow);
      color: var(--navy);
      box-shadow: 0 2px 8px rgba(255, 227, 106, .35);
    }

    .project-tag.tag-red {
      background: #ff4d6d;
      color: #ffffff;
      box-shadow: 0 2px 8px rgba(255, 77, 109, .4);
    }

    .project-tag.tag-purple {
      background: #c084fc;
      color: #1a0538;
      box-shadow: 0 2px 8px rgba(192, 132, 252, .4);
    }

    .project-tag.tag-orange {
      background: #ff9f43;
      color: #2b1200;
      box-shadow: 0 2px 8px rgba(255, 159, 67, .4);
    }

    .project-button.selected .project-tag {
      box-shadow: 0 3px 12px rgba(0, 18, 50, .5);
      border: 1px solid rgba(0, 20, 60, .35);
    }

    .project-button.selected .project-tag.tag-patch,
    .project-button.selected .project-tag.tag-cyan,
    .project-button.selected .project-tag.tag-blue {
      background: #ffffff;
      color: #022b68;
    }

    .project-button.selected .project-tag.tag-complete,
    .project-button.selected .project-tag.tag-green {
      background: var(--green);
      color: var(--navy);
    }

    .project-button.selected .project-tag.tag-queue,
    .project-button.selected .project-tag.tag-yellow {
      background: var(--yellow);
      color: var(--navy);
    }

    .project-button.selected .project-tag.tag-red {
      background: #ff4d6d;
      color: #ffffff;
    }

    .project-button.selected .project-tag.tag-purple {
      background: #c084fc;
      color: #1a0538;
    }

    .project-button.selected .project-tag.tag-orange {
      background: #ff9f43;
      color: #2b1200;
    }

    .selector {
      position: absolute;
      left: -22px;
      top: 50%;
      width: 26px;
      height: 26px;
      opacity: 0;
      background: var(--cyan);
      clip-path: polygon(0 16%, 100% 50%, 0 84%, 24% 50%);
      transform: translateY(-50%) translateX(-16px);
      transition: 220ms var(--ease);
      filter: drop-shadow(0 0 8px var(--cyan));
    }

    .project-button.selected .selector {
      opacity: 1;
      transform: translateY(-50%) translateX(0);
      animation: selectorPulse 1.1s ease-in-out infinite;
    }

    /* ---------------- PREVIEW ---------------- */

    :root {
      --p3r-preview-polygon: polygon(3% 0%, 95% 4%, 100% 20%, 96.5% 96%, 90% 100%, 0% 100%);
    }

    .preview {
      position: relative;
      min-height: 440px;
      margin-right: 3vw;
      isolation: isolate;
    }

    /* P3R Glowing Cyber Frame Outline */
    .preview::before {
      content: "";
      position: absolute;
      z-index: 0;
      inset: 3.6% 0.6% 3.6% 1.6%;
      background: linear-gradient(135deg, rgba(84, 232, 255, 0.75) 0%, rgba(255, 255, 255, 0.5) 40%, rgba(0, 140, 255, 0.4) 100%);
      clip-path: var(--p3r-preview-polygon);
      pointer-events: none;
      box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
      transition: all 0.3s ease;
    }

    .preview-shape {
      position: absolute;
      z-index: 1;
      inset: 4% 1% 4% 2%;
      overflow: hidden;
      background: var(--preview-background);
      clip-path: var(--p3r-preview-polygon);
      transition: background 350ms ease;
    }

    .preview-shape::before {
      content: "";
      position: absolute;
      inset: -20%;
      background:
        radial-gradient(circle at 68% 35%, rgba(255,255,255,.38), transparent 4%),
        repeating-radial-gradient(
          ellipse at 75% 110%,
          transparent 0 31px,
          rgba(193, 247, 255, .22) 33px,
          transparent 36px 55px
        );
      transform: rotate(-4deg);
      animation: previewWater 8s linear infinite;
    }

    .preview-shape::after {
      content: "";
      position: absolute;
      inset: 0;
      background:
        linear-gradient(115deg, rgba(0, 12, 36, .08), transparent 40%),
        linear-gradient(to top, rgba(0, 8, 25, .88), transparent 59%);
    }

    .preview-ring {
      position: absolute;
      z-index: 1;
      width: 310px;
      height: 310px;
      top: 8%;
      right: 7%;
      opacity: .35;
      border: 3px solid var(--cyan);
      border-radius: 50%;
      box-shadow:
        0 0 0 20px rgba(65, 225, 255, .07),
        0 0 0 43px rgba(65, 225, 255, .04);
      animation: spin 18s linear infinite;
    }

    .preview-ring::before,
    .preview-ring::after {
      content: "";
      position: absolute;
      width: 33px;
      height: 8px;
      background: var(--cyan);
    }

    .preview-ring::before {
      top: 26px;
      left: 17px;
      transform: rotate(-38deg);
    }

    .preview-ring::after {
      right: -8px;
      bottom: 96px;
      transform: rotate(70deg);
    }

    .preview-symbol {
      position: absolute;
      z-index: 2;
      top: 14%;
      right: 3%;
      color: rgba(233, 252, 255, .22);
      font-family: Inter, sans-serif;
      font-size: clamp(7.5rem, 16vw, 16rem);
      font-weight: 900;
      line-height: .8;
      letter-spacing: -.12em;
      transform: rotate(5deg);
      text-shadow: 8px 8px 0 rgba(0, 77, 178, .4);
      transition:
        opacity 180ms ease,
        transform 420ms var(--ease);
    }

    /* Character Art Pop-out Layer */
    .preview-character {
      position: absolute;
      z-index: 3;
      inset: 4% 1% 4% 2%; /* Matches .preview-shape exactly */
      pointer-events: none;
      display: none;
      align-items: flex-end;
      justify-content: flex-end;
      overflow: visible;
      /* Top is unclipped so head pops out, bottom & sides clip along .preview-shape's exact polygon */
      clip-path: polygon(0% -100%, 105% -100%, 100% 20%, 96.5% 96%, 90% 100%, 0% 100%, 0% 20%);
      transition: opacity 0.3s ease;
    }

    .preview-character.entering .preview-character-img {
      animation: characterEnterP3R 0.58s cubic-bezier(0.2, 0.9, 0.3, 1) both;
    }

    @keyframes characterEnterP3R {
      0% {
        opacity: 0;
        transform: translateY(42px) scale(0.95) skewX(-2deg);
        filter: blur(3px);
      }
      60% {
        filter: blur(0);
      }
      100% {
        opacity: 1;
        transform: translateY(0) scale(1) skewX(0);
        filter: blur(0);
      }
    }

    .preview-character-transform {
      display: flex;
      align-items: flex-end;
      justify-content: flex-end;
      width: 100%;
      height: 100%;
      transform: translate(var(--char-x, 0px), var(--char-y, 0px)) scale(var(--char-scale, 1));
      transform-origin: bottom right;
      transition: transform 0.3s cubic-bezier(0.2, 0.9, 0.3, 1);
    }

    .preview-character-img {
      width: auto;
      height: 122%; /* Sized to command the frame without overflowing borders */
      max-height: 126%;
      max-width: 100%;
      object-fit: contain;
      object-position: bottom right;
      margin-right: 4%;
      filter: drop-shadow(0 16px 32px rgba(0, 0, 0, 0.65));
      will-change: transform, opacity;
    }

    .preview-content {
      position: absolute;
      z-index: 5;
      left: 7.5%;
      right: 12%;
      bottom: 7.8%;
      max-width: 520px;
    }

    .status-pill {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      padding: 4px 10px;
      color: var(--navy);
      background: var(--green);
      font-family: "Chakra Petch", Inter, sans-serif;
      font-size: 10px;
      font-weight: 800;
      letter-spacing: .02em;
      clip-path: polygon(4% 0, 100% 8%, 95% 100%, 0 85%);
      transform: rotate(-2deg);
      white-space: nowrap;
    }

    .status-pill.tag-patch,
    .status-pill.tag-cyan,
    .status-pill.tag-blue,
    .status-pill.patch {
      background: var(--cyan);
      color: var(--navy);
      box-shadow: 0 2px 8px rgba(84, 232, 255, .35);
    }

    .status-pill.tag-complete,
    .status-pill.tag-green,
    .status-pill.complete {
      background: var(--green);
      color: var(--navy);
      box-shadow: 0 2px 8px rgba(111, 255, 200, .35);
    }

    .status-pill.tag-queue,
    .status-pill.tag-yellow,
    .status-pill.queue,
    .status-pill.developing,
    .status-pill.planned {
      background: var(--yellow);
      color: var(--navy);
      box-shadow: 0 2px 8px rgba(255, 227, 106, .35);
    }

    .status-pill.tag-red {
      background: #ff4d6d;
      color: #ffffff;
      box-shadow: 0 2px 8px rgba(255, 77, 109, .4);
    }

    .status-pill.tag-purple {
      background: #c084fc;
      color: #1a0538;
      box-shadow: 0 2px 8px rgba(192, 132, 252, .4);
    }

    .status-pill.tag-orange {
      background: #ff9f43;
      color: #2b1200;
      box-shadow: 0 2px 8px rgba(255, 159, 67, .4);
    }

    .preview-content h2 {
      max-width: 440px;
      margin: 12px 0 8px;
      font-family: Inter, sans-serif;
      font-size: clamp(2.3rem, 4.4vw, 5rem);
      font-weight: 900;
      line-height: .88;
      letter-spacing: -.075em;
      text-transform: uppercase;
      text-shadow: 6px 6px 0 rgba(0, 74, 170, .65);
      word-break: normal;
      overflow-wrap: break-word;
    }

    .preview-content p {
      max-width: 520px;
      margin: 0;
      color: #cbe7f5;
      font-size: 13px;
      line-height: 1.6;
    }

    .preview-meta {
      display: flex;
      align-items: center;
      gap: 14px;
      margin-top: 12px;
    }

    .preview-bar {
      width: 220px;
      max-width: 48%;
      height: 8px;
      overflow: hidden;
      background: rgba(255,255,255,.17);
      clip-path: polygon(2% 0, 100% 0, 98% 100%, 0 100%);
    }

    .preview-bar span {
      display: block;
      width: 0;
      height: 100%;
      background: linear-gradient(90deg, #0084ff, var(--cyan));
      box-shadow: 0 0 18px var(--cyan);
      transition: width 650ms var(--ease);
    }

    .open-project {
      position: absolute;
      z-index: 8;
      right: -7px;
      bottom: 21%;
      display: grid;
      place-items: center;
      width: 96px;
      height: 96px;
      cursor: pointer;
      color: var(--navy);
      background: var(--ice);
      border: 0;
      clip-path: polygon(50% 0, 100% 35%, 86% 90%, 31% 100%, 0 57%, 13% 15%);
      font-family: Inter, sans-serif;
      font-size: 11px;
      font-weight: 900;
      transform: rotate(5deg);
      transition: 240ms var(--ease);
    }

    .open-project::after {
      content: "→";
      display: block;
      font-size: 27px;
    }

    .open-project:hover {
      color: var(--navy);
      background: var(--cyan);
      transform: rotate(-4deg) scale(1.12);
      filter: drop-shadow(0 12px 18px rgba(0, 191, 255, .45));
    }

    /* ---------------- COMMAND STAT BAR (MATCHING GAME MENU) ---------------- */

    .command-stat-bar-wrapper {
      max-width: 560px;
      width: 100%;
      display: flex;
      justify-content: center;
      margin-top: 10px;
    }

    .command-stat-bar {
      position: relative;
      width: 320px;
      max-width: 100%;
      min-height: 40px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 4px 15px 4px 10px;
      background: transparent;
      border: 0;
      isolation: isolate;
      box-sizing: border-box;
      user-select: none;
      cursor: default;
    }

    /* กรอบนอก / Border frame - clip-path เดียวกับเมนูเกม */
    .command-stat-bar::after {
      content: "";
      position: absolute;
      z-index: -2;
      inset: 0;
      background: linear-gradient(90deg, rgba(84, 232, 255, 0.65) 0%, rgba(255, 255, 255, 0.45) 55%, rgba(84, 232, 255, 0.25) 100%);
      clip-path: polygon(2% 0%, 98% 3.5%, 100% 96.5%, 0% 100%);
      box-shadow: 0 6px 18px rgba(0, 0, 0, 0.45);
    }

    /* พื้นหลังด้านใน - ย่นเข้ามา 1.5px เพื่อเผยขอบกรอบเฉียง */
    .command-stat-bar::before {
      content: "";
      position: absolute;
      z-index: -1;
      inset: 1.5px 2px;
      background: linear-gradient(90deg,
        rgba(0, 30, 72, .95) 0%,
        rgba(0, 78, 158, .48) 72%,
        rgba(0, 20, 52, .88) 100%);
      clip-path: polygon(2% 0%, 98% 3.5%, 100% 96.5%, 0% 100%);
    }

    .command-stat-left {
      display: flex;
      align-items: center;
      gap: 8px;
    }

    /* Number Badge matching .project-number */
    .command-stat-badge {
      display: grid;
      place-items: center;
      min-width: 36px;
      width: auto;
      padding: 0 6px;
      height: 28px;
      color: var(--navy);
      background: var(--ice);
      font-family: Inter, sans-serif;
      font-size: 12.5px;
      font-weight: 900;
      clip-path: polygon(11% 0, 100% 8%, 87% 100%, 0 83%);
      transform: rotate(-4deg);
      flex-shrink: 0;
    }

    .command-stat-copy {
      display: flex;
      flex-direction: column;
      line-height: 1.15;
    }

    .command-stat-title {
      font-family: "Chakra Petch", sans-serif;
      font-size: 12px;
      font-weight: 700;
      color: #ffffff;
      letter-spacing: 0.02em;
      white-space: nowrap;
    }

    .command-stat-sub {
      font-family: Inter, sans-serif;
      font-size: 8px;
      font-weight: 800;
      color: #8ed6ff;
      letter-spacing: 0.08em;
      text-transform: uppercase;
      white-space: nowrap;
    }

    .command-stat-divider {
      width: 1px;
      height: 18px;
      background: rgba(84, 232, 255, 0.28);
      margin: 0 6px;
      flex-shrink: 0;
    }

    .command-stat-right {
      display: flex;
      flex-direction: column;
      align-items: flex-end;
      line-height: 1.15;
    }

    .command-stat-date-lbl {
      font-family: "Chakra Petch", sans-serif;
      font-size: 9px;
      font-weight: 600;
      color: #8ed6ff;
      letter-spacing: 0.04em;
      white-space: nowrap;
    }

    .command-stat-date-val {
      font-family: "Chakra Petch", Inter, sans-serif;
      font-size: 13.5px;
      font-weight: 800;
      color: var(--cyan);
      letter-spacing: 0.02em;
      white-space: nowrap;
    }

    /* ---------------- SCROLL CUE ---------------- */

    .scroll-cue {
      display: flex;
      justify-content: center;
      margin-top: auto;
      margin-bottom: 20px;
      padding-top: 24px;
      position: relative;
      z-index: 5;
    }

    .scroll-cue-btn {
      display: inline-flex;
      align-items: center;
      gap: 16px;
      padding: 10px 24px 10px 18px;
      background: linear-gradient(135deg, rgba(3, 26, 58, 0.85) 0%, rgba(1, 9, 23, 0.95) 100%);
      border: 1px solid rgba(84, 232, 255, 0.35);
      border-left: 5px solid var(--cyan);
      box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4), 0 0 20px rgba(0, 168, 255, 0.2);
      transform: skewX(-8deg);
      cursor: pointer;
      color: var(--ice);
      transition: all 250ms var(--ease);
      outline: none;
    }

    .scroll-cue-btn:hover {
      transform: skewX(-8deg) translateY(-4px);
      border-color: var(--cyan);
      box-shadow: 0 14px 35px rgba(0, 0, 0, 0.5), 0 0 30px rgba(84, 232, 255, 0.45);
      background: linear-gradient(135deg, rgba(6, 43, 89, 0.95) 0%, rgba(3, 20, 45, 0.98) 100%);
    }

    .scroll-cue-btn > * {
      transform: skewX(8deg);
    }

    .scroll-cue-tag {
      font-family: Inter, sans-serif;
      font-size: 10px;
      font-weight: 900;
      letter-spacing: .2em;
      color: var(--navy);
      background: var(--cyan);
      padding: 4px 8px;
      clip-path: polygon(0 0, calc(100% - 6px) 0, 100% 100%, 0 100%);
    }

    .scroll-cue-title {
      font-family: "Chakra Petch", sans-serif;
      font-size: 14px;
      font-weight: 700;
      letter-spacing: .08em;
      color: var(--ice);
    }

    .scroll-cue-arrow {
      font-size: 12px;
      color: var(--cyan);
      animation: cueBounce 1.8s infinite ease-in-out;
    }

    @keyframes cueBounce {
      0%, 100% {
        transform: skewX(8deg) translateY(0);
      }
      50% {
        transform: skewX(8deg) translateY(5px);
      }
    }

    /* ---------------- RESPONSIVE BREAKPOINTS (HORIZONTAL) ---------------- */

    @media (max-width: 1240px) {
      .archive-stage {
        grid-template-columns: minmax(320px, 1fr) minmax(360px, 1.15fr);
        gap: 20px;
      }
      .command-area {
        padding-left: 1vw;
      }
      .preview {
        margin-right: 1vw;
      }
      .project-button:hover,
      .project-button.selected {
        transform: translateX(8px) rotate(-1deg);
      }
      .preview-character {
        clip-path: polygon(0% -100%, 100% -100%, 100% 20%, 96.5% 96%, 90% 100%, 0% 100%, 0% 20%);
      }
    }

    @media (max-width: 980px) {
      .archive-stage {
        grid-template-columns: 1fr;
        gap: 32px;
        margin-top: 15px;
      }
      .command-area {
        padding: 0;
        max-width: 580px;
        margin: 0 auto;
        width: 100%;
      }
      .command-area::before {
        width: 100%;
        max-width: 480px;
        left: 50%;
        transform: translate(-50%, -50%) rotate(-4deg);
      }
      .command-heading {
        margin-left: 20px;
      }
      .project-list {
        max-width: 100%;
      }
      .preview {
        margin: 0 auto;
        max-width: 580px;
        width: 100%;
        min-height: 420px;
      }
      .project-button:hover,
      .project-button.selected {
        transform: translateX(6px) rotate(-0.5deg);
      }
    }

    @media (max-width: 640px) {
      .archive-stage {
        gap: 24px;
      }
      .preview {
        min-height: 380px;
      }
      .project-button {
        grid-template-columns: 38px 1fr auto;
        gap: 8px;
        padding: 6px 12px 6px 10px;
      }
      .project-number {
        width: 36px;
        height: 32px;
        font-size: 13px;
      }
      .project-copy strong {
        font-size: 14px;
      }
      .project-copy small {
        font-size: 10px;
      }
      .project-tag {
        padding: 3px 8px;
        font-size: 9.5px;
      }
    }

    /* ---------------- RESPONSIVE BREAKPOINTS (VERTICAL COMPACT / SHORT SCREENS) ---------------- */

    @media (max-height: 760px) {
      .reload-layout {
        padding-top: 66px;
        padding-bottom: 8px;
        min-height: auto;
      }
      .intro {
        margin-bottom: 0;
      }
      .intro h1 {
        font-size: clamp(2rem, 3.8vw, 2.9rem);
        margin: 2px 0 4px;
      }
      .intro-note {
        margin: 10px 0 0 5vw;
        padding: 6px 14px;
        font-size: 11px;
      }
      .archive-stage {
        margin-top: 8px;
        margin-bottom: 4px;
        min-height: auto;
      }
      .command-heading {
        margin-bottom: 6px;
      }
      .project-list {
        gap: 3px;
      }
      .project-button {
        min-height: 48px;
        padding: 4px 14px 4px 10px;
      }
      .project-number {
        width: 38px;
        height: 32px;
        font-size: 13px;
      }
      .project-copy strong {
        font-size: 14px;
      }
      .project-copy small {
        font-size: 10px;
        margin-top: 2px;
      }
      .project-tag {
        padding: 2px 8px;
        font-size: 9.5px;
      }
      .preview {
        min-height: 360px;
      }
      .preview-content {
        right: 20%;
      }
      .preview-content h2 {
        font-size: clamp(1.7rem, 6.5vw, 2.3rem);
      }
      .open-project {
        width: 80px;
        height: 80px;
        font-size: 10px;
        right: -2px;
        bottom: 16%;
      }
      .command-stat-bar-wrapper {
        margin-top: 6px;
      }
      .scroll-cue {
        padding-top: 8px;
        margin-bottom: 8px;
      }
      .scroll-cue-btn {
        padding: 6px 16px;
      }
    }

    @media (max-height: 640px) {
      .reload-layout {
        padding-top: 56px;
        padding-bottom: 6px;
      }
      .intro {
        margin-bottom: 6px;
      }
      .intro-kicker {
        font-size: 9.5px;
      }
      .intro h1 {
        font-size: clamp(1.7rem, 3vw, 2.2rem);
        margin: 2px 0 4px;
      }
      .intro-note {
        display: none; /* Hide subtitle note on very short screens so all 6 game buttons remain fully visible in viewport */
      }
      .archive-stage {
        margin-top: 4px;
      }
      .command-heading {
        margin-bottom: 4px;
      }
      .project-button {
        min-height: 42px;
        padding: 3px 12px 3px 8px;
      }
      .preview {
        min-height: 310px;
      }
      .scroll-cue {
        padding-top: 4px;
        margin-bottom: 4px;
      }
    }
