/* Minimal HTyping Font Awesome 6 Free Solid subset (~2KB vs 105KB full CSS) */
@font-face {
  font-family: 'Font Awesome 6 Free';
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url('/font/fa-solid-900.woff2') format('woff2');
}

.fa-solid {
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  font-style: normal;
  font-variant: normal;
  line-height: 1;
  display: inline-block;
  text-rendering: auto;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  vertical-align: -0.05em;
}

.fa-book-open::before { content: "\f518"; }
.fa-keyboard::before { content: "\f11c"; }
.fa-globe::before { content: "\f0ac"; }
.fa-arrows-rotate::before { content: "\f021"; }
.fa-rotate-right::before { content: "\f2f9"; }
.fa-bolt::before { content: "\f0e7"; }
.fa-flag-checkered::before { content: "\f11e"; }
.fa-landmark::before { content: "\f66f"; }
.fa-calculator::before { content: "\f1ec"; }
.fa-code::before { content: "\f121"; }
.fa-gift::before { content: "\f06b"; }
.fa-star::before { content: "\f005"; }
.fa-trophy::before { content: "\f091"; }
.fa-user::before { content: "\f007"; }
.fa-user-plus::before { content: "\f234"; }
.fa-right-to-bracket::before { content: "\f2f6"; }
.fa-right-from-bracket::before { content: "\f2f5"; }
.fa-lock::before { content: "\f023"; }
.fa-unlock::before { content: "\f09c"; }
.fa-school::before { content: "\f549"; }
.fa-graduation-cap::before { content: "\f19d"; }
.fa-language::before { content: "\f1ab"; }
.fa-calendar-day::before { content: "\f783"; }
.fa-wand-magic-sparkles::before { content: "\e2ca"; }
.fa-rocket::before { content: "\f135"; }
.fa-eye::before { content: "\f06e"; }
.fa-link::before { content: "\f0c1"; }
.fa-ghost::before { content: "\f6e2"; }
.fa-triangle-exclamation::before { content: "\f071"; }
.fa-circle-check::before { content: "\f058"; }
.fa-check::before { content: "\f00c"; }
.fa-circle-xmark::before { content: "\f057"; }
.fa-xmark::before { content: "\f00d"; }
.fa-file-lines::before { content: "\f15c"; }
.fa-clipboard::before { content: "\f328"; }
.fa-clipboard-check::before { content: "\f46c"; }
.fa-print::before { content: "\f02f"; }
.fa-expand::before { content: "\f065"; }
.fa-compress::before { content: "\f066"; }
.fa-folder-open::before { content: "\f07c"; }
.fa-pen-to-square::before { content: "\f044"; }
.fa-trash::before { content: "\f1f8"; }
.fa-copy::before { content: "\f0c5"; }
.fa-circle-plus::before { content: "\f055"; }
.fa-medal::before { content: "\f5a2"; }
.fa-crown::before { content: "\f521"; }
.fa-users::before { content: "\f0c0"; }
.fa-chart-line::before { content: "\f201"; }
.fa-chart-column::before { content: "\e0e3"; }
.fa-clock::before { content: "\f017"; }
.fa-ticket::before { content: "\f145"; }
.fa-bullseye::before { content: "\f140"; }
.fa-id-card::before { content: "\f2c2"; }
.fa-location-dot::before { content: "\f3c5"; }
.fa-phone::before { content: "\f095"; }
.fa-lightbulb::before { content: "\f0eb"; }
.fa-arrow-right-arrow-left::before { content: "\f0ec"; }
.fa-gauge-high::before { content: "\f625"; }
.fa-award::before { content: "\f559"; }
.fa-sliders::before { content: "\f1de"; }
.fa-comment-dots::before { content: "\f4ad"; }
.fa-hashtag::before { content: "#"; }
.fa-scroll::before { content: "\f6a0"; }
.fa-arrow-left::before { content: "\f060"; }
.fa-shield-halved::before { content: "\f3ed"; }
.fa-certificate::before { content: "\f0a3"; }

.ht-nav-item .fa-solid,
.tp-side-link .fa-solid,
.ht-btn .fa-solid,
.tp-tab-pill .fa-solid,
.tp-side-title .fa-solid {
  font-size: 0.92em;
  opacity: 0.9;
  pointer-events: none;
}

/* Subtle semantic tint inside neutral cards/titles, auto-white on primary/active pills */
.fa-trophy, .fa-crown, .fa-medal { color: #d97706; }
.fa-star.fa-lit, .tp-star-btn.is-lit .fa-star { color: #f59e0b; }
.fa-circle-check { color: #059669; }
.fa-circle-xmark { color: #dc2626; }
.fa-triangle-exclamation { color: #d97706; }
.ht-nav-item.active .fa-solid,
.ht-btn.primary .fa-solid,
.tp-tab-pill.active .fa-solid {
  color: currentColor;
  opacity: 1;
}

@keyframes fa-spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}
.fa-spin {
  animation: fa-spin 0.85s linear infinite;
}

@keyframes ht-progress-sweep {
  0% { transform: translateX(-100%) scaleX(0.35); }
  50% { transform: translateX(0%) scaleX(0.65); }
  100% { transform: translateX(100%) scaleX(0.35); }
}

.ht-top-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  z-index: 9999;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.16s ease;
  background: rgba(0, 102, 255, 0.12);
  overflow: hidden;
}
.ht-top-progress.is-loading {
  opacity: 1;
}
.ht-top-progress-bar {
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, #0066ff, #06b6d4, #2563eb);
  transform-origin: left center;
  animation: ht-progress-sweep 1.05s ease-in-out infinite;
}
.ht-btn.is-busy,
button:disabled {
  opacity: 0.72;
  cursor: wait;
}
.ht-loading-card {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-weight: 700;
  color: var(--ink);
  padding: 0.35rem 0;
}
