.hv-wrapper {
    width: 100%;
    padding: 1rem 0;
  }

  .hv-card {
    background: var(--bg-surface);
    width: calc(100% - 24px);
    max-width: 760px;
    margin: 0 auto;
    border-radius: 24px;
    border: 2px dashed var(--border-color);
    color: var(--text-main);
    transition: border-color 0.2s, background 0.2s;
    position: relative;
    overflow: hidden;
  }

  .hv-card[data-drag] {
    border-color: #10b981;
    background: rgba(16, 185, 129, 0.04);
  }

  .hv-state {
    padding: 48px 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 16px;
    min-height: 360px;
    justify-content: center;
  }

  .hv-hidden {
    display: none;
  }

  .hv-icon-box {
    width: 72px;
    height: 72px;
    border-radius: 18px;
    background: var(--bg-muted);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #10b981;
  }

  .hv-icon-box svg {
    width: 36px;
    height: 36px;
  }

  .hv-title {
    font-size: 22px;
    font-weight: 800;
    color: var(--text-main);
    margin: 8px 0 0;
  }

  .hv-subtitle {
    font-size: 15px;
    color: var(--text-muted);
    max-width: 380px;
    line-height: 1.6;
    margin: 0;
  }

  .hv-btn-select {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    background: #10b981;
    color: #fff;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    border: none;
    box-shadow: 0 4px 14px rgba(16, 185, 129, 0.3);
    transition: filter 0.15s, transform 0.15s;
    margin-top: 8px;
  }

  .hv-btn-select:hover {
    filter: brightness(1.1);
    transform: translateY(-1px);
  }

  .hv-btn-select svg {
    width: 18px;
    height: 18px;
  }

  .hv-privacy {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    color: var(--text-muted);
    margin: 0;
  }

  .hv-privacy svg {
    width: 13px;
    height: 13px;
    flex-shrink: 0;
  }

  .hv-spinner-wrap {
    position: relative;
    width: 80px;
    height: 80px;
  }

  .hv-spinner-track {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 4px solid var(--border-color);
  }

  .hv-spinner {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 4px solid transparent;
    border-top-color: #10b981;
    animation: hv-spin 0.8s linear infinite;
  }

  @keyframes hv-spin {
    to { transform: rotate(360deg); }
  }

  .hv-progress-pct {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
    color: #10b981;
  }

  .hv-calc-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-main);
    margin: 0;
  }

  .hv-file-info {
    font-size: 12px;
    color: var(--text-muted);
    margin: 0;
    max-width: 280px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .hv-progress-bar-wrap {
    width: 100%;
    max-width: 320px;
    height: 6px;
    background: var(--bg-muted);
    border-radius: 3px;
    overflow: hidden;
    border: 1px solid var(--border-color);
  }

  .hv-progress-bar {
    height: 100%;
    background: #10b981;
    border-radius: 3px;
    transition: width 0.2s;
    width: 0%;
  }

  .hv-result-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
    width: 100%;
    text-align: left;
  }

  .hv-result-title-row {
    display: flex;
    align-items: center;
    gap: 12px;
  }

  .hv-check-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(16, 185, 129, 0.12);
    border: 1px solid rgba(16, 185, 129, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #10b981;
    flex-shrink: 0;
  }

  .hv-check-icon svg {
    width: 20px;
    height: 20px;
  }

  .hv-success-label {
    font-size: 18px;
    font-weight: 800;
    color: var(--text-main);
    margin: 0;
  }

  .hv-result-filename {
    font-size: 12px;
    color: var(--text-muted);
    margin: 2px 0 0;
  }

  .hv-btn-another {
    display: flex;
    align-items: center;
    gap: 6px;
    background: transparent;
    border: none;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-muted);
    cursor: pointer;
    padding: 6px 10px;
    border-radius: 8px;
    transition: color 0.15s, background 0.15s;
  }

  .hv-btn-another:hover {
    color: var(--text-main);
    background: var(--bg-muted);
  }

  .hv-btn-another svg {
    width: 14px;
    height: 14px;
  }

  .hv-state:not(#hv-initial) {
    text-align: left;
    align-items: stretch;
    gap: 20px;
  }

  .hv-section {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
  }

  .hv-section-label {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--text-muted);
    margin: 0;
  }

  .hv-hash-wrap {
    position: relative;
  }

  .hv-hash-output {
    padding: 14px 50px 14px 16px;
    background: var(--bg-muted);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    font-size: 13px;
    font-weight: 500;
    color: #10b981;
    word-break: break-all;
    line-height: 1.5;
  }

  .hv-btn-copy {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: 7px;
    padding: 5px;
    color: var(--text-muted);
    cursor: pointer;
    display: flex;
    transition: color 0.15s;
  }

  .hv-btn-copy:hover {
    color: var(--text-main);
  }

  .hv-btn-copy svg {
    width: 14px;
    height: 14px;
  }

  .hv-compare-section {
    background: var(--bg-muted);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 16px;
  }

  .hv-compare-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 10px;
  }

  .hv-status-badge {
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 2px 8px;
    border-radius: 5px;
  }

  .hv-badge-ok {
    background: rgba(16, 185, 129, 0.12);
    color: #10b981;
    border: 1px solid rgba(16, 185, 129, 0.3);
  }

  .hv-badge-err {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.2);
  }

  .hv-compare-input-wrap {
    position: relative;
  }

  .hv-compare-input {
    width: 100%;
    padding: 12px 44px 12px 14px;
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    font-size: 13px;
    color: var(--text-main);
    box-sizing: border-box;
    transition: border-color 0.15s;
  }

  .hv-compare-input:focus {
    outline: none;
    border-color: #10b981;
  }

  .hv-compare-input.hv-match {
    border-color: #10b981;
  }

  .hv-compare-input.hv-mismatch {
    border-color: #ef4444;
  }

  .hv-match-icon,
  .hv-mismatch-icon {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
  }

  .hv-match-icon {
    color: #10b981;
  }

  .hv-mismatch-icon {
    color: #ef4444;
  }

  .hv-match-icon svg,
  .hv-mismatch-icon svg {
    width: 16px;
    height: 16px;
  }

  .hv-compare-note {
    font-size: 10px;
    color: var(--text-muted);
    margin: 6px 0 0;
    font-style: italic;
  }