/*
 * Public pages design (voter registration, candidate application, candidates, candidate profile).
 * Prefix pd-. Same language as the admin design: forest, green accent, amber, no borders.
 */
.pd-page {
    --pd-forest: #0E2418;
    --pd-accent: #166534;
    --pd-accent-hover: #0F3F22;
    --pd-amber: #F5B544;
    --pd-ground: #F4F6F3;
    --pd-ink: #101814;
    --pd-body: #26302B;
    --pd-muted: #5B6660;
    --pd-soft: #F1F4F0;
    --pd-tile: #F6F8F5;
    --pd-mint: #E9F3EC;
    --pd-mint-ink: #14532D;
    --pd-error: #B4401C;
    --pd-error-bg: #FBF1EC;
    --pd-warn-bg: #FEF3E2;
    --pd-warn-ink: #8A4B08;
    --pd-on-dark: #C3D1C8;
    --pd-on-dark-muted: #A9BBB0;
    --pd-head: Manrope, Inter, system-ui, sans-serif;
    background: var(--pd-ground);
    color: var(--pd-ink);
    font-family: Inter, system-ui, sans-serif;
    font-size: 15px;
    line-height: 1.5;
    padding-bottom: 56px;
}
.pd-page [hidden] { display: none !important; }
.pd-page h1, .pd-page h2, .pd-page h3, .pd-page p, .pd-page dl, .pd-page dd, .pd-page ol, .pd-page ul { margin: 0; }
.pd-page a { color: var(--pd-accent); }
.pd-page a:hover { color: var(--pd-accent-hover); }
.pd-page :focus-visible { outline: 2px solid var(--pd-accent); outline-offset: 2px; }

.pd-wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; box-sizing: border-box; }

/* Dark band under the site header */
.pd-hero { background: var(--pd-forest); color: #FFFFFF; }
.pd-hero-inner { padding-top: 40px; padding-bottom: 96px; display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px; }
.pd-hero--flat .pd-hero-inner { padding-bottom: 44px; flex-direction: column; align-items: stretch; gap: 28px; }
.pd-hero--flat .pd-hero-copy { flex: none; }
.pd-hero--crumb .pd-hero-inner { padding-top: 16px; padding-bottom: 120px; }
.pd-hero-copy { flex: 1 1 420px; min-width: 0; max-width: 640px; }
.pd-badge { display: inline-flex; align-items: center; gap: 8px; min-height: 30px; padding: 0 12px; border-radius: 999px; background: rgba(245, 181, 68, .16); color: var(--pd-amber); font-size: 13px; font-weight: 600; }
.pd-badge--quiet { background: rgba(255, 255, 255, .08); color: #E7F1EA; }
.pd-badge-dot { width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.pd-kicker { font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--pd-amber); }
.pd-h1 { margin-top: 14px !important; font-family: var(--pd-head); font-weight: 800; font-size: 40px; line-height: 1.1; letter-spacing: -.02em; color: inherit; }
.pd-h1--xl { font-size: 48px; line-height: 1.05; }
.pd-lead { margin-top: 10px !important; color: var(--pd-on-dark); font-size: 16px; max-width: 600px; }
.pd-lead strong { color: var(--pd-amber); }
.pd-back { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; font-size: 14px; color: var(--pd-on-dark) !important; text-decoration: none; }
.pd-back:hover { color: #FFFFFF !important; }
.pd-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; max-width: 720px; }
.pd-stat { padding: 14px 16px; border-radius: 14px; background: rgba(255, 255, 255, .07); }
.pd-stat strong { display: block; font-family: var(--pd-head); font-weight: 800; font-size: 28px; line-height: 1; }
.pd-stat span { display: block; margin-top: 4px; font-size: 13px; color: var(--pd-on-dark-muted); }
.pd-stat--amber { background: rgba(245, 181, 68, .14); }
.pd-stat--amber strong { font-size: 20px; line-height: 1.2; color: var(--pd-amber); }
.pd-stat--amber span { color: #E9D7B5; }

.pd-countdown { display: flex; gap: 10px; }
.pd-countdown-unit { min-width: 72px; padding: 12px 10px; border-radius: 14px; background: rgba(255, 255, 255, .07); text-align: center; box-sizing: border-box; }
.pd-countdown-unit strong { display: block; font-family: var(--pd-head); font-weight: 800; font-size: 26px; line-height: 1; }
.pd-countdown-unit span { display: block; margin-top: 4px; font-size: 12px; color: var(--pd-on-dark-muted); }
.pd-countdown-done { font-weight: 600; color: var(--pd-amber); }

/* Content laid over the bottom of the band */
.pd-body { margin-top: -64px; display: flex; flex-wrap: wrap; gap: 20px; align-items: flex-start; }
.pd-body--deep { margin-top: -100px; flex-direction: column; align-items: stretch; }
.pd-body--plain { margin-top: 36px; flex-direction: column; align-items: stretch; gap: 48px; }
.pd-main { flex: 2 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.pd-aside { flex: 1 1 300px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.pd-row { display: flex; flex-wrap: wrap; gap: 20px; align-items: flex-start; }

.pd-card { background: #FFFFFF; border-radius: 20px; padding: 24px; display: flex; flex-direction: column; gap: 16px; box-sizing: border-box; min-width: 0; }
.pd-card--tight { padding: 20px 22px; gap: 10px; }
.pd-card--read { padding: 28px 32px; gap: 14px; }
.pd-card--dark { background: var(--pd-forest); color: #FFFFFF; border-radius: 22px; padding: 28px; flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: space-between; }
.pd-card--warn { background: var(--pd-warn-bg); color: #6B3A06; }
.pd-card-title { font-family: var(--pd-head); font-weight: 700; font-size: 18px; line-height: 1.3; }
.pd-card-title--sm { font-size: 16px; }
.pd-card-title--lg { font-weight: 800; font-size: 22px; }
.pd-card-sub { margin-top: 2px !important; color: var(--pd-muted); font-size: 14px; }
.pd-card-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 6px 12px; }
.pd-muted { color: var(--pd-muted); }
.pd-small { font-size: 14px; }

/* Steps */
.pd-steps { list-style: none; padding: 0 !important; display: flex; flex-wrap: wrap; gap: 8px 28px; }
.pd-steps li { display: flex; align-items: center; gap: 10px; color: var(--pd-muted); font-weight: 500; }
.pd-step-mark { width: 30px; height: 30px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 13px; background: var(--pd-soft); color: var(--pd-muted); flex: none; }
.pd-steps li.is-current { color: var(--pd-ink); font-weight: 600; }
.pd-steps li.is-current .pd-step-mark { background: var(--pd-accent); color: #FFFFFF; }
.pd-steps li.is-done { color: var(--pd-ink); }
.pd-steps li.is-done .pd-step-mark { background: var(--pd-mint); color: var(--pd-mint-ink); }

/* Fields */
.pd-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px 16px; }
.pd-grid > .pd-span { grid-column: 1 / -1; }
.pd-field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.pd-label { font-size: 13px; font-weight: 600; color: var(--pd-body); margin: 0; }
.pd-req { color: var(--pd-error); }
.pd-input { display: block; width: 100%; height: 48px; padding: 0 14px; border: 0; border-radius: 12px; background: var(--pd-soft); font: inherit; font-size: 15px; color: var(--pd-ink); box-sizing: border-box; }
select.pd-input { padding-right: 36px; }
.pd-input:focus { outline: 2px solid var(--pd-accent); outline-offset: 1px; background: #FFFFFF; }
.pd-input[readonly] { color: var(--pd-muted); }
.pd-input:disabled { opacity: .6; }
.pd-textarea { height: auto; min-height: 140px; padding: 14px 16px; line-height: 1.6; resize: vertical; }
.pd-input.is-invalid { background: var(--pd-error-bg); }
.pd-error { font-size: 13px; font-weight: 500; color: var(--pd-error); }
.pd-hint { font-size: 13px; color: var(--pd-muted); }
.pd-count { margin: 0; font-size: 13px; font-weight: 600; color: var(--pd-accent); }
.pd-count.portal-field-error { color: var(--pd-error); }

.pd-choices { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 10px; }
.pd-choice { position: relative; display: flex; gap: 12px; align-items: flex-start; min-height: 48px; padding: 14px 16px; border-radius: 14px; background: var(--pd-tile); color: var(--pd-ink); cursor: pointer; box-sizing: border-box; }
.pd-choice input { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; }
.pd-choice-box { width: 20px; height: 20px; margin-top: 1px; border-radius: 6px; background: #FFFFFF; box-shadow: inset 0 0 0 2px #C3D1C8; flex: none; }
.pd-choice:has(input:checked) { background: var(--pd-forest); color: #FFFFFF; }
.pd-choice:has(input:checked) .pd-choice-box { box-shadow: none; background: var(--pd-amber) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230E2418' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / 14px no-repeat; }
.pd-choice:has(input:focus-visible) { outline: 2px solid var(--pd-accent); outline-offset: 2px; }
.pd-choice-text { display: flex; flex-direction: column; font-weight: 600; }
.pd-choice-text small { font-size: 13px; font-weight: 400; opacity: .8; }

.pd-photo { display: flex; flex-direction: column; gap: 6px; }
.pd-photo-drop { display: flex; flex-wrap: wrap; gap: 20px; align-items: center; cursor: pointer; margin: 0; }
.pd-photo-frame { width: 132px; aspect-ratio: 4 / 5; border-radius: 16px; background: #EEF3EF; color: var(--pd-muted); display: flex; align-items: center; justify-content: center; overflow: hidden; flex: none; }
.pd-photo-preview { display: block; width: 100%; height: 100%; }
.pd-photo-preview img { display: block; width: 100%; height: 100%; object-fit: cover; }
.pd-photo-copy { flex: 1 1 220px; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; color: var(--pd-muted); font-size: 14px; }
.pd-photo-copy strong { color: var(--pd-ink); font-size: 15px; overflow-wrap: anywhere; }
.pd-photo.is-invalid .pd-photo-frame { background: var(--pd-error-bg); color: var(--pd-error); }

/* Buttons */
.pd-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 20px; border: 0; border-radius: 14px; font: inherit; font-weight: 600; text-decoration: none; cursor: pointer; box-sizing: border-box; background: var(--pd-soft); color: var(--pd-ink) !important; }
.pd-btn:hover { background: #E7ECE6; }
.pd-btn--lg { min-height: 52px; padding: 0 24px; }
.pd-btn--primary { background: var(--pd-accent); color: #FFFFFF !important; }
.pd-btn--primary:hover { background: var(--pd-accent-hover); }
.pd-btn--dark { background: var(--pd-forest); color: #FFFFFF !important; }
.pd-btn--dark:hover { background: #17372A; }
.pd-btn--amber { background: var(--pd-amber); color: #2B1C03 !important; font-weight: 700; }
.pd-btn--amber:hover { background: #E9A93A; }
.pd-btn--soft { min-height: 44px; padding: 0 18px; border-radius: 12px; background: var(--pd-mint); color: var(--pd-mint-ink) !important; }
.pd-link-btn { align-self: flex-start; min-height: 44px; padding: 0; border: 0; background: none; color: var(--pd-accent); font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; }
.pd-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 16px; }
.pd-actions-copy { flex: 1 1 320px; font-size: 14px; color: var(--pd-body); }

/* Notices */
.pd-alert { padding: 14px 16px; border-radius: 14px; font-size: 14px; }
.pd-alert strong { display: block; margin-bottom: 2px; }
.pd-alert ul { margin: 4px 0 0; padding-left: 18px; }
.pd-alert--error { background: var(--pd-error-bg); color: #7A2A12; }
.pd-alert--warn { background: var(--pd-warn-bg); color: #6B3A06; }
.pd-alert--info { background: var(--pd-mint); color: var(--pd-mint-ink); }
.pd-kv { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; }
.pd-kv span { color: var(--pd-muted); }
.pd-kv strong { text-align: right; }
.pd-meter { height: 8px; border-radius: 999px; background: #EEF3EF; overflow: hidden; }
.pd-meter span { display: block; height: 100%; border-radius: inherit; background: var(--pd-accent); }
.pd-how { display: flex; gap: 12px; align-items: flex-start; }
.pd-how-num { width: 28px; height: 28px; border-radius: 50%; background: var(--pd-mint); color: var(--pd-mint-ink); font-size: 13px; font-weight: 700; display: flex; align-items: center; justify-content: center; flex: none; }
.pd-how div strong { display: block; }
.pd-how div span { display: block; font-size: 14px; color: var(--pd-muted); }

/* Review and done */
.pd-review { display: flex; flex-wrap: wrap; gap: 20px; align-items: flex-start; }
.pd-review-photo { width: 160px; aspect-ratio: 4 / 5; border-radius: 16px; overflow: hidden; background: #EEF3EF; flex: none; }
.pd-review-photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.pd-tiles { flex: 1 1 320px; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 10px; }
.pd-tiles--facts { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
.pd-tile { padding: 12px 14px; border-radius: 12px; background: var(--pd-tile); min-width: 0; }
.pd-tile dt { font-size: 12px; font-weight: 400; color: var(--pd-muted); }
.pd-tile dd { margin-top: 2px; font-weight: 600; overflow-wrap: anywhere; }
.pd-done-head { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }
.pd-done-mark { width: 56px; height: 56px; border-radius: 50%; background: var(--pd-mint); color: var(--pd-mint-ink); display: flex; align-items: center; justify-content: center; flex: none; }
.pd-done-title { font-family: var(--pd-head); font-weight: 800; font-size: 26px; line-height: 1.2; }
.pd-next { list-style: none; padding: 0 !important; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; }
.pd-next li { padding: 16px; border-radius: 14px; background: var(--pd-tile); }
.pd-next small { display: block; font-size: 12px; font-weight: 600; color: var(--pd-accent); }
.pd-next strong { display: block; margin-top: 4px; }
.pd-next span { display: block; margin-top: 2px; font-size: 14px; color: var(--pd-muted); }
.pd-ref { align-self: flex-start; display: inline-flex; flex-direction: column; padding: 14px 18px; border-radius: 14px; background: var(--pd-tile); }
.pd-ref span { font-size: 12px; color: var(--pd-muted); }
.pd-ref strong { font-family: var(--pd-head); font-weight: 800; font-size: 22px; letter-spacing: .04em; }
.pd-mate-section { gap: 18px; }

/* Candidates */
.pd-filterbar { position: sticky; top: var(--pd-sticky-top, 0px); z-index: 20; background: #FFFFFF; box-shadow: 0 6px 18px rgba(14, 36, 24, .05); }
.pd-filterbar-inner { padding-top: 12px; padding-bottom: 12px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; }
.pd-chips { flex: 1 1 420px; min-width: 0; display: flex; gap: 6px; overflow-x: auto; padding-bottom: 2px; }
.pd-chip { flex: none; height: 40px; padding: 0 14px; border: 0; border-radius: 999px; background: var(--pd-soft); color: var(--pd-body); font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; white-space: nowrap; }
.pd-chip span { opacity: .7; font-weight: 500; }
.pd-chip[aria-pressed="true"] { background: var(--pd-forest); color: #FFFFFF; }
.pd-search { flex: 1 1 240px; max-width: 100%; display: flex; align-items: center; gap: 10px; height: 44px; padding: 0 14px; border-radius: 12px; background: var(--pd-soft); color: var(--pd-muted); box-sizing: border-box; margin: 0; }
.pd-search input { flex: 1; min-width: 0; border: 0; background: transparent; font: inherit; color: var(--pd-ink); outline: none; }
.pd-section { display: flex; flex-direction: column; gap: 18px; }
.pd-section-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 8px 16px; }
.pd-eyebrow { font-size: 13px; font-weight: 600; color: var(--pd-accent); }
.pd-h2 { margin-top: 2px !important; font-family: var(--pd-head); font-weight: 800; font-size: 28px; line-height: 1.2; letter-spacing: -.01em; }
.pd-section-head p { margin-top: 4px !important; color: var(--pd-muted); max-width: 620px; }
.pd-pill { padding: 6px 12px; border-radius: 999px; background: var(--pd-mint); color: var(--pd-mint-ink); font-size: 13px; font-weight: 600; white-space: nowrap; }
.pd-people { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.pd-person { display: flex; flex-direction: column; background: #FFFFFF; border-radius: 22px; overflow: hidden; text-decoration: none; color: inherit !important; transition: transform .15s, box-shadow .15s; }
.pd-person:hover { transform: translateY(-2px); box-shadow: 0 14px 36px rgba(14, 36, 24, .09); }
.pd-person-photo { position: relative; aspect-ratio: 4 / 5; display: flex; align-items: center; justify-content: center; }
.pd-person-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pd-person-tag { position: absolute; left: 12px; bottom: 12px; padding: 4px 10px; border-radius: 999px; background: rgba(14, 36, 24, .82); color: #FFFFFF; font-size: 12px; font-weight: 600; }
.pd-person-body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.pd-person-name { font-family: var(--pd-head); font-weight: 700; font-size: 19px; line-height: 1.25; }
.pd-tags { margin-top: 6px; display: flex; flex-wrap: wrap; gap: 6px; }
.pd-tags span { padding: 3px 9px; border-radius: 999px; background: var(--pd-soft); font-size: 12px; font-weight: 500; color: #3F4A44; }
.pd-excerpt { font-size: 14px; color: #3F4A44; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.pd-excerpt--empty { color: var(--pd-muted); font-style: italic; }
.pd-more { margin-top: auto; padding-top: 4px; display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; color: var(--pd-accent); }
.pd-initials { font-family: var(--pd-head); font-weight: 800; font-size: 64px; line-height: 1; }
.pd-tone-0 { background: #E6EEF9; color: #1E3A8A; }
.pd-tone-1 { background: #E9F3EC; color: #14532D; }
.pd-tone-2 { background: #FEF3E2; color: #8A4B08; }
.pd-tone-3 { background: #F3EAF7; color: #5B2A86; }
.pd-tone-4 { background: #E7F0F0; color: #155E63; }
.pd-empty { align-items: center; text-align: center; padding: 40px 24px; gap: 8px; }

/* Candidate profile */
.pd-profile { border-radius: 24px; padding: 20px; flex-direction: row; flex-wrap: wrap; gap: 28px; align-items: flex-start; }
.pd-profile-photo { position: relative; flex: 0 1 340px; min-width: 240px; padding: 0; border: 0; border-radius: 18px; overflow: hidden; aspect-ratio: 4 / 5; display: flex; align-items: center; justify-content: center; }
button.pd-profile-photo { cursor: zoom-in; }
.pd-profile-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pd-profile-photo .pd-initials { font-size: 96px; }
.pd-profile-info { flex: 1 1 340px; min-width: 0; padding: 8px 4px; display: flex; flex-direction: column; gap: 18px; }
.pd-profile-info .pd-h1 { margin-top: 8px !important; font-size: 44px; line-height: 1.05; color: var(--pd-ink); }
.pd-profile-info .pd-kicker { color: var(--pd-accent); }
.pd-profile-bottom { margin-top: auto; display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.pd-status { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 14px; border-radius: 999px; background: var(--pd-warn-bg); color: var(--pd-warn-ink); font-size: 14px; font-weight: 600; }
.pd-status .pd-badge-dot { background: #D97706; }
.pd-mate-link { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 16px; background: var(--pd-tile); text-decoration: none; color: inherit !important; }
.pd-mate-link:hover { background: #EEF3EF; }
.pd-mini { width: 48px; height: 48px; border-radius: 12px; display: flex; align-items: center; justify-content: center; overflow: hidden; font-family: var(--pd-head); font-weight: 800; font-size: 15px; flex: none; }
.pd-mini img { width: 100%; height: 100%; object-fit: cover; }
.pd-mini + .pd-mini { margin-left: -10px; box-shadow: 0 0 0 3px #FFFFFF; }
.pd-mate-link small, .pd-rival small { display: block; font-size: 12px; color: var(--pd-muted); }
.pd-read { color: var(--pd-body); font-size: 16px; line-height: 1.75; max-width: 68ch; white-space: pre-line; overflow-wrap: anywhere; }
.pd-mate { display: flex; flex-wrap: wrap; gap: 20px; align-items: flex-start; }
.pd-mate-photo { position: relative; width: 180px; flex: none; padding: 0; border: 0; border-radius: 16px; overflow: hidden; aspect-ratio: 4 / 5; display: flex; align-items: center; justify-content: center; }
button.pd-mate-photo { cursor: zoom-in; }
.pd-mate-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pd-mate-photo .pd-initials { font-size: 56px; }
.pd-mate-info { flex: 1 1 260px; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.pd-mate-name { font-family: var(--pd-head); font-weight: 800; font-size: 26px; line-height: 1.15; }
.pd-rivals { gap: 6px; padding: 20px; }
.pd-rival { display: flex; align-items: center; gap: 12px; padding: 10px; border-radius: 14px; text-decoration: none; color: inherit !important; }
.pd-rival:hover { background: #EEF3EF; }
.pd-rival-name { min-width: 0; flex: 1; font-weight: 600; }

.pd-lightbox { border: 0; padding: 24px; background: transparent; max-width: 100vw; max-height: 100vh; width: 100%; height: 100%; box-sizing: border-box; }
.pd-lightbox[open] { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; }
.pd-lightbox::backdrop { background: rgba(8, 20, 13, .88); }
.pd-lightbox img { max-width: min(560px, 100%); max-height: calc(100vh - 140px); border-radius: 16px; object-fit: contain; }
.pd-lightbox-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px; color: #FFFFFF; font-weight: 600; }
.pd-lightbox .pd-btn { background: #FFFFFF; }

@media (max-width: 720px) {
    .pd-wrap { padding: 0 16px; }
    .pd-h1, .pd-h1--xl, .pd-profile-info .pd-h1 { font-size: 30px; }
    .pd-h2 { font-size: 24px; }
    .pd-hero-inner { padding-top: 28px; }
    .pd-card { padding: 18px; border-radius: 16px; }
    .pd-card--read { padding: 20px 18px; }
    .pd-profile { padding: 14px; gap: 16px; }
    .pd-profile-photo { flex-basis: 100%; min-width: 0; }
    .pd-mate-photo { width: 120px; }
    .pd-actions .pd-btn, .pd-card--dark .pd-btn, .pd-profile-bottom .pd-btn { width: 100%; }
    .pd-countdown { width: 100%; }
    .pd-countdown-unit { flex: 1 1 0; min-width: 0; }
    .pd-people { grid-template-columns: 1fr; }
}
.pd-mate-link strong { display: block; }
