/* Star Citizen overview: forum navigation and real destinations, scoped to this page. */
.sc-home{--sc-line:#29404f;--sc-soft:#9fb5c6;background:#080f16;min-height:75vh}
.sc-home .sc-frame{width:min(1440px,calc(100% - 2 * clamp(18px,4vw,64px)));margin-inline:auto}
.sc-home :where(h1,h2,h3,p){margin-top:0}
.sc-home :where(a,button):focus-visible{outline:2px solid var(--blue);outline-offset:4px}
.sc-home .sc-forum-banner{position:relative;isolation:isolate;overflow:hidden;background:#0b1a28;border-bottom:1px solid var(--sc-line)}
.sc-home .sc-banner-image,.sc-home .sc-banner-shade{position:absolute;inset:0;z-index:-2;width:100%;height:100%}
.sc-home .sc-banner-image{object-fit:cover;object-position:65% 48%;display:block}
.sc-home .sc-banner-shade{z-index:-1;background:linear-gradient(90deg,#08131ff5 0%,#08131fd9 38%,#08131f55 75%,#08131f22),linear-gradient(0deg,#08131fb3,transparent 70%)}
.sc-home .sc-banner-inner{padding-block:22px 32px}
.sc-home .sc-breadcrumb{display:inline-flex;align-items:center;min-height:32px;font-size:9px;letter-spacing:.1em;color:#b0c5d6;margin-bottom:12px}
.sc-home .sc-breadcrumb:hover{color:var(--blue)}
.sc-home .sc-banner-label{font-size:9px;line-height:1.6;letter-spacing:.16em;color:var(--bronze);margin-bottom:8px}
.sc-home .sc-forum-banner h1{font-size:clamp(36px,4.4vw,62px);font-weight:600;line-height:1.1;letter-spacing:-.045em;margin-bottom:13px}
.sc-home .sc-forum-banner h1 span{color:var(--blue)}
.sc-home .sc-banner-copy{color:#adc3d4;font-size:14px;line-height:1.8;margin-bottom:0;max-width:50ch}
.sc-home .sc-forum-layout{display:grid;grid-template-columns:224px minmax(0,1fr);align-items:start;gap:24px;padding-block:28px 76px}

/* Vertical links navigate to the existing standalone tools. */
.sc-home .sc-sidebar{position:sticky;top:24px;min-width:0;background:#101c27;border:1px solid var(--sc-line);border-radius:8px;overflow:hidden}
.sc-home .sc-sidebar-heading{padding:22px 20px 15px;font-size:10px;line-height:1.5;letter-spacing:.14em;font-weight:600;color:var(--bronze)}
.sc-home .sc-side-nav{display:flex;flex-direction:column;gap:4px;padding:0 10px 14px}
.sc-home .sc-side-nav a{display:flex;align-items:center;gap:12px;min-height:48px;padding:13px 12px;border-left:2px solid transparent;border-radius:5px;font-size:10px;font-weight:600;letter-spacing:.07em;color:#9fb8ca;line-height:1.5}
.sc-home .sc-side-nav a::before{content:"";width:5px;height:5px;flex:0 0 5px;border-radius:50%;background:#49697e}
.sc-home .sc-side-nav a:hover,.sc-home .sc-side-nav a[aria-current]{background:#17364b;color:#eef8ff;border-left-color:var(--blue)}
.sc-home .sc-side-nav a[aria-current]::before{background:var(--blue)}
.sc-home .sc-sidebar-bottom{display:flex;flex-direction:column;gap:4px;border-top:1px solid var(--sc-line);padding:12px 20px}
.sc-home .sc-sidebar-bottom a{display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:40px;font-size:8px;letter-spacing:.06em;color:#9ab5c8;line-height:1.6}
.sc-home .sc-sidebar-bottom a:hover{color:var(--blue)}
.sc-home .sc-sidebar-bottom a span{font-size:15px;color:var(--bronze)}

/* The overview is a directory, without invented posts or member counts. */
.sc-home .sc-overview{min-width:0}
.sc-home .sc-overview-heading{display:flex;justify-content:space-between;align-items:center;gap:28px;padding:0 0 22px}
.sc-home .sc-section-label{font-size:9px;line-height:1.6;letter-spacing:.12em;color:#829fb3;margin-bottom:7px}
.sc-home .sc-overview-heading h2{font-size:30px;line-height:1.2;letter-spacing:-.035em;font-weight:600;margin:0}
.sc-home .sc-overview-heading>p{font-size:12px;line-height:1.8;color:var(--sc-soft);margin:0;max-width:40ch}
.sc-home .sc-hub-panel{border:1px solid var(--sc-line);border-radius:8px;overflow:hidden;background:#101c27;margin-bottom:22px}
.sc-home [hidden]{display:none!important}
.sc-home .sc-member-access{padding:30px clamp(20px,3vw,34px)}
.sc-home .sc-member-access h3{font-size:25px;font-weight:500;letter-spacing:-.025em;line-height:1.3;margin-bottom:14px}
.sc-home .sc-member-access p{font-size:13px;line-height:1.85;color:var(--sc-soft);max-width:65ch;margin-bottom:22px}
.sc-home .sc-member-access .ng-button{font-size:10px;min-height:44px}
.sc-home .sc-member-access[aria-busy="true"] p{margin-bottom:0}
.sc-home .sc-panel-heading{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:16px 22px;border-bottom:1px solid var(--sc-line);background:#132331;min-height:56px}
.sc-home .sc-panel-heading h2{font-size:11px;letter-spacing:.1em;line-height:1.5;font-weight:600;margin:0;color:#d9e8f3}
.sc-home .sc-panel-heading>span{font-size:8px;letter-spacing:.1em;line-height:1.6;color:#86a4b9;text-align:right}
.sc-home .sc-panel-heading>a{display:inline-flex;align-items:center;gap:12px;font-size:9px;letter-spacing:.05em;min-height:28px;color:#8dcfee}
.sc-home .sc-panel-heading>a:hover{color:#fff}
.sc-home .sc-panel-heading>a span{font-size:15px}
.sc-home .sc-hub-row{display:grid;grid-template-columns:40px minmax(148px,.65fr) minmax(0,1fr) 18px;align-items:center;gap:22px;min-height:94px;padding:20px 22px;border-bottom:1px solid #29404f99;transition:background .18s}
.sc-home .sc-hub-row:last-child{border-bottom:0}
.sc-home .sc-hub-row:hover{background:#15304466}
.sc-home .sc-hub-row:focus-visible{outline-offset:-3px}
.sc-home .sc-hub-icon{display:grid;place-items:center;width:40px;height:40px;background:#163447;border:1px solid #31556a;border-radius:7px;color:#85ccea}
.sc-home .sc-hub-icon svg{width:23px;height:23px}
.sc-home .sc-hub-row-title{min-width:0}
.sc-home .sc-hub-row h3{font-size:13px;font-weight:600;line-height:1.5;letter-spacing:.035em;color:#e4f0f9;margin:0;overflow-wrap:anywhere}
.sc-home .sc-hub-row p{font-size:12px;color:var(--sc-soft);line-height:1.85;margin:0;max-width:48ch}
.sc-home .sc-hub-arrow{font-size:25px;color:#6792ad;justify-self:end}
.sc-home .sc-hub-row:hover .sc-hub-arrow{color:var(--blue)}
.sc-home .sc-coming{display:inline-block;font-size:8px;color:var(--bronze);line-height:1.6;letter-spacing:.08em;margin-top:4px}

/* Keep the existing Discord preview and its honest sign-in/empty/error states. */
.sc-home .sc-overview-bottom{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(0,1fr);gap:22px;align-items:start}
.sc-home .sc-events-panel{margin-bottom:0;min-width:0}
.sc-home .sc-events-body{padding:22px}
.sc-home .community-event-grid{grid-template-columns:minmax(0,1fr);gap:0;margin-bottom:0}
.sc-home .community-event-card{padding:18px 0;border:0;border-top:1px solid var(--sc-line);background:transparent}
.sc-home .community-event-card:first-child{border-top:0;padding-top:0}
.sc-home .community-event-card:last-child{padding-bottom:0}
.sc-home .community-event-card h3{font-size:19px;font-weight:500;line-height:1.4;letter-spacing:-.02em;margin-block:10px}
.sc-home .community-date{font-size:11px}
.sc-home .community-kicker{font-size:8px}
.sc-home .community-empty{background:transparent;border:0;padding:0;margin-bottom:0}
.sc-home .community-empty h3{font-size:20px;line-height:1.4;margin-bottom:12px}
.sc-home .community-empty p{font-size:12px;line-height:1.85;max-width:44ch;margin-bottom:16px}
.sc-home .community-empty .ng-button{font-size:9px;padding:12px 16px;gap:16px;min-height:44px}
.sc-home [data-community-view]>p{font-size:12px;line-height:1.8;color:var(--sc-soft);margin:0}
.sc-home .community-link{font-size:9px}
.sc-home .sc-welcome-panel{border:1px solid var(--sc-line);border-radius:8px;padding:24px;background:#101c27}
.sc-home .sc-welcome-panel>img{display:block;width:54px;height:auto;margin-bottom:18px}
.sc-home .sc-welcome-panel h2{font-size:17px;line-height:1.5;letter-spacing:-.015em;font-weight:600;margin-bottom:12px}
.sc-home .sc-welcome-panel p{font-size:12px;line-height:1.85;color:var(--sc-soft);margin-bottom:18px;max-width:34ch}
.sc-home .sc-welcome-panel .ng-button{width:100%;gap:16px;font-size:9px;padding:12px 14px;min-height:44px}

@media(max-width:1100px){
 .sc-home .sc-forum-layout{grid-template-columns:194px minmax(0,1fr);gap:20px}
 .sc-home .sc-hub-row{grid-template-columns:36px minmax(0,1fr) 18px;gap:6px 18px;padding:18px 20px}
 .sc-home .sc-hub-icon{grid-row:1/3;width:36px;height:36px}
 .sc-home .sc-hub-row-title{grid-column:2;grid-row:1}
 .sc-home .sc-hub-row p{grid-column:2;grid-row:2}
 .sc-home .sc-hub-arrow{grid-column:3;grid-row:1/3}
 .sc-home .sc-overview-bottom{grid-template-columns:minmax(0,1fr)}
 .sc-home .sc-welcome-panel .ng-button{width:auto}
 .sc-home .sc-overview-heading{align-items:start;flex-direction:column;gap:12px}
 .sc-home .sc-overview-heading>p{max-width:55ch}
 .sc-home .sc-panel-heading>span{display:none}
}
@media(max-width:760px){
 .sc-home .sc-frame{width:calc(100% - 36px)}
 .sc-home .sc-banner-inner{padding-block:20px 24px}
 .sc-home .sc-breadcrumb{display:none}
 .sc-home .sc-forum-banner h1{font-size:36px;margin-bottom:10px}
 .sc-home .sc-banner-copy{font-size:12px;max-width:40ch}
 .sc-home .sc-forum-layout{grid-template-columns:minmax(0,1fr);gap:20px;padding-block:20px 48px}
 .sc-home .sc-sidebar{position:static}
 .sc-home .sc-sidebar-heading{padding:14px 16px 10px;font-size:9px}
 .sc-home .sc-side-nav{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px;padding:0 8px 10px}
 .sc-home .sc-side-nav a{min-height:44px;font-size:9px;padding:11px 10px;gap:10px}
 .sc-home .sc-sidebar-bottom{flex-direction:row;justify-content:space-between;flex-wrap:wrap;padding:6px 16px;gap:0 20px}
 .sc-home .sc-sidebar-bottom a{font-size:8px;min-height:40px}
 .sc-home .sc-overview-heading{padding-bottom:20px}
 .sc-home .sc-overview-heading h2{font-size:27px}
 .sc-home .sc-panel-heading{padding:14px 16px;gap:12px}
 .sc-home .sc-panel-heading h2{font-size:10px;letter-spacing:.07em}
 .sc-home .sc-panel-heading>a{font-size:8px;gap:7px}
 .sc-home .sc-hub-row{padding:17px 15px;gap:6px 12px;grid-template-columns:32px minmax(0,1fr) 14px}
 .sc-home .sc-hub-icon{width:32px;height:32px}
 .sc-home .sc-hub-icon svg{width:20px;height:20px}
 .sc-home .sc-hub-row h3{font-size:12px}
 .sc-home .sc-hub-row p{font-size:11px;line-height:1.8}
 .sc-home .sc-hub-panel{margin-bottom:18px}
 .sc-home .sc-overview-bottom{gap:18px}
 .sc-home .sc-events-panel{margin-bottom:0}
 .sc-home .sc-events-body,.sc-home .sc-welcome-panel{padding:20px}
}
@media(prefers-reduced-motion:reduce){.sc-home .sc-hub-row{transition:none}}
.sc-home .sc-org-link{display:inline-flex;align-items:center;gap:12px;min-height:44px;padding-top:9px;color:#8dd7ef;font-size:10px;letter-spacing:.045em}
.sc-home .sc-org-link:hover{color:#d3f1fc}.sc-home .sc-org-en{display:none}html[lang=en] .sc-home .sc-org-da{display:none}html[lang=en] .sc-home .sc-org-en{display:inline}
