:root {
    --s40-gold: #d79a08;
    --s40-gold-2: #f3bd2f;
    --s40-ink: #111111;
    --s40-ink-2: #242424;
    --s40-paper: #f8f5ee;
    --s40-white: #ffffff;
    --s40-muted: #6f6d68;
    --s40-line: #e6e0d3;
    --s40-green: #238457;
    --s40-red: #cf3f35;
    --s40-orange: #cf7d0b;
    --s40-shadow: 0 18px 50px rgba(25, 19, 9, .13);
    --s40-radius: 22px;
}

html { scroll-behavior: smooth; }
html.s40-app-html,
html.s40-app-html body.s40-app-active {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow-x: hidden !important;
}
body.s40-app-active [data-s40-hidden="true"] { display: none !important; }
body.s40-standalone > header:not(.s40-topbar),
body.s40-standalone > footer,
body.s40-standalone #masthead,
body.s40-standalone #colophon,
body.s40-standalone .site-header,
body.s40-standalone .site-footer { display: none !important; }
body.s40-app-active .s40-app-host {
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}
body.s40-standalone {
    margin: 0 !important;
    background: var(--s40-paper) !important;
    color: var(--s40-ink) !important;
    font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif !important;
    -webkit-font-smoothing: antialiased;
}
body.s40-standalone::before,
body.s40-standalone::after { display: none !important; }
.s40-standalone #wpadminbar { position: fixed; }
.s40-app, .s40-app * { box-sizing: border-box; }
.s40-app button, .s40-app input, .s40-app select, .s40-app textarea { font: inherit; }
.s40-app button { cursor: pointer; }
.s40-app svg { width: 1.35em; height: 1.35em; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; flex: 0 0 auto; }
.s40-app {
    min-height: 100vh;
    background:
        radial-gradient(circle at 10% 0, rgba(215,154,8,.09), transparent 25rem),
        radial-gradient(circle at 100% 80%, rgba(17,17,17,.055), transparent 24rem),
        var(--s40-paper);
    color: var(--s40-ink);
    position: relative;
    overflow-x: hidden;
}
.s40-app::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    opacity: .22;
    background-image: linear-gradient(45deg, rgba(0,0,0,.025) 25%, transparent 25%, transparent 75%, rgba(0,0,0,.025) 75%), linear-gradient(45deg, rgba(0,0,0,.025) 25%, transparent 25%, transparent 75%, rgba(0,0,0,.025) 75%);
    background-size: 18px 18px;
    background-position: 0 0, 9px 9px;
}
.s40-topbar {
    height: 76px;
    padding: 0 max(24px, env(safe-area-inset-left));
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    top: 0;
    z-index: 50;
    color: #fff;
    background: rgba(15,15,15,.97);
    border-bottom: 3px solid var(--s40-gold);
    box-shadow: 0 8px 28px rgba(0,0,0,.18);
    backdrop-filter: blur(12px);
}
.s40-brand {
    border: 0;
    background: transparent;
    color: white;
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 0;
    text-align: left;
    font-weight: 900;
    font-size: 12px;
    line-height: 1.05;
    letter-spacing: .075em;
}
.s40-brand strong { color: var(--s40-gold-2); font-size: 16px; }
.s40-brand-flag { color: var(--s40-gold-2); transform: rotate(-4deg); }
.s40-brand-flag svg { width: 32px; height: 32px; stroke-width: 1.6; }
.s40-menu { display: flex; align-items: center; gap: 5px; }
.s40-menu button {
    border: 0;
    background: transparent;
    color: rgba(255,255,255,.78);
    padding: 10px 13px;
    border-radius: 999px;
    font-weight: 760;
    font-size: 13px;
    transition: .2s ease;
}
.s40-menu button:hover, .s40-menu button.is-active { color: #fff; background: rgba(255,255,255,.09); }
.s40-menu .s40-private-link { border: 1px solid rgba(215,154,8,.6); color: var(--s40-gold-2); display: inline-flex; gap: 7px; align-items: center; }
.s40-menu .s40-private-link svg { width: 15px; height: 15px; }
.s40-menu-toggle { display: none; border: 0; background: transparent; padding: 10px; }
.s40-menu-toggle span { display: block; width: 25px; height: 2px; margin: 5px 0; background: #fff; border-radius: 3px; }
.s40-main { position: relative; z-index: 1; }
.s40-view { display: none; width: min(1120px, calc(100% - 36px)); margin: 0 auto; min-height: calc(100vh - 76px); padding: 55px 0 90px; animation: s40-in .34s ease both; }
.s40-view.is-active { display: block; }
.s40-view-home { width: 100%; max-width: none; padding: 0 0 95px; }
@keyframes s40-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.s40-hero {
    min-height: min(63vh, 680px);
    position: relative;
    display: grid;
    place-items: end center;
    overflow: hidden;
    background-image: var(--s40-hero);
    background-size: cover;
    background-position: center 45%;
    isolation: isolate;
}
.s40-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        linear-gradient(90deg, rgba(0,0,0,.66), rgba(0,0,0,.12) 68%),
        linear-gradient(0deg, rgba(0,0,0,.82), transparent 58%);
}
.s40-hero::after {
    content: "";
    position: absolute;
    left: -4%; right: -4%; bottom: -35px;
    height: 85px;
    background: var(--s40-paper);
    transform: rotate(-1.35deg);
    transform-origin: 50% 0;
}
.s40-hero-overlay {
    position: absolute;
    inset: auto 0 0;
    height: 12px;
    background: repeating-conic-gradient(#111 0 25%, #fff 0 50%) 0/28px 28px;
    opacity: .95;
}
.s40-hero-copy { width: min(1120px, calc(100% - 40px)); margin: 0 auto; padding: 70px 0 86px; color: #fff; }
.s40-kicker { color: var(--s40-gold); font-size: 12px; font-weight: 900; letter-spacing: .18em; text-transform: uppercase; }
.s40-hero h1, .s40-page-head h2, .s40-private-login h2, .s40-dashboard h2 {
    margin: 10px 0 18px;
    font-family: Impact, "Arial Black", sans-serif;
    letter-spacing: .015em;
    line-height: .91;
    font-weight: 900;
}
.s40-hero h1 { font-size: clamp(55px, 8.7vw, 126px); text-shadow: 0 5px 30px rgba(0,0,0,.32); }
.s40-hero h1 em { color: var(--s40-gold-2); font-style: italic; }
.s40-event-meta { display: flex; flex-wrap: wrap; gap: 13px 26px; font-weight: 850; letter-spacing: .045em; }
.s40-event-meta span { display: flex; align-items: center; gap: 8px; }
.s40-event-meta svg { color: var(--s40-gold-2); }
.s40-home-content { width: min(720px, calc(100% - 36px)); margin: -36px auto 0; position: relative; z-index: 2; text-align: center; }
.s40-countdown-card {
    display: inline-flex;
    align-items: center;
    gap: 18px;
    padding: 18px 26px;
    background: white;
    border: 1px solid rgba(215,154,8,.3);
    border-radius: 18px;
    box-shadow: var(--s40-shadow);
}
.s40-countdown-card span { color: var(--s40-muted); font-size: 12px; letter-spacing: .12em; font-weight: 900; display: flex; align-items: center; gap: 7px; }
.s40-countdown-card span svg { color: var(--s40-gold); }
.s40-countdown-card strong { font: 900 34px/1 Impact, "Arial Black", sans-serif; }
.s40-intro { max-width: 590px; margin: 25px auto; font-size: clamp(17px, 2.2vw, 21px); line-height: 1.55; }
.s40-btn {
    border: 0;
    border-radius: 14px;
    min-height: 50px;
    padding: 13px 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-decoration: none;
    text-transform: uppercase;
    font-weight: 900;
    letter-spacing: .025em;
    transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.s40-btn:hover { transform: translateY(-2px); }
.s40-btn-primary { color: #111; background: linear-gradient(135deg, var(--s40-gold-2), var(--s40-gold)); box-shadow: 0 12px 28px rgba(215,154,8,.28); }
.s40-btn-primary:hover { box-shadow: 0 17px 34px rgba(215,154,8,.34); }
.s40-btn-outline { color: var(--s40-ink); background: #fff; border: 1.5px solid var(--s40-gold); }
.s40-btn-xl { width: min(100%, 480px); min-height: 78px; font-size: 18px; justify-content: space-between; padding-inline: 25px; }
.s40-btn-xl svg:first-child { width: 29px; height: 29px; color: #fff; }
.s40-btn-small { min-height: 38px; padding: 7px 12px; font-size: 11px; }
.s40-action-grid { margin: 13px auto; width: min(100%, 480px); display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.s40-action-grid .s40-btn { font-size: 12px; }
.s40-deadline { color: var(--s40-muted); font-size: 13px; }
.s40-deadline strong { color: var(--s40-ink); }
.s40-page-head { display: grid; grid-template-columns: 74px 1fr; gap: 24px; align-items: start; margin-bottom: 28px; }
.s40-step { display: grid; place-items: center; width: 68px; aspect-ratio: 1; border-radius: 50%; color: #111; background: var(--s40-gold-2); font: 900 28px/1 Impact, sans-serif; box-shadow: 6px 6px 0 #111; }
.s40-page-head h2, .s40-private-login h2, .s40-dashboard h2 { font-size: clamp(38px, 5vw, 64px); }
.s40-page-head p { margin: 0; color: var(--s40-muted); font-size: 17px; }
.s40-card { background: rgba(255,255,255,.96); border: 1px solid var(--s40-line); border-radius: var(--s40-radius); box-shadow: var(--s40-shadow); }
.s40-form { max-width: 820px; margin: 0 auto; padding: clamp(22px, 4vw, 42px); }
.s40-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.s40-col-full { grid-column: 1/-1; }
.s40-form label, .s40-login-form label { display: block; position: relative; font-weight: 820; font-size: 13px; color: var(--s40-ink-2); }
.s40-form input[type="text"], .s40-form input[type="email"], .s40-form input[type="tel"], .s40-form select, .s40-form textarea, .s40-login-form input {
    width: 100%;
    margin-top: 7px;
    min-height: 51px;
    border: 1.5px solid #d8d3ca;
    border-radius: 11px;
    background: #fbfaf7;
    color: #151515;
    padding: 12px 14px;
    outline: none;
    box-shadow: none;
    transition: border .18s ease, box-shadow .18s ease, background .18s ease;
}
.s40-form textarea { resize: vertical; min-height: 150px; line-height: 1.55; }
.s40-form input:focus, .s40-form select:focus, .s40-form textarea:focus, .s40-login-form input:focus { border-color: var(--s40-gold); background: #fff; box-shadow: 0 0 0 4px rgba(215,154,8,.12); }
.s40-form label > small { display: block; margin-top: -24px; margin-right: 11px; text-align: right; color: #8b877f; font-weight: 600; position: relative; pointer-events: none; }
.s40-choice { margin: 25px 0 18px; padding: 0; border: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.s40-choice legend { font-size: 13px; font-weight: 850; margin-bottom: 8px; grid-column: 1/-1; }
.s40-choice label { cursor: pointer; }
.s40-choice input { position: absolute; opacity: 0; }
.s40-choice span { min-height: 50px; display: grid; place-items: center; border: 1.5px solid #ded8cd; background: #fbfaf7; border-radius: 12px; }
.s40-choice input:checked + span { background: #111; color: #fff; border-color: #111; box-shadow: inset 4px 0 0 var(--s40-gold-2); }
.s40-check { display: flex !important; align-items: flex-start; gap: 10px; margin: 22px 0; font-weight: 600 !important; line-height: 1.45; color: var(--s40-muted) !important; }
.s40-check input { width: 19px; height: 19px; accent-color: var(--s40-gold); flex: 0 0 auto; margin-top: 1px; }
.s40-submit { width: 100%; min-height: 62px; justify-content: space-between; padding-inline: 22px; }
.s40-form-status { min-height: 22px; margin-top: 14px; text-align: center; font-size: 13px; font-weight: 750; }
.s40-form-status.is-error { color: var(--s40-red); }
.s40-form-status.is-success { color: var(--s40-green); }
.s40-hp { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; opacity: 0 !important; }
.s40-upload-zone { margin-top: 22px; min-height: 178px; border: 2px dashed #cfc8bb; border-radius: 16px; background: #faf8f2; display: flex !important; flex-direction: column; justify-content: center; align-items: center; gap: 9px; text-align: center; cursor: pointer; transition: .2s ease; }
.s40-upload-zone:hover, .s40-upload-zone.is-drag { border-color: var(--s40-gold); background: #fffaf0; }
.s40-upload-zone svg { width: 36px; height: 36px; color: var(--s40-gold); }
.s40-upload-zone span { font-size: 12px; color: var(--s40-muted); font-weight: 650; }
.s40-upload-zone input { display: none; }
.s40-photo-preview { display: grid; grid-template-columns: repeat(auto-fill,minmax(95px,1fr)); gap: 10px; margin-top: 13px; }
.s40-photo-preview figure { margin: 0; aspect-ratio: 1; border-radius: 12px; overflow: hidden; position: relative; border: 1px solid var(--s40-line); background: #eee; }
.s40-photo-preview img { width: 100%; height: 100%; object-fit: cover; }
.s40-photo-preview button { position: absolute; top: 5px; right: 5px; width: 27px; height: 27px; border: 0; border-radius: 50%; color: #fff; background: rgba(0,0,0,.72); }
.s40-tabs { display: grid; grid-template-columns: 1fr 1fr; max-width: 520px; margin: 0 auto 28px; padding: 5px; border-radius: 14px; background: #eae4d8; }
.s40-tabs button { border: 0; background: transparent; color: #777168; border-radius: 10px; padding: 13px; font-weight: 900; font-size: 13px; }
.s40-tabs button.is-active { color: #111; background: linear-gradient(135deg,var(--s40-gold-2),var(--s40-gold)); box-shadow: 0 7px 18px rgba(126,89,2,.15); }
.s40-tabs span { margin-left: 5px; opacity: .75; }
.s40-gallery-panel { display: none; }
.s40-gallery-panel.is-active { display: block; }
.s40-message-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; }
.s40-message-card { min-height: 200px; padding: 23px; border-radius: 18px; background: #fff; border: 1px solid var(--s40-line); box-shadow: 0 9px 25px rgba(31,26,18,.07); }
.s40-message-author { display: flex; gap: 11px; align-items: center; margin-bottom: 17px; }
.s40-avatar { width: 43px; height: 43px; display: grid; place-items: center; border-radius: 50%; background: var(--s40-gold); color: #111; font-weight: 950; }
.s40-message-author strong { display: block; }
.s40-message-author small { color: var(--s40-muted); }
.s40-message-card p { margin: 0; white-space: pre-line; line-height: 1.6; color: #35332f; }
.s40-photos-grid { columns: 4 230px; column-gap: 14px; }
.s40-photo-item { display: block; width: 100%; margin: 0 0 14px; padding: 0; border: 0; border-radius: 15px; overflow: hidden; position: relative; background: #ddd; break-inside: avoid; }
.s40-photo-item img { width: 100%; display: block; transition: transform .3s ease; }
.s40-photo-item:hover img { transform: scale(1.035); }
.s40-photo-item span { position: absolute; left: 10px; bottom: 10px; padding: 6px 9px; border-radius: 8px; color: #fff; background: rgba(0,0,0,.7); font-size: 11px; font-weight: 750; opacity: 0; transition: .2s ease; }
.s40-photo-item:hover span { opacity: 1; }
.s40-empty, .s40-loader { grid-column: 1/-1; padding: 45px 20px; text-align: center; color: var(--s40-muted); background: rgba(255,255,255,.55); border: 1px dashed #d7d1c5; border-radius: 16px; }
.s40-private-login { max-width: 520px; margin: 35px auto; padding: 45px; text-align: center; border: 1px solid var(--s40-line); border-radius: 24px; background: #fff; box-shadow: var(--s40-shadow); }
.s40-private-login h2 { font-size: 53px; }
.s40-private-login > p { color: var(--s40-muted); line-height: 1.55; }
.s40-lock-mark { width: 75px; height: 75px; margin: 0 auto 22px; display: grid; place-items: center; border-radius: 50%; color: #111; background: var(--s40-gold-2); box-shadow: 6px 6px 0 #111; }
.s40-lock-mark svg { width: 33px; height: 33px; }
.s40-login-form { margin-top: 25px; text-align: left; }
.s40-login-form .s40-btn { width: 100%; margin-top: 14px; }
.s40-dashboard[hidden] { display: none !important; }
.s40-dashboard-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 24px; }
.s40-icon-btn { border: 1px solid #d4cec2; border-radius: 11px; background: #fff; padding: 10px 13px; display: flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 800; }
.s40-stats { display: grid; grid-template-columns: repeat(4,1fr); gap: 14px; margin-bottom: 22px; }
.s40-stat { padding: 20px; border-radius: 17px; background: #fff; border: 1px solid var(--s40-line); box-shadow: 0 8px 25px rgba(24,21,14,.06); }
.s40-stat span { display: block; color: var(--s40-muted); font-size: 12px; font-weight: 800; }
.s40-stat strong { display: block; margin-top: 6px; font: 900 38px/1 Impact,sans-serif; }
.s40-stat:nth-child(1) { border-top: 4px solid var(--s40-green); }
.s40-stat:nth-child(2) { border-top: 4px solid var(--s40-gold); }
.s40-stat:nth-child(3) { border-top: 4px solid var(--s40-red); }
.s40-stat:nth-child(4) { border-top: 4px solid var(--s40-orange); }
.s40-admin-grid { display: grid; gap: 20px; }
.s40-admin-card { overflow: hidden; }
.s40-card-head { display: flex; justify-content: space-between; align-items: center; gap: 15px; padding: 22px 24px; border-bottom: 1px solid var(--s40-line); }
.s40-card-head h3 { margin: 0; font-size: 20px; }
.s40-card-head p { margin: 4px 0 0; color: var(--s40-muted); font-size: 12px; }
.s40-table-wrap { overflow-x: auto; }
.s40-admin-card table { width: 100%; min-width: 720px; border-collapse: collapse; font-size: 13px; }
.s40-admin-card th { text-align: left; padding: 12px 16px; color: var(--s40-muted); background: #faf8f3; font-size: 11px; text-transform: uppercase; letter-spacing: .08em; }
.s40-admin-card td { padding: 13px 16px; border-top: 1px solid #eee9df; vertical-align: top; }
.s40-admin-card td strong { display: block; }
.s40-admin-card td small { color: var(--s40-muted); }
.s40-status-pill { display: inline-flex; padding: 5px 8px; border-radius: 999px; font-size: 11px; font-weight: 850; }
.s40-status-pill.is-present { color: #17673f; background: #daf2e5; }
.s40-status-pill.is-absent { color: #9c2922; background: #fde1de; }
.s40-delete { border: 0; background: transparent; color: var(--s40-red); font-weight: 800; }
.s40-moderation-list { padding: 18px; display: grid; gap: 13px; }
.s40-moderation-item { border: 1px solid var(--s40-line); border-radius: 14px; padding: 17px; background: #fcfbf8; }
.s40-moderation-top { display: flex; justify-content: space-between; gap: 15px; }
.s40-moderation-top small { color: var(--s40-muted); }
.s40-moderation-item p { white-space: pre-line; line-height: 1.5; }
.s40-mod-photos { display: flex; flex-wrap: wrap; gap: 7px; margin: 10px 0; }
.s40-mod-photos img { width: 78px; height: 78px; object-fit: cover; border-radius: 9px; }
.s40-mod-actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; }
.s40-mod-actions button { border: 0; border-radius: 9px; padding: 8px 12px; font-weight: 850; font-size: 12px; }
.s40-approve { color: #fff; background: var(--s40-green); }
.s40-reject { color: #8a2a24; background: #fae1df; }
.s40-remove { color: #fff; background: #171717; }
.s40-bottom-nav { display: none; }
.s40-toast { position: fixed; left: 50%; bottom: 25px; z-index: 100; transform: translate(-50%,30px); opacity: 0; pointer-events: none; max-width: min(520px,calc(100% - 30px)); padding: 13px 18px; border-radius: 12px; color: #fff; background: #161616; box-shadow: 0 15px 45px rgba(0,0,0,.26); font-size: 13px; font-weight: 750; transition: .25s ease; }
.s40-toast.is-visible { opacity: 1; transform: translate(-50%,0); }
.s40-lightbox { padding: 0; max-width: min(96vw,1200px); max-height: 92vh; border: 0; border-radius: 16px; overflow: hidden; background: #111; box-shadow: 0 30px 80px rgba(0,0,0,.5); }
.s40-lightbox::backdrop { background: rgba(0,0,0,.86); backdrop-filter: blur(5px); }
.s40-lightbox img { display: block; max-width: 94vw; max-height: 90vh; object-fit: contain; }
.s40-lightbox button { position: absolute; top: 10px; right: 10px; z-index: 2; width: 40px; height: 40px; border: 0; border-radius: 50%; color: #fff; background: rgba(0,0,0,.7); font-size: 26px; }
.s40-is-loading { opacity: .68; pointer-events: none; }

@media (max-width: 880px) {
    .s40-topbar { height: 67px; }
    .s40-menu-toggle { display: block; }
    .s40-menu { display: none; position: absolute; top: calc(100% + 1px); left: 12px; right: 12px; padding: 10px; border-radius: 0 0 15px 15px; background: #111; box-shadow: 0 14px 30px rgba(0,0,0,.2); }
    .s40-menu.is-open { display: grid; }
    .s40-menu button { justify-content: flex-start; text-align: left; }
    .s40-view { min-height: calc(100vh - 67px); padding-bottom: 100px; }
    .s40-view-home { padding-bottom: 105px; }
    .s40-hero { min-height: 58vh; background-position: 56% center; }
    .s40-hero-copy { padding-bottom: 75px; }
    .s40-event-meta { display: grid; gap: 9px; font-size: 13px; }
    .s40-message-grid { grid-template-columns: 1fr 1fr; }
    .s40-stats { grid-template-columns: 1fr 1fr; }
    .s40-bottom-nav {
        display: grid;
        grid-template-columns: repeat(5,1fr);
        position: fixed;
        z-index: 60;
        left: 0; right: 0; bottom: 0;
        min-height: 70px;
        padding: 7px max(6px,env(safe-area-inset-right)) calc(7px + env(safe-area-inset-bottom)) max(6px,env(safe-area-inset-left));
        background: rgba(17,17,17,.98);
        border-top: 2px solid var(--s40-gold);
        box-shadow: 0 -8px 24px rgba(0,0,0,.2);
    }
    .s40-bottom-nav button { border: 0; background: transparent; color: #b8b5ae; min-width: 0; padding: 4px 2px; display: flex; flex-direction: column; gap: 3px; align-items: center; justify-content: center; font-size: 9px; font-weight: 750; }
    .s40-bottom-nav button svg { width: 20px; height: 20px; }
    .s40-bottom-nav button.is-active { color: var(--s40-gold-2); }
    .s40-bottom-nav .s40-bottom-main { width: 58px; height: 58px; justify-self: center; margin-top: -24px; border-radius: 50%; color: #111; background: var(--s40-gold-2); box-shadow: 0 8px 22px rgba(215,154,8,.4); }
    .s40-bottom-nav .s40-bottom-main span { color: #fff; position: absolute; transform: translateY(39px); }
    .s40-bottom-nav .s40-bottom-main svg { width: 25px; height: 25px; }
    .s40-toast { bottom: 90px; }
}

@media (max-width: 620px) {
    .s40-view { width: min(100% - 24px,1120px); padding-top: 30px; }
    .s40-hero { min-height: 515px; background-position: 58% center; }
    .s40-hero::before { background: linear-gradient(90deg,rgba(0,0,0,.72),rgba(0,0,0,.24)),linear-gradient(0deg,rgba(0,0,0,.78),transparent 60%); }
    .s40-hero h1 { font-size: clamp(54px,18vw,84px); }
    .s40-hero-copy { width: calc(100% - 32px); padding-bottom: 80px; }
    .s40-home-content { margin-top: -28px; }
    .s40-countdown-card { width: 100%; justify-content: center; }
    .s40-action-grid { grid-template-columns: 1fr; }
    .s40-page-head { grid-template-columns: 51px 1fr; gap: 15px; }
    .s40-step { width: 48px; font-size: 21px; box-shadow: 4px 4px 0 #111; }
    .s40-page-head h2 { margin-top: 7px; font-size: 38px; }
    .s40-page-head p { font-size: 14px; }
    .s40-form { padding: 20px 16px; border-radius: 17px; }
    .s40-form-grid { grid-template-columns: 1fr; gap: 14px; }
    .s40-col-full { grid-column: auto; }
    .s40-choice { grid-template-columns: 1fr; }
    .s40-message-grid { grid-template-columns: 1fr; }
    .s40-photos-grid { columns: 2 140px; }
    .s40-private-login { margin: 15px auto; padding: 32px 20px; }
    .s40-private-login h2 { font-size: 42px; }
    .s40-dashboard-head { align-items: flex-start; flex-direction: column; }
    .s40-dashboard h2 { font-size: 44px; }
    .s40-stats { gap: 8px; }
    .s40-stat { padding: 14px; }
    .s40-stat strong { font-size: 31px; }
    .s40-card-head { align-items: flex-start; flex-direction: column; padding: 18px; }
    .s40-moderation-list { padding: 10px; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
