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

    body {
      font-family: 'poppins', sans-serif;
      line-height: 1.5;
      overflow-x: hidden;
      background-color: #f3f4f6;
    }

    .header-inner,
    .card-grid,
    .bottom-section>* {
      width: 100%;
      max-width: 1200px;
      margin: 0 auto;
    }

    header {
      background: #000;
      color: #f8fafc;
      padding: 1rem;
    }

    .header-inner {
      display: grid !important;
      grid-template-columns: auto 1fr auto !important;
      align-items: center !important;
      justify-content: center !important;
      text-align: center !important;
    }

    .mobile-row-1 {
      display: contents !important;
    }

    .header-logo {
      justify-self: start !important;
    }

    .header-title {
      justify-self: start !important;
    }

    .meta {
      justify-self: end !important;
    }

    .header-logo {
      height: 42px;
      width: auto;
    }

    @media (max-width: 768px) {
      .header-inner {
        display: flex !important;

        align-items: center !important;
        text-align: center !important;
        gap: 10px !important;
      }

      .mobile-row-1 {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 8px !important;
      }

      .header-logo {
        height: 38px !important;
      }

      .header-title {
        font-size: 17px !important;
        margin: 0 !important;
        padding: 0 !important;
      }

      .meta {
        width: 100% !important;
        display: flex !important;
        justify-content: center !important;
        gap: 10px !important;
      }
    }

    @media (max-width: 600px) {
      .chip {}
    }

    @media (min-width: 1025px) {
      .chip {
        padding: 10px 18px !important;
      }

      .bottom-section {
        padding-bottom: 20px !important;
      }
    }

    @media (max-width: 768px) {
      .header-inner {
        text-align: center;
        justify-content: center;
      }
    }

    header h1 {
      display: flex;
      align-items: center;
      gap: 6px;
      font-weight: 600;
      color: rgb(255, 255, 255);
      font-size: clamp(17px, 3.5vw, 24px);
      white-space: nowrap;
    }

    .meta {
      display: flex;
      gap: 0.5rem;
      align-items: center;
    }

    .badge {
      padding: 6px 12px;
      border-radius: 15px;
      font-weight: 600;
      background: #1C1C1E;
      border: 1px solid rgb(255 255 255 / 8%);
      backdrop-filter: blur(10px);
      color: #ffffff68;
      white-space: nowrap;
      font-size: clamp(14px, 2.5vw, 16px);
    }

    .btn {
      padding: 6px 12px;
      border-radius: 15px;
      font-weight: 600;
      color: rgb(0, 0, 0);
      background: #ffffff;
      border: 1px solid rgb(255 255 255 / 8%);
      backdrop-filter: blur(10px);
      cursor: pointer;
      white-space: nowrap;
      font-size: clamp(14px, 2.5vw, 16px);
      transition: all 0.2s;
      font-family: 'poppins', sans-serif;
    }

    .btn:hover {
      opacity: 0.9;
      transform: scale(1.03);
    }

    /* Active translate button style */
    .btn.toggle.active {
      background: #005fcc;
      border-color: rgba(139, 92, 246, 0.5);
      color: #ffffff;
    }

    .top-section {
      background: #000;
      padding: 1.25rem 0.75rem;
    }

    .card-grid {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 0.75rem;
      max-width: 68.75rem;
      margin: auto;
    }

    @media (min-width: 640px) {
      .card-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.875rem;
      }
    }

    @media (min-width: 1024px) {
      .card-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 1rem;
      }
    }

    @media (min-width: 1440px) and (max-width: 1919px) {
      .card-grid {
        grid-template-columns: repeat(5, 1fr) !important;
      }
    }

    .card {
      background: #0f172a;
      border-radius: 1rem;
      padding: 0.875rem;
      text-align: center;
      box-shadow: 0 6px 18px rgba(0, 0, 0, 0.5);
      min-height: 12.5rem;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      gap: 0.625rem;
      border: 3px solid transparent;
      transition: border 0.18s, box-shadow 0.18s, transform 0.18s;
    }

    @media (max-width: 640px) {
      .card {
        min-height: 6.5rem;
        padding: 0.5rem;
        gap: 0.4rem;
      }
    }

    @media (min-width: 641px) and (max-width: 1024px) {
      .card {
        min-height: 8.5rem;
        padding: 0.65rem;
        gap: 0.5rem;
      }
    }

    .card.ok {
      border-color: #10b981 !important;
      box-shadow:
        0 0 0.5rem #10b981,
        0 0 1rem rgba(16, 185, 129, 0.48),
        0 0 0 4px rgba(16, 185, 129, 0.15) inset;
    }

    .card.err {
      border-color: #ef4444 !important;
      box-shadow:
        0 0 0.6rem #ef4444,
        0 0 1.2rem rgba(239, 68, 68, 0.6),
        0 0 0 4px rgba(239, 68, 68, 0.25) inset;
      animation: shake 0.25s ease-in-out 2;
      transition: box-shadow 0.3s ease-in-out;
    }

    .card:hover {
      transform: translateY(-2px) scale(1.02);
    }

    .emoji {
      font-size: clamp(2.25rem, 8vw, 4rem);
    }

    .ename {
      font-size: clamp(0.875rem, 3.5vw, 20px);
      font-weight: 700;
      color: #fff;
    }

    .imgbox {
      width: 100%;
      aspect-ratio: 1 / 1;
      border-radius: 0.75rem;
      background: #0b1222;
      display: flex;
      align-items: center;
      justify-content: center;
      overflow: hidden;
      border: 3px solid rgba(148, 163, 184, 0.25);
    }

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

    @keyframes shake {
      0% {
        transform: translateX(0);
      }

      25% {
        transform: translateX(-4px);
      }

      50% {
        transform: translateX(4px);
      }

      75% {
        transform: translateX(-4px);
      }

      100% {
        transform: translateX(0);
      }
    }

    .bank {
      margin-top: 0.75rem;
      display: flex;
      flex-wrap: wrap;
      gap: 0.5rem;
      justify-content: center;
    }

    .chip {
      background: #fff;
      border: 2px solid #cbd5e1;
      border-radius: 999px;
      padding: 0.625rem 0.75rem;
      cursor: grab;
      font-weight: 600;
      font-size: clamp(18px, 3vw, 20px);
      font-family: "Noto Sans Tamil", sans-serif;
      will-change: transform;
      transition: all 0.12s ease;
      touch-action: pan-y;
      user-select: none;
      -webkit-user-drag: none;
      position: relative;
    }

    .chip.dragging {
      position: fixed;
      cursor: grabbing;
      box-shadow: 0 16px 28px rgba(0, 0, 0, 0.35);
      z-index: 9999;
      pointer-events: none;
      will-change: transform;
      touch-action: none;
    }

    .chip.locked {
      opacity: 0.5;
      pointer-events: none;
      transform: scale(1);
      transition: opacity 0.3s ease;
    }

    .bottom-section {
      position: sticky;
      bottom: 0;
      left: 0;
      right: 0;
      background: #f3f4f6;
      box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.1);
      z-index: 5;
      padding-bottom: 5px;
      padding: 1.125rem 0.75rem 0rem;
      text-align: center;
    }

    .bank {
      justify-content: center;
      overflow-x: auto;
      white-space: nowrap;
      padding-bottom: 0.5rem;
      scroll-behavior: smooth;
    }

    .bank::-webkit-scrollbar {
      display: none;
    }

    .chip,
    .chip:focus,
    .chip:active {
      outline: none !important;
      -webkit-tap-highlight-color: transparent;
      user-select: none;
      touch-action: none;
    }

    .chip.hidden {
      display: none !important;
    }

    .popup {
      position: fixed;
      inset: 0;
      background: rgba(10, 10, 30, 0.9);
      backdrop-filter: blur(8px);
      display: flex;
      align-items: center;
      justify-content: center;
      z-index: 100;
      visibility: hidden;
      opacity: 0;
      transition: opacity 0.3s;
    }

    .popup.show {
      visibility: visible;
      opacity: 1;
    }

    .popup-box {
      padding: clamp(20px, 4vh, 30px);
      background: #000000bf;
      backdrop-filter: blur(50px);
      border: 1px solid rgb(198 198 200 / 40%);
      box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
      border-radius: 20px;
      text-align: center;
      max-width: 90vw;
      color: white;
    }

    .popup-box h2 {
      font-size: clamp(24px, 5vw, 36px);
      margin-bottom: 10px;
    }

    .popup-box p {
      font-size: clamp(14px, 3vw, 18px);
      margin-bottom: 16px;
    }


    .btn-icon {
      width: 30px;
      height: 30px;
      object-fit: contain;
    }

    .home-btn {
      background: #005fcc;
      border-color: rgba(139, 92, 246, 0.5);
      color: #ffffff;
    }

    .action-btn {
      display: flex;
      align-items: center;
      gap: 8px;
      padding: 12px 24px;
      font-size: clamp(14px, 3vw, 16px);
      border: none;
      border-radius: 10px;
      cursor: pointer;
      transition: all 0.3s ease;
      font-weight: 500;
    }

    .button-group {
      display: flex;
      gap: 12px;
      justify-content: center;
      flex-wrap: wrap;
    }

    .confetti {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      pointer-events: none;
      overflow: hidden;
      z-index: 99;
    }

    .confetti-piece {
      position: absolute;
      width: 8px;
      height: 14px;
      opacity: 0.9;
    }

    @keyframes fall {
      to {
        transform: translateY(100vh) rotate(360deg);
        opacity: 0;
      }
    }

    .score-num {
      color: #ffffff;
      font-weight: 700;
      padding-right: 5px;
    }

    .translate-btn {
      padding: 6px 12px;
      border-radius: 15px;
      font-weight: 600;
      background: #1C1C1E;
      border: 1px solid rgb(255 255 255 / 8%);
      backdrop-filter: blur(10px);
      color: #ffffffc7;
      white-space: nowrap;
      font-size: clamp(15px, 2.5vw, 16px);
      cursor: pointer;
      transition: all 0.2s;
      font-family: 'poppins', sans-serif;
    }
