/* ── PEOPLE'S CHOICE VOTING PAGE ─────────────────────────── */
.pc-not-open {
    text-align: center;
    padding: 6rem 2rem;
    max-width: 480px;
    margin: 0 auto;
}

.pc-not-open h2 {
    font-family: var(--font-display);
    font-size: 2rem;
    margin: 1.25rem 0 0.75rem;
}

.pc-not-open p { color: var(--text-muted); }

.pc-results-header {
    margin-bottom: 2.5rem;
}

.pc-results-header h2 {
    font-family: var(--font-display);
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.pc-results-header p { color: var(--text-muted); }

.pc-results-category {
    margin-bottom: 3rem;
}

.pc-results-category h3 {
    font-family: var(--font-display);
    font-size: 1.3rem;
    color: var(--gold);
    margin-bottom: 1.25rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--border);
}

.pc-results-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.pc-result-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 2px;
    position: relative;
}

.pc-result-item--winner {
    border-color: var(--gold);
    background: rgba(201,168,76,0.04);
}

.pc-result-thumb {
    width: 40px;
    height: 60px;
    object-fit: cover;
    border-radius: 1px;
    flex-shrink: 0;
}

.pc-result-info {
    flex: 1;
    min-width: 0;
}

.pc-result-info strong { display: block; font-size: 0.88rem; margin-bottom: 0.15rem; }
.pc-result-info span { font-size: 0.75rem; color: var(--text-muted); display: block; margin-bottom: 0.5rem; }

.pc-result-bar {
    height: 6px;
    background: var(--border);
    border-radius: 3px;
    overflow: hidden;
}

.pc-result-fill {
    height: 100%;
    background: var(--gold);
    border-radius: 3px;
    transition: width 0.6s ease;
}

.pc-result-votes {
    text-align: right;
    flex-shrink: 0;
}

.pc-result-votes strong {
    display: block;
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: var(--gold);
    line-height: 1;
}

.pc-result-votes span { font-size: 0.72rem; color: var(--text-muted); }

.pc-winner-badge {
    position: absolute;
    top: -10px;
    right: 1rem;
    background: var(--gold);
    color: #000;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 0.2rem 0.6rem;
    border-radius: 20px;
}

/* ── VOTING LAYOUT ───────────────────────────────────────── */
.pc-voting-wrap {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 3rem;
    align-items: start;
}

/* Auth panel */
.pc-auth-panel { position: sticky; top: 100px; }

.pc-auth-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 2px;
    padding: 1.75rem;
    margin-bottom: 1rem;
}

.pc-auth-card h2 {
    font-family: var(--font-display);
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.pc-auth-card p {
    font-size: 0.82rem;
    color: var(--text-muted);
    margin-bottom: 1.25rem;
    line-height: 1.6;
}

.pc-auth-card--verified {
    text-align: center;
    border-color: var(--gold);
    background: rgba(201,168,76,0.04);
}

.pc-auth-card--verified h3 {
    font-family: var(--font-display);
    font-size: 1.2rem;
    margin: 0.75rem 0 0.25rem;
}

.pc-auth-card--verified p {
    margin: 0;
    font-size: 0.8rem;
}

.pc-code-input {
    font-size: 1.5rem !important;
    letter-spacing: 0.5rem;
    text-align: center;
    font-family: monospace;
}

.pc-auth-note {
    display: flex;
    gap: 0.5rem;
    align-items: flex-start;
    font-size: 0.75rem;
    color: var(--text-muted);
    line-height: 1.5;
}

.pc-auth-note svg { flex-shrink: 0; margin-top: 1px; }
.pc-auth-note p { margin: 0; }

/* Films panel */
.pc-category-block { margin-bottom: 3rem; }

.pc-category-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.25rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--border);
}

.pc-category-header h2 {
    font-family: var(--font-display);
    font-size: 1.3rem;
    margin: 0;
    flex: 1;
}

.pc-voted-badge {
    font-size: 0.68rem;
    font-weight: 700;
    color: #2ecc71;
    background: rgba(46,204,113,0.1);
    padding: 0.2rem 0.6rem;
    border-radius: 20px;
    letter-spacing: 0.06em;
}

.pc-films-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 1rem;
}

.pc-film-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 2px;
    overflow: hidden;
    transition: border-color 0.2s;
}

.pc-film-card:hover { border-color: rgba(201,168,76,0.4); }

.pc-film-card--voted { border-color: var(--gold); }

.pc-film-poster {
    position: relative;
    aspect-ratio: 2/3;
    background: #111;
    overflow: hidden;
    cursor: pointer;
}

.pc-film-poster img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s;
}

.pc-film-poster:hover img { transform: scale(1.03); }

.pc-film-poster-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
}

.pc-film-play {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,0.4);
    color: #fff;
    opacity: 0;
    transition: opacity 0.2s;
}

.pc-film-poster:hover .pc-film-play { opacity: 1; }

.pc-film-voted-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    background: rgba(201,168,76,0.7);
    color: #000;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.pc-film-info {
    padding: 0.85rem;
}

.pc-film-info strong {
    display: block;
    font-size: 0.82rem;
    line-height: 1.3;
    margin-bottom: 0.2rem;
}

.pc-film-info span {
    font-size: 0.72rem;
    color: var(--text-muted);
    display: block;
    margin-bottom: 0.4rem;
}

.pc-film-info p {
    font-size: 0.72rem;
    color: var(--text-muted);
    line-height: 1.4;
    margin: 0;
}

.pc-vote-form { padding: 0 0.85rem 0.85rem; }

.btn-pc-vote {
    width: 100%;
    padding: 0.6rem;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    background: transparent;
    border: 1px solid var(--border);
    color: var(--text-muted);
    border-radius: 2px;
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.btn-pc-vote:hover {
    border-color: var(--gold);
    color: var(--gold);
}

.btn-pc-vote--active {
    background: var(--gold);
    border-color: var(--gold);
    color: #000;
}

.pc-login-prompt {
    padding: 0.6rem 0.85rem 0.85rem;
    font-size: 0.72rem;
    color: var(--text-muted);
    text-align: center;
}

@media (max-width: 900px) {
    .pc-voting-wrap { grid-template-columns: 1fr; }
    .pc-auth-panel { position: static; }
    .pc-films-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
    .pc-films-grid { grid-template-columns: 1fr 1fr; }
}
