  .search-wrapper { 
    position: relative; 
    z-index: 50; 
    margin-bottom: 2rem; 
    background: #111111; 
    border: 1px solid #333333; 
    border-radius: 0px; 
    padding: 1.25rem; 
  }

  .search-input-container { 
    position: relative; 
    width: 100%; 
  }

  .search-input-box { 
    width: 100%; 
    background: #0a0a0c; 
    border: 1px solid #444444; 
    border-radius: 0px; 
    padding: 0.75rem 2.8rem 0.75rem 1rem; 
    color: #fff; 
    font-family: monospace; 
    font-size: 1rem; 
    box-sizing: border-box; 
    outline: none; 
    transition: border-color 0.2s; 
  }
  .search-input-box:focus { 
    border-color: #ff5500; 
  }

  .help-btn { 
    position: absolute; 
    right: 0.75rem; 
    top: 50%; 
    transform: translateY(-50%); 
    width: 22px; 
    height: 22px; 
    border-radius: 0px; 
    background: #202026; 
    border: 1px solid #444444; 
    color: #ffaa88; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    font-size: 0.8rem; 
    font-weight: bold; 
    cursor: pointer; 
    user-select: none; 
    transition: background 0.2s, border-color 0.2s, color 0.2s; 
  }
  .help-btn:hover { 
    background: #ff5500; 
    color: #fff; 
    border-color: #ff5500; 
  }

  .help-popup { 
    display: none; 
    position: absolute; 
    top: calc(100% + 12px); 
    right: 0; 
    width: min(360px, 85vw); 
    max-height: 75vh;
    overflow-y: auto;
    box-sizing: border-box;
    background: #111111; 
    border: 1px solid #444444; 
    border-radius: 0px; 
    padding: 1rem; 
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.85); 
    z-index: 1000; 
    font-size: 0.8rem; 
    color: #d1d5db; 
    line-height: 1.5; 
    text-align: left; 
  }

  .help-popup::-webkit-scrollbar { width: 5px; }
  .help-popup::-webkit-scrollbar-thumb { background: #333333; }

  @media (hover: hover) { 
    .help-btn:hover .help-popup { display: block; } 
  }
  .help-popup.open { 
    display: block !important; 
  }

  .help-popup h4 { 
    margin: 0 0 0.5rem 0; 
    color: #fff; 
    font-size: 0.95rem; 
    border-bottom: 1px solid #333333; 
    padding-bottom: 0.3rem; 
  }
  .help-popup table { 
    width: 100%; 
    border-collapse: collapse; 
    margin-bottom: 0.5rem; 
    background: transparent; 
  }
  .help-popup td { 
    padding: 4px 0; 
    border: none; 
    font-size: 0.8rem; 
  }
  .help-popup hr { 
    border: 0; 
    border-top: 1px solid #333333; 
    margin: 0.5rem 0; 
  }
  .help-popup ul { 
    margin: 0.3rem 0; 
    padding-left: 1.2rem; 
  }
  .help-popup code { 
    background: #202026; 
    color: #ffaa88; 
    padding: 1px 5px; 
    border-radius: 0px; 
    font-size: 0.8rem; 
  }

  .search-meta { 
    display: flex; 
    justify-content: flex-end; 
    align-items: center; 
    margin-top: 0.75rem; 
    font-size: 0.85rem; 
    color: #888; 
  }
  #card-count { 
    color: #aaa; 
    font-weight: 600; 
  }