.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid red;
}

.validation-message {
    color: red;
}

#blazor-error-ui {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }

.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyNjcuNTM5IDUzLjYyODMgMjkwLjE4NSA5Mi4xODMxIDI5MC41NDUgOTIuNzk1IDI5MC42NTYgOTIuOTk2QzI5MC44NzcgOTMuNTEzIDI5MSA5NC4wODE1IDI5MSA5NC42NzgyIDI5MSA5Ny4wNjUxIDI4OS4wMzggOTkgMjg2LjYxNyA5OUwyNDAuMzgzIDk5QzIzNy45NjMgOTkgMjM2IDk3LjA2NTEgMjM2IDk0LjY3ODIgMjM2IDk0LjM3OTkgMjM2LjAzMSA5NC4wODg2IDIzNi4wODkgOTMuODA3MkwyMzYuMzM4IDkzLjAxNjIgMjM2Ljg1OCA5Mi4xMzE0IDI1OS40NzMgNTMuNjI5NCAyNTkuOTYxIDUyLjc5ODUgMjYwLjQwNyA1Mi4yNjU4QzI2MS4yIDUxLjQ4MzcgMjYyLjI5NiA1MSAyNjMuNTA2IDUxWk0yNjMuNTg2IDY2LjAxODNDMjYwLjczNyA2Ni4wMTgzIDI1OS4zMTMgNjcuMTI0NSAyNTkuMzEzIDY5LjMzNyAyNTkuMzEzIDY5LjYxMDIgMjU5LjMzMiA2OS44NjA4IDI1OS4zNzEgNzAuMDg4N0wyNjEuNzk1IDg0LjAxNjEgMjY1LjM4IDg0LjAxNjEgMjY3LjgyMSA2OS43NDc1QzI2Ny44NiA2OS43MzA5IDI2Ny44NzkgNjkuNTg3NyAyNjcuODc5IDY5LjMxNzkgMjY3Ljg3OSA2Ny4xMTgyIDI2Ni40NDggNjYuMDE4MyAyNjMuNTg2IDY2LjAxODNaTTI2My41NzYgODYuMDU0N0MyNjEuMDQ5IDg2LjA1NDcgMjU5Ljc4NiA4Ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

    .blazor-error-boundary::after {
        content: "An error has occurred."
    }

.loading-progress {
    position: relative;
    display: block;
    width: 8rem;
    height: 8rem;
    margin: 20vh auto 1rem auto;
}

    .loading-progress circle {
        fill: none;
        stroke: #e0e0e0;
        stroke-width: 0.6rem;
        transform-origin: 50% 50%;
        transform: rotate(-90deg);
    }

        .loading-progress circle:last-child {
            stroke: var(--fgt-accent);
            stroke-dasharray: calc(3.141 * var(--blazor-load-percentage, 0%) * 0.8), 500%;
            transition: stroke-dasharray 0.05s ease-in-out;
        }

.loading-progress-text {
    position: absolute;
    text-align: center;
    font-weight: bold;
    inset: calc(20vh + 8.5rem) 0 auto 0.2rem;
}

    .loading-progress-text:after {
        content: var(--blazor-load-percentage-text, "Loading");
    }

code {
    color: #c02d76;
}



:root {
    --fgt-surface: rgba(0, 0, 0, 0.25);
    --fgt-border: #caa15a;
    --fgt-ink: #f4ede1;
    --fgt-ink-soft: #cbb69a;
    --fgt-accent: #d9ab4a;
}

html, body {
    margin: 0;
    min-height: 100%;
    color: var(--fgt-ink);
    font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
}


html {
    background-color: #0d0705;
}


.page-backdrop {
    position: fixed;
    inset: 0;
    z-index: -1;
    background-color: #0d0705;
}


.page-backdrop-grid {
    position: absolute;
    inset: 0;
    display: grid;
    overflow: hidden;
}
.page-backdrop-tile {
    display: block;
    
    width: calc(100% + 6px);
    height: calc(100% + 6px);
    margin: -3px 0 0 -3px;
    object-fit: cover;
}


.site-header {
    --hdr-band: rgba(59, 31, 22, 0.92);
    --hdr-tab: #7a2b22;
    --hdr-ink: #f0cdbf;
    --hdr-side: 140px;
    --hdr-row: 44px;
    position: sticky;
    top: 0;
    z-index: 50;
    display: grid;
    grid-template-columns: var(--hdr-side) 1fr auto 1fr var(--hdr-side);
    grid-template-rows: var(--hdr-row) minmax(var(--hdr-row), auto);
    grid-template-areas:
        "logo left guild right tools"
        "filter filter guild ticker tools";
    padding: 0 12px;
    background: var(--hdr-band);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
    transition: background-color 0.4s;
}
.site-header--roster   { --hdr-band: rgba(22, 33, 59, 0.92); --hdr-tab: #23407a; --hdr-ink: #c9dbf2; }
.site-header--progress { --hdr-band: rgba(59, 22, 60, 0.92); --hdr-tab: #6b2470; --hdr-ink: #efc9ec; }
.site-header--stats    { --hdr-band: rgba(39, 60, 22, 0.92); --hdr-tab: #4d6a1f; --hdr-ink: #e3edc0; }
.site-header--social   { --hdr-band: rgba(12, 52, 47, 0.92); --hdr-tab: #1d6a61; --hdr-ink: #c4ece6; }


.site-logo {
    grid-area: logo;
    align-self: center;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 22px;
    font-weight: 700;
    letter-spacing: 0.02em;
    color: var(--fgt-accent);
    text-decoration: none;
}


.site-logo-label {
    display: inline-flex;
    flex-direction: column;
    line-height: 1.05;
}
.site-logo-version {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.04em;
    color: var(--hdr-ink, var(--fgt-accent));
    opacity: 0.85;
    white-space: nowrap;
}

.site-logo-image,
.tgd-home {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
    transition: transform 0.2s, box-shadow 0.2s;
}
.tgd-home { display: block; flex: none; }
.tgd-home img { display: block; width: 100%; height: 100%; }
.site-logo:hover .site-logo-image,
.site-logo:focus-visible .site-logo-image,
.tgd-home:hover,
.tgd-home:focus-visible {
    transform: scale(1.08);
    box-shadow: 0 0 0 2px var(--fgt-accent);
}
.site-logo:focus-visible,
.tgd-home:focus-visible { outline: none; }


.site-header-tools {
    grid-area: tools;
    justify-self: end;
    align-self: center;
    display: flex;
    align-items: center;
    gap: 12px;
}


.site-header-tools--guild {
    align-self: start;
    flex-direction: column;
    align-items: flex-end;
    gap: 0;
}
.site-header-buttons {
    display: flex;
    align-items: center;
    gap: 8px;
    height: var(--hdr-row);
}
.site-support {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 2px 4px;
    border-radius: 6px;
    color: var(--hdr-ink);
    font-size: 12px;
    text-decoration: none;
    white-space: nowrap;
    transition: color 0.2s, background-color 0.2s;
}
.site-support img { display: block; height: 16px; width: auto; }
.site-support:hover,
.site-support:focus-visible {
    color: var(--fgt-accent);
    background: rgba(0, 0, 0, 0.25);
    outline: none;
}


.site-code-button {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 2px 6px;
    border: 1px solid var(--fgt-border);
    border-radius: 6px;
    background: rgba(0, 0, 0, 0.25);
    color: var(--hdr-ink);
    font: inherit;
    font-size: 0.78rem;
    white-space: nowrap;
    cursor: pointer;
    transition: color 0.2s, border-color 0.2s;
}
.site-code-button:hover,
.site-code-button:focus-visible {
    color: var(--fgt-accent);
    border-color: var(--fgt-accent);
    outline: none;
}

.site-settings { position: relative; }
.site-settings-button {
    display: flex;
    padding: 2px;
    border: 0;
    border-radius: 50%;
    background: none;
    color: var(--hdr-ink);
    cursor: pointer;
    transition: color 0.2s, transform 0.3s;
}
.site-settings-button:hover,
.site-settings-button:focus-visible,
.site-settings-button[aria-expanded="true"] {
    color: var(--fgt-accent);
    transform: rotate(30deg);
    outline: none;
}
.site-settings-backdrop {
    position: fixed;
    inset: 0;
    z-index: 60;
}
.site-settings-panel {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    z-index: 61;
    min-width: 220px;
    padding: 10px 12px;
    border: 1px solid var(--fgt-border);
    border-radius: 8px;
    background: #1c0f0a;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.6);
    font-size: 14px;
}
.site-settings-panel label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    white-space: nowrap;
}


.site-tabs {
    display: flex;
    width: calc(100% - 20px); 
    max-width: 660px;
    background: var(--hdr-tab);
    transition: background-color 0.4s;
}
.site-tabs--left { grid-area: left; justify-self: end; margin-right: 20px; }
.site-tabs--right { grid-area: right; justify-self: start; margin-left: 20px; }
.site-tabs a,
.site-header .site-tabs .lang-selector {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}
.site-tabs a {
    padding: 0 12px;
    color: var(--hdr-ink);
    text-decoration: none;
    font-size: 22px;
    font-weight: 600;
    white-space: nowrap;
    transition: color 0.4s;
}
.site-tabs a:hover { background: rgba(255, 255, 255, 0.08); }
.site-tabs a.active {
    background: var(--fgt-accent);
    color: #2a1305;
}


.site-header-filter {
    grid-area: filter;
    justify-self: end;
    align-self: center;
    width: calc(100% - 20px);
    max-width: calc(660px + var(--hdr-side));
    margin-right: 20px;
    padding: 4px 0;
}
.site-header-filter .character-picker-input { padding: 5px 10px; }


.site-header-ticker {
    position: relative; 
    grid-area: ticker;
    justify-self: start;
    align-self: center;
    width: calc(100% - 20px);
    max-width: 660px;
    min-width: 0;
    margin-left: 20px;
    padding: 4px 0;
}


.site-header-guild {
    grid-area: guild;
    align-self: center;
    min-width: 180px;
    padding: 6px 0;
    text-align: center;
}

.site-header-faction {
    display: block;
    width: 32px;
    height: 32px;
    margin: 0 auto 3px;
    border-radius: 6px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
}
.site-header-guild h1 {
    margin: 0;
    font-size: 20px;
    line-height: 1.2;
}
.site-header-guild p {
    margin: 2px 0 0;
    color: var(--hdr-ink);
    font-size: 12px;
}


@media (max-width: 1280px) {
    .site-header {
        grid-template-columns: 1fr auto 1fr;
        grid-template-rows: var(--hdr-row) var(--hdr-row) auto;
        grid-template-areas:
            "logo . tools"
            "left guild right"
            "filter filter ticker";
    }
    .site-tabs a { font-size: 17px; }
    
    .site-header-tools--guild { align-self: center; flex-direction: row-reverse; align-items: center; gap: 8px; }
    .site-header-filter { width: calc(100% - 12px); max-width: none; margin-right: 12px; }
}


@media (max-width: 760px) {
    .site-header {
        position: relative;
        grid-template-columns: 1fr auto;
        grid-template-rows: none;
        grid-template-areas:
            "logo tools"
            "guild guild"
            "left left"
            "right right"
            "filter filter"
            "ticker ticker";
        padding-bottom: 8px;
    }
    .site-tabs { justify-self: stretch; width: auto; max-width: none; margin: 0; min-height: 40px; }
    .site-tabs--right { margin-top: 4px; }
    .site-tabs a { font-size: 15px; padding: 0 6px; }
    
    .site-support span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
    .site-header-filter,
    .site-header-ticker { justify-self: stretch; width: auto; max-width: none; margin: 0; }
}


.home-demo {
    margin: 24px auto 16px;
    max-width: 640px;
}

.home-demo-link {
    display: grid;
    gap: 6px;
    padding: 18px 20px;
    border: 1px solid var(--fgt-accent);
    border-radius: 10px;
    background: linear-gradient(135deg, rgba(217, 171, 74, 0.18), rgba(0, 0, 0, 0.3));
    color: var(--fgt-ink);
    text-align: center;
    text-decoration: none;
    transition: transform 0.15s, box-shadow 0.15s;
}

.home-demo-link:hover,
.home-demo-link:focus-visible {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(217, 171, 74, 0.25);
    outline: none;
}

.home-demo-link strong { font-size: 17px; color: var(--fgt-accent); }
.home-demo-link span { font-size: 13px; color: var(--fgt-ink-soft); }

.home-demo-button {
    justify-self: center;
    margin-top: 6px;
    padding: 6px 16px;
    border-radius: 6px;
    background: var(--fgt-accent);
    color: #1a1206 !important;
    font-weight: 700;
}


.guild-header .guild-demo-banner {
    margin: 6px auto 0;
    padding: 6px 12px;
    max-width: 560px;
    border: 1px dashed var(--fgt-accent);
    border-radius: 6px;
    color: var(--fgt-accent);
    font-size: 12px;
}


.legal-page {
    max-width: 760px;
    margin: 0 auto;
    padding: 16px 16px 40px;
    line-height: 1.6;
    font-size: 15px;
}
.legal-page h1 { margin: 8px 0 4px; text-align: center; }
.legal-page h2 {
    margin: 32px 0 8px;
    padding-bottom: 4px;
    border-bottom: 1px solid var(--fgt-border);
    color: var(--fgt-accent);
    font-size: 20px;
}
.legal-page h3 { margin: 20px 0 6px; font-size: 16px; }
.legal-page section { scroll-margin-top: 110px; }
.legal-page ul { padding-left: 20px; }
.legal-page li { margin-bottom: 6px; }
.legal-page a { color: var(--fgt-accent); }
.legal-updated { text-align: center; color: var(--fgt-ink-soft); font-size: 13px; margin: 0 0 16px; }
.legal-toc {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px 16px;
    padding: 10px 14px;
    border: 1px solid var(--fgt-border);
    border-radius: 8px;
    background: var(--fgt-surface);
    font-size: 14px;
}
.legal-mail { font-family: ui-monospace, Consolas, monospace; white-space: nowrap; }
.about-important {
    padding: 10px 14px;
    border-left: 3px solid var(--fgt-accent);
    border-radius: 4px;
    background: var(--fgt-surface);
}


.site-footer {
    position: relative;
    max-width: 900px;
    margin: 40px auto 0;
    padding: 16px 16px 24px;
    border-top: 1px solid rgba(202, 161, 90, 0.35);
    color: var(--fgt-ink-soft);
    font-size: 12px;
    line-height: 1.5;
    text-align: center;
}
.site-footer p { margin: 4px 0; }
.site-footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 4px 18px;
    margin-bottom: 8px;
    font-size: 13px;
}
.site-footer-links a { color: var(--fgt-accent); text-decoration: none; }
.site-footer-links a:hover, .site-footer-links a:focus-visible { text-decoration: underline; }
.site-footer-trademarks { font-size: 11px; opacity: 0.85; }


.contact-page {
    max-width: 640px;
    margin: 0 auto;
    padding: 0 16px 40px;
}

.contact-form {
    --tgdc-accent: var(--fgt-accent);
    --tgdc-accent-ink: #1a1206;
    --tgdc-field-bg: rgba(0, 0, 0, 0.35);
    --tgdc-border: var(--fgt-border);
    --tgdc-ink-soft: var(--fgt-ink-soft);
    padding: 20px;
    border: 1px solid var(--fgt-border);
    border-radius: 10px;
    background: var(--fgt-surface);
}



.home {
    max-width: 640px;
    margin: 0 auto;
    padding: 24px 16px 60px;
}


@media (min-width: 1281px) {
    .home {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        align-items: start;
        gap: 12px;
        max-width: none;
        padding: 24px 24px 60px;
    }
    .home-col {
        padding: 18px 20px;
        border-radius: 10px;
        background: rgba(0, 0, 0, 0.22);
    }
    .home-col > :last-child { margin-bottom: 0; }
    
    .home-col-access,
    .home-col-search { background: rgba(200, 80, 55, 0.3); }
}

.home-hero {
    text-align: center;
    margin-bottom: 28px;
}
.home-hero h1 {
    margin: 0 0 10px;
    font-size: 26px;
}
.home-hero p {
    margin: 0 auto;
    max-width: 480px;
    color: var(--fgt-ink-soft);
    font-size: 14px;
    line-height: 1.5;
}

.home-stats {
    display: flex;
    justify-content: center;
    gap: 14px;
    margin-bottom: 24px;
}
.home-stat {
    flex: 1;
    max-width: 160px;
    text-align: center;
    border: 1px solid var(--fgt-border);
    border-radius: 8px;
    background: var(--fgt-surface);
    padding: 12px 8px;
}
.home-stat strong {
    display: block;
    font-size: 22px;
    color: var(--fgt-accent);
}
.home-stat span {
    font-size: 12px;
    color: var(--fgt-ink-soft);
}

.home-last-guild {
    margin-bottom: 24px;
}
.home-last-guild-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    border: 1px solid var(--fgt-border);
    border-radius: 8px;
    background: var(--fgt-surface);
    padding: 10px 14px;
    text-decoration: none;
    color: var(--fgt-ink);
}
.home-last-guild-link span {
    font-size: 11px;
    color: var(--fgt-ink-soft);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
.home-last-guild-link strong {
    font-size: 16px;
    color: var(--fgt-accent);
}

.home-code {
    margin-bottom: 24px;
    border: 1px solid var(--fgt-border);
    border-radius: 8px;
    background: var(--fgt-surface);
    padding: 16px;
}
.home-code-row {
    display: flex;
    gap: 8px;
}
.home-code input[type="text"] {
    flex: 1;
    min-width: 0;
    padding: 8px 10px;
    border-radius: 6px;
    border: 1px solid var(--fgt-border);
    background: rgba(0, 0, 0, 0.3);
    color: var(--fgt-ink);
    font-family: ui-monospace, Consolas, monospace;
    font-size: 14px;
}
.home-code-hint {
    margin: 8px 0 0;
    font-size: 12px;
    color: var(--fgt-ink-soft);
    text-align: center;
}

.home-search {
    border: 1px solid var(--fgt-border);
    border-radius: 8px;
    background: var(--fgt-surface);
    padding: 16px;
}
.home-search-label {
    display: block;
    font-size: 13px;
    color: var(--fgt-ink-soft);
    margin-bottom: 8px;
    text-align: center;
}
.home-search input[type="text"] {
    width: 100%;
    box-sizing: border-box;
    padding: 8px 10px;
    border-radius: 6px;
    border: 1px solid var(--fgt-border);
    background: rgba(0, 0, 0, 0.3);
    color: var(--fgt-ink);
    font-size: 14px;
}

.home-search-results {
    list-style: none;
    margin: 12px 0 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.home-search-result {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 6px;
    padding: 8px 12px;
}
.home-search-result-name {
    display: flex;
    flex-direction: column;
}
.home-search-result-name strong {
    font-size: 14px;
}
.home-search-result-name span {
    font-size: 11px;
    color: var(--fgt-ink-soft);
}
.home-search-tag,
.home-search-generate,
.home-search-request {
    font-size: 12px;
    border-radius: 4px;
    padding: 6px 10px;
    cursor: pointer;
    white-space: nowrap;
}
.home-search-tag {
    background: none;
    border: 1px solid var(--fgt-border);
    color: var(--fgt-ink-soft);
}
.home-search-generate {
    background: var(--fgt-accent);
    border: none;
    color: #2a1305;
    font-weight: 600;
}
.home-search-empty {
    margin-top: 12px;
    text-align: center;
}
.home-search-empty p {
    margin: 0 0 6px;
    font-size: 13px;
}
.home-search-empty-hint {
    color: var(--fgt-ink-soft);
    font-size: 12px;
}
.home-search-request {
    margin-top: 6px;
    background: var(--fgt-accent);
    border: none;
    color: #2a1305;
    font-weight: 600;
}
.home-search-notice {
    margin: 12px 0 0;
    text-align: center;
    font-size: 12px;
    color: var(--fgt-accent);
}

.home-search > .home-search-request {
    display: block;
    margin: 10px auto 0;
}
.home-search-generate:disabled,
.home-search-request:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}
.home-recovery {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: center;
    gap: 10px;
    margin-top: 14px;
}
.home-recovery label {
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-size: 12px;
    color: var(--fgt-ink-soft);
}
.home-recovery select,
.home-recovery input {
    min-width: 140px;
    padding: 5px 8px;
    border: 1px solid var(--fgt-border);
    border-radius: 4px;
    background: var(--fgt-surface);
    color: var(--fgt-ink);
}
.home-recovery .home-search-notice {
    flex-basis: 100%;
}


.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}


.home-features {
    margin: 0 0 16px;
    border: 1px solid var(--fgt-border);
    border-radius: 8px;
    background: var(--fgt-surface);
    padding: 14px 12px 10px;
}
.home-features h2 {
    margin: 0 0 10px;
    color: var(--fgt-accent);
    font-size: 15px;
    text-align: center;
}
.home-features-scroll { overflow-x: auto; }
.home-features-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}
.home-features-table th,
.home-features-table td {
    padding: 5px 4px;
    border-bottom: 1px solid var(--fgt-border);
}
.home-features-table thead th {
    color: var(--fgt-ink);
    font-weight: 600;
    text-align: center;
    vertical-align: bottom;
}
.home-features-table thead small {
    display: block;
    color: var(--fgt-ink-soft);
    font-size: 10px;
    font-weight: 400;
}
.home-features-table tbody th {
    color: var(--fgt-ink-soft);
    font-weight: 400;
    text-align: left;
}
.home-features-table .home-features-group th {
    padding-top: 10px;
    color: var(--fgt-accent);
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
.home-features-table td {
    width: 16%;
    text-align: center;
    font-weight: 700;
}
.home-features-yes { color: #6cc070; }
.home-features-no { color: #c86450; }
.home-features-unknown { color: var(--fgt-ink-soft); }
.home-features-legend {
    margin: 8px 0 0;
    color: var(--fgt-ink-soft);
    font-size: 11px;
    line-height: 1.4;
}


.home-guide {
    margin-top: 16px;
    border: 1px solid var(--fgt-border);
    border-radius: 8px;
    background: var(--fgt-surface);
}
.home-guide-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 10px 14px;
    border: 0;
    background: none;
    color: var(--fgt-accent);
    font: inherit;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
}
.home-guide-toggle::after {
    content: "▾";
    transition: transform 0.2s;
}
.home-guide.toggled .home-guide-toggle::after { transform: rotate(180deg); }
.home-guide-steps {
    display: none;
    flex-direction: column;
    gap: 10px;
    margin: 0;
    padding: 0 16px 14px 34px;
    font-size: 13px;
    line-height: 1.45;
}
.home-guide.toggled .home-guide-steps { display: flex; }
.home-guide-steps li::marker { color: var(--fgt-accent); font-weight: 700; }
.home-guide-steps strong {
    display: block;
    color: var(--fgt-ink);
}
.home-guide-steps span { color: var(--fgt-ink-soft); }
.home-guide-armory {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 6px;
}
.home-guide-armory a {
    padding: 3px 10px;
    border: 1px solid var(--fgt-accent);
    border-radius: 6px;
    color: var(--fgt-accent);
    font-size: 12px;
    text-decoration: none;
}
.home-guide-armory a:hover,
.home-guide-armory a:focus-visible {
    background: rgba(217, 171, 74, 0.15);
    outline: none;
}

@media (min-width: 1281px) {
    .home-guide .home-guide-steps { display: flex; }
    .home-guide.toggled .home-guide-steps { display: none; }
    .home-guide .home-guide-toggle::after { transform: rotate(180deg); }
    .home-guide.toggled .home-guide-toggle::after { transform: none; }
}

.guild-shell {
    max-width: 660px;
    margin: 0 auto;
    padding: 0 16px 40px;
}

.guild-header {
    text-align: center;
    padding: 14px 0 20px;
}
.guild-live {
    margin: 4px 0 0;
    font-size: 12px;
    color: #7fd67a;
}
.guild-live button {
    margin-left: 6px;
    padding: 1px 8px;
    border: 1px solid var(--fgt-border);
    border-radius: 4px;
    background: var(--fgt-surface);
    color: var(--fgt-ink);
    font-size: 11px;
    cursor: pointer;
}
.guild-progress {
    width: min(360px, 90%);
    height: 6px;
    margin: 8px auto 0;
    border-radius: 3px;
    background: var(--fgt-surface);
    border: 1px solid var(--fgt-border);
    overflow: hidden;
}
.guild-progress-bar {
    height: 100%;
    background: #7fd67a;
    transition: width 0.4s ease;
}
.guild-progress-text,
.guild-actions-note {
    font-size: 12px;
}

.guild-queue {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 4px 16px;
    font-size: 12px;
    color: var(--fgt-ink-soft);
}
.guild-queue b {
    color: var(--fgt-ink);
}
.guild-queue .guild-queue-fast,
.guild-queue .guild-queue-low {
    color: #8fd18a;
}
.guild-queue .guild-queue-medium,
.guild-queue .guild-queue-moderate {
    color: #e6c35c;
}
.guild-queue .guild-queue-slow,
.guild-queue .guild-queue-high,
.guild-queue .guild-queue-paused {
    color: #ec8a6e;
}
.guild-actions {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
}
.guild-actions button,
.fgt-overlay-actions button {
    padding: 4px 12px;
    border: 1px solid var(--fgt-border);
    border-radius: 4px;
    background: var(--fgt-accent);
    color: #2a1305;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
}
.guild-actions button:disabled,
.fgt-overlay-actions button:disabled {
    opacity: 0.45;
    cursor: not-allowed;
}
.fgt-overlay-actions button.secondary {
    background: var(--fgt-surface);
    color: var(--fgt-ink);
}
.guild-missing {
    text-align: center;
    color: var(--fgt-ink-soft);
    padding: 60px 16px;
}
.guild-welcome {
    border: 1px solid var(--fgt-border);
    border-radius: 8px;
    background: var(--fgt-surface);
    padding: 16px;
    text-align: center;
    line-height: 1.5;
}

.fgt-overlay {
    position: fixed;
    inset: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    background: rgba(0, 0, 0, 0.6);
}
.fgt-overlay-box {
    width: min(480px, 100%);
    max-height: 90vh;
    overflow-y: auto;
    border: 1px solid var(--fgt-border);
    border-radius: 8px;
    background: #1d1512;
    color: var(--fgt-ink);
    padding: 18px 20px;
}
.fgt-overlay-box h2 {
    margin: 0 0 10px;
    font-size: 17px;
}
.fgt-overlay-box p {
    margin: 8px 0;
    font-size: 13px;
}
.fgt-overlay-field {
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-size: 13px;
}
.fgt-overlay-field select,
.fgt-overlay-field input {
    padding: 5px 8px;
    border: 1px solid var(--fgt-border);
    border-radius: 4px;
    background: var(--fgt-surface);
    color: var(--fgt-ink);
}
.fgt-overlay-warning {
    color: #ffcf6e;
}
.fgt-overlay-note {
    color: var(--fgt-ink-soft);
}
.fgt-overlay-actions {
    display: flex;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 14px;
}

.guild-header h1 {
    margin: 0;
    font-size: 22px;
}
.guild-header p {
    margin: 4px 0 0;
    color: var(--fgt-ink-soft);
    font-size: 13px;
}

.feed-stack {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.coming-soon {
    text-align: center;
    color: var(--fgt-ink-soft);
    padding: 40px 0;
}

.feed-panel {
    border: 1px solid var(--fgt-border);
    border-radius: 8px;
    background: var(--fgt-surface);
    padding: 12px 14px 16px;
}
.feed-panel-head {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
}
.feed-panel-head h2 {
    margin: 0;
    font-size: 15px;
    text-align: center;
}
.feed-panel-controls {
    display: flex;
    gap: 16px;
    font-size: 11px;
    color: var(--fgt-ink-soft);
}

.feed-choice-group {
    display: flex;
    flex-direction: column;
    gap: 2px;
    align-items: center;
}
.feed-choices {
    display: inline-flex;
    border: 1px solid var(--fgt-border);
    border-radius: 6px;
    overflow: hidden;
}
.feed-choice {
    min-width: 28px;
    padding: 2px 6px;
    border: none;
    background: var(--fgt-surface);
    color: var(--fgt-ink-soft);
    font: inherit;
    cursor: pointer;
}
.feed-choice + .feed-choice { border-left: 1px solid var(--fgt-border); }
.feed-choice:hover,
.feed-choice:focus-visible { color: var(--fgt-ink); }
.feed-choice.active {
    background: var(--fgt-accent);
    color: #1a1208;
    font-weight: 700;
}
.feed-panel-extra-filters {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px 16px;
    font-size: 12px;
    color: var(--fgt-ink-soft);
    margin-bottom: 10px;
}
.feed-panel-body {
    height: 260px;
    min-height: 120px;
    overflow-y: auto;
    overflow-x: auto;
    resize: vertical;
    
    -webkit-mask-image: linear-gradient(to bottom, transparent 0, black 24px, black calc(100% - 24px), transparent 100%);
    mask-image: linear-gradient(to bottom, transparent 0, black 24px, black calc(100% - 24px), transparent 100%);
    
    padding-top: 24px;
    padding-bottom: 24px;
}

.recruit-list, .instances-list, .progression-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-size: 13px;
    color: var(--fgt-ink);
}

.recruit-row {
    background: rgba(0,0,0,0.2);
    border-radius: 4px;
    padding: 5px 8px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
}
.recruit-text { display: inline-flex; align-items: center; gap: 4px; flex-wrap: wrap; }
.recruit-class-icon {
    width: 16px;
    height: 16px;
    border-radius: 2px;
    vertical-align: middle;
}
.recruit-time { color: var(--fgt-ink-soft); font-size: 11px; white-space: nowrap; }

.feed-time { color: var(--fgt-ink-soft); font-size: 11px; white-space: nowrap; flex: none; margin-left: auto; cursor: help; }
.recruit-row .feed-time { margin-left: 0; }


.home-columns {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.home-columns > .feed-panel { min-width: 0; }


.progression-columns {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.progression-heads { display: none; }
.progression-column h3,
.progression-heads h3 {
    padding: 3px 0;
    background: #1d140c;
    border-radius: 4px;
    margin: 0 0 6px;
    font-size: 12px;
    color: var(--fgt-ink-soft);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    text-align: center;
}

.top-achievers-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin: 0;
    padding: 0;
    list-style: none;
    font-size: 13px;
}
.top-achievers-row {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 8px;
    border-radius: 4px;
    background: rgba(0,0,0,0.2);
}
.top-achievers-row img {
    width: 18px;
    height: 18px;
    border-radius: 2px;
}
.top-achievers-rank {
    width: 18px;
    font-weight: 700;
    text-align: center;
}
.top-achievers-row.rank-1 .top-achievers-rank { color: #ffd34d; }
.top-achievers-row.rank-2 .top-achievers-rank { color: #d9d9d9; }
.top-achievers-row.rank-3 .top-achievers-rank { color: #d08a4a; }
.top-achievers-name {
    flex: 1;
    min-width: 0;
    font-weight: 600;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.top-achievers-points {
    color: var(--fgt-accent);
    font-weight: 600;
    white-space: nowrap;
}

.achievement-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: center;
}
.achievement-row {
    text-align: center;
    max-width: 100%;
}
.achievement-attribution {
    
    padding-right: 14px;
    display: flex;
    align-items: baseline;
    gap: 6px;
    color: var(--fgt-accent);
    font-size: 13px;
    margin-top: 6px;
    margin-bottom: 4px;
}

.progression-row {
    display: flex;
    align-items: center;
    gap: 6px;
}
.progression-icon {
    width: 18px;
    height: 18px;
    border-radius: 2px;
    flex: none;
}
.hl-level { color: #f0b95c; font-weight: 600; }

.feed-more {
    padding: 0;
    border: 0;
    background: none;
    color: inherit;
    font: inherit;
    text-decoration: underline dotted;
    text-underline-offset: 3px;
    cursor: pointer;
}
.feed-more:hover, .feed-more:focus-visible { color: var(--fgt-accent); }
.progression-details {
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin: -2px 0 2px;
    padding: 0 0 0 18px;
    font-size: 12px;
}


.item-link { cursor: pointer; }
.item-link > .item-tooltip { display: none; }
.item-tooltip-layer {
    display: none;
    position: fixed;
    z-index: 1100;
    pointer-events: none;
}
.item-tooltip-layer.pinned { pointer-events: auto; z-index: 1101; }
.item-tooltip-layer .item-tooltip {
    position: relative;
    display: flex;
    flex-direction: column;
    width: max-content;
    max-width: 330px;
    padding: 7px 10px 8px;
    background: rgba(9, 11, 28, 0.92);
    border: 1px solid #b9b9b9;
    border-radius: 4px;
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.8), 0 4px 14px rgba(0, 0, 0, 0.6);
    font-size: 13px;
    font-weight: normal;
    line-height: 1.3;
    text-shadow: 1px 1px 0 #000;
}
.item-tooltip-layer.pinned .item-tooltip { padding-right: 28px; }
.item-tooltip-name { font-size: 15px; margin-bottom: 1px; }
.item-tooltip-line {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    white-space: pre-line;
}
.item-tooltip-line.gap { margin-top: 1.3em; }
.item-tooltip-right { color: #ffffff; flex: none; }

.item-tooltip-close {
    position: absolute;
    top: 4px;
    right: 4px;
    width: 18px;
    height: 18px;
    padding: 0;
    border: 1px solid #c9a227;
    border-radius: 3px;
    background: linear-gradient(#8a1c12, #4a0c06);
    color: #ffd100;
    font: bold 14px/1 sans-serif;
    cursor: pointer;
}
.item-tooltip-close:hover { filter: brightness(1.3); }
.coin { margin-left: 4px; }
.coin::after {
    content: "";
    display: inline-block;
    width: 9px;
    height: 9px;
    margin-left: 2px;
    border-radius: 50%;
    vertical-align: -1px;
}
.coin-gold::after { background: radial-gradient(circle at 35% 35%, #fff2a8, #d4a017 60%, #8a6500); }
.coin-silver::after { background: radial-gradient(circle at 35% 35%, #ffffff, #b8b8b8 60%, #6e6e6e); }
.coin-copper::after { background: radial-gradient(circle at 35% 35%, #ffcfa0, #b8692d 60%, #6b3510); }

.instance-row { display: flex; gap: 8px; align-items: baseline; justify-content: space-between; }
.instance-row b { font-weight: 600; }



.roster-filters {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 16px;
}
.roster-filter-row-split {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}
.roster-filter-row-split .roster-filter-group {
    flex: 1;
    min-width: 140px;
}
.roster-filter-head {
    position: relative;
    text-align: center;
    margin-bottom: 8px;
}
.roster-filter-head h3 {
    margin: 0;
    font-size: 13px;
    color: var(--fgt-ink-soft);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
.roster-reset {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    background: var(--fgt-surface);
    border: 1px solid var(--fgt-border);
    color: var(--fgt-ink);
    border-radius: 4px;
    padding: 2px 8px;
    font-size: 11px;
    cursor: pointer;
}
.roster-filter-chips {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px;
}
.roster-toggle {
    position: relative;
    background: var(--fgt-surface);
    border: 1px solid var(--fgt-border);
    color: var(--fgt-ink);
    border-radius: 4px;
    padding: 4px 10px;
    font-size: 12px;
    cursor: pointer;
    overflow: hidden;
}
.roster-toggle-icon {
    padding: 3px;
    line-height: 0;
}

.roster-filters .roster-filter-chips {
    max-height: 100px;
    overflow-y: auto;
    scrollbar-width: thin;
}
.roster-toggle-icon img {
    width: 28px;
    height: 28px;
    border-radius: 3px;
    display: block;
}

.roster-toggle-off::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    border-radius: inherit;
}
.roster-level-range {
    display: flex;
    justify-content: center;
    gap: 12px;
    font-size: 12px;
    color: var(--fgt-ink-soft);
}
.roster-level-range label {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
}
.roster-level-range input {
    width: 52px;
}

.roster-results-head {
    text-align: center;
    font-size: 12px;
    color: var(--fgt-ink-soft);
    margin-bottom: 10px;
}
.roster-grid {
    
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}
@media (max-width: 420px) {
    .roster-grid {
        grid-template-columns: 1fr;
    }
}


.dev-guilds {
    width: min(640px, 100%);
}
.dev-guilds-filter {
    width: 100%;
    box-sizing: border-box;
    padding: 5px 8px;
    border: 1px solid var(--fgt-border);
    border-radius: 4px;
    background: var(--fgt-surface);
    color: var(--fgt-ink);
}
.dev-guilds-list {
    list-style: none;
    margin: 8px 0 0;
    padding: 0;
    font-size: 13px;
}
.dev-guilds-list li {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 2px 10px;
    padding: 5px 0;
    border-bottom: 1px solid rgba(202, 161, 90, 0.25);
}
.dev-guilds-list a {
    color: var(--fgt-accent);
    font-weight: 600;
}
.dev-guilds-list span {
    color: var(--fgt-ink-soft);
    font-size: 12px;
}


.budget-widget {
    position: fixed;
    left: 12px;
    bottom: 12px;
    z-index: 90;
    display: flex;
    flex-direction: column;
    gap: 3px;
    width: 230px;
    max-width: calc(100vw - 24px);
    padding: 7px 10px;
    border: 1px solid var(--fgt-border);
    border-radius: 6px;
    background: rgba(20, 14, 11, 0.88);
    color: var(--fgt-ink-soft);
    font: inherit;
    font-size: 11px;
    text-align: left;
    cursor: pointer;
}
.budget-widget-head strong {
    color: var(--fgt-ink);
    margin-right: 4px;
}
.budget-widget-bar {
    height: 4px;
    border-radius: 2px;
    background: rgba(255, 255, 255, 0.12);
    overflow: hidden;
}
.budget-widget-bar span {
    display: block;
    height: 100%;
    background: #7fd67a;
    transition: width 0.6s ease;
}
.budget-widget.mid .budget-widget-bar span { background: #ffcf6e; }
.budget-widget.high .budget-widget-bar span { background: #e0664f; }



.home-download-link {
    display: inline-block;
    margin-top: 12px;
    font-size: 13px;
}


.home-download-link + .home-download-link { margin-left: 18px; }


.home-download-link,
.social-note a,
.download a:not(.download-button) {
    color: var(--fgt-accent);
    text-decoration: none;
}

.home-download-link:hover,
.social-note a:hover,
.download a:not(.download-button):hover {
    color: var(--fgt-ink);
    text-decoration: underline;
}

.download {
    max-width: 560px;
    margin: 0 auto;
    font-size: 14px;
    line-height: 1.55;
}

.download h2 {
    margin: 24px 0 6px;
    font-size: 16px;
}

.download ol {
    margin: 0;
    padding-left: 20px;
}

.download-button {
    display: block;
    width: fit-content;
    margin: 0 auto;
    padding: 10px 22px;
    border-radius: 6px;
    background: #33aa66;
    color: #fff;
    font-weight: 600;
    text-decoration: none;
}

.download-button:hover {
    background: #2b9459;
}

.download-meta {
    text-align: center;
    color: var(--fgt-ink-soft);
    font-size: 12px;
}


.loading-logo {
    position: absolute;
    top: calc(20vh + 1.25rem);
    left: 50%;
    width: 5.5rem;
    height: 5.5rem;
    transform: translateX(-50%);
}


.loading-intro {
    max-width: 32rem;
    margin: 3.5rem auto 0;
    padding: 0 1rem;
    text-align: center;
    opacity: 0.75;
}

    .loading-intro h1 {
        margin: 0 0 0.5rem;
        font-size: 1.25rem;
    }

    .loading-intro p {
        margin: 0 0 0.5rem;
        font-size: 0.9rem;
    }

    .loading-intro .loading-intro-note {
        font-size: 0.75rem;
    }


@media (min-width: 1281px) {
    .guild-shell {
        max-width: none;
        padding: 0 40px 40px;
    }
    .guild-header { padding: 10px 0 12px; }

    
    .top-achievers {
        align-self: center;
        padding: 0;
        border: 0;
        background: none;
    }
    .top-achievers .feed-panel-head {
        width: fit-content;
        margin: 0 auto;
        padding: 8px 40px;
        border: 1px solid var(--fgt-border);
        border-bottom: 0;
        border-radius: 8px 8px 0 0;
        background: var(--fgt-surface);
    }
    .top-achievers-list { flex-direction: row-reverse; }
    .top-achievers-row { width: 230px; }
    
    .home-columns {
        display: grid;
        grid-auto-columns: minmax(0, 1fr);
        grid-auto-flow: column;
        gap: 12px;
    }
    .home-feeds > .feed-panel .feed-panel-body { height: 420px; }
    
    .home-feeds > .feed-panel .recruit-list {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    }
    .progression-columns,
    .progression-heads {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 24px;
    }
    
    .progression-heads { padding-right: 12px; }
    .progression-heads h3 { margin: 0; }
    .progression-column h3 { display: none; }
    .home-columns .feed-panel-head h2 {
        font-size: 26px;
        font-weight: 400;
    }
    
    .home-columns .feed-panel-body {
        height: calc(100vh - 560px);
        min-height: 240px;
        resize: none;
    }

    
    .roster-filters {
        display: grid;
        
        grid-template-columns: auto minmax(0, max-content) auto auto auto;
        justify-content: center;
        gap: 12px;
        margin-bottom: 24px;
    }
    .roster-filter-row-split { display: contents; }
    .roster-filter-two-rows .roster-filter-chips {
        display: grid;
        grid-template-columns: repeat(var(--cols), auto);
        justify-content: center;
    }
    .roster-filter-group {
        min-width: 0;
        padding: 8px 10px 10px;
        border: 1px solid rgba(255, 255, 255, 0.55);
        border-radius: 8px;
        background: rgba(0, 0, 0, 0.12);
    }
    .roster-grid {
        grid-template-columns: repeat(5, minmax(0, 1fr));
        gap: 10px 36px;
    }
}


@media (min-width: 2200px) {
    .site-tabs { max-width: 900px; }
    .site-header-filter { max-width: calc(900px + var(--hdr-side)); }
    .site-header-ticker { max-width: 900px; }

    
    .home-feeds {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 20px 12px;
    }
    .home-feeds > * { flex: 1 0 100%; }
    .home-columns { display: contents; }
    .home-columns > .feed-panel,
    .home-feeds > .feed-panel:not(.top-achievers) {
        flex: 1 1 0;
        min-width: 0;
        display: flex;
        flex-direction: column;
        height: calc(100vh - 300px);
        min-height: 420px;
        box-sizing: border-box;
    }
    .home-feeds .feed-panel-body,
    .home-columns .feed-panel-body {
        flex: 1 1 0;
        height: auto;
        min-height: 0;
        resize: none;
    }
    .top-achievers-list { justify-content: center; }
    
    .progression-columns { display: flex; flex-direction: column; gap: 16px; }
    .progression-heads { display: none; }
    .progression-column h3 { display: block; }

    
    .roster-grid { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
}



.linked-from-map > button,
button.linked-from-map {
    background: rgba(217, 171, 74, 0.28);
    outline: 2px solid var(--fgt-accent);
    outline-offset: 1px;
}


.map-connector {
    position: fixed;
    inset: 0;
    z-index: 40;
    width: 100%;
    height: 100%;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.15s;
    filter: drop-shadow(0 0 3px rgba(0, 0, 0, 0.8));
}
.map-connector.visible { opacity: 1; }
.map-connector line {
    stroke: var(--fgt-accent);
    stroke-width: 2;
    stroke-dasharray: 6 4;
}
.map-connector circle { fill: var(--fgt-accent); }


.info-tip {
    position: relative;
    display: inline-flex;
    vertical-align: middle;
    cursor: help;
    outline: none;
}
.info-tip-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 15px;
    height: 15px;
    border: 1px solid var(--fgt-ink-soft);
    border-radius: 50%;
    color: var(--fgt-ink-soft);
    font: italic 700 10px/1 Georgia, serif;
}
.info-tip:hover .info-tip-icon,
.info-tip:focus-visible .info-tip-icon { border-color: var(--fgt-accent); color: var(--fgt-accent); }
.info-tip-bubble {
    position: absolute;
    bottom: calc(100% + 6px);
    left: 50%;
    z-index: 1200;
    width: max-content;
    max-width: 260px;
    padding: 6px 9px;
    border: 1px solid var(--fgt-border);
    border-radius: 6px;
    background: #1d140c;
    color: var(--fgt-ink);
    font-size: 12px;
    font-style: normal;
    font-weight: 400;
    line-height: 1.35;
    text-align: left;
    text-transform: none;
    letter-spacing: normal;
    white-space: normal;
    transform: translateX(-50%);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.12s;
}
.info-tip:hover .info-tip-bubble,
.info-tip:focus .info-tip-bubble { opacity: 1; visibility: visible; }


.legal-audience {
    padding: 8px 12px;
    border: 1px solid var(--fgt-border);
    border-radius: 6px;
    background: var(--fgt-surface);
}
.legal-audience label { display: flex; align-items: center; gap: 8px; cursor: pointer; }
