.has-stage-popup{position:relative}
.stage-popup-entry{position:absolute;right:0;top:0;z-index:1;display:block;margin:0;padding:0;border:0;width:auto}
.stage-popup-entry button{display:inline-flex;align-items:center;gap:10px;max-width:100%;border:1px solid #f3a06a;border-radius:999px;padding:14px 20px;background:#fff6ed;color:#a83d1b;font:inherit;font-size:16px;font-weight:800;line-height:1.25;cursor:pointer;white-space:nowrap}
.stage-popup-entry button:after{content:'↗';font-size:1.15em}
.stage-popup-entry button:hover{background:#ffe8d4}
.senior-page .stage-popup-entry button{border-color:#d99bb9;background:#fff3f8;color:#963b66}
.senior-page .stage-popup-entry button:hover{background:#fbe2ee}
@media(max-width:760px){
 .station-participants > .stage-popup-entry{position:static;inset:auto;display:block;width:100%;margin:0 0 20px}
 .station-participants > .stage-popup-entry button{display:flex;justify-content:center;width:100%;box-sizing:border-box;min-height:50px;padding:13px 16px;border-radius:13px;font-size:16px;line-height:1.4;gap:10px;white-space:normal;word-break:keep-all}
}
.stage-schedule-popup{width:min(760px,calc(100vw - 32px));max-width:none;max-height:calc(100dvh - 36px);box-sizing:border-box;padding:0;border:1px solid #eadde4;border-radius:24px;background:#fffdfa;color:#40323a;box-shadow:0 24px 90px #34233040;overflow:auto}
.stage-schedule-popup::backdrop{background:#30242b8c;backdrop-filter:blur(5px)}
.stage-popup-header{position:sticky;top:0;z-index:2;display:flex;align-items:flex-start;justify-content:space-between;gap:16px;padding:22px 28px 18px;border-bottom:1px solid #eadde4;background:#fffdfa}
.stage-popup-header small{display:block;margin-bottom:6px;color:#b34f79;font-size:12px;font-weight:800;letter-spacing:.08em}
.stage-popup-header h2{margin:0;font-size:27px;line-height:1.3;letter-spacing:-.04em;color:#40323a}
.stage-popup-header p{margin:7px 0 0;font-size:14px;line-height:1.5;color:#7d6b75}
.stage-popup-close{flex:0 0 36px;height:36px;display:grid;place-items:center;border:1px solid #e7d4dd;border-radius:50%;background:transparent;color:#8e526b;font-size:25px;cursor:pointer}
.stage-popup-body{padding:4px 28px 20px}
.stage-popup-table{border-collapse:collapse;width:100%;table-layout:fixed}
.stage-popup-table th,.stage-popup-table td{padding:10px 10px;border-bottom:1px solid #eee4e9;text-align:left;font-size:15px;line-height:1.4;word-break:keep-all;overflow-wrap:anywhere}
.stage-popup-table thead th{color:#927080;font-size:12px;font-weight:800;padding-block:12px}
.stage-popup-table th:first-child{width:88px;white-space:nowrap}
.stage-popup-table tbody th{font-size:14px;color:#6b5260;font-weight:700}
.stage-program-name{display:block}
.stage-program-subtitle{display:block;margin-top:4px;font-size:13px;line-height:1.45;font-weight:700}
.stage-program-organization{display:block;margin-top:4px;color:#7d6b75;font-size:12px;line-height:1.45;font-weight:500;overflow-wrap:anywhere}
.family-page:not(.senior-page) .stage-program-organization{color:#826b5c}
.stage-popup-footnote{margin:16px 0 0;color:#8b7c84;font-size:12px;line-height:1.6}
/* Family pages use the same warm orange palette as the surrounding cards. */
.family-page:not(.senior-page) .stage-schedule-popup{border-color:#f2d7c2;background:#fffdfa;color:#49372d;box-shadow:0 24px 90px #432b2040}
.family-page:not(.senior-page) .stage-schedule-popup::backdrop{background:#35271f8c}
.family-page:not(.senior-page) .stage-popup-header{border-bottom-color:#f2d7c2;background:#fffdfa}
.family-page:not(.senior-page) .stage-popup-header small{color:#bc4e24}
.family-page:not(.senior-page) .stage-popup-header h2{color:#3f3028}
.family-page:not(.senior-page) .stage-popup-header p{color:#826b5c}
.family-page:not(.senior-page) .stage-popup-close{border-color:#edc6a7;color:#ac4825}
.family-page:not(.senior-page) .stage-popup-table th,.family-page:not(.senior-page) .stage-popup-table td{border-bottom-color:#f0e0d3}
.family-page:not(.senior-page) .stage-popup-table thead th{color:#9b7154}
.family-page:not(.senior-page) .stage-popup-table tbody th{color:#805c46}
.family-page:not(.senior-page) .stage-popup-footnote{color:#8b796c}
@media(max-width:600px){
 .stage-schedule-popup{border-radius:18px}
 .stage-popup-header{padding:18px 16px 15px}
 .stage-popup-header h2{font-size:24px}
 .stage-popup-header p{font-size:12px}
 .stage-popup-body{padding:2px 12px 16px}
 .stage-popup-table th,.stage-popup-table td{padding:10px 6px;font-size:14px}
 .stage-popup-table th:first-child{width:66px}
 .stage-popup-table tbody th{font-size:12px}
}
/* Schedule preview: consistent emphasis across every program. */
.stage-schedule-popup{--stage-accent:#ad3668;--stage-tint:#fff1f6;--stage-rule:#edc9d9;--stage-ink:#382832;background:#fff}
.family-page:not(.senior-page) .stage-schedule-popup{--stage-accent:#b94724;--stage-tint:#fff3e8;--stage-rule:#f0cfb8;--stage-ink:#3f3028;background:#fff}
.stage-popup-header,.family-page:not(.senior-page) .stage-popup-header{padding:25px 28px 22px;background:var(--stage-tint);border-bottom:3px solid var(--stage-accent)}
.stage-popup-header h2,.family-page:not(.senior-page) .stage-popup-header h2{font-size:30px;font-weight:850;color:var(--stage-ink)}
.stage-popup-header small,.family-page:not(.senior-page) .stage-popup-header small{color:var(--stage-accent);font-size:11px;letter-spacing:.14em}
.stage-popup-body{padding:8px 28px 22px}
.stage-popup-table thead th,.family-page:not(.senior-page) .stage-popup-table thead th{color:var(--stage-accent);font-size:12px;letter-spacing:.06em;border-bottom:2px solid var(--stage-rule);padding-block:13px}
.stage-popup-table tbody th,.family-page:not(.senior-page) .stage-popup-table tbody th{font-size:20px;font-weight:850;color:var(--stage-accent);letter-spacing:-.04em;border-right:2px solid var(--stage-rule);vertical-align:top;padding-top:17px}
.stage-popup-table tbody td{padding:17px 10px 17px 23px}
.stage-popup-table tbody th,.stage-popup-table tbody td,.family-page:not(.senior-page) .stage-popup-table tbody th,.family-page:not(.senior-page) .stage-popup-table tbody td{border-bottom:1px solid var(--stage-rule)}
.stage-program-name{font-size:17px;font-weight:800;color:var(--stage-ink);letter-spacing:-.025em}
.stage-program-subtitle{color:var(--stage-accent);font-size:13px;margin-top:6px}
.stage-program-organization{margin-top:5px;font-size:12px}
.stage-popup-footnote{padding-top:14px;border-top:2px solid var(--stage-rule);margin-top:18px}
@media(max-width:600px){
 .stage-popup-header,.family-page:not(.senior-page) .stage-popup-header{padding:20px 18px 18px}
 .stage-popup-header h2,.family-page:not(.senior-page) .stage-popup-header h2{font-size:27px}
 .stage-popup-body{padding:5px 16px 18px}
 .stage-popup-table th:first-child{width:68px}
 .stage-popup-table tbody th,.family-page:not(.senior-page) .stage-popup-table tbody th{font-size:18px;padding:15px 6px}
 .stage-popup-table tbody td{padding:15px 4px 15px 14px}
 .stage-program-name{font-size:16px;line-height:1.5}
}
