/* cartooncharacter.hk — Supplementary styles (Tailwind CDN handles utilities) */

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

.sr-only:focus {
  position: fixed;
  width: auto;
  height: auto;
  padding: 0.5rem 1rem;
  margin: 0;
  overflow: visible;
  clip: auto;
  white-space: normal;
}

.hero-gradient {
  background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 50%, #f8fafc 100%);
}

.answer-first {
  font-size: 1.0625rem;
  line-height: 1.75;
}

.okf-table {
  border-collapse: collapse;
}

.okf-table th[scope='row'] {
  font-weight: 500;
}

.okf-table tbody tr:nth-child(even) {
  background-color: rgba(248, 250, 252, 0.5);
}

details summary::-webkit-details-marker {
  display: none;
}

.line-clamp-3 {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

#avatar-canvas {
  width: 256px;
  height: 256px;
  border-radius: 50%;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.1);
}

@media (prefers-reduced-motion: reduce) {
  .animate-pulse {
    animation: none;
  }

  .transition-transform,
  .transition-colors,
  .transition-shadow,
  .transition-all {
    transition: none;
  }
}
