/* Previous MAXROOSTER component artwork and details; Bootstrap owns shared layout and controls. */
@layer maxrooster-legacy {
@font-face{font-family:MR-heading-fallback;src:url('fonts/google/bebasneue/bebasneue.woff2') format('woff2');font-weight:400;font-style:normal;font-display:swap}
/* MAXROOSTER production interface. Original colours, fonts and local assets. */
:root body.site-body :is(h1,h2,h3,h4,h5,h6),:root body.admin-body :is(h1,h2,h3,h4,h5,h6),:root body.site-body :is(h1,h2,h3,h4,h5,h6) :is(a,span,strong,em),:root body.admin-body :is(h1,h2,h3,h4,h5,h6) :is(a,span,strong,em){font-family:var(--mr-heading-font,Impact),'MR-heading-fallback','Arial Narrow',sans-serif;font-weight:400;font-synthesis: none}
.site-body.rooster-detail-body .rooster-card-deck{clip-path:none;overflow:visible;z-index:0}
.site-body.rooster-detail-body .rooster-swipe-stage{overflow:visible}
.site-body.rooster-detail-body .rooster-deck-card{backface-visibility:hidden}
.site-body.henhouse-body .henhouse-rooster-attachment{display:block;width:100%;padding:0;gap:0;border:0;background:transparent;overflow:hidden;line-height:0}
.site-body.henhouse-body .henhouse-rooster-attachment img{display:block;width:100%;height:auto;max-width:100%;aspect-ratio:1200/630;object-fit:contain}
.site-body.henhouse-body .henhouse-feed-order-card{padding:22px}
.site-body.henhouse-body .henhouse-feed-order-card h2{margin:0 0 15px;font-size:28px;line-height:1.1}
.site-body.henhouse-body .henhouse-feed-order-card nav{display:grid;gap:6px}
.site-body.henhouse-body .henhouse-feed-order-card nav a{display:flex;align-items:center;min-height:42px;padding:10px 14px;color:#555;background:#f5f5f4;font-family:var(--community-font);font-size:13px;font-weight:600}
.site-body.henhouse-body .henhouse-feed-order-card nav a:is(.active,:hover){color:#ffc400;background:#171715}
.site-body.henhouse-body .community-content .account-rooster-card{display:flex;flex-direction:column}
.site-body.henhouse-body .community-content .account-rooster-copy{display:flex;flex:1;flex-direction:column;padding:16px;gap:12px;min-width:0}
.site-body.henhouse-body .community-content .account-rooster-copy :is(p,.account-rooster-stats){margin:0}
.site-body.henhouse-body .community-content .account-rooster-description:empty{display:none}
.site-body.henhouse-body .community-content .account-rooster-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;align-items:stretch;margin-top:auto;padding-top:2px}
.site-body.henhouse-body .community-content .account-rooster-actions :is(a,button){display:flex;align-items:center;justify-content:center;min-width:0;min-height:40px;padding:8px 10px;border:1px solid #d6d6d4;background:#fff;color:#252522;font-family:var(--community-font);font-size:12px;font-weight:600;line-height:1.35;text-transform:none;letter-spacing:0;text-align:center;white-space:normal;text-decoration:none}
.site-body.henhouse-body .community-content .account-rooster-actions>a:first-child{background:#171715;color:#fff;border-color:#171715}
.site-body.henhouse-body .community-content .account-rooster-actions .rooster-download-action{grid-column:1/-1;background:#ffc400;color:#171715;border-color:#ffc400}
.site-body.henhouse-body .community-content .account-rooster-actions :is(a,button):hover{background:#e9e9e5;color:#111;border-color:#aaa}
.site-body.henhouse-body .community-content .account-rooster-actions .rooster-download-action:hover{background:#ffda46;border-color:#ffc400}
/* One compact Inbox, without repeating the profile hero above it. */
.site-body.henhouse-body .messages-page{padding:0;width:100%;max-width:none;min-width:0;background:transparent}
.messages-page-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:0 0 20px}
.site-body.henhouse-body .messages-page-heading h1{font-size:40px;line-height:1.1;margin:0;color:#171715}
.site-body.henhouse-body .message-new-button{display:inline-flex;align-items:center;justify-content:center;gap:12px;min-height:42px;padding:10px 16px;background:#171715;color:#fff;border:1px solid #171715;font-family:var(--community-font);font-size:12px;font-weight:600;line-height:1.3;white-space:normal}
.site-body.henhouse-body .message-new-button:hover{background:#333;color:#ffc400}
.site-body.henhouse-body .message-new-button>span{font-size:19px;line-height:1}
.site-body.henhouse-body .messages-shell{background:#fff;border:1px solid #dededb;overflow:hidden;box-shadow:0 5px 22px #11111104}
.site-body.henhouse-body .messages-layout{min-height:540px;height:min(730px,calc(100dvh - var(--site-header-height,82px) - 140px));max-height:900px;background:#fff}
.site-body.henhouse-body .conversation-panel{display:flex;flex-direction:column;min-height:0;border:0;border-right:1px solid #e8e8e5;background:#fafaf9;overflow:auto}
.site-body.henhouse-body .conversation-panel>header{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:20px 16px 12px;min-height:0;border:0;background:transparent}
.site-body.henhouse-body .conversation-panel>header h2{font-size:23px;line-height:1.2;margin:0}
.site-body.henhouse-body .conversation-panel>header>span{display:grid;place-items:center;min-width:25px;height:25px;padding:0 6px;background:#eaeae6;color:#555;font-size:11px}
.conversation-search{margin:0;padding:0 12px 14px}
.site-body.henhouse-body .conversation-search .form-control{width:100%;min-height:39px;border:1px solid #deded9;background:#fff;font-size:12px}
.site-body.henhouse-body .conversation-list{display:flex;flex-direction:column;gap:4px;padding:0 8px 12px;overflow-y:auto;min-height:0;flex:1}
.site-body.henhouse-body .conversation-item{display:grid;grid-template-columns:38px minmax(0,1fr);align-items:center;gap:5px 9px;padding:12px 9px;border:0;background:transparent;min-width:0;color:#242424}
.site-body.henhouse-body .conversation-item:is(:hover,.is-selected){background:#eeeee9}
.site-body.henhouse-body .conversation-item.has-unread{background:#fff6d6}
.site-body.henhouse-body .conversation-item .message-avatar{grid-row:1/3;width:38px;height:38px;font-size:14px;background:#e4e0d5}
.site-body.henhouse-body .conversation-copy{display:grid;min-width:0;gap:3px}
.site-body.henhouse-body .conversation-copy strong{font-family:var(--community-font);font-size:12px;font-weight:700;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}
.site-body.henhouse-body .conversation-copy small{font-size:11px;line-height:1.4;color:#777;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}
.site-body.henhouse-body .conversation-meta{grid-column:2;display:flex;justify-content:space-between;gap:5px;min-width:0;align-items:center}
.site-body.henhouse-body .conversation-meta time{font-size:9px;line-height:1.3;color:#8a8a83;white-space:normal}
.site-body.henhouse-body .conversation-meta b{background:#d52020;color:#fff;min-width:19px;padding:2px 4px;font-size:10px;text-align:center}
.site-body.henhouse-body .conversation-empty{display:grid;gap:7px;padding:24px 10px;color:#333;font-size:12px;text-align:center}
.site-body.henhouse-body .conversation-empty>span{font-size:11px;line-height:1.6;color:#888}
.site-body.henhouse-body .message-thread{display:flex;flex-direction:column;min-height:0;border:0;background:#fff;overflow:hidden}
.site-body.henhouse-body .message-thread-header{display:flex;align-items:center;gap:12px;padding:16px 20px;min-height:78px;flex-shrink:0;border-bottom:1px solid #eaeae6;background:#fff}
.site-body.henhouse-body .message-thread-header>div{display:grid;gap:3px;min-width:0}
.site-body.henhouse-body .message-thread-header strong{font-family:var(--community-font);font-size:14px;overflow-wrap:anywhere}
.site-body.henhouse-body .message-thread-header>div>a{font-size:11px;color:#888}
.site-body.henhouse-body .message-thread-header>.message-avatar{width:42px;height:42px}
.site-body.henhouse-body .thread-profile-link{margin-left:auto;font-size:11px;white-space:nowrap;color:#666}
.site-body.henhouse-body .message-history{display:flex;flex:1;flex-direction:column;gap:13px;min-height:0;padding:22px;overflow-y:auto;overscroll-behavior:contain;background:#fafaf8}
.site-body.henhouse-body .message-bubble{align-self:flex-start;width:fit-content;max-width:min(88%,530px);margin:0;padding:12px 15px;border:1px solid #e8e8e1;background:#fff;color:#242424;box-shadow:0 2px 2px #11111103}
.site-body.henhouse-body .message-bubble.is-sent{align-self:flex-end;background:#fff2bc;border-color:#f5e5a7}
.site-body.henhouse-body .message-bubble p{font-family:var(--community-font);font-size:13px;line-height:1.65;margin:0;white-space:pre-wrap;overflow-wrap:anywhere}
.site-body.henhouse-body .message-bubble footer{display:flex;justify-content:flex-end;gap:10px;margin-top:7px;color:#8b887c;font-size:9px;line-height:1.3}
.site-body.henhouse-body .message-composer{display:grid;gap:9px;padding:15px 20px;background:#fff;border-top:1px solid #e8e8e1;margin:0}
.site-body.henhouse-body .message-composer>label{position:absolute;width:1px;height:1px;clip:rect(0,0,0,0);overflow:hidden}
.site-body.henhouse-body .message-composer textarea{width:100%;min-height:76px;max-height:150px;resize:vertical;border:1px solid #deded8;background:#fafaf8;font-family:var(--community-font);font-size:13px;line-height:1.5;padding:12px}
.site-body.henhouse-body .message-composer footer{display:flex;align-items:center;justify-content:space-between;gap:10px}
.site-body.henhouse-body .message-composer footer>span{font-size:10px;color:#999}
.site-body.henhouse-body .message-composer button{min-height:38px;padding:8px 18px;display:flex;align-items:center;gap:12px;background:#171715;color:#fff;border:1px solid #171715;font-size:12px}
.site-body.henhouse-body .message-composer button:disabled{opacity:.5}
.site-body.henhouse-body .message-thread-placeholder{display:flex;flex:1;flex-direction:column;align-items:center;justify-content:center;gap:20px;min-height:320px;padding:32px;text-align:center;background:radial-gradient(circle at 50% 35%,#fff7d8,transparent 55%)}
.site-body.henhouse-body .message-thread-placeholder>h2{font-size:clamp(28px,3vw,38px);line-height:1.2;max-width:310px;margin:0;color:#222}
.site-body.henhouse-body .message-thread-placeholder>.inbox-empty-icon{display:grid;place-items:center;width:82px;height:82px;padding:23px;background:#ffc400;color:#171715;transform:rotate(-7deg)}
.inbox-empty-icon svg{width:100%;height:100%}
.message-back-link{display:none}
.member-picker-dialog{width:min(460px,calc(100vw - 28px));max-height:80dvh;padding:24px;border:1px solid #deded8;background:#fff;color:#171715;box-shadow:0 25px 90px #0004}
.member-picker-dialog::backdrop{background:#0009}
.member-picker-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:20px}.member-picker-heading h2{font-size:32px;margin:0}.member-picker-heading button{width:36px;height:36px;border:0;background:#f0f0ed;font-size:23px;line-height:1}
.member-picker-dialog .form-control{min-height:44px}
.member-picker-results{display:grid;gap:5px;margin-top:16px;max-height:50dvh;overflow:auto}
.member-picker-results>a{display:flex;align-items:center;gap:12px;padding:12px;color:#222}.member-picker-results>a:hover{background:#f5f3eb}.member-picker-results strong,.member-picker-results small{display:block;font-family:var(--community-font)}.member-picker-results strong{font-size:14px}.member-picker-results small{font-size:12px;color:#999}
.member-picker-results .message-avatar{display:grid;place-items:center;width:42px;height:42px;background:#eee7d5;overflow:hidden}.member-picker-results img{width:100%;height:100%;object-fit:cover}
@media(max-width:1279.98px){.site-body.henhouse-body .messages-body{min-width:0}.site-body.messages-body .henhouse-discovery{display:none}}
@media(max-width:1023.98px){
 .home-body :is(.hero-viewport,.hero-shell,.lab-panel),.lab-body :is(.lab-page-viewport,.lab-workspace,.lab-page-panel){overflow:visible}
 .site-body .mobile-trait-preview{display:grid;position:sticky;top:calc(var(--site-header-height,116px) + 8px);z-index:45;align-self:start;margin:12px 0;border:1px solid #d5d1c6;background:#fffefa;box-shadow:0 5px 18px #0002}
 .site-body.henhouse-body .message-thread-header{padding:14px}.site-body.henhouse-body .message-history{padding:15px}.site-body.henhouse-body .message-composer{padding:14px}
 .site-body.henhouse-body .henhouse-feed-order-card nav{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}.site-body.henhouse-body .henhouse-feed-order-card nav a{justify-content:center}
}
@media(max-width:600px){
 .site-body.henhouse-body .messages-layout{height:calc(100dvh - var(--site-header-height,116px) - 120px);min-height:480px}
 .site-body.henhouse-body .messages-layout>.conversation-panel{border:0;max-height:none}
 .site-body.henhouse-body .messages-layout.has-thread>.conversation-panel{display:none}
 .site-body.henhouse-body .messages-layout.no-thread>.message-thread{display:none}
 .site-body.henhouse-body .message-back-link{display:grid;place-items:center;width:28px;height:38px;font-size:23px;color:#333}
 .site-body.henhouse-body .conversation-item{grid-template-columns:44px minmax(0,1fr) auto;padding:15px 12px;gap:5px 12px}
 .site-body.henhouse-body .conversation-item .message-avatar{width:44px;height:44px}
 .site-body.henhouse-body .conversation-meta{grid-column:3;grid-row:1/3;display:grid;justify-items:end}
 .site-body.henhouse-body .conversation-copy strong{font-size:14px}.site-body.henhouse-body .conversation-copy small{font-size:12px}
 .site-body.henhouse-body .messages-page-heading h1{font-size:34px}
 .site-body.henhouse-body .message-thread-header{gap:9px;padding:12px 10px;min-height:70px}
 .site-body.henhouse-body .message-thread-header>.message-avatar{width:36px;height:36px}
 .site-body.henhouse-body .thread-profile-link{font-size:10px}
 .site-body.rooster-detail-body .rooster-deck-previous{transform:translateX(-14px) translateZ(-45px) rotateY(8deg) rotateZ(-1deg) scale(.96)}
 .site-body.rooster-detail-body .rooster-deck-next{transform:translateX(14px) translateZ(-45px) rotateY(-8deg) rotateZ(1deg) scale(.96)}
 .site-body.rooster-detail-body .rooster-deck-previous-far{transform:translateX(-24px) translateZ(-95px) rotateY(15deg) rotateZ(-2deg) scale(.92)}
 .site-body.rooster-detail-body .rooster-deck-next-far{transform:translateX(24px) translateZ(-95px) rotateY(-15deg) rotateZ(2deg) scale(.92)}
}
@media(prefers-reduced-motion:reduce){}

/* Keep feed order reachable when the desktop discovery column collapses. */
@media(max-width:1100px){
 .site-body.henhouse-feed-body .henhouse-discovery{display:contents}
 .site-body.henhouse-feed-body .henhouse-discovery>section:not(.henhouse-feed-order-card){display:none}
 .site-body.henhouse-feed-body .henhouse-sidebar{grid-column:1;grid-row:1/span 2}
 .site-body.henhouse-feed-body .henhouse-feed-order-card{display:block;grid-column:2;grid-row:1;padding:16px;margin:0;background:#fff;border:1px solid #dededb}
 .site-body.henhouse-feed-body .henhouse-feed-order-card h2{display:none}
 .site-body.henhouse-feed-body .henhouse-feed-order-card nav{grid-template-columns:repeat(3,minmax(0,1fr))}
 .site-body.henhouse-feed-body .henhouse-feed-order-card nav a{justify-content:center;padding:10px 8px;font-size:12px}
}
@media(max-width:1023.98px){
 .site-body.henhouse-feed-body .henhouse-sidebar{grid-column:1;grid-row:1}
 .site-body.henhouse-feed-body .henhouse-feed-order-card{grid-column:1;grid-row:2}
}
.site-body.henhouse-body .message-composer [data-character-count]{font-weight:400}
.site-body .arena-vote-error{grid-column:1/-1;background:#fff1e9;color:#a42213;padding:12px 16px;font-size:13px;text-align:center}

}
