@font-face {
  font-family: 'Barlow Condensed';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(/display-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Barlow Condensed';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(/display-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url(/body-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url(/body-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
:root {
  color-scheme: dark;
  font-family: 'Inter', Arial, sans-serif;
  --display: 'Barlow Condensed', 'Arial Narrow', Impact, sans-serif;
  --page: #101218;
  --panel: #181b23;
  --field: #11141b;
  --border: #2d323e;
  --muted: #aab0bd;
  --ink: #f7f3ee;
  --accent: #ff5368;
  --accent-hover: #ff8290;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-padding-top: 96px; }
body { margin: 0; min-height: 100vh; display: flex; flex-direction: column; color: var(--ink); background: var(--page); }
main { flex: 1; display: flex; flex-direction: column; }
button, input, select { font: inherit; }
button, select { cursor: pointer; }
a { color: inherit; text-decoration: none; }
button, a, input, select { outline-offset: 4px; }
:focus-visible { outline: 2px solid var(--accent-hover); }
.skip { position: fixed; top: 12px; left: 12px; z-index: 3; transform: translateY(-150%); padding: 10px 15px; background: var(--ink); color: var(--page); }
.skip:focus { transform: none; }
.frame { width: min(1232px, calc(100% - 88px)); margin-inline: auto; }
h1, h2, p, dl, dd { margin: 0; }
h1, h2 { font-family: var(--display); }
.topbar { background: #111319; border-bottom: 1px solid #2d303a; z-index: 2; position: sticky; top: 0; }
.topbar-inner { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.brand { display: inline-flex; gap: 12px; align-items: center; white-space: nowrap; font: 800 1.7rem/.86 var(--display); letter-spacing: .045em; }
.brand-gap { margin-left: .18em; }
.brand small { display: block; margin-top: 6px; color: var(--muted); font: 650 .67rem/1 'Inter', Arial, sans-serif; letter-spacing: .14em; }
.brand-mark { width: 36px; height: 37px; background: var(--accent); clip-path: polygon(0 0, 100% 0, 100% 73%, 73% 100%, 0 100%); display: grid; place-items: center; }
.brand-mark::after { content: ''; background: #161822; width: 22px; height: 19px; clip-path: polygon(0 0, 43% 0, 62% 33%, 100% 33%, 70% 100%, 31% 100%, 40% 72%, 57% 72%, 67% 51%, 42% 51%); }
nav { display: flex; align-items: center; gap: clamp(16px, 3vw, 38px); }
nav a { padding: 10px 0; color: #c1c4cc; font-size: .88rem; font-weight: 720; white-space: nowrap; }
nav a:hover { color: var(--accent-hover); }
.header-actions { display: flex; gap: 9px; align-items: center; }
.button { border: 1px solid transparent; border-radius: 3px; display: inline-flex; justify-content: center; align-items: center; gap: .55rem; padding: .75rem 1rem; min-height: 44px; font-weight: 760; font-size: .9rem; line-height: 1.2; white-space: nowrap; transition: background .16s, color .16s, border-color .16s; }
.button.primary { color: #15121a; background: var(--accent); border-color: var(--accent); }
.button.primary:hover { background: var(--accent-hover); border-color: var(--accent-hover); }
.button.quiet { color: var(--ink); background: #1c2029; border-color: #3a4050; }
.button.quiet:hover { background: #2b303d; border-color: #636c80; }
.button.compact { min-height: 40px; padding: .5rem .8rem; font-size: .875rem; }
.button:disabled { cursor: wait; opacity: .62; }
.plus { position: relative; width: 12px; height: 12px; display: inline-grid; place-items: center; }
.plus::before, .plus::after { content: ''; position: absolute; background: currentColor; width: 12px; height: 2px; }
.plus::after { rotate: 90deg; }
.hero { isolation: isolate; position: relative; background-color: #13151d; background-image: linear-gradient(0deg, #101218 0%, #10121816 33%, #10121800 80%, #10121849), linear-gradient(90deg, #101218 0%, #101218c4 30%, #10121820 72%, #1012180f 100%), url('/team-hero.webp'); background-size: cover; background-position: center, center, 65% 48%; }
.hero::before { position: absolute; content: ''; inset: 0; pointer-events: none; z-index: -1; opacity: .2; background: repeating-linear-gradient(90deg, #dedcf81f 0 1px, transparent 1px 12.5%); }
.login { flex: 1; display: grid; align-items: center; min-height: 615px; }
.login-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, 385px); align-items: center; gap: 44px; padding-block: 76px; }
.eyebrow { color: #dfdfe4; font-weight: 780; font-size: .8rem; letter-spacing: .19em; display: flex; align-items: center; gap: .75rem; }
.eyebrow span { display: inline-block; background: var(--accent); width: 24px; height: 3px; }
h1 { font-size: clamp(6rem, 13.5vw, 12.6rem); font-weight: 800; letter-spacing: -.02em; line-height: .76; margin: 22px 0 27px; }
h1 em { font-style: normal; }
h1 b { color: var(--accent); }
.hero-copy { color: #d4d4dc; font-size: 1rem; line-height: 1.6; }
.team-hero { padding-block: clamp(70px, 9vw, 130px) 85px; border-bottom: 1px solid #272b36; }
.team-hero h1 { font-size: clamp(6.3rem, 14vw, 13rem); }
.hero-action { min-height: 48px; padding-inline: 19px; }
.login-panel, dialog { position: relative; background: #171a23f5; border: 1px solid #44414d; box-shadow: 0 15px 45px #0004; border-radius: 4px; }
.login-panel { padding: clamp(23px, 4vw, 34px); }
.login-panel::before, dialog::before { content: ''; position: absolute; top: -1px; left: -1px; width: 56px; height: 2px; background: var(--accent); }
.panel-icon { display: grid; place-items: center; width: 39px; height: 39px; margin-bottom: 15px; background: #382531; color: var(--accent-hover); border: 1px solid #663545; border-radius: 3px; }
.lock { display: block; position: relative; height: 11px; width: 13px; border: 1.5px solid currentColor; border-radius: 2px; margin-top: 5px; }
.lock::before { content: ''; position: absolute; top: -7px; left: 2px; width: 6px; height: 6px; border: 1.5px solid currentColor; border-bottom: 0; border-radius: 5px 5px 0 0; }
.login-panel h2, dialog h2 { font-size: 2.65rem; font-weight: 800; line-height: 1; }
.login-panel > p { margin-top: 8px; color: var(--muted); font-size: .95rem; line-height: 1.45; }
form { margin-top: 21px; }
label { display: block; margin: 15px 0 7px; font-size: .875rem; font-weight: 650; }
input, select { width: 100%; min-height: 45px; padding: .66rem .72rem; border: 1px solid #383e4a; border-radius: 3px; background: var(--field); color: var(--ink); font-size: 1rem; }
input::placeholder { color: #969dad; }
input:focus, select:focus { border-color: var(--accent-hover); }
select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, #b9c1d2 50%), linear-gradient(135deg, #b9c1d2 50%, transparent 50%); background-position: calc(100% - 15px) center, calc(100% - 10px) center; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 27px; }
.password-field { position: relative; }
.password-field input { padding-right: 44px; }
.password-field button { position: absolute; right: 3px; inset-block: 3px; width: 38px; border: 0; color: var(--muted); background: transparent; display: grid; place-items: center; border-radius: 3px; }
.password-field button:hover { color: var(--ink); background: #ffffff0c; }
.eye { display: inline-grid; place-items: center; width: 14px; height: 14px; border: 1.5px solid currentColor; border-radius: 75% 0 75% 0; rotate: 45deg; }
.eye::after { content: ''; width: 4px; height: 4px; border-radius: 50%; background: currentColor; }
[aria-pressed='true'] > .eye { color: var(--accent-hover); }
.login-submit { margin-top: 21px; width: 100%; }
.notice { color: #ffc0c7; margin-top: 13px; font-size: .9rem; line-height: 1.45; }

.section { margin-top: 53px; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-bottom: 17px; }
.section-head h2, .premier-head h2 { font: 800 clamp(2.7rem, 5vw, 4.1rem)/.92 var(--display); }
.section-head > span { color: var(--muted); font-size: .88rem; margin-bottom: 2px; }
.roster { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; list-style: none; padding: 0; margin: 0; }
.player { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 10px; border: 1px solid var(--border); padding: 18px; background: radial-gradient(ellipse at 104% -40%, #45283170, transparent 66%), linear-gradient(145deg, #1b1e27, #181b22); border-radius: 4px; min-height: 116px; overflow: hidden; }
.player-name { display: block; font: 800 2rem/.96 var(--display); overflow-wrap: anywhere; }
.riot-id { display: block; margin-top: 9px; color: #c7c9d1; font-size: .875rem; overflow-wrap: anywhere; }
.tracker-link { border: 1px solid #424755; border-radius: 3px; padding: 8px; font-size: .82rem; line-height: 1.2; color: #e2e2e8; font-weight: 670; transition: background .16s, border-color .16s; }
.tracker-link:hover { border-color: var(--accent-hover); background: #ffc0c716; }

.premier-panel { position: relative; isolation: isolate; border-radius: 4px; border: 1px solid #45414a; padding: clamp(21px, 4vw, 37px); background: linear-gradient(90deg, #171921f7 5%, #181a23eb 41%, #16192378 100%), url('/premier-map.webp') right 56% / cover; }
.premier-panel::before { position: absolute; content: ''; top: -1px; left: -1px; width: 54px; height: 2px; background: var(--accent); }
.premier-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; }
.premier-head h2 { margin: 10px 0; }
.premier-season, .premier-updated { color: #d4d4dc; font-size: .9rem; line-height: 1.45; }
.premier-updated { margin-top: 15px; font-size: .83rem; }
.premier-stats { display: flex; flex-wrap: wrap; column-gap: clamp(16px, 5vw, 62px); row-gap: 12px; margin-top: 20px; }
.premier-stats > div { display: flex; flex-direction: column-reverse; min-width: 62px; }
.premier-stats dt { font-size: .875rem; color: #d4d4dc; }
.premier-stats dd { font: 800 clamp(2.35rem, 6vw, 3.7rem)/1.04 var(--display); }
.premier-stats > div:first-child dd { color: #ff8997; }

.vod-section { margin-bottom: 72px; }
.categories { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-bottom: 13px; }
.category { background: var(--panel); color: var(--ink); border: 1px solid var(--border); border-radius: 3px; min-width: 0; padding: 12px 14px; display: flex; align-items: center; gap: .7rem; text-align: left; font: 800 1.45rem/1 var(--display); }
.category:hover { background: #242832; }
.category[aria-pressed='true'] { border-color: var(--accent); background: linear-gradient(100deg, #382330, #23242e 75%); box-shadow: inset 3px 0 var(--accent); }
.category-icon { display: grid; place-items: center; background: #292e3c; color: #c4ccda; width: 32px; height: 32px; border-radius: 3px; flex: 0 0 auto; }
[aria-pressed='true'] .category-icon { background: #562e3c; color: #ff9dab; }
.category-icon::before { content: ''; width: 13px; height: 13px; border: 2px solid currentColor; }
.target::before { border-radius: 50%; }
.target::after { content: ''; position: absolute; border-radius: 50%; width: 4px; height: 4px; background: currentColor; }
.diamond::before { rotate: 45deg; width: 10px; height: 10px; }
.bolt::before { border: 0; width: 16px; height: 18px; background: currentColor; clip-path: polygon(54% 0, 100% 0, 65% 40%, 99% 40%, 29% 100%, 42% 57%, 4% 57%); }
.empty { padding: 31px 16px; border: 1px dashed #424754; color: var(--muted); text-align: center; border-radius: 4px; line-height: 1.5; }
.empty strong { display: block; color: var(--ink); }
.empty .button { margin-top: 13px; }
.record-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 7px; }
.record { border: 1px solid var(--border); border-radius: 3px; background: var(--panel); min-height: 70px; padding: 10px 16px; display: grid; grid-template-columns: minmax(0, 1.2fr) repeat(3, minmax(0, .8fr)) auto; gap: 10px; align-items: center; }
.record-value { display: block; font-size: .94rem; color: #e0dfe5; overflow-wrap: anywhere; }
.record-label { display: block; margin-bottom: 3px; font-size: .82rem; color: var(--muted); }
.record-map .record-value { font-weight: 740; color: var(--ink); }
.record-score .record-value { font-variant-numeric: tabular-nums; font-weight: 670; }
.more-records { margin-top: 12px; }
.download { display: inline-block; border-bottom: 2px solid currentColor; width: 13px; height: 14px; position: relative; }
.download::before { content: ''; position: absolute; left: 6px; height: 9px; width: 1.5px; top: 0; background: currentColor; }
.download::after { content: ''; position: absolute; top: 3px; left: 3px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; rotate: 45deg; width: 6px; height: 6px; }

.footer { border-top: 1px solid #292c35; color: var(--muted); padding-block: 17px; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 13px 30px; }
.footer small { font-size: .79rem; line-height: 1.45; text-align: right; max-width: 560px; }
.footer a { text-decoration: underline; text-underline-offset: 2px; }
.footer-name { white-space: nowrap; font: 800 1.33rem/1 var(--display); letter-spacing: .075em; color: #e0e1e6; }
dialog { width: min(530px, calc(100% - 28px)); max-height: calc(100% - 28px); padding: 24px; color: var(--ink); }
dialog::backdrop { background: #080a11cf; }
.dialog-head, .dialog-actions { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.dialog-actions { justify-content: flex-end; margin-top: 20px; }
.button.close { width: 36px; min-height: 36px; padding: 0; font-size: 1.4rem; }
dialog form { margin-top: 11px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 11px; }
.form-grid > div { min-width: 0; }
fieldset { margin: 12px 0 0; border: 1px solid var(--border); padding: 2px 10px 10px; border-radius: 3px; }
fieldset label { margin-top: 0; }
legend { padding-inline: 4px; font-size: .875rem; font-weight: 655; }
legend span { color: var(--muted); font-weight: 450; }
input[type='file'] { padding: .35rem; }
input::file-selector-button { border: 0; border-radius: 3px; margin-right: 8px; padding: .45rem .55rem; color: var(--ink); background: #343e50; cursor: pointer; }
.file-hint, #upload-status { color: var(--muted); margin-top: 6px; font-size: .85rem; line-height: 1.4; }
progress { margin-top: 12px; width: 100%; height: 14px; accent-color: var(--accent); }
@media (max-width: 940px) {
  .frame { width: calc(100% - 60px); }
  .player { grid-template-columns: minmax(0, 1fr); min-height: 112px; gap: 9px; padding: 14px; }
  .tracker-link { justify-self: start; }
}
@media (max-width: 720px) {
  .frame { width: calc(100% - 36px); }
  .topbar-inner { min-height: 66px; flex-wrap: wrap; padding-block: 12px; gap: 9px; }
  nav { order: 1; width: 100%; justify-content: space-between; padding-top: 4px; border-top: 1px solid var(--border); }
  nav a { padding: 7px 0 2px; }
  html { scroll-padding-top: 130px; }
  .hero { background-position: center, center, 67% 52%; }
  .login { min-height: unset; }
  .login-layout { grid-template-columns: minmax(0, 1fr); gap: 26px; padding-block: 43px; }
  .login-panel { width: 100%; max-width: 420px; }
  .hero h1 { font-size: clamp(5rem, 17vw, 8rem); margin: 17px 0 19px; }
  .team-hero { padding-block: 60px; }
  .section { margin-top: 40px; }
  .roster { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .vod-section { margin-bottom: 49px; }
  .record { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 9px; padding: 11px; }
  .record a { grid-column: 1 / -1; justify-self: start; }
}
@media (max-width: 430px) {
  .brand { font-size: 1.47rem; gap: 8px; }
  .brand-mark { width: 29px; height: 30px; }
  .brand small { font-size: .59rem; margin-top: 5px; }
  .header-actions { gap: 6px; }
  .header-actions .plus { display: none; }
  .header-actions .button, .premier-head .button { font-size: .79rem; padding-inline: .47rem; }
  .premier-head { flex-wrap: wrap; }
  .categories { gap: 7px; }
  .category { flex-direction: column; gap: 6px; font-size: 1.25rem; padding: 8px 4px; }
  .category-icon { width: 28px; height: 28px; }
  .footer-inner { align-items: flex-start; flex-direction: column; }
  .footer small { text-align: left; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; } }
