    /* =========================================================================
       SHARED ARCADE & GAME STYLES
       ========================================================================= */
    :root {
      --font-kids: 'Fredoka', ui-rounded, 'Hiragino Maru Gothic ProN', Quicksand, system-ui, -apple-system, sans-serif;
    }

    * {
      box-sizing: border-box;
      -webkit-tap-highlight-color: transparent;
      user-select: none;
      -webkit-user-select: none;
    }

    html, body {
      margin: 0;
      padding: 0;
      width: 100%;
      height: 100dvh;
      overflow: hidden;
      font-family: var(--font-kids);
      background: radial-gradient(circle at 50% 15%, #1e1b4b 0%, #0f172a 60%, #020617 100%);
      color: #ffffff;
      touch-action: manipulation;
    }

    /* Tactile 3D Cartoon Button Press Effect */
    .btn-3d {
      transition: transform 0.12s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.12s ease, opacity 0.15s ease;
    }
    .btn-3d:active:not(:disabled) {
      transform: translateY(4px) scale(0.96);
    }
    .btn-3d:disabled {
      opacity: 0.45;
      cursor: not-allowed;
    }

    @keyframes floatBob {
      0%, 100% { transform: translateY(0px); }
      50% { transform: translateY(-7px); }
    }

    @keyframes pulseScale {
      0%, 100% { transform: scale(1); }
      50% { transform: scale(1.05); }
    }

    .anim-bob {
      animation: floatBob 2.6s ease-in-out infinite;
    }

    .anim-pulse {
      animation: pulseScale 1.9s ease-in-out infinite;
    }

    /* Custom Scrollbar for Modals & Sequence Tray */
    .kids-scroll::-webkit-scrollbar {
      width: 7px;
      height: 7px;
    }
    .kids-scroll::-webkit-scrollbar-track {
      background: rgba(15, 23, 42, 0.35);
      border-radius: 9999px;
    }
    .kids-scroll::-webkit-scrollbar-thumb {
      background: rgba(129, 140, 248, 0.6);
      border-radius: 9999px;
    }

    /* =========================================================================
       ROCKET WORD BUILDER SPECIFIC STYLES
       ========================================================================= */
    .rw-letter-tile {
      font-family: var(--font-kids);
      background: linear-gradient(180deg, #ffffff 0%, #eef4ff 100%);
      color: #1e1b4b;
      border: 3px solid #c7d2fe;
      box-shadow: 0 7px 0 #6366f1, 0 12px 20px rgba(0, 0, 0, 0.35);
      transition: transform 0.15s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.15s ease;
      cursor: grab;
      touch-action: none;
    }
    .rw-letter-tile:hover {
      transform: translateY(-3px) scale(1.04);
    }
    .rw-letter-tile.is-dragging-source {
      opacity: 0.25;
      transform: scale(0.9);
    }
    .rw-drag-clone {
      position: fixed;
      z-index: 9999;
      pointer-events: none;
      transform: translate(-50%, -50%) scale(1.16) rotate(-4deg);
      box-shadow: 0 14px 28px rgba(0, 0, 0, 0.45), 0 0 24px rgba(250, 204, 21, 0.75);
      border-color: #facc15;
    }
    .rw-word-slot {
      transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1), border-color 0.2s ease, background-color 0.2s ease;
    }
    .rw-slot-blank {
      background: rgba(30, 27, 75, 0.68);
      border: 4px dashed #38bdf8;
      box-shadow: inset 0 4px 12px rgba(0, 0, 0, 0.45), 0 0 16px rgba(56, 189, 248, 0.25);
    }
    .rw-slot-blank.slot-hover {
      transform: scale(1.12);
      border-style: solid;
      border-color: #facc15;
      background: rgba(250, 204, 21, 0.22);
      box-shadow: 0 0 28px rgba(250, 204, 21, 0.8);
    }
    .rw-slot-hint {
      background: linear-gradient(180deg, #3b82f6 0%, #1d4ed8 100%);
      border: 3px solid #93c5fd;
      color: #ffffff;
      box-shadow: 0 6px 0 #1e3a8a;
    }
    .rw-slot-solved {
      background: linear-gradient(180deg, #34d399 0%, #059669 100%);
      border: 3px solid #a7f3d0;
      color: #ffffff;
      box-shadow: 0 6px 0 #065f46, 0 0 22px rgba(52, 211, 153, 0.65);
      animation: rwPopIn 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
    }
    .rw-slot-wrong {
      border-color: #fb7185 !important;
      background: rgba(244, 63, 94, 0.35) !important;
      animation: rwShake 0.42s ease-in-out;
    }
    @keyframes rwPopIn {
      0% { transform: scale(0.65); }
      70% { transform: scale(1.14); }
      100% { transform: scale(1); }
    }
    @keyframes rwShake {
      0%, 100% { transform: translateX(0); }
      25% { transform: translateX(-8px) rotate(-3deg); }
      50% { transform: translateX(8px) rotate(3deg); }
      75% { transform: translateX(-5px); }
    }
    .rw-rocket-rumble {
      animation: rwRocketShake 0.1s linear infinite;
    }
    .rw-rocket-blastoff {
      animation: rwBlastOff 1.4s cubic-bezier(0.55, 0.055, 0.675, 0.19) forwards;
    }
    @keyframes rwRocketShake {
      0% { transform: translate(-2px, 1px) rotate(-1deg); }
      50% { transform: translate(2px, -1px) rotate(1deg); }
      100% { transform: translate(-1px, -2px) rotate(0deg); }
    }
    @keyframes rwBlastOff {
      0% { transform: translateY(0) scale(1); }
      18% { transform: translateY(12px) scale(1.04, 0.95); }
      100% { transform: translateY(-120vh) scale(0.85); }
    }
    .rw-flame-flicker {
      transform-origin: center top;
      animation: rwFlamePulse 0.14s infinite alternate;
    }
    @keyframes rwFlamePulse {
      0% { transform: scaleY(0.88) scaleX(0.95); }
      100% { transform: scaleY(1.18) scaleX(1.06); }
    }
    .rw-emoji-bounce {
      animation: rwEmojiPop 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    }
    @keyframes rwEmojiPop {
      0% { transform: scale(1); }
      40% { transform: scale(1.24) rotate(-6deg); }
      75% { transform: scale(0.95) rotate(4deg); }
      100% { transform: scale(1) rotate(0deg); }
    }

    /* =========================================================================
       HUNGRY DINO MATH SIGN ANIMATIONS
       ========================================================================= */
    .dm-sign-pop {
      animation: dmSignPop 0.42s cubic-bezier(0.34, 1.56, 0.64, 1);
    }
    .dm-sign-shake {
      animation: rwShake 0.4s ease-in-out;
    }
    @keyframes dmSignPop {
      0% { transform: scale(0.75) rotate(-4deg); }
      65% { transform: scale(1.1) rotate(2deg); }
      100% { transform: scale(1) rotate(0deg); }
    }

    /* =========================================================================
       ROBO-PATH CODING MAZE SEQUENCE CHIPS
       ========================================================================= */
    .rp-seq-chip {
      animation: rwPopIn 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
      transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
    }
    .rp-seq-chip.is-executing {
      transform: scale(1.18) translateY(-4px);
      border-color: #facc15 !important;
      box-shadow: 0 0 22px rgba(250, 204, 21, 0.95), 0 6px 0 #854d0e !important;
      z-index: 20;
    }
