/* The Player Council (/council, templates/council.html, static/js/council.js). */
#pc { position: relative; min-height: calc(100vh - 4rem); background: #0a0b0e; color: #e4e4e7; padding-bottom: 48px; }
#pc::before { content: ''; position: absolute; inset: 0 0 auto 0; height: 420px; pointer-events: none;
    background: radial-gradient(ellipse 55% 60% at 50% -10%, rgba(251,191,36,.15), transparent 70%); }
.pc-wrap { position: relative; max-width: 1080px; margin: 0 auto; padding: 0 16px; }
.pc-hero { padding: 40px 0 24px; }
.pc-kicker { font-size: 11px; letter-spacing: .28em; text-transform: uppercase; color: rgba(245,158,11,.85); font-weight: 700; }
.pc-title { font-family: 'Playfair Display', Georgia, serif; font-size: clamp(28px, 5vw, 44px); line-height: 1.1; margin: 8px 0 10px;
    background: linear-gradient(180deg, #fff3c4, #f2cf6b 45%, #c9962f 75%, #f6d77a); -webkit-background-clip: text; background-clip: text; color: transparent; }
.pc-lede { max-width: 620px; color: #a1a1aa; font-size: 15px; line-height: 1.55; }
.pc-stats { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.pc-stat { font-size: 12px; color: #a1a1aa; padding: 6px 12px; border-radius: 999px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08); }
.pc-stat b { color: #fde68a; font-variant-numeric: tabular-nums; }
.pc-stat-unread { border-color: rgba(52,211,153,.45); }
.pc-stat-unread b { color: #6ee7b7; }

.pc-tabs { display: flex; gap: 4px; padding: 4px; border-radius: 999px; background: rgba(0,0,0,.45); border: 1px solid rgba(255,255,255,.07);
    width: max-content; max-width: 100%; overflow-x: auto; margin-bottom: 22px; }
.pc-tab { position: relative; padding: 8px 16px; border-radius: 999px; font-size: 13px; font-weight: 700; color: #a1a1aa; white-space: nowrap; }
.pc-tab:hover { color: #fde68a; }
.pc-tab[aria-selected="true"] { color: #1a1206; background: linear-gradient(180deg, #fde68a, #d9a93f); }
.pc-pip { position: absolute; top: 6px; right: 6px; width: 7px; height: 7px; border-radius: 50%; background: #34d399; box-shadow: 0 0 8px #34d399; }

.pc-h2 { font-family: 'Playfair Display', Georgia, serif; font-size: 20px; color: #fde68a; margin: 0 0 12px; }
#pc-closed-title { margin-top: 34px; }
.pc-hint { font-size: 13px; color: #a1a1aa; margin: -4px 0 14px; }
.pc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 330px), 1fr)); gap: 14px; }
.pc-card { border-radius: 18px; padding: 18px; background: linear-gradient(180deg, #131318, #0b0b0f); border: 1px solid rgba(212,175,55,.2);
    box-shadow: 0 14px 34px rgba(0,0,0,.45), inset 0 1px 0 rgba(255,236,179,.05); min-width: 0; }
.pc-empty { padding: 28px 18px; text-align: center; color: #a1a1aa; border: 1px dashed rgba(255,255,255,.12); border-radius: 18px; }
/* An empty Polls tab offers the page's other action, sending an idea, right where the poll would be. */
.pc-empty-go { display: flex; align-items: center; justify-content: center; width: max-content; min-height: 40px; margin: 14px auto 0; padding: 0 18px;
    border-radius: 12px; font-size: 12px; font-weight: 800; letter-spacing: .1em; color: #1a1206; background: linear-gradient(180deg, #fde68a, #d9a93f); }
.pc-empty-go:focus-visible { outline: 2px solid #fde68a; outline-offset: 3px; }
.pc-short { display: none; }
/* A phone (MOBILE_CLEANUP_PLAN.md phase 5): a shorter hero, the three tabs across the width (Recognised ran into the
   edge; "Suggestions" reads "Ideas" there) and smaller empty states. */
@media (max-width: 480px) {
    .pc-hero { padding: 22px 0 16px; }
    .pc-lede { font-size: 14px; }
    .pc-stats { margin-top: 12px; }
    .pc-tabs { display: grid; grid-template-columns: repeat(3, auto); width: 100%; margin-bottom: 16px; }
    .pc-tab { padding: 9px 8px; min-height: 38px; }
    .pc-long { display: none; }
    .pc-short { display: inline; }
    .pc-empty { padding: 18px 14px; font-size: 14px; border-radius: 14px; }
}

/* Fields */
.pc-link { color: #fcd34d; text-decoration: underline; text-underline-offset: 2px; }
.pc-cols { display: grid; gap: 22px; }
@media (min-width: 900px) { .pc-cols { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); align-items: start; } }
.pc-form { display: grid; gap: 14px; }
.pc-seg { display: inline-flex; padding: 4px; gap: 4px; border-radius: 12px; background: rgba(0,0,0,.4); border: 1px solid rgba(255,255,255,.07); width: max-content; }
.pc-seg label { cursor: pointer; }
.pc-seg input { position: absolute; opacity: 0; pointer-events: none; }
.pc-seg span { display: block; padding: 7px 14px; border-radius: 9px; font-size: 13px; font-weight: 700; color: #a1a1aa; }
.pc-seg input:checked + span { color: #1a1206; background: linear-gradient(180deg, #fde68a, #d9a93f); }
.pc-seg input:focus-visible + span { outline: 2px solid #fcd34d; outline-offset: 2px; }
.pc-field { display: grid; gap: 6px; font-size: 12px; font-weight: 700; color: #a1a1aa; letter-spacing: .04em; }
.pc-field input, .pc-field select, .pc-field textarea, .pc-reply textarea { width: 100%; font: inherit; font-size: 14px; font-weight: 400; letter-spacing: 0; color: #fafafa;
    background: #0d0d12; border: 1px solid rgba(255,255,255,.12); border-radius: 12px; padding: 10px 12px; }
.pc-field textarea, .pc-reply textarea { resize: vertical; min-height: 96px; }
.pc-field input:focus, .pc-field select:focus, .pc-field textarea:focus, .pc-reply textarea:focus { outline: none; border-color: #f2cf6b; box-shadow: 0 0 0 3px rgba(245,158,11,.15); }
.pc-count { justify-self: end; font-weight: 400; color: #71717a; }
.pc-check { display: flex; gap: 8px; align-items: center; font-size: 13px; color: #d4d4d8; }
.pc-check input { accent-color: #f59e0b; }
.pc-note { font-size: 12.5px; line-height: 1.5; color: #a1a1aa; padding: 10px 12px; border-radius: 12px; background: rgba(59,130,246,.06); border: 1px solid rgba(96,165,250,.2); }

/* Your submissions */
.pc-item { border-radius: 14px; background: linear-gradient(180deg, #121217, #0b0b0f); border: 1px solid rgba(255,255,255,.08); margin-bottom: 10px; overflow: hidden; }
.pc-item.unread { border-color: rgba(52,211,153,.5); }
.pc-item > button { display: grid; grid-template-columns: 1fr auto; gap: 4px 10px; width: 100%; text-align: left; padding: 12px 14px; }
.pc-item-title { font-weight: 700; color: #fafafa; overflow-wrap: anywhere; }
.pc-item-meta { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; font-size: 12px; color: #71717a; }
.pc-st { font-size: 11px; font-weight: 800; padding: 2px 8px; border-radius: 999px; white-space: nowrap; align-self: start; border: 1px solid rgba(255,255,255,.15); color: #d4d4d8; }
.pc-st.s-reviewing { color: #93c5fd; border-color: rgba(147,197,253,.4); }
.pc-st.s-planned { color: #fcd34d; border-color: rgba(252,211,77,.45); }
.pc-st.s-done { color: #6ee7b7; border-color: rgba(110,231,183,.45); }
.pc-st.s-declined, .pc-st.s-duplicate { color: #a1a1aa; }
.pc-new { color: #34d399; font-weight: 800; }
.pc-item-body { padding: 0 14px 14px; border-top: 1px solid rgba(255,255,255,.06); }
.pc-md { font-size: 14px; line-height: 1.55; color: #d4d4d8; overflow-wrap: anywhere; padding-top: 12px; }
.pc-msgs { display: grid; gap: 8px; margin-top: 12px; }
.pc-m .pc-md { padding-top: 0; }
.pc-m { padding: 10px 12px; border-radius: 12px; background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.06); }
.pc-m.staff { background: rgba(245,158,11,.06); border-color: rgba(245,158,11,.25); }
.pc-m-who { font-size: 11px; font-weight: 800; letter-spacing: .06em; color: #fcd34d; margin-bottom: 4px; }
.pc-m:not(.staff) .pc-m-who { color: #a1a1aa; }
.pc-reward { margin-top: 12px; padding: 10px 12px; border-radius: 12px; font-size: 13px; color: #fef3c7; background: linear-gradient(90deg, rgba(251,191,36,.16), rgba(251,191,36,.04)); border: 1px solid rgba(251,191,36,.4); }
.pc-reply { display: grid; gap: 8px; margin-top: 12px; }
.pc-reply .pc-btn { justify-self: end; }

/* The Recognised wall */
.pc-wall-card { display: grid; gap: 10px; }
.pc-wall-blurb { font-family: 'Playfair Display', Georgia, serif; font-size: 17px; line-height: 1.4; color: #fafafa; overflow-wrap: anywhere; }
.pc-wall-who { font-size: 13px; color: #a1a1aa; }
.pc-wall-who b { color: #fde68a; }
.pc-wall-prize { font: 800 13px ui-monospace, Menlo, Consolas, monospace; color: #fde68a; }

.pc-skel { background: linear-gradient(90deg, rgba(255,255,255,.03), rgba(255,255,255,.07), rgba(255,255,255,.03)); background-size: 200% 100%;
    animation: pc-skel 1.4s linear infinite; border-radius: 18px; }
.pc-skel-card { height: 260px; }
.pc-skel-row { height: 64px; margin-bottom: 10px; border-radius: 14px; }
@keyframes pc-skel { to { background-position: -200% 0; } }
html.calm-motion .pc-skel { animation: none; }
html.lr-bar #pc { padding-bottom: calc(48px + var(--lr-bar, 0px)); }
