.ff-fundraiser-page,
.ff-fundraiser-card,
.ff-fundraiser-directory {
    box-sizing: border-box;
}

.ff-fundraiser-page {
    max-width: 1080px;
    margin: 0 auto 60px;
    padding: 0 20px;
    color: #1d2327;
}

.ff-fundraiser-page h1,
.ff-fundraiser-card h2 {
    margin: 0 0 8px;
    line-height: 1.2;
}

.ff-fundraiser-title {
    font-size: 32px;
    margin: 0 0 8px;
}

.ff-fundraiser-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 32px;
    align-items: start;
    margin-bottom: 28px;
}

.ff-fundraiser-sidebar {
    position: sticky;
    top: 24px;
    background: #fff;
    border: 1px solid #e6e6e6;
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

.ff-fundraiser-cover {
    border-radius: 16px;
    overflow: hidden;
    background: #f3f4f5;
    margin-bottom: 16px;
}

.ff-fundraiser-cover img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 460px;
    object-fit: cover;
}

.ff-fundraiser-cover-empty {
    min-height: 280px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 72px;
    font-weight: 700;
    color: #010101;
    background: #fff4c2;
}

.ff-fundraiser-share {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin: 12px 0 0;
}

.ff-fundraiser-share[hidden] {
    display: none !important;
}

.ff-fundraiser-modal {
    position: fixed;
    inset: 0;
    z-index: 100000;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 32px 16px;
    overflow: auto;
    box-sizing: border-box;
}

.ff-fundraiser-modal[hidden] {
    display: none !important;
}

.ff-fundraiser-modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(17, 17, 17, 0.55);
}

.ff-fundraiser-modal-panel {
    position: relative;
    z-index: 1;
    width: min(760px, 100%);
    background: #fff;
    border-radius: 16px;
    padding: 28px 24px 24px;
    margin: auto;
    box-sizing: border-box;
    overflow-x: hidden;
    overflow-x: clip;
}

.ff-fundraiser-modal input:focus,
.ff-fundraiser-modal select:focus,
.ff-fundraiser-modal textarea:focus {
    outline: none;
    box-shadow: inset 0 0 0 2px #8eb4ea;
}

.ff-fundraiser-modal-close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 36px;
    height: 36px;
    border: 0;
    border-radius: 50%;
    background: #f3f4f5;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
}

.ff-fundraiser-modal .ff-donation-container,
.ff-fundraiser-modal .ff-donation-wrapper .ff-donation-container,
.ff-fundraiser-modal .ff-pledge-public {
    max-width: none !important;
    margin: 0 !important;
}

.ff-fundraiser-share-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid #d0d5dd;
    background: #fff;
    color: #333;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    cursor: pointer;
    text-decoration: none;
}

.ff-fundraiser-share-icon svg {
    width: 18px !important;
    height: 18px !important;
    max-width: 18px !important;
    max-height: 18px !important;
    fill: currentColor;
}

.ff-fundraiser-slideshow {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    background: #111;
    margin-bottom: 16px;
}

.ff-fundraiser-slides {
    position: relative;
    height: 420px;
}

.ff-fundraiser-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.7s ease;
    pointer-events: none;
}

.ff-fundraiser-slide.is-active {
    opacity: 1;
    z-index: 1;
}

.ff-fundraiser-slide img {
    display: block;
    width: 100%;
    height: 420px;
    object-fit: cover;
}

.ff-fundraiser-slide-nav {
    position: absolute;
    z-index: 2;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    min-width: 36px;
    max-width: 36px;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.92);
    color: #111;
    font-size: 28px;
    line-height: 32px;
    padding: 0;
    cursor: pointer;
}

.ff-fundraiser-slide-prev {
    left: 12px;
}

.ff-fundraiser-slide-next {
    right: 12px;
}

.ff-fundraiser-slide-dots {
    position: absolute;
    z-index: 2;
    left: 0;
    right: 0;
    bottom: 12px;
    display: flex;
    justify-content: center;
    gap: 6px;
}

.ff-fundraiser-slide-dot {
    width: 8px;
    height: 8px;
    min-width: 8px;
    max-width: 8px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.55);
    cursor: pointer;
}

.ff-fundraiser-slide-dot.is-active {
    background: #fff;
}

.ff-fundraiser-photo-editor {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 12px;
}

.ff-fundraiser-photo-editor[hidden] {
    display: none;
}

.ff-fundraiser-photo-editor .ff-fundraiser-photo-choice {
    cursor: grab;
    touch-action: none;
    user-select: none;
}

.ff-fundraiser-photo-editor .ff-fundraiser-photo-choice.is-dragging {
    opacity: 0.65;
    cursor: grabbing;
    z-index: 2;
}

.ff-fundraiser-photo-choice {
    position: relative;
    width: 96px;
    height: 96px;
    flex: 0 0 96px;
}

.ff-fundraiser-avatar-field .ff-fundraiser-photo-choice {
    width: 160px;
    height: 160px;
    flex-basis: 160px;
    overflow: hidden;
}

.ff-fundraiser-photo-choice input.ff-fundraiser-remove-box,
.ff-member-fence-page input[type="checkbox"].ff-fundraiser-remove-box,
.ff-fundraiser-form input[type="checkbox"].ff-fundraiser-remove-box {
    display: none !important;
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    pointer-events: none !important;
    appearance: none !important;
}

@font-face {
    font-family: "FF Share Card";
    src: url("fonts/Inter-Bold.ttf") format("truetype");
    font-weight: 700;
    font-style: normal;
}

.ff-fundraiser-featured-file {
    position: absolute !important;
    left: -9999px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}

.ff-fundraiser-featured-preview {
    margin: 0 0 12px;
}

.ff-fundraiser-featured-preview[hidden],
.ff-fundraiser-featured-field [hidden] {
    display: none !important;
}

.ff-fundraiser-featured-preview img,
.ff-fundraiser-featured-preview canvas {
    display: block;
    width: 100%;
    max-width: 520px;
    height: auto;
    border-radius: 8px;
}

.ff-fundraiser-featured-preview img[hidden],
.ff-fundraiser-featured-preview canvas[hidden] {
    display: none !important;
}

.ff-fundraiser-featured-bg {
    margin: 0 0 12px;
}

.ff-fundraiser-featured-bg img {
    display: block;
    width: 160px;
    height: 84px;
    object-fit: cover;
    border-radius: 8px;
}

.ff-fundraiser-avatar-field input[type="file"] {
    display: inline-block;
    position: static;
    width: auto;
    max-width: 100%;
    height: auto;
    margin: 8px 0 0;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
    line-height: normal;
}

.ff-fundraiser-avatar-frame {
    position: relative;
    width: 160px;
    height: 160px;
    border-radius: 50%;
    overflow: hidden;
    touch-action: none;
    cursor: grab;
    background: #eceff1;
}

.ff-fundraiser-avatar-placeholder {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #010101;
    font-size: 64px;
    font-weight: 700;
    line-height: 1;
}

.ff-fundraiser-avatar-field .ff-fundraiser-photo-choice.is-empty .ff-fundraiser-photo-remove,
.ff-fundraiser-avatar-field .ff-fundraiser-photo-choice.is-empty img,
.ff-fundraiser-avatar-field .ff-fundraiser-photo-choice.is-ready .ff-fundraiser-avatar-placeholder,
.ff-fundraiser-avatar-field .ff-fundraiser-photo-choice:not(.is-empty) .ff-fundraiser-avatar-placeholder {
    display: none !important;
}

.ff-fundraiser-page .ff-fundraiser-avatar-field .ff-fundraiser-photo-choice.is-ready img,
.ff-member-fence-page .ff-fundraiser-avatar-field .ff-fundraiser-photo-choice.is-ready img,
.ff-fundraiser-avatar-field .ff-fundraiser-photo-choice.is-ready img {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.ff-fundraiser-avatar-field .ff-fundraiser-photo-choice.is-ready {
    display: block;
}

.ff-fundraiser-avatar-photo {
    position: relative;
    overflow: hidden;
    padding: 0;
}

.ff-fundraiser-page .ff-fundraiser-avatar-frame img,
.ff-fundraiser-page .ff-fundraiser-avatar-photo img,
.ff-member-fence-page .ff-fundraiser-avatar-frame img,
.ff-fundraiser-avatar-frame img,
.ff-fundraiser-avatar-photo img {
    position: absolute;
    width: calc(max(1, var(--ff-avatar-ar, 1)) * 100%) !important;
    height: calc(max(1, 1 / var(--ff-avatar-ar, 1)) * 100%) !important;
    max-width: none !important;
    left: calc(var(--ff-avatar-x, 50) * max(0, var(--ff-avatar-ar, 1) - 1) * -1%);
    top: calc(var(--ff-avatar-y, 50) * max(0, (1 / var(--ff-avatar-ar, 1)) - 1) * -1%);
    object-fit: fill !important;
    border-radius: 0;
    pointer-events: none;
    user-select: none;
}

.ff-fundraiser-photo-choice.is-removed {
    display: none;
}

.ff-fundraiser-photo-choice img {
    width: 96px;
    height: 96px;
    object-fit: cover;
    border-radius: 8px;
    display: block;
}

.ff-fundraiser-photo-remove {
    position: absolute;
    z-index: 3;
    top: 4px;
    right: 4px;
    width: 22px !important;
    height: 22px !important;
    min-width: 22px !important;
    max-width: 22px !important;
    padding: 0 !important;
    border: 0;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.72);
    color: #fff;
    font-size: 16px;
    line-height: 20px;
    text-align: center;
    cursor: pointer;
}

.ff-fundraiser-photo-queue {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 8px 0 0;
    padding: 0;
}

.ff-fundraiser-photo-queue li {
    margin: 0;
}

.ff-fundraiser-photo-note {
    color: #646970;
    font-size: 13px;
}

.ff-fundraiser-organizer {
    display: flex;
    gap: 12px;
    align-items: center;
    margin-bottom: 16px;
}

.ff-fundraiser-organizer strong,
.ff-fundraiser-organizer .ff-fundraiser-kicker {
    display: block;
}

.ff-fundraiser-story {
    font-size: 17px;
    line-height: 1.6;
}

.ff-fundraiser-progress {
    display: flex;
    gap: 14px;
    align-items: center;
    margin-bottom: 16px;
}

.ff-fundraiser-ring {
    width: 76px;
    height: 76px;
    border-radius: 50%;
    background: conic-gradient(#ffd800 calc(var(--ff-progress) * 1%), #e6e6e6 0);
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
}

.ff-fundraiser-ring span {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 700;
}

.ff-fundraiser-donor-shortcode {
    margin: 4px 0 16px;
    overflow: hidden;
}

.ff-fundraiser-sidebar-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 0 0 18px;
}

.ff-fundraiser-sidebar-actions .ff-fundraiser-button {
    text-align: center;
    border-radius: 999px;
    padding: 12px 16px;
    font-weight: 700;
}

.ff-fundraiser-recent-label {
    margin: 0 0 8px;
    font-weight: 700;
    color: #fab522;
}

.ff-fundraiser-donor-copy {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.ff-fundraiser-donor-copy span {
    color: #646970;
    font-size: 13px;
}

.ff-fundraiser-edit {
    margin: 8px 0 0;
    font-size: 14px;
}

.ff-fundraiser-hero,
.ff-fundraiser-card,
.ff-fundraiser-story {
    background: #fff;
    border: 1px solid #dcdcde;
    border-radius: 8px;
    padding: 24px;
    margin-bottom: 20px;
}

.ff-fundraiser-story {
    background: transparent;
    border: 0;
    border-radius: 0;
    padding: 0;
}

.ff-fundraiser-hero {
    display: flex;
    gap: 24px;
    align-items: center;
}

.ff-fundraiser-photo img,
.ff-fundraiser-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
    display: block;
    flex: 0 0 auto;
}

.ff-fundraiser-avatar,
.ff-fundraiser-avatar-large {
    background: #eceff1;
    color: #333;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
}

.ff-fundraiser-kicker,
.ff-fundraiser-meta {
    color: #646970;
    margin: 0 0 8px;
}

.ff-fundraiser-raised {
    font-size: 22px;
    margin: 0;
}

.ff-fundraiser-meter {
    height: 10px;
    background: #e0e0e0;
    border-radius: 999px;
    overflow: hidden;
    max-width: 420px;
}

.ff-fundraiser-meter span {
    display: block;
    height: 100%;
    background: #ffd800;
}

.ff-fundraiser-actions {
    display: flex;
    gap: 16px;
    align-items: center;
    margin: 16px 0 0;
}

.ff-fundraiser-share-start {
    justify-content: flex-start;
}

.ff-fundraiser-updates {
    margin-top: 28px;
}

.ff-fundraiser-updates h2 {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 28px;
    margin: 0 0 16px;
}

.ff-fundraiser-update-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 28px;
    height: 28px;
    padding: 0 8px;
    border-radius: 999px;
    background: #f0f0f1;
    font-size: 14px;
    font-weight: 600;
}

.ff-fundraiser-update {
    border-top: 1px solid #e6e6e6;
    padding: 18px 0;
}

.ff-fundraiser-update[hidden] {
    display: none !important;
}

.ff-fundraiser-update-form textarea {
    width: 100% !important;
    max-width: none !important;
    min-height: 120px;
    box-sizing: border-box;
    padding: 12px 14px;
    line-height: 1.5;
}

.ff-fundraiser-comments {
    margin-top: 28px;
}

.ff-fundraiser-comments h2 {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 28px;
    margin: 0 0 8px;
}

.ff-fundraiser-comment-prompt {
    margin: 0 0 12px;
    color: #646970;
}

.ff-fundraiser-comment {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding: 16px 0;
    border-top: 1px solid #e6e6e6;
}

.ff-fundraiser-comment[hidden] {
    display: none !important;
}

.ff-fundraiser-comment-meta {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
}

.ff-fundraiser-comment-meta .ff-fundraiser-kicker {
    margin: 0;
    font-size: 13px;
    line-height: 1.3;
}

.ff-fundraiser-comment-body {
    margin-top: 6px;
}

.ff-fundraiser-comment-body p {
    margin: 0 0 8px;
}

.ff-fundraiser-update-delete button {
    background: none;
    border: 0;
    padding: 0;
    color: #646970;
    cursor: pointer;
    text-decoration: underline;
}

.ff-fundraiser-button,
.ff-fundraiser-form button,
.ff-fundraiser-card .ff-fundraiser-button {
    background: #ffd800;
    color: #010101;
    border: 0;
    border-radius: 999px;
    padding: 10px 18px;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
}

.ff-fundraiser-button:hover,
.ff-fundraiser-form button:hover,
.ff-fundraiser-card .ff-fundraiser-button:hover {
    background: #e6c200;
    color: #010101;
}

.ff-fundraiser-button.is-saving {
    cursor: wait;
    opacity: 0.9;
}

.ff-fundraiser-button.is-saving::before {
    content: "";
    display: inline-block;
    width: 14px;
    height: 14px;
    margin-right: 8px;
    border: 2px solid #010101;
    border-right-color: transparent;
    border-radius: 50%;
    vertical-align: -2px;
    animation: ff-save-spin 0.7s linear infinite;
}

@keyframes ff-save-spin {
    to {
        transform: rotate(360deg);
    }
}

.ff-fundraiser-button-dark {
    background: #fab522;
    color: #010101;
}

.ff-fundraiser-button-dark:hover {
    background: #e0a01a;
    color: #010101;
}

.ff-fundraiser-button-outline {
    background: #fff;
    color: #1d2327;
    border: 1px solid #c5c5c5;
}

.ff-fundraiser-story p:last-child {
    margin-bottom: 0;
}

.ff-fundraiser-donors {
    list-style: none;
    margin: 0;
    padding: 0;
}

.ff-fundraiser-donors li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f1;
}

.ff-fundraiser-banner,
.ff-fundraiser-notice,
.ff-fundraiser-error {
    padding: 12px 14px;
    border-radius: 4px;
    margin: 0 0 16px;
}

.ff-fundraiser-banner,
.ff-fundraiser-notice {
    background: #f0f6fc;
    border: 1px solid #c5d9ed;
}

.ff-fundraiser-error {
    background: #fcf0f1;
    border: 1px solid #f1aeb5;
}

.ff-fundraiser-page-edit {
    max-width: 1160px;
}

.ff-fundraiser-editor-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 24px;
    align-items: start;
}

.ff-fundraiser-editor-layout .ff-fundraiser-editor {
    max-width: none;
}

.ff-fundraiser-editor {
    max-width: 760px;
}

.ff-fundraiser-guide {
    position: sticky;
    top: 24px;
    background: #fff;
    border: 1px solid #d0d0d0;
    border-radius: 16px;
    padding: 18px 16px 8px;
    font-size: 14px;
    line-height: 1.45;
}

.ff-fundraiser-guide h2 {
    font-size: 18px;
    margin: 0 0 4px;
}

.ff-fundraiser-guide h3 {
    font-size: 15px;
    margin: 16px 0 6px;
}

.ff-fundraiser-guide p,
.ff-fundraiser-guide ol {
    margin: 0 0 8px;
}

.ff-fundraiser-guide ol {
    padding-left: 1.25em;
}

.ff-fundraiser-guide li {
    margin: 0 0 6px;
}

@media (max-width: 900px) {
    .ff-fundraiser-editor-layout {
        grid-template-columns: 1fr;
    }

    .ff-fundraiser-guide {
        position: static;
    }
}

.ff-fundraiser-form p,
.ff-fundraiser-photo-block {
    margin: 0 0 22px;
}

.ff-fundraiser-form label,
.ff-fundraiser-photo-block strong {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
}

.ff-fundraiser-form input[type="text"],
.ff-fundraiser-form input[type="email"],
.ff-fundraiser-form input[type="number"],
.ff-fundraiser-form textarea {
    box-sizing: border-box;
    margin-top: 0;
    padding: 12px 14px;
    line-height: 1.5;
}

.ff-fundraiser-form input[type="number"] {
    width: 180px !important;
    max-width: 100% !important;
}

.ff-fundraiser-form textarea {
    width: 100% !important;
    max-width: none !important;
    min-height: 220px;
}

.ff-fundraiser-form textarea[name="quote"] {
    min-height: 90px;
}

.ff-fundraiser-save-rule {
    border: 0;
    border-top: 1px solid #e6e6e6;
    height: 0;
    margin: 8px 0 22px;
    background: none;
}

.ff-fundraiser-form-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
    justify-content: center;
}

.ff-fundraiser-button-save,
.ff-fundraiser-card .ff-fundraiser-button-save {
    background: #010101;
    color: #fff;
}

.ff-fundraiser-button-save:hover,
.ff-fundraiser-card .ff-fundraiser-button-save:hover {
    background: #222;
    color: #fff;
}

.ff-fundraiser-editor [data-ff-editor-panel="updates"] .ff-fundraiser-updates {
    margin-top: 0;
}

.ff-fundraiser-sponsor {
    margin: 0 0 28px;
}

.ff-fundraiser-editor .ff-fundraiser-pledge-total {
    font-size: 22px;
    font-weight: 700;
    margin: 0 0 4px;
}

.ff-fundraiser-editor .ff-fundraiser-pledge-split {
    margin: 0 0 16px;
    font-size: 16px;
}

.ff-fundraiser-editor .ff-fundraiser-pledge-split span {
    margin-left: 18px;
}

.ff-fundraiser-editor .ff-fundraiser-pdf-rule {
    border: 0;
    border-top: 2px solid #333;
    margin: 4px 0 16px;
}

.ff-fundraiser-editor .ff-fundraiser-sponsor > p {
    margin-top: 0;
}

.ff-fundraiser-sponsor th {
    background: #f6f7f7;
}

.ff-fundraiser-sponsor .ff-fundraiser-pledge-detail {
    display: inline;
    margin: 0 0 0 6px;
}

.ff-fundraiser-directory {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1.7fr);
    gap: 22px 20px;
    align-items: start;
}

.ff-fundraiser-directory-rest {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px 16px;
    align-content: start;
    min-width: 0;
}

.ff-fundraiser-directory:not(:has(.ff-fundraiser-directory-rest .ff-fundraiser-directory-card:not([hidden]))) {
    grid-template-columns: minmax(0, 640px);
}

.ff-fundraiser-directory-card.is-featured .ff-fundraiser-directory-photo {
    aspect-ratio: 4 / 5;
}

.ff-fundraiser-directory-card {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0 0 14px;
    border: 0;
    border-radius: 12px;
    text-decoration: none;
    color: inherit;
    background: transparent;
    overflow: hidden;
}

.ff-fundraiser-directory-photo {
    position: relative;
    display: block;
    aspect-ratio: 16 / 10;
    border-radius: 12px;
    overflow: hidden;
    background: #e7e9ec;
    margin-bottom: 12px;
}

.ff-fundraiser-directory-photo > img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ff-fundraiser-directory-identity {
    position: absolute;
    left: 10px;
    top: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
    max-width: calc(100% - 20px);
}

.ff-fundraiser-directory-photo .ff-fundraiser-avatar {
    position: relative;
    width: 48px;
    height: 48px;
    flex: 0 0 auto;
    box-shadow: 0 0 0 2px #fff;
    font-size: 16px;
}

.ff-fundraiser-directory-card .ff-fundraiser-directory-name {
    display: inline-block;
    min-width: 0;
    margin: 0;
    padding: 5px 12px;
    border-radius: 999px;
    background: rgba(1, 1, 1, 0.62);
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.25;
}

.ff-fundraiser-directory-copy {
    display: block;
    padding: 0 2px;
}

.ff-fundraiser-directory-quote {
    display: block;
    margin: 0 0 8px;
    font-size: 15px;
    line-height: 1.4;
    font-style: italic;
}

.ff-fundraiser-directory-progress {
    display: block;
    height: 6px;
    border-radius: 999px;
    background: #eceff1;
    overflow: hidden;
    margin: 0 0 8px;
}

.ff-fundraiser-directory-progress span {
    display: block;
    height: 100%;
    background: #ffd800;
}

.ff-fundraiser-directory-raised {
    display: block;
    font-size: 15px;
    font-weight: 700;
}

.ff-fundraiser-directory-card[hidden] {
    display: none !important;
}

.ff-fundraiser-directory-more {
    margin: 16px 0 0;
}

@media (max-width: 800px) {
    .ff-fundraiser-directory,
    .ff-fundraiser-directory-rest,
    .ff-fundraiser-directory:not(:has(.ff-fundraiser-directory-rest .ff-fundraiser-directory-card:not([hidden]))) {
        grid-template-columns: 1fr;
    }

    .ff-fundraiser-directory-card.is-featured .ff-fundraiser-directory-photo {
        aspect-ratio: 16 / 10;
    }
}

@media (max-width: 800px) {
    .ff-fundraiser-title {
        font-size: 26px;
        margin: 0 0 8px;
        text-align: center;
    }

    .ff-fundraiser-page > .ff-fundraiser-organizer {
        justify-content: center;
        text-align: center;
    }

    .ff-fundraiser-update .ff-fundraiser-organizer {
        justify-content: flex-start;
        text-align: left;
    }

    .ff-fundraiser-layout {
        grid-template-columns: 1fr;
    }

    .ff-fundraiser-page {
        padding-bottom: var(--ff-dock-space, 0px);
    }

    .ff-fundraiser-layout {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        width: 100%;
    }

    .ff-fundraiser-main,
    .ff-fundraiser-sidebar {
        display: contents;
    }

    .ff-fundraiser-slideshow,
    .ff-fundraiser-cover,
    .ff-fundraiser-dock-slot,
    .ff-fundraiser-organizer,
    .ff-fundraiser-story,
    .ff-fundraiser-updates,
    .ff-fundraiser-donor-shortcode,
    .ff-fundraiser-comments {
        width: 100%;
        align-self: stretch;
        box-sizing: border-box;
    }

    .ff-fundraiser-slideshow,
    .ff-fundraiser-cover {
        order: 1;
    }

    .ff-fundraiser-slides {
        position: relative;
        width: 100%;
        height: auto;
        aspect-ratio: 16 / 9;
    }

    .ff-fundraiser-slide {
        position: absolute;
        inset: 0;
        opacity: 0;
        display: block;
        pointer-events: none;
    }

    .ff-fundraiser-slide.is-active {
        opacity: 1;
        z-index: 1;
        display: block;
    }

    .ff-fundraiser-slide img {
        width: 100% !important;
        height: 100% !important;
        max-height: none !important;
        object-fit: cover;
        display: block;
    }

    .ff-fundraiser-mobile-dock .ff-fundraiser-raised,
    .ff-fundraiser-mobile-dock .ff-fundraiser-goal {
        display: inline;
        margin: 0;
    }

    .ff-fundraiser-mobile-dock .ff-fundraiser-goal {
        margin-left: 0.35em;
        font-size: 16px;
        font-weight: 400;
        color: #1d2327;
    }

    .ff-fundraiser-dock-slot {
        order: 2;
        margin: 8px 0 20px;
    }

    .ff-fundraiser-story {
        order: 4;
    }

    .ff-fundraiser-actions,
    .ff-fundraiser-share-start {
        display: none !important;
    }

    .ff-fundraiser-updates {
        order: 5;
    }

    .ff-fundraiser-donor-shortcode {
        order: 6;
        margin-top: 28px;
    }

    .ff-fundraiser-comments {
        order: 7;
    }

    .ff-fundraiser-mobile-dock .ff-fundraiser-sidebar-actions {
        flex-direction: row;
        justify-content: center;
        align-items: center;
        gap: 12px;
    }

    .ff-fundraiser-mobile-dock .ff-fundraiser-sidebar-actions .ff-fundraiser-button {
        flex: 0 0 auto;
        width: auto;
        min-width: 140px;
        white-space: nowrap;
        text-align: center;
        padding: 12px 22px;
    }

    .ff-fundraiser-mobile-dock.is-floating {
        position: fixed;
        z-index: 99990;
        left: 0;
        right: 0;
        bottom: 0;
        margin: 0;
        padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
        background: #fff;
        box-shadow: 0 -6px 20px rgba(0, 0, 0, 0.12);
        box-sizing: border-box;
    }

    .ff-fundraiser-mobile-dock.is-floating .ff-fundraiser-progress {
        margin-bottom: 8px;
    }

    .ff-fundraiser-mobile-dock.is-floating .ff-fundraiser-share:not([hidden]) {
        position: absolute;
        left: 0;
        right: 0;
        bottom: 100%;
        margin: 0;
        padding: 12px 16px;
        background: #fff;
        box-shadow: 0 -6px 16px rgba(0, 0, 0, 0.08);
    }

    .ff-fundraiser-hero {
        flex-direction: column;
        align-items: flex-start;
    }
}
