/*
    DRAFT (local only): the Posh Playlist page (/posh-playlist/). Its poster
    hero, the live board, the search rows, the "Your vote" panel and the
    share buttons. Everything else on the page is the site's own
    components (cambs-b2b.css and content.css). Motion is transform and
    opacity only, and stops under prefers-reduced-motion.

    The Posh blue below is read by eye from the club crest the site already
    shows; swap in the club's own value when Holly sends the brand assets.
*/
:root {
    /* The lock-ups' times sign, all three: our logo grey */
    --pp-lockup-x: #7e7e7e;
}

.pp-page {
    --posh-blue: #1d4fd1;
    --posh-blue-light: #8fb0ff;
    --posh-navy: #061640;
    --posh-wash: color-mix(in srgb, var(--posh-blue) 9%, #fff);
}

.pp-page [hidden] {
    display: none !important;
}

/* ---------------- The poster hero ---------------- */

.pp-hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    min-height: clamp(560px, 82vh, 780px);
    background: var(--posh-navy);
    color: #ffffff;
}

/* The feature page gives every section after its own hero a light band and 64px top and bottom
   (content.css, .ps-feature-page > section...). The poster is not one of those bands: no padding,
   and the dark fallback behind its layers, so it ends exactly at the foot of its Presented by bar */
main.ps-feature-page.pp-page > section.pp-hero:not(.ps-feature-hero):not(.ps-cta) {
    padding: 0;
    background: #061640;
}

/* The stadium PA photo as a blue and white duotone: grey, hard contrast,
   screened onto the navy so its darks go blue and its lights go white */
.pp-hero__photo {
    position: absolute;
    inset: 0;
    z-index: -4;
    background: var(--pp-hero-photo) center / cover no-repeat;
    filter: grayscale(1) contrast(1.45) brightness(1.05);
}

/* Multiplying the grey photo by the club blue turns its whites blue and keeps its blacks:
   the duotone. The navy wash then deepens the left, where the words sit */
.pp-hero__tint {
    position: absolute;
    inset: 0;
    z-index: -3;
    background: #5f86ff;
    mix-blend-mode: multiply;
}

.pp-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -2;
    background: linear-gradient(95deg, rgba(6, 22, 64, 0.94) 0%, rgba(6, 22, 64, 0.72) 45%, rgba(6, 22, 64, 0.3) 100%);
}

/* Halftone dots, fading out towards the text */
.pp-hero__dots {
    position: absolute;
    inset: 0;
    z-index: -2;
    background: radial-gradient(rgba(255, 255, 255, 0.22) 1px, transparent 1.7px) 0 0 / 7px 7px;
    -webkit-mask-image: linear-gradient(100deg, transparent 25%, #000 75%);
    mask-image: linear-gradient(100deg, transparent 25%, #000 75%);
    opacity: 0.55;
}

/* Film grain, drawn by an SVG noise filter */
.pp-hero__grain {
    position: absolute;
    inset: 0;
    z-index: -1;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.9'/%3E%3C/svg%3E");
    mix-blend-mode: overlay;
    opacity: 0.16;
    pointer-events: none;
}

.pp-hero__inner {
    position: relative;
    flex: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
    align-items: center;
    gap: 32px;
    padding-top: 40px;
    padding-bottom: 96px;
}

/* The presenting partner, small and after the title: the competition leads */
.pp-presented {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin: 26px 0 0;
}

.pp-presented__words {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

/* The lock-up sits on a white pill, so the blue crest and our logo (its AV grey) both read */
.pp-lockup {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 6px 12px;
    border-radius: var(--radius-pill);
    background: rgba(255, 255, 255, 0.95);
}

.pp-lockup img {
    display: block;
    width: auto;
    height: 22px;
}

.pp-lockup__x {
    color: #7e7e7e;
    font-size: 1.1rem;
    font-weight: 300;
    line-height: 1;
}

.pp-hero__title {
    margin: 0;
    color: #ffffff;
    font-family: var(--font-primary);
    font-size: clamp(3.2rem, 10.5vw, 8.2rem);
    font-weight: 900;
    font-stretch: condensed;
    line-height: 0.86;
    letter-spacing: -0.035em;
    text-transform: uppercase;
}

.pp-hero__title span {
    display: block;
}

.pp-hero__title .pp-hero__title-accent {
    color: var(--posh-blue-light);
}

.pp-hero__match {
    margin: 22px 0 0;
    color: #ffffff;
    font-size: clamp(1rem, 2.2vw, 1.3rem);
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

/* The fixture lock-up under the match line: crest, a small v, crest, on one centre line */
.pp-fixture {
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 16px 0 0;
}

.pp-fixture__badge {
    display: flex;
    align-items: center;
    justify-content: center;
    width: clamp(52px, 7vw, 68px);
    height: clamp(52px, 7vw, 68px);
    padding: 6px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.95);
}

.pp-fixture__badge img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* A crest that brings its own fill (the CUFC roundel on its amber) fills the circle edge to edge */
/* The roundel at about 82% inside its amber circle, an even margin all round; the fill follows the sheet amber, lighter at the top */
.pp-fixture__badge--full {
    overflow: hidden;
    padding: 0;
    background: linear-gradient(180deg, #f5be23, #f2ab1b);
}

.pp-fixture__badge--full img {
    width: 82%;
    height: 82%;
    border-radius: 50%;
    object-fit: cover;
}

.pp-fixture__v {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.pp-hero__sub {
    max-width: 560px;
    margin: 12px 0 0;
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.05rem;
    line-height: 1.65;
}

.pp-hero .ps-hero__actions {
    margin-top: 26px;
}

.pp-hero .btn-outline {
    border-color: rgba(255, 255, 255, 0.7);
    color: #ffffff;
}

/* The stadium PA boxes (the product photo) and their sound rings */
.pp-stack {
    position: relative;
    justify-self: center;
    width: min(100%, 340px);
    aspect-ratio: 374 / 512;
}

.pp-stack__photo {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

/* A very faint, still rim of light that follows the boxes' outline and lifts them off the navy */
.pp-stack__photo {
    display: block;
    object-fit: contain;
    filter: drop-shadow(0 0 16px rgba(143, 176, 255, 0.22));
}


/* The equaliser across the foot of the hero */
.pp-eq {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 46px;
    z-index: 0;
    display: flex;
    align-items: flex-end;
    gap: 6px;
    height: 120px;
    padding: 0 16px;
    opacity: 0.35;
    pointer-events: none;
}

.pp-eq span {
    flex: 1;
    height: 100%;
    border-radius: 3px 3px 0 0;
    background: linear-gradient(to top, var(--posh-blue), var(--posh-blue-light));
    transform-origin: bottom;
    transform: scaleY(0.3);
    animation: ppEq 1s ease-in-out infinite alternate;
}

@keyframes ppEq {
    0% { transform: scaleY(0.12); }
    100% { transform: scaleY(var(--eq-peak, 0.9)); }
}

/* The bar along the foot of the hero: Presented by and the lock-up left, our title right; still */
.pp-bar-presented {
    /* In the flow, last in the hero's column: the hero ends at the bar's foot */
    position: relative;
    margin-top: auto;
    z-index: 1;
    border-top: 1px solid rgba(255, 255, 255, 0.16);
    background: rgba(6, 22, 64, 0.82);
}

.pp-bar-presented .pp-presented {
    justify-content: space-between;
    gap: 8px 24px;
    margin: 0 auto;
    padding-top: 10px;
    padding-bottom: 10px;
}

.pp-presented__lead {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}

/* On a narrow screen the title drops under the lock-up, still at the right */
.pp-bar-presented .pp-presented > .pp-presented__words {
    margin-left: auto;
    text-align: right;
}

@media (max-width: 860px) {
    .pp-hero__inner {
        grid-template-columns: 1fr;
    }

    /* The stack sits behind the words on a phone */
    .pp-stack {
        position: absolute;
        right: -60px;
        top: 40px;
        width: 220px;
        opacity: 0.35;
        z-index: -1;
    }
}

/* ---------------- Notices, a shared song and the voted card ---------------- */

.pp-notice,
.pp-featured {
    margin: 0 0 22px;
    padding: 18px 20px;
    border: 1px solid color-mix(in srgb, var(--posh-blue) 30%, transparent);
    border-radius: var(--radius-card);
    background: var(--posh-wash);
}

.pp-notice p,
.pp-featured p {
    margin: 0;
}

.pp-notice--warn {
    border-color: #f0c36d;
    background: #fff8e6;
}

.pp-featured__line {
    color: var(--color-text);
    font-size: 1.05rem;
    font-weight: 600;
}

.pp-featured__line i {
    width: 16px;
    margin-right: 4px;
    color: var(--posh-blue);
    text-align: center;
}

.pp-featured {
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr) auto;
    align-items: center;
    gap: 16px;
}

.pp-featured .pp-song__art {
    width: 72px;
    height: 72px;
}

/* ---------------- The board ---------------- */

.pp-board {
    position: relative;
    display: grid;
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}

/* An empty board draws nothing at all (no stray list number) */
.pp-board:empty {
    display: none;
}

.pp-row {
    display: grid;
    grid-template-columns: 44px 64px minmax(0, 1fr) 84px auto;
    align-items: center;
    gap: 14px;
    padding: 12px 14px;
    border: 1px solid var(--color-border-soft);
    border-radius: var(--radius-card);
    background: var(--color-bg-card);
    box-shadow: var(--shadow-card);
    will-change: transform;
}

.pp-row__rank {
    color: var(--posh-blue);
    font-size: 1.9rem;
    font-weight: 900;
    line-height: 1;
    text-align: center;
    font-variant-numeric: tabular-nums;
}

.pp-row__main {
    min-width: 0;
}

.pp-song__title {
    display: block;
    color: var(--color-text);
    font-weight: 700;
    line-height: 1.3;
}

.pp-song__artist {
    display: block;
    color: var(--color-text-muted);
    font-size: 0.93rem;
    line-height: 1.4;
}

.pp-song__tag {
    display: inline-block;
    margin-top: 4px;
    padding: 2px 10px;
    border-radius: var(--radius-pill);
    background: var(--posh-wash);
    color: var(--posh-blue);
    font-size: 0.8rem;
    font-weight: 700;
}

.pp-bar {
    height: 8px;
    margin-top: 8px;
    overflow: hidden;
    border-radius: var(--radius-pill);
    background: color-mix(in srgb, var(--posh-blue) 12%, transparent);
}

.pp-bar__fill {
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--posh-blue), var(--posh-blue-light));
    transform-origin: left center;
    transform: scaleX(0);
    transition: transform 0.9s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.pp-row__votes {
    text-align: right;
    font-variant-numeric: tabular-nums;
}

.pp-row__votes strong {
    display: block;
    color: var(--color-text);
    font-size: 1.35rem;
    line-height: 1.1;
}

.pp-row__votes span {
    color: var(--color-text-muted);
    font-size: 0.8rem;
}

.pp-row__up {
    margin-left: 6px;
    color: #16a34a;
    font-size: 0.85rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.pp-row.is-up .pp-row__up {
    opacity: 1;
}

.pp-row.is-new {
    animation: ppDrop 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.pp-row.is-mine {
    border-color: var(--posh-blue);
}

.pp-row.is-pulse {
    animation: ppPulse 1.2s ease-in-out 3;
}

.pp-row__mine {
    display: inline-block;
    margin-left: 8px;
    padding: 1px 8px;
    border-radius: var(--radius-pill);
    background: var(--posh-blue);
    color: #ffffff;
    font-size: 0.72rem;
    font-weight: 700;
    vertical-align: middle;
}

/* The glow is a shadow layer faded in and out, so only opacity moves */
.pp-row {
    position: relative;
}

.pp-row::after {
    content: "";
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--posh-blue) 35%, transparent), 0 10px 28px color-mix(in srgb, var(--posh-blue) 30%, transparent);
    opacity: 0;
    pointer-events: none;
}

.pp-row.is-up::after {
    animation: ppGlowLayer 1.6s ease-out;
}

@keyframes ppGlowLayer {
    0% { opacity: 1; }
    100% { opacity: 0; }
}

@keyframes ppDrop {
    0% { transform: translateY(-18px); opacity: 0; }
    100% { transform: translateY(0); opacity: 1; }
}

@keyframes ppPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.02); }
}

/* The cover: a button that plays the 30-second preview */
.pp-song__art {
    position: relative;
    display: block;
    width: 64px;
    height: 64px;
    padding: 0;
    overflow: hidden;
    border: 0;
    border-radius: var(--radius-sm);
    background: var(--posh-navy);
    cursor: pointer;
}

.pp-song__art img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pp-song__art i {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 1.1rem;
    background: rgba(6, 22, 64, 0.35);
    opacity: 0.85;
    transition: opacity var(--transition-fast);
}

.pp-song__art:hover i,
.pp-song__art.is-playing i {
    opacity: 1;
}

.pp-song__art:disabled {
    cursor: default;
}

/* Filled buttons keep their words white on hover */
.pp-page .pp-vote.btn-primary:hover {
    color: #ffffff;
}

/* ---------------- Also requested ---------------- */

.pp-also {
    margin-top: 34px;
}

.pp-also h3 {
    margin: 0 0 10px;
    color: var(--color-text-soft);
    font-size: 1.05rem;
}

.pp-also__list {
    margin: 0;
    padding: 0;
    list-style: none;
    border-top: 1px solid var(--color-border-soft);
}

.pp-also__row {
    display: grid;
    grid-template-columns: 40px minmax(0, 1fr) 70px auto;
    align-items: center;
    gap: 12px;
    padding: 8px 4px;
    border-bottom: 1px solid var(--color-border-soft);
    font-size: 0.93rem;
}

.pp-also__rank {
    color: var(--color-text-muted);
    font-weight: 700;
    text-align: center;
    font-variant-numeric: tabular-nums;
}

.pp-also__song {
    min-width: 0;
}

.pp-also__song strong {
    color: var(--color-text);
}

.pp-also__song span {
    color: var(--color-text-muted);
}

.pp-also__votes {
    color: var(--color-text-muted);
    text-align: right;
    font-variant-numeric: tabular-nums;
}

.pp-also__vote {
    padding: 6px 12px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    background: var(--color-bg-card);
    color: var(--posh-blue);
    font-weight: 700;
    font-size: 0.85rem;
    cursor: pointer;
}

.pp-also__vote:hover {
    border-color: var(--posh-blue);
}

.pp-also__more {
    margin-top: 14px;
    text-align: center;
}

.pp-board__note {
    margin: 12px 0 0;
    color: var(--color-text-muted);
    text-align: center;
}

/* ---------------- Search ---------------- */

.pp-search {
    max-width: 720px;
    margin: 0 auto 18px;
}

.pp-search__label {
    display: block;
    margin-bottom: 6px;
    color: var(--color-text-soft);
    font-size: 0.9rem;
    font-weight: 600;
}

.pp-search__row {
    display: flex;
    gap: 10px;
}

.pp-search__row input {
    flex: 1;
    min-width: 0;
    padding: 12px 14px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    font: inherit;
}

.pp-search__row input:focus {
    outline: none;
    box-shadow: var(--focus-ring);
    border-color: var(--posh-blue);
}

.pp-results .pp-row {
    grid-template-columns: 64px minmax(0, 1fr) auto;
}

.pp-results .pp-row.is-on-board {
    border-color: color-mix(in srgb, var(--posh-blue) 45%, transparent);
}

.pp-song__album {
    display: block;
    color: var(--color-text-muted);
    font-size: 0.82rem;
}

/* ---------------- Share ---------------- */

.pp-share {
    margin-top: 14px;
}

.pp-share__label {
    margin: 0 0 8px;
    color: var(--color-text-soft);
    font-size: 0.9rem;
    font-weight: 600;
}

.pp-share__row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.pp-share__btn,
a.pp-share__btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    background: var(--color-bg-card);
    color: var(--color-text) !important;
    font: inherit;
    font-size: 0.88rem;
    font-weight: 600;
    line-height: 1.2;
    text-decoration: none;
    cursor: pointer;
}

.pp-share__btn:hover,
a.pp-share__btn:hover {
    border-color: var(--posh-blue);
    color: var(--posh-blue) !important;
}

.pp-share__btn i {
    width: 16px;
    text-align: center;
}

.pp-share--board {
    margin-top: 28px;
    text-align: center;
}

.pp-share--board .pp-share__row {
    justify-content: center;
}

@media (max-width: 640px) {
    .pp-row {
        grid-template-columns: 30px 52px minmax(0, 1fr) auto;
        gap: 10px;
    }

    .pp-song__art {
        width: 52px;
        height: 52px;
    }

    .pp-row__rank {
        font-size: 1.4rem;
    }

    .pp-row__votes {
        grid-column: 3;
        grid-row: 2;
        text-align: left;
    }

    .pp-row__votes strong {
        display: inline;
        font-size: 1rem;
    }

    .pp-row .pp-vote {
        grid-column: 4;
        grid-row: 1 / span 2;
    }

    .pp-results .pp-row {
        grid-template-columns: 52px minmax(0, 1fr) auto;
    }

    .pp-also__row {
        grid-template-columns: 30px minmax(0, 1fr) auto;
    }

    .pp-also__votes {
        display: none;
    }

    .pp-featured {
        grid-template-columns: 56px minmax(0, 1fr);
    }

    .pp-featured .pp-vote {
        grid-column: 1 / -1;
    }
}

/* ---------------- The slim campaign footer (outside main, so its colours are its own) ---------------- */

.pp-lockup__home {
    display: block;
}

.pp-footer {
    background: #061640;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.92rem;
}

.pp-footer__inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px 28px;
    padding-top: 26px;
    padding-bottom: 26px;
}

.pp-footer .pp-lockup {
    margin: 0;
}

.pp-footer__links,
.pp-footer__contact {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 20px;
    margin: 0;
}

.pp-footer a,
.pp-footer__prefs {
    color: rgba(255, 255, 255, 0.85) !important;
    text-decoration: none;
}

.pp-footer a:hover,
.pp-footer__prefs:hover {
    color: #ffffff !important;
    text-decoration: underline;
}

.pp-footer__prefs {
    padding: 0;
    border: 0;
    background: none;
    font: inherit;
    cursor: pointer;
}

.pp-footer__contact i {
    width: 16px;
    margin-right: 4px;
    text-align: center;
}

/* ---------------- Reduced motion: everything static and instant ---------------- */

@media (prefers-reduced-motion: reduce) {
    .pp-page *,
    .pp-page *::after {
        animation: none !important;
        transition: none !important;
    }

}

/* The music note (Vote Now, Vote for this Track), the star (See the Lineup) and the tick (Your Vote),
   drawn and spaced as the site's own button icon (.btn-primary::before, style.css) */
.pp-page .pp-btn-music::before,
.pp-page .pp-btn-tick::before,
.pp-hero .pp-btn-star::before {
    position: relative;
    top: 1px;
    font-family: "Font Awesome 6 Free";
    font-size: 0.8rem;
    font-weight: 900;
    transition: transform var(--transition-fast);
}

.pp-page .pp-btn-music::before {
    content: "\f001";
}

.pp-page .pp-btn-tick::before {
    content: "\f00c";
}

.pp-hero .pp-btn-star::before {
    content: "\f005";
}

.pp-hero .btn-outline.pp-btn-star {
    padding-left: 14px;
}

/* ---------------- The Top 5 scoreboard ---------------- */

/* The stadium photo under a dark navy wash */
.pp-page .pp-boardsec {
    background:
        linear-gradient(rgba(11, 20, 48, 0.9), rgba(11, 20, 48, 0.94)),
        url("/assets/img/av-installations/peterborough-united-stadium-audio-partners.webp") center / cover no-repeat;
}

.pp-scoreboard {
    padding: 22px;
    border-radius: 16px;
    background: #07122e;
    box-shadow: 0 10px 30px rgba(7, 18, 46, 0.35);
}

/* Nothing to show (no votes yet, or the board could not be read): no empty panel either */
.pp-scoreboard:has(.pp-board:empty) {
    display: none;
}

.pp-scoreboard .pp-board {
    gap: 0;
}

.pp-row.pp-score {
    grid-template-columns: 140px 1fr 100px 104px;
    gap: 0;
    padding: 12px 8px;
    border: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    cursor: pointer;
}

.pp-row.pp-score:last-child {
    border-bottom: 0;
}

.pp-row.pp-score:focus-visible {
    outline: 2px solid #5fa8ff;
    outline-offset: 2px;
}

.pp-score__shirt {
    display: flex;
    align-items: center;
    justify-content: center;
}

.pp-shirt {
    display: block;
    width: 128px;
    height: 128px;
}

.pp-score__main {
    min-width: 0;
    padding: 0 12px;
}

.pp-score__title {
    display: block;
    color: #ffffff;
    font-size: 22px;
    font-weight: 700;
    line-height: 1.25;
}

.pp-score__artist {
    display: block;
    margin-top: 2px;
    color: #8fb3ff;
    font-size: 15px;
}

.pp-score .pp-bar {
    height: 10px;
    margin-top: 10px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.08);
}

.pp-score .pp-bar__fill {
    border-radius: 4px;
    background: linear-gradient(90deg, #1d4fd1, #5fa8ff);
}

.pp-score__right {
    display: flex;
    align-items: flex-start;
    justify-content: flex-end;
    gap: 10px;
}

/* The record turns slowly, level with the vote number (24px on a 30px line: 3px down); still under reduced motion */
.pp-score__disc {
    margin-top: 3px;
    color: #5fa8ff;
    font-size: 24px;
    line-height: 1;
    animation: ppSpin 3s linear infinite;
}

@keyframes ppSpin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.pp-score__tally {
    display: flex;
    flex-direction: column;
    align-items: center;
    line-height: 1;
}

.pp-score__count {
    color: #ffffff;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
    font-size: 30px;
    font-weight: 800;
    font-variant-numeric: tabular-nums;
}

.pp-score__word {
    margin-top: 4px;
    color: #8fb3ff;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.pp-score .pp-row__up {
    position: absolute;
    top: 10px;
    right: 8px;
}

.pp-score .pp-row__mine {
    background: #5fa8ff;
    color: #07122e;
}

.pp-row.pp-score.is-mine {
    background: rgba(95, 168, 255, 0.08);
}

/* The Subs Bench: songs 6 and below on a lighter navy panel, the scoreboard's rows scaled down */
.pp-boardsec .pp-also {
    margin-top: 18px;
    padding: 16px 18px;
    border-radius: 16px;
    background: #1a2b52;
    box-shadow: 0 8px 22px rgba(7, 18, 46, 0.25);
}

.pp-boardsec .pp-also h3 {
    margin: 0 0 6px;
    color: #ffffff;
    font-size: 1rem;
    letter-spacing: 0.04em;
}

.pp-boardsec .pp-also__list {
    border-top: 0;
}

.pp-also__row.pp-bench {
    display: grid;
    grid-template-columns: 56px 1fr 90px 104px;
    align-items: center;
    padding: 8px 4px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    font-size: inherit;
    cursor: pointer;
}

.pp-also__row.pp-bench:last-child {
    border-bottom: 0;
}

.pp-also__row.pp-bench:focus-visible {
    outline: 2px solid #5fa8ff;
    outline-offset: 2px;
}

.pp-bench__rank {
    color: #8fb3ff;
    font-family: "Arial Black", Arial, Helvetica, sans-serif;
    font-size: 22px;
    font-weight: 900;
    text-align: center;
}

.pp-bench__main {
    min-width: 0;
    padding: 0 10px;
}

.pp-bench__title {
    display: block;
    color: #ffffff;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.3;
}

.pp-bench__artist {
    display: block;
    color: #b8cdf5;
    font-size: 13px;
}

.pp-bench .pp-bar {
    height: 6px;
    margin-top: 6px;
    border-radius: 3px;
    background: rgba(255, 255, 255, 0.1);
}

.pp-bench .pp-bar__fill {
    border-radius: 3px;
    background: linear-gradient(90deg, #1d4fd1, #5fa8ff);
}

.pp-bench__right {
    display: flex;
    align-items: flex-start;
    justify-content: flex-end;
    gap: 8px;
}

/* The bench's headphones, level with the count (16px on an 18px line), still */
.pp-bench__disc {
    margin-top: 1px;
    color: #5fa8ff;
    font-size: 16px;
    line-height: 1;
}

.pp-bench__tally {
    display: flex;
    flex-direction: column;
    align-items: center;
    line-height: 1;
}

.pp-bench__count {
    color: #ffffff;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
    font-size: 18px;
    font-weight: 800;
    font-variant-numeric: tabular-nums;
}

.pp-bench__word {
    margin-top: 3px;
    color: #b8cdf5;
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.pp-bench .pp-row__mine {
    margin-left: 8px;
    background: #5fa8ff;
    color: #07122e;
}

@media (max-width: 640px) {
    .pp-also__row.pp-bench {
        grid-template-columns: 40px 1fr auto;
    }

    .pp-bench__rank {
        font-size: 18px;
    }
}

@media (max-width: 640px) {
    .pp-scoreboard {
        padding: 14px;
    }

    .pp-row.pp-score {
        grid-template-columns: 84px 1fr auto;
        padding: 10px 4px;
    }

    .pp-score__vote,
    .pp-bench__vote {
        grid-column: 1 / -1;
        margin: 8px 0 0;
    }

    .pp-score__vote .pp-rowvote,
    .pp-bench__vote .pp-rowvote {
        width: 100%;
    }

    .pp-shirt {
        width: 84px;
        height: 84px;
    }

    .pp-score__main {
        padding: 0 8px;
    }

    .pp-score__title {
        font-size: 17px;
    }

    .pp-score__artist {
        font-size: 13px;
    }

    .pp-score__right {
        gap: 6px;
    }

    .pp-score__disc {
        margin-top: 2px;
        font-size: 18px;
    }

    .pp-score__count {
        font-size: 22px;
    }
}

/* A bench song newly loaded drops in */
.pp-also__row.is-new {
    animation: ppDrop 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}

/* The row's Vote button, the hero's Vote Now look, at the end of every board row */
.pp-score__vote,
.pp-bench__vote {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    min-width: 0;
    padding-left: 0;
}

/* The row Vote button: a gradient outline (the two-background trick on a transparent border),
   its words and icon #cfe6ff, sized to its content. Inside, a left-aligned column: the music
   icon and Vote on top, the small for this track under both. On hover the gradient fills it and
   the words turn white. Restated at this weight so the site's .btn-primary and link rules never
   beat it; the site's arrow (.btn-primary::before) is not drawn here */
.pp-page .btn.btn-primary.pp-rowvote {
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 2px;
    width: auto;
    padding: 6px 8px;
    border: 1.5px solid transparent;
    background:
        linear-gradient(#07122e, #07122e) padding-box,
        linear-gradient(90deg, #3a72e8, #5fa8ff, #9fd4ff) border-box;
    box-shadow: none;
    color: #cfe6ff !important;
    line-height: 1.05;
    white-space: nowrap;
}

.pp-page .btn.btn-primary.pp-rowvote::before {
    content: none;
}

.pp-rowvote__top {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.pp-rowvote__top i {
    font-size: 0.8rem;
}

.pp-rowvote__sub {
    font-size: 9px;
    font-weight: 600;
    opacity: 0.8;
}

.pp-page .btn.btn-primary.pp-rowvote:hover:not(:disabled),
.pp-page .btn.btn-primary.pp-rowvote:focus-visible {
    background:
        linear-gradient(90deg, #3a72e8, #5fa8ff) padding-box,
        linear-gradient(90deg, #3a72e8, #5fa8ff, #9fd4ff) border-box;
    color: #ffffff !important;
}

/* On the Subs Bench the inside matches that lighter panel */
.pp-page .pp-bench .btn.btn-primary.pp-rowvote {
    background:
        linear-gradient(#1a2b52, #1a2b52) padding-box,
        linear-gradient(90deg, #3a72e8, #5fa8ff, #9fd4ff) border-box;
}

.pp-page .pp-bench .btn.btn-primary.pp-rowvote:hover:not(:disabled),
.pp-page .pp-bench .btn.btn-primary.pp-rowvote:focus-visible {
    background:
        linear-gradient(90deg, #3a72e8, #5fa8ff) padding-box,
        linear-gradient(90deg, #3a72e8, #5fa8ff, #9fd4ff) border-box;
    color: #ffffff !important;
}

/* Switched off after this device has voted: one vote per email address */
.pp-page .btn.btn-primary.pp-rowvote:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

/* The visitor's own song: Your Vote with a tick, at full strength rather than switched off */
.pp-page .btn.btn-primary.pp-rowvote.is-mine {
    opacity: 1;
    cursor: default;
}

/* The competition terms, folded beside the tick in the vote form; open, they scroll within a short box */
.pp-terms {
    margin: 2px 0 10px 28px;
    border: 1px solid var(--color-border-soft);
    border-radius: var(--radius-sm);
    background: var(--color-bg-alt);
    font-size: 0.85rem;
}

.pp-terms summary {
    padding: 8px 12px;
    color: var(--color-text-soft);
    font-weight: 600;
    cursor: pointer;
}

.pp-terms__body {
    max-height: 220px;
    overflow-y: auto;
    padding: 0 12px 10px;
    color: var(--color-text-soft);
    line-height: 1.55;
}

.pp-terms__list {
    margin: 0 0 8px;
    padding-left: 18px;
}

.pp-terms__list li {
    margin-bottom: 4px;
}

.pp-terms__body p {
    margin: 0;
}


/* ---------------- The song picker (competition style) ---------------- */

/* On the club blue, centred; the feature page's light band rule is outranked */
main.ps-feature-page.pp-page > section.pp-picker:not(.ps-feature-hero):not(.ps-cta) {
    position: relative;
    overflow: hidden;
    padding: 56px 16px 64px;
    background: radial-gradient(1200px 400px at 50% -10%, #2f8be0 0%, #1d4fd1 35%, #07122e 80%);
    color: #ffffff;
    text-align: center;
}

.pp-picker__inner {
    position: relative;
    z-index: 1;
    max-width: 820px;
    margin: 0 auto;
}

.pp-picker .pp-picker__title {
    margin: 0;
    color: #ffffff;
    font-family: var(--font-primary);
    font-size: clamp(38px, 6vw, 64px);
    font-weight: 900;
    line-height: 0.95;
    letter-spacing: -0.02em;
    text-transform: uppercase;
}

.pp-picker__title span {
    color: #9fd4ff;
}

.pp-picker__sub {
    margin: 16px 0 26px;
    color: #cfe2ff;
    font-size: 17px;
}

.pp-visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

/* The white search pill */
.pp-picker .pp-search {
    max-width: 640px;
    margin: 0 auto;
}

.pp-search__pill {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px;
    border-radius: 60px;
    background: #ffffff;
    box-shadow: 0 0 0 4px rgba(159, 212, 255, 0.35), 0 18px 40px rgba(0, 0, 0, 0.35);
}

.pp-search__icon {
    margin-left: 14px;
    color: #1d4fd1;
    font-size: 18px;
}

.pp-search__pill input {
    flex: 1;
    min-width: 0;
    padding: 10px 4px;
    border: 0;
    background: transparent;
    color: #07122e;
    font: inherit;
    font-size: 18px;
    outline: none;
}

.pp-search__go {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 22px;
    border: 0;
    border-radius: 60px;
    background: linear-gradient(90deg, #3a72e8, #5fa8ff);
    color: #ffffff;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
}

.pp-search__go:hover {
    background: linear-gradient(90deg, #2f63d6, #4f9af5);
}

/* The three steps, each with a round outlined number */
.pp-steps {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px 28px;
    margin: 26px 0 0;
    padding: 0;
    list-style: none;
    color: #cfe2ff;
    font-size: 15px;
    font-weight: 600;
}

.pp-steps li {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.pp-steps__num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border: 1.5px solid #9fd4ff;
    border-radius: 50%;
    color: #9fd4ff;
    font-size: 13px;
    font-weight: 800;
}

/* Faint floating notes, records and footballs; still under reduced motion */
.pp-picker__floats {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.pp-float {
    position: absolute;
    color: rgba(159, 212, 255, 0.18);
    animation: ppFloat 9s ease-in-out infinite;
}

.pp-float--1 { left: 7%; top: 18%; font-size: 34px; }
.pp-float--2 { left: 84%; top: 14%; font-size: 46px; animation-delay: -2s; }
.pp-float--3 { left: 12%; top: 70%; font-size: 40px; animation-delay: -4s; }
.pp-float--4 { left: 90%; top: 64%; font-size: 30px; animation-delay: -6s; }
.pp-float--5 { left: 74%; top: 82%; font-size: 26px; animation-delay: -3s; }
.pp-float--6 { left: 22%; top: 38%; font-size: 24px; animation-delay: -7s; }

@keyframes ppFloat {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-14px) rotate(8deg); }
}

/* The results on the dark section */
.pp-picker .pp-board__note {
    color: #cfe2ff;
}

.pp-picker .pp-results {
    margin-top: 22px;
    text-align: left;
}

.pp-picker .pp-results .pp-row {
    border: 1px solid rgba(159, 212, 255, 0.22);
    background: rgba(255, 255, 255, 0.06);
    box-shadow: none;
}

.pp-picker .pp-results .pp-row.is-on-board {
    border-color: #5fa8ff;
}

.pp-picker .pp-song__title {
    color: #ffffff;
}

.pp-picker .pp-song__artist,
.pp-picker .pp-song__album {
    color: #b8cdf5;
}

.pp-picker .pp-song__tag {
    background: rgba(95, 168, 255, 0.2);
    color: #cfe6ff;
}

/* ---------------- The board heading ---------------- */

.pp-boardsec .pp-lineup {
    margin: 0 0 22px;
    color: #e6eefc;
    font-family: var(--font-primary);
    font-size: clamp(34px, 5vw, 54px);
    font-weight: 900;
    line-height: 1;
    letter-spacing: -0.02em;
    text-align: center;
    text-transform: uppercase;
}

/* No board yet: no heading over nothing */
.pp-boardsec .container:has(.pp-board:empty) .pp-lineup {
    display: none;
}

/* ---------------- The hero's two buttons ---------------- */

/* Vote Now: the row Vote button's gradient outline on the hero's dark */
.pp-page .pp-hero .btn.pp-herovote {
    border: 1.5px solid transparent;
    background:
        linear-gradient(#07122e, #07122e) padding-box,
        linear-gradient(90deg, #3a72e8, #5fa8ff, #9fd4ff) border-box;
    box-shadow: none;
    color: #cfe6ff !important;
}

.pp-page .pp-hero .btn.pp-herovote:hover,
.pp-page .pp-hero .btn.pp-herovote:focus-visible {
    background:
        linear-gradient(90deg, #3a72e8, #5fa8ff) padding-box,
        linear-gradient(90deg, #3a72e8, #5fa8ff, #9fd4ff) border-box;
    color: #ffffff !important;
}

/* See the Lineup: a plain outline */
.pp-page .pp-hero .btn.pp-herotop {
    border: 1.5px solid #5fa8ff;
    background: transparent;
    box-shadow: none;
    color: #cfe6ff !important;
}

.pp-page .pp-hero .btn.pp-herotop:hover,
.pp-page .pp-hero .btn.pp-herotop:focus-visible {
    border-color: #9fd4ff;
    background: rgba(95, 168, 255, 0.15);
    color: #ffffff !important;
}

@media (max-width: 640px) {
    .pp-search__icon {
        display: none;
    }

    .pp-search__pill input {
        padding-left: 12px;
        font-size: 16px;
    }

    .pp-search__go {
        padding: 11px 16px;
    }
}

/* Search results use the same Vote button (.pp-rowvote); the card is solid so the button's inside matches it */
.pp-picker .pp-results .pp-row {
    background: #0e1c40;
}

.pp-page .pp-picker .btn.btn-primary.pp-rowvote {
    background:
        linear-gradient(#0e1c40, #0e1c40) padding-box,
        linear-gradient(90deg, #3a72e8, #5fa8ff, #9fd4ff) border-box;
}

.pp-page .pp-picker .btn.btn-primary.pp-rowvote:hover:not(:disabled),
.pp-page .pp-picker .btn.btn-primary.pp-rowvote:focus-visible {
    background:
        linear-gradient(90deg, #3a72e8, #5fa8ff) padding-box,
        linear-gradient(90deg, #3a72e8, #5fa8ff, #9fd4ff) border-box;
    color: #ffffff !important;
}

/* A search result's last cell: its pill, then the Vote button, right-aligned together */
.pp-result__end {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
}

.pp-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.2;
    white-space: nowrap;
}

/* On the board: its place and votes */
.pp-pill--board {
    border: 1px solid rgba(95, 168, 255, 0.45);
    background: rgba(95, 168, 255, 0.15);
    color: #cfe6ff;
}

/* Not on the board yet */
.pp-pill--new {
    border: 1px solid rgba(255, 184, 28, 0.45);
    background: rgba(255, 184, 28, 0.12);
    color: #ffd27a;
}

@media (max-width: 640px) {
    .pp-picker .pp-results .pp-result__end {
        grid-column: 1 / -1;
    }
}

/* ---------------- A dark page throughout ---------------- */

body.page-posh-playlist {
    background: #0b1430;
}

/* The Stadium Audio Partner section on the page's navy, its words light and its small label grey */
main.ps-feature-page.pp-page > section#partnership:not(.ps-feature-hero):not(.ps-cta) {
    background: #0b1430;
}

#partnership h2 {
    color: #d5dbe3;
}

#partnership p {
    color: #b9c1cc;
}

#partnership .ps-eyebrow {
    color: #9aa3ad;
}

#partnership .ps-subheading {
    color: #9fd4ff;
}

/* The large lock-up straight on the navy, one row: our logo, the times sign, the Posh crest in
   white; on a narrow screen it scales down rather than wrapping */
#partnership .b2b-lockup {
    flex-wrap: nowrap;
    align-items: center;
    gap: 22px;
    padding: 0;
    background: transparent;
    box-shadow: none;
}

#partnership .b2b-lockup .b2b-lockup__ours {
    width: auto;
    max-width: none;
    height: clamp(36px, 8vw, 64px);
}

#partnership .b2b-lockup .b2b-lockup__theirs {
    width: auto;
    max-width: none;
    height: clamp(62px, 14vw, 110px);
    filter: brightness(0) invert(1);
}

#partnership .b2b-lockup__x {
    flex: 0 0 auto;
}

/* Notices, a shared song and the voted card, on the dark */
.pp-page .pp-notice,
.pp-page .pp-featured {
    border-color: rgba(95, 168, 255, 0.35);
    background: rgba(95, 168, 255, 0.1);
}

.pp-page .pp-notice--warn {
    border-color: rgba(255, 184, 28, 0.45);
    background: rgba(255, 184, 28, 0.1);
}

.pp-page .pp-notice p,
.pp-page .pp-featured__line {
    color: #e6eefc;
}

.pp-page .pp-featured__line i {
    color: #9fd4ff;
}

.pp-page .pp-board__note {
    color: #b8cdf5;
}

/* The share buttons on the dark */
.pp-page .pp-share__label {
    color: #cfe2ff;
}

.pp-page .pp-share__btn,
.pp-page a.pp-share__btn {
    border-color: rgba(159, 212, 255, 0.35);
    background: rgba(255, 255, 255, 0.05);
    color: #e6eefc !important;
}

.pp-page .pp-share__btn:hover,
.pp-page a.pp-share__btn:hover {
    border-color: #5fa8ff;
    background: rgba(95, 168, 255, 0.15);
    color: #ffffff !important;
}

/* The outlined lock-up, one style for the hero's Presented by bar and the footer: no white pill
   but the Vote buttons' gradient outline, its inside the colour of what it sits on (--lockup-fill),
   both logos about 31px tall, the Posh crest drawn white so it reads on the navy, and the
   times sign nudged 1.5px right with the logos staying put */
.pp-lockup.pp-lockup--outline {
    padding: 4px 14px;
    border: 1.5px solid transparent;
    border-radius: 30px;
    background:
        linear-gradient(var(--lockup-fill, #07163f), var(--lockup-fill, #07163f)) padding-box,
        linear-gradient(90deg, #3a72e8, #5fa8ff, #9fd4ff) border-box;
    box-shadow: none;
}

.pp-lockup--outline img {
    height: 31px;
}

.pp-lockup--outline > img {
    filter: brightness(0) invert(1);
}

.pp-lockup--outline .pp-lockup__x {
    margin-left: 1.5px;
    margin-right: -1.5px;
    color: var(--pp-lockup-x);
}

/* The bar renders as this navy over the hero; the footer is its own navy */
.pp-bar-presented .pp-lockup--outline {
    --lockup-fill: #07163f;
}

.pp-footer .pp-lockup--outline {
    --lockup-fill: #061640;
}

/* The large partnership lock-up: the times sign 11px right, the logos staying put */
#partnership .b2b-lockup__x {
    margin-left: 11px;
    margin-right: -11px;
    color: var(--pp-lockup-x);
}

/* The match line's second line (date and kick-off): 78% of the first line's size, so it scales with it */
.pp-hero__when {
    font-size: 0.78em;
    opacity: 0.9;
}

/* The on-air pill inside See the Lineup: a red dot pulsing beside LIVE TABLE (still under reduced motion) */
.pp-live {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-left: 8px;
    padding: 2px 7px;
    border: 1px solid rgba(255, 90, 90, 0.6);
    border-radius: 10px;
    background: rgba(255, 59, 59, 0.15);
    color: #ff9b9b;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.08em;
    line-height: 1.2;
}

.pp-live__dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #ff4d4d;
    animation: ppOnAir 1.4s ease-in-out infinite;
}

@keyframes ppOnAir {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.35; transform: scale(0.7); }
}

/* The blank Starting Lineup: muted words, an empty bar and a still, greyed record */
.pp-row.pp-score.is-empty {
    cursor: default;
}

.pp-score.is-empty .pp-score__title {
    color: #7f8fb0;
    font-weight: 600;
}

.pp-score.is-empty .pp-score__disc {
    color: #4a5878;
    animation: none;
}

.pp-score.is-empty .pp-score__count {
    color: #7f8fb0;
}

/* ---------------- Breathing room on the right of every row ---------------- */

/* Starting Lineup: wider last columns, the record and count 14px apart, the button 18px clear
   of them and the row 16px in from the panel's edge */
.pp-row.pp-score {
    grid-template-columns: 140px 1fr 112px 124px;
    padding-right: 16px;
}

.pp-score__right {
    gap: 14px;
}

.pp-score__vote,
.pp-bench__vote {
    padding-left: 18px;
}

/* The Subs Bench, the same */
.pp-also__row.pp-bench {
    grid-template-columns: 56px 1fr 100px 124px;
    padding-right: 16px;
}

.pp-bench__right {
    gap: 14px;
}

/* Search results: the pill and the button 14px apart, 16px in from the card's edge */
.pp-result__end {
    gap: 14px;
}

.pp-picker .pp-results .pp-row {
    padding-right: 16px;
}

@media (max-width: 640px) {
    .pp-row.pp-score {
        grid-template-columns: 84px 1fr auto;
    }

    .pp-also__row.pp-bench {
        grid-template-columns: 40px 1fr auto;
    }

    /* The button's own full-width line on a phone needs no lead-in */
    .pp-score__vote,
    .pp-bench__vote {
        padding-left: 0;
    }
}

/* The Subs Bench toggle: centred at the top of the panel, a pill with the gradient outline
   (its inside the panel's colour) */
.pp-bench-toggle-wrap {
    text-align: center;
}

.pp-bench-toggle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border: 1.5px solid transparent;
    border-radius: 30px;
    background:
        linear-gradient(#1a2b52, #1a2b52) padding-box,
        linear-gradient(90deg, #3a72e8, #5fa8ff, #9fd4ff) border-box;
    color: #cfe6ff;
    font: inherit;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
}

.pp-bench-toggle:hover,
.pp-bench-toggle:focus-visible {
    background:
        linear-gradient(90deg, #3a72e8, #5fa8ff) padding-box,
        linear-gradient(90deg, #3a72e8, #5fa8ff, #9fd4ff) border-box;
    color: #ffffff;
}

#pp-bench-body {
    margin-top: 14px;
}

/* Show More: a small link at the foot of the list */
.pp-boardsec .pp-also__more {
    margin-top: 12px;
    text-align: center;
}

.pp-morelink {
    padding: 4px 8px;
    border: 0;
    background: none;
    color: #9fd4ff;
    font: inherit;
    font-size: 13px;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
    cursor: pointer;
}

.pp-morelink:hover {
    color: #ffffff;
}

.pp-morelink:disabled {
    opacity: 0.6;
    cursor: default;
}

/* The bench player's shirt in the rank column */
.pp-bench__rank {
    display: flex;
    align-items: center;
    justify-content: center;
}

.pp-bench__rank .pp-shirt {
    width: 54px;
    height: 54px;
}

.pp-also__row.pp-bench {
    grid-template-columns: 70px 1fr 100px 124px;
}

/* Closed, the bench panel's own padding is the only space round the toggle */
.pp-boardsec .pp-also .pp-bench-toggle-wrap {
    margin: 0;
}

@media (max-width: 640px) {
    .pp-also__row.pp-bench {
        grid-template-columns: 58px 1fr auto;
    }

    .pp-bench__rank .pp-shirt {
        width: 48px;
        height: 48px;
    }
}

/* A strip of the hero's photo below the Presented by bar before the song picker (the photo,
   tint, dots and grain layers fill the whole hero, so they run under it). The equaliser still
   stands on the bar's top edge: the strip plus the bar's height (--pp-bar-h, measured by the
   page script as the bar wraps) */
main.ps-feature-page.pp-page > section.pp-hero:not(.ps-feature-hero):not(.ps-cta) {
    --pp-hero-gap: 20px;
    padding-bottom: var(--pp-hero-gap);
}

.pp-hero .pp-eq {
    bottom: calc(var(--pp-hero-gap, 0px) + var(--pp-bar-h, 46px));
    height: var(--pp-eq-h, 84px);
}

@media (max-width: 640px) {
    main.ps-feature-page.pp-page > section.pp-hero:not(.ps-feature-hero):not(.ps-cta) {
        --pp-hero-gap: 12px;
    }
}

/* The visitor's own song: a green MY VOTE pill in the Vote button's place; not a control */
.pp-myvote {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    border: 1px solid rgba(46, 204, 113, 0.6);
    border-radius: 20px;
    background: rgba(46, 204, 113, 0.15);
    color: #8ef0b4;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.06em;
    line-height: 1.2;
    text-transform: uppercase;
    white-space: nowrap;
    cursor: default;
}


/* No button once voted: an empty cell keeps the column */
.pp-rowvote-none {
    display: block;
}

/* ---------------- The advert: our hire on a party photo ---------------- */

/* Full width, no box; the feature page's light band rule is outranked */
main.ps-feature-page.pp-page > section.pp-advert:not(.ps-feature-hero):not(.ps-cta) {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding: 110px 16px;
    background: #0b1430;
}

.pp-advert__photo {
    position: absolute;
    inset: 0;
    z-index: -2;
    background: url("/assets/img/live-events/kimbolton-castle-ball.webp") right 75% / cover no-repeat;
    filter: saturate(1.7) contrast(1.15) brightness(1.1);
}

/* Fades into the sections above and below, and darkens the left for the words */
.pp-advert__shade {
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        linear-gradient(180deg, rgba(11, 20, 48, 1) 0%, rgba(11, 20, 48, 0) 16%, rgba(11, 20, 48, 0) 84%, rgba(6, 22, 64, 1) 100%),
        linear-gradient(90deg, rgba(11, 20, 48, 0.96) 0%, rgba(11, 20, 48, 0.82) 32%, rgba(11, 20, 48, 0.15) 62%, rgba(11, 20, 48, 0) 100%);
}

.pp-advert__inner {
    max-width: 1100px;
    margin: 0 auto;
}

.pp-advert__text {
    max-width: 640px;
}

/* The words keep to about 520px; the buttons may run wider so the three sit in one row */
.pp-advert .pp-advert__title,
.pp-advert .pp-advert__copy {
    max-width: 520px;
}

.pp-advert__logo {
    display: inline-block;
    margin-bottom: 18px;
}

.pp-advert__logo img {
    display: block;
    width: auto;
    height: 34px;
}

.pp-advert .pp-advert__title {
    margin: 0;
    color: #ffffff;
    font-family: var(--font-primary);
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 900;
    line-height: 1;
    letter-spacing: -0.01em;
    text-transform: uppercase;
}

.pp-advert__title span {
    color: #9fd4ff;
}

.pp-advert .pp-advert__copy {
    margin: 16px 0 24px;
    color: #b9c1cc;
    font-size: 16px;
    line-height: 1.6;
}

.pp-advert__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.pp-advert a.pp-advert__btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 22px;
    border: 1.5px solid #5fa8ff;
    border-radius: 30px;
    background: transparent;
    color: #cfe6ff !important;
    font-weight: 800;
    line-height: 1.2;
    text-decoration: none;
}

.pp-advert a.pp-advert__btn:hover,
.pp-advert a.pp-advert__btn:focus-visible {
    border-color: #9fd4ff;
    background: rgba(95, 168, 255, 0.18);
    color: #ffffff !important;
}

.pp-advert a.pp-advert__btn--solid {
    border-color: transparent;
    background: linear-gradient(90deg, #3a72e8, #5fa8ff);
    color: #ffffff !important;
}

.pp-advert a.pp-advert__btn--solid:hover,
.pp-advert a.pp-advert__btn--solid:focus-visible {
    border-color: transparent;
    background: linear-gradient(90deg, #2f63d6, #4f9af5);
    color: #ffffff !important;
}

@media (max-width: 640px) {
    main.ps-feature-page.pp-page > section.pp-advert:not(.ps-feature-hero):not(.ps-cta) {
        padding: 72px 16px;
    }

    /* A more even shade on a phone, so the words read over the whole photo */
    .pp-advert__shade {
        background:
            linear-gradient(180deg, rgba(11, 20, 48, 1) 0%, rgba(11, 20, 48, 0.55) 16%, rgba(11, 20, 48, 0.55) 84%, rgba(6, 22, 64, 1) 100%),
            linear-gradient(rgba(11, 20, 48, 0.55), rgba(11, 20, 48, 0.55));
    }
}
/* ---------------- The preview gate ---------------- */

.pp-gate {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 40px 16px;
    background: radial-gradient(900px 420px at 50% 0%, #1d4fd1 0%, #0b1d52 45%, #061640 85%);
    color: #ffffff;
}

.pp-gate__card {
    width: 100%;
    max-width: 420px;
    text-align: center;
}

.pp-gate__lockup.pp-lockup--outline {
    --lockup-fill: #0b1d52;
    margin: 0 auto 28px;
}

.pp-gate .pp-gate__title {
    margin: 0 0 22px;
    color: #ffffff;
    font-family: var(--font-primary);
    font-size: clamp(34px, 6vw, 56px);
    font-weight: 900;
    line-height: 1;
    letter-spacing: -0.01em;
    text-transform: uppercase;
}

.pp-gate__form {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
}

.pp-gate__form input {
    width: 220px;
    max-width: 100%;
    padding: 12px 18px;
    border: 1.5px solid rgba(159, 212, 255, 0.4);
    border-radius: 30px;
    background: #07163f;
    color: #ffffff;
    font: inherit;
    font-size: 22px;
    font-weight: 700;
    letter-spacing: 0.3em;
    text-align: center;
    outline: none;
}

.pp-gate__form input:focus {
    border-color: #5fa8ff;
    box-shadow: 0 0 0 3px rgba(95, 168, 255, 0.25);
}

/* View Page: the Vote buttons' gradient outline */
.pp-gate__btn {
    padding: 12px 26px;
    border: 1.5px solid transparent;
    border-radius: 30px;
    background:
        linear-gradient(#0b1d52, #0b1d52) padding-box,
        linear-gradient(90deg, #3a72e8, #5fa8ff, #9fd4ff) border-box;
    color: #cfe6ff;
    font: inherit;
    font-weight: 800;
    cursor: pointer;
}

.pp-gate__btn:hover,
.pp-gate__btn:focus-visible {
    background:
        linear-gradient(90deg, #3a72e8, #5fa8ff) padding-box,
        linear-gradient(90deg, #3a72e8, #5fa8ff, #9fd4ff) border-box;
    color: #ffffff;
}

.pp-gate__msg {
    margin: 16px 0 0;
    color: #ff9b9b;
    font-weight: 600;
}

/* ---------------- The vote pop-up ---------------- */

.pp-modal {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(3, 8, 24, 0.78);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
}

.pp-modal[hidden] {
    display: none;
}

html.pp-modal-open,
html.pp-modal-open body {
    overflow: hidden;
}

.pp-modal__panel {
    position: relative;
    width: min(560px, 100%);
    max-height: calc(100vh - 40px);
    max-height: calc(100dvh - 40px);
    overflow-y: auto;
    padding: 28px 28px 24px;
    border: 1.5px solid transparent;
    border-radius: 22px;
    background:
        radial-gradient(600px 220px at 50% -20%, #2f8be0 0%, #1d4fd1 30%, #0b1430 75%) padding-box,
        linear-gradient(90deg, #3a72e8, #5fa8ff, #9fd4ff) border-box;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
    color: #e6eefc;
}

.pp-modal__close {
    position: absolute;
    top: 14px;
    right: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    color: #cfe6ff;
    font-size: 18px;
    cursor: pointer;
}

.pp-modal__close:hover,
.pp-modal__close:focus-visible {
    background: rgba(255, 255, 255, 0.18);
    color: #ffffff;
}

.pp-modal__kicker {
    margin: 0 0 6px;
    color: #9fd4ff;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-align: center;
    text-transform: uppercase;
}

.pp-modal__title {
    margin: 0 0 18px;
    color: #ffffff;
    font-size: 30px;
    font-weight: 900;
    line-height: 1.1;
    text-align: center;
    text-transform: uppercase;
}

.pp-modal__song {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 18px;
    padding: 12px;
    border: 1px solid rgba(159, 212, 255, 0.25);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.06);
}

.pp-modal__art {
    flex: 0 0 74px;
}

.pp-modal__art .pp-song__art {
    width: 74px;
    height: 74px;
    border-radius: 10px;
}

.pp-modal__art .pp-song__art img {
    border-radius: 10px;
}

.pp-modal__songtext {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-width: 0;
}

.pp-modal__songtitle {
    color: #ffffff;
    font-size: 20px;
    font-weight: 800;
    line-height: 1.2;
}

.pp-modal__artist {
    margin-top: 2px;
    color: #9fd4ff;
    font-size: 15px;
}

.pp-modal__change {
    margin-top: 6px;
    padding: 0;
    border: 0;
    background: none;
    color: #9fb6dd;
    font: inherit;
    font-size: 12px;
    text-decoration: underline;
    cursor: pointer;
}

.pp-modal__change:hover,
.pp-modal__change:focus-visible {
    color: #ffffff;
}

/* Where the song stands, under the song card in the thank-you */
.pp-modal__place {
    margin: -4px 0 16px;
    color: #ffffff;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.45;
    text-align: center;
}

.pp-modal__fields {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 10px;
}

/* The reassurance under the fields: the lock beside the words, no band */
.pp-modal__private {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 16px;
    padding: 0 2px 0 3px;
    color: #cfe6ff;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.35;
}

.pp-modal__private i {
    flex: 0 0 16px;
    text-align: center;
}

.pp-mfield input {
    display: block;
    width: 100%;
    padding: 13px 14px;
    border: 1px solid rgba(159, 212, 255, 0.45);
    border-radius: 12px;
    background: rgba(95, 168, 255, 0.14);
    color: #ffffff;
    font: inherit;
    font-size: 16px;
    outline: none;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.pp-mfield input::placeholder {
    color: #9fb6dd;
    opacity: 1;
}

.pp-mfield input:focus {
    border-color: #9fd4ff;
    box-shadow: 0 0 0 3px rgba(95, 168, 255, 0.25);
}

.pp-mfield.is-error input {
    border-color: #ff8a8a;
}

/* The ticks: a 20px box, unticked in the fields' blue, ticked in the gradient with a white tick */
.pp-tick {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 0 0 12px;
    color: #e6eefc;
    font-size: 14px;
    line-height: 1.45;
    cursor: pointer;
}

.pp-tick input {
    position: absolute;
    width: 20px;
    height: 20px;
    margin: 0;
    opacity: 0;
}

.pp-tick__box {
    display: flex;
    flex: 0 0 20px;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    margin-top: 0;
    border: 1px solid rgba(159, 212, 255, 0.45);
    border-radius: 6px;
    background: rgba(95, 168, 255, 0.14);
    color: transparent;
    font-size: 11px;
}

.pp-tick input:checked + .pp-tick__box {
    border-color: transparent;
    background: linear-gradient(135deg, #3a72e8, #5fa8ff);
    color: #ffffff;
}

.pp-tick input:focus-visible + .pp-tick__box {
    box-shadow: 0 0 0 3px rgba(95, 168, 255, 0.35);
}

.pp-tick.is-error .pp-tick__box {
    border-color: #ff8a8a;
}

.pp-tick a {
    color: #9fd4ff !important;
    text-decoration: underline;
}

.pp-modal .pp-terms {
    margin: -4px 0 12px 30px;
    border-color: rgba(159, 212, 255, 0.25);
    background: rgba(7, 18, 46, 0.6);
}

.pp-modal .pp-terms summary,
.pp-modal .pp-terms__body {
    color: #cfe2ff;
}

.pp-modal .pp-terms a {
    color: #9fd4ff !important;
}

.pp-modal__msg {
    margin: 4px 0 10px;
    color: #e6eefc;
    font-size: 14px;
    text-align: center;
}

.pp-modal__msg:empty {
    display: none;
}

.pp-modal__msg.is-error {
    color: #ffb4b4;
}

/* Read by screen readers only: the busted terminal shows the words */
.pp-modal__msg.is-sr {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0;
}

/* A temporary inbox refused: the "busted" terminal above Cast My Vote */
.pp-busted {
    margin: 4px 0 12px;
    border-radius: 10px;
    overflow: hidden;
    background: #05080c;
    border: 1px solid #1f6f3a;
    box-shadow: 0 0 14px rgba(34, 197, 94, 0.25);
    text-align: left;
}

.pp-busted[hidden] {
    display: none;
}

.pp-busted__bar {
    padding: 6px 10px;
    background: #0d1a12;
    border-bottom: 1px solid #1f6f3a;
    color: #5fd38d;
    font-family: Consolas, 'Courier New', monospace;
    font-size: 11px;
    text-align: left;
}

.pp-busted__body {
    padding: 10px 12px;
    font-family: Consolas, 'Courier New', monospace;
    font-size: 12.5px;
    line-height: 1.55;
    color: #4ade80;
    white-space: pre-wrap;
    overflow-wrap: break-word;
}

.pp-busted__line.is-alert {
    color: #ff5f5f;
    font-weight: 700;
}

.pp-busted__line.is-final {
    color: #fff;
    font-weight: 700;
}

.pp-busted__cursor {
    margin-left: 2px;
    color: #4ade80;
    font-weight: 400;
    animation: pp-busted-blink 1s steps(1) infinite;
}

@keyframes pp-busted-blink {
    50% {
        opacity: 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    .pp-busted__cursor {
        animation: none;
    }
}

.pp-cast {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    margin-top: 8px;
    padding: 16px;
    border: 0;
    border-radius: 40px;
    background: linear-gradient(90deg, #3a72e8, #5fa8ff);
    color: #ffffff;
    font: inherit;
    font-size: 18px;
    font-weight: 900;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    cursor: pointer;
}

.pp-cast:disabled {
    opacity: 0.75;
    cursor: default;
}

.pp-modal__done .pp-share {
    margin-top: 0;
}

.pp-modal__done .pp-share__label {
    color: #cfe2ff;
    text-align: center;
}

.pp-modal__done .pp-share__row {
    justify-content: center;
}

.pp-modal__done .pp-cast--board {
    margin-top: 18px;
}

/* The confetti layer over everything, gone when the burst ends */
.pp-confetti {
    position: fixed;
    inset: 0;
    z-index: 1100;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

/* Phones: the pop-up all but fills the screen and scrolls */
@media (max-width: 640px) {
    .pp-modal {
        padding: 8px;
    }

    .pp-modal__panel {
        width: 100%;
        max-height: calc(100vh - 16px);
        max-height: calc(100dvh - 16px);
        padding: 24px 18px 20px;
    }

    .pp-modal__title {
        font-size: 26px;
        padding: 0 30px;
    }

    .pp-modal__fields {
        grid-template-columns: 1fr;
    }
}

/* ---------------- The solid gradient buttons: Cast My Vote, Find It, Party Packages ---------------- */

/* No glow: hover lifts 2px and brightens, a press settles back and darkens a touch */
.pp-cast,
.pp-search__go,
.pp-advert a.pp-advert__btn--solid {
    box-shadow: none;
    transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
}

.pp-cast:hover:not(:disabled),
.pp-search__go:hover,
.pp-advert a.pp-advert__btn--solid:hover {
    background: linear-gradient(90deg, #3a72e8, #5fa8ff);
    color: #ffffff !important;
    transform: translateY(-2px);
    filter: brightness(1.12);
}

.pp-cast:active:not(:disabled),
.pp-search__go:active,
.pp-advert a.pp-advert__btn--solid:active {
    transform: translateY(0);
    filter: brightness(0.95);
}

.pp-cast:focus-visible,
.pp-search__go:focus-visible,
.pp-advert a.pp-advert__btn--solid:focus-visible {
    background: linear-gradient(90deg, #3a72e8, #5fa8ff);
    color: #ffffff !important;
    outline: 3px solid #9fd4ff;
    outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
    .pp-cast,
    .pp-search__go,
    .pp-advert a.pp-advert__btn--solid {
        transition: filter 0.15s ease;
    }

    .pp-cast:hover:not(:disabled),
    .pp-search__go:hover,
    .pp-advert a.pp-advert__btn--solid:hover,
    .pp-cast:active:not(:disabled),
    .pp-search__go:active,
    .pp-advert a.pp-advert__btn--solid:active {
        transform: none;
    }
}

/* ---------------- Phones (375px) ---------------- */

/* The kick-off stays on one line */
.pp-nowrap {
    white-space: nowrap;
}

@media (max-width: 860px) {
    /* The speakers sit smaller and centred under the buttons, not off the right edge */
    .pp-stack {
        position: relative;
        top: auto;
        right: auto;
        width: 150px;
        margin: 18px auto 0;
        opacity: 1;
        z-index: auto;
    }
}

@media (max-width: 640px) {
    /* Lineup and bench rows keep the Vote button at the right end, as on desktop */
    .pp-row.pp-score {
        grid-template-columns: 56px minmax(0, 1fr) auto auto;
        padding: 10px 6px 10px 2px;
    }

    .pp-score__shirt .pp-shirt {
        width: 56px;
        height: 56px;
    }

    .pp-also__row.pp-bench {
        grid-template-columns: 40px minmax(0, 1fr) auto auto;
        gap: 0;
        padding-right: 6px;
    }

    .pp-boardsec .pp-also {
        padding: 14px 10px;
    }

    .pp-bench__rank .pp-shirt {
        width: 38px;
        height: 38px;
    }

    .pp-score__main,
    .pp-bench__main {
        padding: 0 8px;
    }

    .pp-score__vote,
    .pp-bench__vote {
        grid-column: auto;
        margin: 0;
        padding-left: 8px;
    }

    /* Titles wrap to two lines at most */
    .pp-score__title,
    .pp-bench__title {
        display: -webkit-box;
        overflow: hidden;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
        line-clamp: 2;
        font-size: 15px;
        line-height: 1.25;
    }

    .pp-score__artist,
    .pp-bench__artist {
        font-size: 12px;
        line-height: 1.3;
    }

    .pp-score .pp-bar {
        height: 6px;
        margin-top: 6px;
    }

    .pp-bench .pp-bar {
        height: 4px;
        margin-top: 5px;
    }

    /* The count alone, smaller; the record and headphones step aside */
    .pp-score__disc,
    .pp-bench__disc {
        display: none;
    }

    .pp-score__right,
    .pp-bench__right {
        align-items: center;
        gap: 0;
    }

    .pp-score__count {
        font-size: 18px;
    }

    .pp-bench__count {
        font-size: 15px;
    }

    .pp-score__word,
    .pp-bench__word {
        font-size: 8px;
    }

    /* The Vote button compact: the icon and the word, no second line */
    .pp-page .pp-score__vote .btn.btn-primary.pp-rowvote,
    .pp-page .pp-bench__vote .btn.btn-primary.pp-rowvote {
        width: auto;
        padding: 6px 10px;
        font-size: 13px;
    }

    .pp-page .pp-score__vote .pp-rowvote__sub,
    .pp-page .pp-bench__vote .pp-rowvote__sub {
        display: none;
    }

    .pp-page .pp-score__vote .pp-myvote,
    .pp-page .pp-bench__vote .pp-myvote {
        gap: 4px;
        padding: 5px 8px;
        font-size: 10px;
        letter-spacing: 0.03em;
        white-space: nowrap;
    }
}

/* After a vote one card stands 56px under the picker's headline, in place of the search and steps:
   the shared song card's look, up to 1120px wide, the artwork, the words and share buttons, then
   the MY VOTE pill */
.pp-picker__find[hidden] {
    display: none;
}

.pp-featured.pp-voted {
    display: flex;
    align-items: center;
    gap: 18px;
    text-align: left;
}

.pp-featured.pp-voted[hidden] {
    display: none;
}

.pp-picker .pp-featured.pp-voted {
    position: relative;
    left: 50%;
    width: min(1120px, calc(100vw - 48px));
    margin: 56px 0 0;
    transform: translateX(-50%);
}

.pp-voted .pp-song__art {
    flex: 0 0 72px;
    margin-right: 6px;
}

.pp-voted__main {
    flex: 1 1 auto;
    min-width: 0;
}

.pp-voted .pp-share {
    margin-top: 12px;
}

.pp-voted .pp-share__label {
    margin: 0 0 10px;
}

.pp-voted .pp-share__row {
    justify-content: flex-start;
}

/* The status line (page card and thank-you): the MY VOTE pill carrying the song, then where the
   song stands on its own line under it */
.pp-status {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    line-height: 1.25;
    text-align: left;
}

/* The thank-you keeps it centred in the pop-up */
.pp-modal__place.pp-status {
    align-items: center;
    text-align: center;
}

/* The pill: the tick, My Vote, a middot and the song, each nudged so they read centred */
.pp-status .pp-myvote {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    max-width: 100%;
    padding: 8px 16px;
    line-height: 1;
}

.pp-status .pp-myvote i {
    width: auto;
    margin: 0;
    color: inherit;
    transform: translateY(1px);
}

.pp-status .pp-myvote__words,
.pp-status .pp-myvote__dot {
    transform: translateY(1.5px);
}

.pp-status .pp-myvote__dot {
    opacity: 0.7;
}

.pp-status .pp-status__song {
    min-width: 0;
    color: #ffffff;
    font-size: 19px;
    font-weight: 400;
    letter-spacing: 0;
    line-height: 1;
    text-transform: none;
    white-space: normal;
}

.pp-status__standing {
    display: block;
    color: #cfe6ff;
    font-weight: 600;
}

/* The rank star on the page card, 4px clear of the artwork */
.pp-voted > .pp-rankstar {
    margin-right: 4px;
}

/* The whole card breathes gently; the star stays still */
.pp-featured.pp-voted {
    animation: boxPulse 2.6s ease-in-out infinite;
}

@keyframes boxPulse {
    0%,
    100% {
        border-color: rgba(159, 212, 255, 0.25);
        box-shadow: 0 0 0 0 rgba(95, 168, 255, 0);
    }

    50% {
        border-color: rgba(159, 212, 255, 0.7);
        box-shadow: 0 0 0 6px rgba(95, 168, 255, 0.12), 0 0 28px rgba(95, 168, 255, 0.25);
    }
}

@media (prefers-reduced-motion: reduce) {
    .pp-featured.pp-voted {
        animation: none;
    }
}

/* Phones: the star and the artwork side by side on top, the words and share buttons under them */
@media (max-width: 640px) {
    .pp-featured.pp-voted {
        display: grid;
        grid-template-columns: auto auto minmax(0, 1fr);
        align-items: center;
        gap: 14px;
        padding: 16px;
    }

    .pp-picker .pp-featured.pp-voted {
        width: calc(100vw - 32px);
    }

    .pp-voted .pp-song__art {
        width: 56px;
        height: 56px;
    }

    .pp-voted__main {
        grid-column: 1 / -1;
    }

    .pp-voted > .pp-rankstar {
        margin-right: 0;
    }
}

/* The board keeps its stadium photo and navy wash whichever band it falls on (the feature page's
   odd-band rule would otherwise paint it light) */
main.ps-feature-page.pp-page > section.pp-boardsec:not(.ps-feature-hero):not(.ps-cta) {
    background:
        linear-gradient(rgba(11, 20, 48, 0.9), rgba(11, 20, 48, 0.94)),
        url("/assets/img/av-installations/peterborough-united-stadium-audio-partners.webp") center / cover no-repeat;
}

/* After the close the picker keeps only its headline and one line */
.pp-picker--closed .pp-picker__sub {
    margin-bottom: 0;
}

/* The gold rank star at the left of the thank-you's song card, the position on it */
.pp-rankstar {
    position: relative;
    display: flex;
    flex: 0 0 84px;
    align-items: center;
    justify-content: center;
    width: 84px;
    height: 84px;
    margin-right: 6px;
}

.pp-rankstar svg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.pp-rankstar__num {
    position: relative;
    margin-top: 8px;
    color: #ffffff;
    font-size: 20px;
    font-weight: 900;
    line-height: 1;
    text-shadow: 0 1px 2px rgba(122, 74, 0, 0.85), 0 0 1px rgba(122, 74, 0, 0.9);
}

/* Vote, for a different song: the matching button beside each Starting Lineup song's Vote
   (Nick, 23/11/2026). The two sit side by side; the score row's last column grows to fit both,
   and on a phone or tablet they stack. */
@media (min-width: 861px) {
    .pp-row.pp-score {
        grid-template-columns: 140px 1fr 112px auto;
    }
}

.pp-score__vote {
    gap: 8px;
}

/* On a phone the slot at the row's right end is narrow, so the two stack, the same width */
@media (max-width: 860px) {
    .pp-score__vote {
        flex-direction: column;
        align-items: stretch;
        gap: 6px;
    }
}

/* On a phone the usual small lines under the row buttons are hidden, so on the Starting Lineup the
   pair reads Vote with smaller words after it on the same line: this track, something else (Nick,
   23/11/2026); elsewhere these never show */
.pp-rowvote__m {
    display: none;
    font-size: 10px;
    font-weight: 600;
    opacity: 0.8;
}

@media (max-width: 640px) {
    .pp-page .pp-score__vote .pp-rowvote .pp-rowvote__m {
        display: inline;
    }
}

/* On a phone the pair takes its own full-width line under the song, side by side, so the song's
   title keeps the row's width (Nick, 23/11/2026) */
@media (max-width: 640px) {
    .pp-page .pp-row.pp-score .pp-score__vote {
        grid-column: 1 / -1;
        flex-direction: row;
        align-items: stretch;
        margin: 8px 0 2px;
        padding-left: 0;
    }

    .pp-page .pp-row.pp-score .pp-score__vote .pp-rowvote {
        flex: 1 1 auto;
        width: auto;
        min-width: 0;
        justify-content: center;
        padding: 8px 8px;
        font-size: 13px;
    }

    .pp-page .pp-row.pp-score .pp-score__vote .pp-rowvote .pp-rowvote__top {
        flex-wrap: wrap;
        justify-content: center;
        gap: 0 5px;
        white-space: normal;
        text-align: center;
    }

    /* On the narrowest phones the small words drop to a second line inside the button, never past it */
    .pp-page .pp-row.pp-score .pp-score__vote .pp-rowvote .pp-rowvote__m {
        min-width: 0;
    }
}

/* Below a standard phone's width both buttons put their small words on the second line together,
   so the pair always matches (Nick, 23/11/2026) */
@media (max-width: 374px) {
    .pp-page .pp-row.pp-score .pp-score__vote .pp-rowvote .pp-rowvote__m {
        display: block;
        flex-basis: 100%;
    }
}

/* ---------------- Verify your vote (PoshVoteVerify, POSH_VOTE_VERIFY on) ---------------- */

/* The orange box, the same in the thank-you and on the My Vote card: the warning line, the
   countdown, then the four buttons two by two (Nick, 23/11/2026) */
.pp-verify {
    clear: both;
    margin: 16px 0 4px;
    padding: 20px 18px;
    border: 2px solid #ffb347;
    border-radius: 16px;
    background: linear-gradient(180deg, #ff8a00, #f26b00);
    box-shadow: 0 8px 24px rgba(242, 107, 0, 0.35);
    color: #ffffff;
    text-align: center;
}

.pp-verify__lead {
    margin: 0 0 8px;
    color: #ffffff;
    font-size: 21px;
    font-weight: 900;
    line-height: 1.25;
    text-transform: uppercase;
}

.pp-verify__lead i {
    margin-right: 8px;
    color: #ffffff;
}

.pp-verify__time {
    display: block;
    margin: 0 0 16px;
    color: #fff3e0;
    font-size: 16px;
    font-weight: 700;
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
}

.pp-verify__time i {
    width: 16px;
    margin-right: 4px;
    color: #fff3e0;
    text-align: center;
}

.pp-verify__row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 10px;
    clear: both;
}

/* The buttons' shape, by id so no page button rule (.pp-share__btn and the rest) can squash it,
   in the thank-you (#pp-vote) and the My Vote card (#your-vote) alike */
#pp-vote .pp-verify .pp-verify__time,
#your-vote .pp-verify .pp-verify__time {
    display: block;
    margin: 0 0 16px;
}

#pp-vote .pp-verify .pp-verify__row,
#your-vote .pp-verify .pp-verify__row {
    margin-top: 0;
}

#pp-vote .pp-verify .pp-verify__btn,
#your-vote .pp-verify .pp-verify__btn {
    display: inline-flex;
    flex: 0 0 auto;
    min-width: 200px;
    max-width: 100%;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 11px 16px;
    border-radius: 10px;
    font-size: 15px;
    line-height: 1.2;
    white-space: nowrap;
}

/* On the My Vote card the four sit on one line (wrapping only on narrow screens): 14px, sized
   to their words; the thank-you keeps the larger two by two above (Nick, 23/11/2026) */
#your-vote .pp-verify .pp-verify__row {
    gap: 7px;
}

/* The card holds the orange box inside it: padding all round, the box's own foot margin none */
#your-vote.pp-featured.pp-voted {
    padding: 20px;
}

#your-vote .pp-verify {
    margin-bottom: 0;
}

@media (max-width: 640px) {
    #your-vote.pp-featured.pp-voted {
        padding: 16px;
    }
}

#your-vote .pp-verify .pp-verify__btn {
    flex: 0 0 auto;
    width: auto;
    min-width: 0;
    gap: 7px;
    padding: 10px 12px;
    font-size: 14px;
    white-space: nowrap;
}

#your-vote .pp-verify .pp-verify__btn span {
    display: inline;
    white-space: nowrap;
}

#your-vote .pp-verify .pp-verify__btn .pp-verify__logo {
    display: inline-flex;
}

/* Each button: its own fill and words, restated above the page's link and button colours so the
   words never change on hover; only the fill darkens */
.pp-page .pp-verify .pp-verify__btn,
.pp-page .pp-verify a.pp-verify__btn {
    display: inline-flex;
    flex: 0 0 auto;
    min-width: 200px;
    white-space: nowrap;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 11px 16px;
    border: 1px solid transparent;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.2;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.15s ease, filter 0.15s ease;
}

.pp-verify__logo {
    display: inline-flex;
    flex: 0 0 auto;
}

.pp-verify__logo svg {
    display: block;
}

.pp-page .pp-verify .pp-verify__btn--google,
.pp-page .pp-verify .pp-verify__btn--google:hover,
.pp-page .pp-verify .pp-verify__btn--google:focus-visible {
    border-color: #747775;
    background: #ffffff;
    color: #1f1f1f !important;
    font-family: Roboto, Arial, sans-serif;
}

.pp-page .pp-verify .pp-verify__btn--microsoft,
.pp-page .pp-verify .pp-verify__btn--microsoft:hover,
.pp-page .pp-verify .pp-verify__btn--microsoft:focus-visible {
    border-color: #8c8c8c;
    background: #ffffff;
    color: #5e5e5e !important;
    font-family: "Segoe UI", Arial, sans-serif;
}

.pp-page .pp-verify .pp-verify__btn--facebook,
.pp-page .pp-verify .pp-verify__btn--facebook:hover,
.pp-page .pp-verify .pp-verify__btn--facebook:focus-visible {
    border-color: #1877f2;
    background: #1877f2;
    color: #ffffff !important;
}

.pp-page .pp-verify .pp-verify__btn--email,
.pp-page .pp-verify .pp-verify__btn--email:hover,
.pp-page .pp-verify .pp-verify__btn--email:focus-visible {
    border-color: #ffffff;
    background: #ffffff;
    color: #b34700 !important;
}

.pp-page .pp-verify .pp-verify__btn--email i {
    color: #b34700;
}

.pp-page .pp-verify .pp-verify__btn--google:hover,
.pp-page .pp-verify .pp-verify__btn--microsoft:hover,
.pp-page .pp-verify .pp-verify__btn--email:hover {
    background: #f1f1f1;
}

.pp-page .pp-verify .pp-verify__btn--facebook:hover {
    background: #1466d8;
}

.pp-page .pp-verify .pp-verify__btn:focus-visible {
    outline: 3px solid #ffffff;
    outline-offset: 2px;
}

.pp-page .pp-verify .pp-verify__btn:disabled {
    opacity: 0.7;
    cursor: default;
}

.pp-verify__msg {
    margin: 12px 0 0;
    color: #ffffff;
    font-weight: 700;
}

.pp-verify__msg:empty {
    display: none;
}

.pp-verify__msg.is-error {
    color: #fff3e0;
}

.pp-verify__dev,
a.pp-verify__dev {
    color: #ffffff !important;
    text-decoration: underline;
}

/* Back from a sign-in or a confirm link: one line under the picker's headline */
.pp-verified-note {
    clear: both;
    margin: 16px auto 0;
    max-width: 720px;
    color: #ffffff;
    font-size: 17px;
    font-weight: 700;
}

/* Phones: the orange verify box above the share block, in the thank-you and on the My Vote card
   (one markup; desktop keeps share then verify) (Nick, 23/11/2026) */
@media (max-width: 600px) {
    #pp-modal-done:not([hidden]) {
        display: flex;
        flex-direction: column;
    }

    #pp-modal-done > .pp-verify {
        order: 1;
        margin-bottom: 14px;
    }

    #pp-modal-done > .pp-share {
        order: 2;
    }

    #pp-modal-done > .pp-cast--board {
        order: 3;
    }

    #your-vote .pp-voted__main {
        display: flex;
        flex-direction: column;
    }

    #your-vote .pp-voted__main > .pp-verify {
        order: 1;
    }

    #your-vote .pp-voted__main > .pp-share {
        order: 2;
    }
}
