    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
      -webkit-tap-highlight-color: transparent;
    }

    body {
      background:#181a1b;;
      font-family: system-ui, -apple-system, 'Segoe UI', 'Roboto', 'Helvetica Neue', sans-serif;

    }
    /* Mobile-first card container */
    .news-card {
      max-width: 550px;
      width: 100%;
      margin: 0 auto;
      background: rgba(18, 25, 45, 0.75);
      backdrop-filter: blur(2px);
      border-radius: 48px 48px 32px 32px;
      box-shadow: 0 25px 45px -12px rgba(0, 0, 0, 0.5), 0 1px 2px rgba(255, 255, 255, 0.05);
      overflow: hidden;
      border: 1px solid rgba(255, 255, 255, 0.08);
    }

    /* Header with live badge */
    .ticker-header {
      display: flex;
      align-items: baseline;
      justify-content: space-between;
      background: rgba(10, 15, 30, 0.6);
      border-bottom: 1px solid rgba(66, 153, 225, 0.3);
    }

    .title-section {
      display: flex;
      align-items: center;
      gap: 5px;
      flex-wrap: wrap;
    }

    .logo {
      font-weight: 800;
      font-size: 1.5rem;
      background: linear-gradient(135deg, #E0E7FF, #A5B4FC);
      -webkit-background-clip: text;
      background-clip: text;
      color: transparent;
      letter-spacing: -0.3px;
    }

    .live-badge {
      background: #dc2626;
      padding: 4px 10px;
      border-radius: 40px;
      font-size: 0.7rem;
      font-weight: 700;
      color: white;
      letter-spacing: 0.5px;
      text-transform: uppercase;
      box-shadow: 0 0 6px rgba(220, 38, 38, 0.5);
      animation: pulse 1.5s infinite;
    }

    @keyframes pulse {
      0% { opacity: 0.7; }
      50% { opacity: 1; background: #ef4444; box-shadow: 0 0 10px #ef4444; }
      100% { opacity: 0.7; }
    }

    .refresh-indicator {
      font-size: 0.7rem;
      color: #9ca3af;
      background: rgba(0,0,0,0.4);
      padding:2px 5px;
      border-radius: 30px;
      display: flex;
      align-items: center;
      gap: 6px;
    }

    /* VERTICAL SCROLLING TICKER CONTAINER */
    .ticker-viewport {
      position: relative;
      height: 300px;
      overflow-y: hidden;
      background: rgba(0, 0, 0, 0.2);
      border-radius: 28px;

      box-shadow: inset 0 4px 12px rgba(0, 0, 0, 0.3), 0 1px 0 rgba(255,255,255,0.02);
    }

    .ticker-list {
      display: flex;
      flex-direction: column;
      will-change: transform;
      transition: transform 0.08s linear; /* smooth buttery scroll */
    }

    /* Individual news item card */
    .news-item {
      background: #181a1b;;
      backdrop-filter: blur(4px);
      margin: 4px 6px;
      padding: 6px 15px;
      border-radius: 28px;
      border-left: 4px solid #3b82f6;
      box-shadow: 0 6px 12px -8px rgba(0, 0, 0, 0.3);
      transition: all 0.2s ease;
      word-break: break-word;
    }

    .news-item:active {
      transform: scale(0.98);
      background: rgba(30, 45, 75, 0.9);
    }

    .news-title {
      font-size: 1rem;
      font-weight: 600;
      line-height: 1.4;
      color: #feb47b;
      margin-bottom: 8px;
      letter-spacing: -0.2px;
    }

    .news-meta {
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      gap: 12px;
      font-size: 0.7rem;
      color: #9aa9c7;
    }

    .source {
      background: rgba(59,130,246,0.2);
      padding: 2px 12px;
      border-radius: 30px;
      font-weight: 600;color: #9aa9c7;
    }

    .time {
      display: flex;
      align-items: center;
      gap: 4px;
    }

    /* empty & error states */
    .empty-state, .error-state {
      text-align: center;
      padding: 48px 20px;
      color: #94a3b8;
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 12px;
    }

    .retry-btn {
      background: #3b82f6;
      border: none;
      color: white;
      padding: 8px 22px;
      border-radius: 60px;
      font-weight: 600;
      margin-top: 12px;
      cursor: pointer;
    }

    /* footer controls */
    .controls {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 2px 0px 2px 2px;
      gap: 5px;
      flex-wrap: wrap;
      border-top: 1px solid rgba(255,255,255,0.05);
    }

    .scroll-speed {
      display: flex;
      align-items: center;
      gap: 12px;
      background: rgba(0,0,0,0.4);
      padding: 6px 6px;
      border-radius: 60px;
    }

    .scroll-speed label {
      font-size: 0.75rem;
      color: #cbd5e6;
      font-weight: 500;
    }

    select {
      background: #1e293b;
      border: 1px solid #3b82f6;
      color: white;
      border-radius: 40px;
      padding: 6px 2px;
      font-weight: 500;
      font-size: 0.8rem;
    }

    .action-btn {
      background: rgba(37, 99, 235, 0.2);
      border: 1px solid rgba(59,130,246,0.5);
      color: #bbd7fb;
      padding: 6px 8px;
      border-radius: 40px;
      font-weight: 500;
      font-size: 0.75rem;
      cursor: pointer;
      transition: 0.2s;
    }

    .action-btn:active {
      background: #3b82f6;
      color: white;
    }

    /* Mobile touch optimizations */
    @media (max-width: 100%) {
      .ticker-viewport {
        height: 300px;
      }
      .news-item {
        padding: 4px 6px;
      }
      .news-title {
        font-size: 0.9rem;
      }
    }
