html:has(.rally-photo-viewer[open]) { overflow: hidden; }
.rally-photo-viewer {
    position: fixed;
    inset: 0;
    margin: auto;
    width: min(64rem, calc(100% - 1.5rem));
    max-width: none;
    max-height: calc(100% - 1.5rem);
    padding: 0;
    border: 1px solid #ffffff35;
    border-radius: .85rem;
    background: #121612;
    color: #fff;
}
.rally-photo-viewer::backdrop { background: #0c130deb; }
.rally-photo-frame { padding: clamp(.5rem, 2vw, 1rem); }
.rally-photo-frame header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .65rem;
    padding-bottom: .6rem;
}
.rally-photo-frame h2 { font-size: .9rem; font-weight: 700; }
.rally-photo-frame button {
    display: flex;
    align-items: center;
    gap: .4rem;
    min-height: 44px;
    padding: .25rem .75rem;
    border-radius: .55rem;
    background: #f6f3eb;
    color: #182316;
    font-weight: 750;
    cursor: pointer;
}
.rally-photo-frame button span { font-size: 1.4rem; line-height: 1; }
.rally-photo-full {
    display: block;
    width: 100%;
    max-height: calc(100vh - 9.5rem);
    max-height: calc(100dvh - 9.5rem);
    object-fit: contain;
    touch-action: pan-y pinch-zoom;
    border-radius: .45rem;
}

.rally-gallery-album {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    min-height: 44px;
    margin-top: 1rem;
    padding: .55rem .85rem;
    border: 1px solid #b7c9b1;
    border-radius: .55rem;
    font-weight: 700;
}
.rally-gallery-album:hover { background: #ffffff18; }
.rally-photo-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .4rem;
    padding-top: .6rem;
}
.rally-photo-nav button { padding-inline: .55rem; font-size: .875rem; }
.rally-photo-count { font-size: .8rem; text-align: center; }
.rally-hero-layout { display: grid; grid-template-columns: minmax(0, 1fr); }
.rally-hero-video { width: 100%; max-width: 44rem; margin: 1.5rem auto 0; text-align: center; }
.rally-hero-countdown { margin-top: 3rem; }
.rally-hero-video figcaption { margin-bottom: .55rem; font-size: .875rem; font-weight: 700; }
.rally-hero-video video {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    background: #121612;
    border: 1px solid #ffffff35;
    border-radius: .8rem;
}
@media (min-width: 64rem) {
    .rally-hero-layout {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        align-items: start;
        gap: 2.5rem 3rem;
    }
    .rally-hero-video { max-width: none; margin: 0; text-align: left; }
    .rally-hero-countdown { grid-column: 1 / -1; margin: 0; }
}
.rally-supporters { padding: clamp(2.5rem, 6vw, 4rem) 1rem; background: #fff; color: #1b3317; }
.rally-supporters-inner { max-width: 68rem; margin: auto; }
.rally-supporters h2 {
    margin-bottom: 1.25rem;
    font: 700 clamp(1.65rem, 4vw, 2.5rem)/1.12 Oswald, sans-serif;
}
.rally-supporters-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .85rem; }
.rally-supporter {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .75rem;
    min-height: 7rem;
    padding: .8rem;
    border: 1px solid #cbd3c6;
    border-radius: .8rem;
    text-align: center;
    font-weight: 750;
}
.rally-supporter img { width: 5.5rem; height: auto; flex: none; }
.rally-supporter-open { background: #f5f6f0; border-style: dashed; }
.rally-supporter-open span { font-size: 1.5rem; line-height: 1; }
.rally-supporter:hover { border-color: #2e4f28; text-decoration: underline; }
@media (max-width: 42rem) {
    .rally-supporters-grid { grid-template-columns: 1fr; }
    .rally-supporter-open { min-height: 4rem; }
}
.rally-interest { padding: clamp(2.25rem, 6vw, 4rem) 1rem; background: #efebe4; color: #1b3317; }
.rally-interest-card { max-width: 44rem; margin: auto; padding: clamp(1.25rem, 4vw, 3rem); border: 1px solid #d4d8ce; border-radius: 1.5rem; background: #fff; box-shadow: 0 12px 24px #17241215; }
.rally-interest-fields { display: grid; gap: .75rem; }
.rally-interest-fields label { display: block; margin-bottom: .3rem; }
@media (min-width: 42rem) { .rally-interest-fields { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
