/* V6: three lower columns, calendar inside operations. Based on approved V5 homepage. Scoped here; shared layout, forum and ACMI assets stay unchanged. */
.home-ts3-layout { --hp-blue:#286fd0; --hp-gold:#e8c37c; }
body:has(.home-ts3-layout) { min-width:0; --content:calc(100% - clamp(40px,8vw,320px)); }
body:has(.home-ts3-layout) .header-inner { min-height:64px; }
body:has(.home-ts3-layout) .brand-mark { width:43px; height:43px; }
body:has(.home-ts3-layout) .brand-mark img { width:39px; height:39px; }
body:has(.home-ts3-layout) .announcement-inner { min-height:28px; }
.home-ts3-layout .hp-hero { grid-area:hero; min-height:0; border-radius:4px; }
.hp-hero::before { background:linear-gradient(90deg,rgba(4,13,26,.97),rgba(5,17,33,.8) 55%,rgba(5,17,33,.65)),url('/assets/hero-emblem.png') center 45%/cover no-repeat; }
.hp-hero-grid { display:grid; grid-template-columns:minmax(0,1fr) 190px; gap:10px 22px; align-items:center; padding:16px 22px; }
.hp-intro { min-width:0; }
.hp-intro .eyebrow { margin-bottom:8px; font-size:10px; }
.home-ts3-layout .hp-hero h1 { max-width:none; font-size:clamp(30px,2.1vw,50px); letter-spacing:-.045em; line-height:1.1; }
.home-ts3-layout .hp-hero h1 em { display:inline; margin:0; color:var(--hp-gold); }
.hp-intro>p { margin:10px 0 0; max-width:95ch; color:#becadd; font-size:13px; line-height:1.65; }
.hp-hero .anniversary-mark { width:180px; justify-self:center; }
.hp-hero .anniversary-number { font-size:78px; margin:5px 0; }
.hp-hero .anniversary-dates { font-size:8px; }
.hp-hero .anniversary-title { font-size:8px; }
.hp-hero .anniversary-motto { font-size:8px; margin-top:7px; }
.hp-actions { grid-column:1 / -1; display:flex; flex-wrap:wrap; align-items:center; gap:8px; margin:0; }
.home-ts3-layout .hp-actions>a { display:inline-flex; align-items:center; gap:7px; min-height:36px; padding:0 14px; border-radius:8px; font-size:11px; box-shadow:none; }
.hp-actions .icon { width:15px; height:15px; }
.hp-actions .secondary-button { background:#ffffff09; color:#e7edf7; border-color:#ffffff30; }
.hp-actions .secondary-button:hover { background:#ffffff18; border-color:#d3b575; }
.hp-stats { grid-column:1 / -1; display:flex; flex-wrap:wrap; gap:26px; margin:0; }
.hp-stats>div { display:flex; align-items:baseline; gap:7px; }
.hp-stats strong { color:#e9f0f9; font-size:16px; font-weight:650; }
.hp-stats span { color:#9baec6; text-transform:uppercase; font-size:9px; letter-spacing:.08em; }
.hp-workspace { display:grid; grid-template-columns:minmax(0,1fr) clamp(215px,22vw,340px) clamp(310px,23vw,410px); grid-template-areas:"hero hero hero" "activity mission voice"; grid-template-rows:auto auto; gap:12px 16px; padding-top:14px; padding-bottom:16px; align-items:stretch; }
.hp-voice-rail { grid-area:voice; position:static; align-self:stretch; height:auto; min-height:clamp(540px,calc(100dvh - 470px),620px); min-width:0; }
.hp-activity { grid-area:activity; min-width:0; display:flex; flex-direction:column; border:1px solid var(--line); border-radius:4px; background:var(--surface); }
.hp-workspace .section-heading { margin:0; padding:0 16px; min-height:58px; align-items:center; border-bottom:1px solid var(--line); }
.hp-workspace .section-heading h2 { font-size:20px; line-height:1.2; }
.hp-workspace .section-heading .text-button { font-size:11px; }
.hp-section-label { display:none; }
.hp-posts { flex:1; display:grid; grid-template-rows:repeat(var(--hp-post-count,4),minmax(min-content,1fr)); border:0; border-radius:0; background:var(--surface); }
.hp-post { display:flex; align-items:center; gap:12px; padding:12px 16px; min-width:0; min-height:68px; }
.hp-post+.hp-post { border-top:1px solid var(--line); }
.hp-post:hover { background:var(--surface-2); }
.hp-post-avatar { width:40px; height:40px; flex-shrink:0; display:grid; place-items:center; background:var(--blue-100); color:var(--blue-600); border-radius:4px; font-size:12px; font-weight:750; }
.hp-post:nth-child(2n) .hp-post-avatar { color:#93733e; background:#b08b3715; }
.hp-post-copy { flex:1; display:grid; grid-template-columns:minmax(0,1fr) auto; align-items:center; min-width:0; gap:3px 24px; }
.hp-post-copy>small { grid-column:1; grid-row:2; font-size:10px; color:var(--soft); text-transform:uppercase; letter-spacing:.04em; }
.hp-post-copy>strong { grid-column:1; grid-row:1; font-size:16px; line-height:1.45; font-weight:650; }
.hp-post-copy>span { grid-column:2; grid-row:1 / 3; font-size:12px; color:var(--muted); }
.hp-post-copy i { font-style:normal; padding:0 6px; }
.hp-post-replies { display:flex; align-items:center; gap:4px; color:var(--muted); font-size:11px; min-width:35px; }
.hp-post-replies .icon,.hp-post>.icon { width:14px; height:14px; flex-shrink:0; }
.hp-post>.icon { color:var(--soft); }
.hp-mission { grid-area:mission; display:flex; flex-direction:column; border:1px solid var(--line); background:var(--surface); border-radius:4px; overflow:hidden; min-width:0; }
.hp-mission-top { min-height:58px; padding:10px 16px; display:flex; justify-content:space-between; align-items:center; gap:8px; font-size:12px; font-weight:750; text-transform:uppercase; letter-spacing:.05em; border-bottom:1px solid var(--line); }
.hp-mission-top>.icon { width:15px; height:15px; color:var(--muted); }
.hp-mission-art { min-height:140px; display:flex; flex-direction:column; justify-content:center; align-items:center; gap:10px; padding:20px; color:#b3c8e4; background:repeating-linear-gradient(0deg,transparent 0 23px,#ffffff06 23px 24px),repeating-linear-gradient(90deg,transparent 0 23px,#ffffff06 23px 24px),linear-gradient(115deg,#10253f,#173b59); }
.hp-mission-art>.icon { width:48px; height:48px; color:#8caccb; }
.hp-mission-art>span { font-size:9px; letter-spacing:.1em; text-align:center; }
.hp-mission-copy { display:flex; flex:1; flex-direction:column; align-items:flex-start; gap:14px; padding:22px 20px; min-width:0; }
.hp-mission-copy>small { font-size:10px; font-weight:750; color:var(--soft); letter-spacing:.06em; }
.hp-mission-copy>h3 { font-size:22px; line-height:1.3; margin:0; letter-spacing:-.025em; }
.hp-mission-copy>p { font-size:13px; line-height:1.65; color:var(--muted); margin:0; }
.hp-mission-copy>div { display:flex; flex-wrap:wrap; gap:10px 14px; color:var(--muted); font-size:12px; }
.hp-mission-copy>div>span { display:flex; align-items:center; gap:5px; }
.hp-mission-copy .icon { width:14px; height:14px; }
.hp-mission-copy>a { display:flex; align-items:center; justify-content:center; gap:12px; color:var(--blue-600); font-size:11px; font-weight:750; padding:10px 12px; border:1px solid var(--line); border-radius:4px; }
.hp-voice { height:100%; display:flex; flex-direction:column; min-width:0; border:1px solid #b8cbe3; border-radius:4px; overflow:hidden; background:var(--surface); color:var(--text); box-shadow:none; }
.hp-voice-heading { min-height:58px; padding:10px 15px; display:flex; align-items:center; gap:10px; border-bottom:1px solid var(--line); }
.hp-voice-heading>div { line-height:1; }
.hp-headset { display:grid; place-items:center; background:var(--blue-100); color:var(--hp-blue); width:33px; height:33px; border-radius:9px; flex-shrink:0; }
.hp-headset svg { width:21px; height:21px; stroke-width:1.6; stroke-linecap:round; stroke-linejoin:round; }
.hp-voice-heading>div>span { display:block; line-height:1.2; color:var(--muted); font-size:8px; letter-spacing:.1em; font-weight:750; }
.hp-voice-heading h2 { font-size:20px; line-height:1.2; letter-spacing:-.03em; margin:0; }
.hp-voice-badge { margin-left:auto; padding:4px 7px; font-size:8px; font-weight:750; letter-spacing:.04em; border:1px solid #c4943636; background:#d4a13e16; color:#9a6b1e; border-radius:5px; }
body.is-dark .hp-voice-badge { color:var(--hp-gold); }
.hp-voice-content { flex:1 1 0; height:auto; min-height:0; overflow:auto; background:var(--surface-2); padding:8px 13px; scrollbar-width:thin; }
.hp-live-frame { display:block; border:0; background:#f8fafc; width:100%; height:100%; min-height:0; }
.hp-voice-content:has(.hp-live-frame) { padding:0; }
.hp-voice-footer { position:relative; display:grid; grid-template-columns:1fr; align-items:center; gap:8px; padding:10px 15px 20px; border-top:1px solid var(--line); }
.hp-server-address { display:flex; align-items:center; justify-content:space-between; gap:7px; min-width:0; }
.hp-server-address code { font-size:11px; color:var(--muted); }
.hp-server-address button { display:flex; align-items:center; gap:4px; min-height:32px; padding:4px; color:var(--blue-600); background:none; border:0; font-size:10px; font-weight:650; cursor:pointer; }
.hp-server-address button .icon { width:12px; height:12px; }
.home-ts3-layout .hp-connect { width:100%; justify-content:space-between; gap:16px; min-height:40px; padding:0 14px; font-size:11px; border-radius:8px; box-shadow:none; }
.hp-full-view { display:flex; align-items:center; justify-content:center; gap:4px; min-height:32px; color:var(--blue-600); font-size:10px; font-weight:650; white-space:nowrap; }
.hp-full-view .icon { width:13px; height:13px; }
.hp-full-view:hover { text-decoration:underline; }
.hp-copy-feedback { position:absolute; left:15px; bottom:2px; color:var(--muted); font-size:9px; }
/* Keep all existing footer information, without repeating the social strip. */
body:has(.home-ts3-layout) .footer-inner { min-height:0; padding-top:8px; padding-bottom:8px; gap:6px 20px; }
body:has(.home-ts3-layout) .footer-brand img { width:30px; height:30px; border-radius:7px; }
body:has(.home-ts3-layout) .footer-brand strong { font-size:12px; }
body:has(.home-ts3-layout) .footer-brand small { font-size:10px; }
body:has(.home-ts3-layout) .footer-navigation { display:flex; align-items:center; gap:20px; }
body:has(.home-ts3-layout) .footer-social a { width:28px; height:28px; border-radius:7px; }
body:has(.home-ts3-layout) .footer-social .icon { width:14px; height:14px; }
body:has(.home-ts3-layout) .footer-online { padding:4px 0 0; gap:8px 18px; }
body:has(.home-ts3-layout) .footer-online>strong,body:has(.home-ts3-layout) .footer-online-users { font-size:10px; }
@media(min-width:2200px) {
 .hp-hero-grid { grid-template-columns:minmax(0,1fr) 210px; padding:24px 28px; }
 .hp-hero .anniversary-mark { width:190px; }
 .hp-hero .anniversary-number { font-size:84px; }
 .hp-intro>p { font-size:16px; }
 .hp-actions>a { min-height:40px; }
 .hp-post { padding:12px 20px; }
 .hp-post-copy>strong { font-size:17px; }
 .hp-post-copy>small,.hp-post-copy>span { font-size:12px; }
 .hp-workspace { gap:12px 20px; padding-top:16px; padding-bottom:18px; }
 .hp-mission-copy>h3 { font-size:22px; }
 .hp-mission-copy>div { font-size:12px; }
}
@media(min-width:1900px) {
 .hp-hero-grid { grid-template-columns:minmax(0,1fr) 360px; row-gap:8px; padding-top:15px; padding-bottom:15px; }
 .hp-hero .anniversary-mark { justify-self:end; }
 .hp-actions { grid-column:1; grid-row:2; }
 .hp-stats { grid-column:2; grid-row:2; justify-content:flex-end; }
}
@media(min-width:960px) {
 body:has(.home-ts3-layout) .footer-inner { grid-template-columns:auto minmax(0,1fr) auto; }
 body:has(.home-ts3-layout) .footer-navigation { grid-column:3; grid-row:1; }
 body:has(.home-ts3-layout) .footer-online { grid-column:2; grid-row:1; grid-template-columns:1fr; justify-self:center; border:0; padding:0; gap:2px; }
}
@media(max-width:1200px) {
 .hp-workspace { grid-template-columns:minmax(0,1fr) 215px 310px; column-gap:12px; }
 .hp-hero-grid { grid-template-columns:minmax(0,1fr) 165px; gap:10px 14px; padding:14px 16px; }
 .hp-hero .anniversary-mark { width:150px; }
 .hp-hero .anniversary-number { font-size:66px; }
 .hp-intro .eyebrow { display:none; }
 .home-ts3-layout .hp-actions>a { padding:0 8px; font-size:10px; }
 .hp-mission { grid-template-columns:110px minmax(0,1fr); }
 .hp-mission-copy { padding:12px; }
 .hp-mission-copy>h3 { font-size:20px; }
 .hp-server-address { gap:5px; }
 .hp-voice-footer { gap:8px; }
 body:has(.home-ts3-layout) .footer-navigation { gap:12px; }
}
@media(max-width:960px) {
 .hp-workspace { grid-template-columns:1fr; grid-template-areas:"hero" "activity" "mission" "voice"; grid-template-rows:auto; }
 .hp-voice-rail { height:560px; min-height:0; }
 .hp-hero-grid { grid-template-columns:1fr; gap:14px; }
 .hp-hero .anniversary-mark { grid-row:1; width:100%; justify-self:start; }
 .hp-hero .anniversary-number { font-size:52px; }
 .hp-hero .anniversary-title,.hp-hero .anniversary-dates { font-size:10px; }
 .hp-post-copy>span { font-size:10px; }
 .hp-voice-footer { grid-template-columns:1fr; }
 .hp-server-address { justify-content:space-between; }
 body:has(.home-ts3-layout) .footer-inner { grid-template-columns:1fr; }
 body:has(.home-ts3-layout) .footer-navigation { justify-content:space-between; flex-wrap:wrap; }
}
@media(max-width:640px) {
 body:has(.home-ts3-layout) { --content:calc(100% - 28px); }
 .hp-intro .eyebrow { display:none; }
 .home-ts3-layout .hp-hero h1 { font-size:32px; }
 .home-ts3-layout .hp-hero h1 em { display:block; margin-top:3px; }
 .hp-intro>p { font-size:13px; }
 .hp-actions { gap:7px; }
 .home-ts3-layout .hp-actions>a { min-height:42px; flex:1 1 140px; justify-content:center; padding:0 9px; font-size:10px; }
 .hp-stats { justify-content:space-between; gap:10px; }
 .hp-stats>div { display:grid; gap:0; }
 .hp-stats strong { font-size:17px; }
 .hp-stats span { font-size:8px; }
 .hp-workspace .section-heading h2 { font-size:20px; }
 .hp-workspace .section-heading .text-button { font-size:10px; }
 .hp-post { padding:10px; gap:9px; }
 .hp-post-avatar { width:28px; height:28px; }
 .hp-post-copy { grid-template-columns:1fr; gap:2px; }
 .hp-post-copy>strong { font-size:13px; }
 .hp-post-copy>small { font-size:8px; }
 .hp-post-copy>span { grid-column:1; grid-row:3; }
 .hp-post-replies { display:none; }
 .hp-mission { min-height:150px; }
 .hp-mission-copy { grid-template-columns:1fr; }
 .hp-mission-copy>a { grid-column:1; grid-row:auto; justify-self:start; margin-top:4px; }
 .hp-voice-rail { height:560px; }
 .hp-voice-empty { min-height:240px; }
 .hp-voice-heading { padding:12px; }
 .hp-voice-footer { padding:10px 12px 22px; }
 .home-ts3-layout .hp-connect { min-height:42px; }
 .hp-server-address button { min-height:40px; }
 body:has(.home-ts3-layout) .footer-inner { padding-top:15px; padding-bottom:15px; }
 body:has(.home-ts3-layout) .footer-online { grid-template-columns:1fr; }
}
@media(max-width:380px) {
 body:has(.home-ts3-layout) .header-inner { gap:8px; }
 body:has(.home-ts3-layout) .brand { gap:7px; }
 body:has(.home-ts3-layout) .brand-mark { width:33px; height:36px; }
 body:has(.home-ts3-layout) .brand-copy strong { font-size:11px; }
 body:has(.home-ts3-layout) .header-actions { gap:3px; }
 body:has(.home-ts3-layout) .header-actions .icon-button,body:has(.home-ts3-layout) .menu-button { width:33px; min-width:33px; }
 .hp-voice-heading>div { min-width:0; }
 .hp-voice-badge { font-size:7px; }
 .hp-stats { gap:5px; }
 .hp-mission { grid-template-columns:90px minmax(0,1fr); }
 .hp-mission-art { padding:10px; }
 .hp-mission-art>span { font-size:7px; }
}
@media(prefers-reduced-motion:reduce) { .home-ts3-layout * { scroll-behavior:auto; transition:none; } }


/* Real content may wrap; do not clip titles or attendee names. */
.hp-post-copy>strong,.hp-post-copy>span,.hp-mission-copy>h3 { overflow-wrap:anywhere; }
.hp-post-copy>span { max-width:32ch; }
.hp-post-empty { display:flex; align-items:center; justify-content:center; gap:10px; padding:24px; color:var(--muted); }
.hp-post-empty .icon { width:20px; height:20px; }
.hp-mission-copy .pilot-stack { display:flex; align-items:center; gap:4px; }
.hp-mission-copy .pilot-avatar { width:24px; height:24px; margin:0; border:1px solid var(--line); font-size:9px; }
.hp-actions .discord-button-copy { gap:0; }
.hp-actions .discord-button-copy strong { font-size:11px; }
.hp-actions .discord-button-copy small { font-size:8px; }
@media(max-width:1200px) { .hp-actions .discord-button-copy strong { font-size:10px; } }
@media(max-width:640px) { .hp-post-copy>span { max-width:none; } }


.hp-mission-calendar { display:flex; align-items:center; justify-content:space-between; gap:10px; padding:14px 16px; color:var(--blue-600); font-size:12px; font-weight:750; border-top:1px solid var(--line); }
.hp-mission-calendar:hover { background:var(--surface-2); }
.hp-mission-calendar>span { display:flex; align-items:center; gap:8px; }
.hp-mission-calendar .icon { width:16px; height:16px; flex-shrink:0; }
@media(min-width:961px) and (max-width:1400px) {
 .hp-post { gap:8px; padding:12px; }
 .hp-post-avatar { width:32px; height:32px; font-size:10px; }
 .hp-post-copy { grid-template-columns:1fr; gap:3px; }
 .hp-post-copy>strong { font-size:14px; }
 .hp-post-copy>small { font-size:8px; }
 .hp-post-copy>span { grid-column:1; grid-row:3; font-size:10px; }
 .hp-post-replies { min-width:24px; }
 .hp-mission-copy { padding:18px 14px; }
 .hp-mission-copy>h3 { font-size:20px; }
}
@media(max-width:960px) {
 .hp-mission { display:grid; grid-template-columns:110px minmax(0,1fr); }
 .hp-mission-top,.hp-mission-calendar { grid-column:1 / -1; }
 .hp-mission-art { grid-column:1; grid-row:2; min-height:120px; }
 .hp-mission-copy { grid-column:2; grid-row:2; padding:16px; gap:10px; }
}
@media(max-width:380px) {
 .hp-mission { grid-template-columns:80px minmax(0,1fr); }
 .hp-mission-art>.icon { width:32px; height:32px; }
 .hp-mission-copy { padding:12px; }
}
