body {
    font-family: 'Inter', sans-serif;
    background-color: #f3f4f6; /* Equivalent to bg-gray-100 */
    color: #1f2937; /* Equivalent to text-gray-800 */
    overflow-x: hidden; /* Prevent horizontal scroll from sprites */
}
.tab-active {
    background-color: #f97316; /* bg-orange-500 */
    color: #ffffff; /* text-white */
    border-color: #f97316;
}
.stat-bar {
    background-color: #e5e7eb; /* bg-gray-200 */
    border-radius: 0.25rem;
    overflow: hidden;
}
.stat-fill {
    background-color: #06b6d4; /* bg-cyan-500 */
    text-shadow: 1px 1px 2px rgba(0,0,0,0.2);
}
.shiny-sparkle {
    color: #f59e0b; /* yellow-500 */
    text-shadow: 0 0 5px #f59e0b, 0 0 10px #fcd34d;
}
/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #e5e7eb; /* bg-gray-200 */
}
::-webkit-scrollbar-thumb {
    background: #9ca3af; /* bg-gray-400 */
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #6b7280; /* bg-gray-500 */
}
/* Sprite animation */
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}
.sprite-float {
    animation: float 4s ease-in-out infinite;
}
/* For details/summary animations */
details > summary {
    list-style: none;
}
details > summary::-webkit-details-marker {
    display: none;
}
details > summary::before {
    content: '►';
    margin-right: 0.5rem;
    transition: transform 0.2s;
    display: inline-block;
}
details[open] > summary::before {
    transform: rotate(90deg);
}
.pokemon-card img, .sprite-fallback {
    image-rendering: pixelated;
    -ms-interpolation-mode: nearest-neighbor;
}
.sprite-fallback {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #e5e7eb;
    border-radius: 0.25rem;
}
.type-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.125rem 0.5rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 500;
    margin: 0.125rem;
    color: white;
    text-shadow: 1px 1px 1px rgba(0,0,0,0.3);
}