/*
 * NYOTA voting experience: shared components for the category, nominee,
 * vote, checkout, credits and nominee-portal pages.
 *
 * Every class is prefixed `fv-` so nothing collides with Bootstrap or the
 * legacy theme (style.css), which are still loaded site-wide. Colours and
 * type come from the brand tokens declared on :root in layout.blade.php
 * (--cream, --ink, --gold, --display, --body …).
 */

.fv {
    --fv-line: #E3E8E1;
    --fv-line-soft: #EEF2EC;
    --fv-panel: #FFFFFF;
    --fv-ok: #2F7D46;
    --fv-ok-bg: #EAF5EE;
    --fv-warn: #9A5B12;
    --fv-warn-bg: #FFF4E0;
    --fv-err: #A23A2A;
    --fv-err-bg: #FDECE8;
    --fv-info-bg: #F2F8EE;
    --fv-radius: 10px;
    --fv-radius-sm: 8px;
    font-family: var(--body);
    color: var(--ink);
    padding: 28px 0 72px;
    /* Cormorant's default old-style figures make "10" read as "Io". */
    font-variant-numeric: lining-nums;
    font-feature-settings: "lnum" 1;
}
.fv *, .fv *::before, .fv *::after { box-sizing: border-box; }
.fv img { max-width: 100%; }
.fv a { color: inherit; }
.fv p { margin: 0 0 12px; }
.fv h1, .fv h2, .fv h3 {
    font-family: var(--display);
    font-weight: 700;
    color: var(--ink);
    letter-spacing: -0.01em;
    margin: 0;
}
.fv h1 { font-size: clamp(32px, 5vw, 54px); line-height: 1.06; }
.fv h2 { font-size: clamp(24px, 3vw, 32px); line-height: 1.15; }
.fv h3 { font-size: 22px; line-height: 1.2; }
.fv .fv-muted { color: var(--ink-3); }
.fv .fv-small { font-size: 13px; }
.fv .fv-tiny { font-size: 12px; }

.fv-wrap { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.fv-wrap--narrow { max-width: 880px; }
@media (max-width: 640px) { .fv-wrap { padding: 0 16px; } .fv { padding-top: 16px; } }

.fv-section { margin-top: 40px; }
.fv-section__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 18px; }

/* ─── eyebrow / breadcrumb / head ──────────────────────────────── */

.fv-eyebrow {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--gold);
    margin: 0 0 10px;
}
.fv-crumbs { display: flex; flex-wrap: wrap; gap: 6px; font-size: 13px; color: var(--ink-3); margin-bottom: 18px; }
.fv-crumbs a { color: var(--ink-3); text-decoration: none; }
.fv-crumbs a:hover { color: var(--gold); }
.fv-crumbs span[aria-current] { color: var(--ink); }
.fv-crumbs .sep { color: var(--ink-4); }

.fv-head { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px; align-items: end; }
.fv-head__lede { color: var(--ink-2); font-size: 16px; max-width: 62ch; margin-top: 12px; }
.fv-head__meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
@media (max-width: 860px) { .fv-head { grid-template-columns: 1fr; } }

/* ─── pills / status ───────────────────────────────────────────── */

.fv-pill {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 5px 12px; border-radius: var(--r-sm);
    background: var(--fv-panel); border: 1px solid var(--fv-line);
    font-size: 12px; font-weight: 500; color: var(--ink-2);
    text-decoration: none; white-space: nowrap;
}
.fv-pill img { width: 16px; height: auto; border-radius: 2px; }
.fv-pill--gold { border-color: var(--gold-soft); background: var(--gold-pale); color: var(--ink); }
.fv-pill--ok { background: var(--fv-ok-bg); border-color: #CDE7D6; color: var(--fv-ok); }
.fv-pill--warn { background: var(--fv-warn-bg); border-color: #F2DDB5; color: var(--fv-warn); }
.fv-pill--off { background: #F4F7F2; border-color: #E3E8E1; color: var(--ink-3); }
.fv-pill .dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
a.fv-pill:hover { border-color: var(--gold); color: var(--gold); }

/* ─── buttons ──────────────────────────────────────────────────── */

.fv-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    min-height: 48px; padding: 0 24px;
    border-radius: var(--r-sm); border: 2px solid var(--gold);
    box-shadow: inset 0 -3px 0 rgba(0, 0, 0, 0.18);
    background: var(--gold); color: #fff !important;
    font: 700 15px/1.1 var(--body); letter-spacing: 0.01em;
    text-decoration: none !important; cursor: pointer;
    transition: background .2s ease, border-color .2s ease, color .2s ease, transform .2s ease;
    white-space: nowrap;
}
.fv-btn:hover { background: var(--green-dark); border-color: var(--green-dark); color: #fff !important; }
.fv-btn:focus-visible { outline: none; box-shadow: 0 0 0 3px #fff, 0 0 0 6px #7CC943; }
.fv-btn:active { transform: translateY(1px); box-shadow: none; }
.fv-btn[disabled], .fv-btn.is-disabled { background: #B4B8B4; border-color: #B4B8B4; cursor: not-allowed; }
.fv-btn--gold { background: var(--gold); border-color: var(--gold); color: #fff !important; }
.fv-btn--gold:hover { background: var(--green-dark); border-color: var(--green-dark); }
.fv-btn--ghost { background: #fff; color: var(--ink) !important; border-color: rgba(20, 20, 20, 0.85); box-shadow: none; }
.fv-btn--ghost:hover { background: var(--gold-pale); color: var(--gold) !important; border-color: var(--gold); }
.fv-btn--sm { min-height: 38px; padding: 8px 16px; font-size: 13px; }
.fv-btn--block { width: 100%; }
.fv-btn--lg { min-height: 54px; font-size: 16px; }
.fv-link { color: var(--gold) !important; font-weight: 600; text-decoration: none; }
.fv-link:hover { text-decoration: underline; }
.fv-link--muted { color: var(--ink-3) !important; font-weight: 500; }

/* ─── step bar ─────────────────────────────────────────────────── */

.fv-steps { display: flex; gap: 0; list-style: none; margin: 0 0 26px; padding: 0; counter-reset: fvstep; }
.fv-steps li {
    flex: 1; position: relative; padding-top: 30px;
    font-size: 12px; font-weight: 500; color: var(--ink-4); text-align: center;
    counter-increment: fvstep;
}
.fv-steps li::before {
    content: counter(fvstep);
    position: absolute; top: 0; left: 50%; transform: translateX(-50%);
    width: 24px; height: 24px; border-radius: 50%;
    display: grid; place-items: center;
    background: var(--fv-panel); border: 1.5px solid var(--fv-line); color: var(--ink-4);
    font-size: 11.5px; font-weight: 600; z-index: 1;
}
.fv-steps li::after {
    content: ''; position: absolute; top: 11px; left: calc(-50% + 14px); right: calc(50% + 14px);
    height: 2px; background: var(--fv-line);
}
.fv-steps li:first-child::after { display: none; }
.fv-steps li.is-done { color: var(--ink-2); }
.fv-steps li.is-done::before { content: '✓'; background: var(--fv-ok); border-color: var(--fv-ok); color: #fff; }
.fv-steps li.is-done::after, .fv-steps li.is-current::after { background: var(--fv-ok); }
.fv-steps li.is-current { color: var(--ink); font-weight: 600; }
.fv-steps li.is-current::before { background: var(--ink); border-color: var(--ink); color: #fff; }
@media (max-width: 520px) { .fv-steps li { font-size: 10.5px; } }

/* ─── panels / rows ────────────────────────────────────────────── */

.fv-panel {
    background: var(--fv-panel); border: 1px solid var(--fv-line-soft);
    border-radius: var(--fv-radius); padding: 22px;
    box-shadow: 0 1px 2px rgba(20, 20, 20, .03);
}
.fv-panel + .fv-panel { margin-top: 16px; }
.fv-panel--tint { background: var(--gold-pale); border-color: var(--gold-soft); }
.fv-label {
    font-size: 11px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
    color: var(--gold); margin: 0 0 14px;
}
.fv-rows { margin: 0; }
.fv-row { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 11px 0; border-bottom: 1px solid var(--fv-line-soft); font-size: 14.5px; }
.fv-row:last-child { border-bottom: 0; }
.fv-row > :first-child { color: var(--ink-3); }
.fv-row > :last-child { text-align: right; color: var(--ink); font-weight: 500; }
.fv-row--total { font-size: 18px; padding-top: 14px; }
.fv-row--total > :last-child { font-family: var(--display); font-size: 28px; font-weight: 700; color: var(--ink); }

.fv-split { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(300px, .8fr); gap: 28px; align-items: start; }
.fv-split--profile { grid-template-columns: minmax(260px, 380px) minmax(0, 1fr); gap: 40px; }
.fv-sticky { position: sticky; top: 96px; }
@media (max-width: 900px) {
    .fv-split, .fv-split--profile { grid-template-columns: 1fr; gap: 20px; }
    .fv-sticky { position: static; }
}

/* ─── alerts ───────────────────────────────────────────────────── */

.fv-alert { border-radius: var(--fv-radius-sm); padding: 14px 16px; font-size: 14px; line-height: 1.5; border: 1px solid transparent; margin-bottom: 16px; }
.fv-alert strong { display: block; margin-bottom: 2px; }
.fv-alert--info { background: var(--fv-info-bg); border-color: var(--fv-line); color: var(--ink-2); }
.fv-alert--ok { background: var(--fv-ok-bg); border-color: #CDE7D6; color: #1F5E33; }
.fv-alert--warn { background: var(--fv-warn-bg); border-color: #F2DDB5; color: #7A4A0F; }
.fv-alert--err { background: var(--fv-err-bg); border-color: #F3C9C0; color: #8A2A1C; }
.fv-note { border-left: 2px solid var(--gold); padding: 4px 0 4px 14px; color: var(--ink-3); font-size: 13.5px; margin: 16px 0; }

/* ─── countdown ────────────────────────────────────────────────── */

.fv-countdown { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.fv-countdown__cell { background: var(--fv-panel); border: 1px solid var(--fv-line-soft); border-radius: var(--fv-radius-sm); text-align: center; padding: 10px 4px 8px; }
.fv-countdown__cell b { display: block; font-family: var(--display); font-size: 28px; line-height: 1; color: var(--ink); font-weight: 700; }
.fv-countdown__cell small { font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); }

/* ─── toolbar / segmented control / inputs ─────────────────────── */

.fv-toolbar { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin: 26px 0 18px; }
.fv-toolbar .fv-input { flex: 1 1 240px; }
.fv-seg { display: inline-flex; background: #F4F7F2; border-radius: var(--r-sm); padding: 4px; gap: 2px; }
.fv-seg a, .fv-seg button {
    border: 0; background: transparent; border-radius: var(--r-sm); padding: 8px 16px;
    font: 600 13px var(--body); color: var(--ink-3); text-decoration: none; cursor: pointer; white-space: nowrap;
}
.fv-seg .is-on { background: var(--fv-panel); color: var(--ink); box-shadow: 0 1px 3px rgba(20,20,20,.12); }
@media (max-width: 640px) {
    .fv-toolbar > * { flex: 1 1 100% !important; }
    .fv-toolbar .fv-seg a { flex: 1; text-align: center; }
}

.fv-field { display: block; margin-bottom: 16px; }
.fv-field > span, .fv-field > label { display: block; font-size: 12.5px; font-weight: 600; color: var(--ink-2); margin-bottom: 6px; }
.fv-field small { display: block; margin-top: 6px; color: var(--ink-3); font-size: 12.5px; }
.fv-input, .fv select.fv-input, .fv textarea.fv-input {
    width: 100%; min-height: 46px; padding: 11px 14px;
    background: #fff; border: 1.5px solid var(--fv-line); border-radius: var(--fv-radius-sm);
    font: 400 15px var(--body); color: var(--ink); outline: none; appearance: auto;
    transition: border-color .15s ease, box-shadow .15s ease;
}
.fv textarea.fv-input { min-height: 160px; line-height: 1.55; }
.fv-input:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(41, 130, 0, .14); }
.fv-input.is-invalid { border-color: var(--fv-err); }
.fv .iti { width: 100%; }
.fv-code-input { font-family: var(--display); font-size: 30px !important; letter-spacing: .4em; text-align: center; font-weight: 700; }

/* ─── nominee grid + card ──────────────────────────────────────── */

.fv-grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }
.fv-grid--3 { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
@media (max-width: 520px) { .fv-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; } }

.fv-card {
    background: var(--fv-panel); border: 1px solid var(--fv-line-soft); border-radius: var(--fv-radius);
    overflow: hidden; display: flex; flex-direction: column;
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.fv-card:hover { transform: translateY(-3px); box-shadow: 0 14px 34px -20px rgba(20,20,20,.45); border-color: var(--gold-soft); }
.fv-card__photo { position: relative; aspect-ratio: 4 / 5; background: linear-gradient(155deg, #F4F7F2, #D9E0D6); display: block; overflow: hidden; }
.fv-card__photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.fv-card__initials { position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--display); font-size: 52px; color: rgba(41, 130, 0, .55); font-weight: 700; }
.fv-card__badge {
    position: absolute; left: 10px; top: 10px;
    background: rgba(255,255,255,.94); color: var(--ink); border-radius: var(--r-sm);
    padding: 4px 10px; font-size: 11px; font-weight: 600;
}
.fv-card__badge--gold { background: var(--gold); color: #fff; }
.fv-card__body { padding: 16px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.fv-card__name { font-family: var(--display); font-size: 21px; line-height: 1.15; font-weight: 700; text-decoration: none; color: var(--ink); }
.fv-card__name:hover { color: var(--gold); }
.fv-card__meta { font-size: 13px; color: var(--ink-3); display: flex; align-items: center; gap: 6px; }
.fv-card__meta img { width: 16px; border-radius: 2px; }
.fv-card__own { margin-top: 8px; font-size: 12.5px; background: var(--gold-pale); border: 1px solid var(--gold-soft); border-radius: 8px; padding: 8px 10px; }
.fv-card__actions { display: flex; gap: 8px; margin-top: auto; padding-top: 14px; }
.fv-card__actions .fv-btn { flex: 1; min-height: 40px; padding: 8px 10px; font-size: 13px; }
@media (max-width: 520px) {
    .fv-card__body { padding: 12px; }
    .fv-card__name { font-size: 17px; }
    .fv-card__actions { flex-direction: column; }
}

/* ─── category cards (listing pages) ───────────────────────────── */

.fv-cat {
    display: flex; flex-direction: column; gap: 8px; padding: 22px; height: 100%;
    background: var(--fv-panel); border: 1px solid var(--fv-line-soft); border-radius: var(--fv-radius);
    text-decoration: none !important; color: var(--ink) !important;
    transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.fv-cat:hover { border-color: var(--gold); box-shadow: 0 14px 32px -22px rgba(20,20,20,.5); transform: translateY(-2px); }
.fv-cat__num { font-family: var(--display); font-size: 15px; color: var(--gold); font-weight: 700; }
.fv-cat h3 { font-size: 22px; }
.fv-cat p { color: var(--ink-3); font-size: 13.5px; margin: 0; }
.fv-cat__foot { display: flex; justify-content: space-between; align-items: center; margin-top: auto; padding-top: 12px; font-size: 13px; color: var(--ink-3); }
.fv-cat__foot b { color: var(--gold); font-weight: 600; }

/* ─── nominee profile ──────────────────────────────────────────── */

.fv-profile {
    display: grid; gap: 16px 40px; align-items: start;
    grid-template-columns: minmax(260px, 380px) minmax(0, 1fr);
    grid-template-areas: "photo details" "share details";
    grid-template-rows: auto 1fr;
}
.fv-profile__photo { grid-area: photo; }
.fv-profile__share { grid-area: share; }
.fv-profile__details { grid-area: details; }
@media (max-width: 900px) {
    .fv-profile { grid-template-columns: 1fr; grid-template-areas: "photo" "details" "share"; grid-template-rows: auto; gap: 18px; }
    .fv-profile .fv-portrait { aspect-ratio: 1 / 1; max-height: 320px; max-width: 320px; }
}

/* The poster links repeated up beside the nominee's name, for the phone
   layout above — where the panel that normally holds them has been moved
   below the whole profile. Hidden on wider screens, where that panel sits
   beside the photo and in view. */
.fv-poster-quick { display: none; }
@media (max-width: 900px) {
    .fv-poster-quick {
        display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
        margin-top: 14px; padding-top: 14px;
        border-top: 1px solid var(--fv-border, #E3E8E1);
    }
    .fv-poster-quick .fv-label { margin-right: 2px; }
}

.fv-portrait { position: relative; border-radius: var(--fv-radius); overflow: hidden; aspect-ratio: 4 / 5; background: linear-gradient(155deg, #F4F7F2, #D9E0D6); }
.fv-portrait img { width: 100%; height: 100%; object-fit: cover; display: block; }
.fv-bio { font-size: 16px; line-height: 1.7; color: var(--ink-2); }
.fv-bio p { margin-bottom: 14px; }
.fv-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }

/* ─── share ────────────────────────────────────────────────────── */

.fv-share { display: flex; flex-wrap: wrap; gap: 8px; }
.fv-share a, .fv-share button {
    flex: 1 1 90px; display: inline-flex; align-items: center; justify-content: center; gap: 6px;
    min-height: 40px; padding: 8px 12px; border-radius: var(--r-sm);
    background: #fff; border: 1px solid var(--fv-line); color: var(--ink) !important;
    font: 500 12.5px var(--body); text-decoration: none !important; cursor: pointer;
}
.fv-share a:hover, .fv-share button:hover { border-color: var(--gold); color: var(--gold) !important; }

/* ─── vote builder ─────────────────────────────────────────────── */

.fv-who { display: flex; gap: 16px; align-items: center; }
.fv-who__photo { width: 84px; flex: none; aspect-ratio: 4/5; border-radius: 10px; overflow: hidden; background: #F4F7F2; }
.fv-who__photo img { width: 100%; height: 100%; object-fit: cover; }
.fv-who__name { font-family: var(--display); font-size: 24px; line-height: 1.1; font-weight: 700; }

.fv-qty { display: flex; align-items: stretch; border: 1.5px solid var(--fv-line); border-radius: var(--r-sm); background: #fff; overflow: hidden; max-width: 320px; }
.fv-qty button { width: 56px; border: 0; background: transparent; font-size: 22px; color: var(--ink); cursor: pointer; }
.fv-qty button:hover { background: var(--gold-pale); color: var(--gold); }
.fv-qty input { flex: 1; min-width: 0; border: 0; text-align: center; font: 600 22px var(--body); color: var(--ink); background: transparent; outline: none; -moz-appearance: textfield; }
.fv-qty input::-webkit-outer-spin-button, .fv-qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.fv-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.fv-chip { border: 1px solid var(--fv-line); background: #fff; border-radius: var(--r-sm); padding: 8px 14px; font: 500 13px var(--body); color: var(--ink-2); cursor: pointer; }
.fv-chip:hover, .fv-chip.is-on { border-color: var(--gold); color: var(--gold); background: var(--gold-pale); }

.fv-option {
    display: flex; align-items: flex-start; gap: 12px; padding: 14px 16px; margin-bottom: 10px;
    border: 1.5px solid var(--fv-line); border-radius: var(--fv-radius-sm); background: #fff; cursor: pointer;
    transition: border-color .15s ease, background .15s ease;
}
.fv-option input { margin-top: 3px; accent-color: var(--gold); width: 18px; height: 18px; flex: none; }
.fv-option__dot { width: 18px; height: 18px; flex: none; margin-top: 2px; border-radius: 50%; border: 1.5px solid var(--ink-4); background: #fff; }
.fv-option.is-on .fv-option__dot { border-color: var(--gold); background: var(--gold); box-shadow: inset 0 0 0 3px #fff; }
.fv-option b { display: block; font-size: 15px; }
.fv-option small { display: block; color: var(--ink-3); font-size: 12.5px; margin-top: 2px; }
.fv-option:hover { border-color: var(--gold); }
.fv-option.is-on { border-color: var(--ink); background: var(--cream); }
.fv-option.is-locked { opacity: .55; cursor: not-allowed; }
.fv-option.is-locked:hover { border-color: var(--fv-line); }
.fv-option .fv-pill { margin-left: auto; }

.fv-trust { display: flex; flex-wrap: wrap; gap: 6px 14px; justify-content: center; margin-top: 12px; font-size: 12px; color: var(--ink-3); }
.fv-trust span::before { content: '✓ '; color: var(--fv-ok); }

.fv-next { list-style: none; counter-reset: fvnext; margin: 0; padding: 0; }
.fv-next li { counter-increment: fvnext; position: relative; padding: 0 0 12px 34px; font-size: 13.5px; color: var(--ink-2); }
.fv-next li::before {
    content: counter(fvnext); position: absolute; left: 0; top: 0;
    width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center;
    background: var(--gold-pale); color: var(--gold); font-size: 11.5px; font-weight: 700;
}

/* Mobile pay bar: the total and the main action stay reachable. */
.fv-paybar { display: none; }
@media (max-width: 900px) {
    .fv-paybar {
        display: flex; align-items: center; gap: 12px;
        position: fixed; left: 0; right: 0; bottom: 0; z-index: 45;
        padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
        background: rgba(255,255,255,.97); border-top: 1px solid var(--fv-line);
        box-shadow: 0 -8px 24px -18px rgba(20,20,20,.5);
    }
    .fv-paybar__total { flex: 1; line-height: 1.15; }
    .fv-paybar__total small { display: block; font-size: 11.5px; color: var(--ink-3); }
    .fv-paybar__total b { font-family: var(--display); font-size: 22px; font-weight: 700; }
    .fv-has-paybar { padding-bottom: 96px; }
}

/* ─── checkout states / receipt ────────────────────────────────── */

.fv-wait { display: flex; gap: 14px; align-items: flex-start; }
.fv-spinner { width: 22px; height: 22px; flex: none; border-radius: 50%; border: 2.5px solid var(--gold-soft); border-top-color: var(--gold); animation: fv-spin .8s linear infinite; }
@keyframes fv-spin { to { transform: rotate(360deg); } }
.fv-tick { width: 76px; height: 76px; border-radius: 50%; margin: 0 auto 18px; display: grid; place-items: center; font-size: 34px; color: var(--fv-ok); background: var(--fv-ok-bg); border: 1px solid #CDE7D6; }
.fv-center { text-align: center; }
.fv-ref { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 13px; background: var(--cream); padding: 2px 8px; border-radius: 6px; }

@media print {
    .foya-nav, .foya-footer, .fv-no-print, #back-to-top, .foya-flash-zone { display: none !important; }
    .fv { padding: 0; }
    .fv-panel { box-shadow: none; border-color: #ccc; }
}

/* ─── partner band ─────────────────────────────────────────────── */

.fv-band {
    margin: 44px 0 0; padding: 22px 0;
    border-top: 1px solid var(--fv-line-soft); border-bottom: 1px solid var(--fv-line-soft);
    background: linear-gradient(100deg, #F2F8EE, #FFFFFF);
}
.fv-band__inner { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.fv-band__logos { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; flex: 1; }
.fv-band__logos img { max-height: 56px; max-width: 180px; width: auto; background: #fff; border: 1px solid var(--fv-line-soft); border-radius: 10px; padding: 8px 14px; }

/* ─── stats / tabs / charts (portal) ───────────────────────────── */

.fv-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
@media (max-width: 900px) { .fv-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.fv-stat { background: var(--fv-panel); border: 1px solid var(--fv-line-soft); border-radius: var(--fv-radius); padding: 18px; }
.fv-stat__label { font-size: 11px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-3); }
.fv-stat__value { display: block; font-family: var(--display); font-size: 38px; line-height: 1.05; font-weight: 700; color: var(--ink); margin: 6px 0 4px; }
.fv-stat__hint { font-size: 12.5px; color: var(--ink-3); }
.fv-up { color: var(--fv-ok); font-weight: 600; }
.fv-down { color: var(--fv-warn); font-weight: 600; }

.fv-tabs { display: flex; gap: 24px; border-bottom: 1px solid var(--fv-line); margin: 30px 0 22px; overflow-x: auto; scrollbar-width: none; }
.fv-tabs::-webkit-scrollbar { display: none; }
.fv-tabs a, .fv-tabs button {
    background: none; border: 0; border-bottom: 2px solid transparent; padding: 12px 0;
    font: 600 12px var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3);
    cursor: pointer; white-space: nowrap; text-decoration: none;
}
.fv-tabs .is-on { color: var(--ink); border-bottom-color: var(--gold); }
.fv-tabpanel[hidden] { display: none; }

.fv-chart { width: 100%; height: auto; display: block; }
.fv-chart .bar { fill: var(--gold); }
.fv-chart__day { outline: none; cursor: default; }
.fv-chart__day:hover .bar, .fv-chart__day:focus .bar { fill: var(--ink); }
.fv-chart__day:focus-visible rect { fill: rgba(41, 130, 0, .08); }
.fv-tip {
    position: fixed; z-index: 90; pointer-events: none; transform: translate(-50%, calc(-100% - 10px));
    background: var(--ink); color: var(--cream); font: 500 12.5px var(--body); padding: 6px 10px; border-radius: 8px; white-space: nowrap;
}
.fv-chart .line { fill: none; stroke: var(--ink); stroke-width: 2; }
.fv-chart .grid { stroke: var(--fv-line-soft); stroke-width: 1; }
.fv-chart text { font: 11px var(--body); fill: var(--ink-3); }
.fv-legend { display: flex; gap: 16px; font-size: 12px; color: var(--ink-3); margin-top: 8px; flex-wrap: wrap; }
.fv-legend i { display: inline-block; width: 10px; height: 10px; border-radius: 2px; margin-right: 6px; vertical-align: -1px; }

.fv-checklist { list-style: none; margin: 0; padding: 0; }
.fv-checklist li { display: flex; gap: 12px; align-items: flex-start; padding: 12px 0; border-bottom: 1px solid var(--fv-line-soft); font-size: 14px; }
.fv-checklist li:last-child { border-bottom: 0; }
.fv-checklist .box { width: 20px; height: 20px; flex: none; border-radius: 6px; border: 1.5px solid var(--fv-line); display: grid; place-items: center; font-size: 12px; margin-top: 1px; }
.fv-checklist .box.is-done { background: var(--fv-ok); border-color: var(--fv-ok); color: #fff; }
.fv-checklist small { display: block; color: var(--ink-3); font-size: 12.5px; }
.fv-checklist .act { margin-left: auto; white-space: nowrap; font-size: 12.5px; }

.fv-dates { list-style: none; margin: 0; padding: 0; }
.fv-dates li { display: grid; grid-template-columns: 58px 1fr; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--fv-line-soft); }
.fv-dates li:last-child { border-bottom: 0; }
.fv-date { text-align: center; border: 1px solid var(--fv-line); border-radius: 10px; padding: 6px 0; background: #fff; line-height: 1.1; }
.fv-date b { display: block; font-family: var(--display); font-size: 24px; font-weight: 700; }
.fv-date small { font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); }
.fv-dates h4 { font: 600 14.5px var(--body); margin: 0 0 2px; }
.fv-dates p { font-size: 13px; color: var(--ink-3); margin: 0; }
.fv-dates li.is-past { opacity: .55; }

/* ─── empty / toast / misc ─────────────────────────────────────── */

.fv-empty { text-align: center; padding: 48px 20px; background: var(--fv-panel); border: 1px dashed var(--fv-line); border-radius: var(--fv-radius); color: var(--ink-3); }
.fv-empty h3 { margin-bottom: 8px; }
.fv-toast {
    position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 80;
    background: var(--ink); color: var(--cream); padding: 12px 20px; border-radius: var(--r-sm); font-size: 13.5px;
    box-shadow: 0 10px 30px -12px rgba(0,0,0,.5);
}
.fv-hide { display: none !important; }
.fv-only-mobile { display: none; }
@media (max-width: 900px) { .fv-only-mobile { display: block; } }
.fv-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Restyle the Bootstrap modals used for Claim / Flag on the new pages. */
.fv-modal .modal-content { border: 0; border-radius: var(--fv-radius); box-shadow: 0 30px 80px -30px rgba(0,0,0,.5); font-family: var(--body); }
.fv-modal .modal-header { border-bottom: 1px solid var(--fv-line-soft); padding: 18px 22px; }
.fv-modal .modal-title { font-family: var(--display); font-size: 24px; font-weight: 700; }
.fv-modal .modal-body { padding: 20px 22px; }
.fv-modal .modal-footer { border-top: 1px solid var(--fv-line-soft); padding: 14px 22px; gap: 8px; }
