/* nhacc.live — Custom styles (minimal, Tailwind handles most) */

/* Line clamp utility */
.line-clamp-1 {
    display: -webkit-box;
    -webkit-line-clamp: 1;
    line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Smooth scroll */
html {
    scroll-behavior: smooth;
}

/* Gallery lightbox */
#gallery-lightbox {
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
}

/* Thumbnail scroll */
.overflow-x-auto::-webkit-scrollbar {
    height: 4px;
}
.overflow-x-auto::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}

/* Share dropdown animation */
.share-dropdown {
    animation: fadeIn 0.15s ease-out;
}
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-4px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Search & Filter bar */
.sf-chip {
    display: inline-flex;
    align-items: center;
    padding: 4px 12px;
    font-size: 13px;
    border: 1px solid #d1d5db;
    border-radius: 9999px;
    background: #fff;
    color: #374151;
    cursor: pointer;
    transition: all 0.15s;
    white-space: nowrap;
}
.sf-chip:hover { background: #f3f4f6; border-color: #9ca3af; }
.sf-chip-active { background: #2563eb; color: #fff; border-color: #2563eb; }
.sf-chip-active:hover { background: #1d4ed8; }
.sf-input-sm:focus { border-color: #3b82f6; box-shadow: 0 0 0 2px rgba(59,130,246,0.15); outline: none; }

/* Focus ring for accessibility */
input:focus, textarea:focus, select:focus, button:focus-visible {
    outline: 2px solid #3b82f6;
    outline-offset: 2px;
}
