/* Shared EPK gig tile: one look for the bio-page highlight strip and the full
   gig history page (venue/event name, date or range, optional "×N" badge). */
.gig-tile {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    color: #f5f7fb;
    text-decoration: none;
    border-radius: 18px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: border-color 0.2s ease, transform 0.2s ease;
}

a.gig-tile:hover,
a.gig-tile:focus-visible {
    color: #fff;
    border-color: rgba(57, 255, 20, 0.5);
    transform: translateY(-2px);
}

.gig-tile--featured {
    border-color: rgba(255, 193, 7, 0.45);
}

.gig-tile-media {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.35);
}

.gig-tile-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.gig-tile-media.is-previewing .gig-tile-thumb {
    opacity: 0;
}

/* Watermark-style repeat count, e.g. "×30". */
.gig-tile-count {
    position: absolute;
    right: 0.5rem;
    bottom: 0.1rem;
    font-size: 2.6rem;
    font-weight: 800;
    line-height: 1;
    color: rgba(255, 255, 255, 0.85);
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.7);
    letter-spacing: -0.02em;
    pointer-events: none;
}

.gig-tile-flags {
    position: absolute;
    top: 0.5rem;
    left: 0.5rem;
    display: flex;
    gap: 0.35rem;
}

.gig-tile-flag {
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 0.2rem 0.5rem;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.7);
    color: #39ff14;
    border: 1px solid rgba(57, 255, 20, 0.4);
}

.gig-tile-flag--featured {
    color: #ffc107;
    border-color: rgba(255, 193, 7, 0.5);
}

.gig-tile-body {
    padding: 0.8rem 0.95rem 0.9rem;
}

.gig-tile-date {
    color: #39ff14;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.74rem;
    font-weight: 700;
}

.gig-tile-title {
    font-size: 1rem;
    font-weight: 700;
    margin: 0.3rem 0 0.15rem;
    line-height: 1.25;
}

.gig-tile-subtitle {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
    margin: 0;
}

/* ---- Highlight strip on the artist bio page ---- */
.gig-strip {
    position: relative;
    margin-top: 1.75rem;
}

.gig-strip-track {
    display: flex;
    gap: 0.9rem;
    overflow-x: auto;
    scroll-snap-type: none;
    scrollbar-width: thin;
    padding-bottom: 0.6rem;
    -webkit-overflow-scrolling: touch;
    cursor: grab;
}

.gig-strip-track.is-dragging {
    cursor: grabbing;
    user-select: none;
}

.gig-strip-item {
    flex: 0 0 220px;
}

.gig-strip-more {
    flex: 0 0 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    border-radius: 18px;
    border: 1px dashed rgba(57, 255, 20, 0.45);
    color: #39ff14;
    font-weight: 700;
    text-decoration: none;
    padding: 1rem;
}

.gig-strip-more:hover {
    color: #fff;
    background: rgba(57, 255, 20, 0.08);
}

.gig-strip-footer {
    margin-top: 0.5rem;
    text-align: right;
}

@media (max-width: 576px) {
    .gig-strip-item { flex-basis: 70vw; }
}

@media (prefers-reduced-motion: reduce) {
    a.gig-tile:hover { transform: none; }
}
