.ihv-app {
  --ihv-purple: #6429af;
  --ihv-ink: #281735;
  --ihv-tint: #f5eeff;
  color: var(--ihv-ink);
}

.ihv-app .isv-hero {
  padding-block: clamp(52px, 8vw, 112px);
  background: radial-gradient(ellipse at 10% 100%, #632757, transparent 55%),
    linear-gradient(130deg, #261536, #161826 79%);
}

.ihv-app .isv-intro h1 { margin-top: 0; line-height: 1.02; }
.ihv-app .isv-intro h1 span { color: #f2b9ed; }
.ihv-app .isv-intro > p { color: #e1d4e7; }

.ihv-rings { display: flex; gap: 14px; margin-top: 28px; }
.ihv-rings i {
  display: block;
  width: 53px;
  aspect-ratio: 1;
  border: 3px solid transparent;
  border-radius: 50%;
  background: linear-gradient(120deg, #402348, #2a1a39) padding-box,
    linear-gradient(135deg, #f9a96f, #da559a, #9571e2) border-box;
}
.ihv-rings i:nth-child(2) { transform: translateY(6px); }
.ihv-rings i:nth-child(3) { transform: translateY(12px); }

.ihv-app .isv-search-card h2,
.ihv-app .isv-results h2,
.ihv-app .isv-info h2 { color: var(--ihv-ink); }
.ihv-app .isv-input-wrap { height: 58px; background: #fbf8fe; border-color: #dfd1ec; }
.ihv-app .isv-input-wrap:focus-within { outline: 2px solid var(--ihv-purple); outline-offset: 2px; }
.ihv-app .isv-input-wrap input { font: inherit; font-size: 16px; }
.ihv-app .isv-paste { background: var(--ihv-tint); color: #541c8d; }
.ihv-app .isv-submit,
.ihv-app .isv-download { background: var(--ihv-purple); }
.ihv-app .isv-submit { box-shadow: none; }
.ihv-app .isv-submit:hover,
.ihv-app .isv-download:hover { background: #50208e; }
.ihv-hint { margin: 10px 0 0; color: #675974; font-size: 13px; line-height: 1.5; }
.ihv-app .isv-status { background: var(--ihv-tint); color: #511a80; }
.ihv-app .isv-status.isv-error { background: #fff1f4; color: #a52045; }
.ihv-app #highlight-lookup,
.ihv-app .isv-results { scroll-margin-top: 42px; }

.ihv-summary { color: #675974; text-align: center; line-height: 1.6; }
.ihv-albums { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 16px; margin-top: 28px; }
.ihv-album-button { display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 22px 12px; background: #fdfaff; border: 1px solid #e6dbed; border-radius: 18px; color: var(--ihv-ink); cursor: pointer; font: inherit; }
.ihv-album-button:hover, .ihv-album-button[aria-pressed="true"] { border-color: var(--ihv-purple); background: var(--ihv-tint); }
.ihv-album-button:disabled { opacity: .65; cursor: wait; }
.ihv-cover { width: 84px; height: 84px; object-fit: cover; border-radius: 50%; padding: 4px; border: 2px solid #b576ce; }
.ihv-album-name { font-weight: 700; overflow-wrap: anywhere; }
.ihv-view-label { color: #6b5679; font-size: 12px; }
.ihv-media { scroll-margin-top: 48px; }
.ihv-album-title { font-size: 27px; margin: 36px 0 22px; color: var(--ihv-ink); overflow-wrap: anywhere; }
.ihv-media-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); align-items: start; gap: 22px; }
.ihv-media-card { overflow: hidden; border: 1px solid #e6dbed; border-radius: 18px; padding: 12px; background: #fdfaff; }
.ihv-preview { width: 100%; aspect-ratio: 9 / 16; object-fit: contain; background: #18121f; border-radius: 11px; display: block; }
.ihv-media-card .isv-download { display: block; margin-top: 12px; text-align: center; }
.ihv-caption { margin: 12px 2px 0; color: #675974; font-size: 14px; overflow-wrap: anywhere; }
.ihv-app [hidden] { display: none !important; }
.ihv-app .isv-info p { margin-bottom: 0; }

@media (max-width: 800px) {
  .ihv-app .isv-intro h1 { font-size: clamp(40px, 10vw, 60px); }
  .ihv-rings { display: none; }
}
