    *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

    :root {
      --bg: #0f0f1a;
      --surface: #1a1a2e;
      --surface2: #16213e;
      --border: rgba(255,255,255,0.08);
      --text: #f0f0f5;
      --muted: #8888aa;
      --accent: #e040fb;
      --radius: 14px;
    }

    body {
      font-family: 'Nunito', sans-serif;
      background: var(--bg);
      color: var(--text);
      min-height: 100vh;
      padding: 2rem 1rem 4rem;
    }

    header { text-align: center; margin-bottom: 2.5rem; }

    header h1 {
      font-size: clamp(1.8rem, 5vw, 2.8rem);
      font-weight: 800;
      letter-spacing: -0.5px;
      background: linear-gradient(135deg, #e040fb, #7c4dff, #40c4ff);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
    }

    header p { color: var(--muted); font-size: 0.95rem; margin-top: 6px; }

    .pokeball-deco {
      width: 48px; height: 48px;
      margin: 0 auto 1rem;
      border-radius: 50%;
      background: linear-gradient(180deg, #e53935 50%, #fff 50%);
      border: 3px solid #fff;
      position: relative;
      box-shadow: 0 0 20px rgba(229,57,53,0.5);
    }
    .pokeball-deco::after {
      content: '';
      position: absolute;
      top: 50%; left: 50%;
      transform: translate(-50%, -50%);
      width: 14px; height: 14px;
      border-radius: 50%;
      background: #fff;
      border: 3px solid #333;
    }

    .card {
      background: var(--surface);
      border: 1px solid var(--border);
      border-radius: var(--radius);
      padding: 1.5rem;
      max-width: 760px;
      margin: 0 auto 1.5rem;
    }

    .selectors-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 1rem;
    }
    @media (max-width: 480px) { .selectors-grid { grid-template-columns: 1fr; } }

    .field label {
      display: block;
      font-size: 0.75rem;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 1px;
      color: var(--muted);
      margin-bottom: 8px;
    }

    .select-wrapper { position: relative; }
    .select-wrapper::after {
      content: '▾';
      position: absolute;
      right: 14px; top: 50%;
      transform: translateY(-50%);
      pointer-events: none;
      color: var(--muted);
      font-size: 14px;
    }

    select {
      width: 100%;
      padding: 12px 40px 12px 14px;
      border-radius: 10px;
      border: 1px solid var(--border);
      background: var(--surface2);
      color: var(--text);
      font-family: 'Nunito', sans-serif;
      font-size: 0.95rem;
      font-weight: 600;
      appearance: none;
      cursor: pointer;
      transition: border-color 0.2s;
    }
    select:focus {
      outline: none;
      border-color: var(--accent);
      box-shadow: 0 0 0 3px rgba(224,64,251,0.2);
    }

    #results { max-width: 760px; margin: 0 auto; }

    .section {
      background: var(--surface);
      border: 1px solid var(--border);
      border-radius: var(--radius);
      padding: 1.25rem 1.5rem;
      margin-bottom: 1rem;
    }

    .section-header {
      display: flex;
      align-items: center;
      gap: 10px;
      margin-bottom: 14px;
    }

    .section-icon {
      width: 28px; height: 28px;
      border-radius: 50%;
      display: flex; align-items: center; justify-content: center;
      font-size: 14px;
      flex-shrink: 0;
    }

    .section-title {
      font-size: 0.85rem;
      font-weight: 800;
      text-transform: uppercase;
      letter-spacing: 1px;
    }

    .section-count {
      margin-left: auto;
      background: rgba(255,255,255,0.07);
      border-radius: 20px;
      padding: 2px 10px;
      font-size: 12px;
      color: var(--muted);
      font-weight: 700;
    }

    .sec-super .section-title   { color: #ff5252; }
    .sec-neutral .section-title { color: #aaaacc; }
    .sec-resist .section-title  { color: #66bb6a; }
    .sec-immune .section-title  { color: #777799; }

    .badges { display: flex; flex-wrap: wrap; gap: 8px; }

    .badge {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      padding: 6px 12px;
      border-radius: 30px;
      font-size: 13px;
      font-weight: 700;
      white-space: nowrap;
    }

    .mult-pill {
      background: rgba(0,0,0,0.25);
      border-radius: 20px;
      padding: 1px 7px;
      font-size: 11px;
    }

    .placeholder {
      text-align: center;
      color: var(--muted);
      padding: 3rem 1rem;
      font-size: 0.95rem;
    }
    .placeholder .big { font-size: 3rem; margin-bottom: 10px; }

    .type-combo-display {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 10px;
      margin: 1rem 0 0;
      flex-wrap: wrap;
    }
    .type-combo-badge {
      padding: 5px 16px;
      border-radius: 20px;
      font-size: 14px;
      font-weight: 700;
    }
    .plus-sign { color: var(--muted); font-weight: 700; font-size: 18px; }