/*
 * Yuk Central — public stylesheet.
 * Design system + component styles. Light theme with neon accents.
 */

:root {
    /* Color tokens */
    --yc-bg:          #FAFAF7;
    --yc-bg-subtle:   #F2F1EC;
    --yc-surface:     #FFFFFF;
    --yc-surface-2:   #F7F6F2;
    --yc-ink:         #161513;
    --yc-ink-2:       #3C3A36;
    --yc-ink-3:       #6B6862;
    --yc-line:        #E5E2DA;
    --yc-line-strong: #D4D0C5;

    --yc-red:         #FF4438;
    --yc-red-deep:    #E5392E;
    --yc-red-soft:    #FFE3E0;

    --yc-teal:        #2FC8B0;
    --yc-teal-deep:   #1FA890;
    --yc-teal-soft:   #DCF7F2;

    --yc-gold:        #F4B73D;

    /* Typography */
    --yc-font-display: "Bricolage Grotesque", "Archivo", "Inter Tight", system-ui, sans-serif;
    --yc-font-body:    "Inter", "Helvetica Neue", system-ui, -apple-system, sans-serif;
    --yc-font-mono:    "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;

    /* Spacing scale */
    --yc-sp-1: 0.25rem;
    --yc-sp-2: 0.5rem;
    --yc-sp-3: 0.75rem;
    --yc-sp-4: 1rem;
    --yc-sp-5: 1.5rem;
    --yc-sp-6: 2rem;
    --yc-sp-8: 3rem;
    --yc-sp-10: 4.5rem;

    /* Radii */
    --yc-radius-sm: 6px;
    --yc-radius:    12px;
    --yc-radius-lg: 20px;
    --yc-radius-xl: 28px;

    /* Shadows */
    --yc-shadow-sm: 0 1px 2px rgba(22, 21, 19, 0.04), 0 1px 3px rgba(22, 21, 19, 0.06);
    --yc-shadow:    0 2px 8px rgba(22, 21, 19, 0.06), 0 8px 24px rgba(22, 21, 19, 0.04);
    --yc-shadow-lg: 0 8px 32px rgba(22, 21, 19, 0.10), 0 24px 48px rgba(22, 21, 19, 0.06);

    /* Motion */
    --yc-ease:  cubic-bezier(0.22, 0.61, 0.36, 1);
    --yc-fast:  140ms;
    --yc-base:  220ms;
    --yc-slow:  360ms;
}

@media (prefers-reduced-motion: reduce) {
    * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

/* Layout primitives */
.yc-container { max-width: 1200px; margin: 0 auto; padding: 0 var(--yc-sp-5); }

/* Buttons */
.yc-button {
    display: inline-flex; align-items: center; justify-content: center;
    gap: var(--yc-sp-2);
    padding: 0.7rem 1.25rem;
    font: 600 0.95rem/1 var(--yc-font-body);
    color: var(--yc-bg);
    background: var(--yc-ink);
    border: none; border-radius: 999px;
    cursor: pointer;
    transition: transform var(--yc-fast) var(--yc-ease), background var(--yc-fast) var(--yc-ease);
}
.yc-button:hover { transform: translateY(-1px); background: #000; }
.yc-button:active { transform: translateY(0); }
.yc-button:focus-visible { outline: 2px solid var(--yc-red); outline-offset: 2px; }
.yc-button, .yc-button--ghost { white-space: nowrap; }
.yc-button--ghost { background: transparent; color: var(--yc-ink); border: 1px solid var(--yc-line-strong); }
.yc-button--ghost:hover { background: var(--yc-bg-subtle); }

.yc-link { color: var(--yc-ink); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; transition: color var(--yc-fast); }
.yc-link:hover { color: var(--yc-red); }

/* Section heading */
.yc-section-heading {
    font: 700 1.5rem/1.15 var(--yc-font-display);
    letter-spacing: -0.01em;
    margin: 0 0 var(--yc-sp-5);
    color: var(--yc-ink);
}

/* Empty state */
.yc-empty-state {
    background: var(--yc-surface-2);
    border: 1px dashed var(--yc-line-strong);
    border-radius: var(--yc-radius);
    padding: var(--yc-sp-6);
    text-align: center;
    color: var(--yc-ink-3);
}
.yc-empty-state p { margin: 0 0 var(--yc-sp-2); }

/* Tag */
.yc-tag {
    display: inline-flex; align-items: center;
    padding: 0.35rem 0.7rem;
    font: 500 0.78rem/1 var(--yc-font-body);
    color: var(--yc-ink-2);
    background: var(--yc-bg-subtle);
    border-radius: 999px;
    letter-spacing: 0.01em;
}
.yc-tag--style { background: var(--yc-teal-soft); color: var(--yc-teal-deep); }

/* Card grid — tighter than before; cards aren't billboards */
.yc-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: var(--yc-sp-3);
}
@media (min-width: 1100px) {
    .yc-grid { grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: var(--yc-sp-4); }
}
@media (max-width: 600px) {
    .yc-grid { grid-template-columns: repeat(3, 1fr); gap: var(--yc-sp-2); }
}
@media (max-width: 380px) {
    .yc-grid { grid-template-columns: repeat(2, 1fr); }
}

/* Comedian card */
.yc-card {
    position: relative;
    display: flex; flex-direction: column;
    background: var(--yc-surface);
    border: 1px solid var(--yc-line);
    border-radius: var(--yc-radius);
    overflow: hidden;
    text-decoration: none;
    color: var(--yc-ink);
    transition: transform var(--yc-base) var(--yc-ease), box-shadow var(--yc-base) var(--yc-ease), border-color var(--yc-base);
}
.yc-card:hover { transform: translateY(-3px); box-shadow: var(--yc-shadow); border-color: var(--yc-line-strong); }
.yc-card:focus-visible { outline: 2px solid var(--yc-red); outline-offset: 2px; }

.yc-card__rank {
    position: absolute; top: var(--yc-sp-2); left: var(--yc-sp-2);
    z-index: 2;
    padding: 0.25rem 0.45rem;
    background: var(--yc-ink); color: var(--yc-bg);
    font: 700 0.72rem/1 var(--yc-font-mono);
    border-radius: var(--yc-radius-sm);
    letter-spacing: 0.02em;
}
.yc-card__rank--legend { background: var(--yc-gold); color: var(--yc-ink); }

.yc-card__photo {
    aspect-ratio: 1 / 1;
    background: linear-gradient(135deg, var(--yc-bg-subtle), var(--yc-surface-2));
    display: flex; align-items: center; justify-content: center;
    color: var(--yc-line-strong);
    overflow: hidden;
}
.yc-card__photo img { width: 100%; height: 100%; object-fit: cover; }
.yc-card__photo-placeholder svg { width: 38%; height: 38%; }
@media (max-width: 600px) {
    .yc-card__photo-placeholder svg { width: 32%; height: 32%; }
}

.yc-card__body { padding: var(--yc-sp-3) var(--yc-sp-4); }
.yc-card__name {
    margin: 0 0 var(--yc-sp-2);
    font: 600 1rem/1.2 var(--yc-font-display);
    letter-spacing: -0.005em;
}
@media (max-width: 600px) {
    .yc-card__body { padding: var(--yc-sp-3); }
    .yc-card__name { font-size: 0.92rem; }
}
.yc-card__meta {
    display: flex; gap: var(--yc-sp-3);
    color: var(--yc-ink-3);
    font: 500 0.78rem/1 var(--yc-font-body);
    flex-wrap: wrap;
}
.yc-card__votes::before { content: "•"; margin-right: var(--yc-sp-3); color: var(--yc-line-strong); }

/* Browse header & filters */
.yc-browse-header { padding: var(--yc-sp-8) 0 var(--yc-sp-5); }
.yc-browse-title {
    margin: 0;
    font: 700 clamp(2rem, 4vw, 3rem)/1.05 var(--yc-font-display);
    letter-spacing: -0.025em;
    color: var(--yc-ink);
}
.yc-browse-sub { margin: var(--yc-sp-2) 0 0; color: var(--yc-ink-3); font-size: 1.05rem; }

.yc-filters {
    display: flex; flex-wrap: wrap; gap: var(--yc-sp-3);
    padding: var(--yc-sp-4);
    background: var(--yc-surface);
    border: 1px solid var(--yc-line);
    border-radius: var(--yc-radius);
    margin-bottom: var(--yc-sp-6);
}
.yc-filters input[type="search"], .yc-filters select {
    padding: 0.6rem 0.9rem;
    background: var(--yc-bg);
    border: 1px solid var(--yc-line);
    border-radius: var(--yc-radius-sm);
    font: 500 0.92rem/1 var(--yc-font-body);
    color: var(--yc-ink);
    min-width: 0;
}
.yc-filters input[type="search"] { flex: 1 1 220px; }
.yc-filters select { flex: 0 1 160px; cursor: pointer; }
.yc-filters input:focus, .yc-filters select:focus { outline: 2px solid var(--yc-red); outline-offset: 2px; border-color: transparent; }
.yc-checkbox { display: inline-flex; align-items: center; gap: 0.4rem; font: 500 0.92rem/1 var(--yc-font-body); color: var(--yc-ink-2); cursor: pointer; }

/* Pagination */
.yc-pagination {
    display: flex; justify-content: center; gap: var(--yc-sp-2);
    margin: var(--yc-sp-8) 0;
}
.yc-pagination a, .yc-pagination span {
    display: inline-flex; align-items: center; justify-content: center;
    min-width: 2.5rem; height: 2.5rem;
    padding: 0 0.7rem;
    border-radius: var(--yc-radius-sm);
    font: 600 0.9rem/1 var(--yc-font-body);
    color: var(--yc-ink-2);
    text-decoration: none;
    background: var(--yc-surface);
    border: 1px solid var(--yc-line);
    transition: all var(--yc-fast);
}
.yc-pagination a:hover { background: var(--yc-bg-subtle); border-color: var(--yc-line-strong); }
.yc-pagination .current { background: var(--yc-ink); color: var(--yc-bg); border-color: var(--yc-ink); }

/* Profile hero */
.yc-profile { max-width: 1100px; margin: 0 auto; padding: var(--yc-sp-6) var(--yc-sp-5); }
.yc-profile-hero {
    background: linear-gradient(160deg, var(--yc-surface) 0%, var(--yc-surface-2) 100%);
    border: 1px solid var(--yc-line);
    border-radius: var(--yc-radius-xl);
    padding: var(--yc-sp-8);
    margin-bottom: var(--yc-sp-8);
    position: relative;
    overflow: hidden;
}
.yc-profile-hero::before {
    content: ""; position: absolute; top: -120px; right: -120px;
    width: 320px; height: 320px;
    background: radial-gradient(circle, var(--yc-red-soft), transparent 70%);
    pointer-events: none;
}
.yc-profile-hero__inner {
    position: relative;
    display: grid; grid-template-columns: 180px 1fr; gap: var(--yc-sp-6);
    align-items: start;
}
@media (max-width: 720px) {
    .yc-profile-hero__inner {
        grid-template-columns: 96px 1fr;
        gap: var(--yc-sp-4);
        align-items: center;
    }
    .yc-profile-hero { padding: var(--yc-sp-5); }
}

.yc-profile-photo {
    aspect-ratio: 1 / 1;
    background: var(--yc-bg-subtle);
    border-radius: var(--yc-radius-lg);
    overflow: hidden;
    box-shadow: var(--yc-shadow);
}
@media (max-width: 720px) {
    .yc-profile-photo { border-radius: var(--yc-radius); box-shadow: var(--yc-shadow-sm); }
}
.yc-profile-photo img { width: 100%; height: 100%; object-fit: cover; }
.yc-profile-photo--placeholder { display: flex; align-items: center; justify-content: center; height: 100%; color: var(--yc-line-strong); }

.yc-rank-badge {
    display: inline-block;
    padding: 0.4rem 0.8rem;
    background: var(--yc-ink); color: var(--yc-bg);
    font: 700 0.85rem/1 var(--yc-font-mono);
    border-radius: var(--yc-radius-sm);
    margin-bottom: var(--yc-sp-3);
    letter-spacing: 0.02em;
}
.yc-rank-badge--legend { background: var(--yc-gold); color: var(--yc-ink); }

.yc-profile-name {
    margin: 0 0 var(--yc-sp-3);
    font: 700 clamp(1.6rem, 5vw, 3.5rem)/1.05 var(--yc-font-display);
    letter-spacing: -0.03em;
    color: var(--yc-ink);
}
@media (max-width: 720px) {
    /* On mobile, the photo+name sit horizontally; bio/tags/votes wrap below at full width */
    .yc-profile-hero__inner > .yc-profile-meta {
        display: contents;
    }
    .yc-profile-meta > .yc-rank-badge,
    .yc-profile-meta > .yc-profile-name {
        grid-column: 2;
    }
    .yc-profile-meta > .yc-profile-tags,
    .yc-profile-meta > .yc-profile-bio,
    .yc-profile-meta > .yc-vote-bar,
    .yc-profile-meta > .yc-vote-hint {
        grid-column: 1 / -1;
    }
    .yc-profile-name { margin-bottom: var(--yc-sp-2); }
    .yc-profile-tags { margin-top: var(--yc-sp-2); }
}
.yc-profile-tags { display: flex; flex-wrap: wrap; gap: var(--yc-sp-2); margin-bottom: var(--yc-sp-4); }
.yc-profile-bio { font: 400 1.05rem/1.6 var(--yc-font-body); color: var(--yc-ink-2); margin: 0 0 var(--yc-sp-5); max-width: 60ch; }

/* Vote bar */
.yc-vote-bar { display: inline-flex; align-items: center; gap: var(--yc-sp-2); flex-wrap: wrap; }
.yc-vote {
    display: inline-flex; align-items: center; gap: 0.5rem;
    padding: 0.6rem 1rem;
    background: var(--yc-surface);
    border: 1px solid var(--yc-line-strong);
    border-radius: 999px;
    font: 600 0.95rem/1 var(--yc-font-body);
    color: var(--yc-ink-2);
    cursor: pointer;
    transition: all var(--yc-fast) var(--yc-ease);
}
.yc-vote:hover { transform: translateY(-1px); border-color: var(--yc-ink-2); }
.yc-vote:focus-visible { outline: 2px solid var(--yc-red); outline-offset: 2px; }
.yc-vote--up.is-active { background: var(--yc-teal); border-color: var(--yc-teal); color: #fff; }
.yc-vote--down.is-active { background: var(--yc-red); border-color: var(--yc-red); color: #fff; }
.yc-vote.is-pulse { animation: yc-pulse 360ms var(--yc-ease); }
@keyframes yc-pulse { 0% { transform: scale(1); } 40% { transform: scale(1.08); } 100% { transform: scale(1); } }
.yc-vote-meta { color: var(--yc-ink-3); font-size: 0.9rem; margin-left: var(--yc-sp-3); }
.yc-vote-hint { margin-top: var(--yc-sp-3); color: var(--yc-ink-3); font-size: 0.92rem; }

/* Profile sections */
.yc-profile-section { margin-bottom: var(--yc-sp-8); }

.yc-video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: var(--yc-sp-4);
}
.yc-video-card {
    display: block; text-decoration: none; color: var(--yc-ink);
    background: var(--yc-surface); border: 1px solid var(--yc-line); border-radius: var(--yc-radius);
    overflow: hidden;
    transition: transform var(--yc-base) var(--yc-ease), box-shadow var(--yc-base);
}
.yc-video-card:hover { transform: translateY(-2px); box-shadow: var(--yc-shadow); }
.yc-video-thumb { position: relative; aspect-ratio: 16 / 9; background: var(--yc-bg-subtle); overflow: hidden; }
.yc-video-thumb img { width: 100%; height: 100%; object-fit: cover; }
.yc-video-play {
    position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
    color: #fff; font-size: 2.4rem;
    background: linear-gradient(180deg, rgba(0,0,0,0) 30%, rgba(0,0,0,0.45));
    opacity: 0.85;
    transition: opacity var(--yc-fast);
}
.yc-video-card:hover .yc-video-play { opacity: 1; }
.yc-video-title { margin: 0; padding: var(--yc-sp-3) var(--yc-sp-4); font: 600 0.95rem/1.35 var(--yc-font-body); }

/* Reviews */
.yc-review-form {
    display: flex; flex-direction: column; gap: var(--yc-sp-3);
    background: var(--yc-surface);
    padding: var(--yc-sp-5);
    border: 1px solid var(--yc-line);
    border-radius: var(--yc-radius);
    margin-bottom: var(--yc-sp-5);
}
.yc-review-form textarea {
    padding: var(--yc-sp-3);
    border: 1px solid var(--yc-line);
    border-radius: var(--yc-radius-sm);
    font: 400 0.95rem/1.5 var(--yc-font-body);
    resize: vertical;
}
.yc-review-form textarea:focus { outline: 2px solid var(--yc-red); outline-offset: 2px; border-color: transparent; }
.yc-review-form button { align-self: flex-start; }

.yc-rating-input { display: inline-flex; gap: 0.2rem; }
.yc-star {
    background: none; border: none; cursor: pointer;
    font-size: 1.6rem; color: var(--yc-line-strong);
    transition: color var(--yc-fast);
    padding: 0 0.15rem;
}
.yc-star:hover, .yc-star.is-active { color: var(--yc-gold); }

.yc-review-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: var(--yc-sp-4); }
.yc-review {
    background: var(--yc-surface);
    border: 1px solid var(--yc-line);
    border-radius: var(--yc-radius);
    padding: var(--yc-sp-4);
}
.yc-review header { display: flex; gap: var(--yc-sp-3); align-items: baseline; flex-wrap: wrap; margin-bottom: var(--yc-sp-2); }
.yc-review header strong { color: var(--yc-ink); }
.yc-review header time { color: var(--yc-ink-3); font-size: 0.85rem; }
.yc-stars { color: var(--yc-gold); letter-spacing: 0.05em; }
.yc-review p { margin: 0; color: var(--yc-ink-2); line-height: 1.55; }

/* Top list */
.yc-toplist { list-style: none; margin: 0; padding: 0; }
.yc-toplist__item { border-bottom: 1px solid var(--yc-line); }
.yc-toplist__item:last-child { border-bottom: 0; }
.yc-toplist__item a {
    display: grid; grid-template-columns: 3rem 1fr auto;
    align-items: center;
    gap: var(--yc-sp-4);
    padding: var(--yc-sp-3) var(--yc-sp-2);
    text-decoration: none;
    color: var(--yc-ink);
    transition: background var(--yc-fast);
}
.yc-toplist__item a:hover { background: var(--yc-bg-subtle); }
.yc-toplist__rank { font: 700 1.2rem/1 var(--yc-font-mono); color: var(--yc-red); }
.yc-toplist__name { font: 600 1.05rem/1 var(--yc-font-display); }
.yc-toplist__votes { color: var(--yc-ink-3); font-size: 0.85rem; }

/* Lists page */
.yc-list-grid {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: var(--yc-sp-5);
}
.yc-list-card {
    display: block; text-decoration: none;
    background: var(--yc-surface);
    border: 1px solid var(--yc-line);
    border-radius: var(--yc-radius-lg);
    padding: var(--yc-sp-6);
    color: var(--yc-ink);
    position: relative; overflow: hidden;
    transition: transform var(--yc-base) var(--yc-ease), box-shadow var(--yc-base);
    border-top: 4px solid var(--list-color, var(--yc-red));
}
.yc-list-card:hover { transform: translateY(-3px); box-shadow: var(--yc-shadow); }
.yc-list-card__badge {
    display: inline-block;
    padding: 0.3rem 0.6rem;
    font: 700 0.7rem/1 var(--yc-font-mono);
    text-transform: uppercase; letter-spacing: 0.08em;
    background: var(--list-color, var(--yc-red));
    color: #fff;
    border-radius: var(--yc-radius-sm);
    margin-bottom: var(--yc-sp-3);
}
.yc-list-card__title { margin: 0 0 var(--yc-sp-2); font: 700 1.35rem/1.15 var(--yc-font-display); letter-spacing: -0.01em; }
.yc-list-card__desc { margin: 0; color: var(--yc-ink-3); line-height: 1.55; }

/* Single list */
.yc-list-detail { max-width: 800px; margin: 0 auto; padding: var(--yc-sp-6) var(--yc-sp-5); }
.yc-list-detail__hero {
    padding: var(--yc-sp-8) 0;
    border-bottom: 4px solid var(--list-color, var(--yc-red));
    margin-bottom: var(--yc-sp-6);
}
.yc-list-detail__badge {
    display: inline-block;
    padding: 0.3rem 0.7rem;
    background: var(--list-color, var(--yc-red));
    color: #fff;
    font: 700 0.7rem/1 var(--yc-font-mono);
    text-transform: uppercase; letter-spacing: 0.08em;
    border-radius: var(--yc-radius-sm);
    margin-bottom: var(--yc-sp-3);
}
.yc-list-detail__title { margin: 0 0 var(--yc-sp-3); font: 700 clamp(2rem, 5vw, 3.5rem)/1 var(--yc-font-display); letter-spacing: -0.025em; }
.yc-list-detail__desc { margin: 0; color: var(--yc-ink-2); font-size: 1.1rem; line-height: 1.55; max-width: 60ch; }

.yc-list-items { list-style: none; padding: 0; margin: 0; counter-reset: yc-list; }
.yc-list-item { border-bottom: 1px solid var(--yc-line); }
.yc-list-item a {
    display: grid; grid-template-columns: 3.5rem 1fr;
    grid-template-rows: auto auto;
    align-items: center; column-gap: var(--yc-sp-4);
    padding: var(--yc-sp-4) 0;
    text-decoration: none; color: var(--yc-ink);
    transition: padding var(--yc-base);
}
.yc-list-item a:hover { padding-left: var(--yc-sp-3); }
.yc-list-item__pos { grid-row: 1 / span 2; font: 700 2rem/1 var(--yc-font-mono); color: var(--list-color, var(--yc-red)); }
.yc-list-item__name { font: 600 1.2rem/1.2 var(--yc-font-display); }
.yc-list-item__note { color: var(--yc-ink-3); font-size: 0.9rem; margin-top: 0.2rem; }

/* Account stats */
.yc-account { max-width: 1100px; margin: 0 auto; padding: var(--yc-sp-6) var(--yc-sp-5); }
.yc-account-stats { display: flex; gap: var(--yc-sp-4); margin-bottom: var(--yc-sp-8); flex-wrap: wrap; }
.yc-stat-card {
    flex: 1 1 160px;
    background: var(--yc-surface);
    border: 1px solid var(--yc-line);
    border-radius: var(--yc-radius);
    padding: var(--yc-sp-5);
}
.yc-stat-card__num { font: 700 2.2rem/1 var(--yc-font-display); color: var(--yc-ink); }
.yc-stat-card__label { color: var(--yc-ink-3); font-size: 0.92rem; margin-top: var(--yc-sp-2); }

/* Toast */
.yc-toast {
    position: fixed; bottom: 1.5rem; left: 50%;
    transform: translateX(-50%) translateY(120%);
    background: var(--yc-ink); color: var(--yc-bg);
    padding: 0.7rem 1.2rem;
    border-radius: 999px;
    font: 500 0.92rem/1 var(--yc-font-body);
    box-shadow: var(--yc-shadow-lg);
    z-index: 9999;
    transition: transform var(--yc-base) var(--yc-ease);
    pointer-events: none;
}
.yc-toast.is-visible { transform: translateX(-50%) translateY(0); }

/* Vote confetti — animated emoji bursts */
.yc-burst-particle {
    position: fixed;
    z-index: 10000;
    pointer-events: none;
    font-size: 1.4rem;
    line-height: 1;
    transform: translate(-50%, -50%);
    will-change: transform, opacity;
    animation: yc-burst 0.85s var(--yc-ease) forwards;
    user-select: none;
}
.yc-burst-particle[data-dir="up"] {
    animation-name: yc-burst-up;
}
.yc-burst-particle[data-dir="down"] {
    animation-name: yc-burst-down;
}

@keyframes yc-burst-up {
    0% {
        transform: translate(-50%, -50%) scale(0) rotate(0);
        opacity: 0;
    }
    20% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(var(--scale, 1)) rotate(0);
    }
    100% {
        transform:
            translate(calc(-50% + var(--tx, 0)), calc(-50% + var(--ty, -80px)))
            scale(var(--scale, 1))
            rotate(var(--rot, 0));
        opacity: 0;
    }
}

@keyframes yc-burst-down {
    0% {
        transform: translate(-50%, -50%) scale(0) rotate(0);
        opacity: 0;
    }
    20% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(var(--scale, 1)) rotate(0);
    }
    100% {
        transform:
            translate(calc(-50% + var(--tx, 0)), calc(-50% + var(--ty, 80px)))
            scale(var(--scale, 1))
            rotate(var(--rot, 0));
        opacity: 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    .yc-burst-particle { display: none; }
}

/* =========================================================
   Leaderboard rows + category tabs (Push 2)
   ========================================================= */

/* Tabs */
.yc-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: var(--yc-sp-2);
    margin: var(--yc-sp-5) 0;
    border-bottom: 1px solid var(--yc-line);
    padding-bottom: var(--yc-sp-3);
}
.yc-tab {
    display: inline-flex;
    align-items: center;
    padding: 0.55rem 1rem;
    background: var(--yc-surface);
    border: 1px solid var(--yc-line);
    border-radius: 999px;
    font: 600 0.92rem/1 var(--yc-font-body);
    color: var(--yc-ink-2);
    text-decoration: none;
    transition: all var(--yc-fast) var(--yc-ease);
    white-space: nowrap;
}
.yc-tab:hover {
    background: var(--yc-bg-subtle);
    border-color: var(--yc-line-strong);
    color: var(--yc-ink);
    transform: translateY(-1px);
}
.yc-tab.is-active {
    background: var(--yc-ink);
    color: var(--yc-bg);
    border-color: var(--yc-ink);
}
.yc-tab.is-active:hover {
    background: var(--yc-ink);
    color: var(--yc-bg);
    transform: translateY(-1px);
}

/* Leaderboard list */
.yc-leaderboard {
    list-style: none;
    margin: 0;
    padding: 0;
    background: var(--yc-surface);
    border: 1px solid var(--yc-line);
    border-radius: var(--yc-radius);
    overflow: hidden;
}

.yc-leader-row {
    display: grid;
    grid-template-columns: 64px 1fr auto auto;
    align-items: center;
    gap: var(--yc-sp-3);
    padding: var(--yc-sp-3) var(--yc-sp-4);
    border-bottom: 1px solid var(--yc-line);
    transition: background var(--yc-fast);
}
.yc-leader-row:last-child {
    border-bottom: none;
}
.yc-leader-row:hover {
    background: var(--yc-bg-subtle);
}

.yc-leader-row__pos {
    text-align: center;
    font-variant-numeric: tabular-nums;
}
.yc-leader-row__rank {
    font: 700 1.15rem/1 var(--yc-font-mono);
    color: var(--yc-red);
    letter-spacing: -0.01em;
}
.yc-leader-row__legend-mark {
    display: inline-block;
    color: var(--yc-gold);
    font-size: 1.4rem;
    line-height: 1;
}

.yc-leader-row__main {
    display: flex;
    align-items: center;
    gap: var(--yc-sp-3);
    text-decoration: none;
    color: var(--yc-ink);
    min-width: 0;
}

.yc-leader-row__photo {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    overflow: hidden;
    background: var(--yc-bg-subtle);
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--yc-line-strong);
}
.yc-leader-row__photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.yc-leader-row__photo-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
}

.yc-leader-row__body {
    min-width: 0;
}
.yc-leader-row__name {
    margin: 0 0 0.15rem;
    font: 600 1.02rem/1.2 var(--yc-font-display);
    letter-spacing: -0.005em;
    color: var(--yc-ink);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.yc-leader-row__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    color: var(--yc-ink-3);
    font: 500 0.78rem/1.2 var(--yc-font-body);
}
.yc-leader-row__sep {
    color: var(--yc-line-strong);
}

.yc-leader-row__score {
    text-align: right;
    padding: 0 var(--yc-sp-2);
    font-variant-numeric: tabular-nums;
}
.yc-leader-row__score-num {
    display: block;
    font: 800 1.4rem/1 var(--yc-font-mono);
    color: var(--yc-ink);
    letter-spacing: -0.01em;
}

/* Inline vote bar variant — smaller, tighter than profile vote bar */
.yc-vote-bar--inline {
    display: flex;
    gap: var(--yc-sp-1);
}
.yc-vote-bar--inline .yc-vote {
    padding: 0.45rem 0.7rem;
    font-size: 0.85rem;
    gap: 0.35rem;
}
.yc-vote-bar--inline .yc-vote svg {
    width: 14px;
    height: 14px;
}

/* Mobile leaderboard adjustments */
@media (max-width: 720px) {
    .yc-leader-row {
        grid-template-columns: 40px 1fr;
        grid-template-rows: auto auto;
        column-gap: var(--yc-sp-3);
        row-gap: var(--yc-sp-2);
        padding: var(--yc-sp-3);
    }
    .yc-leader-row__pos {
        grid-row: 1;
    }
    .yc-leader-row__main {
        grid-row: 1;
        gap: var(--yc-sp-2);
    }
    .yc-leader-row__photo {
        width: 36px;
        height: 36px;
    }
    .yc-leader-row__name {
        font-size: 0.95rem;
    }
    .yc-leader-row__score {
        grid-row: 2;
        grid-column: 1 / 2;
        text-align: center;
        padding: 0;
    }
    .yc-leader-row__score-num {
        font-size: 1.1rem;
    }
    .yc-vote-bar--inline {
        grid-row: 2;
        grid-column: 2 / 3;
        justify-content: flex-end;
    }
    .yc-vote-bar--inline .yc-vote {
        padding: 0.4rem 0.6rem;
        font-size: 0.78rem;
    }
}

/* List card additions */
.yc-list-card__meta {
    margin: var(--yc-sp-2) 0 0;
    color: var(--yc-ink-3);
    font: 500 0.8rem/1 var(--yc-font-body);
}
.yc-list-detail__count {
    margin: var(--yc-sp-3) 0 0;
    color: var(--yc-ink-3);
    font: 500 0.92rem/1 var(--yc-font-body);
}

/* =========================================================
   Push 2.5 — Ranking consistency: pills, deltas, weekly trend
   ========================================================= */

/* Global-rank pill: small badge next to a comedian's name on non-Top contexts */
.yc-rank-pill {
    display: inline-block;
    padding: 0.18rem 0.5rem;
    margin-left: 0.45rem;
    background: var(--yc-bg-subtle);
    color: var(--yc-ink-2);
    font: 600 0.7rem/1 var(--yc-font-mono);
    border-radius: var(--yc-radius-sm);
    letter-spacing: 0.02em;
    vertical-align: middle;
    border: 1px solid var(--yc-line);
}
.yc-rank-pill--legend {
    background: var(--yc-gold);
    color: var(--yc-ink);
    border-color: var(--yc-gold);
    font-family: var(--yc-font-body);
    text-transform: uppercase;
    font-size: 0.65rem;
}

/* Position-change delta indicators on Top tab */
.yc-delta {
    display: inline-block;
    margin-top: 0.2rem;
    font: 700 0.7rem/1 var(--yc-font-mono);
    letter-spacing: 0.02em;
}
.yc-delta--up    { color: var(--yc-teal-deep); }
.yc-delta--down  { color: var(--yc-red); }
.yc-delta--flat  { color: var(--yc-ink-3); font-size: 1rem; line-height: 0.7; }

/* Stack rank + delta vertically in the position column */
.yc-leader-row__pos {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.1rem;
}

/* Weekly delta on Trending tab */
.yc-leader-row__weekly {
    font-weight: 600;
}
.yc-leader-row__weekly.is-positive { color: var(--yc-teal-deep); }
.yc-leader-row__weekly.is-negative { color: var(--yc-red); }

/* Ensure the rank pill stays aligned with name on mobile */
@media (max-width: 720px) {
    .yc-rank-pill {
        font-size: 0.62rem;
        padding: 0.15rem 0.4rem;
    }
    .yc-leader-row__name {
        white-space: normal;  /* allow pill to wrap rather than overflow */
    }
}

/* =========================================================
   Push 3 — Podcasts + Kill Tony hub
   ========================================================= */

/* Podcast cards (used on profile page + podcast index) */
.yc-podcast-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: var(--yc-sp-3);
}
.yc-podcast-grid--index {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: var(--yc-sp-4);
}
.yc-podcast-card {
    display: block;
    text-decoration: none;
    color: var(--yc-ink);
    background: var(--yc-surface);
    border: 1px solid var(--yc-line);
    border-left: 4px solid var(--podcast-color, var(--yc-red));
    border-radius: var(--yc-radius);
    padding: var(--yc-sp-4);
    transition: transform var(--yc-base) var(--yc-ease), box-shadow var(--yc-base);
}
.yc-podcast-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--yc-shadow);
}
.yc-podcast-card--lg {
    padding: var(--yc-sp-5);
    border-radius: var(--yc-radius-lg);
}
.yc-podcast-card__role {
    display: inline-block;
    padding: 0.2rem 0.55rem;
    margin-bottom: var(--yc-sp-2);
    font: 700 0.65rem/1 var(--yc-font-mono);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--podcast-color, var(--yc-red));
    background: var(--yc-bg-subtle);
    border-radius: var(--yc-radius-sm);
}
.yc-podcast-card__title {
    margin: 0 0 var(--yc-sp-2);
    font: 600 1.1rem/1.2 var(--yc-font-display);
    letter-spacing: -0.005em;
}
.yc-podcast-card--lg .yc-podcast-card__title {
    font-size: 1.3rem;
}
.yc-podcast-card__desc {
    margin: 0 0 var(--yc-sp-2);
    color: var(--yc-ink-3);
    font-size: 0.9rem;
    line-height: 1.5;
}
.yc-podcast-card__meta {
    margin: var(--yc-sp-2) 0 0;
    color: var(--yc-ink-3);
    font: 500 0.78rem/1 var(--yc-font-body);
}

/* Podcast detail */
.yc-podcast-detail {
    max-width: 1100px;
    margin: 0 auto;
    padding: var(--yc-sp-6) var(--yc-sp-5);
}
.yc-podcast-detail__hero {
    background: linear-gradient(160deg, var(--yc-surface) 0%, var(--yc-surface-2) 100%);
    border: 1px solid var(--yc-line);
    border-top: 4px solid var(--podcast-color, var(--yc-red));
    border-radius: var(--yc-radius-xl);
    padding: var(--yc-sp-8);
    margin-bottom: var(--yc-sp-6);
}
.yc-podcast-detail__badge {
    display: inline-block;
    padding: 0.3rem 0.7rem;
    background: var(--podcast-color, var(--yc-red));
    color: #fff;
    font: 700 0.7rem/1 var(--yc-font-mono);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    border-radius: var(--yc-radius-sm);
    margin-bottom: var(--yc-sp-3);
}
.yc-podcast-detail__title {
    margin: 0 0 var(--yc-sp-3);
    font: 700 clamp(2rem, 5vw, 3.2rem)/1 var(--yc-font-display);
    letter-spacing: -0.025em;
}
.yc-podcast-detail__desc {
    margin: 0 0 var(--yc-sp-4);
    color: var(--yc-ink-2);
    font-size: 1.05rem;
    line-height: 1.55;
    max-width: 65ch;
}
.yc-podcast-detail__links {
    display: flex;
    flex-wrap: wrap;
    gap: var(--yc-sp-2);
}
.yc-link-pill {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 1rem;
    background: var(--yc-surface);
    border: 1px solid var(--yc-line-strong);
    border-radius: 999px;
    text-decoration: none;
    color: var(--yc-ink);
    font: 600 0.85rem/1 var(--yc-font-body);
    transition: all var(--yc-fast) var(--yc-ease);
}
.yc-link-pill:hover {
    border-color: var(--podcast-color, var(--yc-ink));
    color: var(--podcast-color, var(--yc-ink));
    transform: translateY(-1px);
}

/* Kill Tony hub — distinctive treatment */
.yc-kill-tony {
    padding: var(--yc-sp-6) 0 var(--yc-sp-10);
}
.yc-kill-tony__hero {
    background: linear-gradient(135deg, #161513 0%, #2a1410 100%);
    color: #FAFAF7;
    border-radius: var(--yc-radius-xl);
    padding: var(--yc-sp-10) var(--yc-sp-8);
    margin-bottom: var(--yc-sp-8);
    position: relative;
    overflow: hidden;
}
.yc-kill-tony__hero::before {
    content: "";
    position: absolute;
    top: -100px; right: -100px;
    width: 400px; height: 400px;
    background: radial-gradient(circle, rgba(255, 68, 56, 0.3), transparent 70%);
    pointer-events: none;
}
.yc-kill-tony__hero::after {
    content: "";
    position: absolute;
    bottom: -80px; left: -80px;
    width: 280px; height: 280px;
    background: radial-gradient(circle, rgba(47, 200, 176, 0.18), transparent 70%);
    pointer-events: none;
}
.yc-kill-tony__eyebrow {
    display: inline-block;
    padding: 0.35rem 0.8rem;
    background: var(--yc-red);
    color: #FAFAF7;
    font: 700 0.7rem/1 var(--yc-font-mono);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border-radius: var(--yc-radius-sm);
    margin-bottom: var(--yc-sp-3);
    position: relative;
}
.yc-kill-tony__title {
    margin: 0 0 var(--yc-sp-3);
    font: 700 clamp(2.5rem, 7vw, 4.5rem)/0.95 var(--yc-font-display);
    letter-spacing: -0.04em;
    position: relative;
}
.yc-kill-tony__sub {
    margin: 0 0 var(--yc-sp-5);
    font: 400 1.1rem/1.55 var(--yc-font-body);
    color: rgba(250, 250, 247, 0.82);
    max-width: 60ch;
    position: relative;
}
.yc-kill-tony__links {
    display: flex;
    flex-wrap: wrap;
    gap: var(--yc-sp-3);
    position: relative;
}
.yc-kill-tony .yc-button--ghost {
    background: transparent;
    color: #FAFAF7;
    border-color: rgba(250, 250, 247, 0.3);
}
.yc-kill-tony .yc-button--ghost:hover {
    background: rgba(250, 250, 247, 0.1);
}

@media (max-width: 720px) {
    .yc-kill-tony__hero {
        padding: var(--yc-sp-6) var(--yc-sp-5);
        border-radius: var(--yc-radius-lg);
    }
}

/* =========================================================
   Push 4 — Hero leaderboard, KT image, episode cards
   ========================================================= */

/* Episode cards (richer than basic video cards) */
.yc-episode-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: var(--yc-sp-4);
}
.yc-episode-card {
    display: block;
    text-decoration: none;
    color: var(--yc-ink);
    background: var(--yc-surface);
    border: 1px solid var(--yc-line);
    border-radius: var(--yc-radius);
    overflow: hidden;
    transition: transform var(--yc-base) var(--yc-ease), box-shadow var(--yc-base);
}
.yc-episode-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--yc-shadow);
}
.yc-episode-thumb {
    position: relative;
    aspect-ratio: 16 / 9;
    background: var(--yc-bg-subtle);
    overflow: hidden;
}
.yc-episode-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.yc-episode-play {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 2.4rem;
    background: linear-gradient(180deg, rgba(0,0,0,0) 30%, rgba(0,0,0,0.45));
    opacity: 0.85;
    transition: opacity var(--yc-fast);
}
.yc-episode-card:hover .yc-episode-play { opacity: 1; }
.yc-episode-body {
    padding: var(--yc-sp-3) var(--yc-sp-4) var(--yc-sp-4);
}
.yc-episode-title {
    margin: 0 0 var(--yc-sp-2);
    font: 600 0.95rem/1.35 var(--yc-font-body);
    color: var(--yc-ink);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.yc-episode-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.35rem;
    color: var(--yc-ink-3);
    font: 500 0.8rem/1.2 var(--yc-font-body);
}
.yc-episode-meta__sep { color: var(--yc-line-strong); }

/* Kill Tony hero image + credit */
.yc-kill-tony__hero {
    display: grid;
    grid-template-columns: 1fr 0.9fr;
    gap: var(--yc-sp-6);
    align-items: center;
}
.yc-kill-tony__hero-text {
    position: relative;
    z-index: 2;
}
.yc-kill-tony__hero-image {
    position: relative;
    z-index: 2;
}
.yc-kill-tony__hero-image img {
    width: 100%;
    height: auto;
    border-radius: var(--yc-radius-lg);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}
.yc-kill-tony__credit {
    margin: var(--yc-sp-2) 0 0;
    font: 500 0.7rem/1.3 var(--yc-font-body);
    color: rgba(250, 250, 247, 0.5);
    text-align: right;
}
@media (max-width: 900px) {
    .yc-kill-tony__hero {
        grid-template-columns: 1fr;
    }
    .yc-kill-tony__hero-image {
        order: -1;
        margin-bottom: var(--yc-sp-4);
    }
}

/* Hero homepage layout — two-column with mini leaderboard on right */
.yc-hero {
    display: grid;
    grid-template-columns: 1fr 0.8fr;
    gap: var(--yc-sp-8);
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--yc-sp-8) var(--yc-sp-5) var(--yc-sp-10);
    position: relative;
}
.yc-hero__inner {
    position: relative;
    z-index: 2;
}

/* Mini leaderboard card */
.yc-hero__leaderboard {
    position: relative;
    z-index: 2;
}
.yc-hero__leaderboard-card {
    background: var(--yc-surface);
    border: 1px solid var(--yc-line);
    border-radius: var(--yc-radius-lg);
    padding: var(--yc-sp-5);
    box-shadow: var(--yc-shadow-lg);
    position: relative;
}
.yc-hero__leaderboard-card::before {
    content: "";
    position: absolute;
    top: -2px; left: -2px; right: -2px; bottom: -2px;
    background: linear-gradient(135deg, var(--yc-red), var(--yc-teal));
    border-radius: var(--yc-radius-lg);
    z-index: -1;
    opacity: 0.15;
}
.yc-hero__leaderboard-head {
    margin-bottom: var(--yc-sp-4);
    padding-bottom: var(--yc-sp-3);
    border-bottom: 1px solid var(--yc-line);
}
.yc-hero__leaderboard-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font: 700 0.65rem/1 var(--yc-font-mono);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--yc-red);
}
.yc-hero__leaderboard-eyebrow::before {
    content: "";
    width: 6px; height: 6px;
    background: var(--yc-red);
    border-radius: 50%;
    animation: yc-pulse-dot 1.6s var(--yc-ease) infinite;
}
@keyframes yc-pulse-dot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50%      { opacity: 0.4; transform: scale(0.7); }
}
.yc-hero__leaderboard-title {
    margin: var(--yc-sp-2) 0 0;
    font: 700 1.5rem/1.1 var(--yc-font-display);
    letter-spacing: -0.015em;
    color: var(--yc-ink);
}
.yc-hero__leaderboard-list {
    list-style: none;
    margin: 0 0 var(--yc-sp-4);
    padding: 0;
    counter-reset: hero-rank;
}
.yc-hero__leaderboard-row a {
    display: grid;
    grid-template-columns: 2.4rem 36px 1fr auto;
    align-items: center;
    gap: var(--yc-sp-3);
    padding: var(--yc-sp-2) 0;
    text-decoration: none;
    color: var(--yc-ink);
    border-bottom: 1px solid var(--yc-line);
    transition: padding var(--yc-fast);
}
.yc-hero__leaderboard-row:last-child a {
    border-bottom: none;
}
.yc-hero__leaderboard-row a:hover {
    padding-left: var(--yc-sp-2);
    background: var(--yc-bg-subtle);
}
.yc-hero__leaderboard-rank {
    font: 700 0.95rem/1 var(--yc-font-mono);
    color: var(--yc-red);
}
.yc-hero__leaderboard-photo {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    overflow: hidden;
    background: var(--yc-bg-subtle);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--yc-ink-3);
    font: 700 0.95rem/1 var(--yc-font-display);
}
.yc-hero__leaderboard-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.yc-hero__leaderboard-name {
    font: 600 0.92rem/1.2 var(--yc-font-display);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.yc-hero__leaderboard-votes {
    font: 600 0.78rem/1 var(--yc-font-mono);
    color: var(--yc-ink-3);
}
.yc-hero__leaderboard-link {
    display: inline-block;
    margin-top: var(--yc-sp-2);
    font: 600 0.85rem/1 var(--yc-font-body);
    color: var(--yc-ink-2);
    text-decoration: none;
    transition: color var(--yc-fast);
}
.yc-hero__leaderboard-link:hover {
    color: var(--yc-red);
}

@media (max-width: 900px) {
    .yc-hero {
        grid-template-columns: 1fr;
        gap: var(--yc-sp-6);
        padding-bottom: var(--yc-sp-6);
    }
    .yc-hero__leaderboard-card {
        padding: var(--yc-sp-4);
    }
}

/* =========================================================
   Push 6 — Accounts, profiles, privacy
   ========================================================= */

/* Auth pages (signup/login) — centered card on subtle bg */
.yc-auth {
    min-height: 70vh;
    background: var(--yc-bg-subtle);
    padding: var(--yc-sp-8) var(--yc-sp-5);
    display: flex;
    align-items: center;
    justify-content: center;
}
.yc-auth__container {
    width: 100%;
    max-width: 440px;
}
.yc-auth__card {
    background: var(--yc-surface);
    border: 1px solid var(--yc-line);
    border-radius: var(--yc-radius-lg);
    padding: var(--yc-sp-7);
    box-shadow: var(--yc-shadow);
}
.yc-auth__title {
    margin: 0 0 var(--yc-sp-2);
    font: 700 1.7rem/1.1 var(--yc-font-display);
    letter-spacing: -0.02em;
    color: var(--yc-ink);
}
.yc-auth__sub {
    margin: 0 0 var(--yc-sp-5);
    color: var(--yc-ink-3);
    font-size: 0.95rem;
}
.yc-auth__alert {
    background: rgba(255,68,56,0.08);
    border: 1px solid var(--yc-red);
    color: var(--yc-red-deep, var(--yc-red));
    padding: var(--yc-sp-3);
    border-radius: var(--yc-radius);
    margin-bottom: var(--yc-sp-4);
}
.yc-auth__alert p { margin: 0.25rem 0; font-size: 0.9rem; }
.yc-auth__form {
    display: flex;
    flex-direction: column;
    gap: var(--yc-sp-4);
}
.yc-auth__field {
    display: block;
}
.yc-auth__label {
    display: block;
    font: 600 0.85rem/1 var(--yc-font-body);
    color: var(--yc-ink-2);
    margin-bottom: var(--yc-sp-2);
}
.yc-auth__field input,
.yc-auth__field textarea {
    width: 100%;
    padding: 0.65rem 0.85rem;
    background: var(--yc-bg);
    border: 1px solid var(--yc-line);
    border-radius: var(--yc-radius);
    font: 400 0.95rem/1.4 var(--yc-font-body);
    color: var(--yc-ink);
    transition: border-color var(--yc-fast);
}
.yc-auth__field input:focus,
.yc-auth__field textarea:focus {
    outline: 2px solid var(--yc-red);
    outline-offset: 2px;
    border-color: transparent;
}
.yc-auth__hint {
    display: block;
    margin-top: var(--yc-sp-2);
    color: var(--yc-ink-3);
    font-size: 0.78rem;
    line-height: 1.4;
}
.yc-auth__check {
    display: flex;
    align-items: center;
    gap: var(--yc-sp-2);
    color: var(--yc-ink-2);
    font-size: 0.9rem;
    cursor: pointer;
}
.yc-auth__submit {
    width: 100%;
    padding: 0.85rem;
    margin-top: var(--yc-sp-2);
    font-size: 0.95rem;
}
.yc-auth__footer {
    margin: var(--yc-sp-5) 0 0;
    text-align: center;
    color: var(--yc-ink-3);
    font-size: 0.92rem;
}
.yc-auth__footer a {
    color: var(--yc-link-color, var(--yc-ink));
    font-weight: 600;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}
.yc-auth__footer-small {
    text-align: center;
    margin: var(--yc-sp-2) 0 0;
    font-size: 0.82rem;
}
.yc-auth__footer-small a { color: var(--yc-ink-3); }
.yc-auth__legal {
    margin-top: var(--yc-sp-4);
    text-align: center;
    color: var(--yc-ink-3);
    font-size: 0.78rem;
}

/* Profile page */
.yc-profile {
    padding: var(--yc-sp-7) 0;
}
.yc-profile__hero {
    display: grid;
    grid-template-columns: 140px 1fr;
    gap: var(--yc-sp-5);
    background: var(--yc-surface);
    border: 1px solid var(--yc-line);
    border-radius: var(--yc-radius-lg);
    padding: var(--yc-sp-6);
    margin-bottom: var(--yc-sp-6);
}
.yc-profile__avatar {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    overflow: hidden;
    background: var(--yc-bg-subtle);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--yc-line);
}
.yc-profile__avatar img { width: 100%; height: 100%; object-fit: cover; }
.yc-profile__avatar-letter {
    font: 700 3.5rem/1 var(--yc-font-display);
    color: var(--yc-ink-3);
}
.yc-profile__name {
    margin: 0 0 0.25rem;
    font: 700 2.2rem/1 var(--yc-font-display);
    letter-spacing: -0.02em;
    color: var(--yc-ink);
}
.yc-profile__handle {
    margin: 0 0 var(--yc-sp-2);
    color: var(--yc-ink-3);
    font: 500 0.95rem/1 var(--yc-font-mono);
}
.yc-profile__private-tag {
    display: inline-block;
    padding: 0.25rem 0.6rem;
    background: var(--yc-bg-subtle);
    color: var(--yc-ink-3);
    font-size: 0.78rem;
    border-radius: var(--yc-radius-sm);
    margin: 0;
}
.yc-profile__bio {
    margin: var(--yc-sp-3) 0 0;
    color: var(--yc-ink-2);
    line-height: 1.55;
    max-width: 60ch;
}
.yc-profile__meta {
    margin: var(--yc-sp-3) 0 0;
    color: var(--yc-ink-3);
    font-size: 0.85rem;
}

.yc-profile-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: var(--yc-sp-3);
    margin-bottom: var(--yc-sp-4);
}
.yc-profile-stat {
    background: var(--yc-surface);
    border: 1px solid var(--yc-line);
    border-radius: var(--yc-radius);
    padding: var(--yc-sp-4);
    text-align: center;
}
.yc-profile-stat__num {
    display: block;
    font: 700 1.8rem/1 var(--yc-font-mono);
    color: var(--yc-ink);
    margin-bottom: var(--yc-sp-2);
}
.yc-profile-stat__label {
    font: 500 0.78rem/1 var(--yc-font-body);
    color: var(--yc-ink-3);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

@media (max-width: 720px) {
    .yc-profile__hero {
        grid-template-columns: 1fr;
        text-align: center;
        padding: var(--yc-sp-5);
    }
    .yc-profile__avatar {
        margin: 0 auto;
        width: 100px; height: 100px;
    }
    .yc-profile__avatar-letter { font-size: 2.5rem; }
    .yc-profile__name { font-size: 1.7rem; }
}

/* Profile editor form (within /account) */
.yc-profile-form {
    background: var(--yc-surface);
    border: 1px solid var(--yc-line);
    border-radius: var(--yc-radius-lg);
    padding: var(--yc-sp-5);
    max-width: 600px;
    display: flex;
    flex-direction: column;
    gap: var(--yc-sp-4);
}
.yc-profile-form__privacy {
    background: var(--yc-bg-subtle);
    padding: var(--yc-sp-3) var(--yc-sp-4);
    border-radius: var(--yc-radius);
    align-items: flex-start;
}

/* Privacy / legal page */
.yc-legal__container {
    max-width: 760px;
}
.yc-legal__body {
    margin-top: var(--yc-sp-5);
    color: var(--yc-ink-2);
    line-height: 1.7;
    font-size: 1rem;
}
.yc-legal__body h2 {
    margin: var(--yc-sp-6) 0 var(--yc-sp-2);
    font: 700 1.3rem/1.2 var(--yc-font-display);
    color: var(--yc-ink);
}
.yc-legal__body h2:first-child { margin-top: 0; }
.yc-legal__body p { margin: 0 0 var(--yc-sp-3); }
.yc-legal__body a {
    color: var(--yc-link-color, var(--yc-ink));
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* =========================================================
   Push 7 — Tour dates
   ========================================================= */

.yc-tour-list {
    list-style: none;
    margin: 0;
    padding: 0;
    background: var(--yc-surface);
    border: 1px solid var(--yc-line);
    border-radius: var(--yc-radius);
    overflow: hidden;
}

.yc-tour-row {
    display: grid;
    grid-template-columns: 80px 1fr auto;
    align-items: center;
    gap: var(--yc-sp-4);
    padding: var(--yc-sp-3) var(--yc-sp-4);
    border-bottom: 1px solid var(--yc-line);
    transition: background var(--yc-fast);
}
.yc-tour-row:last-child { border-bottom: none; }
.yc-tour-row:hover { background: var(--yc-bg-subtle); }

.yc-tour-row__date {
    text-align: center;
    background: var(--yc-bg-subtle);
    border-radius: var(--yc-radius-sm);
    padding: 0.5rem 0.25rem;
    line-height: 1.1;
}
.yc-tour-row__day {
    display: block;
    font: 700 1.4rem/1 var(--yc-font-display);
    color: var(--yc-ink);
    margin-bottom: 0.1rem;
}
.yc-tour-row__month {
    display: block;
    font: 700 0.7rem/1 var(--yc-font-mono);
    letter-spacing: 0.08em;
    color: var(--yc-red);
    margin-bottom: 0.1rem;
}
.yc-tour-row__year {
    display: block;
    font: 500 0.65rem/1 var(--yc-font-mono);
    color: var(--yc-ink-3);
}

.yc-tour-row__where { min-width: 0; }
.yc-tour-row__venue {
    font: 600 0.95rem/1.3 var(--yc-font-display);
    color: var(--yc-ink);
    margin-bottom: 0.15rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.yc-tour-row__city {
    font: 500 0.85rem/1.3 var(--yc-font-body);
    color: var(--yc-ink-3);
}

.yc-tour-row__cta {
    flex-shrink: 0;
    font-size: 0.85rem;
    padding: 0.5rem 0.9rem;
}

.yc-tour-credit {
    margin: var(--yc-sp-2) 0 0;
    font: 500 0.72rem/1.3 var(--yc-font-body);
    color: var(--yc-ink-3);
    text-align: right;
}

.yc-empty-state--cta {
    text-align: center;
    padding: var(--yc-sp-5) var(--yc-sp-4);
}
.yc-empty-state--cta p {
    margin: 0 0 var(--yc-sp-3);
}

@media (max-width: 600px) {
    .yc-tour-row {
        grid-template-columns: 60px 1fr;
        grid-template-rows: auto auto;
        gap: var(--yc-sp-2) var(--yc-sp-3);
    }
    .yc-tour-row__date {
        grid-row: 1 / 3;
        padding: 0.4rem 0.2rem;
    }
    .yc-tour-row__day { font-size: 1.15rem; }
    .yc-tour-row__cta {
        grid-column: 2;
        justify-self: start;
        padding: 0.45rem 0.8rem;
        font-size: 0.78rem;
    }
}

/* =========================================================
   Push 9 — Follow button, Top 5, modals
   ========================================================= */

/* Follow button on profile pages */
.yc-follow-btn {
    margin-top: var(--yc-sp-3);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.55rem 1.1rem;
    border: 1.5px solid var(--yc-ink);
    background: transparent;
    color: var(--yc-ink);
    font: 600 0.92rem/1 var(--yc-font-body);
    border-radius: 999px;
    cursor: pointer;
    transition: all var(--yc-fast) var(--yc-ease);
}
.yc-follow-btn:hover { background: var(--yc-bg-subtle); }
.yc-follow-btn .yc-follow-icon-check { display: none; }
.yc-follow-btn .yc-follow-label-active,
.yc-follow-btn .yc-follow-label-hover { display: none; }

.yc-follow-btn.is-following {
    background: var(--yc-ink);
    color: var(--yc-bg);
    border-color: var(--yc-ink);
}
.yc-follow-btn.is-following .yc-follow-icon-add,
.yc-follow-btn.is-following .yc-follow-label-default { display: none; }
.yc-follow-btn.is-following .yc-follow-icon-check,
.yc-follow-btn.is-following .yc-follow-label-active { display: inline-flex; }
.yc-follow-btn.is-following:hover {
    background: rgba(255,68,56,0.12);
    color: var(--yc-red);
    border-color: var(--yc-red);
}
.yc-follow-btn.is-following:hover .yc-follow-icon-check,
.yc-follow-btn.is-following:hover .yc-follow-label-active { display: none; }
.yc-follow-btn.is-following:hover .yc-follow-label-hover { display: inline-flex; }

/* Top 5 grid */
.yc-top5-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: var(--yc-sp-3);
    margin-bottom: var(--yc-sp-3);
}
@media (max-width: 720px) {
    .yc-top5-grid { grid-template-columns: repeat(2, 1fr); }
}

.yc-top5-slot {
    position: relative;
    background: var(--yc-surface);
    border: 1px solid var(--yc-line);
    border-radius: var(--yc-radius-lg);
    padding: var(--yc-sp-3);
    text-align: center;
    min-height: 200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    transition: border-color var(--yc-fast), transform var(--yc-fast);
}
.yc-top5-slot.is-empty.is-editable:hover {
    border-color: var(--yc-line-strong);
    transform: translateY(-2px);
    cursor: pointer;
}
.yc-top5-slot.is-filled:hover { border-color: var(--yc-line-strong); }

.yc-top5-slot__rank {
    font: 800 1.1rem/1 var(--yc-font-mono);
    color: var(--yc-red);
    margin-bottom: var(--yc-sp-3);
    letter-spacing: -0.02em;
}

.yc-top5-slot__link {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: var(--yc-ink);
    width: 100%;
}
.yc-top5-slot__photo {
    display: flex;
    width: 88px;
    height: 88px;
    border-radius: 50%;
    object-fit: cover;
    background: var(--yc-bg-subtle);
    border: 1px solid var(--yc-line);
    margin-bottom: var(--yc-sp-2);
    align-items: center;
    justify-content: center;
    font: 700 1.6rem/1 var(--yc-font-display);
    color: var(--yc-ink-3);
}
.yc-top5-slot__name {
    font: 600 0.92rem/1.25 var(--yc-font-display);
    color: var(--yc-ink);
    text-align: center;
    line-height: 1.2;
}

.yc-top5-slot__edit {
    position: absolute;
    top: var(--yc-sp-2);
    right: var(--yc-sp-2);
    background: transparent;
    border: none;
    color: var(--yc-ink-3);
    font-size: 1.2rem;
    cursor: pointer;
    padding: 0.2rem 0.45rem;
    line-height: 1;
    border-radius: 4px;
}
.yc-top5-slot__edit:hover { color: var(--yc-ink); background: var(--yc-bg-subtle); }

.yc-top5-slot__add {
    background: transparent;
    border: none;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--yc-sp-2);
    color: var(--yc-ink-3);
    width: 100%;
    flex: 1;
    padding: var(--yc-sp-2);
}
.yc-top5-slot__add-plus {
    font: 300 2.5rem/1 var(--yc-font-display);
    color: var(--yc-ink-3);
}
.yc-top5-slot.is-empty.is-editable:hover .yc-top5-slot__add-plus { color: var(--yc-red); }
.yc-top5-slot__add-label {
    font: 500 0.82rem/1.2 var(--yc-font-body);
    color: var(--yc-ink-3);
}

.yc-top5-slot__placeholder {
    color: var(--yc-line-strong);
    font: 700 1.5rem/1 var(--yc-font-mono);
    margin-top: var(--yc-sp-3);
}

.yc-top5-hint {
    font: 500 0.82rem/1.4 var(--yc-font-body);
    color: var(--yc-ink-3);
    margin: 0;
}

/* Recently Followed strip */
.yc-recent-follows {
    display: flex;
    flex-wrap: wrap;
    gap: var(--yc-sp-3);
}
.yc-recent-follow {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: var(--yc-ink);
    width: 90px;
    text-align: center;
}
.yc-recent-follow img,
.yc-recent-follow__placeholder {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    object-fit: cover;
    background: var(--yc-bg-subtle);
    border: 1px solid var(--yc-line);
    display: flex;
    align-items: center;
    justify-content: center;
    font: 700 1.3rem/1 var(--yc-font-display);
    color: var(--yc-ink-3);
    margin-bottom: var(--yc-sp-2);
}
.yc-recent-follow__name {
    font: 500 0.82rem/1.2 var(--yc-font-body);
    color: var(--yc-ink);
}
.yc-recent-follow:hover .yc-recent-follow__name { color: var(--yc-red); }

/* Clickable stat (Following counter) */
.yc-profile-stat--clickable {
    background: var(--yc-surface);
    border: 1px solid var(--yc-line);
    border-radius: var(--yc-radius);
    padding: var(--yc-sp-4);
    text-align: center;
    cursor: pointer;
    transition: border-color var(--yc-fast), transform var(--yc-fast);
    font-family: inherit;
}
.yc-profile-stat--clickable:hover {
    border-color: var(--yc-line-strong);
    transform: translateY(-1px);
}

/* Modals */
.yc-modal {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--yc-sp-4);
}
.yc-modal[hidden] { display: none; }
.yc-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(20, 18, 16, 0.55);
    backdrop-filter: blur(2px);
}
.yc-modal__panel {
    position: relative;
    background: var(--yc-surface);
    border-radius: var(--yc-radius-lg);
    box-shadow: 0 20px 60px rgba(0,0,0,0.25);
    width: 100%;
    max-width: 480px;
    max-height: 80vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}
.yc-modal__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--yc-sp-4) var(--yc-sp-5);
    border-bottom: 1px solid var(--yc-line);
}
.yc-modal__title {
    margin: 0;
    font: 700 1.1rem/1.2 var(--yc-font-display);
    color: var(--yc-ink);
}
.yc-modal__close {
    background: transparent;
    border: none;
    color: var(--yc-ink-3);
    font-size: 1.6rem;
    cursor: pointer;
    line-height: 1;
    padding: 0.2rem 0.5rem;
}
.yc-modal__close:hover { color: var(--yc-ink); }
.yc-modal__body {
    overflow-y: auto;
    padding: var(--yc-sp-4) var(--yc-sp-5);
    flex: 1;
}

/* Following list inside modal */
.yc-following-list {
    list-style: none;
    margin: 0;
    padding: 0;
}
.yc-following-list li { margin: 0; }
.yc-following-list a {
    display: flex;
    align-items: center;
    gap: var(--yc-sp-3);
    padding: var(--yc-sp-2) 0;
    text-decoration: none;
    color: var(--yc-ink);
    border-bottom: 1px solid var(--yc-line);
}
.yc-following-list li:last-child a { border-bottom: none; }
.yc-following-list a:hover { color: var(--yc-red); }
.yc-following-list img,
.yc-following-list__placeholder {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    background: var(--yc-bg-subtle);
    display: flex;
    align-items: center;
    justify-content: center;
    font: 700 1rem/1 var(--yc-font-display);
    color: var(--yc-ink-3);
}

/* Top 5 picker modal */
.yc-top5-search {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--yc-line);
    border-radius: var(--yc-radius);
    font: 400 1rem/1.4 var(--yc-font-body);
    margin-bottom: var(--yc-sp-3);
}
.yc-top5-search:focus { outline: 2px solid var(--yc-red); outline-offset: 2px; border-color: transparent; }

.yc-top5-results {
    list-style: none;
    margin: 0 0 var(--yc-sp-3);
    padding: 0;
}
.yc-top5-results__hint {
    padding: var(--yc-sp-3);
    text-align: center;
    color: var(--yc-ink-3);
    font-size: 0.9rem;
}
.yc-top5-results__item {
    display: flex;
    align-items: center;
    gap: var(--yc-sp-3);
    padding: var(--yc-sp-2) var(--yc-sp-3);
    cursor: pointer;
    border-radius: var(--yc-radius);
    margin: 0;
}
.yc-top5-results__item:hover { background: var(--yc-bg-subtle); }
.yc-top5-results__item img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}
.yc-top5-results__placeholder {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--yc-bg-subtle);
    display: flex;
    align-items: center;
    justify-content: center;
    font: 700 1rem/1 var(--yc-font-display);
    color: var(--yc-ink-3);
}
.yc-top5-results__name {
    font: 600 0.95rem/1.2 var(--yc-font-display);
    color: var(--yc-ink);
}
.yc-top5-results__legend {
    display: inline-block;
    margin-left: 0.4rem;
    padding: 0.1rem 0.4rem;
    background: var(--yc-gold);
    color: var(--yc-ink);
    font: 600 0.65rem/1 var(--yc-font-body);
    border-radius: var(--yc-radius-sm);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.yc-top5-clear-row {
    text-align: center;
    padding-top: var(--yc-sp-3);
    border-top: 1px solid var(--yc-line);
}

/* =========================================================
   Push 10 — Live Comedy, Venues, Homepage Hot Tickets
   ========================================================= */

/* Live Comedy page */
.yc-live { padding: var(--yc-sp-7) 0; }
.yc-live__header { margin-bottom: var(--yc-sp-6); }
.yc-live__title {
    margin: 0 0 var(--yc-sp-2);
    font: 800 2.4rem/1 var(--yc-font-display);
    letter-spacing: -0.02em;
    color: var(--yc-ink);
}
.yc-live__sub {
    margin: 0;
    color: var(--yc-ink-2);
    max-width: 60ch;
    font-size: 1.05rem;
    line-height: 1.5;
}

/* Filter bar */
.yc-live-filters {
    background: var(--yc-surface);
    border: 1px solid var(--yc-line);
    border-radius: var(--yc-radius-lg);
    padding: var(--yc-sp-4);
    margin-bottom: var(--yc-sp-5);
}
.yc-live-filters__row {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 1fr auto;
    gap: var(--yc-sp-3);
    align-items: end;
}
.yc-live-filters__field { display: block; min-width: 0; max-width: 100%; }
.yc-live-filters__label {
    display: block;
    font: 600 0.75rem/1 var(--yc-font-body);
    color: var(--yc-ink-2);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.4rem;
}
.yc-live-filters__field input,
.yc-live-filters__field select {
    width: 100%;
    padding: 0.55rem 0.7rem;
    border: 1px solid var(--yc-line);
    border-radius: var(--yc-radius);
    font: 400 0.9rem/1.4 var(--yc-font-body);
    background: var(--yc-bg);
    color: var(--yc-ink);
    box-sizing: border-box;
    min-height: 42px;
}
/* iOS Safari date input fix.
   iOS adds extra width to date inputs that breaks our column layout, AND
   it suppresses the mm/dd/yyyy placeholder text under certain conditions.
   The fixes:
   1. Apply -webkit-appearance: none to remove iOS's native widget chrome
      that was making the box wider than its column.
   2. max-width: 100% to clamp the input to its grid cell.
   3. Force the WebKit pseudo-elements to render visibly so the
      mm/dd/yyyy text shows up. */
.yc-live-filters__field input[type="date"] {
    -webkit-appearance: none;
    appearance: none;
    min-height: 42px;
    width: 100%;
    max-width: 100%;
    line-height: 1.4;
    color: var(--yc-ink);
    font-family: var(--yc-font-body);
    font-size: 0.9rem;
    background-color: var(--yc-bg);
}
/* Make sure the inner WebKit elements stay within bounds */
.yc-live-filters__field input[type="date"]::-webkit-date-and-time-value {
    text-align: left;
    min-height: 1.4em;
    width: 100%;
    max-width: 100%;
}
.yc-live-filters__field input[type="date"]::-webkit-datetime-edit {
    color: var(--yc-ink);
    padding: 0;
    line-height: 1.4;
    display: inline-block;
    width: auto;
}
/* iOS Safari needs each individual date sub-field colored explicitly
   for the placeholder text to render visibly. */
.yc-live-filters__field input[type="date"]::-webkit-datetime-edit-text,
.yc-live-filters__field input[type="date"]::-webkit-datetime-edit-month-field,
.yc-live-filters__field input[type="date"]::-webkit-datetime-edit-day-field,
.yc-live-filters__field input[type="date"]::-webkit-datetime-edit-year-field {
    color: var(--yc-ink-3);
    padding: 0 1px;
}
/* When the user picks a date, switch the text color from placeholder-grey
   to primary ink so it reads as filled-in. */
.yc-live-filters__field input[type="date"]:valid::-webkit-datetime-edit-month-field,
.yc-live-filters__field input[type="date"]:valid::-webkit-datetime-edit-day-field,
.yc-live-filters__field input[type="date"]:valid::-webkit-datetime-edit-year-field {
    color: var(--yc-ink);
}
/* Hide the iOS calendar icon button that pushes width wider */
.yc-live-filters__field input[type="date"]::-webkit-calendar-picker-indicator {
    opacity: 0.4;
    cursor: pointer;
    margin-left: 4px;
    padding: 0;
}
/* Custom select chevron — selects need -webkit-appearance: none to remove the
   native chevron, then we add our own. Don't apply this to inputs. */
.yc-live-filters__field select {
    -webkit-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2010%206%22%3E%3Cpath%20d%3D%22M0%200l5%206%205-6z%22%20fill%3D%22%231A1714%22%2F%3E%3C%2Fsvg%3E");
    background-repeat: no-repeat;
    background-position: right 0.7rem center;
    background-size: 10px 6px;
    padding-right: 1.8rem;
}
.yc-live-filters__field input:focus,
.yc-live-filters__field select:focus {
    outline: 2px solid var(--yc-red);
    outline-offset: 1px;
    border-color: transparent;
}
.yc-live-filters__actions {
    display: flex;
    gap: var(--yc-sp-2);
    align-items: center;
}
.yc-live-filters__clear { font-size: 0.85rem; color: var(--yc-ink-3); }
.yc-live-filters__summary {
    margin-top: var(--yc-sp-3);
    padding-top: var(--yc-sp-3);
    border-top: 1px solid var(--yc-line);
    font-size: 0.9rem;
    color: var(--yc-ink-2);
}

@media (max-width: 900px) {
    .yc-live-filters__row {
        grid-template-columns: 1fr 1fr;
    }
    .yc-live-filters__field--wide { grid-column: 1 / 3; }
    .yc-live-filters__actions { grid-column: 1 / 3; }
}
@media (max-width: 480px) {
    .yc-live-filters__row {
        grid-template-columns: 1fr;
    }
    .yc-live-filters__field--wide,
    .yc-live-filters__actions { grid-column: 1; }
}

/* Live Comedy table */
.yc-live-table-wrap {
    background: var(--yc-surface);
    border: 1px solid var(--yc-line);
    border-radius: var(--yc-radius-lg);
    overflow: hidden;
}
.yc-live-table {
    width: 100%;
    border-collapse: collapse;
}
.yc-live-table thead th {
    background: var(--yc-bg-subtle);
    padding: var(--yc-sp-3) var(--yc-sp-4);
    text-align: left;
    font: 600 0.78rem/1 var(--yc-font-body);
    color: var(--yc-ink-2);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-bottom: 1px solid var(--yc-line);
}
.yc-live-table tbody tr {
    border-bottom: 1px solid var(--yc-line);
    transition: background var(--yc-fast);
}
.yc-live-table tbody tr:last-child { border-bottom: none; }
.yc-live-table tbody tr:hover { background: var(--yc-bg-subtle); }
.yc-live-table td {
    padding: var(--yc-sp-3) var(--yc-sp-4);
    vertical-align: middle;
}
.yc-live-sort {
    color: inherit;
    text-decoration: none;
}
.yc-live-sort:hover { color: var(--yc-ink); }
.yc-live-sort__arrow {
    color: var(--yc-red);
    font-weight: 700;
}

.yc-live-table__col-date { width: 90px; }
.yc-live-table__col-cta { width: 120px; text-align: right; }

.yc-live-table__date {
    line-height: 1.15;
}
.yc-live-table__day {
    display: block;
    font: 600 0.7rem/1 var(--yc-font-mono);
    color: var(--yc-red);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 0.15rem;
}
.yc-live-table__date-num {
    display: block;
    font: 700 1rem/1 var(--yc-font-display);
    color: var(--yc-ink);
}
.yc-live-table__year {
    display: block;
    font: 500 0.7rem/1 var(--yc-font-mono);
    color: var(--yc-ink-3);
    margin-top: 0.1rem;
}

.yc-live-table__comedian a {
    display: flex;
    align-items: center;
    gap: var(--yc-sp-3);
    text-decoration: none;
    color: var(--yc-ink);
}
.yc-live-table__comedian a:hover { color: var(--yc-red); }
.yc-live-table__photo {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    background: var(--yc-bg-subtle);
}
.yc-live-table__photo--placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    font: 700 1rem/1 var(--yc-font-display);
    color: var(--yc-ink-3);
    border: 1px solid var(--yc-line);
}
.yc-live-table__comedian-name {
    font: 600 0.95rem/1.2 var(--yc-font-display);
}
.yc-live-table__venue {
    font-weight: 500;
    color: var(--yc-ink);
}
.yc-live-table__city {
    color: var(--yc-ink-3);
    font-size: 0.9rem;
}
.yc-live-table__cta { text-align: right; }

@media (max-width: 720px) {
    .yc-live-table thead { display: none; }
    .yc-live-table tbody tr {
        display: grid;
        grid-template-columns: 56px 1fr auto;
        column-gap: var(--yc-sp-3);
        row-gap: 0.15rem;
        padding: var(--yc-sp-3);
        align-items: center;
    }
    .yc-live-table td { padding: 0; }
    .yc-live-table__date { grid-row: 1 / 4; align-self: center; }
    .yc-live-table__day { font-size: 0.65rem; }
    .yc-live-table__date-num { font-size: 0.95rem; }
    .yc-live-table__year { font-size: 0.65rem; }
    .yc-live-table__comedian {
        grid-column: 2;
        grid-row: 1;
    }
    .yc-live-table__comedian a { gap: var(--yc-sp-2); }
    .yc-live-table__photo { width: 28px; height: 28px; }
    .yc-live-table__comedian-name { font-size: 0.92rem; }
    .yc-live-table__venue {
        grid-column: 2;
        grid-row: 2;
        font-size: 0.82rem;
        line-height: 1.25;
        padding-left: 36px;
    }
    .yc-live-table__city {
        grid-column: 2;
        grid-row: 3;
        font-size: 0.78rem;
        line-height: 1.2;
        padding-left: 36px;
    }
    .yc-live-table__cta {
        grid-column: 3;
        grid-row: 1 / 4;
        align-self: center;
        text-align: right;
        padding: 0;
    }
    .yc-live-table__cta .yc-button {
        padding: 0.4rem 0.7rem;
        font-size: 0.75rem;
    }
}

.yc-pagination {
    margin-top: var(--yc-sp-5);
    display: flex;
    gap: var(--yc-sp-2);
    justify-content: center;
}
.yc-pagination .page-numbers {
    padding: 0.5rem 0.85rem;
    border: 1px solid var(--yc-line);
    border-radius: var(--yc-radius);
    color: var(--yc-ink-2);
    text-decoration: none;
    font: 500 0.9rem/1 var(--yc-font-body);
}
.yc-pagination .page-numbers.current {
    background: var(--yc-ink);
    color: var(--yc-bg);
    border-color: var(--yc-ink);
}
.yc-pagination .page-numbers:hover:not(.current) { border-color: var(--yc-line-strong); }

/* Venue grid */
.yc-venue-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: var(--yc-sp-4);
}
.yc-venue-card {
    background: var(--yc-surface);
    border: 1px solid var(--yc-line);
    border-radius: var(--yc-radius-lg);
    padding: var(--yc-sp-5);
    text-decoration: none;
    color: var(--yc-ink);
    display: block;
    border-top: 4px solid var(--venue-color, var(--yc-red));
    transition: transform var(--yc-fast), border-color var(--yc-fast);
}
.yc-venue-card:hover {
    transform: translateY(-3px);
    border-color: var(--yc-line-strong);
    border-top-color: var(--venue-color, var(--yc-red));
}
.yc-venue-card__name {
    margin: 0 0 var(--yc-sp-1);
    font: 700 1.15rem/1.2 var(--yc-font-display);
    color: var(--yc-ink);
    letter-spacing: -0.01em;
}
.yc-venue-card__location {
    margin: 0 0 var(--yc-sp-2);
    font: 500 0.85rem/1 var(--yc-font-body);
    color: var(--yc-ink-3);
}
.yc-venue-card__desc {
    margin: 0;
    font-size: 0.88rem;
    line-height: 1.5;
    color: var(--yc-ink-2);
}

/* Single venue page */
.yc-venue-detail { padding: var(--yc-sp-7) 0; }
.yc-venue-detail__hero {
    background: var(--yc-surface);
    border: 1px solid var(--yc-line);
    border-radius: var(--yc-radius-lg);
    padding: var(--yc-sp-6);
    margin-bottom: var(--yc-sp-6);
    border-top: 6px solid var(--venue-color, var(--yc-red));
}
.yc-venue-detail__badge {
    display: inline-block;
    padding: 0.3rem 0.7rem;
    background: var(--venue-color, var(--yc-red));
    color: #fff;
    font: 600 0.7rem/1 var(--yc-font-body);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    border-radius: var(--yc-radius-sm);
    margin-bottom: var(--yc-sp-3);
}
.yc-venue-detail__name {
    margin: 0 0 var(--yc-sp-2);
    font: 800 2.4rem/1 var(--yc-font-display);
    letter-spacing: -0.02em;
    color: var(--yc-ink);
}
.yc-venue-detail__location {
    margin: 0 0 var(--yc-sp-3);
    font: 500 1rem/1.4 var(--yc-font-body);
    color: var(--yc-ink-2);
}
.yc-venue-detail__desc {
    margin: 0;
    font-size: 1rem;
    line-height: 1.6;
    color: var(--yc-ink-2);
    max-width: 70ch;
}

/* Hero featured shows (right side of homepage hero) */
.yc-hero__featured { width: 100%; max-width: 380px; }
.yc-hero__featured-card {
    background: var(--yc-surface);
    border: 1px solid var(--yc-line);
    border-radius: var(--yc-radius-lg);
    padding: var(--yc-sp-4);
    box-shadow: var(--yc-shadow);
}
.yc-hero__featured-head { margin-bottom: var(--yc-sp-3); }
.yc-hero__featured-list {
    list-style: none;
    margin: 0 0 var(--yc-sp-3);
    padding: 0;
}
.yc-hero__featured-row { margin: 0; }
.yc-hero__featured-row a {
    display: grid;
    grid-template-columns: 44px 40px 1fr;
    gap: var(--yc-sp-3);
    align-items: center;
    padding: var(--yc-sp-2) 0;
    text-decoration: none;
    color: var(--yc-ink);
    border-bottom: 1px solid var(--yc-line);
}
.yc-hero__featured-row:last-child a { border-bottom: none; }
.yc-hero__featured-row a:hover .yc-hero__featured-name { color: var(--yc-red); }

.yc-hero__featured-date {
    text-align: center;
    line-height: 1;
}
.yc-hero__featured-date-month {
    display: block;
    font: 700 0.65rem/1 var(--yc-font-mono);
    color: var(--yc-red);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 0.2rem;
}
.yc-hero__featured-date-day {
    display: block;
    font: 700 1.3rem/1 var(--yc-font-display);
    color: var(--yc-ink);
}

.yc-hero__featured-photo img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    background: var(--yc-bg-subtle);
}

.yc-hero__featured-info { min-width: 0; }
.yc-hero__featured-name {
    display: block;
    font: 600 0.92rem/1.2 var(--yc-font-display);
    color: var(--yc-ink);
    transition: color var(--yc-fast);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.yc-hero__featured-where {
    display: block;
    font: 500 0.78rem/1.2 var(--yc-font-body);
    color: var(--yc-ink-3);
    margin-top: 0.15rem;
}
.yc-hero__featured-empty { padding: var(--yc-sp-3); text-align: center; color: var(--yc-ink-3); font-size: 0.9rem; }

/* Admin-only source attribution tag on tour rows */
.yc-source-tag {
    display: inline-block;
    margin-top: 0.25rem;
    padding: 0.1rem 0.4rem;
    font: 600 0.65rem/1.2 var(--yc-font-mono);
    color: var(--yc-ink-3);
    background: var(--yc-bg-subtle);
    border: 1px solid var(--yc-line);
    border-radius: 3px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
