.production-card {
    flex: 0 0 auto;
    width: 210px;
    position: relative;
}

.production-card-media {
    position: relative;
    width: 100%;
    aspect-ratio: 3 / 4;
    border-radius: 10px;
    overflow: hidden;
    background: #222;
    transition: transform 0.2s ease;
}

.production-card-clickable {
    cursor: pointer;
}

.production-card-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.production-card-clickable:hover .production-card-media {
    transform: scale(1.04);
}

.production-card-image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.production-card-placeholder {
    width: 100%;
    height: 100%;
    background: #2a2a2a;
}

.production-card-badge {
    position: absolute;
    top: 8px;
    right: 8px;
    background: #f5a623;
    color: #1a0a00;
    padding: 0.18rem 0.5rem;
    border-radius: 4px;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.production-card-rating-pill {
    position: absolute;
    bottom: 10px;
    left: 10px;
    display: inline-flex;
    align-items: center;
    gap: 0.28rem;
    padding: 0.32rem 0.7rem;
    border-radius: 999px;
    background: rgba(15, 15, 18, 0.84);
    color: #fff4d6;
    border: 1px solid rgba(255, 214, 102, 0.42);
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.28);
    font-size: 0.76rem;
    font-weight: 700;
    line-height: 1;
}

.production-card-rating-pill-star {
    color: #ffcf5a;
    font-size: 0.78rem;
}

/* Score tier modifiers — applied via the ratingTier attribute on <paw:productionCard>. */
.production-card-rating-pill-high {
    color: var(--score-high, #4ade80);
    border-color: rgba(74, 222, 128, 0.5);
}

.production-card-rating-pill-high .production-card-rating-pill-star {
    color: var(--score-high, #4ade80);
}

.production-card-rating-pill-mid {
    color: var(--score-mid, #facc15);
    border-color: rgba(250, 204, 21, 0.5);
}

.production-card-rating-pill-mid .production-card-rating-pill-star {
    color: var(--score-mid, #facc15);
}

.production-card-rating-pill-low {
    color: var(--score-low, #f87171);
    border-color: rgba(248, 113, 113, 0.5);
}

.production-card-rating-pill-low .production-card-rating-pill-star {
    color: var(--score-low, #f87171);
}

.production-card-info {
    display: flex;
    flex-direction: column;
    gap: 0.22rem;
    padding: 0.6rem 0 0;
    height: 4rem;
    overflow: hidden;
}

.production-card-title {
    margin: 0;
    font-size: 0.875rem;
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.production-card-meta {
    display: block;
    min-height: 2rem;
}

.production-card-venue {
    display: -webkit-box;
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.55);
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.25;
}

.production-card-venue-link {
    text-decoration: none;
    transition: color 0.15s;
}

.production-card-venue-link:hover {
    color: rgba(255, 255, 255, 0.85);
}

.production-card-admin {
    position: relative;
}

.production-card-admin-delete {
    position: absolute;
    top: 6px;
    right: 6px;
    z-index: 10;
    margin: 0;
}

.production-card-admin-delete-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 1.8rem;
    height: 1.8rem;
    padding: 0;
    border: none;
    border-radius: 50%;
    background: transparent;
    color: #e50914;
    cursor: pointer;
    transition: color 0.15s, background 0.15s;
}

.production-card-admin-delete-btn:hover {
    color: #ff2d3a;
    background: rgba(229, 9, 20, 0.12);
}

/* "Mi lista" bookmark marker — top-left corner of the card */
.production-card-watchlist {
    position: absolute;
    top: 0;
    left: 10px;
    z-index: 11;
    margin: 0;
}

.production-card-watchlist-btn {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    width: 30px;
    height: 40px;
    padding-top: 5px;
    border: none;
    cursor: pointer;
    color: #fff;
    background: rgba(20, 20, 20, 0.62);
    backdrop-filter: blur(4px);
    /* bookmark / ribbon shape: notched bottom edge */
    clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 78%, 0 100%);
    transition: background 0.15s ease, color 0.15s ease, transform 0.15s ease;
}

.production-card-watchlist-btn:hover {
    background: rgba(20, 20, 20, 0.82);
    transform: translateY(-1px);
}

.production-card-watchlist-btn:focus-visible {
    outline: 2px solid #7c3aed;
    outline-offset: 2px;
}

.production-card-watchlist-icon {
    font-size: 1.2rem;
    font-weight: 700;
    line-height: 1;
}

/* Show "+" when not in the list, "✓" when in the list */
.production-card-watchlist-icon-added {
    display: none;
}

.production-card-watchlist.is-in-watchlist .production-card-watchlist-icon-add {
    display: none;
}

.production-card-watchlist.is-in-watchlist .production-card-watchlist-icon-added {
    display: inline;
}

.production-card-watchlist.is-in-watchlist .production-card-watchlist-btn {
    background: #7c3aed;
    color: #fff;
}

.production-card-watchlist.is-in-watchlist .production-card-watchlist-btn:hover {
    background: #6d28d9;
}
