.hg-root {
    width: 100%;
  }

  .hg-card {
    background: #fff;
    border: 1px solid rgb(226, 232, 240);
    border-radius: 1.5rem;
    overflow: hidden;
  }

  .theme-dark .hg-card {
    background: rgb(15, 23, 42);
    border-color: rgb(30, 41, 59);
  }

  .hg-input-block {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }

  .hg-field {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
  }

  .hg-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: rgb(15, 23, 42);
  }

  .theme-dark .hg-label {
    color: rgb(226, 232, 240);
  }

  .hg-label-icon {
    width: 1rem;
    height: 1rem;
    color: rgb(99, 102, 241);
  }

  .hg-textarea {
    width: 100%;
    min-height: 100px;
    padding: 0.75rem 1rem;
    font-size: 0.875rem;
    color: rgb(15, 23, 42);
    background: rgb(248, 250, 252);
    border: 1px solid rgb(226, 232, 240);
    border-radius: 0.75rem;
    resize: vertical;
    transition: border-color 0.2s;
    box-sizing: border-box;
  }

  .hg-textarea:focus {
    outline: none;
    border-color: rgb(99, 102, 241);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
  }

  .theme-dark .hg-textarea {
    background: rgb(30, 41, 59);
    border-color: rgb(51, 65, 85);
    color: rgb(226, 232, 240);
  }

  .hg-options-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
  }

  .hg-option {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
  }

  .hg-option-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: rgb(100, 116, 139);
  }

  .hg-option-input {
    width: 100%;
    padding: 0.5rem 0.75rem;
    font-size: 0.8125rem;
    color: rgb(15, 23, 42);
    background: rgb(248, 250, 252);
    border: 1px solid rgb(226, 232, 240);
    border-radius: 0.5rem;
    transition: border-color 0.2s;
    box-sizing: border-box;
  }

  .hg-option-input:focus {
    outline: none;
    border-color: rgb(99, 102, 241);
  }

  .theme-dark .hg-option-input {
    background: rgb(30, 41, 59);
    border-color: rgb(51, 65, 85);
    color: rgb(226, 232, 240);
  }

  .hg-divider {
    height: 1px;
    background: rgb(226, 232, 240);
  }

  .theme-dark .hg-divider {
    background: rgb(30, 41, 59);
  }

  .hg-results-block {
    display: flex;
    flex-direction: column;
  }

  .hg-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1.5rem;
    border-bottom: 1px solid rgb(241, 245, 249);
    transition: background 0.15s;
  }

  .hg-row:last-child {
    border-bottom: none;
  }

  .hg-row:hover {
    background: rgb(248, 250, 252);
  }

  .theme-dark .hg-row {
    border-bottom-color: rgb(30, 41, 59);
  }

  .theme-dark .hg-row:hover {
    background: rgb(30, 41, 59);
  }

  .hg-badge {
    flex-shrink: 0;
    width: 4.5rem;
    text-align: center;
    padding: 0.125rem 0;
    font-size: 0.6875rem;
    font-weight: 700;
    color: rgb(99, 102, 241);
    background: rgba(99, 102, 241, 0.1);
    border-radius: 9999px;
  }

  .hg-hash {
    flex: 1;
    font-size: 0.75rem;
    color: rgb(71, 85, 105);
    word-break: break-all;
    line-height: 1.4;
  }

  .theme-dark .hg-hash {
    color: rgb(148, 163, 184);
  }

  .hg-copy-btn {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 1.75rem;
    height: 1.75rem;
    background: transparent;
    border: 1px solid rgb(226, 232, 240);
    border-radius: 0.375rem;
    cursor: pointer;
    color: rgb(148, 163, 184);
    transition: all 0.15s;
  }

  .hg-copy-btn:hover {
    background: rgb(241, 245, 249);
    color: rgb(99, 102, 241);
    border-color: rgb(99, 102, 241);
  }

  .hg-copy-btn:active {
    transform: scale(0.92);
  }

  .theme-dark .hg-copy-btn {
    border-color: rgb(51, 65, 85);
    color: rgb(100, 116, 139);
  }

  .theme-dark .hg-copy-btn:hover {
    background: rgb(51, 65, 85);
    color: rgb(99, 102, 241);
  }

  .hg-copy-icon {
    width: 0.875rem;
    height: 0.875rem;
  }

  @media (max-width: 480px) {
    .hg-options-row {
      grid-template-columns: 1fr;
    }

    .hg-row {
      padding: 0.625rem 1rem;
    }
  }