/* Project G homepage — the approved graphite/crimson discovery layout. */
html.astral-paging{scroll-snap-type:none;scroll-padding-top:92px}
body.portal-home{--home-bg:#101114;--home-panel:#191b20;--home-line:#41434a;--home-red:#d52d48;--home-muted:#b2b4bd;background:var(--home-bg);color:#f4f1eb}
.portal-home .page-jumps{display:none}
.portal-home .header{position:sticky;top:0;z-index:70;height:78px;min-height:78px;padding:0 max(24px,calc((100% - 1320px)/2));gap:28px;flex-wrap:nowrap;background:#111215f2;border-bottom:1px solid #3b3c41;backdrop-filter:blur(16px)}
.portal-home .header .brand img.project-g-logo{width:178px;height:60px;object-fit:contain;filter:none}
.portal-home .home-navigation{display:flex;align-items:center;justify-content:flex-end;gap:26px;flex:1;min-width:0}
.portal-home .header .home-navigation nav{display:flex;align-items:center;justify-content:flex-end;gap:clamp(14px,1.5vw,24px);width:auto;order:initial;padding:0;overflow:visible;white-space:nowrap}
.portal-home .header nav a{color:#d8d8dd;font-size:14px;line-height:1.5;padding:26px 0;position:relative}
.portal-home .header nav a:hover,.portal-home .header nav a[aria-current]{color:#fff}
.portal-home .header nav a::after{background:var(--home-red);height:3px;bottom:15px}
.portal-home .header .nav-actions{gap:12px;margin:0}
.portal-home .header .language{font-size:12px;color:#bbbcc5;white-space:nowrap}
.portal-home .header .nav-actions .button.small{border:1px solid #484b54;background:#22252b;color:#eee;border-radius:6px;padding:9px 12px;font-size:12px;box-shadow:none}
.portal-home .home-menu{display:none}
.portal-home main>#discover.section{display:block;min-height:0;width:min(1320px,calc(100% - 48px));max-width:none;margin:0 auto;padding:38px 0 36px;background:none;scroll-snap-align:none;opacity:1;transform:none;position:relative}
.portal-home #discover::before{content:'';position:absolute;z-index:-1;inset:0 -24px auto;height:260px;background:linear-gradient(135deg,transparent 58%,#3b1a2359 58%,#31151d59 67%,transparent 67%);pointer-events:none}
.home-section-heading{margin-bottom:25px;padding-left:32px;position:relative}
.home-section-heading::before{content:'';position:absolute;left:3px;top:11px;width:13px;height:28px;transform:skew(-28deg);background:linear-gradient(#ed3c58,#9d2036)}
.portal-home .home-section-heading .astral-heading{display:block;margin:0;color:#f7f3ed;font-size:clamp(29px,3.1vw,44px);font-weight:500;line-height:1.4;letter-spacing:0}
.portal-home .home-section-heading .astral-heading::before,.portal-home .home-section-heading .astral-heading::after{display:none}
.home-section-heading p{font-size:16px;margin:6px 0 0;color:#b7b7bf;line-height:1.6}
.portal-home #discover .category-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));grid-template-rows:auto auto;gap:16px;width:100%;padding:0}
.portal-home #discover .category-banner{grid-column:auto;grid-row:auto;position:relative;display:block;min-width:0;border:1px solid #55545c;border-radius:11px;aspect-ratio:auto;height:auto;min-height:0;background:#17191e;isolation:isolate;overflow:hidden;transition:border-color .18s,box-shadow .18s}
.portal-home #discover .category-banner:hover{border-color:#a15a67;box-shadow:0 8px 30px #0005}
.portal-home #discover .category-banner:focus-visible{outline:2px solid #ee536d;outline-offset:4px}
.portal-home #discover .category-banner:not(.event-slider){grid-column:span 2}
.portal-home #discover .category-banner.event-slider{grid-column:span 4;grid-row:1;aspect-ratio:auto;height:auto;padding-bottom:34px;border-radius:11px}
.portal-home #discover .event-slider::before{content:'';display:block;aspect-ratio:16/9}
.portal-home #discover .event-slider .category-slide{bottom:34px}
.portal-home #discover .home-archive-card{grid-column:span 2;grid-row:1}
.portal-home #discover .category-slide{background:#14151a}
.portal-home #discover .event-slider .category-slide>img{object-fit:contain;object-position:center;width:100%;height:100%;transform:none}
.portal-home #discover .event-slider .category-slide::after{display:none}
.portal-home #discover .category-slide[hidden]{display:none}
.portal-home #discover .event-slider .slider-controls{left:14px;right:14px;bottom:4px;gap:8px}
.portal-home #discover .slider-controls button{width:28px;height:27px;border:1px solid #777a8780;background:#121318db;border-radius:5px;color:#fff;display:grid;place-items:center;line-height:1;font-size:17px}
.portal-home #discover .slider-dots{gap:7px;margin-right:auto}
.portal-home #discover .slider-dots button{width:7px;height:7px;margin:5px 0;border:0;border-radius:100%;background:#80818a}
.portal-home #discover .slider-dots button[aria-pressed=true]{background:#f03a58;box-shadow:none}
.portal-home #discover .slider-controls button[hidden]{display:none}
.portal-home #discover .category-banner>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:right center;z-index:-2;transform:none;filter:none}
.portal-home #discover .category-banner:not(.event-slider)::after{content:'';position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,#101216b8,#10121666 36%,transparent 72%),linear-gradient(0deg,#10121655,transparent 48%)}
.portal-home #discover .category-banner .category-copy{position:absolute;inset:20px;max-width:none;display:flex;align-items:flex-start;flex-direction:column;z-index:1;text-shadow:0 1px 8px #0008}
.portal-home #discover .category-copy .eyebrow{font-size:10px;letter-spacing:1.5px;color:#c9c8cd;line-height:1.4;margin-bottom:4px}
.portal-home #discover .category-copy h2{margin:0 0 5px;font-size:clamp(22px,2vw,29px);font-weight:500;color:#fff9f2;line-height:1.35;letter-spacing:0}
.portal-home #discover .category-copy p{font-size:13px;color:#e1e0e4;line-height:1.65;margin:0;max-width:69%;text-wrap:pretty}
.portal-home #discover .category-link{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;gap:14px;min-height:36px;margin-top:auto;padding:6px 14px;border:1px solid #ee536b;border-radius:5px;background:linear-gradient(#cb2943,#8f1b31);color:#fff;font-size:13px;font-weight:500;line-height:1.5;text-shadow:none;box-shadow:inset 0 1px #ffffff20}
.portal-home #discover .home-archive-card .category-copy{inset:22px}
.portal-home #discover .home-archive-card .category-copy h2{font-size:clamp(26px,2.9vw,38px)}
.portal-home #discover .home-archive-card .category-copy h2::before{content:'';display:inline-block;width:9px;height:.65em;margin-right:12px;transform:skew(-24deg);background:#dc314d}
.portal-home #discover .home-archive-card .category-copy p{max-width:100%;font-size:14px}
.portal-home #discover .home-archive-card>img{inset:auto 0 46px;width:100%;height:67%;object-position:center bottom}
.portal-home #discover .category-banner.home-archive-card::after{background:linear-gradient(#14161ae6,transparent 40%),linear-gradient(0deg,#14161a99,transparent 22%)}
.portal-home #discover .home-patch-card,.portal-home #discover .home-cash-card,.portal-home #discover .home-pass-card{height:clamp(180px,14.5vw,210px);grid-row:2}
.portal-home #discover .home-patch-card .eyebrow,.portal-home #discover .home-cash-card .eyebrow,.portal-home #discover .home-pass-card .eyebrow{display:none}
.portal-home #discover .home-pass-card .category-copy h2{font-size:clamp(22px,2vw,29px)}
.portal-home #discover .home-pass-card .category-copy p{max-width:100%}
.portal-home #discover .home-pass-card>img{object-position:80% 48%}
.portal-home #discover .category-banner.home-pass-card::after{background:linear-gradient(90deg,#15131bed,#15131ba6 40%,transparent 88%)}
.home-vote-row{margin-top:16px}
.home-vote-row[hidden]{display:none}
.portal-home .home-vote-row #admin-vote-floating{position:relative;inset:auto;display:grid;grid-template-columns:88px minmax(0,1fr) auto;align-items:center;gap:20px;width:100%;min-height:82px;padding:10px 20px;border:1px solid #57545e;border-radius:10px;background:linear-gradient(115deg,#22242a,#15171c 70%);line-height:1.5;color:#faf5ed;filter:none;z-index:auto;transition:border-color .18s}
.portal-home .home-vote-row #admin-vote-floating[hidden]{display:none}
.portal-home .home-vote-row #admin-vote-floating::after{display:none}
.portal-home .home-vote-row #admin-vote-floating img{width:88px;height:60px;object-fit:contain;animation:none;filter:none}
.home-vote-copy{display:grid;gap:1px;min-width:0}
.home-vote-copy strong{font-size:25px;line-height:1.3;font-weight:500}
.home-vote-subtitle{font-size:13px;color:#c6c5cc}
.home-vote-action{padding:8px 17px;border:1px solid #eb526a;border-radius:5px;background:linear-gradient(#ca2943,#8f1b31);font-size:14px;white-space:nowrap}
.portal-home main>#leaderboard.section{min-height:0;display:block;width:min(1320px,calc(100% - 48px));max-width:none;padding:40px 0;margin:auto;scroll-snap-align:none}
.portal-home #leaderboard .section-heading h2{font-size:28px;font-weight:500}
.portal-home #leaderboard .section-heading{border-color:#41424b}
.portal-home #leaderboard .section-heading::after{background:#d52d48}
.portal-home #leaderboard .eyebrow{color:#c4bbc5}
.portal-home #leaderboard .leaderboard-panel{background:#191b22;border-color:#3e414c;border-radius:8px}
.portal-home #leaderboard .leaderboard-panel th{background:#23252e;color:#d1cfd9}
.portal-home #leaderboard .leaderboard-panel td{border-color:#343742}
.portal-home #leaderboard .leaderboard-tabs button{border-radius:5px;background:#22252d;border-color:#484b56;color:#d7d6de}
.portal-home #leaderboard .leaderboard-tabs button.active{background:#92233a;border-color:#de3d58;color:#fff}
.portal-home footer{padding:26px max(24px,calc((100% - 1320px)/2));background:#0d0f12;border-color:#33353e;scroll-snap-align:none}
.portal-home footer a{font-size:14px}
@media(max-width:1150px) and (min-width:981px){.portal-home .header{padding-inline:20px;gap:18px}.portal-home .header .brand img.project-g-logo{width:150px}.portal-home .home-navigation{gap:18px}.portal-home .header .home-navigation nav{gap:15px}.portal-home .header nav a{font-size:13px}.portal-home .header .nav-actions .button.small{font-size:11px;padding:8px 10px}}
@media(max-width:980px){
 .portal-home .header{padding:0 20px;height:66px;min-height:66px;justify-content:space-between}
 .portal-home .header .brand img.project-g-logo{width:148px;height:48px}
 .portal-home .home-menu{display:grid;place-content:center;gap:5px;width:42px;height:40px;border:1px solid #4b4d56;border-radius:6px;background:#202229;margin-left:auto}
 .portal-home .home-menu span{width:21px;height:2px;background:#eeedf0;transition:transform .16s}
 .portal-home .home-navigation{display:none;position:absolute;top:calc(100% - 1px);left:20px;right:20px;padding:16px;background:#181a20;border:1px solid #4b4b55;border-radius:0 0 9px 9px;box-shadow:0 18px 30px #0007}
 .portal-home.home-menu-open .home-navigation{display:block}
 .portal-home .header .home-navigation nav{display:grid;grid-template-columns:1fr 1fr;gap:5px 20px;justify-content:initial}
 .portal-home .header nav a{padding:11px 2px;font-size:14px}
 .portal-home .header nav a::after{bottom:3px;width:28px}
 .portal-home .header .nav-actions{display:flex;justify-content:space-between;margin-top:12px;padding-top:14px;border-top:1px solid #393c46}
 .portal-home .header .language{font-size:13px}
 .portal-home .header .nav-actions .button.small{font-size:13px}
 .portal-home #discover .category-banner .category-copy{inset:16px}
 .portal-home #discover .category-copy p{font-size:12px;max-width:78%}
 .portal-home #discover .category-copy h2{font-size:23px}
 .portal-home #discover .category-link{font-size:12px;padding:6px 10px;min-height:34px}
 .portal-home #discover .home-archive-card .category-copy{inset:17px}
 .portal-home #discover .home-archive-card .category-copy h2{font-size:27px}
 .portal-home #discover .home-archive-card .category-copy p{font-size:12px}
 .portal-home #discover .home-archive-card>img{height:63%}
}
@media(max-width:760px){
 html.astral-paging{scroll-padding-top:78px}
 .portal-home .header{padding-inline:16px;height:64px;min-height:64px}
 .portal-home .home-navigation{left:16px;right:16px}
 .portal-home main>#discover.section{width:calc(100% - 32px);padding:24px 0 24px;margin:auto}
 .portal-home #discover::before{left:-16px;right:-16px}
 .home-section-heading{padding-left:23px;margin-bottom:18px}
 .home-section-heading::before{width:9px;height:21px;left:2px;top:8px}
 .portal-home .home-section-heading .astral-heading{font-size:27px;line-height:1.4}
 .home-section-heading p{font-size:12px;line-height:1.6;margin-top:4px}
 .portal-home #discover .category-grid{grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:auto;gap:12px}
 .portal-home #discover .category-banner.event-slider{grid-column:1/-1;grid-row:1;aspect-ratio:auto;min-height:0;border-radius:8px}
 .portal-home #discover .category-banner.home-archive-card{grid-column:1/-1;grid-row:2;height:196px;border-radius:8px}
 .portal-home #discover .home-archive-card>img{inset:24px 0 auto;width:100%;height:100%;object-fit:cover;object-position:center 68%}
 .portal-home #discover .category-banner.home-archive-card::after{background:linear-gradient(180deg,#12151af2,transparent 40%),linear-gradient(0deg,#12151a66,transparent 22%)}
 .portal-home #discover .home-archive-card .category-copy{inset:14px}
 .portal-home #discover .home-archive-card .category-copy h2{font-size:27px;margin-bottom:3px}
 .portal-home #discover .home-archive-card .category-copy p{font-size:12px;max-width:100%}
 .portal-home #discover .home-archive-card .category-copy h2::before{width:7px;margin-right:9px}
 .portal-home #discover .home-archive-card .eyebrow{display:none}
 .portal-home #discover .category-banner.home-patch-card,.portal-home #discover .category-banner.home-cash-card{grid-column:span 1;grid-row:3;height:177px;border-radius:8px}
 .portal-home #discover .home-patch-card>img,.portal-home #discover .home-cash-card>img{top:42px;height:calc(100% - 42px);object-position:76% 50%}
 .portal-home #discover .category-banner.home-patch-card::after,.portal-home #discover .category-banner.home-cash-card::after{background:linear-gradient(180deg,#101216d9 0%,transparent 54%),linear-gradient(0deg,#10121655,transparent 25%)}
 .portal-home #discover .category-banner.home-pass-card{grid-column:1/-1;grid-row:4;height:133px;border-radius:8px}
 .portal-home #discover .category-banner .category-copy{inset:12px}
 .portal-home #discover .category-copy h2,.portal-home #discover .home-pass-card .category-copy h2{font-size:20px;line-height:1.3;margin-bottom:3px}
 .portal-home #discover .category-copy p{font-size:11px;line-height:1.5;max-width:100%}
 .portal-home #discover .category-link{min-height:30px;padding:5px 9px;font-size:11px;line-height:1.5;border-radius:4px}
 .portal-home #discover .home-patch-card .category-link,.portal-home #discover .home-cash-card .category-link{font-size:10.5px;padding-inline:7px}
 .portal-home #discover .event-slider .slider-controls{left:10px;right:10px;bottom:5px;gap:6px}
 .portal-home #discover .slider-controls button{width:24px;height:23px;font-size:15px}
 .portal-home #discover .slider-dots button{width:6px;height:6px;margin:5px 0}
 .portal-home #discover .home-pass-card .category-copy{inset:14px}
 .portal-home #discover .home-pass-card .category-copy p{font-size:12px}
 .portal-home #discover .home-pass-card>img{object-position:82% 45%}
 .home-vote-row{margin-top:12px}
 .portal-home .home-vote-row #admin-vote-floating{grid-template-columns:53px minmax(0,1fr) auto;gap:10px;padding:10px 11px;min-height:70px;border-radius:8px}
 .portal-home .home-vote-row #admin-vote-floating img{width:53px;height:46px}
 .home-vote-copy strong{font-size:17px}
 .home-vote-subtitle{font-size:10px;line-height:1.5}
 .home-vote-action{font-size:10px;padding:6px 8px;border-radius:4px}
 .portal-home main>#leaderboard.section{width:calc(100% - 32px);padding:26px 0}
 .portal-home #leaderboard .section-heading h2{font-size:24px}
 .portal-home footer{padding:22px 16px}
}
@media(max-width:350px){.portal-home #discover .category-banner.home-archive-card{height:184px}.portal-home #discover .category-banner.home-pass-card{height:128px}.portal-home #discover .category-copy h2{font-size:18px}.portal-home #discover .home-archive-card .category-copy h2{font-size:25px}.portal-home #discover .home-patch-card .category-link,.portal-home #discover .home-cash-card .category-link{font-size:9.5px;padding:5px}.home-vote-action{font-size:9px;padding:6px}.portal-home .home-vote-row #admin-vote-floating{gap:7px;grid-template-columns:44px minmax(0,1fr) auto}.portal-home .home-vote-row #admin-vote-floating img{width:44px}.home-vote-copy strong{font-size:15px}}
@media(prefers-reduced-motion:reduce){.portal-home #discover .category-banner,.portal-home .home-menu span{transition:none}}
