/* Shared navigation and responsive corrections. */
[hidden] { display:none !important; }
html { scroll-padding-top:100px; }
body { overflow-x:clip; }
main, section, article, .roster-grid > *, .roster-preview-grid > * { min-width:0; }
h1,h2,h3,p,.handle { overflow-wrap:anywhere; }
a:focus-visible, button:focus-visible, summary:focus-visible, select:focus-visible, input:focus-visible { outline:2px solid #ff5555; outline-offset:5px; }
.skip-link { position:fixed; top:-100px; left:16px; z-index:10000; background:#fff; color:#111; padding:12px; }
.skip-link:focus { top:10px; }
header .navbar { gap:24px; }
.brand { display:flex; align-items:center; gap:10px; text-decoration:none; color:white; flex-shrink:0; font-weight:900; font-size:22px; letter-spacing:1px; }
.brand img { width:48px; height:54px; object-fit:contain; }
.brand span { color:#ed2424; }
.menu-toggle { display:none; }
header .menu { gap:22px; }
header .nav-icons { flex-shrink:0; }
header .nav-icons a, header .nav-icons button { min-width:40px; min-height:44px; display:inline-flex; align-items:center; justify-content:center; }
header .nav-icons { gap:6px; }
.site-footer { border-top:1px solid #292929; background:#070707; }
.site-footer-inner { max-width:1300px; padding:48px 32px; margin:auto; display:flex; gap:30px; align-items:center; justify-content:space-between; flex-wrap:wrap; }
.site-footer p { color:#aaa; line-height:1.7; font-size:14px; margin-top:12px; }
.site-footer nav { display:flex; flex-wrap:wrap; gap:20px; }
.site-footer a { color:#ddd; text-decoration:none; }
.site-footer .brand span { color:#ed2424; }
.site-footer small { color:#999; display:block; padding:20px 24px; text-align:center; border-top:1px solid #222; }
.community-panel, .status-section { max-width:1300px; margin:auto; padding:72px 32px; }
.community-panel { text-align:center; }
.community-panel h2 { font-size:clamp(32px,5vw,54px); text-transform:uppercase; }
.community-panel p, .status-section p { color:#bbb; line-height:1.8; max-width:740px; margin:20px auto; }
.community-links { display:flex; flex-wrap:wrap; justify-content:center; gap:12px; }
.notice { color:#aaa; padding:18px 22px; border:1px solid #333; background:#101010; line-height:1.7; }
.status-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:24px; }
.status-grid article { padding:28px; border:1px solid #292929; background:#101010; }
.status-grid p { margin:14px 0 0; }
.roster-grid { grid-template-columns:repeat(4,minmax(0,1fr)); }
.roster-preview-grid { grid-template-columns:repeat(6,minmax(0,1fr)); }
.roster-card h3, .roster-preview-card strong { text-transform:none; }
.roster-card, .roster-tag { overflow-wrap:anywhere; }
.roster-count { color:#aaa; margin-bottom:20px; }
.roster-toolbar { align-items:stretch; }
.roster-toolbar button { min-height:48px; padding:12px 18px; color:#fff; border:1px solid #555; background:#171717; font:inherit; cursor:pointer; }
.teams-hero-content > p:not(.small-title) { line-height:1.75; margin:22px 0; max-width:720px; }
.roster-search, .roster-filter { min-width:0; max-width:100%; }
.team-card, .game-card { background:radial-gradient(ellipse at top right,#411010,#101010 70%); }
.game-card.no-art::before, .team-card.no-art::before { background:linear-gradient(0deg,#080808,transparent); }
.division-mark { position:absolute; top:28px; right:25px; font-size:clamp(48px,8vw,100px); font-weight:900; color:#ffffff15; }
.news-card details { margin-top:20px; }
.news-card summary { cursor:pointer; color:#ff5555; padding:12px 0; font-weight:bold; }
.news-card details p { color:#ccc; line-height:1.8; padding-bottom:12px; }
.news-empty { padding:40px; text-align:center; color:#aaa; border:1px solid #333; }
.product-image img, .featured-product-image img { object-fit:contain; background:#101014; }
.cart-sidebar { max-width:100vw; display:flex; flex-direction:column; height:100dvh; }
.cart-items { flex:1; min-height:0; overflow:auto; }
.cart-footer { flex-shrink:0; }
#checkout-status { color:#ff9494; font-size:14px; line-height:1.6; }
@media(max-width:1100px) {
 header { height:auto; position:sticky; }
 header .navbar { flex-direction:row; flex-wrap:wrap; padding:10px 18px; gap:12px; }
 header .brand { font-size:18px; }
 header .brand img { width:38px; height:44px; }
 .menu-toggle { display:block; margin-left:auto; width:44px; height:44px; background:#171717; color:white; border:1px solid #444; font-size:23px; cursor:pointer; }
 header .menu { width:100%; order:3; display:flex; flex-wrap:wrap; justify-content:flex-start; gap:4px; }
 .js header .menu { display:none; }
 .js header .menu.is-open { display:flex; }
 header .menu li { flex:1 0 30%; }
 header .menu a { display:block; padding:12px; font-size:14px; }
 header .menu a::after { bottom:6px; }
 header .nav-icons { margin-left:0; }
 .roster-grid { grid-template-columns:repeat(3,minmax(0,1fr)); }
}
@media(max-width:650px) {
 header .navbar { gap:8px; }
 header .brand { font-size:16px; gap:6px; }
 header .nav-icons a[aria-label="Administration"] { display:none; }
 header .nav-icons { gap:0; }
 header .nav-icons a, header .nav-icons button { min-width:34px; }
 .carousel { height:510px; min-height:510px; }
 .slide-content { top:46%; left:22px; right:22px; }
 .slide-content h1 { font-size:clamp(34px,10vw,44px); }
 .slide-content .slide-small-title { font-size:11px; letter-spacing:2px; }
 .slide-buttons { gap:12px; }
 .slide-buttons a { padding:14px 18px; min-width:0; }
 .teams-hero, .news-hero, .partners-hero, .store-hero { min-height:0; padding:60px 22px; }
 .teams-hero h1, .news-hero h1, .partners-hero h1, .store-hero h1 { font-size:clamp(38px,12vw,50px); }
 .section-title { font-size:clamp(30px,9vw,42px); }
 .roster-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
 .roster-preview-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
 .roster-filter { flex:1 1 100%; width:100%; }
 .roster-search { width:100%; flex-basis:100%; }
 .team-card-content,.game-card-content { padding:24px; }
 .team-card h2,.game-card h3 { font-size:clamp(24px,8vw,32px); }
 .roster-card { padding:16px 12px; }
 .roster-tag { font-size:10px; letter-spacing:0; }
 .status-grid { grid-template-columns:minmax(0,1fr); }
 .status-section,.community-panel { padding:54px 22px; }
 .site-footer-inner { padding:36px 22px; }
 .store-toolbar,.store-controls { flex-wrap:wrap; }
 .store-section .section-title { font-size:34px; }
}
@media(max-width:360px) {
 .roster-grid { grid-template-columns:minmax(0,1fr); }
 .roster-preview-card { padding:16px 12px; }
 header .brand span { display:none; }
}
@media(prefers-reduced-motion:reduce) {
 html { scroll-behavior:auto; }
 *, *::before, *::after { animation-duration:.01ms !important; transition-duration:.01ms !important; }
}

/* Game marks are independent of the background artwork. */
.game-card img.game-logo, .team-card img.game-logo { position:absolute; z-index:2; top:24px; right:24px; left:auto; bottom:auto; width:90px; height:60px; object-fit:contain; opacity:1; filter:drop-shadow(0 2px 8px #000); transform:none; background:transparent; }
.game-card img.division-logo, .team-card img.division-logo { position:absolute; top:30px; right:30px; left:auto; width:150px; height:150px; object-fit:contain; opacity:.65; transform:none; }
.partner-logo { width:140px; height:100px; object-fit:contain; margin-bottom:20px; }
#article-content { white-space:pre-line; }

/* A consistent logo panel for every game, independent of card text. */
.branded-game-card { isolation:isolate; }
.game-card.branded-game-card, .team-card.branded-game-card { background:radial-gradient(ellipse at 70% 0%,#25303b 0%,#10151b 55%,#080b10 100%); }
.game-card.fortnite-card, .team-card.fortnite-card { background:radial-gradient(ellipse at 65% 0%,#164b72,#0d1e30 48%,#080d14); }
.game-card.valorant-card, .team-card.valorant-card { background:radial-gradient(ellipse at 65% 0%,#65202c,#231219 48%,#100a0d); }
.game-card.lol-card, .team-card.lol-card { background:radial-gradient(ellipse at 65% 0%,#34402e,#151d1b 48%,#0a100f); }
.game-card.minecraft-card, .team-card.minecraft-card { background:radial-gradient(ellipse at 65% 0%,#2b4d30,#17231a 48%,#0a100c); }
.game-card.gta-rp-card, .team-card.gta-rp-card { background:radial-gradient(ellipse at 65% 0%,#3e2c50,#201627 48%,#100c14); }
.branded-game-card .game-brand-panel { position:absolute; inset:0 0 47%; z-index:3; display:flex; align-items:center; justify-content:center; padding:32px; }
.game-card img.game-wordmark, .team-card img.game-wordmark { position:static; inset:auto; display:block; width:100%; max-width:280px; height:100%; max-height:110px; object-fit:contain; opacity:1; background:transparent; transform:none; filter:drop-shadow(0 4px 16px #0004); }
.branded-game-card.cs2-card img.game-wordmark, .branded-game-card.valorant-card img.game-wordmark { max-height:100px; }
.branded-game-card.gta-rp-card img.game-wordmark { max-height:140px; }
.game-card.branded-game-card::before, .team-card.branded-game-card::before { background:linear-gradient(0deg,#080b10 0%,#080b10aa 30%,transparent 65%); z-index:2; }
.game-card.branded-game-card:hover img.game-wordmark, .team-card.branded-game-card:hover img.game-wordmark { transform:none; }
.game-card.branded-game-card .game-number { display:none; }
.fortnite-hero-art { position:absolute; inset:0; display:flex; align-items:center; justify-content:flex-end; padding:5%; background:radial-gradient(ellipse at 90% 35%,#1a608f,#0b2037 55%,#080e16); }
.carousel-slide .fortnite-hero-art img { width:44%; height:auto; max-height:210px; object-fit:contain; position:relative; z-index:1; }
@media(max-width:650px) {
 .fortnite-hero-art { align-items:flex-start; padding:35px 22px; }
 .carousel-slide .fortnite-hero-art img { width:48%; opacity:.38; }
 .branded-game-card .game-brand-panel { padding:26px; }
}

/* Organization introduction: display the complete ONIX emblem. */
.introduction-image img { display:block; width:100%; max-width:340px; height:auto; object-fit:contain; filter:drop-shadow(0 12px 26px #0008); }
@media(max-width:650px) { .introduction-image { min-height:320px; padding:40px; } .introduction-image img { max-width:260px; } }
