/* Sighting brand. Fan-site presets retain their own colour variables. */
:root {
    --brand-midnight: #0b1026;
    --brand-sky: #2563eb;
    --brand-violet: #8b5cf6;
    --brand-mist: #eaf2ff;
    --font-display: 'Poppins', sans-serif;
    --font-body: 'Inter', sans-serif;
    --theme-primary: var(--brand-sky);
    --theme-secondary: #fff;
    --theme-accent: var(--brand-violet);
    --theme-surface: #fff;
    --theme-text: var(--brand-midnight);
}
body { font-family: var(--font-body); background: #f5f8ff; color: var(--brand-midnight); }
h1, h2, h3, h4, h5, h6, .logo { font-family: var(--font-display); font-weight: 600; letter-spacing: -.025em; }
h1 { font-weight: 700; }
button, input, textarea, select { font-family: var(--font-body); }
.fan-site.theme-classic {
    --theme-primary: var(--brand-sky);
    --theme-secondary: #fff;
    --theme-accent: var(--brand-violet);
    --theme-surface: #fff;
    --theme-text: var(--brand-midnight);
}
/* Only Classic receives the new palette; other presets are defined in styles.css. */
.brand-lockup { position: relative; display: block; width: 242px; height: 70px; overflow: hidden; flex-shrink: 0; background: #fff; }
.brand-lockup img { position: absolute; width: 380px; max-width: none; height: auto; left: -77px; top: -27px; }
.header-content { min-height: 94.6px; height: auto; gap: 24px; padding-top: 12.3px; padding-bottom: 12.3px; }
.site-header { border-color: #dce5fa; }
.site-nav { justify-content: flex-end; }
.site-nav a, .nav-button { color: var(--brand-midnight); }
.site-nav .button, .nav-register { background: var(--brand-sky); color: white; border-radius: 10px; }
.hero { background: linear-gradient(125deg, #fff 5%, var(--brand-mist) 72%, #eee7ff); }
.hero h1 { line-height: 1.2; }
.hero p { color: #606b8a; }
.hero-with-background h1, .hero-with-background p { color: #fff; }
.search-form { box-shadow: 0 8px 30px #2563eb12; border-radius: 12px; }
.search-form button { background: var(--brand-sky); border-radius: 0 12px 12px 0; }
.search-form input { border-color: #d4def5; border-radius: 12px 0 0 12px; }
.button, .follow-button { border-radius: 10px; }
.celebrity-card, .auth-card { border-color: #dce5fa; box-shadow: 0 4px 20px #0b102605; }
.celebrity-card .category { color: #596687; }
.view-all { color: var(--brand-sky); border-color: #cddcfa; background: var(--brand-mist); font-weight: 500; }
.carousel-arrow { color: var(--brand-sky); border-color: #dce5fa; }
.sighting-map .leaflet-control-layers, .leaflet-container { font-family: var(--font-body); }
footer { background: white; border-top: 1px solid #dce5fa; color: var(--brand-midnight); padding: 25px 0; }
.community-settings { border: 1px solid #dce5fa; border-radius: 10px; margin: 24px 0; }
.community-settings legend { font-family: var(--font-display); font-weight: 600; }
@media (max-width: 1000px) { .header-content { flex-wrap: wrap; } .site-nav { flex-wrap: wrap; gap: 14px; margin-left: auto; } }
@media (max-width: 520px) { .site-nav { width: 100%; justify-content: flex-start; margin-left: 0; } .site-nav .nav-create-fan-site { margin-left: auto; } .hero h1 { font-size: 34px; } }

/* Compact live-chat rows, with a stable colour for each author. */
.chat-messages { height: 350px; overflow-y: auto; padding: 14px; overflow-wrap: anywhere; background: var(--theme-surface); color: var(--theme-text); }
.chat-message { padding: 5px 0; font-size: 14px; line-height: 1.5; }
.chat-author { font-weight: 700; }
.chat-author-0 { color: #a52260; }
.chat-author-1 { color: #185ba5; }
.chat-author-2 { color: #7136b0; }
.chat-author-3 { color: #176b45; }
.chat-author-4 { color: #93480c; }
.chat-author-5 { color: #656800; }
.chat-author-6 { color: #126873; }
.chat-author-7 { color: #ac3333; }
.chat-notice { padding: 12px; margin: 0; font-size: 13px; }
.chat-notice a { color: inherit; }
.chat-input textarea { width: 100%; min-height: 70px; resize: vertical; padding: 10px; border: 1px solid #aaa; border-radius: 8px; color: #202124; background: #ffffff; }
.chat-input textarea::placeholder { color: #666666; opacity: 1; }
.chat-input .button { margin: 0 0 0 auto; background: var(--theme-primary); color: var(--theme-secondary); }
.chat-input[hidden], #chat-content[hidden] { display: none; }

.chat-composer-actions { display: flex; align-items: center; justify-content: space-between; gap: 8px; width: 100%; }
.chat-composer-actions .text-toolbar { flex: 0 1 auto; flex-wrap: nowrap; gap: 4px; padding: 0; }
.chat-composer-actions .text-toolbar button { padding: 4px; }
.chat-composer-actions > .button { flex-shrink: 0; }
.chat-input > .emoji-palette { flex-basis: 100%; }
.chat-input > .emoji-palette button { padding: 4px; min-width: 34px; min-height: 34px; background: var(--theme-surface); color: var(--theme-text); cursor: pointer; }
.chat-notice:empty { display: none; }

/* Keep author colours legible on the existing dark theme too. */
.theme-midnight .chat-author-0 { color: #ff83bd; }
.theme-midnight .chat-author-1 { color: #72b7ff; }
.theme-midnight .chat-author-2 { color: #bc91ff; }
.theme-midnight .chat-author-3 { color: #62dfa3; }
.theme-midnight .chat-author-4 { color: #ffb36b; }
.theme-midnight .chat-author-5 { color: #d6df68; }
.theme-midnight .chat-author-6 { color: #6edce5; }
.theme-midnight .chat-author-7 { color: #ff9393; }

/* Chat is 40% taller than the map panel, with scrolling message history. */
.chat-panel { display: flex; flex-direction: column; height: var(--chat-panel-height, auto); }
.chat-panel.is-collapsed { height: auto; }
.chat-header { flex-shrink: 0; }
#chat-content { display: flex; flex-direction: column; flex: 1; min-height: 0; }
#chat-content .chat-messages { flex: 1; min-height: 0; }
#chat-content > :not(.chat-messages) { flex-shrink: 0; }

.account-menu { position: relative; color: var(--brand-midnight); }
.account-menu summary { cursor: pointer; padding: 10px 0; font-weight: 400; list-style: none; }
.account-menu summary::-webkit-details-marker { display: none; }
.account-menu summary::marker { content: ''; }
.account-menu summary:focus-visible { outline: 2px solid var(--brand-sky); outline-offset: 4px; }
.account-dropdown { position: absolute; right: 0; top: 100%; z-index: 1100; width: 210px; max-width: 90vw; padding: 8px; background: #fff; border: 1px solid #dce5fa; border-radius: 12px; box-shadow: 0 8px 28px #0b102626; }
.account-dropdown a, .account-dropdown button { display: block; width: 100%; padding: 11px 12px; text-align: left; font: inherit; color: var(--brand-midnight); background: transparent; border: 0; border-radius: 7px; text-decoration: none; cursor: pointer; }
.account-dropdown a:hover, .account-dropdown button:hover, .account-dropdown a:focus-visible, .account-dropdown button:focus-visible { background: var(--brand-mist); }
.account-dropdown form { margin: 0; border-top: 1px solid #dce5fa; }
@media (max-width: 768px) {
    .site-nav { position: relative; }
    .account-menu { position: static; }
    .account-dropdown { left: 0; right: auto; max-width: 100%; box-sizing: border-box; }
    .account-dropdown a, .account-dropdown button { box-sizing: border-box; }
}
.account-page { padding-top: 35px; padding-bottom: 40px; }
.account-profile-form { max-width: 600px; }
.account-security { margin-top: 32px; }
.favourite-form { display: inline-block; margin: 0; }
.favourite-button { display: inline-flex; align-items: center; gap: 6px; padding: 8px 12px; border: 1px solid currentColor; border-radius: 8px; background: transparent; color: var(--theme-text, #0b1026); cursor: pointer; font: inherit; font-size: 14px; }
.favourite-heart-icon { width: 21px; height: 21px; flex-shrink: 0; }
.favourite-button[aria-pressed="true"] .favourite-heart-icon { color: #c72d62; }
.favourite-button:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }

.card-category-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.card-category-row .category { margin: 0; }
.card-category-row .favourite-form { flex-shrink: 0; }
.favourite-heart { padding: 8px; border: 0; min-width: 40px; min-height: 40px; }
.favourite-heart:hover { background: #fcebf1; }
.favourite-heart:disabled { opacity: .6; cursor: wait; }

/* Violet brand accents; deeper violet keeps small text and button labels readable. */
:root { --brand-violet-deep: #6d28d9; --brand-violet-soft: #f2ecff; }
.search-form button {
    background: linear-gradient(115deg, var(--brand-sky), var(--brand-violet-deep));
    box-shadow: 0 4px 14px #8b5cf62b;
}
.hero:not(.hero-with-background) {
    background: linear-gradient(120deg, #fff 5%, var(--brand-mist) 48%, #e6d9ff 100%);
}
.search-form { box-shadow: 0 8px 30px #8b5cf62b; }
@media (max-width: 768px) {
    .hero .search-form {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
        box-shadow: none;
    }
    .hero .search-form input,
    .hero .search-form button {
        box-sizing: border-box;
        width: 100%;
        border-radius: 12px;
    }
    .hero .search-form button {
        min-height: 48px;
        padding: 14px 20px;
    }
}
.view-all { color: var(--brand-violet-deep); border-color: #d7c5fb; background: var(--brand-violet-soft); }
.carousel-arrow { color: var(--brand-violet-deep); border-color: #d7c5fb; }
.celebrity-card:hover { border-color: var(--brand-violet); box-shadow: 0 5px 22px #8b5cf61f; }
.account-menu summary:focus-visible { outline-color: var(--brand-violet); }
.account-dropdown a:hover, .account-dropdown button:hover,
.account-dropdown a:focus-visible, .account-dropdown button:focus-visible { background: var(--brand-violet-soft); color: var(--brand-violet-deep); }
.fan-site.theme-classic .button,
.fan-site.theme-classic .follow-button,
.theme-choice.theme-classic .theme-choice-button { background: linear-gradient(115deg, var(--brand-sky), var(--brand-violet-deep)); }

.discovery-row-heading h2 { border-left: 5px solid var(--brand-violet); padding-left: 12px; }
.celebrity-card .category { color: var(--brand-violet-deep); }

/* Reaction icons retain keyboard controls without visible button containers. */
.sighting-actions .action-button,
.sighting-actions .action-button[aria-pressed="true"] {
    background: transparent;
    color: var(--theme-text);
    border: 0;
    border-radius: 0;
    box-shadow: none;
    outline: none;
    padding: 8px 4px;
    cursor: pointer;
}
.sighting-actions .action-button[aria-pressed="true"] .engagement-icon { color: var(--brand-sky); fill: currentColor; }
.sighting-actions .action-button:focus-visible { outline: 2px solid var(--theme-accent); outline-offset: 3px; }

.sighting-actions .comment-count { display: inline-flex; align-items: center; gap: 6px; padding: 8px 4px; text-decoration: none; }
.sighting-actions .comment-count:focus-visible { outline: 2px solid var(--theme-accent); outline-offset: 3px; }

.sighting-actions .action-button,
.sighting-actions .reaction-count,
.sighting-actions .comment-count { font-family: var(--font-body); font-size: 14px; font-weight: 600; line-height: 20px; align-items: center; }
.sighting-actions form { align-items: center; margin: 0; }

.site-nav .nav-create-fan-site,
.site-nav .nav-register {
    display: inline-block;
    padding: 11px 18px;
    margin-top: 0;
    background: linear-gradient(115deg, var(--brand-sky), var(--brand-violet-deep));
    color: #fff;
    border: 0;
    border-radius: 10px;
    box-shadow: 0 4px 14px #8b5cf62b;
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 600;
    line-height: normal;
}
.site-nav .nav-create-fan-site:hover,
.site-nav .nav-register:hover { opacity: .85; }

/* Fan-site banners sit behind the profile and information, like the home hero. */
.celebrity-hero-with-banner { position: relative; isolation: isolate; overflow: hidden; color: #fff; }
.celebrity-hero-background { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; z-index: -2; }
.celebrity-hero-with-banner::before { content: ""; position: absolute; inset: 0; background: rgba(0, 0, 0, .62); z-index: -1; pointer-events: none; }
.celebrity-hero-with-banner .back-link,
.celebrity-hero-with-banner .category,
.celebrity-hero-with-banner .card-source,
.celebrity-hero-with-banner .favourite-button { color: #fff; }
.celebrity-hero-with-banner .back-link { opacity: 1; }

/* Back navigation uses violet, with a lighter shade on dark surfaces. */
.back-link { color: var(--brand-violet-deep); opacity: 1; }
.back-link:hover { text-decoration: underline; }
.theme-midnight .back-link,
.celebrity-hero-with-banner .back-link { color: #d8c4ff; }

.fans-section > summary { display: flex; align-items: center; justify-content: space-between; cursor: pointer; list-style: none; }
.fans-section > summary::-webkit-details-marker { display: none; }
.fans-section > summary::after { content: "+"; font-size: 24px; color: var(--brand-violet-deep); }
.fans-section[open] > summary::after { content: "−"; }
.fans-section > summary:focus-visible { outline: 2px solid var(--brand-violet); outline-offset: -4px; }
.fans-section-content { padding: 22px; }
.fans-section-content .management-panel-header h3 { margin: 0; font-size: 18px; }
.fans-summary { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 520px) { .fans-section-content { padding: 12px; } .fans-summary { grid-template-columns: 1fr; } }

@media (max-width: 750px) { .sighting-status-summary { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 400px) { .sighting-status-summary { grid-template-columns: 1fr; } }

.summary-card-link { display: block; color: var(--brand-midnight); text-decoration: none; }
.summary-card-link:hover { border-color: var(--brand-violet); background: var(--brand-violet-soft); }
.summary-card-link:focus-visible { outline: 2px solid var(--brand-violet); outline-offset: 3px; }

.management-summary .summary-card { text-align: center; }

.sighting-review-page { padding-top: 30px; padding-bottom: 40px; }
.review-row { margin: 0; padding: 16px 0; border-bottom: 1px solid color-mix(in srgb, var(--theme-text) 18%, transparent); }
.review-row-main { display: grid; grid-template-columns: minmax(120px, 1fr) auto auto auto; align-items: center; gap: 22px; }
.review-row h2 { min-width: 0; margin: 0; font-size: 17px; }
.review-row h2 a { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--theme-text); text-decoration: none; }
.review-row h2 a:hover { text-decoration: underline; }
.review-row time, .review-status { font-size: 13px; }
.review-countdown { font-size: 12px; font-variant-numeric: tabular-nums; white-space: nowrap; padding: 6px 10px; border-radius: 16px; background: var(--brand-violet-soft); color: var(--brand-violet-deep); }
.review-row-actions { display: flex; align-items: center; gap: 8px; }
.review-icon { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; background: transparent; border: 1px solid currentColor; border-radius: 8px; color: var(--theme-text); cursor: pointer; }
.review-approve { color: #167342; background: #e7f6ec; }
.review-reject { color: #b42318; background: #fff0ed; }
.review-icon:focus-visible { outline: 2px solid var(--theme-accent); outline-offset: 3px; }
.review-note-box { padding-top: 16px; }
.review-note-box[hidden] { display: none; }
.review-note-box textarea { display: block; width: 100%; margin-top: 8px; border: 1px solid #aaa; border-radius: 8px; padding: 12px; resize: vertical; }
@media (max-width: 750px) { .review-row-main { grid-template-columns: minmax(0, 1fr) auto; gap: 12px; } .review-row-main time { text-align: right; } .review-row-actions { justify-content: flex-end; } }

/* Shared column widths keep the review headings aligned with every row. */
.review-table-scroll { overflow-x: auto; }
.review-table { min-width: 850px; }
.review-column-headings, .review-row-main { display: grid; grid-template-columns: 64px minmax(120px, 1fr) 190px 210px 124px; gap: 18px; align-items: center; }
.review-column-headings { padding: 14px 0; border-bottom: 1px solid color-mix(in srgb, var(--theme-text) 25%, transparent); font-size: 13px; font-weight: 600; }
.review-row h2 { font-family: var(--font-body); font-weight: 400; letter-spacing: normal; }
.review-thumbnail { display: block; width: 64px; height: 64px; object-fit: cover; border-radius: 6px; }
.review-no-image { display: flex; align-items: center; justify-content: center; text-align: center; font-size: 11px; background: color-mix(in srgb, var(--theme-text) 8%, var(--theme-surface)); color: var(--theme-text); }
.review-row-main time { text-align: left; }
.review-row-actions { justify-content: flex-end; }

.review-countdown { position: relative; overflow: hidden; text-align: center; }
.review-countdown::before { content: ""; position: absolute; inset: 0 auto 0 0; width: var(--approval-elapsed, 0%); background: #e2d3fa; pointer-events: none; }
.review-countdown [data-time-remaining] { position: relative; z-index: 1; }

.fan-site-settings-page { max-width: none; }

.pending-fan-headings, .pending-fan-row { display: grid; grid-template-columns: 64px minmax(0, 1fr) 80px; align-items: center; gap: 18px; }
.pending-fan-headings { padding: 14px 0; border-bottom: 1px solid #ddd; font-size: 13px; font-weight: 600; }
.pending-fan-row > span { overflow-wrap: anywhere; }
.pending-fan-row .fan-initial { font-size: 24px; color: var(--brand-violet-deep); background: var(--brand-violet-soft); }
.fan-role-label { display: block; margin-top: 4px; opacity: .75; font-size: 12px; }

.fans-summary { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 750px) { .fans-summary { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 400px) { .fans-summary { grid-template-columns: 1fr; } }
.fan-search { margin: 20px 0; }
.fan-search label { display: block; margin-bottom: 8px; font-size: 14px; }
.fan-search-controls { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.fan-search input { flex: 1; min-width: 160px; max-width: 500px; padding: 11px 14px; border: 1px solid #aaa; border-radius: 8px; font: inherit; background: #fff; color: #202124; }
.fan-search .button { margin: 0; }
.site-overview-details { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; margin: 0 0 24px; }
.site-overview-details dt { font-size: 13px; color: #596687; margin-bottom: 6px; }
.site-overview-details dd { margin: 0; overflow-wrap: anywhere; }
.overview-summary { grid-template-columns: repeat(5, minmax(0, 1fr)); margin-bottom: 0; }
.overview-summary .summary-card { padding: 16px 10px; }
.overview-summary small { display: block; margin-top: 8px; font-size: 11px; color: #596687; }
@media (max-width: 750px) { .site-overview-details, .overview-summary { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 400px) { .site-overview-details, .overview-summary { grid-template-columns: 1fr; } }

.sighting-detail-page { max-width: none; }
.sighting-detail-page .sighting-photo { margin-left: auto; margin-right: auto; }

#sightings > .panel-header { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: nowrap; }
#sightings > .panel-header .button { margin: 0 0 0 auto; flex-shrink: 0; }

.sighting-actions .sighting-view-count { color: var(--brand-violet, #8b5cf6); }

/* Keep sighting timestamps close to their titles. */
.sighting-summary > div > h3,
.sighting-detail-page > h1 { margin-bottom: 4px; }
.sighting-summary > div > h3 + p,
.sighting-detail-page > h1 + p { margin-top: 0; }

.fan-site-settings-page .settings-field { margin: 16px 0; }
.profile-image-control { display: flex; align-items: center; flex-wrap: wrap; gap: 20px; margin: 12px 0; }
.profile-image-control [hidden] { display: none; }
.profile-image-placeholder { width: 120px; height: 120px; border: 1px dashed currentColor; border-radius: 50%; display: grid; place-items: center; text-align: center; padding: 12px; box-sizing: border-box; font-size: 14px; }
.profile-image-buttons { display: flex; gap: 10px; }
.profile-image-actions .helptext { display: block; margin-top: 8px; }
.profile-image-buttons button:disabled { opacity: .45; cursor: default; }

.fan-site-settings-page [data-image-guidance][hidden] { display: none; }

.banner-composite-preview { position: relative; isolation: isolate; width: 550px; max-width: 100%; min-height: 170px; overflow: hidden; border-radius: 10px; background: var(--theme-surface, #fff); color: var(--theme-text, #0b1026); border: 1px solid #dce5fa; }
.banner-preview-background { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; z-index: -2; }
.banner-composite-preview.has-banner::before { content: ''; position: absolute; inset: 0; background: rgba(0,0,0,.62); z-index: -1; }
.banner-composite-preview.has-banner { color: #fff; }
.banner-preview-content { display: flex; align-items: center; gap: 16px; padding: 26px 22px; min-height: 170px; box-sizing: border-box; }
.banner-preview-avatar { width: 75px; height: 75px; flex-shrink: 0; object-fit: cover; border-radius: 50%; }
.banner-preview-initial { display: grid; place-items: center; background: var(--theme-primary, #2563eb); color: white; font-size: 28px; }
.banner-preview-copy { min-width: 0; font-size: 10px; line-height: 1.5; }
.banner-preview-title { display: block; font-family: var(--font-display); font-size: 20px; margin: 4px 0; }
.banner-preview-category { text-transform: uppercase; font-size: 9px; letter-spacing: 1px; }
.banner-preview-copy [data-banner-description] { display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.banner-preview-empty { position: absolute; bottom: 5px; right: 10px; font-size: 10px; opacity: .7; }

.banner-image-control { flex-direction: column; align-items: flex-start; }

.theme-choice-field { border: 0; padding: 0; min-width: 0; }
.theme-choice-field legend { padding: 0; font-size: 16px; margin-bottom: 12px; }
.theme-button-row { display: flex; flex-wrap: wrap; gap: 12px; }
.post-form .theme-choice { position: relative; margin: 0; cursor: pointer; }
.theme-choice.theme-classic { --theme-primary: var(--brand-sky); }
.post-form .theme-choice input[type="radio"] { position: absolute; width: 1px; height: 1px; padding: 0; margin: 0; clip-path: inset(50%); overflow: hidden; }
.theme-choice-button { display: inline-flex; align-items: center; gap: 12px; padding: 12px 16px; border-radius: 8px; background: var(--theme-primary); color: var(--theme-secondary); border: 2px solid transparent; font-size: 14px; }
.theme-choice-check { visibility: hidden; }
.theme-choice input:checked + .theme-choice-button { border-color: white; outline: 2px solid var(--theme-primary); }
.theme-choice input:checked + .theme-choice-button .theme-choice-check { visibility: visible; }
.theme-choice input:focus-visible + .theme-choice-button { outline: 3px solid var(--brand-violet); outline-offset: 3px; }


.sighting-map-heading { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px 16px; }
.map-last-sighted { margin-left: auto; font-family: var(--font-body); font-size: 1.17em; font-weight: 400; color: var(--brand-violet); }

.site-footer { background: #fff; color: var(--brand-midnight); border-top: 1px solid #dce5fa; margin-top: 48px; padding: 36px 0 20px; text-align: left; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr .8fr 1.1fr; gap: 28px; }
.site-footer h2 { font-size: 15px; margin: 0 0 14px; }
.site-footer p { font-size: 13px; line-height: 1.6; }
.site-footer nav a { display: block; margin: 9px 0; }
.site-footer a { color: var(--brand-violet-deep); font-size: 14px; overflow-wrap: anywhere; }
.footer-placeholder { color: #626c86; }
.footer-socials { display: flex; gap: 10px; margin: 14px 0; }
.footer-socials > * { display: inline-flex; width: 36px; height: 36px; align-items: center; justify-content: center; border-radius: 7px; border: 1px solid #dce5fa; }
.footer-socials > span { color: #778098; background: #f5f8ff; }
.footer-socials svg { width: 22px; height: 22px; }
.footer-bottom { border-top: 1px solid #e8edfa; padding-top: 20px; margin-top: 28px; font-size: 12px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; }
.information-page { padding-top: 36px; padding-bottom: 36px; line-height: 1.75; }
.information-page h1 { margin-bottom: 20px; }
.information-page h2 { font-size: 22px; margin-top: 32px; }
.information-page p, .information-page li { max-width: 85ch; }
.information-page a { color: var(--brand-violet-deep); }
.information-lead { font-size: 24px; color: var(--brand-violet-deep); }
.policy-draft { padding: 16px 20px; border-left: 4px solid var(--brand-violet); background: #f2ecff; border-radius: 4px; }
.information-page .post-form { max-width: 760px; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

@media (max-width: 480px) {
    #sightings > .panel-header { gap: 8px; padding-inline: 12px; }
    #sightings > .panel-header .button { font-size: 13px; padding: 10px; white-space: nowrap; }
}

.manage-site-button { position: relative; }
.manage-notification-badge { position: absolute; top: -9px; right: -9px; min-width: 21px; height: 21px; padding: 0 5px; box-sizing: border-box; border-radius: 999px; background: #c82032; color: white; border: 2px solid white; display: inline-flex; align-items: center; justify-content: center; font: 600 11px/1 var(--font-body, sans-serif); }
