:root {
  color-scheme: dark;
  --ink: #f6f6f8;
  --muted: #c7c8d3;
  --line: rgb(221 224 247 / .16);
  --glass: rgb(29 31 44 / .7);
  --lavender: #d6c9f1;
  --gutter: clamp(18px, 5.3vw, 92px);
  --nav-height: 74px;
  font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
  font-synthesis: none;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: 16px; }
body { margin: 0; background: #171a23; color: var(--ink); }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
a:focus-visible, button:focus-visible { outline: 3px solid #f2d4ff; outline-offset: 4px; }
.frame, .nav-shell { width: min(1500px, calc(100% - 2 * var(--gutter))); margin-inline: auto; }
.skip-link { position: fixed; left: var(--gutter); top: -100px; z-index: 10; background: #202331; padding: 12px; }
.skip-link:focus { top: 10px; }
.site-header { position: relative; z-index: 1; height: var(--nav-height); }
.nav-shell { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; text-shadow: 0 1px 4px rgb(15 17 25 / .55); }
.nav-shell a { min-height: 44px; display: inline-flex; align-items: center; }
.brand { display: inline-flex; gap: 10px; align-items: center; justify-self: start; font-size: 1.5rem; font-weight: 740; letter-spacing: -.055em; line-height: 1; }
.brand img { width: 31px; height: 31px; }
.brand-copy { display: flex; flex-direction: column; align-items: flex-start; gap: 3px; }
.brand-tagline { font-size: .72rem; line-height: 1.15; font-weight: 620; letter-spacing: .09em; text-transform: uppercase; color: #eee7f6; }
.rules-link { color: #fff; font-size: 1rem; font-weight: 620; }
.rules-link:is(:hover, :focus-visible, [aria-current]) { text-decoration: underline; text-underline-offset: .32em; }
.home-page, .profile-page { isolation: isolate; }
.panorama { position: fixed; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; pointer-events: none; }
.home-page::before, .profile-page::before { content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none; background: linear-gradient(110deg, rgb(19 23 36 / .76), rgb(24 28 42 / .59) 52%, rgb(29 27 43 / .54)); }
.hero-content { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding-block: clamp(16px, 3vw, 42px) clamp(24px, 3vw, 42px); }
.join { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 50px; padding: 0 23px; background: #f1edf7; color: #232332; font-weight: 720; border: 1px solid #fff9; border-radius: 7px; box-shadow: 0 6px 24px rgb(9 13 27 / .24); transition: background .16s, transform .16s; }
.join img { width: 22px; height: 22px; filter: brightness(.15); }
.join:hover { background: #fff; transform: translateY(-2px); }
.view-selector { display: none; }
.has-views .view-selector { display: flex; align-items: stretch; gap: 6px; padding: 7px; border: 1px solid rgb(247 242 255 / .25); background: rgb(29 32 46 / .53); backdrop-filter: blur(15px); border-radius: 9px; box-shadow: 0 5px 20px #10111730; }
.view-choice { min-width: 62px; min-height: 40px; padding: 6px 12px; cursor: pointer; border-radius: 4px; background: transparent; color: #f7f6fa; border: 1px solid transparent; font-size: .875rem; font-weight: 600; }
.view-choice:hover { background: rgb(255 255 255 / .12); }
.view-choice[aria-pressed=true] { border-color: rgb(255 255 255 / .5); background: rgb(255 255 255 / .17); }
.roster { isolation: isolate; position: relative; padding-block: clamp(24px, 2.5vw, 38px) 75px; border-top: 1px solid rgb(216 211 234 / .23); }
.roster-heading { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 18px; padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.roster-heading h1 { margin: 0; font-size: clamp(2rem, 3.3vw, 3.25rem); font-weight: 670; letter-spacing: -.056em; line-height: 1.1; }
.group-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; padding: 4px; border: 1px solid var(--line); border-radius: 8px; background: rgb(17 19 29 / .4); }
.group-nav a { display: inline-block; padding: 8px 13px; border-radius: 5px; color: #e3e0eb; font-size: .875rem; font-weight: 550; }
.group-nav a:is(:hover,[aria-current]) { background: rgb(231 228 247 / .14); color: #fff; }
.roster-group { padding-top: clamp(23px, 2.3vw, 38px); }
.roster-group + .roster-group { margin-top: clamp(20px, 3.2vw, 50px); border-top: 1px solid var(--line); }
.group-heading { display: flex; align-items: baseline; gap: 13px; margin-bottom: 15px; }
.group-heading h2 { font-size: clamp(1.28rem, 1.8vw, 1.65rem); margin: 0; letter-spacing: -.036em; font-weight: 640; }
.group-count { font: .79rem/1.4 Consolas, "Liberation Mono", monospace; letter-spacing: -.025em; color: #ede6ff; }
.group-count span { color: #b8b3c6; }
.players { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: clamp(7px, 1vw, 16px); margin: 0; padding: 0; list-style: none; }
.player-card { --card-padding: clamp(8px, .9vw, 14px) 5px clamp(10px, 1.1vw, 17px); position: relative; min-width: 0; padding: var(--card-padding); text-align: center; overflow: hidden; border-radius: 8px; border: 1px solid rgb(220 218 246 / .16); background: linear-gradient(145deg, rgb(231 225 255 / .09), rgb(86 87 113 / .11)), rgb(29 31 43 / .43); backdrop-filter: blur(11px); }
.player-card.named { padding: 0; border-color: rgb(211 200 238 / .27); background: radial-gradient(ellipse at 50% 62%, rgb(180 153 202 / .18), transparent 67%), linear-gradient(155deg, rgb(217 213 243 / .12), rgb(108 102 124 / .07)), rgb(28 30 42 / .46); }
.player-profile-link { display: block; height: 100%; padding: var(--card-padding); border-radius: inherit; }
.player-profile-link:focus-visible { outline-offset: -3px; }
.player-profile-link:is(:hover, :focus-visible) { background: rgb(224 217 249 / .075); }
.player-profile-link:is(:hover, :focus-visible) .player-name { text-decoration: underline; text-underline-offset: .2em; }
.portrait { position: relative; height: clamp(128px, 12vw, 205px); }
.portrait::before { content: ""; position: absolute; width: 39%; height: 5%; background: #12131abf; border-radius: 50%; filter: blur(5px); bottom: 3%; z-index: -1; }
.portrait img { display: block; width: 90%; height: 100%; margin-inline: auto; object-fit: contain; }
.player-name { display: block; margin-top: 9px; color: #c5c1cf; font-size: clamp(.9rem, 1.12vw, 1.1rem); line-height: 1.25; }
.named .player-name { font-weight: 670; color: #f6f4f9; }
.mystery-mark { display: grid; place-items: center; position: absolute; inset: 0; font-weight: 800; font-size: clamp(1.7rem, 3.3vw, 3.5rem); line-height: 1; color: #fff; text-shadow: 0 2px 4px #11131f, 0 0 14px #11131f; }
.site-footer { border-top: 1px solid var(--line); background: #181a23; }
.site-footer .frame { display: flex; align-items: center; gap: 24px; min-height: 85px; font-size: .9rem; color: #d2cfda; }
.site-footer .brand { margin-right: auto; font-size: 1.27rem; }
.site-footer .brand img { width: 25px; }
@media (max-width: 760px) {
  :root { --nav-height: 62px; --gutter: clamp(16px, 4vw, 30px); }
  .has-views .view-selector { padding: 5px; }
  .roster-heading { align-items: start; }
  .players { gap: 6px; }
  .portrait { height: clamp(73px, 16vw, 120px); }
}
@media (max-width: 520px) {
  .brand { font-size: 1.23rem; gap: 6px; }
  .brand img { width: 24px; height: 24px; }
  .join { min-height: 46px; gap: 8px; padding-inline: 14px; }
  .roster-heading { display: grid; gap: 15px; padding-bottom: 18px; }
  .group-nav { width: fit-content; }
  .group-nav a { font-size: .79rem; padding: 7px 8px; }
  .players { gap: 4px; }
  .player-card { --card-padding: 5px 1px 8px; border-radius: 5px; }
  .portrait { height: clamp(63px, 16vw, 84px); }
  .player-name { font-size: clamp(.65rem, 2.7vw, .85rem); margin-top: 5px; }
  .site-footer .frame { gap: 13px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0s !important; scroll-behavior: auto !important; }
}
