@font-face { font-family:"Source Sans 3"; src:url("/static/fonts/source-sans-3-latin-variable.woff2") format("woff2"); font-style:normal; font-weight:400 900; font-display:swap; }
@font-face { font-family:"Source Sans 3"; src:url("/static/fonts/source-sans-3-latin-italic-variable.woff2") format("woff2"); font-style:italic; font-weight:400 900; font-display:swap; }
:root { --purple:#522398; --deep:#211044; --gold:#d4a017; --ink:#191526; --muted:#6b6478; --line:#ded8ea; --bg:#f5f3f8; --white:#fff; font-family:"Source Sans 3",ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif; font-variant-numeric:tabular-nums; font-weight:600; }
* { box-sizing:border-box; }
body { margin:0; color:var(--ink); background:radial-gradient(circle at top left,#eee7fa 0,transparent 34%),var(--bg); }
a { color:var(--purple); }
button,input { font:inherit; }
.site-head { display:flex; align-items:center; justify-content:space-between; gap:20px; min-height:78px; padding:14px clamp(20px,5vw,72px); border-bottom:1px solid var(--line); background:rgba(255,255,255,.86); backdrop-filter:blur(12px); }
.brand { display:flex; align-items:center; gap:11px; color:var(--ink); text-decoration:none; }
.brand span:last-child { display:grid; }
.brand strong { font-size:18px; }
.brand small { margin-top:2px; color:var(--muted); font-size:10px; letter-spacing:.08em; text-transform:uppercase; }
.mark { display:grid; place-items:center; width:50px; height:50px; overflow:hidden; border:2px solid rgba(82,35,152,.24); border-radius:14px 4px 14px 4px; background:linear-gradient(145deg,#f8f4fc,#eee5f8); box-shadow:inset 0 0 0 3px rgba(253,185,39,.18); }
.mark img { display:block; width:38px; height:45px; object-fit:contain; filter:drop-shadow(0 2px 4px rgba(17,17,17,.18)); }
.user-chip { display:flex; align-items:center; gap:12px; color:var(--muted); font-size:13px; font-weight:750; }
.user-chip form { margin:0; }
.user-chip button { border:1px solid var(--line); border-radius:7px; padding:8px 11px; background:#fff; color:var(--purple); cursor:pointer; }
main { width:min(920px,calc(100% - 32px)); margin:0 auto; padding:48px 0 72px; }
main.wide { width:min(1220px,calc(100% - 32px)); }
h1,h2,p { margin-top:0; }
h1 { margin-bottom:12px; color:var(--deep); font-size:clamp(32px,5vw,58px); line-height:1.02; letter-spacing:-.045em; }
h2 { color:var(--deep); }
.eyebrow { margin-bottom:10px; color:var(--gold); font-size:11px; font-weight:900; letter-spacing:.11em; text-transform:uppercase; }
.login-hero>div:first-child { max-width:760px; }
.login-hero>div:first-child>p:last-child,.portal-head>p:last-child { color:var(--muted); font-size:16px; line-height:1.55; }
.login-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:18px; margin-top:36px; }
.login-page { position:relative; min-height:100vh; isolation:isolate; background:#241342; }
.login-page::before { content:""; position:fixed; z-index:-2; inset:0; background-image:linear-gradient(90deg,rgba(24,11,48,.91) 0%,rgba(39,17,72,.77) 42%,rgba(29,14,53,.42) 100%),url("/static/landing-stadium.webp"); background-position:center; background-size:cover; filter:saturate(.78) contrast(.94); }
.login-page::after { content:""; position:fixed; z-index:-1; inset:0; background:linear-gradient(180deg,rgba(255,255,255,.04),rgba(26,12,48,.18)); pointer-events:none; }
.login-page .site-head { border-bottom-color:rgba(255,255,255,.18); background:rgba(24,11,48,.42); box-shadow:0 1px 0 rgba(0,0,0,.12); }
.login-page .brand strong { color:#fff; }
.login-page .brand small { color:rgba(255,255,255,.7); }
.login-page main { display:grid; align-items:center; width:min(1220px,calc(100% - 40px)); min-height:calc(100vh - 79px); padding:56px 0 72px; }
.login-page .login-hero { display:grid; grid-template-columns:minmax(0,1fr) minmax(410px,490px); align-items:center; gap:clamp(48px,7vw,104px); width:100%; }
.login-page .brand strong { font-size:21px; }
.login-page .brand small { font-size:12px; }
.login-intro { max-width:590px!important; padding:22px 0; text-shadow:0 3px 18px rgba(18,8,35,.32); }
.login-intro .eyebrow { margin-bottom:14px; color:#fdb927; font-size:13px; }
.login-intro h1 { margin-bottom:18px; color:#fff; font-size:clamp(54px,7vw,86px); line-height:.92; letter-spacing:-.055em; }
.login-hero .login-intro>.login-copy { max-width:520px; margin-bottom:0; color:rgba(255,255,255,.86); font-size:21px; line-height:1.5; text-shadow:0 2px 12px rgba(18,8,35,.5); }
.next-game { display:grid; grid-template-columns:62px minmax(0,1fr); gap:14px 16px; max-width:540px; margin-top:28px; padding:0; text-shadow:none; }
.next-game-logo { display:grid; grid-row:span 2; place-items:center; width:62px; height:62px; }
.next-game-logo img { display:block; width:100%; height:100%; object-fit:contain; }
.next-game-matchup { display:grid; align-content:center; gap:1px; min-width:0; }
.next-game-matchup>span { color:#fdb927; font-size:14px; font-weight:900; letter-spacing:.1em; text-transform:uppercase; }
.next-game-matchup strong { overflow:hidden; color:#fff; font-size:20px; font-weight:900; line-height:1.25; text-overflow:ellipsis; white-space:nowrap; }
.next-game-matchup time { color:rgba(255,255,255,.76); font-size:16px; font-weight:750; }
.game-countdown { display:grid; grid-column:1 / -1; grid-template-columns:repeat(4,minmax(0,1fr)); gap:12px; max-width:390px; }
.game-countdown>span { display:grid; place-items:start; min-height:42px; padding:0; }
.game-countdown b { color:#fff; font-size:25px; font-weight:900; line-height:1; }
.game-countdown small { margin-top:5px; color:rgba(255,255,255,.62); font-size:12px; font-weight:850; letter-spacing:.08em; text-transform:uppercase; }
.login-accordion { display:grid; gap:14px; }
.login-dropdown { overflow:hidden; border:1px solid rgba(255,255,255,.64); border-radius:17px; background:rgba(255,255,255,.92); box-shadow:0 18px 46px rgba(17,7,35,.28); backdrop-filter:blur(16px); }
.login-dropdown[open] { background:rgba(255,255,255,.97); }
.login-dropdown summary { display:grid; grid-template-columns:1fr 20px; align-items:center; gap:18px; min-height:94px; padding:18px 24px; color:var(--deep); list-style:none; cursor:pointer; user-select:none; }
.login-dropdown summary::-webkit-details-marker { display:none; }
.login-dropdown summary:hover { background:rgba(82,35,152,.055); }
.login-dropdown summary:focus-visible { outline:3px solid #fdb927; outline-offset:-3px; }
.login-dropdown summary>span:first-child { display:grid; gap:2px; }
.login-dropdown summary strong { font-size:23px; font-weight:900; }
.login-dropdown summary small { color:var(--muted); font-size:16px; line-height:1.35; }
.login-chevron { width:11px; height:11px; border-right:2px solid var(--purple); border-bottom:2px solid var(--purple); transform:rotate(45deg) translate(-2px,-2px); transition:transform .18s ease; }
.login-dropdown[open] .login-chevron { transform:rotate(225deg) translate(-2px,-2px); }
.login-form { padding:6px 24px 27px; border-top:1px solid #e8e1f0; }
.login-form label { margin:19px 0; color:#554d63; font-size:17px; }
.login-form input { width:100%; border-color:#cfc5dc; background:#fff; }
.login-form input:focus { border-color:var(--purple); outline:3px solid rgba(82,35,152,.13); }
.login-form input { min-height:56px; padding:0 15px; font-size:18px; }
.login-form .primary { width:100%; min-height:54px; font-size:17px; }
.panel { padding:26px; border:1px solid var(--line); border-radius:14px; background:rgba(255,255,255,.94); box-shadow:0 14px 38px rgba(33,16,68,.08); }
.panel.narrow { max-width:570px; margin:40px auto; }
label { display:grid; gap:7px; margin:16px 0; color:var(--muted); font-size:13px; font-weight:750; }
input { min-height:46px; padding:0 12px; border:1px solid var(--line); border-radius:8px; background:#fff; color:var(--ink); }
.primary,.button { display:inline-flex; align-items:center; justify-content:center; min-height:44px; padding:0 16px; border:0; border-radius:8px; background:var(--purple); color:#fff; font-weight:850; text-decoration:none; cursor:pointer; }
.portal-page { min-height:100vh; background:radial-gradient(circle at 8% 0,rgba(82,35,152,.1),transparent 28%),linear-gradient(180deg,#faf9fc 0,#f3f0f7 100%); }
.portal-page .site-head { background:rgba(255,255,255,.91); box-shadow:0 5px 20px rgba(33,16,68,.045); }
.portal-page main.wide { padding:30px 0 56px; }
.portal-head { display:flex; align-items:flex-end; justify-content:space-between; gap:24px; max-width:none; margin-bottom:18px; padding:0 2px; }
.portal-head .eyebrow { margin-bottom:5px; }
.portal-head h1 { margin:0; font-size:clamp(30px,3.3vw,42px); }
.portal-head>p:last-child { margin:0 0 4px; color:var(--muted); font-size:14px; }
.app-sections { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); align-items:start; gap:14px; }
.app-section { padding:14px; border:1px solid #dfd9e8; border-top:3px solid var(--purple); border-radius:13px; background:rgba(255,255,255,.94); box-shadow:0 8px 24px rgba(33,16,68,.055); }
.app-section.secondary-section { border-top-color:#9d91ad; background:rgba(252,251,253,.94); }
.app-section h2 { margin:0 0 10px; padding:0 2px 9px; border-bottom:1px solid #e9e4ef; font-size:15px; letter-spacing:-.005em; }
.app-grid { display:grid; gap:6px; }
.app-card { display:grid; grid-template-columns:minmax(0,1fr) 18px; align-items:center; gap:10px; min-height:64px; padding:10px 11px 10px 12px; border:1px solid #ebe6f0; border-radius:9px; background:#fbfafd; color:var(--ink); text-decoration:none; transition:border-color .15s ease,background .15s ease,box-shadow .15s ease,transform .15s ease; }
.app-card:hover { transform:translateX(2px); border-color:#b9a5d4; background:#fff; box-shadow:0 6px 14px rgba(33,16,68,.08); }
.app-card:focus-visible { outline:3px solid rgba(82,35,152,.2); outline-offset:2px; }
.app-card-copy { display:grid; min-width:0; gap:2px; }
.app-card strong { overflow:hidden; color:var(--deep); font-size:15px; font-weight:900; line-height:1.2; text-overflow:ellipsis; white-space:nowrap; }
.app-card small { display:-webkit-box; overflow:hidden; color:var(--muted); font-size:12px; line-height:1.25; -webkit-box-orient:vertical; -webkit-line-clamp:1; }
.app-card b { color:var(--purple); font-size:24px; font-weight:600; line-height:1; text-align:center; transition:transform .15s ease; }
.app-card:hover b { transform:translateX(2px); }
.section-scouting { grid-column:1; }
.section-operations { grid-column:2 / span 2; }
.section-operations .app-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
.agreement-card { max-width:760px; margin:0 auto; }
.agreement-card h1 { font-size:clamp(30px,5vw,46px); }
.notice { margin:22px 0; padding:17px; border-left:4px solid var(--gold); background:#fff7d9; color:#4d3c04; font-size:14px; line-height:1.55; }
.check { display:grid; grid-template-columns:22px 1fr; align-items:start; gap:10px; color:var(--ink); font-size:14px; line-height:1.5; }
.check input { width:19px; min-height:19px; margin:2px 0 0; }
.terms { padding:36px; border:1px solid var(--line); border-radius:14px; background:#fff; box-shadow:0 14px 38px rgba(33,16,68,.08); }
.terms h1 { font-size:clamp(31px,5vw,50px); }
.terms h2 { margin-top:30px; font-size:20px; }
.terms p { color:#3f394c; line-height:1.75; }
.terms .lead { color:var(--deep); font-size:17px; }
.table-wrap { overflow:auto; border:1px solid var(--line); border-radius:12px; background:#fff; box-shadow:0 8px 24px rgba(33,16,68,.06); }
table { width:100%; border-collapse:collapse; }
th,td { padding:12px 14px; border-bottom:1px solid #eeeaf4; font-size:12px; text-align:left; white-space:nowrap; }
th { color:var(--muted); background:#faf8fd; font-size:10px; letter-spacing:.07em; text-transform:uppercase; }
.status { padding:4px 7px; border-radius:999px; font-weight:850; }
.status.success { color:#17673d; background:#ddf5e8; }
.status.denied,.status.blocked_network { color:#8c2525; background:#fae0e0; }
.ip-lookup { display:flex; align-items:end; gap:10px; margin-top:22px; }
.ip-lookup label { flex:1; max-width:520px; margin:0; }
.ip-lookup .secondary { border:1px solid var(--line); background:#fff; color:var(--purple); }
.validation-error { margin:12px 0 0!important; color:#a12626!important; font-size:13px!important; font-weight:800; }
.filter-form { margin-top:22px; padding:20px; border:1px solid var(--line); border-radius:12px; background:#fff; box-shadow:0 8px 24px rgba(33,16,68,.06); }
.filter-section { margin:0 0 16px; padding:0; border:0; }
.filter-section+.filter-section { margin-top:18px; padding-top:18px; border-top:1px solid var(--line); }
.filter-section legend { padding:0 0 10px; color:var(--deep); font-size:12px; font-weight:900; letter-spacing:.06em; text-transform:uppercase; }
.filter-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:14px; }
.filter-grid label { margin:0; }
.filter-actions { display:flex; align-items:center; gap:10px; margin-top:18px; padding-top:18px; border-top:1px solid var(--line); }
.filter-actions .secondary { border:1px solid var(--line); background:#fff; color:var(--purple); }
.login-error { margin:12px 0 0; padding:10px 12px; border-radius:8px; background:#fae0e0; color:#8c2525; font-size:12px; font-weight:800; line-height:1.45; }
.first-login-contract { margin:18px 0; padding:16px; border:1px solid #e2d5a5; border-radius:10px; background:#fff9df; }
.first-login-contract .eyebrow { margin-bottom:8px; }
.first-login-contract .check { margin:0; }
.first-login-contract>p:last-child { margin:12px 0 0; color:#5e532f; font-size:12px; line-height:1.55; }
.ip-note { margin:17px 0 0; padding:13px 15px; border-left:4px solid var(--purple); background:#eee8f8; color:#4d4460; font-size:12px; line-height:1.55; }
.ip-note code { padding:2px 5px; border-radius:4px; background:#fff; color:var(--deep); }
.admin-page { min-height:100vh; background:radial-gradient(circle at 8% 0,rgba(82,35,152,.08),transparent 27%),#f7f5fa; }
.admin-page .site-head { background:rgba(255,255,255,.94); box-shadow:0 4px 18px rgba(33,16,68,.04); }
.admin-page main.wide { padding:26px 0 54px; }
.audit-topline { margin-bottom:14px; }
.back-link { color:var(--purple); font-size:13px; font-weight:850; text-decoration:none; }
.back-link:hover { text-decoration:underline; }
.audit-head { display:grid; grid-template-columns:minmax(0,1fr) minmax(300px,420px); align-items:end; gap:28px; margin-bottom:18px; }
.audit-head .eyebrow { margin-bottom:5px; }
.audit-head h1 { margin-bottom:8px; font-size:clamp(34px,4vw,48px); }
.audit-head>div>p:last-child { max-width:720px; margin:0; color:var(--muted); font-size:15px; line-height:1.45; }
.audit-head .ip-note { display:grid; gap:3px; margin:0; padding:12px 14px; border-left-width:3px; border-radius:0 8px 8px 0; }
.audit-head .ip-note strong { color:var(--deep); font-size:12px; }
.audit-filters { margin:0 0 16px; padding:14px; }
.audit-filter-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:10px; }
.audit-filter-grid label { min-width:0; margin:0; font-size:12px; }
.audit-filter-grid input { width:100%; min-width:0; min-height:42px; }
.audit-filters .filter-actions { justify-content:flex-end; margin-top:12px; padding-top:12px; }
.audit-filters .filter-actions .primary,.audit-filters .filter-actions .button { min-height:40px; }
.audit-table { border-radius:10px; box-shadow:0 8px 24px rgba(33,16,68,.045); }
.audit-table th { padding-top:11px; padding-bottom:11px; background:#f6f2fa; }
.audit-table td { height:52px; }
.ip-location { display:flex; align-items:center; gap:9px; }
.ip-location code { padding:4px 7px; border-radius:6px; background:#f0ebf6; color:var(--deep); font-family:inherit; font-size:12px; font-weight:800; }
.ip-location span { color:var(--muted); font-size:11px; font-weight:750; }
@media(max-width:760px){.login-grid,.app-grid,.filter-grid{grid-template-columns:1fr}.site-head{align-items:flex-start}.user-chip{align-items:flex-end;flex-direction:column}.terms{padding:22px}main{padding-top:30px}.login-page::before{background-image:linear-gradient(180deg,rgba(26,12,50,.68),rgba(26,12,50,.88)),url("/static/landing-stadium.webp");background-position:44% center}.login-page .site-head{align-items:center;padding:11px 18px}.login-page .mark{width:45px;height:45px}.login-page .mark img{width:34px;height:40px}.login-page main{align-items:start;width:min(100% - 28px,520px);min-height:calc(100vh - 68px);padding:40px 0 54px}.login-page .login-hero{grid-template-columns:1fr;gap:30px}.login-intro{padding:0}.login-intro h1{font-size:clamp(48px,16vw,68px)}.login-hero .login-intro>.login-copy{font-size:18px}.next-game{grid-template-columns:54px minmax(0,1fr);margin-top:22px;padding:0}.next-game-logo{width:54px;height:54px}.next-game-matchup strong{font-size:18px}.login-dropdown summary{grid-template-columns:1fr 18px;min-height:86px;padding:15px 18px}.login-form{padding:5px 18px 22px}}
@media(max-width:980px){.app-sections{grid-template-columns:repeat(2,minmax(0,1fr))}.section-scouting,.section-operations{grid-column:auto}.section-operations .app-grid{grid-template-columns:1fr}}
@media(max-width:760px){.portal-page .site-head{align-items:center}.portal-page main.wide{padding-top:24px}.portal-head{align-items:flex-start;flex-direction:column;gap:5px;margin-bottom:14px}.portal-head h1{font-size:30px}.portal-head>p:last-child{margin:0}.app-sections{grid-template-columns:1fr;gap:10px}.app-section{padding:12px}.app-card{min-height:60px}}
@media(max-width:980px){.audit-head{grid-template-columns:1fr}.audit-filter-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){.admin-page .site-head{align-items:center}.admin-page main.wide{padding-top:20px}.audit-head{gap:14px}.audit-head h1{font-size:34px}.audit-filter-grid{grid-template-columns:1fr}.audit-filters .filter-actions{justify-content:stretch}.audit-filters .filter-actions>*{flex:1}.ip-location{align-items:flex-start;flex-direction:column;gap:3px}}
