@layer maxrooster {
    .site-body .has-rooster-brand > :is(.hero-rooster,.lab-page-rooster) {
        bottom:var(--hero-brand-height);
        height:calc(100% - var(--hero-brand-height));
        overflow:hidden;
    }
    .site-body .lab-page-panel .panel-heading { display:flex; flex-wrap:wrap; justify-content:space-between; align-items:center; gap:.625rem; }
    .site-body .lab-page-panel .panel-heading h2 { margin:0; }
    .site-body .lab-page-panel .panel-tools { flex:none; margin-inline-start:auto; }
    .site-body .rooster-name-feedback { margin:.35rem 0 0; color:#5d5549; font-size:.75rem; }
    .site-body .rooster-name-feedback:empty { display:none; }
    .site-body .rooster-name-feedback[data-state="unavailable"] { color:#a91d14; }
    .site-body .rooster-name-feedback[data-state="available"] { color:#24603b; }
    .site-body .rooster-account-dialog { --bs-dialog-width:31rem; }
    .site-body .rooster-account-dialog .dialog-body > p { margin:0; }
    .site-body .rooster-account-dialog .dialog-body > p + p:not([hidden]) { margin-top:.85rem; }
    .site-body .rooster-account-dialog .dialog-footer { flex-wrap:wrap; }
    .site-body .tooltip { --bs-tooltip-bg:#171715; --bs-tooltip-color:#fff8dd; }

    .site-body .home-about-layout .home-about-steps .home-step {
        --step-field:#f4c63a;
        --step-accent:#ec623a;
        --step-pop:#fcfbec;
        height:100%; overflow:hidden; background:#fffcf2; border:2px solid #201d17;
        border-radius:var(--bs-radius-5); padding:0; box-shadow:3px 4px 0 #201d17;
    }
    .site-body .home-about-layout .home-about-steps .home-step-2 { --step-field:#e9937b; --step-accent:#ffdf6c; --step-pop:#e24029; }
    .site-body .home-about-layout .home-about-steps .home-step-3 { --step-field:#b8c47d; --step-accent:#faad52; --step-pop:#ffc400; }
    .site-body .home-step-art {
        display:grid; place-items:center; position:relative; overflow:hidden;
        min-height:7.25rem; background:var(--step-field);
        background-image:radial-gradient(#27221b35 .8px,transparent .9px); background-size:7px 7px;
        border-bottom:2px solid #201d17;
    }
    .site-body .home-step-art svg { display:block; width:min(85%,10.5rem); height:6.5rem; overflow:visible; }
    .site-body .home-step-art svg :is(path,rect) { stroke:#201d17; stroke-width:2; stroke-linecap:round; stroke-linejoin:round; }
    .site-body .home-step-art .step-paper { fill:#fffcf2; }
    .site-body .home-step-art .step-ink { fill:#201d17; }
    .site-body .home-step-art .step-line { fill:none; }
    .site-body .home-step-art .step-accent { fill:var(--step-accent); }
    .site-body .home-step-art .step-pop { fill:var(--step-pop); }
    .site-body .home-step-number {
        position:absolute; inset:.5rem auto auto .55rem; padding:.1rem .4rem; transform:rotate(-6deg);
        background:#201d17; color:#fff7df; font-weight:800; font-size:.7rem;
    }
    .site-body .home-step-copy { padding:1rem; }
    .site-body .home-about-steps .home-step-copy h3 { margin:0 0 .35rem; }
    .site-body .home-social-strip { background:#ffc400; padding-block:clamp(2rem,4vw,3.65rem); }
    .site-body .home-social-strip::before,
    .site-body .home-social-strip::after { content:none; }
    .site-body .home-social-heading {
        display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:.5rem 2rem; margin-bottom:1.25rem;
    }
    .site-body .home-social-heading h2 { color:#18150e; font-size:clamp(2.65rem,5vw,4.75rem); margin:0; }
    .site-body .home-social-heading p { margin:0; }
    .site-body .home-social-platforms {
        display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,9rem),1fr)); gap:.7rem;
        list-style:none; padding:0; margin:0;
    }
    .site-body .home-platform-link {
        display:flex; align-items:center; gap:.6rem; min-width:0; height:100%; min-height:3.75rem;
        padding:.65rem .75rem; color:#211d13; background:#fff4c3; border:1px solid #825c00;
        border-radius:var(--bs-radius-5);
    }
    .site-body .home-platform-link:is(a:hover,a:focus-visible) { background:#18150e; color:#fff8de; border-color:#18150e; }
    .site-body .home-platform-link:focus-visible { outline:2px solid #18150e; outline-offset:3px; }
    .site-body .home-platform-link.is-unavailable { background:#ffda60; border-style:dashed; }
    .site-body .home-platform-icon {
        display:grid; place-items:center; width:2.5rem; height:2.5rem; flex:none; color:#fff8de;
        background:#211d13; border-radius:var(--bs-radius-pill); --platform-cutout:#211d13;
    }
    .site-body .home-platform-link:is(a:hover,a:focus-visible) .home-platform-icon {
        background:#ffc400; color:#211d13; --platform-cutout:#ffc400;
    }
    .site-body .home-platform-link.is-unavailable .home-platform-icon { background:#674e0c; --platform-cutout:#674e0c; }
    .site-body .home-platform-icon .social-icon { width:1.2rem; height:1.2rem; fill:currentColor; }
    .site-body .home-platform-icon img { filter:brightness(0) invert(1); }
    .site-body .home-platform-link:is(a:hover,a:focus-visible) .home-platform-icon img { filter:brightness(0); }
    .site-body .home-platform-icon .social-icon-instagram rect,
    .site-body .home-platform-icon .social-icon-instagram circle:not(.social-icon-dot) { fill:none; stroke:currentColor; stroke-width:1.7; }
    .site-body .home-platform-icon .social-icon-cutout { fill:var(--platform-cutout); }
    .site-body .home-platform-label { min-width:0; overflow-wrap:anywhere; }
    .site-body .home-platform-label strong { display:block; font-size:.9rem; font-weight:750; }
    .site-body .home-platform-label small { display:block; color:#5b4307; font-size:.65rem; }
    .site-body .home-platform-arrow { width:.9rem; height:.9rem; flex:none; margin-inline-start:auto; }
    @media (width < 576px) {
        .site-body .home-social-platforms { grid-template-columns:repeat(2,minmax(0,1fr)); }
        .site-body .home-platform-link { padding:.5rem; gap:.45rem; }
        .site-body .home-platform-icon { width:2rem; height:2rem; }
    }

    .site-body :is(.home-peck-banner,.site-peck-banner):not(:has(.peck-support-strip)) { display:none; }
    .site-body .site-peck-banner { background:#211e17; }
    .site-body .peck-banner.peck-support-strip {
        display:grid; grid-template-columns:auto minmax(0,1fr) auto; gap:1rem 1.25rem;
        padding:clamp(1rem,2.5vw,1.9rem); background:#141310;
        border:1px solid #4d4021; border-radius:var(--bs-radius-5);
    }
    .site-body .peck-support-mark { display:grid; place-items:center; width:3.85rem; height:3.85rem; background:#ffc400; border-radius:var(--bs-radius-4); }
    .site-body .peck-support-mark img { width:2rem; height:auto; }
    .site-body .peck-support-copy strong { display:block; font-size:clamp(1.55rem,2.3vw,2.2rem); }
    .site-body .peck-support-copy p { color:#e9dec8; margin:.3rem 0 0; }
    .site-body .peck-support-strip > .btn { margin:0; justify-self:end; }
    @media (width < 576px) {
        .site-body .peck-banner.peck-support-strip { grid-template-columns:auto minmax(0,1fr); }
        .site-body .peck-support-strip > .btn { grid-column:1/-1; width:100%; }
        .site-body .peck-support-mark { width:3rem; height:3rem; }
    }

    .site-body.henhouse-body .achievement-grid .achievement-list-item.is-earned {
        background:#eaf6e8; border-color:#c9ddc5; box-shadow:inset 3px 0 #558753;
    }
    .site-body.henhouse-body .achievement-list-item.is-earned .achievement-row-icon { background:#d7ebd3; }
    .site-body.henhouse-body .community-profile-actions > .btn:is(:hover,:focus-visible) {
        --bs-btn-hover-bg:#ffc400; --bs-btn-hover-color:#171715; --bs-btn-hover-border-color:#ffc400;
        color:#171715; background:#ffc400; border-color:#ffc400;
    }
    .site-body.henhouse-body .henhouse-post-content > .henhouse-post-header {
        display:grid; grid-template-columns:minmax(0,1fr) auto; align-items:center; gap:.5rem .75rem;
        min-height:0; margin:0 0 .75rem; padding:0;
    }
    .site-body.henhouse-body .henhouse-post-byline {
        display:flex; align-items:center; gap:.625rem; min-width:0;
    }
    .site-body.henhouse-body .henhouse-post-byline > .henhouse-avatar { flex:none; }
    .site-body.henhouse-body .henhouse-post-byline .henhouse-author-hover { min-width:0; max-width:100%; }
    .site-body.henhouse-body .henhouse-post-byline .henhouse-author-hover > a {
        display:grid; gap:0; line-height:1.35; overflow-wrap:anywhere;
    }
    .site-body.henhouse-body .henhouse-post-byline .henhouse-author-hover > a > span { margin:0; }
    .site-body.henhouse-body .henhouse-post-meta { display:flex; align-items:center; gap:.25rem; white-space:nowrap; }
    .site-body.henhouse-body .henhouse-post-meta .henhouse-post-permalink { margin:0; }
    .site-body.henhouse-body .henhouse-author-hover .henhouse-user-popover {
        position:absolute; inset:100% auto auto 0; z-index:12;
        width:min(17.5rem,calc(100vw - 6rem));
    }
    .site-body.henhouse-body .henhouse-author-hover .henhouse-user-popover-top {
        display:flex; flex-direction:row; justify-content:flex-start; text-align:start; gap:.625rem;
    }
    .site-body.henhouse-body .henhouse-user-popover-top > .henhouse-avatar { flex:none; }
    @media (width < 450px) {
        .site-body.henhouse-body .henhouse-post-meta { gap:0; }
        .site-body.henhouse-body .henhouse-post-meta .henhouse-post-permalink { font-size:.64rem; }
    }

    .site-body.henhouse-body .account-page-title { margin:0 0 1rem; padding-block:.3rem; }
    .site-body.henhouse-body .account-page-title h2 { font-size:clamp(1.9rem,3.5vw,2.6rem); margin:0 0 .25rem; color:#1c1a15; }
    .site-body.henhouse-body .account-page-title p { margin:0; color:#5f594e; }
    .site-body.henhouse-body .offers-page { container-type:inline-size; }
    .site-body.henhouse-body .offer-overview { display:grid; gap:1rem; grid-template-columns:minmax(0,1fr); align-items:start; }
    @container (width >= 51rem) {
        .site-body.henhouse-body .offer-overview { grid-template-columns:repeat(2,minmax(0,1fr)); }
        .site-body.henhouse-body .offer-section-history { grid-column:1/-1; }
    }
    .site-body.henhouse-body .offer-section,
    .site-body.henhouse-body .account-settings-panel { --bs-card-border-color:#dbd7cd; --bs-card-bg:#fff; min-width:0; }
    .site-body.henhouse-body .offer-section-heading {
        display:flex; justify-content:space-between; align-items:center; gap:.75rem; padding:.875rem 1rem;
        border-bottom:1px solid #e6e1d5; background:#fbf8ef;
        border-start-start-radius:var(--bs-card-inner-border-radius); border-start-end-radius:var(--bs-card-inner-border-radius);
    }
    .site-body.henhouse-body .offer-section-heading h3 { margin:0; font-size:1.5rem; }
    .site-body.henhouse-body .offer-list { display:grid; gap:.75rem; padding:.85rem; }
    .site-body.henhouse-body .offer-card { min-width:0; border:1px solid #e5e0d4; border-radius:var(--bs-radius-4); }
    .site-body.henhouse-body .offer-card-head,
    .site-body.henhouse-body .offer-card-footer { display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:.45rem .75rem; padding:.65rem .75rem; }
    .site-body.henhouse-body .offer-card-head a { font-weight:700; overflow-wrap:anywhere; }
    .site-body.henhouse-body .offer-card :is(small,time),
    .site-body.henhouse-body .offer-history time { color:#61594c; font-size:.75rem; }
    .site-body.henhouse-body .offer-exchange {
        display:grid; grid-template-columns:minmax(0,1fr) auto minmax(0,1fr); align-items:stretch; gap:.35rem; margin:0 .75rem;
    }
    .site-body.henhouse-body .offer-bird {
        display:flex; align-items:center; flex-wrap:wrap; gap:.4rem .55rem; min-width:0;
        background:#f4f2ee; padding:.45rem; border-radius:var(--bs-radius-3);
    }
    .site-body.henhouse-body .offer-bird-receive { background:#fff3ce; }
    .site-body.henhouse-body .offer-bird > img { width:2.65rem; height:2.65rem; object-fit:cover; border-radius:var(--bs-radius-3); }
    .site-body.henhouse-body .offer-bird > div { min-width:0; overflow-wrap:anywhere; }
    .site-body.henhouse-body .offer-bird :is(small,strong,a) { display:block; }
    .site-body.henhouse-body .offer-bird :is(strong,a) { color:#262119; font-weight:750; line-height:1.3; }
    .site-body.henhouse-body .offer-bird a:hover { color:#a91d14; }
    .site-body.henhouse-body .offer-exchange-mark { align-self:center; font-size:1.1rem; color:#62554a; }
    .site-body.henhouse-body .offer-message { margin:.6rem .75rem 0; color:#51493e; white-space:pre-wrap; overflow-wrap:anywhere; }
    .site-body.henhouse-body .offer-actions { display:flex; align-items:center; flex-wrap:wrap; gap:.4rem; margin-inline-start:auto; }
    .site-body.henhouse-body .offer-empty { padding:1rem; color:#2e291e; }
    .site-body.henhouse-body .offer-empty p { color:#5f594e; margin:.25rem 0 0; }
    .site-body.henhouse-body .offer-history .list-group-item {
        display:grid; grid-template-columns:minmax(6rem,auto) minmax(0,1fr) auto; align-items:center; gap:.5rem .75rem;
    }
    .site-body.henhouse-body .offer-history .badge { justify-self:start; }
    .site-body.henhouse-body .offer-history-pair { display:flex; align-items:center; flex-wrap:wrap; gap:.35rem; overflow-wrap:anywhere; }
    @media (width < 576px) {
        .site-body.henhouse-body .offer-history .list-group-item { grid-template-columns:auto minmax(0,1fr); }
        .site-body.henhouse-body .offer-history .list-group-item time { grid-column:2; }
    }

    .site-body.henhouse-body .account-settings { margin-top:1.25rem; }
    .site-body.henhouse-body .account-settings-panel { border-radius:var(--bs-radius-5); }
    .site-body.henhouse-body .account-settings-panel .card-body { padding:clamp(1rem,2vw,1.45rem); }
    .site-body.henhouse-body .account-settings-panel header { margin-bottom:.85rem; }
    .site-body.henhouse-body .account-settings-panel h3 { font-size:1.55rem; margin:0 0 .35rem; }
    .site-body.henhouse-body .account-settings-panel p { color:#5f594e; margin:0; }
    .site-body.henhouse-body .account-settings-panel .form-label { font-size:.8125rem; font-weight:650; }
    .site-body.henhouse-body .account-settings-avatar { display:flex; align-items:center; gap:.75rem; }
    .site-body.henhouse-body .account-settings-avatar .account-avatar { width:3.15rem; height:3.15rem; flex:none; }
    .site-body.henhouse-body .account-settings-avatar small { display:block; color:#5f594e; }
    .site-body.henhouse-body .account-settings-actions { margin-top:.85rem; }
    .site-body.henhouse-body .account-reset-form { margin-top:.6rem; }
    .site-body.henhouse-body .account-settings-delete { --bs-card-border-color:#e9c7bd; background:#fff9f6; }
    .site-body.henhouse-body .account-settings-delete > summary {
        display:flex; align-items:center; justify-content:space-between; gap:.5rem;
        padding:.9rem 1.15rem; color:#991f17; font-weight:750; cursor:pointer; list-style:none;
    }
    .site-body.henhouse-body .account-settings-delete > summary::-webkit-details-marker { display:none; }
    .site-body.henhouse-body .account-settings-delete[open] > summary { border-bottom:1px solid #ebd5ce; }
    .site-body.henhouse-body .account-settings-delete[open] > summary span { transform:rotate(45deg); }
    .site-body.henhouse-body .account-settings-delete .card-body > p { margin-bottom:.85rem; }
}
