:root {
    color-scheme: light dark;
    --bg: #ffffff;
    --bg-muted: #fafafa;
    --bg-elevated: #ffffff;
    --text: #222222;
    --text-muted: #555555;
    --text-soft: #666666;
    --text-faint: #777777;
    --border: #ececec;
    --border-strong: #e0e0e0;
    --accent: #8066ff;
    --accent-hover: #5b3bfc;
    --accent-soft: #cfc4ff;
    --callout-bg: #faf8ff;
    --callout-border: #e8e4ff;
    --callout-heading: #5b3bfc;
    --link: #5b3bfc;
    --link-hover: #3d28c4;
    --shadow: rgba(0, 0, 0, 0.08);
    --input-bg: #ffffff;
    --photo-bg: #f4f4f4;
    --hover-bg: #f4f4f4;
    --success-bg: #e8f5e9;
    --success-text: #2e7d32;
    --error-bg: #ffebee;
    --error-text: #c62828;
    --news: coral;
}

@media (prefers-color-scheme: dark) {
    :root {
        --bg: #121212;
        --bg-muted: #1a1a1a;
        --bg-elevated: #1e1e1e;
        --text: #ececec;
        --text-muted: #b8b8b8;
        --text-soft: #9a9a9a;
        --text-faint: #888888;
        --border: #2e2e2e;
        --border-strong: #3a3a3a;
        --accent: #9b87ff;
        --accent-hover: #b29fff;
        --accent-soft: #4a3d80;
        --callout-bg: #1f1a2e;
        --callout-border: #3d3558;
        --callout-heading: #b29fff;
        --link: #b29fff;
        --link-hover: #d0c4ff;
        --shadow: rgba(0, 0, 0, 0.35);
        --input-bg: #1e1e1e;
        --photo-bg: #2a2a2a;
        --hover-bg: #2a2a2a;
        --success-bg: #1b2e1c;
        --success-text: #81c784;
        --error-bg: #2e1b1b;
        --error-text: #ef9a9a;
        --news: #ff8a65;
    }
}

body {
    width: 100%;
    height: 100%;
    margin: 0;
    overflow-x: hidden;
    -webkit-text-size-adjust: 100%;
    -webkit-font-smoothing: antialiased;
    font-family: "Cabin", sans-serif;
    background: var(--bg);
    color: var(--text);
}

/* Mobile base styles */
@media (max-width: 768px) {
    html {
        font-size: 15px;
    }
}

@media (max-width: 480px) {
    html {
        font-size: 14px;
    }
}

/* Navigation - Responsive */
nav {
    display: flex;
    justify-content: center;
    gap: 28px;
    padding: 22px 16px;
    border-bottom: 1px solid var(--border);
    flex-wrap: wrap;
    position: relative;
    background: var(--bg);
}

nav a {
    text-decoration: none;
    color: var(--text-muted);
    font-weight: 500;
    letter-spacing: 0.2px;
    white-space: nowrap;
    transition: color 0.2s;
}

nav a:hover {
    color: var(--text);
}

/* Mobile Navigation */
@media (max-width: 768px) {
    nav {
        gap: 12px;
        padding: 16px 10px;
        justify-content: center;
    }
    
    nav a {
        font-size: 15px;
        padding: 6px 10px;
    }
}

@media (max-width: 600px) {
    nav {
        gap: 10px;
        padding: 14px 8px;
        justify-content: center;
    }
    
    nav a {
        font-size: 14px;
        padding: 4px 8px;
    }
}

@media (max-width: 480px) {
    nav {
        flex-direction: column;
        gap: 6px;
        padding: 12px 8px;
        align-items: center;
        justify-content: center;
    }
    
    nav a {
        font-size: 13px;
        padding: 4px 6px;
        text-align: center;
    }
}

img#topimg {
    width: 30%;
    margin-left: 35%;
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 30px;
}

@media (max-width: 768px) {
    img#topimg {
        width: 50%;
        margin-left: 25%;
    }
}

@media (max-width: 600px) {
    img#topimg {
        width: 55%;
        margin-left: 22.5%;
    }
}

@media (max-width: 480px) {
    img#topimg {
        width: 60%;
        margin-left: 20%;
    }
}

.maintext {
    text-align: center;
    align-content: center;
    align-items: center;
    width: 80%;
    margin-left: 10%;
    padding: 0 16px;
}

@media (max-width: 768px) {
    .maintext {
        width: 90%;
        margin-left: 5%;
        padding: 0 12px;
    }
}

@media (max-width: 480px) {
    .maintext {
        width: 95%;
        margin-left: 2.5%;
        padding: 0 8px;
    }
}

/* Gallery - Responsive */
#gallery {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding: 30px 0;
    mask-image: linear-gradient(
        to right,
        transparent 0%,
        black 20%,
        black 80%,
        transparent 100%
    );
}

#gallery ul {
    list-style: none;
    display: flex;
    gap: 20px;
    padding: 0;
    margin: 0;
    width: max-content;
    animation: scroll 20s linear infinite;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

#gallery ul::-webkit-scrollbar {
    display: none;
}

#gallery ul li {
    flex: 0 0 28vw;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-radius: 18px;
    opacity: 0.5;
    transform: scale(0.85);
    filter: blur(0px);
    transition: transform 0.4s ease, opacity 0.4s ease;
}

@media (max-width: 768px) {
    #gallery ul li {
        flex: 0 0 35vw;
    }
}

@media (max-width: 600px) {
    #gallery ul li {
        flex: 0 0 40vw;
    }
}

@media (max-width: 480px) {
    #gallery ul li {
        flex: 0 0 45vw;
    }
}

#gallery ul li img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

#gallery ul li:hover {
    transform: scale(1);
    opacity: 1;
    z-index: 2;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

main {
    max-width: 1100px;
    margin: 0 auto;
    padding: 26px 16px 56px;
}

@media (max-width: 768px) {
    main {
        padding: 20px 12px 40px;
    }
}

@media (max-width: 480px) {
    main {
        padding: 16px 8px 32px;
    }
}

h1 {
    margin: 10px 0 6px;
    font-size: 34px;
    font-weight: 700;
    letter-spacing: -0.2px;
    text-align: center;
}

@media (max-width: 768px) {
    h1 {
        font-size: 28px;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 24px;
    }
}

.subtitle {
    margin: 0 0 22px;
    text-align: center;
    color: #555;
}

@media (max-width: 768px) {
    .subtitle {
        font-size: 15px;
    }
}

.section {
    margin-top: 40px;
}

.section-heading {
    margin: 0 0 16px;
    font-size: 24px;
    font-weight: 650;
    letter-spacing: -0.1px;
}

@media (max-width: 768px) {
    .section-heading {
        font-size: 20px;
    }
}

.card-sub {
    margin: 6px 0 0;
    font-size: 14px;
    color: #666;
}

/* Filters - Mobile */
.filters {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 18px;
    padding: 14px;
    border: 1px solid #ececec;
    border-radius: 14px;
    background: #fafafa;
}

@media (max-width: 768px) {
    .filters {
        gap: 8px;
        padding: 10px;
    }
}

@media (max-width: 600px) {
    .filters {
        gap: 6px;
        padding: 8px;
    }
}

.filter {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 140px;
    flex: 1 1 140px;
}

@media (max-width: 768px) {
    .filter {
        min-width: 100px;
        flex: 1 1 100px;
    }
}

@media (max-width: 600px) {
    .filter {
        min-width: 90px;
        flex: 1 1 90px;
    }
}

@media (max-width: 480px) {
    .filter {
        min-width: 80px;
        flex: 1 1 80px;
    }
}

.filter label {
    font-size: 12px;
    font-weight: 600;
    color: #555;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}

@media (max-width: 768px) {
    .filter label {
        font-size: 11px;
    }
}

.filter select {
    font-family: inherit;
    font-size: 14px;
    padding: 8px 10px;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    background: #fff;
    color: #222;
}

@media (max-width: 768px) {
    .filter select {
        font-size: 13px;
        padding: 6px 8px;
    }
}

@media (max-width: 480px) {
    .filter select {
        font-size: 12px;
        padding: 4px 6px;
    }
}

/* Grid - Mobile */
.grid {
    --grid-gap: 18px;
    --grid-cols: 3;
    container-type: inline-size;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: var(--grid-gap);
}

@media (max-width: 768px) {
    .grid {
        --grid-gap: 14px;
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    }
}

@media (max-width: 480px) {
    .grid {
        --grid-gap: 10px;
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    }
}

/* Better mobile grid for smaller screens */
@media (max-width: 600px) {
    .grid {
        --grid-cols: 2;
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    }
}

@media (max-width: 400px) {
    .grid {
        --grid-cols: 1;
        grid-template-columns: 1fr;
    }
}

.card {
    width: 100%;
    border: 1px solid #ececec;
    border-radius: 18px;
    overflow: hidden;
    background: #fff;
    transform: translateY(0);
    transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

@media (max-width: 700px) {
    .card {
        max-width: min(
            100%,
            calc((100cqw - (var(--grid-cols) - 1) * var(--grid-gap)) / var(--grid-cols))
        );
        max-height: calc(
            (100cqw - (var(--grid-cols) - 1) * var(--grid-gap)) / var(--grid-cols) * 3 / 4 + 72px
        );
        justify-self: start;
    }

    .photo {
        max-height: calc(
            (100cqw - (var(--grid-cols) - 1) * var(--grid-gap)) / var(--grid-cols) * 3 / 4
        );
    }
}

.card:hover {
    transform: translateY(-3px);
    border-color: #e2e2e2;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}

.photo {
    width: 100%;
    aspect-ratio: 4 / 3;
    background: #f4f4f4;
}

.photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.meta {
    padding: 14px 14px 16px;
}

@media (max-width: 480px) {
    .meta {
        padding: 10px 10px 12px;
    }
}

.name {
    font-size: 18px;
    font-weight: 650;
    margin: 0;
}

@media (max-width: 768px) {
    .name {
        font-size: 16px;
    }
}

.status {
    margin-top: 10px;
    padding: 14px;
    border: 1px dashed #e0e0e0;
    border-radius: 14px;
    color: #666;
    background: #fafafa;
}

@media (max-width: 768px) {
    .status {
        padding: 10px;
    }
}

/* Modal - Mobile */
.modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 20;
    padding: 16px;
}

.modal {
    width: min(520px, 92vw);
    background: #fff;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.18);
    display: flex;
    flex-direction: column;
    max-height: 90vh;
    overflow-y: auto;
}

@media (max-width: 480px) {
    .modal {
        max-height: 95vh;
    }
}

.modal-top {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
}

.modal-photo {
    background: #f4f4f4;
}

.modal-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.modal-main {
    padding: 18px 20px;
}

@media (max-width: 480px) {
    .modal-main {
        padding: 14px 16px;
    }
}

.modal-name {
    margin: 0 0 8px;
    font-size: 22px;
    font-weight: 700;
}

@media (max-width: 768px) {
    .modal-name {
        font-size: 18px;
    }
}

.modal-detail {
    margin: 4px 0;
    font-size: 14px;
    color: #444;
}

@media (max-width: 480px) {
    .modal-detail {
        font-size: 13px;
    }
}

.modal-detail strong {
    font-weight: 600;
}

.modal-description {
    margin: 10px 0 0;
    font-size: 14px;
    color: #555;
    line-height: 1.4;
}

@media (max-width: 480px) {
    .modal-description {
        font-size: 13px;
    }
}

.modal-related {
    padding: 14px 16px 16px;
    border-top: 1px solid #eee;
}

.modal-related[hidden] {
    display: none;
}

.modal-related-heading {
    margin: 0 0 10px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    color: #666;
}

.modal-related-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.modal-related-card {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px 6px 6px;
    border: 1px solid #e8e8e8;
    border-radius: 12px;
    background: #fafafa;
    cursor: pointer;
    font-family: inherit;
    font-size: 14px;
    color: #222;
    text-align: left;
    transition: background 150ms ease, border-color 150ms ease;
}

@media (max-width: 480px) {
    .modal-related-card {
        font-size: 13px;
        padding: 4px 10px 4px 4px;
    }
}

.modal-related-card:hover {
    background: #f0f0f0;
    border-color: #ddd;
}

.modal-related-card img {
    width: 44px;
    height: 44px;
    border-radius: 8px;
    object-fit: cover;
    flex-shrink: 0;
}

.modal-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px 14px;
    border-top: 1px solid #eee;
    gap: 10px;
}

.modal-footer-text {
    font-size: 13px;
    color: var(--text-faint);
}

@media (max-width: 480px) {
    .modal-footer {
        padding: 10px 12px 12px;
        flex-direction: column;
        align-items: stretch;
    }
}

.modal-buttons {
    display: flex;
    gap: 8px;
}

@media (max-width: 480px) {
    .modal-buttons {
        gap: 6px;
    }
}

.btn {
    border-radius: 999px;
    padding: 8px 16px;
    border: 1px solid #e0e0e0;
    background: #fff;
    font-family: inherit;
    font-size: 14px;
    cursor: pointer;
}

@media (max-width: 480px) {
    .btn {
        padding: 6px 12px;
        font-size: 13px;
    }
}

.btn-primary {
    background: #8066ff;
    border-color: #8066ff;
    color: #fff;
}

.btn-primary:hover {
    background: #5b3bfc;
    border-color: #5b3bfc;
}

.btn-ghost:hover {
    background: #f4f4f4;
}

/* Goal Page - Mobile */
.goal-page {
    max-width: 720px;
    margin: 0 auto;
    padding: 32px 20px 64px;
    text-align: left;
    line-height: 1.65;
}

@media (max-width: 768px) {
    .goal-page {
        padding: 24px 16px 48px;
    }
}

@media (max-width: 600px) {
    .goal-page {
        padding: 20px 12px 40px;
    }
}

@media (max-width: 480px) {
    .goal-page {
        padding: 16px 10px 32px;
    }
}

.goal-page h1 {
    margin: 0 0 8px;
    font-size: 34px;
    font-weight: 700;
    letter-spacing: -0.2px;
    text-align: center;
}

@media (max-width: 768px) {
    .goal-page h1 {
        font-size: 28px;
    }
}

@media (max-width: 480px) {
    .goal-page h1 {
        font-size: 24px;
    }
}

.goal-lead {
    margin: 0 0 40px;
    text-align: center;
    color: #555;
    font-size: 17px;
}

@media (max-width: 768px) {
    .goal-lead {
        font-size: 15px;
        margin-bottom: 30px;
    }
}

@media (max-width: 480px) {
    .goal-lead {
        font-size: 14px;
        margin-bottom: 24px;
    }
}

.goal-section {
    margin-bottom: 40px;
}

.goal-section h2 {
    margin: 0 0 16px;
    font-size: 22px;
    font-weight: 650;
    letter-spacing: -0.1px;
    color: #222;
}

@media (max-width: 768px) {
    .goal-section h2 {
        font-size: 18px;
    }
}

@media (max-width: 480px) {
    .goal-section h2 {
        font-size: 16px;
    }
}

.goal-section p {
    margin: 0 0 14px;
    color: #333;
}

.goal-section p:last-child {
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .goal-section p {
        font-size: 15px;
        line-height: 1.6;
    }
}

@media (max-width: 480px) {
    .goal-section p {
        font-size: 14px;
        line-height: 1.5;
    }
}

.goal-divider {
    border: none;
    border-top: 1px solid #ececec;
    margin: 40px 0;
}

@media (max-width: 768px) {
    .goal-divider {
        margin: 30px 0;
    }
}

.goal-callout {
    margin: 0 0 20px;
    padding: 18px 20px;
    border-radius: 14px;
    background: var(--callout-bg);
    border: 1px solid var(--callout-border);
    color: var(--text);
}

@media (max-width: 768px) {
    .goal-callout {
        padding: 14px 16px;
    }
}

.goal-callout h2 {
    margin-top: 0;
    color: var(--callout-heading);
}

.goal-callout a {
    color: var(--link);
}

.goal-callout a:hover {
    color: var(--link-hover);
}

.goal-list {
    margin: 0 0 16px;
    padding-left: 1.25rem;
}

.goal-list li {
    margin-bottom: 12px;
    color: var(--text);
}

.goal-list li:last-child {
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .goal-list li {
        font-size: 15px;
        margin-bottom: 10px;
    }
}

@media (max-width: 480px) {
    .goal-list li {
        font-size: 14px;
        margin-bottom: 8px;
    }
}

.goal-subsection {
    margin-top: 24px;
}

.goal-subsection h3 {
    margin: 0 0 12px;
    font-size: 17px;
    font-weight: 600;
    color: #444;
}

@media (max-width: 768px) {
    .goal-subsection h3 {
        font-size: 15px;
    }
}

@media (max-width: 480px) {
    .goal-subsection h3 {
        font-size: 14px;
    }
}

.goal-tips {
    margin: 12px 0 0;
    padding-left: 0;
    list-style: none;
}

.goal-tips li {
    position: relative;
    margin-bottom: 10px;
    padding-left: 1.1rem;
    color: #444;
}

@media (max-width: 768px) {
    .goal-tips li {
        margin-bottom: 8px;
    }
}

.goal-tips li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: #8066ff;
    font-weight: 700;
}

.goal-downloads {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 14px;
    margin-top: 16px;
}

.goal-download {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 16px 18px;
    border: 1px solid var(--callout-border);
    border-radius: 14px;
    background: var(--bg-elevated);
    text-decoration: none;
    color: var(--text);
    transition: background 150ms ease, border-color 150ms ease, transform 150ms ease;
}

.goal-download:hover {
    background: var(--callout-bg);
    border-color: var(--accent-soft);
    transform: translateY(-2px);
    color: var(--text);
}

.goal-download-title {
    font-size: 17px;
    font-weight: 650;
    color: var(--text);
}

.goal-download-meta {
    font-size: 13px;
    color: var(--text-soft);
}

.goal-page a.goal-download,
.goal-page a.goal-download:hover {
    color: var(--text);
}

.goal-page a:not(.goal-download) {
    color: var(--link);
    font-weight: 500;
}

.goal-page a:not(.goal-download):hover {
    color: var(--link-hover);
}

@media (max-width: 768px) {
    .goal-page a:not(.goal-download) {
        font-size: 14px;
    }
}

.admin-page {
    max-width: 900px;
    margin: 0 auto;
    padding: 32px 20px 64px;
}

.admin-gate {
    max-width: 400px;
    margin: 48px auto;
    padding: 28px 24px;
    border: 1px solid #ececec;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
}

.admin-gate h1 {
    margin: 0 0 8px;
    font-size: 28px;
    text-align: center;
}

.admin-gate p {
    margin: 0 0 18px;
    text-align: center;
    color: #666;
    font-size: 14px;
}

.admin-panel[hidden] {
    display: none;
}

.admin-section {
    margin-bottom: 28px;
    padding: 22px 20px;
    border: 1px solid #ececec;
    border-radius: 18px;
    background: #fafafa;
}

.admin-section h2 {
    margin: 0 0 18px;
    font-size: 20px;
    font-weight: 650;
}

.admin-form-group {
    margin-bottom: 14px;
}

.admin-form-group label {
    display: block;
    margin-bottom: 4px;
    font-size: 12px;
    font-weight: 600;
    color: #555;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}

.admin-form-group input,
.admin-form-group select,
.admin-form-group textarea {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    font-family: inherit;
    font-size: 14px;
    box-sizing: border-box;
}

.admin-form-group textarea {
    min-height: 80px;
    resize: vertical;
}

.admin-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

@media (max-width: 640px) {
    .admin-form-row {
        grid-template-columns: 1fr;
    }
}

.admin-file-label {
    display: block;
    padding: 10px 14px;
    border: 2px dashed #e0e0e0;
    border-radius: 10px;
    text-align: center;
    cursor: pointer;
    font-size: 13px;
    color: #666;
}

.admin-file-label:hover {
    border-color: #8066ff;
    color: #8066ff;
}

.admin-preview {
    margin-top: 8px;
    max-width: 180px;
    max-height: 180px;
    border-radius: 10px;
    display: none;
}

.admin-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.admin-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid #eee;
    font-size: 14px;
}

.admin-list li:last-child {
    border-bottom: none;
}

.admin-list-actions {
    display: flex;
    gap: 8px;
    flex-shrink: 0;
}

.admin-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.admin-flash {
    padding: 12px 16px;
    border-radius: 10px;
    margin-bottom: 16px;
    font-size: 14px;
    display: none;
}

.admin-flash.success {
    display: block;
    background: #e8f5e9;
    color: #2e7d32;
}

.admin-flash.error {
    display: block;
    background: #ffebee;
    color: #c62828;
}

.admin-message-card {
    padding: 14px;
    border: 1px solid #ececec;
    border-radius: 12px;
    background: #fff;
    margin-bottom: 12px;
}

.admin-message-card h3 {
    margin: 0 0 6px;
    font-size: 16px;
}

.admin-message-meta {
    font-size: 13px;
    color: #666;
    margin-bottom: 8px;
}

.contact-form {
    width: 100%;
}

.contact-status {
    margin-top: 12px;
    font-size: 14px;
    color: #666;
}

.contact-status.success {
    color: #2e7d32;
}

.contact-status.error {
    color: var(--error-text);
}

.news-highlight {
    color: var(--news);
    font-weight: 800;
    text-wrap: pretty;
}

@media (prefers-color-scheme: dark) {
    .subtitle,
    .goal-lead,
    .card-sub,
    .goal-section p,
    .goal-tips li,
    .goal-subsection h3,
    .contact-status,
    .admin-message-meta,
    .admin-gate p,
    .modal-footer-text,
    .filter label {
        color: var(--text-soft);
    }

    .goal-section h2,
    .section-heading,
    .goal-page h1,
    h1 {
        color: var(--text);
    }

    .filters,
    .admin-section,
    .admin-gate,
    .status {
        background: var(--bg-muted);
        border-color: var(--border);
    }

    .card,
    .modal,
    .admin-message-card,
    .admin-file-label {
        background: var(--bg-elevated);
        border-color: var(--border);
    }

    .card:hover {
        border-color: var(--accent-soft);
        box-shadow: 0 12px 30px var(--shadow);
    }

    .goal-download:hover {
        border-color: var(--accent-soft);
        box-shadow: 0 12px 30px var(--shadow);
    }

    .photo,
    .modal-photo,
    .admin-preview {
        background: var(--photo-bg);
    }

    .filter select,
    .btn,
    .admin-form-group input,
    .admin-form-group select,
    .admin-form-group textarea {
        background: var(--input-bg);
        border-color: var(--border-strong);
        color: var(--text);
    }

    .btn-ghost:hover {
        background: var(--hover-bg);
    }

    .goal-page a:not(.goal-download) {
        color: var(--link);
    }

    .goal-page a:not(.goal-download):hover {
        color: var(--link-hover);
    }

    .goal-divider {
        border-top-color: var(--border);
    }

    .admin-flash.success {
        background: var(--success-bg);
        color: var(--success-text);
    }

    .admin-flash.error,
    .contact-status.error {
        background: var(--error-bg);
        color: var(--error-text);
    }

    .contact-status.success {
        color: var(--success-text);
    }

    .modal-backdrop {
        background: rgba(0, 0, 0, 0.65);
    }

    .modal-detail,
    .modal-description,
    .modal-name,
    .name {
        color: var(--text);
    }

    .modal-footer,
    .modal-related,
    .admin-list li {
        border-color: var(--border);
    }

    .modal-related-card {
        background: var(--bg-muted);
        border-color: var(--border);
        color: var(--text);
    }

    .modal-related-card:hover {
        background: var(--hover-bg);
        border-color: var(--border-strong);
    }

    .modal-related-heading {
        color: var(--text-soft);
    }

    .admin-file-label:hover {
        border-color: var(--accent);
        color: var(--accent);
    }
}
