    /* ====== CSS Variables ====== */
    :root {
      --sun: #FFD166;
      --coral: #FF6B6B;
      --mint: #06D6A0;
      --sky: #74C0FC;
      --lavender: #C77DFF;
      --peach: #FFAB76;
      --cream: #FFF9F0;
      --white: #FFFFFF;
      --ink: #2D2A3E;
      --soft: #7B7894;
      --card-shadow: 0 8px 32px rgba(45,42,62,0.10);
      --radius: 24px;
      --radius-sm: 12px;
    }

    * { box-sizing: border-box; margin: 0; padding: 0; }

    body {
      font-family: 'Nunito', 'ZCOOL KuaiLe', sans-serif;
      background: var(--cream);
      color: var(--ink);
      overflow-x: hidden;
      min-height: 100vh;
    }

    /* ====== Floating Blobs Background ====== */
    .bg-blobs {
      position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden;
    }
    .blob {
      position: absolute; border-radius: 50%; filter: blur(80px); opacity: 0.18;
      animation: blobFloat 12s ease-in-out infinite alternate;
    }
    .blob1 { width: 420px; height: 420px; background: var(--sun); top: -100px; left: -100px; animation-duration: 13s; }
    .blob2 { width: 300px; height: 300px; background: var(--mint); top: 40%; right: -80px; animation-duration: 11s; animation-delay: -3s; }
    .blob3 { width: 260px; height: 260px; background: var(--lavender); bottom: 10%; left: 20%; animation-duration: 15s; animation-delay: -6s; }
    .blob4 { width: 180px; height: 180px; background: var(--coral); top: 60%; left: 50%; animation-duration: 9s; animation-delay: -2s; }
    @keyframes blobFloat { from { transform: translate(0,0) scale(1); } to { transform: translate(30px,40px) scale(1.08); } }

    /* ====== Top Navigation ====== */
    nav {
      position: fixed; top: 0; left: 0; right: 0; z-index: 100;
      display: flex; align-items: center; justify-content: space-between;
      padding: 0 40px; height: 70px;
      background: rgba(255,249,240,0.85);
      backdrop-filter: blur(16px);
      border-bottom: 2px solid rgba(255,209,102,0.3);
    }
    .nav-logo {
      font-family: 'ZCOOL KuaiLe', cursive;
      font-size: 1.5rem; color: var(--coral);
      display: flex; align-items: center; gap: 8px;
      text-decoration: none;
    }
    .nav-logo span { font-size: 1.7rem; }
    .nav-tabs { display: flex; gap: 6px; }
    .nav-tab {
      padding: 8px 20px; border-radius: 50px; border: none; cursor: pointer;
      font-family: 'ZCOOL KuaiLe', cursive; font-size: 1rem;
      background: transparent; color: var(--soft);
      transition: all 0.25s;
    }
    .nav-tab.active, .nav-tab:hover {
      background: var(--sun); color: var(--ink); font-weight: 700;
      box-shadow: 0 4px 12px rgba(255,209,102,0.4);
    }

    /* ====== Page Sections ====== */
    .page { display: none; min-height: 100vh; padding-top: 80px; position: relative; z-index: 1; }
    .page.active { display: block; }

    /* ====== PAGE 1: KNOWLEDGE ====== */
    .hero {
      text-align: center; padding: 60px 20px 40px;
      position: relative;
    }
    .hero-badge {
      display: inline-block; background: var(--sun); color: var(--ink);
      padding: 6px 18px; border-radius: 50px; font-size: 0.9rem;
      font-weight: 700; margin-bottom: 18px; letter-spacing: 1px;
    }
    .hero h1 {
      font-family: 'ZCOOL KuaiLe', cursive;
      font-size: clamp(2.2rem, 5vw, 3.8rem);
      line-height: 1.2; color: var(--ink);
      margin-bottom: 16px;
    }
    .hero h1 em { color: var(--coral); font-style: normal; }
    .hero p.lead {
      font-size: 1.1rem; color: var(--soft); max-width: 560px;
      margin: 0 auto 36px; line-height: 1.7;
    }
    .floating-icons {
      position: absolute; top: 30px; left: 5%; right: 5%;
      height: 100%; pointer-events: none;
    }
    .fi {
      position: absolute; font-size: 2rem;
      animation: floatY 4s ease-in-out infinite alternate;
      opacity: 0.7;
    }
    .fi:nth-child(1) { left: 2%; top: 10%; animation-delay: 0s; }
    .fi:nth-child(2) { left: 8%; top: 60%; animation-delay: 1s; }
    .fi:nth-child(3) { right: 4%; top: 5%; animation-delay: 0.5s; }
    .fi:nth-child(4) { right: 10%; top: 55%; animation-delay: 1.5s; }
    .fi:nth-child(5) { left: 50%; top: 80%; animation-delay: 2s; }
    @keyframes floatY { from { transform: translateY(0); } to { transform: translateY(-18px); } }

    /* Cards Grid */
    .section-title {
      text-align: center; margin-bottom: 32px;
      font-family: 'ZCOOL KuaiLe', cursive; font-size: 1.8rem;
    }
    .section-title .dot { color: var(--coral); }

    .cards-grid {
      display: grid; gap: 24px;
      grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
      max-width: 1100px; margin: 0 auto; padding: 0 24px 60px;
    }

    .card {
      background: var(--white); border-radius: var(--radius);
      padding: 32px 28px; box-shadow: var(--card-shadow);
      position: relative; overflow: hidden;
      transition: transform 0.3s, box-shadow 0.3s;
      cursor: default;
    }
    .card:hover { transform: translateY(-6px); box-shadow: 0 16px 48px rgba(45,42,62,0.15); }

    .card-stripe {
      position: absolute; top: 0; left: 0; right: 0; height: 6px;
      border-radius: var(--radius) var(--radius) 0 0;
    }
    .stripe-coral { background: var(--coral); }
    .stripe-sky { background: var(--sky); }
    .stripe-mint { background: var(--mint); }
    .stripe-lavender { background: var(--lavender); }
    .stripe-peach { background: var(--peach); }

    .card-icon { font-size: 2.6rem; margin-bottom: 14px; display: block; }
    .card h3 {
      font-family: 'ZCOOL KuaiLe', cursive; font-size: 1.4rem;
      margin-bottom: 12px; color: var(--ink);
    }
    .card p { color: var(--soft); line-height: 1.75; font-size: 0.97rem; }

    /* Tags */
    .tag-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
    .tag {
      padding: 4px 14px; border-radius: 50px; font-size: 0.82rem;
      font-weight: 700; border: 2px solid transparent;
    }
    .tag-red { background: #FFF0F0; color: var(--coral); border-color: #FFCACA; }
    .tag-blue { background: #F0F8FF; color: #3B82F6; border-color: #BFDBFE; }
    .tag-green { background: #F0FFF8; color: #059669; border-color: #A7F3D0; }
    .tag-purple { background: #F5F0FF; color: #7C3AED; border-color: #DDD6FE; }
    .tag-orange { background: #FFF7ED; color: #EA580C; border-color: #FED7AA; }

    /* Big Info Section */
    .info-section {
      max-width: 1100px; margin: 0 auto 60px; padding: 0 24px;
    }
    .info-card-wide {
      background: var(--white); border-radius: var(--radius);
      padding: 40px; box-shadow: var(--card-shadow);
      display: grid; grid-template-columns: 1fr 1fr; gap: 40px;
    }
    @media (max-width: 700px) {
      .info-card-wide { grid-template-columns: 1fr; }
      nav { padding: 0 16px; }
      .nav-tab { padding: 6px 12px; font-size: 0.85rem; }
    }

    .info-col h3 { font-family: 'ZCOOL KuaiLe', cursive; font-size: 1.3rem; margin-bottom: 16px; }
    .symptom-list { list-style: none; }
    .symptom-list li {
      display: flex; align-items: flex-start; gap: 10px;
      padding: 8px 0; border-bottom: 1px dashed #EEE; font-size: 0.95rem; color: var(--soft);
      line-height: 1.5;
    }
    .symptom-list li:last-child { border-bottom: none; }
    .symptom-list li .bullet {
      width: 22px; height: 22px; border-radius: 50%; flex-shrink: 0;
      display: flex; align-items: center; justify-content: center;
      font-size: 0.7rem; margin-top: 2px;
    }
    .bull-red { background: #FFECEC; color: var(--coral); }
    .bull-blue { background: #E0F2FF; color: #0EA5E9; }
    .bull-green { background: #DCFCE7; color: #16A34A; }
    .bull-purple { background: #EDE9FE; color: #7C3AED; }

    /* Timeline */
    .timeline { position: relative; padding-left: 30px; }
    .timeline::before {
      content: ''; position: absolute; left: 8px; top: 0; bottom: 0;
      width: 3px; background: linear-gradient(to bottom, var(--sun), var(--mint));
      border-radius: 99px;
    }
    .tl-item {
      position: relative; margin-bottom: 24px;
    }
    .tl-item::before {
      content: ''; position: absolute; left: -26px; top: 4px;
      width: 14px; height: 14px; border-radius: 50%;
      background: var(--white); border: 3px solid var(--sun);
    }
    .tl-item h4 { font-size: 1rem; font-weight: 700; margin-bottom: 4px; color: var(--ink); }
    .tl-item p { font-size: 0.9rem; color: var(--soft); line-height: 1.6; }

    /* Positive reframe */
    .reframe-box {
      background: linear-gradient(135deg, #FFF3CD 0%, #FFE8E8 100%);
      border-radius: var(--radius); padding: 36px;
      max-width: 1100px; margin: 0 auto 60px; padding: 36px 40px;
      text-align: center; position: relative; overflow: hidden;
    }
    .reframe-box .stars {
      font-size: 1.5rem; margin-bottom: 12px; letter-spacing: 6px;
    }
    .reframe-box h2 {
      font-family: 'ZCOOL KuaiLe', cursive; font-size: 1.7rem;
      color: var(--ink); margin-bottom: 12px;
    }
    .reframe-box p { color: var(--soft); line-height: 1.7; max-width: 600px; margin: 0 auto; }
    .famous-grid {
      display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 24px;
    }
    .famous-chip {
      background: var(--white); border-radius: 50px;
      padding: 8px 20px; font-weight: 700; font-size: 0.9rem;
      color: var(--coral); box-shadow: 0 4px 12px rgba(0,0,0,0.08);
      display: flex; align-items: center; gap: 6px;
    }

    /* ====== PAGE 2: GAMES ====== */
    .games-hero {
      text-align: center; padding: 50px 20px 30px;
    }
    .games-hero h1 {
      font-family: 'ZCOOL KuaiLe', cursive;
      font-size: clamp(1.8rem, 4vw, 3rem); margin-bottom: 12px;
    }
    .games-hero p { color: var(--soft); max-width: 500px; margin: 0 auto; line-height: 1.7; }

    .games-grid {
      display: grid; gap: 28px;
      grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
      max-width: 1100px; margin: 0 auto; padding: 0 24px 80px;
    }
    .game-card {
      background: var(--white); border-radius: var(--radius);
      box-shadow: var(--card-shadow); overflow: hidden;
      transition: transform 0.3s;
    }
    .game-card:hover { transform: translateY(-4px); }
    .game-header {
      padding: 24px 28px 16px;
      display: flex; align-items: center; gap: 16px;
    }
    .game-icon-box {
      width: 56px; height: 56px; border-radius: 16px;
      display: flex; align-items: center; justify-content: center; font-size: 1.8rem;
      flex-shrink: 0;
    }
    .g-yellow { background: #FFF3CD; }
    .g-blue { background: #DBEAFE; }
    .g-green { background: #DCFCE7; }
    .g-pink { background: #FCE7F3; }
    .g-purple { background: #EDE9FE; }

    .game-meta h3 { font-family: 'ZCOOL KuaiLe', cursive; font-size: 1.2rem; }
    .game-meta .age-badge {
      font-size: 0.78rem; font-weight: 700;
      background: var(--sun); color: var(--ink);
      padding: 2px 10px; border-radius: 50px; margin-top: 4px; display: inline-block;
    }
    .game-body { padding: 0 28px 24px; }
    .game-body p { color: var(--soft); font-size: 0.95rem; line-height: 1.7; margin-bottom: 16px; }
    .game-skills { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 18px; }
    .game-skill {
      font-size: 0.78rem; font-weight: 700; padding: 3px 10px;
      border-radius: 50px; background: var(--cream); color: var(--soft);
      border: 1.5px solid #E5E0D8;
    }

    /* Play Button */
    .play-btn {
      width: 100%; padding: 12px; border-radius: 12px; border: none;
      font-family: 'ZCOOL KuaiLe', cursive; font-size: 1.05rem;
      cursor: pointer; transition: all 0.25s;
      font-weight: 700;
    }
    .btn-yellow { background: var(--sun); color: var(--ink); }
    .btn-blue { background: var(--sky); color: var(--white); }
    .btn-green { background: var(--mint); color: var(--white); }
    .btn-pink { background: #F472B6; color: var(--white); }
    .btn-purple { background: var(--lavender); color: var(--white); }
    .play-btn:hover { filter: brightness(1.08); transform: translateY(-2px); box-shadow: 0 6px 18px rgba(0,0,0,0.15); }

    /* ====== GAME MODALS ====== */
    .modal-overlay {
      display: none; position: fixed; inset: 0; z-index: 200;
      background: rgba(45,42,62,0.55); backdrop-filter: blur(6px);
      align-items: center; justify-content: center;
    }
    .modal-overlay.open { display: flex; }
    .modal {
      background: var(--white); border-radius: var(--radius);
      max-width: 700px; width: 95vw; max-height: 90vh;
      overflow-y: auto; padding: 36px; position: relative;
      box-shadow: 0 20px 60px rgba(45,42,62,0.25);
      animation: modalIn 0.35s cubic-bezier(.34,1.56,.64,1);
    }
    @keyframes modalIn { from { opacity:0; transform: scale(0.88) translateY(20px); } to { opacity:1; transform: scale(1) translateY(0); } }
    .modal-close {
      position: absolute; top: 16px; right: 16px;
      width: 36px; height: 36px; border-radius: 50%; border: none;
      background: var(--cream); cursor: pointer; font-size: 1.1rem;
      display: flex; align-items: center; justify-content: center;
      transition: background 0.2s;
    }
    .modal-close:hover { background: #FFE4E4; color: var(--coral); }
    .modal h2 { font-family: 'ZCOOL KuaiLe', cursive; font-size: 1.6rem; margin-bottom: 8px; }
    .modal .subtitle { color: var(--soft); margin-bottom: 24px; font-size: 0.95rem; }

    /* === GAME 1: Shape Drawing === */
    #canvas-wrap { position: relative; }
    #drawCanvas {
      border: 3px dashed var(--sun); border-radius: 16px;
      cursor: crosshair; touch-action: none;
      background: #FFFDF7;
      display: block; width: 100%;
    }
    .canvas-controls {
      display: flex; gap: 10px; flex-wrap: wrap; margin-top: 14px; align-items: center;
    }
    .color-btn {
      width: 32px; height: 32px; border-radius: 50%; border: 3px solid transparent;
      cursor: pointer; transition: transform 0.2s;
    }
    .color-btn:hover, .color-btn.selected { transform: scale(1.25); border-color: var(--ink); }
    .brush-slider { flex: 1; min-width: 80px; accent-color: var(--coral); }
    .ctrl-btn {
      padding: 8px 18px; border-radius: 8px; border: none; cursor: pointer;
      font-family: 'ZCOOL KuaiLe', cursive; font-size: 0.95rem;
      background: var(--cream); color: var(--ink);
      transition: background 0.2s;
    }
    .ctrl-btn:hover { background: var(--sun); }
    .shape-choices { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 16px; }
    .shape-chip {
      padding: 8px 18px; border-radius: 50px; border: 2px solid #E5E0D8;
      cursor: pointer; background: var(--cream); font-size: 0.95rem;
      font-weight: 700; transition: all 0.2s;
    }
    .shape-chip:hover, .shape-chip.active {
      background: var(--sun); border-color: var(--sun); color: var(--ink);
    }
    .shape-prompt { font-size: 1rem; color: var(--soft); margin-bottom: 12px; font-style: italic; }

    /* === GAME 2: Memory Match === */
    #memory-board {
      display: grid; grid-template-columns: repeat(4, 1fr);
      gap: 10px; margin: 16px 0;
    }
    .mem-card {
      aspect-ratio: 1; border-radius: 12px; border: none;
      font-size: 2rem; cursor: pointer;
      background: linear-gradient(135deg, var(--sky), var(--lavender));
      color: transparent; text-shadow: none;
      transition: all 0.35s;
      display: flex; align-items: center; justify-content: center;
      box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    }
    .mem-card.flipped {
      background: var(--white); color: var(--ink);
      text-shadow: none; transform: rotateY(10deg) scale(1.05);
      border: 2px solid var(--sun);
    }
    .mem-card.matched {
      background: #DCFCE7; color: var(--ink);
      border: 2px solid var(--mint); cursor: default;
    }
    .mem-card.shake { animation: shake 0.4s; }
    @keyframes shake { 0%,100%{transform:translateX(0)} 25%{transform:translateX(-8px)} 75%{transform:translateX(8px)} }
    .mem-stats { display: flex; gap: 20px; margin-bottom: 12px; }
    .mem-stat { background: var(--cream); border-radius: 10px; padding: 8px 16px; text-align: center; }
    .mem-stat .val { font-size: 1.4rem; font-weight: 800; color: var(--coral); }
    .mem-stat .lbl { font-size: 0.78rem; color: var(--soft); }

    /* === GAME 3: Color Sort === */
    #sort-area { display: flex; flex-direction: column; gap: 16px; }
    .sort-palette {
      display: flex; gap: 10px; flex-wrap: wrap; justify-content: center;
      background: var(--cream); padding: 16px; border-radius: 16px;
    }
    .sort-item {
      width: 52px; height: 52px; border-radius: 12px;
      cursor: grab; display: flex; align-items: center; justify-content: center;
      font-size: 1.4rem; box-shadow: 0 4px 10px rgba(0,0,0,0.12);
      transition: transform 0.2s; user-select: none;
    }
    .sort-item:hover { transform: scale(1.15); }
    .sort-item.dragging { opacity: 0.5; transform: scale(1.2); }
    .sort-buckets { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
    .sort-bucket {
      min-width: 80px; min-height: 80px; border-radius: 16px;
      border: 3px dashed #CCC; display: flex; flex-direction: column;
      align-items: center; justify-content: center; padding: 10px;
      gap: 4px; transition: border-color 0.2s, background 0.2s;
      font-size: 0.85rem; font-weight: 700; color: var(--soft);
    }
    .sort-bucket.drag-over { border-color: var(--mint); background: #F0FFF8; }
    .sort-bucket.correct { border-color: var(--mint); background: #DCFCE7; }

    /* === GAME 4: Sequence === */
    #sequence-board {
      display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px;
      margin: 20px 0;
    }
    .seq-btn {
      aspect-ratio: 1; border-radius: 16px; border: none; font-size: 1.8rem;
      cursor: pointer; transition: all 0.2s;
      box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    }
    .seq-btn:hover { transform: scale(1.08); }
    .seq-btn.lit { transform: scale(1.12); filter: brightness(1.3) saturate(1.4); box-shadow: 0 0 20px 4px rgba(255,209,102,0.5); }
    .seq-info { text-align: center; color: var(--soft); margin-bottom: 12px; font-size: 0.95rem; }
    .seq-display {
      text-align: center; font-family: 'ZCOOL KuaiLe', cursive;
      font-size: 1.2rem; margin-bottom: 16px; color: var(--ink);
      background: var(--cream); padding: 10px; border-radius: 12px;
    }

    /* === GAME 5: Balloon Pop === */
    #balloon-arena {
      position: relative; width: 100%; height: 360px;
      background: linear-gradient(180deg, #E0F2FF 0%, #B3E5FC 100%);
      border-radius: 20px; overflow: hidden; cursor: crosshair;
    }
    .balloon {
      position: absolute; bottom: -80px; border-radius: 50%;
      display: flex; align-items: center; justify-content: center;
      font-size: 1.6rem; font-weight: 800; color: var(--white);
      cursor: pointer; user-select: none;
      transition: transform 0.1s;
      text-shadow: 0 2px 4px rgba(0,0,0,0.3);
      box-shadow: inset -6px -8px 16px rgba(0,0,0,0.15), inset 4px 4px 10px rgba(255,255,255,0.4);
    }
    .balloon:hover { transform: scale(1.1); }
    .balloon.pop { animation: popAnim 0.3s forwards; }
    @keyframes popAnim { 0%{transform:scale(1)} 50%{transform:scale(1.4); opacity:0.5} 100%{transform:scale(0); opacity:0;} }
    .balloon-score {
      position: absolute; top: 12px; right: 16px;
      background: rgba(255,255,255,0.8); backdrop-filter: blur(6px);
      border-radius: 12px; padding: 6px 16px;
      font-weight: 800; font-size: 1.1rem; color: var(--ink);
    }
    .balloon-timer {
      position: absolute; top: 12px; left: 16px;
      background: rgba(255,255,255,0.8); backdrop-filter: blur(6px);
      border-radius: 12px; padding: 6px 16px;
      font-weight: 800; font-size: 1.1rem; color: var(--coral);
    }
    .balloon-target {
      position: absolute; top: 12px; left: 50%; transform: translateX(-50%);
      background: rgba(255,255,255,0.8); backdrop-filter: blur(6px);
      border-radius: 12px; padding: 6px 16px;
      font-weight: 800; font-size: 1rem; color: var(--ink);
      white-space: nowrap;
    }
    .cloud {
      position: absolute; background: rgba(255,255,255,0.7);
      border-radius: 50px; pointer-events: none;
    }
    .game-over-overlay {
      display: none; position: absolute; inset: 0; background: rgba(255,249,240,0.9);
      border-radius: 20px; flex-direction: column; align-items: center; justify-content: center;
      text-align: center;
    }
    .game-over-overlay.show { display: flex; }
    .game-over-overlay h3 { font-family: 'ZCOOL KuaiLe', cursive; font-size: 2rem; margin-bottom: 8px; }
    .restart-btn {
      margin-top: 16px; padding: 10px 28px; border-radius: 50px; border: none;
      background: var(--sun); color: var(--ink); font-family: 'ZCOOL KuaiLe', cursive;
      font-size: 1.1rem; cursor: pointer; font-weight: 700;
      box-shadow: 0 4px 12px rgba(255,209,102,0.4);
    }
    .restart-btn:hover { background: var(--coral); color: var(--white); }

    /* ====== PAGE 3: AUDIO ====== */
    .audio-page { padding: 60px 24px 80px; max-width: 800px; margin: 0 auto; }
    .audio-hero { text-align: center; margin-bottom: 40px; }
    .audio-hero h1 { font-family: 'ZCOOL KuaiLe', cursive; font-size: clamp(1.8rem, 4vw, 2.8rem); margin-bottom: 12px; }
    .audio-hero p { color: var(--soft); line-height: 1.7; }

    /* Upload Zone */
    .upload-zone {
      border: 3px dashed var(--sky); border-radius: var(--radius);
      padding: 50px 20px; text-align: center; cursor: pointer;
      background: var(--white); transition: all 0.3s; margin-bottom: 32px;
      position: relative;
    }
    .upload-zone:hover, .upload-zone.drag-over {
      border-color: var(--coral); background: #FFF5F5;
    }
    .upload-zone input[type=file] {
      position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; height: 100%;
    }
    .upload-icon { font-size: 3rem; margin-bottom: 12px; }
    .upload-zone h3 { font-family: 'ZCOOL KuaiLe', cursive; font-size: 1.3rem; margin-bottom: 6px; }
    .upload-zone p { color: var(--soft); font-size: 0.9rem; }
    .upload-formats {
      display: flex; gap: 8px; justify-content: center; margin-top: 14px;
    }
    .fmt-badge {
      background: var(--cream); border: 1.5px solid #E5E0D8;
      padding: 3px 12px; border-radius: 50px; font-size: 0.78rem;
      font-weight: 700; color: var(--soft);
    }

    /* Track List */
    .track-list { display: flex; flex-direction: column; gap: 14px; }
    .track-item {
      background: var(--white); border-radius: 18px;
      box-shadow: var(--card-shadow); overflow: hidden;
      transition: transform 0.2s;
    }
    .track-item:hover { transform: translateY(-2px); }
    .track-main {
      display: flex; align-items: center; gap: 16px; padding: 18px 22px;
    }
    .track-play-btn {
      width: 48px; height: 48px; border-radius: 50%; border: none;
      display: flex; align-items: center; justify-content: center;
      cursor: pointer; flex-shrink: 0; font-size: 1.1rem;
      transition: all 0.25s;
    }
    .track-play-btn:hover { transform: scale(1.1); box-shadow: 0 6px 16px rgba(0,0,0,0.15); }
    .track-info { flex: 1; min-width: 0; }
    .track-name {
      font-weight: 700; font-size: 1rem; white-space: nowrap;
      overflow: hidden; text-overflow: ellipsis; margin-bottom: 2px;
    }
    .track-meta { font-size: 0.82rem; color: var(--soft); }
    .track-delete {
      width: 34px; height: 34px; border-radius: 50%; border: none;
      background: #FFF0F0; color: var(--coral); cursor: pointer;
      display: flex; align-items: center; justify-content: center;
      transition: background 0.2s; flex-shrink: 0;
    }
    .track-delete:hover { background: var(--coral); color: var(--white); }

    /* Progress & Controls */
    .track-progress {
      padding: 0 22px 18px;
      display: none;
    }
    .track-item.playing .track-progress { display: block; }
    .progress-bar-wrap {
      height: 6px; background: #EEE; border-radius: 99px; cursor: pointer; position: relative;
    }
    .progress-bar-fill { height: 100%; border-radius: 99px; background: linear-gradient(to right, var(--sky), var(--lavender)); transition: width 0.1s linear; }
    .time-row { display: flex; justify-content: space-between; font-size: 0.8rem; color: var(--soft); margin-top: 6px; }
    .volume-row { display: flex; align-items: center; gap: 8px; margin-top: 10px; font-size: 1rem; }
    .volume-row input { flex: 1; accent-color: var(--coral); }

    .track-item.playing .track-play-btn { background: var(--coral); color: var(--white); }

    /* Waveform animation */
    .waveform {
      display: flex; gap: 3px; align-items: center; height: 24px;
      margin-left: auto; margin-right: 12px;
    }
    .wave-bar {
      width: 3px; background: var(--mint); border-radius: 2px;
      animation: wave 0.8s ease-in-out infinite alternate;
    }
    .wave-bar:nth-child(2) { animation-delay: 0.15s; }
    .wave-bar:nth-child(3) { animation-delay: 0.3s; }
    .wave-bar:nth-child(4) { animation-delay: 0.45s; }
    .track-item:not(.playing) .waveform { display: none; }
    @keyframes wave { from { height: 6px; } to { height: 22px; } }

    .empty-state {
      text-align: center; color: var(--soft); padding: 40px 0;
      font-family: 'ZCOOL KuaiLe', cursive; font-size: 1.1rem;
    }
    .empty-state .big-emoji { font-size: 3rem; margin-bottom: 8px; }

    /* Global Colors for tracks */
    .color-a { background: linear-gradient(135deg, var(--sun), var(--peach)); color: var(--ink); }
    .color-b { background: linear-gradient(135deg, var(--sky), var(--lavender)); color: var(--white); }
    .color-c { background: linear-gradient(135deg, var(--mint), var(--sky)); color: var(--white); }
    .color-d { background: linear-gradient(135deg, var(--coral), var(--peach)); color: var(--white); }
    .color-e { background: linear-gradient(135deg, var(--lavender), var(--coral)); color: var(--white); }

    /* Notification toast */
    .toast {
      position: fixed; bottom: 30px; left: 50%; transform: translateX(-50%) translateY(100px);
      background: var(--ink); color: var(--white); padding: 12px 24px;
      border-radius: 50px; z-index: 999; font-size: 0.95rem; font-weight: 600;
      transition: transform 0.3s; pointer-events: none;
    }
    .toast.show { transform: translateX(-50%) translateY(0); }

    /* Scrollbar */
    ::-webkit-scrollbar { width: 6px; }
    ::-webkit-scrollbar-track { background: transparent; }
    ::-webkit-scrollbar-thumb { background: #DDD; border-radius: 99px; }

    /* Responsive tweaks */
    @media (max-width: 600px) {
      .cards-grid, .games-grid { grid-template-columns: 1fr; }
      #memory-board { grid-template-columns: repeat(4, 1fr); gap: 6px; }
      .mem-card { font-size: 1.4rem; }
      #sequence-board { grid-template-columns: repeat(4, 1fr); gap: 8px; }
      .seq-btn { font-size: 1.3rem; }
    }
